Skip to content

Hang on every startup #7403

Closed
Closed

Description

@renyangang

Question

After installing the oh-my-opencode plugin, every time I start opencode, it hangs for a while. When I check the processes, it always executes /root/.opencode/bin/opencode add --force --exact --cwd /root/.cache/opencode oh-my-opencode@latest. Is there a way to configure to bypass this step

Activity

  1. added
    perfIndicates a performance issue or need for optimization
    on Jan 9, 2026
  2. github-actions commented on Jan 9, 2026

    @github-actions
    Contributor

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

    These issues share the same core problem: when plugins or packages are installed without explicit versions or the version tracking gets out of sync, OpenCode attempts to reinstall them on every startup, causing hangs during the opencode add --force command.

    Feel free to ignore if none of these address your specific case.

  3. goniz commented on Jan 9, 2026

    @goniz
    Contributor

    Isn't this issue belongs to the https://github.com/code-yeongyu/oh-my-opencode repo?

  4. gavar commented on Jan 15, 2026

    @gavar

    @goniz not sure, it seems to be part of the opencode logic itself

    // Build command arguments
    const args = [
    "add",
    "--force",
    "--exact",
    // TODO: get rid of this case (see: https://github.com/oven-sh/bun/issues/19936)
    ...(proxied ? ["--no-cache"] : []),
    "--cwd",
    Global.Path.cache,
    pkg + "@" + version,
    ]

  5. rekram1-node commented on Jan 15, 2026

    @rekram1-node
    Contributor

    Oh my opencode has a big blocking install that hangs for a while, if you are using omo please open issue in that repo

  6. renyangang commented on Jan 16, 2026

    @renyangang
    Author

    By configuring a fixed version number in the opencode.json file, this issue can be avoided
    "plugin": [
    "oh-my-opencode@2.14.0"
    ],

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

Metadata

Metadata

Assignees

Labels

perfIndicates a performance issue or need for optimization

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions