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
TypeError: undefined is not an object (evaluating 'local.agent.current().name') during Google login #7932
A fatal error occurs in the TUI when attempting to log in using a Google account. The application crashes immediately after the authentication process, displaying a "TypeError" regarding an undefined object.
Error Logs:
TypeError: undefined is not an object (evaluating 'local.agent.current().name')
at (src/cli/cmd/tui/component/prompt/index.tsx:840:75)
at (../../node_modules/.bun/@OpenTui+solid@0.1.72+897ebc1644d3edd0/node_modules/@opentui/solid/index.js:148:62)
at runComputation (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:742:22)
at updateComputation (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:724:3)
...
at setStore (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/store/dist/dev.js:221:5)
at processTicksAndRejections (native:7:39)
Plugins
None
OpenCode version
1.1.14
Steps to reproduce
Open the OpenCode TUI in the terminal.
Select the option to log in via Google.
Complete the authentication process in the web browser.
All three issues report the same TypeError related to local.agent.current() being undefined during authentication, which appears to be a broader issue affecting multiple authentication methods (Google, OpenAI, etc.). Feel free to ignore if your case involves different circumstances.
Activity
github-actions commentedon Jan 12, 2026
This issue might be a duplicate of existing issues. Please check:
All three issues report the same TypeError related to local.agent.current() being undefined during authentication, which appears to be a broader issue affecting multiple authentication methods (Google, OpenAI, etc.). Feel free to ignore if your case involves different circumstances.