Skip to content

v2.1.0

Choose a tag to compare

@Khip01 Khip01 released this 04 Jul 06:20
· 62 commits to main since this release
26aa17d

Installation

Stable (recommended for end users)

# Pin to a specific version:
npm install -g Khip01/opencode-rich-presence#v2.1.0

# Or auto-resolve the latest stable matching ^v0:
npm install -g Khip01/opencode-rich-presence#semver:^2.0.0

opencode-rpc install

Dev / bleeding-edge (developers only)

npm install -g Khip01/opencode-rich-presence
opencode-rpc install

Update

opencode-rpc update                  # upgrade to latest stable tag
opencode-rpc update --dev            # upgrade to latest commit on main

Note: npm install -g <repo>#<ref> clones the repo and installs
from there. The tarball attached to this release is provided as
a fallback for offline / air-gapped installs; the git URL is the
canonical install path.

What's in v2.1.0

Distribution workflow change. Replaces GitHub Releases + tarball
with git-based npm install. Single source of truth = the repo.

Changed

  • Install workflow: end users now install via npm install -g Khip01/opencode-rich-presence#v2.1.0 instead of downloading a tarball from a GitHub Release URL. The GitHub Releases workflow is preserved but its job-level if condition skips any tag containing -rc / -beta / -alpha; only stable tags create a GitHub Release (which now points users to the git install command and provides the tarball as a fallback for offline installs).
  • No more -rc / -beta / -alpha pre-release tags. Use opencode-rpc update --dev to test a fix before tagging stable.

Updated

  • opencode-rpc update runs npm install -g Khip01/opencode-rich-presence#<latest-tag>.
  • Added opencode-rpc update --dev for developers: fetches the latest commit SHA on main and runs npm install -g Khip01/opencode-rich-presence#<sha>.
  • Removed the --prerelease / --pre flag from opencode-rpc update.

See CHANGELOG.md for full details.