kennel 0.2.12 → 0.2.15

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 (1863) hide show
  1. package/README.md +19 -7
  2. package/dist/cli/dispatch.js +35 -4
  3. package/dist/cli/usage.js +2 -1
  4. package/dist/core/api-client.d.ts +1 -1
  5. package/dist/core/api-client.js +12 -14
  6. package/dist/core/command.js +4 -6
  7. package/dist/core/core-folders.js +10906 -18152
  8. package/dist/core/init.js +3 -3
  9. package/dist/core/runtime.js +207 -828
  10. package/dist/mcp/function-source.js +1 -1
  11. package/dist/mcp/generate.js +1 -1
  12. package/dist/mcp/install-page.d.ts +1 -1
  13. package/dist/mcp/install-page.js +1 -1
  14. package/dist/notifications/email-worker.js +1 -1
  15. package/dist/package/mcp-data.d.ts +1 -1
  16. package/dist/package/mcp-data.js +1 -1
  17. package/dist/package/mcp-email-worker.d.ts +1 -1
  18. package/dist/package/mcp-email-worker.js +1 -1
  19. package/dist/package/mcp-http.d.ts +1 -1
  20. package/dist/package/mcp-http.js +1 -1
  21. package/dist/package/mcp-stdio.d.ts +1 -1
  22. package/dist/package/mcp-stdio.js +1 -1
  23. package/dist/package/mcp.d.ts +1 -1
  24. package/dist/package/mcp.js +1 -1
  25. package/dist/package/preview.d.ts +2 -2
  26. package/dist/package/preview.js +9034 -55365
  27. package/dist/plugins/external.d.ts +23 -29
  28. package/dist/plugins/external.js +338 -255
  29. package/dist/site/hot-viewer.js +7 -8
  30. package/dist/site/kinds.d.ts +1 -1
  31. package/dist/site/server-plugins.d.ts +3 -6
  32. package/dist/site/server-plugins.js +31 -540
  33. package/dist/site/viewer.js +6 -10
  34. package/package.json +10 -43
  35. package/schemas/config.schema.json +10 -18
  36. package/templates/plugin/client.tsx +12 -0
  37. package/templates/plugin/kennel.plugin.json +3 -0
  38. package/templates/plugin/manifest.ts +6 -0
  39. package/templates/plugin/package.json +11 -0
  40. package/templates/plugin/server.ts +13 -0
  41. package/templates/plugin/tsconfig.json +11 -0
  42. package/web/assets/abnfDiagram-VRR7QNED-BHyQWgE7.js +1 -0
  43. package/web/assets/app-B0JvGgzJ.js +2 -0
  44. package/web/assets/app-options-CKc3uI_8.js +25 -0
  45. package/web/assets/app-view-header-O3qQjBZc.js +1 -0
  46. package/web/assets/arc-iqMSyq0j.js +1 -0
  47. package/web/assets/architectureDiagram-ZJ3FMSHR-icE1qR4S.js +36 -0
  48. package/web/assets/ask-tray-DYxvqV-2.js +14 -0
  49. package/web/assets/blockDiagram-677ZJIJ3-DvszZf5O.js +132 -0
  50. package/web/assets/c4Diagram-LMCZKHZV-DKGTFJdP.js +10 -0
  51. package/web/assets/channel-Dl1wIhHR.js +1 -0
  52. package/web/assets/check-Cfaum8KK.js +1 -0
  53. package/web/assets/chevron-down-BX9NAmJK.js +1 -0
  54. package/web/assets/chevron-right-ztDuzaVJ.js +1 -0
  55. package/web/assets/chevron-up-DuJcPAvZ.js +1 -0
  56. package/web/assets/chunk-2Q5K7J3B-DfHQU7-4.js +1 -0
  57. package/web/assets/chunk-32BRIVSS-CGVIeMh2.js +1 -0
  58. package/web/assets/chunk-5VM5RSS4-YC-XnadT.js +15 -0
  59. package/web/assets/chunk-EX3LRPZG-D9hAmjFx.js +231 -0
  60. package/web/assets/chunk-JWPE2WC7-CZJ17mca.js +1 -0
  61. package/web/assets/chunk-MOJQB5TN-6c2Jo2zi.js +88 -0
  62. package/web/assets/chunk-RYQCIY6F-1Nn1hRKy.js +1 -0
  63. package/web/assets/chunk-V7JOEXUC-D1yjMw1v.js +206 -0
  64. package/web/assets/chunk-VR4S4FIN-BEXJFqwW.js +1 -0
  65. package/web/assets/chunk-XXDRQBXY-B8VOyKvi.js +1 -0
  66. package/web/assets/classDiagram-OUVF2IWQ-B1y0va4e.js +1 -0
  67. package/web/assets/classDiagram-v2-EOCWNBFH-B1y0va4e.js +1 -0
  68. package/web/assets/client-BrGya3CX.js +6 -0
  69. package/web/assets/client-C7VkMvLG.js +43 -0
  70. package/web/assets/command-Y1kMd3Z_.js +38 -0
  71. package/web/assets/copy-COuKJWiP.js +1 -0
  72. package/web/assets/copy-context-DGGuwV3t.js +1 -0
  73. package/web/assets/cose-bilkent-JH36ORCC-DPz8lvQv.js +1 -0
  74. package/web/assets/cynefin-VYW2F7L2-BFTKvFOB.js +166 -0
  75. package/web/assets/cynefinDiagram-TSTJHNR4-DMEVtV_N.js +62 -0
  76. package/web/assets/dagre-VKFMJZFB-DBfLDvQQ.js +4 -0
  77. package/web/assets/diagram-FQU43EPY-Hg6dezar.js +3 -0
  78. package/web/assets/diagram-G47NLZAW-B3By8CC3.js +24 -0
  79. package/web/assets/diagram-NH7WQ7WH-VX-G6EM9.js +24 -0
  80. package/web/assets/diagram-OA4YK3LP-BDqJrmLH.js +30 -0
  81. package/web/assets/diagram-WEI45ONY-E_AxKlsP.js +41 -0
  82. package/web/assets/document-CPUr6Ihg.js +23 -0
  83. package/web/assets/ebnfDiagram-CCIWWBDH-GqIG7eta.js +1 -0
  84. package/web/assets/ellipsis-D2HGbhJm.js +1 -0
  85. package/web/assets/entities-CKW3uiVH.js +22 -0
  86. package/web/assets/erDiagram-Q63AITRT-dYQlw4qh.js +85 -0
  87. package/web/assets/file-text-DcPqwYq5.js +1 -0
  88. package/web/assets/file-viewer-7SOU9CiS.js +1 -0
  89. package/web/assets/flowDiagram-23GEKE2U-Pc0YdspI.js +156 -0
  90. package/web/assets/folder-DTZcp2A6.js +1 -0
  91. package/web/assets/folder-filter-bar-B-i-4rbo.js +4 -0
  92. package/web/assets/folder-image-DU_poo8q.js +1 -0
  93. package/web/assets/folder-landing-UVkNL9G8.js +55 -0
  94. package/web/assets/folder-list-F-yrc7-p.js +1 -0
  95. package/web/assets/folder-mobile-bar-DJPrKpxo.js +1 -0
  96. package/web/assets/folder-open-DOYzvzsN.js +1 -0
  97. package/web/assets/folder-plugin-view-BT7to93n.js +2 -0
  98. package/web/assets/ganttDiagram-NO4QXBWP-DZJOsUZz.js +292 -0
  99. package/web/assets/gitGraphDiagram-IHSO6WYX-CgLODdVy.js +106 -0
  100. package/web/assets/hooks-wZOJYSkv.js +1 -0
  101. package/web/assets/index-4-yQR2Lz.js +41 -0
  102. package/web/assets/index-4JQ747xt.js +1 -0
  103. package/web/assets/index-B9Ju-85a.js +2 -0
  104. package/web/assets/index-BFd02VlT.js +1 -0
  105. package/web/assets/index-BjrX8Pf-.js +64 -0
  106. package/web/assets/index-BpMdYK6_.js +1 -0
  107. package/web/assets/index-D4WzK5IV.js +1 -0
  108. package/web/assets/index-DnD4X7zc.js +1 -0
  109. package/web/assets/index-uY9jLiL5.css +1 -0
  110. package/web/assets/index-uo3lipQl.js +1 -0
  111. package/web/assets/infoDiagram-FWYZ7A6U-DX-ufAQe.js +2 -0
  112. package/web/assets/input-fNFbKa15.js +9 -0
  113. package/web/assets/ishikawaDiagram-FXEZZL3T-CuwECnGF.js +70 -0
  114. package/web/assets/journeyDiagram-5HDEW3XC-2zmihEh6.js +139 -0
  115. package/web/assets/kanban-definition-HUTT4EX6-BdQsyGLl.js +89 -0
  116. package/web/assets/linear-B-kLzgKS.js +1 -0
  117. package/web/assets/linked-session-header-D4SUBW0L.js +3 -0
  118. package/web/assets/markdown-BvBsne3X.js +327 -0
  119. package/web/assets/mermaid.core-aYzB5any.js +308 -0
  120. package/web/assets/metadata-Clyy4qXZ.js +58 -0
  121. package/web/assets/mindmap-definition-LN4V7U3C-BNBOyFsl.js +96 -0
  122. package/web/assets/pegDiagram-2B236MQR-BAvwpPbi.js +1 -0
  123. package/web/assets/pieDiagram-ENE6RG2P-BXCS7abV.js +39 -0
  124. package/web/assets/plugin-host-modules-DEtx9Hq7.js +10 -0
  125. package/web/assets/plus-B3J-m78K.js +1 -0
  126. package/web/assets/popover-1LXR77r7.js +9 -0
  127. package/web/assets/project-search-dialog-B56ZSDPJ.js +43 -0
  128. package/web/assets/quadrantDiagram-ABIIQ3AL-Coo6fFHf.js +7 -0
  129. package/web/assets/railroadDiagram-RFXS5EU6-BaNxlV1J.js +1 -0
  130. package/web/assets/react-Dh7j6h1K.js +9 -0
  131. package/web/assets/requirementDiagram-TGXJPOKE-LMF4IfnZ.js +84 -0
  132. package/web/assets/sankeyDiagram-HTMAVEWB-C-yWLNPa.js +40 -0
  133. package/web/assets/search-BPF3ARQ9.js +1 -0
  134. package/web/assets/search-DG1auulp.css +1 -0
  135. package/web/assets/search-DImG1V67.js +2 -0
  136. package/web/assets/selection-popup-B_zAXt8R.js +7 -0
  137. package/web/assets/sequenceDiagram-DBY2YBRQ-DeHqYdg4.js +162 -0
  138. package/web/assets/sizeCapture-X5ZJPWSS-D2CDPOxg.js +1 -0
  139. package/web/assets/stateDiagram-2N3HPSRC-CNIYaeQH.js +1 -0
  140. package/web/assets/stateDiagram-v2-6OUMAXLB-Kn8FnYqS.js +1 -0
  141. package/web/assets/swimlanes-5IMT3BWC-CDsDmFBa.js +2 -0
  142. package/web/assets/swimlanesDiagram-G3AALYLV-FhTXuqD7.js +8 -0
  143. package/web/assets/tanstack-CirxkzEx.js +1 -0
  144. package/web/assets/timeline-definition-FHXFAJF6-C5ZIg5nr.js +120 -0
  145. package/web/assets/utils-CvINCDjn.js +1 -0
  146. package/web/assets/vennDiagram-L72KCM5P-D6pkrFwZ.js +34 -0
  147. package/web/assets/view-context-DKIrg--H.js +101 -0
  148. package/web/assets/viewer-capabilities-1a6IsY4l.js +1 -0
  149. package/web/assets/wardleyDiagram-EHGQE667-Yf1WJw-3.js +78 -0
  150. package/web/assets/x-BZE9W34m.js +1 -0
  151. package/web/assets/xychartDiagram-FW5EYKEG-Ds8KCXv_.js +7 -0
  152. package/web/index.html +4 -4
  153. package/web/kennel-theme.css +17 -0
  154. package/dist/cli/src/automations/notifications.d.ts +0 -40
  155. package/dist/cli/src/automations/notifications.js +0 -220
  156. package/dist/cli/src/cli/dispatch.d.ts +0 -1
  157. package/dist/cli/src/cli/dispatch.js +0 -138
  158. package/dist/cli/src/cli/usage.d.ts +0 -1
  159. package/dist/cli/src/cli/usage.js +0 -25
  160. package/dist/cli/src/core/api-client.d.ts +0 -13
  161. package/dist/cli/src/core/api-client.js +0 -1
  162. package/dist/cli/src/core/command.d.ts +0 -1
  163. package/dist/cli/src/core/command.js +0 -70
  164. package/dist/cli/src/core/core-folders.d.ts +0 -1
  165. package/dist/cli/src/core/core-folders.js +0 -42
  166. package/dist/cli/src/core/init.d.ts +0 -1
  167. package/dist/cli/src/core/init.js +0 -141
  168. package/dist/cli/src/core/runtime.d.ts +0 -14
  169. package/dist/cli/src/core/runtime.js +0 -1
  170. package/dist/cli/src/deploy/cloudflare.d.ts +0 -6
  171. package/dist/cli/src/deploy/cloudflare.js +0 -100
  172. package/dist/cli/src/deploy/environment.d.ts +0 -2
  173. package/dist/cli/src/deploy/environment.js +0 -47
  174. package/dist/cli/src/deploy/smoke-tests.d.ts +0 -4
  175. package/dist/cli/src/deploy/smoke-tests.js +0 -92
  176. package/dist/cli/src/deploy/trigger-dev.d.ts +0 -2
  177. package/dist/cli/src/deploy/trigger-dev.js +0 -255
  178. package/dist/cli/src/deploy/vercel.d.ts +0 -3
  179. package/dist/cli/src/deploy/vercel.js +0 -67
  180. package/dist/cli/src/main.d.ts +0 -1
  181. package/dist/cli/src/main.js +0 -9
  182. package/dist/cli/src/mcp/agent-tools.d.ts +0 -8
  183. package/dist/cli/src/mcp/agent-tools.js +0 -247
  184. package/dist/cli/src/mcp/config.d.ts +0 -25
  185. package/dist/cli/src/mcp/config.js +0 -185
  186. package/dist/cli/src/mcp/function-source.d.ts +0 -7
  187. package/dist/cli/src/mcp/function-source.js +0 -42
  188. package/dist/cli/src/mcp/generate.d.ts +0 -1
  189. package/dist/cli/src/mcp/generate.js +0 -47
  190. package/dist/cli/src/mcp/install-page.d.ts +0 -12
  191. package/dist/cli/src/mcp/install-page.js +0 -5
  192. package/dist/cli/src/notifications/email-worker.d.ts +0 -8
  193. package/dist/cli/src/notifications/email-worker.js +0 -137
  194. package/dist/cli/src/package/mcp-data.d.ts +0 -1
  195. package/dist/cli/src/package/mcp-data.js +0 -1
  196. package/dist/cli/src/package/mcp-email-worker.d.ts +0 -1
  197. package/dist/cli/src/package/mcp-email-worker.js +0 -1
  198. package/dist/cli/src/package/mcp-http.d.ts +0 -1
  199. package/dist/cli/src/package/mcp-http.js +0 -1
  200. package/dist/cli/src/package/mcp-stdio.d.ts +0 -1
  201. package/dist/cli/src/package/mcp-stdio.js +0 -1
  202. package/dist/cli/src/package/mcp.d.ts +0 -1
  203. package/dist/cli/src/package/mcp.js +0 -1
  204. package/dist/cli/src/package/preview.d.ts +0 -9
  205. package/dist/cli/src/package/preview.js +0 -1
  206. package/dist/cli/src/plugins/external.d.ts +0 -65
  207. package/dist/cli/src/plugins/external.js +0 -612
  208. package/dist/cli/src/publish/cloudflare-init.d.ts +0 -12
  209. package/dist/cli/src/publish/cloudflare-init.js +0 -101
  210. package/dist/cli/src/publish/config.d.ts +0 -28
  211. package/dist/cli/src/publish/config.js +0 -178
  212. package/dist/cli/src/publish/options.d.ts +0 -13
  213. package/dist/cli/src/publish/options.js +0 -78
  214. package/dist/cli/src/publish/vercel-init.d.ts +0 -9
  215. package/dist/cli/src/publish/vercel-init.js +0 -52
  216. package/dist/cli/src/shared/json.d.ts +0 -4
  217. package/dist/cli/src/shared/json.js +0 -56
  218. package/dist/cli/src/shared/object.d.ts +0 -2
  219. package/dist/cli/src/shared/object.js +0 -3
  220. package/dist/cli/src/shared/package-manager.d.ts +0 -11
  221. package/dist/cli/src/shared/package-manager.js +0 -39
  222. package/dist/cli/src/shared/path.d.ts +0 -4
  223. package/dist/cli/src/shared/path.js +0 -40
  224. package/dist/cli/src/shared/process.d.ts +0 -7
  225. package/dist/cli/src/shared/process.js +0 -12
  226. package/dist/cli/src/shared/project-config.d.ts +0 -2
  227. package/dist/cli/src/shared/project-config.js +0 -26
  228. package/dist/cli/src/site/dev.d.ts +0 -10
  229. package/dist/cli/src/site/dev.js +0 -126
  230. package/dist/cli/src/site/extension.d.ts +0 -8
  231. package/dist/cli/src/site/extension.js +0 -113
  232. package/dist/cli/src/site/folder-icons.d.ts +0 -46
  233. package/dist/cli/src/site/folder-icons.js +0 -86
  234. package/dist/cli/src/site/hot-viewer.d.ts +0 -2
  235. package/dist/cli/src/site/hot-viewer.js +0 -238
  236. package/dist/cli/src/site/kinds.d.ts +0 -1
  237. package/dist/cli/src/site/kinds.js +0 -1
  238. package/dist/cli/src/site/mail.d.ts +0 -1
  239. package/dist/cli/src/site/mail.js +0 -10
  240. package/dist/cli/src/site/renderers.d.ts +0 -61
  241. package/dist/cli/src/site/renderers.js +0 -219
  242. package/dist/cli/src/site/server-plugins.d.ts +0 -49
  243. package/dist/cli/src/site/server-plugins.js +0 -1
  244. package/dist/cli/src/site/viewer.d.ts +0 -36
  245. package/dist/cli/src/site/viewer.js +0 -358
  246. package/dist/cli/src/site/vitepress.d.ts +0 -1
  247. package/dist/cli/src/site/vitepress.js +0 -1
  248. package/kernel/apps/web/.env.example +0 -11
  249. package/kernel/apps/web/components.json +0 -20
  250. package/kernel/apps/web/eslint.config.mjs +0 -60
  251. package/kernel/apps/web/index.html +0 -17
  252. package/kernel/apps/web/package.json +0 -75
  253. package/kernel/apps/web/public/favicon.svg +0 -6
  254. package/kernel/apps/web/public/providers/claude.svg +0 -1
  255. package/kernel/apps/web/public/providers/codex.svg +0 -1
  256. package/kernel/apps/web/public/providers/cursor.svg +0 -1
  257. package/kernel/apps/web/public/providers/opencode.svg +0 -1
  258. package/kernel/apps/web/public/providers/pi.svg +0 -1
  259. package/kernel/apps/web/scripts/dev.mjs +0 -57
  260. package/kernel/apps/web/server/acp/index.ts +0 -1
  261. package/kernel/apps/web/server/acp/live-agent-connection.ts +0 -1
  262. package/kernel/apps/web/server/acp/process-manager.ts +0 -1
  263. package/kernel/apps/web/server/acp/registry.ts +0 -1
  264. package/kernel/apps/web/server/acp/sdk.ts +0 -1
  265. package/kernel/apps/web/server/acp/transport.ts +0 -1
  266. package/kernel/apps/web/server/acp/types.ts +0 -1
  267. package/kernel/apps/web/server/acp-live-plugin.ts +0 -30
  268. package/kernel/apps/web/server/api/document-edit.ts +0 -1
  269. package/kernel/apps/web/server/api/open-path.ts +0 -1
  270. package/kernel/apps/web/server/core-plugin.ts +0 -49
  271. package/kernel/apps/web/server/folder-favicon.ts +0 -1
  272. package/kernel/apps/web/server/folder-icons.ts +0 -1
  273. package/kernel/apps/web/server/folder-metadata-plugin.ts +0 -31
  274. package/kernel/apps/web/server/plugins.ts +0 -1
  275. package/kernel/apps/web/server/preview-kinds.ts +0 -1
  276. package/kernel/apps/web/src/ai-input.tsx +0 -62
  277. package/kernel/apps/web/src/annotations.tsx +0 -430
  278. package/kernel/apps/web/src/api/client.ts +0 -3
  279. package/kernel/apps/web/src/api/errors.ts +0 -1
  280. package/kernel/apps/web/src/api/events.ts +0 -78
  281. package/kernel/apps/web/src/app.css +0 -329
  282. package/kernel/apps/web/src/app.tsx +0 -667
  283. package/kernel/apps/web/src/ask-draft.ts +0 -164
  284. package/kernel/apps/web/src/ask-tray.tsx +0 -256
  285. package/kernel/apps/web/src/comment-editor.tsx +0 -93
  286. package/kernel/apps/web/src/comment-form.tsx +0 -162
  287. package/kernel/apps/web/src/copy-path.ts +0 -18
  288. package/kernel/apps/web/src/deferred-ask-tray.tsx +0 -20
  289. package/kernel/apps/web/src/document-url.ts +0 -46
  290. package/kernel/apps/web/src/documents-url.ts +0 -23
  291. package/kernel/apps/web/src/dropped-folder.ts +0 -64
  292. package/kernel/apps/web/src/external-plugins.ts +0 -3
  293. package/kernel/apps/web/src/file-viewer.tsx +0 -171
  294. package/kernel/apps/web/src/folder-filter-icons.tsx +0 -39
  295. package/kernel/apps/web/src/folder-metadata.ts +0 -76
  296. package/kernel/apps/web/src/folder-plugin-view.tsx +0 -87
  297. package/kernel/apps/web/src/folder-query-cache.ts +0 -66
  298. package/kernel/apps/web/src/host-adapters.ts +0 -209
  299. package/kernel/apps/web/src/host-bridge.ts +0 -214
  300. package/kernel/apps/web/src/lib/entity-folder.ts +0 -2
  301. package/kernel/apps/web/src/linked-session-header.tsx +0 -43
  302. package/kernel/apps/web/src/live-session-controls.tsx +0 -326
  303. package/kernel/apps/web/src/local-source.ts +0 -32
  304. package/kernel/apps/web/src/main.tsx +0 -23
  305. package/kernel/apps/web/src/markdown-page.tsx +0 -444
  306. package/kernel/apps/web/src/notes-page.tsx +0 -103
  307. package/kernel/apps/web/src/plugins.ts +0 -23
  308. package/kernel/apps/web/src/project-search-dialog.tsx +0 -257
  309. package/kernel/apps/web/src/project-search.ts +0 -18
  310. package/kernel/apps/web/src/query-client.ts +0 -4
  311. package/kernel/apps/web/src/rehype-source-lines.ts +0 -22
  312. package/kernel/apps/web/src/routes/document.tsx +0 -1
  313. package/kernel/apps/web/src/routes/entities.tsx +0 -277
  314. package/kernel/apps/web/src/routes/search.tsx +0 -60
  315. package/kernel/apps/web/src/selection-context.ts +0 -68
  316. package/kernel/apps/web/src/selection-input.tsx +0 -58
  317. package/kernel/apps/web/src/selection-popup.tsx +0 -155
  318. package/kernel/apps/web/src/session-transcript-page.tsx +0 -152
  319. package/kernel/apps/web/src/use-annotations.ts +0 -162
  320. package/kernel/apps/web/src/use-ask-ai.ts +0 -26
  321. package/kernel/apps/web/src/use-ask-draft.ts +0 -27
  322. package/kernel/apps/web/src/use-document.ts +0 -37
  323. package/kernel/apps/web/src/use-folder-notes.ts +0 -49
  324. package/kernel/apps/web/src/use-linked-session.ts +0 -33
  325. package/kernel/apps/web/src/view-context.tsx +0 -69
  326. package/kernel/apps/web/src/view-header.tsx +0 -66
  327. package/kernel/apps/web/src/viewer-capabilities.ts +0 -33
  328. package/kernel/apps/web/src/viewer-route.ts +0 -1
  329. package/kernel/apps/web/src/viewport-height.ts +0 -33
  330. package/kernel/apps/web/tsconfig.json +0 -23
  331. package/kernel/apps/web/vite.config.ts +0 -261
  332. package/kernel/packages/agents/eslint.config.js +0 -10
  333. package/kernel/packages/agents/package.json +0 -75
  334. package/kernel/packages/agents/src/agent-card.tsx +0 -334
  335. package/kernel/packages/agents/src/client.tsx +0 -13
  336. package/kernel/packages/agents/src/index.ts +0 -18
  337. package/kernel/packages/agents/src/manifest.ts +0 -7
  338. package/kernel/packages/agents/src/node.ts +0 -447
  339. package/kernel/packages/agents/src/profiles.ts +0 -137
  340. package/kernel/packages/agents/src/resolve.ts +0 -69
  341. package/kernel/packages/agents/src/server.ts +0 -60
  342. package/kernel/packages/agents/src/types.ts +0 -82
  343. package/kernel/packages/agents/src/viewer.tsx +0 -370
  344. package/kernel/packages/agents/test/profiles.test.mjs +0 -88
  345. package/kernel/packages/agents/test/resolve.test.mjs +0 -729
  346. package/kernel/packages/agents/tsconfig.json +0 -17
  347. package/kernel/packages/api/README.md +0 -73
  348. package/kernel/packages/api/openapi.json +0 -3368
  349. package/kernel/packages/api/package.json +0 -37
  350. package/kernel/packages/api/src/client/errors.ts +0 -1
  351. package/kernel/packages/api/src/client/index.ts +0 -2
  352. package/kernel/packages/api/src/contracts/schemas.ts +0 -277
  353. package/kernel/packages/api/src/contracts.ts +0 -20
  354. package/kernel/packages/api/src/index.ts +0 -34
  355. package/kernel/packages/api/src/server/acp/index.ts +0 -35
  356. package/kernel/packages/api/src/server/acp/live-agent-connection.ts +0 -44
  357. package/kernel/packages/api/src/server/acp/process-manager.ts +0 -291
  358. package/kernel/packages/api/src/server/acp/registry.ts +0 -140
  359. package/kernel/packages/api/src/server/acp/sdk.ts +0 -15
  360. package/kernel/packages/api/src/server/acp/transport.ts +0 -115
  361. package/kernel/packages/api/src/server/acp/types.ts +0 -89
  362. package/kernel/packages/api/src/server/acp-live-plugin.ts +0 -423
  363. package/kernel/packages/api/src/server/api/create-agent-file.ts +0 -46
  364. package/kernel/packages/api/src/server/api/document-edit.ts +0 -125
  365. package/kernel/packages/api/src/server/api/open-path.ts +0 -40
  366. package/kernel/packages/api/src/server/contracts.ts +0 -85
  367. package/kernel/packages/api/src/server/entity-folder.ts +0 -353
  368. package/kernel/packages/api/src/server/folder-favicon.ts +0 -17
  369. package/kernel/packages/api/src/server/folder-icons.ts +0 -113
  370. package/kernel/packages/api/src/server/folder-metadata-plugin.ts +0 -1733
  371. package/kernel/packages/api/src/server/host.ts +0 -21
  372. package/kernel/packages/api/src/server/index.ts +0 -196
  373. package/kernel/packages/api/src/server/linked-folder-discovery.ts +0 -158
  374. package/kernel/packages/api/src/server/plugins.ts +0 -238
  375. package/kernel/packages/api/src/server/project-discovery.ts +0 -69
  376. package/kernel/packages/api/src/server/watcher.ts +0 -46
  377. package/kernel/packages/api/src/shared/selection.ts +0 -16
  378. package/kernel/packages/api/src/shared/viewer-route.ts +0 -200
  379. package/kernel/packages/api/test/agents-loading.test.ts +0 -94
  380. package/kernel/packages/api/test/core.test.ts +0 -352
  381. package/kernel/packages/api/test/entity-folder.test.ts +0 -131
  382. package/kernel/packages/api/test/linked-folder-discovery.test.ts +0 -78
  383. package/kernel/packages/api/test/media-endpoint.test.ts +0 -83
  384. package/kernel/packages/api/test/project-discovery.test.ts +0 -44
  385. package/kernel/packages/api/tsconfig.json +0 -11
  386. package/kernel/packages/api-client/README.md +0 -72
  387. package/kernel/packages/api-client/package.json +0 -26
  388. package/kernel/packages/api-client/scripts/generate.ts +0 -68
  389. package/kernel/packages/api-client/src/errors.ts +0 -59
  390. package/kernel/packages/api-client/src/generated.d.ts +0 -1248
  391. package/kernel/packages/api-client/src/index.ts +0 -206
  392. package/kernel/packages/api-client/src/responses.ts +0 -19
  393. package/kernel/packages/api-client/test/client.test.ts +0 -143
  394. package/kernel/packages/api-client/tsconfig.json +0 -12
  395. package/kernel/packages/kinds/package.json +0 -24
  396. package/kernel/packages/kinds/src/kinds.ts +0 -172
  397. package/kernel/packages/markdown/README.md +0 -40
  398. package/kernel/packages/markdown/explorer.css +0 -1
  399. package/kernel/packages/markdown/package.json +0 -30
  400. package/kernel/packages/markdown/src/documents.ts +0 -1
  401. package/kernel/packages/markdown/src/explorer.ts +0 -1
  402. package/kernel/packages/markdown/src/index.ts +0 -2
  403. package/kernel/packages/markdown/src/metadata.ts +0 -63
  404. package/kernel/packages/markdown/src/node.ts +0 -1
  405. package/kernel/packages/markdown/styles.css +0 -1
  406. package/kernel/packages/notes/SKILL.md +0 -19
  407. package/kernel/packages/notes/eslint.config.js +0 -10
  408. package/kernel/packages/notes/package.json +0 -72
  409. package/kernel/packages/notes/src/client.tsx +0 -12
  410. package/kernel/packages/notes/src/data/ai-input.ts +0 -58
  411. package/kernel/packages/notes/src/data/api.ts +0 -40
  412. package/kernel/packages/notes/src/data/parse.ts +0 -15
  413. package/kernel/packages/notes/src/data/routing.ts +0 -33
  414. package/kernel/packages/notes/src/data/use-folder-notes.ts +0 -49
  415. package/kernel/packages/notes/src/index.ts +0 -2
  416. package/kernel/packages/notes/src/manifest.ts +0 -6
  417. package/kernel/packages/notes/src/pages/notes-page.tsx +0 -112
  418. package/kernel/packages/notes/src/pages/single-note-page.tsx +0 -57
  419. package/kernel/packages/notes/src/server.ts +0 -88
  420. package/kernel/packages/notes/src/ui/ai-composer-controls.tsx +0 -70
  421. package/kernel/packages/notes/src/ui/folder-notes-list.tsx +0 -76
  422. package/kernel/packages/notes/tsconfig.json +0 -16
  423. package/kernel/packages/plugins/SKILL.md +0 -39
  424. package/kernel/packages/plugins/eslint.config.js +0 -10
  425. package/kernel/packages/plugins/package.json +0 -104
  426. package/kernel/packages/plugins/src/client.ts +0 -73
  427. package/kernel/packages/plugins/src/endpoint.ts +0 -273
  428. package/kernel/packages/plugins/src/index.ts +0 -52
  429. package/kernel/packages/plugins/src/page.ts +0 -17
  430. package/kernel/packages/plugins/src/server.ts +0 -78
  431. package/kernel/packages/plugins/src/subpath.ts +0 -34
  432. package/kernel/packages/plugins/src/types.ts +0 -86
  433. package/kernel/packages/plugins/src/validation.ts +0 -56
  434. package/kernel/packages/plugins/test/contract.test.mjs +0 -133
  435. package/kernel/packages/plugins/tsconfig.json +0 -21
  436. package/kernel/packages/plugins/tsup.config.ts +0 -25
  437. package/kernel/packages/schemas/ICON-POLICY.md +0 -43
  438. package/kernel/packages/schemas/SKILL.md +0 -185
  439. package/kernel/packages/schemas/eslint.config.js +0 -10
  440. package/kernel/packages/schemas/package.json +0 -81
  441. package/kernel/packages/schemas/src/client.tsx +0 -137
  442. package/kernel/packages/schemas/src/data/config-file.ts +0 -37
  443. package/kernel/packages/schemas/src/data/contract.ts +0 -174
  444. package/kernel/packages/schemas/src/data/favicon.ts +0 -218
  445. package/kernel/packages/schemas/src/data/fields.ts +0 -96
  446. package/kernel/packages/schemas/src/data/icon-image.ts +0 -53
  447. package/kernel/packages/schemas/src/data/icon.ts +0 -97
  448. package/kernel/packages/schemas/src/data/load.ts +0 -161
  449. package/kernel/packages/schemas/src/data/params.ts +0 -103
  450. package/kernel/packages/schemas/src/data/query.ts +0 -33
  451. package/kernel/packages/schemas/src/data/sort.ts +0 -50
  452. package/kernel/packages/schemas/src/data/workspace.ts +0 -101
  453. package/kernel/packages/schemas/src/index.ts +0 -22
  454. package/kernel/packages/schemas/src/manifest.ts +0 -4
  455. package/kernel/packages/schemas/src/node.ts +0 -384
  456. package/kernel/packages/schemas/src/pages/collection.tsx +0 -252
  457. package/kernel/packages/schemas/src/server.ts +0 -208
  458. package/kernel/packages/schemas/src/ui/schema-entity-list.tsx +0 -124
  459. package/kernel/packages/schemas/src/ui/schema-filters.tsx +0 -186
  460. package/kernel/packages/schemas/src/ui/schema-search.tsx +0 -35
  461. package/kernel/packages/schemas/src/ui/use-query-param-filter-setting.tsx +0 -15
  462. package/kernel/packages/schemas/test/contract.test.mjs +0 -26
  463. package/kernel/packages/schemas/test/fields.test.mjs +0 -187
  464. package/kernel/packages/schemas/test/load.test.mjs +0 -12
  465. package/kernel/packages/schemas/test/node.test.mjs +0 -412
  466. package/kernel/packages/schemas/test/query.test.mjs +0 -134
  467. package/kernel/packages/schemas/test/workspace.test.mjs +0 -86
  468. package/kernel/packages/schemas/tsconfig.json +0 -17
  469. package/kernel/packages/session-finding/package.json +0 -33
  470. package/kernel/packages/session-finding/src/index.ts +0 -120
  471. package/kernel/packages/session-finding/test/list-sessions.test.mjs +0 -139
  472. package/kernel/packages/session-finding/tsconfig.json +0 -12
  473. package/kernel/packages/ui/LICENSE +0 -21
  474. package/kernel/packages/ui/components.json +0 -20
  475. package/kernel/packages/ui/eslint.config.js +0 -8
  476. package/kernel/packages/ui/package.json +0 -106
  477. package/kernel/packages/ui/src/chat/file-link.ts +0 -178
  478. package/kernel/packages/ui/src/chat/index.ts +0 -18
  479. package/kernel/packages/ui/src/chat/transcript.tsx +0 -348
  480. package/kernel/packages/ui/src/chat/turns.ts +0 -76
  481. package/kernel/packages/ui/src/chat/types.ts +0 -23
  482. package/kernel/packages/ui/src/chat/use-overflowing.ts +0 -56
  483. package/kernel/packages/ui/src/components/accordion.tsx +0 -74
  484. package/kernel/packages/ui/src/components/alert-dialog.tsx +0 -164
  485. package/kernel/packages/ui/src/components/alert.tsx +0 -68
  486. package/kernel/packages/ui/src/components/app-breadcrumbs.tsx +0 -170
  487. package/kernel/packages/ui/src/components/app-header.tsx +0 -125
  488. package/kernel/packages/ui/src/components/app-options.tsx +0 -87
  489. package/kernel/packages/ui/src/components/app-view-header.tsx +0 -34
  490. package/kernel/packages/ui/src/components/aspect-ratio.tsx +0 -11
  491. package/kernel/packages/ui/src/components/avatar.tsx +0 -53
  492. package/kernel/packages/ui/src/components/badge.tsx +0 -47
  493. package/kernel/packages/ui/src/components/base-dialog.tsx +0 -3
  494. package/kernel/packages/ui/src/components/base-tabs.tsx +0 -63
  495. package/kernel/packages/ui/src/components/breadcrumb.tsx +0 -110
  496. package/kernel/packages/ui/src/components/button-group.tsx +0 -86
  497. package/kernel/packages/ui/src/components/button.tsx +0 -65
  498. package/kernel/packages/ui/src/components/calendar.tsx +0 -240
  499. package/kernel/packages/ui/src/components/card.tsx +0 -95
  500. package/kernel/packages/ui/src/components/carousel.tsx +0 -240
  501. package/kernel/packages/ui/src/components/chart.tsx +0 -375
  502. package/kernel/packages/ui/src/components/checkbox.tsx +0 -39
  503. package/kernel/packages/ui/src/components/collapsible.tsx +0 -33
  504. package/kernel/packages/ui/src/components/collection-icon.tsx +0 -28
  505. package/kernel/packages/ui/src/components/command.tsx +0 -205
  506. package/kernel/packages/ui/src/components/content-issues.tsx +0 -63
  507. package/kernel/packages/ui/src/components/context-menu.tsx +0 -298
  508. package/kernel/packages/ui/src/components/copy-context.tsx +0 -134
  509. package/kernel/packages/ui/src/components/dialog.tsx +0 -157
  510. package/kernel/packages/ui/src/components/drawer.tsx +0 -162
  511. package/kernel/packages/ui/src/components/dropdown-menu.tsx +0 -303
  512. package/kernel/packages/ui/src/components/empty.tsx +0 -108
  513. package/kernel/packages/ui/src/components/field.tsx +0 -260
  514. package/kernel/packages/ui/src/components/file-preview.tsx +0 -152
  515. package/kernel/packages/ui/src/components/file-renderer.tsx +0 -466
  516. package/kernel/packages/ui/src/components/filter-chip-panel.tsx +0 -157
  517. package/kernel/packages/ui/src/components/filter-select.tsx +0 -127
  518. package/kernel/packages/ui/src/components/folder-activity.tsx +0 -646
  519. package/kernel/packages/ui/src/components/folder-file-list.tsx +0 -58
  520. package/kernel/packages/ui/src/components/folder-filter-bar.tsx +0 -191
  521. package/kernel/packages/ui/src/components/folder-image.tsx +0 -18
  522. package/kernel/packages/ui/src/components/folder-landing.tsx +0 -70
  523. package/kernel/packages/ui/src/components/folder-list.tsx +0 -140
  524. package/kernel/packages/ui/src/components/folder-metadata.tsx +0 -107
  525. package/kernel/packages/ui/src/components/folder-mobile-bar.tsx +0 -60
  526. package/kernel/packages/ui/src/components/folder-project-list.tsx +0 -133
  527. package/kernel/packages/ui/src/components/folder-session-list.tsx +0 -113
  528. package/kernel/packages/ui/src/components/folder-session-page.tsx +0 -126
  529. package/kernel/packages/ui/src/components/folder-sidebar.tsx +0 -52
  530. package/kernel/packages/ui/src/components/folder-skill-list.tsx +0 -62
  531. package/kernel/packages/ui/src/components/folder-tabs.tsx +0 -156
  532. package/kernel/packages/ui/src/components/form.tsx +0 -167
  533. package/kernel/packages/ui/src/components/hover-card.tsx +0 -52
  534. package/kernel/packages/ui/src/components/icons.tsx +0 -34
  535. package/kernel/packages/ui/src/components/input-group.tsx +0 -184
  536. package/kernel/packages/ui/src/components/input-otp.tsx +0 -90
  537. package/kernel/packages/ui/src/components/input.tsx +0 -29
  538. package/kernel/packages/ui/src/components/item.tsx +0 -195
  539. package/kernel/packages/ui/src/components/kbd.tsx +0 -32
  540. package/kernel/packages/ui/src/components/label.tsx +0 -27
  541. package/kernel/packages/ui/src/components/link.tsx +0 -45
  542. package/kernel/packages/ui/src/components/live-tool-call.tsx +0 -193
  543. package/kernel/packages/ui/src/components/markdown-copy-block.tsx +0 -78
  544. package/kernel/packages/ui/src/components/menubar.tsx +0 -323
  545. package/kernel/packages/ui/src/components/navigation-menu.tsx +0 -210
  546. package/kernel/packages/ui/src/components/note-card.tsx +0 -149
  547. package/kernel/packages/ui/src/components/pagination.tsx +0 -128
  548. package/kernel/packages/ui/src/components/popover.tsx +0 -56
  549. package/kernel/packages/ui/src/components/progress.tsx +0 -31
  550. package/kernel/packages/ui/src/components/radio-group.tsx +0 -54
  551. package/kernel/packages/ui/src/components/scroll-area.tsx +0 -61
  552. package/kernel/packages/ui/src/components/select.tsx +0 -219
  553. package/kernel/packages/ui/src/components/separator.tsx +0 -30
  554. package/kernel/packages/ui/src/components/session-icon.tsx +0 -124
  555. package/kernel/packages/ui/src/components/sheet.tsx +0 -157
  556. package/kernel/packages/ui/src/components/sidebar.tsx +0 -789
  557. package/kernel/packages/ui/src/components/skeleton.tsx +0 -13
  558. package/kernel/packages/ui/src/components/slider.tsx +0 -73
  559. package/kernel/packages/ui/src/components/sonner.tsx +0 -41
  560. package/kernel/packages/ui/src/components/spinner.tsx +0 -16
  561. package/kernel/packages/ui/src/components/switch.tsx +0 -40
  562. package/kernel/packages/ui/src/components/table.tsx +0 -120
  563. package/kernel/packages/ui/src/components/tabs.tsx +0 -78
  564. package/kernel/packages/ui/src/components/textarea.tsx +0 -25
  565. package/kernel/packages/ui/src/components/toggle-group.tsx +0 -87
  566. package/kernel/packages/ui/src/components/toggle.tsx +0 -48
  567. package/kernel/packages/ui/src/components/tooltip.tsx +0 -71
  568. package/kernel/packages/ui/src/components/viewer-options.tsx +0 -166
  569. package/kernel/packages/ui/src/hooks/use-folder-filter.ts +0 -103
  570. package/kernel/packages/ui/src/hooks/use-mobile.ts +0 -19
  571. package/kernel/packages/ui/src/index.ts +0 -13
  572. package/kernel/packages/ui/src/lib/document-extensions.ts +0 -83
  573. package/kernel/packages/ui/src/lib/folder-activity.ts +0 -143
  574. package/kernel/packages/ui/src/lib/folder-filter.ts +0 -284
  575. package/kernel/packages/ui/src/lib/live-tool-call.tsx +0 -109
  576. package/kernel/packages/ui/src/lib/media-urls.ts +0 -176
  577. package/kernel/packages/ui/src/lib/obsidian-links.ts +0 -120
  578. package/kernel/packages/ui/src/lib/source-components.tsx +0 -71
  579. package/kernel/packages/ui/src/lib/utils.tsx +0 -7
  580. package/kernel/packages/ui/src/pages/entity-detail-page.tsx +0 -82
  581. package/kernel/packages/ui/src/pages/entity-list-page.tsx +0 -50
  582. package/kernel/packages/ui/src/pages/entity-page.tsx +0 -69
  583. package/kernel/packages/ui/src/styles/folder-activity.css +0 -2151
  584. package/kernel/packages/ui/test/copy-context.test.mjs +0 -48
  585. package/kernel/packages/ui/test/folder-filter.test.mjs +0 -484
  586. package/kernel/packages/ui/tsconfig.json +0 -15
  587. package/node_modules/@agentclientprotocol/sdk/LICENSE +0 -191
  588. package/node_modules/@agentclientprotocol/sdk/README.md +0 -70
  589. package/node_modules/@agentclientprotocol/sdk/dist/acp.d.ts +0 -1835
  590. package/node_modules/@agentclientprotocol/sdk/dist/acp.js +0 -1885
  591. package/node_modules/@agentclientprotocol/sdk/dist/acp.js.map +0 -1
  592. package/node_modules/@agentclientprotocol/sdk/dist/acp.test.d.ts +0 -1
  593. package/node_modules/@agentclientprotocol/sdk/dist/acp.test.js +0 -5036
  594. package/node_modules/@agentclientprotocol/sdk/dist/acp.test.js.map +0 -1
  595. package/node_modules/@agentclientprotocol/sdk/dist/connection.d.ts +0 -82
  596. package/node_modules/@agentclientprotocol/sdk/dist/connection.js +0 -428
  597. package/node_modules/@agentclientprotocol/sdk/dist/connection.js.map +0 -1
  598. package/node_modules/@agentclientprotocol/sdk/dist/connection.test.d.ts +0 -1
  599. package/node_modules/@agentclientprotocol/sdk/dist/connection.test.js +0 -470
  600. package/node_modules/@agentclientprotocol/sdk/dist/connection.test.js.map +0 -1
  601. package/node_modules/@agentclientprotocol/sdk/dist/cookie-store.d.ts +0 -26
  602. package/node_modules/@agentclientprotocol/sdk/dist/cookie-store.js +0 -96
  603. package/node_modules/@agentclientprotocol/sdk/dist/cookie-store.js.map +0 -1
  604. package/node_modules/@agentclientprotocol/sdk/dist/cookie-store.test.d.ts +0 -1
  605. package/node_modules/@agentclientprotocol/sdk/dist/cookie-store.test.js +0 -77
  606. package/node_modules/@agentclientprotocol/sdk/dist/cookie-store.test.js.map +0 -1
  607. package/node_modules/@agentclientprotocol/sdk/dist/examples/agent.d.ts +0 -2
  608. package/node_modules/@agentclientprotocol/sdk/dist/examples/agent.js +0 -232
  609. package/node_modules/@agentclientprotocol/sdk/dist/examples/agent.js.map +0 -1
  610. package/node_modules/@agentclientprotocol/sdk/dist/examples/client.d.ts +0 -2
  611. package/node_modules/@agentclientprotocol/sdk/dist/examples/client.js +0 -132
  612. package/node_modules/@agentclientprotocol/sdk/dist/examples/client.js.map +0 -1
  613. package/node_modules/@agentclientprotocol/sdk/dist/examples/dual-version-agent.d.ts +0 -9
  614. package/node_modules/@agentclientprotocol/sdk/dist/examples/dual-version-agent.js +0 -221
  615. package/node_modules/@agentclientprotocol/sdk/dist/examples/dual-version-agent.js.map +0 -1
  616. package/node_modules/@agentclientprotocol/sdk/dist/examples/http-client.d.ts +0 -2
  617. package/node_modules/@agentclientprotocol/sdk/dist/examples/http-client.js +0 -86
  618. package/node_modules/@agentclientprotocol/sdk/dist/examples/http-client.js.map +0 -1
  619. package/node_modules/@agentclientprotocol/sdk/dist/examples/http-server.d.ts +0 -2
  620. package/node_modules/@agentclientprotocol/sdk/dist/examples/http-server.js +0 -112
  621. package/node_modules/@agentclientprotocol/sdk/dist/examples/http-server.js.map +0 -1
  622. package/node_modules/@agentclientprotocol/sdk/dist/examples/ws-client.d.ts +0 -2
  623. package/node_modules/@agentclientprotocol/sdk/dist/examples/ws-client.js +0 -88
  624. package/node_modules/@agentclientprotocol/sdk/dist/examples/ws-client.js.map +0 -1
  625. package/node_modules/@agentclientprotocol/sdk/dist/http-stream.d.ts +0 -33
  626. package/node_modules/@agentclientprotocol/sdk/dist/http-stream.js +0 -435
  627. package/node_modules/@agentclientprotocol/sdk/dist/http-stream.js.map +0 -1
  628. package/node_modules/@agentclientprotocol/sdk/dist/http-stream.test.d.ts +0 -1
  629. package/node_modules/@agentclientprotocol/sdk/dist/http-stream.test.js +0 -1380
  630. package/node_modules/@agentclientprotocol/sdk/dist/http-stream.test.js.map +0 -1
  631. package/node_modules/@agentclientprotocol/sdk/dist/jsonrpc.d.ts +0 -603
  632. package/node_modules/@agentclientprotocol/sdk/dist/jsonrpc.js +0 -1064
  633. package/node_modules/@agentclientprotocol/sdk/dist/jsonrpc.js.map +0 -1
  634. package/node_modules/@agentclientprotocol/sdk/dist/jsonrpc.test.d.ts +0 -1
  635. package/node_modules/@agentclientprotocol/sdk/dist/jsonrpc.test.js +0 -851
  636. package/node_modules/@agentclientprotocol/sdk/dist/jsonrpc.test.js.map +0 -1
  637. package/node_modules/@agentclientprotocol/sdk/dist/line-buffer.d.ts +0 -22
  638. package/node_modules/@agentclientprotocol/sdk/dist/line-buffer.js +0 -64
  639. package/node_modules/@agentclientprotocol/sdk/dist/line-buffer.js.map +0 -1
  640. package/node_modules/@agentclientprotocol/sdk/dist/line-buffer.test.d.ts +0 -1
  641. package/node_modules/@agentclientprotocol/sdk/dist/line-buffer.test.js +0 -45
  642. package/node_modules/@agentclientprotocol/sdk/dist/line-buffer.test.js.map +0 -1
  643. package/node_modules/@agentclientprotocol/sdk/dist/node-adapter.d.ts +0 -17
  644. package/node_modules/@agentclientprotocol/sdk/dist/node-adapter.js +0 -426
  645. package/node_modules/@agentclientprotocol/sdk/dist/node-adapter.js.map +0 -1
  646. package/node_modules/@agentclientprotocol/sdk/dist/node-adapter.test.d.ts +0 -1
  647. package/node_modules/@agentclientprotocol/sdk/dist/node-adapter.test.js +0 -499
  648. package/node_modules/@agentclientprotocol/sdk/dist/node-adapter.test.js.map +0 -1
  649. package/node_modules/@agentclientprotocol/sdk/dist/protocol-router.d.ts +0 -37
  650. package/node_modules/@agentclientprotocol/sdk/dist/protocol-router.js +0 -474
  651. package/node_modules/@agentclientprotocol/sdk/dist/protocol-router.js.map +0 -1
  652. package/node_modules/@agentclientprotocol/sdk/dist/protocol-router.test.d.ts +0 -1
  653. package/node_modules/@agentclientprotocol/sdk/dist/protocol-router.test.js +0 -535
  654. package/node_modules/@agentclientprotocol/sdk/dist/protocol-router.test.js.map +0 -1
  655. package/node_modules/@agentclientprotocol/sdk/dist/protocol.d.ts +0 -11
  656. package/node_modules/@agentclientprotocol/sdk/dist/protocol.js +0 -57
  657. package/node_modules/@agentclientprotocol/sdk/dist/protocol.js.map +0 -1
  658. package/node_modules/@agentclientprotocol/sdk/dist/protocol.test.d.ts +0 -1
  659. package/node_modules/@agentclientprotocol/sdk/dist/protocol.test.js +0 -73
  660. package/node_modules/@agentclientprotocol/sdk/dist/protocol.test.js.map +0 -1
  661. package/node_modules/@agentclientprotocol/sdk/dist/schema/guards.gen.d.ts +0 -199
  662. package/node_modules/@agentclientprotocol/sdk/dist/schema/guards.gen.js +0 -211
  663. package/node_modules/@agentclientprotocol/sdk/dist/schema/guards.gen.js.map +0 -1
  664. package/node_modules/@agentclientprotocol/sdk/dist/schema/index.d.ts +0 -51
  665. package/node_modules/@agentclientprotocol/sdk/dist/schema/index.js +0 -52
  666. package/node_modules/@agentclientprotocol/sdk/dist/schema/index.js.map +0 -1
  667. package/node_modules/@agentclientprotocol/sdk/dist/schema/types.gen.d.ts +0 -6118
  668. package/node_modules/@agentclientprotocol/sdk/dist/schema/types.gen.js +0 -3
  669. package/node_modules/@agentclientprotocol/sdk/dist/schema/types.gen.js.map +0 -1
  670. package/node_modules/@agentclientprotocol/sdk/dist/schema/zod.gen.d.ts +0 -14160
  671. package/node_modules/@agentclientprotocol/sdk/dist/schema/zod.gen.js +0 -3066
  672. package/node_modules/@agentclientprotocol/sdk/dist/schema/zod.gen.js.map +0 -1
  673. package/node_modules/@agentclientprotocol/sdk/dist/schema-deserialize.d.ts +0 -30
  674. package/node_modules/@agentclientprotocol/sdk/dist/schema-deserialize.js +0 -98
  675. package/node_modules/@agentclientprotocol/sdk/dist/schema-deserialize.js.map +0 -1
  676. package/node_modules/@agentclientprotocol/sdk/dist/schema-deserialize.test.d.ts +0 -1
  677. package/node_modules/@agentclientprotocol/sdk/dist/schema-deserialize.test.js +0 -93
  678. package/node_modules/@agentclientprotocol/sdk/dist/schema-deserialize.test.js.map +0 -1
  679. package/node_modules/@agentclientprotocol/sdk/dist/server-permission.test.d.ts +0 -1
  680. package/node_modules/@agentclientprotocol/sdk/dist/server-permission.test.js +0 -261
  681. package/node_modules/@agentclientprotocol/sdk/dist/server-permission.test.js.map +0 -1
  682. package/node_modules/@agentclientprotocol/sdk/dist/server-session-sse.test.d.ts +0 -1
  683. package/node_modules/@agentclientprotocol/sdk/dist/server-session-sse.test.js +0 -490
  684. package/node_modules/@agentclientprotocol/sdk/dist/server-session-sse.test.js.map +0 -1
  685. package/node_modules/@agentclientprotocol/sdk/dist/server-sse.d.ts +0 -2
  686. package/node_modules/@agentclientprotocol/sdk/dist/server-sse.js +0 -104
  687. package/node_modules/@agentclientprotocol/sdk/dist/server-sse.js.map +0 -1
  688. package/node_modules/@agentclientprotocol/sdk/dist/server-sse.test.d.ts +0 -1
  689. package/node_modules/@agentclientprotocol/sdk/dist/server-sse.test.js +0 -52
  690. package/node_modules/@agentclientprotocol/sdk/dist/server-sse.test.js.map +0 -1
  691. package/node_modules/@agentclientprotocol/sdk/dist/server-websocket-upgrade.test.d.ts +0 -1
  692. package/node_modules/@agentclientprotocol/sdk/dist/server-websocket-upgrade.test.js +0 -946
  693. package/node_modules/@agentclientprotocol/sdk/dist/server-websocket-upgrade.test.js.map +0 -1
  694. package/node_modules/@agentclientprotocol/sdk/dist/server.d.ts +0 -81
  695. package/node_modules/@agentclientprotocol/sdk/dist/server.js +0 -380
  696. package/node_modules/@agentclientprotocol/sdk/dist/server.js.map +0 -1
  697. package/node_modules/@agentclientprotocol/sdk/dist/server.test.d.ts +0 -1
  698. package/node_modules/@agentclientprotocol/sdk/dist/server.test.js +0 -1082
  699. package/node_modules/@agentclientprotocol/sdk/dist/server.test.js.map +0 -1
  700. package/node_modules/@agentclientprotocol/sdk/dist/sse.d.ts +0 -4
  701. package/node_modules/@agentclientprotocol/sdk/dist/sse.js +0 -91
  702. package/node_modules/@agentclientprotocol/sdk/dist/sse.js.map +0 -1
  703. package/node_modules/@agentclientprotocol/sdk/dist/sse.test.d.ts +0 -1
  704. package/node_modules/@agentclientprotocol/sdk/dist/sse.test.js +0 -126
  705. package/node_modules/@agentclientprotocol/sdk/dist/sse.test.js.map +0 -1
  706. package/node_modules/@agentclientprotocol/sdk/dist/stream.d.ts +0 -35
  707. package/node_modules/@agentclientprotocol/sdk/dist/stream.js +0 -106
  708. package/node_modules/@agentclientprotocol/sdk/dist/stream.js.map +0 -1
  709. package/node_modules/@agentclientprotocol/sdk/dist/stream.test.d.ts +0 -1
  710. package/node_modules/@agentclientprotocol/sdk/dist/stream.test.js +0 -206
  711. package/node_modules/@agentclientprotocol/sdk/dist/stream.test.js.map +0 -1
  712. package/node_modules/@agentclientprotocol/sdk/dist/test-support/streams.d.ts +0 -8
  713. package/node_modules/@agentclientprotocol/sdk/dist/test-support/streams.js +0 -51
  714. package/node_modules/@agentclientprotocol/sdk/dist/test-support/streams.js.map +0 -1
  715. package/node_modules/@agentclientprotocol/sdk/dist/test-support/test-agent.d.ts +0 -24
  716. package/node_modules/@agentclientprotocol/sdk/dist/test-support/test-agent.js +0 -163
  717. package/node_modules/@agentclientprotocol/sdk/dist/test-support/test-agent.js.map +0 -1
  718. package/node_modules/@agentclientprotocol/sdk/dist/test-support/test-http-server.d.ts +0 -9
  719. package/node_modules/@agentclientprotocol/sdk/dist/test-support/test-http-server.js +0 -74
  720. package/node_modules/@agentclientprotocol/sdk/dist/test-support/test-http-server.js.map +0 -1
  721. package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.d.ts +0 -806
  722. package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.js +0 -1183
  723. package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.js.map +0 -1
  724. package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.test.d.ts +0 -1
  725. package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.test.js +0 -512
  726. package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.test.js.map +0 -1
  727. package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/guards.gen.d.ts +0 -954
  728. package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/guards.gen.js +0 -1035
  729. package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/guards.gen.js.map +0 -1
  730. package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/index.d.ts +0 -42
  731. package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/index.js +0 -43
  732. package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/index.js.map +0 -1
  733. package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/types.gen.d.ts +0 -6146
  734. package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/types.gen.js +0 -3
  735. package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/types.gen.js.map +0 -1
  736. package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/zod.gen.d.ts +0 -30552
  737. package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/zod.gen.js +0 -3204
  738. package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/zod.gen.js.map +0 -1
  739. package/node_modules/@agentclientprotocol/sdk/dist/ws-server.d.ts +0 -14
  740. package/node_modules/@agentclientprotocol/sdk/dist/ws-server.js +0 -358
  741. package/node_modules/@agentclientprotocol/sdk/dist/ws-server.js.map +0 -1
  742. package/node_modules/@agentclientprotocol/sdk/dist/ws-stream.d.ts +0 -54
  743. package/node_modules/@agentclientprotocol/sdk/dist/ws-stream.js +0 -246
  744. package/node_modules/@agentclientprotocol/sdk/dist/ws-stream.js.map +0 -1
  745. package/node_modules/@agentclientprotocol/sdk/dist/ws-stream.test.d.ts +0 -1
  746. package/node_modules/@agentclientprotocol/sdk/dist/ws-stream.test.js +0 -833
  747. package/node_modules/@agentclientprotocol/sdk/dist/ws-stream.test.js.map +0 -1
  748. package/node_modules/@agentclientprotocol/sdk/dist/ws-utils.d.ts +0 -13
  749. package/node_modules/@agentclientprotocol/sdk/dist/ws-utils.js +0 -78
  750. package/node_modules/@agentclientprotocol/sdk/dist/ws-utils.js.map +0 -1
  751. package/node_modules/@agentclientprotocol/sdk/dist/ws-utils.test.d.ts +0 -1
  752. package/node_modules/@agentclientprotocol/sdk/dist/ws-utils.test.js +0 -42
  753. package/node_modules/@agentclientprotocol/sdk/dist/ws-utils.test.js.map +0 -1
  754. package/node_modules/@agentclientprotocol/sdk/package.json +0 -105
  755. package/node_modules/@agentclientprotocol/sdk/schema/schema.json +0 -8819
  756. package/node_modules/@agentclientprotocol/sdk/schema/v2/schema.unstable.json +0 -10098
  757. package/node_modules/@libsql/client/README.md +0 -128
  758. package/node_modules/@libsql/client/lib-cjs/hrana.js +0 -372
  759. package/node_modules/@libsql/client/lib-cjs/http.js +0 -268
  760. package/node_modules/@libsql/client/lib-cjs/node.js +0 -41
  761. package/node_modules/@libsql/client/lib-cjs/package.json +0 -3
  762. package/node_modules/@libsql/client/lib-cjs/sql_cache.js +0 -91
  763. package/node_modules/@libsql/client/lib-cjs/sqlite3.js +0 -501
  764. package/node_modules/@libsql/client/lib-cjs/web.js +0 -41
  765. package/node_modules/@libsql/client/lib-cjs/ws.js +0 -395
  766. package/node_modules/@libsql/client/lib-esm/hrana.d.ts +0 -23
  767. package/node_modules/@libsql/client/lib-esm/hrana.js +0 -341
  768. package/node_modules/@libsql/client/lib-esm/http.d.ts +0 -39
  769. package/node_modules/@libsql/client/lib-esm/http.js +0 -232
  770. package/node_modules/@libsql/client/lib-esm/node.d.ts +0 -7
  771. package/node_modules/@libsql/client/lib-esm/node.js +0 -23
  772. package/node_modules/@libsql/client/lib-esm/sql_cache.d.ts +0 -7
  773. package/node_modules/@libsql/client/lib-esm/sql_cache.js +0 -87
  774. package/node_modules/@libsql/client/lib-esm/sqlite3.d.ts +0 -35
  775. package/node_modules/@libsql/client/lib-esm/sqlite3.js +0 -477
  776. package/node_modules/@libsql/client/lib-esm/web.d.ts +0 -6
  777. package/node_modules/@libsql/client/lib-esm/web.js +0 -22
  778. package/node_modules/@libsql/client/lib-esm/ws.d.ts +0 -50
  779. package/node_modules/@libsql/client/lib-esm/ws.js +0 -359
  780. package/node_modules/@libsql/client/package.json +0 -123
  781. package/node_modules/@raggle-ai/local/LICENSE +0 -21
  782. package/node_modules/@raggle-ai/local/README.md +0 -52
  783. package/node_modules/@raggle-ai/local/THIRD_PARTY_NOTICES.md +0 -95
  784. package/node_modules/@raggle-ai/local/dist/acp/client.d.ts +0 -31
  785. package/node_modules/@raggle-ai/local/dist/acp/client.js +0 -92
  786. package/node_modules/@raggle-ai/local/dist/acp/distributions.d.ts +0 -18
  787. package/node_modules/@raggle-ai/local/dist/acp/distributions.js +0 -41
  788. package/node_modules/@raggle-ai/local/dist/acp/index.d.ts +0 -4
  789. package/node_modules/@raggle-ai/local/dist/acp/index.js +0 -14
  790. package/node_modules/@raggle-ai/local/dist/acp/registry.d.ts +0 -111
  791. package/node_modules/@raggle-ai/local/dist/acp/registry.js +0 -137
  792. package/node_modules/@raggle-ai/local/dist/acp/sdk-types.d.ts +0 -17
  793. package/node_modules/@raggle-ai/local/dist/acp/sdk-types.js +0 -2
  794. package/node_modules/@raggle-ai/local/dist/adapters/agent-instructions.d.ts +0 -100
  795. package/node_modules/@raggle-ai/local/dist/adapters/agent-instructions.js +0 -286
  796. package/node_modules/@raggle-ai/local/dist/adapters/application-open.d.ts +0 -6
  797. package/node_modules/@raggle-ai/local/dist/adapters/application-open.js +0 -37
  798. package/node_modules/@raggle-ai/local/dist/adapters/base-repository.d.ts +0 -75
  799. package/node_modules/@raggle-ai/local/dist/adapters/base-repository.js +0 -469
  800. package/node_modules/@raggle-ai/local/dist/adapters/git-changes.d.ts +0 -2
  801. package/node_modules/@raggle-ai/local/dist/adapters/git-changes.js +0 -78
  802. package/node_modules/@raggle-ai/local/dist/adapters/git-clone.d.ts +0 -12
  803. package/node_modules/@raggle-ai/local/dist/adapters/git-clone.js +0 -162
  804. package/node_modules/@raggle-ai/local/dist/adapters/git-repository.d.ts +0 -17
  805. package/node_modules/@raggle-ai/local/dist/adapters/git-repository.js +0 -86
  806. package/node_modules/@raggle-ai/local/dist/adapters/git-sync.d.ts +0 -5
  807. package/node_modules/@raggle-ai/local/dist/adapters/git-sync.js +0 -45
  808. package/node_modules/@raggle-ai/local/dist/adapters/github.d.ts +0 -72
  809. package/node_modules/@raggle-ai/local/dist/adapters/github.js +0 -301
  810. package/node_modules/@raggle-ai/local/dist/adapters/import.d.ts +0 -86
  811. package/node_modules/@raggle-ai/local/dist/adapters/import.js +0 -239
  812. package/node_modules/@raggle-ai/local/dist/adapters/init.d.ts +0 -1
  813. package/node_modules/@raggle-ai/local/dist/adapters/init.js +0 -37
  814. package/node_modules/@raggle-ai/local/dist/adapters/libsql-client.d.ts +0 -11
  815. package/node_modules/@raggle-ai/local/dist/adapters/libsql-client.js +0 -18
  816. package/node_modules/@raggle-ai/local/dist/adapters/linked-workspace.d.ts +0 -32
  817. package/node_modules/@raggle-ai/local/dist/adapters/linked-workspace.js +0 -248
  818. package/node_modules/@raggle-ai/local/dist/adapters/local-folder.d.ts +0 -4
  819. package/node_modules/@raggle-ai/local/dist/adapters/local-folder.js +0 -17
  820. package/node_modules/@raggle-ai/local/dist/adapters/local-metadata-assets.d.ts +0 -18
  821. package/node_modules/@raggle-ai/local/dist/adapters/local-metadata-assets.js +0 -35
  822. package/node_modules/@raggle-ai/local/dist/adapters/local-metadata.d.ts +0 -2
  823. package/node_modules/@raggle-ai/local/dist/adapters/local-metadata.js +0 -64
  824. package/node_modules/@raggle-ai/local/dist/adapters/macos-apps.d.ts +0 -17
  825. package/node_modules/@raggle-ai/local/dist/adapters/macos-apps.js +0 -124
  826. package/node_modules/@raggle-ai/local/dist/adapters/markdown-files.d.ts +0 -3
  827. package/node_modules/@raggle-ai/local/dist/adapters/markdown-files.js +0 -161
  828. package/node_modules/@raggle-ai/local/dist/adapters/opencode-local.d.ts +0 -12
  829. package/node_modules/@raggle-ai/local/dist/adapters/opencode-local.js +0 -124
  830. package/node_modules/@raggle-ai/local/dist/adapters/project-action-plugins.d.ts +0 -3
  831. package/node_modules/@raggle-ai/local/dist/adapters/project-action-plugins.js +0 -24
  832. package/node_modules/@raggle-ai/local/dist/adapters/project-display-name.d.ts +0 -29
  833. package/node_modules/@raggle-ai/local/dist/adapters/project-display-name.js +0 -74
  834. package/node_modules/@raggle-ai/local/dist/adapters/project-favorites.d.ts +0 -22
  835. package/node_modules/@raggle-ai/local/dist/adapters/project-favorites.js +0 -63
  836. package/node_modules/@raggle-ai/local/dist/adapters/project-feed-assets.d.ts +0 -22
  837. package/node_modules/@raggle-ai/local/dist/adapters/project-feed-assets.js +0 -52
  838. package/node_modules/@raggle-ai/local/dist/adapters/project-feed.d.ts +0 -43
  839. package/node_modules/@raggle-ai/local/dist/adapters/project-feed.js +0 -141
  840. package/node_modules/@raggle-ai/local/dist/adapters/project-icons.d.ts +0 -3
  841. package/node_modules/@raggle-ai/local/dist/adapters/project-icons.js +0 -14
  842. package/node_modules/@raggle-ai/local/dist/adapters/project-recents.d.ts +0 -11
  843. package/node_modules/@raggle-ai/local/dist/adapters/project-recents.js +0 -36
  844. package/node_modules/@raggle-ai/local/dist/adapters/project-source.d.ts +0 -46
  845. package/node_modules/@raggle-ai/local/dist/adapters/project-source.js +0 -107
  846. package/node_modules/@raggle-ai/local/dist/adapters/raggle-account-api.d.ts +0 -25
  847. package/node_modules/@raggle-ai/local/dist/adapters/raggle-account-api.js +0 -62
  848. package/node_modules/@raggle-ai/local/dist/adapters/relation-annotations-api.d.ts +0 -72
  849. package/node_modules/@raggle-ai/local/dist/adapters/relation-annotations-api.js +0 -207
  850. package/node_modules/@raggle-ai/local/dist/adapters/remote-repository-config.d.ts +0 -19
  851. package/node_modules/@raggle-ai/local/dist/adapters/remote-repository-config.js +0 -71
  852. package/node_modules/@raggle-ai/local/dist/adapters/session-resolvers.d.ts +0 -8
  853. package/node_modules/@raggle-ai/local/dist/adapters/session-resolvers.js +0 -225
  854. package/node_modules/@raggle-ai/local/dist/adapters/turso-project-source.d.ts +0 -22
  855. package/node_modules/@raggle-ai/local/dist/adapters/turso-project-source.js +0 -579
  856. package/node_modules/@raggle-ai/local/dist/adapters/turso-provider.d.ts +0 -17
  857. package/node_modules/@raggle-ai/local/dist/adapters/turso-provider.js +0 -103
  858. package/node_modules/@raggle-ai/local/dist/adapters/user-project-order.d.ts +0 -2
  859. package/node_modules/@raggle-ai/local/dist/adapters/user-project-order.js +0 -19
  860. package/node_modules/@raggle-ai/local/dist/adapters/user-settings.d.ts +0 -162
  861. package/node_modules/@raggle-ai/local/dist/adapters/user-settings.js +0 -398
  862. package/node_modules/@raggle-ai/local/dist/adapters/workspace-discovery.d.ts +0 -7
  863. package/node_modules/@raggle-ai/local/dist/adapters/workspace-discovery.js +0 -59
  864. package/node_modules/@raggle-ai/local/dist/cache/clone-directory-repository-index.d.ts +0 -23
  865. package/node_modules/@raggle-ai/local/dist/cache/clone-directory-repository-index.js +0 -186
  866. package/node_modules/@raggle-ai/local/dist/cache/project-catalog.d.ts +0 -40
  867. package/node_modules/@raggle-ai/local/dist/cache/project-catalog.js +0 -174
  868. package/node_modules/@raggle-ai/local/dist/cache/project-icon-cache.d.ts +0 -11
  869. package/node_modules/@raggle-ai/local/dist/cache/project-icon-cache.js +0 -82
  870. package/node_modules/@raggle-ai/local/dist/cache/project-state-cache.d.ts +0 -12
  871. package/node_modules/@raggle-ai/local/dist/cache/project-state-cache.js +0 -47
  872. package/node_modules/@raggle-ai/local/dist/core/agent-instructions-settings.d.ts +0 -20
  873. package/node_modules/@raggle-ai/local/dist/core/agent-instructions-settings.js +0 -35
  874. package/node_modules/@raggle-ai/local/dist/core/ai-chat-clients.d.ts +0 -1
  875. package/node_modules/@raggle-ai/local/dist/core/ai-chat-clients.js +0 -17
  876. package/node_modules/@raggle-ai/local/dist/core/application-open-target.d.ts +0 -1
  877. package/node_modules/@raggle-ai/local/dist/core/application-open-target.js +0 -5
  878. package/node_modules/@raggle-ai/local/dist/core/base-repository.d.ts +0 -60
  879. package/node_modules/@raggle-ai/local/dist/core/base-repository.js +0 -2
  880. package/node_modules/@raggle-ai/local/dist/core/catalog-project.d.ts +0 -4
  881. package/node_modules/@raggle-ai/local/dist/core/catalog-project.js +0 -45
  882. package/node_modules/@raggle-ai/local/dist/core/connected-projects.d.ts +0 -52
  883. package/node_modules/@raggle-ai/local/dist/core/connected-projects.js +0 -440
  884. package/node_modules/@raggle-ai/local/dist/core/generated/cli-commands.d.ts +0 -28
  885. package/node_modules/@raggle-ai/local/dist/core/generated/cli-commands.js +0 -401
  886. package/node_modules/@raggle-ai/local/dist/core/git-change.d.ts +0 -9
  887. package/node_modules/@raggle-ai/local/dist/core/git-change.js +0 -2
  888. package/node_modules/@raggle-ai/local/dist/core/indexed-search.d.ts +0 -32
  889. package/node_modules/@raggle-ai/local/dist/core/indexed-search.js +0 -95
  890. package/node_modules/@raggle-ai/local/dist/core/link.d.ts +0 -176
  891. package/node_modules/@raggle-ai/local/dist/core/link.js +0 -740
  892. package/node_modules/@raggle-ai/local/dist/core/live-project-search.d.ts +0 -47
  893. package/node_modules/@raggle-ai/local/dist/core/live-project-search.js +0 -122
  894. package/node_modules/@raggle-ai/local/dist/core/llm-context.d.ts +0 -29
  895. package/node_modules/@raggle-ai/local/dist/core/llm-context.js +0 -352
  896. package/node_modules/@raggle-ai/local/dist/core/local-metadata.d.ts +0 -37
  897. package/node_modules/@raggle-ai/local/dist/core/local-metadata.js +0 -4
  898. package/node_modules/@raggle-ai/local/dist/core/local-repository-candidate.d.ts +0 -7
  899. package/node_modules/@raggle-ai/local/dist/core/local-repository-candidate.js +0 -43
  900. package/node_modules/@raggle-ai/local/dist/core/logging.d.ts +0 -6
  901. package/node_modules/@raggle-ai/local/dist/core/logging.js +0 -37
  902. package/node_modules/@raggle-ai/local/dist/core/markdown-file.d.ts +0 -20
  903. package/node_modules/@raggle-ai/local/dist/core/markdown-file.js +0 -2
  904. package/node_modules/@raggle-ai/local/dist/core/open-in.d.ts +0 -18
  905. package/node_modules/@raggle-ai/local/dist/core/open-in.js +0 -37
  906. package/node_modules/@raggle-ai/local/dist/core/personal-relations-sync.d.ts +0 -27
  907. package/node_modules/@raggle-ai/local/dist/core/personal-relations-sync.js +0 -231
  908. package/node_modules/@raggle-ai/local/dist/core/personal-relations.d.ts +0 -34
  909. package/node_modules/@raggle-ai/local/dist/core/personal-relations.js +0 -128
  910. package/node_modules/@raggle-ai/local/dist/core/project-action-config-source.d.ts +0 -2
  911. package/node_modules/@raggle-ai/local/dist/core/project-action-config-source.js +0 -161
  912. package/node_modules/@raggle-ai/local/dist/core/project-actions.d.ts +0 -11
  913. package/node_modules/@raggle-ai/local/dist/core/project-actions.js +0 -2
  914. package/node_modules/@raggle-ai/local/dist/core/project-add.d.ts +0 -20
  915. package/node_modules/@raggle-ai/local/dist/core/project-add.js +0 -119
  916. package/node_modules/@raggle-ai/local/dist/core/project-cache-record.d.ts +0 -43
  917. package/node_modules/@raggle-ai/local/dist/core/project-cache-record.js +0 -85
  918. package/node_modules/@raggle-ai/local/dist/core/project-emoji-preferences.d.ts +0 -2
  919. package/node_modules/@raggle-ai/local/dist/core/project-emoji-preferences.js +0 -10
  920. package/node_modules/@raggle-ai/local/dist/core/project-emoji.d.ts +0 -15
  921. package/node_modules/@raggle-ai/local/dist/core/project-emoji.js +0 -117
  922. package/node_modules/@raggle-ai/local/dist/core/project-instruction.d.ts +0 -3
  923. package/node_modules/@raggle-ai/local/dist/core/project-instruction.js +0 -16
  924. package/node_modules/@raggle-ai/local/dist/core/project-metadata-hydration.d.ts +0 -11
  925. package/node_modules/@raggle-ai/local/dist/core/project-metadata-hydration.js +0 -17
  926. package/node_modules/@raggle-ai/local/dist/core/project-metadata.d.ts +0 -4
  927. package/node_modules/@raggle-ai/local/dist/core/project-metadata.js +0 -72
  928. package/node_modules/@raggle-ai/local/dist/core/project-presentation.d.ts +0 -14
  929. package/node_modules/@raggle-ai/local/dist/core/project-presentation.js +0 -33
  930. package/node_modules/@raggle-ai/local/dist/core/project-remote.d.ts +0 -3
  931. package/node_modules/@raggle-ai/local/dist/core/project-remote.js +0 -45
  932. package/node_modules/@raggle-ai/local/dist/core/project-schema.d.ts +0 -126
  933. package/node_modules/@raggle-ai/local/dist/core/project-schema.js +0 -10
  934. package/node_modules/@raggle-ai/local/dist/core/project-source-settings.d.ts +0 -19
  935. package/node_modules/@raggle-ai/local/dist/core/project-source-settings.js +0 -57
  936. package/node_modules/@raggle-ai/local/dist/core/project-store-add.d.ts +0 -21
  937. package/node_modules/@raggle-ai/local/dist/core/project-store-add.js +0 -36
  938. package/node_modules/@raggle-ai/local/dist/core/project-subpaths.d.ts +0 -16
  939. package/node_modules/@raggle-ai/local/dist/core/project-subpaths.js +0 -37
  940. package/node_modules/@raggle-ai/local/dist/core/raggle-deep-link.d.ts +0 -1
  941. package/node_modules/@raggle-ai/local/dist/core/raggle-deep-link.js +0 -12
  942. package/node_modules/@raggle-ai/local/dist/core/relation-commands.d.ts +0 -32
  943. package/node_modules/@raggle-ai/local/dist/core/relation-commands.js +0 -111
  944. package/node_modules/@raggle-ai/local/dist/core/relation-depth.d.ts +0 -3
  945. package/node_modules/@raggle-ai/local/dist/core/relation-depth.js +0 -5
  946. package/node_modules/@raggle-ai/local/dist/core/remote-connection-code.d.ts +0 -17
  947. package/node_modules/@raggle-ai/local/dist/core/remote-connection-code.js +0 -113
  948. package/node_modules/@raggle-ai/local/dist/core/repository-subpaths.d.ts +0 -6
  949. package/node_modules/@raggle-ai/local/dist/core/repository-subpaths.js +0 -54
  950. package/node_modules/@raggle-ai/local/dist/core/search.d.ts +0 -151
  951. package/node_modules/@raggle-ai/local/dist/core/search.js +0 -297
  952. package/node_modules/@raggle-ai/local/dist/core/skills.d.ts +0 -21
  953. package/node_modules/@raggle-ai/local/dist/core/skills.js +0 -117
  954. package/node_modules/@raggle-ai/local/dist/core/types.d.ts +0 -47
  955. package/node_modules/@raggle-ai/local/dist/core/types.js +0 -2
  956. package/node_modules/@raggle-ai/local/dist/core/user-projects.d.ts +0 -17
  957. package/node_modules/@raggle-ai/local/dist/core/user-projects.js +0 -317
  958. package/node_modules/@raggle-ai/local/dist/discovery/markdown-files.d.ts +0 -8
  959. package/node_modules/@raggle-ai/local/dist/discovery/markdown-files.js +0 -27
  960. package/node_modules/@raggle-ai/local/dist/discovery/project-folders.d.ts +0 -5
  961. package/node_modules/@raggle-ai/local/dist/discovery/project-folders.js +0 -61
  962. package/node_modules/@raggle-ai/local/dist/discovery/scanner.d.ts +0 -30
  963. package/node_modules/@raggle-ai/local/dist/discovery/scanner.js +0 -68
  964. package/node_modules/@raggle-ai/local/dist/folder-metadata/assets.d.ts +0 -6
  965. package/node_modules/@raggle-ai/local/dist/folder-metadata/assets.js +0 -39
  966. package/node_modules/@raggle-ai/local/dist/folder-metadata/icons.d.ts +0 -11
  967. package/node_modules/@raggle-ai/local/dist/folder-metadata/icons.js +0 -65
  968. package/node_modules/@raggle-ai/local/dist/folder-metadata/index.d.ts +0 -2
  969. package/node_modules/@raggle-ai/local/dist/folder-metadata/index.js +0 -9
  970. package/node_modules/@raggle-ai/local/dist/folder-metadata/resolve.d.ts +0 -14
  971. package/node_modules/@raggle-ai/local/dist/folder-metadata/resolve.js +0 -52
  972. package/node_modules/@raggle-ai/local/dist/generated/project-emoji.json +0 -1
  973. package/node_modules/@raggle-ai/local/dist/index.d.ts +0 -84
  974. package/node_modules/@raggle-ai/local/dist/index.js +0 -435
  975. package/node_modules/@raggle-ai/local/dist/mcp/generated/handlers.d.ts +0 -92
  976. package/node_modules/@raggle-ai/local/dist/mcp/generated/handlers.js +0 -108
  977. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-client.d.ts +0 -64
  978. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-client.js +0 -91
  979. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/index.d.ts +0 -15
  980. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/index.js +0 -31
  981. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/match.d.ts +0 -12
  982. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/match.js +0 -9
  983. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectGet200.d.ts +0 -12
  984. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectGet200.js +0 -2
  985. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectList200.d.ts +0 -13
  986. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectList200.js +0 -2
  987. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectSearch200.d.ts +0 -14
  988. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectSearch200.js +0 -2
  989. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectSearch200ItemsItem.d.ts +0 -12
  990. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectSearch200ItemsItem.js +0 -2
  991. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectSearchParams.d.ts +0 -20
  992. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectSearchParams.js +0 -9
  993. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/serviceProject.d.ts +0 -19
  994. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/serviceProject.js +0 -9
  995. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/serviceVersion200.d.ts +0 -12
  996. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/serviceVersion200.js +0 -9
  997. package/node_modules/@raggle-ai/local/dist/mcp/generated/server.d.ts +0 -8
  998. package/node_modules/@raggle-ai/local/dist/mcp/generated/server.js +0 -48
  999. package/node_modules/@raggle-ai/local/dist/mcp/generated/tool-schemas.zod.d.ts +0 -17
  1000. package/node_modules/@raggle-ai/local/dist/mcp/generated/tool-schemas.zod.js +0 -58
  1001. package/node_modules/@raggle-ai/local/dist/mcp/scout-mcp-server.d.ts +0 -6
  1002. package/node_modules/@raggle-ai/local/dist/mcp/scout-mcp-server.js +0 -29
  1003. package/node_modules/@raggle-ai/local/dist/native/index.d.ts +0 -396
  1004. package/node_modules/@raggle-ai/local/dist/native/index.js +0 -766
  1005. package/node_modules/@raggle-ai/local/dist/native/raggle-local-native.darwin-arm64.node +0 -0
  1006. package/node_modules/@raggle-ai/local/dist/native/raggle-local-native.darwin-x64.node +0 -0
  1007. package/node_modules/@raggle-ai/local/dist/native/raggle-local-native.linux-x64-gnu.node +0 -0
  1008. package/node_modules/@raggle-ai/local/dist/native-bridge.d.ts +0 -383
  1009. package/node_modules/@raggle-ai/local/dist/native-bridge.js +0 -306
  1010. package/node_modules/@raggle-ai/local/dist/native.d.ts +0 -1
  1011. package/node_modules/@raggle-ai/local/dist/native.js +0 -10
  1012. package/node_modules/@raggle-ai/local/dist/search/index.d.ts +0 -3
  1013. package/node_modules/@raggle-ai/local/dist/search/index.js +0 -23
  1014. package/node_modules/@raggle-ai/local/dist/service/client.d.ts +0 -2
  1015. package/node_modules/@raggle-ai/local/dist/service/client.js +0 -18
  1016. package/node_modules/@raggle-ai/local/dist/service/generated/client.d.ts +0 -64
  1017. package/node_modules/@raggle-ai/local/dist/service/generated/client.js +0 -84
  1018. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/index.d.ts +0 -15
  1019. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/index.js +0 -31
  1020. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/match.d.ts +0 -12
  1021. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/match.js +0 -9
  1022. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectGet200.d.ts +0 -12
  1023. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectGet200.js +0 -2
  1024. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectList200.d.ts +0 -13
  1025. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectList200.js +0 -2
  1026. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectSearch200.d.ts +0 -14
  1027. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectSearch200.js +0 -2
  1028. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectSearch200ItemsItem.d.ts +0 -12
  1029. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectSearch200ItemsItem.js +0 -2
  1030. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectSearchParams.d.ts +0 -20
  1031. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectSearchParams.js +0 -9
  1032. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/serviceProject.d.ts +0 -19
  1033. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/serviceProject.js +0 -9
  1034. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/serviceVersion200.d.ts +0 -12
  1035. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/serviceVersion200.js +0 -9
  1036. package/node_modules/@raggle-ai/local/dist/service/scout-service.d.ts +0 -17
  1037. package/node_modules/@raggle-ai/local/dist/service/scout-service.js +0 -196
  1038. package/node_modules/@raggle-ai/local/dist/sessions/create.d.ts +0 -7
  1039. package/node_modules/@raggle-ai/local/dist/sessions/create.js +0 -28
  1040. package/node_modules/@raggle-ai/local/dist/sessions/index.d.ts +0 -48
  1041. package/node_modules/@raggle-ai/local/dist/sessions/index.js +0 -686
  1042. package/node_modules/@raggle-ai/local/dist/sessions/resume.d.ts +0 -74
  1043. package/node_modules/@raggle-ai/local/dist/sessions/resume.js +0 -96
  1044. package/node_modules/@raggle-ai/local/package.json +0 -111
  1045. package/node_modules/@raggle-ai/local/schemas/cli-commands.json +0 -358
  1046. package/node_modules/@raggle-ai/local/schemas/config.json +0 -473
  1047. package/node_modules/@raggle-ai/local/schemas/scout-service-openapi.json +0 -189
  1048. package/node_modules/@raggle-ai/local/schemas/settings.json +0 -383
  1049. package/node_modules/zod/LICENSE +0 -21
  1050. package/node_modules/zod/README.md +0 -191
  1051. package/node_modules/zod/index.cjs +0 -33
  1052. package/node_modules/zod/index.d.cts +0 -4
  1053. package/node_modules/zod/index.d.ts +0 -4
  1054. package/node_modules/zod/index.js +0 -4
  1055. package/node_modules/zod/locales/index.cjs +0 -17
  1056. package/node_modules/zod/locales/index.d.cts +0 -1
  1057. package/node_modules/zod/locales/index.d.ts +0 -1
  1058. package/node_modules/zod/locales/index.js +0 -1
  1059. package/node_modules/zod/locales/package.json +0 -7
  1060. package/node_modules/zod/mini/index.cjs +0 -32
  1061. package/node_modules/zod/mini/index.d.cts +0 -3
  1062. package/node_modules/zod/mini/index.d.ts +0 -3
  1063. package/node_modules/zod/mini/index.js +0 -3
  1064. package/node_modules/zod/mini/package.json +0 -7
  1065. package/node_modules/zod/package.json +0 -135
  1066. package/node_modules/zod/src/index.ts +0 -4
  1067. package/node_modules/zod/src/locales/index.ts +0 -1
  1068. package/node_modules/zod/src/mini/index.ts +0 -3
  1069. package/node_modules/zod/src/v3/ZodError.ts +0 -330
  1070. package/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
  1071. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
  1072. package/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
  1073. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
  1074. package/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
  1075. package/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
  1076. package/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
  1077. package/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
  1078. package/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
  1079. package/node_modules/zod/src/v3/errors.ts +0 -13
  1080. package/node_modules/zod/src/v3/external.ts +0 -6
  1081. package/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
  1082. package/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
  1083. package/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
  1084. package/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
  1085. package/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
  1086. package/node_modules/zod/src/v3/helpers/util.ts +0 -224
  1087. package/node_modules/zod/src/v3/index.ts +0 -4
  1088. package/node_modules/zod/src/v3/locales/en.ts +0 -124
  1089. package/node_modules/zod/src/v3/standard-schema.ts +0 -113
  1090. package/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
  1091. package/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
  1092. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
  1093. package/node_modules/zod/src/v3/tests/array.test.ts +0 -71
  1094. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
  1095. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
  1096. package/node_modules/zod/src/v3/tests/base.test.ts +0 -29
  1097. package/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
  1098. package/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
  1099. package/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
  1100. package/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
  1101. package/node_modules/zod/src/v3/tests/complex.test.ts +0 -70
  1102. package/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
  1103. package/node_modules/zod/src/v3/tests/date.test.ts +0 -32
  1104. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
  1105. package/node_modules/zod/src/v3/tests/default.test.ts +0 -112
  1106. package/node_modules/zod/src/v3/tests/description.test.ts +0 -33
  1107. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
  1108. package/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
  1109. package/node_modules/zod/src/v3/tests/error.test.ts +0 -551
  1110. package/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
  1111. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
  1112. package/node_modules/zod/src/v3/tests/function.test.ts +0 -261
  1113. package/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
  1114. package/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
  1115. package/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
  1116. package/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
  1117. package/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
  1118. package/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
  1119. package/node_modules/zod/src/v3/tests/map.test.ts +0 -110
  1120. package/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
  1121. package/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
  1122. package/node_modules/zod/src/v3/tests/nan.test.ts +0 -24
  1123. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
  1124. package/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
  1125. package/node_modules/zod/src/v3/tests/number.test.ts +0 -176
  1126. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
  1127. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
  1128. package/node_modules/zod/src/v3/tests/object.test.ts +0 -434
  1129. package/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
  1130. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
  1131. package/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
  1132. package/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
  1133. package/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
  1134. package/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
  1135. package/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
  1136. package/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
  1137. package/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
  1138. package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
  1139. package/node_modules/zod/src/v3/tests/record.test.ts +0 -171
  1140. package/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
  1141. package/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
  1142. package/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
  1143. package/node_modules/zod/src/v3/tests/set.test.ts +0 -142
  1144. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
  1145. package/node_modules/zod/src/v3/tests/string.test.ts +0 -916
  1146. package/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
  1147. package/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
  1148. package/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
  1149. package/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
  1150. package/node_modules/zod/src/v3/tests/void.test.ts +0 -15
  1151. package/node_modules/zod/src/v3/types.ts +0 -5138
  1152. package/node_modules/zod/src/v4/classic/checks.ts +0 -32
  1153. package/node_modules/zod/src/v4/classic/coerce.ts +0 -27
  1154. package/node_modules/zod/src/v4/classic/compat.ts +0 -70
  1155. package/node_modules/zod/src/v4/classic/errors.ts +0 -82
  1156. package/node_modules/zod/src/v4/classic/external.ts +0 -52
  1157. package/node_modules/zod/src/v4/classic/from-json-schema.ts +0 -659
  1158. package/node_modules/zod/src/v4/classic/index.ts +0 -5
  1159. package/node_modules/zod/src/v4/classic/iso.ts +0 -90
  1160. package/node_modules/zod/src/v4/classic/parse.ts +0 -82
  1161. package/node_modules/zod/src/v4/classic/schemas.ts +0 -2672
  1162. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
  1163. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +0 -59
  1164. package/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
  1165. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -216
  1166. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
  1167. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
  1168. package/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
  1169. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
  1170. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -106
  1171. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -326
  1172. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
  1173. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +0 -573
  1174. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +0 -703
  1175. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
  1176. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -374
  1177. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
  1178. package/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -62
  1179. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -302
  1180. package/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -409
  1181. package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +0 -27
  1182. package/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
  1183. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +0 -197
  1184. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -694
  1185. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
  1186. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -807
  1187. package/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
  1188. package/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -96
  1189. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -179
  1190. package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +0 -26
  1191. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +0 -895
  1192. package/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -360
  1193. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
  1194. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +0 -39
  1195. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +0 -68
  1196. package/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -939
  1197. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -60
  1198. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -198
  1199. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +0 -46
  1200. package/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -109
  1201. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
  1202. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -117
  1203. package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +0 -29
  1204. package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +0 -24
  1205. package/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -330
  1206. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
  1207. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
  1208. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -101
  1209. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
  1210. package/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -325
  1211. package/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -717
  1212. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -333
  1213. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -450
  1214. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -211
  1215. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -101
  1216. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -74
  1217. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +0 -26
  1218. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -351
  1219. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
  1220. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
  1221. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
  1222. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
  1223. package/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -717
  1224. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -631
  1225. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -633
  1226. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -243
  1227. package/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -181
  1228. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -134
  1229. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -125
  1230. package/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -1224
  1231. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -106
  1232. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -771
  1233. package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -438
  1234. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -3125
  1235. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -378
  1236. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -496
  1237. package/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -273
  1238. package/node_modules/zod/src/v4/classic/tests/url.test.ts +0 -13
  1239. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
  1240. package/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
  1241. package/node_modules/zod/src/v4/core/api.ts +0 -1823
  1242. package/node_modules/zod/src/v4/core/checks.ts +0 -1293
  1243. package/node_modules/zod/src/v4/core/config.ts +0 -15
  1244. package/node_modules/zod/src/v4/core/core.ts +0 -153
  1245. package/node_modules/zod/src/v4/core/doc.ts +0 -44
  1246. package/node_modules/zod/src/v4/core/errors.ts +0 -455
  1247. package/node_modules/zod/src/v4/core/index.ts +0 -16
  1248. package/node_modules/zod/src/v4/core/json-schema-generator.ts +0 -126
  1249. package/node_modules/zod/src/v4/core/json-schema-processors.ts +0 -666
  1250. package/node_modules/zod/src/v4/core/json-schema.ts +0 -147
  1251. package/node_modules/zod/src/v4/core/parse.ts +0 -195
  1252. package/node_modules/zod/src/v4/core/regexes.ts +0 -190
  1253. package/node_modules/zod/src/v4/core/registries.ts +0 -105
  1254. package/node_modules/zod/src/v4/core/schemas.ts +0 -4730
  1255. package/node_modules/zod/src/v4/core/standard-schema.ts +0 -159
  1256. package/node_modules/zod/src/v4/core/tests/extend.test.ts +0 -59
  1257. package/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
  1258. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
  1259. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +0 -215
  1260. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
  1261. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +0 -181
  1262. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +0 -72
  1263. package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +0 -379
  1264. package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +0 -163
  1265. package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +0 -46
  1266. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
  1267. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
  1268. package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +0 -105
  1269. package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +0 -125
  1270. package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +0 -45
  1271. package/node_modules/zod/src/v4/core/to-json-schema.ts +0 -622
  1272. package/node_modules/zod/src/v4/core/util.ts +0 -983
  1273. package/node_modules/zod/src/v4/core/versions.ts +0 -5
  1274. package/node_modules/zod/src/v4/core/zsf.ts +0 -323
  1275. package/node_modules/zod/src/v4/index.ts +0 -4
  1276. package/node_modules/zod/src/v4/locales/ar.ts +0 -115
  1277. package/node_modules/zod/src/v4/locales/az.ts +0 -111
  1278. package/node_modules/zod/src/v4/locales/be.ts +0 -176
  1279. package/node_modules/zod/src/v4/locales/bg.ts +0 -128
  1280. package/node_modules/zod/src/v4/locales/ca.ts +0 -116
  1281. package/node_modules/zod/src/v4/locales/cs.ts +0 -118
  1282. package/node_modules/zod/src/v4/locales/da.ts +0 -123
  1283. package/node_modules/zod/src/v4/locales/de.ts +0 -116
  1284. package/node_modules/zod/src/v4/locales/el.ts +0 -121
  1285. package/node_modules/zod/src/v4/locales/en.ts +0 -123
  1286. package/node_modules/zod/src/v4/locales/eo.ts +0 -118
  1287. package/node_modules/zod/src/v4/locales/es.ts +0 -141
  1288. package/node_modules/zod/src/v4/locales/fa.ts +0 -126
  1289. package/node_modules/zod/src/v4/locales/fi.ts +0 -121
  1290. package/node_modules/zod/src/v4/locales/fr-CA.ts +0 -116
  1291. package/node_modules/zod/src/v4/locales/fr.ts +0 -132
  1292. package/node_modules/zod/src/v4/locales/he.ts +0 -246
  1293. package/node_modules/zod/src/v4/locales/hr.ts +0 -131
  1294. package/node_modules/zod/src/v4/locales/hu.ts +0 -117
  1295. package/node_modules/zod/src/v4/locales/hy.ts +0 -164
  1296. package/node_modules/zod/src/v4/locales/id.ts +0 -115
  1297. package/node_modules/zod/src/v4/locales/index.ts +0 -52
  1298. package/node_modules/zod/src/v4/locales/is.ts +0 -119
  1299. package/node_modules/zod/src/v4/locales/it.ts +0 -116
  1300. package/node_modules/zod/src/v4/locales/ja.ts +0 -114
  1301. package/node_modules/zod/src/v4/locales/ka.ts +0 -123
  1302. package/node_modules/zod/src/v4/locales/kh.ts +0 -7
  1303. package/node_modules/zod/src/v4/locales/km.ts +0 -119
  1304. package/node_modules/zod/src/v4/locales/ko.ts +0 -121
  1305. package/node_modules/zod/src/v4/locales/lt.ts +0 -239
  1306. package/node_modules/zod/src/v4/locales/mk.ts +0 -118
  1307. package/node_modules/zod/src/v4/locales/ms.ts +0 -115
  1308. package/node_modules/zod/src/v4/locales/nl.ts +0 -121
  1309. package/node_modules/zod/src/v4/locales/no.ts +0 -116
  1310. package/node_modules/zod/src/v4/locales/ota.ts +0 -117
  1311. package/node_modules/zod/src/v4/locales/pl.ts +0 -118
  1312. package/node_modules/zod/src/v4/locales/ps.ts +0 -126
  1313. package/node_modules/zod/src/v4/locales/pt.ts +0 -116
  1314. package/node_modules/zod/src/v4/locales/ro.ts +0 -129
  1315. package/node_modules/zod/src/v4/locales/ru.ts +0 -176
  1316. package/node_modules/zod/src/v4/locales/sl.ts +0 -118
  1317. package/node_modules/zod/src/v4/locales/sv.ts +0 -119
  1318. package/node_modules/zod/src/v4/locales/ta.ts +0 -118
  1319. package/node_modules/zod/src/v4/locales/th.ts +0 -119
  1320. package/node_modules/zod/src/v4/locales/tr.ts +0 -111
  1321. package/node_modules/zod/src/v4/locales/ua.ts +0 -7
  1322. package/node_modules/zod/src/v4/locales/uk.ts +0 -117
  1323. package/node_modules/zod/src/v4/locales/ur.ts +0 -119
  1324. package/node_modules/zod/src/v4/locales/uz.ts +0 -117
  1325. package/node_modules/zod/src/v4/locales/vi.ts +0 -117
  1326. package/node_modules/zod/src/v4/locales/yo.ts +0 -124
  1327. package/node_modules/zod/src/v4/locales/zh-CN.ts +0 -116
  1328. package/node_modules/zod/src/v4/locales/zh-TW.ts +0 -115
  1329. package/node_modules/zod/src/v4/mini/checks.ts +0 -32
  1330. package/node_modules/zod/src/v4/mini/coerce.ts +0 -27
  1331. package/node_modules/zod/src/v4/mini/external.ts +0 -41
  1332. package/node_modules/zod/src/v4/mini/index.ts +0 -3
  1333. package/node_modules/zod/src/v4/mini/iso.ts +0 -66
  1334. package/node_modules/zod/src/v4/mini/parse.ts +0 -14
  1335. package/node_modules/zod/src/v4/mini/schemas.ts +0 -1947
  1336. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +0 -24
  1337. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
  1338. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -94
  1339. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
  1340. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +0 -548
  1341. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
  1342. package/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
  1343. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -5
  1344. package/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -993
  1345. package/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
  1346. package/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -227
  1347. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
  1348. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -325
  1349. package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +0 -50
  1350. package/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -352
  1351. package/node_modules/zod/src/v4-mini/index.ts +0 -3
  1352. package/node_modules/zod/v3/ZodError.cjs +0 -138
  1353. package/node_modules/zod/v3/ZodError.d.cts +0 -164
  1354. package/node_modules/zod/v3/ZodError.d.ts +0 -164
  1355. package/node_modules/zod/v3/ZodError.js +0 -133
  1356. package/node_modules/zod/v3/errors.cjs +0 -17
  1357. package/node_modules/zod/v3/errors.d.cts +0 -5
  1358. package/node_modules/zod/v3/errors.d.ts +0 -5
  1359. package/node_modules/zod/v3/errors.js +0 -9
  1360. package/node_modules/zod/v3/external.cjs +0 -22
  1361. package/node_modules/zod/v3/external.d.cts +0 -6
  1362. package/node_modules/zod/v3/external.d.ts +0 -6
  1363. package/node_modules/zod/v3/external.js +0 -6
  1364. package/node_modules/zod/v3/helpers/enumUtil.cjs +0 -2
  1365. package/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
  1366. package/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
  1367. package/node_modules/zod/v3/helpers/enumUtil.js +0 -1
  1368. package/node_modules/zod/v3/helpers/errorUtil.cjs +0 -9
  1369. package/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
  1370. package/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
  1371. package/node_modules/zod/v3/helpers/errorUtil.js +0 -6
  1372. package/node_modules/zod/v3/helpers/parseUtil.cjs +0 -124
  1373. package/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
  1374. package/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
  1375. package/node_modules/zod/v3/helpers/parseUtil.js +0 -109
  1376. package/node_modules/zod/v3/helpers/partialUtil.cjs +0 -2
  1377. package/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
  1378. package/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
  1379. package/node_modules/zod/v3/helpers/partialUtil.js +0 -1
  1380. package/node_modules/zod/v3/helpers/typeAliases.cjs +0 -2
  1381. package/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
  1382. package/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
  1383. package/node_modules/zod/v3/helpers/typeAliases.js +0 -1
  1384. package/node_modules/zod/v3/helpers/util.cjs +0 -137
  1385. package/node_modules/zod/v3/helpers/util.d.cts +0 -85
  1386. package/node_modules/zod/v3/helpers/util.d.ts +0 -85
  1387. package/node_modules/zod/v3/helpers/util.js +0 -133
  1388. package/node_modules/zod/v3/index.cjs +0 -33
  1389. package/node_modules/zod/v3/index.d.cts +0 -4
  1390. package/node_modules/zod/v3/index.d.ts +0 -4
  1391. package/node_modules/zod/v3/index.js +0 -4
  1392. package/node_modules/zod/v3/locales/en.cjs +0 -112
  1393. package/node_modules/zod/v3/locales/en.d.cts +0 -3
  1394. package/node_modules/zod/v3/locales/en.d.ts +0 -3
  1395. package/node_modules/zod/v3/locales/en.js +0 -109
  1396. package/node_modules/zod/v3/package.json +0 -7
  1397. package/node_modules/zod/v3/standard-schema.cjs +0 -2
  1398. package/node_modules/zod/v3/standard-schema.d.cts +0 -102
  1399. package/node_modules/zod/v3/standard-schema.d.ts +0 -102
  1400. package/node_modules/zod/v3/standard-schema.js +0 -1
  1401. package/node_modules/zod/v3/types.cjs +0 -3777
  1402. package/node_modules/zod/v3/types.d.cts +0 -1034
  1403. package/node_modules/zod/v3/types.d.ts +0 -1034
  1404. package/node_modules/zod/v3/types.js +0 -3695
  1405. package/node_modules/zod/v4/classic/checks.cjs +0 -33
  1406. package/node_modules/zod/v4/classic/checks.d.cts +0 -1
  1407. package/node_modules/zod/v4/classic/checks.d.ts +0 -1
  1408. package/node_modules/zod/v4/classic/checks.js +0 -1
  1409. package/node_modules/zod/v4/classic/coerce.cjs +0 -47
  1410. package/node_modules/zod/v4/classic/coerce.d.cts +0 -17
  1411. package/node_modules/zod/v4/classic/coerce.d.ts +0 -17
  1412. package/node_modules/zod/v4/classic/coerce.js +0 -17
  1413. package/node_modules/zod/v4/classic/compat.cjs +0 -61
  1414. package/node_modules/zod/v4/classic/compat.d.cts +0 -50
  1415. package/node_modules/zod/v4/classic/compat.d.ts +0 -50
  1416. package/node_modules/zod/v4/classic/compat.js +0 -31
  1417. package/node_modules/zod/v4/classic/errors.cjs +0 -74
  1418. package/node_modules/zod/v4/classic/errors.d.cts +0 -30
  1419. package/node_modules/zod/v4/classic/errors.d.ts +0 -30
  1420. package/node_modules/zod/v4/classic/errors.js +0 -48
  1421. package/node_modules/zod/v4/classic/external.cjs +0 -73
  1422. package/node_modules/zod/v4/classic/external.d.cts +0 -16
  1423. package/node_modules/zod/v4/classic/external.d.ts +0 -16
  1424. package/node_modules/zod/v4/classic/external.js +0 -20
  1425. package/node_modules/zod/v4/classic/from-json-schema.cjs +0 -625
  1426. package/node_modules/zod/v4/classic/from-json-schema.d.cts +0 -12
  1427. package/node_modules/zod/v4/classic/from-json-schema.d.ts +0 -12
  1428. package/node_modules/zod/v4/classic/from-json-schema.js +0 -599
  1429. package/node_modules/zod/v4/classic/index.cjs +0 -33
  1430. package/node_modules/zod/v4/classic/index.d.cts +0 -4
  1431. package/node_modules/zod/v4/classic/index.d.ts +0 -4
  1432. package/node_modules/zod/v4/classic/index.js +0 -4
  1433. package/node_modules/zod/v4/classic/iso.cjs +0 -60
  1434. package/node_modules/zod/v4/classic/iso.d.cts +0 -22
  1435. package/node_modules/zod/v4/classic/iso.d.ts +0 -22
  1436. package/node_modules/zod/v4/classic/iso.js +0 -30
  1437. package/node_modules/zod/v4/classic/package.json +0 -7
  1438. package/node_modules/zod/v4/classic/parse.cjs +0 -41
  1439. package/node_modules/zod/v4/classic/parse.d.cts +0 -31
  1440. package/node_modules/zod/v4/classic/parse.d.ts +0 -31
  1441. package/node_modules/zod/v4/classic/parse.js +0 -15
  1442. package/node_modules/zod/v4/classic/schemas.cjs +0 -1511
  1443. package/node_modules/zod/v4/classic/schemas.d.cts +0 -767
  1444. package/node_modules/zod/v4/classic/schemas.d.ts +0 -767
  1445. package/node_modules/zod/v4/classic/schemas.js +0 -1395
  1446. package/node_modules/zod/v4/core/api.cjs +0 -1227
  1447. package/node_modules/zod/v4/core/api.d.cts +0 -325
  1448. package/node_modules/zod/v4/core/api.d.ts +0 -325
  1449. package/node_modules/zod/v4/core/api.js +0 -1087
  1450. package/node_modules/zod/v4/core/checks.cjs +0 -601
  1451. package/node_modules/zod/v4/core/checks.d.cts +0 -278
  1452. package/node_modules/zod/v4/core/checks.d.ts +0 -278
  1453. package/node_modules/zod/v4/core/checks.js +0 -575
  1454. package/node_modules/zod/v4/core/core.cjs +0 -85
  1455. package/node_modules/zod/v4/core/core.d.cts +0 -70
  1456. package/node_modules/zod/v4/core/core.d.ts +0 -70
  1457. package/node_modules/zod/v4/core/core.js +0 -78
  1458. package/node_modules/zod/v4/core/doc.cjs +0 -39
  1459. package/node_modules/zod/v4/core/doc.d.cts +0 -14
  1460. package/node_modules/zod/v4/core/doc.d.ts +0 -14
  1461. package/node_modules/zod/v4/core/doc.js +0 -35
  1462. package/node_modules/zod/v4/core/errors.cjs +0 -216
  1463. package/node_modules/zod/v4/core/errors.d.cts +0 -221
  1464. package/node_modules/zod/v4/core/errors.d.ts +0 -221
  1465. package/node_modules/zod/v4/core/errors.js +0 -185
  1466. package/node_modules/zod/v4/core/index.cjs +0 -47
  1467. package/node_modules/zod/v4/core/index.d.cts +0 -16
  1468. package/node_modules/zod/v4/core/index.d.ts +0 -16
  1469. package/node_modules/zod/v4/core/index.js +0 -16
  1470. package/node_modules/zod/v4/core/json-schema-generator.cjs +0 -99
  1471. package/node_modules/zod/v4/core/json-schema-generator.d.cts +0 -65
  1472. package/node_modules/zod/v4/core/json-schema-generator.d.ts +0 -65
  1473. package/node_modules/zod/v4/core/json-schema-generator.js +0 -95
  1474. package/node_modules/zod/v4/core/json-schema-processors.cjs +0 -644
  1475. package/node_modules/zod/v4/core/json-schema-processors.d.cts +0 -49
  1476. package/node_modules/zod/v4/core/json-schema-processors.d.ts +0 -49
  1477. package/node_modules/zod/v4/core/json-schema-processors.js +0 -601
  1478. package/node_modules/zod/v4/core/json-schema.cjs +0 -2
  1479. package/node_modules/zod/v4/core/json-schema.d.cts +0 -88
  1480. package/node_modules/zod/v4/core/json-schema.d.ts +0 -88
  1481. package/node_modules/zod/v4/core/json-schema.js +0 -1
  1482. package/node_modules/zod/v4/core/package.json +0 -7
  1483. package/node_modules/zod/v4/core/parse.cjs +0 -131
  1484. package/node_modules/zod/v4/core/parse.d.cts +0 -49
  1485. package/node_modules/zod/v4/core/parse.d.ts +0 -49
  1486. package/node_modules/zod/v4/core/parse.js +0 -93
  1487. package/node_modules/zod/v4/core/regexes.cjs +0 -172
  1488. package/node_modules/zod/v4/core/regexes.d.cts +0 -85
  1489. package/node_modules/zod/v4/core/regexes.d.ts +0 -85
  1490. package/node_modules/zod/v4/core/regexes.js +0 -139
  1491. package/node_modules/zod/v4/core/registries.cjs +0 -56
  1492. package/node_modules/zod/v4/core/registries.d.cts +0 -35
  1493. package/node_modules/zod/v4/core/registries.d.ts +0 -35
  1494. package/node_modules/zod/v4/core/registries.js +0 -51
  1495. package/node_modules/zod/v4/core/schemas.cjs +0 -2270
  1496. package/node_modules/zod/v4/core/schemas.d.cts +0 -1184
  1497. package/node_modules/zod/v4/core/schemas.d.ts +0 -1184
  1498. package/node_modules/zod/v4/core/schemas.js +0 -2239
  1499. package/node_modules/zod/v4/core/standard-schema.cjs +0 -2
  1500. package/node_modules/zod/v4/core/standard-schema.d.cts +0 -126
  1501. package/node_modules/zod/v4/core/standard-schema.d.ts +0 -126
  1502. package/node_modules/zod/v4/core/standard-schema.js +0 -1
  1503. package/node_modules/zod/v4/core/to-json-schema.cjs +0 -457
  1504. package/node_modules/zod/v4/core/to-json-schema.d.cts +0 -114
  1505. package/node_modules/zod/v4/core/to-json-schema.d.ts +0 -114
  1506. package/node_modules/zod/v4/core/to-json-schema.js +0 -448
  1507. package/node_modules/zod/v4/core/util.cjs +0 -734
  1508. package/node_modules/zod/v4/core/util.d.cts +0 -200
  1509. package/node_modules/zod/v4/core/util.d.ts +0 -200
  1510. package/node_modules/zod/v4/core/util.js +0 -674
  1511. package/node_modules/zod/v4/core/versions.cjs +0 -8
  1512. package/node_modules/zod/v4/core/versions.d.cts +0 -5
  1513. package/node_modules/zod/v4/core/versions.d.ts +0 -5
  1514. package/node_modules/zod/v4/core/versions.js +0 -5
  1515. package/node_modules/zod/v4/index.cjs +0 -22
  1516. package/node_modules/zod/v4/index.d.cts +0 -3
  1517. package/node_modules/zod/v4/index.d.ts +0 -3
  1518. package/node_modules/zod/v4/index.js +0 -3
  1519. package/node_modules/zod/v4/locales/ar.cjs +0 -133
  1520. package/node_modules/zod/v4/locales/ar.d.cts +0 -5
  1521. package/node_modules/zod/v4/locales/ar.d.ts +0 -4
  1522. package/node_modules/zod/v4/locales/ar.js +0 -106
  1523. package/node_modules/zod/v4/locales/az.cjs +0 -132
  1524. package/node_modules/zod/v4/locales/az.d.cts +0 -5
  1525. package/node_modules/zod/v4/locales/az.d.ts +0 -4
  1526. package/node_modules/zod/v4/locales/az.js +0 -105
  1527. package/node_modules/zod/v4/locales/be.cjs +0 -183
  1528. package/node_modules/zod/v4/locales/be.d.cts +0 -5
  1529. package/node_modules/zod/v4/locales/be.d.ts +0 -4
  1530. package/node_modules/zod/v4/locales/be.js +0 -156
  1531. package/node_modules/zod/v4/locales/bg.cjs +0 -147
  1532. package/node_modules/zod/v4/locales/bg.d.cts +0 -5
  1533. package/node_modules/zod/v4/locales/bg.d.ts +0 -4
  1534. package/node_modules/zod/v4/locales/bg.js +0 -120
  1535. package/node_modules/zod/v4/locales/ca.cjs +0 -134
  1536. package/node_modules/zod/v4/locales/ca.d.cts +0 -5
  1537. package/node_modules/zod/v4/locales/ca.d.ts +0 -4
  1538. package/node_modules/zod/v4/locales/ca.js +0 -107
  1539. package/node_modules/zod/v4/locales/cs.cjs +0 -138
  1540. package/node_modules/zod/v4/locales/cs.d.cts +0 -5
  1541. package/node_modules/zod/v4/locales/cs.d.ts +0 -4
  1542. package/node_modules/zod/v4/locales/cs.js +0 -111
  1543. package/node_modules/zod/v4/locales/da.cjs +0 -142
  1544. package/node_modules/zod/v4/locales/da.d.cts +0 -5
  1545. package/node_modules/zod/v4/locales/da.d.ts +0 -4
  1546. package/node_modules/zod/v4/locales/da.js +0 -115
  1547. package/node_modules/zod/v4/locales/de.cjs +0 -135
  1548. package/node_modules/zod/v4/locales/de.d.cts +0 -5
  1549. package/node_modules/zod/v4/locales/de.d.ts +0 -4
  1550. package/node_modules/zod/v4/locales/de.js +0 -108
  1551. package/node_modules/zod/v4/locales/el.cjs +0 -136
  1552. package/node_modules/zod/v4/locales/el.d.cts +0 -5
  1553. package/node_modules/zod/v4/locales/el.d.ts +0 -4
  1554. package/node_modules/zod/v4/locales/el.js +0 -109
  1555. package/node_modules/zod/v4/locales/en.cjs +0 -140
  1556. package/node_modules/zod/v4/locales/en.d.cts +0 -5
  1557. package/node_modules/zod/v4/locales/en.d.ts +0 -4
  1558. package/node_modules/zod/v4/locales/en.js +0 -113
  1559. package/node_modules/zod/v4/locales/eo.cjs +0 -136
  1560. package/node_modules/zod/v4/locales/eo.d.cts +0 -5
  1561. package/node_modules/zod/v4/locales/eo.d.ts +0 -4
  1562. package/node_modules/zod/v4/locales/eo.js +0 -109
  1563. package/node_modules/zod/v4/locales/es.cjs +0 -159
  1564. package/node_modules/zod/v4/locales/es.d.cts +0 -5
  1565. package/node_modules/zod/v4/locales/es.d.ts +0 -4
  1566. package/node_modules/zod/v4/locales/es.js +0 -132
  1567. package/node_modules/zod/v4/locales/fa.cjs +0 -141
  1568. package/node_modules/zod/v4/locales/fa.d.cts +0 -5
  1569. package/node_modules/zod/v4/locales/fa.d.ts +0 -4
  1570. package/node_modules/zod/v4/locales/fa.js +0 -114
  1571. package/node_modules/zod/v4/locales/fi.cjs +0 -139
  1572. package/node_modules/zod/v4/locales/fi.d.cts +0 -5
  1573. package/node_modules/zod/v4/locales/fi.d.ts +0 -4
  1574. package/node_modules/zod/v4/locales/fi.js +0 -112
  1575. package/node_modules/zod/v4/locales/fr-CA.cjs +0 -134
  1576. package/node_modules/zod/v4/locales/fr-CA.d.cts +0 -5
  1577. package/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
  1578. package/node_modules/zod/v4/locales/fr-CA.js +0 -107
  1579. package/node_modules/zod/v4/locales/fr.cjs +0 -152
  1580. package/node_modules/zod/v4/locales/fr.d.cts +0 -5
  1581. package/node_modules/zod/v4/locales/fr.d.ts +0 -4
  1582. package/node_modules/zod/v4/locales/fr.js +0 -125
  1583. package/node_modules/zod/v4/locales/he.cjs +0 -241
  1584. package/node_modules/zod/v4/locales/he.d.cts +0 -5
  1585. package/node_modules/zod/v4/locales/he.d.ts +0 -4
  1586. package/node_modules/zod/v4/locales/he.js +0 -214
  1587. package/node_modules/zod/v4/locales/hr.cjs +0 -149
  1588. package/node_modules/zod/v4/locales/hr.d.cts +0 -5
  1589. package/node_modules/zod/v4/locales/hr.d.ts +0 -4
  1590. package/node_modules/zod/v4/locales/hr.js +0 -122
  1591. package/node_modules/zod/v4/locales/hu.cjs +0 -135
  1592. package/node_modules/zod/v4/locales/hu.d.cts +0 -5
  1593. package/node_modules/zod/v4/locales/hu.d.ts +0 -4
  1594. package/node_modules/zod/v4/locales/hu.js +0 -108
  1595. package/node_modules/zod/v4/locales/hy.cjs +0 -174
  1596. package/node_modules/zod/v4/locales/hy.d.cts +0 -5
  1597. package/node_modules/zod/v4/locales/hy.d.ts +0 -4
  1598. package/node_modules/zod/v4/locales/hy.js +0 -147
  1599. package/node_modules/zod/v4/locales/id.cjs +0 -133
  1600. package/node_modules/zod/v4/locales/id.d.cts +0 -5
  1601. package/node_modules/zod/v4/locales/id.d.ts +0 -4
  1602. package/node_modules/zod/v4/locales/id.js +0 -106
  1603. package/node_modules/zod/v4/locales/index.cjs +0 -111
  1604. package/node_modules/zod/v4/locales/index.d.cts +0 -52
  1605. package/node_modules/zod/v4/locales/index.d.ts +0 -52
  1606. package/node_modules/zod/v4/locales/index.js +0 -52
  1607. package/node_modules/zod/v4/locales/is.cjs +0 -136
  1608. package/node_modules/zod/v4/locales/is.d.cts +0 -5
  1609. package/node_modules/zod/v4/locales/is.d.ts +0 -4
  1610. package/node_modules/zod/v4/locales/is.js +0 -109
  1611. package/node_modules/zod/v4/locales/it.cjs +0 -135
  1612. package/node_modules/zod/v4/locales/it.d.cts +0 -5
  1613. package/node_modules/zod/v4/locales/it.d.ts +0 -4
  1614. package/node_modules/zod/v4/locales/it.js +0 -108
  1615. package/node_modules/zod/v4/locales/ja.cjs +0 -134
  1616. package/node_modules/zod/v4/locales/ja.d.cts +0 -5
  1617. package/node_modules/zod/v4/locales/ja.d.ts +0 -4
  1618. package/node_modules/zod/v4/locales/ja.js +0 -107
  1619. package/node_modules/zod/v4/locales/ka.cjs +0 -139
  1620. package/node_modules/zod/v4/locales/ka.d.cts +0 -5
  1621. package/node_modules/zod/v4/locales/ka.d.ts +0 -4
  1622. package/node_modules/zod/v4/locales/ka.js +0 -112
  1623. package/node_modules/zod/v4/locales/kh.cjs +0 -12
  1624. package/node_modules/zod/v4/locales/kh.d.cts +0 -5
  1625. package/node_modules/zod/v4/locales/kh.d.ts +0 -5
  1626. package/node_modules/zod/v4/locales/kh.js +0 -5
  1627. package/node_modules/zod/v4/locales/km.cjs +0 -137
  1628. package/node_modules/zod/v4/locales/km.d.cts +0 -5
  1629. package/node_modules/zod/v4/locales/km.d.ts +0 -4
  1630. package/node_modules/zod/v4/locales/km.js +0 -110
  1631. package/node_modules/zod/v4/locales/ko.cjs +0 -138
  1632. package/node_modules/zod/v4/locales/ko.d.cts +0 -5
  1633. package/node_modules/zod/v4/locales/ko.d.ts +0 -4
  1634. package/node_modules/zod/v4/locales/ko.js +0 -111
  1635. package/node_modules/zod/v4/locales/lt.cjs +0 -230
  1636. package/node_modules/zod/v4/locales/lt.d.cts +0 -5
  1637. package/node_modules/zod/v4/locales/lt.d.ts +0 -4
  1638. package/node_modules/zod/v4/locales/lt.js +0 -203
  1639. package/node_modules/zod/v4/locales/mk.cjs +0 -136
  1640. package/node_modules/zod/v4/locales/mk.d.cts +0 -5
  1641. package/node_modules/zod/v4/locales/mk.d.ts +0 -4
  1642. package/node_modules/zod/v4/locales/mk.js +0 -109
  1643. package/node_modules/zod/v4/locales/ms.cjs +0 -134
  1644. package/node_modules/zod/v4/locales/ms.d.cts +0 -5
  1645. package/node_modules/zod/v4/locales/ms.d.ts +0 -4
  1646. package/node_modules/zod/v4/locales/ms.js +0 -107
  1647. package/node_modules/zod/v4/locales/nl.cjs +0 -137
  1648. package/node_modules/zod/v4/locales/nl.d.cts +0 -5
  1649. package/node_modules/zod/v4/locales/nl.d.ts +0 -4
  1650. package/node_modules/zod/v4/locales/nl.js +0 -110
  1651. package/node_modules/zod/v4/locales/no.cjs +0 -135
  1652. package/node_modules/zod/v4/locales/no.d.cts +0 -5
  1653. package/node_modules/zod/v4/locales/no.d.ts +0 -4
  1654. package/node_modules/zod/v4/locales/no.js +0 -108
  1655. package/node_modules/zod/v4/locales/ota.cjs +0 -136
  1656. package/node_modules/zod/v4/locales/ota.d.cts +0 -5
  1657. package/node_modules/zod/v4/locales/ota.d.ts +0 -4
  1658. package/node_modules/zod/v4/locales/ota.js +0 -109
  1659. package/node_modules/zod/v4/locales/package.json +0 -7
  1660. package/node_modules/zod/v4/locales/pl.cjs +0 -136
  1661. package/node_modules/zod/v4/locales/pl.d.cts +0 -5
  1662. package/node_modules/zod/v4/locales/pl.d.ts +0 -4
  1663. package/node_modules/zod/v4/locales/pl.js +0 -109
  1664. package/node_modules/zod/v4/locales/ps.cjs +0 -141
  1665. package/node_modules/zod/v4/locales/ps.d.cts +0 -5
  1666. package/node_modules/zod/v4/locales/ps.d.ts +0 -4
  1667. package/node_modules/zod/v4/locales/ps.js +0 -114
  1668. package/node_modules/zod/v4/locales/pt.cjs +0 -135
  1669. package/node_modules/zod/v4/locales/pt.d.cts +0 -5
  1670. package/node_modules/zod/v4/locales/pt.d.ts +0 -4
  1671. package/node_modules/zod/v4/locales/pt.js +0 -108
  1672. package/node_modules/zod/v4/locales/ro.cjs +0 -146
  1673. package/node_modules/zod/v4/locales/ro.d.cts +0 -5
  1674. package/node_modules/zod/v4/locales/ro.d.ts +0 -4
  1675. package/node_modules/zod/v4/locales/ro.js +0 -119
  1676. package/node_modules/zod/v4/locales/ru.cjs +0 -183
  1677. package/node_modules/zod/v4/locales/ru.d.cts +0 -5
  1678. package/node_modules/zod/v4/locales/ru.d.ts +0 -4
  1679. package/node_modules/zod/v4/locales/ru.js +0 -156
  1680. package/node_modules/zod/v4/locales/sl.cjs +0 -136
  1681. package/node_modules/zod/v4/locales/sl.d.cts +0 -5
  1682. package/node_modules/zod/v4/locales/sl.d.ts +0 -4
  1683. package/node_modules/zod/v4/locales/sl.js +0 -109
  1684. package/node_modules/zod/v4/locales/sv.cjs +0 -137
  1685. package/node_modules/zod/v4/locales/sv.d.cts +0 -5
  1686. package/node_modules/zod/v4/locales/sv.d.ts +0 -4
  1687. package/node_modules/zod/v4/locales/sv.js +0 -110
  1688. package/node_modules/zod/v4/locales/ta.cjs +0 -137
  1689. package/node_modules/zod/v4/locales/ta.d.cts +0 -5
  1690. package/node_modules/zod/v4/locales/ta.d.ts +0 -4
  1691. package/node_modules/zod/v4/locales/ta.js +0 -110
  1692. package/node_modules/zod/v4/locales/th.cjs +0 -137
  1693. package/node_modules/zod/v4/locales/th.d.cts +0 -5
  1694. package/node_modules/zod/v4/locales/th.d.ts +0 -4
  1695. package/node_modules/zod/v4/locales/th.js +0 -110
  1696. package/node_modules/zod/v4/locales/tr.cjs +0 -132
  1697. package/node_modules/zod/v4/locales/tr.d.cts +0 -5
  1698. package/node_modules/zod/v4/locales/tr.d.ts +0 -4
  1699. package/node_modules/zod/v4/locales/tr.js +0 -105
  1700. package/node_modules/zod/v4/locales/ua.cjs +0 -12
  1701. package/node_modules/zod/v4/locales/ua.d.cts +0 -5
  1702. package/node_modules/zod/v4/locales/ua.d.ts +0 -5
  1703. package/node_modules/zod/v4/locales/ua.js +0 -5
  1704. package/node_modules/zod/v4/locales/uk.cjs +0 -135
  1705. package/node_modules/zod/v4/locales/uk.d.cts +0 -5
  1706. package/node_modules/zod/v4/locales/uk.d.ts +0 -4
  1707. package/node_modules/zod/v4/locales/uk.js +0 -108
  1708. package/node_modules/zod/v4/locales/ur.cjs +0 -137
  1709. package/node_modules/zod/v4/locales/ur.d.cts +0 -5
  1710. package/node_modules/zod/v4/locales/ur.d.ts +0 -4
  1711. package/node_modules/zod/v4/locales/ur.js +0 -110
  1712. package/node_modules/zod/v4/locales/uz.cjs +0 -137
  1713. package/node_modules/zod/v4/locales/uz.d.cts +0 -5
  1714. package/node_modules/zod/v4/locales/uz.d.ts +0 -4
  1715. package/node_modules/zod/v4/locales/uz.js +0 -110
  1716. package/node_modules/zod/v4/locales/vi.cjs +0 -135
  1717. package/node_modules/zod/v4/locales/vi.d.cts +0 -5
  1718. package/node_modules/zod/v4/locales/vi.d.ts +0 -4
  1719. package/node_modules/zod/v4/locales/vi.js +0 -108
  1720. package/node_modules/zod/v4/locales/yo.cjs +0 -134
  1721. package/node_modules/zod/v4/locales/yo.d.cts +0 -5
  1722. package/node_modules/zod/v4/locales/yo.d.ts +0 -4
  1723. package/node_modules/zod/v4/locales/yo.js +0 -107
  1724. package/node_modules/zod/v4/locales/zh-CN.cjs +0 -136
  1725. package/node_modules/zod/v4/locales/zh-CN.d.cts +0 -5
  1726. package/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
  1727. package/node_modules/zod/v4/locales/zh-CN.js +0 -109
  1728. package/node_modules/zod/v4/locales/zh-TW.cjs +0 -134
  1729. package/node_modules/zod/v4/locales/zh-TW.d.cts +0 -5
  1730. package/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
  1731. package/node_modules/zod/v4/locales/zh-TW.js +0 -107
  1732. package/node_modules/zod/v4/mini/checks.cjs +0 -34
  1733. package/node_modules/zod/v4/mini/checks.d.cts +0 -1
  1734. package/node_modules/zod/v4/mini/checks.d.ts +0 -1
  1735. package/node_modules/zod/v4/mini/checks.js +0 -1
  1736. package/node_modules/zod/v4/mini/coerce.cjs +0 -52
  1737. package/node_modules/zod/v4/mini/coerce.d.cts +0 -7
  1738. package/node_modules/zod/v4/mini/coerce.d.ts +0 -7
  1739. package/node_modules/zod/v4/mini/coerce.js +0 -22
  1740. package/node_modules/zod/v4/mini/external.cjs +0 -63
  1741. package/node_modules/zod/v4/mini/external.d.cts +0 -13
  1742. package/node_modules/zod/v4/mini/external.d.ts +0 -13
  1743. package/node_modules/zod/v4/mini/external.js +0 -14
  1744. package/node_modules/zod/v4/mini/index.cjs +0 -32
  1745. package/node_modules/zod/v4/mini/index.d.cts +0 -3
  1746. package/node_modules/zod/v4/mini/index.d.ts +0 -3
  1747. package/node_modules/zod/v4/mini/index.js +0 -3
  1748. package/node_modules/zod/v4/mini/iso.cjs +0 -64
  1749. package/node_modules/zod/v4/mini/iso.d.cts +0 -22
  1750. package/node_modules/zod/v4/mini/iso.d.ts +0 -22
  1751. package/node_modules/zod/v4/mini/iso.js +0 -34
  1752. package/node_modules/zod/v4/mini/package.json +0 -7
  1753. package/node_modules/zod/v4/mini/parse.cjs +0 -16
  1754. package/node_modules/zod/v4/mini/parse.d.cts +0 -1
  1755. package/node_modules/zod/v4/mini/parse.d.ts +0 -1
  1756. package/node_modules/zod/v4/mini/parse.js +0 -1
  1757. package/node_modules/zod/v4/mini/schemas.cjs +0 -1083
  1758. package/node_modules/zod/v4/mini/schemas.d.cts +0 -445
  1759. package/node_modules/zod/v4/mini/schemas.d.ts +0 -445
  1760. package/node_modules/zod/v4/mini/schemas.js +0 -961
  1761. package/node_modules/zod/v4/package.json +0 -7
  1762. package/node_modules/zod/v4-mini/index.cjs +0 -32
  1763. package/node_modules/zod/v4-mini/index.d.cts +0 -3
  1764. package/node_modules/zod/v4-mini/index.d.ts +0 -3
  1765. package/node_modules/zod/v4-mini/index.js +0 -3
  1766. package/node_modules/zod/v4-mini/package.json +0 -7
  1767. package/web/assets/abnfDiagram-VRR7QNED-Brm1vcGG.js +0 -1
  1768. package/web/assets/app-Debw-lUT.js +0 -2
  1769. package/web/assets/app-options-UU_JlJQv.js +0 -25
  1770. package/web/assets/app-view-header-BSOI-wB6.js +0 -1
  1771. package/web/assets/arc-zngHsMKV.js +0 -1
  1772. package/web/assets/architectureDiagram-ZJ3FMSHR-BLklLqRP.js +0 -36
  1773. package/web/assets/ask-tray-B4SPj-fH.js +0 -14
  1774. package/web/assets/blockDiagram-677ZJIJ3-yhC2fEtu.js +0 -132
  1775. package/web/assets/button-CuuAtS1I.js +0 -1
  1776. package/web/assets/c4Diagram-LMCZKHZV-DMcweQme.js +0 -10
  1777. package/web/assets/channel-BgYLn5Cm.js +0 -1
  1778. package/web/assets/chunk-2Q5K7J3B-DD-S6n8h.js +0 -1
  1779. package/web/assets/chunk-32BRIVSS-DFIAKRv_.js +0 -1
  1780. package/web/assets/chunk-5VM5RSS4-B23APb3c.js +0 -15
  1781. package/web/assets/chunk-EX3LRPZG-BSVEB7db.js +0 -231
  1782. package/web/assets/chunk-JWPE2WC7-B6qGd0ng.js +0 -1
  1783. package/web/assets/chunk-MOJQB5TN-N4T1-ew1.js +0 -88
  1784. package/web/assets/chunk-RYQCIY6F-6oc6i_Xw.js +0 -1
  1785. package/web/assets/chunk-V7JOEXUC-Dftgm9ck.js +0 -206
  1786. package/web/assets/chunk-VR4S4FIN-DfjqwEsO.js +0 -1
  1787. package/web/assets/chunk-XXDRQBXY-CsFsQYow.js +0 -1
  1788. package/web/assets/classDiagram-OUVF2IWQ-Fzhmfbkt.js +0 -1
  1789. package/web/assets/classDiagram-v2-EOCWNBFH-Fzhmfbkt.js +0 -1
  1790. package/web/assets/client-C1WdY7jQ.js +0 -22
  1791. package/web/assets/client-D__L4Hl0.js +0 -17
  1792. package/web/assets/client-DoMhF9Tv.js +0 -5
  1793. package/web/assets/command-D_9V8ejS.js +0 -38
  1794. package/web/assets/copy-context-CevDWX59.js +0 -1
  1795. package/web/assets/cose-bilkent-JH36ORCC-DzKsIuDb.js +0 -1
  1796. package/web/assets/cynefin-VYW2F7L2-AL45ZHbw.js +0 -166
  1797. package/web/assets/cynefinDiagram-TSTJHNR4-DSbBegxZ.js +0 -62
  1798. package/web/assets/dagre-VKFMJZFB-BaG6MGUE.js +0 -4
  1799. package/web/assets/diagram-FQU43EPY-WbDotTX5.js +0 -3
  1800. package/web/assets/diagram-G47NLZAW-DMbouYVI.js +0 -24
  1801. package/web/assets/diagram-NH7WQ7WH-DoEuaWd_.js +0 -24
  1802. package/web/assets/diagram-OA4YK3LP-BjGd-PoH.js +0 -30
  1803. package/web/assets/diagram-WEI45ONY-CXHi27jF.js +0 -41
  1804. package/web/assets/document-CVJCfWiQ.js +0 -23
  1805. package/web/assets/ebnfDiagram-CCIWWBDH-B5vMUDOs.js +0 -1
  1806. package/web/assets/entities-BTKzWJ-r.js +0 -22
  1807. package/web/assets/erDiagram-Q63AITRT-DhO7ayzF.js +0 -85
  1808. package/web/assets/file-viewer-D1HK9J3A.js +0 -1
  1809. package/web/assets/flowDiagram-23GEKE2U-CublTUlC.js +0 -156
  1810. package/web/assets/folder-filter-bar-BHz7s9Vb.js +0 -4
  1811. package/web/assets/folder-image-L_AjkRfI.js +0 -1
  1812. package/web/assets/folder-landing-Byh8W67L.js +0 -54
  1813. package/web/assets/folder-list-jMyo-7pV.js +0 -1
  1814. package/web/assets/folder-metadata-bCocvxpP.js +0 -2
  1815. package/web/assets/folder-mobile-bar-DvvyOS-a.js +0 -1
  1816. package/web/assets/folder-plugin-view-sib0Dwfw.js +0 -3
  1817. package/web/assets/ganttDiagram-NO4QXBWP-BLMJWerM.js +0 -292
  1818. package/web/assets/gitGraphDiagram-IHSO6WYX-Br0E6qyZ.js +0 -106
  1819. package/web/assets/index-4Xh9UKim.js +0 -1
  1820. package/web/assets/index-BVyeNcuc.js +0 -41
  1821. package/web/assets/index-Bu75S2qS.js +0 -1
  1822. package/web/assets/index-CPcMcCUY.js +0 -2
  1823. package/web/assets/index-CXxkvzNJ.css +0 -1
  1824. package/web/assets/index-Cg-gtBkw.js +0 -1
  1825. package/web/assets/index-DbVDdnzL.js +0 -1
  1826. package/web/assets/infoDiagram-FWYZ7A6U-Dgz0npJO.js +0 -2
  1827. package/web/assets/ishikawaDiagram-FXEZZL3T-rY5pdS3b.js +0 -70
  1828. package/web/assets/journeyDiagram-5HDEW3XC-CKZALyR6.js +0 -139
  1829. package/web/assets/kanban-definition-HUTT4EX6-EGPY9Vda.js +0 -89
  1830. package/web/assets/linear-DkJW9OwI.js +0 -1
  1831. package/web/assets/linked-session-header-BkEweU0Z.js +0 -3
  1832. package/web/assets/markdown-Bw9RgUGR.js +0 -327
  1833. package/web/assets/mermaid.core-DVEpXYiF.js +0 -308
  1834. package/web/assets/metadata-Bu_ffLUd.js +0 -1
  1835. package/web/assets/mindmap-definition-LN4V7U3C-BEOUVnDN.js +0 -96
  1836. package/web/assets/pegDiagram-2B236MQR-DThjl3eK.js +0 -1
  1837. package/web/assets/pieDiagram-ENE6RG2P-DzmoGgw2.js +0 -39
  1838. package/web/assets/popover-3AMcPJpt.js +0 -9
  1839. package/web/assets/project-search-dialog-e2Jmhvfq.js +0 -43
  1840. package/web/assets/quadrantDiagram-ABIIQ3AL-BqT8U3FS.js +0 -7
  1841. package/web/assets/railroadDiagram-RFXS5EU6-1k1tfPk1.js +0 -1
  1842. package/web/assets/react-B9jn2M18.js +0 -9
  1843. package/web/assets/requirementDiagram-TGXJPOKE-bM4RTd2J.js +0 -84
  1844. package/web/assets/sankeyDiagram-HTMAVEWB-TCgfqDLy.js +0 -40
  1845. package/web/assets/search-BOHZTLC-.css +0 -1
  1846. package/web/assets/search-DQiFH2up.js +0 -2
  1847. package/web/assets/select-CkOwL81C.js +0 -30
  1848. package/web/assets/selection-popup-bqfgVd-L.js +0 -7
  1849. package/web/assets/sequenceDiagram-DBY2YBRQ-BRhGHI0i.js +0 -162
  1850. package/web/assets/sizeCapture-X5ZJPWSS-EeUWgn0N.js +0 -1
  1851. package/web/assets/stateDiagram-2N3HPSRC-BSOG758d.js +0 -1
  1852. package/web/assets/stateDiagram-v2-6OUMAXLB-DUeGDz1r.js +0 -1
  1853. package/web/assets/swimlanes-5IMT3BWC-DpCo4aEm.js +0 -2
  1854. package/web/assets/swimlanesDiagram-G3AALYLV-BGOaCfyV.js +0 -8
  1855. package/web/assets/tanstack-YzX_Mi37.js +0 -3
  1856. package/web/assets/timeline-definition-FHXFAJF6-BpaObe6u.js +0 -120
  1857. package/web/assets/use-folder-filter-hA6fa7nm.js +0 -1
  1858. package/web/assets/utils-Cg80pk1W.js +0 -1
  1859. package/web/assets/vennDiagram-L72KCM5P-ClvUzW8B.js +0 -34
  1860. package/web/assets/view-context-CVvDw2JM.js +0 -229
  1861. package/web/assets/viewer-capabilities-CFBwvpcI.js +0 -1
  1862. package/web/assets/wardleyDiagram-EHGQE667-Dg1CX0Fl.js +0 -78
  1863. package/web/assets/xychartDiagram-FW5EYKEG-C0c9zQTr.js +0 -7
@@ -1,3066 +0,0 @@
1
- // This file is auto-generated by @hey-api/openapi-ts
2
- import { defaultOnError, excludeKnownTags, preserveCustomPayload, requiredDefaultOnError, vecSkipError, } from "../schema-deserialize.js";
3
- import * as z from "zod/v4";
4
- /**
5
- * JSON RPC Request Id
6
- *
7
- * An identifier established by the Client that MUST contain a String, Number, or NULL value if included. If it is not included it is assumed to be a notification. The value SHOULD normally not be Null \[1\] and Numbers SHOULD NOT contain fractional parts \[2\]
8
- *
9
- * The Server MUST reply with the same value in the Response object if included. This member is used to correlate the context between the two objects.
10
- *
11
- * \[1\] The use of Null as a value for the id member in a Request object is discouraged, because this specification uses a value of Null for Responses with an unknown id. Also, because JSON-RPC 1.0 uses an id value of Null for Notifications this could cause confusion in handling.
12
- *
13
- * \[2\] Fractional parts may be problematic, since many decimal fractions cannot be represented exactly as binary fractions.
14
- */
15
- export const zRequestId = z.union([z.number(), z.string()]).nullable();
16
- /**
17
- * A unique identifier for a conversation session between a client and agent.
18
- *
19
- * Sessions maintain their own context, conversation history, and state,
20
- * allowing multiple independent interactions with the same agent.
21
- *
22
- * See protocol docs: [Session ID](https://agentclientprotocol.com/protocol/session-setup#session-id)
23
- */
24
- export const zSessionId = z.string();
25
- /**
26
- * Request to write content to a text file.
27
- *
28
- * Only available if the client supports the `fs.writeTextFile` capability.
29
- */
30
- export const zWriteTextFileRequest = z.object({
31
- sessionId: zSessionId,
32
- path: z.string(),
33
- content: z.string(),
34
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
35
- });
36
- /**
37
- * Request to read content from a text file.
38
- *
39
- * Only available if the client supports the `fs.readTextFile` capability.
40
- */
41
- export const zReadTextFileRequest = z.object({
42
- sessionId: zSessionId,
43
- path: z.string(),
44
- line: defaultOnError(z
45
- .int()
46
- .gte(0)
47
- .max(4294967295, {
48
- error: "Invalid value: Expected uint32 to be <= 4294967295",
49
- })
50
- .nullish(), () => undefined),
51
- limit: defaultOnError(z
52
- .int()
53
- .gte(0)
54
- .max(4294967295, {
55
- error: "Invalid value: Expected uint32 to be <= 4294967295",
56
- })
57
- .nullish(), () => undefined),
58
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
59
- });
60
- /**
61
- * Unique identifier for a tool call within a session.
62
- */
63
- export const zToolCallId = z.string();
64
- /**
65
- * Categories of tools that can be invoked.
66
- *
67
- * Tool kinds help clients choose appropriate icons and optimize how they
68
- * display tool execution progress.
69
- *
70
- * See protocol docs: [Creating](https://agentclientprotocol.com/protocol/tool-calls#creating)
71
- */
72
- export const zToolKind = z.union([
73
- z.literal("read"),
74
- z.literal("edit"),
75
- z.literal("delete"),
76
- z.literal("move"),
77
- z.literal("search"),
78
- z.literal("execute"),
79
- z.literal("think"),
80
- z.literal("fetch"),
81
- z.literal("switch_mode"),
82
- z.literal("other"),
83
- ]);
84
- /**
85
- * Execution status of a tool call.
86
- *
87
- * Tool calls progress through different statuses during their lifecycle.
88
- *
89
- * See protocol docs: [Status](https://agentclientprotocol.com/protocol/tool-calls#status)
90
- */
91
- export const zToolCallStatus = z.union([
92
- z.literal("pending"),
93
- z.literal("in_progress"),
94
- z.literal("completed"),
95
- z.literal("failed"),
96
- ]);
97
- /**
98
- * The sender or recipient of messages and data in a conversation.
99
- */
100
- export const zRole = z.union([z.literal("assistant"), z.literal("user")]);
101
- /**
102
- * Optional annotations for the client. The client can use annotations to inform how objects are used or displayed
103
- */
104
- export const zAnnotations = z.object({
105
- audience: defaultOnError(vecSkipError(zRole).nullish(), () => undefined),
106
- lastModified: defaultOnError(z.string().nullish(), () => undefined),
107
- priority: defaultOnError(z.number().nullish(), () => undefined),
108
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
109
- });
110
- /**
111
- * Text provided to or from an LLM.
112
- */
113
- export const zTextContent = z.object({
114
- annotations: defaultOnError(zAnnotations.nullish(), () => undefined),
115
- text: z.string(),
116
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
117
- });
118
- /**
119
- * An image provided to or from an LLM.
120
- */
121
- export const zImageContent = z.object({
122
- annotations: defaultOnError(zAnnotations.nullish(), () => undefined),
123
- data: z.string(),
124
- mimeType: z.string(),
125
- uri: defaultOnError(z.string().nullish(), () => undefined),
126
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
127
- });
128
- /**
129
- * Audio provided to or from an LLM.
130
- */
131
- export const zAudioContent = z.object({
132
- annotations: defaultOnError(zAnnotations.nullish(), () => undefined),
133
- data: z.string(),
134
- mimeType: z.string(),
135
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
136
- });
137
- /**
138
- * A resource that the server is capable of reading, included in a prompt or tool call result.
139
- */
140
- export const zResourceLink = z.object({
141
- annotations: defaultOnError(zAnnotations.nullish(), () => undefined),
142
- description: defaultOnError(z.string().nullish(), () => undefined),
143
- mimeType: defaultOnError(z.string().nullish(), () => undefined),
144
- name: z.string(),
145
- size: defaultOnError(z.number().nullish(), () => undefined),
146
- title: defaultOnError(z.string().nullish(), () => undefined),
147
- uri: z.string(),
148
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
149
- });
150
- /**
151
- * Text-based resource contents.
152
- */
153
- export const zTextResourceContents = z.object({
154
- mimeType: defaultOnError(z.string().nullish(), () => undefined),
155
- text: z.string(),
156
- uri: z.string(),
157
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
158
- });
159
- /**
160
- * Binary resource contents.
161
- */
162
- export const zBlobResourceContents = z.object({
163
- blob: z.string(),
164
- mimeType: defaultOnError(z.string().nullish(), () => undefined),
165
- uri: z.string(),
166
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
167
- });
168
- /**
169
- * Resource content that can be embedded in a message.
170
- */
171
- export const zEmbeddedResourceResource = z.union([
172
- zTextResourceContents,
173
- zBlobResourceContents,
174
- ]);
175
- /**
176
- * The contents of a resource, embedded into a prompt or tool call result.
177
- */
178
- export const zEmbeddedResource = z.object({
179
- annotations: defaultOnError(zAnnotations.nullish(), () => undefined),
180
- resource: zEmbeddedResourceResource,
181
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
182
- });
183
- /**
184
- * Content blocks represent displayable information in the Agent Client Protocol.
185
- *
186
- * They provide a structured way to handle various types of user-facing content—whether
187
- * it's text from language models, images for analysis, or embedded resources for context.
188
- *
189
- * Content blocks appear in:
190
- * - User prompts sent via `session/prompt`
191
- * - Language model output streamed through `session/update` notifications
192
- * - Progress updates and results from tool calls
193
- *
194
- * This structure is compatible with the Model Context Protocol (MCP), enabling
195
- * agents to seamlessly forward content from MCP tool outputs without transformation.
196
- *
197
- * See protocol docs: [Content](https://agentclientprotocol.com/protocol/content)
198
- */
199
- export const zContentBlock = z.union([
200
- zTextContent.and(z.object({
201
- type: z.literal("text"),
202
- })),
203
- zImageContent.and(z.object({
204
- type: z.literal("image"),
205
- })),
206
- zAudioContent.and(z.object({
207
- type: z.literal("audio"),
208
- })),
209
- zResourceLink.and(z.object({
210
- type: z.literal("resource_link"),
211
- })),
212
- zEmbeddedResource.and(z.object({
213
- type: z.literal("resource"),
214
- })),
215
- ]);
216
- /**
217
- * Standard content block (text, images, resources).
218
- */
219
- export const zContent = z.object({
220
- content: zContentBlock,
221
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
222
- });
223
- /**
224
- * A diff representing file modifications.
225
- *
226
- * Shows changes to files in a format suitable for display in the client UI.
227
- *
228
- * See protocol docs: [Content](https://agentclientprotocol.com/protocol/tool-calls#content)
229
- */
230
- export const zDiff = z.object({
231
- path: z.string(),
232
- oldText: defaultOnError(z.string().nullish(), () => undefined),
233
- newText: z.string(),
234
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
235
- });
236
- /**
237
- * Typed identifier used for terminal values on the wire.
238
- */
239
- export const zTerminalId = z.string();
240
- /**
241
- * Embed a terminal created with `terminal/create` by its id.
242
- *
243
- * The terminal must be added before calling `terminal/release`.
244
- *
245
- * See protocol docs: [Terminal](https://agentclientprotocol.com/protocol/terminals)
246
- */
247
- export const zTerminal = z.object({
248
- terminalId: zTerminalId,
249
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
250
- });
251
- /**
252
- * Content produced by a tool call.
253
- *
254
- * Tool calls can produce different types of content including
255
- * standard content blocks (text, images) or file diffs.
256
- *
257
- * See protocol docs: [Content](https://agentclientprotocol.com/protocol/tool-calls#content)
258
- */
259
- export const zToolCallContent = z.union([
260
- zContent.and(z.object({
261
- type: z.literal("content"),
262
- })),
263
- zDiff.and(z.object({
264
- type: z.literal("diff"),
265
- })),
266
- zTerminal.and(z.object({
267
- type: z.literal("terminal"),
268
- })),
269
- ]);
270
- /**
271
- * A file location being accessed or modified by a tool.
272
- *
273
- * Enables clients to implement "follow-along" features that track
274
- * which files the agent is working with in real-time.
275
- *
276
- * See protocol docs: [Following the Agent](https://agentclientprotocol.com/protocol/tool-calls#following-the-agent)
277
- */
278
- export const zToolCallLocation = z.object({
279
- path: z.string(),
280
- line: defaultOnError(z
281
- .int()
282
- .gte(0)
283
- .max(4294967295, {
284
- error: "Invalid value: Expected uint32 to be <= 4294967295",
285
- })
286
- .nullish(), () => undefined),
287
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
288
- });
289
- /**
290
- * An update to an existing tool call.
291
- *
292
- * Used to report progress and results as tools execute. All fields except
293
- * the tool call ID are optional - only changed fields need to be included.
294
- *
295
- * See protocol docs: [Updating](https://agentclientprotocol.com/protocol/tool-calls#updating)
296
- */
297
- export const zToolCallUpdate = z.object({
298
- toolCallId: zToolCallId,
299
- kind: defaultOnError(zToolKind.nullish(), () => undefined),
300
- status: defaultOnError(zToolCallStatus.nullish(), () => undefined),
301
- title: defaultOnError(z.string().nullish(), () => undefined),
302
- name: defaultOnError(z.string().nullish(), () => undefined),
303
- content: defaultOnError(vecSkipError(zToolCallContent).nullish(), () => undefined),
304
- locations: defaultOnError(vecSkipError(zToolCallLocation).nullish(), () => undefined),
305
- rawInput: defaultOnError(z.unknown().optional(), () => undefined),
306
- rawOutput: defaultOnError(z.unknown().optional(), () => undefined),
307
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
308
- });
309
- /**
310
- * Unique identifier for a permission option.
311
- */
312
- export const zPermissionOptionId = z.string();
313
- /**
314
- * The type of permission option being presented to the user.
315
- *
316
- * Helps clients choose appropriate icons and UI treatment.
317
- */
318
- export const zPermissionOptionKind = z.union([
319
- z.literal("allow_once"),
320
- z.literal("allow_always"),
321
- z.literal("reject_once"),
322
- z.literal("reject_always"),
323
- ]);
324
- /**
325
- * An option presented to the user when requesting permission.
326
- */
327
- export const zPermissionOption = z.object({
328
- optionId: zPermissionOptionId,
329
- name: z.string(),
330
- kind: zPermissionOptionKind,
331
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
332
- });
333
- /**
334
- * Request for user permission to execute a tool call.
335
- *
336
- * Sent when the agent needs authorization before performing a sensitive operation.
337
- *
338
- * See protocol docs: [Requesting Permission](https://agentclientprotocol.com/protocol/tool-calls#requesting-permission)
339
- */
340
- export const zRequestPermissionRequest = z.object({
341
- sessionId: zSessionId,
342
- toolCall: zToolCallUpdate,
343
- options: z.array(zPermissionOption),
344
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
345
- });
346
- /**
347
- * An environment variable to set when launching an MCP server.
348
- */
349
- export const zEnvVariable = z.object({
350
- name: z.string(),
351
- value: z.string(),
352
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
353
- });
354
- /**
355
- * Request to create a new terminal and execute a command.
356
- */
357
- export const zCreateTerminalRequest = z.object({
358
- sessionId: zSessionId,
359
- command: z.string(),
360
- args: defaultOnError(vecSkipError(z.string()).optional(), () => []),
361
- env: defaultOnError(vecSkipError(zEnvVariable).optional(), () => []),
362
- cwd: defaultOnError(z.string().nullish(), () => undefined),
363
- outputByteLimit: defaultOnError(z.number().nullish(), () => undefined),
364
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
365
- });
366
- /**
367
- * Request to get the current output and status of a terminal.
368
- */
369
- export const zTerminalOutputRequest = z.object({
370
- sessionId: zSessionId,
371
- terminalId: zTerminalId,
372
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
373
- });
374
- /**
375
- * Request to release a terminal and free its resources.
376
- */
377
- export const zReleaseTerminalRequest = z.object({
378
- sessionId: zSessionId,
379
- terminalId: zTerminalId,
380
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
381
- });
382
- /**
383
- * Request to wait for a terminal command to exit.
384
- */
385
- export const zWaitForTerminalExitRequest = z.object({
386
- sessionId: zSessionId,
387
- terminalId: zTerminalId,
388
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
389
- });
390
- /**
391
- * Request to kill a terminal without releasing it.
392
- */
393
- export const zKillTerminalRequest = z.object({
394
- sessionId: zSessionId,
395
- terminalId: zTerminalId,
396
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
397
- });
398
- /**
399
- * **UNSTABLE**
400
- *
401
- * This capability is not part of the spec yet, and may be removed or changed at any point.
402
- *
403
- * Session-scoped elicitation, optionally tied to a specific tool call.
404
- *
405
- * When `tool_call_id` is set, the elicitation is tied to a specific tool call.
406
- * This is useful when an agent receives an elicitation from an MCP server
407
- * during a tool call and needs to redirect it to the user.
408
- *
409
- * @experimental
410
- */
411
- export const zElicitationSessionScope = z.object({
412
- sessionId: zSessionId,
413
- toolCallId: defaultOnError(zToolCallId.nullish(), () => undefined),
414
- });
415
- /**
416
- * **UNSTABLE**
417
- *
418
- * This capability is not part of the spec yet, and may be removed or changed at any point.
419
- *
420
- * Request-scoped elicitation, tied to a specific JSON-RPC request outside of a session
421
- * (e.g., during auth/configuration phases before any session is started).
422
- *
423
- * @experimental
424
- */
425
- export const zElicitationRequestScope = z.object({
426
- requestId: zRequestId,
427
- });
428
- /**
429
- * Object schema type.
430
- */
431
- export const zElicitationSchemaType = z.literal("object");
432
- /**
433
- * String format types for string properties in elicitation schemas.
434
- */
435
- export const zStringFormat = z.union([
436
- z.literal("email"),
437
- z.literal("uri"),
438
- z.literal("date"),
439
- z.literal("date-time"),
440
- ]);
441
- /**
442
- * A titled enum option with a const value, human-readable title, and optional description.
443
- */
444
- export const zEnumOption = z.object({
445
- const: z.string(),
446
- title: z.string(),
447
- description: defaultOnError(z.string().nullish(), () => undefined),
448
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
449
- });
450
- /**
451
- * Schema for string properties in an elicitation form.
452
- *
453
- * When `enum` or `oneOf` is set, this represents a single-select enum
454
- * with `"type": "string"`.
455
- */
456
- export const zStringPropertySchema = z.object({
457
- title: defaultOnError(z.string().nullish(), () => undefined),
458
- description: defaultOnError(z.string().nullish(), () => undefined),
459
- minLength: z
460
- .int()
461
- .gte(0)
462
- .max(4294967295, {
463
- error: "Invalid value: Expected uint32 to be <= 4294967295",
464
- })
465
- .nullish(),
466
- maxLength: z
467
- .int()
468
- .gte(0)
469
- .max(4294967295, {
470
- error: "Invalid value: Expected uint32 to be <= 4294967295",
471
- })
472
- .nullish(),
473
- pattern: z.string().nullish(),
474
- format: zStringFormat.nullish(),
475
- default: defaultOnError(z.string().nullish(), () => undefined),
476
- enum: z.array(z.string()).nullish(),
477
- oneOf: z.array(zEnumOption).nullish(),
478
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
479
- });
480
- /**
481
- * Schema for number (floating-point) properties in an elicitation form.
482
- */
483
- export const zNumberPropertySchema = z.object({
484
- title: defaultOnError(z.string().nullish(), () => undefined),
485
- description: defaultOnError(z.string().nullish(), () => undefined),
486
- minimum: z.number().nullish(),
487
- maximum: z.number().nullish(),
488
- default: defaultOnError(z.number().nullish(), () => undefined),
489
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
490
- });
491
- /**
492
- * Schema for integer properties in an elicitation form.
493
- */
494
- export const zIntegerPropertySchema = z.object({
495
- title: defaultOnError(z.string().nullish(), () => undefined),
496
- description: defaultOnError(z.string().nullish(), () => undefined),
497
- minimum: z.number().nullish(),
498
- maximum: z.number().nullish(),
499
- default: defaultOnError(z.number().nullish(), () => undefined),
500
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
501
- });
502
- /**
503
- * Schema for boolean properties in an elicitation form.
504
- */
505
- export const zBooleanPropertySchema = z.object({
506
- title: defaultOnError(z.string().nullish(), () => undefined),
507
- description: defaultOnError(z.string().nullish(), () => undefined),
508
- default: defaultOnError(z.boolean().nullish(), () => undefined),
509
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
510
- });
511
- /**
512
- * String item schema for multi-select enum properties.
513
- */
514
- export const zStringMultiSelectItems = z.object({
515
- enum: z.array(z.string()),
516
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
517
- });
518
- /**
519
- * Items definition for titled multi-select enum properties.
520
- */
521
- export const zTitledMultiSelectItems = z.object({
522
- anyOf: z.array(zEnumOption),
523
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
524
- });
525
- /**
526
- * Items for a multi-select (array) property schema.
527
- *
528
- * Custom variants (unknown `type` values) keep their extra
529
- * properties exactly as received; unlike known variants, those keys
530
- * bypass lenient-field salvage and arrive unvalidated.
531
- */
532
- export const zMultiSelectItems = preserveCustomPayload(z.union([
533
- zStringMultiSelectItems.and(z.object({
534
- type: z.literal("string"),
535
- })),
536
- excludeKnownTags(z.object({
537
- type: z.string(),
538
- }), "type", ["string"]),
539
- zTitledMultiSelectItems,
540
- ]), "type", ["string"]);
541
- /**
542
- * Schema for multi-select (array) properties in an elicitation form.
543
- */
544
- export const zMultiSelectPropertySchema = z.object({
545
- title: defaultOnError(z.string().nullish(), () => undefined),
546
- description: defaultOnError(z.string().nullish(), () => undefined),
547
- minItems: z.number().nullish(),
548
- maxItems: z.number().nullish(),
549
- items: zMultiSelectItems,
550
- default: defaultOnError(vecSkipError(z.string()).nullish(), () => undefined),
551
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
552
- });
553
- /**
554
- * Property schema for elicitation form fields.
555
- *
556
- * Each variant corresponds to a JSON Schema `"type"` value.
557
- * Single-select enums use the `String` variant with `enum` or `oneOf` set.
558
- * Multi-select enums use the `Array` variant.
559
- *
560
- * Custom variants (unknown `type` values) keep their extra
561
- * properties exactly as received; unlike known variants, those keys
562
- * bypass lenient-field salvage and arrive unvalidated.
563
- */
564
- export const zElicitationPropertySchema = preserveCustomPayload(z.union([
565
- zStringPropertySchema.and(z.object({
566
- type: z.literal("string"),
567
- })),
568
- zNumberPropertySchema.and(z.object({
569
- type: z.literal("number"),
570
- })),
571
- zIntegerPropertySchema.and(z.object({
572
- type: z.literal("integer"),
573
- })),
574
- zBooleanPropertySchema.and(z.object({
575
- type: z.literal("boolean"),
576
- })),
577
- zMultiSelectPropertySchema.and(z.object({
578
- type: z.literal("array"),
579
- })),
580
- excludeKnownTags(z.object({
581
- type: z.string(),
582
- }), "type", ["array", "boolean", "integer", "number", "string"]),
583
- ]), "type", ["array", "boolean", "integer", "number", "string"]);
584
- /**
585
- * Type-safe elicitation schema for requesting structured user input.
586
- *
587
- * This represents a JSON Schema object with primitive-typed properties,
588
- * as required by the elicitation specification.
589
- */
590
- export const zElicitationSchema = z.object({
591
- type: defaultOnError(zElicitationSchemaType.optional().default("object"), () => "object"),
592
- title: defaultOnError(z.string().nullish(), () => undefined),
593
- properties: z
594
- .record(z.string(), zElicitationPropertySchema)
595
- .optional()
596
- .default({}),
597
- required: z.array(z.string()).nullish(),
598
- description: defaultOnError(z.string().nullish(), () => undefined),
599
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
600
- });
601
- /**
602
- * **UNSTABLE**
603
- *
604
- * This capability is not part of the spec yet, and may be removed or changed at any point.
605
- *
606
- * Form-based elicitation mode where the client renders a form from the provided schema.
607
- *
608
- * @experimental
609
- */
610
- export const zElicitationFormMode = z.intersection(z.union([zElicitationSessionScope, zElicitationRequestScope]), z.object({
611
- requestedSchema: zElicitationSchema,
612
- }));
613
- /**
614
- * **UNSTABLE**
615
- *
616
- * This capability is not part of the spec yet, and may be removed or changed at any point.
617
- *
618
- * Unique identifier for an elicitation.
619
- *
620
- * @experimental
621
- */
622
- export const zElicitationId = z.string();
623
- /**
624
- * **UNSTABLE**
625
- *
626
- * This capability is not part of the spec yet, and may be removed or changed at any point.
627
- *
628
- * URL-based elicitation mode where the client directs the user to a URL.
629
- *
630
- * @experimental
631
- */
632
- export const zElicitationUrlMode = z.intersection(z.union([zElicitationSessionScope, zElicitationRequestScope]), z.object({
633
- elicitationId: zElicitationId,
634
- url: z.url(),
635
- }));
636
- /**
637
- * **UNSTABLE**
638
- *
639
- * This capability is not part of the spec yet, and may be removed or changed at any point.
640
- *
641
- * Request from the agent to elicit structured user input.
642
- *
643
- * The agent sends this to the client to request information from the user,
644
- * either via a form or by directing them to a URL.
645
- * Elicitations are tied to a session (optionally a tool call) or a request.
646
- *
647
- * @experimental
648
- *
649
- * Custom variants (unknown `mode` values) keep their extra
650
- * properties exactly as received; unlike known variants, those keys
651
- * bypass lenient-field salvage and arrive unvalidated.
652
- */
653
- export const zCreateElicitationRequest = preserveCustomPayload(z.intersection(z.union([
654
- zElicitationFormMode.and(z.object({
655
- mode: z.literal("form"),
656
- })),
657
- zElicitationUrlMode.and(z.object({
658
- mode: z.literal("url"),
659
- })),
660
- excludeKnownTags(z.intersection(z.union([zElicitationSessionScope, zElicitationRequestScope]), z.object({
661
- mode: z.string(),
662
- })), "mode", ["form", "url"]),
663
- ]), z.object({
664
- message: z.string(),
665
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
666
- })), "mode", ["form", "url"]);
667
- /**
668
- * **UNSTABLE**
669
- *
670
- * This capability is not part of the spec yet, and may be removed or changed at any point.
671
- *
672
- * Unique identifier for an MCP server using the ACP transport.
673
- *
674
- * The value is opaque and generated by the ACP component providing the MCP server. It is
675
- * used by `mcp/connect` to route connection requests back to the component that declared the
676
- * server.
677
- *
678
- * @experimental
679
- */
680
- export const zMcpServerAcpId = z.string();
681
- /**
682
- * **UNSTABLE**
683
- *
684
- * This capability is not part of the spec yet, and may be removed or changed at any point.
685
- *
686
- * Request parameters for `mcp/connect`.
687
- *
688
- * @experimental
689
- */
690
- export const zConnectMcpRequest = z.object({
691
- serverId: zMcpServerAcpId,
692
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
693
- });
694
- /**
695
- * **UNSTABLE**
696
- *
697
- * This capability is not part of the spec yet, and may be removed or changed at any point.
698
- *
699
- * A unique identifier for an active MCP-over-ACP connection.
700
- *
701
- * @experimental
702
- */
703
- export const zMcpConnectionId = z.string();
704
- /**
705
- * **UNSTABLE**
706
- *
707
- * This capability is not part of the spec yet, and may be removed or changed at any point.
708
- *
709
- * Request parameters for `mcp/message`.
710
- *
711
- * @experimental
712
- */
713
- export const zMessageMcpRequest = z.object({
714
- connectionId: zMcpConnectionId,
715
- method: z.string(),
716
- params: z.record(z.string(), z.unknown()).nullish(),
717
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
718
- });
719
- /**
720
- * **UNSTABLE**
721
- *
722
- * This capability is not part of the spec yet, and may be removed or changed at any point.
723
- *
724
- * Request parameters for `mcp/disconnect`.
725
- *
726
- * @experimental
727
- */
728
- export const zDisconnectMcpRequest = z.object({
729
- connectionId: zMcpConnectionId,
730
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
731
- });
732
- /**
733
- * Allows for sending an arbitrary request that is not part of the ACP spec.
734
- * Extension methods provide a way to add custom functionality while maintaining
735
- * protocol compatibility.
736
- *
737
- * See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)
738
- */
739
- export const zExtRequest = z.unknown();
740
- /**
741
- * A JSON-RPC request object.
742
- */
743
- export const zAgentRequest = z.object({
744
- id: zRequestId,
745
- method: z.string(),
746
- params: z
747
- .union([
748
- zWriteTextFileRequest,
749
- zReadTextFileRequest,
750
- zRequestPermissionRequest,
751
- zCreateTerminalRequest,
752
- zTerminalOutputRequest,
753
- zReleaseTerminalRequest,
754
- zWaitForTerminalExitRequest,
755
- zKillTerminalRequest,
756
- zCreateElicitationRequest,
757
- zConnectMcpRequest,
758
- zMessageMcpRequest,
759
- zDisconnectMcpRequest,
760
- zExtRequest,
761
- ])
762
- .nullish(),
763
- });
764
- /**
765
- * Protocol version identifier.
766
- *
767
- * This version is only bumped for breaking changes.
768
- * Non-breaking changes should be introduced via capabilities.
769
- */
770
- export const zProtocolVersion = z.int().gte(0).lte(65535);
771
- /**
772
- * Prompt capabilities supported by the agent in `session/prompt` requests.
773
- *
774
- * Baseline agent functionality requires support for [`ContentBlock::Text`]
775
- * and [`ContentBlock::ResourceLink`] in prompt requests.
776
- *
777
- * Other variants must be explicitly opted in to.
778
- * Capabilities for different types of content in prompt requests.
779
- *
780
- * Indicates which content types beyond the baseline (text and resource links)
781
- * the agent can process.
782
- *
783
- * See protocol docs: [Prompt Capabilities](https://agentclientprotocol.com/protocol/initialization#prompt-capabilities)
784
- */
785
- export const zPromptCapabilities = z.object({
786
- image: defaultOnError(z.boolean().optional().default(false), () => false),
787
- audio: defaultOnError(z.boolean().optional().default(false), () => false),
788
- embeddedContext: defaultOnError(z.boolean().optional().default(false), () => false),
789
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
790
- });
791
- /**
792
- * MCP capabilities supported by the agent
793
- */
794
- export const zMcpCapabilities = z.object({
795
- http: defaultOnError(z.boolean().optional().default(false), () => false),
796
- sse: defaultOnError(z.boolean().optional().default(false), () => false),
797
- acp: defaultOnError(z.boolean().optional().default(false), () => false),
798
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
799
- });
800
- /**
801
- * Capabilities for the `session/list` method.
802
- *
803
- * Supplying `{}` means the agent supports listing sessions.
804
- */
805
- export const zSessionListCapabilities = z.object({
806
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
807
- });
808
- /**
809
- * Capabilities for the `session/delete` method.
810
- *
811
- * Supplying `{}` means the agent supports deleting sessions from `session/list`.
812
- */
813
- export const zSessionDeleteCapabilities = z.object({
814
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
815
- });
816
- /**
817
- * Capabilities for additional session directories support.
818
- *
819
- * Supplying `{}` means the agent supports the `additionalDirectories` field on
820
- * supported session lifecycle requests. Agents that also support
821
- * `session/list` may return `SessionInfo.additionalDirectories` to report the
822
- * complete ordered additional-root list associated with a listed session.
823
- */
824
- export const zSessionAdditionalDirectoriesCapabilities = z.object({
825
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
826
- });
827
- /**
828
- * **UNSTABLE**
829
- *
830
- * This capability is not part of the spec yet, and may be removed or changed at any point.
831
- *
832
- * Capabilities for the `session/fork` method.
833
- *
834
- * Supplying `{}` means the agent supports forking sessions.
835
- *
836
- * @experimental
837
- */
838
- export const zSessionForkCapabilities = z.object({
839
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
840
- });
841
- /**
842
- * Capabilities for the `session/resume` method.
843
- *
844
- * Supplying `{}` means the agent supports resuming sessions.
845
- */
846
- export const zSessionResumeCapabilities = z.object({
847
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
848
- });
849
- /**
850
- * Capabilities for the `session/close` method.
851
- *
852
- * Supplying `{}` means the agent supports closing sessions.
853
- */
854
- export const zSessionCloseCapabilities = z.object({
855
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
856
- });
857
- /**
858
- * Session capabilities supported by the agent.
859
- *
860
- * As a baseline, all Agents **MUST** support `session/new`, `session/prompt`, `session/cancel`, and `session/update`.
861
- *
862
- * Optionally, they **MAY** support other session methods and notifications by specifying additional capabilities.
863
- *
864
- * Note: `session/load` is still handled by the top-level `load_session` capability. This will be unified in future versions of the protocol.
865
- *
866
- * See protocol docs: [Session Capabilities](https://agentclientprotocol.com/protocol/initialization#session-capabilities)
867
- */
868
- export const zSessionCapabilities = z.object({
869
- list: defaultOnError(zSessionListCapabilities.nullish(), () => undefined),
870
- delete: defaultOnError(zSessionDeleteCapabilities.nullish(), () => undefined),
871
- additionalDirectories: defaultOnError(zSessionAdditionalDirectoriesCapabilities.nullish(), () => undefined),
872
- fork: defaultOnError(zSessionForkCapabilities.nullish(), () => undefined),
873
- resume: defaultOnError(zSessionResumeCapabilities.nullish(), () => undefined),
874
- close: defaultOnError(zSessionCloseCapabilities.nullish(), () => undefined),
875
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
876
- });
877
- /**
878
- * Logout capabilities supported by the agent.
879
- *
880
- * Supplying `{}` means the agent supports the logout method.
881
- */
882
- export const zLogoutCapabilities = z.object({
883
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
884
- });
885
- /**
886
- * Authentication-related capabilities supported by the agent.
887
- */
888
- export const zAgentAuthCapabilities = z.object({
889
- logout: defaultOnError(zLogoutCapabilities.nullish(), () => undefined),
890
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
891
- });
892
- /**
893
- * **UNSTABLE**
894
- *
895
- * This capability is not part of the spec yet, and may be removed or changed at any point.
896
- *
897
- * Provider configuration capabilities supported by the agent.
898
- *
899
- * Supplying `{}` means the agent supports provider configuration methods.
900
- *
901
- * @experimental
902
- */
903
- export const zProvidersCapabilities = z.object({
904
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
905
- });
906
- /**
907
- * Marker for `document/didOpen` capability support.
908
- */
909
- export const zNesDocumentDidOpenCapabilities = z.object({
910
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
911
- });
912
- /**
913
- * How the agent wants document changes delivered.
914
- */
915
- export const zTextDocumentSyncKind = z.union([
916
- z.literal("full"),
917
- z.literal("incremental"),
918
- ]);
919
- /**
920
- * Capabilities for `document/didChange` events.
921
- */
922
- export const zNesDocumentDidChangeCapabilities = z.object({
923
- syncKind: zTextDocumentSyncKind,
924
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
925
- });
926
- /**
927
- * Marker for `document/didClose` capability support.
928
- */
929
- export const zNesDocumentDidCloseCapabilities = z.object({
930
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
931
- });
932
- /**
933
- * Marker for `document/didSave` capability support.
934
- */
935
- export const zNesDocumentDidSaveCapabilities = z.object({
936
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
937
- });
938
- /**
939
- * Marker for `document/didFocus` capability support.
940
- */
941
- export const zNesDocumentDidFocusCapabilities = z.object({
942
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
943
- });
944
- /**
945
- * Document event capabilities the agent wants to receive.
946
- */
947
- export const zNesDocumentEventCapabilities = z.object({
948
- didOpen: defaultOnError(zNesDocumentDidOpenCapabilities.nullish(), () => undefined),
949
- didChange: defaultOnError(zNesDocumentDidChangeCapabilities.nullish(), () => undefined),
950
- didClose: defaultOnError(zNesDocumentDidCloseCapabilities.nullish(), () => undefined),
951
- didSave: defaultOnError(zNesDocumentDidSaveCapabilities.nullish(), () => undefined),
952
- didFocus: defaultOnError(zNesDocumentDidFocusCapabilities.nullish(), () => undefined),
953
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
954
- });
955
- /**
956
- * Event capabilities the agent can consume.
957
- */
958
- export const zNesEventCapabilities = z.object({
959
- document: defaultOnError(zNesDocumentEventCapabilities.nullish(), () => undefined),
960
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
961
- });
962
- /**
963
- * Capabilities for recent files context.
964
- */
965
- export const zNesRecentFilesCapabilities = z.object({
966
- maxCount: defaultOnError(z
967
- .int()
968
- .gte(0)
969
- .max(4294967295, {
970
- error: "Invalid value: Expected uint32 to be <= 4294967295",
971
- })
972
- .nullish(), () => undefined),
973
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
974
- });
975
- /**
976
- * Capabilities for related snippets context.
977
- */
978
- export const zNesRelatedSnippetsCapabilities = z.object({
979
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
980
- });
981
- /**
982
- * Capabilities for edit history context.
983
- */
984
- export const zNesEditHistoryCapabilities = z.object({
985
- maxCount: defaultOnError(z
986
- .int()
987
- .gte(0)
988
- .max(4294967295, {
989
- error: "Invalid value: Expected uint32 to be <= 4294967295",
990
- })
991
- .nullish(), () => undefined),
992
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
993
- });
994
- /**
995
- * Capabilities for user actions context.
996
- */
997
- export const zNesUserActionsCapabilities = z.object({
998
- maxCount: defaultOnError(z
999
- .int()
1000
- .gte(0)
1001
- .max(4294967295, {
1002
- error: "Invalid value: Expected uint32 to be <= 4294967295",
1003
- })
1004
- .nullish(), () => undefined),
1005
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1006
- });
1007
- /**
1008
- * Capabilities for open files context.
1009
- */
1010
- export const zNesOpenFilesCapabilities = z.object({
1011
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1012
- });
1013
- /**
1014
- * Capabilities for diagnostics context.
1015
- */
1016
- export const zNesDiagnosticsCapabilities = z.object({
1017
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1018
- });
1019
- /**
1020
- * Context capabilities the agent wants attached to each suggestion request.
1021
- */
1022
- export const zNesContextCapabilities = z.object({
1023
- recentFiles: defaultOnError(zNesRecentFilesCapabilities.nullish(), () => undefined),
1024
- relatedSnippets: defaultOnError(zNesRelatedSnippetsCapabilities.nullish(), () => undefined),
1025
- editHistory: defaultOnError(zNesEditHistoryCapabilities.nullish(), () => undefined),
1026
- userActions: defaultOnError(zNesUserActionsCapabilities.nullish(), () => undefined),
1027
- openFiles: defaultOnError(zNesOpenFilesCapabilities.nullish(), () => undefined),
1028
- diagnostics: defaultOnError(zNesDiagnosticsCapabilities.nullish(), () => undefined),
1029
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1030
- });
1031
- /**
1032
- * NES capabilities advertised by the agent during initialization.
1033
- */
1034
- export const zNesCapabilities = z.object({
1035
- events: defaultOnError(zNesEventCapabilities.nullish(), () => undefined),
1036
- context: defaultOnError(zNesContextCapabilities.nullish(), () => undefined),
1037
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1038
- });
1039
- /**
1040
- * The encoding used for character offsets in positions.
1041
- *
1042
- * Follows the same conventions as LSP 3.17. The default is UTF-16.
1043
- */
1044
- export const zPositionEncodingKind = z.union([
1045
- z.literal("utf-16"),
1046
- z.literal("utf-32"),
1047
- z.literal("utf-8"),
1048
- ]);
1049
- /**
1050
- * Capabilities supported by the agent.
1051
- *
1052
- * Advertised during initialization to inform the client about
1053
- * available features and content types.
1054
- *
1055
- * See protocol docs: [Agent Capabilities](https://agentclientprotocol.com/protocol/initialization#agent-capabilities)
1056
- */
1057
- export const zAgentCapabilities = z.object({
1058
- loadSession: defaultOnError(z.boolean().optional().default(false), () => false),
1059
- promptCapabilities: defaultOnError(zPromptCapabilities.optional().default({
1060
- image: false,
1061
- audio: false,
1062
- embeddedContext: false,
1063
- }), () => ({
1064
- image: false,
1065
- audio: false,
1066
- embeddedContext: false,
1067
- })),
1068
- mcpCapabilities: defaultOnError(zMcpCapabilities.optional().default({
1069
- http: false,
1070
- sse: false,
1071
- acp: false,
1072
- }), () => ({
1073
- http: false,
1074
- sse: false,
1075
- acp: false,
1076
- })),
1077
- sessionCapabilities: defaultOnError(zSessionCapabilities.optional().default({}), () => ({})),
1078
- auth: defaultOnError(zAgentAuthCapabilities.optional().default({}), () => ({})),
1079
- providers: defaultOnError(zProvidersCapabilities.nullish(), () => undefined),
1080
- nes: defaultOnError(zNesCapabilities.nullish(), () => undefined),
1081
- positionEncoding: defaultOnError(zPositionEncodingKind.nullish(), () => undefined),
1082
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1083
- });
1084
- /**
1085
- * Typed identifier used for auth method values on the wire.
1086
- */
1087
- export const zAuthMethodId = z.string();
1088
- /**
1089
- * **UNSTABLE**
1090
- *
1091
- * This capability is not part of the spec yet, and may be removed or changed at any point.
1092
- *
1093
- * Describes a single environment variable for an [`AuthMethodEnvVar`] authentication method.
1094
- *
1095
- * @experimental
1096
- */
1097
- export const zAuthEnvVar = z.object({
1098
- name: z.string(),
1099
- label: defaultOnError(z.string().nullish(), () => undefined),
1100
- secret: defaultOnError(z.boolean().optional().default(true), () => true),
1101
- optional: defaultOnError(z.boolean().optional().default(false), () => false),
1102
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1103
- });
1104
- /**
1105
- * **UNSTABLE**
1106
- *
1107
- * This capability is not part of the spec yet, and may be removed or changed at any point.
1108
- *
1109
- * Environment variable authentication method.
1110
- *
1111
- * The user provides credentials that the client passes to the agent as environment variables.
1112
- *
1113
- * @experimental
1114
- */
1115
- export const zAuthMethodEnvVar = z.object({
1116
- id: zAuthMethodId,
1117
- name: z.string(),
1118
- description: defaultOnError(z.string().nullish(), () => undefined),
1119
- vars: requiredDefaultOnError(vecSkipError(zAuthEnvVar), () => []),
1120
- link: defaultOnError(z.string().nullish(), () => undefined),
1121
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1122
- });
1123
- /**
1124
- * **UNSTABLE**
1125
- *
1126
- * This capability is not part of the spec yet, and may be removed or changed at any point.
1127
- *
1128
- * Terminal-based authentication method.
1129
- *
1130
- * The client runs an interactive terminal for the user to authenticate via a TUI.
1131
- *
1132
- * @experimental
1133
- */
1134
- export const zAuthMethodTerminal = z.object({
1135
- id: zAuthMethodId,
1136
- name: z.string(),
1137
- description: defaultOnError(z.string().nullish(), () => undefined),
1138
- args: defaultOnError(vecSkipError(z.string()).optional(), () => []),
1139
- env: defaultOnError(z.record(z.string(), z.string()).optional(), () => undefined),
1140
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1141
- });
1142
- /**
1143
- * Agent handles authentication itself.
1144
- *
1145
- * This is the default authentication method type.
1146
- */
1147
- export const zAuthMethodAgent = z.object({
1148
- id: zAuthMethodId,
1149
- name: z.string(),
1150
- description: defaultOnError(z.string().nullish(), () => undefined),
1151
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1152
- });
1153
- /**
1154
- * Describes an available authentication method.
1155
- *
1156
- * The `type` field acts as the discriminator in the serialized JSON form.
1157
- * When no `type` is present, the method is treated as `agent`.
1158
- */
1159
- export const zAuthMethod = z.union([
1160
- zAuthMethodEnvVar.and(z.object({
1161
- type: z.literal("env_var"),
1162
- })),
1163
- zAuthMethodTerminal.and(z.object({
1164
- type: z.literal("terminal"),
1165
- })),
1166
- zAuthMethodAgent,
1167
- ]);
1168
- /**
1169
- * Metadata about the implementation of the client or agent.
1170
- * Describes the name and version of an ACP implementation, with an optional
1171
- * title for UI representation.
1172
- */
1173
- export const zImplementation = z.object({
1174
- name: z.string(),
1175
- title: defaultOnError(z.string().nullish(), () => undefined),
1176
- version: z.string(),
1177
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1178
- });
1179
- /**
1180
- * Response to the `initialize` method.
1181
- *
1182
- * Contains the negotiated protocol version and agent capabilities.
1183
- *
1184
- * See protocol docs: [Initialization](https://agentclientprotocol.com/protocol/initialization)
1185
- */
1186
- export const zInitializeResponse = z.object({
1187
- protocolVersion: zProtocolVersion,
1188
- agentCapabilities: defaultOnError(zAgentCapabilities.optional().default({
1189
- loadSession: false,
1190
- promptCapabilities: {
1191
- image: false,
1192
- audio: false,
1193
- embeddedContext: false,
1194
- },
1195
- mcpCapabilities: {
1196
- http: false,
1197
- sse: false,
1198
- acp: false,
1199
- },
1200
- sessionCapabilities: {},
1201
- auth: {},
1202
- }), () => ({
1203
- loadSession: false,
1204
- promptCapabilities: {
1205
- image: false,
1206
- audio: false,
1207
- embeddedContext: false,
1208
- },
1209
- mcpCapabilities: {
1210
- http: false,
1211
- sse: false,
1212
- acp: false,
1213
- },
1214
- sessionCapabilities: {},
1215
- auth: {},
1216
- })),
1217
- authMethods: defaultOnError(vecSkipError(zAuthMethod).optional().default([]), () => []),
1218
- agentInfo: defaultOnError(zImplementation.nullish(), () => undefined),
1219
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1220
- });
1221
- /**
1222
- * Response to the `authenticate` method.
1223
- */
1224
- export const zAuthenticateResponse = z.object({
1225
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1226
- });
1227
- /**
1228
- * **UNSTABLE**
1229
- *
1230
- * This capability is not part of the spec yet, and may be removed or changed at any point.
1231
- *
1232
- * Unique identifier for a configurable LLM provider.
1233
- *
1234
- * @experimental
1235
- */
1236
- export const zProviderId = z.string();
1237
- /**
1238
- * **UNSTABLE**
1239
- *
1240
- * This capability is not part of the spec yet, and may be removed or changed at any point.
1241
- *
1242
- * Well-known API protocol identifiers for LLM providers.
1243
- *
1244
- * Agents and clients MUST handle unknown protocol identifiers gracefully.
1245
- *
1246
- * Protocol names beginning with `_` are free for custom use, like other ACP extension methods.
1247
- * Protocol names that do not begin with `_` are reserved for the ACP spec.
1248
- *
1249
- * @experimental
1250
- */
1251
- export const zLlmProtocol = z.union([
1252
- z.literal("anthropic"),
1253
- z.literal("openai"),
1254
- z.literal("azure"),
1255
- z.literal("vertex"),
1256
- z.literal("bedrock"),
1257
- z.string(),
1258
- ]);
1259
- /**
1260
- * **UNSTABLE**
1261
- *
1262
- * This capability is not part of the spec yet, and may be removed or changed at any point.
1263
- *
1264
- * Current effective non-secret routing configuration for a provider.
1265
- *
1266
- * @experimental
1267
- */
1268
- export const zProviderCurrentConfig = z.object({
1269
- apiType: zLlmProtocol,
1270
- baseUrl: z.string(),
1271
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1272
- });
1273
- /**
1274
- * **UNSTABLE**
1275
- *
1276
- * This capability is not part of the spec yet, and may be removed or changed at any point.
1277
- *
1278
- * Information about a configurable LLM provider.
1279
- *
1280
- * @experimental
1281
- */
1282
- export const zProviderInfo = z.object({
1283
- providerId: zProviderId,
1284
- supported: requiredDefaultOnError(vecSkipError(zLlmProtocol), () => []),
1285
- required: z.boolean(),
1286
- current: zProviderCurrentConfig.nullish(),
1287
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1288
- });
1289
- /**
1290
- * **UNSTABLE**
1291
- *
1292
- * This capability is not part of the spec yet, and may be removed or changed at any point.
1293
- *
1294
- * Response to `providers/list`.
1295
- *
1296
- * @experimental
1297
- */
1298
- export const zListProvidersResponse = z.object({
1299
- providers: z.array(zProviderInfo),
1300
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1301
- });
1302
- /**
1303
- * **UNSTABLE**
1304
- *
1305
- * This capability is not part of the spec yet, and may be removed or changed at any point.
1306
- *
1307
- * Response to `providers/set`.
1308
- *
1309
- * @experimental
1310
- */
1311
- export const zSetProviderResponse = z.object({
1312
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1313
- });
1314
- /**
1315
- * **UNSTABLE**
1316
- *
1317
- * This capability is not part of the spec yet, and may be removed or changed at any point.
1318
- *
1319
- * Response to `providers/disable`.
1320
- *
1321
- * @experimental
1322
- */
1323
- export const zDisableProviderResponse = z.object({
1324
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1325
- });
1326
- /**
1327
- * Response to the `logout` method.
1328
- */
1329
- export const zLogoutResponse = z.object({
1330
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1331
- });
1332
- /**
1333
- * Unique identifier for a Session Mode.
1334
- */
1335
- export const zSessionModeId = z.string();
1336
- /**
1337
- * A mode the agent can operate in.
1338
- *
1339
- * See protocol docs: [Session Modes](https://agentclientprotocol.com/protocol/session-modes)
1340
- */
1341
- export const zSessionMode = z.object({
1342
- id: zSessionModeId,
1343
- name: z.string(),
1344
- description: defaultOnError(z.string().nullish(), () => undefined),
1345
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1346
- });
1347
- /**
1348
- * The set of modes and the one currently active.
1349
- */
1350
- export const zSessionModeState = z.object({
1351
- currentModeId: zSessionModeId,
1352
- availableModes: requiredDefaultOnError(vecSkipError(zSessionMode), () => []),
1353
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1354
- });
1355
- /**
1356
- * Unique identifier for a session configuration option.
1357
- */
1358
- export const zSessionConfigId = z.string();
1359
- /**
1360
- * Semantic category for a session configuration option.
1361
- *
1362
- * This is intended to help Clients distinguish broadly common selectors (e.g. model selector vs
1363
- * session mode selector vs thought/reasoning level) for UX purposes (keyboard shortcuts, icons,
1364
- * placement). It MUST NOT be required for correctness. Clients MUST handle missing or unknown
1365
- * categories gracefully.
1366
- *
1367
- * Category names beginning with `_` are free for custom use, like other ACP extension methods.
1368
- * Category names that do not begin with `_` are reserved for the ACP spec.
1369
- */
1370
- export const zSessionConfigOptionCategory = z.union([
1371
- z.literal("mode"),
1372
- z.literal("model"),
1373
- z.literal("model_config"),
1374
- z.literal("thought_level"),
1375
- z.string(),
1376
- ]);
1377
- /**
1378
- * Unique identifier for a session configuration option value.
1379
- */
1380
- export const zSessionConfigValueId = z.string();
1381
- /**
1382
- * A possible value for a session configuration option.
1383
- */
1384
- export const zSessionConfigSelectOption = z.object({
1385
- value: zSessionConfigValueId,
1386
- name: z.string(),
1387
- description: defaultOnError(z.string().nullish(), () => undefined),
1388
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1389
- });
1390
- /**
1391
- * Unique identifier for a session configuration option value group.
1392
- */
1393
- export const zSessionConfigGroupId = z.string();
1394
- /**
1395
- * A group of possible values for a session configuration option.
1396
- */
1397
- export const zSessionConfigSelectGroup = z.object({
1398
- group: zSessionConfigGroupId,
1399
- name: z.string(),
1400
- options: requiredDefaultOnError(vecSkipError(zSessionConfigSelectOption), () => []),
1401
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1402
- });
1403
- /**
1404
- * Possible values for a session configuration option.
1405
- */
1406
- export const zSessionConfigSelectOptions = z.union([
1407
- z.array(zSessionConfigSelectOption),
1408
- z.array(zSessionConfigSelectGroup),
1409
- ]);
1410
- /**
1411
- * A single-value selector (dropdown) session configuration option payload.
1412
- */
1413
- export const zSessionConfigSelect = z.object({
1414
- currentValue: zSessionConfigValueId,
1415
- options: zSessionConfigSelectOptions,
1416
- });
1417
- /**
1418
- * A boolean on/off toggle session configuration option payload.
1419
- */
1420
- export const zSessionConfigBoolean = z.object({
1421
- currentValue: z.boolean(),
1422
- });
1423
- /**
1424
- * A session configuration option selector and its current state.
1425
- */
1426
- export const zSessionConfigOption = z.intersection(z.union([
1427
- zSessionConfigSelect.and(z.object({
1428
- type: z.literal("select"),
1429
- })),
1430
- zSessionConfigBoolean.and(z.object({
1431
- type: z.literal("boolean"),
1432
- })),
1433
- ]), z.object({
1434
- id: zSessionConfigId,
1435
- name: z.string(),
1436
- description: defaultOnError(z.string().nullish(), () => undefined),
1437
- category: defaultOnError(zSessionConfigOptionCategory.nullish(), () => undefined),
1438
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1439
- }));
1440
- /**
1441
- * Response from creating a new session.
1442
- *
1443
- * See protocol docs: [Creating a Session](https://agentclientprotocol.com/protocol/session-setup#creating-a-session)
1444
- */
1445
- export const zNewSessionResponse = z.object({
1446
- sessionId: zSessionId,
1447
- modes: defaultOnError(zSessionModeState.nullish(), () => undefined),
1448
- configOptions: defaultOnError(vecSkipError(zSessionConfigOption).nullish(), () => undefined),
1449
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1450
- });
1451
- /**
1452
- * Response from loading an existing session.
1453
- */
1454
- export const zLoadSessionResponse = z.object({
1455
- modes: defaultOnError(zSessionModeState.nullish(), () => undefined),
1456
- configOptions: defaultOnError(vecSkipError(zSessionConfigOption).nullish(), () => undefined),
1457
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1458
- });
1459
- /**
1460
- * Information about a session returned by session/list
1461
- */
1462
- export const zSessionInfo = z.object({
1463
- sessionId: zSessionId,
1464
- cwd: z.string(),
1465
- additionalDirectories: defaultOnError(vecSkipError(z.string()).optional(), () => []),
1466
- title: defaultOnError(z.string().nullish(), () => undefined),
1467
- updatedAt: defaultOnError(z.string().nullish(), () => undefined),
1468
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1469
- });
1470
- /**
1471
- * Response from listing sessions.
1472
- */
1473
- export const zListSessionsResponse = z.object({
1474
- sessions: requiredDefaultOnError(vecSkipError(zSessionInfo), () => []),
1475
- nextCursor: defaultOnError(z.string().nullish(), () => undefined),
1476
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1477
- });
1478
- /**
1479
- * Response from deleting a session.
1480
- */
1481
- export const zDeleteSessionResponse = z.object({
1482
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1483
- });
1484
- /**
1485
- * **UNSTABLE**
1486
- *
1487
- * This capability is not part of the spec yet, and may be removed or changed at any point.
1488
- *
1489
- * Response from forking an existing session.
1490
- *
1491
- * @experimental
1492
- */
1493
- export const zForkSessionResponse = z.object({
1494
- sessionId: zSessionId,
1495
- modes: defaultOnError(zSessionModeState.nullish(), () => undefined),
1496
- configOptions: defaultOnError(vecSkipError(zSessionConfigOption).nullish(), () => undefined),
1497
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1498
- });
1499
- /**
1500
- * Response from resuming an existing session.
1501
- */
1502
- export const zResumeSessionResponse = z.object({
1503
- modes: defaultOnError(zSessionModeState.nullish(), () => undefined),
1504
- configOptions: defaultOnError(vecSkipError(zSessionConfigOption).nullish(), () => undefined),
1505
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1506
- });
1507
- /**
1508
- * Response from closing a session.
1509
- */
1510
- export const zCloseSessionResponse = z.object({
1511
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1512
- });
1513
- /**
1514
- * Response to `session/set_mode` method.
1515
- */
1516
- export const zSetSessionModeResponse = z.object({
1517
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1518
- });
1519
- /**
1520
- * Response to `session/set_config_option` method.
1521
- */
1522
- export const zSetSessionConfigOptionResponse = z.object({
1523
- configOptions: requiredDefaultOnError(vecSkipError(zSessionConfigOption), () => []),
1524
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1525
- });
1526
- /**
1527
- * Reasons why an agent stops processing a prompt turn.
1528
- *
1529
- * See protocol docs: [Stop Reasons](https://agentclientprotocol.com/protocol/prompt-turn#stop-reasons)
1530
- */
1531
- export const zStopReason = z.union([
1532
- z.literal("end_turn"),
1533
- z.literal("max_tokens"),
1534
- z.literal("max_turn_requests"),
1535
- z.literal("refusal"),
1536
- z.literal("cancelled"),
1537
- ]);
1538
- /**
1539
- * **UNSTABLE**
1540
- *
1541
- * This capability is not part of the spec yet, and may be removed or changed at any point.
1542
- *
1543
- * Token usage information for a prompt turn.
1544
- *
1545
- * @experimental
1546
- */
1547
- export const zUsage = z.object({
1548
- totalTokens: z.number(),
1549
- inputTokens: z.number(),
1550
- outputTokens: z.number(),
1551
- thoughtTokens: defaultOnError(z.number().nullish(), () => undefined),
1552
- cachedReadTokens: defaultOnError(z.number().nullish(), () => undefined),
1553
- cachedWriteTokens: defaultOnError(z.number().nullish(), () => undefined),
1554
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1555
- });
1556
- /**
1557
- * Response from processing a user prompt.
1558
- *
1559
- * See protocol docs: [Check for Completion](https://agentclientprotocol.com/protocol/prompt-turn#4-check-for-completion)
1560
- */
1561
- export const zPromptResponse = z.object({
1562
- stopReason: zStopReason,
1563
- usage: defaultOnError(zUsage.nullish(), () => undefined),
1564
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1565
- });
1566
- /**
1567
- * Response to `nes/start`.
1568
- */
1569
- export const zStartNesResponse = z.object({
1570
- sessionId: zSessionId,
1571
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1572
- });
1573
- /**
1574
- * Unique identifier for a next edit suggestion.
1575
- */
1576
- export const zNesSuggestionId = z.string();
1577
- /**
1578
- * A zero-based position in a text document.
1579
- *
1580
- * The meaning of `character` depends on the negotiated position encoding.
1581
- */
1582
- export const zPosition = z.object({
1583
- line: z.int().gte(0).max(4294967295, {
1584
- error: "Invalid value: Expected uint32 to be <= 4294967295",
1585
- }),
1586
- character: z.int().gte(0).max(4294967295, {
1587
- error: "Invalid value: Expected uint32 to be <= 4294967295",
1588
- }),
1589
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1590
- });
1591
- /**
1592
- * A range in a text document, expressed as start and end positions.
1593
- */
1594
- export const zRange = z.object({
1595
- start: zPosition,
1596
- end: zPosition,
1597
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1598
- });
1599
- /**
1600
- * A text edit within a suggestion.
1601
- */
1602
- export const zNesTextEdit = z.object({
1603
- range: zRange,
1604
- newText: z.string(),
1605
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1606
- });
1607
- /**
1608
- * A text edit suggestion.
1609
- */
1610
- export const zNesEditSuggestion = z.object({
1611
- id: zNesSuggestionId,
1612
- uri: z.string(),
1613
- edits: z.array(zNesTextEdit),
1614
- cursorPosition: defaultOnError(zPosition.nullish(), () => undefined),
1615
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1616
- });
1617
- /**
1618
- * A jump-to-location suggestion.
1619
- */
1620
- export const zNesJumpSuggestion = z.object({
1621
- id: zNesSuggestionId,
1622
- uri: z.string(),
1623
- position: zPosition,
1624
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1625
- });
1626
- /**
1627
- * A rename symbol suggestion.
1628
- */
1629
- export const zNesRenameSuggestion = z.object({
1630
- id: zNesSuggestionId,
1631
- uri: z.string(),
1632
- position: zPosition,
1633
- newName: z.string(),
1634
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1635
- });
1636
- /**
1637
- * A search-and-replace suggestion.
1638
- */
1639
- export const zNesSearchAndReplaceSuggestion = z.object({
1640
- id: zNesSuggestionId,
1641
- uri: z.string(),
1642
- search: z.string(),
1643
- replace: z.string(),
1644
- isRegex: z.boolean().nullish(),
1645
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1646
- });
1647
- /**
1648
- * A suggestion returned by the agent.
1649
- */
1650
- export const zNesSuggestion = z.union([
1651
- zNesEditSuggestion.and(z.object({
1652
- kind: z.literal("edit"),
1653
- })),
1654
- zNesJumpSuggestion.and(z.object({
1655
- kind: z.literal("jump"),
1656
- })),
1657
- zNesRenameSuggestion.and(z.object({
1658
- kind: z.literal("rename"),
1659
- })),
1660
- zNesSearchAndReplaceSuggestion.and(z.object({
1661
- kind: z.literal("searchAndReplace"),
1662
- })),
1663
- ]);
1664
- /**
1665
- * Response to `nes/suggest`.
1666
- */
1667
- export const zSuggestNesResponse = z.object({
1668
- suggestions: z.array(zNesSuggestion),
1669
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1670
- });
1671
- /**
1672
- * Response from closing an NES session.
1673
- */
1674
- export const zCloseNesResponse = z.object({
1675
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1676
- });
1677
- /**
1678
- * Allows for sending an arbitrary response to an [`ExtRequest`] that is not part of the ACP spec.
1679
- * Extension methods provide a way to add custom functionality while maintaining
1680
- * protocol compatibility.
1681
- *
1682
- * See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)
1683
- */
1684
- export const zExtResponse = z.unknown();
1685
- /**
1686
- * **UNSTABLE**
1687
- *
1688
- * This capability is not part of the spec yet, and may be removed or changed at any point.
1689
- *
1690
- * Response to `mcp/message`.
1691
- *
1692
- * This is the inner MCP response result payload. Any JSON value is valid.
1693
- *
1694
- * @experimental
1695
- */
1696
- export const zMessageMcpResponse = z.unknown();
1697
- /**
1698
- * Predefined error codes for common JSON-RPC and ACP-specific errors.
1699
- *
1700
- * These codes follow the JSON-RPC 2.0 specification for standard errors
1701
- * and use the reserved range (-32000 to -32099) for protocol-specific errors.
1702
- */
1703
- export const zErrorCode = z.union([
1704
- z.literal(-32700),
1705
- z.literal(-32600),
1706
- z.literal(-32601),
1707
- z.literal(-32602),
1708
- z.literal(-32603),
1709
- z.literal(-32800),
1710
- z.literal(-32000),
1711
- z.literal(-32002),
1712
- z
1713
- .int()
1714
- .min(-2147483648, {
1715
- error: "Invalid value: Expected int32 to be >= -2147483648",
1716
- })
1717
- .max(2147483647, {
1718
- error: "Invalid value: Expected int32 to be <= 2147483647",
1719
- }),
1720
- ]);
1721
- /**
1722
- * JSON-RPC error object.
1723
- *
1724
- * Represents an error that occurred during method execution, following the
1725
- * JSON-RPC 2.0 error object specification with optional additional data.
1726
- *
1727
- * See protocol docs: [JSON-RPC Error Object](https://www.jsonrpc.org/specification#error_object)
1728
- */
1729
- export const zError = z.object({
1730
- code: zErrorCode,
1731
- message: z.string(),
1732
- data: defaultOnError(z.unknown().optional(), () => undefined),
1733
- });
1734
- /**
1735
- * A JSON-RPC response object.
1736
- */
1737
- export const zAgentResponse = z.union([
1738
- z.object({
1739
- id: zRequestId,
1740
- result: z.union([
1741
- zInitializeResponse,
1742
- zAuthenticateResponse,
1743
- zListProvidersResponse,
1744
- zSetProviderResponse,
1745
- zDisableProviderResponse,
1746
- zLogoutResponse,
1747
- zNewSessionResponse,
1748
- zLoadSessionResponse,
1749
- zListSessionsResponse,
1750
- zDeleteSessionResponse,
1751
- zForkSessionResponse,
1752
- zResumeSessionResponse,
1753
- zCloseSessionResponse,
1754
- zSetSessionModeResponse,
1755
- zSetSessionConfigOptionResponse,
1756
- zPromptResponse,
1757
- zStartNesResponse,
1758
- zSuggestNesResponse,
1759
- zCloseNesResponse,
1760
- zExtResponse,
1761
- zMessageMcpResponse,
1762
- ]),
1763
- }),
1764
- z.object({
1765
- id: zRequestId,
1766
- error: zError,
1767
- }),
1768
- ]);
1769
- /**
1770
- * Unique identifier for a message within a session.
1771
- */
1772
- export const zMessageId = z.string();
1773
- /**
1774
- * A streamed item of content
1775
- */
1776
- export const zContentChunk = z.object({
1777
- content: zContentBlock,
1778
- messageId: defaultOnError(zMessageId.nullish(), () => undefined),
1779
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1780
- });
1781
- /**
1782
- * Represents a tool call that the language model has requested.
1783
- *
1784
- * Tool calls are actions that the agent executes on behalf of the language model,
1785
- * such as reading files, executing code, or fetching data from external sources.
1786
- *
1787
- * See protocol docs: [Tool Calls](https://agentclientprotocol.com/protocol/tool-calls)
1788
- */
1789
- export const zToolCall = z.object({
1790
- toolCallId: zToolCallId,
1791
- title: z.string(),
1792
- name: defaultOnError(z.string().nullish(), () => undefined),
1793
- kind: defaultOnError(zToolKind.optional(), () => undefined),
1794
- status: defaultOnError(zToolCallStatus.optional(), () => undefined),
1795
- content: defaultOnError(vecSkipError(zToolCallContent).optional(), () => []),
1796
- locations: defaultOnError(vecSkipError(zToolCallLocation).optional(), () => []),
1797
- rawInput: defaultOnError(z.unknown().optional(), () => undefined),
1798
- rawOutput: defaultOnError(z.unknown().optional(), () => undefined),
1799
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1800
- });
1801
- /**
1802
- * Priority levels for plan entries.
1803
- *
1804
- * Used to indicate the relative importance or urgency of different
1805
- * tasks in the execution plan.
1806
- * See protocol docs: [Plan Entries](https://agentclientprotocol.com/protocol/agent-plan#plan-entries)
1807
- */
1808
- export const zPlanEntryPriority = z.union([
1809
- z.literal("high"),
1810
- z.literal("medium"),
1811
- z.literal("low"),
1812
- ]);
1813
- /**
1814
- * Status of a plan entry in the execution flow.
1815
- *
1816
- * Tracks the lifecycle of each task from planning through completion.
1817
- * See protocol docs: [Plan Entries](https://agentclientprotocol.com/protocol/agent-plan#plan-entries)
1818
- */
1819
- export const zPlanEntryStatus = z.union([
1820
- z.literal("pending"),
1821
- z.literal("in_progress"),
1822
- z.literal("completed"),
1823
- ]);
1824
- /**
1825
- * A single entry in the execution plan.
1826
- *
1827
- * Represents a task or goal that the assistant intends to accomplish
1828
- * as part of fulfilling the user's request.
1829
- * See protocol docs: [Plan Entries](https://agentclientprotocol.com/protocol/agent-plan#plan-entries)
1830
- */
1831
- export const zPlanEntry = z.object({
1832
- content: z.string(),
1833
- priority: zPlanEntryPriority,
1834
- status: zPlanEntryStatus,
1835
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1836
- });
1837
- /**
1838
- * An execution plan for accomplishing complex tasks.
1839
- *
1840
- * Plans consist of multiple entries representing individual tasks or goals.
1841
- * Agents report plans to clients to provide visibility into their execution strategy.
1842
- * Plans can evolve during execution as the agent discovers new requirements or completes tasks.
1843
- *
1844
- * See protocol docs: [Agent Plan](https://agentclientprotocol.com/protocol/agent-plan)
1845
- */
1846
- export const zPlan = z.object({
1847
- entries: requiredDefaultOnError(vecSkipError(zPlanEntry), () => []),
1848
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1849
- });
1850
- /**
1851
- * **UNSTABLE**
1852
- *
1853
- * This capability is not part of the spec yet, and may be removed or changed at any point.
1854
- *
1855
- * Unique identifier for a plan within a session.
1856
- *
1857
- * @experimental
1858
- */
1859
- export const zPlanId = z.string();
1860
- /**
1861
- * **UNSTABLE**
1862
- *
1863
- * This capability is not part of the spec yet, and may be removed or changed at any point.
1864
- *
1865
- * A plan represented as structured entries.
1866
- *
1867
- * @experimental
1868
- */
1869
- export const zPlanItems = z.object({
1870
- planId: zPlanId,
1871
- entries: requiredDefaultOnError(vecSkipError(zPlanEntry), () => []),
1872
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1873
- });
1874
- /**
1875
- * **UNSTABLE**
1876
- *
1877
- * This capability is not part of the spec yet, and may be removed or changed at any point.
1878
- *
1879
- * A plan represented by a file URI.
1880
- *
1881
- * @experimental
1882
- */
1883
- export const zPlanFile = z.object({
1884
- planId: zPlanId,
1885
- uri: z.string(),
1886
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1887
- });
1888
- /**
1889
- * **UNSTABLE**
1890
- *
1891
- * This capability is not part of the spec yet, and may be removed or changed at any point.
1892
- *
1893
- * A plan represented as raw markdown content.
1894
- *
1895
- * @experimental
1896
- */
1897
- export const zPlanMarkdown = z.object({
1898
- planId: zPlanId,
1899
- content: z.string(),
1900
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1901
- });
1902
- /**
1903
- * **UNSTABLE**
1904
- *
1905
- * This capability is not part of the spec yet, and may be removed or changed at any point.
1906
- *
1907
- * Updated content for a plan.
1908
- *
1909
- * @experimental
1910
- */
1911
- export const zPlanUpdateContent = z.union([
1912
- zPlanItems.and(z.object({
1913
- type: z.literal("items"),
1914
- })),
1915
- zPlanFile.and(z.object({
1916
- type: z.literal("file"),
1917
- })),
1918
- zPlanMarkdown.and(z.object({
1919
- type: z.literal("markdown"),
1920
- })),
1921
- ]);
1922
- /**
1923
- * **UNSTABLE**
1924
- *
1925
- * This capability is not part of the spec yet, and may be removed or changed at any point.
1926
- *
1927
- * A content update for a plan identified by ID.
1928
- *
1929
- * @experimental
1930
- */
1931
- export const zPlanUpdate = z.object({
1932
- plan: zPlanUpdateContent,
1933
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1934
- });
1935
- /**
1936
- * **UNSTABLE**
1937
- *
1938
- * This capability is not part of the spec yet, and may be removed or changed at any point.
1939
- *
1940
- * Removal notice for a plan identified by ID.
1941
- *
1942
- * @experimental
1943
- */
1944
- export const zPlanRemoved = z.object({
1945
- planId: zPlanId,
1946
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1947
- });
1948
- /**
1949
- * All text that was typed after the command name is provided as input.
1950
- */
1951
- export const zUnstructuredCommandInput = z.object({
1952
- hint: z.string(),
1953
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1954
- });
1955
- /**
1956
- * unstructured
1957
- *
1958
- * All text that was typed after the command name is provided as input.
1959
- */
1960
- export const zAvailableCommandInput = zUnstructuredCommandInput;
1961
- /**
1962
- * Information about a command.
1963
- */
1964
- export const zAvailableCommand = z.object({
1965
- name: z.string(),
1966
- description: z.string(),
1967
- input: defaultOnError(zAvailableCommandInput.nullish(), () => undefined),
1968
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1969
- });
1970
- /**
1971
- * Available commands are ready or have changed
1972
- */
1973
- export const zAvailableCommandsUpdate = z.object({
1974
- availableCommands: requiredDefaultOnError(vecSkipError(zAvailableCommand), () => []),
1975
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1976
- });
1977
- /**
1978
- * The current mode of the session has changed
1979
- *
1980
- * See protocol docs: [Session Modes](https://agentclientprotocol.com/protocol/session-modes)
1981
- */
1982
- export const zCurrentModeUpdate = z.object({
1983
- currentModeId: zSessionModeId,
1984
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1985
- });
1986
- /**
1987
- * Session configuration options have been updated.
1988
- */
1989
- export const zConfigOptionUpdate = z.object({
1990
- configOptions: requiredDefaultOnError(vecSkipError(zSessionConfigOption), () => []),
1991
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
1992
- });
1993
- /**
1994
- * Update to session metadata. All fields are optional to support partial updates.
1995
- *
1996
- * Agents send this notification to update session information like title or custom metadata.
1997
- * This allows clients to display dynamic session names and track session state changes.
1998
- */
1999
- export const zSessionInfoUpdate = z.object({
2000
- title: defaultOnError(z.string().nullish(), () => undefined),
2001
- updatedAt: defaultOnError(z.string().nullish(), () => undefined),
2002
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2003
- });
2004
- /**
2005
- * Cost information for a session.
2006
- */
2007
- export const zCost = z.object({
2008
- amount: z.number(),
2009
- currency: z.string(),
2010
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2011
- });
2012
- /**
2013
- * Context window and cost update for a session.
2014
- */
2015
- export const zUsageUpdate = z.object({
2016
- used: z.number(),
2017
- size: z.number(),
2018
- cost: defaultOnError(zCost.nullish(), () => undefined),
2019
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2020
- });
2021
- /**
2022
- * Different types of updates that can be sent during session processing.
2023
- *
2024
- * These updates provide real-time feedback about the agent's progress.
2025
- *
2026
- * See protocol docs: [Agent Reports Output](https://agentclientprotocol.com/protocol/prompt-turn#3-agent-reports-output)
2027
- */
2028
- export const zSessionUpdate = z.union([
2029
- zContentChunk.and(z.object({
2030
- sessionUpdate: z.literal("user_message_chunk"),
2031
- })),
2032
- zContentChunk.and(z.object({
2033
- sessionUpdate: z.literal("agent_message_chunk"),
2034
- })),
2035
- zContentChunk.and(z.object({
2036
- sessionUpdate: z.literal("agent_thought_chunk"),
2037
- })),
2038
- zToolCall.and(z.object({
2039
- sessionUpdate: z.literal("tool_call"),
2040
- })),
2041
- zToolCallUpdate.and(z.object({
2042
- sessionUpdate: z.literal("tool_call_update"),
2043
- })),
2044
- zPlan.and(z.object({
2045
- sessionUpdate: z.literal("plan"),
2046
- })),
2047
- zPlanUpdate.and(z.object({
2048
- sessionUpdate: z.literal("plan_update"),
2049
- })),
2050
- zPlanRemoved.and(z.object({
2051
- sessionUpdate: z.literal("plan_removed"),
2052
- })),
2053
- zAvailableCommandsUpdate.and(z.object({
2054
- sessionUpdate: z.literal("available_commands_update"),
2055
- })),
2056
- zCurrentModeUpdate.and(z.object({
2057
- sessionUpdate: z.literal("current_mode_update"),
2058
- })),
2059
- zConfigOptionUpdate.and(z.object({
2060
- sessionUpdate: z.literal("config_option_update"),
2061
- })),
2062
- zSessionInfoUpdate.and(z.object({
2063
- sessionUpdate: z.literal("session_info_update"),
2064
- })),
2065
- zUsageUpdate.and(z.object({
2066
- sessionUpdate: z.literal("usage_update"),
2067
- })),
2068
- ]);
2069
- /**
2070
- * Notification containing a session update from the agent.
2071
- *
2072
- * Used to stream real-time progress and results during prompt processing.
2073
- *
2074
- * See protocol docs: [Agent Reports Output](https://agentclientprotocol.com/protocol/prompt-turn#3-agent-reports-output)
2075
- */
2076
- export const zSessionNotification = z.object({
2077
- sessionId: zSessionId,
2078
- update: zSessionUpdate,
2079
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2080
- });
2081
- /**
2082
- * **UNSTABLE**
2083
- *
2084
- * This capability is not part of the spec yet, and may be removed or changed at any point.
2085
- *
2086
- * Notification sent by the agent when a URL-based elicitation is complete.
2087
- *
2088
- * @experimental
2089
- */
2090
- export const zCompleteElicitationNotification = z.object({
2091
- elicitationId: zElicitationId,
2092
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2093
- });
2094
- /**
2095
- * **UNSTABLE**
2096
- *
2097
- * This capability is not part of the spec yet, and may be removed or changed at any point.
2098
- *
2099
- * Notification parameters for `mcp/message`.
2100
- *
2101
- * This is used when the wrapped MCP message is a notification and the outer JSON-RPC
2102
- * envelope has no `id`.
2103
- *
2104
- * @experimental
2105
- */
2106
- export const zMessageMcpNotification = z.object({
2107
- connectionId: zMcpConnectionId,
2108
- method: z.string(),
2109
- params: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2110
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2111
- });
2112
- /**
2113
- * Allows the Agent to send an arbitrary notification that is not part of the ACP spec.
2114
- * Extension notifications provide a way to send one-way messages for custom functionality
2115
- * while maintaining protocol compatibility.
2116
- *
2117
- * See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)
2118
- */
2119
- export const zExtNotification = z.unknown();
2120
- /**
2121
- * A JSON-RPC notification object.
2122
- */
2123
- export const zAgentNotification = z.object({
2124
- method: z.string(),
2125
- params: z
2126
- .union([
2127
- zSessionNotification,
2128
- zCompleteElicitationNotification,
2129
- zMessageMcpNotification,
2130
- zExtNotification,
2131
- ])
2132
- .nullish(),
2133
- });
2134
- /**
2135
- * File system capabilities that a client may support.
2136
- *
2137
- * See protocol docs: [FileSystem](https://agentclientprotocol.com/protocol/initialization#filesystem)
2138
- */
2139
- export const zFileSystemCapabilities = z.object({
2140
- readTextFile: defaultOnError(z.boolean().optional().default(false), () => false),
2141
- writeTextFile: defaultOnError(z.boolean().optional().default(false), () => false),
2142
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2143
- });
2144
- /**
2145
- * Capabilities for boolean session configuration options.
2146
- *
2147
- * Supplying `{}` means the client supports boolean session configuration options.
2148
- */
2149
- export const zBooleanConfigOptionCapabilities = z.object({
2150
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2151
- });
2152
- /**
2153
- * Session configuration option capabilities supported by the client.
2154
- */
2155
- export const zSessionConfigOptionsCapabilities = z.object({
2156
- boolean: defaultOnError(zBooleanConfigOptionCapabilities.nullish(), () => undefined),
2157
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2158
- });
2159
- /**
2160
- * Session-related capabilities supported by the client.
2161
- */
2162
- export const zClientSessionCapabilities = z.object({
2163
- configOptions: defaultOnError(zSessionConfigOptionsCapabilities.nullish(), () => undefined),
2164
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2165
- });
2166
- /**
2167
- * **UNSTABLE**
2168
- *
2169
- * This capability is not part of the spec yet, and may be removed or changed at any point.
2170
- *
2171
- * Capabilities for receiving `plan_update` and `plan_removed` session updates.
2172
- *
2173
- * @experimental
2174
- */
2175
- export const zPlanCapabilities = z.object({
2176
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2177
- });
2178
- /**
2179
- * **UNSTABLE**
2180
- *
2181
- * This capability is not part of the spec yet, and may be removed or changed at any point.
2182
- *
2183
- * Authentication capabilities supported by the client.
2184
- *
2185
- * Advertised during initialization to inform the agent which authentication
2186
- * method types the client can handle. This governs opt-in types that require
2187
- * additional client-side support.
2188
- *
2189
- * @experimental
2190
- */
2191
- export const zAuthCapabilities = z.object({
2192
- terminal: defaultOnError(z.boolean().optional().default(false), () => false),
2193
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2194
- });
2195
- /**
2196
- * **UNSTABLE**
2197
- *
2198
- * This capability is not part of the spec yet, and may be removed or changed at any point.
2199
- *
2200
- * Form-based elicitation capabilities.
2201
- *
2202
- * Supplying `{}` means the client supports form-based elicitation.
2203
- *
2204
- * @experimental
2205
- */
2206
- export const zElicitationFormCapabilities = z.object({
2207
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2208
- });
2209
- /**
2210
- * **UNSTABLE**
2211
- *
2212
- * This capability is not part of the spec yet, and may be removed or changed at any point.
2213
- *
2214
- * URL-based elicitation capabilities.
2215
- *
2216
- * Supplying `{}` means the client supports URL-based elicitation.
2217
- *
2218
- * @experimental
2219
- */
2220
- export const zElicitationUrlCapabilities = z.object({
2221
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2222
- });
2223
- /**
2224
- * **UNSTABLE**
2225
- *
2226
- * This capability is not part of the spec yet, and may be removed or changed at any point.
2227
- *
2228
- * Elicitation capabilities supported by the client.
2229
- *
2230
- * @experimental
2231
- */
2232
- export const zElicitationCapabilities = z.object({
2233
- form: defaultOnError(zElicitationFormCapabilities.nullish(), () => undefined),
2234
- url: defaultOnError(zElicitationUrlCapabilities.nullish(), () => undefined),
2235
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2236
- });
2237
- /**
2238
- * Marker for jump suggestion support.
2239
- */
2240
- export const zNesJumpCapabilities = z.object({
2241
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2242
- });
2243
- /**
2244
- * Marker for rename suggestion support.
2245
- */
2246
- export const zNesRenameCapabilities = z.object({
2247
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2248
- });
2249
- /**
2250
- * Marker for search and replace suggestion support.
2251
- */
2252
- export const zNesSearchAndReplaceCapabilities = z.object({
2253
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2254
- });
2255
- /**
2256
- * NES capabilities advertised by the client during initialization.
2257
- */
2258
- export const zClientNesCapabilities = z.object({
2259
- jump: defaultOnError(zNesJumpCapabilities.nullish(), () => undefined),
2260
- rename: defaultOnError(zNesRenameCapabilities.nullish(), () => undefined),
2261
- searchAndReplace: defaultOnError(zNesSearchAndReplaceCapabilities.nullish(), () => undefined),
2262
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2263
- });
2264
- /**
2265
- * Capabilities supported by the client.
2266
- *
2267
- * Advertised during initialization to inform the agent about
2268
- * available features and methods.
2269
- *
2270
- * See protocol docs: [Client Capabilities](https://agentclientprotocol.com/protocol/initialization#client-capabilities)
2271
- */
2272
- export const zClientCapabilities = z.object({
2273
- fs: defaultOnError(zFileSystemCapabilities
2274
- .optional()
2275
- .default({ readTextFile: false, writeTextFile: false }), () => ({ readTextFile: false, writeTextFile: false })),
2276
- terminal: defaultOnError(z.boolean().optional().default(false), () => false),
2277
- session: defaultOnError(zClientSessionCapabilities.nullish(), () => undefined),
2278
- plan: defaultOnError(zPlanCapabilities.nullish(), () => undefined),
2279
- auth: defaultOnError(zAuthCapabilities.optional().default({ terminal: false }), () => ({ terminal: false })),
2280
- elicitation: defaultOnError(zElicitationCapabilities.nullish(), () => undefined),
2281
- nes: defaultOnError(zClientNesCapabilities.nullish(), () => undefined),
2282
- positionEncodings: defaultOnError(vecSkipError(zPositionEncodingKind).optional(), () => []),
2283
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2284
- });
2285
- /**
2286
- * Request parameters for the initialize method.
2287
- *
2288
- * Sent by the client to establish connection and negotiate capabilities.
2289
- *
2290
- * See protocol docs: [Initialization](https://agentclientprotocol.com/protocol/initialization)
2291
- */
2292
- export const zInitializeRequest = z.object({
2293
- protocolVersion: zProtocolVersion,
2294
- clientCapabilities: defaultOnError(zClientCapabilities.optional().default({
2295
- fs: { readTextFile: false, writeTextFile: false },
2296
- terminal: false,
2297
- auth: { terminal: false },
2298
- }), () => ({
2299
- fs: { readTextFile: false, writeTextFile: false },
2300
- terminal: false,
2301
- auth: { terminal: false },
2302
- })),
2303
- clientInfo: defaultOnError(zImplementation.nullish(), () => undefined),
2304
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2305
- });
2306
- /**
2307
- * Request parameters for the authenticate method.
2308
- *
2309
- * Specifies which authentication method to use.
2310
- */
2311
- export const zAuthenticateRequest = z.object({
2312
- methodId: zAuthMethodId,
2313
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2314
- });
2315
- /**
2316
- * **UNSTABLE**
2317
- *
2318
- * This capability is not part of the spec yet, and may be removed or changed at any point.
2319
- *
2320
- * Request parameters for `providers/list`.
2321
- *
2322
- * @experimental
2323
- */
2324
- export const zListProvidersRequest = z.object({
2325
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2326
- });
2327
- /**
2328
- * **UNSTABLE**
2329
- *
2330
- * This capability is not part of the spec yet, and may be removed or changed at any point.
2331
- *
2332
- * Request parameters for `providers/set`.
2333
- *
2334
- * Replaces the full configuration for one provider ID.
2335
- *
2336
- * @experimental
2337
- */
2338
- export const zSetProviderRequest = z.object({
2339
- providerId: zProviderId,
2340
- apiType: zLlmProtocol,
2341
- baseUrl: z.string(),
2342
- headers: z.record(z.string(), z.string()).optional(),
2343
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2344
- });
2345
- /**
2346
- * **UNSTABLE**
2347
- *
2348
- * This capability is not part of the spec yet, and may be removed or changed at any point.
2349
- *
2350
- * Request parameters for `providers/disable`.
2351
- *
2352
- * @experimental
2353
- */
2354
- export const zDisableProviderRequest = z.object({
2355
- providerId: zProviderId,
2356
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2357
- });
2358
- /**
2359
- * Request parameters for the logout method.
2360
- *
2361
- * Terminates the current authenticated session.
2362
- */
2363
- export const zLogoutRequest = z.object({
2364
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2365
- });
2366
- /**
2367
- * An HTTP header to set when making requests to the MCP server.
2368
- */
2369
- export const zHttpHeader = z.object({
2370
- name: z.string(),
2371
- value: z.string(),
2372
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2373
- });
2374
- /**
2375
- * HTTP transport configuration for MCP.
2376
- */
2377
- export const zMcpServerHttp = z.object({
2378
- name: z.string(),
2379
- url: z.string(),
2380
- headers: z.array(zHttpHeader),
2381
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2382
- });
2383
- /**
2384
- * SSE transport configuration for MCP.
2385
- */
2386
- export const zMcpServerSse = z.object({
2387
- name: z.string(),
2388
- url: z.string(),
2389
- headers: z.array(zHttpHeader),
2390
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2391
- });
2392
- /**
2393
- * **UNSTABLE**
2394
- *
2395
- * This capability is not part of the spec yet, and may be removed or changed at any point.
2396
- *
2397
- * ACP transport configuration for MCP.
2398
- *
2399
- * The MCP server is provided by an ACP component and communicates over the ACP channel
2400
- * using `mcp/connect`, `mcp/message`, and `mcp/disconnect`.
2401
- *
2402
- * @experimental
2403
- */
2404
- export const zMcpServerAcp = z.object({
2405
- name: z.string(),
2406
- serverId: zMcpServerAcpId,
2407
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2408
- });
2409
- /**
2410
- * Stdio transport configuration for MCP.
2411
- */
2412
- export const zMcpServerStdio = z.object({
2413
- name: z.string(),
2414
- command: z.string(),
2415
- args: z.array(z.string()),
2416
- env: z.array(zEnvVariable),
2417
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2418
- });
2419
- /**
2420
- * Configuration for connecting to an MCP (Model Context Protocol) server.
2421
- *
2422
- * MCP servers provide tools and context that the agent can use when
2423
- * processing prompts.
2424
- *
2425
- * See protocol docs: [MCP Servers](https://agentclientprotocol.com/protocol/session-setup#mcp-servers)
2426
- */
2427
- export const zMcpServer = z.union([
2428
- zMcpServerHttp.and(z.object({
2429
- type: z.literal("http"),
2430
- })),
2431
- zMcpServerSse.and(z.object({
2432
- type: z.literal("sse"),
2433
- })),
2434
- zMcpServerAcp.and(z.object({
2435
- type: z.literal("acp"),
2436
- })),
2437
- zMcpServerStdio,
2438
- ]);
2439
- /**
2440
- * Request parameters for creating a new session.
2441
- *
2442
- * See protocol docs: [Creating a Session](https://agentclientprotocol.com/protocol/session-setup#creating-a-session)
2443
- */
2444
- export const zNewSessionRequest = z.object({
2445
- cwd: z.string(),
2446
- additionalDirectories: defaultOnError(vecSkipError(z.string()).optional(), () => []),
2447
- mcpServers: requiredDefaultOnError(vecSkipError(zMcpServer), () => []),
2448
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2449
- });
2450
- /**
2451
- * Request parameters for loading an existing session.
2452
- *
2453
- * Only available if the Agent supports the `loadSession` capability.
2454
- *
2455
- * See protocol docs: [Loading Sessions](https://agentclientprotocol.com/protocol/session-setup#loading-sessions)
2456
- */
2457
- export const zLoadSessionRequest = z.object({
2458
- mcpServers: requiredDefaultOnError(vecSkipError(zMcpServer), () => []),
2459
- cwd: z.string(),
2460
- additionalDirectories: defaultOnError(vecSkipError(z.string()).optional(), () => []),
2461
- sessionId: zSessionId,
2462
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2463
- });
2464
- /**
2465
- * Request parameters for listing existing sessions.
2466
- *
2467
- * Only available if the Agent supports the `sessionCapabilities.list` capability.
2468
- */
2469
- export const zListSessionsRequest = z.object({
2470
- cwd: z.string().nullish(),
2471
- cursor: z.string().nullish(),
2472
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2473
- });
2474
- /**
2475
- * Request parameters for deleting an existing session from `session/list`.
2476
- *
2477
- * Only available if the Agent supports the `sessionCapabilities.delete` capability.
2478
- */
2479
- export const zDeleteSessionRequest = z.object({
2480
- sessionId: zSessionId,
2481
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2482
- });
2483
- /**
2484
- * **UNSTABLE**
2485
- *
2486
- * This capability is not part of the spec yet, and may be removed or changed at any point.
2487
- *
2488
- * Request parameters for forking an existing session.
2489
- *
2490
- * Creates a new session based on the context of an existing one, allowing
2491
- * operations like generating summaries without affecting the original session's history.
2492
- *
2493
- * Only available if the Agent supports the `session.fork` capability.
2494
- *
2495
- * @experimental
2496
- */
2497
- export const zForkSessionRequest = z.object({
2498
- sessionId: zSessionId,
2499
- cwd: z.string(),
2500
- additionalDirectories: defaultOnError(vecSkipError(z.string()).optional(), () => []),
2501
- mcpServers: defaultOnError(vecSkipError(zMcpServer).optional(), () => []),
2502
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2503
- });
2504
- /**
2505
- * Request parameters for resuming an existing session.
2506
- *
2507
- * Resumes an existing session without returning previous messages (unlike `session/load`).
2508
- * This is useful for agents that can resume sessions but don't implement full session loading.
2509
- *
2510
- * Only available if the Agent supports the `sessionCapabilities.resume` capability.
2511
- */
2512
- export const zResumeSessionRequest = z.object({
2513
- sessionId: zSessionId,
2514
- cwd: z.string(),
2515
- additionalDirectories: defaultOnError(vecSkipError(z.string()).optional(), () => []),
2516
- mcpServers: defaultOnError(vecSkipError(zMcpServer).optional(), () => []),
2517
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2518
- });
2519
- /**
2520
- * Request parameters for closing an active session.
2521
- *
2522
- * If supported, the agent **must** cancel any ongoing work related to the session
2523
- * (treat it as if `session/cancel` was called) and then free up any resources
2524
- * associated with the session.
2525
- *
2526
- * Only available if the Agent supports the `sessionCapabilities.close` capability.
2527
- */
2528
- export const zCloseSessionRequest = z.object({
2529
- sessionId: zSessionId,
2530
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2531
- });
2532
- /**
2533
- * Request parameters for setting a session mode.
2534
- */
2535
- export const zSetSessionModeRequest = z.object({
2536
- sessionId: zSessionId,
2537
- modeId: zSessionModeId,
2538
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2539
- });
2540
- /**
2541
- * Request parameters for setting a session configuration option.
2542
- */
2543
- export const zSetSessionConfigOptionRequest = z.intersection(z.union([
2544
- z.object({
2545
- value: z.boolean(),
2546
- type: z.literal("boolean"),
2547
- }),
2548
- z.object({
2549
- value: zSessionConfigValueId,
2550
- }),
2551
- ]), z.object({
2552
- sessionId: zSessionId,
2553
- configId: zSessionConfigId,
2554
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2555
- }));
2556
- /**
2557
- * Request parameters for sending a user prompt to the agent.
2558
- *
2559
- * Contains the user's message and any additional context.
2560
- *
2561
- * See protocol docs: [User Message](https://agentclientprotocol.com/protocol/prompt-turn#1-user-message)
2562
- */
2563
- export const zPromptRequest = z.object({
2564
- sessionId: zSessionId,
2565
- prompt: z.array(zContentBlock),
2566
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2567
- });
2568
- /**
2569
- * A workspace folder.
2570
- */
2571
- export const zWorkspaceFolder = z.object({
2572
- uri: z.string(),
2573
- name: z.string(),
2574
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2575
- });
2576
- /**
2577
- * Repository metadata for an NES session.
2578
- */
2579
- export const zNesRepository = z.object({
2580
- name: z.string(),
2581
- owner: z.string(),
2582
- remoteUrl: z.string(),
2583
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2584
- });
2585
- /**
2586
- * Request to start an NES session.
2587
- */
2588
- export const zStartNesRequest = z.object({
2589
- workspaceUri: defaultOnError(z.string().nullish(), () => undefined),
2590
- workspaceFolders: z.array(zWorkspaceFolder).nullish(),
2591
- repository: defaultOnError(zNesRepository.nullish(), () => undefined),
2592
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2593
- });
2594
- /**
2595
- * What triggered the suggestion request.
2596
- */
2597
- export const zNesTriggerKind = z.union([
2598
- z.literal("automatic"),
2599
- z.literal("diagnostic"),
2600
- z.literal("manual"),
2601
- ]);
2602
- /**
2603
- * A recently accessed file.
2604
- */
2605
- export const zNesRecentFile = z.object({
2606
- uri: z.string(),
2607
- languageId: z.string(),
2608
- text: z.string(),
2609
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2610
- });
2611
- /**
2612
- * A code excerpt from a file.
2613
- */
2614
- export const zNesExcerpt = z.object({
2615
- startLine: z.int().gte(0).max(4294967295, {
2616
- error: "Invalid value: Expected uint32 to be <= 4294967295",
2617
- }),
2618
- endLine: z.int().gte(0).max(4294967295, {
2619
- error: "Invalid value: Expected uint32 to be <= 4294967295",
2620
- }),
2621
- text: z.string(),
2622
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2623
- });
2624
- /**
2625
- * A related code snippet from a file.
2626
- */
2627
- export const zNesRelatedSnippet = z.object({
2628
- uri: z.string(),
2629
- excerpts: z.array(zNesExcerpt),
2630
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2631
- });
2632
- /**
2633
- * An entry in the edit history.
2634
- */
2635
- export const zNesEditHistoryEntry = z.object({
2636
- uri: z.string(),
2637
- diff: z.string(),
2638
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2639
- });
2640
- /**
2641
- * A user action (typing, cursor movement, etc.).
2642
- */
2643
- export const zNesUserAction = z.object({
2644
- action: z.string(),
2645
- uri: z.string(),
2646
- position: zPosition,
2647
- timestampMs: z.number(),
2648
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2649
- });
2650
- /**
2651
- * An open file in the editor.
2652
- */
2653
- export const zNesOpenFile = z.object({
2654
- uri: z.string(),
2655
- languageId: z.string(),
2656
- visibleRange: defaultOnError(zRange.nullish(), () => undefined),
2657
- lastFocusedMs: defaultOnError(z.number().nullish(), () => undefined),
2658
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2659
- });
2660
- /**
2661
- * Severity of a diagnostic.
2662
- */
2663
- export const zNesDiagnosticSeverity = z.union([
2664
- z.literal("error"),
2665
- z.literal("warning"),
2666
- z.literal("information"),
2667
- z.literal("hint"),
2668
- ]);
2669
- /**
2670
- * A diagnostic (error, warning, etc.).
2671
- */
2672
- export const zNesDiagnostic = z.object({
2673
- uri: z.string(),
2674
- range: zRange,
2675
- severity: zNesDiagnosticSeverity,
2676
- message: z.string(),
2677
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2678
- });
2679
- /**
2680
- * Context attached to a suggestion request.
2681
- */
2682
- export const zNesSuggestContext = z.object({
2683
- recentFiles: z.array(zNesRecentFile).nullish(),
2684
- relatedSnippets: z.array(zNesRelatedSnippet).nullish(),
2685
- editHistory: z.array(zNesEditHistoryEntry).nullish(),
2686
- userActions: z.array(zNesUserAction).nullish(),
2687
- openFiles: z.array(zNesOpenFile).nullish(),
2688
- diagnostics: z.array(zNesDiagnostic).nullish(),
2689
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2690
- });
2691
- /**
2692
- * Request for a code suggestion.
2693
- */
2694
- export const zSuggestNesRequest = z.object({
2695
- sessionId: zSessionId,
2696
- uri: z.string(),
2697
- version: z.number(),
2698
- position: zPosition,
2699
- selection: zRange.nullish(),
2700
- triggerKind: zNesTriggerKind,
2701
- context: zNesSuggestContext.nullish(),
2702
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2703
- });
2704
- /**
2705
- * Request to close an NES session.
2706
- *
2707
- * The agent **must** cancel any ongoing work related to the NES session
2708
- * and then free up any resources associated with the session.
2709
- */
2710
- export const zCloseNesRequest = z.object({
2711
- sessionId: zSessionId,
2712
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2713
- });
2714
- /**
2715
- * A JSON-RPC request object.
2716
- */
2717
- export const zClientRequest = z.object({
2718
- id: zRequestId,
2719
- method: z.string(),
2720
- params: z
2721
- .union([
2722
- zInitializeRequest,
2723
- zAuthenticateRequest,
2724
- zListProvidersRequest,
2725
- zSetProviderRequest,
2726
- zDisableProviderRequest,
2727
- zLogoutRequest,
2728
- zNewSessionRequest,
2729
- zLoadSessionRequest,
2730
- zListSessionsRequest,
2731
- zDeleteSessionRequest,
2732
- zForkSessionRequest,
2733
- zResumeSessionRequest,
2734
- zCloseSessionRequest,
2735
- zSetSessionModeRequest,
2736
- zSetSessionConfigOptionRequest,
2737
- zPromptRequest,
2738
- zStartNesRequest,
2739
- zSuggestNesRequest,
2740
- zCloseNesRequest,
2741
- zMessageMcpRequest,
2742
- zExtRequest,
2743
- ])
2744
- .nullish(),
2745
- });
2746
- /**
2747
- * Response to `fs/write_text_file`
2748
- */
2749
- export const zWriteTextFileResponse = z.object({
2750
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2751
- });
2752
- /**
2753
- * Response containing the contents of a text file.
2754
- */
2755
- export const zReadTextFileResponse = z.object({
2756
- content: z.string(),
2757
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2758
- });
2759
- /**
2760
- * The user selected one of the provided options.
2761
- */
2762
- export const zSelectedPermissionOutcome = z.object({
2763
- optionId: zPermissionOptionId,
2764
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2765
- });
2766
- /**
2767
- * The outcome of a permission request.
2768
- */
2769
- export const zRequestPermissionOutcome = z.union([
2770
- z.object({
2771
- outcome: z.literal("cancelled"),
2772
- }),
2773
- zSelectedPermissionOutcome.and(z.object({
2774
- outcome: z.literal("selected"),
2775
- })),
2776
- ]);
2777
- /**
2778
- * Response to a permission request.
2779
- */
2780
- export const zRequestPermissionResponse = z.object({
2781
- outcome: zRequestPermissionOutcome,
2782
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2783
- });
2784
- /**
2785
- * Response containing the ID of the created terminal.
2786
- */
2787
- export const zCreateTerminalResponse = z.object({
2788
- terminalId: zTerminalId,
2789
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2790
- });
2791
- /**
2792
- * Exit status of a terminal command.
2793
- */
2794
- export const zTerminalExitStatus = z.object({
2795
- exitCode: defaultOnError(z
2796
- .int()
2797
- .gte(0)
2798
- .max(4294967295, {
2799
- error: "Invalid value: Expected uint32 to be <= 4294967295",
2800
- })
2801
- .nullish(), () => undefined),
2802
- signal: defaultOnError(z.string().nullish(), () => undefined),
2803
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2804
- });
2805
- /**
2806
- * Response containing the terminal output and exit status.
2807
- */
2808
- export const zTerminalOutputResponse = z.object({
2809
- output: z.string(),
2810
- truncated: z.boolean(),
2811
- exitStatus: defaultOnError(zTerminalExitStatus.nullish(), () => undefined),
2812
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2813
- });
2814
- /**
2815
- * Response to terminal/release method
2816
- */
2817
- export const zReleaseTerminalResponse = z.object({
2818
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2819
- });
2820
- /**
2821
- * Response containing the exit status of a terminal command.
2822
- */
2823
- export const zWaitForTerminalExitResponse = z.object({
2824
- exitCode: defaultOnError(z
2825
- .int()
2826
- .gte(0)
2827
- .max(4294967295, {
2828
- error: "Invalid value: Expected uint32 to be <= 4294967295",
2829
- })
2830
- .nullish(), () => undefined),
2831
- signal: defaultOnError(z.string().nullish(), () => undefined),
2832
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2833
- });
2834
- /**
2835
- * Response to `terminal/kill` method
2836
- */
2837
- export const zKillTerminalResponse = z.object({
2838
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2839
- });
2840
- /**
2841
- * Allowed wire representations for [`ElicitationContentValue`].
2842
- */
2843
- export const zElicitationContentValue = z.union([
2844
- z.string(),
2845
- z.number(),
2846
- z.number(),
2847
- z.boolean(),
2848
- z.array(z.string()),
2849
- ]);
2850
- /**
2851
- * **UNSTABLE**
2852
- *
2853
- * This capability is not part of the spec yet, and may be removed or changed at any point.
2854
- *
2855
- * The user accepted the elicitation and provided content.
2856
- *
2857
- * @experimental
2858
- */
2859
- export const zElicitationAcceptAction = z.object({
2860
- content: z.record(z.string(), zElicitationContentValue).nullish(),
2861
- });
2862
- /**
2863
- * **UNSTABLE**
2864
- *
2865
- * This capability is not part of the spec yet, and may be removed or changed at any point.
2866
- *
2867
- * Response from the client to an elicitation request.
2868
- *
2869
- * @experimental
2870
- *
2871
- * Custom variants (unknown `action` values) keep their extra
2872
- * properties exactly as received; unlike known variants, those keys
2873
- * bypass lenient-field salvage and arrive unvalidated.
2874
- */
2875
- export const zCreateElicitationResponse = preserveCustomPayload(z.intersection(z.union([
2876
- zElicitationAcceptAction.and(z.object({
2877
- action: z.literal("accept"),
2878
- })),
2879
- z.object({
2880
- action: z.literal("decline"),
2881
- }),
2882
- z.object({
2883
- action: z.literal("cancel"),
2884
- }),
2885
- excludeKnownTags(z.object({
2886
- action: z.string(),
2887
- }), "action", ["accept", "cancel", "decline"]),
2888
- ]), z.object({
2889
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2890
- })), "action", ["accept", "cancel", "decline"]);
2891
- /**
2892
- * **UNSTABLE**
2893
- *
2894
- * This capability is not part of the spec yet, and may be removed or changed at any point.
2895
- *
2896
- * Response to `mcp/connect`.
2897
- *
2898
- * @experimental
2899
- */
2900
- export const zConnectMcpResponse = z.object({
2901
- connectionId: zMcpConnectionId,
2902
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2903
- });
2904
- /**
2905
- * **UNSTABLE**
2906
- *
2907
- * This capability is not part of the spec yet, and may be removed or changed at any point.
2908
- *
2909
- * Response to `mcp/disconnect`.
2910
- *
2911
- * @experimental
2912
- */
2913
- export const zDisconnectMcpResponse = z.object({
2914
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2915
- });
2916
- /**
2917
- * A JSON-RPC response object.
2918
- */
2919
- export const zClientResponse = z.union([
2920
- z.object({
2921
- id: zRequestId,
2922
- result: z.union([
2923
- zWriteTextFileResponse,
2924
- zReadTextFileResponse,
2925
- zRequestPermissionResponse,
2926
- zCreateTerminalResponse,
2927
- zTerminalOutputResponse,
2928
- zReleaseTerminalResponse,
2929
- zWaitForTerminalExitResponse,
2930
- zKillTerminalResponse,
2931
- zCreateElicitationResponse,
2932
- zConnectMcpResponse,
2933
- zDisconnectMcpResponse,
2934
- zMessageMcpResponse,
2935
- zExtResponse,
2936
- ]),
2937
- }),
2938
- z.object({
2939
- id: zRequestId,
2940
- error: zError,
2941
- }),
2942
- ]);
2943
- /**
2944
- * Notification to cancel ongoing operations for a session.
2945
- *
2946
- * See protocol docs: [Cancellation](https://agentclientprotocol.com/protocol/prompt-turn#cancellation)
2947
- */
2948
- export const zCancelNotification = z.object({
2949
- sessionId: zSessionId,
2950
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2951
- });
2952
- /**
2953
- * Notification sent when a file is opened in the editor.
2954
- */
2955
- export const zDidOpenDocumentNotification = z.object({
2956
- sessionId: zSessionId,
2957
- uri: z.string(),
2958
- languageId: z.string(),
2959
- version: z.number(),
2960
- text: z.string(),
2961
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2962
- });
2963
- /**
2964
- * A content change event for a document.
2965
- *
2966
- * When `range` is `None`, `text` is the full content of the document.
2967
- * When `range` is `Some`, `text` replaces the given range.
2968
- */
2969
- export const zTextDocumentContentChangeEvent = z.object({
2970
- range: zRange.nullish(),
2971
- text: z.string(),
2972
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2973
- });
2974
- /**
2975
- * Notification sent when a file is edited.
2976
- */
2977
- export const zDidChangeDocumentNotification = z.object({
2978
- sessionId: zSessionId,
2979
- uri: z.string(),
2980
- version: z.number(),
2981
- contentChanges: requiredDefaultOnError(vecSkipError(zTextDocumentContentChangeEvent), () => []),
2982
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2983
- });
2984
- /**
2985
- * Notification sent when a file is closed.
2986
- */
2987
- export const zDidCloseDocumentNotification = z.object({
2988
- sessionId: zSessionId,
2989
- uri: z.string(),
2990
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2991
- });
2992
- /**
2993
- * Notification sent when a file is saved.
2994
- */
2995
- export const zDidSaveDocumentNotification = z.object({
2996
- sessionId: zSessionId,
2997
- uri: z.string(),
2998
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
2999
- });
3000
- /**
3001
- * Notification sent when a file becomes the active editor tab.
3002
- */
3003
- export const zDidFocusDocumentNotification = z.object({
3004
- sessionId: zSessionId,
3005
- uri: z.string(),
3006
- version: z.number(),
3007
- position: zPosition,
3008
- visibleRange: zRange,
3009
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
3010
- });
3011
- /**
3012
- * Notification sent when a suggestion is accepted.
3013
- */
3014
- export const zAcceptNesNotification = z.object({
3015
- sessionId: zSessionId,
3016
- id: zNesSuggestionId,
3017
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
3018
- });
3019
- /**
3020
- * The reason a suggestion was rejected.
3021
- */
3022
- export const zNesRejectReason = z.union([
3023
- z.literal("rejected"),
3024
- z.literal("ignored"),
3025
- z.literal("replaced"),
3026
- z.literal("cancelled"),
3027
- ]);
3028
- /**
3029
- * Notification sent when a suggestion is rejected.
3030
- */
3031
- export const zRejectNesNotification = z.object({
3032
- sessionId: zSessionId,
3033
- id: zNesSuggestionId,
3034
- reason: defaultOnError(zNesRejectReason.nullish(), () => undefined),
3035
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
3036
- });
3037
- /**
3038
- * A JSON-RPC notification object.
3039
- */
3040
- export const zClientNotification = z.object({
3041
- method: z.string(),
3042
- params: z
3043
- .union([
3044
- zCancelNotification,
3045
- zDidOpenDocumentNotification,
3046
- zDidChangeDocumentNotification,
3047
- zDidCloseDocumentNotification,
3048
- zDidSaveDocumentNotification,
3049
- zDidFocusDocumentNotification,
3050
- zAcceptNesNotification,
3051
- zRejectNesNotification,
3052
- zMessageMcpNotification,
3053
- zExtNotification,
3054
- ])
3055
- .nullish(),
3056
- });
3057
- /**
3058
- * Notification to cancel an ongoing request.
3059
- *
3060
- * See protocol docs: [Cancellation](https://agentclientprotocol.com/protocol/cancellation)
3061
- */
3062
- export const zCancelRequestNotification = z.object({
3063
- requestId: zRequestId,
3064
- _meta: defaultOnError(z.record(z.string(), z.unknown()).nullish(), () => undefined),
3065
- });
3066
- //# sourceMappingURL=zod.gen.js.map