@try-works/dsh-tool-mode 0.0.0-stage → 0.5.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +205 -0
- package/README.md +303 -2
- package/bin/dsh-tool-mode-credentials.mjs +20 -0
- package/bin/dsh-tool-mode-mcp-stdio.mjs +80 -0
- package/bin/dsh-tool-mode.mjs +211 -0
- package/builtins.lock.json +26 -0
- package/catalog/desert-ant-models.json +693 -0
- package/catalog/playbooks.json +531 -0
- package/client/client.model-tools.js +1910 -0
- package/client/index.js +4158 -0
- package/cordis.patch.yml +39 -0
- package/lib/adapters/index.d.ts +61 -0
- package/lib/adapters/index.d.ts.map +1 -0
- package/lib/adapters/index.js +82 -0
- package/lib/adapters/types.d.ts +106 -0
- package/lib/adapters/types.d.ts.map +1 -0
- package/lib/adapters/types.js +85 -0
- package/lib/approval.d.ts +189 -0
- package/lib/approval.d.ts.map +1 -0
- package/lib/approval.js +510 -0
- package/lib/asset-acquisition.d.ts +149 -0
- package/lib/asset-acquisition.d.ts.map +1 -0
- package/lib/asset-acquisition.js +175 -0
- package/lib/authority.d.ts +185 -0
- package/lib/authority.d.ts.map +1 -0
- package/lib/authority.js +223 -0
- package/lib/bindings.d.ts +144 -0
- package/lib/bindings.d.ts.map +1 -0
- package/lib/bindings.js +314 -0
- package/lib/builtins.d.ts +27 -0
- package/lib/builtins.d.ts.map +1 -0
- package/lib/builtins.js +37 -0
- package/lib/capability.d.ts +58 -0
- package/lib/capability.d.ts.map +1 -0
- package/lib/capability.js +192 -0
- package/lib/capture-path.d.ts +97 -0
- package/lib/capture-path.d.ts.map +1 -0
- package/lib/capture-path.js +152 -0
- package/lib/catalog.d.ts +37 -0
- package/lib/catalog.d.ts.map +1 -0
- package/lib/catalog.js +274 -0
- package/lib/contract-payload.d.ts +39 -0
- package/lib/contract-payload.d.ts.map +1 -0
- package/lib/contract-payload.js +56 -0
- package/lib/custom-tools/compile.d.ts +25 -0
- package/lib/custom-tools/compile.d.ts.map +1 -0
- package/lib/custom-tools/compile.js +61 -0
- package/lib/custom-tools/composite-executor.d.ts +42 -0
- package/lib/custom-tools/composite-executor.d.ts.map +1 -0
- package/lib/custom-tools/composite-executor.js +113 -0
- package/lib/custom-tools/dispatch.d.ts +28 -0
- package/lib/custom-tools/dispatch.d.ts.map +1 -0
- package/lib/custom-tools/dispatch.js +34 -0
- package/lib/custom-tools/http-executor.d.ts +48 -0
- package/lib/custom-tools/http-executor.d.ts.map +1 -0
- package/lib/custom-tools/http-executor.js +241 -0
- package/lib/custom-tools/index.d.ts +12 -0
- package/lib/custom-tools/index.d.ts.map +1 -0
- package/lib/custom-tools/index.js +12 -0
- package/lib/custom-tools/mcp-surface.d.ts +14 -0
- package/lib/custom-tools/mcp-surface.d.ts.map +1 -0
- package/lib/custom-tools/mcp-surface.js +41 -0
- package/lib/custom-tools/prompt-executor.d.ts +39 -0
- package/lib/custom-tools/prompt-executor.d.ts.map +1 -0
- package/lib/custom-tools/prompt-executor.js +59 -0
- package/lib/custom-tools/registry.d.ts +69 -0
- package/lib/custom-tools/registry.d.ts.map +1 -0
- package/lib/custom-tools/registry.js +130 -0
- package/lib/custom-tools/schema.d.ts +26 -0
- package/lib/custom-tools/schema.d.ts.map +1 -0
- package/lib/custom-tools/schema.js +375 -0
- package/lib/custom-tools/service.d.ts +90 -0
- package/lib/custom-tools/service.d.ts.map +1 -0
- package/lib/custom-tools/service.js +203 -0
- package/lib/custom-tools/store.d.ts +61 -0
- package/lib/custom-tools/store.d.ts.map +1 -0
- package/lib/custom-tools/store.js +240 -0
- package/lib/custom-tools/types.d.ts +131 -0
- package/lib/custom-tools/types.d.ts.map +1 -0
- package/lib/custom-tools/types.js +11 -0
- package/lib/decision-combine.d.ts +113 -0
- package/lib/decision-combine.d.ts.map +1 -0
- package/lib/decision-combine.js +156 -0
- package/lib/decision-evaluate.d.ts +185 -0
- package/lib/decision-evaluate.d.ts.map +1 -0
- package/lib/decision-evaluate.js +227 -0
- package/lib/deployment-coordinator.d.ts +213 -0
- package/lib/deployment-coordinator.d.ts.map +1 -0
- package/lib/deployment-coordinator.js +274 -0
- package/lib/diagnostics.d.ts +169 -0
- package/lib/diagnostics.d.ts.map +1 -0
- package/lib/diagnostics.js +136 -0
- package/lib/discovery-contracts.d.ts +14 -0
- package/lib/discovery-contracts.d.ts.map +1 -0
- package/lib/discovery-contracts.js +90 -0
- package/lib/discovery-describe.d.ts +35 -0
- package/lib/discovery-describe.d.ts.map +1 -0
- package/lib/discovery-describe.js +99 -0
- package/lib/embedding-index.d.ts +55 -0
- package/lib/embedding-index.d.ts.map +1 -0
- package/lib/embedding-index.js +126 -0
- package/lib/extension-dependencies.d.ts +355 -0
- package/lib/extension-dependencies.d.ts.map +1 -0
- package/lib/extension-dependencies.js +987 -0
- package/lib/extension-dispatch.d.ts +150 -0
- package/lib/extension-dispatch.d.ts.map +1 -0
- package/lib/extension-dispatch.js +178 -0
- package/lib/extension-page-state.d.ts +69 -0
- package/lib/extension-page-state.d.ts.map +1 -0
- package/lib/extension-page-state.js +82 -0
- package/lib/extension-registrar.d.ts +116 -0
- package/lib/extension-registrar.d.ts.map +1 -0
- package/lib/extension-registrar.js +144 -0
- package/lib/extensions-api.d.ts +346 -0
- package/lib/extensions-api.d.ts.map +1 -0
- package/lib/extensions-api.js +17 -0
- package/lib/extensions-remote.d.ts +57 -0
- package/lib/extensions-remote.d.ts.map +1 -0
- package/lib/extensions-remote.js +69 -0
- package/lib/extensions-service.d.ts +568 -0
- package/lib/extensions-service.d.ts.map +1 -0
- package/lib/extensions-service.js +2552 -0
- package/lib/harness-budgets.d.ts +158 -0
- package/lib/harness-budgets.d.ts.map +1 -0
- package/lib/harness-budgets.js +152 -0
- package/lib/harness-llm.d.ts +138 -0
- package/lib/harness-llm.d.ts.map +1 -0
- package/lib/harness-llm.js +218 -0
- package/lib/harness-serving.d.ts +115 -0
- package/lib/harness-serving.d.ts.map +1 -0
- package/lib/harness-serving.js +176 -0
- package/lib/headless.d.ts +97 -0
- package/lib/headless.d.ts.map +1 -0
- package/lib/headless.js +407 -0
- package/lib/http-acquisition.d.ts +27 -0
- package/lib/http-acquisition.d.ts.map +1 -0
- package/lib/http-acquisition.js +140 -0
- package/lib/index.d.ts +546 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +5273 -0
- package/lib/invocation-accounting.d.ts +169 -0
- package/lib/invocation-accounting.d.ts.map +1 -0
- package/lib/invocation-accounting.js +148 -0
- package/lib/jev.d.ts +218 -0
- package/lib/jev.d.ts.map +1 -0
- package/lib/jev.js +366 -0
- package/lib/legacy-migration.d.ts +95 -0
- package/lib/legacy-migration.d.ts.map +1 -0
- package/lib/legacy-migration.js +429 -0
- package/lib/license-basis.d.ts +29 -0
- package/lib/license-basis.d.ts.map +1 -0
- package/lib/license-basis.js +58 -0
- package/lib/managed-workers.d.ts +158 -0
- package/lib/managed-workers.d.ts.map +1 -0
- package/lib/managed-workers.js +269 -0
- package/lib/mcp/auth-selection.d.ts +35 -0
- package/lib/mcp/auth-selection.d.ts.map +1 -0
- package/lib/mcp/auth-selection.js +64 -0
- package/lib/mcp/client-grant.d.ts +89 -0
- package/lib/mcp/client-grant.d.ts.map +1 -0
- package/lib/mcp/client-grant.js +63 -0
- package/lib/mcp/credential-cli.d.ts +38 -0
- package/lib/mcp/credential-cli.d.ts.map +1 -0
- package/lib/mcp/credential-cli.js +148 -0
- package/lib/mcp/credential-store.d.ts +143 -0
- package/lib/mcp/credential-store.d.ts.map +1 -0
- package/lib/mcp/credential-store.js +461 -0
- package/lib/mcp/export-policy.d.ts +25 -0
- package/lib/mcp/export-policy.d.ts.map +1 -0
- package/lib/mcp/export-policy.js +31 -0
- package/lib/mcp/host-binding.d.ts +144 -0
- package/lib/mcp/host-binding.d.ts.map +1 -0
- package/lib/mcp/host-binding.js +280 -0
- package/lib/mcp/http.d.ts +180 -0
- package/lib/mcp/http.d.ts.map +1 -0
- package/lib/mcp/http.js +602 -0
- package/lib/mcp/oauth.d.ts +149 -0
- package/lib/mcp/oauth.d.ts.map +1 -0
- package/lib/mcp/oauth.js +396 -0
- package/lib/mcp/protocol.d.ts +329 -0
- package/lib/mcp/protocol.d.ts.map +1 -0
- package/lib/mcp/protocol.js +459 -0
- package/lib/mcp/rate-limit.d.ts +68 -0
- package/lib/mcp/rate-limit.d.ts.map +1 -0
- package/lib/mcp/rate-limit.js +114 -0
- package/lib/mcp/sdk-v2.d.ts +17 -0
- package/lib/mcp/sdk-v2.d.ts.map +1 -0
- package/lib/mcp/sdk-v2.js +204 -0
- package/lib/mcp/server.d.ts +149 -0
- package/lib/mcp/server.d.ts.map +1 -0
- package/lib/mcp/server.js +302 -0
- package/lib/mcp/stdio.d.ts +80 -0
- package/lib/mcp/stdio.d.ts.map +1 -0
- package/lib/mcp/stdio.js +184 -0
- package/lib/mcp/subscriptions.d.ts +177 -0
- package/lib/mcp/subscriptions.d.ts.map +1 -0
- package/lib/mcp/subscriptions.js +288 -0
- package/lib/mcp-status.d.ts +96 -0
- package/lib/mcp-status.d.ts.map +1 -0
- package/lib/mcp-status.js +70 -0
- package/lib/mcp-usage.d.ts +110 -0
- package/lib/mcp-usage.d.ts.map +1 -0
- package/lib/mcp-usage.js +189 -0
- package/lib/model-qualification.d.ts +192 -0
- package/lib/model-qualification.d.ts.map +1 -0
- package/lib/model-qualification.js +178 -0
- package/lib/model-runtime-lane.d.ts +69 -0
- package/lib/model-runtime-lane.d.ts.map +1 -0
- package/lib/model-runtime-lane.js +122 -0
- package/lib/model-runtime-recipe.d.ts +132 -0
- package/lib/model-runtime-recipe.d.ts.map +1 -0
- package/lib/model-runtime-recipe.js +291 -0
- package/lib/planning.d.ts +256 -0
- package/lib/planning.d.ts.map +1 -0
- package/lib/planning.js +471 -0
- package/lib/playbook.d.ts +42 -0
- package/lib/playbook.d.ts.map +1 -0
- package/lib/playbook.js +65 -0
- package/lib/prepared-assets.d.ts +269 -0
- package/lib/prepared-assets.d.ts.map +1 -0
- package/lib/prepared-assets.js +471 -0
- package/lib/provider-bridge.d.ts +107 -0
- package/lib/provider-bridge.d.ts.map +1 -0
- package/lib/provider-bridge.js +423 -0
- package/lib/ptc-authority.d.ts +154 -0
- package/lib/ptc-authority.d.ts.map +1 -0
- package/lib/ptc-authority.js +242 -0
- package/lib/ptc-confinement.d.ts +60 -0
- package/lib/ptc-confinement.d.ts.map +1 -0
- package/lib/ptc-confinement.js +212 -0
- package/lib/ptc-runtime.d.ts +166 -0
- package/lib/ptc-runtime.d.ts.map +1 -0
- package/lib/ptc-runtime.js +231 -0
- package/lib/publication.d.ts +161 -0
- package/lib/publication.d.ts.map +1 -0
- package/lib/publication.js +181 -0
- package/lib/receipt-store.d.ts +57 -0
- package/lib/receipt-store.d.ts.map +1 -0
- package/lib/receipt-store.js +143 -0
- package/lib/receipt.d.ts +231 -0
- package/lib/receipt.d.ts.map +1 -0
- package/lib/receipt.js +165 -0
- package/lib/registrar.d.ts +75 -0
- package/lib/registrar.d.ts.map +1 -0
- package/lib/registrar.js +152 -0
- package/lib/resource-governance.d.ts +204 -0
- package/lib/resource-governance.d.ts.map +1 -0
- package/lib/resource-governance.js +213 -0
- package/lib/server-lifecycle.d.ts +175 -0
- package/lib/server-lifecycle.d.ts.map +1 -0
- package/lib/server-lifecycle.js +269 -0
- package/lib/skills.d.ts +31 -0
- package/lib/skills.d.ts.map +1 -0
- package/lib/skills.js +170 -0
- package/lib/speech-bridge.d.ts +74 -0
- package/lib/speech-bridge.d.ts.map +1 -0
- package/lib/speech-bridge.js +115 -0
- package/lib/state.d.ts +100 -0
- package/lib/state.d.ts.map +1 -0
- package/lib/state.js +160 -0
- package/lib/title-proposal.d.ts +194 -0
- package/lib/title-proposal.d.ts.map +1 -0
- package/lib/title-proposal.js +244 -0
- package/lib/tool-inventory.d.ts +90 -0
- package/lib/tool-inventory.d.ts.map +1 -0
- package/lib/tool-inventory.js +102 -0
- package/lib/tool-mode-run.d.ts +310 -0
- package/lib/tool-mode-run.d.ts.map +1 -0
- package/lib/tool-mode-run.js +411 -0
- package/lib/tool-sources.d.ts +80 -0
- package/lib/tool-sources.d.ts.map +1 -0
- package/lib/tool-sources.js +123 -0
- package/lib/tool-usage-projection.d.ts +390 -0
- package/lib/tool-usage-projection.d.ts.map +1 -0
- package/lib/tool-usage-projection.js +1038 -0
- package/lib/tool-usage-report.d.ts +153 -0
- package/lib/tool-usage-report.d.ts.map +1 -0
- package/lib/tool-usage-report.js +274 -0
- package/lib/transport.d.ts +158 -0
- package/lib/transport.d.ts.map +1 -0
- package/lib/transport.js +332 -0
- package/lib/types.d.ts +134 -0
- package/lib/types.d.ts.map +1 -0
- package/lib/types.js +8 -0
- package/lib/update-surface.d.ts +79 -0
- package/lib/update-surface.d.ts.map +1 -0
- package/lib/update-surface.js +224 -0
- package/lib/version.d.ts +3 -0
- package/lib/version.d.ts.map +1 -0
- package/lib/version.js +27 -0
- package/node_modules/@try-works/tool-mode-contracts/lib/contract-metadata.d.ts +13 -0
- package/node_modules/@try-works/tool-mode-contracts/lib/contract-metadata.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-contracts/lib/contract-metadata.js +85 -0
- package/node_modules/@try-works/tool-mode-contracts/lib/contracts/lang-detect.d.ts +16 -0
- package/node_modules/@try-works/tool-mode-contracts/lib/contracts/lang-detect.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-contracts/lib/contracts/lang-detect.js +87 -0
- package/node_modules/@try-works/tool-mode-contracts/lib/contracts/standard.d.ts +38 -0
- package/node_modules/@try-works/tool-mode-contracts/lib/contracts/standard.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-contracts/lib/contracts/standard.js +445 -0
- package/node_modules/@try-works/tool-mode-contracts/lib/contracts/stt-transcribe.d.ts +20 -0
- package/node_modules/@try-works/tool-mode-contracts/lib/contracts/stt-transcribe.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-contracts/lib/contracts/stt-transcribe.js +112 -0
- package/node_modules/@try-works/tool-mode-contracts/lib/contracts/text-embed.d.ts +14 -0
- package/node_modules/@try-works/tool-mode-contracts/lib/contracts/text-embed.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-contracts/lib/contracts/text-embed.js +63 -0
- package/node_modules/@try-works/tool-mode-contracts/lib/contracts/text-rerank.d.ts +14 -0
- package/node_modules/@try-works/tool-mode-contracts/lib/contracts/text-rerank.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-contracts/lib/contracts/text-rerank.js +76 -0
- package/node_modules/@try-works/tool-mode-contracts/lib/dsh.d.ts +82 -0
- package/node_modules/@try-works/tool-mode-contracts/lib/dsh.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-contracts/lib/dsh.js +274 -0
- package/node_modules/@try-works/tool-mode-contracts/lib/index.d.ts +26 -0
- package/node_modules/@try-works/tool-mode-contracts/lib/index.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-contracts/lib/index.js +53 -0
- package/node_modules/@try-works/tool-mode-contracts/lib/meta.d.ts +133 -0
- package/node_modules/@try-works/tool-mode-contracts/lib/meta.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-contracts/lib/meta.js +64 -0
- package/node_modules/@try-works/tool-mode-contracts/lib/registry.d.ts +121 -0
- package/node_modules/@try-works/tool-mode-contracts/lib/registry.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-contracts/lib/registry.js +246 -0
- package/node_modules/@try-works/tool-mode-contracts/package.json +35 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/bin/dsh-tool-mode.mjs +20 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/cli.d.ts +80 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/cli.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/cli.js +533 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/declarative-recipes.d.ts +86 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/declarative-recipes.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/declarative-recipes.js +145 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/discovery.d.ts +70 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/discovery.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/discovery.js +201 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/errors.d.ts +57 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/errors.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/errors.js +83 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/index.d.ts +33 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/index.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/index.js +33 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/archive.d.ts +86 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/archive.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/archive.js +191 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/dependencies.d.ts +137 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/dependencies.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/dependencies.js +349 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/lifecycle.d.ts +274 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/lifecycle.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/lifecycle.js +932 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/migration.d.ts +210 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/migration.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/migration.js +368 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/runtime-link.d.ts +63 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/runtime-link.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/runtime-link.js +149 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/source-directory.d.ts +35 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/source-directory.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/source-directory.js +179 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/staged.d.ts +179 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/staged.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/staged.js +299 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/store.d.ts +395 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/store.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/store.js +839 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/tar-gzip-source.d.ts +44 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/tar-gzip-source.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/tar-gzip-source.js +255 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/update-flow.d.ts +185 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/update-flow.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/update-flow.js +504 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/zip-source.d.ts +17 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/zip-source.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/zip-source.js +80 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/licensing.d.ts +221 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/licensing.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/licensing.js +188 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/load.d.ts +52 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/load.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/load.js +102 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/manifest.d.ts +171 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/manifest.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/manifest.js +271 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/runtime.d.ts +242 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/runtime.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/runtime.js +58 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/state.d.ts +128 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/state.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/state.js +113 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/test-host.d.ts +41 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/test-host.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/test-host.js +52 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/worker/worker-child.d.ts +2 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/worker/worker-child.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/worker/worker-child.js +351 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/worker.d.ts +157 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/worker.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/lib/worker.js +688 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/package.json +54 -0
- package/node_modules/@try-works/tool-mode-extension-sdk/schema/extension-manifest-1.1.0.schema.json +253 -0
- package/node_modules/@try-works/tool-mode-recipes/bin/tool-mode-recipe.mjs +15 -0
- package/node_modules/@try-works/tool-mode-recipes/lib/broker.d.ts +460 -0
- package/node_modules/@try-works/tool-mode-recipes/lib/broker.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-recipes/lib/broker.js +647 -0
- package/node_modules/@try-works/tool-mode-recipes/lib/cli.d.ts +61 -0
- package/node_modules/@try-works/tool-mode-recipes/lib/cli.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-recipes/lib/cli.js +1106 -0
- package/node_modules/@try-works/tool-mode-recipes/lib/dsh-adapter.d.ts +237 -0
- package/node_modules/@try-works/tool-mode-recipes/lib/dsh-adapter.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-recipes/lib/dsh-adapter.js +205 -0
- package/node_modules/@try-works/tool-mode-recipes/lib/fixture-provider.d.ts +85 -0
- package/node_modules/@try-works/tool-mode-recipes/lib/fixture-provider.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-recipes/lib/fixture-provider.js +176 -0
- package/node_modules/@try-works/tool-mode-recipes/lib/images.d.ts +119 -0
- package/node_modules/@try-works/tool-mode-recipes/lib/images.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-recipes/lib/images.js +201 -0
- package/node_modules/@try-works/tool-mode-recipes/lib/index.d.ts +25 -0
- package/node_modules/@try-works/tool-mode-recipes/lib/index.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-recipes/lib/index.js +25 -0
- package/node_modules/@try-works/tool-mode-recipes/lib/recipe-format.d.ts +345 -0
- package/node_modules/@try-works/tool-mode-recipes/lib/recipe-format.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-recipes/lib/recipe-format.js +1465 -0
- package/node_modules/@try-works/tool-mode-recipes/lib/templates.d.ts +51 -0
- package/node_modules/@try-works/tool-mode-recipes/lib/templates.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-recipes/lib/templates.js +310 -0
- package/node_modules/@try-works/tool-mode-recipes/lib/titles.d.ts +231 -0
- package/node_modules/@try-works/tool-mode-recipes/lib/titles.d.ts.map +1 -0
- package/node_modules/@try-works/tool-mode-recipes/lib/titles.js +435 -0
- package/node_modules/@try-works/tool-mode-recipes/package.json +56 -0
- package/node_modules/@try-works/tool-mode-recipes/recipes/describe-image.json +38 -0
- package/node_modules/@try-works/tool-mode-recipes/recipes/text-title.json +45 -0
- package/node_modules/@try-works/tool-mode-recipes/schema/harness-model-recipe.schema.json +273 -0
- package/package.json +127 -4
- package/remote/spec.mjs +993 -0
- package/remote/typert.host.mjs +14 -0
- package/remote/typert.remote-client.mjs +16 -0
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1,546 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* dsh-tool-mode — install on-device models as DSH tools and skills.
|
|
3
|
+
*
|
|
4
|
+
* The plugin composes five layers: a JSON catalog describing every model, a
|
|
5
|
+
* capability resolver that decides which of them can run in this process, an
|
|
6
|
+
* adapter per runnable model, a registrar that turns each one into a DSH tool,
|
|
7
|
+
* and a skill per tool that teaches the agent when to reach for it.
|
|
8
|
+
*
|
|
9
|
+
* Nothing is imported from a model package at plugin load, so a deployment that
|
|
10
|
+
* installs none of them still starts cleanly and reports exactly what is
|
|
11
|
+
* missing. A model only becomes a tool when its adapter can really invoke it.
|
|
12
|
+
*
|
|
13
|
+
* @module @try-works/dsh-tool-mode
|
|
14
|
+
*/
|
|
15
|
+
import type { Context } from '@deepseek-ai/cordis';
|
|
16
|
+
import z from '@deepseek-ai/schemastery';
|
|
17
|
+
import { type ResolvedModel } from './capability.ts';
|
|
18
|
+
import { type HarnessModelConfig } from './harness-llm.ts';
|
|
19
|
+
import { type JevConfig } from './jev.ts';
|
|
20
|
+
import { type LlmProvider } from '@try-works/tool-mode-recipes';
|
|
21
|
+
import type { AcquisitionSource } from './asset-acquisition.ts';
|
|
22
|
+
import type { ClientGrantConfig } from './mcp/client-grant.ts';
|
|
23
|
+
export declare const name = "model-tools";
|
|
24
|
+
export declare const inject: string[];
|
|
25
|
+
/** Plugin configuration. */
|
|
26
|
+
export interface Config {
|
|
27
|
+
/** Catalog document to load; defaults to the bundled Desert Ant catalog. */
|
|
28
|
+
catalogFile?: string;
|
|
29
|
+
/** Playbook document to load; defaults to the bundled playbooks. */
|
|
30
|
+
playbookFile?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Model ids to expose. An empty list (the default) means every model that can
|
|
33
|
+
* run here; a non-empty list is intersected with what can run, so naming an
|
|
34
|
+
* unsupported model never registers a tool that would fail at call time.
|
|
35
|
+
*
|
|
36
|
+
* The field is an empty array rather than `undefined` when unset: the config
|
|
37
|
+
* schema materializes a declared array, so the code treats empty as "no
|
|
38
|
+
* explicit allowlist" instead of "expose nothing".
|
|
39
|
+
*/
|
|
40
|
+
models?: string[];
|
|
41
|
+
/** Model ids to exclude, applied after `models`. */
|
|
42
|
+
exclude?: string[];
|
|
43
|
+
/**
|
|
44
|
+
* Register a tool for a model whose runtime is missing, so the failure is
|
|
45
|
+
* reported at call time instead of the tool being absent. Off by default:
|
|
46
|
+
* exposing a tool that cannot work wastes a model turn.
|
|
47
|
+
*/
|
|
48
|
+
exposeUnavailable?: boolean;
|
|
49
|
+
/** Publish one skill per registered tool. Default true. */
|
|
50
|
+
registerSkills?: boolean;
|
|
51
|
+
/** Register the `model_tools` inspection tool. Default true. */
|
|
52
|
+
registerControlTool?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Register the separate management tool (`model_tools_manage`). Default false:
|
|
55
|
+
* discovery (`model_tools`) is read-only unless the operator explicitly grants
|
|
56
|
+
* model/extension/credential mutations.
|
|
57
|
+
*/
|
|
58
|
+
managementGrant?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* Tool names whose canonical result is confidential (MCP-11). They are blocked at
|
|
61
|
+
* the MCP and Code Mode boundaries before any value is returned; native callers
|
|
62
|
+
* unaffected by this external-surface policy.
|
|
63
|
+
*/
|
|
64
|
+
confidentialTools?: string[];
|
|
65
|
+
/**
|
|
66
|
+
* The operator's CONSENT to hosted code execution (CODE-10).
|
|
67
|
+
*
|
|
68
|
+
* Code execution is a SEPARATE consent from ordinary model-tool access, and it
|
|
69
|
+
* ships disabled until granted. This flag is the grant: the operator turns it
|
|
70
|
+
* on explicitly. It is checked in addition to — never instead of — the
|
|
71
|
+
* confinement gate (CODE-09), which remains closed until the confinement
|
|
72
|
+
* acceptance tests pass, so flipping this flag alone cannot expose the runtime.
|
|
73
|
+
* Default false.
|
|
74
|
+
*/
|
|
75
|
+
hostedCode?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* LIC-04: a strict no-network deployment. Extensions whose DECLARED network
|
|
78
|
+
* behaviour is not eligible are refused at activation, rather than having their
|
|
79
|
+
* telemetry silently suppressed. Default `any`.
|
|
80
|
+
*/
|
|
81
|
+
networkPolicy?: 'any' | 'no-network';
|
|
82
|
+
/**
|
|
83
|
+
* The Desert Ant CLI transport, which runs on macOS and Linux and can reach
|
|
84
|
+
* every shipping model — including the Apple-only ones that have no npm
|
|
85
|
+
* package.
|
|
86
|
+
*/
|
|
87
|
+
cli?: {
|
|
88
|
+
/** Whether the CLI may be used when it is found on PATH. Default true. */
|
|
89
|
+
enabled?: boolean;
|
|
90
|
+
/** Command name or absolute path. Default `desertant`. */
|
|
91
|
+
command?: string;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* A user-hosted bridge, reached over HTTP, for models this machine cannot run
|
|
95
|
+
* itself — most importantly the Apple-only models.
|
|
96
|
+
*
|
|
97
|
+
* The plugin does not run this service; the user does, on a machine that can
|
|
98
|
+
* execute the model. The licence forbids re-hosting the models as a service,
|
|
99
|
+
* so point this at your own machine.
|
|
100
|
+
*/
|
|
101
|
+
remote?: {
|
|
102
|
+
/** Bridge base URL, for example `http://mac-studio.local:8787`. */
|
|
103
|
+
endpoint?: string;
|
|
104
|
+
/** Optional bearer token sent to the bridge. */
|
|
105
|
+
token?: string;
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* Whether in-process npm packages may be used. Set false to force every call
|
|
109
|
+
* through the CLI or the bridge. Default true.
|
|
110
|
+
*/
|
|
111
|
+
allowNpm?: boolean;
|
|
112
|
+
/**
|
|
113
|
+
* Where the user's enable/disable choices are persisted. Defaults to
|
|
114
|
+
* `<DSH_HOME>/model-as-tool/state.json`.
|
|
115
|
+
*/
|
|
116
|
+
stateFile?: string;
|
|
117
|
+
/**
|
|
118
|
+
* Root of the profile-scoped custom-tool store. Defaults to
|
|
119
|
+
* `<dirname(stateFile)>/custom-tools`.
|
|
120
|
+
*/
|
|
121
|
+
customToolsDir?: string;
|
|
122
|
+
/** Whether the custom-tools service loads and registers tools. Default true. */
|
|
123
|
+
customToolsEnabled?: boolean;
|
|
124
|
+
/**
|
|
125
|
+
* Where generated external MCP client credentials are persisted (SEC-01).
|
|
126
|
+
*
|
|
127
|
+
* Defaults to `<DSH_HOME>/model-as-tool/credentials.json`, next to the state file,
|
|
128
|
+
* so the store inherits the operator profile's owner-only protection. A deployment
|
|
129
|
+
* that disables persistence refuses generation rather than issuing a credential a
|
|
130
|
+
* restart would forget.
|
|
131
|
+
*/
|
|
132
|
+
credentialsFile?: string;
|
|
133
|
+
/**
|
|
134
|
+
* Directory of the operator-owned EXTENSION store.
|
|
135
|
+
*
|
|
136
|
+
* When set, the host mounts the extension lifecycle and restores the extensions the
|
|
137
|
+
* operator approved as active. Left unset, no extension is mounted and behaviour is
|
|
138
|
+
* exactly as before - which is why this is a directory rather than a boolean: an
|
|
139
|
+
* absent directory is a deployment that has no extensions, not one that forbade them.
|
|
140
|
+
*/
|
|
141
|
+
extensionStore?: string;
|
|
142
|
+
/**
|
|
143
|
+
* Directory that holds first-party extension PACKAGE checkouts, one directory per
|
|
144
|
+
* package, for the Settings → Model as Tool install path.
|
|
145
|
+
*
|
|
146
|
+
* A package lives in the directory named by its final identity segment: a package
|
|
147
|
+
* `@try-works/extension-laya` is installed from
|
|
148
|
+
* `<extensionSourceDir>/extension-laya`. Left empty, no first-party source is
|
|
149
|
+
* advertised and `describe()` reports `sourceDir: null`; an install then needs an
|
|
150
|
+
* explicit source directory.
|
|
151
|
+
*
|
|
152
|
+
* This is DEVELOPER MODE (EXT-06): the directory is only ever used when
|
|
153
|
+
* `extensions.allowSourceDirectories` explicitly allows it, the installer copies
|
|
154
|
+
* the tree rather than linking it, and the installation lands INACTIVE.
|
|
155
|
+
*/
|
|
156
|
+
extensionSourceDir?: string;
|
|
157
|
+
/**
|
|
158
|
+
* How an install with no explicit source directory gets its package bytes.
|
|
159
|
+
*
|
|
160
|
+
* - `registry`: resolve the package from the npm registry (`extensionRegistry`),
|
|
161
|
+
* verify the registry-declared sha512 and install the tarball.
|
|
162
|
+
* - `directory`: the developer-mode source-directory path above.
|
|
163
|
+
* - `auto` (default): prefer the registry; fall back to the source directory
|
|
164
|
+
* ONLY when the registry is unreachable (transport/timeout/5xx/unconfigured)
|
|
165
|
+
* and `extensions.allowSourceDirectories` is on. A package-level registry
|
|
166
|
+
* refusal (404, missing integrity, bad tarball, digest mismatch) is always a
|
|
167
|
+
* named error and is NEVER silently retried against a local directory.
|
|
168
|
+
*/
|
|
169
|
+
extensionInstallSource?: 'registry' | 'directory' | 'auto';
|
|
170
|
+
/**
|
|
171
|
+
* The npm registry registry installs resolve against. Defaults to the public
|
|
172
|
+
* npm registry; set it empty to disable the registry route (directory installs
|
|
173
|
+
* still need `extensions.allowSourceDirectories`).
|
|
174
|
+
*/
|
|
175
|
+
extensionRegistry?: string;
|
|
176
|
+
/** Hard cap on one registry package tarball download. Default 256 MiB. */
|
|
177
|
+
extensionTarballMaxBytes?: number;
|
|
178
|
+
/**
|
|
179
|
+
* IDLE timeout for one registry tarball download, in ms. Default 10 minutes.
|
|
180
|
+
* Applies only when NO bytes arrive; a slow large download is not aborted.
|
|
181
|
+
*/
|
|
182
|
+
extensionTarballTimeoutMs?: number;
|
|
183
|
+
/** Registry packument/metadata timeout in ms. Default 30 s. */
|
|
184
|
+
extensionMetadataTimeoutMs?: number;
|
|
185
|
+
/**
|
|
186
|
+
* Dependency-graph depth bound for registry installs. Default 12.
|
|
187
|
+
*
|
|
188
|
+
* Preinstalled dependencies are leaves (their own tree travels with them);
|
|
189
|
+
* registry-resolved graphs are bounded by this, and a refusal names the level
|
|
190
|
+
* and the package.
|
|
191
|
+
*/
|
|
192
|
+
extensionDependencyDepth?: number;
|
|
193
|
+
/**
|
|
194
|
+
* Package-count bound for dependency graphs (both arms). Default 256: the SDK
|
|
195
|
+
* default of 64 refused the real transformers/minilm engine trees.
|
|
196
|
+
*/
|
|
197
|
+
extensionDependencyPackages?: number;
|
|
198
|
+
/**
|
|
199
|
+
* Operator gate: allow dependency content that arrived already materialized.
|
|
200
|
+
*
|
|
201
|
+
* OFF by default. When off, a declared dependency whose package.json carries
|
|
202
|
+
* install-time scripts refuses (EXT-10), exactly as before. When on, the
|
|
203
|
+
* resolver may supply the host's installed tree for such a dependency (for
|
|
204
|
+
* example onnxruntime-node after the operator's npm ran its postinstall); the
|
|
205
|
+
* SDK copies it into the extension's own installation directory and records
|
|
206
|
+
* `provenance: 'preinstalled'` with the source — stating that the installer
|
|
207
|
+
* did NOT run the scripts, rather than silently skipping them.
|
|
208
|
+
*/
|
|
209
|
+
allowPreinstalledDependencies?: boolean;
|
|
210
|
+
/**
|
|
211
|
+
* The root a preinstalled dependency directory must live under.
|
|
212
|
+
*
|
|
213
|
+
* Required when {@link allowPreinstalledDependencies} is on: the SDK refuses a
|
|
214
|
+
* preinstalled directory outside it as a path escape. Point it at a root that
|
|
215
|
+
* contains the host dependency tree (for example the repository or profile
|
|
216
|
+
* root); never a world-writable location.
|
|
217
|
+
*/
|
|
218
|
+
preinstalledDependenciesRoot?: string;
|
|
219
|
+
/**
|
|
220
|
+
* Exact `name@version` dependencies whose published tarball ships prebuilt
|
|
221
|
+
* runtime artifacts. Their lifecycle-script declarations are admitted but the
|
|
222
|
+
* scripts are NEVER executed. Defaults to the first-party allowlist; an empty
|
|
223
|
+
* array restores the strict EXT-10 refusal for every package.
|
|
224
|
+
*/
|
|
225
|
+
trustedPrebuiltDependencies?: string[];
|
|
226
|
+
/**
|
|
227
|
+
* The operator's STANDING RES-02 approval for executable asset preparation
|
|
228
|
+
* initiated from the client/Remote path (Settings → Model as Tool → Prepare).
|
|
229
|
+
*
|
|
230
|
+
* DEFAULT FALSE. With it off, a preparation plan that contains an executable
|
|
231
|
+
* asset returns the exact RES-02 refusal: acquiring a downloaded engine is a
|
|
232
|
+
* separate approval from approving a model download, not a checkbox riding along
|
|
233
|
+
* with it. With it on, the Remote `prepare` call is the operator's approval for
|
|
234
|
+
* every executable asset of the digest-pinned, first-party plans the host
|
|
235
|
+
* resolves — which is why it should be enabled only for such engines, never for
|
|
236
|
+
* an arbitrary package source. The management channel (`model_tools`
|
|
237
|
+
* `extensions-prepare`) keeps its own PER-CALL `allowExecutable` flag and is not
|
|
238
|
+
* affected by this setting.
|
|
239
|
+
*/
|
|
240
|
+
allowExecutablePreparation?: boolean;
|
|
241
|
+
/**
|
|
242
|
+
* SEC-09: require an explicit operator approval for extension ACTIVATION.
|
|
243
|
+
*
|
|
244
|
+
* OPT-IN, default false, and deliberately so for this slice: mounting the gate
|
|
245
|
+
* unconditionally would turn the Settings Enable action — and every existing host
|
|
246
|
+
* composition — into a pending refusal, because no approval UI/management path ships
|
|
247
|
+
* yet. A deployment that has one turns this on; the default is the documented
|
|
248
|
+
* PRE-APPROVED direct path, not a silent bypass (the switch is explicit).
|
|
249
|
+
*/
|
|
250
|
+
requireActivationApproval?: boolean;
|
|
251
|
+
/** INTERNAL TEST SEAM: the acquisition source extensions-prepare uses instead
|
|
252
|
+
* of the ranged HTTP source. A suite injects a local file source so the
|
|
253
|
+
* acquisition path is exercised with ZERO network; a deployment never sets
|
|
254
|
+
* this, and the default stays the real opt-in source. */
|
|
255
|
+
assetSourceFactory?: () => AcquisitionSource;
|
|
256
|
+
/** TASK-99 test seams: the bounded-retry interval/cap (defaults 250 ms / 30 s). */
|
|
257
|
+
harnessRetryIntervalMs?: number;
|
|
258
|
+
harnessRetryCapMs?: number;
|
|
259
|
+
/**
|
|
260
|
+
* TASK-127 test seam: the retry SCHEDULER. A suite injects a fake
|
|
261
|
+
* {setInterval, clearInterval} so the tests advance the retry by explicit
|
|
262
|
+
* ticks instead of wall-clock (deterministic under full-suite load). A
|
|
263
|
+
* deployment never sets this; the default is the global scheduler, so the
|
|
264
|
+
* product behavior is byte-identical.
|
|
265
|
+
*/
|
|
266
|
+
harnessRetryScheduler?: {
|
|
267
|
+
setInterval: (handler: () => void, ms: number) => unknown;
|
|
268
|
+
clearInterval: (handle: unknown) => void;
|
|
269
|
+
};
|
|
270
|
+
/**
|
|
271
|
+
* TASK-131 (RC2): the prepared-assets cache root. Defaults to the
|
|
272
|
+
* state-file-adjacent `asset-cache` directory; set it to a volume with room
|
|
273
|
+
* for the planned asset set (the embeddinggemma set is ~3.2 GB). The
|
|
274
|
+
* prepare preflight refuses with `extension-asset-space-insufficient` when
|
|
275
|
+
* the free space cannot hold the missing bytes.
|
|
276
|
+
*/
|
|
277
|
+
assetCacheRoot?: string;
|
|
278
|
+
/** TASK-131 test seam: the free-space probe the prepare preflight uses. */
|
|
279
|
+
assetFreeSpaceProbe?: (path: string) => number;
|
|
280
|
+
/** §12 config v3: the nested shape + the fixed-false flags (see the zod). */
|
|
281
|
+
schemaVersion?: number;
|
|
282
|
+
extensions?: {
|
|
283
|
+
protocolMajor?: number;
|
|
284
|
+
manifestVersion?: string;
|
|
285
|
+
registry?: string;
|
|
286
|
+
allowHttpsArchives?: boolean;
|
|
287
|
+
allowLocalArchives?: boolean;
|
|
288
|
+
allowSourceDirectories?: boolean;
|
|
289
|
+
automaticUpdates?: boolean;
|
|
290
|
+
runInstallScripts?: boolean;
|
|
291
|
+
};
|
|
292
|
+
mcpV3?: {
|
|
293
|
+
enabled?: boolean;
|
|
294
|
+
protocolVersions?: string[];
|
|
295
|
+
legacyCompatibility?: boolean;
|
|
296
|
+
host?: string;
|
|
297
|
+
port?: number;
|
|
298
|
+
path?: string;
|
|
299
|
+
/**
|
|
300
|
+
* A file holding the operator bearer token, trimmed on read.
|
|
301
|
+
*
|
|
302
|
+
* DSH_TOOL_MODE_MCP_TOKEN still wins when set (a launch override); the file exists
|
|
303
|
+
* so a desktop-launched host, whose environment the operator does not control, can
|
|
304
|
+
* serve MCP with a durable credential. The raw token never enters this config.
|
|
305
|
+
*/
|
|
306
|
+
tokenFile?: string;
|
|
307
|
+
allowedOrigins?: string[];
|
|
308
|
+
/**
|
|
309
|
+
* MCP-only export allowlist, separate from the native `models` selection.
|
|
310
|
+
* `['*']` (the default) preserves the full surface; an empty list exports no
|
|
311
|
+
* inference tools; otherwise only the exact listed names are published.
|
|
312
|
+
*/
|
|
313
|
+
exportTools?: string[];
|
|
314
|
+
/** Operator client-grant policy passed to the MCP server (see ClientGrantConfig). */
|
|
315
|
+
grants?: ClientGrantConfig;
|
|
316
|
+
catalogTtlMs?: number;
|
|
317
|
+
catalogCacheScope?: string;
|
|
318
|
+
auth?: {
|
|
319
|
+
mode?: string;
|
|
320
|
+
authorizationServerProfile?: string | null;
|
|
321
|
+
};
|
|
322
|
+
};
|
|
323
|
+
compositionV3?: {
|
|
324
|
+
enabled?: boolean;
|
|
325
|
+
defaultTimeoutMs?: number;
|
|
326
|
+
maxTimeoutMs?: number;
|
|
327
|
+
maxToolCalls?: number;
|
|
328
|
+
maxConcurrentBindings?: number;
|
|
329
|
+
maxHarnessModelCalls?: number;
|
|
330
|
+
};
|
|
331
|
+
multimodalV3?: {
|
|
332
|
+
defaultDimensions?: number;
|
|
333
|
+
defaultOverflow?: string;
|
|
334
|
+
maxVideoFrames?: number;
|
|
335
|
+
audioSampleRateHz?: number;
|
|
336
|
+
selectiveEncoderLoading?: boolean;
|
|
337
|
+
};
|
|
338
|
+
harnessExecutorV3?: {
|
|
339
|
+
enabled?: boolean;
|
|
340
|
+
nativeSelection?: string;
|
|
341
|
+
externalDefaultProfile?: string | null;
|
|
342
|
+
profiles?: Readonly<Record<string, unknown>>[];
|
|
343
|
+
defaultMaxAttempts?: number;
|
|
344
|
+
defaultRepairAttempts?: number;
|
|
345
|
+
defaultMaxOutputTokens?: number;
|
|
346
|
+
defaultTimeoutMs?: number;
|
|
347
|
+
inheritConversation?: boolean;
|
|
348
|
+
allowModelToolCalls?: boolean;
|
|
349
|
+
};
|
|
350
|
+
recipesV3?: {
|
|
351
|
+
schemaVersion?: string;
|
|
352
|
+
allowLocalAuthoring?: boolean;
|
|
353
|
+
automaticActivation?: boolean;
|
|
354
|
+
allowExecutableTemplates?: boolean;
|
|
355
|
+
};
|
|
356
|
+
clientsV3?: Readonly<Record<string, unknown>>[];
|
|
357
|
+
captureV3?: {
|
|
358
|
+
bodies?: boolean;
|
|
359
|
+
retentionDays?: number;
|
|
360
|
+
maxBytes?: number;
|
|
361
|
+
auxiliaryLlmJournal?: {
|
|
362
|
+
enabled?: boolean;
|
|
363
|
+
retentionDays?: number;
|
|
364
|
+
};
|
|
365
|
+
};
|
|
366
|
+
/**
|
|
367
|
+
* Whether `enable`/`disable` persist across restarts. Default true; false
|
|
368
|
+
* restores the earlier session-scoped behaviour.
|
|
369
|
+
*/
|
|
370
|
+
persist?: boolean;
|
|
371
|
+
/**
|
|
372
|
+
* Which model serves each standard contract, as `{ "stt.transcribe": "voz" }`.
|
|
373
|
+
*
|
|
374
|
+
* Provider selection is host configuration (BASE-02), not something a caller
|
|
375
|
+
* chooses per call. An override naming a model that cannot run here is ignored
|
|
376
|
+
* in favour of the first eligible implementation rather than silently
|
|
377
|
+
* registering a tool that would fail.
|
|
378
|
+
*/
|
|
379
|
+
providers?: Record<string, string>;
|
|
380
|
+
/**
|
|
381
|
+
* Register the deprecated per-model compatibility aliases.
|
|
382
|
+
*
|
|
383
|
+
* Off by default so they stay out of the default catalog and a caller sees one
|
|
384
|
+
* transcription tool rather than two (BASE-03). When on, the alias keeps its
|
|
385
|
+
* original argument and result contract through a tested adapter — it is never
|
|
386
|
+
* silently reinterpreted as the new contract.
|
|
387
|
+
*/
|
|
388
|
+
legacyAliases?: boolean;
|
|
389
|
+
/**
|
|
390
|
+
* Filesystem roots this deployment authorizes (SEC-06).
|
|
391
|
+
*
|
|
392
|
+
* Empty by default, which fails closed: a path-bearing tool then refuses every
|
|
393
|
+
* call rather than admitting an arbitrary path. An operator adds the roots this
|
|
394
|
+
* machine may read from.
|
|
395
|
+
*/
|
|
396
|
+
approvedRoots?: string[];
|
|
397
|
+
/** Grant identity recorded in receipts; defaults to `local-interactive`. */
|
|
398
|
+
grantId?: string;
|
|
399
|
+
/** Whether receipts may be recorded (SEC-03); default true. */
|
|
400
|
+
recordReceipts?: boolean;
|
|
401
|
+
/**
|
|
402
|
+
* The CODE-11 repair-attempt ceiling for bounded-repair tools.
|
|
403
|
+
*
|
|
404
|
+
* The FLAT key is the deprecated-alias-compatible spelling that drives
|
|
405
|
+
* behaviour; `harnessExecutorV3.defaultRepairAttempts` is its v3 equivalent.
|
|
406
|
+
* An integer 0..8; 0 disables repairs. Default 1. An invalid value refuses
|
|
407
|
+
* at config parse, never silently clamps.
|
|
408
|
+
*/
|
|
409
|
+
repairAttempts?: number;
|
|
410
|
+
/**
|
|
411
|
+
* Which capture profile this deployment runs under (OBS-03).
|
|
412
|
+
*
|
|
413
|
+
* `standard` is the default. `metadata-only` is for a headless local-specialist deployment: it
|
|
414
|
+
* REFUSES harness-backed execution where a no-retention policy cannot be honoured alongside
|
|
415
|
+
* DSH's requirement that model-visible inputs be reconstructable — rather than logging bodies
|
|
416
|
+
* against the policy or bypassing DSH, both of which are forbidden.
|
|
417
|
+
*/
|
|
418
|
+
captureProfile?: 'standard' | 'metadata-only';
|
|
419
|
+
/**
|
|
420
|
+
* The deployment's harness provider, for executing DECLARATIVE packages (HLM-01).
|
|
421
|
+
*
|
|
422
|
+
* Supplied by the DEPLOYMENT rather than constructed here, because which model answers a
|
|
423
|
+
* harness call is not this plugin's business — and the architecture gate forbids
|
|
424
|
+
* model-specific code in the host. Absent means a declarative package resolves but is not
|
|
425
|
+
* served, and the refusal says so at preparation rather than at the first invocation.
|
|
426
|
+
*/
|
|
427
|
+
harnessProvider?: LlmProvider;
|
|
428
|
+
/**
|
|
429
|
+
* Operator-bound logical executor profiles for approved-profile recipes
|
|
430
|
+
* (HLM-02/RCP-05). Each binding is a provider plus the version the operator
|
|
431
|
+
* approved; an unresolved profile makes the recipe's tool unavailable.
|
|
432
|
+
*/
|
|
433
|
+
harnessProfiles?: Readonly<Record<string, {
|
|
434
|
+
readonly provider: LlmProvider;
|
|
435
|
+
readonly version: string;
|
|
436
|
+
}>>;
|
|
437
|
+
/**
|
|
438
|
+
* Opt the host INTO a REAL DSH-backed harness provider (HLM-01/02/03).
|
|
439
|
+
*
|
|
440
|
+
* DEFAULT OFF: absent, nothing is wired and every existing test and packed probe is
|
|
441
|
+
* unchanged. When set, the host builds a {@link DshLlmProvider} over the deployment's
|
|
442
|
+
* DSH LLM surface (`ctx.llm`), reading the model's OWN capability descriptor, and uses
|
|
443
|
+
* it for declarative recipes — with the image transport minted only when the DSH
|
|
444
|
+
* attachment service is reachable, otherwise capabilities honestly report `unknown`
|
|
445
|
+
* and the broker refuses image recipes rather than dropping them. An explicit
|
|
446
|
+
* `harnessProvider` wins over this option (test doubles and prebuilt providers).
|
|
447
|
+
*/
|
|
448
|
+
harnessModel?: HarnessModelConfig;
|
|
449
|
+
/**
|
|
450
|
+
* Optional remote Jev (TypeSafe System One) provider (TOOL-02, DEC-07).
|
|
451
|
+
*
|
|
452
|
+
* Jev is a remote typed-question API, never local weights. When `enabled`, the
|
|
453
|
+
* host registers `decision_choose_jev` on the standard `decision.choose`
|
|
454
|
+
* contract. The key comes from `apiKey`, then the DSH credentials service
|
|
455
|
+
* (`credentialRef`, default `jev/api-key`), then `apiKeyEnv` (default
|
|
456
|
+
* `TYPESAFE_API_KEY`); a missing key is a diagnostic, never a fake answer.
|
|
457
|
+
*/
|
|
458
|
+
jev?: JevConfig;
|
|
459
|
+
/**
|
|
460
|
+
* Opt the host INTO routing extension invocations through managed worker
|
|
461
|
+
* processes (EXT-20).
|
|
462
|
+
*
|
|
463
|
+
* DEFAULT OFF: absent, every extension runs in-process exactly as before, and no
|
|
464
|
+
* child process is ever spawned by this plugin. When set, each extension's module
|
|
465
|
+
* entry runs in a scrubbed-environment managed process — ONE process per extension
|
|
466
|
+
* per activation generation, disposed when the generation advances — and the host's
|
|
467
|
+
* dispatch discipline is unchanged: grant authorization and schema validation stay
|
|
468
|
+
* HOST-side before the worker call, and the worker's result is validated against
|
|
469
|
+
* the declared output schema exactly like the in-process path.
|
|
470
|
+
*/
|
|
471
|
+
managedWorkers?: boolean;
|
|
472
|
+
/** Maximum one managed-worker invoke may wait before it is failed and disposed. */
|
|
473
|
+
managedWorkerInvokeTimeoutMs?: number;
|
|
474
|
+
/**
|
|
475
|
+
* Extension ids the operator switched OFF in Settings.
|
|
476
|
+
*
|
|
477
|
+
* The store still holds them and their desired activation is unchanged; the
|
|
478
|
+
* host simply does not restore them, so their tools never register. Removing
|
|
479
|
+
* an id re-activates the extension on the next load.
|
|
480
|
+
*/
|
|
481
|
+
disabledExtensions?: string[];
|
|
482
|
+
/**
|
|
483
|
+
* Environment names to pass through to managed workers, on top of the SDK's
|
|
484
|
+
* bootstrap allowlist. Explicit names only — never `process.env` wholesale.
|
|
485
|
+
*/
|
|
486
|
+
workerEnvPassthrough?: string[];
|
|
487
|
+
/** Hard resource limits overriding the conservative defaults. */
|
|
488
|
+
limits?: {
|
|
489
|
+
maxInputBytes?: number;
|
|
490
|
+
maxAudioSeconds?: number;
|
|
491
|
+
maxResultBytes?: number;
|
|
492
|
+
maxModelCalls?: number;
|
|
493
|
+
maxOutputTokens?: number;
|
|
494
|
+
maxImages?: number;
|
|
495
|
+
deadlineMs?: number;
|
|
496
|
+
};
|
|
497
|
+
}
|
|
498
|
+
export declare const Config: z<Config>;
|
|
499
|
+
/**
|
|
500
|
+
* §12: the spec's fixed-false flags REJECT unsupported values instead of being
|
|
501
|
+
* accepted as ineffective flags. A config that sets any of them to true fails
|
|
502
|
+
* the configuration with the named flag, never silently ignores it.
|
|
503
|
+
* @param config - the parsed configuration.
|
|
504
|
+
* @throws Error naming the first flag set to an unsupported value.
|
|
505
|
+
*/
|
|
506
|
+
export declare function assertConfigV3DisabledFlags(config: Config): void;
|
|
507
|
+
/**
|
|
508
|
+
* The CODE-11 repair-attempt ceiling for one configuration (task-74).
|
|
509
|
+
*
|
|
510
|
+
* The flat `repairAttempts` key drives; the v3 nested spelling
|
|
511
|
+
* `harnessExecutorV3.defaultRepairAttempts` is its equivalent; absent both,
|
|
512
|
+
* the default is 1. An out-of-range value is a REFUSAL, never a silent clamp:
|
|
513
|
+
* a ceiling the operator did not write is a budget nobody approved.
|
|
514
|
+
* @param config - the parsed configuration.
|
|
515
|
+
* @throws Error naming the invalid value.
|
|
516
|
+
*/
|
|
517
|
+
export declare function repairCeilingOf(config: Config): number;
|
|
518
|
+
/** One model as the `model_tools` control tool reports it. */
|
|
519
|
+
export interface ModelDescriptor {
|
|
520
|
+
readonly id: string;
|
|
521
|
+
readonly name: string;
|
|
522
|
+
readonly summary: string;
|
|
523
|
+
readonly capability: string;
|
|
524
|
+
readonly input: string;
|
|
525
|
+
readonly tool: string;
|
|
526
|
+
readonly skill: string;
|
|
527
|
+
readonly runnable: boolean;
|
|
528
|
+
readonly route: string;
|
|
529
|
+
readonly reason: string;
|
|
530
|
+
readonly languages: number | null;
|
|
531
|
+
readonly license: string;
|
|
532
|
+
readonly docs: string;
|
|
533
|
+
}
|
|
534
|
+
/** Render the model list the control tool returns, and the plugin logs. */
|
|
535
|
+
export declare function describeModels(resolved: readonly ResolvedModel[]): ModelDescriptor[];
|
|
536
|
+
export declare function apply(ctx: Context, config?: Config): Promise<void>;
|
|
537
|
+
export { loadCatalog, CatalogError, DEFAULT_CATALOG_FILE } from './catalog.ts';
|
|
538
|
+
export { resolveCapability, resolveCatalog, canResolve, packageSpecifier, type ResolvedModel } from './capability.ts';
|
|
539
|
+
export { createAdapter, ADAPTER_FACTORIES } from './adapters/index.ts';
|
|
540
|
+
export { buildArgv, commandExists, createCliTransport, createRemoteTransport, parseBridgeResponse, parseCliOutcome, splitArguments, BRIDGE_PATH, DEFAULT_CLI_COMMAND, type CommandRunner, type CommandTransport, type HttpPost, type TransportOptions, } from './transport.ts';
|
|
541
|
+
export { renderSkillBody } from './skills.ts';
|
|
542
|
+
export { EmbeddingIndex, IncompatibleEmbeddingSpace, openMemoryEmbeddingIndex, type EmbeddingRecord, type EmbeddingSpaceIdentity, } from './embedding-index.ts';
|
|
543
|
+
export { loadPlaybooks, DEFAULT_PLAYBOOK_FILE, type ModelPlaybook } from './playbook.ts';
|
|
544
|
+
export { createFileStateStore, createMemoryStateStore, defaultStateFile, parseState, resolveSelection, withChoice, EMPTY_STATE, StateError, type PersistedState, type StateStore, } from './state.ts';
|
|
545
|
+
export type { CapabilityVerdict, ModelCatalogEntry, ModelInput, ModelParam, ModelParamType, ModelRoute, ModelToolSpec, ModelSkillSpec, WindowsSupport, } from './types.ts';
|
|
546
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAClD,OAAO,CAAC,MAAM,0BAA0B,CAAA;AAMxC,OAAO,EAAqB,KAAK,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAyBvE,OAAO,EAAoH,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AAC5K,OAAO,EAAsF,KAAK,SAAS,EAAE,MAAM,UAAU,CAAA;AAG7H,OAAO,EAAoG,KAAK,WAAW,EAAuB,MAAM,8BAA8B,CAAA;AA8CtL,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAa/D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AAiC9D,eAAO,MAAM,IAAI,gBAAgB,CAAA;AACjC,eAAO,MAAM,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