Skip to content

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

Closed as not planned

Description

@herbievine

Description

TypeError: undefined is not an object (evaluating 'local.agent.current().name')
    at <anonymous> (/$bunfs/root/src/index.js:374599:76)
    at <anonymous> (/$bunfs/root/src/index.js:354864:71)
    at runComputation (/$bunfs/root/src/index.js:353580:24)
    at updateComputation (/$bunfs/root/src/index.js:353563:17)
    at runTop (/$bunfs/root/src/index.js:353688:24)
    at runUserEffects (/$bunfs/root/src/index.js:353801:13)
    at runUpdates (/$bunfs/root/src/index.js:353709:20)
    at completeUpdates (/$bunfs/root/src/index.js:353769:15)
    at runUpdates (/$bunfs/root/src/index.js:353710:20)
    at <anonymous> (/$bunfs/root/src/index.js:367438:16)
    at processTicksAndRejections (native:7:39)...

Plugins

No response

OpenCode version

1.3.0

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

macos the one before 26

Terminal

ghostty

Activity

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

    @github-actions
    Contributor

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

    This exact error (TypeError: undefined is not an object (evaluating 'local.agent.current().name')) has been reported many times. Please search existing issues before filing, and consider adding a +1 or additional context to an existing report instead of opening a new one.

  3. herbievine commented on Mar 23, 2026

    @herbievine
    Author

    i was connected to an anthropic account, and then i did /connect to connect another one.

    i have this config:

    {
      "$schema": "https://opencode.ai/config.json",
      "plugin": [
        "opencode-anthropic-oauth",
        "oh-my-opencode@latest"
      ]
    }
    
  4. kommander commented on Mar 23, 2026

    @kommander
    Contributor

    I've seen that before, seems to be an oh-my-opencode issue.

  5. removed
    bugSomething isn't working
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on May 3, 2026
  6. 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