Skip to content

Error appear after connecting provider #10926

Closed

Description

@abbaspuzi

Description

This error message appear after successful connected to provider

[12:02:30] [LOG] 'resolveSystemTheme'
[12:02:30] [LOG] '{"type":"home"}'
[12:02:30] [LOG] [
      '#1d1f21', '#cc6666',
      '#b5bd68', '#f0c674',
      '#81a2be', '#b294bb',
      '#8abeb7', '#c5c8c6',
      '#666666', '#d54e53',
      '#b9ca4a', '#e7c547',
      '#7aa6da', '#c397d8',
      '#70c0b1', '#eaeaea'
    ]
[12:05:44] [LOG] 'bootstrapping'
[12:05:44] [LOG] 'bootstrapping'
[12:05:44] [LOG] 'bootstrapping'
[12:05:44] [ERROR] Error: EditBuffer is destroyed
    Error: EditBuffer is destroyed
        at guard (../../node_modules/.bun/@[email protected]+81ecd8642a1892ca/node_modules/@opentui/core/index.js:332:17)
        at getText (../../node_modules/.bun/@[email protected]+81ecd8642a1892ca/node_modules/@opentui/core/index.js:371:10)
        at focus (../../node_modules/.bun/@[email protected]+81ecd8642a1892ca/node_modules/@opentui/core/index.js:6744:32)

Plugins

No response

OpenCode version

1.1.37

Steps to reproduce

  1. Connect provider
  2. Select kimi code
  3. Put API key

Screenshot and/or share link

Image

Operating System

macOS 15.7.3

Terminal

Ghostty

Activity

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

    @github-actions
    Contributor

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

    Both issues show crashes during provider connection/authentication flows with similar error patterns in the OpenTUI component. The "EditBuffer is destroyed" error combined with the timeline (bootstrapping → focus → error) suggests a TUI state management issue during provider setup.

    Feel free to ignore if your case involves different steps or specific Kimi provider configuration.

  3. lordcris commented on Jan 28, 2026

    @lordcris

    i have this issues too.
    I am on

    Distributor ID: Linuxmint
    Description: Linux Mint 22.3
    Release: 22.3
    Codename: zena

    on the normal terminal it works, on ghostty i see this error

  4. Foovar commented on Jan 28, 2026

    @Foovar

    I can reproduce this as well.

    Environment

    • OS: macOS 26.2 (build 25C56)
    • Terminal: iTerm2
    • OpenCode: v1.1.37

    Steps

    1. Connect provider
    2. Select any provider
    3. Enter API key

    Result
    After the provider connects successfully, the app intermittently crashes with:
    Error: EditBuffer is destroyed (during bootstrapping → focus).

  5. tx-anin commented on Jan 28, 2026

    @tx-anin
    Image
  6. changed the title [-]Random error appear after connecting provider[/-] [+]Error appear after connecting provider[/+] on Jan 28, 2026
  7. unfazed2049 commented on Jan 28, 2026

    @unfazed2049

    the same problem

  8. cravenceiling commented on Jan 28, 2026

    @cravenceiling
    Contributor

    Downgrading to v.1.1.36 fix this issue for the moment.

    opencode upgrade 1.1.36
  9. huanyang1120 commented on Jan 29, 2026

    @huanyang1120

    same issue in opencode 1.1.39

  10. buxiua commented on Jan 29, 2026

    @buxiua

    same issue in opencode 1.1.40

  11. kommander commented on Jan 29, 2026

    @kommander
    Contributor

    Should be fixed in v1.1.42

  12. okbrown commented on Jan 29, 2026

    @okbrown

    Same issue on v1.1.42 😢

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions