@bhadraagada/pass-cli
v0.1.0
Published
Checkpoint-based pass navigation for AI coding workflows
Maintainers
Readme
pass-cli
Checkpoint-based pass navigation for AI coding workflows.
pass-cli lets you save lightweight snapshots for each agent pass and move backward/forward without polluting normal git history.
Current status
This is an MVP (0.1.x) with core linear/branch-safe navigation.
Open source readiness
LICENSE(MIT)CONTRIBUTING.mdCODE_OF_CONDUCT.mdSECURITY.md- GitHub CI workflow for
npm run verify - GitHub issue templates and PR template
Install
From source:
npm install
npm run build
node dist/index.js --helpGlobal (after publish):
npm install -g @bhadraagada/pass-cli
pass --helpQuick start
Run inside any git repository:
pass init
pass save "initial snapshot"
pass logCommands
pass init- initialize pass metadata in current repositorypass save [message]- create a pass snapshot from current working treepass save --overwrite [message]- when not at tip, remove future passes and continue from currentpass log- list passes, parent links, and current pointerpass status- show current pass id/commit/messagepass back- move to parent passpass forward- move to next pass (errors if multiple branches exist)pass goto <id>- move to a specific pass idpass diff [from] [to]- showgit diff --statbetween passespass clear --yes- remove current pass session metadata and refspass watch [options]- auto-save snapshots while files change
Watch options
--debounce <ms>- debounce interval for auto-save (default:1500)--prefix <text>- message prefix for auto snapshots (default:auto)--overwrite- overwrite future passes when watching from older pass
Behavior notes
- Internal metadata is stored in
.git/passes/<session-id>/. - Hidden refs are stored in
refs/passes/<session-id>/head. - By default, if you save from an older pass, pass-cli warns and creates a new branch path.
- Overwrite requires explicit
--overwrite. - Navigation commands require a clean working tree.
Development
npm run typecheck
npm run build
npm run test
npm run verifyRelease and publish
npm run pack:preview
npm run release:patchUpdate repository URLs in package.json before first publish.
Also update contact placeholders in SECURITY.md and funding/repo placeholders in package.json.
Limitations (MVP)
pass watchis filesystem based (no direct editor/agent protocol hooks yet)- Tree log is text-only and branch navigation is currently
gotoby id - Single default session only
