Skip to content

feat: add version subcommand - #128

Merged
mldangelo-oai merged 1 commit into
mainfrom
agent/add-version-subcommand-review-smoke-20260730
Oct 3, 2026
Merged

mldangelo-oai merged 1 commit into
mainfrom
agent/add-version-subcommand-review-smoke-20260730

Conversation

@zcrab-oai

Copy link
Copy Markdown
Contributor

Summary

  • add crab version as a readable alias for the existing version flags
  • include the command in CLI help and the README
  • open this PR as a small, ready-for-review smoke test of the automatic review flow

Validation

  • make test-unit — 39 tests passed
  • bash -n src/crabcode
  • ./src/crabcode version
  • ./src/crabcode --version
  • git diff --check
  • make lint — skipped because ShellCheck is not installed

Copilot AI review requested due to automatic review settings July 30, 2026 17:29

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a crab version subcommand as a readable alias for the existing --version/-v flags, and documents it in help output and the README.

Changes:

  • Add version to the main command dispatcher alongside --version/-v.
  • Advertise version in --help output and the script’s command list header.
  • Document crab version usage in the README.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/crabcode Adds version as an alias for existing version flags and includes it in --help output.
README.md Documents crab version / crab --version usage.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/crabcode
echo " ports Show port usage"
echo " shared Show shared volume info"
echo " cheat Show cheat sheet"
echo " version Show the installed crabcode version"
@mldangelo-oai
mldangelo-oai merged commit 9d9c8e6 into main Oct 3, 2026
8 checks passed
@mldangelo-oai
mldangelo-oai deleted the agent/add-version-subcommand-review-smoke-20260730 branch October 3, 2026 00:53
mldangelo-oai added a commit that referenced this pull request Oct 3, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.14.1](v0.14.0...v0.14.1)
(2026-10-03)

### Features

- Add `crab version` as an alias for checking the installed version
([#128](#128)).
- Add `crab env encrypt <staging-dir> [output-file]` to retry snapshot
encryption without rerunning the agent. Preserve staging on failure,
reject existing backups and output inside staging, and handle relative
paths and names beginning with a dash
([#68](#68)).

### Bug Fixes

- Restore Draw canvas styling, initialize collaboration after the
Excalidraw API is ready, and display collaborator cursors. Browser
checks cover Mermaid conversion, shared edits, and scene reloads
([#118](#118)).
- Patch Nano ID and lodash-es versions pinned inside Excalidraw
dependencies, and update Sass to remove the vulnerable Chokidar/Braces
chain ([#118](#118)).
- Upgrade Zod to v4
([#50](#50)), Excalidraw to
v0.18.1 ([#104](#104)), and
React to v19 ([#105](#105)).
- Address Draw UI dependency alerts
([#102](#102)) and refresh
plugin locks with patched Engine.IO, Socket.IO parser, Immutable,
DOMPurify, Mermaid, PostCSS, Vite, and Vitest dependencies
([#116](#116),
[#130](#130)).
- Load Node type definitions explicitly so the Tax plugin compiles, and
keep the Draw UI lockfile installable with npm 10 and 11
([#116](#116)).

### Development

- Upgrade all plugin compilers to TypeScript 7.0.2 and require at least
Vite 8.0.16 and Vitest 4.1.11, while retaining Node 20/22/24 support
([#125](#125)).
- Build and test every plugin on Node 20, 22, and 24; add Draw UI type
checking and Promptfoo parser/configuration smoke tests
([#116](#116),
[#125](#125)).
- Update the pinned checkout, setup-node, and CI aggregation actions
([#124](#124),
[#153](#153),
[#154](#154)).

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Michael D'Angelo <mdangelo@openai.com>
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.

3 participants