Skip to content

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

Closed as not planned

Description

@Symb0x76

Description

TypeError: undefined is not an object (evaluating 'local.agent.current().name')
    at <anonymous> (B:/~BUN/root/src/index.js:374576:76)
    at <anonymous> (B:/~BUN/root/src/index.js:354843:71)
    at runComputation (B:/~BUN/root/src/index.js:353559:24)
    at updateComputation (B:/~BUN/root/src/index.js:353542:17)
    at runTop (B:/~BUN/root/src/index.js:353667:24)
    at runUserEffects (B:/~BUN/root/src/index.js:353780:13)
    at runUpdates (B:/~BUN/root/src/index.js:353688:20)
    at completeUpdates (B:/~BUN/root/src/index.js:353748:15)
    at runUpdates (B:/~BUN/root/src/index.js:353689:20)
    at <anonymous> (B:/~BUN/root/src/index.js:367415:16)
    at processTicksAndRejections (native:7:39)...

Plugins

Oh My OpenCode

OpenCode version

1.3.0

Steps to reproduce

  1. Install Oh-My-OpenCode
  2. Try to connect adapters with only api key required
  3. Input the key
  4. Submit and crash

Screenshot and/or share link

Image

Operating System

Windows 11

Terminal

Windows Terminal

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Mar 24, 2026
  2. github-actions commented on Mar 24, 2026

    @github-actions
    Contributor

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

    There are many open and closed issues reporting the exact same TypeError: undefined is not an object (evaluating 'local.agent.current().name') crash. Please check the issues above to see if your situation matches and consider adding your findings there instead.

  3. removed
    bugSomething isn't working
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on May 3, 2026
  4. github-actions commented on Jul 3, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions