@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
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://try-works.dev/tool-mode/harness-model-recipe.schema.json",
|
|
4
|
+
"$comment": "Published vocabulary for RCP-02: the harness-model recipe document the declarative broker loads. AUTHORITY: the code validator in packages/tool-mode-recipes/src/recipe-format.ts is the normative implementation; this schema mirrors it and the parity test (tests/schema-parity.test.ts) fails if they drift. TWO VOCABULARIES NORMALIZE TO ONE FROZEN RECIPE: the CANONICAL RCP-02 shape (schemaVersion/kind/modelSelection/instructions/inputBindings/response/limits/context) and the LEGACY shape (id/version/description/tool/inputs/promptTemplate/maxOutputTokens/imageInputs/policy), a documented deprecated alias (normalizeRecipeDocument in recipe-format.ts maps canonical->legacy before the field checks). Code-only checks a JSON Schema cannot express: (1) forbidden keys refused BY NAME with a 'data, not a program' reason — the schema refuses them structurally (closed objects) but cannot reproduce the named refusal; (2) reserved prototype keys — same; (3) non-finite numbers, functions, class instances and non-plain objects — not JSON data, so a schema over parsed JSON cannot see them; (4) description TRIMMED to at least 10 characters — the schema's minLength 10 is the sound approximation, trim semantics are code-only; (5) default must be one of the declared enum values — 2020-12 cannot reference a sibling enum; (6) promptTemplate/instructions placeholder-to-input correspondence and unbalanced-brace refusal — cross-field, code-only; (7) imageInputs.max/limits.maxImages vs declared image-input count — cross-field, code-only; (8) the load-time identity-claim refusal (expectedToolName/expectedContractId) — an option of parseRecipe, not a document property; (9) modelSelection.requires consistency with the declared bindings (image binding needs 'image' in inputModalities) — cross-field, code-only; (10) deep-freeze at parse — runtime behavior, not schema. BINDING-TIME checks (validateRecipeInputs) apply to caller arguments, not to the recipe document, and are out of scope for this schema.",
|
|
5
|
+
"title": "harness-model-recipe",
|
|
6
|
+
"oneOf": [
|
|
7
|
+
{
|
|
8
|
+
"title": "Canonical RCP-02 recipe",
|
|
9
|
+
"type": "object",
|
|
10
|
+
"additionalProperties": false,
|
|
11
|
+
"required": ["id", "version", "description", "tool", "instructions", "inputBindings", "modelSelection", "limits"],
|
|
12
|
+
"properties": {
|
|
13
|
+
"schemaVersion": {
|
|
14
|
+
"description": "The vocabulary version, accepted and pinned ('1.0.0').",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"minLength": 1
|
|
17
|
+
},
|
|
18
|
+
"kind": {
|
|
19
|
+
"description": "The recipe kind; only 'harness-model' exists in this vocabulary.",
|
|
20
|
+
"type": "string",
|
|
21
|
+
"const": "harness-model"
|
|
22
|
+
},
|
|
23
|
+
"id": {
|
|
24
|
+
"description": "Recipe identity. Pattern from recipe-format.ts — letters, digits, dot, dash, underscore, slash or a leading scope, no whitespace.",
|
|
25
|
+
"type": "string",
|
|
26
|
+
"minLength": 1,
|
|
27
|
+
"pattern": "^[A-Za-z0-9@][A-Za-z0-9._@/-]*$"
|
|
28
|
+
},
|
|
29
|
+
"version": {
|
|
30
|
+
"description": "Semantic version (RCP-06: a prompt change is a version change).",
|
|
31
|
+
"type": "string",
|
|
32
|
+
"pattern": "^\\d+\\.\\d+\\.\\d+$"
|
|
33
|
+
},
|
|
34
|
+
"description": {
|
|
35
|
+
"description": "A real sentence describing what the recipe does.",
|
|
36
|
+
"type": "string",
|
|
37
|
+
"minLength": 10,
|
|
38
|
+
"maxLength": 2000
|
|
39
|
+
},
|
|
40
|
+
"tool": {
|
|
41
|
+
"description": "The tool identity the recipe implements (RCP-06).",
|
|
42
|
+
"type": "object",
|
|
43
|
+
"additionalProperties": false,
|
|
44
|
+
"required": ["name", "contractId"],
|
|
45
|
+
"properties": {
|
|
46
|
+
"name": { "type": "string", "minLength": 1, "maxLength": 64 },
|
|
47
|
+
"contractId": { "type": "string", "minLength": 3, "maxLength": 214 }
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"modelSelection": {
|
|
51
|
+
"description": "Static versus per-call authority (RCP-05). 'caller-model' is the default strategy; 'approved-profile' references a logical profile name the operator explicitly binds.",
|
|
52
|
+
"type": "object",
|
|
53
|
+
"additionalProperties": false,
|
|
54
|
+
"required": ["strategy", "requires"],
|
|
55
|
+
"properties": {
|
|
56
|
+
"strategy": { "type": "string", "enum": ["caller-model", "approved-profile"] },
|
|
57
|
+
"profile": {
|
|
58
|
+
"description": "Required with 'approved-profile'; the host binding resolves it.",
|
|
59
|
+
"type": "string",
|
|
60
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$"
|
|
61
|
+
},
|
|
62
|
+
"requires": {
|
|
63
|
+
"description": "The capability request this recipe needs (HLM-04). Unknown is not supported.",
|
|
64
|
+
"type": "object",
|
|
65
|
+
"additionalProperties": false,
|
|
66
|
+
"required": ["inputModalities", "outputModalities"],
|
|
67
|
+
"properties": {
|
|
68
|
+
"inputModalities": {
|
|
69
|
+
"type": "array",
|
|
70
|
+
"minItems": 1,
|
|
71
|
+
"uniqueItems": true,
|
|
72
|
+
"items": { "type": "string", "enum": ["text", "image", "audio", "video"] }
|
|
73
|
+
},
|
|
74
|
+
"outputModalities": {
|
|
75
|
+
"type": "array",
|
|
76
|
+
"minItems": 1,
|
|
77
|
+
"uniqueItems": true,
|
|
78
|
+
"items": { "type": "string", "enum": ["text", "image", "audio", "video"] }
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"instructions": {
|
|
85
|
+
"description": "The static instruction text with {{name}} binding placeholders. Static data only: no template expressions, eval, shell, dynamic imports or remote prompt downloads (RCP-02).",
|
|
86
|
+
"type": "string",
|
|
87
|
+
"minLength": 1,
|
|
88
|
+
"maxLength": 65536
|
|
89
|
+
},
|
|
90
|
+
"inputBindings": {
|
|
91
|
+
"description": "Validated JSON Pointers into the detached, schema-validated argument object (RCP-03). Simple name segments only; reserved characters, prototype keys and escapes are refused. The optional constraint fields are re-emitted by the canonical serializer so the canonical round trip is LOSSLESS.",
|
|
92
|
+
"type": "array",
|
|
93
|
+
"minItems": 1,
|
|
94
|
+
"items": {
|
|
95
|
+
"type": "object",
|
|
96
|
+
"additionalProperties": false,
|
|
97
|
+
"required": ["kind", "pointer", "required"],
|
|
98
|
+
"properties": {
|
|
99
|
+
"kind": { "type": "string", "enum": ["text", "image", "json"] },
|
|
100
|
+
"pointer": { "type": "string", "pattern": "^(/[A-Za-z0-9_-]+)+$" },
|
|
101
|
+
"required": { "type": "boolean" },
|
|
102
|
+
"label": { "type": "string", "minLength": 1, "maxLength": 500 },
|
|
103
|
+
"minLength": { "type": "integer", "minimum": 0 },
|
|
104
|
+
"maxLength": { "type": "integer", "minimum": 1 },
|
|
105
|
+
"minimum": { "type": "number" },
|
|
106
|
+
"maximum": { "type": "number" },
|
|
107
|
+
"enum": { "type": "array", "minItems": 1 },
|
|
108
|
+
"default": { "anyOf": [{ "type": "string" }, { "type": "number" }, { "type": "boolean" }] },
|
|
109
|
+
"mediaTypes": {
|
|
110
|
+
"type": "array",
|
|
111
|
+
"minItems": 1,
|
|
112
|
+
"items": { "type": "string", "pattern": "^image/" }
|
|
113
|
+
},
|
|
114
|
+
"maxBytes": { "type": "integer", "minimum": 1 }
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"response": {
|
|
119
|
+
"description": "RCP-04: 'text' maps into one named payload string field; 'json' is prompt-enforced and locally validated in this build (no provider structured-output negotiation) — the describe metadata discloses the difference.",
|
|
120
|
+
"type": "object",
|
|
121
|
+
"additionalProperties": false,
|
|
122
|
+
"required": ["mode", "field"],
|
|
123
|
+
"properties": {
|
|
124
|
+
"mode": { "type": "string", "enum": ["text", "json"] },
|
|
125
|
+
"field": { "type": "string", "minLength": 1, "maxLength": 120 }
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"limits": {
|
|
129
|
+
"description": "The recipe's own bounds (HLM-07). maxOutputTokens and maxImages are enforced; timeoutMs/maxInputTextBytes/maxAttempts/repairAttempts are validated and recorded as the author's request (the caller owns the deadline).",
|
|
130
|
+
"type": "object",
|
|
131
|
+
"additionalProperties": false,
|
|
132
|
+
"required": ["maxOutputTokens"],
|
|
133
|
+
"properties": {
|
|
134
|
+
"timeoutMs": { "type": "integer", "minimum": 1 },
|
|
135
|
+
"maxInputTextBytes": { "type": "integer", "minimum": 1 },
|
|
136
|
+
"maxImages": { "type": "integer", "minimum": 0 },
|
|
137
|
+
"maxOutputTokens": { "type": "integer", "minimum": 1 },
|
|
138
|
+
"maxAttempts": { "type": "integer", "minimum": 1 },
|
|
139
|
+
"repairAttempts": { "type": "integer", "minimum": 0 }
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"context": {
|
|
143
|
+
"description": "HLM-05's frozen invariants: only {inheritConversation:false, includeTools:false} is supported in this release; anything else is refused, not ignored.",
|
|
144
|
+
"type": "object",
|
|
145
|
+
"additionalProperties": false,
|
|
146
|
+
"required": ["inheritConversation", "includeTools"],
|
|
147
|
+
"properties": {
|
|
148
|
+
"inheritConversation": { "type": "boolean", "const": false },
|
|
149
|
+
"includeTools": { "type": "boolean", "const": false }
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"title": "Legacy recipe (deprecated alias)",
|
|
156
|
+
"type": "object",
|
|
157
|
+
"additionalProperties": false,
|
|
158
|
+
"required": ["id", "version", "description", "tool", "inputs", "promptTemplate", "maxOutputTokens", "imageInputs", "policy"],
|
|
159
|
+
"properties": {
|
|
160
|
+
"id": {
|
|
161
|
+
"description": "Recipe identity. Pattern from recipe-format.ts:619 — letters, digits, dot, dash, underscore, slash or a leading scope, no whitespace.",
|
|
162
|
+
"type": "string",
|
|
163
|
+
"minLength": 1,
|
|
164
|
+
"pattern": "^[A-Za-z0-9@][A-Za-z0-9._@/-]*$"
|
|
165
|
+
},
|
|
166
|
+
"version": {
|
|
167
|
+
"description": "Semantic version (RCP-06: a prompt change is a version change).",
|
|
168
|
+
"type": "string",
|
|
169
|
+
"pattern": "^\\d+\\.\\d+\\.\\d+$"
|
|
170
|
+
},
|
|
171
|
+
"description": {
|
|
172
|
+
"description": "A real sentence describing what the recipe does.",
|
|
173
|
+
"type": "string",
|
|
174
|
+
"minLength": 10,
|
|
175
|
+
"maxLength": 2000
|
|
176
|
+
},
|
|
177
|
+
"tool": {
|
|
178
|
+
"description": "The tool identity the recipe implements (RCP-06).",
|
|
179
|
+
"type": "object",
|
|
180
|
+
"additionalProperties": false,
|
|
181
|
+
"required": ["name", "contractId"],
|
|
182
|
+
"properties": {
|
|
183
|
+
"name": { "type": "string", "pattern": "^[a-z][a-z0-9_]*$", "maxLength": 64 },
|
|
184
|
+
"contractId": { "type": "string", "minLength": 3, "maxLength": 214, "pattern": "^[a-z][a-z0-9@._/-]*$" }
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"inputs": {
|
|
188
|
+
"description": "The declared inputs, keyed by input name, in declaration order. Names that reach into the object model or the parent context are refused by name, like the code validator refuses them.",
|
|
189
|
+
"type": "object",
|
|
190
|
+
"minProperties": 1,
|
|
191
|
+
"propertyNames": {
|
|
192
|
+
"not": {
|
|
193
|
+
"enum": ["tools", "tool_calls", "toolCalls", "messages", "history", "conversation", "attachments", "memory", "skills", "systemPrompt", "inheritConversation", "includeTools", "__proto__", "constructor", "prototype"]
|
|
194
|
+
}
|
|
195
|
+
},
|
|
196
|
+
"additionalProperties": {
|
|
197
|
+
"type": "object",
|
|
198
|
+
"additionalProperties": false,
|
|
199
|
+
"required": ["type", "required"],
|
|
200
|
+
"properties": {
|
|
201
|
+
"type": { "type": "string", "enum": ["string", "integer", "number", "boolean", "image"] },
|
|
202
|
+
"required": { "type": "boolean" },
|
|
203
|
+
"description": { "type": "string", "minLength": 1, "maxLength": 2000 },
|
|
204
|
+
"minLength": { "type": "integer", "minimum": 0 },
|
|
205
|
+
"maxLength": { "type": "integer", "minimum": 1 },
|
|
206
|
+
"minimum": { "type": "number" },
|
|
207
|
+
"maximum": { "type": "number" },
|
|
208
|
+
"enum": { "type": "array", "minItems": 1 },
|
|
209
|
+
"default": { "anyOf": [{ "type": "string" }, { "type": "number" }, { "type": "boolean" }] },
|
|
210
|
+
"mediaTypes": {
|
|
211
|
+
"type": "array",
|
|
212
|
+
"minItems": 1,
|
|
213
|
+
"items": { "type": "string", "pattern": "^image/" }
|
|
214
|
+
},
|
|
215
|
+
"maxBytes": { "type": "integer", "minimum": 1 },
|
|
216
|
+
"jsonSerialized": { "type": "boolean", "const": true }
|
|
217
|
+
},
|
|
218
|
+
"allOf": [
|
|
219
|
+
{
|
|
220
|
+
"if": { "properties": { "type": { "const": "image" } }, "required": ["type"] },
|
|
221
|
+
"then": { "properties": { "default": false, "minLength": false, "maxLength": false, "minimum": false, "maximum": false, "enum": false, "jsonSerialized": false } }
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"if": { "properties": { "type": { "const": "string" } }, "required": ["type"] },
|
|
225
|
+
"then": { "properties": { "minimum": false, "maximum": false, "mediaTypes": false, "maxBytes": false } }
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"if": { "properties": { "type": { "enum": ["integer", "number"] } }, "required": ["type"] },
|
|
229
|
+
"then": { "properties": { "minLength": false, "maxLength": false, "mediaTypes": false, "maxBytes": false, "jsonSerialized": false } }
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"if": { "properties": { "type": { "const": "boolean" } }, "required": ["type"] },
|
|
233
|
+
"then": { "properties": { "minLength": false, "maxLength": false, "minimum": false, "maximum": false, "mediaTypes": false, "maxBytes": false, "jsonSerialized": false } }
|
|
234
|
+
}
|
|
235
|
+
]
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
"promptTemplate": {
|
|
239
|
+
"description": "The static instruction text, with {{name}} binding placeholders. Template-expression syntax is refused, like the code validator refuses it.",
|
|
240
|
+
"type": "string",
|
|
241
|
+
"minLength": 1,
|
|
242
|
+
"maxLength": 65536,
|
|
243
|
+
"not": { "anyOf": [{ "pattern": "\\$\\{" }, { "pattern": "<%" }, { "pattern": "%>" }] }
|
|
244
|
+
},
|
|
245
|
+
"maxOutputTokens": {
|
|
246
|
+
"description": "The recipe's own output-token ceiling (RES-10 initial maximum).",
|
|
247
|
+
"type": "integer",
|
|
248
|
+
"minimum": 1,
|
|
249
|
+
"maximum": 1024
|
|
250
|
+
},
|
|
251
|
+
"imageInputs": {
|
|
252
|
+
"description": "The image inputs this recipe permits (RES-10 initial maximum).",
|
|
253
|
+
"type": "object",
|
|
254
|
+
"additionalProperties": false,
|
|
255
|
+
"required": ["max"],
|
|
256
|
+
"properties": {
|
|
257
|
+
"max": { "type": "integer", "minimum": 0, "maximum": 2 }
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
"policy": {
|
|
261
|
+
"description": "Recording and destination declarations (HLM-09).",
|
|
262
|
+
"type": "object",
|
|
263
|
+
"additionalProperties": false,
|
|
264
|
+
"required": ["record", "allowRemote"],
|
|
265
|
+
"properties": {
|
|
266
|
+
"record": { "type": "boolean" },
|
|
267
|
+
"allowRemote": { "type": "boolean" }
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
]
|
|
273
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,129 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@try-works/dsh-tool-mode",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.5.45",
|
|
4
|
+
"description": "Install Desert Ant Labs on-device models as DSH tools and skills, with per-platform capability gating",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"dsh",
|
|
7
|
+
"dsh-plugin",
|
|
8
|
+
"deepseek-harness",
|
|
9
|
+
"on-device",
|
|
10
|
+
"desert-ant-labs",
|
|
11
|
+
"models-as-tools"
|
|
12
|
+
],
|
|
13
|
+
"license": "Apache-2.0",
|
|
14
|
+
"publishConfig": {
|
|
15
|
+
"access": "public",
|
|
16
|
+
"registry": "https://registry.npmjs.org/"
|
|
17
|
+
},
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "git+https://github.com/try-works/tool-mode.git",
|
|
21
|
+
"directory": "dsh-tool-mode/packages/dsh-tool-mode"
|
|
22
|
+
},
|
|
23
|
+
"homepage": "https://github.com/try-works/tool-mode#readme",
|
|
24
|
+
"bugs": {
|
|
25
|
+
"url": "https://github.com/try-works/tool-mode/issues"
|
|
26
|
+
},
|
|
27
|
+
"type": "module",
|
|
28
|
+
"main": "lib/index.js",
|
|
29
|
+
"types": "lib/index.d.ts",
|
|
30
|
+
"exports": {
|
|
31
|
+
".": {
|
|
32
|
+
"types": "./lib/index.d.ts",
|
|
33
|
+
"default": "./lib/index.js"
|
|
34
|
+
},
|
|
35
|
+
"./client": "./client/index.js",
|
|
36
|
+
"./typert": "./remote/typert.host.mjs",
|
|
37
|
+
"./remote": "./remote/typert.remote-client.mjs",
|
|
38
|
+
"./catalog": {
|
|
39
|
+
"types": "./lib/catalog.d.ts",
|
|
40
|
+
"default": "./lib/catalog.js"
|
|
41
|
+
},
|
|
42
|
+
"./catalog/desert-ant-models.json": "./catalog/desert-ant-models.json",
|
|
43
|
+
"./catalog/playbooks.json": "./catalog/playbooks.json",
|
|
44
|
+
"./package.json": "./package.json"
|
|
45
|
+
},
|
|
46
|
+
"files": [
|
|
47
|
+
"lib/**/*.js",
|
|
48
|
+
"lib/**/*.d.ts",
|
|
49
|
+
"lib/**/*.d.ts.map",
|
|
50
|
+
"client/index.js",
|
|
51
|
+
"client/client.model-tools.js",
|
|
52
|
+
"remote/*.mjs",
|
|
53
|
+
"catalog/desert-ant-models.json",
|
|
54
|
+
"catalog/playbooks.json",
|
|
55
|
+
"cordis.patch.yml",
|
|
56
|
+
"builtins.lock.json",
|
|
57
|
+
"README.md",
|
|
58
|
+
"bin"
|
|
59
|
+
],
|
|
60
|
+
"dsh": {
|
|
61
|
+
"bundle": {
|
|
62
|
+
"patch": "./cordis.patch.yml"
|
|
63
|
+
},
|
|
64
|
+
"client": {
|
|
65
|
+
"platform": "web",
|
|
66
|
+
"inject": [
|
|
67
|
+
"@deepseek-ai/dsh-client-ui-settings",
|
|
68
|
+
"@deepseek-ai/dsh-client-ui-slots",
|
|
69
|
+
"@deepseek-ai/dsh-client-ui-conversation",
|
|
70
|
+
"@deepseek-ai/dsh-client-ui-sidebar-right"
|
|
71
|
+
],
|
|
72
|
+
"external": []
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"engines": {
|
|
76
|
+
"node": ">=24.0.0"
|
|
77
|
+
},
|
|
78
|
+
"peerDependencies": {
|
|
79
|
+
"@deepseek-ai/cordis": ">=0.2.0-rc.2 || >=0.2.1-rc.1",
|
|
80
|
+
"@deepseek-ai/dsh-skill": ">=0.2.0-rc.2 || >=0.2.1-rc.1",
|
|
81
|
+
"@deepseek-ai/dsh-tools": ">=0.2.0-rc.2 || >=0.2.1-rc.1"
|
|
82
|
+
},
|
|
83
|
+
"peerDependenciesMeta": {
|
|
84
|
+
"@deepseek-ai/dsh-skill": {
|
|
85
|
+
"optional": true
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"scripts": {
|
|
89
|
+
"build": "node scripts/clean-lib.mjs && tsc -p tsconfig.build.json && node scripts/gen-client-catalog.mjs",
|
|
90
|
+
"build:client": "node scripts/gen-client-catalog.mjs",
|
|
91
|
+
"build:remote": "node scripts/gen-remote-artifacts.mjs",
|
|
92
|
+
"check:remote": "node scripts/gen-remote-artifacts.mjs --check",
|
|
93
|
+
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
94
|
+
"test": "tsx --test tests/*.test.ts",
|
|
95
|
+
"prepack": "node scripts/stage-bundle.mjs && npm run build",
|
|
96
|
+
"prepare": "tsc -p tsconfig.build.json",
|
|
97
|
+
"postpack": "node scripts/stage-bundle.mjs --clean"
|
|
98
|
+
},
|
|
99
|
+
"devDependencies": {
|
|
100
|
+
"@modelcontextprotocol/client": "2.3.1",
|
|
101
|
+
"@types/node": "^24.0.0",
|
|
102
|
+
"typescript": "^5.9.0"
|
|
103
|
+
},
|
|
104
|
+
"dependencies": {
|
|
105
|
+
"@deepseek-ai/schemastery": "^3.18.4",
|
|
106
|
+
"@modelcontextprotocol/node": "2.1.1",
|
|
107
|
+
"@modelcontextprotocol/server": "2.3.1",
|
|
108
|
+
"@try-works/tool-mode-contracts": "^0.1.0",
|
|
109
|
+
"@try-works/tool-mode-extension-sdk": "^0.1.0",
|
|
110
|
+
"ajv": "^8.20.0",
|
|
111
|
+
"adm-zip": "^0.5.18",
|
|
112
|
+
"@try-works/tool-mode-recipes": "^0.1.0"
|
|
113
|
+
},
|
|
114
|
+
"bin": {
|
|
115
|
+
"dsh-tool-mode": "bin/dsh-tool-mode.mjs",
|
|
116
|
+
"dsh-tool-mode-mcp-stdio": "bin/dsh-tool-mode-mcp-stdio.mjs",
|
|
117
|
+
"dsh-tool-mode-credentials": "bin/dsh-tool-mode-credentials.mjs"
|
|
118
|
+
},
|
|
119
|
+
"bundledDependencies": [
|
|
120
|
+
"@try-works/tool-mode-contracts",
|
|
121
|
+
"@try-works/tool-mode-extension-sdk",
|
|
122
|
+
"@try-works/tool-mode-recipes"
|
|
123
|
+
],
|
|
124
|
+
"bundleDependencies": [
|
|
125
|
+
"@try-works/tool-mode-contracts",
|
|
126
|
+
"@try-works/tool-mode-extension-sdk",
|
|
127
|
+
"@try-works/tool-mode-recipes"
|
|
128
|
+
]
|
|
129
|
+
}
|