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

Closed
opened 2026-02-16 18:08:00 -05:00 by yindo · 1 comment
Owner

Originally created by @karczews on GitHub (Jan 27, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

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/@opentui+solid@0.1.74+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 runTop (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:833:7)
    at runUserEffects (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:928:18)
    at runUpdates (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:849:17)
    at completeUpdates (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:900:17)
    at runUpdates (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:850:5)
    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

oh-my-opencode

OpenCode version

1.1.36

Steps to reproduce

  1. start opencode
  2. /connect
  3. select Synthetic
  4. put your api key
  5. App crash

Screenshot and/or share link

No response

Operating System

macos 26.2

Terminal

iTerm2

Originally created by @karczews on GitHub (Jan 27, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description ``` 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/@opentui+solid@0.1.74+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 runTop (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:833:7) at runUserEffects (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:928:18) at runUpdates (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:849:17) at completeUpdates (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:900:17) at runUpdates (../../node_modules/.bun/solid-js@1.9.10/node_modules/solid-js/dist/dev.js:850:5) 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 oh-my-opencode ### OpenCode version 1.1.36 ### Steps to reproduce 1. start opencode 2. /connect 3. select `Synthetic` 4. put your api key 5. App crash ### Screenshot and/or share link _No response_ ### Operating System macos 26.2 ### Terminal iTerm2
yindo added the opentuibug labels 2026-02-16 18:08:00 -05:00
yindo closed this issue 2026-02-16 18:08:00 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 27, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #10413: Similar error when connecting with Google OAuth Antigravity
  • #9845: Same error when connecting to Google antigravity auth
  • #10114: Same error with Google Antigravity connection (oh-my-opencode)
  • #8018: Same error after OAuth completion with Gemini Pro 3
  • #10552: Identical error in similar context
  • #10779: Same error reported (v1.1.36)
  • #10774: Same error (v1.1.35)
  • #10681: Same error (v1.1.30)
  • #10600: Same error with oh-my-opencode plugin
  • #10541: Same error
  • #10536: Same error (WSL2 ArchLinux)
  • #10446: Same error
  • #10703: Same error when setting up Anthropic provider
  • #10663: Same error with OpenCode Zen connection
  • #10627: Same error after entering Minimax Code Plan key
  • #10510: Same error after entering DeepSeek API key
  • #9842: Same error with Minimax API key on Windows Server
  • #10657: Same error connecting OpenCode Zen (Windows 11)
  • #8827: Similar error during OAuth callback with Finicky browser

All these issues report the same TypeError at the same location (src/cli/cmd/tui/component/prompt/index.tsx:850:75).

Feel free to ignore if this specific case involves a different provider or scenario than the ones listed above.

@github-actions[bot] commented on GitHub (Jan 27, 2026): This issue might be a duplicate of existing issues. Please check: - #10413: Similar error when connecting with Google OAuth Antigravity - #9845: Same error when connecting to Google antigravity auth - #10114: Same error with Google Antigravity connection (oh-my-opencode) - #8018: Same error after OAuth completion with Gemini Pro 3 - #10552: Identical error in similar context - #10779: Same error reported (v1.1.36) - #10774: Same error (v1.1.35) - #10681: Same error (v1.1.30) - #10600: Same error with oh-my-opencode plugin - #10541: Same error - #10536: Same error (WSL2 ArchLinux) - #10446: Same error - #10703: Same error when setting up Anthropic provider - #10663: Same error with OpenCode Zen connection - #10627: Same error after entering Minimax Code Plan key - #10510: Same error after entering DeepSeek API key - #9842: Same error with Minimax API key on Windows Server - #10657: Same error connecting OpenCode Zen (Windows 11) - #8827: Similar error during OAuth callback with Finicky browser All these issues report the same TypeError at the same location (src/cli/cmd/tui/component/prompt/index.tsx:850:75). Feel free to ignore if this specific case involves a different provider or scenario than the ones listed above.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7717