Codex Session TabsOpen independent Codex chats in VS Code or Cursor editor tabs. Codex: New Codex Tab opens the official Codex conversation editor in a new tab; this extension leaves its UI and chat behavior to the official OpenAI Codex extension. An optional SDK chat is also available as Codex: New SDK Chat Tab. This community extension is not affiliated with OpenAI. Get started
Official Codex tabsThe default Codex: New Codex Tab command, toolbar button, and The official extension owns its model selector, access and approval modes, tools, and history UI. This wrapper opens new official conversation tabs; it does not guarantee that choosing a saved conversation will stay in the same panel, or that renaming a conversation will update an already-open editor tab title in real time. Saved conversations opened from the official history can initially be VS Code preview tabs (italic tab titles). Starting in 0.6.2, this extension automatically applies Keep Editor to official local/remote conversation previews so that the next history selection keeps the earlier conversation open. You do not need to double-click each history tab. This keeps the existing webview; it does not reopen it, close a source tab, change global preview settings, or change SDK chat records. This handling runs after the editor-tab event arrives. If the IDE replaces a preview before that event is delivered during exceptionally fast consecutive selections, this extension cannot recover the closed panel or its unsent input. It does not reopen closed tabs. Official history may still open a separate tab rather than changing the current panel; the official extension controls that behavior. Previous reports of some existing Codex tabs accepting text but hanging after send, and failing to open file links, remain unresolved. The root cause is unknown, and returning to the official editor route is not evidence that the prior issue has been fixed. Optional SDK chatsThe Codex: New SDK Chat Tab command opens this extension's own chat panel and uses the official History lists up to 50 local SDK threads per page, with More for the next page. Selecting a thread changes the conversation in that SDK tab. If another SDK tab in this window already owns the thread, that tab is focused instead. Renaming calls the SDK's thread rename operation and changes this extension's editor tab title. New SDK Chat Tab opens another SDK editor tab and leaves the current conversation in place. Existing SDK panel and thread records are retained; official extension conversations and SDK conversations are managed by their respective interfaces. SDK access mode and limitationsSDK tabs start in Read only (local files) mode with approval requests denied. For coding work, choose Allow workspace file writes in a trusted workspace and confirm the prompt. This permits ordinary edits inside the workspace; approval requests remain denied. These modes control local filesystem access; configured external tools, including MCP servers or connectors inherited from Codex configuration, may still be available in either mode. The extension does not currently disable those tools. Each SDK tab stays bound to the folder it opened with, even if multi-root folders are reordered or the window reloads. The choice resets to local-file read only after reload or a thread switch; removing the folder or losing workspace trust also resets it and terminates the active helper process tree. Trust revocation is checked at SDK events and every 250 ms, so edits made before detection cannot be undone. The sandbox and approval mode are applied when a thread starts or resumes and on every turn. SDK history is local to the extension host. A Remote SSH host, a local desktop, and another computer may have different threads. Threads created in another workspace are shown with their source path; opening one in the current workspace asks for confirmation and resets local file access to read only. A thread active in another Codex client may be locked. The extension reports that condition and does not alter locks. SDK-created threads can be absent from history before their first completed turn; this extension keeps a newly returned ID in the editor tab immediately and does not automatically retry an uncertain first send. Failed and interrupted turn prompts remain recoverable in the composer or an ordered failed-prompt list. The SDK UI shows text messages, streamed responses, command output, and changed file paths. It does not provide the official Codex UI, interactive approval requests, attachments, cloud conversation history, or every tool interaction. Message content is rendered as text under a restrictive webview Content Security Policy. The SDK implementation does not read Codex rollout files, call app-server JSON-RPC directly, or use private APIs from the official VS Code extension. Upgrade from 0.6.0The default Codex: New Codex Tab command now opens the official Codex conversation editor again. The SDK chat remains available through Codex: New SDK Chat Tab. Existing SDK panel and thread records are retained; this change does not modify the official extension or claim to fix the earlier send-hang or file-link issue. Upgrade from 0.6.1Version 0.6.2 fixes the normal history-preview replacement flow by keeping official conversation tabs automatically. After installing the update, reload the IDE window when your current work is finished. The default interface remains the official Codex interface. Build and test
Publisher: |