Codex Rollout InsightsA local-first VS Code extension for observing raw Codex rollout token telemetry. It is deliberately not a ChatGPT quota, credits, or billing calculator.
Current implementationThe first milestone is a streaming rollout analyzer. It reads Codex session JSONL without modifying it, normalizes the evolving raw schema, and reports:
Run it against the auto-discovered Codex sessions directory, or provide a rollout file explicitly:
Run the fixture tests with No prompt text, source code, tool output, credentials, or telemetry leave the machine. The extension does not proxy traffic, attach to Codex's app-server connection, or modify rollout files. What is and is not feasibleThe local rollout format currently includes Rollout telemetry alone cannot authoritatively establish ChatGPT plan quota, credits, billing cost, or rate limits. It also cannot always prove attribution across compaction, retries, background work, or sub-agent threads. Those values must remain unavailable or explicitly estimated until a supported authoritative Codex surface provides them.
See architecture for the local session/turn model and privacy for its data-handling guarantees. Multiple sessions on one machineEach Codex rollout is treated as an independent observed session. Open the native Sessions tree to select one and pin it for the current VS Code workspace; the live observer then tails that exact rollout. Expand the selected session to inspect its prompt turns, model inferences, and tool-call/result pairs without exposing their contents. This explicit choice is intentional: local rollout files do not reliably state which external Codex chat or tab a person considers current when multiple sessions are active at once. The session catalog scans only the configured number of recent sessions (20 by default), hides sub-agent/internal threads by default, and stores no prompt or tool-output contents. Local session names and prompt previews are opt-in settings because either may contain prompt-derived text. |