Skip to content

feat(release): 0.1.4 — rig update command#19

Merged
Astralchemist merged 1 commit into
mainfrom
release/0.1.4
May 26, 2026
Merged

feat(release): 0.1.4 — rig update command#19
Astralchemist merged 1 commit into
mainfrom
release/0.1.4

Conversation

@Astralchemist
Copy link
Copy Markdown
Owner

Published as rig-constellation@0.1.4 (latest).

rig update

A convenience self-updater. Checks the npm registry for the latest rig-constellation, compares to the running version, and runs the right npm i …@latest for how rig was installed.

  • Detects local vs global install (node_modules/rig-constellation under cwd → local npm i, else global npm i -g).
  • rig update — updates if a newer version exists; ✓ rig X is the latest. otherwise.
  • rig update --check (-n) — report only, prints the command without running it.
  • Graceful offline handling (registry unreachable → clear message, exit 1).
  • isNewer() version compare unit-tested (patch/minor/major, equal/older, uneven segments, prerelease).

Audit: are all commands tied to rig-constellation?

  • Both binaries expose every command. bin maps rig and rig-constellation to the same dist/rig.js; verified in ollie-mvp that both symlinks resolve and npx rig-constellation <cmd> runs all 13 commands.
  • Known gap (not fixed here): agent MCP wiring writes command: rig ({{RIG_BIN}} default) into agent configs, so a wired agent spawns bare rig serve --mcp — which requires rig on PATH (i.e. a global install). For a local-only install the agent spawn would fail unless rig install <agent> --bin <path> is used. Tracking separately.

Verification

  • build, gen:check, check:compat (0 breaking), check:migrations, bun test (205 pass / 0 fail) — all green.
  • Smoke: rig update --check reports correctly; update appears in --help.

🤖 Generated with Claude Code

@Astralchemist Astralchemist merged commit e8f0ed1 into main May 26, 2026
0 of 7 checks passed
@Astralchemist Astralchemist deleted the release/0.1.4 branch May 26, 2026 12:34
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.

1 participant