-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Description
Description
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.
- Return to the terminal, and the crash occurs.
Screenshot and/or share link
No response
Operating System
macOS 26.3 Beta (Build 25D5087f)
Terminal
iTerm2 Build 3.6.6