ryco-cli 0.1.3 → 0.1.5

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 (466) hide show
  1. package/dist/{AzureDevOpsSourceControlProvider-X7_C5qAM.cjs → AzureDevOpsSourceControlProvider-CdgNqZ5j.cjs} +29 -19
  2. package/dist/{AzureDevOpsSourceControlProvider-CwvdH4Ll.mjs → AzureDevOpsSourceControlProvider-OsyDSESj.mjs} +14 -4
  3. package/dist/{BitbucketSourceControlProvider-3IhNThuu.cjs → BitbucketSourceControlProvider-DBTH98i4.cjs} +36 -19
  4. package/dist/{BitbucketSourceControlProvider-Y3LxnPYV.mjs → BitbucketSourceControlProvider-SQ3gKdFs.mjs} +21 -4
  5. package/dist/{BunPTY-6EA-iDZJ.mjs → BunPTY-B_vjRZN4.mjs} +2 -4
  6. package/dist/{BunPTY-CyqsuAMZ.cjs → BunPTY-BclzAOxp.cjs} +2 -4
  7. package/dist/{ClaudeDriver-Cmqo9lqD.mjs → ClaudeDriver-2dTtrsFD.mjs} +166 -156
  8. package/dist/{ClaudeDriver-CiWSk1E1.cjs → ClaudeDriver-D9yC2F0b.cjs} +196 -185
  9. package/dist/{CodexDriver-D73klBUb.cjs → CodexDriver-BC2B-qpT.cjs} +114 -50
  10. package/dist/{CodexDriver-BRsJm8XU.mjs → CodexDriver-CIDYevQX.mjs} +83 -20
  11. package/dist/{CodexTextGeneration-Bg0r8k7C.mjs → CodexTextGeneration-CjknB1Xl.mjs} +6 -6
  12. package/dist/{CodexTextGeneration-jbe9qfEM.cjs → CodexTextGeneration-DNeO-8GE.cjs} +18 -18
  13. package/dist/{CopilotDriver-tZdF91om.cjs → CopilotDriver-BGChrP5c.cjs} +31 -37
  14. package/dist/{CopilotDriver-DvDa-7-c.mjs → CopilotDriver-NPhlLrk2.mjs} +13 -19
  15. package/dist/{CursorDriver-C6dq_Wr6.mjs → CursorDriver-BcAVbT8D.mjs} +195 -273
  16. package/dist/{CursorDriver-BVJV7yyE.cjs → CursorDriver-CYxn4_c1.cjs} +239 -316
  17. package/dist/{ForgejoSourceControlProvider-C9T3-pOt.mjs → ForgejoSourceControlProvider-BjCE3730.mjs} +14 -4
  18. package/dist/{ForgejoSourceControlProvider-DYtCJSSP.cjs → ForgejoSourceControlProvider-D3wP2Cav.cjs} +29 -19
  19. package/dist/{GitHubSourceControlProvider-BmSffLFQ.mjs → GitHubSourceControlProvider-DByZ_cnw.mjs} +40 -8
  20. package/dist/{GitHubSourceControlProvider-DIbRPFFf.cjs → GitHubSourceControlProvider-DU_7IvMa.cjs} +54 -22
  21. package/dist/{GitLabSourceControlProvider-BdLuuH3g.cjs → GitLabSourceControlProvider-BVJ5IqTS.cjs} +29 -19
  22. package/dist/{GitLabSourceControlProvider-DTZ_rx8U.mjs → GitLabSourceControlProvider-BdMCIjXb.mjs} +14 -4
  23. package/dist/Metrics-BCOc3Ml2.mjs +356 -0
  24. package/dist/Metrics-DNOriWhP.cjs +634 -0
  25. package/dist/{NodePTY-Dg0g4rID.mjs → NodePTY-_u3kQLvd.mjs} +2 -4
  26. package/dist/{NodePTY-U7qcu5qQ.cjs → NodePTY-keGvFYk9.cjs} +2 -4
  27. package/dist/{NodeSqliteClient-CPd53X2R.mjs → NodeSqliteClient-BXy61fAd.mjs} +2 -4
  28. package/dist/{NodeSqliteClient-UlhLLRBA.cjs → NodeSqliteClient-homCO8-6.cjs} +16 -18
  29. package/dist/{OpenCodeDriver-D79_QFoB.cjs → OpenCodeDriver-DyR83FcY.cjs} +32 -34
  30. package/dist/{OpenCodeDriver-DN5bRb9Z.mjs → OpenCodeDriver-fwqXoVyH.mjs} +10 -13
  31. package/dist/{ProjectCustomSystemPrompt-9Bf13ScV.cjs → ProjectCustomSystemPrompt-B8SUlNGa.cjs} +11 -13
  32. package/dist/{ProjectCustomSystemPrompt-QmzOdzXf.mjs → ProjectCustomSystemPrompt-CS1nulhL.mjs} +1 -2
  33. package/dist/{ProviderDriver-DJK4EOeA.cjs → ProviderDriver--rNeAi3B.cjs} +6 -8
  34. package/dist/{ProviderDriver-CkHnmP8q.mjs → ProviderDriver-kCV60GKk.mjs} +1 -2
  35. package/dist/SourceControlProviderDiscoveryCatalog-CQiMyDCC.mjs +569 -0
  36. package/dist/SourceControlProviderDiscoveryCatalog-DqQVhwYM.cjs +676 -0
  37. package/dist/bin.cjs +6648 -12395
  38. package/dist/bin.d.cts +2 -0
  39. package/dist/bin.d.mts +2 -0
  40. package/dist/bin.mjs +8539 -14222
  41. package/dist/chunk-jM1PLTSZ.cjs +30 -0
  42. package/dist/client/assets/AnimatedHeight-CYuVQOpY.js +1 -0
  43. package/dist/client/assets/AppearanceSettings-BBbC8CV5.js +1 -0
  44. package/dist/client/assets/BranchToolbar.logic-Di2EkKiO.js +1 -0
  45. package/dist/client/assets/ChatRightPanel-BJ_cVP66.js +188 -0
  46. package/dist/client/assets/ChatThreadRouteView-DmxD3m2U.js +1 -0
  47. package/dist/client/assets/CommandPaletteDialog-CAzz6bsT.js +1 -0
  48. package/dist/client/assets/CompositeRoot-BvXCwn2c.js +1 -0
  49. package/dist/client/assets/ConnectionsSettings-Cmxm0y2u.js +1 -0
  50. package/dist/client/assets/DialogHandle-CXNAm3QY.js +1 -0
  51. package/dist/client/assets/DialogRoot-DaMwpoP_.js +1 -0
  52. package/dist/client/assets/DialogTitle-KXmfgzP3.js +1 -0
  53. package/dist/client/assets/DialogTrigger-NHyQnW3X.js +1 -0
  54. package/dist/client/assets/DialogViewport-CL0WR9a5.js +1 -0
  55. package/dist/client/assets/DraftChatThreadRouteView-C_hqauF6.js +1 -0
  56. package/dist/client/assets/JetBrainsIcons-BcR8pCma.js +1 -0
  57. package/dist/client/assets/KeybindingsSettings-m2AteGOl.js +7 -0
  58. package/dist/client/assets/McpServersSettings-DndIDxgA.js +6 -0
  59. package/dist/client/assets/NoActiveThreadState-Bt-Wkv-C.js +1 -0
  60. package/dist/client/assets/OpinionatedPluginsSettings-oDtdE6qx.js +1 -0
  61. package/dist/client/assets/ProjectFavicon-j9IX_7-B.js +1 -0
  62. package/dist/client/assets/ProviderUpdateLaunchNotification.logic-BFzNCo3I.js +1 -0
  63. package/dist/client/assets/ProvidersSettingsPanel-CvlIBNVJ.js +1 -0
  64. package/dist/client/assets/QueryClientProvider-BZxRKpeb.js +1 -0
  65. package/dist/client/assets/RedactedSensitiveText-UnZZJnFF.js +1 -0
  66. package/dist/client/assets/RootAppShell-CyHZ_F5P.js +12 -0
  67. package/dist/client/assets/SettingsDialog-BYJ8AhQp.js +2 -0
  68. package/dist/client/assets/SourceControlSettings-7xU6VH6N.js +1 -0
  69. package/dist/client/assets/ThreadStatusIndicators-M9FWDEex.js +1 -0
  70. package/dist/client/assets/ThreadTerminalDrawer-BXoXAbsR.js +38 -0
  71. package/dist/client/assets/ThreadTerminalDrawer-BrP-ENHg.css +1 -0
  72. package/dist/client/assets/ThreadWorkspacePanel-D1J63TVD.js +166 -0
  73. package/dist/client/assets/alert-dialog-BJQbh5gX.js +1 -0
  74. package/dist/client/assets/{angular-html-s8mFfHxJ.js → angular-html-BjMPwewj.js} +1 -1
  75. package/dist/client/assets/{angular-ts-qPgEQREa.js → angular-ts-DueL15Nu.js} +1 -1
  76. package/dist/client/assets/{apl-Bk41I3U1.js → apl-BgVy_tIs.js} +1 -1
  77. package/dist/client/assets/{astro-ClwGnYhy.js → astro-CWd6v_kU.js} +1 -1
  78. package/dist/client/assets/{blade-D8d2x7Cj.js → blade-C1itW3Xj.js} +1 -1
  79. package/dist/client/assets/{bsl-DJJjEj3G.js → bsl-BkkzgIyY.js} +1 -1
  80. package/dist/client/assets/{c-C7LLcxwo.js → c-BerOGYIx.js} +1 -1
  81. package/dist/client/assets/{cairo-D0DvaGhb.js → cairo-DLTphjLi.js} +1 -1
  82. package/dist/client/assets/chatThreadActions--n7v5mnB.js +1 -0
  83. package/dist/client/assets/clamp-NYtK3f5s.js +1 -0
  84. package/dist/client/assets/{cobol-BFmBEDT2.js → cobol-C_rkq165.js} +1 -1
  85. package/dist/client/assets/codexUsageLimits-BJQiZCqn.js +1 -0
  86. package/dist/client/assets/{coffee-C6xKBntv.js → coffee-DX2eriSb.js} +1 -1
  87. package/dist/client/assets/commandPaletteStore-oFMPKPmp.js +1 -0
  88. package/dist/client/assets/{compiler-runtime-BF315rzL.js → compiler-runtime-BNrXlsa1.js} +1 -1
  89. package/dist/client/assets/composerDraftStore-xu3n5gdX.js +21 -0
  90. package/dist/client/assets/{cpp-CVDdGIJL.js → cpp-DN_S3YzL.js} +1 -1
  91. package/dist/client/assets/{crystal-C8hrz-Ed.js → crystal-DX_yIzv-.js} +1 -1
  92. package/dist/client/assets/{css-Bq4IaKl1.js → css-CcrQR6FS.js} +1 -1
  93. package/dist/client/assets/desktopUpdateReactQuery-YSCkifKp.js +2 -0
  94. package/dist/client/assets/download-Bi4-cFbc.js +1 -0
  95. package/dist/client/assets/draft-input-BGSRgOW7.js +1 -0
  96. package/dist/client/assets/{edge-M0lvKmK0.js → edge-D6QhZ796.js} +1 -1
  97. package/dist/client/assets/{elixir-Z_A63tjC.js → elixir-DMd9329w.js} +1 -1
  98. package/dist/client/assets/{elm-CSUyuYJg.js → elm-ClOR9TU8.js} +1 -1
  99. package/dist/client/assets/empty-BTxheW4B.js +1 -0
  100. package/dist/client/assets/environmentApi-BFHi_M02.js +1 -0
  101. package/dist/client/assets/{erb-DrEx0jBQ.js → erb-HraKpeAP.js} +1 -1
  102. package/dist/client/assets/{erlang-CJBKhF6J.js → erlang-Cphh6RMH.js} +1 -1
  103. package/dist/client/assets/folder-open-DJmHEPv9.js +1 -0
  104. package/dist/client/assets/{fortran-fixed-form-BKSuIOW4.js → fortran-fixed-form-DEKoE2YW.js} +1 -1
  105. package/dist/client/assets/{fsharp-U9gZ5YOh.js → fsharp-D13ZGOAj.js} +1 -1
  106. package/dist/client/assets/{gdresource-DoBd66sG.js → gdresource-C0sCabJj.js} +1 -1
  107. package/dist/client/assets/{git-commit-Db7dtED7.js → git-commit-BSykSTBG.js} +1 -1
  108. package/dist/client/assets/{git-rebase-QypkBr98.js → git-rebase-7x6VaRfM.js} +1 -1
  109. package/dist/client/assets/{glimmer-js-NOqtI1Rk.js → glimmer-js-Bs66SSVv.js} +1 -1
  110. package/dist/client/assets/{glimmer-ts-BeU4NlYB.js → glimmer-ts-C-1005ee.js} +1 -1
  111. package/dist/client/assets/{glsl-BkDxwNg4.js → glsl-ClknhvHk.js} +1 -1
  112. package/dist/client/assets/{graphql-BuqaMepw.js → graphql-BJK35HL6.js} +1 -1
  113. package/dist/client/assets/group-Dwm-OV-r.js +1 -0
  114. package/dist/client/assets/{hack-C01X66u7.js → hack-DTKnRaIz.js} +1 -1
  115. package/dist/client/assets/{haml-6AVURMsW.js → haml-v1Ae09NK.js} +1 -1
  116. package/dist/client/assets/{handlebars-CQt0otqg.js → handlebars-DvtPw9yK.js} +1 -1
  117. package/dist/client/assets/hostedPairing-DAdvNuk3.js +1 -0
  118. package/dist/client/assets/{html-B9GCfMM1.js → html-Ckes0w7-.js} +1 -1
  119. package/dist/client/assets/{html-derivative-Choar9BD.js → html-derivative-CjYqXu8c.js} +1 -1
  120. package/dist/client/assets/{http-DvFNkpiH.js → http-DgyAR01B.js} +1 -1
  121. package/dist/client/assets/{hurl-BSVy9O8n.js → hurl-BSy4XrZM.js} +1 -1
  122. package/dist/client/assets/{hxml-BcCIYlZp.js → hxml-B0Qn7Nwc.js} +1 -1
  123. package/dist/client/assets/{index-B215HMv1.js → index-BI5yFj9n.js} +2 -2
  124. package/dist/client/assets/input-BfUa3JUD.js +1 -0
  125. package/dist/client/assets/{java-DYU2LKAe.js → java-BRs8BbUU.js} +1 -1
  126. package/dist/client/assets/{javascript-CqMUgcTv.js → javascript-CCh9h5HS.js} +1 -1
  127. package/dist/client/assets/{jinja-DZIBHWGb.js → jinja-D1OtL_yO.js} +1 -1
  128. package/dist/client/assets/{jison-1dZyCIA-.js → jison-D_fWb18i.js} +1 -1
  129. package/dist/client/assets/{json-By08Hh8g.js → json-Bs_SRPeT.js} +1 -1
  130. package/dist/client/assets/{jsx-D-zBxh5E.js → jsx-Btew4WFJ.js} +1 -1
  131. package/dist/client/assets/{julia-D4DyCD9m.js → julia-BKIxRKg2.js} +1 -1
  132. package/dist/client/assets/{just-t1DYRM-F.js → just-CSkhc6Nt.js} +1 -1
  133. package/dist/client/assets/kbd-Dd57M8OY.js +1 -0
  134. package/dist/client/assets/keybindings--G1bkIjA.js +1 -0
  135. package/dist/client/assets/keyboard-B87VTfPa.js +1 -0
  136. package/dist/client/assets/{latex-WQQP2pth.js → latex-DrurJw6z.js} +1 -1
  137. package/dist/client/assets/{liquid-D0Ghr7un.js → liquid-DLZ2kGK1.js} +1 -1
  138. package/dist/client/assets/{lua-r3xGOG0a.js → lua-BNdhJiqB.js} +1 -1
  139. package/dist/client/assets/main-BQf5U-fz.js +9 -0
  140. package/dist/client/assets/main-DrwkwNo9.css +2 -0
  141. package/dist/client/assets/{marko-wk9TVjCS.js → marko-B3eJkbnP.js} +1 -1
  142. package/dist/client/assets/{mdc-BRMVGNjb.js → mdc-Dz2y1zK2.js} +1 -1
  143. package/dist/client/assets/modelPickerOpenState-BJxsqvdg.js +1 -0
  144. package/dist/client/assets/mutation-DJZgOJRu.js +1 -0
  145. package/dist/client/assets/{nextflow-D0nv53RF.js → nextflow-Bbiyy34d.js} +1 -1
  146. package/dist/client/assets/{nginx-D968CCNX.js → nginx-BazusZwe.js} +1 -1
  147. package/dist/client/assets/{nim-CRCwl258.js → nim-jwqEnSmK.js} +1 -1
  148. package/dist/client/assets/{perl-29yJp9Uu.js → perl-BwoWHrup.js} +1 -1
  149. package/dist/client/assets/{php-Cemz192H.js → php-DmODFjdr.js} +1 -1
  150. package/dist/client/assets/plus-B10j9MbZ.js +1 -0
  151. package/dist/client/assets/primary-CSkhdakK.js +1 -0
  152. package/dist/client/assets/providerDriverMeta-B6xuq7ij.js +1 -0
  153. package/dist/client/assets/providerIconUtils-Ch6hejVW.js +47 -0
  154. package/dist/client/assets/{pug-B2ZE7aeX.js → pug-JR1tLpbP.js} +1 -1
  155. package/dist/client/assets/{qml-jG3DrKD9.js → qml-CrcLSvXM.js} +1 -1
  156. package/dist/client/assets/{r-D3sEfBW5.js → r-B4G19rTw.js} +1 -1
  157. package/dist/client/assets/{razor-Beauj9_g.js → razor-Vr7Dkano.js} +1 -1
  158. package/dist/client/assets/react-CjD7iThp.js +16 -0
  159. package/dist/client/assets/react-PSPkXoKo.js +1 -0
  160. package/dist/client/assets/refresh-cw-CRxaXR0E.js +1 -0
  161. package/dist/client/assets/{regexp-DJB-0KGI.js → regexp-mkyOQxyI.js} +1 -1
  162. package/dist/client/assets/resolveAriaLabelledBy-D4fWpj84.js +1 -0
  163. package/dist/client/assets/rightPanelRouteSearch-CTMFCS6R.js +1 -0
  164. package/dist/client/assets/{rst-D9Thij-7.js → rst-CMlIIAT6.js} +1 -1
  165. package/dist/client/assets/{ruby-BriTZmlZ.js → ruby-DeHylo3G.js} +1 -1
  166. package/dist/client/assets/{sas-Cp_miaeX.js → sas-DITAP7FM.js} +1 -1
  167. package/dist/client/assets/scroll-area-BgFq7GRd.js +1 -0
  168. package/dist/client/assets/{scss-DpivEdne.js → scss-DPGO9NvD.js} +1 -1
  169. package/dist/client/assets/separator-CB3Ctlvi.js +1 -0
  170. package/dist/client/assets/server-tdx7WxLI.js +1 -0
  171. package/dist/client/assets/session-logic-CaiGe4hy.js +4 -0
  172. package/dist/client/assets/settingsDialogStore-9vo22xKp.js +1 -0
  173. package/dist/client/assets/settingsLayout-B5o13iGO.js +1 -0
  174. package/dist/client/assets/{shaderlab-DJPIU-BM.js → shaderlab-TOUzSsQk.js} +1 -1
  175. package/dist/client/assets/{shellscript-CM8oTE2e.js → shellscript-Ctrwjmrg.js} +1 -1
  176. package/dist/client/assets/{shellsession-Cbvx0Scr.js → shellsession-CVFkOqvv.js} +1 -1
  177. package/dist/client/assets/sidebar-Bbdql7Af.js +1 -0
  178. package/dist/client/assets/skeleton-C8OZcsPq.js +1 -0
  179. package/dist/client/assets/{soy-4R-idkhG.js → soy-DGJ8Y2bl.js} +1 -1
  180. package/dist/client/assets/{sparql-Zqzk9CwD.js → sparql-D_iOobhT.js} +1 -1
  181. package/dist/client/assets/{sql-sKjBShS8.js → sql-u97rfsUo.js} +1 -1
  182. package/dist/client/assets/{stata-DLIq7jHS.js → stata-DWI7UlWE.js} +1 -1
  183. package/dist/client/assets/storeSelectors-DBRyhCGm.js +1 -0
  184. package/dist/client/assets/{surrealql-CRX8IwBN.js → surrealql-BUWsplpt.js} +1 -1
  185. package/dist/client/assets/{svelte-Dvrysi6X.js → svelte-CQXFJOFl.js} +1 -1
  186. package/dist/client/assets/{templ-RcP_-Nu-.js → templ-CA7lFfrq.js} +1 -1
  187. package/dist/client/assets/{tex-B8a5_DIi.js → tex-DAVBEZhF.js} +1 -1
  188. package/dist/client/assets/threadRoutes-CfldSp4X.js +1 -0
  189. package/dist/client/assets/threadSelectionStore-BggKwzmQ.js +1 -0
  190. package/dist/client/assets/toast-DE-WwLMa.js +1 -0
  191. package/dist/client/assets/toggle-BFMa0a0Y.js +1 -0
  192. package/dist/client/assets/toggle-group-DdKXHoT3.js +1 -0
  193. package/dist/client/assets/trash-2-CZQem-sz.js +1 -0
  194. package/dist/client/assets/{ts-tags-BG0VzqyM.js → ts-tags-cqyzSw6V.js} +1 -1
  195. package/dist/client/assets/{tsx-D4f8_1wY.js → tsx-aOZK_XWL.js} +1 -1
  196. package/dist/client/assets/{twig-DxlRBqRW.js → twig-RScZCD0T.js} +1 -1
  197. package/dist/client/assets/{typescript-C32OH5Jk.js → typescript-6eFuNBLU.js} +1 -1
  198. package/dist/client/assets/useHandleNewThread-DOPZAFqE.js +1 -0
  199. package/dist/client/assets/useLabelableId-BzWaBebJ.js +1 -0
  200. package/dist/client/assets/useNavigate-B1qgM5mt.js +1 -0
  201. package/dist/client/assets/useTheme-C7Ji7x06.js +1 -0
  202. package/dist/client/assets/vscode-icons-E8NUFd62.js +1 -0
  203. package/dist/client/assets/{vue-5RtgVZcg.js → vue-DVoN9ARa.js} +1 -1
  204. package/dist/client/assets/{vue-html-Dd-LXYnz.js → vue-html-BnZS_Ahq.js} +1 -1
  205. package/dist/client/assets/{vue-vine-BKz6iXyu.js → vue-vine-B0I6Y_6P.js} +1 -1
  206. package/dist/client/assets/{worker-rFBLi4xK.js → worker-B_h_pwVO.js} +5 -5
  207. package/dist/client/assets/wrench-DEteICtk.js +1 -0
  208. package/dist/client/assets/x-b9324xm-.js +1 -0
  209. package/dist/client/assets/{xml-DXQJVDNT.js → xml-Dvs5bvzt.js} +1 -1
  210. package/dist/client/assets/{xsl-ByvM9IQh.js → xsl-CuljSg_9.js} +1 -1
  211. package/dist/client/assets/{yaml-CCq_gfp4.js → yaml-orq9hzxs.js} +1 -1
  212. package/dist/client/index.html +1 -1
  213. package/dist/collectUint8StreamText-DbCOJom3.cjs +7269 -0
  214. package/dist/collectUint8StreamText-DuFJyaQh.mjs +6185 -0
  215. package/dist/{makeManagedServerProvider-DVrBJ3h3.cjs → makeManagedServerProvider-C3cQUDkZ.cjs} +77 -79
  216. package/dist/{makeManagedServerProvider-B3DH-AMf.mjs → makeManagedServerProvider-wFGZ2-vd.mjs} +7 -10
  217. package/dist/sourceControl-iWG-m4wE.mjs +207 -0
  218. package/dist/sourceControl-x2t62T8h.cjs +230 -0
  219. package/dist/{sourceControlContextFormatter-CO5cScmF.cjs → sourceControlContextFormatter-BDZqn-4T.cjs} +6 -8
  220. package/dist/{sourceControlContextFormatter-DpXEEmAm.mjs → sourceControlContextFormatter-DEwpnVAH.mjs} +1 -2
  221. package/package.json +5 -3
  222. package/dist/client/assets/ChangedFilesTree-B4W17bLf.js +0 -1
  223. package/dist/client/assets/DiffPanel-C9_pKXWU.js +0 -75
  224. package/dist/client/assets/DiffPanelShell-BmfxFBmp.js +0 -167
  225. package/dist/client/assets/DiffWorkerPoolProvider-B2FLS8eo.js +0 -1
  226. package/dist/client/assets/PreviewPanel-Z0IDMiKg.js +0 -30
  227. package/dist/client/assets/RootAppShell-qLlEOcIH.js +0 -24
  228. package/dist/client/assets/alert-D2R5HNlM.js +0 -1
  229. package/dist/client/assets/composerHandleContext-CkHnb2_F.js +0 -46
  230. package/dist/client/assets/hostedPairing-D299g9iL.js +0 -1
  231. package/dist/client/assets/main-DOCL-gXt.js +0 -66
  232. package/dist/client/assets/main-DhO2tDKo.css +0 -1
  233. package/dist/client/assets/pathEntry-DCmCWUeG.js +0 -1
  234. package/dist/client/assets/primary-BKkx6aqv.js +0 -16
  235. package/dist/client/assets/react-CYzKIDNi.js +0 -1
  236. package/dist/client/assets/refresh-cw-BpZqiP_0.js +0 -1
  237. package/dist/client/assets/runtime-QfzvF0Vn.js +0 -1
  238. package/dist/client/assets/separator-CXZK6vFp.js +0 -4
  239. package/dist/client/assets/text-wrap-CnmG6WhR.js +0 -62
  240. package/dist/client/assets/toggle-BfBpNkCG.js +0 -1
  241. package/dist/client/assets/toggle-group-Dp1gg0mX.js +0 -1
  242. package/dist/client/assets/useSettings-BLDkflD_.js +0 -21
  243. package/dist/client/assets/useTheme-BHTjVtp9.js +0 -1
  244. package/dist/client/assets/useTheme-EFHXLM5e.js +0 -1
  245. package/dist/client/assets/vscode-icons-Ciu6Pjk4.js +0 -1
  246. /package/dist/client/assets/{abap-Vg0cj5d8.js → abap-CLvhMVsD.js} +0 -0
  247. /package/dist/client/assets/{actionscript-3-BV1RXWL1.js → actionscript-3--17pq3dv.js} +0 -0
  248. /package/dist/client/assets/{ada-Ce_Xk3Sp.js → ada-C5qYipkI.js} +0 -0
  249. /package/dist/client/assets/{andromeeda-DJewj201.js → andromeeda-vGVdxbeo.js} +0 -0
  250. /package/dist/client/assets/{apache-BbDgM_LY.js → apache-U0d_L8uA.js} +0 -0
  251. /package/dist/client/assets/{apex-Z4y334SR.js → apex-CGTLDQj6.js} +0 -0
  252. /package/dist/client/assets/{applescript-CLDQZ5Zp.js → applescript-CCn79oCD.js} +0 -0
  253. /package/dist/client/assets/{ara-DwFb8Z32.js → ara-4CJ0cIlV.js} +0 -0
  254. /package/dist/client/assets/{asciidoc-ByVQW3u3.js → asciidoc-DE70LPWp.js} +0 -0
  255. /package/dist/client/assets/{asm-CqqqWovZ.js → asm-Cmm7eHzH.js} +0 -0
  256. /package/dist/client/assets/{aurora-x-B9BHU0bK.js → aurora-x-CDeNXAV0.js} +0 -0
  257. /package/dist/client/assets/{awk-L5v-cuCL.js → awk-BWXHIvNe.js} +0 -0
  258. /package/dist/client/assets/{ayu-dark-YQNfFJx2.js → ayu-dark-DluEY0Gj.js} +0 -0
  259. /package/dist/client/assets/{ayu-light-_9Blof0L.js → ayu-light-C3h-C4tm.js} +0 -0
  260. /package/dist/client/assets/{ayu-mirage-ywKZgCHT.js → ayu-mirage-Bqwy1Gya.js} +0 -0
  261. /package/dist/client/assets/{ballerina-Dgg2a6zg.js → ballerina-B7ZEbQpA.js} +0 -0
  262. /package/dist/client/assets/{bat-wLloRoua.js → bat-Bo4NYOV-.js} +0 -0
  263. /package/dist/client/assets/{beancount-BCSJrVVf.js → beancount-D-usSTwE.js} +0 -0
  264. /package/dist/client/assets/{berry-DJXUHylF.js → berry-DKpUyyne.js} +0 -0
  265. /package/dist/client/assets/{bibtex-C6hGKKRT.js → bibtex-Ci_nEsc7.js} +0 -0
  266. /package/dist/client/assets/{bicep-RsAVk7ms.js → bicep-CUHmPFLl.js} +0 -0
  267. /package/dist/client/assets/{bird2-DTRIpKsA.js → bird2-C2hNVINV.js} +0 -0
  268. /package/dist/client/assets/{c3-DhlmE_oa.js → c3-CnJL0r0V.js} +0 -0
  269. /package/dist/client/assets/{cadence-gm_AXdjh.js → cadence-CQ2zXKGN.js} +0 -0
  270. /package/dist/client/assets/{catppuccin-frappe-CRaK-OXp.js → catppuccin-frappe-3VR1Za6u.js} +0 -0
  271. /package/dist/client/assets/{catppuccin-latte-CekmIWzD.js → catppuccin-latte-DwIHMF0Q.js} +0 -0
  272. /package/dist/client/assets/{catppuccin-macchiato-Pgs1_ylq.js → catppuccin-macchiato-DYnBP6_5.js} +0 -0
  273. /package/dist/client/assets/{catppuccin-mocha-CVFrnEg2.js → catppuccin-mocha-DYhrFGRu.js} +0 -0
  274. /package/dist/client/assets/{clarity-_nV8rm3T.js → clarity-SemFz856.js} +0 -0
  275. /package/dist/client/assets/{clojure-Dsywsvl2.js → clojure-DqKBuwfJ.js} +0 -0
  276. /package/dist/client/assets/{cmake-DoZviRk-.js → cmake-Bj61d0ZC.js} +0 -0
  277. /package/dist/client/assets/{codeowners-LcUICwIC.js → codeowners-C8r90Shi.js} +0 -0
  278. /package/dist/client/assets/{codeql-C0tRiarJ.js → codeql-oeQT6MSM.js} +0 -0
  279. /package/dist/client/assets/{common-lisp-BQXePP3H.js → common-lisp-Cv5bFMCO.js} +0 -0
  280. /package/dist/client/assets/{coq-DWR2ZlCV.js → coq-BrsZFFmf.js} +0 -0
  281. /package/dist/client/assets/{csharp-BpO6pU8h.js → csharp-Ct8U2NOr.js} +0 -0
  282. /package/dist/client/assets/{csv-guZ1Hczt.js → csv-Dx-8-gkx.js} +0 -0
  283. /package/dist/client/assets/{cue-DVp9_WvV.js → cue-CE9AQfxI.js} +0 -0
  284. /package/dist/client/assets/{cypher-3MHH4pYW.js → cypher-ClKdZ_lG.js} +0 -0
  285. /package/dist/client/assets/{d-CIAu_RLS.js → d-qD-0Kul2.js} +0 -0
  286. /package/dist/client/assets/{dark-plus-D6YuWbv0.js → dark-plus-Cs2F2srj.js} +0 -0
  287. /package/dist/client/assets/{dart-DYuQ6kUW.js → dart-DkHntEIa.js} +0 -0
  288. /package/dist/client/assets/{dax-BBIUHzFG.js → dax-BkyTk9wS.js} +0 -0
  289. /package/dist/client/assets/{desktop-i7Pu8H5c.js → desktop-Dlh5hvp9.js} +0 -0
  290. /package/dist/client/assets/{diff-BOMu6KnT.js → diff-woXpYk--.js} +0 -0
  291. /package/dist/client/assets/{docker-Jl7Opeg9.js → docker-IyjqRm3v.js} +0 -0
  292. /package/dist/client/assets/{dotenv-DNMkRfS9.js → dotenv-_5a1GRtc.js} +0 -0
  293. /package/dist/client/assets/{dracula-BRuhgxZx.js → dracula-BHWKrbxM.js} +0 -0
  294. /package/dist/client/assets/{dracula-soft-Bh-3NXEk.js → dracula-soft-5eyTD99u.js} +0 -0
  295. /package/dist/client/assets/{dream-maker-XsE3rknm.js → dream-maker-DW3nJb8Q.js} +0 -0
  296. /package/dist/client/assets/{emacs-lisp-DILRoF5l.js → emacs-lisp-C9PiwqqW.js} +0 -0
  297. /package/dist/client/assets/{everforest-dark-TN28LCtO.js → everforest-dark-sB-x3p7T.js} +0 -0
  298. /package/dist/client/assets/{everforest-light-Bie4zQAp.js → everforest-light-Df2xbC6M.js} +0 -0
  299. /package/dist/client/assets/{fennel-C5HmIS3y.js → fennel-DQxkIbk2.js} +0 -0
  300. /package/dist/client/assets/{fish-BLa94bES.js → fish-BJitypiv.js} +0 -0
  301. /package/dist/client/assets/{fluent-Dz5wDZec.js → fluent-C03EYrpw.js} +0 -0
  302. /package/dist/client/assets/{fortran-free-form-Dhgntk66.js → fortran-free-form-CYNrtFtB.js} +0 -0
  303. /package/dist/client/assets/{gdscript-cU6-22QG.js → gdscript-Cp2uCuqX.js} +0 -0
  304. /package/dist/client/assets/{gdshader-D10o9T_4.js → gdshader-CBce3t8t.js} +0 -0
  305. /package/dist/client/assets/{genie-BxoMb50b.js → genie-CV2tkWYe.js} +0 -0
  306. /package/dist/client/assets/{gherkin-B2lz9HMr.js → gherkin-DExj1W_8.js} +0 -0
  307. /package/dist/client/assets/{github-dark-D5NDXfHf.js → github-dark-C-LZuMrd.js} +0 -0
  308. /package/dist/client/assets/{github-dark-default-Bo_3g1lT.js → github-dark-default-DXG-b-1a.js} +0 -0
  309. /package/dist/client/assets/{github-dark-dimmed-BQUS-1Ln.js → github-dark-dimmed-Bx1FflLF.js} +0 -0
  310. /package/dist/client/assets/{github-dark-high-contrast-DIHLvRoS.js → github-dark-high-contrast-B_tTalzw.js} +0 -0
  311. /package/dist/client/assets/{github-light-Bw4sXpzB.js → github-light-EUqPIrTm.js} +0 -0
  312. /package/dist/client/assets/{github-light-default-B8bmeZPd.js → github-light-default-BXViO-2h.js} +0 -0
  313. /package/dist/client/assets/{github-light-high-contrast-CJI8nAIV.js → github-light-high-contrast-B68TUdTA.js} +0 -0
  314. /package/dist/client/assets/{gleam-9zwoUsHJ.js → gleam-CSRkHgEL.js} +0 -0
  315. /package/dist/client/assets/{gn-DLF2G5Ru.js → gn-ilITqXS6.js} +0 -0
  316. /package/dist/client/assets/{gnuplot-Bcm3DAiA.js → gnuplot-7GGW24-e.js} +0 -0
  317. /package/dist/client/assets/{go-CPlmKKFp.js → go-BJwz_mda.js} +0 -0
  318. /package/dist/client/assets/{groovy-Dg2VIq5p.js → groovy-CacY0gHj.js} +0 -0
  319. /package/dist/client/assets/{gruvbox-dark-hard-BzHG1YMb.js → gruvbox-dark-hard-C820rvS2.js} +0 -0
  320. /package/dist/client/assets/{gruvbox-dark-medium-C9UQOvAR.js → gruvbox-dark-medium-BPjhmG05.js} +0 -0
  321. /package/dist/client/assets/{gruvbox-dark-soft-xgYmK4Rn.js → gruvbox-dark-soft-MrdJrrXF.js} +0 -0
  322. /package/dist/client/assets/{gruvbox-light-hard-DxvMP-zF.js → gruvbox-light-hard-BC_s9l72.js} +0 -0
  323. /package/dist/client/assets/{gruvbox-light-medium-SxCJk4ze.js → gruvbox-light-medium-BAWPOn9u.js} +0 -0
  324. /package/dist/client/assets/{gruvbox-light-soft-B9XTNyng.js → gruvbox-light-soft-BSMLrYjP.js} +0 -0
  325. /package/dist/client/assets/{haskell-Cf52ssWB.js → haskell-D8IpX4py.js} +0 -0
  326. /package/dist/client/assets/{haxe-BiaDi9Ls.js → haxe-OTjmBuCE.js} +0 -0
  327. /package/dist/client/assets/{hcl-Dcb9DqV1.js → hcl-Dh228itO.js} +0 -0
  328. /package/dist/client/assets/{hjson-LjA2UJVG.js → hjson-CxZEssPk.js} +0 -0
  329. /package/dist/client/assets/{hlsl-Bdu4H644.js → hlsl-Cvrh5tZx.js} +0 -0
  330. /package/dist/client/assets/{horizon-DfLB6K3K.js → horizon-CE9ld1lL.js} +0 -0
  331. /package/dist/client/assets/{horizon-bright-BRcOD00n.js → horizon-bright-Br1oVSNq.js} +0 -0
  332. /package/dist/client/assets/{houston-pGeyqiDN.js → houston-CsvMBhTu.js} +0 -0
  333. /package/dist/client/assets/{hy-CAzVaHwm.js → hy-CZbG8q4J.js} +0 -0
  334. /package/dist/client/assets/{imba-CtP12ZBI.js → imba-DsUTQ-LC.js} +0 -0
  335. /package/dist/client/assets/{ini-DyaqLXx3.js → ini-B5eOa1yu.js} +0 -0
  336. /package/dist/client/assets/{json5-pkfxH3eL.js → json5-BR5RXkoi.js} +0 -0
  337. /package/dist/client/assets/{jsonc-D_yIvXTo.js → jsonc-CYpm1nAK.js} +0 -0
  338. /package/dist/client/assets/{jsonl-Cyj0VVep.js → jsonl-CmCQp5Yx.js} +0 -0
  339. /package/dist/client/assets/{jsonnet-CQ7ol0Ju.js → jsonnet-CJTPZ8u_.js} +0 -0
  340. /package/dist/client/assets/{jssm-MbQThoOI.js → jssm-DXw9l8Rf.js} +0 -0
  341. /package/dist/client/assets/{kanagawa-dragon-WzYJN5gB.js → kanagawa-dragon-CXtmUGW6.js} +0 -0
  342. /package/dist/client/assets/{kanagawa-lotus-rRmvCTTT.js → kanagawa-lotus-BN08jTvb.js} +0 -0
  343. /package/dist/client/assets/{kanagawa-wave-DLXZ_HFW.js → kanagawa-wave-CTweb8Dz.js} +0 -0
  344. /package/dist/client/assets/{kdl-MlO6iUnG.js → kdl-CsD5j6eV.js} +0 -0
  345. /package/dist/client/assets/{kotlin-Dugiuyzo.js → kotlin-DhhofPvG.js} +0 -0
  346. /package/dist/client/assets/{kusto-6Zx2e4iM.js → kusto-BUv0MjJC.js} +0 -0
  347. /package/dist/client/assets/{laserwave-Bms40fEM.js → laserwave-C_8bwKvT.js} +0 -0
  348. /package/dist/client/assets/{lean-BeI6HXzS.js → lean-CewbzKMR.js} +0 -0
  349. /package/dist/client/assets/{less-CgPeGWAa.js → less-DVTAwKKz.js} +0 -0
  350. /package/dist/client/assets/{light-plus-j7rlQ_-d.js → light-plus-DVQuIRkW.js} +0 -0
  351. /package/dist/client/assets/{llvm-Dw0AsrHc.js → llvm-Cm23YOpf.js} +0 -0
  352. /package/dist/client/assets/{log-9mP7MLA7.js → log-BNLmms1o.js} +0 -0
  353. /package/dist/client/assets/{logo-CEB74EGf.js → logo-Cluzi2Zq.js} +0 -0
  354. /package/dist/client/assets/{luau-C4m3ZsP4.js → luau-CNKltnaQ.js} +0 -0
  355. /package/dist/client/assets/{make-D05QTRNX.js → make-Dixweg8N.js} +0 -0
  356. /package/dist/client/assets/{markdown-UoFBNZst.js → markdown-BYOwaDjH.js} +0 -0
  357. /package/dist/client/assets/{material-theme-BLisqalJ.js → material-theme-Bm3Qr25_.js} +0 -0
  358. /package/dist/client/assets/{material-theme-darker-CMDfuiQ2.js → material-theme-darker-2IIEA8gg.js} +0 -0
  359. /package/dist/client/assets/{material-theme-lighter-CxAafT95.js → material-theme-lighter-uhdI0v04.js} +0 -0
  360. /package/dist/client/assets/{material-theme-ocean-B4-TfnzS.js → material-theme-ocean-CHQ94UKr.js} +0 -0
  361. /package/dist/client/assets/{material-theme-palenight-BiO5TPm2.js → material-theme-palenight-B5W6OYN7.js} +0 -0
  362. /package/dist/client/assets/{matlab-B1JUCa3X.js → matlab-D7qyCx1q.js} +0 -0
  363. /package/dist/client/assets/{mdx-5iivKtUB.js → mdx-DQZ5AkYe.js} +0 -0
  364. /package/dist/client/assets/{mermaid-e-18nCBH.js → mermaid-Bk4SNUv9.js} +0 -0
  365. /package/dist/client/assets/{min-dark-CwF0fYNT.js → min-dark-BSWPekZh.js} +0 -0
  366. /package/dist/client/assets/{min-light-DbuMCP1T.js → min-light-DDpmG2fV.js} +0 -0
  367. /package/dist/client/assets/{mipsasm-DcTRWKSO.js → mipsasm-BMqwQI7S.js} +0 -0
  368. /package/dist/client/assets/{mojo-DTlMyvmX.js → mojo-BgCJLMeH.js} +0 -0
  369. /package/dist/client/assets/{monokai-ShOh_SLr.js → monokai-CdkpiU2Y.js} +0 -0
  370. /package/dist/client/assets/{moonbit-Clq4Da-i.js → moonbit-CaWjb8XO.js} +0 -0
  371. /package/dist/client/assets/{move-Bl5q_pwm.js → move-B1IS1UjX.js} +0 -0
  372. /package/dist/client/assets/{narrat-CBsmOEAI.js → narrat-_X_XdTYD.js} +0 -0
  373. /package/dist/client/assets/{nextflow-groovy-aMR1iPI_.js → nextflow-groovy-Dc_ddanL.js} +0 -0
  374. /package/dist/client/assets/{night-owl-yTEb_Wwb.js → night-owl-DhmEMT88.js} +0 -0
  375. /package/dist/client/assets/{night-owl-light-huKGrUNo.js → night-owl-light-eJ-hLW7d.js} +0 -0
  376. /package/dist/client/assets/{nix-Cp796_WQ.js → nix-IvuFDN5E.js} +0 -0
  377. /package/dist/client/assets/{nord-DcX-wPJc.js → nord-Cb4Vim4T.js} +0 -0
  378. /package/dist/client/assets/{nushell-BfyhU0X_.js → nushell-DcLAeLz5.js} +0 -0
  379. /package/dist/client/assets/{objective-c-B4uJcreS.js → objective-c-D1A_Heim.js} +0 -0
  380. /package/dist/client/assets/{objective-cpp-jpQjhWST.js → objective-cpp-BsSzOQcm.js} +0 -0
  381. /package/dist/client/assets/{ocaml-Bd4ZvQW_.js → ocaml-O90oeIOV.js} +0 -0
  382. /package/dist/client/assets/{odin-CrrB9RSu.js → odin-B1RWQWA5.js} +0 -0
  383. /package/dist/client/assets/{one-dark-pro-CkQTfcfR.js → one-dark-pro-CLwyXe_n.js} +0 -0
  384. /package/dist/client/assets/{one-light-DThLWCfa.js → one-light-D7Lr4KcI.js} +0 -0
  385. /package/dist/client/assets/{openscad-D3TTqx3L.js → openscad-BUDT5pXO.js} +0 -0
  386. /package/dist/client/assets/{pairingUrl-BDy1QCMe.js → pairingUrl-rQM9kSGT.js} +0 -0
  387. /package/dist/client/assets/{pascal-DWfvzseC.js → pascal-4ZHwLPI5.js} +0 -0
  388. /package/dist/client/assets/{pierre-dark-DvfVJVsW.js → pierre-dark-PhHPzmGe.js} +0 -0
  389. /package/dist/client/assets/{pierre-light-B0eN5zia.js → pierre-light-DN22GkGi.js} +0 -0
  390. /package/dist/client/assets/{pkl-DdTB5XmH.js → pkl-ot-7Btpt.js} +0 -0
  391. /package/dist/client/assets/{plastic-B7VrxlmD.js → plastic-DQwYfKfQ.js} +0 -0
  392. /package/dist/client/assets/{plsql-BqXKIIPU.js → plsql-DGHpHOYJ.js} +0 -0
  393. /package/dist/client/assets/{po-C5lHU9KQ.js → po-BiJDBrnU.js} +0 -0
  394. /package/dist/client/assets/{poimandres-3PFzcj5x.js → poimandres-DRFjx7u4.js} +0 -0
  395. /package/dist/client/assets/{polar-C6NB-8j6.js → polar-C7UOKdEL.js} +0 -0
  396. /package/dist/client/assets/{postcss-vtVbFW0L.js → postcss-BXeXVLqQ.js} +0 -0
  397. /package/dist/client/assets/{powerquery-hquWt5c6.js → powerquery-DNMTfnFr.js} +0 -0
  398. /package/dist/client/assets/{powershell-CQ330hRP.js → powershell-DshXNtvi.js} +0 -0
  399. /package/dist/client/assets/{prisma-BQON8_gf.js → prisma-BsRQq5mF.js} +0 -0
  400. /package/dist/client/assets/{prolog-0b9P4dbF.js → prolog-iXnhIJG7.js} +0 -0
  401. /package/dist/client/assets/{proto-CLvr77Vf.js → proto-DB4EqR-F.js} +0 -0
  402. /package/dist/client/assets/{puppet-BT0t2Kuu.js → puppet-CDv2pdJW.js} +0 -0
  403. /package/dist/client/assets/{purescript-DkMvIExr.js → purescript-9MfHhQsQ.js} +0 -0
  404. /package/dist/client/assets/{python-wd06zWQV.js → python-gzcpVVnB.js} +0 -0
  405. /package/dist/client/assets/{qmldir-llhyId5r.js → qmldir-DCQb3MpD.js} +0 -0
  406. /package/dist/client/assets/{qss-CVMsEoHp.js → qss-Fe1Jh2GI.js} +0 -0
  407. /package/dist/client/assets/{racket-DBMp3jda.js → racket-DcIDlBhZ.js} +0 -0
  408. /package/dist/client/assets/{raku-BRxsLZ2S.js → raku-B3gFvitq.js} +0 -0
  409. /package/dist/client/assets/{red-qaVQBZPK.js → red-CJ3rzSJv.js} +0 -0
  410. /package/dist/client/assets/{reg-BDyfNUUq.js → reg-CRGYupPL.js} +0 -0
  411. /package/dist/client/assets/{rel-DdGqSVEp.js → rel-BtDbiS_P.js} +0 -0
  412. /package/dist/client/assets/{riscv-DV28q7Fg.js → riscv-Ckw8ddFX.js} +0 -0
  413. /package/dist/client/assets/{ron-CY4nyhYH.js → ron-VUp2lXgN.js} +0 -0
  414. /package/dist/client/assets/{rose-pine-CxNAz5gp.js → rose-pine-BthvhNj6.js} +0 -0
  415. /package/dist/client/assets/{rose-pine-dawn-xFu_N-rV.js → rose-pine-dawn-Dg85fqjY.js} +0 -0
  416. /package/dist/client/assets/{rose-pine-moon-DK-HvE6Y.js → rose-pine-moon-hon4tzzS.js} +0 -0
  417. /package/dist/client/assets/{rosmsg-K2kzuYs8.js → rosmsg-CAekHB0j.js} +0 -0
  418. /package/dist/client/assets/{rust-DZfNSAHN.js → rust-Cfkwpbl8.js} +0 -0
  419. /package/dist/client/assets/{sass-DIGpNETF.js → sass-DXrisJhu.js} +0 -0
  420. /package/dist/client/assets/{scala-Dm4xFcTl.js → scala-DKOlJaKm.js} +0 -0
  421. /package/dist/client/assets/{scheme-Dyo1jQfP.js → scheme-DQCgrYNe.js} +0 -0
  422. /package/dist/client/assets/{sdbl-C0HF5Szh.js → sdbl-bTVj8UrX.js} +0 -0
  423. /package/dist/client/assets/{slack-dark-jzjOs3ob.js → slack-dark-DnToyrRv.js} +0 -0
  424. /package/dist/client/assets/{slack-ochin-CrJIbU0m.js → slack-ochin-B2OO5cIa.js} +0 -0
  425. /package/dist/client/assets/{smalltalk-DD30vTCS.js → smalltalk-B16xEiuN.js} +0 -0
  426. /package/dist/client/assets/{snazzy-light-DWAW_zRS.js → snazzy-light-4G7pJPwS.js} +0 -0
  427. /package/dist/client/assets/{solarized-dark-QfOoX52e.js → solarized-dark-DV17i1UV.js} +0 -0
  428. /package/dist/client/assets/{solarized-light-3Q8bP0PY.js → solarized-light-DSh2HLQt.js} +0 -0
  429. /package/dist/client/assets/{solidity-DEXV1iYf.js → solidity-CKzVLygQ.js} +0 -0
  430. /package/dist/client/assets/{splunk-D3yrvsJB.js → splunk-BC2Px7Mm.js} +0 -0
  431. /package/dist/client/assets/{ssh-config-DJbT8CNv.js → ssh-config-BgfXC-Er.js} +0 -0
  432. /package/dist/client/assets/{stylus-D7yuZo8M.js → stylus-B6D30XZt.js} +0 -0
  433. /package/dist/client/assets/{swift-Dcka7tnA.js → swift-DonLKvLd.js} +0 -0
  434. /package/dist/client/assets/{synthwave-84-Cp0uE3e0.js → synthwave-84-nFMaYfgc.js} +0 -0
  435. /package/dist/client/assets/{system-verilog-0hmR2xuR.js → system-verilog-DJ5XKQeo.js} +0 -0
  436. /package/dist/client/assets/{systemd-JaNPzh8j.js → systemd-BxMlprV5.js} +0 -0
  437. /package/dist/client/assets/{talonscript-BPHMb4jr.js → talonscript-CohzipZa.js} +0 -0
  438. /package/dist/client/assets/{tasl-D07ubp53.js → tasl-DMoTqEGO.js} +0 -0
  439. /package/dist/client/assets/{tcl-DRL4sBMb.js → tcl-CZd0xW_V.js} +0 -0
  440. /package/dist/client/assets/{terraform-C8KioG9C.js → terraform-DswuEJGm.js} +0 -0
  441. /package/dist/client/assets/{tokyo-night-sVj4Hc0t.js → tokyo-night-oM2G3aXe.js} +0 -0
  442. /package/dist/client/assets/{toml-DOSf8MYV.js → toml-CcmNWLt0.js} +0 -0
  443. /package/dist/client/assets/{tsv-BpjyUJlf.js → tsv-sltzmVWM.js} +0 -0
  444. /package/dist/client/assets/{turtle-x_g5g_iY.js → turtle-ByJddavk.js} +0 -0
  445. /package/dist/client/assets/{typespec-Dfd73-vI.js → typespec-B88KGewJ.js} +0 -0
  446. /package/dist/client/assets/{typst-Dlb0aZU4.js → typst-DI99ib-x.js} +0 -0
  447. /package/dist/client/assets/{v-v-fvjFiX.js → v-DETTlOr0.js} +0 -0
  448. /package/dist/client/assets/{vala-D9-xQ00Z.js → vala-zf12oZj6.js} +0 -0
  449. /package/dist/client/assets/{vb-BReSiWNQ.js → vb-Djn5o6TS.js} +0 -0
  450. /package/dist/client/assets/{verilog-DfyNqRJD.js → verilog-CiiDBU1e.js} +0 -0
  451. /package/dist/client/assets/{vesper-Bv60RWju.js → vesper-D5bVUKB1.js} +0 -0
  452. /package/dist/client/assets/{vhdl-DbQyuq9g.js → vhdl-BroJfC0k.js} +0 -0
  453. /package/dist/client/assets/{viml-DhThL36t.js → viml-DvXPmvsu.js} +0 -0
  454. /package/dist/client/assets/{vitesse-black-CThrVPkw.js → vitesse-black-fwtXNY1n.js} +0 -0
  455. /package/dist/client/assets/{vitesse-dark-BrahNcrX.js → vitesse-dark-BZCL-v6S.js} +0 -0
  456. /package/dist/client/assets/{vitesse-light-BCKYomrh.js → vitesse-light-VbXTXTou.js} +0 -0
  457. /package/dist/client/assets/{vyper-e4AwrcSk.js → vyper-CgoNMtux.js} +0 -0
  458. /package/dist/client/assets/{wasm-Cia-w-S9.js → wasm-BnjxR4X6.js} +0 -0
  459. /package/dist/client/assets/{wasm-B1MrEdvT.js → wasm-ByWQv1Qj.js} +0 -0
  460. /package/dist/client/assets/{wenyan-CrxLlNlW.js → wenyan-C8pVoKbM.js} +0 -0
  461. /package/dist/client/assets/{wgsl-BpsXvExJ.js → wgsl-BsKzXJz4.js} +0 -0
  462. /package/dist/client/assets/{wikitext-C6XIgJ_Z.js → wikitext-ClFFjSW2.js} +0 -0
  463. /package/dist/client/assets/{wit-DkjXKZxQ.js → wit-DdvCle-K.js} +0 -0
  464. /package/dist/client/assets/{wolfram--3zV4S15.js → wolfram-DLL8P-h_.js} +0 -0
  465. /package/dist/client/assets/{zenscript-BLGtygmo.js → zenscript-BnlCZFoB.js} +0 -0
  466. /package/dist/client/assets/{zig-CaWWBKRf.js → zig-CMLA9XwU.js} +0 -0
@@ -1,55 +1,57 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const require_bin = require('./bin.cjs');
4
- const require_makeManagedServerProvider = require('./makeManagedServerProvider-DVrBJ3h3.cjs');
5
- const require_ProviderDriver = require('./ProviderDriver-DJK4EOeA.cjs');
3
+ const require_chunk = require("./chunk-jM1PLTSZ.cjs");
4
+ const require_collectUint8StreamText = require("./collectUint8StreamText-DbCOJom3.cjs");
5
+ const require_Metrics = require("./Metrics-DNOriWhP.cjs");
6
+ const require_bin = require("./bin.cjs");
7
+ const require_makeManagedServerProvider = require("./makeManagedServerProvider-C3cQUDkZ.cjs");
8
+ const require_ProviderDriver = require("./ProviderDriver--rNeAi3B.cjs");
6
9
  let effect_Effect = require("effect/Effect");
7
- effect_Effect = require_bin.__toESM(effect_Effect);
10
+ effect_Effect = require_chunk.__toESM(effect_Effect, 1);
8
11
  let effect_Layer = require("effect/Layer");
9
- effect_Layer = require_bin.__toESM(effect_Layer);
12
+ effect_Layer = require_chunk.__toESM(effect_Layer, 1);
10
13
  let effect = require("effect");
11
14
  let effect_Schema = require("effect/Schema");
12
- effect_Schema = require_bin.__toESM(effect_Schema);
15
+ effect_Schema = require_chunk.__toESM(effect_Schema, 1);
13
16
  let effect_unstable_rpc_Rpc = require("effect/unstable/rpc/Rpc");
14
- effect_unstable_rpc_Rpc = require_bin.__toESM(effect_unstable_rpc_Rpc);
17
+ effect_unstable_rpc_Rpc = require_chunk.__toESM(effect_unstable_rpc_Rpc, 1);
15
18
  let effect_unstable_rpc_RpcGroup = require("effect/unstable/rpc/RpcGroup");
16
- effect_unstable_rpc_RpcGroup = require_bin.__toESM(effect_unstable_rpc_RpcGroup);
19
+ effect_unstable_rpc_RpcGroup = require_chunk.__toESM(effect_unstable_rpc_RpcGroup, 1);
17
20
  let effect_unstable_http = require("effect/unstable/http");
18
21
  let node_os = require("node:os");
19
- node_os = require_bin.__toESM(node_os);
22
+ node_os = require_chunk.__toESM(node_os, 1);
20
23
  let node_path = require("node:path");
21
- node_path = require_bin.__toESM(node_path);
22
- let effect_unstable_rpc = require("effect/unstable/rpc");
24
+ node_path = require_chunk.__toESM(node_path, 1);
25
+ require("effect/unstable/rpc");
23
26
  let effect_Context = require("effect/Context");
24
- effect_Context = require_bin.__toESM(effect_Context);
27
+ effect_Context = require_chunk.__toESM(effect_Context, 1);
25
28
  let effect_Scope = require("effect/Scope");
26
- effect_Scope = require_bin.__toESM(effect_Scope);
29
+ effect_Scope = require_chunk.__toESM(effect_Scope, 1);
27
30
  let effect_Stdio = require("effect/Stdio");
28
- effect_Stdio = require_bin.__toESM(effect_Stdio);
31
+ effect_Stdio = require_chunk.__toESM(effect_Stdio, 1);
29
32
  let effect_unstable_process = require("effect/unstable/process");
30
33
  require("effect/Cause");
31
34
  let effect_Deferred = require("effect/Deferred");
32
- effect_Deferred = require_bin.__toESM(effect_Deferred);
35
+ effect_Deferred = require_chunk.__toESM(effect_Deferred, 1);
33
36
  let effect_Queue = require("effect/Queue");
34
- effect_Queue = require_bin.__toESM(effect_Queue);
37
+ effect_Queue = require_chunk.__toESM(effect_Queue, 1);
35
38
  let effect_Ref = require("effect/Ref");
36
- effect_Ref = require_bin.__toESM(effect_Ref);
39
+ effect_Ref = require_chunk.__toESM(effect_Ref, 1);
37
40
  let effect_Stream = require("effect/Stream");
38
- effect_Stream = require_bin.__toESM(effect_Stream);
41
+ effect_Stream = require_chunk.__toESM(effect_Stream, 1);
39
42
  let effect_SchemaIssue = require("effect/SchemaIssue");
40
- effect_SchemaIssue = require_bin.__toESM(effect_SchemaIssue);
43
+ effect_SchemaIssue = require_chunk.__toESM(effect_SchemaIssue, 1);
41
44
  let effect_Sink = require("effect/Sink");
42
- effect_Sink = require_bin.__toESM(effect_Sink);
45
+ effect_Sink = require_chunk.__toESM(effect_Sink, 1);
43
46
  let effect_unstable_rpc_RpcClient = require("effect/unstable/rpc/RpcClient");
44
- effect_unstable_rpc_RpcClient = require_bin.__toESM(effect_unstable_rpc_RpcClient);
47
+ effect_unstable_rpc_RpcClient = require_chunk.__toESM(effect_unstable_rpc_RpcClient, 1);
45
48
  let effect_unstable_rpc_RpcServer = require("effect/unstable/rpc/RpcServer");
46
- effect_unstable_rpc_RpcServer = require_bin.__toESM(effect_unstable_rpc_RpcServer);
49
+ effect_unstable_rpc_RpcServer = require_chunk.__toESM(effect_unstable_rpc_RpcServer, 1);
47
50
  let effect_unstable_rpc_RpcClientError = require("effect/unstable/rpc/RpcClientError");
48
- effect_unstable_rpc_RpcClientError = require_bin.__toESM(effect_unstable_rpc_RpcClientError);
51
+ effect_unstable_rpc_RpcClientError = require_chunk.__toESM(effect_unstable_rpc_RpcClientError, 1);
49
52
  require("effect/unstable/rpc/RpcMessage");
50
53
  let effect_unstable_rpc_RpcSerialization = require("effect/unstable/rpc/RpcSerialization");
51
- effect_unstable_rpc_RpcSerialization = require_bin.__toESM(effect_unstable_rpc_RpcSerialization);
52
-
54
+ effect_unstable_rpc_RpcSerialization = require_chunk.__toESM(effect_unstable_rpc_RpcSerialization, 1);
53
55
  //#region ../../packages/effect-acp/src/_generated/schema.gen.ts
54
56
  const AuthEnvVar = effect_Schema.Struct({
55
57
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
@@ -620,11 +622,11 @@ const SessionModeState = effect_Schema.Struct({
620
622
  availableModes: effect_Schema.Array(SessionMode).annotate({ description: "The set of modes that the Agent can operate in" }),
621
623
  currentModeId: effect_Schema.String.annotate({ description: "Unique identifier for a Session Mode." })
622
624
  }).annotate({ description: "The set of modes and the one currently active." });
623
- const AgentAuthCapabilities = effect_Schema.Struct({
625
+ effect_Schema.Struct({
624
626
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
625
627
  logout: effect_Schema.optionalKey(effect_Schema.Union([LogoutCapabilities, effect_Schema.Null]).annotate({ description: "Whether the agent supports the logout method.\n\nBy supplying `{}` it means that the agent supports the logout method." }))
626
628
  }).annotate({ description: "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nAuthentication-related capabilities supported by the agent." });
627
- const AgentCapabilities = effect_Schema.Struct({
629
+ effect_Schema.Struct({
628
630
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
629
631
  auth: effect_Schema.optionalKey(effect_Schema.Struct({
630
632
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
@@ -687,7 +689,7 @@ const AgentCapabilities = effect_Schema.Struct({
687
689
  description: "Session capabilities supported by the agent.\n\nAs a baseline, all Agents **MUST** support `session/new`, `session/prompt`, `session/cancel`, and `session/update`.\n\nOptionally, they **MAY** support other session methods and notifications by specifying additional capabilities.\n\nNote: `session/load` is still handled by the top-level `load_session` capability. This will be unified in future versions of the protocol.\n\nSee protocol docs: [Session Capabilities](https://agentclientprotocol.com/protocol/initialization#session-capabilities)"
688
690
  }))
689
691
  }).annotate({ description: "Capabilities supported by the agent.\n\nAdvertised during initialization to inform the client about\navailable features and content types.\n\nSee protocol docs: [Agent Capabilities](https://agentclientprotocol.com/protocol/initialization#agent-capabilities)" });
690
- const AgentNotification = effect_Schema.Struct({
692
+ effect_Schema.Struct({
691
693
  method: effect_Schema.String,
692
694
  params: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Union([
693
695
  effect_Schema.Struct({
@@ -926,7 +928,7 @@ const AgentNotification = effect_Schema.Struct({
926
928
  })
927
929
  ]).annotate({ description: "All possible notifications that an agent can send to a client.\n\nThis enum is used internally for routing RPC notifications. You typically won't need\nto use this directly - use the notification methods on the [`Client`] trait instead.\n\nNotifications do not expect a response." }), effect_Schema.Null]))
928
930
  });
929
- const AgentRequest = effect_Schema.Struct({
931
+ effect_Schema.Struct({
930
932
  id: RequestId,
931
933
  method: effect_Schema.String,
932
934
  params: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Union([
@@ -1059,7 +1061,7 @@ const AgentRequest = effect_Schema.Struct({
1059
1061
  })
1060
1062
  ]).annotate({ description: "All possible requests that an agent can send to a client.\n\nThis enum is used internally for routing RPC requests. You typically won't need\nto use this directly - instead, use the methods on the [`Client`] trait.\n\nThis enum encompasses all method calls from agent to client." }), effect_Schema.Null]))
1061
1063
  });
1062
- const AgentResponse = effect_Schema.Union([effect_Schema.Struct({
1064
+ effect_Schema.Union([effect_Schema.Struct({
1063
1065
  id: RequestId,
1064
1066
  result: effect_Schema.Union([
1065
1067
  effect_Schema.Struct({
@@ -1253,13 +1255,13 @@ const AgentResponse = effect_Schema.Union([effect_Schema.Struct({
1253
1255
  error: Error$1,
1254
1256
  id: RequestId
1255
1257
  }).annotate({ title: "Error" })]);
1256
- const AudioContent = effect_Schema.Struct({
1258
+ effect_Schema.Struct({
1257
1259
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
1258
1260
  annotations: effect_Schema.optionalKey(effect_Schema.Union([Annotations, effect_Schema.Null])),
1259
1261
  data: effect_Schema.String,
1260
1262
  mimeType: effect_Schema.String
1261
1263
  }).annotate({ description: "Audio provided to or from an LLM." });
1262
- const AuthCapabilities = effect_Schema.Struct({
1264
+ effect_Schema.Struct({
1263
1265
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
1264
1266
  terminal: effect_Schema.optionalKey(effect_Schema.Boolean.annotate({
1265
1267
  description: "Whether the client supports `terminal` authentication methods.\n\nWhen `true`, the agent may include `terminal` entries in its authentication methods.",
@@ -1271,13 +1273,13 @@ const AuthenticateRequest = effect_Schema.Struct({
1271
1273
  methodId: effect_Schema.String.annotate({ description: "The ID of the authentication method to use.\nMust be one of the methods advertised in the initialize response." })
1272
1274
  }).annotate({ description: "Request parameters for the authenticate method.\n\nSpecifies which authentication method to use." });
1273
1275
  const AuthenticateResponse = effect_Schema.Struct({ _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])) }).annotate({ description: "Response to the `authenticate` method." });
1274
- const AuthMethodAgent = effect_Schema.Struct({
1276
+ effect_Schema.Struct({
1275
1277
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
1276
1278
  description: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.String.annotate({ description: "Optional description providing more details about this authentication method." }), effect_Schema.Null])),
1277
1279
  id: effect_Schema.String.annotate({ description: "Unique identifier for this authentication method." }),
1278
1280
  name: effect_Schema.String.annotate({ description: "Human-readable name of the authentication method." })
1279
1281
  }).annotate({ description: "Agent handles authentication itself.\n\nThis is the default authentication method type." });
1280
- const AuthMethodEnvVar = effect_Schema.Struct({
1282
+ effect_Schema.Struct({
1281
1283
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
1282
1284
  description: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.String.annotate({ description: "Optional description providing more details about this authentication method." }), effect_Schema.Null])),
1283
1285
  id: effect_Schema.String.annotate({ description: "Unique identifier for this authentication method." }),
@@ -1285,7 +1287,7 @@ const AuthMethodEnvVar = effect_Schema.Struct({
1285
1287
  name: effect_Schema.String.annotate({ description: "Human-readable name of the authentication method." }),
1286
1288
  vars: effect_Schema.Array(AuthEnvVar).annotate({ description: "The environment variables the client should set." })
1287
1289
  }).annotate({ description: "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nEnvironment variable authentication method.\n\nThe user provides credentials that the client passes to the agent as environment variables." });
1288
- const AuthMethodTerminal = effect_Schema.Struct({
1290
+ effect_Schema.Struct({
1289
1291
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
1290
1292
  args: effect_Schema.optionalKey(effect_Schema.Array(effect_Schema.String).annotate({ description: "Additional arguments to pass when running the agent binary for terminal auth." })),
1291
1293
  description: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.String.annotate({ description: "Optional description providing more details about this authentication method." }), effect_Schema.Null])),
@@ -1293,26 +1295,26 @@ const AuthMethodTerminal = effect_Schema.Struct({
1293
1295
  id: effect_Schema.String.annotate({ description: "Unique identifier for this authentication method." }),
1294
1296
  name: effect_Schema.String.annotate({ description: "Human-readable name of the authentication method." })
1295
1297
  }).annotate({ description: "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nTerminal-based authentication method.\n\nThe client runs an interactive terminal for the user to authenticate via a TUI." });
1296
- const AvailableCommandsUpdate = effect_Schema.Struct({
1298
+ effect_Schema.Struct({
1297
1299
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
1298
1300
  availableCommands: effect_Schema.Array(AvailableCommand).annotate({ description: "Commands the agent can execute" })
1299
1301
  }).annotate({ description: "Available commands are ready or have changed" });
1300
- const BlobResourceContents = effect_Schema.Struct({
1302
+ effect_Schema.Struct({
1301
1303
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
1302
1304
  blob: effect_Schema.String,
1303
1305
  mimeType: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.String, effect_Schema.Null])),
1304
1306
  uri: effect_Schema.String
1305
1307
  }).annotate({ description: "Binary resource contents." });
1306
- const BooleanPropertySchema = effect_Schema.Struct({
1308
+ effect_Schema.Struct({
1307
1309
  default: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Boolean.annotate({ description: "Default value." }), effect_Schema.Null])),
1308
1310
  description: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.String.annotate({ description: "Human-readable description." }), effect_Schema.Null])),
1309
1311
  title: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.String.annotate({ description: "Optional title for the property." }), effect_Schema.Null]))
1310
1312
  }).annotate({ description: "Schema for boolean properties in an elicitation form." });
1311
- const CancelNotification = effect_Schema.Struct({
1313
+ effect_Schema.Struct({
1312
1314
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
1313
1315
  sessionId: effect_Schema.String.annotate({ description: "A unique identifier for a conversation session between a client and agent.\n\nSessions maintain their own context, conversation history, and state,\nallowing multiple independent interactions with the same agent.\n\nSee protocol docs: [Session ID](https://agentclientprotocol.com/protocol/session-setup#session-id)" })
1314
1316
  }).annotate({ description: "Notification to cancel ongoing operations for a session.\n\nSee protocol docs: [Cancellation](https://agentclientprotocol.com/protocol/prompt-turn#cancellation)" });
1315
- const CancelRequestNotification = effect_Schema.Struct({
1317
+ effect_Schema.Struct({
1316
1318
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
1317
1319
  requestId: effect_Schema.Union([
1318
1320
  effect_Schema.Null.annotate({ title: "Null" }),
@@ -1323,7 +1325,7 @@ const CancelRequestNotification = effect_Schema.Struct({
1323
1325
  effect_Schema.String.annotate({ title: "Str" })
1324
1326
  ]).annotate({ description: "JSON RPC Request Id\n\nAn identifier established by the Client that MUST contain a String, Number, or NULL value if included. If it is not included it is assumed to be a notification. The value SHOULD normally not be Null [1] and Numbers SHOULD NOT contain fractional parts [2]\n\nThe Server MUST reply with the same value in the Response object if included. This member is used to correlate the context between the two objects.\n\n[1] The use of Null as a value for the id member in a Request object is discouraged, because this specification uses a value of Null for Responses with an unknown id. Also, because JSON-RPC 1.0 uses an id value of Null for Notifications this could cause confusion in handling.\n\n[2] Fractional parts may be problematic, since many decimal fractions cannot be represented exactly as binary fractions." })
1325
1327
  }).annotate({ description: "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nNotification to cancel an ongoing request.\n\nSee protocol docs: [Cancellation](https://agentclientprotocol.com/protocol/cancellation)" });
1326
- const ClientCapabilities = effect_Schema.Struct({
1328
+ effect_Schema.Struct({
1327
1329
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
1328
1330
  auth: effect_Schema.optionalKey(effect_Schema.Struct({
1329
1331
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
@@ -1358,7 +1360,7 @@ const ClientCapabilities = effect_Schema.Struct({
1358
1360
  default: false
1359
1361
  }))
1360
1362
  }).annotate({ description: "Capabilities supported by the client.\n\nAdvertised during initialization to inform the agent about\navailable features and methods.\n\nSee protocol docs: [Client Capabilities](https://agentclientprotocol.com/protocol/initialization#client-capabilities)" });
1361
- const ClientNotification = effect_Schema.Struct({
1363
+ effect_Schema.Struct({
1362
1364
  method: effect_Schema.String,
1363
1365
  params: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Union([effect_Schema.Struct({
1364
1366
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
@@ -1371,7 +1373,7 @@ const ClientNotification = effect_Schema.Struct({
1371
1373
  description: "Allows the Agent to send an arbitrary notification that is not part of the ACP spec.\nExtension notifications provide a way to send one-way messages for custom functionality\nwhile maintaining protocol compatibility.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)"
1372
1374
  })]).annotate({ description: "All possible notifications that a client can send to an agent.\n\nThis enum is used internally for routing RPC notifications. You typically won't need\nto use this directly - use the notification methods on the [`Agent`] trait instead.\n\nNotifications do not expect a response." }), effect_Schema.Null]))
1373
1375
  });
1374
- const ClientRequest = effect_Schema.Struct({
1376
+ effect_Schema.Struct({
1375
1377
  id: RequestId,
1376
1378
  method: effect_Schema.String,
1377
1379
  params: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Union([
@@ -1541,7 +1543,7 @@ const ClientRequest = effect_Schema.Struct({
1541
1543
  })
1542
1544
  ]).annotate({ description: "All possible requests that a client can send to an agent.\n\nThis enum is used internally for routing RPC requests. You typically won't need\nto use this directly - instead, use the methods on the [`Agent`] trait.\n\nThis enum encompasses all method calls from client to agent." }), effect_Schema.Null]))
1543
1545
  });
1544
- const ClientResponse = effect_Schema.Union([effect_Schema.Struct({
1546
+ effect_Schema.Union([effect_Schema.Struct({
1545
1547
  id: RequestId,
1546
1548
  result: effect_Schema.Union([
1547
1549
  effect_Schema.Struct({ _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])) }).annotate({
@@ -1629,11 +1631,11 @@ const CloseSessionRequest = effect_Schema.Struct({
1629
1631
  sessionId: effect_Schema.String.annotate({ description: "A unique identifier for a conversation session between a client and agent.\n\nSessions maintain their own context, conversation history, and state,\nallowing multiple independent interactions with the same agent.\n\nSee protocol docs: [Session ID](https://agentclientprotocol.com/protocol/session-setup#session-id)" })
1630
1632
  }).annotate({ description: "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nRequest parameters for closing an active session.\n\nIf supported, the agent **must** cancel any ongoing work related to the session\n(treat it as if `session/cancel` was called) and then free up any resources\nassociated with the session.\n\nOnly available if the Agent supports the `session.close` capability." });
1631
1633
  const CloseSessionResponse = effect_Schema.Struct({ _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])) }).annotate({ description: "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nResponse from closing a session." });
1632
- const ConfigOptionUpdate = effect_Schema.Struct({
1634
+ effect_Schema.Struct({
1633
1635
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
1634
1636
  configOptions: effect_Schema.Array(SessionConfigOption).annotate({ description: "The full set of configuration options and their current values." })
1635
1637
  }).annotate({ description: "Session configuration options have been updated." });
1636
- const Content = effect_Schema.Struct({
1638
+ effect_Schema.Struct({
1637
1639
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
1638
1640
  content: effect_Schema.Union([
1639
1641
  effect_Schema.Struct({
@@ -1676,7 +1678,7 @@ const Content = effect_Schema.Struct({
1676
1678
  }).annotate({ description: "The contents of a resource, embedded into a prompt or tool call result." })
1677
1679
  ], { mode: "oneOf" }).annotate({ description: "Content blocks represent displayable information in the Agent Client Protocol.\n\nThey provide a structured way to handle various types of user-facing content—whether\nit's text from language models, images for analysis, or embedded resources for context.\n\nContent blocks appear in:\n- User prompts sent via `session/prompt`\n- Language model output streamed through `session/update` notifications\n- Progress updates and results from tool calls\n\nThis structure is compatible with the Model Context Protocol (MCP), enabling\nagents to seamlessly forward content from MCP tool outputs without transformation.\n\nSee protocol docs: [Content](https://agentclientprotocol.com/protocol/content)" })
1678
1680
  }).annotate({ description: "Standard content block (text, images, resources)." });
1679
- const ContentChunk = effect_Schema.Struct({
1681
+ effect_Schema.Struct({
1680
1682
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
1681
1683
  content: effect_Schema.Union([
1682
1684
  effect_Schema.Struct({
@@ -1736,18 +1738,18 @@ const CreateTerminalResponse = effect_Schema.Struct({
1736
1738
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
1737
1739
  terminalId: effect_Schema.String.annotate({ description: "The unique identifier for the created terminal." })
1738
1740
  }).annotate({ description: "Response containing the ID of the created terminal." });
1739
- const CurrentModeUpdate = effect_Schema.Struct({
1741
+ effect_Schema.Struct({
1740
1742
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
1741
1743
  currentModeId: effect_Schema.String.annotate({ description: "Unique identifier for a Session Mode." })
1742
1744
  }).annotate({ description: "The current mode of the session has changed\n\nSee protocol docs: [Session Modes](https://agentclientprotocol.com/protocol/session-modes)" });
1743
- const Diff = effect_Schema.Struct({
1745
+ effect_Schema.Struct({
1744
1746
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
1745
1747
  newText: effect_Schema.String.annotate({ description: "The new content after modification." }),
1746
1748
  oldText: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.String.annotate({ description: "The original content (None for new files)." }), effect_Schema.Null])),
1747
1749
  path: effect_Schema.String.annotate({ description: "The file path being modified." })
1748
1750
  }).annotate({ description: "A diff representing file modifications.\n\nShows changes to files in a format suitable for display in the client UI.\n\nSee protocol docs: [Content](https://agentclientprotocol.com/protocol/tool-calls#content)" });
1749
- const ElicitationAcceptAction = effect_Schema.Struct({ content: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, ElicitationContentValue).annotate({ description: "The user-provided content, if any, as an object matching the requested schema." }), effect_Schema.Null])) }).annotate({ description: "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nThe user accepted the elicitation and provided content." });
1750
- const ElicitationAction = effect_Schema.Union([
1751
+ effect_Schema.Struct({ content: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, ElicitationContentValue).annotate({ description: "The user-provided content, if any, as an object matching the requested schema." }), effect_Schema.Null])) }).annotate({ description: "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nThe user accepted the elicitation and provided content." });
1752
+ effect_Schema.Union([
1751
1753
  effect_Schema.Struct({
1752
1754
  action: effect_Schema.Literal("accept"),
1753
1755
  content: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, ElicitationContentValue).annotate({ description: "The user-provided content, if any, as an object matching the requested schema." }), effect_Schema.Null]))
@@ -1759,7 +1761,7 @@ const ElicitationCompleteNotification = effect_Schema.Struct({
1759
1761
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
1760
1762
  elicitationId: effect_Schema.String.annotate({ description: "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nUnique identifier for an elicitation." })
1761
1763
  }).annotate({ description: "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nNotification sent by the agent when a URL-based elicitation is complete." });
1762
- const ElicitationFormMode = effect_Schema.Struct({ requestedSchema: effect_Schema.Struct({
1764
+ effect_Schema.Struct({ requestedSchema: effect_Schema.Struct({
1763
1765
  description: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.String.annotate({ description: "Optional description of what this schema represents." }), effect_Schema.Null])),
1764
1766
  properties: effect_Schema.optionalKey(effect_Schema.Record(effect_Schema.String, ElicitationPropertySchema).annotate({
1765
1767
  description: "Property definitions (must be primitive types).",
@@ -1772,7 +1774,7 @@ const ElicitationFormMode = effect_Schema.Struct({ requestedSchema: effect_Schem
1772
1774
  default: "object"
1773
1775
  }))
1774
1776
  }).annotate({ description: "Type-safe elicitation schema for requesting structured user input.\n\nThis represents a JSON Schema object with primitive-typed properties,\nas required by the elicitation specification." }) }).annotate({ description: "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nForm-based elicitation mode where the client renders a form from the provided schema." });
1775
- const ElicitationId = effect_Schema.String.annotate({ description: "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nUnique identifier for an elicitation." });
1777
+ effect_Schema.String.annotate({ description: "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nUnique identifier for an elicitation." });
1776
1778
  const ElicitationRequest = effect_Schema.Union([effect_Schema.Struct({
1777
1779
  mode: effect_Schema.Literal("form"),
1778
1780
  requestedSchema: effect_Schema.Struct({
@@ -1813,7 +1815,7 @@ const ElicitationResponse = effect_Schema.Struct({
1813
1815
  effect_Schema.Struct({ action: effect_Schema.Literal("cancel") }).annotate({ description: "The elicitation was cancelled." })
1814
1816
  ], { mode: "oneOf" }).annotate({ description: "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nThe user's action in response to an elicitation." })
1815
1817
  }).annotate({ description: "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nResponse from the client to an elicitation request." });
1816
- const ElicitationSchema = effect_Schema.Struct({
1818
+ effect_Schema.Struct({
1817
1819
  description: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.String.annotate({ description: "Optional description of what this schema represents." }), effect_Schema.Null])),
1818
1820
  properties: effect_Schema.optionalKey(effect_Schema.Record(effect_Schema.String, ElicitationPropertySchema).annotate({
1819
1821
  description: "Property definitions (must be primitive types).",
@@ -1826,16 +1828,16 @@ const ElicitationSchema = effect_Schema.Struct({
1826
1828
  default: "object"
1827
1829
  }))
1828
1830
  }).annotate({ description: "Type-safe elicitation schema for requesting structured user input.\n\nThis represents a JSON Schema object with primitive-typed properties,\nas required by the elicitation specification." });
1829
- const ElicitationSchemaType = effect_Schema.Literal("object").annotate({ description: "Type discriminator for elicitation schemas." });
1830
- const ElicitationStringType = effect_Schema.Literal("string").annotate({ description: "Items definition for untitled multi-select enum properties." });
1831
- const ElicitationUrlMode = effect_Schema.Struct({
1831
+ effect_Schema.Literal("object").annotate({ description: "Type discriminator for elicitation schemas." });
1832
+ effect_Schema.Literal("string").annotate({ description: "Items definition for untitled multi-select enum properties." });
1833
+ effect_Schema.Struct({
1832
1834
  elicitationId: effect_Schema.String.annotate({ description: "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nUnique identifier for an elicitation." }),
1833
1835
  url: effect_Schema.String.annotate({
1834
1836
  description: "The URL to direct the user to.",
1835
1837
  format: "uri"
1836
1838
  })
1837
1839
  }).annotate({ description: "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nURL-based elicitation mode where the client directs the user to a URL." });
1838
- const EmbeddedResource = effect_Schema.Struct({
1840
+ effect_Schema.Struct({
1839
1841
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
1840
1842
  annotations: effect_Schema.optionalKey(effect_Schema.Union([Annotations, effect_Schema.Null])),
1841
1843
  resource: EmbeddedResourceResource
@@ -1892,10 +1894,10 @@ const ErrorCode = effect_Schema.Union([
1892
1894
  format: "int32"
1893
1895
  }).check(effect_Schema.isInt())
1894
1896
  ]).annotate({ description: "Predefined error codes for common JSON-RPC and ACP-specific errors.\n\nThese codes follow the JSON-RPC 2.0 specification for standard errors\nand use the reserved range (-32000 to -32099) for protocol-specific errors." });
1895
- const ExtNotification = effect_Schema.Unknown.annotate({ description: "Allows the Agent to send an arbitrary notification that is not part of the ACP spec.\nExtension notifications provide a way to send one-way messages for custom functionality\nwhile maintaining protocol compatibility.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" });
1896
- const ExtRequest = effect_Schema.Unknown.annotate({ description: "Allows for sending an arbitrary request that is not part of the ACP spec.\nExtension methods provide a way to add custom functionality while maintaining\nprotocol compatibility.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" });
1897
- const ExtResponse = effect_Schema.Unknown.annotate({ description: "Allows for sending an arbitrary response to an [`ExtRequest`] that is not part of the ACP spec.\nExtension methods provide a way to add custom functionality while maintaining\nprotocol compatibility.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" });
1898
- const FileSystemCapabilities = effect_Schema.Struct({
1897
+ effect_Schema.Unknown.annotate({ description: "Allows the Agent to send an arbitrary notification that is not part of the ACP spec.\nExtension notifications provide a way to send one-way messages for custom functionality\nwhile maintaining protocol compatibility.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" });
1898
+ effect_Schema.Unknown.annotate({ description: "Allows for sending an arbitrary request that is not part of the ACP spec.\nExtension methods provide a way to add custom functionality while maintaining\nprotocol compatibility.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" });
1899
+ effect_Schema.Unknown.annotate({ description: "Allows for sending an arbitrary response to an [`ExtRequest`] that is not part of the ACP spec.\nExtension methods provide a way to add custom functionality while maintaining\nprotocol compatibility.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" });
1900
+ effect_Schema.Struct({
1899
1901
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
1900
1902
  readTextFile: effect_Schema.optionalKey(effect_Schema.Boolean.annotate({
1901
1903
  description: "Whether the Client supports `fs/read_text_file` requests.",
@@ -1919,7 +1921,7 @@ const ForkSessionResponse = effect_Schema.Struct({
1919
1921
  modes: effect_Schema.optionalKey(effect_Schema.Union([SessionModeState, effect_Schema.Null]).annotate({ description: "Initial mode state if supported by the Agent\n\nSee protocol docs: [Session Modes](https://agentclientprotocol.com/protocol/session-modes)" })),
1920
1922
  sessionId: effect_Schema.String.annotate({ description: "A unique identifier for a conversation session between a client and agent.\n\nSessions maintain their own context, conversation history, and state,\nallowing multiple independent interactions with the same agent.\n\nSee protocol docs: [Session ID](https://agentclientprotocol.com/protocol/session-setup#session-id)" })
1921
1923
  }).annotate({ description: "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nResponse from forking an existing session." });
1922
- const ImageContent = effect_Schema.Struct({
1924
+ effect_Schema.Struct({
1923
1925
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
1924
1926
  annotations: effect_Schema.optionalKey(effect_Schema.Union([Annotations, effect_Schema.Null])),
1925
1927
  data: effect_Schema.String,
@@ -2070,7 +2072,7 @@ const InitializeResponse = effect_Schema.Struct({
2070
2072
  format: "uint16"
2071
2073
  }).check(effect_Schema.isInt()).check(effect_Schema.isGreaterThanOrEqualTo(0)).check(effect_Schema.isLessThanOrEqualTo(65535))
2072
2074
  }).annotate({ description: "Response to the `initialize` method.\n\nContains the negotiated protocol version and agent capabilities.\n\nSee protocol docs: [Initialization](https://agentclientprotocol.com/protocol/initialization)" });
2073
- const IntegerPropertySchema = effect_Schema.Struct({
2075
+ effect_Schema.Struct({
2074
2076
  default: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Number.annotate({
2075
2077
  description: "Default value.",
2076
2078
  format: "int64"
@@ -2116,7 +2118,7 @@ const LoadSessionResponse = effect_Schema.Struct({
2116
2118
  }).annotate({ description: "Response from loading an existing session." });
2117
2119
  const LogoutRequest = effect_Schema.Struct({ _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])) }).annotate({ description: "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nRequest parameters for the logout method.\n\nTerminates the current authenticated session." });
2118
2120
  const LogoutResponse = effect_Schema.Struct({ _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])) }).annotate({ description: "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nResponse to the `logout` method." });
2119
- const McpCapabilities = effect_Schema.Struct({
2121
+ effect_Schema.Struct({
2120
2122
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
2121
2123
  http: effect_Schema.optionalKey(effect_Schema.Boolean.annotate({
2122
2124
  description: "Agent supports [`McpServer::Http`].",
@@ -2127,27 +2129,27 @@ const McpCapabilities = effect_Schema.Struct({
2127
2129
  default: false
2128
2130
  }))
2129
2131
  }).annotate({ description: "MCP capabilities supported by the agent" });
2130
- const McpServerHttp = effect_Schema.Struct({
2132
+ effect_Schema.Struct({
2131
2133
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
2132
2134
  headers: effect_Schema.Array(HttpHeader).annotate({ description: "HTTP headers to set when making requests to the MCP server." }),
2133
2135
  name: effect_Schema.String.annotate({ description: "Human-readable name identifying this MCP server." }),
2134
2136
  url: effect_Schema.String.annotate({ description: "URL to the MCP server." })
2135
2137
  }).annotate({ description: "HTTP transport configuration for MCP." });
2136
- const McpServerSse = effect_Schema.Struct({
2138
+ effect_Schema.Struct({
2137
2139
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
2138
2140
  headers: effect_Schema.Array(HttpHeader).annotate({ description: "HTTP headers to set when making requests to the MCP server." }),
2139
2141
  name: effect_Schema.String.annotate({ description: "Human-readable name identifying this MCP server." }),
2140
2142
  url: effect_Schema.String.annotate({ description: "URL to the MCP server." })
2141
2143
  }).annotate({ description: "SSE transport configuration for MCP." });
2142
- const McpServerStdio = effect_Schema.Struct({
2144
+ effect_Schema.Struct({
2143
2145
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
2144
2146
  args: effect_Schema.Array(effect_Schema.String).annotate({ description: "Command-line arguments to pass to the MCP server." }),
2145
2147
  command: effect_Schema.String.annotate({ description: "Path to the MCP server executable." }),
2146
2148
  env: effect_Schema.Array(EnvVariable).annotate({ description: "Environment variables to set when launching the MCP server." }),
2147
2149
  name: effect_Schema.String.annotate({ description: "Human-readable name identifying this MCP server." })
2148
2150
  }).annotate({ description: "Stdio transport configuration for MCP." });
2149
- const ModelId = effect_Schema.String.annotate({ description: "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nA unique identifier for a model." });
2150
- const MultiSelectItems = effect_Schema.Union([effect_Schema.Struct({
2151
+ effect_Schema.String.annotate({ description: "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nA unique identifier for a model." });
2152
+ effect_Schema.Union([effect_Schema.Struct({
2151
2153
  enum: effect_Schema.Array(effect_Schema.String).annotate({ description: "Allowed enum values." }),
2152
2154
  type: effect_Schema.Literal("string").annotate({ description: "Items definition for untitled multi-select enum properties." })
2153
2155
  }).annotate({
@@ -2157,7 +2159,7 @@ const MultiSelectItems = effect_Schema.Union([effect_Schema.Struct({
2157
2159
  title: "Titled",
2158
2160
  description: "Items definition for titled multi-select enum properties."
2159
2161
  })]).annotate({ description: "Items for a multi-select (array) property schema." });
2160
- const MultiSelectPropertySchema = effect_Schema.Struct({
2162
+ effect_Schema.Struct({
2161
2163
  default: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Array(effect_Schema.String).annotate({ description: "Default selected values." }), effect_Schema.Null])),
2162
2164
  description: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.String.annotate({ description: "Human-readable description." }), effect_Schema.Null])),
2163
2165
  items: effect_Schema.Union([effect_Schema.Struct({
@@ -2192,7 +2194,7 @@ const NewSessionResponse = effect_Schema.Struct({
2192
2194
  modes: effect_Schema.optionalKey(effect_Schema.Union([SessionModeState, effect_Schema.Null]).annotate({ description: "Initial mode state if supported by the Agent\n\nSee protocol docs: [Session Modes](https://agentclientprotocol.com/protocol/session-modes)" })),
2193
2195
  sessionId: effect_Schema.String.annotate({ description: "A unique identifier for a conversation session between a client and agent.\n\nSessions maintain their own context, conversation history, and state,\nallowing multiple independent interactions with the same agent.\n\nSee protocol docs: [Session ID](https://agentclientprotocol.com/protocol/session-setup#session-id)" })
2194
2196
  }).annotate({ description: "Response from creating a new session.\n\nSee protocol docs: [Creating a Session](https://agentclientprotocol.com/protocol/session-setup#creating-a-session)" });
2195
- const NumberPropertySchema = effect_Schema.Struct({
2197
+ effect_Schema.Struct({
2196
2198
  default: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Number.annotate({
2197
2199
  description: "Default value.",
2198
2200
  format: "double"
@@ -2208,28 +2210,28 @@ const NumberPropertySchema = effect_Schema.Struct({
2208
2210
  }).check(effect_Schema.isFinite()), effect_Schema.Null])),
2209
2211
  title: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.String.annotate({ description: "Optional title for the property." }), effect_Schema.Null]))
2210
2212
  }).annotate({ description: "Schema for number (floating-point) properties in an elicitation form." });
2211
- const PermissionOptionId = effect_Schema.String.annotate({ description: "Unique identifier for a permission option." });
2212
- const PermissionOptionKind = effect_Schema.Literals([
2213
+ effect_Schema.String.annotate({ description: "Unique identifier for a permission option." });
2214
+ effect_Schema.Literals([
2213
2215
  "allow_once",
2214
2216
  "allow_always",
2215
2217
  "reject_once",
2216
2218
  "reject_always"
2217
2219
  ]).annotate({ description: "The type of permission option being presented to the user.\n\nHelps clients choose appropriate icons and UI treatment." });
2218
- const Plan = effect_Schema.Struct({
2220
+ effect_Schema.Struct({
2219
2221
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
2220
2222
  entries: effect_Schema.Array(PlanEntry).annotate({ description: "The list of tasks to be accomplished.\n\nWhen updating a plan, the agent must send a complete list of all entries\nwith their current status. The client replaces the entire plan with each update." })
2221
2223
  }).annotate({ description: "An execution plan for accomplishing complex tasks.\n\nPlans consist of multiple entries representing individual tasks or goals.\nAgents report plans to clients to provide visibility into their execution strategy.\nPlans can evolve during execution as the agent discovers new requirements or completes tasks.\n\nSee protocol docs: [Agent Plan](https://agentclientprotocol.com/protocol/agent-plan)" });
2222
- const PlanEntryPriority = effect_Schema.Literals([
2224
+ effect_Schema.Literals([
2223
2225
  "high",
2224
2226
  "medium",
2225
2227
  "low"
2226
2228
  ]).annotate({ description: "Priority levels for plan entries.\n\nUsed to indicate the relative importance or urgency of different\ntasks in the execution plan.\nSee protocol docs: [Plan Entries](https://agentclientprotocol.com/protocol/agent-plan#plan-entries)" });
2227
- const PlanEntryStatus = effect_Schema.Literals([
2229
+ effect_Schema.Literals([
2228
2230
  "pending",
2229
2231
  "in_progress",
2230
2232
  "completed"
2231
2233
  ]).annotate({ description: "Status of a plan entry in the execution flow.\n\nTracks the lifecycle of each task from planning through completion.\nSee protocol docs: [Plan Entries](https://agentclientprotocol.com/protocol/agent-plan#plan-entries)" });
2232
- const PromptCapabilities = effect_Schema.Struct({
2234
+ effect_Schema.Struct({
2233
2235
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
2234
2236
  audio: effect_Schema.optionalKey(effect_Schema.Boolean.annotate({
2235
2237
  description: "Agent supports [`ContentBlock::Audio`].",
@@ -2262,7 +2264,7 @@ const PromptResponse = effect_Schema.Struct({
2262
2264
  usage: effect_Schema.optionalKey(effect_Schema.Union([Usage, effect_Schema.Null]).annotate({ description: "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nToken usage for this turn (optional)." })),
2263
2265
  userMessageId: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.String.annotate({ description: "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nThe acknowledged user message ID.\n\nIf the client provided a `messageId` in the [`PromptRequest`], the agent echoes it here\nto confirm it was recorded. If the client did not provide one, the agent MAY assign one\nand return it here. Absence of this field indicates the agent did not record a message ID." }), effect_Schema.Null]))
2264
2266
  }).annotate({ description: "Response from processing a user prompt.\n\nSee protocol docs: [Check for Completion](https://agentclientprotocol.com/protocol/prompt-turn#4-check-for-completion)" });
2265
- const ProtocolVersion = effect_Schema.Number.annotate({
2267
+ effect_Schema.Number.annotate({
2266
2268
  description: "Protocol version identifier.\n\nThis version is only bumped for breaking changes.\nNon-breaking changes should be introduced via capabilities.",
2267
2269
  format: "uint16"
2268
2270
  }).check(effect_Schema.isInt()).check(effect_Schema.isGreaterThanOrEqualTo(0)).check(effect_Schema.isLessThanOrEqualTo(65535));
@@ -2289,7 +2291,7 @@ const ReleaseTerminalRequest = effect_Schema.Struct({
2289
2291
  terminalId: effect_Schema.String.annotate({ description: "The ID of the terminal to release." })
2290
2292
  }).annotate({ description: "Request to release a terminal and free its resources." });
2291
2293
  const ReleaseTerminalResponse = effect_Schema.Struct({ _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])) }).annotate({ description: "Response to terminal/release method" });
2292
- const RequestPermissionOutcome = effect_Schema.Union([effect_Schema.Struct({ outcome: effect_Schema.Literal("cancelled") }).annotate({ description: "The prompt turn was cancelled before the user responded.\n\nWhen a client sends a `session/cancel` notification to cancel an ongoing\nprompt turn, it MUST respond to all pending `session/request_permission`\nrequests with this `Cancelled` outcome.\n\nSee protocol docs: [Cancellation](https://agentclientprotocol.com/protocol/prompt-turn#cancellation)" }), effect_Schema.Struct({
2294
+ effect_Schema.Union([effect_Schema.Struct({ outcome: effect_Schema.Literal("cancelled") }).annotate({ description: "The prompt turn was cancelled before the user responded.\n\nWhen a client sends a `session/cancel` notification to cancel an ongoing\nprompt turn, it MUST respond to all pending `session/request_permission`\nrequests with this `Cancelled` outcome.\n\nSee protocol docs: [Cancellation](https://agentclientprotocol.com/protocol/prompt-turn#cancellation)" }), effect_Schema.Struct({
2293
2295
  outcome: effect_Schema.Literal("selected"),
2294
2296
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
2295
2297
  optionId: effect_Schema.String.annotate({ description: "Unique identifier for a permission option." })
@@ -2318,7 +2320,7 @@ const RequestPermissionResponse = effect_Schema.Struct({
2318
2320
  optionId: effect_Schema.String.annotate({ description: "Unique identifier for a permission option." })
2319
2321
  }).annotate({ description: "The user selected one of the provided options." })], { mode: "oneOf" }).annotate({ description: "The outcome of a permission request." })
2320
2322
  }).annotate({ description: "Response to a permission request." });
2321
- const ResourceLink = effect_Schema.Struct({
2323
+ effect_Schema.Struct({
2322
2324
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
2323
2325
  annotations: effect_Schema.optionalKey(effect_Schema.Union([Annotations, effect_Schema.Null])),
2324
2326
  description: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.String, effect_Schema.Null])),
@@ -2340,21 +2342,21 @@ const ResumeSessionResponse = effect_Schema.Struct({
2340
2342
  models: effect_Schema.optionalKey(effect_Schema.Union([SessionModelState, effect_Schema.Null]).annotate({ description: "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nInitial model state if supported by the Agent" })),
2341
2343
  modes: effect_Schema.optionalKey(effect_Schema.Union([SessionModeState, effect_Schema.Null]).annotate({ description: "Initial mode state if supported by the Agent\n\nSee protocol docs: [Session Modes](https://agentclientprotocol.com/protocol/session-modes)" }))
2342
2344
  }).annotate({ description: "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nResponse from resuming an existing session." });
2343
- const SelectedPermissionOutcome = effect_Schema.Struct({
2345
+ effect_Schema.Struct({
2344
2346
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
2345
2347
  optionId: effect_Schema.String.annotate({ description: "Unique identifier for a permission option." })
2346
2348
  }).annotate({ description: "The user selected one of the provided options." });
2347
- const SessionCapabilities = effect_Schema.Struct({
2349
+ effect_Schema.Struct({
2348
2350
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
2349
2351
  close: effect_Schema.optionalKey(effect_Schema.Union([SessionCloseCapabilities, effect_Schema.Null]).annotate({ description: "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nWhether the agent supports `session/close`." })),
2350
2352
  fork: effect_Schema.optionalKey(effect_Schema.Union([SessionForkCapabilities, effect_Schema.Null]).annotate({ description: "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nWhether the agent supports `session/fork`." })),
2351
2353
  list: effect_Schema.optionalKey(effect_Schema.Union([SessionListCapabilities, effect_Schema.Null]).annotate({ description: "Whether the agent supports `session/list`." })),
2352
2354
  resume: effect_Schema.optionalKey(effect_Schema.Union([SessionResumeCapabilities, effect_Schema.Null]).annotate({ description: "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nWhether the agent supports `session/resume`." }))
2353
2355
  }).annotate({ description: "Session capabilities supported by the agent.\n\nAs a baseline, all Agents **MUST** support `session/new`, `session/prompt`, `session/cancel`, and `session/update`.\n\nOptionally, they **MAY** support other session methods and notifications by specifying additional capabilities.\n\nNote: `session/load` is still handled by the top-level `load_session` capability. This will be unified in future versions of the protocol.\n\nSee protocol docs: [Session Capabilities](https://agentclientprotocol.com/protocol/initialization#session-capabilities)" });
2354
- const SessionConfigBoolean = effect_Schema.Struct({ currentValue: effect_Schema.Boolean.annotate({ description: "The current value of the boolean option." }) }).annotate({ description: "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nA boolean on/off toggle session configuration option payload." });
2355
- const SessionConfigGroupId = effect_Schema.String.annotate({ description: "Unique identifier for a session configuration option value group." });
2356
- const SessionConfigId = effect_Schema.String.annotate({ description: "Unique identifier for a session configuration option." });
2357
- const SessionConfigSelect = effect_Schema.Struct({
2356
+ effect_Schema.Struct({ currentValue: effect_Schema.Boolean.annotate({ description: "The current value of the boolean option." }) }).annotate({ description: "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nA boolean on/off toggle session configuration option payload." });
2357
+ effect_Schema.String.annotate({ description: "Unique identifier for a session configuration option value group." });
2358
+ effect_Schema.String.annotate({ description: "Unique identifier for a session configuration option." });
2359
+ effect_Schema.Struct({
2358
2360
  currentValue: effect_Schema.String.annotate({ description: "Unique identifier for a session configuration option value." }),
2359
2361
  options: effect_Schema.Union([effect_Schema.Array(SessionConfigSelectOption).annotate({
2360
2362
  title: "Ungrouped",
@@ -2364,16 +2366,16 @@ const SessionConfigSelect = effect_Schema.Struct({
2364
2366
  description: "A list of options grouped under headers."
2365
2367
  })]).annotate({ description: "Possible values for a session configuration option." })
2366
2368
  }).annotate({ description: "A single-value selector (dropdown) session configuration option payload." });
2367
- const SessionConfigSelectOptions = effect_Schema.Union([effect_Schema.Array(SessionConfigSelectOption).annotate({
2369
+ effect_Schema.Union([effect_Schema.Array(SessionConfigSelectOption).annotate({
2368
2370
  title: "Ungrouped",
2369
2371
  description: "A flat list of options with no grouping."
2370
2372
  }), effect_Schema.Array(SessionConfigSelectGroup).annotate({
2371
2373
  title: "Grouped",
2372
2374
  description: "A list of options grouped under headers."
2373
2375
  })]).annotate({ description: "Possible values for a session configuration option." });
2374
- const SessionConfigValueId = effect_Schema.String.annotate({ description: "Unique identifier for a session configuration option value." });
2375
- const SessionId = effect_Schema.String.annotate({ description: "A unique identifier for a conversation session between a client and agent.\n\nSessions maintain their own context, conversation history, and state,\nallowing multiple independent interactions with the same agent.\n\nSee protocol docs: [Session ID](https://agentclientprotocol.com/protocol/session-setup#session-id)" });
2376
- const SessionInfoUpdate = effect_Schema.Struct({
2376
+ effect_Schema.String.annotate({ description: "Unique identifier for a session configuration option value." });
2377
+ effect_Schema.String.annotate({ description: "A unique identifier for a conversation session between a client and agent.\n\nSessions maintain their own context, conversation history, and state,\nallowing multiple independent interactions with the same agent.\n\nSee protocol docs: [Session ID](https://agentclientprotocol.com/protocol/session-setup#session-id)" });
2378
+ effect_Schema.Struct({
2377
2379
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
2378
2380
  title: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.String.annotate({ description: "Human-readable title for the session. Set to null to clear." }), effect_Schema.Null])),
2379
2381
  updatedAt: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.String.annotate({ description: "ISO 8601 timestamp of last activity. Set to null to clear." }), effect_Schema.Null]))
@@ -2598,7 +2600,7 @@ const SessionNotification = effect_Schema.Struct({
2598
2600
  }).annotate({ description: "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nContext window and cost update for a session." })
2599
2601
  ], { mode: "oneOf" }).annotate({ description: "Different types of updates that can be sent during session processing.\n\nThese updates provide real-time feedback about the agent's progress.\n\nSee protocol docs: [Agent Reports Output](https://agentclientprotocol.com/protocol/prompt-turn#3-agent-reports-output)" })
2600
2602
  }).annotate({ description: "Notification containing a session update from the agent.\n\nUsed to stream real-time progress and results during prompt processing.\n\nSee protocol docs: [Agent Reports Output](https://agentclientprotocol.com/protocol/prompt-turn#3-agent-reports-output)" });
2601
- const SessionUpdate = effect_Schema.Union([
2603
+ effect_Schema.Union([
2602
2604
  effect_Schema.Struct({
2603
2605
  sessionUpdate: effect_Schema.Literal("user_message_chunk"),
2604
2606
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
@@ -2839,20 +2841,20 @@ const SetSessionModelRequest = effect_Schema.Struct({
2839
2841
  sessionId: effect_Schema.String.annotate({ description: "A unique identifier for a conversation session between a client and agent.\n\nSessions maintain their own context, conversation history, and state,\nallowing multiple independent interactions with the same agent.\n\nSee protocol docs: [Session ID](https://agentclientprotocol.com/protocol/session-setup#session-id)" })
2840
2842
  }).annotate({ description: "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nRequest parameters for setting a session model." });
2841
2843
  const SetSessionModelResponse = effect_Schema.Struct({ _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])) }).annotate({ description: "**UNSTABLE**\n\nThis capability is not part of the spec yet, and may be removed or changed at any point.\n\nResponse to `session/set_model` method." });
2842
- const SetSessionModeRequest = effect_Schema.Struct({
2844
+ effect_Schema.Struct({
2843
2845
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
2844
2846
  modeId: effect_Schema.String.annotate({ description: "Unique identifier for a Session Mode." }),
2845
2847
  sessionId: effect_Schema.String.annotate({ description: "A unique identifier for a conversation session between a client and agent.\n\nSessions maintain their own context, conversation history, and state,\nallowing multiple independent interactions with the same agent.\n\nSee protocol docs: [Session ID](https://agentclientprotocol.com/protocol/session-setup#session-id)" })
2846
2848
  }).annotate({ description: "Request parameters for setting a session mode." });
2847
- const SetSessionModeResponse = effect_Schema.Struct({ _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])) }).annotate({ description: "Response to `session/set_mode` method." });
2848
- const StopReason = effect_Schema.Literals([
2849
+ effect_Schema.Struct({ _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])) }).annotate({ description: "Response to `session/set_mode` method." });
2850
+ effect_Schema.Literals([
2849
2851
  "end_turn",
2850
2852
  "max_tokens",
2851
2853
  "max_turn_requests",
2852
2854
  "refusal",
2853
2855
  "cancelled"
2854
2856
  ]).annotate({ description: "Reasons why an agent stops processing a prompt turn.\n\nSee protocol docs: [Stop Reasons](https://agentclientprotocol.com/protocol/prompt-turn#stop-reasons)" });
2855
- const StringPropertySchema = effect_Schema.Struct({
2857
+ effect_Schema.Struct({
2856
2858
  default: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.String.annotate({ description: "Default value." }), effect_Schema.Null])),
2857
2859
  description: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.String.annotate({ description: "Human-readable description." }), effect_Schema.Null])),
2858
2860
  enum: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Array(effect_Schema.String).annotate({ description: "Enum values for untitled single-select enums." }), effect_Schema.Null])),
@@ -2869,7 +2871,7 @@ const StringPropertySchema = effect_Schema.Struct({
2869
2871
  pattern: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.String.annotate({ description: "Pattern the string must match." }), effect_Schema.Null])),
2870
2872
  title: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.String.annotate({ description: "Optional title for the property." }), effect_Schema.Null]))
2871
2873
  }).annotate({ description: "Schema for string properties in an elicitation form.\n\nWhen `enum` or `oneOf` is set, this represents a single-select enum\nwith `\"type\": \"string\"`." });
2872
- const Terminal = effect_Schema.Struct({
2874
+ effect_Schema.Struct({
2873
2875
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
2874
2876
  terminalId: effect_Schema.String
2875
2877
  }).annotate({ description: "Embed a terminal created with `terminal/create` by its id.\n\nThe terminal must be added before calling `terminal/release`.\n\nSee protocol docs: [Terminal](https://agentclientprotocol.com/protocol/terminals)" });
@@ -2884,19 +2886,19 @@ const TerminalOutputResponse = effect_Schema.Struct({
2884
2886
  output: effect_Schema.String.annotate({ description: "The terminal output captured so far." }),
2885
2887
  truncated: effect_Schema.Boolean.annotate({ description: "Whether the output was truncated due to byte limits." })
2886
2888
  }).annotate({ description: "Response containing the terminal output and exit status." });
2887
- const TextContent = effect_Schema.Struct({
2889
+ effect_Schema.Struct({
2888
2890
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
2889
2891
  annotations: effect_Schema.optionalKey(effect_Schema.Union([Annotations, effect_Schema.Null])),
2890
2892
  text: effect_Schema.String
2891
2893
  }).annotate({ description: "Text provided to or from an LLM." });
2892
- const TextResourceContents = effect_Schema.Struct({
2894
+ effect_Schema.Struct({
2893
2895
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
2894
2896
  mimeType: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.String, effect_Schema.Null])),
2895
2897
  text: effect_Schema.String,
2896
2898
  uri: effect_Schema.String
2897
2899
  }).annotate({ description: "Text-based resource contents." });
2898
- const TitledMultiSelectItems = effect_Schema.Struct({ anyOf: effect_Schema.Array(EnumOption).annotate({ description: "Titled enum options." }) }).annotate({ description: "Items definition for titled multi-select enum properties." });
2899
- const ToolCall = effect_Schema.Struct({
2900
+ effect_Schema.Struct({ anyOf: effect_Schema.Array(EnumOption).annotate({ description: "Titled enum options." }) }).annotate({ description: "Items definition for titled multi-select enum properties." });
2901
+ effect_Schema.Struct({
2900
2902
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
2901
2903
  content: effect_Schema.optionalKey(effect_Schema.Array(ToolCallContent).annotate({ description: "Content produced by the tool call." })),
2902
2904
  kind: effect_Schema.optionalKey(effect_Schema.Literals([
@@ -2923,8 +2925,8 @@ const ToolCall = effect_Schema.Struct({
2923
2925
  title: effect_Schema.String.annotate({ description: "Human-readable title describing what the tool is doing." }),
2924
2926
  toolCallId: effect_Schema.String.annotate({ description: "Unique identifier for a tool call within a session." })
2925
2927
  }).annotate({ description: "Represents a tool call that the language model has requested.\n\nTool calls are actions that the agent executes on behalf of the language model,\nsuch as reading files, executing code, or fetching data from external sources.\n\nSee protocol docs: [Tool Calls](https://agentclientprotocol.com/protocol/tool-calls)" });
2926
- const ToolCallId = effect_Schema.String.annotate({ description: "Unique identifier for a tool call within a session." });
2927
- const ToolCallUpdate = effect_Schema.Struct({
2928
+ effect_Schema.String.annotate({ description: "Unique identifier for a tool call within a session." });
2929
+ effect_Schema.Struct({
2928
2930
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
2929
2931
  content: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Array(ToolCallContent).annotate({ description: "Replace the content collection." }), effect_Schema.Null])),
2930
2932
  kind: effect_Schema.optionalKey(effect_Schema.Union([ToolKind, effect_Schema.Null]).annotate({ description: "Update the tool kind." })),
@@ -2935,15 +2937,15 @@ const ToolCallUpdate = effect_Schema.Struct({
2935
2937
  title: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.String.annotate({ description: "Update the human-readable title." }), effect_Schema.Null])),
2936
2938
  toolCallId: effect_Schema.String.annotate({ description: "Unique identifier for a tool call within a session." })
2937
2939
  }).annotate({ description: "An update to an existing tool call.\n\nUsed to report progress and results as tools execute. All fields except\nthe tool call ID are optional - only changed fields need to be included.\n\nSee protocol docs: [Updating](https://agentclientprotocol.com/protocol/tool-calls#updating)" });
2938
- const UnstructuredCommandInput = effect_Schema.Struct({
2940
+ effect_Schema.Struct({
2939
2941
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
2940
2942
  hint: effect_Schema.String.annotate({ description: "A hint to display when the input hasn't been provided yet" })
2941
2943
  }).annotate({ description: "All text that was typed after the command name is provided as input." });
2942
- const UntitledMultiSelectItems = effect_Schema.Struct({
2944
+ effect_Schema.Struct({
2943
2945
  enum: effect_Schema.Array(effect_Schema.String).annotate({ description: "Allowed enum values." }),
2944
2946
  type: effect_Schema.Literal("string").annotate({ description: "Items definition for untitled multi-select enum properties." })
2945
2947
  }).annotate({ description: "Items definition for untitled multi-select enum properties." });
2946
- const UsageUpdate = effect_Schema.Struct({
2948
+ effect_Schema.Struct({
2947
2949
  _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])),
2948
2950
  cost: effect_Schema.optionalKey(effect_Schema.Union([Cost, effect_Schema.Null]).annotate({ description: "Cumulative session cost (optional)." })),
2949
2951
  size: effect_Schema.Number.annotate({
@@ -2975,7 +2977,6 @@ const WriteTextFileRequest = effect_Schema.Struct({
2975
2977
  sessionId: effect_Schema.String.annotate({ description: "A unique identifier for a conversation session between a client and agent.\n\nSessions maintain their own context, conversation history, and state,\nallowing multiple independent interactions with the same agent.\n\nSee protocol docs: [Session ID](https://agentclientprotocol.com/protocol/session-setup#session-id)" })
2976
2978
  }).annotate({ description: "Request to write content to a text file.\n\nOnly available if the client supports the `fs.writeTextFile` capability." });
2977
2979
  const WriteTextFileResponse = effect_Schema.Struct({ _meta: effect_Schema.optionalKey(effect_Schema.Union([effect_Schema.Record(effect_Schema.String, effect_Schema.Unknown).annotate({ description: "The _meta property is reserved by ACP to allow clients and agents to attach additional\nmetadata to their interactions. Implementations MUST NOT make assumptions about values at\nthese keys.\n\nSee protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility)" }), effect_Schema.Null])) }).annotate({ description: "Response to `fs/write_text_file`" });
2978
-
2979
2980
  //#endregion
2980
2981
  //#region ../../packages/effect-acp/src/errors.ts
2981
2982
  var AcpSpawnError = class extends effect_Schema.TaggedErrorClass()("AcpSpawnError", {
@@ -3084,7 +3085,6 @@ const AcpError = effect_Schema.Union([
3084
3085
  AcpProtocolParseError,
3085
3086
  AcpTransportError
3086
3087
  ]);
3087
-
3088
3088
  //#endregion
3089
3089
  //#region ../../packages/effect-acp/src/_generated/meta.gen.ts
3090
3090
  const AGENT_METHODS = {
@@ -3116,7 +3116,6 @@ const CLIENT_METHODS = {
3116
3116
  terminal_release: "terminal/release",
3117
3117
  terminal_wait_for_exit: "terminal/wait_for_exit"
3118
3118
  };
3119
-
3120
3119
  //#endregion
3121
3120
  //#region ../../packages/effect-acp/src/protocol.ts
3122
3121
  const decodeSessionUpdate = effect_Schema.decodeUnknownEffect(SessionNotification);
@@ -3363,7 +3362,6 @@ function toRpcClientError(error) {
3363
3362
  cause: error
3364
3363
  }) });
3365
3364
  }
3366
-
3367
3365
  //#endregion
3368
3366
  //#region ../../packages/effect-acp/src/rpc.ts
3369
3367
  const InitializeRpc = effect_unstable_rpc_Rpc.make(AGENT_METHODS.initialize, {
@@ -3473,7 +3471,6 @@ const KillTerminalRpc = effect_unstable_rpc_Rpc.make(CLIENT_METHODS.terminal_kil
3473
3471
  });
3474
3472
  const AgentRpcs = effect_unstable_rpc_RpcGroup.make(InitializeRpc, AuthenticateRpc, LogoutRpc, NewSessionRpc, LoadSessionRpc, ListSessionsRpc, ForkSessionRpc, ResumeSessionRpc, CloseSessionRpc, PromptRpc, SetSessionModelRpc, SetSessionConfigOptionRpc);
3475
3473
  const ClientRpcs = effect_unstable_rpc_RpcGroup.make(ReadTextFileRpc, WriteTextFileRpc, RequestPermissionRpc, ElicitationRpc, CreateTerminalRpc, TerminalOutputRpc, ReleaseTerminalRpc, WaitForTerminalExitRpc, KillTerminalRpc);
3476
-
3477
3474
  //#endregion
3478
3475
  //#region ../../packages/effect-acp/src/_internal/shared.ts
3479
3476
  const formatSchemaIssue = effect_SchemaIssue.makeFormatterDefault();
@@ -3494,10 +3491,9 @@ function decodeExtNotificationRegistration(method, payload, handler) {
3494
3491
  cause: error
3495
3492
  })), effect_Effect.flatMap((decoded) => handler(decoded)));
3496
3493
  }
3497
- const encoder$1 = new TextEncoder();
3498
- const JsonRpcId = effect_Schema.Union([effect_Schema.Number, effect_Schema.String]);
3499
- const JsonRpcHeaders = effect_Schema.Array(effect_Schema.Unknown);
3500
-
3494
+ new TextEncoder();
3495
+ effect_Schema.Union([effect_Schema.Number, effect_Schema.String]);
3496
+ effect_Schema.Array(effect_Schema.Unknown);
3501
3497
  //#endregion
3502
3498
  //#region ../../packages/effect-acp/src/_internal/stdio.ts
3503
3499
  const encoder = new TextEncoder();
@@ -3507,7 +3503,7 @@ const makeChildStdio = (handle) => effect_Stdio.make({
3507
3503
  stdout: () => effect_Sink.mapInput(handle.stdin, (chunk) => typeof chunk === "string" ? encoder.encode(chunk) : chunk),
3508
3504
  stderr: () => effect_Sink.drain
3509
3505
  });
3510
- const makeInMemoryStdio = effect_Effect.fn("makeInMemoryStdio")(function* () {
3506
+ effect_Effect.fn("makeInMemoryStdio")(function* () {
3511
3507
  const input = yield* effect_Queue.unbounded();
3512
3508
  const output = yield* effect_Queue.unbounded();
3513
3509
  const decoder = new TextDecoder();
@@ -3529,7 +3525,6 @@ const makeTerminationError = (handle) => effect_Effect.match(handle.exitCode, {
3529
3525
  }),
3530
3526
  onSuccess: (code) => new AcpProcessExitedError({ code })
3531
3527
  });
3532
-
3533
3528
  //#endregion
3534
3529
  //#region ../../packages/effect-acp/src/client.ts
3535
3530
  var AcpClient = class extends effect_Context.Service()("effect-acp/AcpClient") {};
@@ -3693,7 +3688,6 @@ const layerChildProcess = (handle, options = {}) => {
3693
3688
  const terminationError = makeTerminationError(handle);
3694
3689
  return effect_Layer.effect(AcpClient, make(stdio, options, terminationError));
3695
3690
  };
3696
-
3697
3691
  //#endregion
3698
3692
  //#region ../../packages/shared/src/toolActivity.ts
3699
3693
  function asRecord(value) {
@@ -3848,7 +3842,6 @@ function deriveToolActivityPresentation(input) {
3848
3842
  };
3849
3843
  return { summary: title ?? fallbackSummary };
3850
3844
  }
3851
-
3852
3845
  //#endregion
3853
3846
  //#region src/provider/acp/AcpRuntimeModel.ts
3854
3847
  function isRecord$1(value) {
@@ -4097,10 +4090,9 @@ function parseSessionUpdateEvent(params) {
4097
4090
  events
4098
4091
  };
4099
4092
  }
4100
-
4101
4093
  //#endregion
4102
4094
  //#region src/provider/acp/AcpSessionRuntime.ts
4103
- var AcpSessionRuntime = class AcpSessionRuntime extends effect.Context.Service()("s3/provider/acp/AcpSessionRuntime") {
4095
+ var AcpSessionRuntime = class AcpSessionRuntime extends effect.Context.Service()("ryco/provider/acp/AcpSessionRuntime") {
4104
4096
  static layer(options) {
4105
4097
  return effect.Layer.effect(AcpSessionRuntime, makeAcpSessionRuntime(options));
4106
4098
  }
@@ -4427,10 +4419,85 @@ const closeActiveAssistantSegment = ({ queue, assistantSegmentRef }) => effect.R
4427
4419
  itemId: current.activeItemId
4428
4420
  }, { nextSegmentIndex: current.nextSegmentIndex }];
4429
4421
  }).pipe(effect.Effect.flatMap((event) => event ? effect.Queue.offer(queue, event) : effect.Effect.void));
4430
-
4422
+ //#endregion
4423
+ //#region src/provider/acp/CursorAcpExtension.ts
4424
+ const CursorAskQuestionOption = effect.Schema.Struct({
4425
+ id: effect.Schema.String,
4426
+ label: effect.Schema.String
4427
+ });
4428
+ const CursorAskQuestion = effect.Schema.Struct({
4429
+ id: effect.Schema.String,
4430
+ prompt: effect.Schema.String,
4431
+ options: effect.Schema.Array(CursorAskQuestionOption),
4432
+ allowMultiple: effect.Schema.optional(effect.Schema.Boolean)
4433
+ });
4434
+ const CursorAskQuestionRequest = effect.Schema.Struct({
4435
+ toolCallId: effect.Schema.String,
4436
+ title: effect.Schema.optional(effect.Schema.String),
4437
+ questions: effect.Schema.Array(CursorAskQuestion)
4438
+ });
4439
+ const CursorTodoStatus = effect.Schema.String;
4440
+ const CursorTodo = effect.Schema.Struct({
4441
+ id: effect.Schema.optional(effect.Schema.String),
4442
+ content: effect.Schema.optional(effect.Schema.String),
4443
+ title: effect.Schema.optional(effect.Schema.String),
4444
+ status: effect.Schema.optional(CursorTodoStatus)
4445
+ });
4446
+ const CursorPlanPhase = effect.Schema.Struct({
4447
+ name: effect.Schema.String,
4448
+ todos: effect.Schema.Array(CursorTodo)
4449
+ });
4450
+ const CursorCreatePlanRequest = effect.Schema.Struct({
4451
+ toolCallId: effect.Schema.String,
4452
+ name: effect.Schema.optional(effect.Schema.String),
4453
+ overview: effect.Schema.optional(effect.Schema.String),
4454
+ plan: effect.Schema.String,
4455
+ todos: effect.Schema.Array(CursorTodo),
4456
+ isProject: effect.Schema.optional(effect.Schema.Boolean),
4457
+ phases: effect.Schema.optional(effect.Schema.Array(CursorPlanPhase))
4458
+ });
4459
+ const CursorUpdateTodosRequest = effect.Schema.Struct({
4460
+ toolCallId: effect.Schema.String,
4461
+ todos: effect.Schema.Array(CursorTodo),
4462
+ merge: effect.Schema.Boolean
4463
+ });
4464
+ const CursorAvailableModel = effect.Schema.Struct({
4465
+ value: effect.Schema.String,
4466
+ name: effect.Schema.String,
4467
+ configOptions: effect.Schema.optional(effect.Schema.Array(SessionConfigOption))
4468
+ });
4469
+ const CursorListAvailableModelsResponse = effect.Schema.Struct({ models: effect.Schema.Array(CursorAvailableModel) });
4470
+ function extractAskQuestions(params) {
4471
+ return params.questions.map((question) => ({
4472
+ id: question.id,
4473
+ header: "Question",
4474
+ question: question.prompt,
4475
+ multiSelect: question.allowMultiple === true,
4476
+ options: question.options.length > 0 ? question.options.map((option) => ({
4477
+ label: option.label,
4478
+ description: option.label
4479
+ })) : [{
4480
+ label: "OK",
4481
+ description: "Continue"
4482
+ }]
4483
+ }));
4484
+ }
4485
+ function extractPlanMarkdown(params) {
4486
+ return params.plan || "# Plan\n\n(Cursor did not supply plan text.)";
4487
+ }
4488
+ function extractTodosAsPlan(params) {
4489
+ return { plan: params.todos.flatMap((todo) => {
4490
+ const step = todo.content?.trim() ?? todo.title?.trim() ?? "";
4491
+ if (step === "") return [];
4492
+ return [{
4493
+ step,
4494
+ status: todo.status === "completed" ? "completed" : todo.status === "in_progress" || todo.status === "inProgress" ? "inProgress" : "pending"
4495
+ }];
4496
+ }) };
4497
+ }
4431
4498
  //#endregion
4432
4499
  //#region src/provider/Layers/CursorProvider.ts
4433
- const PROVIDER$1 = require_bin.ProviderDriverKind.make("cursor");
4500
+ const PROVIDER$1 = require_collectUint8StreamText.ProviderDriverKind.make("cursor");
4434
4501
  const CURSOR_PRESENTATION = {
4435
4502
  displayName: "Cursor",
4436
4503
  badgeLabel: "Early Access",
@@ -4438,8 +4505,6 @@ const CURSOR_PRESENTATION = {
4438
4505
  };
4439
4506
  const EMPTY_CAPABILITIES = require_bin.createModelCapabilities({ optionDescriptors: [] });
4440
4507
  const CURSOR_ACP_MODEL_DISCOVERY_TIMEOUT_MS = 15e3;
4441
- const CURSOR_ACP_MODEL_CAPABILITY_TIMEOUT = "4 seconds";
4442
- const CURSOR_ACP_MODEL_DISCOVERY_CONCURRENCY = 4;
4443
4508
  const CURSOR_PARAMETERIZED_MODEL_PICKER_MIN_VERSION_DATE = 20260408;
4444
4509
  const CURSOR_PARAMETERIZED_MODEL_PICKER_CAPABILITIES = { _meta: { parameterizedModelPicker: true } };
4445
4510
  function buildInitialCursorProviderSnapshot(cursorSettings) {
@@ -4495,9 +4560,6 @@ function normalizeCursorReasoningValue(value) {
4495
4560
  default: return;
4496
4561
  }
4497
4562
  }
4498
- function findCursorModelConfigOption(configOptions) {
4499
- return configOptions.find((option) => option.category === "model");
4500
- }
4501
4563
  function getCursorConfigOptionCategory(option) {
4502
4564
  return option.category?.trim().toLowerCase() ?? "";
4503
4565
  }
@@ -4609,21 +4671,17 @@ function buildCursorDiscoveredModels(discoveredModels) {
4609
4671
  }];
4610
4672
  });
4611
4673
  }
4612
- function hasCursorModelCapabilities(model) {
4613
- return (model.capabilities?.optionDescriptors?.length ?? 0) > 0;
4614
- }
4615
- function buildCursorDiscoveredModelsFromConfigOptions(configOptions) {
4616
- if (!configOptions || configOptions.length === 0) return [];
4617
- const modelOption = findCursorModelConfigOption(configOptions);
4618
- const modelChoices = flattenSessionConfigSelectOptions(modelOption);
4619
- if (!modelOption || modelChoices.length === 0) return [];
4620
- const currentModelValue = modelOption.type === "select" ? modelOption.currentValue?.trim() || void 0 : void 0;
4621
- const currentModelCapabilities = buildCursorCapabilitiesFromConfigOptions(configOptions);
4622
- return buildCursorDiscoveredModels(modelChoices.map((modelChoice) => ({
4623
- slug: modelChoice.value.trim(),
4624
- name: modelChoice.name.trim(),
4625
- capabilities: currentModelValue === modelChoice.value.trim() ? currentModelCapabilities : EMPTY_CAPABILITIES
4626
- })));
4674
+ function buildCursorDiscoveredModelsFromAvailableModelsResponse(response) {
4675
+ return buildCursorDiscoveredModels(response.models.flatMap((model) => {
4676
+ const slug = model.value.trim();
4677
+ const name = model.name.trim();
4678
+ if (!slug || !name) return [];
4679
+ return [{
4680
+ slug,
4681
+ name,
4682
+ capabilities: buildCursorCapabilitiesFromConfigOptions(model.configOptions ?? [])
4683
+ }];
4684
+ }));
4627
4685
  }
4628
4686
  const makeCursorAcpProbeRuntime = (cursorSettings, environment = process.env) => effect.Effect.gen(function* () {
4629
4687
  const spawner = yield* effect_unstable_process.ChildProcessSpawner.ChildProcessSpawner;
@@ -4706,49 +4764,11 @@ function resolveCursorAcpConfigUpdates(configOptions, selections) {
4706
4764
  }
4707
4765
  return updates;
4708
4766
  }
4709
- const discoverCursorModelsViaAcp = (cursorSettings, environment = process.env) => withCursorAcpProbeRuntime(cursorSettings, (acp) => effect.Effect.map(acp.start(), (started) => buildCursorDiscoveredModelsFromConfigOptions(started.sessionSetupResult.configOptions ?? [])), environment);
4710
- const discoverCursorModelCapabilitiesViaAcp = (cursorSettings, existingModels, environment = process.env) => withCursorAcpProbeRuntime(cursorSettings, (acp) => effect.Effect.gen(function* () {
4711
- const initialConfigOptions = (yield* acp.start()).sessionSetupResult.configOptions ?? [];
4712
- const modelOption = findCursorModelConfigOption(initialConfigOptions);
4713
- const modelChoices = flattenSessionConfigSelectOptions(modelOption);
4714
- if (!modelOption || modelChoices.length === 0) return [];
4715
- const currentModelValue = modelOption.type === "select" ? modelOption.currentValue?.trim() || void 0 : void 0;
4716
- const capabilitiesBySlug = /* @__PURE__ */ new Map();
4717
- if (currentModelValue) capabilitiesBySlug.set(currentModelValue, buildCursorCapabilitiesFromConfigOptions(initialConfigOptions));
4718
- const targetModelSlugs = new Set(existingModels.filter((model) => !model.isCustom && !hasCursorModelCapabilities(model)).map((model) => model.slug));
4719
- if (targetModelSlugs.size === 0) return buildCursorDiscoveredModels(modelChoices.map((modelChoice) => ({
4720
- slug: modelChoice.value.trim(),
4721
- name: modelChoice.name.trim(),
4722
- capabilities: capabilitiesBySlug.get(modelChoice.value.trim()) ?? EMPTY_CAPABILITIES
4723
- })));
4724
- const probedCapabilities = yield* effect.Effect.forEach(modelChoices, (modelChoice) => {
4725
- const modelSlug = modelChoice.value.trim();
4726
- if (!modelSlug || !targetModelSlugs.has(modelSlug) || capabilitiesBySlug.has(modelSlug)) return effect.Effect.void.pipe(effect.Effect.as(void 0));
4727
- return withCursorAcpProbeRuntime(cursorSettings, (probeAcp) => effect.Effect.gen(function* () {
4728
- const probeConfigOptions = (yield* probeAcp.start()).sessionSetupResult.configOptions ?? [];
4729
- const probeModelOption = findCursorModelConfigOption(probeConfigOptions);
4730
- const probeCurrentModelValue = probeModelOption?.type === "select" ? probeModelOption.currentValue?.trim() || void 0 : void 0;
4731
- yield* effect.Effect.annotateCurrentSpan({
4732
- "cursor.acp.model.value": modelSlug,
4733
- "cursor.acp.model.currentValue": probeCurrentModelValue,
4734
- "cursor.acp.config_option_id": probeModelOption?.id ?? modelOption.id
4735
- });
4736
- return [modelSlug, buildCursorCapabilitiesFromConfigOptions(probeCurrentModelValue === modelSlug ? probeConfigOptions : yield* probeAcp.setConfigOption(probeModelOption?.id ?? modelOption.id, modelSlug).pipe(effect.Effect.map((response) => response.configOptions ?? probeConfigOptions)))];
4737
- }), environment).pipe(effect.Effect.timeout(CURSOR_ACP_MODEL_CAPABILITY_TIMEOUT), effect.Effect.retry({ times: 3 }), effect.Effect.withSpan("cursor-acp-model-capability-probe"), effect.Effect.catchCause((cause) => effect.Effect.logWarning("Cursor ACP capability probe failed", {
4738
- modelSlug,
4739
- cause: effect.Cause.pretty(cause)
4740
- })));
4741
- }, { concurrency: CURSOR_ACP_MODEL_DISCOVERY_CONCURRENCY });
4742
- for (const entry of probedCapabilities) {
4743
- if (!entry) continue;
4744
- capabilitiesBySlug.set(entry[0], entry[1]);
4745
- }
4746
- return buildCursorDiscoveredModels(modelChoices.map((modelChoice) => ({
4747
- slug: modelChoice.value.trim(),
4748
- name: modelChoice.name.trim(),
4749
- capabilities: capabilitiesBySlug.get(modelChoice.value.trim()) ?? EMPTY_CAPABILITIES
4750
- })));
4751
- }).pipe(effect.Effect.withSpan("cursor-acp-model-capability-discovery", {})), environment);
4767
+ const discoverCursorModelsViaAcp = (cursorSettings, environment = process.env) => withCursorAcpProbeRuntime(cursorSettings, (acp) => effect.Effect.gen(function* () {
4768
+ yield* acp.start();
4769
+ const response = yield* acp.request("cursor/list_available_models", {});
4770
+ return buildCursorDiscoveredModelsFromAvailableModelsResponse(yield* effect.Schema.decodeUnknownEffect(CursorListAvailableModelsResponse)(response));
4771
+ }), environment);
4752
4772
  function getCursorFallbackModels(cursorSettings) {
4753
4773
  return require_bin.providerModelsFromSettings([], PROVIDER$1, cursorSettings.customModels, EMPTY_CAPABILITIES);
4754
4774
  }
@@ -5073,37 +5093,20 @@ const checkCursorProviderStatus = effect.Effect.fn("checkCursorProviderStatus")(
5073
5093
  ...discoveryWarning ? { discoveryWarning } : {}
5074
5094
  });
5075
5095
  });
5076
- function hasUncapturedCursorModels(snapshot) {
5077
- return snapshot.models.some((model) => !model.isCustom && !hasCursorModelCapabilities(model));
5078
- }
5079
5096
  /**
5080
- * Background capability enrichment for a Cursor snapshot.
5097
+ * Background maintenance enrichment for a Cursor snapshot.
5081
5098
  *
5082
5099
  * Used by `CursorDriver` as the `makeManagedServerProvider.enrichSnapshot`
5083
- * hook: runs the slow ACP per-model capability probe, and republishes the
5084
- * snapshot through `publishSnapshot` when new capabilities arrive. Skips
5085
- * the probe when the provider is disabled, unauthenticated, or has no
5086
- * uncaptured models. Keeps `EMPTY_CAPABILITIES` and the `PROVIDER` literal
5087
- * private to this module.
5100
+ * hook: republishes update/version advisory metadata without performing any
5101
+ * model or capability discovery. Cursor model data comes from
5102
+ * `cursor/list_available_models` during provider status checks.
5088
5103
  */
5089
5104
  const enrichCursorSnapshot = (input) => {
5090
5105
  const { settings, snapshot, publishSnapshot } = input;
5091
5106
  const stampIdentity = input.stampIdentity ?? ((value) => value);
5092
- return require_bin.enrichProviderSnapshotWithVersionAdvisory(snapshot, input.maintenanceCapabilities).pipe(effect.Effect.provideService(effect_unstable_http.HttpClient.HttpClient, input.httpClient), effect.Effect.flatMap((enrichedSnapshot) => publishSnapshot(stampIdentity(enrichedSnapshot)).pipe(effect.Effect.as(enrichedSnapshot))), effect.Effect.catchCause((cause) => effect.Effect.logWarning("Cursor version advisory enrichment failed", { cause: effect.Cause.pretty(cause) }).pipe(effect.Effect.as(snapshot)))).pipe(effect.Effect.flatMap((baseSnapshot) => {
5093
- if (!settings.enabled || baseSnapshot.auth.status === "unauthenticated" || !hasUncapturedCursorModels(baseSnapshot)) return effect.Effect.void;
5094
- return discoverCursorModelCapabilitiesViaAcp(settings, baseSnapshot.models, input.environment).pipe(effect.Effect.flatMap((discoveredModels) => {
5095
- if (discoveredModels.length === 0) return effect.Effect.void;
5096
- return publishSnapshot(stampIdentity({
5097
- ...baseSnapshot,
5098
- models: require_bin.providerModelsFromSettings(discoveredModels, PROVIDER$1, settings.customModels, EMPTY_CAPABILITIES)
5099
- }));
5100
- }), effect.Effect.catchCause((cause) => effect.Effect.logWarning("Cursor ACP background capability enrichment failed", {
5101
- models: baseSnapshot.models.map((model) => model.slug),
5102
- cause: effect.Cause.pretty(cause)
5103
- }).pipe(effect.Effect.asVoid)));
5104
- }));
5107
+ if (!settings.enabled || snapshot.auth.status === "unauthenticated") return effect.Effect.void;
5108
+ return require_bin.enrichProviderSnapshotWithVersionAdvisory(snapshot, input.maintenanceCapabilities).pipe(effect.Effect.provideService(effect_unstable_http.HttpClient.HttpClient, input.httpClient), effect.Effect.flatMap((enrichedSnapshot) => publishSnapshot(stampIdentity(enrichedSnapshot)).pipe(effect.Effect.asVoid)), effect.Effect.catchCause((cause) => effect.Effect.logWarning("Cursor version advisory enrichment failed", { cause: effect.Cause.pretty(cause) }).pipe(effect.Effect.asVoid)));
5105
5109
  };
5106
-
5107
5110
  //#endregion
5108
5111
  //#region src/provider/acp/CursorAcpSupport.ts
5109
5112
  function buildCursorAcpSpawnInput(cursorSettings, cwd, environment) {
@@ -5137,12 +5140,11 @@ function applyCursorAcpModelSelection(input) {
5137
5140
  })));
5138
5141
  });
5139
5142
  }
5140
-
5141
5143
  //#endregion
5142
5144
  //#region src/textGeneration/CursorTextGeneration.ts
5143
5145
  const CURSOR_TIMEOUT_MS = 18e4;
5144
5146
  function mapCursorAcpError(operation, detail, cause) {
5145
- return new require_bin.TextGenerationError({
5147
+ return new require_collectUint8StreamText.TextGenerationError({
5146
5148
  operation,
5147
5149
  detail,
5148
5150
  ...cause !== void 0 ? { cause } : {}
@@ -5190,18 +5192,18 @@ const makeCursorTextGeneration = effect.Effect.fn("makeCursorTextGeneration")(fu
5190
5192
  text: prompt
5191
5193
  }] });
5192
5194
  }).pipe(effect.Effect.timeoutOption(CURSOR_TIMEOUT_MS), effect.Effect.flatMap(effect.Option.match({
5193
- onNone: () => effect.Effect.fail(new require_bin.TextGenerationError({
5195
+ onNone: () => effect.Effect.fail(new require_collectUint8StreamText.TextGenerationError({
5194
5196
  operation,
5195
5197
  detail: "Cursor Agent request timed out."
5196
5198
  })),
5197
5199
  onSome: (value) => effect.Effect.succeed(value)
5198
5200
  })), effect.Effect.mapError((cause) => isTextGenerationError(cause) ? cause : mapCursorAcpError(operation, "Cursor ACP request failed.", cause)));
5199
5201
  const rawResult = (yield* effect.Ref.get(outputRef)).trim();
5200
- if (!rawResult) return yield* new require_bin.TextGenerationError({
5202
+ if (!rawResult) return yield* new require_collectUint8StreamText.TextGenerationError({
5201
5203
  operation,
5202
5204
  detail: promptResult.stopReason === "cancelled" ? "Cursor ACP request was cancelled." : "Cursor Agent returned empty output."
5203
5205
  });
5204
- return yield* effect.Schema.decodeEffect(effect.Schema.fromJsonString(outputSchemaJson))(require_makeManagedServerProvider.extractJsonObject(rawResult)).pipe(effect.Effect.catchTag("SchemaError", (cause) => effect.Effect.fail(new require_bin.TextGenerationError({
5206
+ return yield* effect.Schema.decodeEffect(effect.Schema.fromJsonString(outputSchemaJson))(require_makeManagedServerProvider.extractJsonObject(rawResult)).pipe(effect.Effect.catchTag("SchemaError", (cause) => effect.Effect.fail(new require_collectUint8StreamText.TextGenerationError({
5205
5207
  operation,
5206
5208
  detail: "Cursor Agent returned invalid structured output.",
5207
5209
  cause
@@ -5225,7 +5227,7 @@ const makeCursorTextGeneration = effect.Effect.fn("makeCursorTextGeneration")(fu
5225
5227
  return {
5226
5228
  subject: require_makeManagedServerProvider.sanitizeCommitSubject(generated.subject),
5227
5229
  body: generated.body.trim(),
5228
- ..."branch" in generated && typeof generated.branch === "string" ? { branch: require_bin.sanitizeFeatureBranchName(generated.branch) } : {}
5230
+ ..."branch" in generated && typeof generated.branch === "string" ? { branch: require_Metrics.sanitizeFeatureBranchName(generated.branch) } : {}
5229
5231
  };
5230
5232
  }),
5231
5233
  generatePrContent: effect.Effect.fn("CursorTextGeneration.generatePrContent")(function* (input) {
@@ -5253,7 +5255,7 @@ const makeCursorTextGeneration = effect.Effect.fn("makeCursorTextGeneration")(fu
5253
5255
  message: input.message,
5254
5256
  attachments: input.attachments
5255
5257
  });
5256
- return { branch: require_bin.sanitizeBranchFragment((yield* runCursorJson({
5258
+ return { branch: require_Metrics.sanitizeBranchFragment((yield* runCursorJson({
5257
5259
  operation: "generateBranchName",
5258
5260
  cwd: input.cwd,
5259
5261
  prompt,
@@ -5305,7 +5307,6 @@ const makeCursorTextGeneration = effect.Effect.fn("makeCursorTextGeneration")(fu
5305
5307
  })
5306
5308
  };
5307
5309
  });
5308
-
5309
5310
  //#endregion
5310
5311
  //#region src/provider/acp/AcpAdapterSupport.ts
5311
5312
  function mapAcpToAdapterError(provider, threadId, method, error) {
@@ -5334,7 +5335,6 @@ function acpPermissionOutcome(decision) {
5334
5335
  default: return "reject-once";
5335
5336
  }
5336
5337
  }
5337
-
5338
5338
  //#endregion
5339
5339
  //#region src/provider/acp/AcpCoreRuntimeEvents.ts
5340
5340
  function canonicalRequestTypeFromAcpKind(kind) {
@@ -5424,7 +5424,7 @@ function makeAcpToolCallEvent(input) {
5424
5424
  provider: input.provider,
5425
5425
  threadId: input.threadId,
5426
5426
  turnId: input.turnId,
5427
- itemId: require_bin.RuntimeItemId.make(input.toolCall.toolCallId),
5427
+ itemId: require_collectUint8StreamText.RuntimeItemId.make(input.toolCall.toolCallId),
5428
5428
  payload: {
5429
5429
  itemType: canonicalItemTypeFromAcpToolKind(input.toolCall.kind),
5430
5430
  ...runtimeStatus ? { status: runtimeStatus } : {},
@@ -5446,7 +5446,7 @@ function makeAcpAssistantItemEvent(input) {
5446
5446
  provider: input.provider,
5447
5447
  threadId: input.threadId,
5448
5448
  turnId: input.turnId,
5449
- itemId: require_bin.RuntimeItemId.make(input.itemId),
5449
+ itemId: require_collectUint8StreamText.RuntimeItemId.make(input.itemId),
5450
5450
  payload: {
5451
5451
  itemType: "assistant_message",
5452
5452
  status: input.lifecycle === "item.completed" ? "completed" : "inProgress"
@@ -5460,7 +5460,7 @@ function makeAcpContentDeltaEvent(input) {
5460
5460
  provider: input.provider,
5461
5461
  threadId: input.threadId,
5462
5462
  turnId: input.turnId,
5463
- ...input.itemId ? { itemId: require_bin.RuntimeItemId.make(input.itemId) } : {},
5463
+ ...input.itemId ? { itemId: require_collectUint8StreamText.RuntimeItemId.make(input.itemId) } : {},
5464
5464
  payload: {
5465
5465
  streamKind: "assistant_text",
5466
5466
  delta: input.text
@@ -5472,7 +5472,6 @@ function makeAcpContentDeltaEvent(input) {
5472
5472
  }
5473
5473
  };
5474
5474
  }
5475
-
5476
5475
  //#endregion
5477
5476
  //#region src/provider/acp/AcpNativeLogging.ts
5478
5477
  function writeNativeAcpLog(input) {
@@ -5523,78 +5522,6 @@ function makeAcpNativeLoggers(input) {
5523
5522
  } } : {}
5524
5523
  };
5525
5524
  }
5526
-
5527
- //#endregion
5528
- //#region src/provider/acp/CursorAcpExtension.ts
5529
- const CursorAskQuestionOption = effect.Schema.Struct({
5530
- id: effect.Schema.String,
5531
- label: effect.Schema.String
5532
- });
5533
- const CursorAskQuestion = effect.Schema.Struct({
5534
- id: effect.Schema.String,
5535
- prompt: effect.Schema.String,
5536
- options: effect.Schema.Array(CursorAskQuestionOption),
5537
- allowMultiple: effect.Schema.optional(effect.Schema.Boolean)
5538
- });
5539
- const CursorAskQuestionRequest = effect.Schema.Struct({
5540
- toolCallId: effect.Schema.String,
5541
- title: effect.Schema.optional(effect.Schema.String),
5542
- questions: effect.Schema.Array(CursorAskQuestion)
5543
- });
5544
- const CursorTodoStatus = effect.Schema.String;
5545
- const CursorTodo = effect.Schema.Struct({
5546
- id: effect.Schema.optional(effect.Schema.String),
5547
- content: effect.Schema.optional(effect.Schema.String),
5548
- title: effect.Schema.optional(effect.Schema.String),
5549
- status: effect.Schema.optional(CursorTodoStatus)
5550
- });
5551
- const CursorPlanPhase = effect.Schema.Struct({
5552
- name: effect.Schema.String,
5553
- todos: effect.Schema.Array(CursorTodo)
5554
- });
5555
- const CursorCreatePlanRequest = effect.Schema.Struct({
5556
- toolCallId: effect.Schema.String,
5557
- name: effect.Schema.optional(effect.Schema.String),
5558
- overview: effect.Schema.optional(effect.Schema.String),
5559
- plan: effect.Schema.String,
5560
- todos: effect.Schema.Array(CursorTodo),
5561
- isProject: effect.Schema.optional(effect.Schema.Boolean),
5562
- phases: effect.Schema.optional(effect.Schema.Array(CursorPlanPhase))
5563
- });
5564
- const CursorUpdateTodosRequest = effect.Schema.Struct({
5565
- toolCallId: effect.Schema.String,
5566
- todos: effect.Schema.Array(CursorTodo),
5567
- merge: effect.Schema.Boolean
5568
- });
5569
- function extractAskQuestions(params) {
5570
- return params.questions.map((question) => ({
5571
- id: question.id,
5572
- header: "Question",
5573
- question: question.prompt,
5574
- multiSelect: question.allowMultiple === true,
5575
- options: question.options.length > 0 ? question.options.map((option) => ({
5576
- label: option.label,
5577
- description: option.label
5578
- })) : [{
5579
- label: "OK",
5580
- description: "Continue"
5581
- }]
5582
- }));
5583
- }
5584
- function extractPlanMarkdown(params) {
5585
- return params.plan || "# Plan\n\n(Cursor did not supply plan text.)";
5586
- }
5587
- function extractTodosAsPlan(params) {
5588
- return { plan: params.todos.flatMap((todo) => {
5589
- const step = todo.content?.trim() ?? todo.title?.trim() ?? "";
5590
- if (step === "") return [];
5591
- return [{
5592
- step,
5593
- status: todo.status === "completed" ? "completed" : todo.status === "in_progress" || todo.status === "inProgress" ? "inProgress" : "pending"
5594
- }];
5595
- }) };
5596
- }
5597
-
5598
5525
  //#endregion
5599
5526
  //#region src/provider/Layers/CursorAdapter.ts
5600
5527
  /**
@@ -5602,7 +5529,7 @@ function extractTodosAsPlan(params) {
5602
5529
  *
5603
5530
  * @module CursorAdapterLive
5604
5531
  */
5605
- const PROVIDER = require_bin.ProviderDriverKind.make("cursor");
5532
+ const PROVIDER = require_collectUint8StreamText.ProviderDriverKind.make("cursor");
5606
5533
  const CURSOR_RESUME_VERSION = 1;
5607
5534
  const ACP_PLAN_MODE_ALIASES = ["plan", "architect"];
5608
5535
  const ACP_IMPLEMENT_MODE_ALIASES = [
@@ -5693,17 +5620,17 @@ function selectAutoApprovedPermissionOption(request) {
5693
5620
  }
5694
5621
  function makeCursorAdapter(cursorSettings, options) {
5695
5622
  return effect.Effect.gen(function* () {
5696
- const boundInstanceId = options?.instanceId ?? require_bin.ProviderInstanceId.make("cursor");
5623
+ const boundInstanceId = options?.instanceId ?? require_collectUint8StreamText.ProviderInstanceId.make("cursor");
5697
5624
  const fileSystem = yield* effect.FileSystem.FileSystem;
5698
5625
  const childProcessSpawner = yield* effect_unstable_process.ChildProcessSpawner.ChildProcessSpawner;
5699
- const serverConfig = yield* effect.Effect.service(require_bin.ServerConfig);
5626
+ const serverConfig = yield* effect.Effect.service(require_Metrics.ServerConfig);
5700
5627
  const nativeEventLogger = options?.nativeEventLogger ?? (options?.nativeEventLogPath !== void 0 ? yield* require_bin.makeEventNdjsonLogger(options.nativeEventLogPath, { stream: "native" }) : void 0);
5701
5628
  const managedNativeEventLogger = options?.nativeEventLogger === void 0 ? nativeEventLogger : void 0;
5702
5629
  const sessions = /* @__PURE__ */ new Map();
5703
5630
  const threadLocksRef = yield* effect.SynchronizedRef.make(/* @__PURE__ */ new Map());
5704
5631
  const runtimeEventPubSub = yield* effect.PubSub.unbounded();
5705
5632
  const nowIso = effect.Effect.map(effect.DateTime.now, effect.DateTime.formatIso);
5706
- const nextEventId = effect.Effect.map(effect.Random.nextUUIDv4, (id) => require_bin.EventId.make(id));
5633
+ const nextEventId = effect.Effect.map(effect.Random.nextUUIDv4, (id) => require_collectUint8StreamText.EventId.make(id));
5707
5634
  const makeEventStamp = () => effect.Effect.all({
5708
5635
  eventId: nextEventId,
5709
5636
  createdAt: nowIso
@@ -5823,8 +5750,8 @@ function makeCursorAdapter(cursorSettings, options) {
5823
5750
  const started = yield* effect.Effect.gen(function* () {
5824
5751
  yield* acp.handleExtRequest("cursor/ask_question", CursorAskQuestionRequest, (params) => effect.Effect.gen(function* () {
5825
5752
  yield* logNative(input.threadId, "cursor/ask_question", params, "acp.cursor.extension");
5826
- const requestId = require_bin.ApprovalRequestId.make(crypto.randomUUID());
5827
- const runtimeRequestId = require_bin.RuntimeRequestId.make(requestId);
5753
+ const requestId = require_collectUint8StreamText.ApprovalRequestId.make(crypto.randomUUID());
5754
+ const runtimeRequestId = require_collectUint8StreamText.RuntimeRequestId.make(requestId);
5828
5755
  const answers = yield* effect.Deferred.make();
5829
5756
  pendingUserInputs.set(requestId, { answers });
5830
5757
  yield* offerRuntimeEvent({
@@ -5885,8 +5812,8 @@ function makeCursorAdapter(cursorSettings, options) {
5885
5812
  } };
5886
5813
  }
5887
5814
  const permissionRequest = parsePermissionRequest(params);
5888
- const requestId = require_bin.ApprovalRequestId.make(crypto.randomUUID());
5889
- const runtimeRequestId = require_bin.RuntimeRequestId.make(requestId);
5815
+ const requestId = require_collectUint8StreamText.ApprovalRequestId.make(crypto.randomUUID());
5816
+ const runtimeRequestId = require_collectUint8StreamText.RuntimeRequestId.make(requestId);
5890
5817
  const decision = yield* effect.Deferred.make();
5891
5818
  pendingApprovals.set(requestId, {
5892
5819
  decision,
@@ -5931,7 +5858,7 @@ function makeCursorAdapter(cursorSettings, options) {
5931
5858
  mapError: ({ cause, method }) => mapAcpToAdapterError(PROVIDER, input.threadId, method, cause)
5932
5859
  });
5933
5860
  const now = yield* nowIso;
5934
- const tokenMode = input.tokenMode ?? require_bin.DEFAULT_AGENT_TOKEN_MODE;
5861
+ const tokenMode = input.tokenMode ?? "balanced";
5935
5862
  const session = {
5936
5863
  provider: PROVIDER,
5937
5864
  providerInstanceId: boundInstanceId,
@@ -6044,7 +5971,7 @@ function makeCursorAdapter(cursorSettings, options) {
6044
5971
  }).pipe(effect.Effect.scoped));
6045
5972
  const sendTurn = (input) => effect.Effect.gen(function* () {
6046
5973
  const ctx = yield* requireSession(input.threadId);
6047
- const turnId = require_bin.TurnId.make(crypto.randomUUID());
5974
+ const turnId = require_collectUint8StreamText.TurnId.make(crypto.randomUUID());
6048
5975
  const turnModelSelection = input.modelSelection?.instanceId === boundInstanceId ? input.modelSelection : void 0;
6049
5976
  const model = turnModelSelection?.model ?? ctx.session.model;
6050
5977
  const resolvedModel = resolveCursorAcpBaseModelId(model);
@@ -6208,16 +6135,14 @@ function makeCursorAdapter(cursorSettings, options) {
6208
6135
  };
6209
6136
  });
6210
6137
  }
6211
-
6212
6138
  //#endregion
6213
6139
  //#region src/provider/Drivers/CursorDriver.ts
6214
6140
  /**
6215
6141
  * CursorDriver — `ProviderDriver` for the Cursor Agent (`agent`) runtime.
6216
6142
  *
6217
- * Cursor exposes an ACP-based CLI. The driver is still a plain value, but
6218
- * its snapshot uses `makeManagedServerProvider`'s optional `enrichSnapshot`
6219
- * hook to run the slow ACP model-capability probe in the background without
6220
- * blocking the initial `ready`-state publish.
6143
+ * Cursor exposes an ACP-based CLI. Model catalog and capability refreshes
6144
+ * happen during the managed provider status check via Cursor's
6145
+ * `list_available_models` extension method.
6221
6146
  *
6222
6147
  * Text generation is supported via the ACP runtime — `makeCursorTextGeneration`
6223
6148
  * drives `runtime.prompt` with a structured-output schema and collects the
@@ -6225,7 +6150,7 @@ function makeCursorAdapter(cursorSettings, options) {
6225
6150
  *
6226
6151
  * @module provider/Drivers/CursorDriver
6227
6152
  */
6228
- const DRIVER_KIND = require_bin.ProviderDriverKind.make("cursor");
6153
+ const DRIVER_KIND = require_collectUint8StreamText.ProviderDriverKind.make("cursor");
6229
6154
  const UPDATE = require_bin.makeStaticProviderMaintenanceResolver(require_bin.makeProviderMaintenanceCapabilities({
6230
6155
  provider: DRIVER_KIND,
6231
6156
  packageName: null,
@@ -6247,8 +6172,8 @@ const CursorDriver = {
6247
6172
  displayName: "Cursor",
6248
6173
  supportsMultipleInstances: true
6249
6174
  },
6250
- configSchema: require_bin.CursorSettings,
6251
- defaultConfig: () => effect.Schema.decodeSync(require_bin.CursorSettings)({}),
6175
+ configSchema: require_collectUint8StreamText.CursorSettings,
6176
+ defaultConfig: () => effect.Schema.decodeSync(require_collectUint8StreamText.CursorSettings)({}),
6252
6177
  create: ({ instanceId, displayName, accentColor, environment, enabled, config }) => effect.Effect.gen(function* () {
6253
6178
  const spawner = yield* effect_unstable_process.ChildProcessSpawner.ChildProcessSpawner;
6254
6179
  const fileSystem = yield* effect.FileSystem.FileSystem;
@@ -6297,13 +6222,12 @@ const CursorDriver = {
6297
6222
  checkProvider,
6298
6223
  enrichSnapshot: ({ settings, snapshot: currentSnapshot, publishSnapshot }) => enrichCursorSnapshot({
6299
6224
  settings,
6300
- environment: processEnv,
6301
6225
  snapshot: currentSnapshot,
6302
6226
  maintenanceCapabilities,
6303
6227
  publishSnapshot,
6304
6228
  stampIdentity,
6305
6229
  httpClient
6306
- }).pipe(effect.Effect.provideService(effect_unstable_process.ChildProcessSpawner.ChildProcessSpawner, spawner)),
6230
+ }),
6307
6231
  refreshInterval: null
6308
6232
  }).pipe(effect.Effect.mapError((cause) => new require_bin.ProviderDriverError({
6309
6233
  driver: DRIVER_KIND,
@@ -6316,6 +6240,5 @@ const CursorDriver = {
6316
6240
  };
6317
6241
  })
6318
6242
  };
6319
-
6320
6243
  //#endregion
6321
- exports.CursorDriver = CursorDriver;
6244
+ exports.CursorDriver = CursorDriver;