@evalops/maestro 0.10.18 → 0.10.21

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 (2490) hide show
  1. package/README.md +56 -1
  2. package/dist/agent/action-approval.d.ts +12 -2
  3. package/dist/agent/action-approval.d.ts.map +1 -1
  4. package/dist/agent/action-approval.js +19 -32
  5. package/dist/agent/action-approval.js.map +1 -1
  6. package/dist/agent/agent.d.ts +1 -0
  7. package/dist/agent/agent.d.ts.map +1 -1
  8. package/dist/agent/agent.js +26 -0
  9. package/dist/agent/agent.js.map +1 -1
  10. package/dist/agent/compaction.d.ts +2 -0
  11. package/dist/agent/compaction.d.ts.map +1 -1
  12. package/dist/agent/compaction.js +4 -2
  13. package/dist/agent/compaction.js.map +1 -1
  14. package/dist/agent/index.d.ts +1 -1
  15. package/dist/agent/index.d.ts.map +1 -1
  16. package/dist/agent/index.js +1 -1
  17. package/dist/agent/index.js.map +1 -1
  18. package/dist/agent/modes.d.ts +56 -4
  19. package/dist/agent/modes.d.ts.map +1 -1
  20. package/dist/agent/modes.js +163 -2
  21. package/dist/agent/modes.js.map +1 -1
  22. package/dist/agent/prompt-recovery.d.ts.map +1 -1
  23. package/dist/agent/prompt-recovery.js +1 -3
  24. package/dist/agent/prompt-recovery.js.map +1 -1
  25. package/dist/agent/providers/anthropic.d.ts.map +1 -1
  26. package/dist/agent/providers/anthropic.js +9 -1
  27. package/dist/agent/providers/anthropic.js.map +1 -1
  28. package/dist/agent/providers/codex-app-server.d.ts +12 -0
  29. package/dist/agent/providers/codex-app-server.d.ts.map +1 -0
  30. package/dist/agent/providers/codex-app-server.js +788 -0
  31. package/dist/agent/providers/codex-app-server.js.map +1 -0
  32. package/dist/agent/providers/google-gemini-cli.js +14 -3
  33. package/dist/agent/providers/google.js +22 -3
  34. package/dist/agent/providers/scripted.d.ts +11 -0
  35. package/dist/agent/providers/scripted.d.ts.map +1 -0
  36. package/dist/agent/providers/scripted.js +399 -0
  37. package/dist/agent/providers/scripted.js.map +1 -0
  38. package/dist/agent/providers/vertex.js +14 -3
  39. package/dist/agent/scenario-source.d.ts +19 -0
  40. package/dist/agent/scenario-source.d.ts.map +1 -0
  41. package/dist/agent/scenario-source.js +112 -0
  42. package/dist/agent/scenario-source.js.map +1 -0
  43. package/dist/agent/subagent-specs.d.ts +1 -1
  44. package/dist/agent/subagent-specs.js +1 -1
  45. package/dist/agent/subagent-specs.js.map +1 -1
  46. package/dist/agent/swarm/executor.d.ts +25 -0
  47. package/dist/agent/swarm/executor.d.ts.map +1 -1
  48. package/dist/agent/swarm/executor.js +795 -20
  49. package/dist/agent/swarm/executor.js.map +1 -1
  50. package/dist/agent/swarm/runtime-events.d.ts +11 -0
  51. package/dist/agent/swarm/runtime-events.d.ts.map +1 -0
  52. package/dist/agent/swarm/runtime-events.js +26 -0
  53. package/dist/agent/swarm/runtime-events.js.map +1 -0
  54. package/dist/agent/swarm/types.d.ts +78 -0
  55. package/dist/agent/swarm/types.d.ts.map +1 -1
  56. package/dist/agent/swarm/types.js.map +1 -1
  57. package/dist/agent/tracing.d.ts +1 -1
  58. package/dist/agent/tracing.d.ts.map +1 -1
  59. package/dist/agent/tracing.js +17 -9
  60. package/dist/agent/tracing.js.map +1 -1
  61. package/dist/agent/transport/create-provider-stream.d.ts.map +1 -1
  62. package/dist/agent/transport/create-provider-stream.js +14 -0
  63. package/dist/agent/transport/create-provider-stream.js.map +1 -1
  64. package/dist/agent/transport/stable-stringify.d.ts +2 -0
  65. package/dist/agent/transport/stable-stringify.d.ts.map +1 -0
  66. package/dist/agent/transport/stable-stringify.js +14 -0
  67. package/dist/agent/transport/stable-stringify.js.map +1 -0
  68. package/dist/agent/transport/tool-execution-bridge.d.ts.map +1 -1
  69. package/dist/agent/transport/tool-execution-bridge.js +2 -15
  70. package/dist/agent/transport/tool-execution-bridge.js.map +1 -1
  71. package/dist/agent/transport/tool-safety-pipeline.d.ts +5 -1
  72. package/dist/agent/transport/tool-safety-pipeline.d.ts.map +1 -1
  73. package/dist/agent/transport/tool-safety-pipeline.js +184 -36
  74. package/dist/agent/transport/tool-safety-pipeline.js.map +1 -1
  75. package/dist/agent/transport.d.ts +8 -0
  76. package/dist/agent/transport.d.ts.map +1 -1
  77. package/dist/agent/transport.js +1613 -68
  78. package/dist/agent/transport.js.map +1 -1
  79. package/dist/agent/types.d.ts +170 -2
  80. package/dist/agent/types.d.ts.map +1 -1
  81. package/dist/agent/types.js.map +1 -1
  82. package/dist/api/enterprise-routes.d.ts.map +1 -1
  83. package/dist/api/enterprise-routes.js +34 -3
  84. package/dist/api/enterprise-routes.js.map +1 -1
  85. package/dist/app-server/in-process-client.d.ts +32 -0
  86. package/dist/app-server/in-process-client.d.ts.map +1 -0
  87. package/dist/app-server/in-process-client.js +73 -0
  88. package/dist/app-server/in-process-client.js.map +1 -0
  89. package/dist/app-server/session-api.d.ts +36 -0
  90. package/dist/app-server/session-api.d.ts.map +1 -0
  91. package/dist/app-server/session-api.js +713 -0
  92. package/dist/app-server/session-api.js.map +1 -0
  93. package/dist/approvals/platform-action-approval.d.ts +3 -1
  94. package/dist/approvals/platform-action-approval.d.ts.map +1 -1
  95. package/dist/approvals/platform-action-approval.js +16 -9
  96. package/dist/approvals/platform-action-approval.js.map +1 -1
  97. package/dist/approvals/service-client.d.ts.map +1 -1
  98. package/dist/approvals/service-client.js +7 -7
  99. package/dist/approvals/service-client.js.map +1 -1
  100. package/dist/audit/logger.d.ts +4 -4
  101. package/dist/bootstrap/agent-creation-setup.d.ts +4 -0
  102. package/dist/bootstrap/agent-creation-setup.d.ts.map +1 -1
  103. package/dist/bootstrap/agent-creation-setup.js +3 -1
  104. package/dist/bootstrap/agent-creation-setup.js.map +1 -1
  105. package/dist/bootstrap/auth-setup.js +1 -1
  106. package/dist/bootstrap/auth-setup.js.map +1 -1
  107. package/dist/bootstrap/event-subscriptions-setup.d.ts +6 -0
  108. package/dist/bootstrap/event-subscriptions-setup.d.ts.map +1 -1
  109. package/dist/bootstrap/event-subscriptions-setup.js +26 -2
  110. package/dist/bootstrap/event-subscriptions-setup.js.map +1 -1
  111. package/dist/bootstrap/model-resolution-setup.d.ts.map +1 -1
  112. package/dist/bootstrap/model-resolution-setup.js +4 -1
  113. package/dist/bootstrap/model-resolution-setup.js.map +1 -1
  114. package/dist/bootstrap/tools-setup.d.ts +2 -1
  115. package/dist/bootstrap/tools-setup.d.ts.map +1 -1
  116. package/dist/bootstrap/tools-setup.js +5 -1
  117. package/dist/bootstrap/tools-setup.js.map +1 -1
  118. package/dist/cli/args.d.ts +9 -1
  119. package/dist/cli/args.d.ts.map +1 -1
  120. package/dist/cli/args.js +130 -5
  121. package/dist/cli/args.js.map +1 -1
  122. package/dist/cli/commands/a2a.d.ts +9 -0
  123. package/dist/cli/commands/a2a.d.ts.map +1 -0
  124. package/dist/cli/commands/a2a.js +1714 -0
  125. package/dist/cli/commands/a2a.js.map +1 -0
  126. package/dist/cli/commands/agents.d.ts +16 -2
  127. package/dist/cli/commands/agents.d.ts.map +1 -1
  128. package/dist/cli/commands/agents.js +223 -35
  129. package/dist/cli/commands/agents.js.map +1 -1
  130. package/dist/cli/commands/codex.d.ts +1 -1
  131. package/dist/cli/commands/codex.d.ts.map +1 -1
  132. package/dist/cli/commands/codex.js +145 -39
  133. package/dist/cli/commands/codex.js.map +1 -1
  134. package/dist/cli/commands/context.d.ts +10 -0
  135. package/dist/cli/commands/context.d.ts.map +1 -0
  136. package/dist/cli/commands/context.js +176 -0
  137. package/dist/cli/commands/context.js.map +1 -0
  138. package/dist/cli/commands/hosted-runner.d.ts +1 -0
  139. package/dist/cli/commands/hosted-runner.d.ts.map +1 -1
  140. package/dist/cli/commands/hosted-runner.js +9 -1
  141. package/dist/cli/commands/hosted-runner.js.map +1 -1
  142. package/dist/cli/commands/modes.d.ts +8 -0
  143. package/dist/cli/commands/modes.d.ts.map +1 -0
  144. package/dist/cli/commands/modes.js +151 -0
  145. package/dist/cli/commands/modes.js.map +1 -0
  146. package/dist/cli/commands/operating-plane.d.ts +14 -0
  147. package/dist/cli/commands/operating-plane.d.ts.map +1 -0
  148. package/dist/cli/commands/operating-plane.js +160 -0
  149. package/dist/cli/commands/operating-plane.js.map +1 -0
  150. package/dist/cli/commands/run.d.ts +87 -0
  151. package/dist/cli/commands/run.d.ts.map +1 -0
  152. package/dist/cli/commands/run.js +356 -0
  153. package/dist/cli/commands/run.js.map +1 -0
  154. package/dist/cli/commands/scenario.d.ts +7 -0
  155. package/dist/cli/commands/scenario.d.ts.map +1 -0
  156. package/dist/cli/commands/scenario.js +195 -0
  157. package/dist/cli/commands/scenario.js.map +1 -0
  158. package/dist/cli/commands/skill.d.ts +7 -0
  159. package/dist/cli/commands/skill.d.ts.map +1 -0
  160. package/dist/cli/commands/skill.js +286 -0
  161. package/dist/cli/commands/skill.js.map +1 -0
  162. package/dist/cli/headless-protocol.d.ts +55 -1
  163. package/dist/cli/headless-protocol.d.ts.map +1 -1
  164. package/dist/cli/headless-protocol.js +446 -7
  165. package/dist/cli/headless-protocol.js.map +1 -1
  166. package/dist/cli/headless-runtime-selection.d.ts +38 -0
  167. package/dist/cli/headless-runtime-selection.d.ts.map +1 -0
  168. package/dist/cli/headless-runtime-selection.js +48 -0
  169. package/dist/cli/headless-runtime-selection.js.map +1 -0
  170. package/dist/cli/headless.d.ts +5 -1
  171. package/dist/cli/headless.d.ts.map +1 -1
  172. package/dist/cli/headless.js +11 -1
  173. package/dist/cli/headless.js.map +1 -1
  174. package/dist/cli/help.d.ts +3 -1
  175. package/dist/cli/help.d.ts.map +1 -1
  176. package/dist/cli/help.js +135 -30
  177. package/dist/cli/help.js.map +1 -1
  178. package/dist/cli/system-prompt.d.ts +22 -4
  179. package/dist/cli/system-prompt.d.ts.map +1 -1
  180. package/dist/cli/system-prompt.js +224 -127
  181. package/dist/cli/system-prompt.js.map +1 -1
  182. package/dist/cli-tui/commands/a2a-handlers.d.ts +7 -0
  183. package/dist/cli-tui/commands/a2a-handlers.d.ts.map +1 -0
  184. package/dist/cli-tui/commands/a2a-handlers.js +160 -0
  185. package/dist/cli-tui/commands/a2a-handlers.js.map +1 -0
  186. package/dist/cli-tui/commands/command-catalog.d.ts.map +1 -1
  187. package/dist/cli-tui/commands/command-catalog.js +15 -0
  188. package/dist/cli-tui/commands/command-catalog.js.map +1 -1
  189. package/dist/cli-tui/commands/command-registry-adapter.js +10 -1
  190. package/dist/cli-tui/commands/command-registry-adapter.js.map +1 -1
  191. package/dist/cli-tui/commands/handlers/mode-handler.d.ts.map +1 -1
  192. package/dist/cli-tui/commands/handlers/mode-handler.js +22 -10
  193. package/dist/cli-tui/commands/handlers/mode-handler.js.map +1 -1
  194. package/dist/cli-tui/commands/mcp-handlers.d.ts.map +1 -1
  195. package/dist/cli-tui/commands/mcp-handlers.js +6 -5
  196. package/dist/cli-tui/commands/mcp-handlers.js.map +1 -1
  197. package/dist/cli-tui/commands/types.d.ts +1 -0
  198. package/dist/cli-tui/commands/types.d.ts.map +1 -1
  199. package/dist/cli-tui/commands/types.js.map +1 -1
  200. package/dist/cli-tui/commands/utility-handlers.d.ts +4 -0
  201. package/dist/cli-tui/commands/utility-handlers.d.ts.map +1 -1
  202. package/dist/cli-tui/commands/utility-handlers.js +45 -6
  203. package/dist/cli-tui/commands/utility-handlers.js.map +1 -1
  204. package/dist/cli-tui/run/run-shell-command.d.ts.map +1 -1
  205. package/dist/cli-tui/run/run-shell-command.js +14 -5
  206. package/dist/cli-tui/run/run-shell-command.js.map +1 -1
  207. package/dist/cli-tui/run/streaming-shell-command.d.ts.map +1 -1
  208. package/dist/cli-tui/run/streaming-shell-command.js +14 -5
  209. package/dist/cli-tui/run/streaming-shell-command.js.map +1 -1
  210. package/dist/cli-tui/selectors/model-selector.d.ts +1 -0
  211. package/dist/cli-tui/selectors/model-selector.d.ts.map +1 -1
  212. package/dist/cli-tui/selectors/model-selector.js +6 -2
  213. package/dist/cli-tui/selectors/model-selector.js.map +1 -1
  214. package/dist/cli-tui/tui-renderer/command-registry-options.d.ts.map +1 -1
  215. package/dist/cli-tui/tui-renderer/command-registry-options.js +5 -0
  216. package/dist/cli-tui/tui-renderer/command-registry-options.js.map +1 -1
  217. package/dist/cli-tui/utils/commands/review-prompt.d.ts +1 -1
  218. package/dist/cli-tui/utils/commands/review-prompt.d.ts.map +1 -1
  219. package/dist/cli-tui/utils/commands/review-prompt.js +8 -3
  220. package/dist/cli-tui/utils/commands/review-prompt.js.map +1 -1
  221. package/dist/cli-tui/utils/runtime-badges.d.ts +1 -0
  222. package/dist/cli-tui/utils/runtime-badges.d.ts.map +1 -1
  223. package/dist/cli-tui/utils/runtime-badges.js +7 -0
  224. package/dist/cli-tui/utils/runtime-badges.js.map +1 -1
  225. package/dist/cli-tui/utils/text-formatting.d.ts +1 -0
  226. package/dist/cli-tui/utils/text-formatting.d.ts.map +1 -1
  227. package/dist/cli-tui/utils/text-formatting.js +5 -0
  228. package/dist/cli-tui/utils/text-formatting.js.map +1 -1
  229. package/dist/cli.js +49158 -26161
  230. package/dist/cli.js.map +1 -1
  231. package/dist/codex/app-server-client.d.ts +139 -0
  232. package/dist/codex/app-server-client.d.ts.map +1 -0
  233. package/dist/codex/app-server-client.js +352 -0
  234. package/dist/codex/app-server-client.js.map +1 -0
  235. package/dist/codex/compatibility.d.ts +48 -0
  236. package/dist/codex/compatibility.d.ts.map +1 -0
  237. package/dist/codex/compatibility.js +344 -0
  238. package/dist/codex/compatibility.js.map +1 -0
  239. package/dist/codex/subagent-dispatch-table.d.ts +66 -0
  240. package/dist/codex/subagent-dispatch-table.d.ts.map +1 -0
  241. package/dist/codex/subagent-dispatch-table.js +127 -0
  242. package/dist/codex/subagent-dispatch-table.js.map +1 -0
  243. package/dist/codex/subagent-workgraph.d.ts +56 -0
  244. package/dist/codex/subagent-workgraph.d.ts.map +1 -0
  245. package/dist/codex/subagent-workgraph.js +89 -0
  246. package/dist/codex/subagent-workgraph.js.map +1 -0
  247. package/dist/config/constants.d.ts +3 -1
  248. package/dist/config/constants.d.ts.map +1 -1
  249. package/dist/config/constants.js +9 -0
  250. package/dist/config/constants.js.map +1 -1
  251. package/dist/config/feature-flags.d.ts +10 -1
  252. package/dist/config/feature-flags.d.ts.map +1 -1
  253. package/dist/config/feature-flags.js +17 -6
  254. package/dist/config/feature-flags.js.map +1 -1
  255. package/dist/config/index.d.ts +1 -1
  256. package/dist/config/index.d.ts.map +1 -1
  257. package/dist/config/index.js +1 -1
  258. package/dist/config/index.js.map +1 -1
  259. package/dist/config/toml-config.d.ts +32 -0
  260. package/dist/config/toml-config.d.ts.map +1 -1
  261. package/dist/config/toml-config.js +152 -43
  262. package/dist/config/toml-config.js.map +1 -1
  263. package/dist/connectors/service-client.d.ts.map +1 -1
  264. package/dist/connectors/service-client.js +4 -7
  265. package/dist/connectors/service-client.js.map +1 -1
  266. package/dist/context/manifest-types.d.ts +59 -0
  267. package/dist/context/manifest-types.d.ts.map +1 -0
  268. package/dist/context/manifest-types.js +2 -0
  269. package/dist/context/manifest-types.js.map +1 -0
  270. package/dist/context/manifest.d.ts +16 -0
  271. package/dist/context/manifest.d.ts.map +1 -0
  272. package/dist/context/manifest.js +503 -0
  273. package/dist/context/manifest.js.map +1 -0
  274. package/dist/db/schema.d.ts +10 -1
  275. package/dist/db/schema.d.ts.map +1 -1
  276. package/dist/db/schema.js.map +1 -1
  277. package/dist/evalops/env-aliases.d.ts +13 -0
  278. package/dist/evalops/env-aliases.d.ts.map +1 -0
  279. package/dist/evalops/env-aliases.js +60 -0
  280. package/dist/evalops/env-aliases.js.map +1 -0
  281. package/dist/evalops/managed-context.d.ts.map +1 -1
  282. package/dist/evalops/managed-context.js +28 -62
  283. package/dist/evalops/managed-context.js.map +1 -1
  284. package/dist/guardian/config.d.ts.map +1 -1
  285. package/dist/guardian/config.js +1 -0
  286. package/dist/guardian/config.js.map +1 -1
  287. package/dist/guardian/runner.d.ts +2 -0
  288. package/dist/guardian/runner.d.ts.map +1 -1
  289. package/dist/guardian/runner.js +105 -2
  290. package/dist/guardian/runner.js.map +1 -1
  291. package/dist/guardian/types.d.ts +1 -0
  292. package/dist/guardian/types.d.ts.map +1 -1
  293. package/dist/guardian/types.js.map +1 -1
  294. package/dist/index.d.ts +5 -1
  295. package/dist/index.d.ts.map +1 -1
  296. package/dist/index.js +5 -1
  297. package/dist/index.js.map +1 -1
  298. package/dist/main.d.ts.map +1 -1
  299. package/dist/main.js +267 -55
  300. package/dist/main.js.map +1 -1
  301. package/dist/mcp/config.d.ts.map +1 -1
  302. package/dist/mcp/config.js +89 -7
  303. package/dist/mcp/config.js.map +1 -1
  304. package/dist/mcp/manager.d.ts +5 -1
  305. package/dist/mcp/manager.d.ts.map +1 -1
  306. package/dist/mcp/manager.js +159 -4
  307. package/dist/mcp/manager.js.map +1 -1
  308. package/dist/mcp/platform-plugin.d.ts.map +1 -1
  309. package/dist/mcp/platform-plugin.js +9 -26
  310. package/dist/mcp/platform-plugin.js.map +1 -1
  311. package/dist/mcp/schema.d.ts +15 -0
  312. package/dist/mcp/schema.d.ts.map +1 -1
  313. package/dist/mcp/schema.js +24 -0
  314. package/dist/mcp/schema.js.map +1 -1
  315. package/dist/mcp/tool-bridge.d.ts +39 -10
  316. package/dist/mcp/tool-bridge.d.ts.map +1 -1
  317. package/dist/mcp/tool-bridge.js +101 -24
  318. package/dist/mcp/tool-bridge.js.map +1 -1
  319. package/dist/mcp/types.d.ts +27 -0
  320. package/dist/mcp/types.d.ts.map +1 -1
  321. package/dist/mcp/types.js.map +1 -1
  322. package/dist/mcp/workspace-trust.d.ts +10 -0
  323. package/dist/mcp/workspace-trust.d.ts.map +1 -0
  324. package/dist/mcp/workspace-trust.js +295 -0
  325. package/dist/mcp/workspace-trust.js.map +1 -0
  326. package/dist/memory/service-client.d.ts +1 -0
  327. package/dist/memory/service-client.d.ts.map +1 -1
  328. package/dist/memory/service-client.js +194 -9
  329. package/dist/memory/service-client.js.map +1 -1
  330. package/dist/models/builtin.d.ts.map +1 -1
  331. package/dist/models/builtin.js +66 -25
  332. package/dist/models/builtin.js.map +1 -1
  333. package/dist/models/config-loader.d.ts +10 -10
  334. package/dist/models/config-loader.d.ts.map +1 -1
  335. package/dist/models/config-loader.js +2 -0
  336. package/dist/models/config-loader.js.map +1 -1
  337. package/dist/models/registry.d.ts +1 -0
  338. package/dist/models/registry.d.ts.map +1 -1
  339. package/dist/models/registry.js +1 -0
  340. package/dist/models/registry.js.map +1 -1
  341. package/dist/node_modules/@evalops/contracts/dist/advisor-effort.d.ts +8 -0
  342. package/dist/node_modules/@evalops/contracts/dist/advisor-effort.d.ts.map +1 -0
  343. package/dist/node_modules/@evalops/contracts/dist/advisor-effort.js +35 -0
  344. package/dist/node_modules/@evalops/contracts/dist/advisor-effort.js.map +1 -0
  345. package/dist/node_modules/@evalops/contracts/dist/delegation-prompt.d.ts +10 -0
  346. package/dist/node_modules/@evalops/contracts/dist/delegation-prompt.d.ts.map +1 -0
  347. package/dist/node_modules/@evalops/contracts/dist/delegation-prompt.js +48 -0
  348. package/dist/node_modules/@evalops/contracts/dist/delegation-prompt.js.map +1 -0
  349. package/dist/node_modules/@evalops/contracts/dist/guarded-files-settings.d.ts +20 -0
  350. package/dist/node_modules/@evalops/contracts/dist/guarded-files-settings.d.ts.map +1 -0
  351. package/dist/node_modules/@evalops/contracts/dist/guarded-files-settings.js +147 -0
  352. package/dist/node_modules/@evalops/contracts/dist/guarded-files-settings.js.map +1 -0
  353. package/dist/node_modules/@evalops/contracts/dist/headless-protocol-generated.d.ts +40 -0
  354. package/dist/node_modules/@evalops/contracts/dist/headless-protocol-generated.d.ts.map +1 -0
  355. package/dist/node_modules/@evalops/contracts/dist/headless-protocol-generated.js +122 -0
  356. package/dist/node_modules/@evalops/contracts/dist/headless-protocol-generated.js.map +1 -0
  357. package/dist/node_modules/@evalops/contracts/dist/headless-protocol-schemas.generated.d.ts +3273 -0
  358. package/dist/node_modules/@evalops/contracts/dist/headless-protocol-schemas.generated.d.ts.map +1 -0
  359. package/dist/node_modules/@evalops/contracts/dist/headless-protocol-schemas.generated.js +666 -0
  360. package/dist/node_modules/@evalops/contracts/dist/headless-protocol-schemas.generated.js.map +1 -0
  361. package/dist/node_modules/@evalops/contracts/dist/index.d.ts +1124 -0
  362. package/dist/node_modules/@evalops/contracts/dist/index.d.ts.map +1 -0
  363. package/dist/node_modules/@evalops/contracts/dist/index.js +65 -0
  364. package/dist/node_modules/@evalops/contracts/dist/index.js.map +1 -0
  365. package/dist/node_modules/@evalops/contracts/dist/maestro-app-server.d.ts +593 -0
  366. package/dist/node_modules/@evalops/contracts/dist/maestro-app-server.d.ts.map +1 -0
  367. package/dist/node_modules/@evalops/contracts/dist/maestro-app-server.js +218 -0
  368. package/dist/node_modules/@evalops/contracts/dist/maestro-app-server.js.map +1 -0
  369. package/dist/node_modules/@evalops/contracts/dist/proto/maestro/v1/headless_pb.d.ts +2217 -0
  370. package/dist/node_modules/@evalops/contracts/dist/proto/maestro/v1/headless_pb.d.ts.map +1 -0
  371. package/dist/node_modules/@evalops/contracts/dist/proto/maestro/v1/headless_pb.js +879 -0
  372. package/dist/node_modules/@evalops/contracts/dist/proto/maestro/v1/headless_pb.js.map +1 -0
  373. package/dist/node_modules/@evalops/contracts/dist/runtime-app-server.d.ts +185 -0
  374. package/dist/node_modules/@evalops/contracts/dist/runtime-app-server.d.ts.map +1 -0
  375. package/dist/node_modules/@evalops/contracts/dist/runtime-constraints.d.ts +28 -0
  376. package/dist/node_modules/@evalops/contracts/dist/runtime-constraints.d.ts.map +1 -0
  377. package/dist/node_modules/@evalops/contracts/dist/runtime-constraints.js +71 -0
  378. package/dist/node_modules/@evalops/contracts/dist/runtime-constraints.js.map +1 -0
  379. package/dist/node_modules/@evalops/contracts/dist/runtime-server-request.d.ts +140 -0
  380. package/dist/node_modules/@evalops/contracts/dist/runtime-server-request.d.ts.map +1 -0
  381. package/dist/node_modules/@evalops/contracts/dist/runtime-server-request.js +70 -0
  382. package/dist/node_modules/@evalops/contracts/dist/runtime-server-request.js.map +1 -0
  383. package/dist/node_modules/@evalops/contracts/dist/scenario.d.ts +191 -0
  384. package/dist/node_modules/@evalops/contracts/dist/scenario.d.ts.map +1 -0
  385. package/dist/node_modules/@evalops/contracts/dist/scenario.js +4 -0
  386. package/dist/node_modules/@evalops/contracts/dist/scenario.js.map +1 -0
  387. package/dist/node_modules/@evalops/contracts/dist/schemas.d.ts +3614 -0
  388. package/dist/node_modules/@evalops/contracts/dist/schemas.d.ts.map +1 -0
  389. package/dist/node_modules/@evalops/contracts/dist/schemas.js +1082 -0
  390. package/dist/node_modules/@evalops/contracts/dist/schemas.js.map +1 -0
  391. package/dist/node_modules/@evalops/contracts/package.json +30 -0
  392. package/dist/node_modules/@evalops/tui/package.json +58 -0
  393. package/dist/oauth/device-identity.d.ts.map +1 -1
  394. package/dist/oauth/device-identity.js +1 -3
  395. package/dist/oauth/device-identity.js.map +1 -1
  396. package/dist/oauth/evalops.d.ts.map +1 -1
  397. package/dist/oauth/evalops.js +2 -5
  398. package/dist/oauth/evalops.js.map +1 -1
  399. package/dist/opentelemetry.d.ts.map +1 -1
  400. package/dist/opentelemetry.js +12 -12
  401. package/dist/opentelemetry.js.map +1 -1
  402. package/dist/package-version.d.ts +2 -0
  403. package/dist/package-version.d.ts.map +1 -0
  404. package/dist/package-version.js +11 -0
  405. package/dist/package-version.js.map +1 -0
  406. package/dist/packages/constants.d.ts +3 -0
  407. package/dist/packages/constants.d.ts.map +1 -0
  408. package/dist/packages/constants.js +3 -0
  409. package/dist/packages/constants.js.map +1 -0
  410. package/dist/packages/inspection.d.ts.map +1 -1
  411. package/dist/packages/inspection.js +2 -1
  412. package/dist/packages/inspection.js.map +1 -1
  413. package/dist/packages/search.d.ts.map +1 -1
  414. package/dist/packages/search.js +1 -1
  415. package/dist/packages/search.js.map +1 -1
  416. package/dist/platform/a2a-capability-market.d.ts +21 -0
  417. package/dist/platform/a2a-capability-market.d.ts.map +1 -0
  418. package/dist/platform/a2a-capability-market.js +176 -0
  419. package/dist/platform/a2a-capability-market.js.map +1 -0
  420. package/dist/platform/a2a-client.d.ts +119 -0
  421. package/dist/platform/a2a-client.d.ts.map +1 -1
  422. package/dist/platform/a2a-client.js +413 -24
  423. package/dist/platform/a2a-client.js.map +1 -1
  424. package/dist/platform/a2a-fleet.d.ts +41 -0
  425. package/dist/platform/a2a-fleet.d.ts.map +1 -0
  426. package/dist/platform/a2a-fleet.js +109 -0
  427. package/dist/platform/a2a-fleet.js.map +1 -0
  428. package/dist/platform/a2a-maestro-peer.d.ts +20 -0
  429. package/dist/platform/a2a-maestro-peer.d.ts.map +1 -0
  430. package/dist/platform/a2a-maestro-peer.js +176 -0
  431. package/dist/platform/a2a-maestro-peer.js.map +1 -0
  432. package/dist/platform/a2a-peer-pairing.d.ts +107 -0
  433. package/dist/platform/a2a-peer-pairing.d.ts.map +1 -0
  434. package/dist/platform/a2a-peer-pairing.js +489 -0
  435. package/dist/platform/a2a-peer-pairing.js.map +1 -0
  436. package/dist/platform/a2a-peer-registry.d.ts +68 -0
  437. package/dist/platform/a2a-peer-registry.d.ts.map +1 -0
  438. package/dist/platform/a2a-peer-registry.js +320 -0
  439. package/dist/platform/a2a-peer-registry.js.map +1 -0
  440. package/dist/platform/a2a-task-ledger.d.ts +86 -0
  441. package/dist/platform/a2a-task-ledger.d.ts.map +1 -0
  442. package/dist/platform/a2a-task-ledger.js +546 -0
  443. package/dist/platform/a2a-task-ledger.js.map +1 -0
  444. package/dist/platform/a2a-work-graph.d.ts +43 -0
  445. package/dist/platform/a2a-work-graph.d.ts.map +1 -0
  446. package/dist/platform/a2a-work-graph.js +267 -0
  447. package/dist/platform/a2a-work-graph.js.map +1 -0
  448. package/dist/platform/agent-registry-client.d.ts +327 -0
  449. package/dist/platform/agent-registry-client.d.ts.map +1 -0
  450. package/dist/platform/agent-registry-client.js +803 -0
  451. package/dist/platform/agent-registry-client.js.map +1 -0
  452. package/dist/platform/agent-runtime-client.d.ts +135 -1
  453. package/dist/platform/agent-runtime-client.d.ts.map +1 -1
  454. package/dist/platform/agent-runtime-client.js +467 -10
  455. package/dist/platform/agent-runtime-client.js.map +1 -1
  456. package/dist/platform/cerebro-facts-client.d.ts.map +1 -1
  457. package/dist/platform/cerebro-facts-client.js +4 -7
  458. package/dist/platform/cerebro-facts-client.js.map +1 -1
  459. package/dist/platform/client.d.ts.map +1 -1
  460. package/dist/platform/client.js +3 -12
  461. package/dist/platform/client.js.map +1 -1
  462. package/dist/platform/core-services.d.ts +68 -0
  463. package/dist/platform/core-services.d.ts.map +1 -1
  464. package/dist/platform/core-services.js +68 -0
  465. package/dist/platform/core-services.js.map +1 -1
  466. package/dist/platform/fermata-eval-client.d.ts +195 -0
  467. package/dist/platform/fermata-eval-client.d.ts.map +1 -0
  468. package/dist/platform/fermata-eval-client.js +146 -0
  469. package/dist/platform/fermata-eval-client.js.map +1 -0
  470. package/dist/platform/fermata-scenario-suite.d.ts +99 -0
  471. package/dist/platform/fermata-scenario-suite.d.ts.map +1 -0
  472. package/dist/platform/fermata-scenario-suite.js +459 -0
  473. package/dist/platform/fermata-scenario-suite.js.map +1 -0
  474. package/dist/platform/maestro-timeline-client.d.ts.map +1 -1
  475. package/dist/platform/maestro-timeline-client.js +5 -11
  476. package/dist/platform/maestro-timeline-client.js.map +1 -1
  477. package/dist/platform/operating-plane-client.d.ts +156 -0
  478. package/dist/platform/operating-plane-client.d.ts.map +1 -0
  479. package/dist/platform/operating-plane-client.js +131 -0
  480. package/dist/platform/operating-plane-client.js.map +1 -0
  481. package/dist/platform/operating-plane-summary.d.ts +47 -0
  482. package/dist/platform/operating-plane-summary.d.ts.map +1 -0
  483. package/dist/platform/operating-plane-summary.js +209 -0
  484. package/dist/platform/operating-plane-summary.js.map +1 -0
  485. package/dist/platform/tool-execution-client.d.ts.map +1 -1
  486. package/dist/platform/tool-execution-client.js +4 -11
  487. package/dist/platform/tool-execution-client.js.map +1 -1
  488. package/dist/prompts/service-client.d.ts.map +1 -1
  489. package/dist/prompts/service-client.js +3 -5
  490. package/dist/prompts/service-client.js.map +1 -1
  491. package/dist/prompts/system-prompt.d.ts +3 -0
  492. package/dist/prompts/system-prompt.d.ts.map +1 -1
  493. package/dist/prompts/system-prompt.js +13 -3
  494. package/dist/prompts/system-prompt.js.map +1 -1
  495. package/dist/prompts/types.d.ts +2 -0
  496. package/dist/prompts/types.d.ts.map +1 -1
  497. package/dist/prompts/types.js.map +1 -1
  498. package/dist/providers/api-keys.d.ts +1 -1
  499. package/dist/providers/api-keys.d.ts.map +1 -1
  500. package/dist/providers/api-keys.js +2 -1
  501. package/dist/providers/api-keys.js.map +1 -1
  502. package/dist/providers/auth.d.ts.map +1 -1
  503. package/dist/providers/auth.js +48 -25
  504. package/dist/providers/auth.js.map +1 -1
  505. package/dist/remote-runner/attach-client.d.ts.map +1 -1
  506. package/dist/remote-runner/attach-client.js +1 -0
  507. package/dist/remote-runner/attach-client.js.map +1 -1
  508. package/dist/remote-runner/client.d.ts.map +1 -1
  509. package/dist/remote-runner/client.js +4 -7
  510. package/dist/remote-runner/client.js.map +1 -1
  511. package/dist/rpc/rpc-types.d.ts.map +1 -1
  512. package/dist/rpc/rpc-types.js +1 -0
  513. package/dist/rpc/rpc-types.js.map +1 -1
  514. package/dist/safety/action-firewall.d.ts.map +1 -1
  515. package/dist/safety/action-firewall.js +69 -6
  516. package/dist/safety/action-firewall.js.map +1 -1
  517. package/dist/safety/attack-patterns.d.ts.map +1 -1
  518. package/dist/safety/attack-patterns.js +31 -14
  519. package/dist/safety/attack-patterns.js.map +1 -1
  520. package/dist/safety/bash-parser.d.ts.map +1 -1
  521. package/dist/safety/bash-parser.js +4 -3
  522. package/dist/safety/bash-parser.js.map +1 -1
  523. package/dist/safety/execpolicy.d.ts +15 -3
  524. package/dist/safety/execpolicy.d.ts.map +1 -1
  525. package/dist/safety/execpolicy.js +248 -37
  526. package/dist/safety/execpolicy.js.map +1 -1
  527. package/dist/safety/governance-service-client.d.ts.map +1 -1
  528. package/dist/safety/governance-service-client.js +4 -7
  529. package/dist/safety/governance-service-client.js.map +1 -1
  530. package/dist/safety/guarded-files.d.ts +34 -0
  531. package/dist/safety/guarded-files.d.ts.map +1 -0
  532. package/dist/safety/guarded-files.js +372 -0
  533. package/dist/safety/guarded-files.js.map +1 -0
  534. package/dist/safety/loop-detector.d.ts.map +1 -1
  535. package/dist/safety/loop-detector.js +6 -1
  536. package/dist/safety/loop-detector.js.map +1 -1
  537. package/dist/safety/permission-profile.d.ts +47 -0
  538. package/dist/safety/permission-profile.d.ts.map +1 -0
  539. package/dist/safety/permission-profile.js +349 -0
  540. package/dist/safety/permission-profile.js.map +1 -0
  541. package/dist/safety/safety-middleware.d.ts +5 -1
  542. package/dist/safety/safety-middleware.d.ts.map +1 -1
  543. package/dist/safety/safety-middleware.js +3 -2
  544. package/dist/safety/safety-middleware.js.map +1 -1
  545. package/dist/safety/suspicious-patterns.d.ts.map +1 -1
  546. package/dist/safety/suspicious-patterns.js +12 -7
  547. package/dist/safety/suspicious-patterns.js.map +1 -1
  548. package/dist/safety/tool-categorization.js +1 -1
  549. package/dist/safety/tool-categorization.js.map +1 -1
  550. package/dist/safety/validators/path-policy-validator.d.ts.map +1 -1
  551. package/dist/safety/validators/path-policy-validator.js +7 -0
  552. package/dist/safety/validators/path-policy-validator.js.map +1 -1
  553. package/dist/sandbox/index.d.ts +6 -1
  554. package/dist/sandbox/index.d.ts.map +1 -1
  555. package/dist/sandbox/index.js +30 -4
  556. package/dist/sandbox/index.js.map +1 -1
  557. package/dist/sandbox/native-sandbox.d.ts +3 -0
  558. package/dist/sandbox/native-sandbox.d.ts.map +1 -1
  559. package/dist/sandbox/native-sandbox.js +139 -18
  560. package/dist/sandbox/native-sandbox.js.map +1 -1
  561. package/dist/sentry.d.ts +17 -0
  562. package/dist/sentry.d.ts.map +1 -0
  563. package/dist/sentry.js +91 -0
  564. package/dist/sentry.js.map +1 -0
  565. package/dist/server/agent-runtime-ledger.d.ts +141 -0
  566. package/dist/server/agent-runtime-ledger.d.ts.map +1 -0
  567. package/dist/server/agent-runtime-ledger.js +334 -0
  568. package/dist/server/agent-runtime-ledger.js.map +1 -0
  569. package/dist/server/agent-trajectory-inspection.d.ts +104 -0
  570. package/dist/server/agent-trajectory-inspection.d.ts.map +1 -0
  571. package/dist/server/agent-trajectory-inspection.js +168 -0
  572. package/dist/server/agent-trajectory-inspection.js.map +1 -0
  573. package/dist/server/agent-trajectory-replay.d.ts +56 -0
  574. package/dist/server/agent-trajectory-replay.d.ts.map +1 -0
  575. package/dist/server/agent-trajectory-replay.js +214 -0
  576. package/dist/server/agent-trajectory-replay.js.map +1 -0
  577. package/dist/server/agent-trajectory-scenarios.d.ts +109 -0
  578. package/dist/server/agent-trajectory-scenarios.d.ts.map +1 -0
  579. package/dist/server/agent-trajectory-scenarios.js +822 -0
  580. package/dist/server/agent-trajectory-scenarios.js.map +1 -0
  581. package/dist/server/agent-trajectory-scorers.d.ts +61 -0
  582. package/dist/server/agent-trajectory-scorers.d.ts.map +1 -0
  583. package/dist/server/agent-trajectory-scorers.js +162 -0
  584. package/dist/server/agent-trajectory-scorers.js.map +1 -0
  585. package/dist/server/agent-trajectory-validation.d.ts +7 -0
  586. package/dist/server/agent-trajectory-validation.d.ts.map +1 -0
  587. package/dist/server/agent-trajectory-validation.js +101 -0
  588. package/dist/server/agent-trajectory-validation.js.map +1 -0
  589. package/dist/server/agent-trajectory.d.ts +50 -0
  590. package/dist/server/agent-trajectory.d.ts.map +1 -0
  591. package/dist/server/agent-trajectory.js +159 -0
  592. package/dist/server/agent-trajectory.js.map +1 -0
  593. package/dist/server/app-context.d.ts +18 -0
  594. package/dist/server/app-context.d.ts.map +1 -1
  595. package/dist/server/app-context.js.map +1 -1
  596. package/dist/server/handlers/headless-sessions.d.ts.map +1 -1
  597. package/dist/server/handlers/headless-sessions.js +64 -27
  598. package/dist/server/handlers/headless-sessions.js.map +1 -1
  599. package/dist/server/handlers/health.d.ts +6 -0
  600. package/dist/server/handlers/health.d.ts.map +1 -1
  601. package/dist/server/handlers/health.js +6 -0
  602. package/dist/server/handlers/health.js.map +1 -1
  603. package/dist/server/handlers/hosted-runner-drain.d.ts +69 -1
  604. package/dist/server/handlers/hosted-runner-drain.d.ts.map +1 -1
  605. package/dist/server/handlers/hosted-runner-drain.js +309 -18
  606. package/dist/server/handlers/hosted-runner-drain.js.map +1 -1
  607. package/dist/server/handlers/hosted-runner-identity.d.ts +16 -0
  608. package/dist/server/handlers/hosted-runner-identity.d.ts.map +1 -1
  609. package/dist/server/handlers/hosted-runner-identity.js +43 -0
  610. package/dist/server/handlers/hosted-runner-identity.js.map +1 -1
  611. package/dist/server/handlers/mode.d.ts.map +1 -1
  612. package/dist/server/handlers/mode.js +3 -1
  613. package/dist/server/handlers/mode.js.map +1 -1
  614. package/dist/server/handlers/pending-requests.d.ts.map +1 -1
  615. package/dist/server/handlers/pending-requests.js +336 -51
  616. package/dist/server/handlers/pending-requests.js.map +1 -1
  617. package/dist/server/handlers/platform-a2a-push.d.ts +6 -0
  618. package/dist/server/handlers/platform-a2a-push.d.ts.map +1 -0
  619. package/dist/server/handlers/platform-a2a-push.js +136 -0
  620. package/dist/server/handlers/platform-a2a-push.js.map +1 -0
  621. package/dist/server/handlers/sessions.d.ts.map +1 -1
  622. package/dist/server/handlers/sessions.js +21 -1
  623. package/dist/server/handlers/sessions.js.map +1 -1
  624. package/dist/server/headless-runtime-service.d.ts +9 -2
  625. package/dist/server/headless-runtime-service.d.ts.map +1 -1
  626. package/dist/server/headless-runtime-service.js +39 -0
  627. package/dist/server/headless-runtime-service.js.map +1 -1
  628. package/dist/server/hosted-agent-runtime-progress.d.ts +144 -0
  629. package/dist/server/hosted-agent-runtime-progress.d.ts.map +1 -0
  630. package/dist/server/hosted-agent-runtime-progress.js +1650 -0
  631. package/dist/server/hosted-agent-runtime-progress.js.map +1 -0
  632. package/dist/server/hosted-runner-lease.d.ts +41 -0
  633. package/dist/server/hosted-runner-lease.d.ts.map +1 -0
  634. package/dist/server/hosted-runner-lease.js +140 -0
  635. package/dist/server/hosted-runner-lease.js.map +1 -0
  636. package/dist/server/hosted-session-manager.d.ts +16 -8
  637. package/dist/server/hosted-session-manager.d.ts.map +1 -1
  638. package/dist/server/hosted-session-manager.js +98 -76
  639. package/dist/server/hosted-session-manager.js.map +1 -1
  640. package/dist/server/junit-xml.d.ts +2 -0
  641. package/dist/server/junit-xml.d.ts.map +1 -0
  642. package/dist/server/junit-xml.js +9 -0
  643. package/dist/server/junit-xml.js.map +1 -0
  644. package/dist/server/routes.d.ts.map +1 -1
  645. package/dist/server/routes.js +6 -0
  646. package/dist/server/routes.js.map +1 -1
  647. package/dist/server/scenario-recorder.d.ts +56 -0
  648. package/dist/server/scenario-recorder.d.ts.map +1 -0
  649. package/dist/server/scenario-recorder.js +109 -0
  650. package/dist/server/scenario-recorder.js.map +1 -0
  651. package/dist/server/scripted-scenario-runner.d.ts +46 -0
  652. package/dist/server/scripted-scenario-runner.d.ts.map +1 -0
  653. package/dist/server/scripted-scenario-runner.js +190 -0
  654. package/dist/server/scripted-scenario-runner.js.map +1 -0
  655. package/dist/server/server-middlewares.d.ts +6 -2
  656. package/dist/server/server-middlewares.d.ts.map +1 -1
  657. package/dist/server/server-middlewares.js +8 -2
  658. package/dist/server/server-middlewares.js.map +1 -1
  659. package/dist/server/server-request-manager.d.ts +9 -1
  660. package/dist/server/server-request-manager.d.ts.map +1 -1
  661. package/dist/server/server-request-manager.js +49 -4
  662. package/dist/server/server-request-manager.js.map +1 -1
  663. package/dist/services/intelligent-router/service.d.ts +2 -0
  664. package/dist/services/intelligent-router/service.d.ts.map +1 -1
  665. package/dist/services/intelligent-router/service.js +4 -0
  666. package/dist/services/intelligent-router/service.js.map +1 -1
  667. package/dist/services/service-authority.d.ts +25 -0
  668. package/dist/services/service-authority.d.ts.map +1 -0
  669. package/dist/services/service-authority.js +143 -0
  670. package/dist/services/service-authority.js.map +1 -0
  671. package/dist/services/workspace-config/service.d.ts +2 -0
  672. package/dist/services/workspace-config/service.d.ts.map +1 -1
  673. package/dist/services/workspace-config/service.js +4 -0
  674. package/dist/services/workspace-config/service.js.map +1 -1
  675. package/dist/session/manager.d.ts +8 -2
  676. package/dist/session/manager.d.ts.map +1 -1
  677. package/dist/session/manager.js +19 -4
  678. package/dist/session/manager.js.map +1 -1
  679. package/dist/session/session-branch.d.ts.map +1 -1
  680. package/dist/session/session-branch.js +5 -1
  681. package/dist/session/session-branch.js.map +1 -1
  682. package/dist/session/session-catalog.d.ts +7 -2
  683. package/dist/session/session-catalog.d.ts.map +1 -1
  684. package/dist/session/session-catalog.js +13 -2
  685. package/dist/session/session-catalog.js.map +1 -1
  686. package/dist/session/session-context.d.ts +6 -2
  687. package/dist/session/session-context.d.ts.map +1 -1
  688. package/dist/session/session-context.js +44 -4
  689. package/dist/session/session-context.js.map +1 -1
  690. package/dist/session/session-graph-projection.d.ts +32 -0
  691. package/dist/session/session-graph-projection.d.ts.map +1 -0
  692. package/dist/session/session-graph-projection.js +133 -0
  693. package/dist/session/session-graph-projection.js.map +1 -0
  694. package/dist/session/types.d.ts +18 -0
  695. package/dist/session/types.d.ts.map +1 -1
  696. package/dist/session/types.js +8 -0
  697. package/dist/session/types.js.map +1 -1
  698. package/dist/session/wire-format.generated.d.ts +3 -0
  699. package/dist/session/wire-format.generated.d.ts.map +1 -1
  700. package/dist/session/wire-format.generated.js +20 -0
  701. package/dist/session/wire-format.generated.js.map +1 -1
  702. package/dist/skills/eval-harness.d.ts +38 -0
  703. package/dist/skills/eval-harness.d.ts.map +1 -0
  704. package/dist/skills/eval-harness.js +112 -0
  705. package/dist/skills/eval-harness.js.map +1 -0
  706. package/dist/skills/index.d.ts +5 -1
  707. package/dist/skills/index.d.ts.map +1 -1
  708. package/dist/skills/index.js +5 -1
  709. package/dist/skills/index.js.map +1 -1
  710. package/dist/skills/linter.d.ts +36 -0
  711. package/dist/skills/linter.d.ts.map +1 -0
  712. package/dist/skills/linter.js +398 -0
  713. package/dist/skills/linter.js.map +1 -0
  714. package/dist/skills/loader.d.ts +36 -6
  715. package/dist/skills/loader.d.ts.map +1 -1
  716. package/dist/skills/loader.js +169 -86
  717. package/dist/skills/loader.js.map +1 -1
  718. package/dist/skills/package-contract.d.ts +45 -0
  719. package/dist/skills/package-contract.d.ts.map +1 -0
  720. package/dist/skills/package-contract.js +153 -0
  721. package/dist/skills/package-contract.js.map +1 -0
  722. package/dist/skills/runtime-activation.d.ts +68 -0
  723. package/dist/skills/runtime-activation.d.ts.map +1 -0
  724. package/dist/skills/runtime-activation.js +228 -0
  725. package/dist/skills/runtime-activation.js.map +1 -0
  726. package/dist/skills/service-client.d.ts.map +1 -1
  727. package/dist/skills/service-client.js +3 -4
  728. package/dist/skills/service-client.js.map +1 -1
  729. package/dist/skills/tool.d.ts.map +1 -1
  730. package/dist/skills/tool.js +2 -0
  731. package/dist/skills/tool.js.map +1 -1
  732. package/dist/skills/types.d.ts +14 -0
  733. package/dist/skills/types.d.ts.map +1 -1
  734. package/dist/skills/types.js.map +1 -1
  735. package/dist/telemetry/agent-operating-plane-context.d.ts +24 -0
  736. package/dist/telemetry/agent-operating-plane-context.d.ts.map +1 -0
  737. package/dist/telemetry/agent-operating-plane-context.js +54 -0
  738. package/dist/telemetry/agent-operating-plane-context.js.map +1 -0
  739. package/dist/telemetry/beacon.d.ts +24 -0
  740. package/dist/telemetry/beacon.d.ts.map +1 -0
  741. package/dist/telemetry/beacon.js +115 -0
  742. package/dist/telemetry/beacon.js.map +1 -0
  743. package/dist/telemetry/cli-command-aggregator.d.ts +36 -0
  744. package/dist/telemetry/cli-command-aggregator.d.ts.map +1 -0
  745. package/dist/telemetry/cli-command-aggregator.js +251 -0
  746. package/dist/telemetry/cli-command-aggregator.js.map +1 -0
  747. package/dist/telemetry/cli-startup.d.ts +21 -0
  748. package/dist/telemetry/cli-startup.d.ts.map +1 -0
  749. package/dist/telemetry/cli-startup.js +83 -0
  750. package/dist/telemetry/cli-startup.js.map +1 -0
  751. package/dist/telemetry/disablement.d.ts +13 -0
  752. package/dist/telemetry/disablement.d.ts.map +1 -0
  753. package/dist/telemetry/disablement.js +19 -0
  754. package/dist/telemetry/disablement.js.map +1 -0
  755. package/dist/telemetry/index.d.ts +6 -2
  756. package/dist/telemetry/index.d.ts.map +1 -1
  757. package/dist/telemetry/index.js +6 -2
  758. package/dist/telemetry/index.js.map +1 -1
  759. package/dist/telemetry/maestro-event-bus.d.ts +52 -0
  760. package/dist/telemetry/maestro-event-bus.d.ts.map +1 -1
  761. package/dist/telemetry/maestro-event-bus.js +179 -3
  762. package/dist/telemetry/maestro-event-bus.js.map +1 -1
  763. package/dist/telemetry/maestro-event-catalog.d.ts +3 -1
  764. package/dist/telemetry/maestro-event-catalog.d.ts.map +1 -1
  765. package/dist/telemetry/maestro-event-catalog.js +2 -0
  766. package/dist/telemetry/maestro-event-catalog.js.map +1 -1
  767. package/dist/telemetry/maestro-platform-replay-fixture.d.ts.map +1 -1
  768. package/dist/telemetry/maestro-platform-replay-fixture.js +74 -9
  769. package/dist/telemetry/maestro-platform-replay-fixture.js.map +1 -1
  770. package/dist/telemetry/maestro-publisher-conformance-fixture.d.ts +1 -1
  771. package/dist/telemetry/maestro-publisher-conformance-fixture.d.ts.map +1 -1
  772. package/dist/telemetry/maestro-publisher-conformance-fixture.js +46 -11
  773. package/dist/telemetry/maestro-publisher-conformance-fixture.js.map +1 -1
  774. package/dist/telemetry/mcp-beacon.d.ts +20 -0
  775. package/dist/telemetry/mcp-beacon.d.ts.map +1 -0
  776. package/dist/telemetry/mcp-beacon.js +54 -0
  777. package/dist/telemetry/mcp-beacon.js.map +1 -0
  778. package/dist/telemetry/metadata-normalization.d.ts +7 -0
  779. package/dist/telemetry/metadata-normalization.d.ts.map +1 -0
  780. package/dist/telemetry/metadata-normalization.js +189 -0
  781. package/dist/telemetry/metadata-normalization.js.map +1 -0
  782. package/dist/telemetry/meter-service-client.d.ts.map +1 -1
  783. package/dist/telemetry/meter-service-client.js +5 -10
  784. package/dist/telemetry/meter-service-client.js.map +1 -1
  785. package/dist/telemetry/metrics.d.ts +123 -0
  786. package/dist/telemetry/metrics.d.ts.map +1 -0
  787. package/dist/telemetry/metrics.js +184 -0
  788. package/dist/telemetry/metrics.js.map +1 -0
  789. package/dist/telemetry/turn-tracker.d.ts +1 -0
  790. package/dist/telemetry/turn-tracker.d.ts.map +1 -1
  791. package/dist/telemetry/turn-tracker.js +22 -1
  792. package/dist/telemetry/turn-tracker.js.map +1 -1
  793. package/dist/telemetry/wide-events.d.ts +31 -1
  794. package/dist/telemetry/wide-events.d.ts.map +1 -1
  795. package/dist/telemetry/wide-events.js +229 -1
  796. package/dist/telemetry/wide-events.js.map +1 -1
  797. package/dist/telemetry.d.ts +39 -3
  798. package/dist/telemetry.d.ts.map +1 -1
  799. package/dist/telemetry.js +160 -3
  800. package/dist/telemetry.js.map +1 -1
  801. package/dist/testing/test-verification-hook.d.ts.map +1 -1
  802. package/dist/testing/test-verification-hook.js +34 -21
  803. package/dist/testing/test-verification-hook.js.map +1 -1
  804. package/dist/tools/apply-patch-parser.d.ts +26 -0
  805. package/dist/tools/apply-patch-parser.d.ts.map +1 -0
  806. package/dist/tools/apply-patch-parser.js +146 -0
  807. package/dist/tools/apply-patch-parser.js.map +1 -0
  808. package/dist/tools/apply-patch.d.ts +42 -0
  809. package/dist/tools/apply-patch.d.ts.map +1 -0
  810. package/dist/tools/apply-patch.js +648 -0
  811. package/dist/tools/apply-patch.js.map +1 -0
  812. package/dist/tools/ask-user.d.ts +1 -0
  813. package/dist/tools/ask-user.d.ts.map +1 -1
  814. package/dist/tools/background/tool-handler.d.ts +1 -0
  815. package/dist/tools/background/tool-handler.d.ts.map +1 -1
  816. package/dist/tools/bash.d.ts +1 -0
  817. package/dist/tools/bash.d.ts.map +1 -1
  818. package/dist/tools/codesearch.d.ts +1 -0
  819. package/dist/tools/codesearch.d.ts.map +1 -1
  820. package/dist/tools/conductor-client.d.ts +1 -0
  821. package/dist/tools/conductor-client.d.ts.map +1 -1
  822. package/dist/tools/conductor-client.js +63 -0
  823. package/dist/tools/conductor-client.js.map +1 -1
  824. package/dist/tools/diff.d.ts +1 -0
  825. package/dist/tools/diff.d.ts.map +1 -1
  826. package/dist/tools/edit.d.ts +1 -0
  827. package/dist/tools/edit.d.ts.map +1 -1
  828. package/dist/tools/extract-document.d.ts +1 -0
  829. package/dist/tools/extract-document.d.ts.map +1 -1
  830. package/dist/tools/find.d.ts +10 -0
  831. package/dist/tools/find.d.ts.map +1 -1
  832. package/dist/tools/find.js +236 -27
  833. package/dist/tools/find.js.map +1 -1
  834. package/dist/tools/gh.d.ts +3 -0
  835. package/dist/tools/gh.d.ts.map +1 -1
  836. package/dist/tools/index.d.ts +50 -0
  837. package/dist/tools/index.d.ts.map +1 -1
  838. package/dist/tools/index.js +4 -0
  839. package/dist/tools/index.js.map +1 -1
  840. package/dist/tools/list.d.ts +1 -0
  841. package/dist/tools/list.d.ts.map +1 -1
  842. package/dist/tools/notebook.d.ts +1 -0
  843. package/dist/tools/notebook.d.ts.map +1 -1
  844. package/dist/tools/oracle.d.ts +1 -0
  845. package/dist/tools/oracle.d.ts.map +1 -1
  846. package/dist/tools/oracle.js +17 -32
  847. package/dist/tools/oracle.js.map +1 -1
  848. package/dist/tools/parallel-execution.d.ts +13 -2
  849. package/dist/tools/parallel-execution.d.ts.map +1 -1
  850. package/dist/tools/parallel-execution.js +178 -7
  851. package/dist/tools/parallel-execution.js.map +1 -1
  852. package/dist/tools/parallel-ripgrep.d.ts +1 -0
  853. package/dist/tools/parallel-ripgrep.d.ts.map +1 -1
  854. package/dist/tools/pipeline.d.ts +4 -0
  855. package/dist/tools/pipeline.d.ts.map +1 -1
  856. package/dist/tools/read.d.ts +1 -0
  857. package/dist/tools/read.d.ts.map +1 -1
  858. package/dist/tools/search.d.ts +1 -0
  859. package/dist/tools/search.d.ts.map +1 -1
  860. package/dist/tools/status.d.ts +1 -0
  861. package/dist/tools/status.d.ts.map +1 -1
  862. package/dist/tools/todo.d.ts +1 -0
  863. package/dist/tools/todo.d.ts.map +1 -1
  864. package/dist/tools/tool-dsl.d.ts +5 -1
  865. package/dist/tools/tool-dsl.d.ts.map +1 -1
  866. package/dist/tools/tool-dsl.js +1 -0
  867. package/dist/tools/tool-dsl.js.map +1 -1
  868. package/dist/tools/tool-result-cache.d.ts.map +1 -1
  869. package/dist/tools/tool-result-cache.js +1 -0
  870. package/dist/tools/tool-result-cache.js.map +1 -1
  871. package/dist/tools/typebox-tool.d.ts.map +1 -1
  872. package/dist/tools/typebox-tool.js +3 -0
  873. package/dist/tools/typebox-tool.js.map +1 -1
  874. package/dist/tools/webfetch.d.ts +1 -0
  875. package/dist/tools/webfetch.d.ts.map +1 -1
  876. package/dist/tools/websearch.d.ts +1 -0
  877. package/dist/tools/websearch.d.ts.map +1 -1
  878. package/dist/tools/write.d.ts +1 -0
  879. package/dist/tools/write.d.ts.map +1 -1
  880. package/dist/utils/abort-error.d.ts +2 -0
  881. package/dist/utils/abort-error.d.ts.map +1 -0
  882. package/dist/utils/abort-error.js +7 -0
  883. package/dist/utils/abort-error.js.map +1 -0
  884. package/dist/utils/downstream.d.ts.map +1 -1
  885. package/dist/utils/downstream.js +4 -0
  886. package/dist/utils/downstream.js.map +1 -1
  887. package/dist/utils/logger.d.ts +3 -0
  888. package/dist/utils/logger.d.ts.map +1 -1
  889. package/dist/utils/logger.js +14 -3
  890. package/dist/utils/logger.js.map +1 -1
  891. package/dist/utils/path-containment.d.ts +2 -0
  892. package/dist/utils/path-containment.d.ts.map +1 -0
  893. package/dist/utils/path-containment.js +14 -0
  894. package/dist/utils/path-containment.js.map +1 -0
  895. package/dist/utils/prompt-safe-text.d.ts +7 -0
  896. package/dist/utils/prompt-safe-text.d.ts.map +1 -0
  897. package/dist/utils/prompt-safe-text.js +44 -0
  898. package/dist/utils/prompt-safe-text.js.map +1 -0
  899. package/dist/version.json +2 -2
  900. package/dist/web-server.d.ts.map +1 -1
  901. package/dist/web-server.js +32 -7
  902. package/dist/web-server.js.map +1 -1
  903. package/dist/workspace/root-resolver.d.ts +4 -1
  904. package/dist/workspace/root-resolver.d.ts.map +1 -1
  905. package/dist/workspace/root-resolver.js +16 -6
  906. package/dist/workspace/root-resolver.js.map +1 -1
  907. package/package.json +283 -248
  908. package/skills/incident-triage/SKILL.md +40 -0
  909. package/skills/incident-triage/mcp.json +14 -0
  910. package/skills/incident-triage/reference/triage.md +20 -0
  911. package/skills/incident-triage/toolbox/incident-timeline +22 -0
  912. package/skills/incident-triage/toolbox/incident-timeline.cmd +16 -0
  913. package/skills/pr-review/SKILL.md +40 -0
  914. package/skills/pr-review/mcp.json +14 -0
  915. package/skills/pr-review/reference/rubric.md +20 -0
  916. package/skills/pr-review/toolbox/review-summary +20 -0
  917. package/skills/pr-review/toolbox/review-summary.cmd +14 -0
  918. package/skills/release-verification/SKILL.md +40 -0
  919. package/skills/release-verification/mcp.json +15 -0
  920. package/skills/release-verification/reference/checklist.md +21 -0
  921. package/skills/release-verification/toolbox/release-readiness +18 -0
  922. package/skills/release-verification/toolbox/release-readiness.cmd +12 -0
  923. package/node_modules/@bufbuild/protobuf/README.md +0 -44
  924. package/node_modules/@bufbuild/protobuf/dist/cjs/clone.d.ts +0 -6
  925. package/node_modules/@bufbuild/protobuf/dist/cjs/clone.js +0 -66
  926. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/enum.d.ts +0 -10
  927. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/enum.js +0 -31
  928. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/extension.d.ts +0 -9
  929. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/extension.js +0 -28
  930. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/file.d.ts +0 -1
  931. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/file.js +0 -18
  932. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/index.d.ts +0 -10
  933. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/index.js +0 -39
  934. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/message.d.ts +0 -10
  935. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/message.js +0 -24
  936. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/service.d.ts +0 -8
  937. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/service.js +0 -27
  938. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/symbols.d.ts +0 -135
  939. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/symbols.js +0 -43
  940. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/types.d.ts +0 -75
  941. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv1/types.js +0 -22
  942. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/boot.d.ts +0 -63
  943. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/boot.js +0 -105
  944. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/embed.d.ts +0 -43
  945. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/embed.js +0 -244
  946. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/enum.d.ts +0 -18
  947. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/enum.js +0 -40
  948. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/extension.d.ts +0 -9
  949. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/extension.js +0 -28
  950. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/file.d.ts +0 -7
  951. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/file.js +0 -35
  952. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/index.d.ts +0 -10
  953. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/index.js +0 -39
  954. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/message.d.ts +0 -15
  955. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/message.js +0 -24
  956. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/restore-json-names.d.ts +0 -5
  957. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/restore-json-names.js +0 -29
  958. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/scalar.d.ts +0 -9
  959. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/scalar.js +0 -67
  960. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/service.d.ts +0 -8
  961. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/service.js +0 -27
  962. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/symbols.d.ts +0 -135
  963. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/symbols.js +0 -72
  964. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/types.d.ts +0 -81
  965. package/node_modules/@bufbuild/protobuf/dist/cjs/codegenv2/types.js +0 -22
  966. package/node_modules/@bufbuild/protobuf/dist/cjs/create.d.ts +0 -9
  967. package/node_modules/@bufbuild/protobuf/dist/cjs/create.js +0 -259
  968. package/node_modules/@bufbuild/protobuf/dist/cjs/descriptors.d.ts +0 -634
  969. package/node_modules/@bufbuild/protobuf/dist/cjs/descriptors.js +0 -53
  970. package/node_modules/@bufbuild/protobuf/dist/cjs/equals.d.ts +0 -41
  971. package/node_modules/@bufbuild/protobuf/dist/cjs/equals.js +0 -204
  972. package/node_modules/@bufbuild/protobuf/dist/cjs/extensions.d.ts +0 -59
  973. package/node_modules/@bufbuild/protobuf/dist/cjs/extensions.js +0 -169
  974. package/node_modules/@bufbuild/protobuf/dist/cjs/fields.d.ts +0 -23
  975. package/node_modules/@bufbuild/protobuf/dist/cjs/fields.js +0 -45
  976. package/node_modules/@bufbuild/protobuf/dist/cjs/from-binary.d.ts +0 -34
  977. package/node_modules/@bufbuild/protobuf/dist/cjs/from-binary.js +0 -241
  978. package/node_modules/@bufbuild/protobuf/dist/cjs/from-json.d.ts +0 -56
  979. package/node_modules/@bufbuild/protobuf/dist/cjs/from-json.js +0 -619
  980. package/node_modules/@bufbuild/protobuf/dist/cjs/index.d.ts +0 -18
  981. package/node_modules/@bufbuild/protobuf/dist/cjs/index.js +0 -54
  982. package/node_modules/@bufbuild/protobuf/dist/cjs/is-message.d.ts +0 -7
  983. package/node_modules/@bufbuild/protobuf/dist/cjs/is-message.js +0 -33
  984. package/node_modules/@bufbuild/protobuf/dist/cjs/json-value.d.ts +0 -16
  985. package/node_modules/@bufbuild/protobuf/dist/cjs/json-value.js +0 -15
  986. package/node_modules/@bufbuild/protobuf/dist/cjs/merge.d.ts +0 -13
  987. package/node_modules/@bufbuild/protobuf/dist/cjs/merge.js +0 -70
  988. package/node_modules/@bufbuild/protobuf/dist/cjs/package.json +0 -1
  989. package/node_modules/@bufbuild/protobuf/dist/cjs/proto-int64.d.ts +0 -98
  990. package/node_modules/@bufbuild/protobuf/dist/cjs/proto-int64.js +0 -130
  991. package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/error.d.ts +0 -9
  992. package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/error.js +0 -36
  993. package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/guard.d.ts +0 -20
  994. package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/guard.js +0 -78
  995. package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/index.d.ts +0 -8
  996. package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/index.js +0 -41
  997. package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/names.d.ts +0 -30
  998. package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/names.js +0 -115
  999. package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/nested-types.d.ts +0 -35
  1000. package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/nested-types.js +0 -110
  1001. package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/path.d.ts +0 -107
  1002. package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/path.js +0 -376
  1003. package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect-check.d.ts +0 -19
  1004. package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect-check.js +0 -266
  1005. package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect-types.d.ts +0 -217
  1006. package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect-types.js +0 -16
  1007. package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect.d.ts +0 -43
  1008. package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/reflect.js +0 -545
  1009. package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/scalar.d.ts +0 -21
  1010. package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/scalar.js +0 -102
  1011. package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/unsafe.d.ts +0 -39
  1012. package/node_modules/@bufbuild/protobuf/dist/cjs/reflect/unsafe.js +0 -149
  1013. package/node_modules/@bufbuild/protobuf/dist/cjs/registry.d.ts +0 -98
  1014. package/node_modules/@bufbuild/protobuf/dist/cjs/registry.js +0 -945
  1015. package/node_modules/@bufbuild/protobuf/dist/cjs/to-binary.d.ts +0 -24
  1016. package/node_modules/@bufbuild/protobuf/dist/cjs/to-binary.js +0 -199
  1017. package/node_modules/@bufbuild/protobuf/dist/cjs/to-json.d.ts +0 -67
  1018. package/node_modules/@bufbuild/protobuf/dist/cjs/to-json.js +0 -391
  1019. package/node_modules/@bufbuild/protobuf/dist/cjs/types.d.ts +0 -128
  1020. package/node_modules/@bufbuild/protobuf/dist/cjs/types.js +0 -15
  1021. package/node_modules/@bufbuild/protobuf/dist/cjs/wire/base64-encoding.d.ts +0 -23
  1022. package/node_modules/@bufbuild/protobuf/dist/cjs/wire/base64-encoding.js +0 -156
  1023. package/node_modules/@bufbuild/protobuf/dist/cjs/wire/binary-encoding.d.ts +0 -266
  1024. package/node_modules/@bufbuild/protobuf/dist/cjs/wire/binary-encoding.js +0 -525
  1025. package/node_modules/@bufbuild/protobuf/dist/cjs/wire/index.d.ts +0 -5
  1026. package/node_modules/@bufbuild/protobuf/dist/cjs/wire/index.js +0 -34
  1027. package/node_modules/@bufbuild/protobuf/dist/cjs/wire/size-delimited.d.ts +0 -51
  1028. package/node_modules/@bufbuild/protobuf/dist/cjs/wire/size-delimited.js +0 -153
  1029. package/node_modules/@bufbuild/protobuf/dist/cjs/wire/text-encoding.d.ts +0 -28
  1030. package/node_modules/@bufbuild/protobuf/dist/cjs/wire/text-encoding.js +0 -61
  1031. package/node_modules/@bufbuild/protobuf/dist/cjs/wire/text-format.d.ts +0 -13
  1032. package/node_modules/@bufbuild/protobuf/dist/cjs/wire/text-format.js +0 -199
  1033. package/node_modules/@bufbuild/protobuf/dist/cjs/wire/varint.d.ts +0 -70
  1034. package/node_modules/@bufbuild/protobuf/dist/cjs/wire/varint.js +0 -322
  1035. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/any.d.ts +0 -38
  1036. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/any.js +0 -75
  1037. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/duration.d.ts +0 -9
  1038. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/duration.js +0 -39
  1039. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/any_pb.d.ts +0 -238
  1040. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/any_pb.js +0 -27
  1041. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/api_pb.d.ts +0 -537
  1042. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/api_pb.js +0 -39
  1043. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/compiler/plugin_pb.d.ts +0 -490
  1044. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/compiler/plugin_pb.js +0 -68
  1045. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/cpp_features_pb.d.ts +0 -91
  1046. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/cpp_features_pb.js +0 -60
  1047. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/descriptor_pb.d.ts +0 -4143
  1048. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/descriptor_pb.js +0 -892
  1049. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/duration_pb.d.ts +0 -161
  1050. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/duration_pb.js +0 -27
  1051. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/empty_pb.d.ts +0 -39
  1052. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/empty_pb.js +0 -27
  1053. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/field_mask_pb.d.ts +0 -424
  1054. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/field_mask_pb.js +0 -27
  1055. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/go_features_pb.d.ts +0 -189
  1056. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/go_features_pb.js +0 -126
  1057. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/java_features_pb.d.ts +0 -194
  1058. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/java_features_pb.js +0 -106
  1059. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/source_context_pb.d.ts +0 -43
  1060. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/source_context_pb.js +0 -27
  1061. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/struct_pb.d.ts +0 -195
  1062. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/struct_pb.js +0 -59
  1063. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/timestamp_pb.d.ts +0 -222
  1064. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/timestamp_pb.js +0 -27
  1065. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/type_pb.d.ts +0 -722
  1066. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/type_pb.js +0 -242
  1067. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/wrappers_pb.d.ts +0 -330
  1068. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/gen/google/protobuf/wrappers_pb.js +0 -67
  1069. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/index.d.ts +0 -19
  1070. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/index.js +0 -48
  1071. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/timestamp.d.ts +0 -21
  1072. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/timestamp.js +0 -57
  1073. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/wrappers.d.ts +0 -25
  1074. package/node_modules/@bufbuild/protobuf/dist/cjs/wkt/wrappers.js +0 -66
  1075. package/node_modules/@bufbuild/protobuf/dist/esm/clone.d.ts +0 -6
  1076. package/node_modules/@bufbuild/protobuf/dist/esm/clone.js +0 -63
  1077. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/enum.d.ts +0 -10
  1078. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/enum.js +0 -26
  1079. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/extension.d.ts +0 -9
  1080. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/extension.js +0 -25
  1081. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/file.d.ts +0 -1
  1082. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/file.js +0 -14
  1083. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/index.d.ts +0 -10
  1084. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/index.js +0 -23
  1085. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/message.d.ts +0 -10
  1086. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/message.js +0 -21
  1087. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/service.d.ts +0 -8
  1088. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/service.js +0 -24
  1089. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/symbols.d.ts +0 -135
  1090. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/symbols.js +0 -40
  1091. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/types.d.ts +0 -75
  1092. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv1/types.js +0 -21
  1093. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/boot.d.ts +0 -63
  1094. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/boot.js +0 -101
  1095. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/embed.d.ts +0 -43
  1096. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/embed.js +0 -239
  1097. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/enum.d.ts +0 -18
  1098. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/enum.js +0 -36
  1099. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/extension.d.ts +0 -9
  1100. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/extension.js +0 -25
  1101. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/file.d.ts +0 -7
  1102. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/file.js +0 -32
  1103. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/index.d.ts +0 -10
  1104. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/index.js +0 -23
  1105. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/message.d.ts +0 -15
  1106. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/message.js +0 -21
  1107. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/restore-json-names.d.ts +0 -5
  1108. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/restore-json-names.js +0 -26
  1109. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/scalar.d.ts +0 -9
  1110. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/scalar.js +0 -63
  1111. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/service.d.ts +0 -8
  1112. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/service.js +0 -24
  1113. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/symbols.d.ts +0 -135
  1114. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/symbols.js +0 -69
  1115. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/types.d.ts +0 -81
  1116. package/node_modules/@bufbuild/protobuf/dist/esm/codegenv2/types.js +0 -21
  1117. package/node_modules/@bufbuild/protobuf/dist/esm/create.d.ts +0 -9
  1118. package/node_modules/@bufbuild/protobuf/dist/esm/create.js +0 -256
  1119. package/node_modules/@bufbuild/protobuf/dist/esm/descriptors.d.ts +0 -634
  1120. package/node_modules/@bufbuild/protobuf/dist/esm/descriptors.js +0 -50
  1121. package/node_modules/@bufbuild/protobuf/dist/esm/equals.d.ts +0 -41
  1122. package/node_modules/@bufbuild/protobuf/dist/esm/equals.js +0 -201
  1123. package/node_modules/@bufbuild/protobuf/dist/esm/extensions.d.ts +0 -59
  1124. package/node_modules/@bufbuild/protobuf/dist/esm/extensions.js +0 -160
  1125. package/node_modules/@bufbuild/protobuf/dist/esm/fields.d.ts +0 -23
  1126. package/node_modules/@bufbuild/protobuf/dist/esm/fields.js +0 -41
  1127. package/node_modules/@bufbuild/protobuf/dist/esm/from-binary.d.ts +0 -34
  1128. package/node_modules/@bufbuild/protobuf/dist/esm/from-binary.js +0 -236
  1129. package/node_modules/@bufbuild/protobuf/dist/esm/from-json.d.ts +0 -56
  1130. package/node_modules/@bufbuild/protobuf/dist/esm/from-json.js +0 -611
  1131. package/node_modules/@bufbuild/protobuf/dist/esm/index.d.ts +0 -18
  1132. package/node_modules/@bufbuild/protobuf/dist/esm/index.js +0 -28
  1133. package/node_modules/@bufbuild/protobuf/dist/esm/is-message.d.ts +0 -7
  1134. package/node_modules/@bufbuild/protobuf/dist/esm/is-message.js +0 -30
  1135. package/node_modules/@bufbuild/protobuf/dist/esm/json-value.d.ts +0 -16
  1136. package/node_modules/@bufbuild/protobuf/dist/esm/json-value.js +0 -14
  1137. package/node_modules/@bufbuild/protobuf/dist/esm/merge.d.ts +0 -13
  1138. package/node_modules/@bufbuild/protobuf/dist/esm/merge.js +0 -67
  1139. package/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.d.ts +0 -98
  1140. package/node_modules/@bufbuild/protobuf/dist/esm/proto-int64.js +0 -127
  1141. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.d.ts +0 -9
  1142. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/error.js +0 -31
  1143. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.d.ts +0 -20
  1144. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/guard.js +0 -71
  1145. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/index.d.ts +0 -8
  1146. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/index.js +0 -21
  1147. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.d.ts +0 -30
  1148. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/names.js +0 -109
  1149. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.d.ts +0 -35
  1150. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/nested-types.js +0 -105
  1151. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/path.d.ts +0 -107
  1152. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/path.js +0 -369
  1153. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-check.d.ts +0 -19
  1154. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-check.js +0 -260
  1155. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-types.d.ts +0 -217
  1156. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect-types.js +0 -14
  1157. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.d.ts +0 -43
  1158. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/reflect.js +0 -540
  1159. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.d.ts +0 -21
  1160. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/scalar.js +0 -97
  1161. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.d.ts +0 -39
  1162. package/node_modules/@bufbuild/protobuf/dist/esm/reflect/unsafe.js +0 -140
  1163. package/node_modules/@bufbuild/protobuf/dist/esm/registry.d.ts +0 -98
  1164. package/node_modules/@bufbuild/protobuf/dist/esm/registry.js +0 -939
  1165. package/node_modules/@bufbuild/protobuf/dist/esm/to-binary.d.ts +0 -24
  1166. package/node_modules/@bufbuild/protobuf/dist/esm/to-binary.js +0 -195
  1167. package/node_modules/@bufbuild/protobuf/dist/esm/to-json.d.ts +0 -67
  1168. package/node_modules/@bufbuild/protobuf/dist/esm/to-json.js +0 -386
  1169. package/node_modules/@bufbuild/protobuf/dist/esm/types.d.ts +0 -128
  1170. package/node_modules/@bufbuild/protobuf/dist/esm/types.js +0 -14
  1171. package/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.d.ts +0 -23
  1172. package/node_modules/@bufbuild/protobuf/dist/esm/wire/base64-encoding.js +0 -152
  1173. package/node_modules/@bufbuild/protobuf/dist/esm/wire/binary-encoding.d.ts +0 -266
  1174. package/node_modules/@bufbuild/protobuf/dist/esm/wire/binary-encoding.js +0 -520
  1175. package/node_modules/@bufbuild/protobuf/dist/esm/wire/index.d.ts +0 -5
  1176. package/node_modules/@bufbuild/protobuf/dist/esm/wire/index.js +0 -18
  1177. package/node_modules/@bufbuild/protobuf/dist/esm/wire/size-delimited.d.ts +0 -51
  1178. package/node_modules/@bufbuild/protobuf/dist/esm/wire/size-delimited.js +0 -148
  1179. package/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.d.ts +0 -28
  1180. package/node_modules/@bufbuild/protobuf/dist/esm/wire/text-encoding.js +0 -57
  1181. package/node_modules/@bufbuild/protobuf/dist/esm/wire/text-format.d.ts +0 -13
  1182. package/node_modules/@bufbuild/protobuf/dist/esm/wire/text-format.js +0 -195
  1183. package/node_modules/@bufbuild/protobuf/dist/esm/wire/varint.d.ts +0 -70
  1184. package/node_modules/@bufbuild/protobuf/dist/esm/wire/varint.js +0 -313
  1185. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/any.d.ts +0 -38
  1186. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/any.js +0 -69
  1187. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/duration.d.ts +0 -9
  1188. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/duration.js +0 -35
  1189. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.d.ts +0 -238
  1190. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/any_pb.js +0 -24
  1191. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.d.ts +0 -537
  1192. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/api_pb.js +0 -36
  1193. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.d.ts +0 -490
  1194. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.js +0 -65
  1195. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/cpp_features_pb.d.ts +0 -91
  1196. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/cpp_features_pb.js +0 -57
  1197. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.d.ts +0 -4143
  1198. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js +0 -888
  1199. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/duration_pb.d.ts +0 -161
  1200. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/duration_pb.js +0 -24
  1201. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/empty_pb.d.ts +0 -39
  1202. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/empty_pb.js +0 -24
  1203. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/field_mask_pb.d.ts +0 -424
  1204. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/field_mask_pb.js +0 -24
  1205. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/go_features_pb.d.ts +0 -189
  1206. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/go_features_pb.js +0 -123
  1207. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/java_features_pb.d.ts +0 -194
  1208. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/java_features_pb.js +0 -103
  1209. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/source_context_pb.d.ts +0 -43
  1210. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/source_context_pb.js +0 -24
  1211. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/struct_pb.d.ts +0 -195
  1212. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/struct_pb.js +0 -56
  1213. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.d.ts +0 -222
  1214. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/timestamp_pb.js +0 -24
  1215. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.d.ts +0 -722
  1216. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/type_pb.js +0 -239
  1217. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/wrappers_pb.d.ts +0 -330
  1218. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/gen/google/protobuf/wrappers_pb.js +0 -64
  1219. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/index.d.ts +0 -19
  1220. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/index.js +0 -32
  1221. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/timestamp.d.ts +0 -21
  1222. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/timestamp.js +0 -50
  1223. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/wrappers.d.ts +0 -25
  1224. package/node_modules/@bufbuild/protobuf/dist/esm/wkt/wrappers.js +0 -61
  1225. package/node_modules/@bufbuild/protobuf/package.json +0 -68
  1226. package/node_modules/@evalops/contracts/README.md +0 -69
  1227. package/node_modules/@evalops/contracts/dist/headless-protocol-generated.d.ts +0 -38
  1228. package/node_modules/@evalops/contracts/dist/headless-protocol-generated.d.ts.map +0 -1
  1229. package/node_modules/@evalops/contracts/dist/headless-protocol-generated.js +0 -121
  1230. package/node_modules/@evalops/contracts/dist/headless-protocol-generated.js.map +0 -1
  1231. package/node_modules/@evalops/contracts/dist/headless-protocol-schemas.generated.d.ts +0 -2998
  1232. package/node_modules/@evalops/contracts/dist/headless-protocol-schemas.generated.d.ts.map +0 -1
  1233. package/node_modules/@evalops/contracts/dist/headless-protocol-schemas.generated.js +0 -631
  1234. package/node_modules/@evalops/contracts/dist/headless-protocol-schemas.generated.js.map +0 -1
  1235. package/node_modules/@evalops/contracts/dist/index.d.ts +0 -1110
  1236. package/node_modules/@evalops/contracts/dist/index.d.ts.map +0 -1
  1237. package/node_modules/@evalops/contracts/dist/index.js +0 -59
  1238. package/node_modules/@evalops/contracts/dist/index.js.map +0 -1
  1239. package/node_modules/@evalops/contracts/dist/proto/maestro/v1/headless_pb.d.ts +0 -2126
  1240. package/node_modules/@evalops/contracts/dist/proto/maestro/v1/headless_pb.d.ts.map +0 -1
  1241. package/node_modules/@evalops/contracts/dist/proto/maestro/v1/headless_pb.js +0 -848
  1242. package/node_modules/@evalops/contracts/dist/proto/maestro/v1/headless_pb.js.map +0 -1
  1243. package/node_modules/@evalops/contracts/dist/runtime-app-server.d.ts +0 -182
  1244. package/node_modules/@evalops/contracts/dist/runtime-app-server.d.ts.map +0 -1
  1245. package/node_modules/@evalops/contracts/dist/runtime-server-request.d.ts +0 -133
  1246. package/node_modules/@evalops/contracts/dist/runtime-server-request.d.ts.map +0 -1
  1247. package/node_modules/@evalops/contracts/dist/runtime-server-request.js +0 -68
  1248. package/node_modules/@evalops/contracts/dist/runtime-server-request.js.map +0 -1
  1249. package/node_modules/@evalops/contracts/dist/schemas.d.ts +0 -3600
  1250. package/node_modules/@evalops/contracts/dist/schemas.d.ts.map +0 -1
  1251. package/node_modules/@evalops/contracts/dist/schemas.js +0 -1066
  1252. package/node_modules/@evalops/contracts/dist/schemas.js.map +0 -1
  1253. package/node_modules/@evalops/contracts/package.json +0 -30
  1254. package/node_modules/@evalops/tui/README.md +0 -255
  1255. package/node_modules/@evalops/tui/dist/testing/index.d.ts +0 -46
  1256. package/node_modules/@evalops/tui/dist/testing/index.d.ts.map +0 -1
  1257. package/node_modules/@evalops/tui/dist/testing/index.js +0 -46
  1258. package/node_modules/@evalops/tui/dist/testing/index.js.map +0 -1
  1259. package/node_modules/@evalops/tui/dist/testing/virtual-terminal.d.ts +0 -147
  1260. package/node_modules/@evalops/tui/dist/testing/virtual-terminal.d.ts.map +0 -1
  1261. package/node_modules/@evalops/tui/dist/testing/virtual-terminal.js +0 -269
  1262. package/node_modules/@evalops/tui/dist/testing/virtual-terminal.js.map +0 -1
  1263. package/node_modules/@evalops/tui/package.json +0 -58
  1264. package/node_modules/@sinclair/typebox/build/cjs/compiler/compiler.d.ts +0 -55
  1265. package/node_modules/@sinclair/typebox/build/cjs/compiler/compiler.js +0 -670
  1266. package/node_modules/@sinclair/typebox/build/cjs/compiler/index.d.ts +0 -2
  1267. package/node_modules/@sinclair/typebox/build/cjs/compiler/index.js +0 -22
  1268. package/node_modules/@sinclair/typebox/build/cjs/errors/errors.d.ts +0 -91
  1269. package/node_modules/@sinclair/typebox/build/cjs/errors/errors.js +0 -599
  1270. package/node_modules/@sinclair/typebox/build/cjs/errors/function.d.ts +0 -21
  1271. package/node_modules/@sinclair/typebox/build/cjs/errors/function.js +0 -153
  1272. package/node_modules/@sinclair/typebox/build/cjs/errors/index.d.ts +0 -2
  1273. package/node_modules/@sinclair/typebox/build/cjs/errors/index.js +0 -19
  1274. package/node_modules/@sinclair/typebox/build/cjs/index.d.ts +0 -71
  1275. package/node_modules/@sinclair/typebox/build/cjs/index.js +0 -97
  1276. package/node_modules/@sinclair/typebox/build/cjs/parser/index.d.ts +0 -2
  1277. package/node_modules/@sinclair/typebox/build/cjs/parser/index.js +0 -39
  1278. package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/guard.d.ts +0 -23
  1279. package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/guard.js +0 -86
  1280. package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/index.d.ts +0 -5
  1281. package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/index.js +0 -45
  1282. package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/module.d.ts +0 -9
  1283. package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/module.js +0 -22
  1284. package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/parse.d.ts +0 -9
  1285. package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/parse.js +0 -160
  1286. package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/token.d.ts +0 -8
  1287. package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/token.js +0 -230
  1288. package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/types.d.ts +0 -98
  1289. package/node_modules/@sinclair/typebox/build/cjs/parser/runtime/types.js +0 -71
  1290. package/node_modules/@sinclair/typebox/build/cjs/parser/static/index.d.ts +0 -3
  1291. package/node_modules/@sinclair/typebox/build/cjs/parser/static/index.js +0 -43
  1292. package/node_modules/@sinclair/typebox/build/cjs/parser/static/parse.d.ts +0 -20
  1293. package/node_modules/@sinclair/typebox/build/cjs/parser/static/parse.js +0 -3
  1294. package/node_modules/@sinclair/typebox/build/cjs/parser/static/token.d.ts +0 -108
  1295. package/node_modules/@sinclair/typebox/build/cjs/parser/static/token.js +0 -3
  1296. package/node_modules/@sinclair/typebox/build/cjs/parser/static/types.d.ts +0 -69
  1297. package/node_modules/@sinclair/typebox/build/cjs/parser/static/types.js +0 -3
  1298. package/node_modules/@sinclair/typebox/build/cjs/syntax/index.d.ts +0 -1
  1299. package/node_modules/@sinclair/typebox/build/cjs/syntax/index.js +0 -18
  1300. package/node_modules/@sinclair/typebox/build/cjs/syntax/mapping.d.ts +0 -167
  1301. package/node_modules/@sinclair/typebox/build/cjs/syntax/mapping.js +0 -491
  1302. package/node_modules/@sinclair/typebox/build/cjs/syntax/parser.d.ts +0 -162
  1303. package/node_modules/@sinclair/typebox/build/cjs/syntax/parser.js +0 -191
  1304. package/node_modules/@sinclair/typebox/build/cjs/syntax/syntax.d.ts +0 -12
  1305. package/node_modules/@sinclair/typebox/build/cjs/syntax/syntax.js +0 -54
  1306. package/node_modules/@sinclair/typebox/build/cjs/system/index.d.ts +0 -2
  1307. package/node_modules/@sinclair/typebox/build/cjs/system/index.js +0 -19
  1308. package/node_modules/@sinclair/typebox/build/cjs/system/policy.d.ts +0 -29
  1309. package/node_modules/@sinclair/typebox/build/cjs/system/policy.js +0 -58
  1310. package/node_modules/@sinclair/typebox/build/cjs/system/system.d.ts +0 -16
  1311. package/node_modules/@sinclair/typebox/build/cjs/system/system.js +0 -43
  1312. package/node_modules/@sinclair/typebox/build/cjs/type/any/any.d.ts +0 -8
  1313. package/node_modules/@sinclair/typebox/build/cjs/type/any/any.js +0 -10
  1314. package/node_modules/@sinclair/typebox/build/cjs/type/any/index.d.ts +0 -1
  1315. package/node_modules/@sinclair/typebox/build/cjs/type/any/index.js +0 -18
  1316. package/node_modules/@sinclair/typebox/build/cjs/type/argument/argument.d.ts +0 -9
  1317. package/node_modules/@sinclair/typebox/build/cjs/type/argument/argument.js +0 -10
  1318. package/node_modules/@sinclair/typebox/build/cjs/type/argument/index.d.ts +0 -1
  1319. package/node_modules/@sinclair/typebox/build/cjs/type/argument/index.js +0 -18
  1320. package/node_modules/@sinclair/typebox/build/cjs/type/array/array.d.ts +0 -28
  1321. package/node_modules/@sinclair/typebox/build/cjs/type/array/array.js +0 -10
  1322. package/node_modules/@sinclair/typebox/build/cjs/type/array/index.d.ts +0 -1
  1323. package/node_modules/@sinclair/typebox/build/cjs/type/array/index.js +0 -18
  1324. package/node_modules/@sinclair/typebox/build/cjs/type/async-iterator/async-iterator.d.ts +0 -11
  1325. package/node_modules/@sinclair/typebox/build/cjs/type/async-iterator/async-iterator.js +0 -10
  1326. package/node_modules/@sinclair/typebox/build/cjs/type/async-iterator/index.d.ts +0 -1
  1327. package/node_modules/@sinclair/typebox/build/cjs/type/async-iterator/index.js +0 -18
  1328. package/node_modules/@sinclair/typebox/build/cjs/type/awaited/awaited.d.ts +0 -14
  1329. package/node_modules/@sinclair/typebox/build/cjs/type/awaited/awaited.js +0 -41
  1330. package/node_modules/@sinclair/typebox/build/cjs/type/awaited/index.d.ts +0 -1
  1331. package/node_modules/@sinclair/typebox/build/cjs/type/awaited/index.js +0 -18
  1332. package/node_modules/@sinclair/typebox/build/cjs/type/bigint/bigint.d.ts +0 -16
  1333. package/node_modules/@sinclair/typebox/build/cjs/type/bigint/bigint.js +0 -10
  1334. package/node_modules/@sinclair/typebox/build/cjs/type/bigint/index.d.ts +0 -1
  1335. package/node_modules/@sinclair/typebox/build/cjs/type/bigint/index.js +0 -18
  1336. package/node_modules/@sinclair/typebox/build/cjs/type/boolean/boolean.d.ts +0 -9
  1337. package/node_modules/@sinclair/typebox/build/cjs/type/boolean/boolean.js +0 -10
  1338. package/node_modules/@sinclair/typebox/build/cjs/type/boolean/index.d.ts +0 -1
  1339. package/node_modules/@sinclair/typebox/build/cjs/type/boolean/index.js +0 -18
  1340. package/node_modules/@sinclair/typebox/build/cjs/type/clone/index.d.ts +0 -2
  1341. package/node_modules/@sinclair/typebox/build/cjs/type/clone/index.js +0 -19
  1342. package/node_modules/@sinclair/typebox/build/cjs/type/clone/type.d.ts +0 -5
  1343. package/node_modules/@sinclair/typebox/build/cjs/type/clone/type.js +0 -14
  1344. package/node_modules/@sinclair/typebox/build/cjs/type/clone/value.d.ts +0 -2
  1345. package/node_modules/@sinclair/typebox/build/cjs/type/clone/value.js +0 -73
  1346. package/node_modules/@sinclair/typebox/build/cjs/type/composite/composite.d.ts +0 -18
  1347. package/node_modules/@sinclair/typebox/build/cjs/type/composite/composite.js +0 -46
  1348. package/node_modules/@sinclair/typebox/build/cjs/type/composite/index.d.ts +0 -1
  1349. package/node_modules/@sinclair/typebox/build/cjs/type/composite/index.js +0 -18
  1350. package/node_modules/@sinclair/typebox/build/cjs/type/computed/computed.d.ts +0 -9
  1351. package/node_modules/@sinclair/typebox/build/cjs/type/computed/computed.js +0 -10
  1352. package/node_modules/@sinclair/typebox/build/cjs/type/computed/index.d.ts +0 -1
  1353. package/node_modules/@sinclair/typebox/build/cjs/type/computed/index.js +0 -18
  1354. package/node_modules/@sinclair/typebox/build/cjs/type/const/const.d.ts +0 -27
  1355. package/node_modules/@sinclair/typebox/build/cjs/type/const/const.js +0 -58
  1356. package/node_modules/@sinclair/typebox/build/cjs/type/const/index.d.ts +0 -1
  1357. package/node_modules/@sinclair/typebox/build/cjs/type/const/index.js +0 -18
  1358. package/node_modules/@sinclair/typebox/build/cjs/type/constructor/constructor.d.ts +0 -23
  1359. package/node_modules/@sinclair/typebox/build/cjs/type/constructor/constructor.js +0 -10
  1360. package/node_modules/@sinclair/typebox/build/cjs/type/constructor/index.d.ts +0 -1
  1361. package/node_modules/@sinclair/typebox/build/cjs/type/constructor/index.js +0 -18
  1362. package/node_modules/@sinclair/typebox/build/cjs/type/constructor-parameters/constructor-parameters.d.ts +0 -7
  1363. package/node_modules/@sinclair/typebox/build/cjs/type/constructor-parameters/constructor-parameters.js +0 -44
  1364. package/node_modules/@sinclair/typebox/build/cjs/type/constructor-parameters/index.d.ts +0 -1
  1365. package/node_modules/@sinclair/typebox/build/cjs/type/constructor-parameters/index.js +0 -18
  1366. package/node_modules/@sinclair/typebox/build/cjs/type/create/immutable.d.ts +0 -2
  1367. package/node_modules/@sinclair/typebox/build/cjs/type/create/immutable.js +0 -70
  1368. package/node_modules/@sinclair/typebox/build/cjs/type/create/index.d.ts +0 -1
  1369. package/node_modules/@sinclair/typebox/build/cjs/type/create/index.js +0 -18
  1370. package/node_modules/@sinclair/typebox/build/cjs/type/create/type.d.ts +0 -3
  1371. package/node_modules/@sinclair/typebox/build/cjs/type/create/type.js +0 -19
  1372. package/node_modules/@sinclair/typebox/build/cjs/type/date/date.d.ts +0 -21
  1373. package/node_modules/@sinclair/typebox/build/cjs/type/date/date.js +0 -10
  1374. package/node_modules/@sinclair/typebox/build/cjs/type/date/index.d.ts +0 -1
  1375. package/node_modules/@sinclair/typebox/build/cjs/type/date/index.js +0 -18
  1376. package/node_modules/@sinclair/typebox/build/cjs/type/discard/discard.d.ts +0 -2
  1377. package/node_modules/@sinclair/typebox/build/cjs/type/discard/discard.js +0 -12
  1378. package/node_modules/@sinclair/typebox/build/cjs/type/discard/index.d.ts +0 -1
  1379. package/node_modules/@sinclair/typebox/build/cjs/type/discard/index.js +0 -18
  1380. package/node_modules/@sinclair/typebox/build/cjs/type/enum/enum.d.ts +0 -14
  1381. package/node_modules/@sinclair/typebox/build/cjs/type/enum/enum.js +0 -22
  1382. package/node_modules/@sinclair/typebox/build/cjs/type/enum/index.d.ts +0 -1
  1383. package/node_modules/@sinclair/typebox/build/cjs/type/enum/index.js +0 -18
  1384. package/node_modules/@sinclair/typebox/build/cjs/type/error/error.d.ts +0 -4
  1385. package/node_modules/@sinclair/typebox/build/cjs/type/error/error.js +0 -11
  1386. package/node_modules/@sinclair/typebox/build/cjs/type/error/index.d.ts +0 -1
  1387. package/node_modules/@sinclair/typebox/build/cjs/type/error/index.js +0 -18
  1388. package/node_modules/@sinclair/typebox/build/cjs/type/exclude/exclude-from-mapped-result.d.ts +0 -11
  1389. package/node_modules/@sinclair/typebox/build/cjs/type/exclude/exclude-from-mapped-result.js +0 -22
  1390. package/node_modules/@sinclair/typebox/build/cjs/type/exclude/exclude-from-template-literal.d.ts +0 -5
  1391. package/node_modules/@sinclair/typebox/build/cjs/type/exclude/exclude-from-template-literal.js +0 -9
  1392. package/node_modules/@sinclair/typebox/build/cjs/type/exclude/exclude.d.ts +0 -21
  1393. package/node_modules/@sinclair/typebox/build/cjs/type/exclude/exclude.js +0 -29
  1394. package/node_modules/@sinclair/typebox/build/cjs/type/exclude/index.d.ts +0 -3
  1395. package/node_modules/@sinclair/typebox/build/cjs/type/exclude/index.js +0 -20
  1396. package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-check.d.ts +0 -10
  1397. package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-check.js +0 -641
  1398. package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-from-mapped-key.d.ts +0 -14
  1399. package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-from-mapped-key.js +0 -29
  1400. package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-from-mapped-result.d.ts +0 -11
  1401. package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-from-mapped-result.js +0 -23
  1402. package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-undefined.d.ts +0 -3
  1403. package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends-undefined.js +0 -24
  1404. package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends.d.ts +0 -16
  1405. package/node_modules/@sinclair/typebox/build/cjs/type/extends/extends.js +0 -27
  1406. package/node_modules/@sinclair/typebox/build/cjs/type/extends/index.d.ts +0 -5
  1407. package/node_modules/@sinclair/typebox/build/cjs/type/extends/index.js +0 -22
  1408. package/node_modules/@sinclair/typebox/build/cjs/type/extract/extract-from-mapped-result.d.ts +0 -11
  1409. package/node_modules/@sinclair/typebox/build/cjs/type/extract/extract-from-mapped-result.js +0 -22
  1410. package/node_modules/@sinclair/typebox/build/cjs/type/extract/extract-from-template-literal.d.ts +0 -5
  1411. package/node_modules/@sinclair/typebox/build/cjs/type/extract/extract-from-template-literal.js +0 -9
  1412. package/node_modules/@sinclair/typebox/build/cjs/type/extract/extract.d.ts +0 -21
  1413. package/node_modules/@sinclair/typebox/build/cjs/type/extract/extract.js +0 -29
  1414. package/node_modules/@sinclair/typebox/build/cjs/type/extract/index.d.ts +0 -3
  1415. package/node_modules/@sinclair/typebox/build/cjs/type/extract/index.js +0 -20
  1416. package/node_modules/@sinclair/typebox/build/cjs/type/function/function.d.ts +0 -23
  1417. package/node_modules/@sinclair/typebox/build/cjs/type/function/function.js +0 -10
  1418. package/node_modules/@sinclair/typebox/build/cjs/type/function/index.d.ts +0 -1
  1419. package/node_modules/@sinclair/typebox/build/cjs/type/function/index.js +0 -18
  1420. package/node_modules/@sinclair/typebox/build/cjs/type/guard/index.d.ts +0 -3
  1421. package/node_modules/@sinclair/typebox/build/cjs/type/guard/index.js +0 -40
  1422. package/node_modules/@sinclair/typebox/build/cjs/type/guard/kind.d.ts +0 -147
  1423. package/node_modules/@sinclair/typebox/build/cjs/type/guard/kind.js +0 -320
  1424. package/node_modules/@sinclair/typebox/build/cjs/type/guard/type.d.ts +0 -152
  1425. package/node_modules/@sinclair/typebox/build/cjs/type/guard/type.js +0 -597
  1426. package/node_modules/@sinclair/typebox/build/cjs/type/guard/value.d.ts +0 -34
  1427. package/node_modules/@sinclair/typebox/build/cjs/type/guard/value.js +0 -89
  1428. package/node_modules/@sinclair/typebox/build/cjs/type/helpers/helpers.d.ts +0 -42
  1429. package/node_modules/@sinclair/typebox/build/cjs/type/helpers/helpers.js +0 -8
  1430. package/node_modules/@sinclair/typebox/build/cjs/type/helpers/index.d.ts +0 -1
  1431. package/node_modules/@sinclair/typebox/build/cjs/type/helpers/index.js +0 -18
  1432. package/node_modules/@sinclair/typebox/build/cjs/type/index.d.ts +0 -71
  1433. package/node_modules/@sinclair/typebox/build/cjs/type/index.js +0 -88
  1434. package/node_modules/@sinclair/typebox/build/cjs/type/indexed/index.d.ts +0 -4
  1435. package/node_modules/@sinclair/typebox/build/cjs/type/indexed/index.js +0 -21
  1436. package/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed-from-mapped-key.d.ts +0 -13
  1437. package/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed-from-mapped-key.js +0 -26
  1438. package/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed-from-mapped-result.d.ts +0 -12
  1439. package/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed-from-mapped-result.js +0 -24
  1440. package/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed-property-keys.d.ts +0 -14
  1441. package/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed-property-keys.js +0 -36
  1442. package/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed.d.ts +0 -52
  1443. package/node_modules/@sinclair/typebox/build/cjs/type/indexed/indexed.js +0 -98
  1444. package/node_modules/@sinclair/typebox/build/cjs/type/instance-type/index.d.ts +0 -1
  1445. package/node_modules/@sinclair/typebox/build/cjs/type/instance-type/index.js +0 -18
  1446. package/node_modules/@sinclair/typebox/build/cjs/type/instance-type/instance-type.d.ts +0 -6
  1447. package/node_modules/@sinclair/typebox/build/cjs/type/instance-type/instance-type.js +0 -44
  1448. package/node_modules/@sinclair/typebox/build/cjs/type/instantiate/index.d.ts +0 -1
  1449. package/node_modules/@sinclair/typebox/build/cjs/type/instantiate/index.js +0 -18
  1450. package/node_modules/@sinclair/typebox/build/cjs/type/instantiate/instantiate.d.ts +0 -50
  1451. package/node_modules/@sinclair/typebox/build/cjs/type/instantiate/instantiate.js +0 -153
  1452. package/node_modules/@sinclair/typebox/build/cjs/type/integer/index.d.ts +0 -1
  1453. package/node_modules/@sinclair/typebox/build/cjs/type/integer/index.js +0 -18
  1454. package/node_modules/@sinclair/typebox/build/cjs/type/integer/integer.d.ts +0 -16
  1455. package/node_modules/@sinclair/typebox/build/cjs/type/integer/integer.js +0 -10
  1456. package/node_modules/@sinclair/typebox/build/cjs/type/intersect/index.d.ts +0 -3
  1457. package/node_modules/@sinclair/typebox/build/cjs/type/intersect/index.js +0 -20
  1458. package/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect-create.d.ts +0 -3
  1459. package/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect-create.js +0 -23
  1460. package/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect-evaluated.d.ts +0 -13
  1461. package/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect-evaluated.js +0 -42
  1462. package/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect-type.d.ts +0 -15
  1463. package/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect-type.js +0 -4
  1464. package/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect.d.ts +0 -6
  1465. package/node_modules/@sinclair/typebox/build/cjs/type/intersect/intersect.js +0 -21
  1466. package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/capitalize.d.ts +0 -5
  1467. package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/capitalize.js +0 -9
  1468. package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/index.d.ts +0 -6
  1469. package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/index.js +0 -23
  1470. package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/intrinsic-from-mapped-key.d.ts +0 -14
  1471. package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/intrinsic-from-mapped-key.js +0 -30
  1472. package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/intrinsic.d.ts +0 -16
  1473. package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/intrinsic.js +0 -68
  1474. package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/lowercase.d.ts +0 -5
  1475. package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/lowercase.js +0 -9
  1476. package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/uncapitalize.d.ts +0 -5
  1477. package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/uncapitalize.js +0 -9
  1478. package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/uppercase.d.ts +0 -5
  1479. package/node_modules/@sinclair/typebox/build/cjs/type/intrinsic/uppercase.js +0 -9
  1480. package/node_modules/@sinclair/typebox/build/cjs/type/iterator/index.d.ts +0 -1
  1481. package/node_modules/@sinclair/typebox/build/cjs/type/iterator/index.js +0 -18
  1482. package/node_modules/@sinclair/typebox/build/cjs/type/iterator/iterator.d.ts +0 -11
  1483. package/node_modules/@sinclair/typebox/build/cjs/type/iterator/iterator.js +0 -10
  1484. package/node_modules/@sinclair/typebox/build/cjs/type/keyof/index.d.ts +0 -4
  1485. package/node_modules/@sinclair/typebox/build/cjs/type/keyof/index.js +0 -21
  1486. package/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof-from-mapped-result.d.ts +0 -12
  1487. package/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof-from-mapped-result.js +0 -23
  1488. package/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof-property-entries.d.ts +0 -7
  1489. package/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof-property-entries.js +0 -16
  1490. package/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof-property-keys.d.ts +0 -24
  1491. package/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof-property-keys.js +0 -78
  1492. package/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof.d.ts +0 -21
  1493. package/node_modules/@sinclair/typebox/build/cjs/type/keyof/keyof.js +0 -40
  1494. package/node_modules/@sinclair/typebox/build/cjs/type/literal/index.d.ts +0 -1
  1495. package/node_modules/@sinclair/typebox/build/cjs/type/literal/index.js +0 -18
  1496. package/node_modules/@sinclair/typebox/build/cjs/type/literal/literal.d.ts +0 -10
  1497. package/node_modules/@sinclair/typebox/build/cjs/type/literal/literal.js +0 -14
  1498. package/node_modules/@sinclair/typebox/build/cjs/type/mapped/index.d.ts +0 -3
  1499. package/node_modules/@sinclair/typebox/build/cjs/type/mapped/index.js +0 -20
  1500. package/node_modules/@sinclair/typebox/build/cjs/type/mapped/mapped-key.d.ts +0 -8
  1501. package/node_modules/@sinclair/typebox/build/cjs/type/mapped/mapped-key.js +0 -13
  1502. package/node_modules/@sinclair/typebox/build/cjs/type/mapped/mapped-result.d.ts +0 -9
  1503. package/node_modules/@sinclair/typebox/build/cjs/type/mapped/mapped-result.js +0 -13
  1504. package/node_modules/@sinclair/typebox/build/cjs/type/mapped/mapped.d.ts +0 -47
  1505. package/node_modules/@sinclair/typebox/build/cjs/type/mapped/mapped.js +0 -107
  1506. package/node_modules/@sinclair/typebox/build/cjs/type/module/compute.d.ts +0 -59
  1507. package/node_modules/@sinclair/typebox/build/cjs/type/module/compute.js +0 -205
  1508. package/node_modules/@sinclair/typebox/build/cjs/type/module/index.d.ts +0 -1
  1509. package/node_modules/@sinclair/typebox/build/cjs/type/module/index.js +0 -18
  1510. package/node_modules/@sinclair/typebox/build/cjs/type/module/infer.d.ts +0 -49
  1511. package/node_modules/@sinclair/typebox/build/cjs/type/module/infer.js +0 -3
  1512. package/node_modules/@sinclair/typebox/build/cjs/type/module/module.d.ts +0 -27
  1513. package/node_modules/@sinclair/typebox/build/cjs/type/module/module.js +0 -38
  1514. package/node_modules/@sinclair/typebox/build/cjs/type/never/index.d.ts +0 -1
  1515. package/node_modules/@sinclair/typebox/build/cjs/type/never/index.js +0 -18
  1516. package/node_modules/@sinclair/typebox/build/cjs/type/never/never.d.ts +0 -9
  1517. package/node_modules/@sinclair/typebox/build/cjs/type/never/never.js +0 -10
  1518. package/node_modules/@sinclair/typebox/build/cjs/type/not/index.d.ts +0 -1
  1519. package/node_modules/@sinclair/typebox/build/cjs/type/not/index.js +0 -18
  1520. package/node_modules/@sinclair/typebox/build/cjs/type/not/not.d.ts +0 -10
  1521. package/node_modules/@sinclair/typebox/build/cjs/type/not/not.js +0 -10
  1522. package/node_modules/@sinclair/typebox/build/cjs/type/null/index.d.ts +0 -1
  1523. package/node_modules/@sinclair/typebox/build/cjs/type/null/index.js +0 -18
  1524. package/node_modules/@sinclair/typebox/build/cjs/type/null/null.d.ts +0 -9
  1525. package/node_modules/@sinclair/typebox/build/cjs/type/null/null.js +0 -10
  1526. package/node_modules/@sinclair/typebox/build/cjs/type/number/index.d.ts +0 -1
  1527. package/node_modules/@sinclair/typebox/build/cjs/type/number/index.js +0 -18
  1528. package/node_modules/@sinclair/typebox/build/cjs/type/number/number.d.ts +0 -16
  1529. package/node_modules/@sinclair/typebox/build/cjs/type/number/number.js +0 -10
  1530. package/node_modules/@sinclair/typebox/build/cjs/type/object/index.d.ts +0 -1
  1531. package/node_modules/@sinclair/typebox/build/cjs/type/object/index.js +0 -18
  1532. package/node_modules/@sinclair/typebox/build/cjs/type/object/object.d.ts +0 -51
  1533. package/node_modules/@sinclair/typebox/build/cjs/type/object/object.js +0 -22
  1534. package/node_modules/@sinclair/typebox/build/cjs/type/omit/index.d.ts +0 -3
  1535. package/node_modules/@sinclair/typebox/build/cjs/type/omit/index.js +0 -20
  1536. package/node_modules/@sinclair/typebox/build/cjs/type/omit/omit-from-mapped-key.d.ts +0 -12
  1537. package/node_modules/@sinclair/typebox/build/cjs/type/omit/omit-from-mapped-key.js +0 -26
  1538. package/node_modules/@sinclair/typebox/build/cjs/type/omit/omit-from-mapped-result.d.ts +0 -12
  1539. package/node_modules/@sinclair/typebox/build/cjs/type/omit/omit-from-mapped-result.js +0 -23
  1540. package/node_modules/@sinclair/typebox/build/cjs/type/omit/omit.d.ts +0 -36
  1541. package/node_modules/@sinclair/typebox/build/cjs/type/omit/omit.js +0 -75
  1542. package/node_modules/@sinclair/typebox/build/cjs/type/optional/index.d.ts +0 -2
  1543. package/node_modules/@sinclair/typebox/build/cjs/type/optional/index.js +0 -19
  1544. package/node_modules/@sinclair/typebox/build/cjs/type/optional/optional-from-mapped-result.d.ts +0 -10
  1545. package/node_modules/@sinclair/typebox/build/cjs/type/optional/optional-from-mapped-result.js +0 -22
  1546. package/node_modules/@sinclair/typebox/build/cjs/type/optional/optional.d.ts +0 -20
  1547. package/node_modules/@sinclair/typebox/build/cjs/type/optional/optional.js +0 -26
  1548. package/node_modules/@sinclair/typebox/build/cjs/type/parameters/index.d.ts +0 -1
  1549. package/node_modules/@sinclair/typebox/build/cjs/type/parameters/index.js +0 -18
  1550. package/node_modules/@sinclair/typebox/build/cjs/type/parameters/parameters.d.ts +0 -7
  1551. package/node_modules/@sinclair/typebox/build/cjs/type/parameters/parameters.js +0 -44
  1552. package/node_modules/@sinclair/typebox/build/cjs/type/partial/index.d.ts +0 -2
  1553. package/node_modules/@sinclair/typebox/build/cjs/type/partial/index.js +0 -19
  1554. package/node_modules/@sinclair/typebox/build/cjs/type/partial/partial-from-mapped-result.d.ts +0 -12
  1555. package/node_modules/@sinclair/typebox/build/cjs/type/partial/partial-from-mapped-result.js +0 -23
  1556. package/node_modules/@sinclair/typebox/build/cjs/type/partial/partial.d.ts +0 -35
  1557. package/node_modules/@sinclair/typebox/build/cjs/type/partial/partial.js +0 -111
  1558. package/node_modules/@sinclair/typebox/build/cjs/type/patterns/index.d.ts +0 -1
  1559. package/node_modules/@sinclair/typebox/build/cjs/type/patterns/index.js +0 -18
  1560. package/node_modules/@sinclair/typebox/build/cjs/type/patterns/patterns.d.ts +0 -8
  1561. package/node_modules/@sinclair/typebox/build/cjs/type/patterns/patterns.js +0 -12
  1562. package/node_modules/@sinclair/typebox/build/cjs/type/pick/index.d.ts +0 -3
  1563. package/node_modules/@sinclair/typebox/build/cjs/type/pick/index.js +0 -20
  1564. package/node_modules/@sinclair/typebox/build/cjs/type/pick/pick-from-mapped-key.d.ts +0 -12
  1565. package/node_modules/@sinclair/typebox/build/cjs/type/pick/pick-from-mapped-key.js +0 -28
  1566. package/node_modules/@sinclair/typebox/build/cjs/type/pick/pick-from-mapped-result.d.ts +0 -12
  1567. package/node_modules/@sinclair/typebox/build/cjs/type/pick/pick-from-mapped-result.js +0 -23
  1568. package/node_modules/@sinclair/typebox/build/cjs/type/pick/pick.d.ts +0 -36
  1569. package/node_modules/@sinclair/typebox/build/cjs/type/pick/pick.js +0 -70
  1570. package/node_modules/@sinclair/typebox/build/cjs/type/promise/index.d.ts +0 -1
  1571. package/node_modules/@sinclair/typebox/build/cjs/type/promise/index.js +0 -18
  1572. package/node_modules/@sinclair/typebox/build/cjs/type/promise/promise.d.ts +0 -11
  1573. package/node_modules/@sinclair/typebox/build/cjs/type/promise/promise.js +0 -10
  1574. package/node_modules/@sinclair/typebox/build/cjs/type/readonly/index.d.ts +0 -2
  1575. package/node_modules/@sinclair/typebox/build/cjs/type/readonly/index.js +0 -19
  1576. package/node_modules/@sinclair/typebox/build/cjs/type/readonly/readonly-from-mapped-result.d.ts +0 -10
  1577. package/node_modules/@sinclair/typebox/build/cjs/type/readonly/readonly-from-mapped-result.js +0 -22
  1578. package/node_modules/@sinclair/typebox/build/cjs/type/readonly/readonly.d.ts +0 -20
  1579. package/node_modules/@sinclair/typebox/build/cjs/type/readonly/readonly.js +0 -26
  1580. package/node_modules/@sinclair/typebox/build/cjs/type/readonly-optional/index.d.ts +0 -1
  1581. package/node_modules/@sinclair/typebox/build/cjs/type/readonly-optional/index.js +0 -18
  1582. package/node_modules/@sinclair/typebox/build/cjs/type/readonly-optional/readonly-optional.d.ts +0 -6
  1583. package/node_modules/@sinclair/typebox/build/cjs/type/readonly-optional/readonly-optional.js +0 -10
  1584. package/node_modules/@sinclair/typebox/build/cjs/type/record/index.d.ts +0 -1
  1585. package/node_modules/@sinclair/typebox/build/cjs/type/record/index.js +0 -18
  1586. package/node_modules/@sinclair/typebox/build/cjs/type/record/record.d.ts +0 -71
  1587. package/node_modules/@sinclair/typebox/build/cjs/type/record/record.js +0 -123
  1588. package/node_modules/@sinclair/typebox/build/cjs/type/recursive/index.d.ts +0 -1
  1589. package/node_modules/@sinclair/typebox/build/cjs/type/recursive/index.js +0 -18
  1590. package/node_modules/@sinclair/typebox/build/cjs/type/recursive/recursive.d.ts +0 -16
  1591. package/node_modules/@sinclair/typebox/build/cjs/type/recursive/recursive.js +0 -19
  1592. package/node_modules/@sinclair/typebox/build/cjs/type/ref/index.d.ts +0 -1
  1593. package/node_modules/@sinclair/typebox/build/cjs/type/ref/index.js +0 -18
  1594. package/node_modules/@sinclair/typebox/build/cjs/type/ref/ref.d.ts +0 -41
  1595. package/node_modules/@sinclair/typebox/build/cjs/type/ref/ref.js +0 -14
  1596. package/node_modules/@sinclair/typebox/build/cjs/type/regexp/index.d.ts +0 -1
  1597. package/node_modules/@sinclair/typebox/build/cjs/type/regexp/index.js +0 -18
  1598. package/node_modules/@sinclair/typebox/build/cjs/type/regexp/regexp.d.ts +0 -20
  1599. package/node_modules/@sinclair/typebox/build/cjs/type/regexp/regexp.js +0 -12
  1600. package/node_modules/@sinclair/typebox/build/cjs/type/registry/format.d.ts +0 -13
  1601. package/node_modules/@sinclair/typebox/build/cjs/type/registry/format.js +0 -35
  1602. package/node_modules/@sinclair/typebox/build/cjs/type/registry/index.d.ts +0 -2
  1603. package/node_modules/@sinclair/typebox/build/cjs/type/registry/index.js +0 -39
  1604. package/node_modules/@sinclair/typebox/build/cjs/type/registry/type.d.ts +0 -13
  1605. package/node_modules/@sinclair/typebox/build/cjs/type/registry/type.js +0 -35
  1606. package/node_modules/@sinclair/typebox/build/cjs/type/required/index.d.ts +0 -2
  1607. package/node_modules/@sinclair/typebox/build/cjs/type/required/index.js +0 -19
  1608. package/node_modules/@sinclair/typebox/build/cjs/type/required/required-from-mapped-result.d.ts +0 -12
  1609. package/node_modules/@sinclair/typebox/build/cjs/type/required/required-from-mapped-result.js +0 -22
  1610. package/node_modules/@sinclair/typebox/build/cjs/type/required/required.d.ts +0 -35
  1611. package/node_modules/@sinclair/typebox/build/cjs/type/required/required.js +0 -110
  1612. package/node_modules/@sinclair/typebox/build/cjs/type/rest/index.d.ts +0 -1
  1613. package/node_modules/@sinclair/typebox/build/cjs/type/rest/index.js +0 -18
  1614. package/node_modules/@sinclair/typebox/build/cjs/type/rest/rest.d.ts +0 -10
  1615. package/node_modules/@sinclair/typebox/build/cjs/type/rest/rest.js +0 -19
  1616. package/node_modules/@sinclair/typebox/build/cjs/type/return-type/index.d.ts +0 -1
  1617. package/node_modules/@sinclair/typebox/build/cjs/type/return-type/index.js +0 -18
  1618. package/node_modules/@sinclair/typebox/build/cjs/type/return-type/return-type.d.ts +0 -6
  1619. package/node_modules/@sinclair/typebox/build/cjs/type/return-type/return-type.js +0 -44
  1620. package/node_modules/@sinclair/typebox/build/cjs/type/schema/anyschema.d.ts +0 -33
  1621. package/node_modules/@sinclair/typebox/build/cjs/type/schema/anyschema.js +0 -3
  1622. package/node_modules/@sinclair/typebox/build/cjs/type/schema/index.d.ts +0 -2
  1623. package/node_modules/@sinclair/typebox/build/cjs/type/schema/index.js +0 -19
  1624. package/node_modules/@sinclair/typebox/build/cjs/type/schema/schema.d.ts +0 -29
  1625. package/node_modules/@sinclair/typebox/build/cjs/type/schema/schema.js +0 -4
  1626. package/node_modules/@sinclair/typebox/build/cjs/type/sets/index.d.ts +0 -1
  1627. package/node_modules/@sinclair/typebox/build/cjs/type/sets/index.js +0 -18
  1628. package/node_modules/@sinclair/typebox/build/cjs/type/sets/set.d.ts +0 -28
  1629. package/node_modules/@sinclair/typebox/build/cjs/type/sets/set.js +0 -59
  1630. package/node_modules/@sinclair/typebox/build/cjs/type/static/index.d.ts +0 -1
  1631. package/node_modules/@sinclair/typebox/build/cjs/type/static/index.js +0 -18
  1632. package/node_modules/@sinclair/typebox/build/cjs/type/static/static.d.ts +0 -39
  1633. package/node_modules/@sinclair/typebox/build/cjs/type/static/static.js +0 -3
  1634. package/node_modules/@sinclair/typebox/build/cjs/type/string/index.d.ts +0 -1
  1635. package/node_modules/@sinclair/typebox/build/cjs/type/string/index.js +0 -18
  1636. package/node_modules/@sinclair/typebox/build/cjs/type/string/string.d.ts +0 -25
  1637. package/node_modules/@sinclair/typebox/build/cjs/type/string/string.js +0 -10
  1638. package/node_modules/@sinclair/typebox/build/cjs/type/symbol/index.d.ts +0 -1
  1639. package/node_modules/@sinclair/typebox/build/cjs/type/symbol/index.js +0 -18
  1640. package/node_modules/@sinclair/typebox/build/cjs/type/symbol/symbol.d.ts +0 -10
  1641. package/node_modules/@sinclair/typebox/build/cjs/type/symbol/symbol.js +0 -10
  1642. package/node_modules/@sinclair/typebox/build/cjs/type/symbols/index.d.ts +0 -1
  1643. package/node_modules/@sinclair/typebox/build/cjs/type/symbols/index.js +0 -18
  1644. package/node_modules/@sinclair/typebox/build/cjs/type/symbols/symbols.d.ts +0 -10
  1645. package/node_modules/@sinclair/typebox/build/cjs/type/symbols/symbols.js +0 -14
  1646. package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/finite.d.ts +0 -19
  1647. package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/finite.js +0 -56
  1648. package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/generate.d.ts +0 -21
  1649. package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/generate.js +0 -60
  1650. package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/index.d.ts +0 -7
  1651. package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/index.js +0 -24
  1652. package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/parse.d.ts +0 -20
  1653. package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/parse.js +0 -174
  1654. package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/pattern.d.ts +0 -5
  1655. package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/pattern.js +0 -39
  1656. package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/syntax.d.ts +0 -20
  1657. package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/syntax.js +0 -59
  1658. package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/template-literal.d.ts +0 -30
  1659. package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/template-literal.js +0 -17
  1660. package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/union.d.ts +0 -9
  1661. package/node_modules/@sinclair/typebox/build/cjs/type/template-literal/union.js +0 -13
  1662. package/node_modules/@sinclair/typebox/build/cjs/type/transform/index.d.ts +0 -1
  1663. package/node_modules/@sinclair/typebox/build/cjs/type/transform/index.js +0 -18
  1664. package/node_modules/@sinclair/typebox/build/cjs/type/transform/transform.d.ts +0 -30
  1665. package/node_modules/@sinclair/typebox/build/cjs/type/transform/transform.js +0 -47
  1666. package/node_modules/@sinclair/typebox/build/cjs/type/tuple/index.d.ts +0 -1
  1667. package/node_modules/@sinclair/typebox/build/cjs/type/tuple/index.js +0 -18
  1668. package/node_modules/@sinclair/typebox/build/cjs/type/tuple/tuple.d.ts +0 -16
  1669. package/node_modules/@sinclair/typebox/build/cjs/type/tuple/tuple.js +0 -13
  1670. package/node_modules/@sinclair/typebox/build/cjs/type/type/index.d.ts +0 -6
  1671. package/node_modules/@sinclair/typebox/build/cjs/type/type/index.js +0 -51
  1672. package/node_modules/@sinclair/typebox/build/cjs/type/type/javascript.d.ts +0 -64
  1673. package/node_modules/@sinclair/typebox/build/cjs/type/type/javascript.js +0 -104
  1674. package/node_modules/@sinclair/typebox/build/cjs/type/type/json.d.ts +0 -208
  1675. package/node_modules/@sinclair/typebox/build/cjs/type/type/json.js +0 -226
  1676. package/node_modules/@sinclair/typebox/build/cjs/type/type/type.d.ts +0 -59
  1677. package/node_modules/@sinclair/typebox/build/cjs/type/type/type.js +0 -129
  1678. package/node_modules/@sinclair/typebox/build/cjs/type/uint8array/index.d.ts +0 -1
  1679. package/node_modules/@sinclair/typebox/build/cjs/type/uint8array/index.js +0 -18
  1680. package/node_modules/@sinclair/typebox/build/cjs/type/uint8array/uint8array.d.ts +0 -13
  1681. package/node_modules/@sinclair/typebox/build/cjs/type/uint8array/uint8array.js +0 -10
  1682. package/node_modules/@sinclair/typebox/build/cjs/type/undefined/index.d.ts +0 -1
  1683. package/node_modules/@sinclair/typebox/build/cjs/type/undefined/index.js +0 -18
  1684. package/node_modules/@sinclair/typebox/build/cjs/type/undefined/undefined.d.ts +0 -9
  1685. package/node_modules/@sinclair/typebox/build/cjs/type/undefined/undefined.js +0 -10
  1686. package/node_modules/@sinclair/typebox/build/cjs/type/union/index.d.ts +0 -3
  1687. package/node_modules/@sinclair/typebox/build/cjs/type/union/index.js +0 -20
  1688. package/node_modules/@sinclair/typebox/build/cjs/type/union/union-create.d.ts +0 -3
  1689. package/node_modules/@sinclair/typebox/build/cjs/type/union/union-create.js +0 -9
  1690. package/node_modules/@sinclair/typebox/build/cjs/type/union/union-evaluated.d.ts +0 -13
  1691. package/node_modules/@sinclair/typebox/build/cjs/type/union/union-evaluated.js +0 -40
  1692. package/node_modules/@sinclair/typebox/build/cjs/type/union/union-type.d.ts +0 -12
  1693. package/node_modules/@sinclair/typebox/build/cjs/type/union/union-type.js +0 -4
  1694. package/node_modules/@sinclair/typebox/build/cjs/type/union/union.d.ts +0 -6
  1695. package/node_modules/@sinclair/typebox/build/cjs/type/union/union.js +0 -14
  1696. package/node_modules/@sinclair/typebox/build/cjs/type/unknown/index.d.ts +0 -1
  1697. package/node_modules/@sinclair/typebox/build/cjs/type/unknown/index.js +0 -18
  1698. package/node_modules/@sinclair/typebox/build/cjs/type/unknown/unknown.d.ts +0 -8
  1699. package/node_modules/@sinclair/typebox/build/cjs/type/unknown/unknown.js +0 -10
  1700. package/node_modules/@sinclair/typebox/build/cjs/type/unsafe/index.d.ts +0 -1
  1701. package/node_modules/@sinclair/typebox/build/cjs/type/unsafe/index.js +0 -18
  1702. package/node_modules/@sinclair/typebox/build/cjs/type/unsafe/unsafe.d.ts +0 -11
  1703. package/node_modules/@sinclair/typebox/build/cjs/type/unsafe/unsafe.js +0 -10
  1704. package/node_modules/@sinclair/typebox/build/cjs/type/void/index.d.ts +0 -1
  1705. package/node_modules/@sinclair/typebox/build/cjs/type/void/index.js +0 -18
  1706. package/node_modules/@sinclair/typebox/build/cjs/type/void/void.d.ts +0 -9
  1707. package/node_modules/@sinclair/typebox/build/cjs/type/void/void.js +0 -10
  1708. package/node_modules/@sinclair/typebox/build/cjs/value/assert/assert.d.ts +0 -15
  1709. package/node_modules/@sinclair/typebox/build/cjs/value/assert/assert.js +0 -55
  1710. package/node_modules/@sinclair/typebox/build/cjs/value/assert/index.d.ts +0 -1
  1711. package/node_modules/@sinclair/typebox/build/cjs/value/assert/index.js +0 -18
  1712. package/node_modules/@sinclair/typebox/build/cjs/value/cast/cast.d.ts +0 -11
  1713. package/node_modules/@sinclair/typebox/build/cjs/value/cast/cast.js +0 -241
  1714. package/node_modules/@sinclair/typebox/build/cjs/value/cast/index.d.ts +0 -1
  1715. package/node_modules/@sinclair/typebox/build/cjs/value/cast/index.js +0 -18
  1716. package/node_modules/@sinclair/typebox/build/cjs/value/check/check.d.ts +0 -11
  1717. package/node_modules/@sinclair/typebox/build/cjs/value/check/check.js +0 -476
  1718. package/node_modules/@sinclair/typebox/build/cjs/value/check/index.d.ts +0 -1
  1719. package/node_modules/@sinclair/typebox/build/cjs/value/check/index.js +0 -18
  1720. package/node_modules/@sinclair/typebox/build/cjs/value/clean/clean.d.ts +0 -5
  1721. package/node_modules/@sinclair/typebox/build/cjs/value/clean/clean.js +0 -149
  1722. package/node_modules/@sinclair/typebox/build/cjs/value/clean/index.d.ts +0 -1
  1723. package/node_modules/@sinclair/typebox/build/cjs/value/clean/index.js +0 -18
  1724. package/node_modules/@sinclair/typebox/build/cjs/value/clone/clone.d.ts +0 -2
  1725. package/node_modules/@sinclair/typebox/build/cjs/value/clone/clone.js +0 -60
  1726. package/node_modules/@sinclair/typebox/build/cjs/value/clone/index.d.ts +0 -1
  1727. package/node_modules/@sinclair/typebox/build/cjs/value/clone/index.js +0 -18
  1728. package/node_modules/@sinclair/typebox/build/cjs/value/convert/convert.d.ts +0 -5
  1729. package/node_modules/@sinclair/typebox/build/cjs/value/convert/convert.js +0 -264
  1730. package/node_modules/@sinclair/typebox/build/cjs/value/convert/index.d.ts +0 -1
  1731. package/node_modules/@sinclair/typebox/build/cjs/value/convert/index.js +0 -18
  1732. package/node_modules/@sinclair/typebox/build/cjs/value/create/create.d.ts +0 -11
  1733. package/node_modules/@sinclair/typebox/build/cjs/value/create/create.js +0 -474
  1734. package/node_modules/@sinclair/typebox/build/cjs/value/create/index.d.ts +0 -1
  1735. package/node_modules/@sinclair/typebox/build/cjs/value/create/index.js +0 -18
  1736. package/node_modules/@sinclair/typebox/build/cjs/value/decode/decode.d.ts +0 -6
  1737. package/node_modules/@sinclair/typebox/build/cjs/value/decode/decode.js +0 -14
  1738. package/node_modules/@sinclair/typebox/build/cjs/value/decode/index.d.ts +0 -1
  1739. package/node_modules/@sinclair/typebox/build/cjs/value/decode/index.js +0 -18
  1740. package/node_modules/@sinclair/typebox/build/cjs/value/default/default.d.ts +0 -5
  1741. package/node_modules/@sinclair/typebox/build/cjs/value/default/default.js +0 -176
  1742. package/node_modules/@sinclair/typebox/build/cjs/value/default/index.d.ts +0 -1
  1743. package/node_modules/@sinclair/typebox/build/cjs/value/default/index.js +0 -18
  1744. package/node_modules/@sinclair/typebox/build/cjs/value/delta/delta.d.ts +0 -32
  1745. package/node_modules/@sinclair/typebox/build/cjs/value/delta/delta.js +0 -178
  1746. package/node_modules/@sinclair/typebox/build/cjs/value/delta/index.d.ts +0 -1
  1747. package/node_modules/@sinclair/typebox/build/cjs/value/delta/index.js +0 -18
  1748. package/node_modules/@sinclair/typebox/build/cjs/value/deref/deref.d.ts +0 -12
  1749. package/node_modules/@sinclair/typebox/build/cjs/value/deref/deref.js +0 -36
  1750. package/node_modules/@sinclair/typebox/build/cjs/value/deref/index.d.ts +0 -1
  1751. package/node_modules/@sinclair/typebox/build/cjs/value/deref/index.js +0 -18
  1752. package/node_modules/@sinclair/typebox/build/cjs/value/encode/encode.d.ts +0 -6
  1753. package/node_modules/@sinclair/typebox/build/cjs/value/encode/encode.js +0 -15
  1754. package/node_modules/@sinclair/typebox/build/cjs/value/encode/index.d.ts +0 -1
  1755. package/node_modules/@sinclair/typebox/build/cjs/value/encode/index.js +0 -18
  1756. package/node_modules/@sinclair/typebox/build/cjs/value/equal/equal.d.ts +0 -2
  1757. package/node_modules/@sinclair/typebox/build/cjs/value/equal/equal.js +0 -50
  1758. package/node_modules/@sinclair/typebox/build/cjs/value/equal/index.d.ts +0 -1
  1759. package/node_modules/@sinclair/typebox/build/cjs/value/equal/index.js +0 -18
  1760. package/node_modules/@sinclair/typebox/build/cjs/value/guard/guard.d.ts +0 -74
  1761. package/node_modules/@sinclair/typebox/build/cjs/value/guard/guard.js +0 -195
  1762. package/node_modules/@sinclair/typebox/build/cjs/value/guard/index.d.ts +0 -1
  1763. package/node_modules/@sinclair/typebox/build/cjs/value/guard/index.js +0 -18
  1764. package/node_modules/@sinclair/typebox/build/cjs/value/hash/hash.d.ts +0 -7
  1765. package/node_modules/@sinclair/typebox/build/cjs/value/hash/hash.js +0 -152
  1766. package/node_modules/@sinclair/typebox/build/cjs/value/hash/index.d.ts +0 -1
  1767. package/node_modules/@sinclair/typebox/build/cjs/value/hash/index.js +0 -18
  1768. package/node_modules/@sinclair/typebox/build/cjs/value/index.d.ts +0 -20
  1769. package/node_modules/@sinclair/typebox/build/cjs/value/index.js +0 -53
  1770. package/node_modules/@sinclair/typebox/build/cjs/value/mutate/index.d.ts +0 -1
  1771. package/node_modules/@sinclair/typebox/build/cjs/value/mutate/index.js +0 -18
  1772. package/node_modules/@sinclair/typebox/build/cjs/value/mutate/mutate.d.ts +0 -9
  1773. package/node_modules/@sinclair/typebox/build/cjs/value/mutate/mutate.js +0 -104
  1774. package/node_modules/@sinclair/typebox/build/cjs/value/parse/index.d.ts +0 -1
  1775. package/node_modules/@sinclair/typebox/build/cjs/value/parse/index.js +0 -18
  1776. package/node_modules/@sinclair/typebox/build/cjs/value/parse/parse.d.ts +0 -22
  1777. package/node_modules/@sinclair/typebox/build/cjs/value/parse/parse.js +0 -87
  1778. package/node_modules/@sinclair/typebox/build/cjs/value/pointer/index.d.ts +0 -1
  1779. package/node_modules/@sinclair/typebox/build/cjs/value/pointer/index.js +0 -38
  1780. package/node_modules/@sinclair/typebox/build/cjs/value/pointer/pointer.d.ts +0 -22
  1781. package/node_modules/@sinclair/typebox/build/cjs/value/pointer/pointer.js +0 -126
  1782. package/node_modules/@sinclair/typebox/build/cjs/value/transform/decode.d.ts +0 -22
  1783. package/node_modules/@sinclair/typebox/build/cjs/value/transform/decode.js +0 -214
  1784. package/node_modules/@sinclair/typebox/build/cjs/value/transform/encode.d.ts +0 -23
  1785. package/node_modules/@sinclair/typebox/build/cjs/value/transform/encode.js +0 -225
  1786. package/node_modules/@sinclair/typebox/build/cjs/value/transform/has.d.ts +0 -3
  1787. package/node_modules/@sinclair/typebox/build/cjs/value/transform/has.js +0 -133
  1788. package/node_modules/@sinclair/typebox/build/cjs/value/transform/index.d.ts +0 -3
  1789. package/node_modules/@sinclair/typebox/build/cjs/value/transform/index.js +0 -20
  1790. package/node_modules/@sinclair/typebox/build/cjs/value/value/index.d.ts +0 -1
  1791. package/node_modules/@sinclair/typebox/build/cjs/value/value/index.js +0 -38
  1792. package/node_modules/@sinclair/typebox/build/cjs/value/value/value.d.ts +0 -16
  1793. package/node_modules/@sinclair/typebox/build/cjs/value/value/value.js +0 -39
  1794. package/node_modules/@sinclair/typebox/build/esm/compiler/compiler.d.mts +0 -55
  1795. package/node_modules/@sinclair/typebox/build/esm/compiler/compiler.mjs +0 -663
  1796. package/node_modules/@sinclair/typebox/build/esm/compiler/index.d.mts +0 -2
  1797. package/node_modules/@sinclair/typebox/build/esm/compiler/index.mjs +0 -2
  1798. package/node_modules/@sinclair/typebox/build/esm/errors/errors.d.mts +0 -91
  1799. package/node_modules/@sinclair/typebox/build/esm/errors/errors.mjs +0 -592
  1800. package/node_modules/@sinclair/typebox/build/esm/errors/function.d.mts +0 -21
  1801. package/node_modules/@sinclair/typebox/build/esm/errors/function.mjs +0 -147
  1802. package/node_modules/@sinclair/typebox/build/esm/errors/index.d.mts +0 -2
  1803. package/node_modules/@sinclair/typebox/build/esm/errors/index.mjs +0 -2
  1804. package/node_modules/@sinclair/typebox/build/esm/index.d.mts +0 -71
  1805. package/node_modules/@sinclair/typebox/build/esm/index.mjs +0 -80
  1806. package/node_modules/@sinclair/typebox/build/esm/parser/index.d.mts +0 -2
  1807. package/node_modules/@sinclair/typebox/build/esm/parser/index.mjs +0 -2
  1808. package/node_modules/@sinclair/typebox/build/esm/parser/runtime/guard.d.mts +0 -23
  1809. package/node_modules/@sinclair/typebox/build/esm/parser/runtime/guard.mjs +0 -72
  1810. package/node_modules/@sinclair/typebox/build/esm/parser/runtime/index.d.mts +0 -5
  1811. package/node_modules/@sinclair/typebox/build/esm/parser/runtime/index.mjs +0 -5
  1812. package/node_modules/@sinclair/typebox/build/esm/parser/runtime/module.d.mts +0 -9
  1813. package/node_modules/@sinclair/typebox/build/esm/parser/runtime/module.mjs +0 -17
  1814. package/node_modules/@sinclair/typebox/build/esm/parser/runtime/parse.d.mts +0 -9
  1815. package/node_modules/@sinclair/typebox/build/esm/parser/runtime/parse.mjs +0 -123
  1816. package/node_modules/@sinclair/typebox/build/esm/parser/runtime/token.d.mts +0 -8
  1817. package/node_modules/@sinclair/typebox/build/esm/parser/runtime/token.mjs +0 -223
  1818. package/node_modules/@sinclair/typebox/build/esm/parser/runtime/types.d.mts +0 -98
  1819. package/node_modules/@sinclair/typebox/build/esm/parser/runtime/types.mjs +0 -55
  1820. package/node_modules/@sinclair/typebox/build/esm/parser/static/index.d.mts +0 -3
  1821. package/node_modules/@sinclair/typebox/build/esm/parser/static/index.mjs +0 -3
  1822. package/node_modules/@sinclair/typebox/build/esm/parser/static/parse.d.mts +0 -20
  1823. package/node_modules/@sinclair/typebox/build/esm/parser/static/parse.mjs +0 -1
  1824. package/node_modules/@sinclair/typebox/build/esm/parser/static/token.d.mts +0 -108
  1825. package/node_modules/@sinclair/typebox/build/esm/parser/static/token.mjs +0 -1
  1826. package/node_modules/@sinclair/typebox/build/esm/parser/static/types.d.mts +0 -69
  1827. package/node_modules/@sinclair/typebox/build/esm/parser/static/types.mjs +0 -1
  1828. package/node_modules/@sinclair/typebox/build/esm/syntax/index.d.mts +0 -1
  1829. package/node_modules/@sinclair/typebox/build/esm/syntax/index.mjs +0 -1
  1830. package/node_modules/@sinclair/typebox/build/esm/syntax/mapping.d.mts +0 -167
  1831. package/node_modules/@sinclair/typebox/build/esm/syntax/mapping.mjs +0 -386
  1832. package/node_modules/@sinclair/typebox/build/esm/syntax/parser.d.mts +0 -162
  1833. package/node_modules/@sinclair/typebox/build/esm/syntax/parser.mjs +0 -78
  1834. package/node_modules/@sinclair/typebox/build/esm/syntax/syntax.d.mts +0 -12
  1835. package/node_modules/@sinclair/typebox/build/esm/syntax/syntax.mjs +0 -16
  1836. package/node_modules/@sinclair/typebox/build/esm/system/index.d.mts +0 -2
  1837. package/node_modules/@sinclair/typebox/build/esm/system/index.mjs +0 -2
  1838. package/node_modules/@sinclair/typebox/build/esm/system/policy.d.mts +0 -29
  1839. package/node_modules/@sinclair/typebox/build/esm/system/policy.mjs +0 -54
  1840. package/node_modules/@sinclair/typebox/build/esm/system/system.d.mts +0 -16
  1841. package/node_modules/@sinclair/typebox/build/esm/system/system.mjs +0 -37
  1842. package/node_modules/@sinclair/typebox/build/esm/type/any/any.d.mts +0 -8
  1843. package/node_modules/@sinclair/typebox/build/esm/type/any/any.mjs +0 -6
  1844. package/node_modules/@sinclair/typebox/build/esm/type/any/index.d.mts +0 -1
  1845. package/node_modules/@sinclair/typebox/build/esm/type/any/index.mjs +0 -1
  1846. package/node_modules/@sinclair/typebox/build/esm/type/argument/argument.d.mts +0 -9
  1847. package/node_modules/@sinclair/typebox/build/esm/type/argument/argument.mjs +0 -6
  1848. package/node_modules/@sinclair/typebox/build/esm/type/argument/index.d.mts +0 -1
  1849. package/node_modules/@sinclair/typebox/build/esm/type/argument/index.mjs +0 -1
  1850. package/node_modules/@sinclair/typebox/build/esm/type/array/array.d.mts +0 -28
  1851. package/node_modules/@sinclair/typebox/build/esm/type/array/array.mjs +0 -6
  1852. package/node_modules/@sinclair/typebox/build/esm/type/array/index.d.mts +0 -1
  1853. package/node_modules/@sinclair/typebox/build/esm/type/array/index.mjs +0 -1
  1854. package/node_modules/@sinclair/typebox/build/esm/type/async-iterator/async-iterator.d.mts +0 -11
  1855. package/node_modules/@sinclair/typebox/build/esm/type/async-iterator/async-iterator.mjs +0 -6
  1856. package/node_modules/@sinclair/typebox/build/esm/type/async-iterator/index.d.mts +0 -1
  1857. package/node_modules/@sinclair/typebox/build/esm/type/async-iterator/index.mjs +0 -1
  1858. package/node_modules/@sinclair/typebox/build/esm/type/awaited/awaited.d.mts +0 -14
  1859. package/node_modules/@sinclair/typebox/build/esm/type/awaited/awaited.mjs +0 -37
  1860. package/node_modules/@sinclair/typebox/build/esm/type/awaited/index.d.mts +0 -1
  1861. package/node_modules/@sinclair/typebox/build/esm/type/awaited/index.mjs +0 -1
  1862. package/node_modules/@sinclair/typebox/build/esm/type/bigint/bigint.d.mts +0 -16
  1863. package/node_modules/@sinclair/typebox/build/esm/type/bigint/bigint.mjs +0 -6
  1864. package/node_modules/@sinclair/typebox/build/esm/type/bigint/index.d.mts +0 -1
  1865. package/node_modules/@sinclair/typebox/build/esm/type/bigint/index.mjs +0 -1
  1866. package/node_modules/@sinclair/typebox/build/esm/type/boolean/boolean.d.mts +0 -9
  1867. package/node_modules/@sinclair/typebox/build/esm/type/boolean/boolean.mjs +0 -6
  1868. package/node_modules/@sinclair/typebox/build/esm/type/boolean/index.d.mts +0 -1
  1869. package/node_modules/@sinclair/typebox/build/esm/type/boolean/index.mjs +0 -1
  1870. package/node_modules/@sinclair/typebox/build/esm/type/clone/index.d.mts +0 -2
  1871. package/node_modules/@sinclair/typebox/build/esm/type/clone/index.mjs +0 -2
  1872. package/node_modules/@sinclair/typebox/build/esm/type/clone/type.d.mts +0 -5
  1873. package/node_modules/@sinclair/typebox/build/esm/type/clone/type.mjs +0 -9
  1874. package/node_modules/@sinclair/typebox/build/esm/type/clone/value.d.mts +0 -2
  1875. package/node_modules/@sinclair/typebox/build/esm/type/clone/value.mjs +0 -36
  1876. package/node_modules/@sinclair/typebox/build/esm/type/composite/composite.d.mts +0 -18
  1877. package/node_modules/@sinclair/typebox/build/esm/type/composite/composite.mjs +0 -42
  1878. package/node_modules/@sinclair/typebox/build/esm/type/composite/index.d.mts +0 -1
  1879. package/node_modules/@sinclair/typebox/build/esm/type/composite/index.mjs +0 -1
  1880. package/node_modules/@sinclair/typebox/build/esm/type/computed/computed.d.mts +0 -9
  1881. package/node_modules/@sinclair/typebox/build/esm/type/computed/computed.mjs +0 -6
  1882. package/node_modules/@sinclair/typebox/build/esm/type/computed/index.d.mts +0 -1
  1883. package/node_modules/@sinclair/typebox/build/esm/type/computed/index.mjs +0 -1
  1884. package/node_modules/@sinclair/typebox/build/esm/type/const/const.d.mts +0 -27
  1885. package/node_modules/@sinclair/typebox/build/esm/type/const/const.mjs +0 -54
  1886. package/node_modules/@sinclair/typebox/build/esm/type/const/index.d.mts +0 -1
  1887. package/node_modules/@sinclair/typebox/build/esm/type/const/index.mjs +0 -1
  1888. package/node_modules/@sinclair/typebox/build/esm/type/constructor/constructor.d.mts +0 -23
  1889. package/node_modules/@sinclair/typebox/build/esm/type/constructor/constructor.mjs +0 -6
  1890. package/node_modules/@sinclair/typebox/build/esm/type/constructor/index.d.mts +0 -1
  1891. package/node_modules/@sinclair/typebox/build/esm/type/constructor/index.mjs +0 -1
  1892. package/node_modules/@sinclair/typebox/build/esm/type/constructor-parameters/constructor-parameters.d.mts +0 -7
  1893. package/node_modules/@sinclair/typebox/build/esm/type/constructor-parameters/constructor-parameters.mjs +0 -7
  1894. package/node_modules/@sinclair/typebox/build/esm/type/constructor-parameters/index.d.mts +0 -1
  1895. package/node_modules/@sinclair/typebox/build/esm/type/constructor-parameters/index.mjs +0 -1
  1896. package/node_modules/@sinclair/typebox/build/esm/type/create/immutable.d.mts +0 -2
  1897. package/node_modules/@sinclair/typebox/build/esm/type/create/immutable.mjs +0 -33
  1898. package/node_modules/@sinclair/typebox/build/esm/type/create/index.d.mts +0 -1
  1899. package/node_modules/@sinclair/typebox/build/esm/type/create/index.mjs +0 -1
  1900. package/node_modules/@sinclair/typebox/build/esm/type/create/type.d.mts +0 -3
  1901. package/node_modules/@sinclair/typebox/build/esm/type/create/type.mjs +0 -15
  1902. package/node_modules/@sinclair/typebox/build/esm/type/date/date.d.mts +0 -21
  1903. package/node_modules/@sinclair/typebox/build/esm/type/date/date.mjs +0 -6
  1904. package/node_modules/@sinclair/typebox/build/esm/type/date/index.d.mts +0 -1
  1905. package/node_modules/@sinclair/typebox/build/esm/type/date/index.mjs +0 -1
  1906. package/node_modules/@sinclair/typebox/build/esm/type/discard/discard.d.mts +0 -2
  1907. package/node_modules/@sinclair/typebox/build/esm/type/discard/discard.mjs +0 -8
  1908. package/node_modules/@sinclair/typebox/build/esm/type/discard/index.d.mts +0 -1
  1909. package/node_modules/@sinclair/typebox/build/esm/type/discard/index.mjs +0 -1
  1910. package/node_modules/@sinclair/typebox/build/esm/type/enum/enum.d.mts +0 -14
  1911. package/node_modules/@sinclair/typebox/build/esm/type/enum/enum.mjs +0 -18
  1912. package/node_modules/@sinclair/typebox/build/esm/type/enum/index.d.mts +0 -1
  1913. package/node_modules/@sinclair/typebox/build/esm/type/enum/index.mjs +0 -1
  1914. package/node_modules/@sinclair/typebox/build/esm/type/error/error.d.mts +0 -4
  1915. package/node_modules/@sinclair/typebox/build/esm/type/error/error.mjs +0 -6
  1916. package/node_modules/@sinclair/typebox/build/esm/type/error/index.d.mts +0 -1
  1917. package/node_modules/@sinclair/typebox/build/esm/type/error/index.mjs +0 -1
  1918. package/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-mapped-result.d.mts +0 -11
  1919. package/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-mapped-result.mjs +0 -18
  1920. package/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-template-literal.d.mts +0 -5
  1921. package/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude-from-template-literal.mjs +0 -5
  1922. package/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude.d.mts +0 -21
  1923. package/node_modules/@sinclair/typebox/build/esm/type/exclude/exclude.mjs +0 -25
  1924. package/node_modules/@sinclair/typebox/build/esm/type/exclude/index.d.mts +0 -3
  1925. package/node_modules/@sinclair/typebox/build/esm/type/exclude/index.mjs +0 -3
  1926. package/node_modules/@sinclair/typebox/build/esm/type/extends/extends-check.d.mts +0 -10
  1927. package/node_modules/@sinclair/typebox/build/esm/type/extends/extends-check.mjs +0 -635
  1928. package/node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-key.d.mts +0 -14
  1929. package/node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-key.mjs +0 -25
  1930. package/node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-result.d.mts +0 -11
  1931. package/node_modules/@sinclair/typebox/build/esm/type/extends/extends-from-mapped-result.mjs +0 -19
  1932. package/node_modules/@sinclair/typebox/build/esm/type/extends/extends-undefined.d.mts +0 -3
  1933. package/node_modules/@sinclair/typebox/build/esm/type/extends/extends-undefined.mjs +0 -20
  1934. package/node_modules/@sinclair/typebox/build/esm/type/extends/extends.d.mts +0 -16
  1935. package/node_modules/@sinclair/typebox/build/esm/type/extends/extends.mjs +0 -23
  1936. package/node_modules/@sinclair/typebox/build/esm/type/extends/index.d.mts +0 -5
  1937. package/node_modules/@sinclair/typebox/build/esm/type/extends/index.mjs +0 -5
  1938. package/node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-mapped-result.d.mts +0 -11
  1939. package/node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-mapped-result.mjs +0 -18
  1940. package/node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-template-literal.d.mts +0 -5
  1941. package/node_modules/@sinclair/typebox/build/esm/type/extract/extract-from-template-literal.mjs +0 -5
  1942. package/node_modules/@sinclair/typebox/build/esm/type/extract/extract.d.mts +0 -21
  1943. package/node_modules/@sinclair/typebox/build/esm/type/extract/extract.mjs +0 -25
  1944. package/node_modules/@sinclair/typebox/build/esm/type/extract/index.d.mts +0 -3
  1945. package/node_modules/@sinclair/typebox/build/esm/type/extract/index.mjs +0 -3
  1946. package/node_modules/@sinclair/typebox/build/esm/type/function/function.d.mts +0 -23
  1947. package/node_modules/@sinclair/typebox/build/esm/type/function/function.mjs +0 -6
  1948. package/node_modules/@sinclair/typebox/build/esm/type/function/index.d.mts +0 -1
  1949. package/node_modules/@sinclair/typebox/build/esm/type/function/index.mjs +0 -1
  1950. package/node_modules/@sinclair/typebox/build/esm/type/guard/index.d.mts +0 -3
  1951. package/node_modules/@sinclair/typebox/build/esm/type/guard/index.mjs +0 -3
  1952. package/node_modules/@sinclair/typebox/build/esm/type/guard/kind.d.mts +0 -147
  1953. package/node_modules/@sinclair/typebox/build/esm/type/guard/kind.mjs +0 -235
  1954. package/node_modules/@sinclair/typebox/build/esm/type/guard/type.d.mts +0 -152
  1955. package/node_modules/@sinclair/typebox/build/esm/type/guard/type.mjs +0 -509
  1956. package/node_modules/@sinclair/typebox/build/esm/type/guard/value.d.mts +0 -34
  1957. package/node_modules/@sinclair/typebox/build/esm/type/guard/value.mjs +0 -70
  1958. package/node_modules/@sinclair/typebox/build/esm/type/helpers/helpers.d.mts +0 -42
  1959. package/node_modules/@sinclair/typebox/build/esm/type/helpers/helpers.mjs +0 -4
  1960. package/node_modules/@sinclair/typebox/build/esm/type/helpers/index.d.mts +0 -1
  1961. package/node_modules/@sinclair/typebox/build/esm/type/helpers/index.mjs +0 -1
  1962. package/node_modules/@sinclair/typebox/build/esm/type/index.d.mts +0 -71
  1963. package/node_modules/@sinclair/typebox/build/esm/type/index.mjs +0 -71
  1964. package/node_modules/@sinclair/typebox/build/esm/type/indexed/index.d.mts +0 -4
  1965. package/node_modules/@sinclair/typebox/build/esm/type/indexed/index.mjs +0 -4
  1966. package/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-key.d.mts +0 -13
  1967. package/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-key.mjs +0 -22
  1968. package/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-result.d.mts +0 -12
  1969. package/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-from-mapped-result.mjs +0 -20
  1970. package/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-property-keys.d.mts +0 -14
  1971. package/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed-property-keys.mjs +0 -32
  1972. package/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed.d.mts +0 -52
  1973. package/node_modules/@sinclair/typebox/build/esm/type/indexed/indexed.mjs +0 -91
  1974. package/node_modules/@sinclair/typebox/build/esm/type/instance-type/index.d.mts +0 -1
  1975. package/node_modules/@sinclair/typebox/build/esm/type/instance-type/index.mjs +0 -1
  1976. package/node_modules/@sinclair/typebox/build/esm/type/instance-type/instance-type.d.mts +0 -6
  1977. package/node_modules/@sinclair/typebox/build/esm/type/instance-type/instance-type.mjs +0 -7
  1978. package/node_modules/@sinclair/typebox/build/esm/type/instantiate/index.d.mts +0 -1
  1979. package/node_modules/@sinclair/typebox/build/esm/type/instantiate/index.mjs +0 -1
  1980. package/node_modules/@sinclair/typebox/build/esm/type/instantiate/instantiate.d.mts +0 -50
  1981. package/node_modules/@sinclair/typebox/build/esm/type/instantiate/instantiate.mjs +0 -115
  1982. package/node_modules/@sinclair/typebox/build/esm/type/integer/index.d.mts +0 -1
  1983. package/node_modules/@sinclair/typebox/build/esm/type/integer/index.mjs +0 -1
  1984. package/node_modules/@sinclair/typebox/build/esm/type/integer/integer.d.mts +0 -16
  1985. package/node_modules/@sinclair/typebox/build/esm/type/integer/integer.mjs +0 -6
  1986. package/node_modules/@sinclair/typebox/build/esm/type/intersect/index.d.mts +0 -3
  1987. package/node_modules/@sinclair/typebox/build/esm/type/intersect/index.mjs +0 -3
  1988. package/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-create.d.mts +0 -3
  1989. package/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-create.mjs +0 -19
  1990. package/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-evaluated.d.mts +0 -13
  1991. package/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-evaluated.mjs +0 -38
  1992. package/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-type.d.mts +0 -15
  1993. package/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect-type.mjs +0 -1
  1994. package/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect.d.mts +0 -6
  1995. package/node_modules/@sinclair/typebox/build/esm/type/intersect/intersect.mjs +0 -17
  1996. package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/capitalize.d.mts +0 -5
  1997. package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/capitalize.mjs +0 -5
  1998. package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/index.d.mts +0 -6
  1999. package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/index.mjs +0 -6
  2000. package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic-from-mapped-key.d.mts +0 -14
  2001. package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic-from-mapped-key.mjs +0 -26
  2002. package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic.d.mts +0 -16
  2003. package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/intrinsic.mjs +0 -64
  2004. package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/lowercase.d.mts +0 -5
  2005. package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/lowercase.mjs +0 -5
  2006. package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/uncapitalize.d.mts +0 -5
  2007. package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/uncapitalize.mjs +0 -5
  2008. package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/uppercase.d.mts +0 -5
  2009. package/node_modules/@sinclair/typebox/build/esm/type/intrinsic/uppercase.mjs +0 -5
  2010. package/node_modules/@sinclair/typebox/build/esm/type/iterator/index.d.mts +0 -1
  2011. package/node_modules/@sinclair/typebox/build/esm/type/iterator/index.mjs +0 -1
  2012. package/node_modules/@sinclair/typebox/build/esm/type/iterator/iterator.d.mts +0 -11
  2013. package/node_modules/@sinclair/typebox/build/esm/type/iterator/iterator.mjs +0 -6
  2014. package/node_modules/@sinclair/typebox/build/esm/type/keyof/index.d.mts +0 -4
  2015. package/node_modules/@sinclair/typebox/build/esm/type/keyof/index.mjs +0 -4
  2016. package/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-from-mapped-result.d.mts +0 -12
  2017. package/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-from-mapped-result.mjs +0 -19
  2018. package/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-property-entries.d.mts +0 -7
  2019. package/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-property-entries.mjs +0 -12
  2020. package/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-property-keys.d.mts +0 -24
  2021. package/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof-property-keys.mjs +0 -73
  2022. package/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof.d.mts +0 -21
  2023. package/node_modules/@sinclair/typebox/build/esm/type/keyof/keyof.mjs +0 -35
  2024. package/node_modules/@sinclair/typebox/build/esm/type/literal/index.d.mts +0 -1
  2025. package/node_modules/@sinclair/typebox/build/esm/type/literal/index.mjs +0 -1
  2026. package/node_modules/@sinclair/typebox/build/esm/type/literal/literal.d.mts +0 -10
  2027. package/node_modules/@sinclair/typebox/build/esm/type/literal/literal.mjs +0 -10
  2028. package/node_modules/@sinclair/typebox/build/esm/type/mapped/index.d.mts +0 -3
  2029. package/node_modules/@sinclair/typebox/build/esm/type/mapped/index.mjs +0 -3
  2030. package/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped-key.d.mts +0 -8
  2031. package/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped-key.mjs +0 -9
  2032. package/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped-result.d.mts +0 -9
  2033. package/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped-result.mjs +0 -9
  2034. package/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped.d.mts +0 -47
  2035. package/node_modules/@sinclair/typebox/build/esm/type/mapped/mapped.mjs +0 -102
  2036. package/node_modules/@sinclair/typebox/build/esm/type/module/compute.d.mts +0 -59
  2037. package/node_modules/@sinclair/typebox/build/esm/type/module/compute.mjs +0 -166
  2038. package/node_modules/@sinclair/typebox/build/esm/type/module/index.d.mts +0 -1
  2039. package/node_modules/@sinclair/typebox/build/esm/type/module/index.mjs +0 -1
  2040. package/node_modules/@sinclair/typebox/build/esm/type/module/infer.d.mts +0 -49
  2041. package/node_modules/@sinclair/typebox/build/esm/type/module/infer.mjs +0 -1
  2042. package/node_modules/@sinclair/typebox/build/esm/type/module/module.d.mts +0 -27
  2043. package/node_modules/@sinclair/typebox/build/esm/type/module/module.mjs +0 -32
  2044. package/node_modules/@sinclair/typebox/build/esm/type/never/index.d.mts +0 -1
  2045. package/node_modules/@sinclair/typebox/build/esm/type/never/index.mjs +0 -1
  2046. package/node_modules/@sinclair/typebox/build/esm/type/never/never.d.mts +0 -9
  2047. package/node_modules/@sinclair/typebox/build/esm/type/never/never.mjs +0 -6
  2048. package/node_modules/@sinclair/typebox/build/esm/type/not/index.d.mts +0 -1
  2049. package/node_modules/@sinclair/typebox/build/esm/type/not/index.mjs +0 -1
  2050. package/node_modules/@sinclair/typebox/build/esm/type/not/not.d.mts +0 -10
  2051. package/node_modules/@sinclair/typebox/build/esm/type/not/not.mjs +0 -6
  2052. package/node_modules/@sinclair/typebox/build/esm/type/null/index.d.mts +0 -1
  2053. package/node_modules/@sinclair/typebox/build/esm/type/null/index.mjs +0 -1
  2054. package/node_modules/@sinclair/typebox/build/esm/type/null/null.d.mts +0 -9
  2055. package/node_modules/@sinclair/typebox/build/esm/type/null/null.mjs +0 -6
  2056. package/node_modules/@sinclair/typebox/build/esm/type/number/index.d.mts +0 -1
  2057. package/node_modules/@sinclair/typebox/build/esm/type/number/index.mjs +0 -1
  2058. package/node_modules/@sinclair/typebox/build/esm/type/number/number.d.mts +0 -16
  2059. package/node_modules/@sinclair/typebox/build/esm/type/number/number.mjs +0 -6
  2060. package/node_modules/@sinclair/typebox/build/esm/type/object/index.d.mts +0 -1
  2061. package/node_modules/@sinclair/typebox/build/esm/type/object/index.mjs +0 -1
  2062. package/node_modules/@sinclair/typebox/build/esm/type/object/object.d.mts +0 -51
  2063. package/node_modules/@sinclair/typebox/build/esm/type/object/object.mjs +0 -18
  2064. package/node_modules/@sinclair/typebox/build/esm/type/omit/index.d.mts +0 -3
  2065. package/node_modules/@sinclair/typebox/build/esm/type/omit/index.mjs +0 -3
  2066. package/node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-key.d.mts +0 -12
  2067. package/node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-key.mjs +0 -22
  2068. package/node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-result.d.mts +0 -12
  2069. package/node_modules/@sinclair/typebox/build/esm/type/omit/omit-from-mapped-result.mjs +0 -19
  2070. package/node_modules/@sinclair/typebox/build/esm/type/omit/omit.d.mts +0 -36
  2071. package/node_modules/@sinclair/typebox/build/esm/type/omit/omit.mjs +0 -71
  2072. package/node_modules/@sinclair/typebox/build/esm/type/optional/index.d.mts +0 -2
  2073. package/node_modules/@sinclair/typebox/build/esm/type/optional/index.mjs +0 -2
  2074. package/node_modules/@sinclair/typebox/build/esm/type/optional/optional-from-mapped-result.d.mts +0 -10
  2075. package/node_modules/@sinclair/typebox/build/esm/type/optional/optional-from-mapped-result.mjs +0 -18
  2076. package/node_modules/@sinclair/typebox/build/esm/type/optional/optional.d.mts +0 -20
  2077. package/node_modules/@sinclair/typebox/build/esm/type/optional/optional.mjs +0 -22
  2078. package/node_modules/@sinclair/typebox/build/esm/type/parameters/index.d.mts +0 -1
  2079. package/node_modules/@sinclair/typebox/build/esm/type/parameters/index.mjs +0 -1
  2080. package/node_modules/@sinclair/typebox/build/esm/type/parameters/parameters.d.mts +0 -7
  2081. package/node_modules/@sinclair/typebox/build/esm/type/parameters/parameters.mjs +0 -7
  2082. package/node_modules/@sinclair/typebox/build/esm/type/partial/index.d.mts +0 -2
  2083. package/node_modules/@sinclair/typebox/build/esm/type/partial/index.mjs +0 -2
  2084. package/node_modules/@sinclair/typebox/build/esm/type/partial/partial-from-mapped-result.d.mts +0 -12
  2085. package/node_modules/@sinclair/typebox/build/esm/type/partial/partial-from-mapped-result.mjs +0 -19
  2086. package/node_modules/@sinclair/typebox/build/esm/type/partial/partial.d.mts +0 -35
  2087. package/node_modules/@sinclair/typebox/build/esm/type/partial/partial.mjs +0 -74
  2088. package/node_modules/@sinclair/typebox/build/esm/type/patterns/index.d.mts +0 -1
  2089. package/node_modules/@sinclair/typebox/build/esm/type/patterns/index.mjs +0 -1
  2090. package/node_modules/@sinclair/typebox/build/esm/type/patterns/patterns.d.mts +0 -8
  2091. package/node_modules/@sinclair/typebox/build/esm/type/patterns/patterns.mjs +0 -8
  2092. package/node_modules/@sinclair/typebox/build/esm/type/pick/index.d.mts +0 -3
  2093. package/node_modules/@sinclair/typebox/build/esm/type/pick/index.mjs +0 -3
  2094. package/node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-key.d.mts +0 -12
  2095. package/node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-key.mjs +0 -24
  2096. package/node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-result.d.mts +0 -12
  2097. package/node_modules/@sinclair/typebox/build/esm/type/pick/pick-from-mapped-result.mjs +0 -19
  2098. package/node_modules/@sinclair/typebox/build/esm/type/pick/pick.d.mts +0 -36
  2099. package/node_modules/@sinclair/typebox/build/esm/type/pick/pick.mjs +0 -66
  2100. package/node_modules/@sinclair/typebox/build/esm/type/promise/index.d.mts +0 -1
  2101. package/node_modules/@sinclair/typebox/build/esm/type/promise/index.mjs +0 -1
  2102. package/node_modules/@sinclair/typebox/build/esm/type/promise/promise.d.mts +0 -11
  2103. package/node_modules/@sinclair/typebox/build/esm/type/promise/promise.mjs +0 -6
  2104. package/node_modules/@sinclair/typebox/build/esm/type/readonly/index.d.mts +0 -2
  2105. package/node_modules/@sinclair/typebox/build/esm/type/readonly/index.mjs +0 -2
  2106. package/node_modules/@sinclair/typebox/build/esm/type/readonly/readonly-from-mapped-result.d.mts +0 -10
  2107. package/node_modules/@sinclair/typebox/build/esm/type/readonly/readonly-from-mapped-result.mjs +0 -18
  2108. package/node_modules/@sinclair/typebox/build/esm/type/readonly/readonly.d.mts +0 -20
  2109. package/node_modules/@sinclair/typebox/build/esm/type/readonly/readonly.mjs +0 -22
  2110. package/node_modules/@sinclair/typebox/build/esm/type/readonly-optional/index.d.mts +0 -1
  2111. package/node_modules/@sinclair/typebox/build/esm/type/readonly-optional/index.mjs +0 -1
  2112. package/node_modules/@sinclair/typebox/build/esm/type/readonly-optional/readonly-optional.d.mts +0 -6
  2113. package/node_modules/@sinclair/typebox/build/esm/type/readonly-optional/readonly-optional.mjs +0 -6
  2114. package/node_modules/@sinclair/typebox/build/esm/type/record/index.d.mts +0 -1
  2115. package/node_modules/@sinclair/typebox/build/esm/type/record/index.mjs +0 -1
  2116. package/node_modules/@sinclair/typebox/build/esm/type/record/record.d.mts +0 -71
  2117. package/node_modules/@sinclair/typebox/build/esm/type/record/record.mjs +0 -116
  2118. package/node_modules/@sinclair/typebox/build/esm/type/recursive/index.d.mts +0 -1
  2119. package/node_modules/@sinclair/typebox/build/esm/type/recursive/index.mjs +0 -1
  2120. package/node_modules/@sinclair/typebox/build/esm/type/recursive/recursive.d.mts +0 -16
  2121. package/node_modules/@sinclair/typebox/build/esm/type/recursive/recursive.mjs +0 -15
  2122. package/node_modules/@sinclair/typebox/build/esm/type/ref/index.d.mts +0 -1
  2123. package/node_modules/@sinclair/typebox/build/esm/type/ref/index.mjs +0 -1
  2124. package/node_modules/@sinclair/typebox/build/esm/type/ref/ref.d.mts +0 -41
  2125. package/node_modules/@sinclair/typebox/build/esm/type/ref/ref.mjs +0 -10
  2126. package/node_modules/@sinclair/typebox/build/esm/type/regexp/index.d.mts +0 -1
  2127. package/node_modules/@sinclair/typebox/build/esm/type/regexp/index.mjs +0 -1
  2128. package/node_modules/@sinclair/typebox/build/esm/type/regexp/regexp.d.mts +0 -20
  2129. package/node_modules/@sinclair/typebox/build/esm/type/regexp/regexp.mjs +0 -8
  2130. package/node_modules/@sinclair/typebox/build/esm/type/registry/format.d.mts +0 -13
  2131. package/node_modules/@sinclair/typebox/build/esm/type/registry/format.mjs +0 -26
  2132. package/node_modules/@sinclair/typebox/build/esm/type/registry/index.d.mts +0 -2
  2133. package/node_modules/@sinclair/typebox/build/esm/type/registry/index.mjs +0 -2
  2134. package/node_modules/@sinclair/typebox/build/esm/type/registry/type.d.mts +0 -13
  2135. package/node_modules/@sinclair/typebox/build/esm/type/registry/type.mjs +0 -26
  2136. package/node_modules/@sinclair/typebox/build/esm/type/required/index.d.mts +0 -2
  2137. package/node_modules/@sinclair/typebox/build/esm/type/required/index.mjs +0 -2
  2138. package/node_modules/@sinclair/typebox/build/esm/type/required/required-from-mapped-result.d.mts +0 -12
  2139. package/node_modules/@sinclair/typebox/build/esm/type/required/required-from-mapped-result.mjs +0 -18
  2140. package/node_modules/@sinclair/typebox/build/esm/type/required/required.d.mts +0 -35
  2141. package/node_modules/@sinclair/typebox/build/esm/type/required/required.mjs +0 -73
  2142. package/node_modules/@sinclair/typebox/build/esm/type/rest/index.d.mts +0 -1
  2143. package/node_modules/@sinclair/typebox/build/esm/type/rest/index.mjs +0 -1
  2144. package/node_modules/@sinclair/typebox/build/esm/type/rest/rest.d.mts +0 -10
  2145. package/node_modules/@sinclair/typebox/build/esm/type/rest/rest.mjs +0 -15
  2146. package/node_modules/@sinclair/typebox/build/esm/type/return-type/index.d.mts +0 -1
  2147. package/node_modules/@sinclair/typebox/build/esm/type/return-type/index.mjs +0 -1
  2148. package/node_modules/@sinclair/typebox/build/esm/type/return-type/return-type.d.mts +0 -6
  2149. package/node_modules/@sinclair/typebox/build/esm/type/return-type/return-type.mjs +0 -7
  2150. package/node_modules/@sinclair/typebox/build/esm/type/schema/anyschema.d.mts +0 -33
  2151. package/node_modules/@sinclair/typebox/build/esm/type/schema/anyschema.mjs +0 -1
  2152. package/node_modules/@sinclair/typebox/build/esm/type/schema/index.d.mts +0 -2
  2153. package/node_modules/@sinclair/typebox/build/esm/type/schema/index.mjs +0 -2
  2154. package/node_modules/@sinclair/typebox/build/esm/type/schema/schema.d.mts +0 -29
  2155. package/node_modules/@sinclair/typebox/build/esm/type/schema/schema.mjs +0 -1
  2156. package/node_modules/@sinclair/typebox/build/esm/type/sets/index.d.mts +0 -1
  2157. package/node_modules/@sinclair/typebox/build/esm/type/sets/index.mjs +0 -1
  2158. package/node_modules/@sinclair/typebox/build/esm/type/sets/set.d.mts +0 -28
  2159. package/node_modules/@sinclair/typebox/build/esm/type/sets/set.mjs +0 -48
  2160. package/node_modules/@sinclair/typebox/build/esm/type/static/index.d.mts +0 -1
  2161. package/node_modules/@sinclair/typebox/build/esm/type/static/index.mjs +0 -1
  2162. package/node_modules/@sinclair/typebox/build/esm/type/static/static.d.mts +0 -39
  2163. package/node_modules/@sinclair/typebox/build/esm/type/static/static.mjs +0 -1
  2164. package/node_modules/@sinclair/typebox/build/esm/type/string/index.d.mts +0 -1
  2165. package/node_modules/@sinclair/typebox/build/esm/type/string/index.mjs +0 -1
  2166. package/node_modules/@sinclair/typebox/build/esm/type/string/string.d.mts +0 -25
  2167. package/node_modules/@sinclair/typebox/build/esm/type/string/string.mjs +0 -6
  2168. package/node_modules/@sinclair/typebox/build/esm/type/symbol/index.d.mts +0 -1
  2169. package/node_modules/@sinclair/typebox/build/esm/type/symbol/index.mjs +0 -1
  2170. package/node_modules/@sinclair/typebox/build/esm/type/symbol/symbol.d.mts +0 -10
  2171. package/node_modules/@sinclair/typebox/build/esm/type/symbol/symbol.mjs +0 -6
  2172. package/node_modules/@sinclair/typebox/build/esm/type/symbols/index.d.mts +0 -1
  2173. package/node_modules/@sinclair/typebox/build/esm/type/symbols/index.mjs +0 -1
  2174. package/node_modules/@sinclair/typebox/build/esm/type/symbols/symbols.d.mts +0 -10
  2175. package/node_modules/@sinclair/typebox/build/esm/type/symbols/symbols.mjs +0 -10
  2176. package/node_modules/@sinclair/typebox/build/esm/type/template-literal/finite.d.mts +0 -19
  2177. package/node_modules/@sinclair/typebox/build/esm/type/template-literal/finite.mjs +0 -49
  2178. package/node_modules/@sinclair/typebox/build/esm/type/template-literal/generate.d.mts +0 -21
  2179. package/node_modules/@sinclair/typebox/build/esm/type/template-literal/generate.mjs +0 -53
  2180. package/node_modules/@sinclair/typebox/build/esm/type/template-literal/index.d.mts +0 -7
  2181. package/node_modules/@sinclair/typebox/build/esm/type/template-literal/index.mjs +0 -7
  2182. package/node_modules/@sinclair/typebox/build/esm/type/template-literal/parse.d.mts +0 -20
  2183. package/node_modules/@sinclair/typebox/build/esm/type/template-literal/parse.mjs +0 -167
  2184. package/node_modules/@sinclair/typebox/build/esm/type/template-literal/pattern.d.mts +0 -5
  2185. package/node_modules/@sinclair/typebox/build/esm/type/template-literal/pattern.mjs +0 -33
  2186. package/node_modules/@sinclair/typebox/build/esm/type/template-literal/syntax.d.mts +0 -20
  2187. package/node_modules/@sinclair/typebox/build/esm/type/template-literal/syntax.mjs +0 -55
  2188. package/node_modules/@sinclair/typebox/build/esm/type/template-literal/template-literal.d.mts +0 -30
  2189. package/node_modules/@sinclair/typebox/build/esm/type/template-literal/template-literal.mjs +0 -13
  2190. package/node_modules/@sinclair/typebox/build/esm/type/template-literal/union.d.mts +0 -9
  2191. package/node_modules/@sinclair/typebox/build/esm/type/template-literal/union.mjs +0 -9
  2192. package/node_modules/@sinclair/typebox/build/esm/type/transform/index.d.mts +0 -1
  2193. package/node_modules/@sinclair/typebox/build/esm/type/transform/index.mjs +0 -1
  2194. package/node_modules/@sinclair/typebox/build/esm/type/transform/transform.d.mts +0 -30
  2195. package/node_modules/@sinclair/typebox/build/esm/type/transform/transform.mjs +0 -40
  2196. package/node_modules/@sinclair/typebox/build/esm/type/tuple/index.d.mts +0 -1
  2197. package/node_modules/@sinclair/typebox/build/esm/type/tuple/index.mjs +0 -1
  2198. package/node_modules/@sinclair/typebox/build/esm/type/tuple/tuple.d.mts +0 -16
  2199. package/node_modules/@sinclair/typebox/build/esm/type/tuple/tuple.mjs +0 -9
  2200. package/node_modules/@sinclair/typebox/build/esm/type/type/index.d.mts +0 -6
  2201. package/node_modules/@sinclair/typebox/build/esm/type/type/index.mjs +0 -13
  2202. package/node_modules/@sinclair/typebox/build/esm/type/type/javascript.d.mts +0 -64
  2203. package/node_modules/@sinclair/typebox/build/esm/type/type/javascript.mjs +0 -99
  2204. package/node_modules/@sinclair/typebox/build/esm/type/type/json.d.mts +0 -208
  2205. package/node_modules/@sinclair/typebox/build/esm/type/type/json.mjs +0 -221
  2206. package/node_modules/@sinclair/typebox/build/esm/type/type/type.d.mts +0 -59
  2207. package/node_modules/@sinclair/typebox/build/esm/type/type/type.mjs +0 -62
  2208. package/node_modules/@sinclair/typebox/build/esm/type/uint8array/index.d.mts +0 -1
  2209. package/node_modules/@sinclair/typebox/build/esm/type/uint8array/index.mjs +0 -1
  2210. package/node_modules/@sinclair/typebox/build/esm/type/uint8array/uint8array.d.mts +0 -13
  2211. package/node_modules/@sinclair/typebox/build/esm/type/uint8array/uint8array.mjs +0 -6
  2212. package/node_modules/@sinclair/typebox/build/esm/type/undefined/index.d.mts +0 -1
  2213. package/node_modules/@sinclair/typebox/build/esm/type/undefined/index.mjs +0 -1
  2214. package/node_modules/@sinclair/typebox/build/esm/type/undefined/undefined.d.mts +0 -9
  2215. package/node_modules/@sinclair/typebox/build/esm/type/undefined/undefined.mjs +0 -6
  2216. package/node_modules/@sinclair/typebox/build/esm/type/union/index.d.mts +0 -3
  2217. package/node_modules/@sinclair/typebox/build/esm/type/union/index.mjs +0 -3
  2218. package/node_modules/@sinclair/typebox/build/esm/type/union/union-create.d.mts +0 -3
  2219. package/node_modules/@sinclair/typebox/build/esm/type/union/union-create.mjs +0 -5
  2220. package/node_modules/@sinclair/typebox/build/esm/type/union/union-evaluated.d.mts +0 -13
  2221. package/node_modules/@sinclair/typebox/build/esm/type/union/union-evaluated.mjs +0 -36
  2222. package/node_modules/@sinclair/typebox/build/esm/type/union/union-type.d.mts +0 -12
  2223. package/node_modules/@sinclair/typebox/build/esm/type/union/union-type.mjs +0 -1
  2224. package/node_modules/@sinclair/typebox/build/esm/type/union/union.d.mts +0 -6
  2225. package/node_modules/@sinclair/typebox/build/esm/type/union/union.mjs +0 -10
  2226. package/node_modules/@sinclair/typebox/build/esm/type/unknown/index.d.mts +0 -1
  2227. package/node_modules/@sinclair/typebox/build/esm/type/unknown/index.mjs +0 -1
  2228. package/node_modules/@sinclair/typebox/build/esm/type/unknown/unknown.d.mts +0 -8
  2229. package/node_modules/@sinclair/typebox/build/esm/type/unknown/unknown.mjs +0 -6
  2230. package/node_modules/@sinclair/typebox/build/esm/type/unsafe/index.d.mts +0 -1
  2231. package/node_modules/@sinclair/typebox/build/esm/type/unsafe/index.mjs +0 -1
  2232. package/node_modules/@sinclair/typebox/build/esm/type/unsafe/unsafe.d.mts +0 -11
  2233. package/node_modules/@sinclair/typebox/build/esm/type/unsafe/unsafe.mjs +0 -6
  2234. package/node_modules/@sinclair/typebox/build/esm/type/void/index.d.mts +0 -1
  2235. package/node_modules/@sinclair/typebox/build/esm/type/void/index.mjs +0 -1
  2236. package/node_modules/@sinclair/typebox/build/esm/type/void/void.d.mts +0 -9
  2237. package/node_modules/@sinclair/typebox/build/esm/type/void/void.mjs +0 -6
  2238. package/node_modules/@sinclair/typebox/build/esm/value/assert/assert.d.mts +0 -15
  2239. package/node_modules/@sinclair/typebox/build/esm/value/assert/assert.mjs +0 -49
  2240. package/node_modules/@sinclair/typebox/build/esm/value/assert/index.d.mts +0 -1
  2241. package/node_modules/@sinclair/typebox/build/esm/value/assert/index.mjs +0 -1
  2242. package/node_modules/@sinclair/typebox/build/esm/value/cast/cast.d.mts +0 -11
  2243. package/node_modules/@sinclair/typebox/build/esm/value/cast/cast.mjs +0 -235
  2244. package/node_modules/@sinclair/typebox/build/esm/value/cast/index.d.mts +0 -1
  2245. package/node_modules/@sinclair/typebox/build/esm/value/cast/index.mjs +0 -1
  2246. package/node_modules/@sinclair/typebox/build/esm/value/check/check.d.mts +0 -11
  2247. package/node_modules/@sinclair/typebox/build/esm/value/check/check.mjs +0 -470
  2248. package/node_modules/@sinclair/typebox/build/esm/value/check/index.d.mts +0 -1
  2249. package/node_modules/@sinclair/typebox/build/esm/value/check/index.mjs +0 -1
  2250. package/node_modules/@sinclair/typebox/build/esm/value/clean/clean.d.mts +0 -5
  2251. package/node_modules/@sinclair/typebox/build/esm/value/clean/clean.mjs +0 -145
  2252. package/node_modules/@sinclair/typebox/build/esm/value/clean/index.d.mts +0 -1
  2253. package/node_modules/@sinclair/typebox/build/esm/value/clean/index.mjs +0 -1
  2254. package/node_modules/@sinclair/typebox/build/esm/value/clone/clone.d.mts +0 -2
  2255. package/node_modules/@sinclair/typebox/build/esm/value/clone/clone.mjs +0 -56
  2256. package/node_modules/@sinclair/typebox/build/esm/value/clone/index.d.mts +0 -1
  2257. package/node_modules/@sinclair/typebox/build/esm/value/clone/index.mjs +0 -1
  2258. package/node_modules/@sinclair/typebox/build/esm/value/convert/convert.d.mts +0 -5
  2259. package/node_modules/@sinclair/typebox/build/esm/value/convert/convert.mjs +0 -260
  2260. package/node_modules/@sinclair/typebox/build/esm/value/convert/index.d.mts +0 -1
  2261. package/node_modules/@sinclair/typebox/build/esm/value/convert/index.mjs +0 -1
  2262. package/node_modules/@sinclair/typebox/build/esm/value/create/create.d.mts +0 -11
  2263. package/node_modules/@sinclair/typebox/build/esm/value/create/create.mjs +0 -468
  2264. package/node_modules/@sinclair/typebox/build/esm/value/create/index.d.mts +0 -1
  2265. package/node_modules/@sinclair/typebox/build/esm/value/create/index.mjs +0 -1
  2266. package/node_modules/@sinclair/typebox/build/esm/value/decode/decode.d.mts +0 -6
  2267. package/node_modules/@sinclair/typebox/build/esm/value/decode/decode.mjs +0 -10
  2268. package/node_modules/@sinclair/typebox/build/esm/value/decode/index.d.mts +0 -1
  2269. package/node_modules/@sinclair/typebox/build/esm/value/decode/index.mjs +0 -1
  2270. package/node_modules/@sinclair/typebox/build/esm/value/default/default.d.mts +0 -5
  2271. package/node_modules/@sinclair/typebox/build/esm/value/default/default.mjs +0 -172
  2272. package/node_modules/@sinclair/typebox/build/esm/value/default/index.d.mts +0 -1
  2273. package/node_modules/@sinclair/typebox/build/esm/value/default/index.mjs +0 -1
  2274. package/node_modules/@sinclair/typebox/build/esm/value/delta/delta.d.mts +0 -32
  2275. package/node_modules/@sinclair/typebox/build/esm/value/delta/delta.mjs +0 -171
  2276. package/node_modules/@sinclair/typebox/build/esm/value/delta/index.d.mts +0 -1
  2277. package/node_modules/@sinclair/typebox/build/esm/value/delta/index.mjs +0 -1
  2278. package/node_modules/@sinclair/typebox/build/esm/value/deref/deref.d.mts +0 -12
  2279. package/node_modules/@sinclair/typebox/build/esm/value/deref/deref.mjs +0 -29
  2280. package/node_modules/@sinclair/typebox/build/esm/value/deref/index.d.mts +0 -1
  2281. package/node_modules/@sinclair/typebox/build/esm/value/deref/index.mjs +0 -1
  2282. package/node_modules/@sinclair/typebox/build/esm/value/encode/encode.d.mts +0 -6
  2283. package/node_modules/@sinclair/typebox/build/esm/value/encode/encode.mjs +0 -11
  2284. package/node_modules/@sinclair/typebox/build/esm/value/encode/index.d.mts +0 -1
  2285. package/node_modules/@sinclair/typebox/build/esm/value/encode/index.mjs +0 -1
  2286. package/node_modules/@sinclair/typebox/build/esm/value/equal/equal.d.mts +0 -2
  2287. package/node_modules/@sinclair/typebox/build/esm/value/equal/equal.mjs +0 -46
  2288. package/node_modules/@sinclair/typebox/build/esm/value/equal/index.d.mts +0 -1
  2289. package/node_modules/@sinclair/typebox/build/esm/value/equal/index.mjs +0 -1
  2290. package/node_modules/@sinclair/typebox/build/esm/value/guard/guard.d.mts +0 -74
  2291. package/node_modules/@sinclair/typebox/build/esm/value/guard/guard.mjs +0 -158
  2292. package/node_modules/@sinclair/typebox/build/esm/value/guard/index.d.mts +0 -1
  2293. package/node_modules/@sinclair/typebox/build/esm/value/guard/index.mjs +0 -1
  2294. package/node_modules/@sinclair/typebox/build/esm/value/hash/hash.d.mts +0 -7
  2295. package/node_modules/@sinclair/typebox/build/esm/value/hash/hash.mjs +0 -146
  2296. package/node_modules/@sinclair/typebox/build/esm/value/hash/index.d.mts +0 -1
  2297. package/node_modules/@sinclair/typebox/build/esm/value/hash/index.mjs +0 -1
  2298. package/node_modules/@sinclair/typebox/build/esm/value/index.d.mts +0 -20
  2299. package/node_modules/@sinclair/typebox/build/esm/value/index.mjs +0 -32
  2300. package/node_modules/@sinclair/typebox/build/esm/value/mutate/index.d.mts +0 -1
  2301. package/node_modules/@sinclair/typebox/build/esm/value/mutate/index.mjs +0 -1
  2302. package/node_modules/@sinclair/typebox/build/esm/value/mutate/mutate.d.mts +0 -9
  2303. package/node_modules/@sinclair/typebox/build/esm/value/mutate/mutate.mjs +0 -98
  2304. package/node_modules/@sinclair/typebox/build/esm/value/parse/index.d.mts +0 -1
  2305. package/node_modules/@sinclair/typebox/build/esm/value/parse/index.mjs +0 -1
  2306. package/node_modules/@sinclair/typebox/build/esm/value/parse/parse.d.mts +0 -22
  2307. package/node_modules/@sinclair/typebox/build/esm/value/parse/parse.mjs +0 -81
  2308. package/node_modules/@sinclair/typebox/build/esm/value/pointer/index.d.mts +0 -1
  2309. package/node_modules/@sinclair/typebox/build/esm/value/pointer/index.mjs +0 -1
  2310. package/node_modules/@sinclair/typebox/build/esm/value/pointer/pointer.d.mts +0 -22
  2311. package/node_modules/@sinclair/typebox/build/esm/value/pointer/pointer.mjs +0 -115
  2312. package/node_modules/@sinclair/typebox/build/esm/value/transform/decode.d.mts +0 -22
  2313. package/node_modules/@sinclair/typebox/build/esm/value/transform/decode.mjs +0 -207
  2314. package/node_modules/@sinclair/typebox/build/esm/value/transform/encode.d.mts +0 -23
  2315. package/node_modules/@sinclair/typebox/build/esm/value/transform/encode.mjs +0 -218
  2316. package/node_modules/@sinclair/typebox/build/esm/value/transform/has.d.mts +0 -3
  2317. package/node_modules/@sinclair/typebox/build/esm/value/transform/has.mjs +0 -129
  2318. package/node_modules/@sinclair/typebox/build/esm/value/transform/index.d.mts +0 -3
  2319. package/node_modules/@sinclair/typebox/build/esm/value/transform/index.mjs +0 -3
  2320. package/node_modules/@sinclair/typebox/build/esm/value/value/index.d.mts +0 -1
  2321. package/node_modules/@sinclair/typebox/build/esm/value/value/index.mjs +0 -1
  2322. package/node_modules/@sinclair/typebox/build/esm/value/value/value.d.mts +0 -16
  2323. package/node_modules/@sinclair/typebox/build/esm/value/value/value.mjs +0 -16
  2324. package/node_modules/@sinclair/typebox/compiler/package.json +0 -4
  2325. package/node_modules/@sinclair/typebox/errors/package.json +0 -4
  2326. package/node_modules/@sinclair/typebox/license +0 -25
  2327. package/node_modules/@sinclair/typebox/package.json +0 -116
  2328. package/node_modules/@sinclair/typebox/parser/package.json +0 -4
  2329. package/node_modules/@sinclair/typebox/readme.md +0 -1865
  2330. package/node_modules/@sinclair/typebox/syntax/package.json +0 -4
  2331. package/node_modules/@sinclair/typebox/system/package.json +0 -4
  2332. package/node_modules/@sinclair/typebox/type/package.json +0 -4
  2333. package/node_modules/@sinclair/typebox/value/package.json +0 -4
  2334. package/node_modules/ansi-regex/index.d.ts +0 -33
  2335. package/node_modules/ansi-regex/index.js +0 -14
  2336. package/node_modules/ansi-regex/license +0 -9
  2337. package/node_modules/ansi-regex/package.json +0 -61
  2338. package/node_modules/ansi-regex/readme.md +0 -66
  2339. package/node_modules/chalk/license +0 -9
  2340. package/node_modules/chalk/package.json +0 -83
  2341. package/node_modules/chalk/readme.md +0 -297
  2342. package/node_modules/chalk/source/index.d.ts +0 -325
  2343. package/node_modules/chalk/source/index.js +0 -225
  2344. package/node_modules/chalk/source/utilities.js +0 -33
  2345. package/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
  2346. package/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
  2347. package/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
  2348. package/node_modules/chalk/source/vendor/supports-color/browser.js +0 -34
  2349. package/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
  2350. package/node_modules/chalk/source/vendor/supports-color/index.js +0 -190
  2351. package/node_modules/get-east-asian-width/index.d.ts +0 -60
  2352. package/node_modules/get-east-asian-width/index.js +0 -30
  2353. package/node_modules/get-east-asian-width/license +0 -9
  2354. package/node_modules/get-east-asian-width/lookup-data.js +0 -18
  2355. package/node_modules/get-east-asian-width/lookup.js +0 -135
  2356. package/node_modules/get-east-asian-width/package.json +0 -71
  2357. package/node_modules/get-east-asian-width/readme.md +0 -65
  2358. package/node_modules/get-east-asian-width/utilities.js +0 -24
  2359. package/node_modules/marked/LICENSE.md +0 -44
  2360. package/node_modules/marked/README.md +0 -107
  2361. package/node_modules/marked/bin/main.js +0 -284
  2362. package/node_modules/marked/bin/marked.js +0 -16
  2363. package/node_modules/marked/lib/marked.d.ts +0 -759
  2364. package/node_modules/marked/lib/marked.esm.js +0 -72
  2365. package/node_modules/marked/lib/marked.esm.js.map +0 -7
  2366. package/node_modules/marked/lib/marked.umd.js +0 -74
  2367. package/node_modules/marked/lib/marked.umd.js.map +0 -7
  2368. package/node_modules/marked/man/marked.1 +0 -113
  2369. package/node_modules/marked/man/marked.1.md +0 -93
  2370. package/node_modules/marked/package.json +0 -103
  2371. package/node_modules/string-width/index.d.ts +0 -39
  2372. package/node_modules/string-width/index.js +0 -203
  2373. package/node_modules/string-width/license +0 -9
  2374. package/node_modules/string-width/package.json +0 -65
  2375. package/node_modules/string-width/readme.md +0 -66
  2376. package/node_modules/strip-ansi/index.d.ts +0 -15
  2377. package/node_modules/strip-ansi/index.js +0 -19
  2378. package/node_modules/strip-ansi/license +0 -9
  2379. package/node_modules/strip-ansi/package.json +0 -59
  2380. package/node_modules/strip-ansi/readme.md +0 -37
  2381. /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/key-value-tokens.d.ts +0 -0
  2382. /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/key-value-tokens.d.ts.map +0 -0
  2383. /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/key-value-tokens.js +0 -0
  2384. /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/key-value-tokens.js.map +0 -0
  2385. /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/mcp-settings.d.ts +0 -0
  2386. /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/mcp-settings.d.ts.map +0 -0
  2387. /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/mcp-settings.js +0 -0
  2388. /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/mcp-settings.js.map +0 -0
  2389. /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/memory-utils.d.ts +0 -0
  2390. /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/memory-utils.d.ts.map +0 -0
  2391. /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/memory-utils.js +0 -0
  2392. /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/memory-utils.js.map +0 -0
  2393. /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/memory.d.ts +0 -0
  2394. /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/memory.d.ts.map +0 -0
  2395. /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/memory.js +0 -0
  2396. /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/memory.js.map +0 -0
  2397. /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/onboarding-utils.d.ts +0 -0
  2398. /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/onboarding-utils.d.ts.map +0 -0
  2399. /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/onboarding-utils.js +0 -0
  2400. /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/onboarding-utils.js.map +0 -0
  2401. /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/runtime-app-server.js +0 -0
  2402. /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/runtime-app-server.js.map +0 -0
  2403. /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/typebox-utils.d.ts +0 -0
  2404. /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/typebox-utils.d.ts.map +0 -0
  2405. /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/typebox-utils.js +0 -0
  2406. /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/typebox-utils.js.map +0 -0
  2407. /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/validators.d.ts +0 -0
  2408. /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/validators.d.ts.map +0 -0
  2409. /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/validators.js +0 -0
  2410. /package/{node_modules → dist/node_modules}/@evalops/contracts/dist/validators.js.map +0 -0
  2411. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/autocomplete.d.ts +0 -0
  2412. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/autocomplete.d.ts.map +0 -0
  2413. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/autocomplete.js +0 -0
  2414. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/autocomplete.js.map +0 -0
  2415. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/editor.d.ts +0 -0
  2416. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/editor.d.ts.map +0 -0
  2417. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/editor.js +0 -0
  2418. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/editor.js.map +0 -0
  2419. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/input.d.ts +0 -0
  2420. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/input.d.ts.map +0 -0
  2421. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/input.js +0 -0
  2422. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/input.js.map +0 -0
  2423. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/layout.d.ts +0 -0
  2424. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/layout.d.ts.map +0 -0
  2425. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/layout.js +0 -0
  2426. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/layout.js.map +0 -0
  2427. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/loader.d.ts +0 -0
  2428. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/loader.d.ts.map +0 -0
  2429. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/loader.js +0 -0
  2430. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/loader.js.map +0 -0
  2431. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/markdown.d.ts +0 -0
  2432. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/markdown.d.ts.map +0 -0
  2433. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/markdown.js +0 -0
  2434. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/markdown.js.map +0 -0
  2435. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/scroll-container.d.ts +0 -0
  2436. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/scroll-container.d.ts.map +0 -0
  2437. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/scroll-container.js +0 -0
  2438. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/scroll-container.js.map +0 -0
  2439. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/select-list.d.ts +0 -0
  2440. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/select-list.d.ts.map +0 -0
  2441. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/select-list.js +0 -0
  2442. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/select-list.js.map +0 -0
  2443. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/spacer.d.ts +0 -0
  2444. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/spacer.d.ts.map +0 -0
  2445. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/spacer.js +0 -0
  2446. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/spacer.js.map +0 -0
  2447. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/status-bar.d.ts +0 -0
  2448. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/status-bar.d.ts.map +0 -0
  2449. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/status-bar.js +0 -0
  2450. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/status-bar.js.map +0 -0
  2451. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/text.d.ts +0 -0
  2452. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/text.d.ts.map +0 -0
  2453. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/text.js +0 -0
  2454. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/text.js.map +0 -0
  2455. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/truncated-text.d.ts +0 -0
  2456. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/truncated-text.d.ts.map +0 -0
  2457. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/truncated-text.js +0 -0
  2458. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/components/truncated-text.js.map +0 -0
  2459. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/index.d.ts +0 -0
  2460. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/index.d.ts.map +0 -0
  2461. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/index.js +0 -0
  2462. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/index.js.map +0 -0
  2463. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/keymap.d.ts +0 -0
  2464. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/keymap.d.ts.map +0 -0
  2465. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/keymap.js +0 -0
  2466. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/keymap.js.map +0 -0
  2467. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/mermaid-renderer.d.ts +0 -0
  2468. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/mermaid-renderer.d.ts.map +0 -0
  2469. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/mermaid-renderer.js +0 -0
  2470. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/mermaid-renderer.js.map +0 -0
  2471. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/style/code-highlighter.d.ts +0 -0
  2472. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/style/code-highlighter.d.ts.map +0 -0
  2473. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/style/code-highlighter.js +0 -0
  2474. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/style/code-highlighter.js.map +0 -0
  2475. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/terminal.d.ts +0 -0
  2476. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/terminal.d.ts.map +0 -0
  2477. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/terminal.js +0 -0
  2478. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/terminal.js.map +0 -0
  2479. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/tui.d.ts +0 -0
  2480. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/tui.d.ts.map +0 -0
  2481. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/tui.js +0 -0
  2482. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/tui.js.map +0 -0
  2483. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/utils/terminal-features.d.ts +0 -0
  2484. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/utils/terminal-features.d.ts.map +0 -0
  2485. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/utils/terminal-features.js +0 -0
  2486. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/utils/terminal-features.js.map +0 -0
  2487. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/utils.d.ts +0 -0
  2488. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/utils.d.ts.map +0 -0
  2489. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/utils.js +0 -0
  2490. /package/{node_modules → dist/node_modules}/@evalops/tui/dist/utils.js.map +0 -0
@@ -26,6 +26,7 @@
26
26
  *
27
27
  * @module tools/parallel-execution
28
28
  */
29
+ import { isAbsolute, resolve } from "node:path";
29
30
  /**
30
31
  * Set of known read-only tool names.
31
32
  *
@@ -74,6 +75,7 @@ export const READ_ONLY_TOOLS = new Set([
74
75
  * operations on the same resources.
75
76
  */
76
77
  export const WRITE_TOOLS = new Set([
78
+ "apply_patch",
77
79
  "write",
78
80
  "Write",
79
81
  "edit",
@@ -92,7 +94,7 @@ export const WRITE_TOOLS = new Set([
92
94
  * @param annotations - Optional tool annotations
93
95
  * @returns true if the tool is read-only
94
96
  */
95
- export function isReadOnlyTool(toolName, annotations) {
97
+ export function isReadOnlyTool(toolName, annotations, _source) {
96
98
  // Check explicit annotation first
97
99
  if (annotations?.readOnlyHint === true) {
98
100
  return true;
@@ -103,6 +105,15 @@ export function isReadOnlyTool(toolName, annotations) {
103
105
  // Fall back to known tool lists
104
106
  return READ_ONLY_TOOLS.has(toolName);
105
107
  }
108
+ export function isParallelSafeTool(toolName, annotations, source) {
109
+ if (isReadOnlyTool(toolName, annotations, source)) {
110
+ return true;
111
+ }
112
+ if (annotations?.destructiveHint === true) {
113
+ return false;
114
+ }
115
+ return source?.type === "mcp" && source.supportsParallelToolCalls === true;
116
+ }
106
117
  /**
107
118
  * Check if a tool is a write/mutating operation.
108
119
  *
@@ -136,12 +147,18 @@ export function getOptimalConcurrency(toolCalls, tools, config) {
136
147
  return baseConcurrency;
137
148
  }
138
149
  // Build a map of tool names to annotations
139
- const toolAnnotations = new Map();
150
+ const toolMetadata = new Map();
140
151
  for (const tool of tools) {
141
- toolAnnotations.set(tool.name, tool.annotations);
152
+ toolMetadata.set(tool.name, {
153
+ annotations: tool.annotations,
154
+ source: tool.source,
155
+ });
142
156
  }
143
157
  // Check if all tools are read-only
144
- const allReadOnly = toolCalls.every((call) => isReadOnlyTool(call.name, toolAnnotations.get(call.name)));
158
+ const allReadOnly = toolCalls.every((call) => {
159
+ const metadata = toolMetadata.get(call.name);
160
+ return isReadOnlyTool(call.name, metadata?.annotations, metadata?.source);
161
+ });
145
162
  if (allReadOnly) {
146
163
  // Safe to use higher concurrency
147
164
  return Math.min(maxReadOnlyConcurrency, toolCalls.length);
@@ -160,14 +177,18 @@ export function getOptimalConcurrency(toolCalls, tools, config) {
160
177
  * @returns Object with readOnly and write arrays
161
178
  */
162
179
  export function partitionToolCalls(toolCalls, tools) {
163
- const toolAnnotations = new Map();
180
+ const toolMetadata = new Map();
164
181
  for (const tool of tools) {
165
- toolAnnotations.set(tool.name, tool.annotations);
182
+ toolMetadata.set(tool.name, {
183
+ annotations: tool.annotations,
184
+ source: tool.source,
185
+ });
166
186
  }
167
187
  const readOnly = [];
168
188
  const write = [];
169
189
  for (const call of toolCalls) {
170
- if (isReadOnlyTool(call.name, toolAnnotations.get(call.name))) {
190
+ const metadata = toolMetadata.get(call.name);
191
+ if (isReadOnlyTool(call.name, metadata?.annotations, metadata?.source)) {
171
192
  readOnly.push(call);
172
193
  }
173
194
  else {
@@ -176,6 +197,156 @@ export function partitionToolCalls(toolCalls, tools) {
176
197
  }
177
198
  return { readOnly, write };
178
199
  }
200
+ const PATH_SCOPED_MUTATION_TOOLS = new Set([
201
+ "apply_patch",
202
+ "write",
203
+ "Write",
204
+ "edit",
205
+ "Edit",
206
+ "MultiEdit",
207
+ "notebook_edit",
208
+ "NotebookEdit",
209
+ ]);
210
+ const PATH_ARGUMENT_KEYS = new Set([
211
+ "file",
212
+ "file_path",
213
+ "filePath",
214
+ "files",
215
+ "path",
216
+ "paths",
217
+ "target",
218
+ "targets",
219
+ "target_path",
220
+ "targetPath",
221
+ "notebook_path",
222
+ "notebookPath",
223
+ "output_path",
224
+ "outputPath",
225
+ ]);
226
+ const PATH_ARGUMENT_CONTAINER_KEYS = new Set([
227
+ "edits",
228
+ "operations",
229
+ "patches",
230
+ ]);
231
+ const PATCH_ARGUMENT_KEYS = new Set(["patch", "patch_text", "patchText"]);
232
+ function normalizeMutationPath(value, cwd = process.cwd()) {
233
+ const input = value.trim().replace(/\\/g, "/");
234
+ if (!input || /[*?[\]{}]/u.test(input)) {
235
+ return undefined;
236
+ }
237
+ const basePath = cwd.replace(/\\/g, "/");
238
+ let normalized = (isAbsolute(input) ? resolve(input) : resolve(basePath, input))
239
+ .replace(/\\/g, "/")
240
+ .replace(/\/+/g, "/");
241
+ normalized = normalized.toLowerCase();
242
+ if (normalized.length > 1) {
243
+ normalized = normalized.replace(/\/$/u, "");
244
+ }
245
+ return normalized || undefined;
246
+ }
247
+ function collectPathArgumentValues(value, paths, cwd, matchedKeys, stringIsPath) {
248
+ if (typeof value === "string") {
249
+ if (stringIsPath) {
250
+ const path = normalizeMutationPath(value, cwd);
251
+ if (path) {
252
+ paths.push(path);
253
+ }
254
+ }
255
+ return;
256
+ }
257
+ if (Array.isArray(value)) {
258
+ for (const entry of value) {
259
+ collectPathArgumentValues(entry, paths, cwd, matchedKeys, stringIsPath);
260
+ }
261
+ return;
262
+ }
263
+ if (value && typeof value === "object") {
264
+ for (const [key, nested] of Object.entries(value)) {
265
+ if (PATH_ARGUMENT_KEYS.has(key)) {
266
+ matchedKeys.add(key);
267
+ collectPathArgumentValues(nested, paths, cwd, matchedKeys, true);
268
+ continue;
269
+ }
270
+ if (PATCH_ARGUMENT_KEYS.has(key)) {
271
+ matchedKeys.add(key);
272
+ collectPatchHeaderPaths(nested, paths, cwd, matchedKeys);
273
+ continue;
274
+ }
275
+ if (PATH_ARGUMENT_CONTAINER_KEYS.has(key)) {
276
+ matchedKeys.add(key);
277
+ collectPathArgumentValues(nested, paths, cwd, matchedKeys, false);
278
+ }
279
+ }
280
+ }
281
+ }
282
+ function collectPatchHeaderPaths(value, paths, cwd, matchedKeys) {
283
+ if (typeof value === "string") {
284
+ for (const match of value.matchAll(/^\*\*\* (?:Update File|Add File|Delete File|Move to):\s+(.+)$/gmu)) {
285
+ const rawPath = match[1]?.trim();
286
+ if (!rawPath)
287
+ continue;
288
+ const path = normalizeMutationPath(rawPath, cwd);
289
+ if (path) {
290
+ paths.push(path);
291
+ matchedKeys.add("patch");
292
+ }
293
+ }
294
+ return;
295
+ }
296
+ if (Array.isArray(value)) {
297
+ for (const entry of value) {
298
+ collectPatchHeaderPaths(entry, paths, cwd, matchedKeys);
299
+ }
300
+ return;
301
+ }
302
+ if (value && typeof value === "object") {
303
+ collectPathArgumentValues(value, paths, cwd, matchedKeys, false);
304
+ }
305
+ }
306
+ export function getPathScopedMutation(toolCall, tool, cwd = process.cwd()) {
307
+ const annotations = tool?.annotations;
308
+ const source = annotations?.pathScopedMutationHint === true ? "annotation" : "known_tool";
309
+ const isPathScopedTool = annotations?.pathScopedMutationHint === true ||
310
+ PATH_SCOPED_MUTATION_TOOLS.has(tool?.name ?? toolCall.name);
311
+ if (!isPathScopedTool || annotations?.readOnlyHint === true) {
312
+ return undefined;
313
+ }
314
+ const args = toolCall.arguments &&
315
+ typeof toolCall.arguments === "object" &&
316
+ !Array.isArray(toolCall.arguments)
317
+ ? toolCall.arguments
318
+ : undefined;
319
+ if (!args) {
320
+ return undefined;
321
+ }
322
+ const paths = [];
323
+ const matchedKeys = new Set();
324
+ for (const [key, value] of Object.entries(args)) {
325
+ if (PATH_ARGUMENT_KEYS.has(key)) {
326
+ matchedKeys.add(key);
327
+ collectPathArgumentValues(value, paths, cwd, matchedKeys, true);
328
+ continue;
329
+ }
330
+ if (PATCH_ARGUMENT_KEYS.has(key)) {
331
+ matchedKeys.add(key);
332
+ collectPatchHeaderPaths(value, paths, cwd, matchedKeys);
333
+ continue;
334
+ }
335
+ if (PATH_ARGUMENT_CONTAINER_KEYS.has(key)) {
336
+ matchedKeys.add(key);
337
+ collectPathArgumentValues(value, paths, cwd, matchedKeys, false);
338
+ }
339
+ }
340
+ const uniquePaths = [...new Set(paths)];
341
+ return uniquePaths.length > 0
342
+ ? { paths: uniquePaths, source, argumentKeys: [...matchedKeys].sort() }
343
+ : undefined;
344
+ }
345
+ export function pathScopesOverlap(left, right) {
346
+ return left.paths.some((leftPath) => right.paths.some((rightPath) => leftPath === rightPath ||
347
+ leftPath.startsWith(`${rightPath}/`) ||
348
+ rightPath.startsWith(`${leftPath}/`)));
349
+ }
179
350
  /**
180
351
  * Add read-only annotation to a tool definition.
181
352
  *
@@ -1 +1 @@
1
- {"version":3,"file":"parallel-execution.js","sourceRoot":"","sources":["../../src/tools/parallel-execution.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAIH;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,GAAG,CAAC;IACtC,eAAe;IACf,MAAM;IACN,MAAM;IACN,oBAAoB;IACpB,IAAI;IACJ,MAAM;IACN,eAAe;IACf,MAAM;IACN,MAAM;IACN,iBAAiB;IACjB,MAAM;IACN,QAAQ;IACR,kBAAkB;IAClB,6BAA6B;IAC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AAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC;YAC/D,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACrB,CAAC;aAAM,CAAC;YACP,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAClB,CAAC;IACF,CAAC;IAED,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;AAC5B,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,YAAY,CAAsB,IAAO;IACxD,OAAO;QACN,GAAG,IAAI;QACP,WAAW,EAAE;YACZ,GAAG,IAAI,CAAC,WAAW;YACnB,YAAY,EAAE,IAAI;SAClB;KACD,CAAC;AACH,CAAC;AAED;;;;;GAKG;AACH,MAAM,UAAU,eAAe,CAAsB,IAAO;IAC3D,OAAO;QACN,GAAG,IAAI;QACP,WAAW,EAAE;YACZ,GAAG,IAAI,CAAC,WAAW;YACnB,eAAe,EAAE,IAAI;SACrB;KACD,CAAC;AACH,CAAC","sourcesContent":["/**\n * Parallel Execution - Optimized concurrent tool execution for read-only operations\n *\n * This module provides utilities for safely increasing concurrency when executing\n * read-only tools. Read-only tools can run in parallel without risk of conflicts,\n * enabling significant latency improvements for batch operations.\n *\n * ## Read-Only Tools\n *\n * Tools are considered read-only if they:\n * - Do not modify files or system state\n * - Are idempotent (same input = same output)\n * - Have no side effects on external systems\n *\n * Examples: read, list, find, search, diff, status\n *\n * ## Usage\n *\n * ```typescript\n * import { isReadOnlyTool, getOptimalConcurrency } from './parallel-execution.js';\n *\n * const tools = [readTool, listTool, findTool];\n * const allReadOnly = tools.every(t => isReadOnlyTool(t.name));\n * const concurrency = getOptimalConcurrency(tools, baseConcurrency);\n * ```\n *\n * @module tools/parallel-execution\n */\n\nimport type { AgentTool, ToolAnnotations } from \"../agent/types.js\";\n\n/**\n * Set of known read-only tool names.\n *\n * These tools are safe to execute in parallel because they:\n * - Only read data, never modify it\n * - Have no side effects\n * - Are idempotent\n */\nexport const READ_ONLY_TOOLS = new Set([\n\t// File reading\n\t\"Read\",\n\t\"read\",\n\t// Directory listing\n\t\"LS\",\n\t\"list\",\n\t// File finding\n\t\"Glob\",\n\t\"find\",\n\t// Content search\n\t\"Grep\",\n\t\"search\",\n\t\"parallel_ripgrep\",\n\t// Git operations (read-only)\n\t\"diff\",\n\t// System info\n\t\"status\",\n\t// Document extraction\n\t\"extract_document\",\n\t// VS Code read operations\n\t\"vscode_get_definition\",\n\t\"vscode_find_references\",\n\t\"vscode_get_diagnostics\",\n\t\"vscode_read_file_range\",\n\t// JetBrains read operations\n\t\"jetbrains_get_definition\",\n\t\"jetbrains_find_references\",\n\t\"jetbrains_get_diagnostics\",\n\t\"jetbrains_read_file_range\",\n\t// LSP operations (read-only)\n\t\"LSP\",\n]);\n\n/**\n * Set of known write/mutating tool names.\n *\n * These tools modify state and should not run concurrently with\n * operations on the same resources.\n */\nexport const WRITE_TOOLS = new Set([\n\t\"write\",\n\t\"Write\",\n\t\"edit\",\n\t\"Edit\",\n\t\"MultiEdit\",\n\t\"notebook_edit\",\n\t\"NotebookEdit\",\n\t\"bash\",\n\t\"Bash\",\n\t\"background_tasks\",\n]);\n\n/**\n * Check if a tool is read-only based on its name or annotations.\n *\n * @param toolName - Name of the tool\n * @param annotations - Optional tool annotations\n * @returns true if the tool is read-only\n */\nexport function isReadOnlyTool(\n\ttoolName: string,\n\tannotations?: ToolAnnotations,\n): boolean {\n\t// Check explicit annotation first\n\tif (annotations?.readOnlyHint === true) {\n\t\treturn true;\n\t}\n\tif (annotations?.readOnlyHint === false) {\n\t\treturn false;\n\t}\n\n\t// Fall back to known tool lists\n\treturn READ_ONLY_TOOLS.has(toolName);\n}\n\n/**\n * Check if a tool is a write/mutating operation.\n *\n * @param toolName - Name of the tool\n * @param annotations - Optional tool annotations\n * @returns true if the tool modifies state\n */\nexport function isWriteTool(\n\ttoolName: string,\n\tannotations?: ToolAnnotations,\n): boolean {\n\t// Check explicit annotation\n\tif (annotations?.destructiveHint === true) {\n\t\treturn true;\n\t}\n\n\treturn WRITE_TOOLS.has(toolName);\n}\n\n/**\n * Configuration for parallel execution optimization.\n */\nexport interface ParallelExecutionConfig {\n\t/** Base concurrency limit (default: 2) */\n\tbaseConcurrency?: number;\n\t/** Maximum concurrency for read-only batches (default: 8) */\n\tmaxReadOnlyConcurrency?: number;\n\t/** Whether to enable parallel optimization (default: true) */\n\tenabled?: boolean;\n}\n\n/**\n * Get the optimal concurrency level for a batch of tool calls.\n *\n * When all tools in a batch are read-only, we can safely increase\n * concurrency to improve latency. Write operations force serialization.\n *\n * @param toolCalls - Array of tool calls to analyze\n * @param tools - Tool definitions (for annotation lookup)\n * @param config - Parallel execution configuration\n * @returns Optimal concurrency level for this batch\n */\nexport function getOptimalConcurrency(\n\ttoolCalls: Array<{ name: string }>,\n\ttools: AgentTool[],\n\tconfig?: ParallelExecutionConfig,\n): number {\n\tconst baseConcurrency = config?.baseConcurrency ?? 2;\n\tconst maxReadOnlyConcurrency = config?.maxReadOnlyConcurrency ?? 8;\n\tconst enabled = config?.enabled ?? true;\n\n\tif (!enabled || toolCalls.length === 0) {\n\t\treturn baseConcurrency;\n\t}\n\n\t// Build a map of tool names to annotations\n\tconst toolAnnotations = new Map<string, ToolAnnotations | undefined>();\n\tfor (const tool of tools) {\n\t\ttoolAnnotations.set(tool.name, tool.annotations);\n\t}\n\n\t// Check if all tools are read-only\n\tconst allReadOnly = toolCalls.every((call) =>\n\t\tisReadOnlyTool(call.name, toolAnnotations.get(call.name)),\n\t);\n\n\tif (allReadOnly) {\n\t\t// Safe to use higher concurrency\n\t\treturn Math.min(maxReadOnlyConcurrency, toolCalls.length);\n\t}\n\n\t// Has write operations - use base concurrency\n\treturn baseConcurrency;\n}\n\n/**\n * Partition tool calls into read-only and write batches.\n *\n * This enables executing all read-only operations in parallel first,\n * then executing write operations with appropriate ordering.\n *\n * @param toolCalls - Array of tool calls\n * @param tools - Tool definitions\n * @returns Object with readOnly and write arrays\n */\nexport function partitionToolCalls<T extends { name: string }>(\n\ttoolCalls: T[],\n\ttools: AgentTool[],\n): { readOnly: T[]; write: T[] } {\n\tconst toolAnnotations = new Map<string, ToolAnnotations | undefined>();\n\tfor (const tool of tools) {\n\t\ttoolAnnotations.set(tool.name, tool.annotations);\n\t}\n\n\tconst readOnly: T[] = [];\n\tconst write: T[] = [];\n\n\tfor (const call of toolCalls) {\n\t\tif (isReadOnlyTool(call.name, toolAnnotations.get(call.name))) {\n\t\t\treadOnly.push(call);\n\t\t} else {\n\t\t\twrite.push(call);\n\t\t}\n\t}\n\n\treturn { readOnly, write };\n}\n\n/**\n * Add read-only annotation to a tool definition.\n *\n * Use this to mark custom tools as read-only for parallel execution.\n *\n * @param tool - Tool definition to annotate\n * @returns Tool with readOnlyHint annotation\n */\nexport function markReadOnly<T extends AgentTool>(tool: T): T {\n\treturn {\n\t\t...tool,\n\t\tannotations: {\n\t\t\t...tool.annotations,\n\t\t\treadOnlyHint: true,\n\t\t},\n\t};\n}\n\n/**\n * Add write/destructive annotation to a tool definition.\n *\n * @param tool - Tool definition to annotate\n * @returns Tool with destructiveHint annotation\n */\nexport function markDestructive<T extends AgentTool>(tool: T): T {\n\treturn {\n\t\t...tool,\n\t\tannotations: {\n\t\t\t...tool.annotations,\n\t\t\tdestructiveHint: true,\n\t\t},\n\t};\n}\n"]}
1
+ {"version":3,"file":"parallel-execution.js","sourceRoot":"","sources":["../../src/tools/parallel-execution.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAOhD;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,IAAI,GAAG,CAAC;IACtC,eAAe;IACf,MAAM;IACN,MAAM;IACN,oBAAoB;IACpB,IAAI;IACJ,MAAM;IACN,eAAe;IACf,MAAM;IACN,MAAM;IACN,iBAAiB;IACjB,MAAM;IACN,QAAQ;IACR,kBAAkB;IA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Execution - Optimized concurrent tool execution for read-only operations\n *\n * This module provides utilities for safely increasing concurrency when executing\n * read-only tools. Read-only tools can run in parallel without risk of conflicts,\n * enabling significant latency improvements for batch operations.\n *\n * ## Read-Only Tools\n *\n * Tools are considered read-only if they:\n * - Do not modify files or system state\n * - Are idempotent (same input = same output)\n * - Have no side effects on external systems\n *\n * Examples: read, list, find, search, diff, status\n *\n * ## Usage\n *\n * ```typescript\n * import { isReadOnlyTool, getOptimalConcurrency } from './parallel-execution.js';\n *\n * const tools = [readTool, listTool, findTool];\n * const allReadOnly = tools.every(t => isReadOnlyTool(t.name));\n * const concurrency = getOptimalConcurrency(tools, baseConcurrency);\n * ```\n *\n * @module tools/parallel-execution\n */\n\nimport { isAbsolute, resolve } from \"node:path\";\nimport type {\n\tAgentTool,\n\tToolAnnotations,\n\tToolSourceMetadata,\n} from \"../agent/types.js\";\n\n/**\n * Set of known read-only tool names.\n *\n * These tools are safe to execute in parallel because they:\n * - Only read data, never modify it\n * - Have no side effects\n * - Are idempotent\n */\nexport const READ_ONLY_TOOLS = new Set([\n\t// File reading\n\t\"Read\",\n\t\"read\",\n\t// Directory listing\n\t\"LS\",\n\t\"list\",\n\t// File finding\n\t\"Glob\",\n\t\"find\",\n\t// Content search\n\t\"Grep\",\n\t\"search\",\n\t\"parallel_ripgrep\",\n\t// Git operations (read-only)\n\t\"diff\",\n\t// System info\n\t\"status\",\n\t// Document extraction\n\t\"extract_document\",\n\t// VS Code read operations\n\t\"vscode_get_definition\",\n\t\"vscode_find_references\",\n\t\"vscode_get_diagnostics\",\n\t\"vscode_read_file_range\",\n\t// JetBrains read operations\n\t\"jetbrains_get_definition\",\n\t\"jetbrains_find_references\",\n\t\"jetbrains_get_diagnostics\",\n\t\"jetbrains_read_file_range\",\n\t// LSP operations (read-only)\n\t\"LSP\",\n]);\n\n/**\n * Set of known write/mutating tool names.\n *\n * These tools modify state and should not run concurrently with\n * operations on the same resources.\n */\nexport const WRITE_TOOLS = new Set([\n\t\"apply_patch\",\n\t\"write\",\n\t\"Write\",\n\t\"edit\",\n\t\"Edit\",\n\t\"MultiEdit\",\n\t\"notebook_edit\",\n\t\"NotebookEdit\",\n\t\"bash\",\n\t\"Bash\",\n\t\"background_tasks\",\n]);\n\n/**\n * Check if a tool is read-only based on its name or annotations.\n *\n * @param toolName - Name of the tool\n * @param annotations - Optional tool annotations\n * @returns true if the tool is read-only\n */\nexport function isReadOnlyTool(\n\ttoolName: string,\n\tannotations?: ToolAnnotations,\n\t_source?: ToolSourceMetadata,\n): boolean {\n\t// Check explicit annotation first\n\tif (annotations?.readOnlyHint === true) {\n\t\treturn true;\n\t}\n\tif (annotations?.readOnlyHint === false) {\n\t\treturn false;\n\t}\n\n\t// Fall back to known tool lists\n\treturn READ_ONLY_TOOLS.has(toolName);\n}\n\nexport function isParallelSafeTool(\n\ttoolName: string,\n\tannotations?: ToolAnnotations,\n\tsource?: ToolSourceMetadata,\n): boolean {\n\tif (isReadOnlyTool(toolName, annotations, source)) {\n\t\treturn true;\n\t}\n\tif (annotations?.destructiveHint === true) {\n\t\treturn false;\n\t}\n\treturn source?.type === \"mcp\" && source.supportsParallelToolCalls === true;\n}\n\n/**\n * Check if a tool is a write/mutating operation.\n *\n * @param toolName - Name of the tool\n * @param annotations - Optional tool annotations\n * @returns true if the tool modifies state\n */\nexport function isWriteTool(\n\ttoolName: string,\n\tannotations?: ToolAnnotations,\n): boolean {\n\t// Check explicit annotation\n\tif (annotations?.destructiveHint === true) {\n\t\treturn true;\n\t}\n\n\treturn WRITE_TOOLS.has(toolName);\n}\n\n/**\n * Configuration for parallel execution optimization.\n */\nexport interface ParallelExecutionConfig {\n\t/** Base concurrency limit (default: 2) */\n\tbaseConcurrency?: number;\n\t/** Maximum concurrency for read-only batches (default: 8) */\n\tmaxReadOnlyConcurrency?: number;\n\t/** Whether to enable parallel optimization (default: true) */\n\tenabled?: boolean;\n}\n\n/**\n * Get the optimal concurrency level for a batch of tool calls.\n *\n * When all tools in a batch are read-only, we can safely increase\n * concurrency to improve latency. Write operations force serialization.\n *\n * @param toolCalls - Array of tool calls to analyze\n * @param tools - Tool definitions (for annotation lookup)\n * @param config - Parallel execution configuration\n * @returns Optimal concurrency level for this batch\n */\nexport function getOptimalConcurrency(\n\ttoolCalls: Array<{ name: string }>,\n\ttools: AgentTool[],\n\tconfig?: ParallelExecutionConfig,\n): number {\n\tconst baseConcurrency = config?.baseConcurrency ?? 2;\n\tconst maxReadOnlyConcurrency = config?.maxReadOnlyConcurrency ?? 8;\n\tconst enabled = config?.enabled ?? true;\n\n\tif (!enabled || toolCalls.length === 0) {\n\t\treturn baseConcurrency;\n\t}\n\n\t// Build a map of tool names to annotations\n\tconst toolMetadata = new Map<\n\t\tstring,\n\t\t{ annotations?: ToolAnnotations; source?: ToolSourceMetadata }\n\t>();\n\tfor (const tool of tools) {\n\t\ttoolMetadata.set(tool.name, {\n\t\t\tannotations: tool.annotations,\n\t\t\tsource: tool.source,\n\t\t});\n\t}\n\n\t// Check if all tools are read-only\n\tconst allReadOnly = toolCalls.every((call) => {\n\t\tconst metadata = toolMetadata.get(call.name);\n\t\treturn isReadOnlyTool(call.name, metadata?.annotations, metadata?.source);\n\t});\n\n\tif (allReadOnly) {\n\t\t// Safe to use higher concurrency\n\t\treturn Math.min(maxReadOnlyConcurrency, toolCalls.length);\n\t}\n\n\t// Has write operations - use base concurrency\n\treturn baseConcurrency;\n}\n\n/**\n * Partition tool calls into read-only and write batches.\n *\n * This enables executing all read-only operations in parallel first,\n * then executing write operations with appropriate ordering.\n *\n * @param toolCalls - Array of tool calls\n * @param tools - Tool definitions\n * @returns Object with readOnly and write arrays\n */\nexport function partitionToolCalls<T extends { name: string }>(\n\ttoolCalls: T[],\n\ttools: AgentTool[],\n): { readOnly: T[]; write: T[] } {\n\tconst toolMetadata = new Map<\n\t\tstring,\n\t\t{ annotations?: ToolAnnotations; source?: ToolSourceMetadata }\n\t>();\n\tfor (const tool of tools) {\n\t\ttoolMetadata.set(tool.name, {\n\t\t\tannotations: tool.annotations,\n\t\t\tsource: tool.source,\n\t\t});\n\t}\n\n\tconst readOnly: T[] = [];\n\tconst write: T[] = [];\n\n\tfor (const call of toolCalls) {\n\t\tconst metadata = toolMetadata.get(call.name);\n\t\tif (isReadOnlyTool(call.name, metadata?.annotations, metadata?.source)) {\n\t\t\treadOnly.push(call);\n\t\t} else {\n\t\t\twrite.push(call);\n\t\t}\n\t}\n\n\treturn { readOnly, write };\n}\n\nexport interface PathScopedMutation {\n\tpaths: string[];\n\tsource: \"annotation\" | \"known_tool\";\n\targumentKeys?: string[];\n}\n\nconst PATH_SCOPED_MUTATION_TOOLS = new Set([\n\t\"apply_patch\",\n\t\"write\",\n\t\"Write\",\n\t\"edit\",\n\t\"Edit\",\n\t\"MultiEdit\",\n\t\"notebook_edit\",\n\t\"NotebookEdit\",\n]);\n\nconst PATH_ARGUMENT_KEYS = new Set([\n\t\"file\",\n\t\"file_path\",\n\t\"filePath\",\n\t\"files\",\n\t\"path\",\n\t\"paths\",\n\t\"target\",\n\t\"targets\",\n\t\"target_path\",\n\t\"targetPath\",\n\t\"notebook_path\",\n\t\"notebookPath\",\n\t\"output_path\",\n\t\"outputPath\",\n]);\n\nconst PATH_ARGUMENT_CONTAINER_KEYS = new Set([\n\t\"edits\",\n\t\"operations\",\n\t\"patches\",\n]);\n\nconst PATCH_ARGUMENT_KEYS = new Set([\"patch\", \"patch_text\", \"patchText\"]);\n\nfunction normalizeMutationPath(\n\tvalue: string,\n\tcwd = process.cwd(),\n): string | undefined {\n\tconst input = value.trim().replace(/\\\\/g, \"/\");\n\tif (!input || /[*?[\\]{}]/u.test(input)) {\n\t\treturn undefined;\n\t}\n\tconst basePath = cwd.replace(/\\\\/g, \"/\");\n\tlet normalized = (\n\t\tisAbsolute(input) ? resolve(input) : resolve(basePath, input)\n\t)\n\t\t.replace(/\\\\/g, \"/\")\n\t\t.replace(/\\/+/g, \"/\");\n\tnormalized = normalized.toLowerCase();\n\tif (normalized.length > 1) {\n\t\tnormalized = normalized.replace(/\\/$/u, \"\");\n\t}\n\treturn normalized || undefined;\n}\n\nfunction collectPathArgumentValues(\n\tvalue: unknown,\n\tpaths: string[],\n\tcwd: string,\n\tmatchedKeys: Set<string>,\n\tstringIsPath: boolean,\n): void {\n\tif (typeof value === \"string\") {\n\t\tif (stringIsPath) {\n\t\t\tconst path = normalizeMutationPath(value, cwd);\n\t\t\tif (path) {\n\t\t\t\tpaths.push(path);\n\t\t\t}\n\t\t}\n\t\treturn;\n\t}\n\tif (Array.isArray(value)) {\n\t\tfor (const entry of value) {\n\t\t\tcollectPathArgumentValues(entry, paths, cwd, matchedKeys, stringIsPath);\n\t\t}\n\t\treturn;\n\t}\n\tif (value && typeof value === \"object\") {\n\t\tfor (const [key, nested] of Object.entries(\n\t\t\tvalue as Record<string, unknown>,\n\t\t)) {\n\t\t\tif (PATH_ARGUMENT_KEYS.has(key)) {\n\t\t\t\tmatchedKeys.add(key);\n\t\t\t\tcollectPathArgumentValues(nested, paths, cwd, matchedKeys, true);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (PATCH_ARGUMENT_KEYS.has(key)) {\n\t\t\t\tmatchedKeys.add(key);\n\t\t\t\tcollectPatchHeaderPaths(nested, paths, cwd, matchedKeys);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif (PATH_ARGUMENT_CONTAINER_KEYS.has(key)) {\n\t\t\t\tmatchedKeys.add(key);\n\t\t\t\tcollectPathArgumentValues(nested, paths, cwd, matchedKeys, false);\n\t\t\t}\n\t\t}\n\t}\n}\n\nfunction collectPatchHeaderPaths(\n\tvalue: unknown,\n\tpaths: string[],\n\tcwd: string,\n\tmatchedKeys: Set<string>,\n): void {\n\tif (typeof value === \"string\") {\n\t\tfor (const match of value.matchAll(\n\t\t\t/^\\*\\*\\* (?:Update File|Add File|Delete File|Move to):\\s+(.+)$/gmu,\n\t\t)) {\n\t\t\tconst rawPath = match[1]?.trim();\n\t\t\tif (!rawPath) continue;\n\t\t\tconst path = normalizeMutationPath(rawPath, cwd);\n\t\t\tif (path) {\n\t\t\t\tpaths.push(path);\n\t\t\t\tmatchedKeys.add(\"patch\");\n\t\t\t}\n\t\t}\n\t\treturn;\n\t}\n\tif (Array.isArray(value)) {\n\t\tfor (const entry of value) {\n\t\t\tcollectPatchHeaderPaths(entry, paths, cwd, matchedKeys);\n\t\t}\n\t\treturn;\n\t}\n\tif (value && typeof value === \"object\") {\n\t\tcollectPathArgumentValues(value, paths, cwd, matchedKeys, false);\n\t}\n}\n\nexport function getPathScopedMutation(\n\ttoolCall: { name: string; arguments?: unknown },\n\ttool?: AgentTool,\n\tcwd = process.cwd(),\n): PathScopedMutation | undefined {\n\tconst annotations = tool?.annotations;\n\tconst source =\n\t\tannotations?.pathScopedMutationHint === true ? \"annotation\" : \"known_tool\";\n\tconst isPathScopedTool =\n\t\tannotations?.pathScopedMutationHint === true ||\n\t\tPATH_SCOPED_MUTATION_TOOLS.has(tool?.name ?? toolCall.name);\n\tif (!isPathScopedTool || annotations?.readOnlyHint === true) {\n\t\treturn undefined;\n\t}\n\tconst args =\n\t\ttoolCall.arguments &&\n\t\ttypeof toolCall.arguments === \"object\" &&\n\t\t!Array.isArray(toolCall.arguments)\n\t\t\t? (toolCall.arguments as Record<string, unknown>)\n\t\t\t: undefined;\n\tif (!args) {\n\t\treturn undefined;\n\t}\n\tconst paths: string[] = [];\n\tconst matchedKeys = new Set<string>();\n\tfor (const [key, value] of Object.entries(args)) {\n\t\tif (PATH_ARGUMENT_KEYS.has(key)) {\n\t\t\tmatchedKeys.add(key);\n\t\t\tcollectPathArgumentValues(value, paths, cwd, matchedKeys, true);\n\t\t\tcontinue;\n\t\t}\n\t\tif (PATCH_ARGUMENT_KEYS.has(key)) {\n\t\t\tmatchedKeys.add(key);\n\t\t\tcollectPatchHeaderPaths(value, paths, cwd, matchedKeys);\n\t\t\tcontinue;\n\t\t}\n\t\tif (PATH_ARGUMENT_CONTAINER_KEYS.has(key)) {\n\t\t\tmatchedKeys.add(key);\n\t\t\tcollectPathArgumentValues(value, paths, cwd, matchedKeys, false);\n\t\t}\n\t}\n\tconst uniquePaths = [...new Set(paths)];\n\treturn uniquePaths.length > 0\n\t\t? { paths: uniquePaths, source, argumentKeys: [...matchedKeys].sort() }\n\t\t: undefined;\n}\n\nexport function pathScopesOverlap(\n\tleft: PathScopedMutation,\n\tright: PathScopedMutation,\n): boolean {\n\treturn left.paths.some((leftPath) =>\n\t\tright.paths.some(\n\t\t\t(rightPath) =>\n\t\t\t\tleftPath === rightPath ||\n\t\t\t\tleftPath.startsWith(`${rightPath}/`) ||\n\t\t\t\trightPath.startsWith(`${leftPath}/`),\n\t\t),\n\t);\n}\n\n/**\n * Add read-only annotation to a tool definition.\n *\n * Use this to mark custom tools as read-only for parallel execution.\n *\n * @param tool - Tool definition to annotate\n * @returns Tool with readOnlyHint annotation\n */\nexport function markReadOnly<T extends AgentTool>(tool: T): T {\n\treturn {\n\t\t...tool,\n\t\tannotations: {\n\t\t\t...tool.annotations,\n\t\t\treadOnlyHint: true,\n\t\t},\n\t};\n}\n\n/**\n * Add write/destructive annotation to a tool definition.\n *\n * @param tool - Tool definition to annotate\n * @returns Tool with destructiveHint annotation\n */\nexport function markDestructive<T extends AgentTool>(tool: T): T {\n\treturn {\n\t\t...tool,\n\t\tannotations: {\n\t\t\t...tool.annotations,\n\t\t\tdestructiveHint: true,\n\t\t},\n\t};\n}\n"]}
@@ -75,6 +75,7 @@ export declare const parallelRipgrepTool: Readonly<{
75
75
  headLimit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
76
76
  }>;
77
77
  annotations: import("../agent/types.js").ToolAnnotations | undefined;
78
+ source: import("../agent/types.js").McpToolSourceMetadata | undefined;
78
79
  toolType: string | undefined;
79
80
  inputExamples: unknown[] | undefined;
80
81
  allowedCallers: string[] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"parallel-ripgrep.d.ts","sourceRoot":"","sources":["../../src/tools/parallel-ripgrep.ts"],"names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AM,EAAE,CAAC;IACnB,uCAAuC;IACvC,GAAG,EAAE,MAAM,CAAC;IACZ,6DAA6D;IAC7D,UAAU,EAAE,MAAM,CAAC;IACnB,6CAA6C;IAC7C,UAAU,EAAE,MAAM,CAAC;IACnB,8CAA8C;IAC9C,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,iDAAiD;IACjD,SAAS,EAAE,OAAO,CAAC;CACnB,CAAC;AA+HF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4N9B,CAAC"}
@@ -60,6 +60,7 @@ export declare const pipelineSearchContactsTool: Readonly<{
60
60
  limit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
61
61
  }>;
62
62
  annotations: import("../agent/types.js").ToolAnnotations | undefined;
63
+ source: import("../agent/types.js").McpToolSourceMetadata | undefined;
63
64
  toolType: string | undefined;
64
65
  inputExamples: unknown[] | undefined;
65
66
  allowedCallers: string[] | undefined;
@@ -85,6 +86,7 @@ export declare const pipelineSearchDealsTool: Readonly<{
85
86
  limit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
86
87
  }>;
87
88
  annotations: import("../agent/types.js").ToolAnnotations | undefined;
89
+ source: import("../agent/types.js").McpToolSourceMetadata | undefined;
88
90
  toolType: string | undefined;
89
91
  inputExamples: unknown[] | undefined;
90
92
  allowedCallers: string[] | undefined;
@@ -113,6 +115,7 @@ export declare const pipelineCreateSignalTool: Readonly<{
113
115
  data: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TAny>;
114
116
  }>;
115
117
  annotations: import("../agent/types.js").ToolAnnotations | undefined;
118
+ source: import("../agent/types.js").McpToolSourceMetadata | undefined;
116
119
  toolType: string | undefined;
117
120
  inputExamples: unknown[] | undefined;
118
121
  allowedCallers: string[] | undefined;
@@ -143,6 +146,7 @@ export declare const pipelineLogActivityTool: Readonly<{
143
146
  occurredAt: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
144
147
  }>;
145
148
  annotations: import("../agent/types.js").ToolAnnotations | undefined;
149
+ source: import("../agent/types.js").McpToolSourceMetadata | undefined;
146
150
  toolType: string | undefined;
147
151
  inputExamples: unknown[] | undefined;
148
152
  allowedCallers: string[] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline.d.ts","sourceRoot":"","sources":["../../src/tools/pipeline.ts"],"names":[],"mappings":"AAwCA,MAAM,WAAW,gBAAgB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,cAAc;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,OAAO,CAAC;CACf;AAuMD,MAAM,WAAW,6BAA6B;IAC7C,QAAQ,EAAE,KAAK,CAAC;QACf,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,WAAW,CAA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AmErC,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;EAkElC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmDnC,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoDlC,CAAC"}
@@ -70,6 +70,7 @@ export declare const readTool: Readonly<{
70
70
  encoding: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"utf-8">, import("@sinclair/typebox").TLiteral<"utf-16le">, import("@sinclair/typebox").TLiteral<"latin1">, import("@sinclair/typebox").TLiteral<"ascii">]>>;
71
71
  }>;
72
72
  annotations: import("../agent/types.js").ToolAnnotations | undefined;
73
+ source: import("../agent/types.js").McpToolSourceMetadata | undefined;
73
74
  toolType: string | undefined;
74
75
  inputExamples: unknown[] | undefined;
75
76
  allowedCallers: string[] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"read.d.ts","sourceRoot":"","sources":["../../src/tools/read.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAoOH;;;GAGG;AACH,KAAK,eAAe,GAAG;IACtB,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gCAAgC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,8BAA8B;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,wBAAwB;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2ZnB,CAAC"}
1
+ {"version":3,"file":"read.d.ts","sourceRoot":"","sources":["../../src/tools/read.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAoOH;;;GAGG;AACH,KAAK,eAAe,GAAG;IACtB,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gCAAgC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,8BAA8B;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,wBAAwB;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2ZnB,CAAC"}
@@ -90,6 +90,7 @@ export declare const searchTool: Readonly<{
90
90
  headLimit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
91
91
  }>;
92
92
  annotations: import("../agent/types.js").ToolAnnotations | undefined;
93
+ source: import("../agent/types.js").McpToolSourceMetadata | undefined;
93
94
  toolType: string | undefined;
94
95
  inputExamples: unknown[] | undefined;
95
96
  allowedCallers: string[] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../src/tools/search.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AAIH,OAAO,EACN,KAAK,YAAY,EAMjB,MAAM,oBAAoB,CAAC;AAkI5B,KAAK,iBAAiB,GAAG;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC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AsUrB,CAAC"}
@@ -9,6 +9,7 @@ export declare const statusTool: Readonly<{
9
9
  paths: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString, import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>]>>;
10
10
  }>;
11
11
  annotations: import("../agent/types.js").ToolAnnotations | undefined;
12
+ source: import("../agent/types.js").McpToolSourceMetadata | undefined;
12
13
  toolType: string | undefined;
13
14
  inputExamples: unknown[] | undefined;
14
15
  allowedCallers: string[] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../src/tools/status.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAqB,MAAM,WAAW,CAAC;AA0EjE,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;iBAEX,MAAM;iBAAW,YAAY;;iBAA7B,MAAM;iBAAW,YAAY;;EAyDvC,CAAC"}
1
+ {"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../src/tools/status.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAqB,MAAM,WAAW,CAAC;AA0EjE,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;iBAEX,MAAM;iBAAW,YAAY;;iBAA7B,MAAM;iBAAW,YAAY;;EAyDvC,CAAC"}
@@ -122,6 +122,7 @@ export declare const todoTool: Readonly<{
122
122
  includeSummary: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
123
123
  }>;
124
124
  annotations: import("../agent/types.js").ToolAnnotations | undefined;
125
+ source: import("../agent/types.js").McpToolSourceMetadata | undefined;
125
126
  toolType: string | undefined;
126
127
  inputExamples: unknown[] | undefined;
127
128
  allowedCallers: string[] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"todo.d.ts","sourceRoot":"","sources":["../../src/tools/todo.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AM,CAAC,SAAS,GAAG,OAAO,EAAE,MAAM,CAAC,GACzC,MAAM,CAYR;AAeD,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,cAAc,EAAE,GAAG,MAAM,CAMlE;AA4BD,KAAK,eAAe,GAAG;IACtB,KAAK,EAAE,cAAc,EAAE,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+GnB,CAAC"}
@@ -64,7 +64,7 @@
64
64
  * @module tools/tool-dsl
65
65
  */
66
66
  import type { Static, TSchema } from "@sinclair/typebox";
67
- import type { AgentToolResult, AgentToolUpdateCallback, ToolAnnotations } from "../agent/types.js";
67
+ import type { AgentToolResult, AgentToolUpdateCallback, ToolAnnotations, ToolSourceMetadata } from "../agent/types.js";
68
68
  import type { Sandbox } from "../sandbox/types.js";
69
69
  export declare class ToolResponseBuilder<Details> {
70
70
  private _content;
@@ -89,6 +89,7 @@ export interface CreateToolOptions<Schema extends TSchema, Details> {
89
89
  description: string;
90
90
  schema: Schema;
91
91
  annotations?: ToolAnnotations;
92
+ source?: ToolSourceMetadata;
92
93
  toolType?: string;
93
94
  inputExamples?: unknown[];
94
95
  allowedCallers?: string[];
@@ -112,6 +113,7 @@ export declare function createTool<Schema extends TSchema, Details = undefined>(
112
113
  description: string;
113
114
  parameters: Schema;
114
115
  annotations: ToolAnnotations | undefined;
116
+ source: import("../agent/types.js").McpToolSourceMetadata | undefined;
115
117
  toolType: string | undefined;
116
118
  inputExamples: unknown[] | undefined;
117
119
  allowedCallers: string[] | undefined;
@@ -142,6 +144,7 @@ export declare function createTextTool<Schema extends TSchema, Details = undefin
142
144
  description: string;
143
145
  parameters: Schema;
144
146
  annotations: ToolAnnotations | undefined;
147
+ source: import("../agent/types.js").McpToolSourceMetadata | undefined;
145
148
  toolType: string | undefined;
146
149
  inputExamples: unknown[] | undefined;
147
150
  allowedCallers: string[] | undefined;
@@ -165,6 +168,7 @@ export declare function createJsonTool<Schema extends TSchema, Details = undefin
165
168
  description: string;
166
169
  parameters: Schema;
167
170
  annotations: ToolAnnotations | undefined;
171
+ source: import("../agent/types.js").McpToolSourceMetadata | undefined;
168
172
  toolType: string | undefined;
169
173
  inputExamples: unknown[] | undefined;
170
174
  allowedCallers: string[] | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"tool-dsl.d.ts","sourceRoot":"","sources":["../../src/tools/tool-dsl.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAGzD,OAAO,KAAK,EACX,eAAe,EACf,uBAAuB,EACvB,eAAe,EACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAmCnD,qBAAa,mBAAmB,CAAC,OAAO;IACvC,OAAO,CAAC,QAAQ,CAGP;IACT,OAAO,CAAC,QAAQ,CAAC,CAAU;IAC3B,OAAO,CAAC,QAAQ,CAAS;IAEzB,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAK3B,KAAK,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI;IAK7C,MAAM,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI;IAK9B,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAM5B,KAAK,IAAI,eAAe,CAAC,OAAO,CAAC;CAOjC;AAED,MAAM,WAAW,cAAc,CAAC,OAAO;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,OAAO,EA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.schema,
142
142
  annotations: options.annotations,
143
+ source: options.source,
143
144
  toolType: options.toolType,
144
145
  inputExamples: options.inputExamples,
145
146
  allowedCallers: options.allowedCallers,
@@ -1 +1 @@
1
- {"version":3,"file":"tool-dsl.js","sourceRoot":"","sources":["../../src/tools/tool-dsl.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;AAGH,OAAO,EAAE,GAAG,EAA2C,MAAM,KAAK,CAAC;AACnE,OAAO,gBAAwC,MAAM,aAAa,CAAC;AAOnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,oFAAoF;AACpF,MAAM,UAAU,GAAG,oBAAoB,CAAgB,gBAAgB,CAAC,CAAC;AAEzE,wDAAwD;AACxD,IAAI,GAAG,GAAe,IAAI,CAAC;AAC3B,IAAI,CAAC;IACJ,GAAG,GAAG,IAAI,GAAG,CAAC;QACb,6DAA6D;QAC7D,SAAS,EAAE,KAAK;QAChB,MAAM,EAAE,KAAK;QACb,WAAW,EAAE,IAAI,EAAE,iCAAiC;KACpD,CAAC,CAAC;IACH,UAAU,CAAC,GAAG,CAAC,CAAC;AACjB,CAAC;AAAC,MAAM,CAAC;IACR,qDAAqD;IACrD,GAAG,GAAG,IAAI,CAAC;AACZ,CAAC;AAED,+EAA+E;AAC/E,MAAM,cAAc,GAAG,IAAI,OAAO,EAA6B,CAAC;AAEhE,SAAS,qBAAqB,CAAC,MAAe;IAC7C,IAAI,CAAC,GAAG;QAAE,OAAO,IAAI,CAAC;IAEtB,IAAI,QAAQ,GAAG,cAAc,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IAC1C,IAAI,CAAC,QAAQ,EAAE,CAAC;QACf,QAAQ,GAAG,GAAG,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QAC/B,cAAc,CAAC,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IACtC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,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YACrC,CAAC;YACD,OAAO,MAAM,CAAC;QACf,CAAC;KACD,CAAC,CAAC;AACJ,CAAC;AAoBD,MAAM,UAAU,cAAc,CAC7B,OAA+C;IAE/C,OAAO,UAAU,CAAkB;QAClC,GAAG,OAAO;QACV,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE;YAC9B,MAAM,MAAM,GAAG,MAAM,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;YAClD,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;gBAC1B,OAAO,MAAM,CAAC;YACf,CAAC;YACD,IAAI,MAAM,YAAY,mBAAmB,EAAE,CAAC;gBAC3C,OAAO,MAAM,CAAC;YACf,CAAC;YACD,IAAI,iBAAiB,CAAU,MAAM,CAAC,EAAE,CAAC;gBACxC,OAAO,MAAM,CAAC;YACf,CAAC;YACD,OAAO,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;QAC9D,CAAC;KACD,CAAC,CAAC;AACJ,CAAC;AAED,SAAS,iBAAiB,CACzB,KAAc;IAEd,OAAO,CACN,OAAO,KAAK,KAAK,QAAQ;QACzB,KAAK,KAAK,IAAI;QACd,SAAS,IAAI,KAAK;QAClB,KAAK,CAAC,OAAO,CAAE,KAAkC,CAAC,OAAO,CAAC,CAC1D,CAAC;AACH,CAAC","sourcesContent":["/**\n * Tool DSL - Domain-Specific Language for Creating Agent Tools\n *\n * This module provides a fluent, type-safe API for defining tools that can be\n * executed by the Composer agent. It handles schema validation, response building,\n * retry logic, and sandbox integration.\n *\n * ## Architecture\n *\n * ```\n * ┌─────────────────────────────────────────────────────────────────┐\n * │ Tool Creation Flow │\n * ├─────────────────────────────────────────────────────────────────┤\n * │ createTool(options) │\n * │ │ │\n * │ ▼ │\n * │ ┌─────────────┐ ┌──────────────┐ ┌─────────────────┐ │\n * │ │ Schema │───▶│ Validator │───▶│ execute() │ │\n * │ │ (TypeBox) │ │ (AJV) │ │ function │ │\n * │ └─────────────┘ └──────────────┘ └─────────────────┘ │\n * │ │ │\n * │ ▼ │\n * │ ┌─────────────────────────────────────┐ │\n * │ │ ToolResponseBuilder │ │\n * │ │ - text(), image(), error() │ │\n * │ │ - detail() for structured data │ │\n * │ └─────────────────────────────────────┘ │\n * └─────────────────────────────────────────────────────────────────┘\n * ```\n *\n * ## Tool Types\n *\n * | Factory | Return Type | Use Case |\n * |---------------|------------------|-----------------------------------|\n * | createTool | AgentToolResult | Full control over response |\n * | createTextTool| string → text | Simple text responses |\n * | createJsonTool| object → JSON | Structured data responses |\n *\n * ## Example\n *\n * ```typescript\n * import { createTool, Type } from './tool-dsl';\n *\n * const greetTool = createTool({\n * name: 'greet',\n * description: 'Greet a user by name',\n * schema: Type.Object({\n * name: Type.String({ description: 'Name to greet' }),\n * }),\n * run: async ({ name }, { respond }) => {\n * return respond.text(`Hello, ${name}!`);\n * },\n * });\n * ```\n *\n * ## Features\n *\n * - **Type-safe schemas**: Uses TypeBox for compile-time type inference\n * - **AJV validation**: Runtime validation with format support\n * - **Retry logic**: Built-in exponential backoff for transient failures\n * - **Sandbox support**: Tools can run in isolated environments\n * - **Context interpolation**: Environment variables and paths\n *\n * @module tools/tool-dsl\n */\n\nimport type { Static, TSchema } from \"@sinclair/typebox\";\nimport { Ajv, type ErrorObject, type ValidateFunction } from \"ajv\";\nimport addFormatsModule, { type FormatsPlugin } from \"ajv-formats\";\nimport type {\n\tAgentToolResult,\n\tAgentToolUpdateCallback,\n\tToolAnnotations,\n} from \"../agent/types.js\";\nimport type { Sandbox } from \"../sandbox/types.js\";\nimport { resolveDefaultExport } from \"../utils/module-interop.js\";\n\n// ESM/CJS interop: ajv-formats default may be nested under .default in some loaders\nconst addFormats = resolveDefaultExport<FormatsPlugin>(addFormatsModule);\n\n// Create a singleton AJV instance for schema validation\nlet ajv: Ajv | null = null;\ntry {\n\tajv = new Ajv({\n\t\t// Avoid unbounded error collection on large/invalid payloads\n\t\tallErrors: false,\n\t\tstrict: false,\n\t\tuseDefaults: true, // Apply schema defaults to input\n\t});\n\taddFormats(ajv);\n} catch {\n\t// AJV initialization failed (likely CSP restriction)\n\tajv = null;\n}\n\n// Cache compiled validators per schema to avoid recompiling on every execute()\nconst validatorCache = new WeakMap<TSchema, ValidateFunction>();\n\nfunction getOrCompileValidator(schema: TSchema): ValidateFunction | null {\n\tif (!ajv) return null;\n\n\tlet validate = validatorCache.get(schema);\n\tif (!validate) {\n\t\tvalidate = ajv.compile(schema);\n\t\tvalidatorCache.set(schema, validate);\n\t}\n\treturn validate;\n}\n\nexport class ToolResponseBuilder<Details> {\n\tprivate _content: (\n\t\t| { type: \"text\"; text: string }\n\t\t| { type: \"image\"; data: string; mimeType: string }\n\t)[] = [];\n\tprivate _details?: Details;\n\tprivate _isError = false;\n\n\ttext(content: string): this {\n\t\tthis._content.push({ type: \"text\", text: content });\n\t\treturn this;\n\t}\n\n\timage(base64: string, mimeType: string): this {\n\t\tthis._content.push({ type: \"image\", data: base64, mimeType });\n\t\treturn this;\n\t}\n\n\tdetail(details: Details): this {\n\t\tthis._details = details;\n\t\treturn this;\n\t}\n\n\terror(message: string): this {\n\t\tthis.text(message);\n\t\tthis._isError = true;\n\t\treturn this;\n\t}\n\n\tbuild(): AgentToolResult<Details> {\n\t\treturn {\n\t\t\tcontent: this._content,\n\t\t\tdetails: this._details,\n\t\t\tisError: this._isError,\n\t\t};\n\t}\n}\n\nexport interface ToolRunContext<Details> {\n\ttoolCallId: string;\n\tsignal?: AbortSignal;\n\trespond: ToolResponseBuilder<Details>;\n\tsandbox?: Sandbox;\n\tonUpdate?: AgentToolUpdateCallback<Details>;\n}\n\nexport interface CreateToolOptions<Schema extends TSchema, Details> {\n\tname: string;\n\tlabel?: string;\n\tdescription: string;\n\tschema: Schema;\n\tannotations?: ToolAnnotations;\n\ttoolType?: string;\n\tinputExamples?: unknown[];\n\tallowedCallers?: string[];\n\tdeferApiDefinition?: boolean;\n\trun: (\n\t\tparams: import(\"@sinclair/typebox\").Static<Schema>,\n\t\tcontext: ToolRunContext<Details>,\n\t) =>\n\t\t| undefined\n\t\t| ToolResponseBuilder<Details>\n\t\t| AgentToolResult<Details>\n\t\t| Promise<\n\t\t\t\tundefined | ToolResponseBuilder<Details> | AgentToolResult<Details>\n\t\t >;\n\tmaxRetries?: number;\n\tretryDelayMs?: number;\n\tshouldRetry?: (error: unknown) => boolean;\n\tgetToolUseSummary?: (params: Static<Schema>) => string | null;\n\tgetDisplayName?: (params: Static<Schema>) => string | null;\n\tgetActivityDescription?: (params: Static<Schema>) => string | null;\n}\n\ntype StaticSchema<Schema extends TSchema> = Static<Schema>;\n\nexport class ToolError extends Error {\n\tconstructor(\n\t\tmessage: string,\n\t\tpublic readonly code?: string,\n\t\tpublic readonly details?: unknown,\n\t) {\n\t\tsuper(message);\n\t\tthis.name = \"ToolError\";\n\t}\n}\n\nexport function createTool<Schema extends TSchema, Details = undefined>(\n\toptions: CreateToolOptions<Schema, Details>,\n) {\n\treturn Object.freeze({\n\t\tname: options.name,\n\t\tlabel: options.label ?? options.name,\n\t\tdescription: options.description,\n\t\tparameters: options.schema,\n\t\tannotations: options.annotations,\n\t\ttoolType: options.toolType,\n\t\tinputExamples: options.inputExamples,\n\t\tallowedCallers: options.allowedCallers,\n\t\tdeferApiDefinition: options.deferApiDefinition,\n\t\tmaxRetries: options.maxRetries,\n\t\tretryDelayMs: options.retryDelayMs,\n\t\tshouldRetry: options.shouldRetry,\n\t\tgetToolUseSummary: options.getToolUseSummary\n\t\t\t? (params: Record<string, unknown>) =>\n\t\t\t\t\toptions.getToolUseSummary?.(params as StaticSchema<Schema>) ?? null\n\t\t\t: undefined,\n\t\tgetDisplayName: options.getDisplayName\n\t\t\t? (params: Record<string, unknown>) =>\n\t\t\t\t\toptions.getDisplayName?.(params as StaticSchema<Schema>) ?? null\n\t\t\t: undefined,\n\t\tgetActivityDescription: options.getActivityDescription\n\t\t\t? (params: Record<string, unknown>) =>\n\t\t\t\t\toptions.getActivityDescription?.(params as StaticSchema<Schema>) ??\n\t\t\t\t\tnull\n\t\t\t: undefined,\n\t\texecute: async (\n\t\t\ttoolCallId: string,\n\t\t\tparams: Record<string, unknown>,\n\t\t\tsignal?: AbortSignal,\n\t\t\tcontext?: { sandbox?: Sandbox },\n\t\t\tonUpdate?: AgentToolUpdateCallback<Details>,\n\t\t) => {\n\t\t\t// Validate params against schema using cached validator\n\t\t\tif (options.schema) {\n\t\t\t\tconst validate = getOrCompileValidator(options.schema);\n\t\t\t\tif (validate && !validate(params)) {\n\t\t\t\t\tconst errors =\n\t\t\t\t\t\t(validate.errors ?? [])\n\t\t\t\t\t\t\t.map((err) => {\n\t\t\t\t\t\t\t\tconst path =\n\t\t\t\t\t\t\t\t\terr.instancePath && err.instancePath.length > 1\n\t\t\t\t\t\t\t\t\t\t? err.instancePath.substring(1)\n\t\t\t\t\t\t\t\t\t\t: (err.params as { missingProperty?: string })\n\t\t\t\t\t\t\t\t\t\t\t\t.missingProperty || \"root\";\n\t\t\t\t\t\t\t\treturn ` - ${path}: ${err.message ?? \"invalid value\"}`;\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t.join(\"\\n\") || \"Unknown validation error\";\n\t\t\t\t\tthrow new ToolError(\n\t\t\t\t\t\t`Validation failed for tool \"${options.name}\":\\n${errors}`,\n\t\t\t\t\t\t\"VALIDATION_ERROR\",\n\t\t\t\t\t\t{ params },\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tconst maxRetries = options.maxRetries ?? 0;\n\t\t\tconst retryDelayMs = options.retryDelayMs ?? 1000;\n\t\t\tconst shouldRetry = options.shouldRetry ?? (() => true);\n\t\t\tconst typedParams = params as StaticSchema<Schema>;\n\n\t\t\tlet lastError: unknown;\n\t\t\tfor (let attempt = 0; attempt <= maxRetries; attempt++) {\n\t\t\t\tif (attempt > 0) {\n\t\t\t\t\t// Exponential backoff: delay * 2^(attempt-1)\n\t\t\t\t\tconst delay = retryDelayMs * 2 ** (attempt - 1);\n\t\t\t\t\tif (signal) {\n\t\t\t\t\t\tconst activeSignal = signal;\n\t\t\t\t\t\tawait new Promise<void>((resolve, reject) => {\n\t\t\t\t\t\t\tif (activeSignal.aborted) {\n\t\t\t\t\t\t\t\treject(new Error(\"Operation aborted\"));\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tconst timeout = setTimeout(() => {\n\t\t\t\t\t\t\t\tactiveSignal.removeEventListener(\"abort\", onAbort);\n\t\t\t\t\t\t\t\tresolve();\n\t\t\t\t\t\t\t}, delay);\n\t\t\t\t\t\t\tfunction onAbort() {\n\t\t\t\t\t\t\t\tclearTimeout(timeout);\n\t\t\t\t\t\t\t\tactiveSignal.removeEventListener(\"abort\", onAbort);\n\t\t\t\t\t\t\t\treject(new Error(\"Operation aborted\"));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tactiveSignal.addEventListener(\"abort\", onAbort, { once: true });\n\t\t\t\t\t\t});\n\t\t\t\t\t} else {\n\t\t\t\t\t\tawait new Promise((resolve) => setTimeout(resolve, delay));\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\ttry {\n\t\t\t\t\tconst builder = new ToolResponseBuilder<Details>();\n\t\t\t\t\tconst result = await options.run(typedParams, {\n\t\t\t\t\t\ttoolCallId,\n\t\t\t\t\t\tsignal,\n\t\t\t\t\t\trespond: builder,\n\t\t\t\t\t\tsandbox: context?.sandbox,\n\t\t\t\t\t\tonUpdate,\n\t\t\t\t\t});\n\t\t\t\t\tif (result instanceof ToolResponseBuilder) {\n\t\t\t\t\t\treturn result.build();\n\t\t\t\t\t}\n\t\t\t\t\tif (result) {\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t}\n\t\t\t\t\treturn builder.build();\n\t\t\t\t} catch (error) {\n\t\t\t\t\tlastError = error;\n\t\t\t\t\tif (attempt < maxRetries && shouldRetry(error)) {\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tthrow error;\n\t\t\t\t}\n\t\t\t}\n\t\t\tthrow lastError;\n\t\t},\n\t});\n}\n\nimport { getHomeDir } from \"../utils/path-expansion.js\";\nimport { expandUserPath as expandUserPathBase } from \"../utils/path-validation.js\";\n\n// Re-export shared path expansion utility to keep tool-dsl API stable\nexport const expandUserPath = expandUserPathBase;\n\n/**\n * Interpolate environment variables and context in a string.\n * Supports: ${env.VAR}, ${cwd}, ${home}\n */\nexport function interpolateContext(value: string): string {\n\treturn value\n\t\t.replace(/\\$\\{env\\.([^}]+)\\}/g, (_, varName) => process.env[varName] ?? \"\")\n\t\t.replace(/\\$\\{cwd\\}/g, process.cwd())\n\t\t.replace(/\\$\\{home\\}/g, getHomeDir());\n}\n\nexport interface CreateTextToolOptions<Schema extends TSchema, Details>\n\textends Omit<CreateToolOptions<Schema, Details>, \"run\"> {\n\trun: (\n\t\tparams: import(\"@sinclair/typebox\").Static<Schema>,\n\t\tcontext: ToolRunContext<Details>,\n\t) =>\n\t\t| string\n\t\t| undefined\n\t\t| ToolResponseBuilder<Details>\n\t\t| AgentToolResult<Details>\n\t\t| Promise<\n\t\t\t\t| string\n\t\t\t\t| undefined\n\t\t\t\t| ToolResponseBuilder<Details>\n\t\t\t\t| AgentToolResult<Details>\n\t\t >;\n}\n\nexport function createTextTool<Schema extends TSchema, Details = undefined>(\n\toptions: CreateTextToolOptions<Schema, Details>,\n) {\n\treturn createTool<Schema, Details>({\n\t\t...options,\n\t\trun: async (params, context) => {\n\t\t\tconst result = await options.run(params, context);\n\t\t\tif (typeof result === \"string\") {\n\t\t\t\treturn context.respond.text(result);\n\t\t\t}\n\t\t\treturn result;\n\t\t},\n\t});\n}\n\nexport interface CreateJsonToolOptions<Schema extends TSchema, Details>\n\textends Omit<CreateToolOptions<Schema, Details>, \"run\"> {\n\trun: (\n\t\tparams: import(\"@sinclair/typebox\").Static<Schema>,\n\t\tcontext: ToolRunContext<Details>,\n\t) =>\n\t\t| unknown\n\t\t| undefined\n\t\t| ToolResponseBuilder<Details>\n\t\t| AgentToolResult<Details>\n\t\t| Promise<\n\t\t\t\t| unknown\n\t\t\t\t| undefined\n\t\t\t\t| ToolResponseBuilder<Details>\n\t\t\t\t| AgentToolResult<Details>\n\t\t >;\n}\n\nexport function createJsonTool<Schema extends TSchema, Details = undefined>(\n\toptions: CreateJsonToolOptions<Schema, Details>,\n) {\n\treturn createTool<Schema, Details>({\n\t\t...options,\n\t\trun: async (params, context) => {\n\t\t\tconst result = await options.run(params, context);\n\t\t\tif (result === undefined) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t\tif (result instanceof ToolResponseBuilder) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t\tif (isAgentToolResult<Details>(result)) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t\treturn context.respond.text(JSON.stringify(result, null, 2));\n\t\t},\n\t});\n}\n\nfunction isAgentToolResult<Details>(\n\tvalue: unknown,\n): value is AgentToolResult<Details> {\n\treturn (\n\t\ttypeof value === \"object\" &&\n\t\tvalue !== null &&\n\t\t\"content\" in value &&\n\t\tArray.isArray((value as AgentToolResult<Details>).content)\n\t);\n}\n"]}
1
+ {"version":3,"file":"tool-dsl.js","sourceRoot":"","sources":["../../src/tools/tool-dsl.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgEG;AAGH,OAAO,EAAE,GAAG,EAA2C,MAAM,KAAK,CAAC;AACnE,OAAO,gBAAwC,MAAM,aAAa,CAAC;AAQnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,oFAAoF;AACpF,MAAM,UAAU,GAAG,oBAAoB,CAAgB,gBAAgB,CAAC,CAAC;AAEzE,wDAAwD;AACxD,IAAI,GAAG,GAAe,IAAI,CAA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,CAAU,MAAM,CAAC,EAAE,CAAC;gBACxC,OAAO,MAAM,CAAC;YACf,CAAC;YACD,OAAO,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;QAC9D,CAAC;KACD,CAAC,CAAC;AACJ,CAAC;AAED,SAAS,iBAAiB,CACzB,KAAc;IAEd,OAAO,CACN,OAAO,KAAK,KAAK,QAAQ;QACzB,KAAK,KAAK,IAAI;QACd,SAAS,IAAI,KAAK;QAClB,KAAK,CAAC,OAAO,CAAE,KAAkC,CAAC,OAAO,CAAC,CAC1D,CAAC;AACH,CAAC","sourcesContent":["/**\n * Tool DSL - Domain-Specific Language for Creating Agent Tools\n *\n * This module provides a fluent, type-safe API for defining tools that can be\n * executed by the Composer agent. It handles schema validation, response building,\n * retry logic, and sandbox integration.\n *\n * ## Architecture\n *\n * ```\n * ┌─────────────────────────────────────────────────────────────────┐\n * │ Tool Creation Flow │\n * ├─────────────────────────────────────────────────────────────────┤\n * │ createTool(options) │\n * │ │ │\n * │ ▼ │\n * │ ┌─────────────┐ ┌──────────────┐ ┌─────────────────┐ │\n * │ │ Schema │───▶│ Validator │───▶│ execute() │ │\n * │ │ (TypeBox) │ │ (AJV) │ │ function │ │\n * │ └─────────────┘ └──────────────┘ └─────────────────┘ │\n * │ │ │\n * │ ▼ │\n * │ ┌─────────────────────────────────────┐ │\n * │ │ ToolResponseBuilder │ │\n * │ │ - text(), image(), error() │ │\n * │ │ - detail() for structured data │ │\n * │ └─────────────────────────────────────┘ │\n * └─────────────────────────────────────────────────────────────────┘\n * ```\n *\n * ## Tool Types\n *\n * | Factory | Return Type | Use Case |\n * |---------------|------------------|-----------------------------------|\n * | createTool | AgentToolResult | Full control over response |\n * | createTextTool| string → text | Simple text responses |\n * | createJsonTool| object → JSON | Structured data responses |\n *\n * ## Example\n *\n * ```typescript\n * import { createTool, Type } from './tool-dsl';\n *\n * const greetTool = createTool({\n * name: 'greet',\n * description: 'Greet a user by name',\n * schema: Type.Object({\n * name: Type.String({ description: 'Name to greet' }),\n * }),\n * run: async ({ name }, { respond }) => {\n * return respond.text(`Hello, ${name}!`);\n * },\n * });\n * ```\n *\n * ## Features\n *\n * - **Type-safe schemas**: Uses TypeBox for compile-time type inference\n * - **AJV validation**: Runtime validation with format support\n * - **Retry logic**: Built-in exponential backoff for transient failures\n * - **Sandbox support**: Tools can run in isolated environments\n * - **Context interpolation**: Environment variables and paths\n *\n * @module tools/tool-dsl\n */\n\nimport type { Static, TSchema } from \"@sinclair/typebox\";\nimport { Ajv, type ErrorObject, type ValidateFunction } from \"ajv\";\nimport addFormatsModule, { type FormatsPlugin } from \"ajv-formats\";\nimport type {\n\tAgentToolResult,\n\tAgentToolUpdateCallback,\n\tToolAnnotations,\n\tToolSourceMetadata,\n} from \"../agent/types.js\";\nimport type { Sandbox } from \"../sandbox/types.js\";\nimport { resolveDefaultExport } from \"../utils/module-interop.js\";\n\n// ESM/CJS interop: ajv-formats default may be nested under .default in some loaders\nconst addFormats = resolveDefaultExport<FormatsPlugin>(addFormatsModule);\n\n// Create a singleton AJV instance for schema validation\nlet ajv: Ajv | null = null;\ntry {\n\tajv = new Ajv({\n\t\t// Avoid unbounded error collection on large/invalid payloads\n\t\tallErrors: false,\n\t\tstrict: false,\n\t\tuseDefaults: true, // Apply schema defaults to input\n\t});\n\taddFormats(ajv);\n} catch {\n\t// AJV initialization failed (likely CSP restriction)\n\tajv = null;\n}\n\n// Cache compiled validators per schema to avoid recompiling on every execute()\nconst validatorCache = new WeakMap<TSchema, ValidateFunction>();\n\nfunction getOrCompileValidator(schema: TSchema): ValidateFunction | null {\n\tif (!ajv) return null;\n\n\tlet validate = validatorCache.get(schema);\n\tif (!validate) {\n\t\tvalidate = ajv.compile(schema);\n\t\tvalidatorCache.set(schema, validate);\n\t}\n\treturn validate;\n}\n\nexport class ToolResponseBuilder<Details> {\n\tprivate _content: (\n\t\t| { type: \"text\"; text: string }\n\t\t| { type: \"image\"; data: string; mimeType: string }\n\t)[] = [];\n\tprivate _details?: Details;\n\tprivate _isError = false;\n\n\ttext(content: string): this {\n\t\tthis._content.push({ type: \"text\", text: content });\n\t\treturn this;\n\t}\n\n\timage(base64: string, mimeType: string): this {\n\t\tthis._content.push({ type: \"image\", data: base64, mimeType });\n\t\treturn this;\n\t}\n\n\tdetail(details: Details): this {\n\t\tthis._details = details;\n\t\treturn this;\n\t}\n\n\terror(message: string): this {\n\t\tthis.text(message);\n\t\tthis._isError = true;\n\t\treturn this;\n\t}\n\n\tbuild(): AgentToolResult<Details> {\n\t\treturn {\n\t\t\tcontent: this._content,\n\t\t\tdetails: this._details,\n\t\t\tisError: this._isError,\n\t\t};\n\t}\n}\n\nexport interface ToolRunContext<Details> {\n\ttoolCallId: string;\n\tsignal?: AbortSignal;\n\trespond: ToolResponseBuilder<Details>;\n\tsandbox?: Sandbox;\n\tonUpdate?: AgentToolUpdateCallback<Details>;\n}\n\nexport interface CreateToolOptions<Schema extends TSchema, Details> {\n\tname: string;\n\tlabel?: string;\n\tdescription: string;\n\tschema: Schema;\n\tannotations?: ToolAnnotations;\n\tsource?: ToolSourceMetadata;\n\ttoolType?: string;\n\tinputExamples?: unknown[];\n\tallowedCallers?: string[];\n\tdeferApiDefinition?: boolean;\n\trun: (\n\t\tparams: import(\"@sinclair/typebox\").Static<Schema>,\n\t\tcontext: ToolRunContext<Details>,\n\t) =>\n\t\t| undefined\n\t\t| ToolResponseBuilder<Details>\n\t\t| AgentToolResult<Details>\n\t\t| Promise<\n\t\t\t\tundefined | ToolResponseBuilder<Details> | AgentToolResult<Details>\n\t\t >;\n\tmaxRetries?: number;\n\tretryDelayMs?: number;\n\tshouldRetry?: (error: unknown) => boolean;\n\tgetToolUseSummary?: (params: Static<Schema>) => string | null;\n\tgetDisplayName?: (params: Static<Schema>) => string | null;\n\tgetActivityDescription?: (params: Static<Schema>) => string | null;\n}\n\ntype StaticSchema<Schema extends TSchema> = Static<Schema>;\n\nexport class ToolError extends Error {\n\tconstructor(\n\t\tmessage: string,\n\t\tpublic readonly code?: string,\n\t\tpublic readonly details?: unknown,\n\t) {\n\t\tsuper(message);\n\t\tthis.name = \"ToolError\";\n\t}\n}\n\nexport function createTool<Schema extends TSchema, Details = undefined>(\n\toptions: CreateToolOptions<Schema, Details>,\n) {\n\treturn Object.freeze({\n\t\tname: options.name,\n\t\tlabel: options.label ?? options.name,\n\t\tdescription: options.description,\n\t\tparameters: options.schema,\n\t\tannotations: options.annotations,\n\t\tsource: options.source,\n\t\ttoolType: options.toolType,\n\t\tinputExamples: options.inputExamples,\n\t\tallowedCallers: options.allowedCallers,\n\t\tdeferApiDefinition: options.deferApiDefinition,\n\t\tmaxRetries: options.maxRetries,\n\t\tretryDelayMs: options.retryDelayMs,\n\t\tshouldRetry: options.shouldRetry,\n\t\tgetToolUseSummary: options.getToolUseSummary\n\t\t\t? (params: Record<string, unknown>) =>\n\t\t\t\t\toptions.getToolUseSummary?.(params as StaticSchema<Schema>) ?? null\n\t\t\t: undefined,\n\t\tgetDisplayName: options.getDisplayName\n\t\t\t? (params: Record<string, unknown>) =>\n\t\t\t\t\toptions.getDisplayName?.(params as StaticSchema<Schema>) ?? null\n\t\t\t: undefined,\n\t\tgetActivityDescription: options.getActivityDescription\n\t\t\t? (params: Record<string, unknown>) =>\n\t\t\t\t\toptions.getActivityDescription?.(params as StaticSchema<Schema>) ??\n\t\t\t\t\tnull\n\t\t\t: undefined,\n\t\texecute: async (\n\t\t\ttoolCallId: string,\n\t\t\tparams: Record<string, unknown>,\n\t\t\tsignal?: AbortSignal,\n\t\t\tcontext?: { sandbox?: Sandbox },\n\t\t\tonUpdate?: AgentToolUpdateCallback<Details>,\n\t\t) => {\n\t\t\t// Validate params against schema using cached validator\n\t\t\tif (options.schema) {\n\t\t\t\tconst validate = getOrCompileValidator(options.schema);\n\t\t\t\tif (validate && !validate(params)) {\n\t\t\t\t\tconst errors =\n\t\t\t\t\t\t(validate.errors ?? [])\n\t\t\t\t\t\t\t.map((err) => {\n\t\t\t\t\t\t\t\tconst path =\n\t\t\t\t\t\t\t\t\terr.instancePath && err.instancePath.length > 1\n\t\t\t\t\t\t\t\t\t\t? err.instancePath.substring(1)\n\t\t\t\t\t\t\t\t\t\t: (err.params as { missingProperty?: string })\n\t\t\t\t\t\t\t\t\t\t\t\t.missingProperty || \"root\";\n\t\t\t\t\t\t\t\treturn ` - ${path}: ${err.message ?? \"invalid value\"}`;\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t.join(\"\\n\") || \"Unknown validation error\";\n\t\t\t\t\tthrow new ToolError(\n\t\t\t\t\t\t`Validation failed for tool \"${options.name}\":\\n${errors}`,\n\t\t\t\t\t\t\"VALIDATION_ERROR\",\n\t\t\t\t\t\t{ params },\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tconst maxRetries = options.maxRetries ?? 0;\n\t\t\tconst retryDelayMs = options.retryDelayMs ?? 1000;\n\t\t\tconst shouldRetry = options.shouldRetry ?? (() => true);\n\t\t\tconst typedParams = params as StaticSchema<Schema>;\n\n\t\t\tlet lastError: unknown;\n\t\t\tfor (let attempt = 0; attempt <= maxRetries; attempt++) {\n\t\t\t\tif (attempt > 0) {\n\t\t\t\t\t// Exponential backoff: delay * 2^(attempt-1)\n\t\t\t\t\tconst delay = retryDelayMs * 2 ** (attempt - 1);\n\t\t\t\t\tif (signal) {\n\t\t\t\t\t\tconst activeSignal = signal;\n\t\t\t\t\t\tawait new Promise<void>((resolve, reject) => {\n\t\t\t\t\t\t\tif (activeSignal.aborted) {\n\t\t\t\t\t\t\t\treject(new Error(\"Operation aborted\"));\n\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tconst timeout = setTimeout(() => {\n\t\t\t\t\t\t\t\tactiveSignal.removeEventListener(\"abort\", onAbort);\n\t\t\t\t\t\t\t\tresolve();\n\t\t\t\t\t\t\t}, delay);\n\t\t\t\t\t\t\tfunction onAbort() {\n\t\t\t\t\t\t\t\tclearTimeout(timeout);\n\t\t\t\t\t\t\t\tactiveSignal.removeEventListener(\"abort\", onAbort);\n\t\t\t\t\t\t\t\treject(new Error(\"Operation aborted\"));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tactiveSignal.addEventListener(\"abort\", onAbort, { once: true });\n\t\t\t\t\t\t});\n\t\t\t\t\t} else {\n\t\t\t\t\t\tawait new Promise((resolve) => setTimeout(resolve, delay));\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\ttry {\n\t\t\t\t\tconst builder = new ToolResponseBuilder<Details>();\n\t\t\t\t\tconst result = await options.run(typedParams, {\n\t\t\t\t\t\ttoolCallId,\n\t\t\t\t\t\tsignal,\n\t\t\t\t\t\trespond: builder,\n\t\t\t\t\t\tsandbox: context?.sandbox,\n\t\t\t\t\t\tonUpdate,\n\t\t\t\t\t});\n\t\t\t\t\tif (result instanceof ToolResponseBuilder) {\n\t\t\t\t\t\treturn result.build();\n\t\t\t\t\t}\n\t\t\t\t\tif (result) {\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t}\n\t\t\t\t\treturn builder.build();\n\t\t\t\t} catch (error) {\n\t\t\t\t\tlastError = error;\n\t\t\t\t\tif (attempt < maxRetries && shouldRetry(error)) {\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tthrow error;\n\t\t\t\t}\n\t\t\t}\n\t\t\tthrow lastError;\n\t\t},\n\t});\n}\n\nimport { getHomeDir } from \"../utils/path-expansion.js\";\nimport { expandUserPath as expandUserPathBase } from \"../utils/path-validation.js\";\n\n// Re-export shared path expansion utility to keep tool-dsl API stable\nexport const expandUserPath = expandUserPathBase;\n\n/**\n * Interpolate environment variables and context in a string.\n * Supports: ${env.VAR}, ${cwd}, ${home}\n */\nexport function interpolateContext(value: string): string {\n\treturn value\n\t\t.replace(/\\$\\{env\\.([^}]+)\\}/g, (_, varName) => process.env[varName] ?? \"\")\n\t\t.replace(/\\$\\{cwd\\}/g, process.cwd())\n\t\t.replace(/\\$\\{home\\}/g, getHomeDir());\n}\n\nexport interface CreateTextToolOptions<Schema extends TSchema, Details>\n\textends Omit<CreateToolOptions<Schema, Details>, \"run\"> {\n\trun: (\n\t\tparams: import(\"@sinclair/typebox\").Static<Schema>,\n\t\tcontext: ToolRunContext<Details>,\n\t) =>\n\t\t| string\n\t\t| undefined\n\t\t| ToolResponseBuilder<Details>\n\t\t| AgentToolResult<Details>\n\t\t| Promise<\n\t\t\t\t| string\n\t\t\t\t| undefined\n\t\t\t\t| ToolResponseBuilder<Details>\n\t\t\t\t| AgentToolResult<Details>\n\t\t >;\n}\n\nexport function createTextTool<Schema extends TSchema, Details = undefined>(\n\toptions: CreateTextToolOptions<Schema, Details>,\n) {\n\treturn createTool<Schema, Details>({\n\t\t...options,\n\t\trun: async (params, context) => {\n\t\t\tconst result = await options.run(params, context);\n\t\t\tif (typeof result === \"string\") {\n\t\t\t\treturn context.respond.text(result);\n\t\t\t}\n\t\t\treturn result;\n\t\t},\n\t});\n}\n\nexport interface CreateJsonToolOptions<Schema extends TSchema, Details>\n\textends Omit<CreateToolOptions<Schema, Details>, \"run\"> {\n\trun: (\n\t\tparams: import(\"@sinclair/typebox\").Static<Schema>,\n\t\tcontext: ToolRunContext<Details>,\n\t) =>\n\t\t| unknown\n\t\t| undefined\n\t\t| ToolResponseBuilder<Details>\n\t\t| AgentToolResult<Details>\n\t\t| Promise<\n\t\t\t\t| unknown\n\t\t\t\t| undefined\n\t\t\t\t| ToolResponseBuilder<Details>\n\t\t\t\t| AgentToolResult<Details>\n\t\t >;\n}\n\nexport function createJsonTool<Schema extends TSchema, Details = undefined>(\n\toptions: CreateJsonToolOptions<Schema, Details>,\n) {\n\treturn createTool<Schema, Details>({\n\t\t...options,\n\t\trun: async (params, context) => {\n\t\t\tconst result = await options.run(params, context);\n\t\t\tif (result === undefined) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t\tif (result instanceof ToolResponseBuilder) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t\tif (isAgentToolResult<Details>(result)) {\n\t\t\t\treturn result;\n\t\t\t}\n\t\t\treturn context.respond.text(JSON.stringify(result, null, 2));\n\t\t},\n\t});\n}\n\nfunction isAgentToolResult<Details>(\n\tvalue: unknown,\n): value is AgentToolResult<Details> {\n\treturn (\n\t\ttypeof value === \"object\" &&\n\t\tvalue !== null &&\n\t\t\"content\" in value &&\n\t\tArray.isArray((value as AgentToolResult<Details>).content)\n\t);\n}\n"]}