Skip to content

bb settings for model account usage don't respect CODEX_HOME #1324

Closed

Description

@AndrewSB

Codex thread execution correctly respected CODEX_HOME via resolveCodexHome() in list-commands.ts (process.env.CODEX_HOME?.trim() || path.join(homeDir, ".codex")), but codex-auth.ts (used for bb settings usage) hardcoded ~/.codex/auth.json.

This caused a split state when using a second account via CODEX_HOME:

  • threads are able to use the second account
  • but Usage UI still shows the main account from from ~/.codex. ignoring the CODEX_HOME env var

Activity

  1. AndrewSB commented on Aug 11, 2026

    @AndrewSB
    ContributorAuthor

    i have a fix in #1138

  2. added theissue type on Aug 11, 2026
  3. self-assigned this
    on Aug 12, 2026
  4. ymichael commented on Aug 12, 2026

    @ymichael
    Collaborator

    thank you! taking a look!

  5. added a commit that references this issue on Aug 12, 2026
    27b7740
  6. added a commit that references this issue on Aug 12, 2026
    060d5e3
  7. added a commit that references this issue on Aug 12, 2026
    1cc39f9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions