integration.workspace-ai
Optional concrete AI providers and agents for ContractSpec workspace hosts
@lssm-tech/integration.workspace-aibun add @lssm-tech/integration.workspace-aiManifest 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.
bun add @lssm-tech/integration.workspace-aiProvider 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
Arrows point from a package to its direct dependency. Counts are derived from captured workspace manifests.
10 declarations
@ai-sdk/anthropiccatalog:ai
@ai-sdk/openaicatalog:ai
@lssm-tech/lib.agent-protocol-specworkspace:^
Read the package manual ↗@lssm-tech/lib.ai-agentworkspace:^
Read the package manual ↗@lssm-tech/lib.ai-providersworkspace:^
Read the package manual ↗@lssm-tech/lib.contracts-runtime-coreworkspace:^
Read the package manual ↗
Declared capabilities
Optional concrete AI providers and agents for ContractSpec workspace hosts
Scripts
buildcontractspec-bun-build buildbuild:bundlecontractspec-bun-build transpilebuild:typescontractspec-bun-build typescleanrimraf dist .turbolint:checknode ../../../scripts/biome.cjs check .testbun test --pass-with-no-teststypechecktsgo --noEmit