Skip to content

opskit go: pre-launch opencode upgrade check + launch handoff message (#444) - #445

Merged
growlf merged 3 commits into
mainfrom
444-opskit-go-pre-launch-opencode-upgrade-check-launch
Oct 13, 2026
Merged

growlf merged 3 commits into
mainfrom
444-opskit-go-pre-launch-opencode-upgrade-check-launch

Conversation

@growlf

@growlf growlf commented Oct 13, 2026

Copy link
Copy Markdown
Owner

Closes #444

Summary

  • opskit go now offers an opencode upgrade before launching, when the
    installed version is older than the latest anomalyco/opencode
    dev-channel tag.
  • Best-effort check: tty-only, offline-safe, cached in ~/.opskit for
    ~a day (or until the installed version changes). The actual upgrade is
    delegated to opencode upgrade — opencode is its own oracle.
  • Prints a confirmation line before handing the session to opencode.

Tests

  • tests/test_opencode_upgrade.py (22 tests): version/tag parsing, semver
    comparison, cache staleness, offer behavior on/offline, and the launch
    handoff line.
  • make test: 1707 passed, 1 skipped.

@growlf growlf linked an issue Oct 13, 2026 that may be closed by this pull request
@growlf growlf self-assigned this Oct 13, 2026
@growlf
growlf merged commit 14ac48d into main Oct 13, 2026
9 checks passed
@growlf
growlf deleted the 444-opskit-go-pre-launch-opencode-upgrade-check-launch branch October 13, 2026 23:31
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.

opskit go: pre-launch opencode upgrade check + launch handoff message

1 participant