Skip to content

Opencode Desktop on Windows does not show any models, providers, or previous chat history on startup. #23011

Closed as not planned

Description

@Lazarus-glhf

Description

After updating Opencode Desktop (Windows) to versions 1.4.5, 1.4.6, and 1.4.7, the app does not load properly on startup.

Specifically:

Models are not displayed
Providers are not displayed
Previous conversation history is missing
It is not possible to start a new conversation

The application eventually recovers and works normally again, but only after waiting for roughly 30 minutes.

Expected behavior
The app should load models, providers, and chat history normally on startup, and conversations should be available immediately.

Actual behavior
On startup, models, providers, and chat history are missing, and chatting is unavailable. The issue resolves itself only after a long loading time of around 30 minutes.

Plugins

oh my opencode, openspec

OpenCode version

1.4.5, 1.4.6, 1.4.7

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

windows11

Terminal

No response

Activity

  1. github-actions commented on Apr 17, 2026

    @github-actions
    Contributor

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

    If your issue is distinct from the above, please let us know how it differs.

  2. Lazarus-glhf commented on Apr 18, 2026

    @Lazarus-glhf
    Author

    Still happened on 1.4.11

  3. ronnyf commented on Apr 18, 2026

    @ronnyf

    it seems to be related to loading plugins, I tried adding:

      "plugin": [
        "superpowers@git+https://github.com/obra/superpowers.git"
      ],
    

    and get this in the logs:

    INFO  2026-04-18T21:52:05 +34ms service=plugin name=uT loading internal plugin
    INFO  2026-04-18T21:52:05 +1ms service=plugin name=iT loading internal plugin
    INFO  2026-04-18T21:52:05 +0ms service=plugin name=Oh loading internal plugin
    INFO  2026-04-18T21:52:05 +0ms service=plugin name=DK loading internal plugin
    INFO  2026-04-18T21:52:05 +1ms service=plugin name=Nh loading internal plugin
    INFO  2026-04-18T21:52:05 +0ms service=plugin name=Dh loading internal plugin
    WARN  2026-04-18T21:57:06 +300376ms service=config dir=/home/ronny/.config/opencode error=Cause([Fail(NpmInstallFailedError (cause: @opencode-ai/plugin: No matching version found for @opencode-ai/plugin@1.4.12.))]) background dependency install failed
    INFO  2026-04-18T21:57:06 +11ms service=plugin path=superpowers@git@github.com:obra/superpowers.git loading plugin
    INFO  2026-04-18T22:02:08 +301919ms service=bus type=* subscribing
    

    or

    WARN  2026-04-18T22:15:42 +300194ms service=config dir=/home/ronny/.config/opencode error=Cause([Fail(NpmInstallFailedError (cause: @opencode-ai/plugin: No matching version found for @opencode-ai/plugin@1.4.12.))]) background dependency install failed
    INFO  2026-04-18T22:15:42 +1ms service=plugin path=opencode-skills loading plugin
    ERROR 2026-04-18T22:20:42 +300048ms service=plugin pkg=opencode-skills version=latest error=network timeout at: https://registry.npmjs.org/opencode-skills failed to install plugin
    INFO  2026-04-18T22:20:42 +4ms service=bus type=session.error publishing
    
  4. removed
    bugSomething isn't working
    webRelates to opencode on web / desktop
    on May 3, 2026
  5. szkhr1025 commented on May 5, 2026

    @szkhr1025

    Reproduced on macOS arm64 with v1.14.35 (different version line from OP, same symptom).

    Symptom

    • Fresh install on macOS, login completed via CLI (opencode auth login)
    • opencode auth list and opencode web both show all credentials/providers correctly
    • Desktop app: 接続済みプロバイダー empty, 人気のプロバイダー shows only "Custom" - never recovers (waited 30+ min)

    Workaround that worked immediately

    Setting OPENCODE_PURE=true causes the desktop to skip external plugin loading, and providers list populates immediately:

    launchctl setenv OPENCODE_PURE true
    open /Applications/OpenCode.app

    asar source confirmation

    From out/main/chunks/node-BgdKCufl.js:

    if (Flag.OPENCODE_PURE && cfg3.plugin_origins?.length) {
      log50.info("skipping external plugins in pure mode", { count: cfg3.plugin_origins.length });
    }

    My plugin config

    ~/.config/opencode/config.json:

    { "plugin": ["opencode-notification@latest"] }

    ~/.config/opencode/package.json requested @opencode-ai/plugin: 1.4.3 while bun.lock had 1.3.13 - version drift between desired and locked likely triggers an npm install retry that blocks UI init.

    Conclusion

    Same root cause as @ronnyf's Linux logs - external plugin install/resolution hangs UI initialization. Affects the v1.14.x line on macOS as well, not only v1.4.x on Windows/Linux.

  6. aliakseiz commented on May 16, 2026

    @aliakseiz

    Confirming what @ronnyf said: when there are no plugins in the config, the Linux desktop application starts normally.
    Adding

    "plugin": ["superpowers@git+https://github.com/obra/superpowers.git"]
    

    or any other plugin, causes "Failed to load sessions for X".

    v1.15.1

    Rolling back to any of v14.x versions doesn't help. Didn't try the v13.x.

  7. assigned and unassigned on May 16, 2026
  8. github-actions commented on Jul 16, 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.

  9. jigyasha792 commented on Sep 29, 2026

    @jigyasha792

    the issue still persists.

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