Skip to content

Banner shows OhMyOpenCode 4.0.0 but actual CLI version is 4.2.2 #4211

Description

@wdsAI-space

Bug

The startup banner displays OhMyOpenCode 4.0.0 but the installed CLI reports 4.2.2.

Repro

  1. Install oh-my-openagent@latest (4.2.2)
  2. Open a new session
  3. Banner shows: OhMyOpenCode 4.0.0
  4. Run oh-my-openagent --version4.2.2

Root cause

package.json version is hardcoded to 4.0.0 and not updated on release:

node_modules/oh-my-openagent/package.json line 3:
"version": "4.0.0"

The banner reads from package.json instead of the compiled CLI version.

Suggestion

Either bump package.json version on each release, or have the banner read the CLI binary version dynamically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions