Skip to content

Conversation

@cgarrot
Copy link

@cgarrot cgarrot commented Jan 11, 2026

Fixes #7727

  • TUI: guard agent access while the agent list is temporarily unavailable after OAuth redirect (prevents local.agent.current().name crash).
  • Auth: persist OAuth extra metadata returned by auth plugins (accountId, enterpriseUrl) + add regression test.

Verified:

  • bun run typecheck (packages/opencode)
  • bun test test/provider/auth-extra-fields.test.ts

@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

Potential Duplicate Found:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

opentui: fatal: undefined is not an object (evaluating 'local.agent.current().name')

1 participant