Skip to content

aogoro/codex-tabs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codex-tabs

Open Codex conversations as editor tabs in Cursor with auto-patched tab labels and icons.


Codex-чаты как вкладки редактора в Cursor с автоматическими заголовками и иконками.

Disclaimer: This extension is unofficial and not affiliated with or endorsed by OpenAI. It requires the official OpenAI Codex extension installed.

Features

  • Codex conversations open as editor tabs (not sidebar panels)
  • Tab titles update automatically based on conversation content
  • Blossom icon on each Codex tab
  • History navigation stays within the current tab
  • Suppresses unnecessary connector logo network requests
  • Cmd+Shift+J — open a new Codex tab
  • Cmd+J — add selected text to the active Codex thread (keeps Explorer visible)

Requirements

Installation

Symlink (recommended for easy updates)

git clone https://github.com/aogoro/codex-tabs.git ~/Projects/codex-tabs
ln -s ~/Projects/codex-tabs ~/.cursor/extensions/aogoro.codex-tabs-0.1.0

Direct copy

git clone https://github.com/aogoro/codex-tabs.git /tmp/codex-tabs
cp -r /tmp/codex-tabs ~/.cursor/extensions/aogoro.codex-tabs-0.1.0

After installing, reload the Cursor window (Cmd+Shift+P > Reload Window).

Verify installation

node ~/.cursor/extensions/aogoro.codex-tabs-0.1.0/scripts/verify-installed.js

Commands

Command Hotkey Description
Codex: Open Cmd+Shift+J Open a new Codex tab
Codex: Add to Thread Cmd+J Add selection to active thread

How it works

On activation, the extension patches the installed OpenAI Codex extension's minified JS files to:

  1. Route /Codex as home — adds /Codex as a recognized home route so new tabs open the Codex UI directly
  2. In-tab history navigation — history clicks navigate within the current editor tab instead of opening a new one
  3. Tab titles — injects a DOM observer + host message bridge to extract conversation titles and apply them to editor tabs
  4. Tab icons — sets the blossom icon on all Codex editor panels
  5. IPC isolation/Codex home panels skip IPC client registration to avoid conflicts with active threads
  6. Network noise — intercepts connector logo fetch requests and returns a transparent pixel

Patches are applied idempotently with verification markers. If the Codex extension updates and changes incompatible structures, the patcher reports an error without corrupting files. Backup files (.bak) are created before any modification.

After Codex updates

When the OpenAI Codex extension updates, patches are automatically re-applied on next Cursor startup. If the update changes the internal code structure incompatibly, you'll see an error notification. In that case, wait for an update to this extension or check the issues.

Third-party assets

The blossom icons in resources/ are property of OpenAI, included for visual consistency with the official Codex extension.

License

MIT (see LICENSE for details and icon attribution)

About

Open Codex agent tabs in editor with auto-patched tab labels and icons

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors