integration.cli-contractspec-ai
Optional AI command pack for the ContractSpec CLI
@lssm-tech/integration.cli-contractspec-aibun add @lssm-tech/integration.cli-contractspec-aiManifest declarations describe the current workspace; they do not verify registry publication or runtime execution.
Package guide
Optional agent, chat, llm, mcp, and vibe commands plus AI extensions for the ContractSpec CLI's core authoring, build, test, and validation commands.
The default and command-pack entrypoints synchronously register the canonical AI integration commands. Existing custom Commander hosts retain concrete AI commands and the core authoring, build, test, and validation extensions without adding host bindings.
For hosts that need declarations and help separately from concrete services, @lssm-tech/lib.cli-runtime/optional-command-declarations/ai supplies fresh command trees with the same nested help, arguments, aliases, and option defaults. This additive entry resolves explicit host actions when invoked. Host and pack builds must share the external canonical CLI runtime.
Command implementations, provider adapters, MCP assembly, and the concrete operation-client environment binding live in this integration. The former workspace bundle paths forward to these same implementations. Generic LLM authoring, workflow execution, and MCP builders live in narrow CLI runtime entries; the integration does not import a bundle or host.
The owning prebuild generates the offline MCP knowledge corpus through scripts/generate-cli-mcp-knowledge.ts. The generated corpus remains static at runtime. The existing transpilation workflow preserves one canonical module instance across command-pack and command subpath imports.
Relationships
Arrows point from a package to its direct dependency. Counts are derived from captured workspace manifests.
26 declarations
@lssm-tech/lib.agent-protocol-specworkspace:^
Read the package manual ↗@lssm-tech/lib.cli-runtimeworkspace:^
Read the package manual ↗@lssm-tech/lib.contracts-runtime-coreworkspace:^
Read the package manual ↗@lssm-tech/lib.contracts-runtime-kernelworkspace:^
Read the package manual ↗@lssm-tech/lib.surface-runtimeworkspace:^
Read the package manual ↗@lssm-tech/lib.utils-typescriptworkspace:^
Read the package manual ↗
Declared capabilities
This manifest does not declare a capability catalogue. Use the guide, import map and source to assess the package.
Scripts
buildbun run build:bundle && bun run build:typesbuild:bundlecontractspec-bun-build transpilebuild:typescontractspec-bun-build typescleanrimraf dist .turbolint:checknode ../../../scripts/biome.cjs check .testbun testtypechecktsgo --noEmitprebuildbun scripts/generate-cli-mcp-knowledge.ts