fix(chat): recover web approvals and questions across clients and reconnects

This commit is contained in:
2026-10-20 17:23:07 +01:00
parent ed0abb976d
commit c78def70dd
16 changed files with 420 additions and 54 deletions
+22
View File
@@ -183,6 +183,28 @@ history, so that row stays as closed history (there is no delete command). The
page keeps its own ephemeral throwaway row in memory so the check can switch back
to it, but the server never lists it and a reload drops it.
## Web interaction recovery (2026-10-20)
- 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
pending approval. Requests answered in the harness clear on readback.
- C10/B6 retain multiple approvals and questions independently, recover questions
from the session form list after reconnect/server restart, and keep typed
question answers across unrelated streaming paints. Long approval resources
can be expanded before deciding. No permission policy is bypassed.
- Scratch Chrome regression captures `mobile-pending-interactions.png` at 390px:
two broker-originated approvals and two questions survive a reload; both
decisions and both answers reach the server. This is not a claim about every
backend: Codex request recovery remains limited to its live App Server socket.
Runs layout follow-up: run task titles wrap without ellipsis (including long
unbroken tokens); all applied pipeline/status/time filters have their own
clearable, wrapping row beneath Filter/Sort. Browser measurements at 390/420px
confirm no horizontal overflow and full-width run rows; the selected row also
fills its scroll pane at 1100px. Captures: `wrapped-run-title-390.png`,
`wrapped-run-title-420.png`, `full-width-selected-run.png`.
## Settings, layout, platform
| # | Feature | Protocol | Status |
| --- | --- | --- | --- |