You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Crash when local.agent.current() returns undefined during startup/auth #7918
All of these involve the same error: 'local.agent.current()' returning undefined, occurring during authentication or provider connection. They all share similar stack traces pointing to prompt/index.tsx:840.
Feel free to ignore if this addresses your specific case differently than these others.
Activity
github-actions commentedon Jan 12, 2026
This issue might be a duplicate of existing issues. Please check:
All of these involve the same error: 'local.agent.current()' returning undefined, occurring during authentication or provider connection. They all share similar stack traces pointing to prompt/index.tsx:840.
Feel free to ignore if this addresses your specific case differently than these others.
dhruvkej9 commentedon Jan 15, 2026
@rekram1-node @thdxr This issue is also on version 1.1.21
Occured for me while doing /connect and after the github copilot auth was successful
rekram1-node commentedon Jan 15, 2026
Yeah trying to figure this out is annoying, cant replicate at all
dhruvkej9 commentedon Jan 15, 2026
Try doing /connect with copilot models using opencode-copilot-auth@0.0.11 on opencode@1.1.21
after entering code on github website, when you comeback to opencode you should see this.
rekram1-node commentedon Jan 15, 2026
Yeah did this several times, cannot replicate.
What OS are you using
dhruvkej9 commentedon Jan 16, 2026
I am using Ubuntu 24.04 on WSL2 in Windows 11
(Windows Terminal)
jamshidkhaksaar commentedon Jan 21, 2026
is this issue resolved?
github-actions commentedon Mar 28, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.
dhruvkej9 commentedon Mar 28, 2026
@rekram1-node It is again coming in version 1.3.3, when connecting to auth provider (I did OpenAI Codex)