kennel 0.2.13 → 0.2.16

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