Skip to content

Conversation

@xiliumz
Copy link
Contributor

@xiliumz xiliumz commented Jan 6, 2026

Problem

The install script has a TODO comment on line 212 indicating the version check should use the actual installed version instead of a hardcoded value.

Solution

Changed the check_version() function to call opencode --version instead of using a hardcoded version.

…ll script

Replace hardcoded '0.0.1' with call to 'opencode --version' in check_version() function.

This fixes the TODO comment on line 212 and prevents unnecessary reinstallations
when the same version is already installed.
@github-actions
Copy link
Contributor

github-actions bot commented Jan 6, 2026

The following comment was made by an LLM, it may be inaccurate:

Duplicate PR Search Results

No duplicate PRs found.

The search results show:

The other results are unrelated PRs about TUI layout, OpenTelemetry, Docker, and subagent sessions.

Conclusion: PR #7044 appears to be addressing a unique issue (using actual installed version instead of hardcoded value in the version check function). While PR #6498 also improves the install script, it focuses on PATH handling, which is distinct from the version checking concern in PR #7044.

@rekram1-node
Copy link
Collaborator

/review

@github-actions
Copy link
Contributor

github-actions bot commented Jan 6, 2026

lgtm

@rekram1-node rekram1-node merged commit 45fea65 into anomalyco:dev Jan 6, 2026
3 checks passed
@xiliumz xiliumz deleted the fix/install-version-check branch January 6, 2026 05:38
ruuxi pushed a commit to ruuxi/ngmicode that referenced this pull request Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants