Persist native Codex panel titles for Ctrl+Tab, automatic naming and natural rename
Hydrogen 1.0.756 (live build 40c37eceae8881238ca2cc2160cd60f4f8230826-dirty), adom-vscode 1.1.128, adom/codex 0.1.38, Codex VSIX 26.1111.21308 on Linux code-server / Windows Hydrogen. 2026-11-15.
The user explicitly needs the real Codex conversation name in the VS Code tab strip, Ctrl+Tab and Open Editors, with automatic naming after the first prompt, natural-language rename, and persistence after reopen/restart. A Hydrogen label or DOM paint alone is not a successful rename.
Live diagnosis: Hydrogen /ai-threads/rename returns ok after writing its own names JSON; Codex /thread/read still has a different native name. adom-vscode's title-bar script paints a session_index/first-prompt preview onto the DOM but leaves the editor model called Codex. Modern Codex already generates a short name in threads.name; reading legacy threads.title can produce the entire original prompt. A native thread/name/set followed by a fresh thread/read succeeds; the native thread/name/updated event carries threadId and threadName.
Candidate prepared in the adom/codex source: native rename/readback CLI; native panel.title updates from conversation-scoped RPC; new-tab ID bridge; persisted binding for unique nonce resources so hidden restored tabs can name themselves; stale-read and late-vendor-preview protection; lifecycle cleanup; managed patch upgrade/uninstall; installed instructions for natural language and /rename.
Validation: 4 focused Python naming tests, 6 integration tests and Node panel identity/race/nonce-restore tests pass. Live native rename and readback verified. The existing reconnect fixture fails identically on unmodified 0.1.38 and candidate (expected 'turn is running', got 'sent 1000 (OK); no close frame received'); runtime.py is unchanged.
NOT RELEASED OR DEPLOYED. Native Ctrl+Tab behavior still needs a real editor acceptance run after the integration loads. Existing active panels have not been reloaded. Coordinate with adom/adom-vscode and adom/hydrogen. A one-time migration policy for legacy Hydrogen-only aliases is a remaining release decision; preserve user names and do not overwrite later native renames.
1 Reply
Log in to reply.