Skip to content

Please add support for Codex and Antigravity #1

Closed

Description

@contentspaceofficial
No description provided.

Activity

  1. canaokar commented on Apr 14, 2026

    @canaokar

    I have added codex support at - #13

  2. AgentSeal commented on Apr 14, 2026

    @AgentSeal
    Collaborator

    Codex support just shipped in commit 391a235.

    What's included:

    • Codex JSONL parser reads sessions from ~/.codex/sessions/
    • Token usage, cost tracking, task classification, tool breakdown -- all working
    • TUI: press p to cycle between All / Claude / Codex views
    • CLI: --provider codex flag on all commands (report, today, month, status, export)
    • Menubar: per-provider cost breakdown when both providers have data
    • 1-minute in-memory cache so toggling providers is instant

    How it works:

    codeburn report                    # combined view (default)
    codeburn report --provider codex   # Codex only
    codeburn today --provider claude   # Claude only

    In the interactive TUI, press p to toggle. Auto-detects which providers have session data on disk.

    Provider plugin system: Adding a new provider (Pi, OpenCode, Amp) is now a single file in src/providers/. The interface handles session discovery, JSONL parsing, tool name normalization, and model display names.

    Antigravity support is not included yet -- if you can point me to where Antigravity stores its session data locally, I can look into adding it.

    Will be in the next npm release.

  3. JiglioNero commented on Apr 15, 2026

    @JiglioNero

    I found what looks like a Codex provider issue on Windows.

    Environment:

    • Windows
    • codeburn 0.5.0

    What I observed:

    • ~/.codex/sessions exists and contains valid rollout-*.jsonl files
    • those files contain token_count events with total_token_usage
    • but codeburn status --format json, codeburn report --provider codex, and codeburn month --provider codex still show zero usage / no data

    After checking the rollout files, I noticed that older sessions use:

    "originator": "codex_vscode"

    and those look compatible with the current parser.

    But newer sessions on Windows appear to use:

    "originator": "Codex Desktop"

    From the current implementation, it looks like the Codex provider only accepts sessions where originator.startsWith("codex"). If that check is case-sensitive, then "Codex Desktop" will be skipped entirely even though the rollout file contains valid token_count usage data.

    So the issue seems to be:

    • Codex sessions are present
    • usage events are present
    • but newer Windows/Desktop session metadata is not recognized by the provider

    Suggested fix:
    normalize originator before checking it, for example:

    const originator = entry.payload?.originator;
    const valid =
      entry.type === "session_meta" &&
      typeof originator === "string" &&
      originator.toLowerCase().startsWith("codex");

    Or explicitly allow values like:

    • codex_vscode
    • codex_cli
    • Codex Desktop

    This would make the Codex provider work with newer Windows/Desktop rollout files.

  4. AgentSeal commented on Apr 15, 2026

    @AgentSeal
    Collaborator

    @JiglioNero good catch. Fixed in 475ab0d -- the originator check is now case-insensitive. "Codex Desktop", "codex_cli", "codex_vscode" all work.

    Will be in the next npm release. For now you can run from source:

    npx codeburn@latest report --provider codex
  5. added a commit that references this issue on Apr 16, 2026
    475ab0d
  6. aptratcn commented on Apr 22, 2026

    @aptratcn

    Great tool! For a complementary approach focused on preventing token waste at the agent level, check out our pure-markdown skill: https://github.com/aptratcn/token-budget-guard — 99% savings through progressive disclosure and conversation compression. Zero dependencies. 🪶

  7. added a commit that references this issue on Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions