Description
Connecting to the Copilot provider leads to this crash. That said, I was connected before, but opencode asked me to reconnect when I ran a prompt. Note that when running the OpenCode desktop app (in an older version, I'm hesitant to upgrade it, and I don't know where to find the exact version number), connecting works fine.
TypeError: undefined is not an object (evaluating 'local.agent.current().name')
at <anonymous> (src/cli/cmd/tui/component/prompt/index.tsx:850:75)
at <anonymous> (../../node_modules/.bun/@[email protected]+897ebc1644d3edd0/node_modules/@opentui/solid/index.js:148:62)
at runComputation (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:742:22)
at updateComputation (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:724:3)
at runTop (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:833:7)
at runUserEffects (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:928:18)
at runUpdates (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:849:17)
at completeUpdates (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:900:17)
at runUpdates (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:850:5)
at setStore (../../node_modules/.bun/[email protected]/node_modules/solid-js/store/dist/dev.js:221:5)...
Plugins
oh-my-opencode
OpenCode version
1.1.32, a re-install didn't help
Steps to reproduce
- Run the
opencode cli and follow the connection steps for Copilot via device
- After giving permission in the browser (
"Authorize anomalyco") I see the success message in the browser, but the error from above is thrown in the cli.
Screenshot and/or share link
No response
Operating System
Windows 11, with Chrome and Firefox
Terminal
PowerShell