Command Mesh is organized as a pnpm workspace for TypeScript applications and packages.
The project is centered on a declarative, ArkType-typed command program model. One declaration projects into typed functions, a CLI with help and shell completion, an MCP server for agents, and a machine-readable spec. Consumers author schema definitions directly without importing ArkType. Completion runs on Tab; process execution and the internal runtime are Effect.
- Node.js 24 or newer
- pnpm 11 or newer
apps/*contains deployable applications.packages/*contains reusable packages.tsconfig.base.jsondefines the shared TypeScript defaults.
cmd-meshdefines the command program model and every projection of it.repo-opsdeclares this repository's operations as mountable modules.repokit(inapps/) is the installed bin that consumes them.
Workspace packages should extend the root TypeScript configuration:
{
"extends": "../../tsconfig.base.json",
"include": ["src/**/*.ts"]
}pnpm install
pnpm build
pnpm typecheck
pnpm test
pnpm check