@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.
Files changed (432) hide show
  1. package/LICENSE +205 -0
  2. package/README.md +303 -2
  3. package/bin/dsh-tool-mode-credentials.mjs +20 -0
  4. package/bin/dsh-tool-mode-mcp-stdio.mjs +80 -0
  5. package/bin/dsh-tool-mode.mjs +211 -0
  6. package/builtins.lock.json +26 -0
  7. package/catalog/desert-ant-models.json +693 -0
  8. package/catalog/playbooks.json +531 -0
  9. package/client/client.model-tools.js +1910 -0
  10. package/client/index.js +4158 -0
  11. package/cordis.patch.yml +39 -0
  12. package/lib/adapters/index.d.ts +61 -0
  13. package/lib/adapters/index.d.ts.map +1 -0
  14. package/lib/adapters/index.js +82 -0
  15. package/lib/adapters/types.d.ts +106 -0
  16. package/lib/adapters/types.d.ts.map +1 -0
  17. package/lib/adapters/types.js +85 -0
  18. package/lib/approval.d.ts +189 -0
  19. package/lib/approval.d.ts.map +1 -0
  20. package/lib/approval.js +510 -0
  21. package/lib/asset-acquisition.d.ts +149 -0
  22. package/lib/asset-acquisition.d.ts.map +1 -0
  23. package/lib/asset-acquisition.js +175 -0
  24. package/lib/authority.d.ts +185 -0
  25. package/lib/authority.d.ts.map +1 -0
  26. package/lib/authority.js +223 -0
  27. package/lib/bindings.d.ts +144 -0
  28. package/lib/bindings.d.ts.map +1 -0
  29. package/lib/bindings.js +314 -0
  30. package/lib/builtins.d.ts +27 -0
  31. package/lib/builtins.d.ts.map +1 -0
  32. package/lib/builtins.js +37 -0
  33. package/lib/capability.d.ts +58 -0
  34. package/lib/capability.d.ts.map +1 -0
  35. package/lib/capability.js +192 -0
  36. package/lib/capture-path.d.ts +97 -0
  37. package/lib/capture-path.d.ts.map +1 -0
  38. package/lib/capture-path.js +152 -0
  39. package/lib/catalog.d.ts +37 -0
  40. package/lib/catalog.d.ts.map +1 -0
  41. package/lib/catalog.js +274 -0
  42. package/lib/contract-payload.d.ts +39 -0
  43. package/lib/contract-payload.d.ts.map +1 -0
  44. package/lib/contract-payload.js +56 -0
  45. package/lib/custom-tools/compile.d.ts +25 -0
  46. package/lib/custom-tools/compile.d.ts.map +1 -0
  47. package/lib/custom-tools/compile.js +61 -0
  48. package/lib/custom-tools/composite-executor.d.ts +42 -0
  49. package/lib/custom-tools/composite-executor.d.ts.map +1 -0
  50. package/lib/custom-tools/composite-executor.js +113 -0
  51. package/lib/custom-tools/dispatch.d.ts +28 -0
  52. package/lib/custom-tools/dispatch.d.ts.map +1 -0
  53. package/lib/custom-tools/dispatch.js +34 -0
  54. package/lib/custom-tools/http-executor.d.ts +48 -0
  55. package/lib/custom-tools/http-executor.d.ts.map +1 -0
  56. package/lib/custom-tools/http-executor.js +241 -0
  57. package/lib/custom-tools/index.d.ts +12 -0
  58. package/lib/custom-tools/index.d.ts.map +1 -0
  59. package/lib/custom-tools/index.js +12 -0
  60. package/lib/custom-tools/mcp-surface.d.ts +14 -0
  61. package/lib/custom-tools/mcp-surface.d.ts.map +1 -0
  62. package/lib/custom-tools/mcp-surface.js +41 -0
  63. package/lib/custom-tools/prompt-executor.d.ts +39 -0
  64. package/lib/custom-tools/prompt-executor.d.ts.map +1 -0
  65. package/lib/custom-tools/prompt-executor.js +59 -0
  66. package/lib/custom-tools/registry.d.ts +69 -0
  67. package/lib/custom-tools/registry.d.ts.map +1 -0
  68. package/lib/custom-tools/registry.js +130 -0
  69. package/lib/custom-tools/schema.d.ts +26 -0
  70. package/lib/custom-tools/schema.d.ts.map +1 -0
  71. package/lib/custom-tools/schema.js +375 -0
  72. package/lib/custom-tools/service.d.ts +90 -0
  73. package/lib/custom-tools/service.d.ts.map +1 -0
  74. package/lib/custom-tools/service.js +203 -0
  75. package/lib/custom-tools/store.d.ts +61 -0
  76. package/lib/custom-tools/store.d.ts.map +1 -0
  77. package/lib/custom-tools/store.js +240 -0
  78. package/lib/custom-tools/types.d.ts +131 -0
  79. package/lib/custom-tools/types.d.ts.map +1 -0
  80. package/lib/custom-tools/types.js +11 -0
  81. package/lib/decision-combine.d.ts +113 -0
  82. package/lib/decision-combine.d.ts.map +1 -0
  83. package/lib/decision-combine.js +156 -0
  84. package/lib/decision-evaluate.d.ts +185 -0
  85. package/lib/decision-evaluate.d.ts.map +1 -0
  86. package/lib/decision-evaluate.js +227 -0
  87. package/lib/deployment-coordinator.d.ts +213 -0
  88. package/lib/deployment-coordinator.d.ts.map +1 -0
  89. package/lib/deployment-coordinator.js +274 -0
  90. package/lib/diagnostics.d.ts +169 -0
  91. package/lib/diagnostics.d.ts.map +1 -0
  92. package/lib/diagnostics.js +136 -0
  93. package/lib/discovery-contracts.d.ts +14 -0
  94. package/lib/discovery-contracts.d.ts.map +1 -0
  95. package/lib/discovery-contracts.js +90 -0
  96. package/lib/discovery-describe.d.ts +35 -0
  97. package/lib/discovery-describe.d.ts.map +1 -0
  98. package/lib/discovery-describe.js +99 -0
  99. package/lib/embedding-index.d.ts +55 -0
  100. package/lib/embedding-index.d.ts.map +1 -0
  101. package/lib/embedding-index.js +126 -0
  102. package/lib/extension-dependencies.d.ts +355 -0
  103. package/lib/extension-dependencies.d.ts.map +1 -0
  104. package/lib/extension-dependencies.js +987 -0
  105. package/lib/extension-dispatch.d.ts +150 -0
  106. package/lib/extension-dispatch.d.ts.map +1 -0
  107. package/lib/extension-dispatch.js +178 -0
  108. package/lib/extension-page-state.d.ts +69 -0
  109. package/lib/extension-page-state.d.ts.map +1 -0
  110. package/lib/extension-page-state.js +82 -0
  111. package/lib/extension-registrar.d.ts +116 -0
  112. package/lib/extension-registrar.d.ts.map +1 -0
  113. package/lib/extension-registrar.js +144 -0
  114. package/lib/extensions-api.d.ts +346 -0
  115. package/lib/extensions-api.d.ts.map +1 -0
  116. package/lib/extensions-api.js +17 -0
  117. package/lib/extensions-remote.d.ts +57 -0
  118. package/lib/extensions-remote.d.ts.map +1 -0
  119. package/lib/extensions-remote.js +69 -0
  120. package/lib/extensions-service.d.ts +568 -0
  121. package/lib/extensions-service.d.ts.map +1 -0
  122. package/lib/extensions-service.js +2552 -0
  123. package/lib/harness-budgets.d.ts +158 -0
  124. package/lib/harness-budgets.d.ts.map +1 -0
  125. package/lib/harness-budgets.js +152 -0
  126. package/lib/harness-llm.d.ts +138 -0
  127. package/lib/harness-llm.d.ts.map +1 -0
  128. package/lib/harness-llm.js +218 -0
  129. package/lib/harness-serving.d.ts +115 -0
  130. package/lib/harness-serving.d.ts.map +1 -0
  131. package/lib/harness-serving.js +176 -0
  132. package/lib/headless.d.ts +97 -0
  133. package/lib/headless.d.ts.map +1 -0
  134. package/lib/headless.js +407 -0
  135. package/lib/http-acquisition.d.ts +27 -0
  136. package/lib/http-acquisition.d.ts.map +1 -0
  137. package/lib/http-acquisition.js +140 -0
  138. package/lib/index.d.ts +546 -0
  139. package/lib/index.d.ts.map +1 -0
  140. package/lib/index.js +5273 -0
  141. package/lib/invocation-accounting.d.ts +169 -0
  142. package/lib/invocation-accounting.d.ts.map +1 -0
  143. package/lib/invocation-accounting.js +148 -0
  144. package/lib/jev.d.ts +218 -0
  145. package/lib/jev.d.ts.map +1 -0
  146. package/lib/jev.js +366 -0
  147. package/lib/legacy-migration.d.ts +95 -0
  148. package/lib/legacy-migration.d.ts.map +1 -0
  149. package/lib/legacy-migration.js +429 -0
  150. package/lib/license-basis.d.ts +29 -0
  151. package/lib/license-basis.d.ts.map +1 -0
  152. package/lib/license-basis.js +58 -0
  153. package/lib/managed-workers.d.ts +158 -0
  154. package/lib/managed-workers.d.ts.map +1 -0
  155. package/lib/managed-workers.js +269 -0
  156. package/lib/mcp/auth-selection.d.ts +35 -0
  157. package/lib/mcp/auth-selection.d.ts.map +1 -0
  158. package/lib/mcp/auth-selection.js +64 -0
  159. package/lib/mcp/client-grant.d.ts +89 -0
  160. package/lib/mcp/client-grant.d.ts.map +1 -0
  161. package/lib/mcp/client-grant.js +63 -0
  162. package/lib/mcp/credential-cli.d.ts +38 -0
  163. package/lib/mcp/credential-cli.d.ts.map +1 -0
  164. package/lib/mcp/credential-cli.js +148 -0
  165. package/lib/mcp/credential-store.d.ts +143 -0
  166. package/lib/mcp/credential-store.d.ts.map +1 -0
  167. package/lib/mcp/credential-store.js +461 -0
  168. package/lib/mcp/export-policy.d.ts +25 -0
  169. package/lib/mcp/export-policy.d.ts.map +1 -0
  170. package/lib/mcp/export-policy.js +31 -0
  171. package/lib/mcp/host-binding.d.ts +144 -0
  172. package/lib/mcp/host-binding.d.ts.map +1 -0
  173. package/lib/mcp/host-binding.js +280 -0
  174. package/lib/mcp/http.d.ts +180 -0
  175. package/lib/mcp/http.d.ts.map +1 -0
  176. package/lib/mcp/http.js +602 -0
  177. package/lib/mcp/oauth.d.ts +149 -0
  178. package/lib/mcp/oauth.d.ts.map +1 -0
  179. package/lib/mcp/oauth.js +396 -0
  180. package/lib/mcp/protocol.d.ts +329 -0
  181. package/lib/mcp/protocol.d.ts.map +1 -0
  182. package/lib/mcp/protocol.js +459 -0
  183. package/lib/mcp/rate-limit.d.ts +68 -0
  184. package/lib/mcp/rate-limit.d.ts.map +1 -0
  185. package/lib/mcp/rate-limit.js +114 -0
  186. package/lib/mcp/sdk-v2.d.ts +17 -0
  187. package/lib/mcp/sdk-v2.d.ts.map +1 -0
  188. package/lib/mcp/sdk-v2.js +204 -0
  189. package/lib/mcp/server.d.ts +149 -0
  190. package/lib/mcp/server.d.ts.map +1 -0
  191. package/lib/mcp/server.js +302 -0
  192. package/lib/mcp/stdio.d.ts +80 -0
  193. package/lib/mcp/stdio.d.ts.map +1 -0
  194. package/lib/mcp/stdio.js +184 -0
  195. package/lib/mcp/subscriptions.d.ts +177 -0
  196. package/lib/mcp/subscriptions.d.ts.map +1 -0
  197. package/lib/mcp/subscriptions.js +288 -0
  198. package/lib/mcp-status.d.ts +96 -0
  199. package/lib/mcp-status.d.ts.map +1 -0
  200. package/lib/mcp-status.js +70 -0
  201. package/lib/mcp-usage.d.ts +110 -0
  202. package/lib/mcp-usage.d.ts.map +1 -0
  203. package/lib/mcp-usage.js +189 -0
  204. package/lib/model-qualification.d.ts +192 -0
  205. package/lib/model-qualification.d.ts.map +1 -0
  206. package/lib/model-qualification.js +178 -0
  207. package/lib/model-runtime-lane.d.ts +69 -0
  208. package/lib/model-runtime-lane.d.ts.map +1 -0
  209. package/lib/model-runtime-lane.js +122 -0
  210. package/lib/model-runtime-recipe.d.ts +132 -0
  211. package/lib/model-runtime-recipe.d.ts.map +1 -0
  212. package/lib/model-runtime-recipe.js +291 -0
  213. package/lib/planning.d.ts +256 -0
  214. package/lib/planning.d.ts.map +1 -0
  215. package/lib/planning.js +471 -0
  216. package/lib/playbook.d.ts +42 -0
  217. package/lib/playbook.d.ts.map +1 -0
  218. package/lib/playbook.js +65 -0
  219. package/lib/prepared-assets.d.ts +269 -0
  220. package/lib/prepared-assets.d.ts.map +1 -0
  221. package/lib/prepared-assets.js +471 -0
  222. package/lib/provider-bridge.d.ts +107 -0
  223. package/lib/provider-bridge.d.ts.map +1 -0
  224. package/lib/provider-bridge.js +423 -0
  225. package/lib/ptc-authority.d.ts +154 -0
  226. package/lib/ptc-authority.d.ts.map +1 -0
  227. package/lib/ptc-authority.js +242 -0
  228. package/lib/ptc-confinement.d.ts +60 -0
  229. package/lib/ptc-confinement.d.ts.map +1 -0
  230. package/lib/ptc-confinement.js +212 -0
  231. package/lib/ptc-runtime.d.ts +166 -0
  232. package/lib/ptc-runtime.d.ts.map +1 -0
  233. package/lib/ptc-runtime.js +231 -0
  234. package/lib/publication.d.ts +161 -0
  235. package/lib/publication.d.ts.map +1 -0
  236. package/lib/publication.js +181 -0
  237. package/lib/receipt-store.d.ts +57 -0
  238. package/lib/receipt-store.d.ts.map +1 -0
  239. package/lib/receipt-store.js +143 -0
  240. package/lib/receipt.d.ts +231 -0
  241. package/lib/receipt.d.ts.map +1 -0
  242. package/lib/receipt.js +165 -0
  243. package/lib/registrar.d.ts +75 -0
  244. package/lib/registrar.d.ts.map +1 -0
  245. package/lib/registrar.js +152 -0
  246. package/lib/resource-governance.d.ts +204 -0
  247. package/lib/resource-governance.d.ts.map +1 -0
  248. package/lib/resource-governance.js +213 -0
  249. package/lib/server-lifecycle.d.ts +175 -0
  250. package/lib/server-lifecycle.d.ts.map +1 -0
  251. package/lib/server-lifecycle.js +269 -0
  252. package/lib/skills.d.ts +31 -0
  253. package/lib/skills.d.ts.map +1 -0
  254. package/lib/skills.js +170 -0
  255. package/lib/speech-bridge.d.ts +74 -0
  256. package/lib/speech-bridge.d.ts.map +1 -0
  257. package/lib/speech-bridge.js +115 -0
  258. package/lib/state.d.ts +100 -0
  259. package/lib/state.d.ts.map +1 -0
  260. package/lib/state.js +160 -0
  261. package/lib/title-proposal.d.ts +194 -0
  262. package/lib/title-proposal.d.ts.map +1 -0
  263. package/lib/title-proposal.js +244 -0
  264. package/lib/tool-inventory.d.ts +90 -0
  265. package/lib/tool-inventory.d.ts.map +1 -0
  266. package/lib/tool-inventory.js +102 -0
  267. package/lib/tool-mode-run.d.ts +310 -0
  268. package/lib/tool-mode-run.d.ts.map +1 -0
  269. package/lib/tool-mode-run.js +411 -0
  270. package/lib/tool-sources.d.ts +80 -0
  271. package/lib/tool-sources.d.ts.map +1 -0
  272. package/lib/tool-sources.js +123 -0
  273. package/lib/tool-usage-projection.d.ts +390 -0
  274. package/lib/tool-usage-projection.d.ts.map +1 -0
  275. package/lib/tool-usage-projection.js +1038 -0
  276. package/lib/tool-usage-report.d.ts +153 -0
  277. package/lib/tool-usage-report.d.ts.map +1 -0
  278. package/lib/tool-usage-report.js +274 -0
  279. package/lib/transport.d.ts +158 -0
  280. package/lib/transport.d.ts.map +1 -0
  281. package/lib/transport.js +332 -0
  282. package/lib/types.d.ts +134 -0
  283. package/lib/types.d.ts.map +1 -0
  284. package/lib/types.js +8 -0
  285. package/lib/update-surface.d.ts +79 -0
  286. package/lib/update-surface.d.ts.map +1 -0
  287. package/lib/update-surface.js +224 -0
  288. package/lib/version.d.ts +3 -0
  289. package/lib/version.d.ts.map +1 -0
  290. package/lib/version.js +27 -0
  291. package/node_modules/@try-works/tool-mode-contracts/lib/contract-metadata.d.ts +13 -0
  292. package/node_modules/@try-works/tool-mode-contracts/lib/contract-metadata.d.ts.map +1 -0
  293. package/node_modules/@try-works/tool-mode-contracts/lib/contract-metadata.js +85 -0
  294. package/node_modules/@try-works/tool-mode-contracts/lib/contracts/lang-detect.d.ts +16 -0
  295. package/node_modules/@try-works/tool-mode-contracts/lib/contracts/lang-detect.d.ts.map +1 -0
  296. package/node_modules/@try-works/tool-mode-contracts/lib/contracts/lang-detect.js +87 -0
  297. package/node_modules/@try-works/tool-mode-contracts/lib/contracts/standard.d.ts +38 -0
  298. package/node_modules/@try-works/tool-mode-contracts/lib/contracts/standard.d.ts.map +1 -0
  299. package/node_modules/@try-works/tool-mode-contracts/lib/contracts/standard.js +445 -0
  300. package/node_modules/@try-works/tool-mode-contracts/lib/contracts/stt-transcribe.d.ts +20 -0
  301. package/node_modules/@try-works/tool-mode-contracts/lib/contracts/stt-transcribe.d.ts.map +1 -0
  302. package/node_modules/@try-works/tool-mode-contracts/lib/contracts/stt-transcribe.js +112 -0
  303. package/node_modules/@try-works/tool-mode-contracts/lib/contracts/text-embed.d.ts +14 -0
  304. package/node_modules/@try-works/tool-mode-contracts/lib/contracts/text-embed.d.ts.map +1 -0
  305. package/node_modules/@try-works/tool-mode-contracts/lib/contracts/text-embed.js +63 -0
  306. package/node_modules/@try-works/tool-mode-contracts/lib/contracts/text-rerank.d.ts +14 -0
  307. package/node_modules/@try-works/tool-mode-contracts/lib/contracts/text-rerank.d.ts.map +1 -0
  308. package/node_modules/@try-works/tool-mode-contracts/lib/contracts/text-rerank.js +76 -0
  309. package/node_modules/@try-works/tool-mode-contracts/lib/dsh.d.ts +82 -0
  310. package/node_modules/@try-works/tool-mode-contracts/lib/dsh.d.ts.map +1 -0
  311. package/node_modules/@try-works/tool-mode-contracts/lib/dsh.js +274 -0
  312. package/node_modules/@try-works/tool-mode-contracts/lib/index.d.ts +26 -0
  313. package/node_modules/@try-works/tool-mode-contracts/lib/index.d.ts.map +1 -0
  314. package/node_modules/@try-works/tool-mode-contracts/lib/index.js +53 -0
  315. package/node_modules/@try-works/tool-mode-contracts/lib/meta.d.ts +133 -0
  316. package/node_modules/@try-works/tool-mode-contracts/lib/meta.d.ts.map +1 -0
  317. package/node_modules/@try-works/tool-mode-contracts/lib/meta.js +64 -0
  318. package/node_modules/@try-works/tool-mode-contracts/lib/registry.d.ts +121 -0
  319. package/node_modules/@try-works/tool-mode-contracts/lib/registry.d.ts.map +1 -0
  320. package/node_modules/@try-works/tool-mode-contracts/lib/registry.js +246 -0
  321. package/node_modules/@try-works/tool-mode-contracts/package.json +35 -0
  322. package/node_modules/@try-works/tool-mode-extension-sdk/bin/dsh-tool-mode.mjs +20 -0
  323. package/node_modules/@try-works/tool-mode-extension-sdk/lib/cli.d.ts +80 -0
  324. package/node_modules/@try-works/tool-mode-extension-sdk/lib/cli.d.ts.map +1 -0
  325. package/node_modules/@try-works/tool-mode-extension-sdk/lib/cli.js +533 -0
  326. package/node_modules/@try-works/tool-mode-extension-sdk/lib/declarative-recipes.d.ts +86 -0
  327. package/node_modules/@try-works/tool-mode-extension-sdk/lib/declarative-recipes.d.ts.map +1 -0
  328. package/node_modules/@try-works/tool-mode-extension-sdk/lib/declarative-recipes.js +145 -0
  329. package/node_modules/@try-works/tool-mode-extension-sdk/lib/discovery.d.ts +70 -0
  330. package/node_modules/@try-works/tool-mode-extension-sdk/lib/discovery.d.ts.map +1 -0
  331. package/node_modules/@try-works/tool-mode-extension-sdk/lib/discovery.js +201 -0
  332. package/node_modules/@try-works/tool-mode-extension-sdk/lib/errors.d.ts +57 -0
  333. package/node_modules/@try-works/tool-mode-extension-sdk/lib/errors.d.ts.map +1 -0
  334. package/node_modules/@try-works/tool-mode-extension-sdk/lib/errors.js +83 -0
  335. package/node_modules/@try-works/tool-mode-extension-sdk/lib/index.d.ts +33 -0
  336. package/node_modules/@try-works/tool-mode-extension-sdk/lib/index.d.ts.map +1 -0
  337. package/node_modules/@try-works/tool-mode-extension-sdk/lib/index.js +33 -0
  338. package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/archive.d.ts +86 -0
  339. package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/archive.d.ts.map +1 -0
  340. package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/archive.js +191 -0
  341. package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/dependencies.d.ts +137 -0
  342. package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/dependencies.d.ts.map +1 -0
  343. package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/dependencies.js +349 -0
  344. package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/lifecycle.d.ts +274 -0
  345. package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/lifecycle.d.ts.map +1 -0
  346. package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/lifecycle.js +932 -0
  347. package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/migration.d.ts +210 -0
  348. package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/migration.d.ts.map +1 -0
  349. package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/migration.js +368 -0
  350. package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/runtime-link.d.ts +63 -0
  351. package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/runtime-link.d.ts.map +1 -0
  352. package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/runtime-link.js +149 -0
  353. package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/source-directory.d.ts +35 -0
  354. package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/source-directory.d.ts.map +1 -0
  355. package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/source-directory.js +179 -0
  356. package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/staged.d.ts +179 -0
  357. package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/staged.d.ts.map +1 -0
  358. package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/staged.js +299 -0
  359. package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/store.d.ts +395 -0
  360. package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/store.d.ts.map +1 -0
  361. package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/store.js +839 -0
  362. package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/tar-gzip-source.d.ts +44 -0
  363. package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/tar-gzip-source.d.ts.map +1 -0
  364. package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/tar-gzip-source.js +255 -0
  365. package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/update-flow.d.ts +185 -0
  366. package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/update-flow.d.ts.map +1 -0
  367. package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/update-flow.js +504 -0
  368. package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/zip-source.d.ts +17 -0
  369. package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/zip-source.d.ts.map +1 -0
  370. package/node_modules/@try-works/tool-mode-extension-sdk/lib/install/zip-source.js +80 -0
  371. package/node_modules/@try-works/tool-mode-extension-sdk/lib/licensing.d.ts +221 -0
  372. package/node_modules/@try-works/tool-mode-extension-sdk/lib/licensing.d.ts.map +1 -0
  373. package/node_modules/@try-works/tool-mode-extension-sdk/lib/licensing.js +188 -0
  374. package/node_modules/@try-works/tool-mode-extension-sdk/lib/load.d.ts +52 -0
  375. package/node_modules/@try-works/tool-mode-extension-sdk/lib/load.d.ts.map +1 -0
  376. package/node_modules/@try-works/tool-mode-extension-sdk/lib/load.js +102 -0
  377. package/node_modules/@try-works/tool-mode-extension-sdk/lib/manifest.d.ts +171 -0
  378. package/node_modules/@try-works/tool-mode-extension-sdk/lib/manifest.d.ts.map +1 -0
  379. package/node_modules/@try-works/tool-mode-extension-sdk/lib/manifest.js +271 -0
  380. package/node_modules/@try-works/tool-mode-extension-sdk/lib/runtime.d.ts +242 -0
  381. package/node_modules/@try-works/tool-mode-extension-sdk/lib/runtime.d.ts.map +1 -0
  382. package/node_modules/@try-works/tool-mode-extension-sdk/lib/runtime.js +58 -0
  383. package/node_modules/@try-works/tool-mode-extension-sdk/lib/state.d.ts +128 -0
  384. package/node_modules/@try-works/tool-mode-extension-sdk/lib/state.d.ts.map +1 -0
  385. package/node_modules/@try-works/tool-mode-extension-sdk/lib/state.js +113 -0
  386. package/node_modules/@try-works/tool-mode-extension-sdk/lib/test-host.d.ts +41 -0
  387. package/node_modules/@try-works/tool-mode-extension-sdk/lib/test-host.d.ts.map +1 -0
  388. package/node_modules/@try-works/tool-mode-extension-sdk/lib/test-host.js +52 -0
  389. package/node_modules/@try-works/tool-mode-extension-sdk/lib/worker/worker-child.d.ts +2 -0
  390. package/node_modules/@try-works/tool-mode-extension-sdk/lib/worker/worker-child.d.ts.map +1 -0
  391. package/node_modules/@try-works/tool-mode-extension-sdk/lib/worker/worker-child.js +351 -0
  392. package/node_modules/@try-works/tool-mode-extension-sdk/lib/worker.d.ts +157 -0
  393. package/node_modules/@try-works/tool-mode-extension-sdk/lib/worker.d.ts.map +1 -0
  394. package/node_modules/@try-works/tool-mode-extension-sdk/lib/worker.js +688 -0
  395. package/node_modules/@try-works/tool-mode-extension-sdk/package.json +54 -0
  396. package/node_modules/@try-works/tool-mode-extension-sdk/schema/extension-manifest-1.1.0.schema.json +253 -0
  397. package/node_modules/@try-works/tool-mode-recipes/bin/tool-mode-recipe.mjs +15 -0
  398. package/node_modules/@try-works/tool-mode-recipes/lib/broker.d.ts +460 -0
  399. package/node_modules/@try-works/tool-mode-recipes/lib/broker.d.ts.map +1 -0
  400. package/node_modules/@try-works/tool-mode-recipes/lib/broker.js +647 -0
  401. package/node_modules/@try-works/tool-mode-recipes/lib/cli.d.ts +61 -0
  402. package/node_modules/@try-works/tool-mode-recipes/lib/cli.d.ts.map +1 -0
  403. package/node_modules/@try-works/tool-mode-recipes/lib/cli.js +1106 -0
  404. package/node_modules/@try-works/tool-mode-recipes/lib/dsh-adapter.d.ts +237 -0
  405. package/node_modules/@try-works/tool-mode-recipes/lib/dsh-adapter.d.ts.map +1 -0
  406. package/node_modules/@try-works/tool-mode-recipes/lib/dsh-adapter.js +205 -0
  407. package/node_modules/@try-works/tool-mode-recipes/lib/fixture-provider.d.ts +85 -0
  408. package/node_modules/@try-works/tool-mode-recipes/lib/fixture-provider.d.ts.map +1 -0
  409. package/node_modules/@try-works/tool-mode-recipes/lib/fixture-provider.js +176 -0
  410. package/node_modules/@try-works/tool-mode-recipes/lib/images.d.ts +119 -0
  411. package/node_modules/@try-works/tool-mode-recipes/lib/images.d.ts.map +1 -0
  412. package/node_modules/@try-works/tool-mode-recipes/lib/images.js +201 -0
  413. package/node_modules/@try-works/tool-mode-recipes/lib/index.d.ts +25 -0
  414. package/node_modules/@try-works/tool-mode-recipes/lib/index.d.ts.map +1 -0
  415. package/node_modules/@try-works/tool-mode-recipes/lib/index.js +25 -0
  416. package/node_modules/@try-works/tool-mode-recipes/lib/recipe-format.d.ts +345 -0
  417. package/node_modules/@try-works/tool-mode-recipes/lib/recipe-format.d.ts.map +1 -0
  418. package/node_modules/@try-works/tool-mode-recipes/lib/recipe-format.js +1465 -0
  419. package/node_modules/@try-works/tool-mode-recipes/lib/templates.d.ts +51 -0
  420. package/node_modules/@try-works/tool-mode-recipes/lib/templates.d.ts.map +1 -0
  421. package/node_modules/@try-works/tool-mode-recipes/lib/templates.js +310 -0
  422. package/node_modules/@try-works/tool-mode-recipes/lib/titles.d.ts +231 -0
  423. package/node_modules/@try-works/tool-mode-recipes/lib/titles.d.ts.map +1 -0
  424. package/node_modules/@try-works/tool-mode-recipes/lib/titles.js +435 -0
  425. package/node_modules/@try-works/tool-mode-recipes/package.json +56 -0
  426. package/node_modules/@try-works/tool-mode-recipes/recipes/describe-image.json +38 -0
  427. package/node_modules/@try-works/tool-mode-recipes/recipes/text-title.json +45 -0
  428. package/node_modules/@try-works/tool-mode-recipes/schema/harness-model-recipe.schema.json +273 -0
  429. package/package.json +127 -4
  430. package/remote/spec.mjs +993 -0
  431. package/remote/typert.host.mjs +14 -0
  432. 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.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
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
+ }