Repository navigation
feat: add version subcommand - #128
Merged
mldangelo-oai merged 1 commit intoOct 3, 2026
Merged
Conversation
There was a problem hiding this comment.
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
versionto the main command dispatcher alongside--version/-v. - Advertise
versionin--helpoutput and the script’s command list header. - Document
crab versionusage 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.
| 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
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
crab versionas a readable alias for the existing version flagsValidation
make test-unit— 39 tests passedbash -n src/crabcode./src/crabcode version./src/crabcode --versiongit diff --checkmake lint— skipped because ShellCheck is not installed