feat(chat): broker Codex approvals and complete typed tool interactions
This commit is contained in:
@@ -322,6 +322,15 @@ transient client logs are presentation, not separate server capabilities.
|
||||
|
||||
## Chat sessions
|
||||
|
||||
Structured tools use `chat_answer` with
|
||||
`chat_answer: {session_id, form_id, answers, action?}`. Optional `action` is
|
||||
`accept`, `decline` or `cancel` only when advertised by the pending form's
|
||||
`actions`; ordinary question replies can omit it. Answers retain JSON types.
|
||||
OpenCode cancellation calls the existing form DELETE API. Codex MCP elicitation
|
||||
returns the corresponding action/content; other Codex questions accept answers
|
||||
only. Permission frames may provide `always_label: "Allow for session"` to avoid
|
||||
misrepresenting a session-scoped grant as a permanent policy change.
|
||||
|
||||
The brokered OpenCode chat exposes the operator's own sessions, separate from the
|
||||
sessions pipeline runs create. The protocol types are:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user