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
+12
View File
@@ -247,6 +247,18 @@ to it, but the server never lists it and a reload drops it.
## Web interaction recovery (2026-10-20)
Typed-tool follow-up: number/integer/boolean/default/conditional/secret and
external-link fields use native controls, preserve JSON types and validate before
sending. `typed-question-controls.png` and the scratch browser regression cover
false/zero, masked input and hidden-answer omission. OpenCode questions can be
cancelled. Codex approvals now reach the normal cards (with explicit session
scope); standard MCP elicitation supports Accept/Decline/Cancel. Adapter tests
verify exact callback identity, session ownership, transport writes and requested
permission bounds. This is not a live grant/command-execution claim: no real
permission request was approved for testing. Extended OpenAI elicitation remains
unadvertised/unsupported; callback recovery across App Server socket loss is not
available. See `docs/chat-backends.md`.
- C10 approvals are read from the **session-owned** OpenCode endpoint, including
turns started in another client/directory. Merely subscribing starts polling;
no web prompt is needed. Room recreation no longer suppresses an already-seen