feat(codex): share sessions across terminal and web

Use one native app-server for terminal, Web and phone clients while retaining the existing CLI and Runner lifecycle.

Synchronize native queues, permissions, question history and steering state; preserve explicit permission precedence and per-turn usage models. Resume inactive clear commands through Runner and reject independent child cold resumes.

Add shared-runtime regression tests, generated protocol fixtures and lifecycle documentation.
This commit is contained in:
weishu
2026-09-12 10:59:17 +08:00
parent 25af3f8e13
commit 0c4abcb3d1
111 changed files with 4684 additions and 960 deletions
@@ -318,6 +318,7 @@
<string name="chat_tool_awaiting_approval_badge">⏳ Awaiting approval</string>
<string name="chat_tool_approved">✓ Approved</string>
<string name="chat_tool_denied">✕ Denied</string>
<string name="chat_tool_resolved">Resolved in Codex</string>
<string name="chat_tool_canceled">— Canceled</string>
<string name="chat_tool_status_pending">pending</string>
<string name="chat_tool_status_error">error</string>