kennel 0.2.12 → 0.2.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1863) hide show
  1. package/README.md +19 -7
  2. package/dist/cli/dispatch.js +35 -4
  3. package/dist/cli/usage.js +2 -1
  4. package/dist/core/api-client.d.ts +1 -1
  5. package/dist/core/api-client.js +12 -14
  6. package/dist/core/command.js +4 -6
  7. package/dist/core/core-folders.js +10906 -18152
  8. package/dist/core/init.js +3 -3
  9. package/dist/core/runtime.js +207 -828
  10. package/dist/mcp/function-source.js +1 -1
  11. package/dist/mcp/generate.js +1 -1
  12. package/dist/mcp/install-page.d.ts +1 -1
  13. package/dist/mcp/install-page.js +1 -1
  14. package/dist/notifications/email-worker.js +1 -1
  15. package/dist/package/mcp-data.d.ts +1 -1
  16. package/dist/package/mcp-data.js +1 -1
  17. package/dist/package/mcp-email-worker.d.ts +1 -1
  18. package/dist/package/mcp-email-worker.js +1 -1
  19. package/dist/package/mcp-http.d.ts +1 -1
  20. package/dist/package/mcp-http.js +1 -1
  21. package/dist/package/mcp-stdio.d.ts +1 -1
  22. package/dist/package/mcp-stdio.js +1 -1
  23. package/dist/package/mcp.d.ts +1 -1
  24. package/dist/package/mcp.js +1 -1
  25. package/dist/package/preview.d.ts +2 -2
  26. package/dist/package/preview.js +9034 -55365
  27. package/dist/plugins/external.d.ts +23 -29
  28. package/dist/plugins/external.js +338 -255
  29. package/dist/site/hot-viewer.js +7 -8
  30. package/dist/site/kinds.d.ts +1 -1
  31. package/dist/site/server-plugins.d.ts +3 -6
  32. package/dist/site/server-plugins.js +31 -540
  33. package/dist/site/viewer.js +6 -10
  34. package/package.json +10 -43
  35. package/schemas/config.schema.json +10 -18
  36. package/templates/plugin/client.tsx +12 -0
  37. package/templates/plugin/kennel.plugin.json +3 -0
  38. package/templates/plugin/manifest.ts +6 -0
  39. package/templates/plugin/package.json +11 -0
  40. package/templates/plugin/server.ts +13 -0
  41. package/templates/plugin/tsconfig.json +11 -0
  42. package/web/assets/abnfDiagram-VRR7QNED-BHyQWgE7.js +1 -0
  43. package/web/assets/app-B0JvGgzJ.js +2 -0
  44. package/web/assets/app-options-CKc3uI_8.js +25 -0
  45. package/web/assets/app-view-header-O3qQjBZc.js +1 -0
  46. package/web/assets/arc-iqMSyq0j.js +1 -0
  47. package/web/assets/architectureDiagram-ZJ3FMSHR-icE1qR4S.js +36 -0
  48. package/web/assets/ask-tray-DYxvqV-2.js +14 -0
  49. package/web/assets/blockDiagram-677ZJIJ3-DvszZf5O.js +132 -0
  50. package/web/assets/c4Diagram-LMCZKHZV-DKGTFJdP.js +10 -0
  51. package/web/assets/channel-Dl1wIhHR.js +1 -0
  52. package/web/assets/check-Cfaum8KK.js +1 -0
  53. package/web/assets/chevron-down-BX9NAmJK.js +1 -0
  54. package/web/assets/chevron-right-ztDuzaVJ.js +1 -0
  55. package/web/assets/chevron-up-DuJcPAvZ.js +1 -0
  56. package/web/assets/chunk-2Q5K7J3B-DfHQU7-4.js +1 -0
  57. package/web/assets/chunk-32BRIVSS-CGVIeMh2.js +1 -0
  58. package/web/assets/chunk-5VM5RSS4-YC-XnadT.js +15 -0
  59. package/web/assets/chunk-EX3LRPZG-D9hAmjFx.js +231 -0
  60. package/web/assets/chunk-JWPE2WC7-CZJ17mca.js +1 -0
  61. package/web/assets/chunk-MOJQB5TN-6c2Jo2zi.js +88 -0
  62. package/web/assets/chunk-RYQCIY6F-1Nn1hRKy.js +1 -0
  63. package/web/assets/chunk-V7JOEXUC-D1yjMw1v.js +206 -0
  64. package/web/assets/chunk-VR4S4FIN-BEXJFqwW.js +1 -0
  65. package/web/assets/chunk-XXDRQBXY-B8VOyKvi.js +1 -0
  66. package/web/assets/classDiagram-OUVF2IWQ-B1y0va4e.js +1 -0
  67. package/web/assets/classDiagram-v2-EOCWNBFH-B1y0va4e.js +1 -0
  68. package/web/assets/client-BrGya3CX.js +6 -0
  69. package/web/assets/client-C7VkMvLG.js +43 -0
  70. package/web/assets/command-Y1kMd3Z_.js +38 -0
  71. package/web/assets/copy-COuKJWiP.js +1 -0
  72. package/web/assets/copy-context-DGGuwV3t.js +1 -0
  73. package/web/assets/cose-bilkent-JH36ORCC-DPz8lvQv.js +1 -0
  74. package/web/assets/cynefin-VYW2F7L2-BFTKvFOB.js +166 -0
  75. package/web/assets/cynefinDiagram-TSTJHNR4-DMEVtV_N.js +62 -0
  76. package/web/assets/dagre-VKFMJZFB-DBfLDvQQ.js +4 -0
  77. package/web/assets/diagram-FQU43EPY-Hg6dezar.js +3 -0
  78. package/web/assets/diagram-G47NLZAW-B3By8CC3.js +24 -0
  79. package/web/assets/diagram-NH7WQ7WH-VX-G6EM9.js +24 -0
  80. package/web/assets/diagram-OA4YK3LP-BDqJrmLH.js +30 -0
  81. package/web/assets/diagram-WEI45ONY-E_AxKlsP.js +41 -0
  82. package/web/assets/document-CPUr6Ihg.js +23 -0
  83. package/web/assets/ebnfDiagram-CCIWWBDH-GqIG7eta.js +1 -0
  84. package/web/assets/ellipsis-D2HGbhJm.js +1 -0
  85. package/web/assets/entities-CKW3uiVH.js +22 -0
  86. package/web/assets/erDiagram-Q63AITRT-dYQlw4qh.js +85 -0
  87. package/web/assets/file-text-DcPqwYq5.js +1 -0
  88. package/web/assets/file-viewer-7SOU9CiS.js +1 -0
  89. package/web/assets/flowDiagram-23GEKE2U-Pc0YdspI.js +156 -0
  90. package/web/assets/folder-DTZcp2A6.js +1 -0
  91. package/web/assets/folder-filter-bar-B-i-4rbo.js +4 -0
  92. package/web/assets/folder-image-DU_poo8q.js +1 -0
  93. package/web/assets/folder-landing-UVkNL9G8.js +55 -0
  94. package/web/assets/folder-list-F-yrc7-p.js +1 -0
  95. package/web/assets/folder-mobile-bar-DJPrKpxo.js +1 -0
  96. package/web/assets/folder-open-DOYzvzsN.js +1 -0
  97. package/web/assets/folder-plugin-view-BT7to93n.js +2 -0
  98. package/web/assets/ganttDiagram-NO4QXBWP-DZJOsUZz.js +292 -0
  99. package/web/assets/gitGraphDiagram-IHSO6WYX-CgLODdVy.js +106 -0
  100. package/web/assets/hooks-wZOJYSkv.js +1 -0
  101. package/web/assets/index-4-yQR2Lz.js +41 -0
  102. package/web/assets/index-4JQ747xt.js +1 -0
  103. package/web/assets/index-B9Ju-85a.js +2 -0
  104. package/web/assets/index-BFd02VlT.js +1 -0
  105. package/web/assets/index-BjrX8Pf-.js +64 -0
  106. package/web/assets/index-BpMdYK6_.js +1 -0
  107. package/web/assets/index-D4WzK5IV.js +1 -0
  108. package/web/assets/index-DnD4X7zc.js +1 -0
  109. package/web/assets/index-uY9jLiL5.css +1 -0
  110. package/web/assets/index-uo3lipQl.js +1 -0
  111. package/web/assets/infoDiagram-FWYZ7A6U-DX-ufAQe.js +2 -0
  112. package/web/assets/input-fNFbKa15.js +9 -0
  113. package/web/assets/ishikawaDiagram-FXEZZL3T-CuwECnGF.js +70 -0
  114. package/web/assets/journeyDiagram-5HDEW3XC-2zmihEh6.js +139 -0
  115. package/web/assets/kanban-definition-HUTT4EX6-BdQsyGLl.js +89 -0
  116. package/web/assets/linear-B-kLzgKS.js +1 -0
  117. package/web/assets/linked-session-header-D4SUBW0L.js +3 -0
  118. package/web/assets/markdown-BvBsne3X.js +327 -0
  119. package/web/assets/mermaid.core-aYzB5any.js +308 -0
  120. package/web/assets/metadata-Clyy4qXZ.js +58 -0
  121. package/web/assets/mindmap-definition-LN4V7U3C-BNBOyFsl.js +96 -0
  122. package/web/assets/pegDiagram-2B236MQR-BAvwpPbi.js +1 -0
  123. package/web/assets/pieDiagram-ENE6RG2P-BXCS7abV.js +39 -0
  124. package/web/assets/plugin-host-modules-DEtx9Hq7.js +10 -0
  125. package/web/assets/plus-B3J-m78K.js +1 -0
  126. package/web/assets/popover-1LXR77r7.js +9 -0
  127. package/web/assets/project-search-dialog-B56ZSDPJ.js +43 -0
  128. package/web/assets/quadrantDiagram-ABIIQ3AL-Coo6fFHf.js +7 -0
  129. package/web/assets/railroadDiagram-RFXS5EU6-BaNxlV1J.js +1 -0
  130. package/web/assets/react-Dh7j6h1K.js +9 -0
  131. package/web/assets/requirementDiagram-TGXJPOKE-LMF4IfnZ.js +84 -0
  132. package/web/assets/sankeyDiagram-HTMAVEWB-C-yWLNPa.js +40 -0
  133. package/web/assets/search-BPF3ARQ9.js +1 -0
  134. package/web/assets/search-DG1auulp.css +1 -0
  135. package/web/assets/search-DImG1V67.js +2 -0
  136. package/web/assets/selection-popup-B_zAXt8R.js +7 -0
  137. package/web/assets/sequenceDiagram-DBY2YBRQ-DeHqYdg4.js +162 -0
  138. package/web/assets/sizeCapture-X5ZJPWSS-D2CDPOxg.js +1 -0
  139. package/web/assets/stateDiagram-2N3HPSRC-CNIYaeQH.js +1 -0
  140. package/web/assets/stateDiagram-v2-6OUMAXLB-Kn8FnYqS.js +1 -0
  141. package/web/assets/swimlanes-5IMT3BWC-CDsDmFBa.js +2 -0
  142. package/web/assets/swimlanesDiagram-G3AALYLV-FhTXuqD7.js +8 -0
  143. package/web/assets/tanstack-CirxkzEx.js +1 -0
  144. package/web/assets/timeline-definition-FHXFAJF6-C5ZIg5nr.js +120 -0
  145. package/web/assets/utils-CvINCDjn.js +1 -0
  146. package/web/assets/vennDiagram-L72KCM5P-D6pkrFwZ.js +34 -0
  147. package/web/assets/view-context-DKIrg--H.js +101 -0
  148. package/web/assets/viewer-capabilities-1a6IsY4l.js +1 -0
  149. package/web/assets/wardleyDiagram-EHGQE667-Yf1WJw-3.js +78 -0
  150. package/web/assets/x-BZE9W34m.js +1 -0
  151. package/web/assets/xychartDiagram-FW5EYKEG-Ds8KCXv_.js +7 -0
  152. package/web/index.html +4 -4
  153. package/web/kennel-theme.css +17 -0
  154. package/dist/cli/src/automations/notifications.d.ts +0 -40
  155. package/dist/cli/src/automations/notifications.js +0 -220
  156. package/dist/cli/src/cli/dispatch.d.ts +0 -1
  157. package/dist/cli/src/cli/dispatch.js +0 -138
  158. package/dist/cli/src/cli/usage.d.ts +0 -1
  159. package/dist/cli/src/cli/usage.js +0 -25
  160. package/dist/cli/src/core/api-client.d.ts +0 -13
  161. package/dist/cli/src/core/api-client.js +0 -1
  162. package/dist/cli/src/core/command.d.ts +0 -1
  163. package/dist/cli/src/core/command.js +0 -70
  164. package/dist/cli/src/core/core-folders.d.ts +0 -1
  165. package/dist/cli/src/core/core-folders.js +0 -42
  166. package/dist/cli/src/core/init.d.ts +0 -1
  167. package/dist/cli/src/core/init.js +0 -141
  168. package/dist/cli/src/core/runtime.d.ts +0 -14
  169. package/dist/cli/src/core/runtime.js +0 -1
  170. package/dist/cli/src/deploy/cloudflare.d.ts +0 -6
  171. package/dist/cli/src/deploy/cloudflare.js +0 -100
  172. package/dist/cli/src/deploy/environment.d.ts +0 -2
  173. package/dist/cli/src/deploy/environment.js +0 -47
  174. package/dist/cli/src/deploy/smoke-tests.d.ts +0 -4
  175. package/dist/cli/src/deploy/smoke-tests.js +0 -92
  176. package/dist/cli/src/deploy/trigger-dev.d.ts +0 -2
  177. package/dist/cli/src/deploy/trigger-dev.js +0 -255
  178. package/dist/cli/src/deploy/vercel.d.ts +0 -3
  179. package/dist/cli/src/deploy/vercel.js +0 -67
  180. package/dist/cli/src/main.d.ts +0 -1
  181. package/dist/cli/src/main.js +0 -9
  182. package/dist/cli/src/mcp/agent-tools.d.ts +0 -8
  183. package/dist/cli/src/mcp/agent-tools.js +0 -247
  184. package/dist/cli/src/mcp/config.d.ts +0 -25
  185. package/dist/cli/src/mcp/config.js +0 -185
  186. package/dist/cli/src/mcp/function-source.d.ts +0 -7
  187. package/dist/cli/src/mcp/function-source.js +0 -42
  188. package/dist/cli/src/mcp/generate.d.ts +0 -1
  189. package/dist/cli/src/mcp/generate.js +0 -47
  190. package/dist/cli/src/mcp/install-page.d.ts +0 -12
  191. package/dist/cli/src/mcp/install-page.js +0 -5
  192. package/dist/cli/src/notifications/email-worker.d.ts +0 -8
  193. package/dist/cli/src/notifications/email-worker.js +0 -137
  194. package/dist/cli/src/package/mcp-data.d.ts +0 -1
  195. package/dist/cli/src/package/mcp-data.js +0 -1
  196. package/dist/cli/src/package/mcp-email-worker.d.ts +0 -1
  197. package/dist/cli/src/package/mcp-email-worker.js +0 -1
  198. package/dist/cli/src/package/mcp-http.d.ts +0 -1
  199. package/dist/cli/src/package/mcp-http.js +0 -1
  200. package/dist/cli/src/package/mcp-stdio.d.ts +0 -1
  201. package/dist/cli/src/package/mcp-stdio.js +0 -1
  202. package/dist/cli/src/package/mcp.d.ts +0 -1
  203. package/dist/cli/src/package/mcp.js +0 -1
  204. package/dist/cli/src/package/preview.d.ts +0 -9
  205. package/dist/cli/src/package/preview.js +0 -1
  206. package/dist/cli/src/plugins/external.d.ts +0 -65
  207. package/dist/cli/src/plugins/external.js +0 -612
  208. package/dist/cli/src/publish/cloudflare-init.d.ts +0 -12
  209. package/dist/cli/src/publish/cloudflare-init.js +0 -101
  210. package/dist/cli/src/publish/config.d.ts +0 -28
  211. package/dist/cli/src/publish/config.js +0 -178
  212. package/dist/cli/src/publish/options.d.ts +0 -13
  213. package/dist/cli/src/publish/options.js +0 -78
  214. package/dist/cli/src/publish/vercel-init.d.ts +0 -9
  215. package/dist/cli/src/publish/vercel-init.js +0 -52
  216. package/dist/cli/src/shared/json.d.ts +0 -4
  217. package/dist/cli/src/shared/json.js +0 -56
  218. package/dist/cli/src/shared/object.d.ts +0 -2
  219. package/dist/cli/src/shared/object.js +0 -3
  220. package/dist/cli/src/shared/package-manager.d.ts +0 -11
  221. package/dist/cli/src/shared/package-manager.js +0 -39
  222. package/dist/cli/src/shared/path.d.ts +0 -4
  223. package/dist/cli/src/shared/path.js +0 -40
  224. package/dist/cli/src/shared/process.d.ts +0 -7
  225. package/dist/cli/src/shared/process.js +0 -12
  226. package/dist/cli/src/shared/project-config.d.ts +0 -2
  227. package/dist/cli/src/shared/project-config.js +0 -26
  228. package/dist/cli/src/site/dev.d.ts +0 -10
  229. package/dist/cli/src/site/dev.js +0 -126
  230. package/dist/cli/src/site/extension.d.ts +0 -8
  231. package/dist/cli/src/site/extension.js +0 -113
  232. package/dist/cli/src/site/folder-icons.d.ts +0 -46
  233. package/dist/cli/src/site/folder-icons.js +0 -86
  234. package/dist/cli/src/site/hot-viewer.d.ts +0 -2
  235. package/dist/cli/src/site/hot-viewer.js +0 -238
  236. package/dist/cli/src/site/kinds.d.ts +0 -1
  237. package/dist/cli/src/site/kinds.js +0 -1
  238. package/dist/cli/src/site/mail.d.ts +0 -1
  239. package/dist/cli/src/site/mail.js +0 -10
  240. package/dist/cli/src/site/renderers.d.ts +0 -61
  241. package/dist/cli/src/site/renderers.js +0 -219
  242. package/dist/cli/src/site/server-plugins.d.ts +0 -49
  243. package/dist/cli/src/site/server-plugins.js +0 -1
  244. package/dist/cli/src/site/viewer.d.ts +0 -36
  245. package/dist/cli/src/site/viewer.js +0 -358
  246. package/dist/cli/src/site/vitepress.d.ts +0 -1
  247. package/dist/cli/src/site/vitepress.js +0 -1
  248. package/kernel/apps/web/.env.example +0 -11
  249. package/kernel/apps/web/components.json +0 -20
  250. package/kernel/apps/web/eslint.config.mjs +0 -60
  251. package/kernel/apps/web/index.html +0 -17
  252. package/kernel/apps/web/package.json +0 -75
  253. package/kernel/apps/web/public/favicon.svg +0 -6
  254. package/kernel/apps/web/public/providers/claude.svg +0 -1
  255. package/kernel/apps/web/public/providers/codex.svg +0 -1
  256. package/kernel/apps/web/public/providers/cursor.svg +0 -1
  257. package/kernel/apps/web/public/providers/opencode.svg +0 -1
  258. package/kernel/apps/web/public/providers/pi.svg +0 -1
  259. package/kernel/apps/web/scripts/dev.mjs +0 -57
  260. package/kernel/apps/web/server/acp/index.ts +0 -1
  261. package/kernel/apps/web/server/acp/live-agent-connection.ts +0 -1
  262. package/kernel/apps/web/server/acp/process-manager.ts +0 -1
  263. package/kernel/apps/web/server/acp/registry.ts +0 -1
  264. package/kernel/apps/web/server/acp/sdk.ts +0 -1
  265. package/kernel/apps/web/server/acp/transport.ts +0 -1
  266. package/kernel/apps/web/server/acp/types.ts +0 -1
  267. package/kernel/apps/web/server/acp-live-plugin.ts +0 -30
  268. package/kernel/apps/web/server/api/document-edit.ts +0 -1
  269. package/kernel/apps/web/server/api/open-path.ts +0 -1
  270. package/kernel/apps/web/server/core-plugin.ts +0 -49
  271. package/kernel/apps/web/server/folder-favicon.ts +0 -1
  272. package/kernel/apps/web/server/folder-icons.ts +0 -1
  273. package/kernel/apps/web/server/folder-metadata-plugin.ts +0 -31
  274. package/kernel/apps/web/server/plugins.ts +0 -1
  275. package/kernel/apps/web/server/preview-kinds.ts +0 -1
  276. package/kernel/apps/web/src/ai-input.tsx +0 -62
  277. package/kernel/apps/web/src/annotations.tsx +0 -430
  278. package/kernel/apps/web/src/api/client.ts +0 -3
  279. package/kernel/apps/web/src/api/errors.ts +0 -1
  280. package/kernel/apps/web/src/api/events.ts +0 -78
  281. package/kernel/apps/web/src/app.css +0 -329
  282. package/kernel/apps/web/src/app.tsx +0 -667
  283. package/kernel/apps/web/src/ask-draft.ts +0 -164
  284. package/kernel/apps/web/src/ask-tray.tsx +0 -256
  285. package/kernel/apps/web/src/comment-editor.tsx +0 -93
  286. package/kernel/apps/web/src/comment-form.tsx +0 -162
  287. package/kernel/apps/web/src/copy-path.ts +0 -18
  288. package/kernel/apps/web/src/deferred-ask-tray.tsx +0 -20
  289. package/kernel/apps/web/src/document-url.ts +0 -46
  290. package/kernel/apps/web/src/documents-url.ts +0 -23
  291. package/kernel/apps/web/src/dropped-folder.ts +0 -64
  292. package/kernel/apps/web/src/external-plugins.ts +0 -3
  293. package/kernel/apps/web/src/file-viewer.tsx +0 -171
  294. package/kernel/apps/web/src/folder-filter-icons.tsx +0 -39
  295. package/kernel/apps/web/src/folder-metadata.ts +0 -76
  296. package/kernel/apps/web/src/folder-plugin-view.tsx +0 -87
  297. package/kernel/apps/web/src/folder-query-cache.ts +0 -66
  298. package/kernel/apps/web/src/host-adapters.ts +0 -209
  299. package/kernel/apps/web/src/host-bridge.ts +0 -214
  300. package/kernel/apps/web/src/lib/entity-folder.ts +0 -2
  301. package/kernel/apps/web/src/linked-session-header.tsx +0 -43
  302. package/kernel/apps/web/src/live-session-controls.tsx +0 -326
  303. package/kernel/apps/web/src/local-source.ts +0 -32
  304. package/kernel/apps/web/src/main.tsx +0 -23
  305. package/kernel/apps/web/src/markdown-page.tsx +0 -444
  306. package/kernel/apps/web/src/notes-page.tsx +0 -103
  307. package/kernel/apps/web/src/plugins.ts +0 -23
  308. package/kernel/apps/web/src/project-search-dialog.tsx +0 -257
  309. package/kernel/apps/web/src/project-search.ts +0 -18
  310. package/kernel/apps/web/src/query-client.ts +0 -4
  311. package/kernel/apps/web/src/rehype-source-lines.ts +0 -22
  312. package/kernel/apps/web/src/routes/document.tsx +0 -1
  313. package/kernel/apps/web/src/routes/entities.tsx +0 -277
  314. package/kernel/apps/web/src/routes/search.tsx +0 -60
  315. package/kernel/apps/web/src/selection-context.ts +0 -68
  316. package/kernel/apps/web/src/selection-input.tsx +0 -58
  317. package/kernel/apps/web/src/selection-popup.tsx +0 -155
  318. package/kernel/apps/web/src/session-transcript-page.tsx +0 -152
  319. package/kernel/apps/web/src/use-annotations.ts +0 -162
  320. package/kernel/apps/web/src/use-ask-ai.ts +0 -26
  321. package/kernel/apps/web/src/use-ask-draft.ts +0 -27
  322. package/kernel/apps/web/src/use-document.ts +0 -37
  323. package/kernel/apps/web/src/use-folder-notes.ts +0 -49
  324. package/kernel/apps/web/src/use-linked-session.ts +0 -33
  325. package/kernel/apps/web/src/view-context.tsx +0 -69
  326. package/kernel/apps/web/src/view-header.tsx +0 -66
  327. package/kernel/apps/web/src/viewer-capabilities.ts +0 -33
  328. package/kernel/apps/web/src/viewer-route.ts +0 -1
  329. package/kernel/apps/web/src/viewport-height.ts +0 -33
  330. package/kernel/apps/web/tsconfig.json +0 -23
  331. package/kernel/apps/web/vite.config.ts +0 -261
  332. package/kernel/packages/agents/eslint.config.js +0 -10
  333. package/kernel/packages/agents/package.json +0 -75
  334. package/kernel/packages/agents/src/agent-card.tsx +0 -334
  335. package/kernel/packages/agents/src/client.tsx +0 -13
  336. package/kernel/packages/agents/src/index.ts +0 -18
  337. package/kernel/packages/agents/src/manifest.ts +0 -7
  338. package/kernel/packages/agents/src/node.ts +0 -447
  339. package/kernel/packages/agents/src/profiles.ts +0 -137
  340. package/kernel/packages/agents/src/resolve.ts +0 -69
  341. package/kernel/packages/agents/src/server.ts +0 -60
  342. package/kernel/packages/agents/src/types.ts +0 -82
  343. package/kernel/packages/agents/src/viewer.tsx +0 -370
  344. package/kernel/packages/agents/test/profiles.test.mjs +0 -88
  345. package/kernel/packages/agents/test/resolve.test.mjs +0 -729
  346. package/kernel/packages/agents/tsconfig.json +0 -17
  347. package/kernel/packages/api/README.md +0 -73
  348. package/kernel/packages/api/openapi.json +0 -3368
  349. package/kernel/packages/api/package.json +0 -37
  350. package/kernel/packages/api/src/client/errors.ts +0 -1
  351. package/kernel/packages/api/src/client/index.ts +0 -2
  352. package/kernel/packages/api/src/contracts/schemas.ts +0 -277
  353. package/kernel/packages/api/src/contracts.ts +0 -20
  354. package/kernel/packages/api/src/index.ts +0 -34
  355. package/kernel/packages/api/src/server/acp/index.ts +0 -35
  356. package/kernel/packages/api/src/server/acp/live-agent-connection.ts +0 -44
  357. package/kernel/packages/api/src/server/acp/process-manager.ts +0 -291
  358. package/kernel/packages/api/src/server/acp/registry.ts +0 -140
  359. package/kernel/packages/api/src/server/acp/sdk.ts +0 -15
  360. package/kernel/packages/api/src/server/acp/transport.ts +0 -115
  361. package/kernel/packages/api/src/server/acp/types.ts +0 -89
  362. package/kernel/packages/api/src/server/acp-live-plugin.ts +0 -423
  363. package/kernel/packages/api/src/server/api/create-agent-file.ts +0 -46
  364. package/kernel/packages/api/src/server/api/document-edit.ts +0 -125
  365. package/kernel/packages/api/src/server/api/open-path.ts +0 -40
  366. package/kernel/packages/api/src/server/contracts.ts +0 -85
  367. package/kernel/packages/api/src/server/entity-folder.ts +0 -353
  368. package/kernel/packages/api/src/server/folder-favicon.ts +0 -17
  369. package/kernel/packages/api/src/server/folder-icons.ts +0 -113
  370. package/kernel/packages/api/src/server/folder-metadata-plugin.ts +0 -1733
  371. package/kernel/packages/api/src/server/host.ts +0 -21
  372. package/kernel/packages/api/src/server/index.ts +0 -196
  373. package/kernel/packages/api/src/server/linked-folder-discovery.ts +0 -158
  374. package/kernel/packages/api/src/server/plugins.ts +0 -238
  375. package/kernel/packages/api/src/server/project-discovery.ts +0 -69
  376. package/kernel/packages/api/src/server/watcher.ts +0 -46
  377. package/kernel/packages/api/src/shared/selection.ts +0 -16
  378. package/kernel/packages/api/src/shared/viewer-route.ts +0 -200
  379. package/kernel/packages/api/test/agents-loading.test.ts +0 -94
  380. package/kernel/packages/api/test/core.test.ts +0 -352
  381. package/kernel/packages/api/test/entity-folder.test.ts +0 -131
  382. package/kernel/packages/api/test/linked-folder-discovery.test.ts +0 -78
  383. package/kernel/packages/api/test/media-endpoint.test.ts +0 -83
  384. package/kernel/packages/api/test/project-discovery.test.ts +0 -44
  385. package/kernel/packages/api/tsconfig.json +0 -11
  386. package/kernel/packages/api-client/README.md +0 -72
  387. package/kernel/packages/api-client/package.json +0 -26
  388. package/kernel/packages/api-client/scripts/generate.ts +0 -68
  389. package/kernel/packages/api-client/src/errors.ts +0 -59
  390. package/kernel/packages/api-client/src/generated.d.ts +0 -1248
  391. package/kernel/packages/api-client/src/index.ts +0 -206
  392. package/kernel/packages/api-client/src/responses.ts +0 -19
  393. package/kernel/packages/api-client/test/client.test.ts +0 -143
  394. package/kernel/packages/api-client/tsconfig.json +0 -12
  395. package/kernel/packages/kinds/package.json +0 -24
  396. package/kernel/packages/kinds/src/kinds.ts +0 -172
  397. package/kernel/packages/markdown/README.md +0 -40
  398. package/kernel/packages/markdown/explorer.css +0 -1
  399. package/kernel/packages/markdown/package.json +0 -30
  400. package/kernel/packages/markdown/src/documents.ts +0 -1
  401. package/kernel/packages/markdown/src/explorer.ts +0 -1
  402. package/kernel/packages/markdown/src/index.ts +0 -2
  403. package/kernel/packages/markdown/src/metadata.ts +0 -63
  404. package/kernel/packages/markdown/src/node.ts +0 -1
  405. package/kernel/packages/markdown/styles.css +0 -1
  406. package/kernel/packages/notes/SKILL.md +0 -19
  407. package/kernel/packages/notes/eslint.config.js +0 -10
  408. package/kernel/packages/notes/package.json +0 -72
  409. package/kernel/packages/notes/src/client.tsx +0 -12
  410. package/kernel/packages/notes/src/data/ai-input.ts +0 -58
  411. package/kernel/packages/notes/src/data/api.ts +0 -40
  412. package/kernel/packages/notes/src/data/parse.ts +0 -15
  413. package/kernel/packages/notes/src/data/routing.ts +0 -33
  414. package/kernel/packages/notes/src/data/use-folder-notes.ts +0 -49
  415. package/kernel/packages/notes/src/index.ts +0 -2
  416. package/kernel/packages/notes/src/manifest.ts +0 -6
  417. package/kernel/packages/notes/src/pages/notes-page.tsx +0 -112
  418. package/kernel/packages/notes/src/pages/single-note-page.tsx +0 -57
  419. package/kernel/packages/notes/src/server.ts +0 -88
  420. package/kernel/packages/notes/src/ui/ai-composer-controls.tsx +0 -70
  421. package/kernel/packages/notes/src/ui/folder-notes-list.tsx +0 -76
  422. package/kernel/packages/notes/tsconfig.json +0 -16
  423. package/kernel/packages/plugins/SKILL.md +0 -39
  424. package/kernel/packages/plugins/eslint.config.js +0 -10
  425. package/kernel/packages/plugins/package.json +0 -104
  426. package/kernel/packages/plugins/src/client.ts +0 -73
  427. package/kernel/packages/plugins/src/endpoint.ts +0 -273
  428. package/kernel/packages/plugins/src/index.ts +0 -52
  429. package/kernel/packages/plugins/src/page.ts +0 -17
  430. package/kernel/packages/plugins/src/server.ts +0 -78
  431. package/kernel/packages/plugins/src/subpath.ts +0 -34
  432. package/kernel/packages/plugins/src/types.ts +0 -86
  433. package/kernel/packages/plugins/src/validation.ts +0 -56
  434. package/kernel/packages/plugins/test/contract.test.mjs +0 -133
  435. package/kernel/packages/plugins/tsconfig.json +0 -21
  436. package/kernel/packages/plugins/tsup.config.ts +0 -25
  437. package/kernel/packages/schemas/ICON-POLICY.md +0 -43
  438. package/kernel/packages/schemas/SKILL.md +0 -185
  439. package/kernel/packages/schemas/eslint.config.js +0 -10
  440. package/kernel/packages/schemas/package.json +0 -81
  441. package/kernel/packages/schemas/src/client.tsx +0 -137
  442. package/kernel/packages/schemas/src/data/config-file.ts +0 -37
  443. package/kernel/packages/schemas/src/data/contract.ts +0 -174
  444. package/kernel/packages/schemas/src/data/favicon.ts +0 -218
  445. package/kernel/packages/schemas/src/data/fields.ts +0 -96
  446. package/kernel/packages/schemas/src/data/icon-image.ts +0 -53
  447. package/kernel/packages/schemas/src/data/icon.ts +0 -97
  448. package/kernel/packages/schemas/src/data/load.ts +0 -161
  449. package/kernel/packages/schemas/src/data/params.ts +0 -103
  450. package/kernel/packages/schemas/src/data/query.ts +0 -33
  451. package/kernel/packages/schemas/src/data/sort.ts +0 -50
  452. package/kernel/packages/schemas/src/data/workspace.ts +0 -101
  453. package/kernel/packages/schemas/src/index.ts +0 -22
  454. package/kernel/packages/schemas/src/manifest.ts +0 -4
  455. package/kernel/packages/schemas/src/node.ts +0 -384
  456. package/kernel/packages/schemas/src/pages/collection.tsx +0 -252
  457. package/kernel/packages/schemas/src/server.ts +0 -208
  458. package/kernel/packages/schemas/src/ui/schema-entity-list.tsx +0 -124
  459. package/kernel/packages/schemas/src/ui/schema-filters.tsx +0 -186
  460. package/kernel/packages/schemas/src/ui/schema-search.tsx +0 -35
  461. package/kernel/packages/schemas/src/ui/use-query-param-filter-setting.tsx +0 -15
  462. package/kernel/packages/schemas/test/contract.test.mjs +0 -26
  463. package/kernel/packages/schemas/test/fields.test.mjs +0 -187
  464. package/kernel/packages/schemas/test/load.test.mjs +0 -12
  465. package/kernel/packages/schemas/test/node.test.mjs +0 -412
  466. package/kernel/packages/schemas/test/query.test.mjs +0 -134
  467. package/kernel/packages/schemas/test/workspace.test.mjs +0 -86
  468. package/kernel/packages/schemas/tsconfig.json +0 -17
  469. package/kernel/packages/session-finding/package.json +0 -33
  470. package/kernel/packages/session-finding/src/index.ts +0 -120
  471. package/kernel/packages/session-finding/test/list-sessions.test.mjs +0 -139
  472. package/kernel/packages/session-finding/tsconfig.json +0 -12
  473. package/kernel/packages/ui/LICENSE +0 -21
  474. package/kernel/packages/ui/components.json +0 -20
  475. package/kernel/packages/ui/eslint.config.js +0 -8
  476. package/kernel/packages/ui/package.json +0 -106
  477. package/kernel/packages/ui/src/chat/file-link.ts +0 -178
  478. package/kernel/packages/ui/src/chat/index.ts +0 -18
  479. package/kernel/packages/ui/src/chat/transcript.tsx +0 -348
  480. package/kernel/packages/ui/src/chat/turns.ts +0 -76
  481. package/kernel/packages/ui/src/chat/types.ts +0 -23
  482. package/kernel/packages/ui/src/chat/use-overflowing.ts +0 -56
  483. package/kernel/packages/ui/src/components/accordion.tsx +0 -74
  484. package/kernel/packages/ui/src/components/alert-dialog.tsx +0 -164
  485. package/kernel/packages/ui/src/components/alert.tsx +0 -68
  486. package/kernel/packages/ui/src/components/app-breadcrumbs.tsx +0 -170
  487. package/kernel/packages/ui/src/components/app-header.tsx +0 -125
  488. package/kernel/packages/ui/src/components/app-options.tsx +0 -87
  489. package/kernel/packages/ui/src/components/app-view-header.tsx +0 -34
  490. package/kernel/packages/ui/src/components/aspect-ratio.tsx +0 -11
  491. package/kernel/packages/ui/src/components/avatar.tsx +0 -53
  492. package/kernel/packages/ui/src/components/badge.tsx +0 -47
  493. package/kernel/packages/ui/src/components/base-dialog.tsx +0 -3
  494. package/kernel/packages/ui/src/components/base-tabs.tsx +0 -63
  495. package/kernel/packages/ui/src/components/breadcrumb.tsx +0 -110
  496. package/kernel/packages/ui/src/components/button-group.tsx +0 -86
  497. package/kernel/packages/ui/src/components/button.tsx +0 -65
  498. package/kernel/packages/ui/src/components/calendar.tsx +0 -240
  499. package/kernel/packages/ui/src/components/card.tsx +0 -95
  500. package/kernel/packages/ui/src/components/carousel.tsx +0 -240
  501. package/kernel/packages/ui/src/components/chart.tsx +0 -375
  502. package/kernel/packages/ui/src/components/checkbox.tsx +0 -39
  503. package/kernel/packages/ui/src/components/collapsible.tsx +0 -33
  504. package/kernel/packages/ui/src/components/collection-icon.tsx +0 -28
  505. package/kernel/packages/ui/src/components/command.tsx +0 -205
  506. package/kernel/packages/ui/src/components/content-issues.tsx +0 -63
  507. package/kernel/packages/ui/src/components/context-menu.tsx +0 -298
  508. package/kernel/packages/ui/src/components/copy-context.tsx +0 -134
  509. package/kernel/packages/ui/src/components/dialog.tsx +0 -157
  510. package/kernel/packages/ui/src/components/drawer.tsx +0 -162
  511. package/kernel/packages/ui/src/components/dropdown-menu.tsx +0 -303
  512. package/kernel/packages/ui/src/components/empty.tsx +0 -108
  513. package/kernel/packages/ui/src/components/field.tsx +0 -260
  514. package/kernel/packages/ui/src/components/file-preview.tsx +0 -152
  515. package/kernel/packages/ui/src/components/file-renderer.tsx +0 -466
  516. package/kernel/packages/ui/src/components/filter-chip-panel.tsx +0 -157
  517. package/kernel/packages/ui/src/components/filter-select.tsx +0 -127
  518. package/kernel/packages/ui/src/components/folder-activity.tsx +0 -646
  519. package/kernel/packages/ui/src/components/folder-file-list.tsx +0 -58
  520. package/kernel/packages/ui/src/components/folder-filter-bar.tsx +0 -191
  521. package/kernel/packages/ui/src/components/folder-image.tsx +0 -18
  522. package/kernel/packages/ui/src/components/folder-landing.tsx +0 -70
  523. package/kernel/packages/ui/src/components/folder-list.tsx +0 -140
  524. package/kernel/packages/ui/src/components/folder-metadata.tsx +0 -107
  525. package/kernel/packages/ui/src/components/folder-mobile-bar.tsx +0 -60
  526. package/kernel/packages/ui/src/components/folder-project-list.tsx +0 -133
  527. package/kernel/packages/ui/src/components/folder-session-list.tsx +0 -113
  528. package/kernel/packages/ui/src/components/folder-session-page.tsx +0 -126
  529. package/kernel/packages/ui/src/components/folder-sidebar.tsx +0 -52
  530. package/kernel/packages/ui/src/components/folder-skill-list.tsx +0 -62
  531. package/kernel/packages/ui/src/components/folder-tabs.tsx +0 -156
  532. package/kernel/packages/ui/src/components/form.tsx +0 -167
  533. package/kernel/packages/ui/src/components/hover-card.tsx +0 -52
  534. package/kernel/packages/ui/src/components/icons.tsx +0 -34
  535. package/kernel/packages/ui/src/components/input-group.tsx +0 -184
  536. package/kernel/packages/ui/src/components/input-otp.tsx +0 -90
  537. package/kernel/packages/ui/src/components/input.tsx +0 -29
  538. package/kernel/packages/ui/src/components/item.tsx +0 -195
  539. package/kernel/packages/ui/src/components/kbd.tsx +0 -32
  540. package/kernel/packages/ui/src/components/label.tsx +0 -27
  541. package/kernel/packages/ui/src/components/link.tsx +0 -45
  542. package/kernel/packages/ui/src/components/live-tool-call.tsx +0 -193
  543. package/kernel/packages/ui/src/components/markdown-copy-block.tsx +0 -78
  544. package/kernel/packages/ui/src/components/menubar.tsx +0 -323
  545. package/kernel/packages/ui/src/components/navigation-menu.tsx +0 -210
  546. package/kernel/packages/ui/src/components/note-card.tsx +0 -149
  547. package/kernel/packages/ui/src/components/pagination.tsx +0 -128
  548. package/kernel/packages/ui/src/components/popover.tsx +0 -56
  549. package/kernel/packages/ui/src/components/progress.tsx +0 -31
  550. package/kernel/packages/ui/src/components/radio-group.tsx +0 -54
  551. package/kernel/packages/ui/src/components/scroll-area.tsx +0 -61
  552. package/kernel/packages/ui/src/components/select.tsx +0 -219
  553. package/kernel/packages/ui/src/components/separator.tsx +0 -30
  554. package/kernel/packages/ui/src/components/session-icon.tsx +0 -124
  555. package/kernel/packages/ui/src/components/sheet.tsx +0 -157
  556. package/kernel/packages/ui/src/components/sidebar.tsx +0 -789
  557. package/kernel/packages/ui/src/components/skeleton.tsx +0 -13
  558. package/kernel/packages/ui/src/components/slider.tsx +0 -73
  559. package/kernel/packages/ui/src/components/sonner.tsx +0 -41
  560. package/kernel/packages/ui/src/components/spinner.tsx +0 -16
  561. package/kernel/packages/ui/src/components/switch.tsx +0 -40
  562. package/kernel/packages/ui/src/components/table.tsx +0 -120
  563. package/kernel/packages/ui/src/components/tabs.tsx +0 -78
  564. package/kernel/packages/ui/src/components/textarea.tsx +0 -25
  565. package/kernel/packages/ui/src/components/toggle-group.tsx +0 -87
  566. package/kernel/packages/ui/src/components/toggle.tsx +0 -48
  567. package/kernel/packages/ui/src/components/tooltip.tsx +0 -71
  568. package/kernel/packages/ui/src/components/viewer-options.tsx +0 -166
  569. package/kernel/packages/ui/src/hooks/use-folder-filter.ts +0 -103
  570. package/kernel/packages/ui/src/hooks/use-mobile.ts +0 -19
  571. package/kernel/packages/ui/src/index.ts +0 -13
  572. package/kernel/packages/ui/src/lib/document-extensions.ts +0 -83
  573. package/kernel/packages/ui/src/lib/folder-activity.ts +0 -143
  574. package/kernel/packages/ui/src/lib/folder-filter.ts +0 -284
  575. package/kernel/packages/ui/src/lib/live-tool-call.tsx +0 -109
  576. package/kernel/packages/ui/src/lib/media-urls.ts +0 -176
  577. package/kernel/packages/ui/src/lib/obsidian-links.ts +0 -120
  578. package/kernel/packages/ui/src/lib/source-components.tsx +0 -71
  579. package/kernel/packages/ui/src/lib/utils.tsx +0 -7
  580. package/kernel/packages/ui/src/pages/entity-detail-page.tsx +0 -82
  581. package/kernel/packages/ui/src/pages/entity-list-page.tsx +0 -50
  582. package/kernel/packages/ui/src/pages/entity-page.tsx +0 -69
  583. package/kernel/packages/ui/src/styles/folder-activity.css +0 -2151
  584. package/kernel/packages/ui/test/copy-context.test.mjs +0 -48
  585. package/kernel/packages/ui/test/folder-filter.test.mjs +0 -484
  586. package/kernel/packages/ui/tsconfig.json +0 -15
  587. package/node_modules/@agentclientprotocol/sdk/LICENSE +0 -191
  588. package/node_modules/@agentclientprotocol/sdk/README.md +0 -70
  589. package/node_modules/@agentclientprotocol/sdk/dist/acp.d.ts +0 -1835
  590. package/node_modules/@agentclientprotocol/sdk/dist/acp.js +0 -1885
  591. package/node_modules/@agentclientprotocol/sdk/dist/acp.js.map +0 -1
  592. package/node_modules/@agentclientprotocol/sdk/dist/acp.test.d.ts +0 -1
  593. package/node_modules/@agentclientprotocol/sdk/dist/acp.test.js +0 -5036
  594. package/node_modules/@agentclientprotocol/sdk/dist/acp.test.js.map +0 -1
  595. package/node_modules/@agentclientprotocol/sdk/dist/connection.d.ts +0 -82
  596. package/node_modules/@agentclientprotocol/sdk/dist/connection.js +0 -428
  597. package/node_modules/@agentclientprotocol/sdk/dist/connection.js.map +0 -1
  598. package/node_modules/@agentclientprotocol/sdk/dist/connection.test.d.ts +0 -1
  599. package/node_modules/@agentclientprotocol/sdk/dist/connection.test.js +0 -470
  600. package/node_modules/@agentclientprotocol/sdk/dist/connection.test.js.map +0 -1
  601. package/node_modules/@agentclientprotocol/sdk/dist/cookie-store.d.ts +0 -26
  602. package/node_modules/@agentclientprotocol/sdk/dist/cookie-store.js +0 -96
  603. package/node_modules/@agentclientprotocol/sdk/dist/cookie-store.js.map +0 -1
  604. package/node_modules/@agentclientprotocol/sdk/dist/cookie-store.test.d.ts +0 -1
  605. package/node_modules/@agentclientprotocol/sdk/dist/cookie-store.test.js +0 -77
  606. package/node_modules/@agentclientprotocol/sdk/dist/cookie-store.test.js.map +0 -1
  607. package/node_modules/@agentclientprotocol/sdk/dist/examples/agent.d.ts +0 -2
  608. package/node_modules/@agentclientprotocol/sdk/dist/examples/agent.js +0 -232
  609. package/node_modules/@agentclientprotocol/sdk/dist/examples/agent.js.map +0 -1
  610. package/node_modules/@agentclientprotocol/sdk/dist/examples/client.d.ts +0 -2
  611. package/node_modules/@agentclientprotocol/sdk/dist/examples/client.js +0 -132
  612. package/node_modules/@agentclientprotocol/sdk/dist/examples/client.js.map +0 -1
  613. package/node_modules/@agentclientprotocol/sdk/dist/examples/dual-version-agent.d.ts +0 -9
  614. package/node_modules/@agentclientprotocol/sdk/dist/examples/dual-version-agent.js +0 -221
  615. package/node_modules/@agentclientprotocol/sdk/dist/examples/dual-version-agent.js.map +0 -1
  616. package/node_modules/@agentclientprotocol/sdk/dist/examples/http-client.d.ts +0 -2
  617. package/node_modules/@agentclientprotocol/sdk/dist/examples/http-client.js +0 -86
  618. package/node_modules/@agentclientprotocol/sdk/dist/examples/http-client.js.map +0 -1
  619. package/node_modules/@agentclientprotocol/sdk/dist/examples/http-server.d.ts +0 -2
  620. package/node_modules/@agentclientprotocol/sdk/dist/examples/http-server.js +0 -112
  621. package/node_modules/@agentclientprotocol/sdk/dist/examples/http-server.js.map +0 -1
  622. package/node_modules/@agentclientprotocol/sdk/dist/examples/ws-client.d.ts +0 -2
  623. package/node_modules/@agentclientprotocol/sdk/dist/examples/ws-client.js +0 -88
  624. package/node_modules/@agentclientprotocol/sdk/dist/examples/ws-client.js.map +0 -1
  625. package/node_modules/@agentclientprotocol/sdk/dist/http-stream.d.ts +0 -33
  626. package/node_modules/@agentclientprotocol/sdk/dist/http-stream.js +0 -435
  627. package/node_modules/@agentclientprotocol/sdk/dist/http-stream.js.map +0 -1
  628. package/node_modules/@agentclientprotocol/sdk/dist/http-stream.test.d.ts +0 -1
  629. package/node_modules/@agentclientprotocol/sdk/dist/http-stream.test.js +0 -1380
  630. package/node_modules/@agentclientprotocol/sdk/dist/http-stream.test.js.map +0 -1
  631. package/node_modules/@agentclientprotocol/sdk/dist/jsonrpc.d.ts +0 -603
  632. package/node_modules/@agentclientprotocol/sdk/dist/jsonrpc.js +0 -1064
  633. package/node_modules/@agentclientprotocol/sdk/dist/jsonrpc.js.map +0 -1
  634. package/node_modules/@agentclientprotocol/sdk/dist/jsonrpc.test.d.ts +0 -1
  635. package/node_modules/@agentclientprotocol/sdk/dist/jsonrpc.test.js +0 -851
  636. package/node_modules/@agentclientprotocol/sdk/dist/jsonrpc.test.js.map +0 -1
  637. package/node_modules/@agentclientprotocol/sdk/dist/line-buffer.d.ts +0 -22
  638. package/node_modules/@agentclientprotocol/sdk/dist/line-buffer.js +0 -64
  639. package/node_modules/@agentclientprotocol/sdk/dist/line-buffer.js.map +0 -1
  640. package/node_modules/@agentclientprotocol/sdk/dist/line-buffer.test.d.ts +0 -1
  641. package/node_modules/@agentclientprotocol/sdk/dist/line-buffer.test.js +0 -45
  642. package/node_modules/@agentclientprotocol/sdk/dist/line-buffer.test.js.map +0 -1
  643. package/node_modules/@agentclientprotocol/sdk/dist/node-adapter.d.ts +0 -17
  644. package/node_modules/@agentclientprotocol/sdk/dist/node-adapter.js +0 -426
  645. package/node_modules/@agentclientprotocol/sdk/dist/node-adapter.js.map +0 -1
  646. package/node_modules/@agentclientprotocol/sdk/dist/node-adapter.test.d.ts +0 -1
  647. package/node_modules/@agentclientprotocol/sdk/dist/node-adapter.test.js +0 -499
  648. package/node_modules/@agentclientprotocol/sdk/dist/node-adapter.test.js.map +0 -1
  649. package/node_modules/@agentclientprotocol/sdk/dist/protocol-router.d.ts +0 -37
  650. package/node_modules/@agentclientprotocol/sdk/dist/protocol-router.js +0 -474
  651. package/node_modules/@agentclientprotocol/sdk/dist/protocol-router.js.map +0 -1
  652. package/node_modules/@agentclientprotocol/sdk/dist/protocol-router.test.d.ts +0 -1
  653. package/node_modules/@agentclientprotocol/sdk/dist/protocol-router.test.js +0 -535
  654. package/node_modules/@agentclientprotocol/sdk/dist/protocol-router.test.js.map +0 -1
  655. package/node_modules/@agentclientprotocol/sdk/dist/protocol.d.ts +0 -11
  656. package/node_modules/@agentclientprotocol/sdk/dist/protocol.js +0 -57
  657. package/node_modules/@agentclientprotocol/sdk/dist/protocol.js.map +0 -1
  658. package/node_modules/@agentclientprotocol/sdk/dist/protocol.test.d.ts +0 -1
  659. package/node_modules/@agentclientprotocol/sdk/dist/protocol.test.js +0 -73
  660. package/node_modules/@agentclientprotocol/sdk/dist/protocol.test.js.map +0 -1
  661. package/node_modules/@agentclientprotocol/sdk/dist/schema/guards.gen.d.ts +0 -199
  662. package/node_modules/@agentclientprotocol/sdk/dist/schema/guards.gen.js +0 -211
  663. package/node_modules/@agentclientprotocol/sdk/dist/schema/guards.gen.js.map +0 -1
  664. package/node_modules/@agentclientprotocol/sdk/dist/schema/index.d.ts +0 -51
  665. package/node_modules/@agentclientprotocol/sdk/dist/schema/index.js +0 -52
  666. package/node_modules/@agentclientprotocol/sdk/dist/schema/index.js.map +0 -1
  667. package/node_modules/@agentclientprotocol/sdk/dist/schema/types.gen.d.ts +0 -6118
  668. package/node_modules/@agentclientprotocol/sdk/dist/schema/types.gen.js +0 -3
  669. package/node_modules/@agentclientprotocol/sdk/dist/schema/types.gen.js.map +0 -1
  670. package/node_modules/@agentclientprotocol/sdk/dist/schema/zod.gen.d.ts +0 -14160
  671. package/node_modules/@agentclientprotocol/sdk/dist/schema/zod.gen.js +0 -3066
  672. package/node_modules/@agentclientprotocol/sdk/dist/schema/zod.gen.js.map +0 -1
  673. package/node_modules/@agentclientprotocol/sdk/dist/schema-deserialize.d.ts +0 -30
  674. package/node_modules/@agentclientprotocol/sdk/dist/schema-deserialize.js +0 -98
  675. package/node_modules/@agentclientprotocol/sdk/dist/schema-deserialize.js.map +0 -1
  676. package/node_modules/@agentclientprotocol/sdk/dist/schema-deserialize.test.d.ts +0 -1
  677. package/node_modules/@agentclientprotocol/sdk/dist/schema-deserialize.test.js +0 -93
  678. package/node_modules/@agentclientprotocol/sdk/dist/schema-deserialize.test.js.map +0 -1
  679. package/node_modules/@agentclientprotocol/sdk/dist/server-permission.test.d.ts +0 -1
  680. package/node_modules/@agentclientprotocol/sdk/dist/server-permission.test.js +0 -261
  681. package/node_modules/@agentclientprotocol/sdk/dist/server-permission.test.js.map +0 -1
  682. package/node_modules/@agentclientprotocol/sdk/dist/server-session-sse.test.d.ts +0 -1
  683. package/node_modules/@agentclientprotocol/sdk/dist/server-session-sse.test.js +0 -490
  684. package/node_modules/@agentclientprotocol/sdk/dist/server-session-sse.test.js.map +0 -1
  685. package/node_modules/@agentclientprotocol/sdk/dist/server-sse.d.ts +0 -2
  686. package/node_modules/@agentclientprotocol/sdk/dist/server-sse.js +0 -104
  687. package/node_modules/@agentclientprotocol/sdk/dist/server-sse.js.map +0 -1
  688. package/node_modules/@agentclientprotocol/sdk/dist/server-sse.test.d.ts +0 -1
  689. package/node_modules/@agentclientprotocol/sdk/dist/server-sse.test.js +0 -52
  690. package/node_modules/@agentclientprotocol/sdk/dist/server-sse.test.js.map +0 -1
  691. package/node_modules/@agentclientprotocol/sdk/dist/server-websocket-upgrade.test.d.ts +0 -1
  692. package/node_modules/@agentclientprotocol/sdk/dist/server-websocket-upgrade.test.js +0 -946
  693. package/node_modules/@agentclientprotocol/sdk/dist/server-websocket-upgrade.test.js.map +0 -1
  694. package/node_modules/@agentclientprotocol/sdk/dist/server.d.ts +0 -81
  695. package/node_modules/@agentclientprotocol/sdk/dist/server.js +0 -380
  696. package/node_modules/@agentclientprotocol/sdk/dist/server.js.map +0 -1
  697. package/node_modules/@agentclientprotocol/sdk/dist/server.test.d.ts +0 -1
  698. package/node_modules/@agentclientprotocol/sdk/dist/server.test.js +0 -1082
  699. package/node_modules/@agentclientprotocol/sdk/dist/server.test.js.map +0 -1
  700. package/node_modules/@agentclientprotocol/sdk/dist/sse.d.ts +0 -4
  701. package/node_modules/@agentclientprotocol/sdk/dist/sse.js +0 -91
  702. package/node_modules/@agentclientprotocol/sdk/dist/sse.js.map +0 -1
  703. package/node_modules/@agentclientprotocol/sdk/dist/sse.test.d.ts +0 -1
  704. package/node_modules/@agentclientprotocol/sdk/dist/sse.test.js +0 -126
  705. package/node_modules/@agentclientprotocol/sdk/dist/sse.test.js.map +0 -1
  706. package/node_modules/@agentclientprotocol/sdk/dist/stream.d.ts +0 -35
  707. package/node_modules/@agentclientprotocol/sdk/dist/stream.js +0 -106
  708. package/node_modules/@agentclientprotocol/sdk/dist/stream.js.map +0 -1
  709. package/node_modules/@agentclientprotocol/sdk/dist/stream.test.d.ts +0 -1
  710. package/node_modules/@agentclientprotocol/sdk/dist/stream.test.js +0 -206
  711. package/node_modules/@agentclientprotocol/sdk/dist/stream.test.js.map +0 -1
  712. package/node_modules/@agentclientprotocol/sdk/dist/test-support/streams.d.ts +0 -8
  713. package/node_modules/@agentclientprotocol/sdk/dist/test-support/streams.js +0 -51
  714. package/node_modules/@agentclientprotocol/sdk/dist/test-support/streams.js.map +0 -1
  715. package/node_modules/@agentclientprotocol/sdk/dist/test-support/test-agent.d.ts +0 -24
  716. package/node_modules/@agentclientprotocol/sdk/dist/test-support/test-agent.js +0 -163
  717. package/node_modules/@agentclientprotocol/sdk/dist/test-support/test-agent.js.map +0 -1
  718. package/node_modules/@agentclientprotocol/sdk/dist/test-support/test-http-server.d.ts +0 -9
  719. package/node_modules/@agentclientprotocol/sdk/dist/test-support/test-http-server.js +0 -74
  720. package/node_modules/@agentclientprotocol/sdk/dist/test-support/test-http-server.js.map +0 -1
  721. package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.d.ts +0 -806
  722. package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.js +0 -1183
  723. package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.js.map +0 -1
  724. package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.test.d.ts +0 -1
  725. package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.test.js +0 -512
  726. package/node_modules/@agentclientprotocol/sdk/dist/v2/acp.test.js.map +0 -1
  727. package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/guards.gen.d.ts +0 -954
  728. package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/guards.gen.js +0 -1035
  729. package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/guards.gen.js.map +0 -1
  730. package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/index.d.ts +0 -42
  731. package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/index.js +0 -43
  732. package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/index.js.map +0 -1
  733. package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/types.gen.d.ts +0 -6146
  734. package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/types.gen.js +0 -3
  735. package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/types.gen.js.map +0 -1
  736. package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/zod.gen.d.ts +0 -30552
  737. package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/zod.gen.js +0 -3204
  738. package/node_modules/@agentclientprotocol/sdk/dist/v2/schema/zod.gen.js.map +0 -1
  739. package/node_modules/@agentclientprotocol/sdk/dist/ws-server.d.ts +0 -14
  740. package/node_modules/@agentclientprotocol/sdk/dist/ws-server.js +0 -358
  741. package/node_modules/@agentclientprotocol/sdk/dist/ws-server.js.map +0 -1
  742. package/node_modules/@agentclientprotocol/sdk/dist/ws-stream.d.ts +0 -54
  743. package/node_modules/@agentclientprotocol/sdk/dist/ws-stream.js +0 -246
  744. package/node_modules/@agentclientprotocol/sdk/dist/ws-stream.js.map +0 -1
  745. package/node_modules/@agentclientprotocol/sdk/dist/ws-stream.test.d.ts +0 -1
  746. package/node_modules/@agentclientprotocol/sdk/dist/ws-stream.test.js +0 -833
  747. package/node_modules/@agentclientprotocol/sdk/dist/ws-stream.test.js.map +0 -1
  748. package/node_modules/@agentclientprotocol/sdk/dist/ws-utils.d.ts +0 -13
  749. package/node_modules/@agentclientprotocol/sdk/dist/ws-utils.js +0 -78
  750. package/node_modules/@agentclientprotocol/sdk/dist/ws-utils.js.map +0 -1
  751. package/node_modules/@agentclientprotocol/sdk/dist/ws-utils.test.d.ts +0 -1
  752. package/node_modules/@agentclientprotocol/sdk/dist/ws-utils.test.js +0 -42
  753. package/node_modules/@agentclientprotocol/sdk/dist/ws-utils.test.js.map +0 -1
  754. package/node_modules/@agentclientprotocol/sdk/package.json +0 -105
  755. package/node_modules/@agentclientprotocol/sdk/schema/schema.json +0 -8819
  756. package/node_modules/@agentclientprotocol/sdk/schema/v2/schema.unstable.json +0 -10098
  757. package/node_modules/@libsql/client/README.md +0 -128
  758. package/node_modules/@libsql/client/lib-cjs/hrana.js +0 -372
  759. package/node_modules/@libsql/client/lib-cjs/http.js +0 -268
  760. package/node_modules/@libsql/client/lib-cjs/node.js +0 -41
  761. package/node_modules/@libsql/client/lib-cjs/package.json +0 -3
  762. package/node_modules/@libsql/client/lib-cjs/sql_cache.js +0 -91
  763. package/node_modules/@libsql/client/lib-cjs/sqlite3.js +0 -501
  764. package/node_modules/@libsql/client/lib-cjs/web.js +0 -41
  765. package/node_modules/@libsql/client/lib-cjs/ws.js +0 -395
  766. package/node_modules/@libsql/client/lib-esm/hrana.d.ts +0 -23
  767. package/node_modules/@libsql/client/lib-esm/hrana.js +0 -341
  768. package/node_modules/@libsql/client/lib-esm/http.d.ts +0 -39
  769. package/node_modules/@libsql/client/lib-esm/http.js +0 -232
  770. package/node_modules/@libsql/client/lib-esm/node.d.ts +0 -7
  771. package/node_modules/@libsql/client/lib-esm/node.js +0 -23
  772. package/node_modules/@libsql/client/lib-esm/sql_cache.d.ts +0 -7
  773. package/node_modules/@libsql/client/lib-esm/sql_cache.js +0 -87
  774. package/node_modules/@libsql/client/lib-esm/sqlite3.d.ts +0 -35
  775. package/node_modules/@libsql/client/lib-esm/sqlite3.js +0 -477
  776. package/node_modules/@libsql/client/lib-esm/web.d.ts +0 -6
  777. package/node_modules/@libsql/client/lib-esm/web.js +0 -22
  778. package/node_modules/@libsql/client/lib-esm/ws.d.ts +0 -50
  779. package/node_modules/@libsql/client/lib-esm/ws.js +0 -359
  780. package/node_modules/@libsql/client/package.json +0 -123
  781. package/node_modules/@raggle-ai/local/LICENSE +0 -21
  782. package/node_modules/@raggle-ai/local/README.md +0 -52
  783. package/node_modules/@raggle-ai/local/THIRD_PARTY_NOTICES.md +0 -95
  784. package/node_modules/@raggle-ai/local/dist/acp/client.d.ts +0 -31
  785. package/node_modules/@raggle-ai/local/dist/acp/client.js +0 -92
  786. package/node_modules/@raggle-ai/local/dist/acp/distributions.d.ts +0 -18
  787. package/node_modules/@raggle-ai/local/dist/acp/distributions.js +0 -41
  788. package/node_modules/@raggle-ai/local/dist/acp/index.d.ts +0 -4
  789. package/node_modules/@raggle-ai/local/dist/acp/index.js +0 -14
  790. package/node_modules/@raggle-ai/local/dist/acp/registry.d.ts +0 -111
  791. package/node_modules/@raggle-ai/local/dist/acp/registry.js +0 -137
  792. package/node_modules/@raggle-ai/local/dist/acp/sdk-types.d.ts +0 -17
  793. package/node_modules/@raggle-ai/local/dist/acp/sdk-types.js +0 -2
  794. package/node_modules/@raggle-ai/local/dist/adapters/agent-instructions.d.ts +0 -100
  795. package/node_modules/@raggle-ai/local/dist/adapters/agent-instructions.js +0 -286
  796. package/node_modules/@raggle-ai/local/dist/adapters/application-open.d.ts +0 -6
  797. package/node_modules/@raggle-ai/local/dist/adapters/application-open.js +0 -37
  798. package/node_modules/@raggle-ai/local/dist/adapters/base-repository.d.ts +0 -75
  799. package/node_modules/@raggle-ai/local/dist/adapters/base-repository.js +0 -469
  800. package/node_modules/@raggle-ai/local/dist/adapters/git-changes.d.ts +0 -2
  801. package/node_modules/@raggle-ai/local/dist/adapters/git-changes.js +0 -78
  802. package/node_modules/@raggle-ai/local/dist/adapters/git-clone.d.ts +0 -12
  803. package/node_modules/@raggle-ai/local/dist/adapters/git-clone.js +0 -162
  804. package/node_modules/@raggle-ai/local/dist/adapters/git-repository.d.ts +0 -17
  805. package/node_modules/@raggle-ai/local/dist/adapters/git-repository.js +0 -86
  806. package/node_modules/@raggle-ai/local/dist/adapters/git-sync.d.ts +0 -5
  807. package/node_modules/@raggle-ai/local/dist/adapters/git-sync.js +0 -45
  808. package/node_modules/@raggle-ai/local/dist/adapters/github.d.ts +0 -72
  809. package/node_modules/@raggle-ai/local/dist/adapters/github.js +0 -301
  810. package/node_modules/@raggle-ai/local/dist/adapters/import.d.ts +0 -86
  811. package/node_modules/@raggle-ai/local/dist/adapters/import.js +0 -239
  812. package/node_modules/@raggle-ai/local/dist/adapters/init.d.ts +0 -1
  813. package/node_modules/@raggle-ai/local/dist/adapters/init.js +0 -37
  814. package/node_modules/@raggle-ai/local/dist/adapters/libsql-client.d.ts +0 -11
  815. package/node_modules/@raggle-ai/local/dist/adapters/libsql-client.js +0 -18
  816. package/node_modules/@raggle-ai/local/dist/adapters/linked-workspace.d.ts +0 -32
  817. package/node_modules/@raggle-ai/local/dist/adapters/linked-workspace.js +0 -248
  818. package/node_modules/@raggle-ai/local/dist/adapters/local-folder.d.ts +0 -4
  819. package/node_modules/@raggle-ai/local/dist/adapters/local-folder.js +0 -17
  820. package/node_modules/@raggle-ai/local/dist/adapters/local-metadata-assets.d.ts +0 -18
  821. package/node_modules/@raggle-ai/local/dist/adapters/local-metadata-assets.js +0 -35
  822. package/node_modules/@raggle-ai/local/dist/adapters/local-metadata.d.ts +0 -2
  823. package/node_modules/@raggle-ai/local/dist/adapters/local-metadata.js +0 -64
  824. package/node_modules/@raggle-ai/local/dist/adapters/macos-apps.d.ts +0 -17
  825. package/node_modules/@raggle-ai/local/dist/adapters/macos-apps.js +0 -124
  826. package/node_modules/@raggle-ai/local/dist/adapters/markdown-files.d.ts +0 -3
  827. package/node_modules/@raggle-ai/local/dist/adapters/markdown-files.js +0 -161
  828. package/node_modules/@raggle-ai/local/dist/adapters/opencode-local.d.ts +0 -12
  829. package/node_modules/@raggle-ai/local/dist/adapters/opencode-local.js +0 -124
  830. package/node_modules/@raggle-ai/local/dist/adapters/project-action-plugins.d.ts +0 -3
  831. package/node_modules/@raggle-ai/local/dist/adapters/project-action-plugins.js +0 -24
  832. package/node_modules/@raggle-ai/local/dist/adapters/project-display-name.d.ts +0 -29
  833. package/node_modules/@raggle-ai/local/dist/adapters/project-display-name.js +0 -74
  834. package/node_modules/@raggle-ai/local/dist/adapters/project-favorites.d.ts +0 -22
  835. package/node_modules/@raggle-ai/local/dist/adapters/project-favorites.js +0 -63
  836. package/node_modules/@raggle-ai/local/dist/adapters/project-feed-assets.d.ts +0 -22
  837. package/node_modules/@raggle-ai/local/dist/adapters/project-feed-assets.js +0 -52
  838. package/node_modules/@raggle-ai/local/dist/adapters/project-feed.d.ts +0 -43
  839. package/node_modules/@raggle-ai/local/dist/adapters/project-feed.js +0 -141
  840. package/node_modules/@raggle-ai/local/dist/adapters/project-icons.d.ts +0 -3
  841. package/node_modules/@raggle-ai/local/dist/adapters/project-icons.js +0 -14
  842. package/node_modules/@raggle-ai/local/dist/adapters/project-recents.d.ts +0 -11
  843. package/node_modules/@raggle-ai/local/dist/adapters/project-recents.js +0 -36
  844. package/node_modules/@raggle-ai/local/dist/adapters/project-source.d.ts +0 -46
  845. package/node_modules/@raggle-ai/local/dist/adapters/project-source.js +0 -107
  846. package/node_modules/@raggle-ai/local/dist/adapters/raggle-account-api.d.ts +0 -25
  847. package/node_modules/@raggle-ai/local/dist/adapters/raggle-account-api.js +0 -62
  848. package/node_modules/@raggle-ai/local/dist/adapters/relation-annotations-api.d.ts +0 -72
  849. package/node_modules/@raggle-ai/local/dist/adapters/relation-annotations-api.js +0 -207
  850. package/node_modules/@raggle-ai/local/dist/adapters/remote-repository-config.d.ts +0 -19
  851. package/node_modules/@raggle-ai/local/dist/adapters/remote-repository-config.js +0 -71
  852. package/node_modules/@raggle-ai/local/dist/adapters/session-resolvers.d.ts +0 -8
  853. package/node_modules/@raggle-ai/local/dist/adapters/session-resolvers.js +0 -225
  854. package/node_modules/@raggle-ai/local/dist/adapters/turso-project-source.d.ts +0 -22
  855. package/node_modules/@raggle-ai/local/dist/adapters/turso-project-source.js +0 -579
  856. package/node_modules/@raggle-ai/local/dist/adapters/turso-provider.d.ts +0 -17
  857. package/node_modules/@raggle-ai/local/dist/adapters/turso-provider.js +0 -103
  858. package/node_modules/@raggle-ai/local/dist/adapters/user-project-order.d.ts +0 -2
  859. package/node_modules/@raggle-ai/local/dist/adapters/user-project-order.js +0 -19
  860. package/node_modules/@raggle-ai/local/dist/adapters/user-settings.d.ts +0 -162
  861. package/node_modules/@raggle-ai/local/dist/adapters/user-settings.js +0 -398
  862. package/node_modules/@raggle-ai/local/dist/adapters/workspace-discovery.d.ts +0 -7
  863. package/node_modules/@raggle-ai/local/dist/adapters/workspace-discovery.js +0 -59
  864. package/node_modules/@raggle-ai/local/dist/cache/clone-directory-repository-index.d.ts +0 -23
  865. package/node_modules/@raggle-ai/local/dist/cache/clone-directory-repository-index.js +0 -186
  866. package/node_modules/@raggle-ai/local/dist/cache/project-catalog.d.ts +0 -40
  867. package/node_modules/@raggle-ai/local/dist/cache/project-catalog.js +0 -174
  868. package/node_modules/@raggle-ai/local/dist/cache/project-icon-cache.d.ts +0 -11
  869. package/node_modules/@raggle-ai/local/dist/cache/project-icon-cache.js +0 -82
  870. package/node_modules/@raggle-ai/local/dist/cache/project-state-cache.d.ts +0 -12
  871. package/node_modules/@raggle-ai/local/dist/cache/project-state-cache.js +0 -47
  872. package/node_modules/@raggle-ai/local/dist/core/agent-instructions-settings.d.ts +0 -20
  873. package/node_modules/@raggle-ai/local/dist/core/agent-instructions-settings.js +0 -35
  874. package/node_modules/@raggle-ai/local/dist/core/ai-chat-clients.d.ts +0 -1
  875. package/node_modules/@raggle-ai/local/dist/core/ai-chat-clients.js +0 -17
  876. package/node_modules/@raggle-ai/local/dist/core/application-open-target.d.ts +0 -1
  877. package/node_modules/@raggle-ai/local/dist/core/application-open-target.js +0 -5
  878. package/node_modules/@raggle-ai/local/dist/core/base-repository.d.ts +0 -60
  879. package/node_modules/@raggle-ai/local/dist/core/base-repository.js +0 -2
  880. package/node_modules/@raggle-ai/local/dist/core/catalog-project.d.ts +0 -4
  881. package/node_modules/@raggle-ai/local/dist/core/catalog-project.js +0 -45
  882. package/node_modules/@raggle-ai/local/dist/core/connected-projects.d.ts +0 -52
  883. package/node_modules/@raggle-ai/local/dist/core/connected-projects.js +0 -440
  884. package/node_modules/@raggle-ai/local/dist/core/generated/cli-commands.d.ts +0 -28
  885. package/node_modules/@raggle-ai/local/dist/core/generated/cli-commands.js +0 -401
  886. package/node_modules/@raggle-ai/local/dist/core/git-change.d.ts +0 -9
  887. package/node_modules/@raggle-ai/local/dist/core/git-change.js +0 -2
  888. package/node_modules/@raggle-ai/local/dist/core/indexed-search.d.ts +0 -32
  889. package/node_modules/@raggle-ai/local/dist/core/indexed-search.js +0 -95
  890. package/node_modules/@raggle-ai/local/dist/core/link.d.ts +0 -176
  891. package/node_modules/@raggle-ai/local/dist/core/link.js +0 -740
  892. package/node_modules/@raggle-ai/local/dist/core/live-project-search.d.ts +0 -47
  893. package/node_modules/@raggle-ai/local/dist/core/live-project-search.js +0 -122
  894. package/node_modules/@raggle-ai/local/dist/core/llm-context.d.ts +0 -29
  895. package/node_modules/@raggle-ai/local/dist/core/llm-context.js +0 -352
  896. package/node_modules/@raggle-ai/local/dist/core/local-metadata.d.ts +0 -37
  897. package/node_modules/@raggle-ai/local/dist/core/local-metadata.js +0 -4
  898. package/node_modules/@raggle-ai/local/dist/core/local-repository-candidate.d.ts +0 -7
  899. package/node_modules/@raggle-ai/local/dist/core/local-repository-candidate.js +0 -43
  900. package/node_modules/@raggle-ai/local/dist/core/logging.d.ts +0 -6
  901. package/node_modules/@raggle-ai/local/dist/core/logging.js +0 -37
  902. package/node_modules/@raggle-ai/local/dist/core/markdown-file.d.ts +0 -20
  903. package/node_modules/@raggle-ai/local/dist/core/markdown-file.js +0 -2
  904. package/node_modules/@raggle-ai/local/dist/core/open-in.d.ts +0 -18
  905. package/node_modules/@raggle-ai/local/dist/core/open-in.js +0 -37
  906. package/node_modules/@raggle-ai/local/dist/core/personal-relations-sync.d.ts +0 -27
  907. package/node_modules/@raggle-ai/local/dist/core/personal-relations-sync.js +0 -231
  908. package/node_modules/@raggle-ai/local/dist/core/personal-relations.d.ts +0 -34
  909. package/node_modules/@raggle-ai/local/dist/core/personal-relations.js +0 -128
  910. package/node_modules/@raggle-ai/local/dist/core/project-action-config-source.d.ts +0 -2
  911. package/node_modules/@raggle-ai/local/dist/core/project-action-config-source.js +0 -161
  912. package/node_modules/@raggle-ai/local/dist/core/project-actions.d.ts +0 -11
  913. package/node_modules/@raggle-ai/local/dist/core/project-actions.js +0 -2
  914. package/node_modules/@raggle-ai/local/dist/core/project-add.d.ts +0 -20
  915. package/node_modules/@raggle-ai/local/dist/core/project-add.js +0 -119
  916. package/node_modules/@raggle-ai/local/dist/core/project-cache-record.d.ts +0 -43
  917. package/node_modules/@raggle-ai/local/dist/core/project-cache-record.js +0 -85
  918. package/node_modules/@raggle-ai/local/dist/core/project-emoji-preferences.d.ts +0 -2
  919. package/node_modules/@raggle-ai/local/dist/core/project-emoji-preferences.js +0 -10
  920. package/node_modules/@raggle-ai/local/dist/core/project-emoji.d.ts +0 -15
  921. package/node_modules/@raggle-ai/local/dist/core/project-emoji.js +0 -117
  922. package/node_modules/@raggle-ai/local/dist/core/project-instruction.d.ts +0 -3
  923. package/node_modules/@raggle-ai/local/dist/core/project-instruction.js +0 -16
  924. package/node_modules/@raggle-ai/local/dist/core/project-metadata-hydration.d.ts +0 -11
  925. package/node_modules/@raggle-ai/local/dist/core/project-metadata-hydration.js +0 -17
  926. package/node_modules/@raggle-ai/local/dist/core/project-metadata.d.ts +0 -4
  927. package/node_modules/@raggle-ai/local/dist/core/project-metadata.js +0 -72
  928. package/node_modules/@raggle-ai/local/dist/core/project-presentation.d.ts +0 -14
  929. package/node_modules/@raggle-ai/local/dist/core/project-presentation.js +0 -33
  930. package/node_modules/@raggle-ai/local/dist/core/project-remote.d.ts +0 -3
  931. package/node_modules/@raggle-ai/local/dist/core/project-remote.js +0 -45
  932. package/node_modules/@raggle-ai/local/dist/core/project-schema.d.ts +0 -126
  933. package/node_modules/@raggle-ai/local/dist/core/project-schema.js +0 -10
  934. package/node_modules/@raggle-ai/local/dist/core/project-source-settings.d.ts +0 -19
  935. package/node_modules/@raggle-ai/local/dist/core/project-source-settings.js +0 -57
  936. package/node_modules/@raggle-ai/local/dist/core/project-store-add.d.ts +0 -21
  937. package/node_modules/@raggle-ai/local/dist/core/project-store-add.js +0 -36
  938. package/node_modules/@raggle-ai/local/dist/core/project-subpaths.d.ts +0 -16
  939. package/node_modules/@raggle-ai/local/dist/core/project-subpaths.js +0 -37
  940. package/node_modules/@raggle-ai/local/dist/core/raggle-deep-link.d.ts +0 -1
  941. package/node_modules/@raggle-ai/local/dist/core/raggle-deep-link.js +0 -12
  942. package/node_modules/@raggle-ai/local/dist/core/relation-commands.d.ts +0 -32
  943. package/node_modules/@raggle-ai/local/dist/core/relation-commands.js +0 -111
  944. package/node_modules/@raggle-ai/local/dist/core/relation-depth.d.ts +0 -3
  945. package/node_modules/@raggle-ai/local/dist/core/relation-depth.js +0 -5
  946. package/node_modules/@raggle-ai/local/dist/core/remote-connection-code.d.ts +0 -17
  947. package/node_modules/@raggle-ai/local/dist/core/remote-connection-code.js +0 -113
  948. package/node_modules/@raggle-ai/local/dist/core/repository-subpaths.d.ts +0 -6
  949. package/node_modules/@raggle-ai/local/dist/core/repository-subpaths.js +0 -54
  950. package/node_modules/@raggle-ai/local/dist/core/search.d.ts +0 -151
  951. package/node_modules/@raggle-ai/local/dist/core/search.js +0 -297
  952. package/node_modules/@raggle-ai/local/dist/core/skills.d.ts +0 -21
  953. package/node_modules/@raggle-ai/local/dist/core/skills.js +0 -117
  954. package/node_modules/@raggle-ai/local/dist/core/types.d.ts +0 -47
  955. package/node_modules/@raggle-ai/local/dist/core/types.js +0 -2
  956. package/node_modules/@raggle-ai/local/dist/core/user-projects.d.ts +0 -17
  957. package/node_modules/@raggle-ai/local/dist/core/user-projects.js +0 -317
  958. package/node_modules/@raggle-ai/local/dist/discovery/markdown-files.d.ts +0 -8
  959. package/node_modules/@raggle-ai/local/dist/discovery/markdown-files.js +0 -27
  960. package/node_modules/@raggle-ai/local/dist/discovery/project-folders.d.ts +0 -5
  961. package/node_modules/@raggle-ai/local/dist/discovery/project-folders.js +0 -61
  962. package/node_modules/@raggle-ai/local/dist/discovery/scanner.d.ts +0 -30
  963. package/node_modules/@raggle-ai/local/dist/discovery/scanner.js +0 -68
  964. package/node_modules/@raggle-ai/local/dist/folder-metadata/assets.d.ts +0 -6
  965. package/node_modules/@raggle-ai/local/dist/folder-metadata/assets.js +0 -39
  966. package/node_modules/@raggle-ai/local/dist/folder-metadata/icons.d.ts +0 -11
  967. package/node_modules/@raggle-ai/local/dist/folder-metadata/icons.js +0 -65
  968. package/node_modules/@raggle-ai/local/dist/folder-metadata/index.d.ts +0 -2
  969. package/node_modules/@raggle-ai/local/dist/folder-metadata/index.js +0 -9
  970. package/node_modules/@raggle-ai/local/dist/folder-metadata/resolve.d.ts +0 -14
  971. package/node_modules/@raggle-ai/local/dist/folder-metadata/resolve.js +0 -52
  972. package/node_modules/@raggle-ai/local/dist/generated/project-emoji.json +0 -1
  973. package/node_modules/@raggle-ai/local/dist/index.d.ts +0 -84
  974. package/node_modules/@raggle-ai/local/dist/index.js +0 -435
  975. package/node_modules/@raggle-ai/local/dist/mcp/generated/handlers.d.ts +0 -92
  976. package/node_modules/@raggle-ai/local/dist/mcp/generated/handlers.js +0 -108
  977. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-client.d.ts +0 -64
  978. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-client.js +0 -91
  979. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/index.d.ts +0 -15
  980. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/index.js +0 -31
  981. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/match.d.ts +0 -12
  982. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/match.js +0 -9
  983. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectGet200.d.ts +0 -12
  984. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectGet200.js +0 -2
  985. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectList200.d.ts +0 -13
  986. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectList200.js +0 -2
  987. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectSearch200.d.ts +0 -14
  988. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectSearch200.js +0 -2
  989. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectSearch200ItemsItem.d.ts +0 -12
  990. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectSearch200ItemsItem.js +0 -2
  991. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectSearchParams.d.ts +0 -20
  992. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/projectSearchParams.js +0 -9
  993. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/serviceProject.d.ts +0 -19
  994. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/serviceProject.js +0 -9
  995. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/serviceVersion200.d.ts +0 -12
  996. package/node_modules/@raggle-ai/local/dist/mcp/generated/http-schemas/serviceVersion200.js +0 -9
  997. package/node_modules/@raggle-ai/local/dist/mcp/generated/server.d.ts +0 -8
  998. package/node_modules/@raggle-ai/local/dist/mcp/generated/server.js +0 -48
  999. package/node_modules/@raggle-ai/local/dist/mcp/generated/tool-schemas.zod.d.ts +0 -17
  1000. package/node_modules/@raggle-ai/local/dist/mcp/generated/tool-schemas.zod.js +0 -58
  1001. package/node_modules/@raggle-ai/local/dist/mcp/scout-mcp-server.d.ts +0 -6
  1002. package/node_modules/@raggle-ai/local/dist/mcp/scout-mcp-server.js +0 -29
  1003. package/node_modules/@raggle-ai/local/dist/native/index.d.ts +0 -396
  1004. package/node_modules/@raggle-ai/local/dist/native/index.js +0 -766
  1005. package/node_modules/@raggle-ai/local/dist/native/raggle-local-native.darwin-arm64.node +0 -0
  1006. package/node_modules/@raggle-ai/local/dist/native/raggle-local-native.darwin-x64.node +0 -0
  1007. package/node_modules/@raggle-ai/local/dist/native/raggle-local-native.linux-x64-gnu.node +0 -0
  1008. package/node_modules/@raggle-ai/local/dist/native-bridge.d.ts +0 -383
  1009. package/node_modules/@raggle-ai/local/dist/native-bridge.js +0 -306
  1010. package/node_modules/@raggle-ai/local/dist/native.d.ts +0 -1
  1011. package/node_modules/@raggle-ai/local/dist/native.js +0 -10
  1012. package/node_modules/@raggle-ai/local/dist/search/index.d.ts +0 -3
  1013. package/node_modules/@raggle-ai/local/dist/search/index.js +0 -23
  1014. package/node_modules/@raggle-ai/local/dist/service/client.d.ts +0 -2
  1015. package/node_modules/@raggle-ai/local/dist/service/client.js +0 -18
  1016. package/node_modules/@raggle-ai/local/dist/service/generated/client.d.ts +0 -64
  1017. package/node_modules/@raggle-ai/local/dist/service/generated/client.js +0 -84
  1018. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/index.d.ts +0 -15
  1019. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/index.js +0 -31
  1020. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/match.d.ts +0 -12
  1021. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/match.js +0 -9
  1022. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectGet200.d.ts +0 -12
  1023. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectGet200.js +0 -2
  1024. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectList200.d.ts +0 -13
  1025. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectList200.js +0 -2
  1026. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectSearch200.d.ts +0 -14
  1027. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectSearch200.js +0 -2
  1028. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectSearch200ItemsItem.d.ts +0 -12
  1029. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectSearch200ItemsItem.js +0 -2
  1030. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectSearchParams.d.ts +0 -20
  1031. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/projectSearchParams.js +0 -9
  1032. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/serviceProject.d.ts +0 -19
  1033. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/serviceProject.js +0 -9
  1034. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/serviceVersion200.d.ts +0 -12
  1035. package/node_modules/@raggle-ai/local/dist/service/generated/schemas/serviceVersion200.js +0 -9
  1036. package/node_modules/@raggle-ai/local/dist/service/scout-service.d.ts +0 -17
  1037. package/node_modules/@raggle-ai/local/dist/service/scout-service.js +0 -196
  1038. package/node_modules/@raggle-ai/local/dist/sessions/create.d.ts +0 -7
  1039. package/node_modules/@raggle-ai/local/dist/sessions/create.js +0 -28
  1040. package/node_modules/@raggle-ai/local/dist/sessions/index.d.ts +0 -48
  1041. package/node_modules/@raggle-ai/local/dist/sessions/index.js +0 -686
  1042. package/node_modules/@raggle-ai/local/dist/sessions/resume.d.ts +0 -74
  1043. package/node_modules/@raggle-ai/local/dist/sessions/resume.js +0 -96
  1044. package/node_modules/@raggle-ai/local/package.json +0 -111
  1045. package/node_modules/@raggle-ai/local/schemas/cli-commands.json +0 -358
  1046. package/node_modules/@raggle-ai/local/schemas/config.json +0 -473
  1047. package/node_modules/@raggle-ai/local/schemas/scout-service-openapi.json +0 -189
  1048. package/node_modules/@raggle-ai/local/schemas/settings.json +0 -383
  1049. package/node_modules/zod/LICENSE +0 -21
  1050. package/node_modules/zod/README.md +0 -191
  1051. package/node_modules/zod/index.cjs +0 -33
  1052. package/node_modules/zod/index.d.cts +0 -4
  1053. package/node_modules/zod/index.d.ts +0 -4
  1054. package/node_modules/zod/index.js +0 -4
  1055. package/node_modules/zod/locales/index.cjs +0 -17
  1056. package/node_modules/zod/locales/index.d.cts +0 -1
  1057. package/node_modules/zod/locales/index.d.ts +0 -1
  1058. package/node_modules/zod/locales/index.js +0 -1
  1059. package/node_modules/zod/locales/package.json +0 -7
  1060. package/node_modules/zod/mini/index.cjs +0 -32
  1061. package/node_modules/zod/mini/index.d.cts +0 -3
  1062. package/node_modules/zod/mini/index.d.ts +0 -3
  1063. package/node_modules/zod/mini/index.js +0 -3
  1064. package/node_modules/zod/mini/package.json +0 -7
  1065. package/node_modules/zod/package.json +0 -135
  1066. package/node_modules/zod/src/index.ts +0 -4
  1067. package/node_modules/zod/src/locales/index.ts +0 -1
  1068. package/node_modules/zod/src/mini/index.ts +0 -3
  1069. package/node_modules/zod/src/v3/ZodError.ts +0 -330
  1070. package/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
  1071. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
  1072. package/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
  1073. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
  1074. package/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
  1075. package/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
  1076. package/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
  1077. package/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
  1078. package/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
  1079. package/node_modules/zod/src/v3/errors.ts +0 -13
  1080. package/node_modules/zod/src/v3/external.ts +0 -6
  1081. package/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
  1082. package/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
  1083. package/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
  1084. package/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
  1085. package/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
  1086. package/node_modules/zod/src/v3/helpers/util.ts +0 -224
  1087. package/node_modules/zod/src/v3/index.ts +0 -4
  1088. package/node_modules/zod/src/v3/locales/en.ts +0 -124
  1089. package/node_modules/zod/src/v3/standard-schema.ts +0 -113
  1090. package/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
  1091. package/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
  1092. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
  1093. package/node_modules/zod/src/v3/tests/array.test.ts +0 -71
  1094. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
  1095. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
  1096. package/node_modules/zod/src/v3/tests/base.test.ts +0 -29
  1097. package/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
  1098. package/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
  1099. package/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
  1100. package/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
  1101. package/node_modules/zod/src/v3/tests/complex.test.ts +0 -70
  1102. package/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
  1103. package/node_modules/zod/src/v3/tests/date.test.ts +0 -32
  1104. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
  1105. package/node_modules/zod/src/v3/tests/default.test.ts +0 -112
  1106. package/node_modules/zod/src/v3/tests/description.test.ts +0 -33
  1107. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
  1108. package/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
  1109. package/node_modules/zod/src/v3/tests/error.test.ts +0 -551
  1110. package/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
  1111. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
  1112. package/node_modules/zod/src/v3/tests/function.test.ts +0 -261
  1113. package/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
  1114. package/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
  1115. package/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
  1116. package/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
  1117. package/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
  1118. package/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
  1119. package/node_modules/zod/src/v3/tests/map.test.ts +0 -110
  1120. package/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
  1121. package/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
  1122. package/node_modules/zod/src/v3/tests/nan.test.ts +0 -24
  1123. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
  1124. package/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
  1125. package/node_modules/zod/src/v3/tests/number.test.ts +0 -176
  1126. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
  1127. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
  1128. package/node_modules/zod/src/v3/tests/object.test.ts +0 -434
  1129. package/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
  1130. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
  1131. package/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
  1132. package/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
  1133. package/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
  1134. package/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
  1135. package/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
  1136. package/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
  1137. package/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
  1138. package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
  1139. package/node_modules/zod/src/v3/tests/record.test.ts +0 -171
  1140. package/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
  1141. package/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
  1142. package/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
  1143. package/node_modules/zod/src/v3/tests/set.test.ts +0 -142
  1144. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
  1145. package/node_modules/zod/src/v3/tests/string.test.ts +0 -916
  1146. package/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
  1147. package/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
  1148. package/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
  1149. package/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
  1150. package/node_modules/zod/src/v3/tests/void.test.ts +0 -15
  1151. package/node_modules/zod/src/v3/types.ts +0 -5138
  1152. package/node_modules/zod/src/v4/classic/checks.ts +0 -32
  1153. package/node_modules/zod/src/v4/classic/coerce.ts +0 -27
  1154. package/node_modules/zod/src/v4/classic/compat.ts +0 -70
  1155. package/node_modules/zod/src/v4/classic/errors.ts +0 -82
  1156. package/node_modules/zod/src/v4/classic/external.ts +0 -52
  1157. package/node_modules/zod/src/v4/classic/from-json-schema.ts +0 -659
  1158. package/node_modules/zod/src/v4/classic/index.ts +0 -5
  1159. package/node_modules/zod/src/v4/classic/iso.ts +0 -90
  1160. package/node_modules/zod/src/v4/classic/parse.ts +0 -82
  1161. package/node_modules/zod/src/v4/classic/schemas.ts +0 -2672
  1162. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
  1163. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +0 -59
  1164. package/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
  1165. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -216
  1166. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
  1167. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
  1168. package/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
  1169. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
  1170. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -106
  1171. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -326
  1172. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
  1173. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +0 -573
  1174. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +0 -703
  1175. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
  1176. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -374
  1177. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
  1178. package/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -62
  1179. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -302
  1180. package/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -409
  1181. package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +0 -27
  1182. package/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
  1183. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +0 -197
  1184. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -694
  1185. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
  1186. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -807
  1187. package/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
  1188. package/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -96
  1189. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -179
  1190. package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +0 -26
  1191. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +0 -895
  1192. package/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -360
  1193. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
  1194. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +0 -39
  1195. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +0 -68
  1196. package/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -939
  1197. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -60
  1198. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -198
  1199. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +0 -46
  1200. package/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -109
  1201. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
  1202. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -117
  1203. package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +0 -29
  1204. package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +0 -24
  1205. package/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -330
  1206. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
  1207. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
  1208. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -101
  1209. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
  1210. package/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -325
  1211. package/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -717
  1212. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -333
  1213. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -450
  1214. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -211
  1215. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -101
  1216. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -74
  1217. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +0 -26
  1218. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -351
  1219. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
  1220. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
  1221. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
  1222. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
  1223. package/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -717
  1224. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -631
  1225. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -633
  1226. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -243
  1227. package/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -181
  1228. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -134
  1229. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -125
  1230. package/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -1224
  1231. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -106
  1232. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -771
  1233. package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -438
  1234. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -3125
  1235. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -378
  1236. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -496
  1237. package/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -273
  1238. package/node_modules/zod/src/v4/classic/tests/url.test.ts +0 -13
  1239. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
  1240. package/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
  1241. package/node_modules/zod/src/v4/core/api.ts +0 -1823
  1242. package/node_modules/zod/src/v4/core/checks.ts +0 -1293
  1243. package/node_modules/zod/src/v4/core/config.ts +0 -15
  1244. package/node_modules/zod/src/v4/core/core.ts +0 -153
  1245. package/node_modules/zod/src/v4/core/doc.ts +0 -44
  1246. package/node_modules/zod/src/v4/core/errors.ts +0 -455
  1247. package/node_modules/zod/src/v4/core/index.ts +0 -16
  1248. package/node_modules/zod/src/v4/core/json-schema-generator.ts +0 -126
  1249. package/node_modules/zod/src/v4/core/json-schema-processors.ts +0 -666
  1250. package/node_modules/zod/src/v4/core/json-schema.ts +0 -147
  1251. package/node_modules/zod/src/v4/core/parse.ts +0 -195
  1252. package/node_modules/zod/src/v4/core/regexes.ts +0 -190
  1253. package/node_modules/zod/src/v4/core/registries.ts +0 -105
  1254. package/node_modules/zod/src/v4/core/schemas.ts +0 -4730
  1255. package/node_modules/zod/src/v4/core/standard-schema.ts +0 -159
  1256. package/node_modules/zod/src/v4/core/tests/extend.test.ts +0 -59
  1257. package/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
  1258. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
  1259. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +0 -215
  1260. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
  1261. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +0 -181
  1262. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +0 -72
  1263. package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +0 -379
  1264. package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +0 -163
  1265. package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +0 -46
  1266. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
  1267. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
  1268. package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +0 -105
  1269. package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +0 -125
  1270. package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +0 -45
  1271. package/node_modules/zod/src/v4/core/to-json-schema.ts +0 -622
  1272. package/node_modules/zod/src/v4/core/util.ts +0 -983
  1273. package/node_modules/zod/src/v4/core/versions.ts +0 -5
  1274. package/node_modules/zod/src/v4/core/zsf.ts +0 -323
  1275. package/node_modules/zod/src/v4/index.ts +0 -4
  1276. package/node_modules/zod/src/v4/locales/ar.ts +0 -115
  1277. package/node_modules/zod/src/v4/locales/az.ts +0 -111
  1278. package/node_modules/zod/src/v4/locales/be.ts +0 -176
  1279. package/node_modules/zod/src/v4/locales/bg.ts +0 -128
  1280. package/node_modules/zod/src/v4/locales/ca.ts +0 -116
  1281. package/node_modules/zod/src/v4/locales/cs.ts +0 -118
  1282. package/node_modules/zod/src/v4/locales/da.ts +0 -123
  1283. package/node_modules/zod/src/v4/locales/de.ts +0 -116
  1284. package/node_modules/zod/src/v4/locales/el.ts +0 -121
  1285. package/node_modules/zod/src/v4/locales/en.ts +0 -123
  1286. package/node_modules/zod/src/v4/locales/eo.ts +0 -118
  1287. package/node_modules/zod/src/v4/locales/es.ts +0 -141
  1288. package/node_modules/zod/src/v4/locales/fa.ts +0 -126
  1289. package/node_modules/zod/src/v4/locales/fi.ts +0 -121
  1290. package/node_modules/zod/src/v4/locales/fr-CA.ts +0 -116
  1291. package/node_modules/zod/src/v4/locales/fr.ts +0 -132
  1292. package/node_modules/zod/src/v4/locales/he.ts +0 -246
  1293. package/node_modules/zod/src/v4/locales/hr.ts +0 -131
  1294. package/node_modules/zod/src/v4/locales/hu.ts +0 -117
  1295. package/node_modules/zod/src/v4/locales/hy.ts +0 -164
  1296. package/node_modules/zod/src/v4/locales/id.ts +0 -115
  1297. package/node_modules/zod/src/v4/locales/index.ts +0 -52
  1298. package/node_modules/zod/src/v4/locales/is.ts +0 -119
  1299. package/node_modules/zod/src/v4/locales/it.ts +0 -116
  1300. package/node_modules/zod/src/v4/locales/ja.ts +0 -114
  1301. package/node_modules/zod/src/v4/locales/ka.ts +0 -123
  1302. package/node_modules/zod/src/v4/locales/kh.ts +0 -7
  1303. package/node_modules/zod/src/v4/locales/km.ts +0 -119
  1304. package/node_modules/zod/src/v4/locales/ko.ts +0 -121
  1305. package/node_modules/zod/src/v4/locales/lt.ts +0 -239
  1306. package/node_modules/zod/src/v4/locales/mk.ts +0 -118
  1307. package/node_modules/zod/src/v4/locales/ms.ts +0 -115
  1308. package/node_modules/zod/src/v4/locales/nl.ts +0 -121
  1309. package/node_modules/zod/src/v4/locales/no.ts +0 -116
  1310. package/node_modules/zod/src/v4/locales/ota.ts +0 -117
  1311. package/node_modules/zod/src/v4/locales/pl.ts +0 -118
  1312. package/node_modules/zod/src/v4/locales/ps.ts +0 -126
  1313. package/node_modules/zod/src/v4/locales/pt.ts +0 -116
  1314. package/node_modules/zod/src/v4/locales/ro.ts +0 -129
  1315. package/node_modules/zod/src/v4/locales/ru.ts +0 -176
  1316. package/node_modules/zod/src/v4/locales/sl.ts +0 -118
  1317. package/node_modules/zod/src/v4/locales/sv.ts +0 -119
  1318. package/node_modules/zod/src/v4/locales/ta.ts +0 -118
  1319. package/node_modules/zod/src/v4/locales/th.ts +0 -119
  1320. package/node_modules/zod/src/v4/locales/tr.ts +0 -111
  1321. package/node_modules/zod/src/v4/locales/ua.ts +0 -7
  1322. package/node_modules/zod/src/v4/locales/uk.ts +0 -117
  1323. package/node_modules/zod/src/v4/locales/ur.ts +0 -119
  1324. package/node_modules/zod/src/v4/locales/uz.ts +0 -117
  1325. package/node_modules/zod/src/v4/locales/vi.ts +0 -117
  1326. package/node_modules/zod/src/v4/locales/yo.ts +0 -124
  1327. package/node_modules/zod/src/v4/locales/zh-CN.ts +0 -116
  1328. package/node_modules/zod/src/v4/locales/zh-TW.ts +0 -115
  1329. package/node_modules/zod/src/v4/mini/checks.ts +0 -32
  1330. package/node_modules/zod/src/v4/mini/coerce.ts +0 -27
  1331. package/node_modules/zod/src/v4/mini/external.ts +0 -41
  1332. package/node_modules/zod/src/v4/mini/index.ts +0 -3
  1333. package/node_modules/zod/src/v4/mini/iso.ts +0 -66
  1334. package/node_modules/zod/src/v4/mini/parse.ts +0 -14
  1335. package/node_modules/zod/src/v4/mini/schemas.ts +0 -1947
  1336. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +0 -24
  1337. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
  1338. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -94
  1339. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
  1340. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +0 -548
  1341. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
  1342. package/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
  1343. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -5
  1344. package/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -993
  1345. package/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
  1346. package/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -227
  1347. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
  1348. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -325
  1349. package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +0 -50
  1350. package/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -352
  1351. package/node_modules/zod/src/v4-mini/index.ts +0 -3
  1352. package/node_modules/zod/v3/ZodError.cjs +0 -138
  1353. package/node_modules/zod/v3/ZodError.d.cts +0 -164
  1354. package/node_modules/zod/v3/ZodError.d.ts +0 -164
  1355. package/node_modules/zod/v3/ZodError.js +0 -133
  1356. package/node_modules/zod/v3/errors.cjs +0 -17
  1357. package/node_modules/zod/v3/errors.d.cts +0 -5
  1358. package/node_modules/zod/v3/errors.d.ts +0 -5
  1359. package/node_modules/zod/v3/errors.js +0 -9
  1360. package/node_modules/zod/v3/external.cjs +0 -22
  1361. package/node_modules/zod/v3/external.d.cts +0 -6
  1362. package/node_modules/zod/v3/external.d.ts +0 -6
  1363. package/node_modules/zod/v3/external.js +0 -6
  1364. package/node_modules/zod/v3/helpers/enumUtil.cjs +0 -2
  1365. package/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
  1366. package/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
  1367. package/node_modules/zod/v3/helpers/enumUtil.js +0 -1
  1368. package/node_modules/zod/v3/helpers/errorUtil.cjs +0 -9
  1369. package/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
  1370. package/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
  1371. package/node_modules/zod/v3/helpers/errorUtil.js +0 -6
  1372. package/node_modules/zod/v3/helpers/parseUtil.cjs +0 -124
  1373. package/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
  1374. package/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
  1375. package/node_modules/zod/v3/helpers/parseUtil.js +0 -109
  1376. package/node_modules/zod/v3/helpers/partialUtil.cjs +0 -2
  1377. package/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
  1378. package/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
  1379. package/node_modules/zod/v3/helpers/partialUtil.js +0 -1
  1380. package/node_modules/zod/v3/helpers/typeAliases.cjs +0 -2
  1381. package/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
  1382. package/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
  1383. package/node_modules/zod/v3/helpers/typeAliases.js +0 -1
  1384. package/node_modules/zod/v3/helpers/util.cjs +0 -137
  1385. package/node_modules/zod/v3/helpers/util.d.cts +0 -85
  1386. package/node_modules/zod/v3/helpers/util.d.ts +0 -85
  1387. package/node_modules/zod/v3/helpers/util.js +0 -133
  1388. package/node_modules/zod/v3/index.cjs +0 -33
  1389. package/node_modules/zod/v3/index.d.cts +0 -4
  1390. package/node_modules/zod/v3/index.d.ts +0 -4
  1391. package/node_modules/zod/v3/index.js +0 -4
  1392. package/node_modules/zod/v3/locales/en.cjs +0 -112
  1393. package/node_modules/zod/v3/locales/en.d.cts +0 -3
  1394. package/node_modules/zod/v3/locales/en.d.ts +0 -3
  1395. package/node_modules/zod/v3/locales/en.js +0 -109
  1396. package/node_modules/zod/v3/package.json +0 -7
  1397. package/node_modules/zod/v3/standard-schema.cjs +0 -2
  1398. package/node_modules/zod/v3/standard-schema.d.cts +0 -102
  1399. package/node_modules/zod/v3/standard-schema.d.ts +0 -102
  1400. package/node_modules/zod/v3/standard-schema.js +0 -1
  1401. package/node_modules/zod/v3/types.cjs +0 -3777
  1402. package/node_modules/zod/v3/types.d.cts +0 -1034
  1403. package/node_modules/zod/v3/types.d.ts +0 -1034
  1404. package/node_modules/zod/v3/types.js +0 -3695
  1405. package/node_modules/zod/v4/classic/checks.cjs +0 -33
  1406. package/node_modules/zod/v4/classic/checks.d.cts +0 -1
  1407. package/node_modules/zod/v4/classic/checks.d.ts +0 -1
  1408. package/node_modules/zod/v4/classic/checks.js +0 -1
  1409. package/node_modules/zod/v4/classic/coerce.cjs +0 -47
  1410. package/node_modules/zod/v4/classic/coerce.d.cts +0 -17
  1411. package/node_modules/zod/v4/classic/coerce.d.ts +0 -17
  1412. package/node_modules/zod/v4/classic/coerce.js +0 -17
  1413. package/node_modules/zod/v4/classic/compat.cjs +0 -61
  1414. package/node_modules/zod/v4/classic/compat.d.cts +0 -50
  1415. package/node_modules/zod/v4/classic/compat.d.ts +0 -50
  1416. package/node_modules/zod/v4/classic/compat.js +0 -31
  1417. package/node_modules/zod/v4/classic/errors.cjs +0 -74
  1418. package/node_modules/zod/v4/classic/errors.d.cts +0 -30
  1419. package/node_modules/zod/v4/classic/errors.d.ts +0 -30
  1420. package/node_modules/zod/v4/classic/errors.js +0 -48
  1421. package/node_modules/zod/v4/classic/external.cjs +0 -73
  1422. package/node_modules/zod/v4/classic/external.d.cts +0 -16
  1423. package/node_modules/zod/v4/classic/external.d.ts +0 -16
  1424. package/node_modules/zod/v4/classic/external.js +0 -20
  1425. package/node_modules/zod/v4/classic/from-json-schema.cjs +0 -625
  1426. package/node_modules/zod/v4/classic/from-json-schema.d.cts +0 -12
  1427. package/node_modules/zod/v4/classic/from-json-schema.d.ts +0 -12
  1428. package/node_modules/zod/v4/classic/from-json-schema.js +0 -599
  1429. package/node_modules/zod/v4/classic/index.cjs +0 -33
  1430. package/node_modules/zod/v4/classic/index.d.cts +0 -4
  1431. package/node_modules/zod/v4/classic/index.d.ts +0 -4
  1432. package/node_modules/zod/v4/classic/index.js +0 -4
  1433. package/node_modules/zod/v4/classic/iso.cjs +0 -60
  1434. package/node_modules/zod/v4/classic/iso.d.cts +0 -22
  1435. package/node_modules/zod/v4/classic/iso.d.ts +0 -22
  1436. package/node_modules/zod/v4/classic/iso.js +0 -30
  1437. package/node_modules/zod/v4/classic/package.json +0 -7
  1438. package/node_modules/zod/v4/classic/parse.cjs +0 -41
  1439. package/node_modules/zod/v4/classic/parse.d.cts +0 -31
  1440. package/node_modules/zod/v4/classic/parse.d.ts +0 -31
  1441. package/node_modules/zod/v4/classic/parse.js +0 -15
  1442. package/node_modules/zod/v4/classic/schemas.cjs +0 -1511
  1443. package/node_modules/zod/v4/classic/schemas.d.cts +0 -767
  1444. package/node_modules/zod/v4/classic/schemas.d.ts +0 -767
  1445. package/node_modules/zod/v4/classic/schemas.js +0 -1395
  1446. package/node_modules/zod/v4/core/api.cjs +0 -1227
  1447. package/node_modules/zod/v4/core/api.d.cts +0 -325
  1448. package/node_modules/zod/v4/core/api.d.ts +0 -325
  1449. package/node_modules/zod/v4/core/api.js +0 -1087
  1450. package/node_modules/zod/v4/core/checks.cjs +0 -601
  1451. package/node_modules/zod/v4/core/checks.d.cts +0 -278
  1452. package/node_modules/zod/v4/core/checks.d.ts +0 -278
  1453. package/node_modules/zod/v4/core/checks.js +0 -575
  1454. package/node_modules/zod/v4/core/core.cjs +0 -85
  1455. package/node_modules/zod/v4/core/core.d.cts +0 -70
  1456. package/node_modules/zod/v4/core/core.d.ts +0 -70
  1457. package/node_modules/zod/v4/core/core.js +0 -78
  1458. package/node_modules/zod/v4/core/doc.cjs +0 -39
  1459. package/node_modules/zod/v4/core/doc.d.cts +0 -14
  1460. package/node_modules/zod/v4/core/doc.d.ts +0 -14
  1461. package/node_modules/zod/v4/core/doc.js +0 -35
  1462. package/node_modules/zod/v4/core/errors.cjs +0 -216
  1463. package/node_modules/zod/v4/core/errors.d.cts +0 -221
  1464. package/node_modules/zod/v4/core/errors.d.ts +0 -221
  1465. package/node_modules/zod/v4/core/errors.js +0 -185
  1466. package/node_modules/zod/v4/core/index.cjs +0 -47
  1467. package/node_modules/zod/v4/core/index.d.cts +0 -16
  1468. package/node_modules/zod/v4/core/index.d.ts +0 -16
  1469. package/node_modules/zod/v4/core/index.js +0 -16
  1470. package/node_modules/zod/v4/core/json-schema-generator.cjs +0 -99
  1471. package/node_modules/zod/v4/core/json-schema-generator.d.cts +0 -65
  1472. package/node_modules/zod/v4/core/json-schema-generator.d.ts +0 -65
  1473. package/node_modules/zod/v4/core/json-schema-generator.js +0 -95
  1474. package/node_modules/zod/v4/core/json-schema-processors.cjs +0 -644
  1475. package/node_modules/zod/v4/core/json-schema-processors.d.cts +0 -49
  1476. package/node_modules/zod/v4/core/json-schema-processors.d.ts +0 -49
  1477. package/node_modules/zod/v4/core/json-schema-processors.js +0 -601
  1478. package/node_modules/zod/v4/core/json-schema.cjs +0 -2
  1479. package/node_modules/zod/v4/core/json-schema.d.cts +0 -88
  1480. package/node_modules/zod/v4/core/json-schema.d.ts +0 -88
  1481. package/node_modules/zod/v4/core/json-schema.js +0 -1
  1482. package/node_modules/zod/v4/core/package.json +0 -7
  1483. package/node_modules/zod/v4/core/parse.cjs +0 -131
  1484. package/node_modules/zod/v4/core/parse.d.cts +0 -49
  1485. package/node_modules/zod/v4/core/parse.d.ts +0 -49
  1486. package/node_modules/zod/v4/core/parse.js +0 -93
  1487. package/node_modules/zod/v4/core/regexes.cjs +0 -172
  1488. package/node_modules/zod/v4/core/regexes.d.cts +0 -85
  1489. package/node_modules/zod/v4/core/regexes.d.ts +0 -85
  1490. package/node_modules/zod/v4/core/regexes.js +0 -139
  1491. package/node_modules/zod/v4/core/registries.cjs +0 -56
  1492. package/node_modules/zod/v4/core/registries.d.cts +0 -35
  1493. package/node_modules/zod/v4/core/registries.d.ts +0 -35
  1494. package/node_modules/zod/v4/core/registries.js +0 -51
  1495. package/node_modules/zod/v4/core/schemas.cjs +0 -2270
  1496. package/node_modules/zod/v4/core/schemas.d.cts +0 -1184
  1497. package/node_modules/zod/v4/core/schemas.d.ts +0 -1184
  1498. package/node_modules/zod/v4/core/schemas.js +0 -2239
  1499. package/node_modules/zod/v4/core/standard-schema.cjs +0 -2
  1500. package/node_modules/zod/v4/core/standard-schema.d.cts +0 -126
  1501. package/node_modules/zod/v4/core/standard-schema.d.ts +0 -126
  1502. package/node_modules/zod/v4/core/standard-schema.js +0 -1
  1503. package/node_modules/zod/v4/core/to-json-schema.cjs +0 -457
  1504. package/node_modules/zod/v4/core/to-json-schema.d.cts +0 -114
  1505. package/node_modules/zod/v4/core/to-json-schema.d.ts +0 -114
  1506. package/node_modules/zod/v4/core/to-json-schema.js +0 -448
  1507. package/node_modules/zod/v4/core/util.cjs +0 -734
  1508. package/node_modules/zod/v4/core/util.d.cts +0 -200
  1509. package/node_modules/zod/v4/core/util.d.ts +0 -200
  1510. package/node_modules/zod/v4/core/util.js +0 -674
  1511. package/node_modules/zod/v4/core/versions.cjs +0 -8
  1512. package/node_modules/zod/v4/core/versions.d.cts +0 -5
  1513. package/node_modules/zod/v4/core/versions.d.ts +0 -5
  1514. package/node_modules/zod/v4/core/versions.js +0 -5
  1515. package/node_modules/zod/v4/index.cjs +0 -22
  1516. package/node_modules/zod/v4/index.d.cts +0 -3
  1517. package/node_modules/zod/v4/index.d.ts +0 -3
  1518. package/node_modules/zod/v4/index.js +0 -3
  1519. package/node_modules/zod/v4/locales/ar.cjs +0 -133
  1520. package/node_modules/zod/v4/locales/ar.d.cts +0 -5
  1521. package/node_modules/zod/v4/locales/ar.d.ts +0 -4
  1522. package/node_modules/zod/v4/locales/ar.js +0 -106
  1523. package/node_modules/zod/v4/locales/az.cjs +0 -132
  1524. package/node_modules/zod/v4/locales/az.d.cts +0 -5
  1525. package/node_modules/zod/v4/locales/az.d.ts +0 -4
  1526. package/node_modules/zod/v4/locales/az.js +0 -105
  1527. package/node_modules/zod/v4/locales/be.cjs +0 -183
  1528. package/node_modules/zod/v4/locales/be.d.cts +0 -5
  1529. package/node_modules/zod/v4/locales/be.d.ts +0 -4
  1530. package/node_modules/zod/v4/locales/be.js +0 -156
  1531. package/node_modules/zod/v4/locales/bg.cjs +0 -147
  1532. package/node_modules/zod/v4/locales/bg.d.cts +0 -5
  1533. package/node_modules/zod/v4/locales/bg.d.ts +0 -4
  1534. package/node_modules/zod/v4/locales/bg.js +0 -120
  1535. package/node_modules/zod/v4/locales/ca.cjs +0 -134
  1536. package/node_modules/zod/v4/locales/ca.d.cts +0 -5
  1537. package/node_modules/zod/v4/locales/ca.d.ts +0 -4
  1538. package/node_modules/zod/v4/locales/ca.js +0 -107
  1539. package/node_modules/zod/v4/locales/cs.cjs +0 -138
  1540. package/node_modules/zod/v4/locales/cs.d.cts +0 -5
  1541. package/node_modules/zod/v4/locales/cs.d.ts +0 -4
  1542. package/node_modules/zod/v4/locales/cs.js +0 -111
  1543. package/node_modules/zod/v4/locales/da.cjs +0 -142
  1544. package/node_modules/zod/v4/locales/da.d.cts +0 -5
  1545. package/node_modules/zod/v4/locales/da.d.ts +0 -4
  1546. package/node_modules/zod/v4/locales/da.js +0 -115
  1547. package/node_modules/zod/v4/locales/de.cjs +0 -135
  1548. package/node_modules/zod/v4/locales/de.d.cts +0 -5
  1549. package/node_modules/zod/v4/locales/de.d.ts +0 -4
  1550. package/node_modules/zod/v4/locales/de.js +0 -108
  1551. package/node_modules/zod/v4/locales/el.cjs +0 -136
  1552. package/node_modules/zod/v4/locales/el.d.cts +0 -5
  1553. package/node_modules/zod/v4/locales/el.d.ts +0 -4
  1554. package/node_modules/zod/v4/locales/el.js +0 -109
  1555. package/node_modules/zod/v4/locales/en.cjs +0 -140
  1556. package/node_modules/zod/v4/locales/en.d.cts +0 -5
  1557. package/node_modules/zod/v4/locales/en.d.ts +0 -4
  1558. package/node_modules/zod/v4/locales/en.js +0 -113
  1559. package/node_modules/zod/v4/locales/eo.cjs +0 -136
  1560. package/node_modules/zod/v4/locales/eo.d.cts +0 -5
  1561. package/node_modules/zod/v4/locales/eo.d.ts +0 -4
  1562. package/node_modules/zod/v4/locales/eo.js +0 -109
  1563. package/node_modules/zod/v4/locales/es.cjs +0 -159
  1564. package/node_modules/zod/v4/locales/es.d.cts +0 -5
  1565. package/node_modules/zod/v4/locales/es.d.ts +0 -4
  1566. package/node_modules/zod/v4/locales/es.js +0 -132
  1567. package/node_modules/zod/v4/locales/fa.cjs +0 -141
  1568. package/node_modules/zod/v4/locales/fa.d.cts +0 -5
  1569. package/node_modules/zod/v4/locales/fa.d.ts +0 -4
  1570. package/node_modules/zod/v4/locales/fa.js +0 -114
  1571. package/node_modules/zod/v4/locales/fi.cjs +0 -139
  1572. package/node_modules/zod/v4/locales/fi.d.cts +0 -5
  1573. package/node_modules/zod/v4/locales/fi.d.ts +0 -4
  1574. package/node_modules/zod/v4/locales/fi.js +0 -112
  1575. package/node_modules/zod/v4/locales/fr-CA.cjs +0 -134
  1576. package/node_modules/zod/v4/locales/fr-CA.d.cts +0 -5
  1577. package/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
  1578. package/node_modules/zod/v4/locales/fr-CA.js +0 -107
  1579. package/node_modules/zod/v4/locales/fr.cjs +0 -152
  1580. package/node_modules/zod/v4/locales/fr.d.cts +0 -5
  1581. package/node_modules/zod/v4/locales/fr.d.ts +0 -4
  1582. package/node_modules/zod/v4/locales/fr.js +0 -125
  1583. package/node_modules/zod/v4/locales/he.cjs +0 -241
  1584. package/node_modules/zod/v4/locales/he.d.cts +0 -5
  1585. package/node_modules/zod/v4/locales/he.d.ts +0 -4
  1586. package/node_modules/zod/v4/locales/he.js +0 -214
  1587. package/node_modules/zod/v4/locales/hr.cjs +0 -149
  1588. package/node_modules/zod/v4/locales/hr.d.cts +0 -5
  1589. package/node_modules/zod/v4/locales/hr.d.ts +0 -4
  1590. package/node_modules/zod/v4/locales/hr.js +0 -122
  1591. package/node_modules/zod/v4/locales/hu.cjs +0 -135
  1592. package/node_modules/zod/v4/locales/hu.d.cts +0 -5
  1593. package/node_modules/zod/v4/locales/hu.d.ts +0 -4
  1594. package/node_modules/zod/v4/locales/hu.js +0 -108
  1595. package/node_modules/zod/v4/locales/hy.cjs +0 -174
  1596. package/node_modules/zod/v4/locales/hy.d.cts +0 -5
  1597. package/node_modules/zod/v4/locales/hy.d.ts +0 -4
  1598. package/node_modules/zod/v4/locales/hy.js +0 -147
  1599. package/node_modules/zod/v4/locales/id.cjs +0 -133
  1600. package/node_modules/zod/v4/locales/id.d.cts +0 -5
  1601. package/node_modules/zod/v4/locales/id.d.ts +0 -4
  1602. package/node_modules/zod/v4/locales/id.js +0 -106
  1603. package/node_modules/zod/v4/locales/index.cjs +0 -111
  1604. package/node_modules/zod/v4/locales/index.d.cts +0 -52
  1605. package/node_modules/zod/v4/locales/index.d.ts +0 -52
  1606. package/node_modules/zod/v4/locales/index.js +0 -52
  1607. package/node_modules/zod/v4/locales/is.cjs +0 -136
  1608. package/node_modules/zod/v4/locales/is.d.cts +0 -5
  1609. package/node_modules/zod/v4/locales/is.d.ts +0 -4
  1610. package/node_modules/zod/v4/locales/is.js +0 -109
  1611. package/node_modules/zod/v4/locales/it.cjs +0 -135
  1612. package/node_modules/zod/v4/locales/it.d.cts +0 -5
  1613. package/node_modules/zod/v4/locales/it.d.ts +0 -4
  1614. package/node_modules/zod/v4/locales/it.js +0 -108
  1615. package/node_modules/zod/v4/locales/ja.cjs +0 -134
  1616. package/node_modules/zod/v4/locales/ja.d.cts +0 -5
  1617. package/node_modules/zod/v4/locales/ja.d.ts +0 -4
  1618. package/node_modules/zod/v4/locales/ja.js +0 -107
  1619. package/node_modules/zod/v4/locales/ka.cjs +0 -139
  1620. package/node_modules/zod/v4/locales/ka.d.cts +0 -5
  1621. package/node_modules/zod/v4/locales/ka.d.ts +0 -4
  1622. package/node_modules/zod/v4/locales/ka.js +0 -112
  1623. package/node_modules/zod/v4/locales/kh.cjs +0 -12
  1624. package/node_modules/zod/v4/locales/kh.d.cts +0 -5
  1625. package/node_modules/zod/v4/locales/kh.d.ts +0 -5
  1626. package/node_modules/zod/v4/locales/kh.js +0 -5
  1627. package/node_modules/zod/v4/locales/km.cjs +0 -137
  1628. package/node_modules/zod/v4/locales/km.d.cts +0 -5
  1629. package/node_modules/zod/v4/locales/km.d.ts +0 -4
  1630. package/node_modules/zod/v4/locales/km.js +0 -110
  1631. package/node_modules/zod/v4/locales/ko.cjs +0 -138
  1632. package/node_modules/zod/v4/locales/ko.d.cts +0 -5
  1633. package/node_modules/zod/v4/locales/ko.d.ts +0 -4
  1634. package/node_modules/zod/v4/locales/ko.js +0 -111
  1635. package/node_modules/zod/v4/locales/lt.cjs +0 -230
  1636. package/node_modules/zod/v4/locales/lt.d.cts +0 -5
  1637. package/node_modules/zod/v4/locales/lt.d.ts +0 -4
  1638. package/node_modules/zod/v4/locales/lt.js +0 -203
  1639. package/node_modules/zod/v4/locales/mk.cjs +0 -136
  1640. package/node_modules/zod/v4/locales/mk.d.cts +0 -5
  1641. package/node_modules/zod/v4/locales/mk.d.ts +0 -4
  1642. package/node_modules/zod/v4/locales/mk.js +0 -109
  1643. package/node_modules/zod/v4/locales/ms.cjs +0 -134
  1644. package/node_modules/zod/v4/locales/ms.d.cts +0 -5
  1645. package/node_modules/zod/v4/locales/ms.d.ts +0 -4
  1646. package/node_modules/zod/v4/locales/ms.js +0 -107
  1647. package/node_modules/zod/v4/locales/nl.cjs +0 -137
  1648. package/node_modules/zod/v4/locales/nl.d.cts +0 -5
  1649. package/node_modules/zod/v4/locales/nl.d.ts +0 -4
  1650. package/node_modules/zod/v4/locales/nl.js +0 -110
  1651. package/node_modules/zod/v4/locales/no.cjs +0 -135
  1652. package/node_modules/zod/v4/locales/no.d.cts +0 -5
  1653. package/node_modules/zod/v4/locales/no.d.ts +0 -4
  1654. package/node_modules/zod/v4/locales/no.js +0 -108
  1655. package/node_modules/zod/v4/locales/ota.cjs +0 -136
  1656. package/node_modules/zod/v4/locales/ota.d.cts +0 -5
  1657. package/node_modules/zod/v4/locales/ota.d.ts +0 -4
  1658. package/node_modules/zod/v4/locales/ota.js +0 -109
  1659. package/node_modules/zod/v4/locales/package.json +0 -7
  1660. package/node_modules/zod/v4/locales/pl.cjs +0 -136
  1661. package/node_modules/zod/v4/locales/pl.d.cts +0 -5
  1662. package/node_modules/zod/v4/locales/pl.d.ts +0 -4
  1663. package/node_modules/zod/v4/locales/pl.js +0 -109
  1664. package/node_modules/zod/v4/locales/ps.cjs +0 -141
  1665. package/node_modules/zod/v4/locales/ps.d.cts +0 -5
  1666. package/node_modules/zod/v4/locales/ps.d.ts +0 -4
  1667. package/node_modules/zod/v4/locales/ps.js +0 -114
  1668. package/node_modules/zod/v4/locales/pt.cjs +0 -135
  1669. package/node_modules/zod/v4/locales/pt.d.cts +0 -5
  1670. package/node_modules/zod/v4/locales/pt.d.ts +0 -4
  1671. package/node_modules/zod/v4/locales/pt.js +0 -108
  1672. package/node_modules/zod/v4/locales/ro.cjs +0 -146
  1673. package/node_modules/zod/v4/locales/ro.d.cts +0 -5
  1674. package/node_modules/zod/v4/locales/ro.d.ts +0 -4
  1675. package/node_modules/zod/v4/locales/ro.js +0 -119
  1676. package/node_modules/zod/v4/locales/ru.cjs +0 -183
  1677. package/node_modules/zod/v4/locales/ru.d.cts +0 -5
  1678. package/node_modules/zod/v4/locales/ru.d.ts +0 -4
  1679. package/node_modules/zod/v4/locales/ru.js +0 -156
  1680. package/node_modules/zod/v4/locales/sl.cjs +0 -136
  1681. package/node_modules/zod/v4/locales/sl.d.cts +0 -5
  1682. package/node_modules/zod/v4/locales/sl.d.ts +0 -4
  1683. package/node_modules/zod/v4/locales/sl.js +0 -109
  1684. package/node_modules/zod/v4/locales/sv.cjs +0 -137
  1685. package/node_modules/zod/v4/locales/sv.d.cts +0 -5
  1686. package/node_modules/zod/v4/locales/sv.d.ts +0 -4
  1687. package/node_modules/zod/v4/locales/sv.js +0 -110
  1688. package/node_modules/zod/v4/locales/ta.cjs +0 -137
  1689. package/node_modules/zod/v4/locales/ta.d.cts +0 -5
  1690. package/node_modules/zod/v4/locales/ta.d.ts +0 -4
  1691. package/node_modules/zod/v4/locales/ta.js +0 -110
  1692. package/node_modules/zod/v4/locales/th.cjs +0 -137
  1693. package/node_modules/zod/v4/locales/th.d.cts +0 -5
  1694. package/node_modules/zod/v4/locales/th.d.ts +0 -4
  1695. package/node_modules/zod/v4/locales/th.js +0 -110
  1696. package/node_modules/zod/v4/locales/tr.cjs +0 -132
  1697. package/node_modules/zod/v4/locales/tr.d.cts +0 -5
  1698. package/node_modules/zod/v4/locales/tr.d.ts +0 -4
  1699. package/node_modules/zod/v4/locales/tr.js +0 -105
  1700. package/node_modules/zod/v4/locales/ua.cjs +0 -12
  1701. package/node_modules/zod/v4/locales/ua.d.cts +0 -5
  1702. package/node_modules/zod/v4/locales/ua.d.ts +0 -5
  1703. package/node_modules/zod/v4/locales/ua.js +0 -5
  1704. package/node_modules/zod/v4/locales/uk.cjs +0 -135
  1705. package/node_modules/zod/v4/locales/uk.d.cts +0 -5
  1706. package/node_modules/zod/v4/locales/uk.d.ts +0 -4
  1707. package/node_modules/zod/v4/locales/uk.js +0 -108
  1708. package/node_modules/zod/v4/locales/ur.cjs +0 -137
  1709. package/node_modules/zod/v4/locales/ur.d.cts +0 -5
  1710. package/node_modules/zod/v4/locales/ur.d.ts +0 -4
  1711. package/node_modules/zod/v4/locales/ur.js +0 -110
  1712. package/node_modules/zod/v4/locales/uz.cjs +0 -137
  1713. package/node_modules/zod/v4/locales/uz.d.cts +0 -5
  1714. package/node_modules/zod/v4/locales/uz.d.ts +0 -4
  1715. package/node_modules/zod/v4/locales/uz.js +0 -110
  1716. package/node_modules/zod/v4/locales/vi.cjs +0 -135
  1717. package/node_modules/zod/v4/locales/vi.d.cts +0 -5
  1718. package/node_modules/zod/v4/locales/vi.d.ts +0 -4
  1719. package/node_modules/zod/v4/locales/vi.js +0 -108
  1720. package/node_modules/zod/v4/locales/yo.cjs +0 -134
  1721. package/node_modules/zod/v4/locales/yo.d.cts +0 -5
  1722. package/node_modules/zod/v4/locales/yo.d.ts +0 -4
  1723. package/node_modules/zod/v4/locales/yo.js +0 -107
  1724. package/node_modules/zod/v4/locales/zh-CN.cjs +0 -136
  1725. package/node_modules/zod/v4/locales/zh-CN.d.cts +0 -5
  1726. package/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
  1727. package/node_modules/zod/v4/locales/zh-CN.js +0 -109
  1728. package/node_modules/zod/v4/locales/zh-TW.cjs +0 -134
  1729. package/node_modules/zod/v4/locales/zh-TW.d.cts +0 -5
  1730. package/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
  1731. package/node_modules/zod/v4/locales/zh-TW.js +0 -107
  1732. package/node_modules/zod/v4/mini/checks.cjs +0 -34
  1733. package/node_modules/zod/v4/mini/checks.d.cts +0 -1
  1734. package/node_modules/zod/v4/mini/checks.d.ts +0 -1
  1735. package/node_modules/zod/v4/mini/checks.js +0 -1
  1736. package/node_modules/zod/v4/mini/coerce.cjs +0 -52
  1737. package/node_modules/zod/v4/mini/coerce.d.cts +0 -7
  1738. package/node_modules/zod/v4/mini/coerce.d.ts +0 -7
  1739. package/node_modules/zod/v4/mini/coerce.js +0 -22
  1740. package/node_modules/zod/v4/mini/external.cjs +0 -63
  1741. package/node_modules/zod/v4/mini/external.d.cts +0 -13
  1742. package/node_modules/zod/v4/mini/external.d.ts +0 -13
  1743. package/node_modules/zod/v4/mini/external.js +0 -14
  1744. package/node_modules/zod/v4/mini/index.cjs +0 -32
  1745. package/node_modules/zod/v4/mini/index.d.cts +0 -3
  1746. package/node_modules/zod/v4/mini/index.d.ts +0 -3
  1747. package/node_modules/zod/v4/mini/index.js +0 -3
  1748. package/node_modules/zod/v4/mini/iso.cjs +0 -64
  1749. package/node_modules/zod/v4/mini/iso.d.cts +0 -22
  1750. package/node_modules/zod/v4/mini/iso.d.ts +0 -22
  1751. package/node_modules/zod/v4/mini/iso.js +0 -34
  1752. package/node_modules/zod/v4/mini/package.json +0 -7
  1753. package/node_modules/zod/v4/mini/parse.cjs +0 -16
  1754. package/node_modules/zod/v4/mini/parse.d.cts +0 -1
  1755. package/node_modules/zod/v4/mini/parse.d.ts +0 -1
  1756. package/node_modules/zod/v4/mini/parse.js +0 -1
  1757. package/node_modules/zod/v4/mini/schemas.cjs +0 -1083
  1758. package/node_modules/zod/v4/mini/schemas.d.cts +0 -445
  1759. package/node_modules/zod/v4/mini/schemas.d.ts +0 -445
  1760. package/node_modules/zod/v4/mini/schemas.js +0 -961
  1761. package/node_modules/zod/v4/package.json +0 -7
  1762. package/node_modules/zod/v4-mini/index.cjs +0 -32
  1763. package/node_modules/zod/v4-mini/index.d.cts +0 -3
  1764. package/node_modules/zod/v4-mini/index.d.ts +0 -3
  1765. package/node_modules/zod/v4-mini/index.js +0 -3
  1766. package/node_modules/zod/v4-mini/package.json +0 -7
  1767. package/web/assets/abnfDiagram-VRR7QNED-Brm1vcGG.js +0 -1
  1768. package/web/assets/app-Debw-lUT.js +0 -2
  1769. package/web/assets/app-options-UU_JlJQv.js +0 -25
  1770. package/web/assets/app-view-header-BSOI-wB6.js +0 -1
  1771. package/web/assets/arc-zngHsMKV.js +0 -1
  1772. package/web/assets/architectureDiagram-ZJ3FMSHR-BLklLqRP.js +0 -36
  1773. package/web/assets/ask-tray-B4SPj-fH.js +0 -14
  1774. package/web/assets/blockDiagram-677ZJIJ3-yhC2fEtu.js +0 -132
  1775. package/web/assets/button-CuuAtS1I.js +0 -1
  1776. package/web/assets/c4Diagram-LMCZKHZV-DMcweQme.js +0 -10
  1777. package/web/assets/channel-BgYLn5Cm.js +0 -1
  1778. package/web/assets/chunk-2Q5K7J3B-DD-S6n8h.js +0 -1
  1779. package/web/assets/chunk-32BRIVSS-DFIAKRv_.js +0 -1
  1780. package/web/assets/chunk-5VM5RSS4-B23APb3c.js +0 -15
  1781. package/web/assets/chunk-EX3LRPZG-BSVEB7db.js +0 -231
  1782. package/web/assets/chunk-JWPE2WC7-B6qGd0ng.js +0 -1
  1783. package/web/assets/chunk-MOJQB5TN-N4T1-ew1.js +0 -88
  1784. package/web/assets/chunk-RYQCIY6F-6oc6i_Xw.js +0 -1
  1785. package/web/assets/chunk-V7JOEXUC-Dftgm9ck.js +0 -206
  1786. package/web/assets/chunk-VR4S4FIN-DfjqwEsO.js +0 -1
  1787. package/web/assets/chunk-XXDRQBXY-CsFsQYow.js +0 -1
  1788. package/web/assets/classDiagram-OUVF2IWQ-Fzhmfbkt.js +0 -1
  1789. package/web/assets/classDiagram-v2-EOCWNBFH-Fzhmfbkt.js +0 -1
  1790. package/web/assets/client-C1WdY7jQ.js +0 -22
  1791. package/web/assets/client-D__L4Hl0.js +0 -17
  1792. package/web/assets/client-DoMhF9Tv.js +0 -5
  1793. package/web/assets/command-D_9V8ejS.js +0 -38
  1794. package/web/assets/copy-context-CevDWX59.js +0 -1
  1795. package/web/assets/cose-bilkent-JH36ORCC-DzKsIuDb.js +0 -1
  1796. package/web/assets/cynefin-VYW2F7L2-AL45ZHbw.js +0 -166
  1797. package/web/assets/cynefinDiagram-TSTJHNR4-DSbBegxZ.js +0 -62
  1798. package/web/assets/dagre-VKFMJZFB-BaG6MGUE.js +0 -4
  1799. package/web/assets/diagram-FQU43EPY-WbDotTX5.js +0 -3
  1800. package/web/assets/diagram-G47NLZAW-DMbouYVI.js +0 -24
  1801. package/web/assets/diagram-NH7WQ7WH-DoEuaWd_.js +0 -24
  1802. package/web/assets/diagram-OA4YK3LP-BjGd-PoH.js +0 -30
  1803. package/web/assets/diagram-WEI45ONY-CXHi27jF.js +0 -41
  1804. package/web/assets/document-CVJCfWiQ.js +0 -23
  1805. package/web/assets/ebnfDiagram-CCIWWBDH-B5vMUDOs.js +0 -1
  1806. package/web/assets/entities-BTKzWJ-r.js +0 -22
  1807. package/web/assets/erDiagram-Q63AITRT-DhO7ayzF.js +0 -85
  1808. package/web/assets/file-viewer-D1HK9J3A.js +0 -1
  1809. package/web/assets/flowDiagram-23GEKE2U-CublTUlC.js +0 -156
  1810. package/web/assets/folder-filter-bar-BHz7s9Vb.js +0 -4
  1811. package/web/assets/folder-image-L_AjkRfI.js +0 -1
  1812. package/web/assets/folder-landing-Byh8W67L.js +0 -54
  1813. package/web/assets/folder-list-jMyo-7pV.js +0 -1
  1814. package/web/assets/folder-metadata-bCocvxpP.js +0 -2
  1815. package/web/assets/folder-mobile-bar-DvvyOS-a.js +0 -1
  1816. package/web/assets/folder-plugin-view-sib0Dwfw.js +0 -3
  1817. package/web/assets/ganttDiagram-NO4QXBWP-BLMJWerM.js +0 -292
  1818. package/web/assets/gitGraphDiagram-IHSO6WYX-Br0E6qyZ.js +0 -106
  1819. package/web/assets/index-4Xh9UKim.js +0 -1
  1820. package/web/assets/index-BVyeNcuc.js +0 -41
  1821. package/web/assets/index-Bu75S2qS.js +0 -1
  1822. package/web/assets/index-CPcMcCUY.js +0 -2
  1823. package/web/assets/index-CXxkvzNJ.css +0 -1
  1824. package/web/assets/index-Cg-gtBkw.js +0 -1
  1825. package/web/assets/index-DbVDdnzL.js +0 -1
  1826. package/web/assets/infoDiagram-FWYZ7A6U-Dgz0npJO.js +0 -2
  1827. package/web/assets/ishikawaDiagram-FXEZZL3T-rY5pdS3b.js +0 -70
  1828. package/web/assets/journeyDiagram-5HDEW3XC-CKZALyR6.js +0 -139
  1829. package/web/assets/kanban-definition-HUTT4EX6-EGPY9Vda.js +0 -89
  1830. package/web/assets/linear-DkJW9OwI.js +0 -1
  1831. package/web/assets/linked-session-header-BkEweU0Z.js +0 -3
  1832. package/web/assets/markdown-Bw9RgUGR.js +0 -327
  1833. package/web/assets/mermaid.core-DVEpXYiF.js +0 -308
  1834. package/web/assets/metadata-Bu_ffLUd.js +0 -1
  1835. package/web/assets/mindmap-definition-LN4V7U3C-BEOUVnDN.js +0 -96
  1836. package/web/assets/pegDiagram-2B236MQR-DThjl3eK.js +0 -1
  1837. package/web/assets/pieDiagram-ENE6RG2P-DzmoGgw2.js +0 -39
  1838. package/web/assets/popover-3AMcPJpt.js +0 -9
  1839. package/web/assets/project-search-dialog-e2Jmhvfq.js +0 -43
  1840. package/web/assets/quadrantDiagram-ABIIQ3AL-BqT8U3FS.js +0 -7
  1841. package/web/assets/railroadDiagram-RFXS5EU6-1k1tfPk1.js +0 -1
  1842. package/web/assets/react-B9jn2M18.js +0 -9
  1843. package/web/assets/requirementDiagram-TGXJPOKE-bM4RTd2J.js +0 -84
  1844. package/web/assets/sankeyDiagram-HTMAVEWB-TCgfqDLy.js +0 -40
  1845. package/web/assets/search-BOHZTLC-.css +0 -1
  1846. package/web/assets/search-DQiFH2up.js +0 -2
  1847. package/web/assets/select-CkOwL81C.js +0 -30
  1848. package/web/assets/selection-popup-bqfgVd-L.js +0 -7
  1849. package/web/assets/sequenceDiagram-DBY2YBRQ-BRhGHI0i.js +0 -162
  1850. package/web/assets/sizeCapture-X5ZJPWSS-EeUWgn0N.js +0 -1
  1851. package/web/assets/stateDiagram-2N3HPSRC-BSOG758d.js +0 -1
  1852. package/web/assets/stateDiagram-v2-6OUMAXLB-DUeGDz1r.js +0 -1
  1853. package/web/assets/swimlanes-5IMT3BWC-DpCo4aEm.js +0 -2
  1854. package/web/assets/swimlanesDiagram-G3AALYLV-BGOaCfyV.js +0 -8
  1855. package/web/assets/tanstack-YzX_Mi37.js +0 -3
  1856. package/web/assets/timeline-definition-FHXFAJF6-BpaObe6u.js +0 -120
  1857. package/web/assets/use-folder-filter-hA6fa7nm.js +0 -1
  1858. package/web/assets/utils-Cg80pk1W.js +0 -1
  1859. package/web/assets/vennDiagram-L72KCM5P-ClvUzW8B.js +0 -34
  1860. package/web/assets/view-context-CVvDw2JM.js +0 -229
  1861. package/web/assets/viewer-capabilities-CFBwvpcI.js +0 -1
  1862. package/web/assets/wardleyDiagram-EHGQE667-Dg1CX0Fl.js +0 -78
  1863. package/web/assets/xychartDiagram-FW5EYKEG-C0c9zQTr.js +0 -7
@@ -1,1835 +0,0 @@
1
- import * as schema from "./schema/index.js";
2
- import type { AnyMessage } from "./jsonrpc.js";
3
- export type * from "./schema/types.gen.js";
4
- export { CreateElicitationRequest, CreateElicitationResponse, ElicitationPropertySchema, MultiSelectItems, } from "./schema/guards.gen.js";
5
- export { AGENT_METHODS, CLIENT_METHODS, PROTOCOL_METHODS, PROTOCOL_VERSION, } from "./schema/index.js";
6
- /**
7
- * Stream interface for stable ACP v1 connections.
8
- *
9
- * This type powers bidirectional communication for an ACP connection using
10
- * individual JSON-RPC messages. The experimental v2 entry point exposes the
11
- * batch-capable stream surface.
12
- *
13
- * The most common way to create a Stream is using {@link ndJsonStream}.
14
- */
15
- export type Stream = {
16
- /** Outgoing JSON-RPC messages written by this side of the connection. */
17
- writable: WritableStream<AnyMessage>;
18
- /** Incoming JSON-RPC messages read by this side of the connection. */
19
- readable: ReadableStream<AnyMessage>;
20
- };
21
- /**
22
- * Creates a stable ACP v1 stream from newline-delimited JSON streams.
23
- *
24
- * @param output - The writable stream to send encoded messages to
25
- * @param input - The readable stream to receive encoded messages from
26
- * @returns A stream for bidirectional ACP v1 communication
27
- */
28
- export declare function ndJsonStream(output: WritableStream<Uint8Array>, input: ReadableStream<Uint8Array>): Stream;
29
- export { RequestError } from "./jsonrpc.js";
30
- export type { AnyMessage, AnyNotification, AnyRequest, AnyResponse, ErrorResponse, JsonRpcId, MaybePromise, Result, SendRequestOptions, } from "./jsonrpc.js";
31
- import type { JsonRpcId, MaybePromise, SendRequestOptions } from "./jsonrpc.js";
32
- /**
33
- * ACP method-name constants.
34
- *
35
- * Use these with `onRequest(...)`, `onNotification(...)`, `request(...)`, and
36
- * `notify(...)` when you want literal-string type inference without spelling
37
- * protocol strings inline.
38
- */
39
- export declare const methods: {
40
- readonly agent: {
41
- readonly initialize: "initialize";
42
- readonly authenticate: "authenticate";
43
- readonly logout: "logout";
44
- readonly providers: {
45
- readonly list: "providers/list";
46
- readonly set: "providers/set";
47
- readonly disable: "providers/disable";
48
- };
49
- readonly session: {
50
- readonly new: "session/new";
51
- readonly load: "session/load";
52
- readonly list: "session/list";
53
- readonly delete: "session/delete";
54
- readonly fork: "session/fork";
55
- readonly resume: "session/resume";
56
- readonly close: "session/close";
57
- readonly setMode: "session/set_mode";
58
- readonly setConfigOption: "session/set_config_option";
59
- readonly prompt: "session/prompt";
60
- readonly cancel: "session/cancel";
61
- };
62
- readonly nes: {
63
- readonly start: "nes/start";
64
- readonly suggest: "nes/suggest";
65
- readonly accept: "nes/accept";
66
- readonly reject: "nes/reject";
67
- readonly close: "nes/close";
68
- };
69
- readonly document: {
70
- readonly didOpen: "document/didOpen";
71
- readonly didChange: "document/didChange";
72
- readonly didClose: "document/didClose";
73
- readonly didSave: "document/didSave";
74
- readonly didFocus: "document/didFocus";
75
- };
76
- };
77
- readonly client: {
78
- readonly session: {
79
- readonly requestPermission: "session/request_permission";
80
- readonly update: "session/update";
81
- };
82
- readonly fs: {
83
- readonly writeTextFile: "fs/write_text_file";
84
- readonly readTextFile: "fs/read_text_file";
85
- };
86
- readonly terminal: {
87
- readonly create: "terminal/create";
88
- readonly output: "terminal/output";
89
- readonly release: "terminal/release";
90
- readonly waitForExit: "terminal/wait_for_exit";
91
- readonly kill: "terminal/kill";
92
- };
93
- readonly elicitation: {
94
- readonly create: "elicitation/create";
95
- readonly complete: "elicitation/complete";
96
- };
97
- };
98
- readonly protocol: {
99
- readonly cancelRequest: "$/cancel_request";
100
- };
101
- };
102
- /**
103
- * Active ACP connection returned by `AgentApp.connect(...)` and
104
- * `ClientApp.connect(...)`.
105
- *
106
- * Use this handle when you need a connection to stay open independently of a
107
- * single `connectWith(...)` operation.
108
- */
109
- export interface AcpConnection {
110
- /**
111
- * AbortSignal that aborts when the connection closes.
112
- */
113
- readonly signal: AbortSignal;
114
- /**
115
- * Promise that resolves when the connection closes.
116
- */
117
- readonly closed: Promise<void>;
118
- /**
119
- * Closes the connection and rejects pending requests.
120
- */
121
- close(error?: unknown): void;
122
- }
123
- /**
124
- * Agent-side connection returned by `AgentApp.connect(...)`.
125
- *
126
- * Use `client` to call client-side ACP methods for the lifetime of the
127
- * connection.
128
- */
129
- export interface AgentConnection extends AcpConnection {
130
- /**
131
- * Context for calling client-side ACP methods.
132
- */
133
- readonly client: AgentContext;
134
- }
135
- /**
136
- * Client-side connection returned by `ClientApp.connect(...)`.
137
- *
138
- * Use `agent` to call agent-side ACP methods and session helpers for the
139
- * lifetime of the connection.
140
- */
141
- export interface ClientConnection extends AcpConnection {
142
- /**
143
- * Context for calling agent-side ACP methods.
144
- */
145
- readonly agent: ClientContext;
146
- }
147
- declare class AcpContext {
148
- private readonly cx;
149
- private readonly currentRequestId?;
150
- /**
151
- * JSON-RPC id of the request currently being handled.
152
- *
153
- * This is `undefined` for notification handlers and for contexts created
154
- * outside an inbound request, such as `connect(...)` and `connectWith(...)`.
155
- */
156
- get requestId(): JsonRpcId | undefined;
157
- }
158
- /**
159
- * Context passed to agent-side handlers.
160
- *
161
- * Agents use this context to call client-side ACP methods while handling
162
- * requests such as `session/prompt`.
163
- */
164
- export declare class AgentContext extends AcpContext {
165
- private constructor();
166
- /**
167
- * Sends a request to the client by ACP method name.
168
- *
169
- * Built-in method literals infer their params and response types. Custom
170
- * methods can specify their response and params types with generics.
171
- */
172
- request<Method extends ClientRequestMethod>(method: Method, params: ClientRequestParamsByMethod[Method], options?: SendRequestOptions): Promise<ClientRequestResponsesByMethod[Method]>;
173
- request<Response = unknown, Params = unknown>(method: string, params?: Params, options?: SendRequestOptions): Promise<Response>;
174
- /**
175
- * Sends a notification to the client by ACP method name.
176
- *
177
- * Built-in method literals infer their params type. Custom notifications can
178
- * specify their params type with a generic.
179
- */
180
- notify<Method extends ClientNotificationMethod>(method: Method, params: ClientNotificationParamsByMethod[Method]): Promise<void>;
181
- notify<Params = unknown>(method: string, params?: Params): Promise<void>;
182
- }
183
- /**
184
- * Context used by clients to call agent-side ACP methods.
185
- *
186
- * `connectWith` passes a `ClientContext` to the callback. Client handlers also
187
- * receive one as `ctx.agent` when they need to call back into the agent.
188
- */
189
- export declare class ClientContext extends AcpContext {
190
- private constructor();
191
- /**
192
- * Creates a builder for starting and observing an ACP session.
193
- *
194
- * Pass a string for the common case where only `cwd` is needed, or pass a
195
- * full `NewSessionRequest` when you need MCP servers, `_meta`, or additional
196
- * session fields.
197
- */
198
- buildSession(cwd: string): SessionBuilder;
199
- buildSession(request: schema.NewSessionRequest): SessionBuilder;
200
- /**
201
- * Builds active-session helpers around a `session/new` response.
202
- */
203
- private attachSession;
204
- /**
205
- * Sends a request to the agent by ACP method name.
206
- *
207
- * Built-in method literals infer their params and response types. Custom
208
- * methods can specify their response and params types with generics.
209
- */
210
- request<Method extends AgentRequestMethod>(method: Method, params: AgentRequestParamsByMethod[Method], options?: SendRequestOptions): Promise<AgentRequestResponsesByMethod[Method]>;
211
- request<Response = unknown, Params = unknown>(method: string, params?: Params, options?: SendRequestOptions): Promise<Response>;
212
- /**
213
- * Sends a notification to the agent by ACP method name.
214
- *
215
- * Built-in method literals infer their params type. Custom notifications can
216
- * specify their params type with a generic.
217
- */
218
- notify<Method extends AgentNotificationMethod>(method: Method, params: AgentNotificationParamsByMethod[Method]): Promise<void>;
219
- notify<Params = unknown>(method: string, params?: Params): Promise<void>;
220
- }
221
- /**
222
- * Message produced by an `ActiveSession`.
223
- *
224
- * `session_update` messages expose the typed `session/update` notification and
225
- * `stop` messages report the final `session/prompt` response. A prompt turn is
226
- * complete once a `stop` message is returned.
227
- */
228
- export type ActiveSessionMessage = {
229
- /**
230
- * Indicates that this message came from a `session/update` notification.
231
- */
232
- kind: "session_update";
233
- /**
234
- * Full notification sent by the agent.
235
- */
236
- notification: schema.SessionNotification;
237
- /**
238
- * Convenience alias for `notification.update`.
239
- */
240
- update: schema.SessionUpdate;
241
- } | {
242
- /**
243
- * Indicates that the prompt turn has completed.
244
- */
245
- kind: "stop";
246
- /**
247
- * Final response from `session/prompt`.
248
- */
249
- response: schema.PromptResponse;
250
- /**
251
- * Convenience alias for `response.stopReason`.
252
- */
253
- stopReason: schema.StopReason;
254
- };
255
- /**
256
- * Builder for creating an `ActiveSession`.
257
- *
258
- * Start from `ctx.buildSession("/absolute/cwd")` for the common case, or
259
- * pass a full `NewSessionRequest` to `ctx.buildSession(...)` when the session
260
- * needs MCP servers, `_meta`, or additional request fields. All paths in ACP
261
- * payloads should be absolute.
262
- */
263
- export declare class SessionBuilder {
264
- private cx;
265
- private request;
266
- private constructor();
267
- /**
268
- * Returns the `session/new` request that will be sent.
269
- *
270
- * The returned object is a defensive copy, so mutating it does not change the
271
- * builder.
272
- */
273
- toRequest(): schema.NewSessionRequest;
274
- /**
275
- * Replaces the additional workspace roots for this session.
276
- *
277
- * `additionalDirectories` expand the session's file-system scope without
278
- * changing `cwd`. Each path should be absolute.
279
- */
280
- withAdditionalDirectories(additionalDirectories: string[]): this;
281
- /**
282
- * Adds one MCP server to the `session/new` request.
283
- */
284
- withMcpServer(mcpServer: schema.McpServer): this;
285
- /**
286
- * Starts the session and returns an `ActiveSession` for prompting and reading
287
- * updates.
288
- *
289
- * Call `dispose()` on the returned session when you no longer need update
290
- * routing, or use `withSession(...)` to scope disposal automatically.
291
- */
292
- start(options?: SendRequestOptions): Promise<ActiveSession>;
293
- /**
294
- * Starts the session, runs `op`, and disposes the active-session update
295
- * routing when `op` finishes or throws.
296
- */
297
- withSession<T>(op: (session: ActiveSession) => MaybePromise<T>): Promise<T>;
298
- }
299
- /**
300
- * Convenience wrapper for an active ACP session.
301
- *
302
- * An active session routes `session/update` notifications for one session ID
303
- * into an async queue. Use `prompt(...)` to send user content, then read updates
304
- * with `nextUpdate()` until a `stop` message is returned.
305
- */
306
- export declare class ActiveSession {
307
- private cx;
308
- private sessionResponse;
309
- private updates;
310
- private registrations;
311
- private constructor();
312
- /**
313
- * Session ID returned by `session/new`.
314
- */
315
- get sessionId(): schema.SessionId;
316
- /**
317
- * Mode state returned when the session was created, if the agent provided it.
318
- */
319
- get modes(): schema.SessionModeState | null | undefined;
320
- /**
321
- * Metadata returned when the session was created.
322
- */
323
- get meta(): {
324
- [key: string]: unknown;
325
- } | null | undefined;
326
- /**
327
- * Full response returned by `session/new`.
328
- */
329
- get newSessionResponse(): schema.NewSessionResponse;
330
- /**
331
- * Sends a prompt to this session.
332
- *
333
- * Strings are converted to one text content block. A single content block is
334
- * wrapped in an array. The returned promise resolves with the final
335
- * `PromptResponse`, and the same completion is also queued as a `stop`
336
- * message for `nextUpdate()`.
337
- */
338
- prompt(prompt: string | schema.ContentBlock | Array<schema.ContentBlock>, options?: SendRequestOptions): Promise<schema.PromptResponse>;
339
- /**
340
- * Reads the next update or stop message for this session.
341
- */
342
- nextUpdate(): Promise<ActiveSessionMessage>;
343
- /**
344
- * Reads text chunks until the current prompt turn stops.
345
- *
346
- * Only `agent_message_chunk` updates with text content are appended. Other
347
- * update types are ignored by this helper; use `nextUpdate()` when you need
348
- * tool calls, plans, or the final `PromptResponse`.
349
- */
350
- readText(): Promise<string>;
351
- /**
352
- * Stops routing updates to this active-session helper.
353
- *
354
- * This does not close the ACP session on the agent. Use `ClientContext`
355
- * session lifecycle methods when the protocol session itself should be closed
356
- * or deleted.
357
- */
358
- dispose(): void;
359
- /**
360
- * Supports explicit resource management with `using`.
361
- */
362
- [Symbol.dispose](): void;
363
- private promptBlocks;
364
- }
365
- /**
366
- * Options used when creating an ACP app.
367
- */
368
- export type AppOptions = {
369
- /**
370
- * Human-readable name used in JSON-RPC handler descriptions and diagnostics.
371
- */
372
- name?: string;
373
- };
374
- /**
375
- * Parser used by custom methods to validate or transform raw JSON-RPC params.
376
- *
377
- * A Zod schema can be passed directly because schemas expose a compatible
378
- * `parse(...)` method.
379
- */
380
- export type ParamsParser<Params> = {
381
- /**
382
- * Parses raw JSON-RPC params into the handler's typed params.
383
- */
384
- parse: (params: unknown) => Params;
385
- } | ((params: unknown) => Params);
386
- /**
387
- * Common context passed to agent-side handlers.
388
- */
389
- export type AgentHandlerContext<Params> = {
390
- /**
391
- * Parsed request or notification params.
392
- */
393
- params: Params;
394
- /**
395
- * AbortSignal for the current request, or the connection signal for
396
- * notifications.
397
- */
398
- signal: AbortSignal;
399
- /**
400
- * Typed client context for calling client-side ACP methods.
401
- */
402
- client: AgentContext;
403
- };
404
- /**
405
- * Context passed to agent-side request handlers.
406
- */
407
- export type AgentRequestContext<Params> = AgentHandlerContext<Params> & {
408
- /**
409
- * JSON-RPC id of the request currently being handled.
410
- */
411
- requestId: JsonRpcId;
412
- };
413
- /**
414
- * Context passed to agent-side notification handlers.
415
- *
416
- * Notifications do not have JSON-RPC request ids.
417
- */
418
- export type AgentNotificationContext<Params> = AgentHandlerContext<Params>;
419
- /**
420
- * Common context passed to client-side handlers.
421
- */
422
- export type ClientHandlerContext<Params> = {
423
- /**
424
- * Parsed request or notification params.
425
- */
426
- params: Params;
427
- /**
428
- * AbortSignal for the current request, or the connection signal for
429
- * notifications.
430
- */
431
- signal: AbortSignal;
432
- /**
433
- * Typed agent context for calling agent-side ACP methods.
434
- */
435
- agent: ClientContext;
436
- };
437
- /**
438
- * Context passed to client-side request handlers.
439
- */
440
- export type ClientRequestContext<Params> = ClientHandlerContext<Params> & {
441
- /**
442
- * JSON-RPC id of the request currently being handled.
443
- */
444
- requestId: JsonRpcId;
445
- };
446
- /**
447
- * Context passed to client-side notification handlers.
448
- *
449
- * Notifications do not have JSON-RPC request ids.
450
- */
451
- export type ClientNotificationContext<Params> = ClientHandlerContext<Params>;
452
- /**
453
- * Request handler registered on an `AgentApp`.
454
- */
455
- export type AgentRequestHandler<Params, Response> = (context: AgentRequestContext<Params>) => MaybePromise<Response>;
456
- /**
457
- * Notification handler registered on an `AgentApp`.
458
- */
459
- export type AgentNotificationHandler<Params> = (context: AgentNotificationContext<Params>) => MaybePromise<void>;
460
- /**
461
- * Request handler registered on a `ClientApp`.
462
- */
463
- export type ClientRequestHandler<Params, Response> = (context: ClientRequestContext<Params>) => MaybePromise<Response>;
464
- /**
465
- * Notification handler registered on a `ClientApp`.
466
- */
467
- export type ClientNotificationHandler<Params> = (context: ClientNotificationContext<Params>) => MaybePromise<void>;
468
- /**
469
- * Handler called when an `AgentApp` opens a connection.
470
- */
471
- export type AgentConnectHandler = (connection: AgentConnection) => MaybePromise<void>;
472
- /**
473
- * Handler called when a `ClientApp` opens a connection.
474
- */
475
- export type ClientConnectHandler = (connection: ClientConnection) => MaybePromise<void>;
476
- /**
477
- * Agent request handlers keyed by ACP protocol method name.
478
- */
479
- export type AgentRequestHandlersByMethod = {
480
- [schema.AGENT_METHODS.initialize]: AgentRequestHandler<schema.InitializeRequest, schema.InitializeResponse>;
481
- [schema.AGENT_METHODS.session_new]: AgentRequestHandler<schema.NewSessionRequest, schema.NewSessionResponse>;
482
- [schema.AGENT_METHODS.session_load]: AgentRequestHandler<schema.LoadSessionRequest, schema.LoadSessionResponse | void>;
483
- [schema.AGENT_METHODS.session_fork]: AgentRequestHandler<schema.ForkSessionRequest, schema.ForkSessionResponse>;
484
- [schema.AGENT_METHODS.session_list]: AgentRequestHandler<schema.ListSessionsRequest, schema.ListSessionsResponse>;
485
- [schema.AGENT_METHODS.session_delete]: AgentRequestHandler<schema.DeleteSessionRequest, schema.DeleteSessionResponse | void>;
486
- [schema.AGENT_METHODS.session_resume]: AgentRequestHandler<schema.ResumeSessionRequest, schema.ResumeSessionResponse>;
487
- [schema.AGENT_METHODS.session_close]: AgentRequestHandler<schema.CloseSessionRequest, schema.CloseSessionResponse | void>;
488
- [schema.AGENT_METHODS.session_set_mode]: AgentRequestHandler<schema.SetSessionModeRequest, schema.SetSessionModeResponse | void>;
489
- [schema.AGENT_METHODS.session_set_config_option]: AgentRequestHandler<schema.SetSessionConfigOptionRequest, schema.SetSessionConfigOptionResponse>;
490
- [schema.AGENT_METHODS.authenticate]: AgentRequestHandler<schema.AuthenticateRequest, schema.AuthenticateResponse | void>;
491
- [schema.AGENT_METHODS.providers_list]: AgentRequestHandler<schema.ListProvidersRequest, schema.ListProvidersResponse>;
492
- [schema.AGENT_METHODS.providers_set]: AgentRequestHandler<schema.SetProviderRequest, schema.SetProviderResponse | void>;
493
- [schema.AGENT_METHODS.providers_disable]: AgentRequestHandler<schema.DisableProviderRequest, schema.DisableProviderResponse | void>;
494
- [schema.AGENT_METHODS.logout]: AgentRequestHandler<schema.LogoutRequest, schema.LogoutResponse | void>;
495
- [schema.AGENT_METHODS.session_prompt]: AgentRequestHandler<schema.PromptRequest, schema.PromptResponse>;
496
- [schema.AGENT_METHODS.nes_start]: AgentRequestHandler<schema.StartNesRequest, schema.StartNesResponse>;
497
- [schema.AGENT_METHODS.nes_suggest]: AgentRequestHandler<schema.SuggestNesRequest, schema.SuggestNesResponse>;
498
- [schema.AGENT_METHODS.nes_close]: AgentRequestHandler<schema.CloseNesRequest, schema.CloseNesResponse | void>;
499
- };
500
- /**
501
- * ACP request methods that can be handled by an `AgentApp`.
502
- */
503
- export type AgentRequestMethod = keyof AgentRequestHandlersByMethod & string;
504
- /**
505
- * Agent notification handlers keyed by ACP protocol method name.
506
- */
507
- export type AgentNotificationHandlersByMethod = {
508
- [schema.AGENT_METHODS
509
- .session_cancel]: AgentNotificationHandler<schema.CancelNotification>;
510
- [schema.AGENT_METHODS
511
- .document_did_open]: AgentNotificationHandler<schema.DidOpenDocumentNotification>;
512
- [schema.AGENT_METHODS
513
- .document_did_change]: AgentNotificationHandler<schema.DidChangeDocumentNotification>;
514
- [schema.AGENT_METHODS
515
- .document_did_close]: AgentNotificationHandler<schema.DidCloseDocumentNotification>;
516
- [schema.AGENT_METHODS
517
- .document_did_save]: AgentNotificationHandler<schema.DidSaveDocumentNotification>;
518
- [schema.AGENT_METHODS
519
- .document_did_focus]: AgentNotificationHandler<schema.DidFocusDocumentNotification>;
520
- [schema.AGENT_METHODS
521
- .nes_accept]: AgentNotificationHandler<schema.AcceptNesNotification>;
522
- [schema.AGENT_METHODS
523
- .nes_reject]: AgentNotificationHandler<schema.RejectNesNotification>;
524
- };
525
- /**
526
- * ACP notification methods that can be handled by an `AgentApp`.
527
- */
528
- export type AgentNotificationMethod = keyof AgentNotificationHandlersByMethod & string;
529
- /**
530
- * Client request handlers keyed by ACP protocol method name.
531
- */
532
- export type ClientRequestHandlersByMethod = {
533
- [schema.CLIENT_METHODS.session_request_permission]: ClientRequestHandler<schema.RequestPermissionRequest, schema.RequestPermissionResponse>;
534
- [schema.CLIENT_METHODS.fs_write_text_file]: ClientRequestHandler<schema.WriteTextFileRequest, schema.WriteTextFileResponse | void>;
535
- [schema.CLIENT_METHODS.fs_read_text_file]: ClientRequestHandler<schema.ReadTextFileRequest, schema.ReadTextFileResponse>;
536
- [schema.CLIENT_METHODS.terminal_create]: ClientRequestHandler<schema.CreateTerminalRequest, schema.CreateTerminalResponse>;
537
- [schema.CLIENT_METHODS.terminal_output]: ClientRequestHandler<schema.TerminalOutputRequest, schema.TerminalOutputResponse>;
538
- [schema.CLIENT_METHODS.terminal_release]: ClientRequestHandler<schema.ReleaseTerminalRequest, schema.ReleaseTerminalResponse | void>;
539
- [schema.CLIENT_METHODS.terminal_wait_for_exit]: ClientRequestHandler<schema.WaitForTerminalExitRequest, schema.WaitForTerminalExitResponse>;
540
- [schema.CLIENT_METHODS.terminal_kill]: ClientRequestHandler<schema.KillTerminalRequest, schema.KillTerminalResponse | void>;
541
- [schema.CLIENT_METHODS.elicitation_create]: ClientRequestHandler<schema.CreateElicitationRequest, schema.CreateElicitationResponse>;
542
- };
543
- /**
544
- * ACP request methods that can be handled by a `ClientApp`.
545
- */
546
- export type ClientRequestMethod = keyof ClientRequestHandlersByMethod & string;
547
- /**
548
- * Client notification handlers keyed by ACP protocol method name.
549
- */
550
- export type ClientNotificationHandlersByMethod = {
551
- [schema.CLIENT_METHODS
552
- .session_update]: ClientNotificationHandler<schema.SessionNotification>;
553
- [schema.CLIENT_METHODS
554
- .elicitation_complete]: ClientNotificationHandler<schema.CompleteElicitationNotification>;
555
- };
556
- /**
557
- * ACP notification methods that can be handled by a `ClientApp`.
558
- */
559
- export type ClientNotificationMethod = keyof ClientNotificationHandlersByMethod & string;
560
- /**
561
- * Agent request params keyed by ACP protocol method name.
562
- */
563
- export type AgentRequestParamsByMethod = {
564
- [Method in AgentRequestMethod]: AgentRequestHandlersByMethod[Method] extends (context: infer Context) => MaybePromise<unknown> ? Context extends {
565
- params: infer Params;
566
- } ? Params : never : never;
567
- };
568
- /**
569
- * Agent request responses keyed by ACP protocol method name.
570
- */
571
- export type AgentRequestResponsesByMethod = {
572
- [Method in AgentRequestMethod]: AgentRequestHandlersByMethod[Method] extends (context: infer _Context) => MaybePromise<infer Response> ? Exclude<Response, void> : never;
573
- };
574
- /**
575
- * Agent notification params keyed by ACP protocol method name.
576
- */
577
- export type AgentNotificationParamsByMethod = {
578
- [Method in AgentNotificationMethod]: AgentNotificationHandlersByMethod[Method] extends (context: infer Context) => MaybePromise<void> ? Context extends {
579
- params: infer Params;
580
- } ? Params : never : never;
581
- };
582
- /**
583
- * Client request params keyed by ACP protocol method name.
584
- */
585
- export type ClientRequestParamsByMethod = {
586
- [Method in ClientRequestMethod]: ClientRequestHandlersByMethod[Method] extends (context: infer Context) => MaybePromise<unknown> ? Context extends {
587
- params: infer Params;
588
- } ? Params : never : never;
589
- };
590
- /**
591
- * Client request responses keyed by ACP protocol method name.
592
- */
593
- export type ClientRequestResponsesByMethod = {
594
- [Method in ClientRequestMethod]: ClientRequestHandlersByMethod[Method] extends (context: infer _Context) => MaybePromise<infer Response> ? Exclude<Response, void> : never;
595
- };
596
- /**
597
- * Client notification params keyed by ACP protocol method name.
598
- */
599
- export type ClientNotificationParamsByMethod = {
600
- [Method in ClientNotificationMethod]: ClientNotificationHandlersByMethod[Method] extends (context: infer Context) => MaybePromise<void> ? Context extends {
601
- params: infer Params;
602
- } ? Params : never : never;
603
- };
604
- /**
605
- * Creates an agent-side app.
606
- *
607
- * Register request and notification handlers by ACP method name, then call
608
- * `connect(stream)` to serve an ACP client.
609
- */
610
- export declare function agent(options?: AppOptions): AgentApp;
611
- /**
612
- * Agent-side app builder.
613
- *
614
- * Methods on this class register typed request or notification handlers and
615
- * return `this`, so apps can be built with a fluent chain. Handler params are
616
- * parsed with the generated ACP schemas before your handler runs, and thrown
617
- * errors are converted to JSON-RPC errors by the connection layer.
618
- */
619
- export declare class AgentApp {
620
- private readonly builder;
621
- private readonly connectHandlers;
622
- constructor(options?: AppOptions);
623
- /**
624
- * Connects this agent app to a transport stream.
625
- */
626
- connect(stream: Stream): AgentConnection;
627
- /**
628
- * Connects this agent app directly to a client app.
629
- *
630
- * This is useful for tests and in-process examples that do not need a
631
- * transport.
632
- */
633
- connect(client: ClientApp): AgentConnection;
634
- /**
635
- * Connects this agent app to a transport stream for the lifetime of `op`.
636
- *
637
- * The callback receives an `AgentContext` for calling client-side methods.
638
- * When `op` resolves or rejects, the connection is closed.
639
- */
640
- connectWith<T>(stream: Stream, op: (context: AgentContext) => MaybePromise<T>): Promise<T>;
641
- /**
642
- * Connects this agent app directly to a client app for the lifetime of `op`.
643
- */
644
- connectWith<T>(client: ClientApp, op: (context: AgentContext) => MaybePromise<T>): Promise<T>;
645
- /**
646
- * Registers a handler that runs when this agent app opens a connection.
647
- *
648
- * Use this for connection-scoped work that needs to call client-side ACP
649
- * methods outside an inbound request handler.
650
- */
651
- onConnect(handler: AgentConnectHandler): this;
652
- /**
653
- * Registers a request handler by ACP method name.
654
- *
655
- * Built-in method literals infer their params and response types from
656
- * `method`. Pass a parser as the second argument to register custom extension
657
- * methods.
658
- */
659
- onRequest<Method extends AgentRequestMethod>(method: Method, handler: AgentRequestHandlersByMethod[Method]): this;
660
- onRequest<Params, Response>(method: string, params: ParamsParser<Params>, handler: AgentRequestHandler<Params, Response>): this;
661
- /**
662
- * Registers a notification handler by ACP method name.
663
- *
664
- * Built-in method literals infer their params type from `method`. Pass a
665
- * parser as the second argument to register custom extension notifications.
666
- */
667
- onNotification<Method extends AgentNotificationMethod>(method: Method, handler: AgentNotificationHandlersByMethod[Method]): this;
668
- onNotification<Params>(method: string, params: ParamsParser<Params>, handler: AgentNotificationHandler<Params>): this;
669
- private request;
670
- private notification;
671
- private connectConnection;
672
- private openStreamConnection;
673
- }
674
- /**
675
- * Creates a client-side app.
676
- *
677
- * Register request and notification handlers by ACP method name, then use
678
- * `connectWith(...)` to run the workflow that calls agent-side methods.
679
- */
680
- export declare function client(options?: AppOptions): ClientApp;
681
- /**
682
- * Client-side app builder.
683
- *
684
- * Methods on this class register typed client handlers and return `this`, so
685
- * apps can be built with a fluent chain. `connectWith(...)` is the usual entry
686
- * point for clients because it provides a `ClientContext` for calling
687
- * agent-side requests and session helpers.
688
- */
689
- export declare class ClientApp {
690
- private readonly builder;
691
- private readonly connectHandlers;
692
- constructor(options?: AppOptions);
693
- /**
694
- * Connects this client app to a transport stream.
695
- */
696
- connect(stream: Stream): ClientConnection;
697
- /**
698
- * Connects this client app directly to an agent app.
699
- *
700
- * This is useful for tests and in-process examples that do not need a
701
- * transport.
702
- */
703
- connect(agent: AgentApp): ClientConnection;
704
- /**
705
- * Connects this client app to a transport stream for the lifetime of `op`.
706
- *
707
- * The callback receives a `ClientContext` for calling agent-side methods.
708
- * When `op` resolves or rejects, the connection is closed.
709
- */
710
- connectWith<T>(stream: Stream, op: (context: ClientContext) => MaybePromise<T>): Promise<T>;
711
- /**
712
- * Connects this client app directly to an agent app for the lifetime of `op`.
713
- */
714
- connectWith<T>(agent: AgentApp, op: (context: ClientContext) => MaybePromise<T>): Promise<T>;
715
- /**
716
- * Registers a handler that runs when this client app opens a connection.
717
- *
718
- * Use this for connection-scoped work that needs to call agent-side ACP
719
- * methods outside an inbound request handler.
720
- */
721
- onConnect(handler: ClientConnectHandler): this;
722
- /**
723
- * Registers a client request handler by ACP method name.
724
- *
725
- * Built-in method literals infer their params and response types from
726
- * `method`. Pass a parser as the second argument to register custom extension
727
- * methods.
728
- */
729
- onRequest<Method extends ClientRequestMethod>(method: Method, handler: ClientRequestHandlersByMethod[Method]): this;
730
- onRequest<Params, Response>(method: string, params: ParamsParser<Params>, handler: ClientRequestHandler<Params, Response>): this;
731
- /**
732
- * Registers a client notification handler by ACP method name.
733
- *
734
- * Built-in method literals infer their params type from `method`. Pass a
735
- * parser as the second argument to register custom extension notifications.
736
- */
737
- onNotification<Method extends ClientNotificationMethod>(method: Method, handler: ClientNotificationHandlersByMethod[Method]): this;
738
- onNotification<Params>(method: string, params: ParamsParser<Params>, handler: ClientNotificationHandler<Params>): this;
739
- private request;
740
- private notification;
741
- private connectConnection;
742
- private openStreamConnection;
743
- }
744
- /**
745
- * An agent-side connection to a client.
746
- *
747
- * This class provides the agent's view of an ACP connection, allowing
748
- * agents to communicate with clients. It implements the {@link Client} interface
749
- * to provide methods for requesting permissions, accessing the file system,
750
- * and sending session updates.
751
- *
752
- * See protocol docs: [Agent](https://agentclientprotocol.com/protocol/overview#agent)
753
- *
754
- * @deprecated Prefer {@link agent}, which registers typed handlers with a
755
- * single context object and supports direct app composition.
756
- */
757
- export declare class AgentSideConnection {
758
- private connection;
759
- /**
760
- * Creates a new agent-side connection to a client.
761
- *
762
- * This establishes the communication channel from the agent's perspective
763
- * following the ACP specification.
764
- *
765
- * @param toAgent - A function that creates an Agent handler to process incoming client requests
766
- * @param stream - The bidirectional message stream for communication. Typically created using
767
- * {@link ndJsonStream} for stdio-based connections.
768
- *
769
- * See protocol docs: [Communication Model](https://agentclientprotocol.com/protocol/overview#communication-model)
770
- *
771
- * @deprecated Prefer `agent({ name }).connect(stream)`.
772
- */
773
- constructor(toAgent: (conn: AgentSideConnection) => Agent, stream: Stream);
774
- /**
775
- * Handles session update notifications from the agent.
776
- *
777
- * This is a notification endpoint (no response expected) that sends
778
- * real-time updates about session progress, including message chunks,
779
- * tool calls, and execution plans.
780
- *
781
- * Note: Clients SHOULD continue accepting tool call updates even after
782
- * sending a `session/cancel` notification, as the agent may send final
783
- * updates before responding with the cancelled stop reason.
784
- *
785
- * See protocol docs: [Agent Reports Output](https://agentclientprotocol.com/protocol/prompt-turn#3-agent-reports-output)
786
- */
787
- sessionUpdate(params: schema.SessionNotification): Promise<void>;
788
- /**
789
- * Requests permission from the user for a tool call operation.
790
- *
791
- * Called by the agent when it needs user authorization before executing
792
- * a potentially sensitive operation. The client should present the options
793
- * to the user and return their decision.
794
- *
795
- * If the client cancels the prompt turn via `session/cancel`, it MUST
796
- * respond to this request with `RequestPermissionOutcome::Cancelled`.
797
- *
798
- * See protocol docs: [Requesting Permission](https://agentclientprotocol.com/protocol/tool-calls#requesting-permission)
799
- */
800
- requestPermission(params: schema.RequestPermissionRequest): Promise<schema.RequestPermissionResponse>;
801
- /**
802
- * Reads content from a text file in the client's file system.
803
- *
804
- * Only available if the client advertises the `fs.readTextFile` capability.
805
- * Allows the agent to access file contents within the client's environment.
806
- *
807
- * See protocol docs: [Client](https://agentclientprotocol.com/protocol/overview#client)
808
- */
809
- readTextFile(params: schema.ReadTextFileRequest): Promise<schema.ReadTextFileResponse>;
810
- /**
811
- * Writes content to a text file in the client's file system.
812
- *
813
- * Only available if the client advertises the `fs.writeTextFile` capability.
814
- * Allows the agent to create or modify files within the client's environment.
815
- *
816
- * See protocol docs: [Client](https://agentclientprotocol.com/protocol/overview#client)
817
- */
818
- writeTextFile(params: schema.WriteTextFileRequest): Promise<schema.WriteTextFileResponse>;
819
- /**
820
- * Executes a command in a new terminal.
821
- *
822
- * Returns a `TerminalHandle` that can be used to get output, wait for exit,
823
- * kill the command, or release the terminal.
824
- *
825
- * The terminal can also be embedded in tool calls by using its ID in
826
- * `ToolCallContent` with type "terminal".
827
- *
828
- * @param params - The terminal creation parameters
829
- * @returns A handle to control and monitor the terminal
830
- */
831
- createTerminal(params: schema.CreateTerminalRequest): Promise<TerminalHandle>;
832
- /**
833
- * **UNSTABLE**
834
- *
835
- * This capability is not part of the spec yet, and may be removed or changed at any point.
836
- *
837
- * Creates an elicitation to request input from the user.
838
- *
839
- * @experimental
840
- */
841
- unstable_createElicitation(params: schema.CreateElicitationRequest): Promise<schema.CreateElicitationResponse>;
842
- /**
843
- * **UNSTABLE**
844
- *
845
- * This capability is not part of the spec yet, and may be removed or changed at any point.
846
- *
847
- * Notifies the client that a URL-based elicitation is complete.
848
- *
849
- * @experimental
850
- */
851
- unstable_completeElicitation(params: schema.CompleteElicitationNotification): Promise<void>;
852
- /**
853
- * Sends a request to the client by ACP method name.
854
- *
855
- * Built-in method literals infer their params and response types. Custom
856
- * methods can specify their response and params types with generics.
857
- */
858
- request<Method extends ClientRequestMethod>(method: Method, params: ClientRequestParamsByMethod[Method], options?: SendRequestOptions): Promise<ClientRequestResponsesByMethod[Method]>;
859
- request<Response = unknown, Params = unknown>(method: string, params?: Params, options?: SendRequestOptions): Promise<Response>;
860
- /**
861
- * Sends a notification to the client by ACP method name.
862
- *
863
- * Built-in method literals infer their params type. Custom notifications can
864
- * specify their params type with a generic.
865
- */
866
- notify<Method extends ClientNotificationMethod>(method: Method, params: ClientNotificationParamsByMethod[Method]): Promise<void>;
867
- notify<Params = unknown>(method: string, params?: Params): Promise<void>;
868
- /**
869
- * Extension method.
870
- *
871
- * @deprecated Use {@link request}.
872
- */
873
- extMethod(method: string, params: Record<string, unknown>): Promise<Record<string, unknown>>;
874
- /**
875
- * Extension notification.
876
- *
877
- * @deprecated Use {@link notify}.
878
- */
879
- extNotification(method: string, params: Record<string, unknown>): Promise<void>;
880
- /**
881
- * AbortSignal that aborts when the connection closes.
882
- *
883
- * This signal can be used to:
884
- * - Listen for connection closure: `connection.signal.addEventListener('abort', () => {...})`
885
- * - Check connection status synchronously: `if (connection.signal.aborted) {...}`
886
- * - Pass to other APIs (fetch, setTimeout) for automatic cancellation
887
- *
888
- * The connection closes when the underlying stream ends, either normally or due to an error.
889
- *
890
- * @example
891
- * ```typescript
892
- * const connection = new AgentSideConnection(agent, stream);
893
- *
894
- * // Listen for closure
895
- * connection.signal.addEventListener('abort', () => {
896
- * console.log('Connection closed - performing cleanup');
897
- * });
898
- *
899
- * // Check status
900
- * if (connection.signal.aborted) {
901
- * console.log('Connection is already closed');
902
- * }
903
- *
904
- * // Pass to other APIs
905
- * fetch(url, { signal: connection.signal });
906
- * ```
907
- */
908
- get signal(): AbortSignal;
909
- /**
910
- * Promise that resolves when the connection closes.
911
- *
912
- * The connection closes when the underlying stream ends, either normally or due to an error.
913
- * Once closed, the connection cannot send or receive any more messages.
914
- *
915
- * This is useful for async/await style cleanup:
916
- *
917
- * @example
918
- * ```typescript
919
- * const connection = new AgentSideConnection(agent, stream);
920
- * await connection.closed;
921
- * console.log('Connection closed - performing cleanup');
922
- * ```
923
- */
924
- get closed(): Promise<void>;
925
- }
926
- /**
927
- * Handle for controlling and monitoring a terminal created via `createTerminal`.
928
- *
929
- * Provides methods to:
930
- * - Get current output without waiting
931
- * - Wait for command completion
932
- * - Kill the running command
933
- * - Release terminal resources
934
- *
935
- * **Important:** Always call `release()` when done with the terminal to free resources.
936
-
937
- * The terminal supports async disposal via `Symbol.asyncDispose` for automatic cleanup.
938
-
939
- * You can use `await using` to ensure the terminal is automatically released when it
940
- * goes out of scope.
941
- */
942
- export declare class TerminalHandle {
943
- /**
944
- * Terminal identifier returned by `terminal/create`.
945
- */
946
- id: string;
947
- private sessionId;
948
- private connection;
949
- private constructor();
950
- /**
951
- * Gets the current terminal output without waiting for the command to exit.
952
- */
953
- currentOutput(): Promise<schema.TerminalOutputResponse>;
954
- /**
955
- * Waits for the terminal command to complete and returns its exit status.
956
- */
957
- waitForExit(): Promise<schema.WaitForTerminalExitResponse>;
958
- /**
959
- * Kills the terminal command without releasing the terminal.
960
- *
961
- * The terminal remains valid after killing, allowing you to:
962
- * - Get the final output with `currentOutput()`
963
- * - Check the exit status
964
- * - Release the terminal when done
965
- *
966
- * Useful for implementing timeouts or cancellation.
967
- */
968
- kill(): Promise<schema.KillTerminalResponse>;
969
- /**
970
- * Releases the terminal and frees all associated resources.
971
- *
972
- * If the command is still running, it will be killed.
973
- * After release, the terminal ID becomes invalid and cannot be used
974
- * with other terminal methods.
975
- *
976
- * Tool calls that already reference this terminal will continue to
977
- * display its output.
978
- *
979
- * **Important:** Always call this method when done with the terminal.
980
- */
981
- release(): Promise<schema.ReleaseTerminalResponse | void>;
982
- /**
983
- * Releases the terminal when used with `await using`.
984
- */
985
- [Symbol.asyncDispose](): Promise<void>;
986
- }
987
- /**
988
- * A client-side connection to an agent.
989
- *
990
- * This class provides the client's view of an ACP connection, allowing
991
- * clients (such as code editors) to communicate with agents. It implements
992
- * the {@link Agent} interface to provide methods for initializing sessions, sending
993
- * prompts, and managing the agent lifecycle.
994
- *
995
- * See protocol docs: [Client](https://agentclientprotocol.com/protocol/overview#client)
996
- *
997
- * @deprecated Prefer {@link client}, which registers typed handlers with a
998
- * single context object and supports `connectWith` and session helpers.
999
- */
1000
- export declare class ClientSideConnection implements Agent {
1001
- private connection;
1002
- /**
1003
- * Creates a new client-side connection to an agent.
1004
- *
1005
- * This establishes the communication channel between a client and agent
1006
- * following the ACP specification.
1007
- *
1008
- * @param toClient - A function that creates a Client handler to process incoming agent requests
1009
- * @param stream - The bidirectional message stream for communication. Typically created using
1010
- * {@link ndJsonStream} for stdio-based connections.
1011
- *
1012
- * See protocol docs: [Communication Model](https://agentclientprotocol.com/protocol/overview#communication-model)
1013
- *
1014
- * @deprecated Prefer `client({ name }).connectWith(stream, async (ctx) => ...)`.
1015
- */
1016
- constructor(toClient: (agent: Agent) => Client, stream: Stream);
1017
- /**
1018
- * Establishes the connection with a client and negotiates protocol capabilities.
1019
- *
1020
- * This method is called once at the beginning of the connection to:
1021
- * - Negotiate the protocol version to use
1022
- * - Exchange capability information between client and agent
1023
- * - Determine available authentication methods
1024
- *
1025
- * The agent should respond with its supported protocol version and capabilities.
1026
- *
1027
- * See protocol docs: [Initialization](https://agentclientprotocol.com/protocol/initialization)
1028
- */
1029
- initialize(params: schema.InitializeRequest): Promise<schema.InitializeResponse>;
1030
- /**
1031
- * Creates a new conversation session with the agent.
1032
- *
1033
- * Sessions represent independent conversation contexts with their own history and state.
1034
- *
1035
- * The agent should:
1036
- * - Create a new session context
1037
- * - Connect to any specified MCP servers
1038
- * - Return a unique session ID for future requests
1039
- *
1040
- * The request may include `additionalDirectories` to expand the session's filesystem
1041
- * scope beyond `cwd` without changing the base for relative paths.
1042
- *
1043
- * May return an `auth_required` error if the agent requires authentication.
1044
- *
1045
- * See protocol docs: [Session Setup](https://agentclientprotocol.com/protocol/session-setup)
1046
- */
1047
- newSession(params: schema.NewSessionRequest): Promise<schema.NewSessionResponse>;
1048
- /**
1049
- * Loads an existing session to resume a previous conversation.
1050
- *
1051
- * This method is only available if the agent advertises the `loadSession` capability.
1052
- *
1053
- * The agent should:
1054
- * - Restore the session context and conversation history
1055
- * - Connect to the specified MCP servers
1056
- * - Stream the entire conversation history back to the client via notifications
1057
- *
1058
- * The request may include `additionalDirectories` to set the complete list of
1059
- * additional workspace roots for the loaded session.
1060
- *
1061
- * See protocol docs: [Loading Sessions](https://agentclientprotocol.com/protocol/session-setup#loading-sessions)
1062
- */
1063
- loadSession(params: schema.LoadSessionRequest): Promise<schema.LoadSessionResponse>;
1064
- /**
1065
- * **UNSTABLE**
1066
- *
1067
- * This capability is not part of the spec yet, and may be removed or changed at any point.
1068
- *
1069
- * Forks an existing session to create a new independent session.
1070
- *
1071
- * Creates a new session based on the context of an existing one, allowing
1072
- * operations like generating summaries without affecting the original session's history.
1073
- *
1074
- * The request may include `additionalDirectories` to set the complete list of
1075
- * additional workspace roots for the forked session.
1076
- *
1077
- * This method is only available if the agent advertises the `session.fork` capability.
1078
- *
1079
- * @experimental
1080
- */
1081
- unstable_forkSession(params: schema.ForkSessionRequest): Promise<schema.ForkSessionResponse>;
1082
- /**
1083
- * Lists existing sessions from the agent.
1084
- *
1085
- * This method is only available if the agent advertises the `listSessions` capability.
1086
- *
1087
- * Returns a list of sessions with metadata like session ID, working directory,
1088
- * title, and last update time. Supports filtering by working directory,
1089
- * `additionalDirectories`, and cursor-based pagination.
1090
- */
1091
- listSessions(params: schema.ListSessionsRequest): Promise<schema.ListSessionsResponse>;
1092
- /**
1093
- * Deletes an existing session returned by `session/list`.
1094
- *
1095
- * This method is only available if the agent advertises the `sessionCapabilities.delete` capability.
1096
- */
1097
- deleteSession(params: schema.DeleteSessionRequest): Promise<schema.DeleteSessionResponse>;
1098
- /**
1099
- * Resumes an existing session without returning previous messages.
1100
- *
1101
- * This method is only available if the agent advertises the `session.resume` capability.
1102
- *
1103
- * The agent should resume the session context, allowing the conversation to continue
1104
- * without replaying the message history (unlike `session/load`).
1105
- *
1106
- * The request may include `additionalDirectories` to set the complete list of
1107
- * additional workspace roots for the resumed session.
1108
- */
1109
- resumeSession(params: schema.ResumeSessionRequest): Promise<schema.ResumeSessionResponse>;
1110
- /**
1111
- * Closes an active session and frees up any resources associated with it.
1112
- *
1113
- * This method is only available if the agent advertises the `session.close` capability.
1114
- *
1115
- * The agent must cancel any ongoing work (as if `session/cancel` was called)
1116
- * and then free up any resources associated with the session.
1117
- */
1118
- closeSession(params: schema.CloseSessionRequest): Promise<schema.CloseSessionResponse>;
1119
- /**
1120
- * Sets the operational mode for a session.
1121
- *
1122
- * Allows switching between different agent modes (e.g., "ask", "architect", "code")
1123
- * that affect system prompts, tool availability, and permission behaviors.
1124
- *
1125
- * The mode must be one of the modes advertised in `availableModes` during session
1126
- * creation or loading. Agents may also change modes autonomously and notify the
1127
- * client via `current_mode_update` notifications.
1128
- *
1129
- * This method can be called at any time during a session, whether the Agent is
1130
- * idle or actively generating a turn.
1131
- *
1132
- * See protocol docs: [Session Modes](https://agentclientprotocol.com/protocol/session-modes)
1133
- */
1134
- setSessionMode(params: schema.SetSessionModeRequest): Promise<schema.SetSessionModeResponse>;
1135
- /**
1136
- * Set a configuration option for a given session.
1137
- *
1138
- * The response contains the full set of configuration options and their current values,
1139
- * as changing one option may affect the available values or state of other options.
1140
- */
1141
- setSessionConfigOption(params: schema.SetSessionConfigOptionRequest): Promise<schema.SetSessionConfigOptionResponse>;
1142
- /**
1143
- * Authenticates the client using the specified authentication method.
1144
- *
1145
- * Called when the agent requires authentication before allowing session creation.
1146
- * The client provides the authentication method ID that was advertised during initialization.
1147
- *
1148
- * After successful authentication, the client can proceed to create sessions with
1149
- * `newSession` without receiving an `auth_required` error.
1150
- *
1151
- * See protocol docs: [Initialization](https://agentclientprotocol.com/protocol/initialization)
1152
- */
1153
- authenticate(params: schema.AuthenticateRequest): Promise<schema.AuthenticateResponse>;
1154
- /**
1155
- * **UNSTABLE**
1156
- *
1157
- * This capability is not part of the spec yet, and may be removed or changed at any point.
1158
- *
1159
- * Lists providers that can be configured by the client.
1160
- *
1161
- * This method is only available if the agent advertises the `providers` capability.
1162
- *
1163
- * @experimental
1164
- */
1165
- unstable_listProviders(params: schema.ListProvidersRequest): Promise<schema.ListProvidersResponse>;
1166
- /**
1167
- * **UNSTABLE**
1168
- *
1169
- * This capability is not part of the spec yet, and may be removed or changed at any point.
1170
- *
1171
- * Replaces the configuration for a provider.
1172
- *
1173
- * This method is only available if the agent advertises the `providers` capability.
1174
- *
1175
- * @experimental
1176
- */
1177
- unstable_setProvider(params: schema.SetProviderRequest): Promise<schema.SetProviderResponse>;
1178
- /**
1179
- * **UNSTABLE**
1180
- *
1181
- * This capability is not part of the spec yet, and may be removed or changed at any point.
1182
- *
1183
- * Disables a provider.
1184
- *
1185
- * This method is only available if the agent advertises the `providers` capability.
1186
- *
1187
- * @experimental
1188
- */
1189
- unstable_disableProvider(params: schema.DisableProviderRequest): Promise<schema.DisableProviderResponse>;
1190
- /**
1191
- * Logout of the current authentication method.
1192
- */
1193
- logout(params: schema.LogoutRequest): Promise<schema.LogoutResponse>;
1194
- /**
1195
- * Processes a user prompt within a session.
1196
- *
1197
- * This method handles the whole lifecycle of a prompt:
1198
- * - Receives user messages with optional context (files, images, etc.)
1199
- * - Processes the prompt using language models
1200
- * - Reports language model content and tool calls to the Clients
1201
- * - Requests permission to run tools
1202
- * - Executes any requested tool calls
1203
- * - Returns when the turn is complete with a stop reason
1204
- *
1205
- * See protocol docs: [Prompt Turn](https://agentclientprotocol.com/protocol/prompt-turn)
1206
- */
1207
- prompt(params: schema.PromptRequest): Promise<schema.PromptResponse>;
1208
- /**
1209
- * Cancels ongoing operations for a session.
1210
- *
1211
- * This is a notification sent by the client to cancel an ongoing prompt turn.
1212
- *
1213
- * Upon receiving this notification, the Agent SHOULD:
1214
- * - Stop all language model requests as soon as possible
1215
- * - Abort all tool call invocations in progress
1216
- * - Send any pending `session/update` notifications
1217
- * - Respond to the original `session/prompt` request with `StopReason::Cancelled`
1218
- *
1219
- * See protocol docs: [Cancellation](https://agentclientprotocol.com/protocol/prompt-turn#cancellation)
1220
- */
1221
- cancel(params: schema.CancelNotification): Promise<void>;
1222
- /**
1223
- * **UNSTABLE**: This capability is not part of the spec yet, and may be removed or changed at any point.
1224
- *
1225
- * Starts a NES (Next Edit Suggestions) session.
1226
- *
1227
- * @experimental
1228
- */
1229
- unstable_startNes(params: schema.StartNesRequest): Promise<schema.StartNesResponse>;
1230
- /**
1231
- * **UNSTABLE**: This capability is not part of the spec yet, and may be removed or changed at any point.
1232
- *
1233
- * Sends a NES suggestion request.
1234
- *
1235
- * @experimental
1236
- */
1237
- unstable_suggestNes(params: schema.SuggestNesRequest): Promise<schema.SuggestNesResponse>;
1238
- /**
1239
- * **UNSTABLE**: This capability is not part of the spec yet, and may be removed or changed at any point.
1240
- *
1241
- * Closes a NES session.
1242
- *
1243
- * @experimental
1244
- */
1245
- unstable_closeNes(params: schema.CloseNesRequest): Promise<schema.CloseNesResponse>;
1246
- /**
1247
- * **UNSTABLE**: This capability is not part of the spec yet, and may be removed or changed at any point.
1248
- *
1249
- * Notifies the agent that a document was opened.
1250
- *
1251
- * @experimental
1252
- */
1253
- unstable_didOpenDocument(params: schema.DidOpenDocumentNotification): Promise<void>;
1254
- /**
1255
- * **UNSTABLE**: This capability is not part of the spec yet, and may be removed or changed at any point.
1256
- *
1257
- * Notifies the agent that a document was changed.
1258
- *
1259
- * @experimental
1260
- */
1261
- unstable_didChangeDocument(params: schema.DidChangeDocumentNotification): Promise<void>;
1262
- /**
1263
- * **UNSTABLE**: This capability is not part of the spec yet, and may be removed or changed at any point.
1264
- *
1265
- * Notifies the agent that a document was closed.
1266
- *
1267
- * @experimental
1268
- */
1269
- unstable_didCloseDocument(params: schema.DidCloseDocumentNotification): Promise<void>;
1270
- /**
1271
- * **UNSTABLE**: This capability is not part of the spec yet, and may be removed or changed at any point.
1272
- *
1273
- * Notifies the agent that a document was saved.
1274
- *
1275
- * @experimental
1276
- */
1277
- unstable_didSaveDocument(params: schema.DidSaveDocumentNotification): Promise<void>;
1278
- /**
1279
- * **UNSTABLE**: This capability is not part of the spec yet, and may be removed or changed at any point.
1280
- *
1281
- * Notifies the agent that a document received focus.
1282
- *
1283
- * @experimental
1284
- */
1285
- unstable_didFocusDocument(params: schema.DidFocusDocumentNotification): Promise<void>;
1286
- /**
1287
- * **UNSTABLE**: This capability is not part of the spec yet, and may be removed or changed at any point.
1288
- *
1289
- * Notifies the agent that a NES suggestion was accepted.
1290
- *
1291
- * @experimental
1292
- */
1293
- unstable_acceptNes(params: schema.AcceptNesNotification): Promise<void>;
1294
- /**
1295
- * **UNSTABLE**: This capability is not part of the spec yet, and may be removed or changed at any point.
1296
- *
1297
- * Notifies the agent that a NES suggestion was rejected.
1298
- *
1299
- * @experimental
1300
- */
1301
- unstable_rejectNes(params: schema.RejectNesNotification): Promise<void>;
1302
- /**
1303
- * Sends a request to the agent by ACP method name.
1304
- *
1305
- * Built-in method literals infer their params and response types. Custom
1306
- * methods can specify their response and params types with generics.
1307
- */
1308
- request<Method extends AgentRequestMethod>(method: Method, params: AgentRequestParamsByMethod[Method], options?: SendRequestOptions): Promise<AgentRequestResponsesByMethod[Method]>;
1309
- request<Response = unknown, Params = unknown>(method: string, params?: Params, options?: SendRequestOptions): Promise<Response>;
1310
- /**
1311
- * Sends a notification to the agent by ACP method name.
1312
- *
1313
- * Built-in method literals infer their params type. Custom notifications can
1314
- * specify their params type with a generic.
1315
- */
1316
- notify<Method extends AgentNotificationMethod>(method: Method, params: AgentNotificationParamsByMethod[Method]): Promise<void>;
1317
- notify<Params = unknown>(method: string, params?: Params): Promise<void>;
1318
- /**
1319
- * Extension method.
1320
- *
1321
- * @deprecated Use {@link request}.
1322
- */
1323
- extMethod(method: string, params: Record<string, unknown>): Promise<Record<string, unknown>>;
1324
- /**
1325
- * Extension notification.
1326
- *
1327
- * @deprecated Use {@link notify}.
1328
- */
1329
- extNotification(method: string, params: Record<string, unknown>): Promise<void>;
1330
- /**
1331
- * AbortSignal that aborts when the connection closes.
1332
- *
1333
- * This signal can be used to:
1334
- * - Listen for connection closure: `connection.signal.addEventListener('abort', () => {...})`
1335
- * - Check connection status synchronously: `if (connection.signal.aborted) {...}`
1336
- * - Pass to other APIs (fetch, setTimeout) for automatic cancellation
1337
- *
1338
- * The connection closes when the underlying stream ends, either normally or due to an error.
1339
- *
1340
- * @example
1341
- * ```typescript
1342
- * const connection = new ClientSideConnection(client, stream);
1343
- *
1344
- * // Listen for closure
1345
- * connection.signal.addEventListener('abort', () => {
1346
- * console.log('Connection closed - performing cleanup');
1347
- * });
1348
- *
1349
- * // Check status
1350
- * if (connection.signal.aborted) {
1351
- * console.log('Connection is already closed');
1352
- * }
1353
- *
1354
- * // Pass to other APIs
1355
- * fetch(url, { signal: connection.signal });
1356
- * ```
1357
- */
1358
- get signal(): AbortSignal;
1359
- /**
1360
- * Promise that resolves when the connection closes.
1361
- *
1362
- * The connection closes when the underlying stream ends, either normally or due to an error.
1363
- * Once closed, the connection cannot send or receive any more messages.
1364
- *
1365
- * This is useful for async/await style cleanup:
1366
- *
1367
- * @example
1368
- * ```typescript
1369
- * const connection = new ClientSideConnection(client, stream);
1370
- * await connection.closed;
1371
- * console.log('Connection closed - performing cleanup');
1372
- * ```
1373
- */
1374
- get closed(): Promise<void>;
1375
- }
1376
- /**
1377
- * The Client interface defines the interface that ACP-compliant clients must implement.
1378
- *
1379
- * Clients are typically code editors (IDEs, text editors) that provide the interface
1380
- * between users and AI agents. They manage the environment, handle user interactions,
1381
- * and control access to resources.
1382
- */
1383
- export interface Client {
1384
- /**
1385
- * Requests permission from the user for a tool call operation.
1386
- *
1387
- * Called by the agent when it needs user authorization before executing
1388
- * a potentially sensitive operation. The client should present the options
1389
- * to the user and return their decision.
1390
- *
1391
- * If the client cancels the prompt turn via `session/cancel`, it MUST
1392
- * respond to this request with `RequestPermissionOutcome::Cancelled`.
1393
- *
1394
- * See protocol docs: [Requesting Permission](https://agentclientprotocol.com/protocol/tool-calls#requesting-permission)
1395
- */
1396
- requestPermission(params: schema.RequestPermissionRequest): MaybePromise<schema.RequestPermissionResponse>;
1397
- /**
1398
- * Handles session update notifications from the agent.
1399
- *
1400
- * This is a notification endpoint (no response expected) that receives
1401
- * real-time updates about session progress, including message chunks,
1402
- * tool calls, and execution plans.
1403
- *
1404
- * Note: Clients SHOULD continue accepting tool call updates even after
1405
- * sending a `session/cancel` notification, as the agent may send final
1406
- * updates before responding with the cancelled stop reason.
1407
- *
1408
- * See protocol docs: [Agent Reports Output](https://agentclientprotocol.com/protocol/prompt-turn#3-agent-reports-output)
1409
- */
1410
- sessionUpdate(params: schema.SessionNotification): MaybePromise<void>;
1411
- /**
1412
- * Writes content to a text file in the client's file system.
1413
- *
1414
- * Only available if the client advertises the `fs.writeTextFile` capability.
1415
- * Allows the agent to create or modify files within the client's environment.
1416
- *
1417
- * See protocol docs: [Client](https://agentclientprotocol.com/protocol/overview#client)
1418
- */
1419
- writeTextFile?(params: schema.WriteTextFileRequest): MaybePromise<schema.WriteTextFileResponse | void>;
1420
- /**
1421
- * Reads content from a text file in the client's file system.
1422
- *
1423
- * Only available if the client advertises the `fs.readTextFile` capability.
1424
- * Allows the agent to access file contents within the client's environment.
1425
- *
1426
- * See protocol docs: [Client](https://agentclientprotocol.com/protocol/overview#client)
1427
- */
1428
- readTextFile?(params: schema.ReadTextFileRequest): MaybePromise<schema.ReadTextFileResponse>;
1429
- /**
1430
- * Creates a new terminal to execute a command.
1431
- *
1432
- * Only available if the `terminal` capability is set to `true`.
1433
- *
1434
- * The Agent must call `releaseTerminal` when done with the terminal
1435
- * to free resources.
1436
-
1437
- * @see {@link https://agentclientprotocol.com/protocol/terminals | Terminal Documentation}
1438
- */
1439
- createTerminal?(params: schema.CreateTerminalRequest): MaybePromise<schema.CreateTerminalResponse>;
1440
- /**
1441
- * Gets the current output and exit status of a terminal.
1442
- *
1443
- * Returns immediately without waiting for the command to complete.
1444
- * If the command has already exited, the exit status is included.
1445
- *
1446
- * @see {@link https://agentclientprotocol.com/protocol/terminals#getting-output | Getting Terminal Output}
1447
- */
1448
- terminalOutput?(params: schema.TerminalOutputRequest): MaybePromise<schema.TerminalOutputResponse>;
1449
- /**
1450
- * Releases a terminal and frees all associated resources.
1451
- *
1452
- * The command is killed if it hasn't exited yet. After release,
1453
- * the terminal ID becomes invalid for all other terminal methods.
1454
- *
1455
- * Tool calls that already contain the terminal ID continue to
1456
- * display its output.
1457
- *
1458
- * @see {@link https://agentclientprotocol.com/protocol/terminals#releasing-terminals | Releasing Terminals}
1459
- */
1460
- releaseTerminal?(params: schema.ReleaseTerminalRequest): MaybePromise<schema.ReleaseTerminalResponse | void>;
1461
- /**
1462
- * Waits for a terminal command to exit and returns its exit status.
1463
- *
1464
- * This method returns once the command completes, providing the
1465
- * exit code and/or signal that terminated the process.
1466
- *
1467
- * @see {@link https://agentclientprotocol.com/protocol/terminals#waiting-for-exit | Waiting for Exit}
1468
- */
1469
- waitForTerminalExit?(params: schema.WaitForTerminalExitRequest): MaybePromise<schema.WaitForTerminalExitResponse>;
1470
- /**
1471
- * Kills a terminal command without releasing the terminal.
1472
- *
1473
- * While `releaseTerminal` also kills the command, this method keeps
1474
- * the terminal ID valid so it can be used with other methods.
1475
- *
1476
- * Useful for implementing command timeouts that terminate the command
1477
- * and then retrieve the final output.
1478
- *
1479
- * Note: Call `releaseTerminal` when the terminal is no longer needed.
1480
- *
1481
- * @see {@link https://agentclientprotocol.com/protocol/terminals#killing-commands | Killing Commands}
1482
- */
1483
- killTerminal?(params: schema.KillTerminalRequest): MaybePromise<schema.KillTerminalResponse | void>;
1484
- /**
1485
- * **UNSTABLE**
1486
- *
1487
- * This capability is not part of the spec yet, and may be removed or changed at any point.
1488
- *
1489
- * Creates an elicitation to request input from the user.
1490
- *
1491
- * @experimental
1492
- */
1493
- unstable_createElicitation?(params: schema.CreateElicitationRequest): MaybePromise<schema.CreateElicitationResponse>;
1494
- /**
1495
- * **UNSTABLE**
1496
- *
1497
- * This capability is not part of the spec yet, and may be removed or changed at any point.
1498
- *
1499
- * Called when a URL-based elicitation is complete.
1500
- *
1501
- * @experimental
1502
- */
1503
- unstable_completeElicitation?(params: schema.CompleteElicitationNotification): MaybePromise<void>;
1504
- /**
1505
- * Handles a request that is not otherwise registered by the legacy client.
1506
- *
1507
- * Allows the Agent to send an arbitrary request that is not part of the ACP spec.
1508
- *
1509
- * To help avoid conflicts, it's a good practice to prefix extension
1510
- * methods with a unique identifier such as domain name.
1511
- *
1512
- * @deprecated Prefer `client().onRequest(...)` for custom methods.
1513
- */
1514
- extMethod?(method: string, params: Record<string, unknown>): MaybePromise<Record<string, unknown>>;
1515
- /**
1516
- * Handles a notification that is not otherwise registered by the legacy client.
1517
- *
1518
- * Allows the Agent to send an arbitrary notification that is not part of the ACP spec.
1519
- *
1520
- * @deprecated Prefer `client().onNotification(...)` for custom notifications.
1521
- */
1522
- extNotification?(method: string, params: Record<string, unknown>): MaybePromise<void>;
1523
- }
1524
- /**
1525
- * The Agent interface defines the interface that all ACP-compliant agents must implement.
1526
- *
1527
- * Agents are programs that use generative AI to autonomously modify code. They handle
1528
- * requests from clients and execute tasks using language models and tools.
1529
- */
1530
- export interface Agent {
1531
- /**
1532
- * Establishes the connection with a client and negotiates protocol capabilities.
1533
- *
1534
- * This method is called once at the beginning of the connection to:
1535
- * - Negotiate the protocol version to use
1536
- * - Exchange capability information between client and agent
1537
- * - Determine available authentication methods
1538
- *
1539
- * The agent should respond with its supported protocol version and capabilities.
1540
- *
1541
- * See protocol docs: [Initialization](https://agentclientprotocol.com/protocol/initialization)
1542
- */
1543
- initialize(params: schema.InitializeRequest): MaybePromise<schema.InitializeResponse>;
1544
- /**
1545
- * Creates a new conversation session with the agent.
1546
- *
1547
- * Sessions represent independent conversation contexts with their own history and state.
1548
- *
1549
- * The agent should:
1550
- * - Create a new session context
1551
- * - Connect to any specified MCP servers
1552
- * - Return a unique session ID for future requests
1553
- *
1554
- * The request may include `additionalDirectories` to expand the session's filesystem
1555
- * scope beyond `cwd` without changing the base for relative paths.
1556
- *
1557
- * May return an `auth_required` error if the agent requires authentication.
1558
- *
1559
- * See protocol docs: [Session Setup](https://agentclientprotocol.com/protocol/session-setup)
1560
- */
1561
- newSession(params: schema.NewSessionRequest): MaybePromise<schema.NewSessionResponse>;
1562
- /**
1563
- * Loads an existing session to resume a previous conversation.
1564
- *
1565
- * This method is only available if the agent advertises the `loadSession` capability.
1566
- *
1567
- * The agent should:
1568
- * - Restore the session context and conversation history
1569
- * - Connect to the specified MCP servers
1570
- * - Stream the entire conversation history back to the client via notifications
1571
- *
1572
- * The request may include `additionalDirectories` to set the complete list of
1573
- * additional workspace roots for the loaded session.
1574
- *
1575
- * See protocol docs: [Loading Sessions](https://agentclientprotocol.com/protocol/session-setup#loading-sessions)
1576
- */
1577
- loadSession?(params: schema.LoadSessionRequest): MaybePromise<schema.LoadSessionResponse | void>;
1578
- /**
1579
- * **UNSTABLE**
1580
- *
1581
- * This capability is not part of the spec yet, and may be removed or changed at any point.
1582
- *
1583
- * Forks an existing session to create a new independent session.
1584
- *
1585
- * Creates a new session based on the context of an existing one, allowing
1586
- * operations like generating summaries without affecting the original session's history.
1587
- *
1588
- * The request may include `additionalDirectories` to set the complete list of
1589
- * additional workspace roots for the forked session.
1590
- *
1591
- * This method is only available if the agent advertises the `session.fork` capability.
1592
- *
1593
- * @experimental
1594
- */
1595
- unstable_forkSession?(params: schema.ForkSessionRequest): MaybePromise<schema.ForkSessionResponse>;
1596
- /**
1597
- * Lists existing sessions from the agent.
1598
- *
1599
- * This method is only available if the agent advertises the `listSessions` capability.
1600
- *
1601
- * Returns a list of sessions with metadata like session ID, working directory,
1602
- * title, and last update time. Supports filtering by working directory,
1603
- * `additionalDirectories`, and cursor-based pagination.
1604
- */
1605
- listSessions?(params: schema.ListSessionsRequest): MaybePromise<schema.ListSessionsResponse>;
1606
- /**
1607
- * Deletes an existing session returned by `session/list`.
1608
- *
1609
- * This method is only available if the agent advertises the `sessionCapabilities.delete` capability.
1610
- */
1611
- deleteSession?(params: schema.DeleteSessionRequest): MaybePromise<schema.DeleteSessionResponse | void>;
1612
- /**
1613
- * Resumes an existing session without returning previous messages.
1614
- *
1615
- * This method is only available if the agent advertises the `session.resume` capability.
1616
- *
1617
- * The agent should resume the session context, allowing the conversation to continue
1618
- * without replaying the message history (unlike `session/load`).
1619
- *
1620
- * The request may include `additionalDirectories` to set the complete list of
1621
- * additional workspace roots for the resumed session.
1622
- */
1623
- resumeSession?(params: schema.ResumeSessionRequest): MaybePromise<schema.ResumeSessionResponse>;
1624
- /**
1625
- * Closes an active session and frees up any resources associated with it.
1626
- *
1627
- * This method is only available if the agent advertises the `session.close` capability.
1628
- *
1629
- * The agent must cancel any ongoing work (as if `session/cancel` was called)
1630
- * and then free up any resources associated with the session.
1631
- */
1632
- closeSession?(params: schema.CloseSessionRequest): MaybePromise<schema.CloseSessionResponse | void>;
1633
- /**
1634
- * Sets the operational mode for a session.
1635
- *
1636
- * Allows switching between different agent modes (e.g., "ask", "architect", "code")
1637
- * that affect system prompts, tool availability, and permission behaviors.
1638
- *
1639
- * The mode must be one of the modes advertised in `availableModes` during session
1640
- * creation or loading. Agents may also change modes autonomously and notify the
1641
- * client via `current_mode_update` notifications.
1642
- *
1643
- * This method can be called at any time during a session, whether the Agent is
1644
- * idle or actively generating a turn.
1645
- *
1646
- * See protocol docs: [Session Modes](https://agentclientprotocol.com/protocol/session-modes)
1647
- */
1648
- setSessionMode?(params: schema.SetSessionModeRequest): MaybePromise<schema.SetSessionModeResponse | void>;
1649
- /**
1650
- * Set a configuration option for a given session.
1651
- *
1652
- * The response contains the full set of configuration options and their current values,
1653
- * as changing one option may affect the available values or state of other options.
1654
- */
1655
- setSessionConfigOption?(params: schema.SetSessionConfigOptionRequest): MaybePromise<schema.SetSessionConfigOptionResponse>;
1656
- /**
1657
- * Authenticates the client using the specified authentication method.
1658
- *
1659
- * Called when the agent requires authentication before allowing session creation.
1660
- * The client provides the authentication method ID that was advertised during initialization.
1661
- *
1662
- * After successful authentication, the client can proceed to create sessions with
1663
- * `newSession` without receiving an `auth_required` error.
1664
- *
1665
- * See protocol docs: [Initialization](https://agentclientprotocol.com/protocol/initialization)
1666
- */
1667
- authenticate(params: schema.AuthenticateRequest): MaybePromise<schema.AuthenticateResponse | void>;
1668
- /**
1669
- * **UNSTABLE**
1670
- *
1671
- * This capability is not part of the spec yet, and may be removed or changed at any point.
1672
- *
1673
- * Lists providers that can be configured by the client.
1674
- *
1675
- * This method is only available if the agent advertises the `providers` capability.
1676
- *
1677
- * @experimental
1678
- */
1679
- unstable_listProviders?(params: schema.ListProvidersRequest): MaybePromise<schema.ListProvidersResponse>;
1680
- /**
1681
- * **UNSTABLE**
1682
- *
1683
- * This capability is not part of the spec yet, and may be removed or changed at any point.
1684
- *
1685
- * Replaces the configuration for a provider.
1686
- *
1687
- * This method is only available if the agent advertises the `providers` capability.
1688
- *
1689
- * @experimental
1690
- */
1691
- unstable_setProvider?(params: schema.SetProviderRequest): MaybePromise<schema.SetProviderResponse | void>;
1692
- /**
1693
- * **UNSTABLE**
1694
- *
1695
- * This capability is not part of the spec yet, and may be removed or changed at any point.
1696
- *
1697
- * Disables a provider.
1698
- *
1699
- * This method is only available if the agent advertises the `providers` capability.
1700
- *
1701
- * @experimental
1702
- */
1703
- unstable_disableProvider?(params: schema.DisableProviderRequest): MaybePromise<schema.DisableProviderResponse | void>;
1704
- /**
1705
- * Logout of the current authentication method.
1706
- */
1707
- logout?(params: schema.LogoutRequest): MaybePromise<schema.LogoutResponse | void>;
1708
- /**
1709
- * Processes a user prompt within a session.
1710
- *
1711
- * This method handles the whole lifecycle of a prompt:
1712
- * - Receives user messages with optional context (files, images, etc.)
1713
- * - Processes the prompt using language models
1714
- * - Reports language model content and tool calls to the Clients
1715
- * - Requests permission to run tools
1716
- * - Executes any requested tool calls
1717
- * - Returns when the turn is complete with a stop reason
1718
- *
1719
- * See protocol docs: [Prompt Turn](https://agentclientprotocol.com/protocol/prompt-turn)
1720
- */
1721
- prompt(params: schema.PromptRequest): MaybePromise<schema.PromptResponse>;
1722
- /**
1723
- * Cancels ongoing operations for a session.
1724
- *
1725
- * This is a notification sent by the client to cancel an ongoing prompt turn.
1726
- *
1727
- * Upon receiving this notification, the Agent SHOULD:
1728
- * - Stop all language model requests as soon as possible
1729
- * - Abort all tool call invocations in progress
1730
- * - Send any pending `session/update` notifications
1731
- * - Respond to the original `session/prompt` request with `StopReason::Cancelled`
1732
- *
1733
- * See protocol docs: [Cancellation](https://agentclientprotocol.com/protocol/prompt-turn#cancellation)
1734
- */
1735
- cancel(params: schema.CancelNotification): MaybePromise<void>;
1736
- /**
1737
- * **UNSTABLE**: This capability is not part of the spec yet, and may be removed or changed at any point.
1738
- *
1739
- * Starts a NES (Next Edit Suggestions) session.
1740
- *
1741
- * @experimental
1742
- */
1743
- unstable_startNes?(params: schema.StartNesRequest): MaybePromise<schema.StartNesResponse>;
1744
- /**
1745
- * **UNSTABLE**: This capability is not part of the spec yet, and may be removed or changed at any point.
1746
- *
1747
- * Sends a NES suggestion request.
1748
- *
1749
- * @experimental
1750
- */
1751
- unstable_suggestNes?(params: schema.SuggestNesRequest): MaybePromise<schema.SuggestNesResponse>;
1752
- /**
1753
- * **UNSTABLE**: This capability is not part of the spec yet, and may be removed or changed at any point.
1754
- *
1755
- * Closes a NES session.
1756
- *
1757
- * @experimental
1758
- */
1759
- unstable_closeNes?(params: schema.CloseNesRequest): MaybePromise<schema.CloseNesResponse | void>;
1760
- /**
1761
- * **UNSTABLE**: This capability is not part of the spec yet, and may be removed or changed at any point.
1762
- *
1763
- * Called when a document is opened.
1764
- *
1765
- * @experimental
1766
- */
1767
- unstable_didOpenDocument?(params: schema.DidOpenDocumentNotification): MaybePromise<void>;
1768
- /**
1769
- * **UNSTABLE**: This capability is not part of the spec yet, and may be removed or changed at any point.
1770
- *
1771
- * Called when a document is changed.
1772
- *
1773
- * @experimental
1774
- */
1775
- unstable_didChangeDocument?(params: schema.DidChangeDocumentNotification): MaybePromise<void>;
1776
- /**
1777
- * **UNSTABLE**: This capability is not part of the spec yet, and may be removed or changed at any point.
1778
- *
1779
- * Called when a document is closed.
1780
- *
1781
- * @experimental
1782
- */
1783
- unstable_didCloseDocument?(params: schema.DidCloseDocumentNotification): MaybePromise<void>;
1784
- /**
1785
- * **UNSTABLE**: This capability is not part of the spec yet, and may be removed or changed at any point.
1786
- *
1787
- * Called when a document is saved.
1788
- *
1789
- * @experimental
1790
- */
1791
- unstable_didSaveDocument?(params: schema.DidSaveDocumentNotification): MaybePromise<void>;
1792
- /**
1793
- * **UNSTABLE**: This capability is not part of the spec yet, and may be removed or changed at any point.
1794
- *
1795
- * Called when a document receives focus.
1796
- *
1797
- * @experimental
1798
- */
1799
- unstable_didFocusDocument?(params: schema.DidFocusDocumentNotification): MaybePromise<void>;
1800
- /**
1801
- * **UNSTABLE**: This capability is not part of the spec yet, and may be removed or changed at any point.
1802
- *
1803
- * Called when a NES suggestion is accepted.
1804
- *
1805
- * @experimental
1806
- */
1807
- unstable_acceptNes?(params: schema.AcceptNesNotification): MaybePromise<void>;
1808
- /**
1809
- * **UNSTABLE**: This capability is not part of the spec yet, and may be removed or changed at any point.
1810
- *
1811
- * Called when a NES suggestion is rejected.
1812
- *
1813
- * @experimental
1814
- */
1815
- unstable_rejectNes?(params: schema.RejectNesNotification): MaybePromise<void>;
1816
- /**
1817
- * Handles a request that is not otherwise registered by the legacy agent.
1818
- *
1819
- * Allows the Client to send an arbitrary request that is not part of the ACP spec.
1820
- *
1821
- * To help avoid conflicts, it's a good practice to prefix extension
1822
- * methods with a unique identifier such as domain name.
1823
- *
1824
- * @deprecated Prefer `agent().onRequest(...)` for custom methods.
1825
- */
1826
- extMethod?(method: string, params: Record<string, unknown>): MaybePromise<Record<string, unknown>>;
1827
- /**
1828
- * Handles a notification that is not otherwise registered by the legacy agent.
1829
- *
1830
- * Allows the Client to send an arbitrary notification that is not part of the ACP spec.
1831
- *
1832
- * @deprecated Prefer `agent().onNotification(...)` for custom notifications.
1833
- */
1834
- extNotification?(method: string, params: Record<string, unknown>): MaybePromise<void>;
1835
- }