Monorepo for the Codex Sessions tooling:
| Package | What it is | Distribution |
|---|---|---|
packages/raycast-extension |
macOS Raycast extension for finding local Codex sessions and opening projects in Codex Desktop | 準備中(Raycast Store 公開予定) |
packages/codex-raycast |
codex-raycast CLI that sets up the Codex session-status hook the extension reads |
npm (npx codex-raycast setup) |
The two packages share a contract: the hook (writer) maintains ~/.local/state/raycast-codex-sessions/states.json and the Raycast extension (reader) joins it onto Codex's SQLite session catalog, flipping unread when a session is opened. The states.json schema and the directory-based lock protocol are verified by cross-package contract tests in test/contract.
The Raycast extension is not on the Raycast Store yet — the store submission PR is still under review. Install it from source in development mode:
git clone https://github.com/jomatsu/raycast-plugin-codex.git
cd raycast-plugin-codex
npm install
cd packages/raycast-extension
npm run dev # runs `ray develop`, which loads the extension into Raycast in development modeFor the optional live status tags (Working / Done · Unread), install the hook:
npx codex-raycast setupThen open Codex, run /hooks, and trust both installed hooks. Session search and the project list work without the hook.
Once the store PR is merged, you can install the extension from the Raycast Store directly.
npm install # installs all workspaces
npm test # workspace unit tests + contract tests
npm run typecheck # tsc for every package
npm run build # ray build (extension) + tsc (codex-raycast)
npm run lint # ray lint for the extensionPer-package instructions live in each package's README.