Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@czap/cli

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@czap/cli

czap CLI — AI-first JSON I/O with human-pretty TTY mode

latest
Source
npmnpm
Version
0.1.5
Version published
Maintainers
1
Created
Source

@czap/cli

The czap CLI ships with LiteShip — JSON-first machine interface for the CZAP engine, human-friendly TTY mode. Naming: ../../docs/GLOSSARY.md.

Install

pnpm add -D @czap/cli

Verbs

Every command emits a JSON receipt to stdout. Pretty TTY summaries (when stderr is a terminal) go to stderr only — receipts on stdout stay machine-clean so they pipe cleanly into jq, MCP, or CI annotators. Exception: czap completion <shell> writes a raw shell-completion script to stdout (no JSON wrapper) so eval "$(czap completion bash)" and friends work directly.

Cast off (dev experience)

VerbWhat it does
czap doctor [--fix] [--ci] [--preflight] [--target cloudflare]Preflight rig check. Default profile probes Node, pnpm, workspace install, built dist/, git hooks, git config, Playwright, WASM toolchain (if crates/ present). --target cloudflare runs a focused Cloudflare Workers profile (Astro 6, @astrojs/cloudflare v13+, Wrangler, wrangler config). --fix auto-remediates cheap cases; --ci escalates warnings to exit 1; --preflight excludes *.built from the verdict.
czap helpThe chart — every verb grouped by phase.
czap glossary [term]Ontology lookup. Mirrors docs/GLOSSARY.md so AI agents can resolve register without leaving the shell.
czap completion <bash|zsh|fish>Emit a tab-completion script. eval "$(czap completion bash)" to load.
czap versionPrint the @czap/cli version.
czap audit [--profile <path>]Profile-driven structure / integrity / surface audit (CUT D9b). JSON receipt on stdout; --profile points at a devops profile.

Describe + MCP (machine interface)

VerbWhat it does
czap describe [--format=json|mcp]Self-describe the CLI surface (verbs, capsule factories, schema).
czap mcpStart the MCP server (dynamically imports @czap/mcp-server).

Compose + render (scene + asset)

VerbWhat it does
czap scene compile <path>Compile a scene definition.
czap scene dev <path>Watch + recompile.
czap scene render <path> [-o out]Render scene to disk.
czap scene verify <path>Verify a scene definition.
czap asset analyze <path>Analyze an asset capsule.
czap asset verify <path>Verify an asset capsule.

Manifest (capsule)

VerbWhat it does
czap capsule listList capsule factories.
czap capsule inspect <id>Inspect a capsule's schema + dispatch.
czap capsule verify <path>Verify a capsule definition.

Ship out (quay-side, release)

VerbWhat it does
czap gauntletRun the release-grade gate (the full phase sequence in @czap/cli's gauntlet-phases.ts; czap gauntlet --dry-run projects it).
czap ship <pkg>Publish a package to npm (idempotent). czap ship ties packages up at the quay; czap verify checks the receipt before they sail.
czap verifyPost-ship verification (ADR-0011 four-verdict local verifier).

The mcp subcommand dynamically imports @czap/mcp-server. Install @czap/mcp-server alongside @czap/cli when you need MCP mode, and keep both on the same semver line.

See docs/GETTING-STARTED.md.

Keywords

czap

FAQs

Package last updated on 10 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts