Skip to content
ContractSpec
Start here

Package manual · integrations

·CLI, authoring and agent tooling

integration.workspace-ai

Optional concrete AI providers and agents for ContractSpec workspace hosts

integrationsintegrationv3.1.5stableservernode
@lssm-tech/integration.workspace-ai
bun add @lssm-tech/integration.workspace-ai
Package source ↗Manifest ↗

Manifest declarations describe the current workspace; they do not verify registry publication or runtime execution.

Package guide

Optional concrete AI providers, agents, prompts, and orchestration for hosts using @lssm-tech/bundle.workspace dependency-free AI ports.

bash
bun add @lssm-tech/integration.workspace-ai

Provider credentials and model selection remain host configuration. The base workspace bundle no longer exports these concrete agents from its root.

The Ollama implementation uses ollama-ai-provider-v2 for AI SDK 7/Zod 4 compatibility. Provider configuration and model selection are unchanged.

The workspace Knip configuration intentionally retains lib.ai-agent, chalk, and ora. They are runtime imports of the package's conditional agent and Node subpaths; production Knip starts from the public barrel and cannot follow every host-selected subpath, so removing them would break those published entrypoints.

The generateBuilderFileProposal export from /agents reuses AgentProvider generation with a host-reviewed target and preimage, returning code as a proposal only. Provider metadata cannot change the target, and oversized/empty output is nonconforming. The host must provide a qualified isolated agent, persist sanitized usage evidence, and apply through Builder/Connect; prompt instructions are not isolation. This bridge is additive and remains unqualified against a live provider.

Relationships

THIS PACKAGEintegration.workspace-ai15 import paths

Arrows point from a package to its direct dependency. Counts are derived from captured workspace manifests.

10 declarations

Declared capabilities

Integration Workspace Ai

Optional concrete AI providers and agents for ContractSpec workspace hosts

Scripts

  • buildcontractspec-bun-build build
  • build:bundlecontractspec-bun-build transpile
  • build:typescontractspec-bun-build types
  • cleanrimraf dist .turbo
  • lint:checknode ../../../scripts/biome.cjs check .
  • testbun test --pass-with-no-tests
  • typechecktsgo --noEmit