integrationPackage manifestv3.0.4

integration.cli-contractspec-builder

Optional Builder command pack for the ContractSpec CLI

@lssm-tech/integration.cli-contractspec-builder
Source, release and verification context

Source snapshot bcc79fcc · Declared package version 3.0.4. This page combines the checked-in package guide and manifest; commands and runtime behavior were not executed in this review.

Package source ↗ Manifest ↗
servernode
EXPLORE THE PACKAGE

See where this package fits.

Follow a declared connection, inspect an import, then open the source guide when you need the detail.

THIS PACKAGEintegration.cli-contractspec-builderintegrations

Arrows point from a package to its direct dependency. Each count is derived from the captured manifests.

20 declarations · first 6 shownSELECT TO INSPECT

@lssm-tech/integration.cli-contractspec-builder

Optional Builder, delivery, control-plane, execution-lane, harness, and intelligence commands for the ContractSpec CLI.

commandPack.register(program) synchronously registers the canonical integration's six command objects and concrete handlers, including for a custom Commander host. The order remains Builder, Builder delivery, control plane, execution lanes, harness, and intelligence. Workspace CLI composition forwards to these same objects; callers do not need to bind action suppliers for this existing entry.

The canonical implementation lives in packages/integrations/cli-contractspec-builder. Builder production execution imports the existing Codex and OpenCode Go adapters from their canonical leaf owners, @lssm-tech/integration.provider-codex and @lssm-tech/integration.provider-opencode-go, so installing this command pack does not pull in the full @lssm-tech/integration.providers-impls provider collection (the /builder-execution collection entry remains available to other callers). Settings, approvals, visibility policy, and runtime authority retain their existing behavior.

Lazy adapters

Registering the pack, rendering help and running commands that execute no adapter never evaluate @lssm-tech/integration.harness-runtime, @lssm-tech/integration.runtime, @lssm-tech/integration.provider-codex or @lssm-tech/integration.provider-opencode-go. Each one loads through a literal dynamic import when a command action needs it: harness eval loads the harness runtime, control-plane commands load the channel runtime, and the Builder production commands, preflight and doctor load the Codex and OpenCode Go providers. Settings resolution loads the Codex provider only to default the model of a configured quality gate that names none. The pack's registration graph also stays clear of @lssm-tech/lib.contractspec-catalog, @lssm-tech/lib.contracts-runtime-server-mcp and @lssm-tech/lib.logger. The adapters remain regular dependencies, so installs and command behavior are unchanged. If an adapter package itself cannot be resolved, the command fails with a BuilderAdapterUnavailableError (code builderAdapterUnavailable) naming the package and the command. Only a not-found error whose unresolved specifier is that package or one of its subpaths is mapped; a missing dependency of an installed adapter and every other load error propagate unchanged.

./commands/builder/production/provider keeps createCodexOpenCodeProviderPort synchronous with both providers imported by that entry, so a fresh port serves every method, including createCompletionReceipt. The Builder commands use ./commands/builder/production/provider-port instead: loadCodexOpenCodeProviderPort loads both providers and builds the same port, and createCodexOpenCodeProviderPortWithAdapters builds it from adapters the caller already holds. resolveOpenCodeCliModel now lives in ./commands/builder/production/preflight next to the other OpenCode model checks.

Portable declarations are available separately from @lssm-tech/lib.cli-runtime/optional-command-declarations/builder. This additive entry creates fresh complete command trees without constructing workspace services. A host using the portable entry supplies actions explicitly through bindHostCommandPackActions; an unbound action rejects with missingHostBinding, while registration and help remain available.

Harness commands consume the canonical scenario and suite registry classes from @lssm-tech/lib.harness/harness/types. Registry identity and approval behavior are unchanged; the command pack no longer declares a direct compatibility-facade dependency.

Declared capabilities.

This manifest does not declare a capability catalogue. Use the guide, import map and source to assess the package.

Imports and export paths.

4 entries

These are package-manifest entry points. Named symbols listed above come from the capability catalogue; this is not an exhaustive TypeScript symbol reference.

4 imports

@lssm-tech/integration.cli-contractspec-builder
@lssm-tech/integration.cli-contractspec-builder/commands/*
./src/commands/*.ts · source target not verified

Dependencies and related packages.

Runtime dependencies 20
chalk
^6.0.0
commander
^15.0.0
pg
^8.23.0
Development dependencies 5
@types/bun
catalog:types
rimraf
catalog:build
typescript
catalog:

Package scripts.

Commands declared by this package. Review its setup requirements before running them; no command here was executed by this review.

buildbun run build:bundle && bun run build:types
build:bundlecontractspec-bun-build transpile
build:typescontractspec-bun-build types
cleanrimraf dist .turbo
lint:checknode ../../../scripts/biome.cjs check .
testbun test
typechecktsgo --noEmit
Your view

Make room for your context.

Shape the presentation around this moment. You can change it whenever you need.

Your context

The different parts of you

Choose a starting point

A useful mix of context, visuals and gentle guidance.

Tune each dimension
Each dimension can change independently. Product permissions and available actions stay unchanged.

Support the way you begin and return

Tune your support

Reading comfort

Choose your language

Interface language changes text only. Markets, prices and workflows keep their own settings.

Translation coverage

Original source

Navigation151
Graph616
Categories378
Portfolio833
Examples2,035
Source preview1,542

More translations will be added as content is reviewed.

This preference is saved on this browser.

Search the website

Useful starting points

No results. Try a shorter phrase, an operation name or another search area.

A LITTLE ROOM TO EXPLORE

Find something to explore.

Open a closer look on this page, try a different perspective, or follow the detail into its own page.

How previews and controls work
01

Look before you leave

Hover a link or focus it with Tab to see a preview. Clicking the original link or pressing Enter always opens its destination.

02

Stay with the context

Move into the preview to explore its sections. Use Alt + ↓ from a focused link to enter it with the keyboard. Escape closes it.

03

Open the possibilities

Disclosure rows, perspective choices and highlighted controls reveal more. Your view changes reading comfort and the context you explore.

A separate button for a closer look

Show small preview buttons beside links where there is room. Tap the eye to inspect, or tap the link to go straight there. This choice stays in this tab.

No browsing history is collected. Reduced motion follows your device and Your view.