@jot-so/cli
v0.1.0
Published
Agent MCP + CLI tooling for Jot — runtime matrix, MCP config, recipes
Maintainers
Readme
@jot-so/cli
Agent MCP + CLI tooling for Jot — runtime matrix, MCP config emission, and named recipes.
Install
npm install -g @jot-so/cli
# or
bun install -g @jot-so/cliAuthenticate and point at your workspace:
jot login
export JOT_URL=https://jot.so # optional; default is https://jot.so
jot whoamiRelease (maintainers)
CLI (recommended)
From the monorepo root — one command, pass the bump type:
chmod +x release # once
./release patch
# or
bun run release patchThis runs preflight checks, CLI tests + build, creates the GitHub release, and waits for npm publish in Actions.
./release minor
./release major
./release patch --dry-run
./release patch --skip-tests # trust CI only
./release --current # ship 0.1.0 as-is (no bump)
./release --version 0.1.0 # same thing, explicitAgent / raw gh
VERSION=$(node scripts/next-cli-version.mjs patch)
gh release create "cli-v${VERSION}" \
--target main \
--title "@jot-so/cli v${VERSION}" \
--generate-notesOne-time setup
First publish (package does not exist on npm yet):
npm trusted publishing cannot create a new package — only update an existing one. Bootstrap once from the repo:
npm login # must have publish access to @jot-so
./release --bootstrapThen on npm → @jot-so/cli → Settings → Trusted publishing → GitHub Actions:
- Organization or user:
01-studio - Repository:
jot - Workflow filename:
release-cli.yml - Allowed actions:
npm publish
Alternative: GitHub Actions → Publish CLI (initial) with NPM_TOKEN (see workflow in repo).
Every release after that:
./release patch # or minor / major / --currentRequires gh auth login with access to 01-studio/jot. Publish uses OIDC — no npm token secret.
UI fallback
GitHub → Actions → Release CLI → Run workflow on main (patch/minor/major). This creates the cli-v* release; publish runs on the release event like the command above.
Usage
jot --help
jot runtime detect
jot runtime matrix --json
jot mcp recipe list
jot mcp emit --runtime claude-code --recipe linear
jot mcp validate --runtime hermesSkill
Pair with the public skill for agent workflows:
bunx skills add jot-so/skillsDevelopment
From the jot monorepo root:
bun run build:packages
bun run jot -- --help
bun run test:packages
bun run test:packages:coverageFrom this package:
bun run build
bun run test
bun run test:coverageCLI tests build the bundled dist/cli.js first, then run integration tests via execFileSync against the published binary shape.
Coverage thresholds are enforced on @jot-so/api (80%+). CLI coverage is reported without thresholds because integration tests exercise the bundled artifact, not TypeScript sources directly.
