feat(chat): broker Codex approvals and complete typed tool interactions

This commit is contained in:
2026-10-20 17:41:35 +01:00
parent f31806cfcb
commit 35329e4022
21 changed files with 879 additions and 84 deletions
+14
View File
@@ -16,3 +16,17 @@ answers survive streaming updates. Full approval resource text is expandable.
The controlled browser regression reloads with two pending approvals and two
questions, then checks that all four replies reach Go. It does not execute real
commands, alter permission configuration, or approve a production request.
## Typed interaction controls
Web form fields now preserve booleans and numbers (`false`/`0` are answers),
integer/range and length constraints, defaults, conditional visibility,
multiselect/custom values, masked secret inputs and HTTP(S)-only external links.
Hidden conditional answers are omitted. OpenCode forms offer cancellation through
their documented DELETE endpoint, without answering or rerunning the tool.
Codex command/file/network/permission approvals and standard MCP elicitation are
brokered over their original JSON-RPC callbacks. Session grants are labelled as
such. Responses are acknowledged only after the transport write succeeds;
foreign-session answers are refused. Schemas were checked against generated
protocol source tagged `rust-v0.163.0`, matching the installed package manifest.