opentui: fatal: undefined is not an object (evaluating 'local2.agent.current().name') · Issue #20037 · anomalyco/opencode · GitHub
Skip to content

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

Closed as not planned

Description

@mateuor2d2

Description

TypeError: undefined is not an object (evaluating 'local2.agent.current().name')
    at <anonymous> (/$bunfs/root/src/index.js:494589:77)
    at <anonymous> (/$bunfs/root/src/index.js:473993:71)
    at runComputation (/$bunfs/root/src/index.js:472370:24)
    at updateComputation (/$bunfs/root/src/index.js:472353:17)
    at runTop (/$bunfs/root/src/index.js:472478:24)
    at runUserEffects (/$bunfs/root/src/index.js:472591:13)
    at runUpdates (/$bunfs/root/src/index.js:472499:20)
    at completeUpdates (/$bunfs/root/src/index.js:472559:15)
    at runUpdates (/$bunfs/root/src/index.js:472500:20)
    at <anonymous> (/$bunfs/root/src/index.js:487027:16)
    at processTicksAndRejections (native:7:39)...

Plugins

ohmygodagent

OpenCode version

1.3.7

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

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

    @github-actions
    Contributor

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

    There are many more reports of this same crash. Please check the above issues and add a thumbs-up reaction or comment there instead of opening a new issue.

  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