Skip to content

Publish release with Codex Desktop originator fix #50

Closed

Description

@yjung199

Hi, thanks for Codeburn.

I originally thought Codex Desktop usage detection was still broken on main, but after checking the repository I found that main already contains the fix.

Current main includes:

entry.payload.originator.toLowerCase().startsWith('codex')

and also has a test for accepting case-insensitive originator (Codex Desktop)

The issue I found is that the latest published/global version, [email protected], appears to have been released before this fix.

In 0.5.2, Codex Desktop usage reports as zero because Codex Desktop writes:

"originator": "Codex Desktop"
while the older released code only accepted lowercase codex... originators.

Before patching the installed 0.5.2 runtime, it showed
{"currency":"USD","today":{"cost":0,"calls":0},"month":{"cost":0,"calls":0}}

After applying the same case-insensitive check already present on main, it properly shows the usage:
{"currency":"USD","today":{"cost":1.25,"calls":42},"month":{"cost":14.6,"calls":364}}

Request:
Could you publish a new npm release, e.g. 0.5.3, that includes the current main fix for Codex Desktop session discovery?

Expected behavior:
Installing the latest released Codeburn package should detect Codex Desktop usage from ~/.codex/sessions/.

Activity

  1. changed the title [-]Codex Desktop sessions are not detected because originator check is case-sensitive[/-] [+]Publish release with Codex Desktop originator fix[/+] on Apr 16, 2026
  2. AgentSeal commented on Apr 16, 2026

    @AgentSeal
    Collaborator

    Just published 0.5.3 with the fix. npm install -g codeburn@latest or npx codeburn@latest will pick it up. Closing this -- let us know if Codex Desktop still shows zero after updating.

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