dispatch-agent-workspace
v0.1.0
Published
A CLI tool to help developers work on multiple features and AI agents in separate workspaces
Maintainers
Readme
dispatch-agent-workspace
A CLI tool to help developers work on multiple features and AI agents in separate workspaces.
Install
npm install -g dispatch-agent-workspaceCommands
dispatch whereami
Prints the current working directory.
$ dispatch whereami
/Users/you/projects/my-featureUpdates
dispatch checks for new versions in the background after each run. When an update is available, you'll see a notice on your next command:
Update available: 0.1.0 → 0.2.0
Run: npm update -g dispatch-agent-workspaceTo always run the latest version without a global install:
npx dispatch-agent-workspace@latest <command>Development
Setup
# Clone and install
git clone https://github.com/<your-username>/dispatch
cd dispatch
pnpm install # also sets up git hooks via huskyLocal testing with npm link
# Link once from the project root:
npm link
# `dispatch` is now available globally, pointing live at dist/
# After code changes, rebuild:
pnpm build
# Unlink when done:
npm unlink -g dispatch-agent-workspaceDev mode (no build step)
pnpm dev -- whereamiBuild
pnpm build # compile TypeScript → dist/
pnpm typecheck # type-check without emittingCommit conventions
This project uses Conventional Commits. The format is enforced by a git hook — non-conforming commit messages will be rejected.
<type>(<optional scope>): <description>
Types: feat | fix | docs | refactor | test | chore | perf | ci | buildPublishing a release
Releases are triggered manually in GitHub Actions:
- Go to Actions → Publish → Run workflow
- Select:
- release_type:
patch,minor, ormajor - prerelease: check for a beta release (
dispatch-agent-workspace@next), leave unchecked for stable (dispatch-agent-workspace@latest)
- release_type:
- Click Run workflow
The workflow will:
- Bump the version and update
CHANGELOG.md - Create a git tag and GitHub release
- Publish to npm with the correct dist-tag
Requires the
NPM_TOKENsecret to be set in GitHub repository settings.
Dry run locally
pnpm release -- --dry-run