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.
- package/dist/{AzureDevOpsSourceControlProvider-X7_C5qAM.cjs → AzureDevOpsSourceControlProvider-CdgNqZ5j.cjs} +29 -19
- package/dist/{AzureDevOpsSourceControlProvider-CwvdH4Ll.mjs → AzureDevOpsSourceControlProvider-OsyDSESj.mjs} +14 -4
- package/dist/{BitbucketSourceControlProvider-3IhNThuu.cjs → BitbucketSourceControlProvider-DBTH98i4.cjs} +36 -19
- package/dist/{BitbucketSourceControlProvider-Y3LxnPYV.mjs → BitbucketSourceControlProvider-SQ3gKdFs.mjs} +21 -4
- package/dist/{BunPTY-6EA-iDZJ.mjs → BunPTY-B_vjRZN4.mjs} +2 -4
- package/dist/{BunPTY-CyqsuAMZ.cjs → BunPTY-BclzAOxp.cjs} +2 -4
- package/dist/{ClaudeDriver-Cmqo9lqD.mjs → ClaudeDriver-2dTtrsFD.mjs} +166 -156
- package/dist/{ClaudeDriver-CiWSk1E1.cjs → ClaudeDriver-D9yC2F0b.cjs} +196 -185
- package/dist/{CodexDriver-D73klBUb.cjs → CodexDriver-BC2B-qpT.cjs} +114 -50
- package/dist/{CodexDriver-BRsJm8XU.mjs → CodexDriver-CIDYevQX.mjs} +83 -20
- package/dist/{CodexTextGeneration-Bg0r8k7C.mjs → CodexTextGeneration-CjknB1Xl.mjs} +6 -6
- package/dist/{CodexTextGeneration-jbe9qfEM.cjs → CodexTextGeneration-DNeO-8GE.cjs} +18 -18
- package/dist/{CopilotDriver-tZdF91om.cjs → CopilotDriver-BGChrP5c.cjs} +31 -37
- package/dist/{CopilotDriver-DvDa-7-c.mjs → CopilotDriver-NPhlLrk2.mjs} +13 -19
- package/dist/{CursorDriver-C6dq_Wr6.mjs → CursorDriver-BcAVbT8D.mjs} +195 -273
- package/dist/{CursorDriver-BVJV7yyE.cjs → CursorDriver-CYxn4_c1.cjs} +239 -316
- package/dist/{ForgejoSourceControlProvider-C9T3-pOt.mjs → ForgejoSourceControlProvider-BjCE3730.mjs} +14 -4
- package/dist/{ForgejoSourceControlProvider-DYtCJSSP.cjs → ForgejoSourceControlProvider-D3wP2Cav.cjs} +29 -19
- package/dist/{GitHubSourceControlProvider-BmSffLFQ.mjs → GitHubSourceControlProvider-DByZ_cnw.mjs} +40 -8
- package/dist/{GitHubSourceControlProvider-DIbRPFFf.cjs → GitHubSourceControlProvider-DU_7IvMa.cjs} +54 -22
- package/dist/{GitLabSourceControlProvider-BdLuuH3g.cjs → GitLabSourceControlProvider-BVJ5IqTS.cjs} +29 -19
- package/dist/{GitLabSourceControlProvider-DTZ_rx8U.mjs → GitLabSourceControlProvider-BdMCIjXb.mjs} +14 -4
- package/dist/Metrics-BCOc3Ml2.mjs +356 -0
- package/dist/Metrics-DNOriWhP.cjs +634 -0
- package/dist/{NodePTY-Dg0g4rID.mjs → NodePTY-_u3kQLvd.mjs} +2 -4
- package/dist/{NodePTY-U7qcu5qQ.cjs → NodePTY-keGvFYk9.cjs} +2 -4
- package/dist/{NodeSqliteClient-CPd53X2R.mjs → NodeSqliteClient-BXy61fAd.mjs} +2 -4
- package/dist/{NodeSqliteClient-UlhLLRBA.cjs → NodeSqliteClient-homCO8-6.cjs} +16 -18
- package/dist/{OpenCodeDriver-D79_QFoB.cjs → OpenCodeDriver-DyR83FcY.cjs} +32 -34
- package/dist/{OpenCodeDriver-DN5bRb9Z.mjs → OpenCodeDriver-fwqXoVyH.mjs} +10 -13
- package/dist/{ProjectCustomSystemPrompt-9Bf13ScV.cjs → ProjectCustomSystemPrompt-B8SUlNGa.cjs} +11 -13
- package/dist/{ProjectCustomSystemPrompt-QmzOdzXf.mjs → ProjectCustomSystemPrompt-CS1nulhL.mjs} +1 -2
- package/dist/{ProviderDriver-DJK4EOeA.cjs → ProviderDriver--rNeAi3B.cjs} +6 -8
- package/dist/{ProviderDriver-CkHnmP8q.mjs → ProviderDriver-kCV60GKk.mjs} +1 -2
- package/dist/SourceControlProviderDiscoveryCatalog-CQiMyDCC.mjs +569 -0
- package/dist/SourceControlProviderDiscoveryCatalog-DqQVhwYM.cjs +676 -0
- package/dist/bin.cjs +6648 -12395
- package/dist/bin.d.cts +2 -0
- package/dist/bin.d.mts +2 -0
- package/dist/bin.mjs +8539 -14222
- package/dist/chunk-jM1PLTSZ.cjs +30 -0
- package/dist/client/assets/AnimatedHeight-CYuVQOpY.js +1 -0
- package/dist/client/assets/AppearanceSettings-BBbC8CV5.js +1 -0
- package/dist/client/assets/BranchToolbar.logic-Di2EkKiO.js +1 -0
- package/dist/client/assets/ChatRightPanel-BJ_cVP66.js +188 -0
- package/dist/client/assets/ChatThreadRouteView-DmxD3m2U.js +1 -0
- package/dist/client/assets/CommandPaletteDialog-CAzz6bsT.js +1 -0
- package/dist/client/assets/CompositeRoot-BvXCwn2c.js +1 -0
- package/dist/client/assets/ConnectionsSettings-Cmxm0y2u.js +1 -0
- package/dist/client/assets/DialogHandle-CXNAm3QY.js +1 -0
- package/dist/client/assets/DialogRoot-DaMwpoP_.js +1 -0
- package/dist/client/assets/DialogTitle-KXmfgzP3.js +1 -0
- package/dist/client/assets/DialogTrigger-NHyQnW3X.js +1 -0
- package/dist/client/assets/DialogViewport-CL0WR9a5.js +1 -0
- package/dist/client/assets/DraftChatThreadRouteView-C_hqauF6.js +1 -0
- package/dist/client/assets/JetBrainsIcons-BcR8pCma.js +1 -0
- package/dist/client/assets/KeybindingsSettings-m2AteGOl.js +7 -0
- package/dist/client/assets/McpServersSettings-DndIDxgA.js +6 -0
- package/dist/client/assets/NoActiveThreadState-Bt-Wkv-C.js +1 -0
- package/dist/client/assets/OpinionatedPluginsSettings-oDtdE6qx.js +1 -0
- package/dist/client/assets/ProjectFavicon-j9IX_7-B.js +1 -0
- package/dist/client/assets/ProviderUpdateLaunchNotification.logic-BFzNCo3I.js +1 -0
- package/dist/client/assets/ProvidersSettingsPanel-CvlIBNVJ.js +1 -0
- package/dist/client/assets/QueryClientProvider-BZxRKpeb.js +1 -0
- package/dist/client/assets/RedactedSensitiveText-UnZZJnFF.js +1 -0
- package/dist/client/assets/RootAppShell-CyHZ_F5P.js +12 -0
- package/dist/client/assets/SettingsDialog-BYJ8AhQp.js +2 -0
- package/dist/client/assets/SourceControlSettings-7xU6VH6N.js +1 -0
- package/dist/client/assets/ThreadStatusIndicators-M9FWDEex.js +1 -0
- package/dist/client/assets/ThreadTerminalDrawer-BXoXAbsR.js +38 -0
- package/dist/client/assets/ThreadTerminalDrawer-BrP-ENHg.css +1 -0
- package/dist/client/assets/ThreadWorkspacePanel-D1J63TVD.js +166 -0
- package/dist/client/assets/alert-dialog-BJQbh5gX.js +1 -0
- package/dist/client/assets/{angular-html-s8mFfHxJ.js → angular-html-BjMPwewj.js} +1 -1
- package/dist/client/assets/{angular-ts-qPgEQREa.js → angular-ts-DueL15Nu.js} +1 -1
- package/dist/client/assets/{apl-Bk41I3U1.js → apl-BgVy_tIs.js} +1 -1
- package/dist/client/assets/{astro-ClwGnYhy.js → astro-CWd6v_kU.js} +1 -1
- package/dist/client/assets/{blade-D8d2x7Cj.js → blade-C1itW3Xj.js} +1 -1
- package/dist/client/assets/{bsl-DJJjEj3G.js → bsl-BkkzgIyY.js} +1 -1
- package/dist/client/assets/{c-C7LLcxwo.js → c-BerOGYIx.js} +1 -1
- package/dist/client/assets/{cairo-D0DvaGhb.js → cairo-DLTphjLi.js} +1 -1
- package/dist/client/assets/chatThreadActions--n7v5mnB.js +1 -0
- package/dist/client/assets/clamp-NYtK3f5s.js +1 -0
- package/dist/client/assets/{cobol-BFmBEDT2.js → cobol-C_rkq165.js} +1 -1
- package/dist/client/assets/codexUsageLimits-BJQiZCqn.js +1 -0
- package/dist/client/assets/{coffee-C6xKBntv.js → coffee-DX2eriSb.js} +1 -1
- package/dist/client/assets/commandPaletteStore-oFMPKPmp.js +1 -0
- package/dist/client/assets/{compiler-runtime-BF315rzL.js → compiler-runtime-BNrXlsa1.js} +1 -1
- package/dist/client/assets/composerDraftStore-xu3n5gdX.js +21 -0
- package/dist/client/assets/{cpp-CVDdGIJL.js → cpp-DN_S3YzL.js} +1 -1
- package/dist/client/assets/{crystal-C8hrz-Ed.js → crystal-DX_yIzv-.js} +1 -1
- package/dist/client/assets/{css-Bq4IaKl1.js → css-CcrQR6FS.js} +1 -1
- package/dist/client/assets/desktopUpdateReactQuery-YSCkifKp.js +2 -0
- package/dist/client/assets/download-Bi4-cFbc.js +1 -0
- package/dist/client/assets/draft-input-BGSRgOW7.js +1 -0
- package/dist/client/assets/{edge-M0lvKmK0.js → edge-D6QhZ796.js} +1 -1
- package/dist/client/assets/{elixir-Z_A63tjC.js → elixir-DMd9329w.js} +1 -1
- package/dist/client/assets/{elm-CSUyuYJg.js → elm-ClOR9TU8.js} +1 -1
- package/dist/client/assets/empty-BTxheW4B.js +1 -0
- package/dist/client/assets/environmentApi-BFHi_M02.js +1 -0
- package/dist/client/assets/{erb-DrEx0jBQ.js → erb-HraKpeAP.js} +1 -1
- package/dist/client/assets/{erlang-CJBKhF6J.js → erlang-Cphh6RMH.js} +1 -1
- package/dist/client/assets/folder-open-DJmHEPv9.js +1 -0
- package/dist/client/assets/{fortran-fixed-form-BKSuIOW4.js → fortran-fixed-form-DEKoE2YW.js} +1 -1
- package/dist/client/assets/{fsharp-U9gZ5YOh.js → fsharp-D13ZGOAj.js} +1 -1
- package/dist/client/assets/{gdresource-DoBd66sG.js → gdresource-C0sCabJj.js} +1 -1
- package/dist/client/assets/{git-commit-Db7dtED7.js → git-commit-BSykSTBG.js} +1 -1
- package/dist/client/assets/{git-rebase-QypkBr98.js → git-rebase-7x6VaRfM.js} +1 -1
- package/dist/client/assets/{glimmer-js-NOqtI1Rk.js → glimmer-js-Bs66SSVv.js} +1 -1
- package/dist/client/assets/{glimmer-ts-BeU4NlYB.js → glimmer-ts-C-1005ee.js} +1 -1
- package/dist/client/assets/{glsl-BkDxwNg4.js → glsl-ClknhvHk.js} +1 -1
- package/dist/client/assets/{graphql-BuqaMepw.js → graphql-BJK35HL6.js} +1 -1
- package/dist/client/assets/group-Dwm-OV-r.js +1 -0
- package/dist/client/assets/{hack-C01X66u7.js → hack-DTKnRaIz.js} +1 -1
- package/dist/client/assets/{haml-6AVURMsW.js → haml-v1Ae09NK.js} +1 -1
- package/dist/client/assets/{handlebars-CQt0otqg.js → handlebars-DvtPw9yK.js} +1 -1
- package/dist/client/assets/hostedPairing-DAdvNuk3.js +1 -0
- package/dist/client/assets/{html-B9GCfMM1.js → html-Ckes0w7-.js} +1 -1
- package/dist/client/assets/{html-derivative-Choar9BD.js → html-derivative-CjYqXu8c.js} +1 -1
- package/dist/client/assets/{http-DvFNkpiH.js → http-DgyAR01B.js} +1 -1
- package/dist/client/assets/{hurl-BSVy9O8n.js → hurl-BSy4XrZM.js} +1 -1
- package/dist/client/assets/{hxml-BcCIYlZp.js → hxml-B0Qn7Nwc.js} +1 -1
- package/dist/client/assets/{index-B215HMv1.js → index-BI5yFj9n.js} +2 -2
- package/dist/client/assets/input-BfUa3JUD.js +1 -0
- package/dist/client/assets/{java-DYU2LKAe.js → java-BRs8BbUU.js} +1 -1
- package/dist/client/assets/{javascript-CqMUgcTv.js → javascript-CCh9h5HS.js} +1 -1
- package/dist/client/assets/{jinja-DZIBHWGb.js → jinja-D1OtL_yO.js} +1 -1
- package/dist/client/assets/{jison-1dZyCIA-.js → jison-D_fWb18i.js} +1 -1
- package/dist/client/assets/{json-By08Hh8g.js → json-Bs_SRPeT.js} +1 -1
- package/dist/client/assets/{jsx-D-zBxh5E.js → jsx-Btew4WFJ.js} +1 -1
- package/dist/client/assets/{julia-D4DyCD9m.js → julia-BKIxRKg2.js} +1 -1
- package/dist/client/assets/{just-t1DYRM-F.js → just-CSkhc6Nt.js} +1 -1
- package/dist/client/assets/kbd-Dd57M8OY.js +1 -0
- package/dist/client/assets/keybindings--G1bkIjA.js +1 -0
- package/dist/client/assets/keyboard-B87VTfPa.js +1 -0
- package/dist/client/assets/{latex-WQQP2pth.js → latex-DrurJw6z.js} +1 -1
- package/dist/client/assets/{liquid-D0Ghr7un.js → liquid-DLZ2kGK1.js} +1 -1
- package/dist/client/assets/{lua-r3xGOG0a.js → lua-BNdhJiqB.js} +1 -1
- package/dist/client/assets/main-BQf5U-fz.js +9 -0
- package/dist/client/assets/main-DrwkwNo9.css +2 -0
- package/dist/client/assets/{marko-wk9TVjCS.js → marko-B3eJkbnP.js} +1 -1
- package/dist/client/assets/{mdc-BRMVGNjb.js → mdc-Dz2y1zK2.js} +1 -1
- package/dist/client/assets/modelPickerOpenState-BJxsqvdg.js +1 -0
- package/dist/client/assets/mutation-DJZgOJRu.js +1 -0
- package/dist/client/assets/{nextflow-D0nv53RF.js → nextflow-Bbiyy34d.js} +1 -1
- package/dist/client/assets/{nginx-D968CCNX.js → nginx-BazusZwe.js} +1 -1
- package/dist/client/assets/{nim-CRCwl258.js → nim-jwqEnSmK.js} +1 -1
- package/dist/client/assets/{perl-29yJp9Uu.js → perl-BwoWHrup.js} +1 -1
- package/dist/client/assets/{php-Cemz192H.js → php-DmODFjdr.js} +1 -1
- package/dist/client/assets/plus-B10j9MbZ.js +1 -0
- package/dist/client/assets/primary-CSkhdakK.js +1 -0
- package/dist/client/assets/providerDriverMeta-B6xuq7ij.js +1 -0
- package/dist/client/assets/providerIconUtils-Ch6hejVW.js +47 -0
- package/dist/client/assets/{pug-B2ZE7aeX.js → pug-JR1tLpbP.js} +1 -1
- package/dist/client/assets/{qml-jG3DrKD9.js → qml-CrcLSvXM.js} +1 -1
- package/dist/client/assets/{r-D3sEfBW5.js → r-B4G19rTw.js} +1 -1
- package/dist/client/assets/{razor-Beauj9_g.js → razor-Vr7Dkano.js} +1 -1
- package/dist/client/assets/react-CjD7iThp.js +16 -0
- package/dist/client/assets/react-PSPkXoKo.js +1 -0
- package/dist/client/assets/refresh-cw-CRxaXR0E.js +1 -0
- package/dist/client/assets/{regexp-DJB-0KGI.js → regexp-mkyOQxyI.js} +1 -1
- package/dist/client/assets/resolveAriaLabelledBy-D4fWpj84.js +1 -0
- package/dist/client/assets/rightPanelRouteSearch-CTMFCS6R.js +1 -0
- package/dist/client/assets/{rst-D9Thij-7.js → rst-CMlIIAT6.js} +1 -1
- package/dist/client/assets/{ruby-BriTZmlZ.js → ruby-DeHylo3G.js} +1 -1
- package/dist/client/assets/{sas-Cp_miaeX.js → sas-DITAP7FM.js} +1 -1
- package/dist/client/assets/scroll-area-BgFq7GRd.js +1 -0
- package/dist/client/assets/{scss-DpivEdne.js → scss-DPGO9NvD.js} +1 -1
- package/dist/client/assets/separator-CB3Ctlvi.js +1 -0
- package/dist/client/assets/server-tdx7WxLI.js +1 -0
- package/dist/client/assets/session-logic-CaiGe4hy.js +4 -0
- package/dist/client/assets/settingsDialogStore-9vo22xKp.js +1 -0
- package/dist/client/assets/settingsLayout-B5o13iGO.js +1 -0
- package/dist/client/assets/{shaderlab-DJPIU-BM.js → shaderlab-TOUzSsQk.js} +1 -1
- package/dist/client/assets/{shellscript-CM8oTE2e.js → shellscript-Ctrwjmrg.js} +1 -1
- package/dist/client/assets/{shellsession-Cbvx0Scr.js → shellsession-CVFkOqvv.js} +1 -1
- package/dist/client/assets/sidebar-Bbdql7Af.js +1 -0
- package/dist/client/assets/skeleton-C8OZcsPq.js +1 -0
- package/dist/client/assets/{soy-4R-idkhG.js → soy-DGJ8Y2bl.js} +1 -1
- package/dist/client/assets/{sparql-Zqzk9CwD.js → sparql-D_iOobhT.js} +1 -1
- package/dist/client/assets/{sql-sKjBShS8.js → sql-u97rfsUo.js} +1 -1
- package/dist/client/assets/{stata-DLIq7jHS.js → stata-DWI7UlWE.js} +1 -1
- package/dist/client/assets/storeSelectors-DBRyhCGm.js +1 -0
- package/dist/client/assets/{surrealql-CRX8IwBN.js → surrealql-BUWsplpt.js} +1 -1
- package/dist/client/assets/{svelte-Dvrysi6X.js → svelte-CQXFJOFl.js} +1 -1
- package/dist/client/assets/{templ-RcP_-Nu-.js → templ-CA7lFfrq.js} +1 -1
- package/dist/client/assets/{tex-B8a5_DIi.js → tex-DAVBEZhF.js} +1 -1
- package/dist/client/assets/threadRoutes-CfldSp4X.js +1 -0
- package/dist/client/assets/threadSelectionStore-BggKwzmQ.js +1 -0
- package/dist/client/assets/toast-DE-WwLMa.js +1 -0
- package/dist/client/assets/toggle-BFMa0a0Y.js +1 -0
- package/dist/client/assets/toggle-group-DdKXHoT3.js +1 -0
- package/dist/client/assets/trash-2-CZQem-sz.js +1 -0
- package/dist/client/assets/{ts-tags-BG0VzqyM.js → ts-tags-cqyzSw6V.js} +1 -1
- package/dist/client/assets/{tsx-D4f8_1wY.js → tsx-aOZK_XWL.js} +1 -1
- package/dist/client/assets/{twig-DxlRBqRW.js → twig-RScZCD0T.js} +1 -1
- package/dist/client/assets/{typescript-C32OH5Jk.js → typescript-6eFuNBLU.js} +1 -1
- package/dist/client/assets/useHandleNewThread-DOPZAFqE.js +1 -0
- package/dist/client/assets/useLabelableId-BzWaBebJ.js +1 -0
- package/dist/client/assets/useNavigate-B1qgM5mt.js +1 -0
- package/dist/client/assets/useTheme-C7Ji7x06.js +1 -0
- package/dist/client/assets/vscode-icons-E8NUFd62.js +1 -0
- package/dist/client/assets/{vue-5RtgVZcg.js → vue-DVoN9ARa.js} +1 -1
- package/dist/client/assets/{vue-html-Dd-LXYnz.js → vue-html-BnZS_Ahq.js} +1 -1
- package/dist/client/assets/{vue-vine-BKz6iXyu.js → vue-vine-B0I6Y_6P.js} +1 -1
- package/dist/client/assets/{worker-rFBLi4xK.js → worker-B_h_pwVO.js} +5 -5
- package/dist/client/assets/wrench-DEteICtk.js +1 -0
- package/dist/client/assets/x-b9324xm-.js +1 -0
- package/dist/client/assets/{xml-DXQJVDNT.js → xml-Dvs5bvzt.js} +1 -1
- package/dist/client/assets/{xsl-ByvM9IQh.js → xsl-CuljSg_9.js} +1 -1
- package/dist/client/assets/{yaml-CCq_gfp4.js → yaml-orq9hzxs.js} +1 -1
- package/dist/client/index.html +1 -1
- package/dist/collectUint8StreamText-DbCOJom3.cjs +7269 -0
- package/dist/collectUint8StreamText-DuFJyaQh.mjs +6185 -0
- package/dist/{makeManagedServerProvider-DVrBJ3h3.cjs → makeManagedServerProvider-C3cQUDkZ.cjs} +77 -79
- package/dist/{makeManagedServerProvider-B3DH-AMf.mjs → makeManagedServerProvider-wFGZ2-vd.mjs} +7 -10
- package/dist/sourceControl-iWG-m4wE.mjs +207 -0
- package/dist/sourceControl-x2t62T8h.cjs +230 -0
- package/dist/{sourceControlContextFormatter-CO5cScmF.cjs → sourceControlContextFormatter-BDZqn-4T.cjs} +6 -8
- package/dist/{sourceControlContextFormatter-DpXEEmAm.mjs → sourceControlContextFormatter-DEwpnVAH.mjs} +1 -2
- package/package.json +5 -3
- package/dist/client/assets/ChangedFilesTree-B4W17bLf.js +0 -1
- package/dist/client/assets/DiffPanel-C9_pKXWU.js +0 -75
- package/dist/client/assets/DiffPanelShell-BmfxFBmp.js +0 -167
- package/dist/client/assets/DiffWorkerPoolProvider-B2FLS8eo.js +0 -1
- package/dist/client/assets/PreviewPanel-Z0IDMiKg.js +0 -30
- package/dist/client/assets/RootAppShell-qLlEOcIH.js +0 -24
- package/dist/client/assets/alert-D2R5HNlM.js +0 -1
- package/dist/client/assets/composerHandleContext-CkHnb2_F.js +0 -46
- package/dist/client/assets/hostedPairing-D299g9iL.js +0 -1
- package/dist/client/assets/main-DOCL-gXt.js +0 -66
- package/dist/client/assets/main-DhO2tDKo.css +0 -1
- package/dist/client/assets/pathEntry-DCmCWUeG.js +0 -1
- package/dist/client/assets/primary-BKkx6aqv.js +0 -16
- package/dist/client/assets/react-CYzKIDNi.js +0 -1
- package/dist/client/assets/refresh-cw-BpZqiP_0.js +0 -1
- package/dist/client/assets/runtime-QfzvF0Vn.js +0 -1
- package/dist/client/assets/separator-CXZK6vFp.js +0 -4
- package/dist/client/assets/text-wrap-CnmG6WhR.js +0 -62
- package/dist/client/assets/toggle-BfBpNkCG.js +0 -1
- package/dist/client/assets/toggle-group-Dp1gg0mX.js +0 -1
- package/dist/client/assets/useSettings-BLDkflD_.js +0 -21
- package/dist/client/assets/useTheme-BHTjVtp9.js +0 -1
- package/dist/client/assets/useTheme-EFHXLM5e.js +0 -1
- package/dist/client/assets/vscode-icons-Ciu6Pjk4.js +0 -1
- /package/dist/client/assets/{abap-Vg0cj5d8.js → abap-CLvhMVsD.js} +0 -0
- /package/dist/client/assets/{actionscript-3-BV1RXWL1.js → actionscript-3--17pq3dv.js} +0 -0
- /package/dist/client/assets/{ada-Ce_Xk3Sp.js → ada-C5qYipkI.js} +0 -0
- /package/dist/client/assets/{andromeeda-DJewj201.js → andromeeda-vGVdxbeo.js} +0 -0
- /package/dist/client/assets/{apache-BbDgM_LY.js → apache-U0d_L8uA.js} +0 -0
- /package/dist/client/assets/{apex-Z4y334SR.js → apex-CGTLDQj6.js} +0 -0
- /package/dist/client/assets/{applescript-CLDQZ5Zp.js → applescript-CCn79oCD.js} +0 -0
- /package/dist/client/assets/{ara-DwFb8Z32.js → ara-4CJ0cIlV.js} +0 -0
- /package/dist/client/assets/{asciidoc-ByVQW3u3.js → asciidoc-DE70LPWp.js} +0 -0
- /package/dist/client/assets/{asm-CqqqWovZ.js → asm-Cmm7eHzH.js} +0 -0
- /package/dist/client/assets/{aurora-x-B9BHU0bK.js → aurora-x-CDeNXAV0.js} +0 -0
- /package/dist/client/assets/{awk-L5v-cuCL.js → awk-BWXHIvNe.js} +0 -0
- /package/dist/client/assets/{ayu-dark-YQNfFJx2.js → ayu-dark-DluEY0Gj.js} +0 -0
- /package/dist/client/assets/{ayu-light-_9Blof0L.js → ayu-light-C3h-C4tm.js} +0 -0
- /package/dist/client/assets/{ayu-mirage-ywKZgCHT.js → ayu-mirage-Bqwy1Gya.js} +0 -0
- /package/dist/client/assets/{ballerina-Dgg2a6zg.js → ballerina-B7ZEbQpA.js} +0 -0
- /package/dist/client/assets/{bat-wLloRoua.js → bat-Bo4NYOV-.js} +0 -0
- /package/dist/client/assets/{beancount-BCSJrVVf.js → beancount-D-usSTwE.js} +0 -0
- /package/dist/client/assets/{berry-DJXUHylF.js → berry-DKpUyyne.js} +0 -0
- /package/dist/client/assets/{bibtex-C6hGKKRT.js → bibtex-Ci_nEsc7.js} +0 -0
- /package/dist/client/assets/{bicep-RsAVk7ms.js → bicep-CUHmPFLl.js} +0 -0
- /package/dist/client/assets/{bird2-DTRIpKsA.js → bird2-C2hNVINV.js} +0 -0
- /package/dist/client/assets/{c3-DhlmE_oa.js → c3-CnJL0r0V.js} +0 -0
- /package/dist/client/assets/{cadence-gm_AXdjh.js → cadence-CQ2zXKGN.js} +0 -0
- /package/dist/client/assets/{catppuccin-frappe-CRaK-OXp.js → catppuccin-frappe-3VR1Za6u.js} +0 -0
- /package/dist/client/assets/{catppuccin-latte-CekmIWzD.js → catppuccin-latte-DwIHMF0Q.js} +0 -0
- /package/dist/client/assets/{catppuccin-macchiato-Pgs1_ylq.js → catppuccin-macchiato-DYnBP6_5.js} +0 -0
- /package/dist/client/assets/{catppuccin-mocha-CVFrnEg2.js → catppuccin-mocha-DYhrFGRu.js} +0 -0
- /package/dist/client/assets/{clarity-_nV8rm3T.js → clarity-SemFz856.js} +0 -0
- /package/dist/client/assets/{clojure-Dsywsvl2.js → clojure-DqKBuwfJ.js} +0 -0
- /package/dist/client/assets/{cmake-DoZviRk-.js → cmake-Bj61d0ZC.js} +0 -0
- /package/dist/client/assets/{codeowners-LcUICwIC.js → codeowners-C8r90Shi.js} +0 -0
- /package/dist/client/assets/{codeql-C0tRiarJ.js → codeql-oeQT6MSM.js} +0 -0
- /package/dist/client/assets/{common-lisp-BQXePP3H.js → common-lisp-Cv5bFMCO.js} +0 -0
- /package/dist/client/assets/{coq-DWR2ZlCV.js → coq-BrsZFFmf.js} +0 -0
- /package/dist/client/assets/{csharp-BpO6pU8h.js → csharp-Ct8U2NOr.js} +0 -0
- /package/dist/client/assets/{csv-guZ1Hczt.js → csv-Dx-8-gkx.js} +0 -0
- /package/dist/client/assets/{cue-DVp9_WvV.js → cue-CE9AQfxI.js} +0 -0
- /package/dist/client/assets/{cypher-3MHH4pYW.js → cypher-ClKdZ_lG.js} +0 -0
- /package/dist/client/assets/{d-CIAu_RLS.js → d-qD-0Kul2.js} +0 -0
- /package/dist/client/assets/{dark-plus-D6YuWbv0.js → dark-plus-Cs2F2srj.js} +0 -0
- /package/dist/client/assets/{dart-DYuQ6kUW.js → dart-DkHntEIa.js} +0 -0
- /package/dist/client/assets/{dax-BBIUHzFG.js → dax-BkyTk9wS.js} +0 -0
- /package/dist/client/assets/{desktop-i7Pu8H5c.js → desktop-Dlh5hvp9.js} +0 -0
- /package/dist/client/assets/{diff-BOMu6KnT.js → diff-woXpYk--.js} +0 -0
- /package/dist/client/assets/{docker-Jl7Opeg9.js → docker-IyjqRm3v.js} +0 -0
- /package/dist/client/assets/{dotenv-DNMkRfS9.js → dotenv-_5a1GRtc.js} +0 -0
- /package/dist/client/assets/{dracula-BRuhgxZx.js → dracula-BHWKrbxM.js} +0 -0
- /package/dist/client/assets/{dracula-soft-Bh-3NXEk.js → dracula-soft-5eyTD99u.js} +0 -0
- /package/dist/client/assets/{dream-maker-XsE3rknm.js → dream-maker-DW3nJb8Q.js} +0 -0
- /package/dist/client/assets/{emacs-lisp-DILRoF5l.js → emacs-lisp-C9PiwqqW.js} +0 -0
- /package/dist/client/assets/{everforest-dark-TN28LCtO.js → everforest-dark-sB-x3p7T.js} +0 -0
- /package/dist/client/assets/{everforest-light-Bie4zQAp.js → everforest-light-Df2xbC6M.js} +0 -0
- /package/dist/client/assets/{fennel-C5HmIS3y.js → fennel-DQxkIbk2.js} +0 -0
- /package/dist/client/assets/{fish-BLa94bES.js → fish-BJitypiv.js} +0 -0
- /package/dist/client/assets/{fluent-Dz5wDZec.js → fluent-C03EYrpw.js} +0 -0
- /package/dist/client/assets/{fortran-free-form-Dhgntk66.js → fortran-free-form-CYNrtFtB.js} +0 -0
- /package/dist/client/assets/{gdscript-cU6-22QG.js → gdscript-Cp2uCuqX.js} +0 -0
- /package/dist/client/assets/{gdshader-D10o9T_4.js → gdshader-CBce3t8t.js} +0 -0
- /package/dist/client/assets/{genie-BxoMb50b.js → genie-CV2tkWYe.js} +0 -0
- /package/dist/client/assets/{gherkin-B2lz9HMr.js → gherkin-DExj1W_8.js} +0 -0
- /package/dist/client/assets/{github-dark-D5NDXfHf.js → github-dark-C-LZuMrd.js} +0 -0
- /package/dist/client/assets/{github-dark-default-Bo_3g1lT.js → github-dark-default-DXG-b-1a.js} +0 -0
- /package/dist/client/assets/{github-dark-dimmed-BQUS-1Ln.js → github-dark-dimmed-Bx1FflLF.js} +0 -0
- /package/dist/client/assets/{github-dark-high-contrast-DIHLvRoS.js → github-dark-high-contrast-B_tTalzw.js} +0 -0
- /package/dist/client/assets/{github-light-Bw4sXpzB.js → github-light-EUqPIrTm.js} +0 -0
- /package/dist/client/assets/{github-light-default-B8bmeZPd.js → github-light-default-BXViO-2h.js} +0 -0
- /package/dist/client/assets/{github-light-high-contrast-CJI8nAIV.js → github-light-high-contrast-B68TUdTA.js} +0 -0
- /package/dist/client/assets/{gleam-9zwoUsHJ.js → gleam-CSRkHgEL.js} +0 -0
- /package/dist/client/assets/{gn-DLF2G5Ru.js → gn-ilITqXS6.js} +0 -0
- /package/dist/client/assets/{gnuplot-Bcm3DAiA.js → gnuplot-7GGW24-e.js} +0 -0
- /package/dist/client/assets/{go-CPlmKKFp.js → go-BJwz_mda.js} +0 -0
- /package/dist/client/assets/{groovy-Dg2VIq5p.js → groovy-CacY0gHj.js} +0 -0
- /package/dist/client/assets/{gruvbox-dark-hard-BzHG1YMb.js → gruvbox-dark-hard-C820rvS2.js} +0 -0
- /package/dist/client/assets/{gruvbox-dark-medium-C9UQOvAR.js → gruvbox-dark-medium-BPjhmG05.js} +0 -0
- /package/dist/client/assets/{gruvbox-dark-soft-xgYmK4Rn.js → gruvbox-dark-soft-MrdJrrXF.js} +0 -0
- /package/dist/client/assets/{gruvbox-light-hard-DxvMP-zF.js → gruvbox-light-hard-BC_s9l72.js} +0 -0
- /package/dist/client/assets/{gruvbox-light-medium-SxCJk4ze.js → gruvbox-light-medium-BAWPOn9u.js} +0 -0
- /package/dist/client/assets/{gruvbox-light-soft-B9XTNyng.js → gruvbox-light-soft-BSMLrYjP.js} +0 -0
- /package/dist/client/assets/{haskell-Cf52ssWB.js → haskell-D8IpX4py.js} +0 -0
- /package/dist/client/assets/{haxe-BiaDi9Ls.js → haxe-OTjmBuCE.js} +0 -0
- /package/dist/client/assets/{hcl-Dcb9DqV1.js → hcl-Dh228itO.js} +0 -0
- /package/dist/client/assets/{hjson-LjA2UJVG.js → hjson-CxZEssPk.js} +0 -0
- /package/dist/client/assets/{hlsl-Bdu4H644.js → hlsl-Cvrh5tZx.js} +0 -0
- /package/dist/client/assets/{horizon-DfLB6K3K.js → horizon-CE9ld1lL.js} +0 -0
- /package/dist/client/assets/{horizon-bright-BRcOD00n.js → horizon-bright-Br1oVSNq.js} +0 -0
- /package/dist/client/assets/{houston-pGeyqiDN.js → houston-CsvMBhTu.js} +0 -0
- /package/dist/client/assets/{hy-CAzVaHwm.js → hy-CZbG8q4J.js} +0 -0
- /package/dist/client/assets/{imba-CtP12ZBI.js → imba-DsUTQ-LC.js} +0 -0
- /package/dist/client/assets/{ini-DyaqLXx3.js → ini-B5eOa1yu.js} +0 -0
- /package/dist/client/assets/{json5-pkfxH3eL.js → json5-BR5RXkoi.js} +0 -0
- /package/dist/client/assets/{jsonc-D_yIvXTo.js → jsonc-CYpm1nAK.js} +0 -0
- /package/dist/client/assets/{jsonl-Cyj0VVep.js → jsonl-CmCQp5Yx.js} +0 -0
- /package/dist/client/assets/{jsonnet-CQ7ol0Ju.js → jsonnet-CJTPZ8u_.js} +0 -0
- /package/dist/client/assets/{jssm-MbQThoOI.js → jssm-DXw9l8Rf.js} +0 -0
- /package/dist/client/assets/{kanagawa-dragon-WzYJN5gB.js → kanagawa-dragon-CXtmUGW6.js} +0 -0
- /package/dist/client/assets/{kanagawa-lotus-rRmvCTTT.js → kanagawa-lotus-BN08jTvb.js} +0 -0
- /package/dist/client/assets/{kanagawa-wave-DLXZ_HFW.js → kanagawa-wave-CTweb8Dz.js} +0 -0
- /package/dist/client/assets/{kdl-MlO6iUnG.js → kdl-CsD5j6eV.js} +0 -0
- /package/dist/client/assets/{kotlin-Dugiuyzo.js → kotlin-DhhofPvG.js} +0 -0
- /package/dist/client/assets/{kusto-6Zx2e4iM.js → kusto-BUv0MjJC.js} +0 -0
- /package/dist/client/assets/{laserwave-Bms40fEM.js → laserwave-C_8bwKvT.js} +0 -0
- /package/dist/client/assets/{lean-BeI6HXzS.js → lean-CewbzKMR.js} +0 -0
- /package/dist/client/assets/{less-CgPeGWAa.js → less-DVTAwKKz.js} +0 -0
- /package/dist/client/assets/{light-plus-j7rlQ_-d.js → light-plus-DVQuIRkW.js} +0 -0
- /package/dist/client/assets/{llvm-Dw0AsrHc.js → llvm-Cm23YOpf.js} +0 -0
- /package/dist/client/assets/{log-9mP7MLA7.js → log-BNLmms1o.js} +0 -0
- /package/dist/client/assets/{logo-CEB74EGf.js → logo-Cluzi2Zq.js} +0 -0
- /package/dist/client/assets/{luau-C4m3ZsP4.js → luau-CNKltnaQ.js} +0 -0
- /package/dist/client/assets/{make-D05QTRNX.js → make-Dixweg8N.js} +0 -0
- /package/dist/client/assets/{markdown-UoFBNZst.js → markdown-BYOwaDjH.js} +0 -0
- /package/dist/client/assets/{material-theme-BLisqalJ.js → material-theme-Bm3Qr25_.js} +0 -0
- /package/dist/client/assets/{material-theme-darker-CMDfuiQ2.js → material-theme-darker-2IIEA8gg.js} +0 -0
- /package/dist/client/assets/{material-theme-lighter-CxAafT95.js → material-theme-lighter-uhdI0v04.js} +0 -0
- /package/dist/client/assets/{material-theme-ocean-B4-TfnzS.js → material-theme-ocean-CHQ94UKr.js} +0 -0
- /package/dist/client/assets/{material-theme-palenight-BiO5TPm2.js → material-theme-palenight-B5W6OYN7.js} +0 -0
- /package/dist/client/assets/{matlab-B1JUCa3X.js → matlab-D7qyCx1q.js} +0 -0
- /package/dist/client/assets/{mdx-5iivKtUB.js → mdx-DQZ5AkYe.js} +0 -0
- /package/dist/client/assets/{mermaid-e-18nCBH.js → mermaid-Bk4SNUv9.js} +0 -0
- /package/dist/client/assets/{min-dark-CwF0fYNT.js → min-dark-BSWPekZh.js} +0 -0
- /package/dist/client/assets/{min-light-DbuMCP1T.js → min-light-DDpmG2fV.js} +0 -0
- /package/dist/client/assets/{mipsasm-DcTRWKSO.js → mipsasm-BMqwQI7S.js} +0 -0
- /package/dist/client/assets/{mojo-DTlMyvmX.js → mojo-BgCJLMeH.js} +0 -0
- /package/dist/client/assets/{monokai-ShOh_SLr.js → monokai-CdkpiU2Y.js} +0 -0
- /package/dist/client/assets/{moonbit-Clq4Da-i.js → moonbit-CaWjb8XO.js} +0 -0
- /package/dist/client/assets/{move-Bl5q_pwm.js → move-B1IS1UjX.js} +0 -0
- /package/dist/client/assets/{narrat-CBsmOEAI.js → narrat-_X_XdTYD.js} +0 -0
- /package/dist/client/assets/{nextflow-groovy-aMR1iPI_.js → nextflow-groovy-Dc_ddanL.js} +0 -0
- /package/dist/client/assets/{night-owl-yTEb_Wwb.js → night-owl-DhmEMT88.js} +0 -0
- /package/dist/client/assets/{night-owl-light-huKGrUNo.js → night-owl-light-eJ-hLW7d.js} +0 -0
- /package/dist/client/assets/{nix-Cp796_WQ.js → nix-IvuFDN5E.js} +0 -0
- /package/dist/client/assets/{nord-DcX-wPJc.js → nord-Cb4Vim4T.js} +0 -0
- /package/dist/client/assets/{nushell-BfyhU0X_.js → nushell-DcLAeLz5.js} +0 -0
- /package/dist/client/assets/{objective-c-B4uJcreS.js → objective-c-D1A_Heim.js} +0 -0
- /package/dist/client/assets/{objective-cpp-jpQjhWST.js → objective-cpp-BsSzOQcm.js} +0 -0
- /package/dist/client/assets/{ocaml-Bd4ZvQW_.js → ocaml-O90oeIOV.js} +0 -0
- /package/dist/client/assets/{odin-CrrB9RSu.js → odin-B1RWQWA5.js} +0 -0
- /package/dist/client/assets/{one-dark-pro-CkQTfcfR.js → one-dark-pro-CLwyXe_n.js} +0 -0
- /package/dist/client/assets/{one-light-DThLWCfa.js → one-light-D7Lr4KcI.js} +0 -0
- /package/dist/client/assets/{openscad-D3TTqx3L.js → openscad-BUDT5pXO.js} +0 -0
- /package/dist/client/assets/{pairingUrl-BDy1QCMe.js → pairingUrl-rQM9kSGT.js} +0 -0
- /package/dist/client/assets/{pascal-DWfvzseC.js → pascal-4ZHwLPI5.js} +0 -0
- /package/dist/client/assets/{pierre-dark-DvfVJVsW.js → pierre-dark-PhHPzmGe.js} +0 -0
- /package/dist/client/assets/{pierre-light-B0eN5zia.js → pierre-light-DN22GkGi.js} +0 -0
- /package/dist/client/assets/{pkl-DdTB5XmH.js → pkl-ot-7Btpt.js} +0 -0
- /package/dist/client/assets/{plastic-B7VrxlmD.js → plastic-DQwYfKfQ.js} +0 -0
- /package/dist/client/assets/{plsql-BqXKIIPU.js → plsql-DGHpHOYJ.js} +0 -0
- /package/dist/client/assets/{po-C5lHU9KQ.js → po-BiJDBrnU.js} +0 -0
- /package/dist/client/assets/{poimandres-3PFzcj5x.js → poimandres-DRFjx7u4.js} +0 -0
- /package/dist/client/assets/{polar-C6NB-8j6.js → polar-C7UOKdEL.js} +0 -0
- /package/dist/client/assets/{postcss-vtVbFW0L.js → postcss-BXeXVLqQ.js} +0 -0
- /package/dist/client/assets/{powerquery-hquWt5c6.js → powerquery-DNMTfnFr.js} +0 -0
- /package/dist/client/assets/{powershell-CQ330hRP.js → powershell-DshXNtvi.js} +0 -0
- /package/dist/client/assets/{prisma-BQON8_gf.js → prisma-BsRQq5mF.js} +0 -0
- /package/dist/client/assets/{prolog-0b9P4dbF.js → prolog-iXnhIJG7.js} +0 -0
- /package/dist/client/assets/{proto-CLvr77Vf.js → proto-DB4EqR-F.js} +0 -0
- /package/dist/client/assets/{puppet-BT0t2Kuu.js → puppet-CDv2pdJW.js} +0 -0
- /package/dist/client/assets/{purescript-DkMvIExr.js → purescript-9MfHhQsQ.js} +0 -0
- /package/dist/client/assets/{python-wd06zWQV.js → python-gzcpVVnB.js} +0 -0
- /package/dist/client/assets/{qmldir-llhyId5r.js → qmldir-DCQb3MpD.js} +0 -0
- /package/dist/client/assets/{qss-CVMsEoHp.js → qss-Fe1Jh2GI.js} +0 -0
- /package/dist/client/assets/{racket-DBMp3jda.js → racket-DcIDlBhZ.js} +0 -0
- /package/dist/client/assets/{raku-BRxsLZ2S.js → raku-B3gFvitq.js} +0 -0
- /package/dist/client/assets/{red-qaVQBZPK.js → red-CJ3rzSJv.js} +0 -0
- /package/dist/client/assets/{reg-BDyfNUUq.js → reg-CRGYupPL.js} +0 -0
- /package/dist/client/assets/{rel-DdGqSVEp.js → rel-BtDbiS_P.js} +0 -0
- /package/dist/client/assets/{riscv-DV28q7Fg.js → riscv-Ckw8ddFX.js} +0 -0
- /package/dist/client/assets/{ron-CY4nyhYH.js → ron-VUp2lXgN.js} +0 -0
- /package/dist/client/assets/{rose-pine-CxNAz5gp.js → rose-pine-BthvhNj6.js} +0 -0
- /package/dist/client/assets/{rose-pine-dawn-xFu_N-rV.js → rose-pine-dawn-Dg85fqjY.js} +0 -0
- /package/dist/client/assets/{rose-pine-moon-DK-HvE6Y.js → rose-pine-moon-hon4tzzS.js} +0 -0
- /package/dist/client/assets/{rosmsg-K2kzuYs8.js → rosmsg-CAekHB0j.js} +0 -0
- /package/dist/client/assets/{rust-DZfNSAHN.js → rust-Cfkwpbl8.js} +0 -0
- /package/dist/client/assets/{sass-DIGpNETF.js → sass-DXrisJhu.js} +0 -0
- /package/dist/client/assets/{scala-Dm4xFcTl.js → scala-DKOlJaKm.js} +0 -0
- /package/dist/client/assets/{scheme-Dyo1jQfP.js → scheme-DQCgrYNe.js} +0 -0
- /package/dist/client/assets/{sdbl-C0HF5Szh.js → sdbl-bTVj8UrX.js} +0 -0
- /package/dist/client/assets/{slack-dark-jzjOs3ob.js → slack-dark-DnToyrRv.js} +0 -0
- /package/dist/client/assets/{slack-ochin-CrJIbU0m.js → slack-ochin-B2OO5cIa.js} +0 -0
- /package/dist/client/assets/{smalltalk-DD30vTCS.js → smalltalk-B16xEiuN.js} +0 -0
- /package/dist/client/assets/{snazzy-light-DWAW_zRS.js → snazzy-light-4G7pJPwS.js} +0 -0
- /package/dist/client/assets/{solarized-dark-QfOoX52e.js → solarized-dark-DV17i1UV.js} +0 -0
- /package/dist/client/assets/{solarized-light-3Q8bP0PY.js → solarized-light-DSh2HLQt.js} +0 -0
- /package/dist/client/assets/{solidity-DEXV1iYf.js → solidity-CKzVLygQ.js} +0 -0
- /package/dist/client/assets/{splunk-D3yrvsJB.js → splunk-BC2Px7Mm.js} +0 -0
- /package/dist/client/assets/{ssh-config-DJbT8CNv.js → ssh-config-BgfXC-Er.js} +0 -0
- /package/dist/client/assets/{stylus-D7yuZo8M.js → stylus-B6D30XZt.js} +0 -0
- /package/dist/client/assets/{swift-Dcka7tnA.js → swift-DonLKvLd.js} +0 -0
- /package/dist/client/assets/{synthwave-84-Cp0uE3e0.js → synthwave-84-nFMaYfgc.js} +0 -0
- /package/dist/client/assets/{system-verilog-0hmR2xuR.js → system-verilog-DJ5XKQeo.js} +0 -0
- /package/dist/client/assets/{systemd-JaNPzh8j.js → systemd-BxMlprV5.js} +0 -0
- /package/dist/client/assets/{talonscript-BPHMb4jr.js → talonscript-CohzipZa.js} +0 -0
- /package/dist/client/assets/{tasl-D07ubp53.js → tasl-DMoTqEGO.js} +0 -0
- /package/dist/client/assets/{tcl-DRL4sBMb.js → tcl-CZd0xW_V.js} +0 -0
- /package/dist/client/assets/{terraform-C8KioG9C.js → terraform-DswuEJGm.js} +0 -0
- /package/dist/client/assets/{tokyo-night-sVj4Hc0t.js → tokyo-night-oM2G3aXe.js} +0 -0
- /package/dist/client/assets/{toml-DOSf8MYV.js → toml-CcmNWLt0.js} +0 -0
- /package/dist/client/assets/{tsv-BpjyUJlf.js → tsv-sltzmVWM.js} +0 -0
- /package/dist/client/assets/{turtle-x_g5g_iY.js → turtle-ByJddavk.js} +0 -0
- /package/dist/client/assets/{typespec-Dfd73-vI.js → typespec-B88KGewJ.js} +0 -0
- /package/dist/client/assets/{typst-Dlb0aZU4.js → typst-DI99ib-x.js} +0 -0
- /package/dist/client/assets/{v-v-fvjFiX.js → v-DETTlOr0.js} +0 -0
- /package/dist/client/assets/{vala-D9-xQ00Z.js → vala-zf12oZj6.js} +0 -0
- /package/dist/client/assets/{vb-BReSiWNQ.js → vb-Djn5o6TS.js} +0 -0
- /package/dist/client/assets/{verilog-DfyNqRJD.js → verilog-CiiDBU1e.js} +0 -0
- /package/dist/client/assets/{vesper-Bv60RWju.js → vesper-D5bVUKB1.js} +0 -0
- /package/dist/client/assets/{vhdl-DbQyuq9g.js → vhdl-BroJfC0k.js} +0 -0
- /package/dist/client/assets/{viml-DhThL36t.js → viml-DvXPmvsu.js} +0 -0
- /package/dist/client/assets/{vitesse-black-CThrVPkw.js → vitesse-black-fwtXNY1n.js} +0 -0
- /package/dist/client/assets/{vitesse-dark-BrahNcrX.js → vitesse-dark-BZCL-v6S.js} +0 -0
- /package/dist/client/assets/{vitesse-light-BCKYomrh.js → vitesse-light-VbXTXTou.js} +0 -0
- /package/dist/client/assets/{vyper-e4AwrcSk.js → vyper-CgoNMtux.js} +0 -0
- /package/dist/client/assets/{wasm-Cia-w-S9.js → wasm-BnjxR4X6.js} +0 -0
- /package/dist/client/assets/{wasm-B1MrEdvT.js → wasm-ByWQv1Qj.js} +0 -0
- /package/dist/client/assets/{wenyan-CrxLlNlW.js → wenyan-C8pVoKbM.js} +0 -0
- /package/dist/client/assets/{wgsl-BpsXvExJ.js → wgsl-BsKzXJz4.js} +0 -0
- /package/dist/client/assets/{wikitext-C6XIgJ_Z.js → wikitext-ClFFjSW2.js} +0 -0
- /package/dist/client/assets/{wit-DkjXKZxQ.js → wit-DdvCle-K.js} +0 -0
- /package/dist/client/assets/{wolfram--3zV4S15.js → wolfram-DLL8P-h_.js} +0 -0
- /package/dist/client/assets/{zenscript-BLGtygmo.js → zenscript-BnlCZFoB.js} +0 -0
- /package/dist/client/assets/{zig-CaWWBKRf.js → zig-CMLA9XwU.js} +0 -0
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { $n as ApprovalRequestId, I as CursorSettings, In as ProviderDriverKind, Ln as ProviderInstanceId, mr as RuntimeRequestId, or as EventId, pr as RuntimeItemId, v as TextGenerationError, vr as TurnId } from "./collectUint8StreamText-DuFJyaQh.mjs";
|
|
4
|
+
import { L as sanitizeBranchFragment, R as sanitizeFeatureBranchName, U as ServerConfig } from "./Metrics-BCOc3Ml2.mjs";
|
|
5
|
+
import { $ as ProviderAdapterSessionClosedError, A as makeStaticProviderMaintenanceResolver, E as enrichProviderSnapshotWithVersionAdvisory, H as buildSelectOptionDescriptor, I as mergeProviderInstanceEnvironment, K as isCommandMissingCause, M as resolveProviderMaintenanceCapabilitiesEffect, Q as ProviderAdapterRequestError, U as buildServerProvider, V as buildBooleanOptionDescriptor, W as collectStreamAsString, Y as providerModelsFromSettings, Z as ProviderAdapterProcessError, et as ProviderAdapterSessionNotFoundError, fn as getProviderOptionStringSelectionValue, h as makeEventNdjsonLogger, k as makeProviderMaintenanceCapabilities, ln as getProviderOptionBooleanSelectionValue, m as ProviderEventLoggers, nt as ProviderDriverError, on as createModelCapabilities, rn as resolveAttachmentPath, tt as ProviderAdapterValidationError } from "./bin.mjs";
|
|
6
|
+
import { a as buildIssueContentTitlePrompt, c as extractJsonObject, d as sanitizePrTitle, f as sanitizeThreadTitle, i as buildIssueContentPolishPrompt, n as buildBranchNamePrompt, o as buildPrContentPrompt, r as buildCommitMessagePrompt, s as buildThreadTitlePrompt, t as makeManagedServerProvider, u as sanitizeCommitSubject } from "./makeManagedServerProvider-wFGZ2-vd.mjs";
|
|
7
|
+
import { t as defaultProviderContinuationIdentity } from "./ProviderDriver-kCV60GKk.mjs";
|
|
6
8
|
import * as Effect$1 from "effect/Effect";
|
|
7
9
|
import * as Layer$1 from "effect/Layer";
|
|
8
10
|
import { Cause, Context, DateTime, Deferred, Effect, Exit, Fiber, FileSystem, Layer, Option, Path, PubSub, Queue, Random, Ref, Result, Schema, Scope, Semaphore, Stream, SynchronizedRef } from "effect";
|
|
@@ -29,7 +31,6 @@ import * as RpcServer$1 from "effect/unstable/rpc/RpcServer";
|
|
|
29
31
|
import * as RpcClientError from "effect/unstable/rpc/RpcClientError";
|
|
30
32
|
import "effect/unstable/rpc/RpcMessage";
|
|
31
33
|
import * as RpcSerialization$1 from "effect/unstable/rpc/RpcSerialization";
|
|
32
|
-
|
|
33
34
|
//#region ../../packages/effect-acp/src/_generated/schema.gen.ts
|
|
34
35
|
const AuthEnvVar = Schema$1.Struct({
|
|
35
36
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
@@ -600,11 +601,11 @@ const SessionModeState = Schema$1.Struct({
|
|
|
600
601
|
availableModes: Schema$1.Array(SessionMode).annotate({ description: "The set of modes that the Agent can operate in" }),
|
|
601
602
|
currentModeId: Schema$1.String.annotate({ description: "Unique identifier for a Session Mode." })
|
|
602
603
|
}).annotate({ description: "The set of modes and the one currently active." });
|
|
603
|
-
|
|
604
|
+
Schema$1.Struct({
|
|
604
605
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
605
606
|
logout: Schema$1.optionalKey(Schema$1.Union([LogoutCapabilities, Schema$1.Null]).annotate({ description: "Whether the agent supports the logout method.\n\nBy supplying `{}` it means that the agent supports the logout method." }))
|
|
606
607
|
}).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." });
|
|
607
|
-
|
|
608
|
+
Schema$1.Struct({
|
|
608
609
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
609
610
|
auth: Schema$1.optionalKey(Schema$1.Struct({
|
|
610
611
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
@@ -667,7 +668,7 @@ const AgentCapabilities = Schema$1.Struct({
|
|
|
667
668
|
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)"
|
|
668
669
|
}))
|
|
669
670
|
}).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)" });
|
|
670
|
-
|
|
671
|
+
Schema$1.Struct({
|
|
671
672
|
method: Schema$1.String,
|
|
672
673
|
params: Schema$1.optionalKey(Schema$1.Union([Schema$1.Union([
|
|
673
674
|
Schema$1.Struct({
|
|
@@ -906,7 +907,7 @@ const AgentNotification = Schema$1.Struct({
|
|
|
906
907
|
})
|
|
907
908
|
]).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." }), Schema$1.Null]))
|
|
908
909
|
});
|
|
909
|
-
|
|
910
|
+
Schema$1.Struct({
|
|
910
911
|
id: RequestId,
|
|
911
912
|
method: Schema$1.String,
|
|
912
913
|
params: Schema$1.optionalKey(Schema$1.Union([Schema$1.Union([
|
|
@@ -1039,7 +1040,7 @@ const AgentRequest = Schema$1.Struct({
|
|
|
1039
1040
|
})
|
|
1040
1041
|
]).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." }), Schema$1.Null]))
|
|
1041
1042
|
});
|
|
1042
|
-
|
|
1043
|
+
Schema$1.Union([Schema$1.Struct({
|
|
1043
1044
|
id: RequestId,
|
|
1044
1045
|
result: Schema$1.Union([
|
|
1045
1046
|
Schema$1.Struct({
|
|
@@ -1233,13 +1234,13 @@ const AgentResponse = Schema$1.Union([Schema$1.Struct({
|
|
|
1233
1234
|
error: Error$1,
|
|
1234
1235
|
id: RequestId
|
|
1235
1236
|
}).annotate({ title: "Error" })]);
|
|
1236
|
-
|
|
1237
|
+
Schema$1.Struct({
|
|
1237
1238
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
1238
1239
|
annotations: Schema$1.optionalKey(Schema$1.Union([Annotations, Schema$1.Null])),
|
|
1239
1240
|
data: Schema$1.String,
|
|
1240
1241
|
mimeType: Schema$1.String
|
|
1241
1242
|
}).annotate({ description: "Audio provided to or from an LLM." });
|
|
1242
|
-
|
|
1243
|
+
Schema$1.Struct({
|
|
1243
1244
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
1244
1245
|
terminal: Schema$1.optionalKey(Schema$1.Boolean.annotate({
|
|
1245
1246
|
description: "Whether the client supports `terminal` authentication methods.\n\nWhen `true`, the agent may include `terminal` entries in its authentication methods.",
|
|
@@ -1251,13 +1252,13 @@ const AuthenticateRequest = Schema$1.Struct({
|
|
|
1251
1252
|
methodId: Schema$1.String.annotate({ description: "The ID of the authentication method to use.\nMust be one of the methods advertised in the initialize response." })
|
|
1252
1253
|
}).annotate({ description: "Request parameters for the authenticate method.\n\nSpecifies which authentication method to use." });
|
|
1253
1254
|
const AuthenticateResponse = Schema$1.Struct({ _meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])) }).annotate({ description: "Response to the `authenticate` method." });
|
|
1254
|
-
|
|
1255
|
+
Schema$1.Struct({
|
|
1255
1256
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
1256
1257
|
description: Schema$1.optionalKey(Schema$1.Union([Schema$1.String.annotate({ description: "Optional description providing more details about this authentication method." }), Schema$1.Null])),
|
|
1257
1258
|
id: Schema$1.String.annotate({ description: "Unique identifier for this authentication method." }),
|
|
1258
1259
|
name: Schema$1.String.annotate({ description: "Human-readable name of the authentication method." })
|
|
1259
1260
|
}).annotate({ description: "Agent handles authentication itself.\n\nThis is the default authentication method type." });
|
|
1260
|
-
|
|
1261
|
+
Schema$1.Struct({
|
|
1261
1262
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
1262
1263
|
description: Schema$1.optionalKey(Schema$1.Union([Schema$1.String.annotate({ description: "Optional description providing more details about this authentication method." }), Schema$1.Null])),
|
|
1263
1264
|
id: Schema$1.String.annotate({ description: "Unique identifier for this authentication method." }),
|
|
@@ -1265,7 +1266,7 @@ const AuthMethodEnvVar = Schema$1.Struct({
|
|
|
1265
1266
|
name: Schema$1.String.annotate({ description: "Human-readable name of the authentication method." }),
|
|
1266
1267
|
vars: Schema$1.Array(AuthEnvVar).annotate({ description: "The environment variables the client should set." })
|
|
1267
1268
|
}).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." });
|
|
1268
|
-
|
|
1269
|
+
Schema$1.Struct({
|
|
1269
1270
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
1270
1271
|
args: Schema$1.optionalKey(Schema$1.Array(Schema$1.String).annotate({ description: "Additional arguments to pass when running the agent binary for terminal auth." })),
|
|
1271
1272
|
description: Schema$1.optionalKey(Schema$1.Union([Schema$1.String.annotate({ description: "Optional description providing more details about this authentication method." }), Schema$1.Null])),
|
|
@@ -1273,26 +1274,26 @@ const AuthMethodTerminal = Schema$1.Struct({
|
|
|
1273
1274
|
id: Schema$1.String.annotate({ description: "Unique identifier for this authentication method." }),
|
|
1274
1275
|
name: Schema$1.String.annotate({ description: "Human-readable name of the authentication method." })
|
|
1275
1276
|
}).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." });
|
|
1276
|
-
|
|
1277
|
+
Schema$1.Struct({
|
|
1277
1278
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
1278
1279
|
availableCommands: Schema$1.Array(AvailableCommand).annotate({ description: "Commands the agent can execute" })
|
|
1279
1280
|
}).annotate({ description: "Available commands are ready or have changed" });
|
|
1280
|
-
|
|
1281
|
+
Schema$1.Struct({
|
|
1281
1282
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
1282
1283
|
blob: Schema$1.String,
|
|
1283
1284
|
mimeType: Schema$1.optionalKey(Schema$1.Union([Schema$1.String, Schema$1.Null])),
|
|
1284
1285
|
uri: Schema$1.String
|
|
1285
1286
|
}).annotate({ description: "Binary resource contents." });
|
|
1286
|
-
|
|
1287
|
+
Schema$1.Struct({
|
|
1287
1288
|
default: Schema$1.optionalKey(Schema$1.Union([Schema$1.Boolean.annotate({ description: "Default value." }), Schema$1.Null])),
|
|
1288
1289
|
description: Schema$1.optionalKey(Schema$1.Union([Schema$1.String.annotate({ description: "Human-readable description." }), Schema$1.Null])),
|
|
1289
1290
|
title: Schema$1.optionalKey(Schema$1.Union([Schema$1.String.annotate({ description: "Optional title for the property." }), Schema$1.Null]))
|
|
1290
1291
|
}).annotate({ description: "Schema for boolean properties in an elicitation form." });
|
|
1291
|
-
|
|
1292
|
+
Schema$1.Struct({
|
|
1292
1293
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
1293
1294
|
sessionId: Schema$1.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)" })
|
|
1294
1295
|
}).annotate({ description: "Notification to cancel ongoing operations for a session.\n\nSee protocol docs: [Cancellation](https://agentclientprotocol.com/protocol/prompt-turn#cancellation)" });
|
|
1295
|
-
|
|
1296
|
+
Schema$1.Struct({
|
|
1296
1297
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
1297
1298
|
requestId: Schema$1.Union([
|
|
1298
1299
|
Schema$1.Null.annotate({ title: "Null" }),
|
|
@@ -1303,7 +1304,7 @@ const CancelRequestNotification = Schema$1.Struct({
|
|
|
1303
1304
|
Schema$1.String.annotate({ title: "Str" })
|
|
1304
1305
|
]).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." })
|
|
1305
1306
|
}).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)" });
|
|
1306
|
-
|
|
1307
|
+
Schema$1.Struct({
|
|
1307
1308
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
1308
1309
|
auth: Schema$1.optionalKey(Schema$1.Struct({
|
|
1309
1310
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
@@ -1338,7 +1339,7 @@ const ClientCapabilities = Schema$1.Struct({
|
|
|
1338
1339
|
default: false
|
|
1339
1340
|
}))
|
|
1340
1341
|
}).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)" });
|
|
1341
|
-
|
|
1342
|
+
Schema$1.Struct({
|
|
1342
1343
|
method: Schema$1.String,
|
|
1343
1344
|
params: Schema$1.optionalKey(Schema$1.Union([Schema$1.Union([Schema$1.Struct({
|
|
1344
1345
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
@@ -1351,7 +1352,7 @@ const ClientNotification = Schema$1.Struct({
|
|
|
1351
1352
|
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)"
|
|
1352
1353
|
})]).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." }), Schema$1.Null]))
|
|
1353
1354
|
});
|
|
1354
|
-
|
|
1355
|
+
Schema$1.Struct({
|
|
1355
1356
|
id: RequestId,
|
|
1356
1357
|
method: Schema$1.String,
|
|
1357
1358
|
params: Schema$1.optionalKey(Schema$1.Union([Schema$1.Union([
|
|
@@ -1521,7 +1522,7 @@ const ClientRequest = Schema$1.Struct({
|
|
|
1521
1522
|
})
|
|
1522
1523
|
]).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." }), Schema$1.Null]))
|
|
1523
1524
|
});
|
|
1524
|
-
|
|
1525
|
+
Schema$1.Union([Schema$1.Struct({
|
|
1525
1526
|
id: RequestId,
|
|
1526
1527
|
result: Schema$1.Union([
|
|
1527
1528
|
Schema$1.Struct({ _meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])) }).annotate({
|
|
@@ -1609,11 +1610,11 @@ const CloseSessionRequest = Schema$1.Struct({
|
|
|
1609
1610
|
sessionId: Schema$1.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)" })
|
|
1610
1611
|
}).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." });
|
|
1611
1612
|
const CloseSessionResponse = Schema$1.Struct({ _meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.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." });
|
|
1612
|
-
|
|
1613
|
+
Schema$1.Struct({
|
|
1613
1614
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
1614
1615
|
configOptions: Schema$1.Array(SessionConfigOption).annotate({ description: "The full set of configuration options and their current values." })
|
|
1615
1616
|
}).annotate({ description: "Session configuration options have been updated." });
|
|
1616
|
-
|
|
1617
|
+
Schema$1.Struct({
|
|
1617
1618
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
1618
1619
|
content: Schema$1.Union([
|
|
1619
1620
|
Schema$1.Struct({
|
|
@@ -1656,7 +1657,7 @@ const Content = Schema$1.Struct({
|
|
|
1656
1657
|
}).annotate({ description: "The contents of a resource, embedded into a prompt or tool call result." })
|
|
1657
1658
|
], { 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)" })
|
|
1658
1659
|
}).annotate({ description: "Standard content block (text, images, resources)." });
|
|
1659
|
-
|
|
1660
|
+
Schema$1.Struct({
|
|
1660
1661
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
1661
1662
|
content: Schema$1.Union([
|
|
1662
1663
|
Schema$1.Struct({
|
|
@@ -1716,18 +1717,18 @@ const CreateTerminalResponse = Schema$1.Struct({
|
|
|
1716
1717
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
1717
1718
|
terminalId: Schema$1.String.annotate({ description: "The unique identifier for the created terminal." })
|
|
1718
1719
|
}).annotate({ description: "Response containing the ID of the created terminal." });
|
|
1719
|
-
|
|
1720
|
+
Schema$1.Struct({
|
|
1720
1721
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
1721
1722
|
currentModeId: Schema$1.String.annotate({ description: "Unique identifier for a Session Mode." })
|
|
1722
1723
|
}).annotate({ description: "The current mode of the session has changed\n\nSee protocol docs: [Session Modes](https://agentclientprotocol.com/protocol/session-modes)" });
|
|
1723
|
-
|
|
1724
|
+
Schema$1.Struct({
|
|
1724
1725
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
1725
1726
|
newText: Schema$1.String.annotate({ description: "The new content after modification." }),
|
|
1726
1727
|
oldText: Schema$1.optionalKey(Schema$1.Union([Schema$1.String.annotate({ description: "The original content (None for new files)." }), Schema$1.Null])),
|
|
1727
1728
|
path: Schema$1.String.annotate({ description: "The file path being modified." })
|
|
1728
1729
|
}).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)" });
|
|
1729
|
-
|
|
1730
|
-
|
|
1730
|
+
Schema$1.Struct({ content: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, ElicitationContentValue).annotate({ description: "The user-provided content, if any, as an object matching the requested schema." }), Schema$1.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." });
|
|
1731
|
+
Schema$1.Union([
|
|
1731
1732
|
Schema$1.Struct({
|
|
1732
1733
|
action: Schema$1.Literal("accept"),
|
|
1733
1734
|
content: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, ElicitationContentValue).annotate({ description: "The user-provided content, if any, as an object matching the requested schema." }), Schema$1.Null]))
|
|
@@ -1739,7 +1740,7 @@ const ElicitationCompleteNotification = Schema$1.Struct({
|
|
|
1739
1740
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
1740
1741
|
elicitationId: Schema$1.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." })
|
|
1741
1742
|
}).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." });
|
|
1742
|
-
|
|
1743
|
+
Schema$1.Struct({ requestedSchema: Schema$1.Struct({
|
|
1743
1744
|
description: Schema$1.optionalKey(Schema$1.Union([Schema$1.String.annotate({ description: "Optional description of what this schema represents." }), Schema$1.Null])),
|
|
1744
1745
|
properties: Schema$1.optionalKey(Schema$1.Record(Schema$1.String, ElicitationPropertySchema).annotate({
|
|
1745
1746
|
description: "Property definitions (must be primitive types).",
|
|
@@ -1752,7 +1753,7 @@ const ElicitationFormMode = Schema$1.Struct({ requestedSchema: Schema$1.Struct({
|
|
|
1752
1753
|
default: "object"
|
|
1753
1754
|
}))
|
|
1754
1755
|
}).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." });
|
|
1755
|
-
|
|
1756
|
+
Schema$1.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." });
|
|
1756
1757
|
const ElicitationRequest = Schema$1.Union([Schema$1.Struct({
|
|
1757
1758
|
mode: Schema$1.Literal("form"),
|
|
1758
1759
|
requestedSchema: Schema$1.Struct({
|
|
@@ -1793,7 +1794,7 @@ const ElicitationResponse = Schema$1.Struct({
|
|
|
1793
1794
|
Schema$1.Struct({ action: Schema$1.Literal("cancel") }).annotate({ description: "The elicitation was cancelled." })
|
|
1794
1795
|
], { 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." })
|
|
1795
1796
|
}).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." });
|
|
1796
|
-
|
|
1797
|
+
Schema$1.Struct({
|
|
1797
1798
|
description: Schema$1.optionalKey(Schema$1.Union([Schema$1.String.annotate({ description: "Optional description of what this schema represents." }), Schema$1.Null])),
|
|
1798
1799
|
properties: Schema$1.optionalKey(Schema$1.Record(Schema$1.String, ElicitationPropertySchema).annotate({
|
|
1799
1800
|
description: "Property definitions (must be primitive types).",
|
|
@@ -1806,16 +1807,16 @@ const ElicitationSchema = Schema$1.Struct({
|
|
|
1806
1807
|
default: "object"
|
|
1807
1808
|
}))
|
|
1808
1809
|
}).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." });
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1810
|
+
Schema$1.Literal("object").annotate({ description: "Type discriminator for elicitation schemas." });
|
|
1811
|
+
Schema$1.Literal("string").annotate({ description: "Items definition for untitled multi-select enum properties." });
|
|
1812
|
+
Schema$1.Struct({
|
|
1812
1813
|
elicitationId: Schema$1.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." }),
|
|
1813
1814
|
url: Schema$1.String.annotate({
|
|
1814
1815
|
description: "The URL to direct the user to.",
|
|
1815
1816
|
format: "uri"
|
|
1816
1817
|
})
|
|
1817
1818
|
}).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." });
|
|
1818
|
-
|
|
1819
|
+
Schema$1.Struct({
|
|
1819
1820
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
1820
1821
|
annotations: Schema$1.optionalKey(Schema$1.Union([Annotations, Schema$1.Null])),
|
|
1821
1822
|
resource: EmbeddedResourceResource
|
|
@@ -1872,10 +1873,10 @@ const ErrorCode = Schema$1.Union([
|
|
|
1872
1873
|
format: "int32"
|
|
1873
1874
|
}).check(Schema$1.isInt())
|
|
1874
1875
|
]).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." });
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1876
|
+
Schema$1.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)" });
|
|
1877
|
+
Schema$1.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)" });
|
|
1878
|
+
Schema$1.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)" });
|
|
1879
|
+
Schema$1.Struct({
|
|
1879
1880
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
1880
1881
|
readTextFile: Schema$1.optionalKey(Schema$1.Boolean.annotate({
|
|
1881
1882
|
description: "Whether the Client supports `fs/read_text_file` requests.",
|
|
@@ -1899,7 +1900,7 @@ const ForkSessionResponse = Schema$1.Struct({
|
|
|
1899
1900
|
modes: Schema$1.optionalKey(Schema$1.Union([SessionModeState, Schema$1.Null]).annotate({ description: "Initial mode state if supported by the Agent\n\nSee protocol docs: [Session Modes](https://agentclientprotocol.com/protocol/session-modes)" })),
|
|
1900
1901
|
sessionId: Schema$1.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)" })
|
|
1901
1902
|
}).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." });
|
|
1902
|
-
|
|
1903
|
+
Schema$1.Struct({
|
|
1903
1904
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
1904
1905
|
annotations: Schema$1.optionalKey(Schema$1.Union([Annotations, Schema$1.Null])),
|
|
1905
1906
|
data: Schema$1.String,
|
|
@@ -2050,7 +2051,7 @@ const InitializeResponse = Schema$1.Struct({
|
|
|
2050
2051
|
format: "uint16"
|
|
2051
2052
|
}).check(Schema$1.isInt()).check(Schema$1.isGreaterThanOrEqualTo(0)).check(Schema$1.isLessThanOrEqualTo(65535))
|
|
2052
2053
|
}).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)" });
|
|
2053
|
-
|
|
2054
|
+
Schema$1.Struct({
|
|
2054
2055
|
default: Schema$1.optionalKey(Schema$1.Union([Schema$1.Number.annotate({
|
|
2055
2056
|
description: "Default value.",
|
|
2056
2057
|
format: "int64"
|
|
@@ -2096,7 +2097,7 @@ const LoadSessionResponse = Schema$1.Struct({
|
|
|
2096
2097
|
}).annotate({ description: "Response from loading an existing session." });
|
|
2097
2098
|
const LogoutRequest = Schema$1.Struct({ _meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.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." });
|
|
2098
2099
|
const LogoutResponse = Schema$1.Struct({ _meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.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." });
|
|
2099
|
-
|
|
2100
|
+
Schema$1.Struct({
|
|
2100
2101
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
2101
2102
|
http: Schema$1.optionalKey(Schema$1.Boolean.annotate({
|
|
2102
2103
|
description: "Agent supports [`McpServer::Http`].",
|
|
@@ -2107,27 +2108,27 @@ const McpCapabilities = Schema$1.Struct({
|
|
|
2107
2108
|
default: false
|
|
2108
2109
|
}))
|
|
2109
2110
|
}).annotate({ description: "MCP capabilities supported by the agent" });
|
|
2110
|
-
|
|
2111
|
+
Schema$1.Struct({
|
|
2111
2112
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
2112
2113
|
headers: Schema$1.Array(HttpHeader).annotate({ description: "HTTP headers to set when making requests to the MCP server." }),
|
|
2113
2114
|
name: Schema$1.String.annotate({ description: "Human-readable name identifying this MCP server." }),
|
|
2114
2115
|
url: Schema$1.String.annotate({ description: "URL to the MCP server." })
|
|
2115
2116
|
}).annotate({ description: "HTTP transport configuration for MCP." });
|
|
2116
|
-
|
|
2117
|
+
Schema$1.Struct({
|
|
2117
2118
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
2118
2119
|
headers: Schema$1.Array(HttpHeader).annotate({ description: "HTTP headers to set when making requests to the MCP server." }),
|
|
2119
2120
|
name: Schema$1.String.annotate({ description: "Human-readable name identifying this MCP server." }),
|
|
2120
2121
|
url: Schema$1.String.annotate({ description: "URL to the MCP server." })
|
|
2121
2122
|
}).annotate({ description: "SSE transport configuration for MCP." });
|
|
2122
|
-
|
|
2123
|
+
Schema$1.Struct({
|
|
2123
2124
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
2124
2125
|
args: Schema$1.Array(Schema$1.String).annotate({ description: "Command-line arguments to pass to the MCP server." }),
|
|
2125
2126
|
command: Schema$1.String.annotate({ description: "Path to the MCP server executable." }),
|
|
2126
2127
|
env: Schema$1.Array(EnvVariable).annotate({ description: "Environment variables to set when launching the MCP server." }),
|
|
2127
2128
|
name: Schema$1.String.annotate({ description: "Human-readable name identifying this MCP server." })
|
|
2128
2129
|
}).annotate({ description: "Stdio transport configuration for MCP." });
|
|
2129
|
-
|
|
2130
|
-
|
|
2130
|
+
Schema$1.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." });
|
|
2131
|
+
Schema$1.Union([Schema$1.Struct({
|
|
2131
2132
|
enum: Schema$1.Array(Schema$1.String).annotate({ description: "Allowed enum values." }),
|
|
2132
2133
|
type: Schema$1.Literal("string").annotate({ description: "Items definition for untitled multi-select enum properties." })
|
|
2133
2134
|
}).annotate({
|
|
@@ -2137,7 +2138,7 @@ const MultiSelectItems = Schema$1.Union([Schema$1.Struct({
|
|
|
2137
2138
|
title: "Titled",
|
|
2138
2139
|
description: "Items definition for titled multi-select enum properties."
|
|
2139
2140
|
})]).annotate({ description: "Items for a multi-select (array) property schema." });
|
|
2140
|
-
|
|
2141
|
+
Schema$1.Struct({
|
|
2141
2142
|
default: Schema$1.optionalKey(Schema$1.Union([Schema$1.Array(Schema$1.String).annotate({ description: "Default selected values." }), Schema$1.Null])),
|
|
2142
2143
|
description: Schema$1.optionalKey(Schema$1.Union([Schema$1.String.annotate({ description: "Human-readable description." }), Schema$1.Null])),
|
|
2143
2144
|
items: Schema$1.Union([Schema$1.Struct({
|
|
@@ -2172,7 +2173,7 @@ const NewSessionResponse = Schema$1.Struct({
|
|
|
2172
2173
|
modes: Schema$1.optionalKey(Schema$1.Union([SessionModeState, Schema$1.Null]).annotate({ description: "Initial mode state if supported by the Agent\n\nSee protocol docs: [Session Modes](https://agentclientprotocol.com/protocol/session-modes)" })),
|
|
2173
2174
|
sessionId: Schema$1.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)" })
|
|
2174
2175
|
}).annotate({ description: "Response from creating a new session.\n\nSee protocol docs: [Creating a Session](https://agentclientprotocol.com/protocol/session-setup#creating-a-session)" });
|
|
2175
|
-
|
|
2176
|
+
Schema$1.Struct({
|
|
2176
2177
|
default: Schema$1.optionalKey(Schema$1.Union([Schema$1.Number.annotate({
|
|
2177
2178
|
description: "Default value.",
|
|
2178
2179
|
format: "double"
|
|
@@ -2188,28 +2189,28 @@ const NumberPropertySchema = Schema$1.Struct({
|
|
|
2188
2189
|
}).check(Schema$1.isFinite()), Schema$1.Null])),
|
|
2189
2190
|
title: Schema$1.optionalKey(Schema$1.Union([Schema$1.String.annotate({ description: "Optional title for the property." }), Schema$1.Null]))
|
|
2190
2191
|
}).annotate({ description: "Schema for number (floating-point) properties in an elicitation form." });
|
|
2191
|
-
|
|
2192
|
-
|
|
2192
|
+
Schema$1.String.annotate({ description: "Unique identifier for a permission option." });
|
|
2193
|
+
Schema$1.Literals([
|
|
2193
2194
|
"allow_once",
|
|
2194
2195
|
"allow_always",
|
|
2195
2196
|
"reject_once",
|
|
2196
2197
|
"reject_always"
|
|
2197
2198
|
]).annotate({ description: "The type of permission option being presented to the user.\n\nHelps clients choose appropriate icons and UI treatment." });
|
|
2198
|
-
|
|
2199
|
+
Schema$1.Struct({
|
|
2199
2200
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
2200
2201
|
entries: Schema$1.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." })
|
|
2201
2202
|
}).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)" });
|
|
2202
|
-
|
|
2203
|
+
Schema$1.Literals([
|
|
2203
2204
|
"high",
|
|
2204
2205
|
"medium",
|
|
2205
2206
|
"low"
|
|
2206
2207
|
]).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)" });
|
|
2207
|
-
|
|
2208
|
+
Schema$1.Literals([
|
|
2208
2209
|
"pending",
|
|
2209
2210
|
"in_progress",
|
|
2210
2211
|
"completed"
|
|
2211
2212
|
]).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)" });
|
|
2212
|
-
|
|
2213
|
+
Schema$1.Struct({
|
|
2213
2214
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
2214
2215
|
audio: Schema$1.optionalKey(Schema$1.Boolean.annotate({
|
|
2215
2216
|
description: "Agent supports [`ContentBlock::Audio`].",
|
|
@@ -2242,7 +2243,7 @@ const PromptResponse = Schema$1.Struct({
|
|
|
2242
2243
|
usage: Schema$1.optionalKey(Schema$1.Union([Usage, Schema$1.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)." })),
|
|
2243
2244
|
userMessageId: Schema$1.optionalKey(Schema$1.Union([Schema$1.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." }), Schema$1.Null]))
|
|
2244
2245
|
}).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)" });
|
|
2245
|
-
|
|
2246
|
+
Schema$1.Number.annotate({
|
|
2246
2247
|
description: "Protocol version identifier.\n\nThis version is only bumped for breaking changes.\nNon-breaking changes should be introduced via capabilities.",
|
|
2247
2248
|
format: "uint16"
|
|
2248
2249
|
}).check(Schema$1.isInt()).check(Schema$1.isGreaterThanOrEqualTo(0)).check(Schema$1.isLessThanOrEqualTo(65535));
|
|
@@ -2269,7 +2270,7 @@ const ReleaseTerminalRequest = Schema$1.Struct({
|
|
|
2269
2270
|
terminalId: Schema$1.String.annotate({ description: "The ID of the terminal to release." })
|
|
2270
2271
|
}).annotate({ description: "Request to release a terminal and free its resources." });
|
|
2271
2272
|
const ReleaseTerminalResponse = Schema$1.Struct({ _meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])) }).annotate({ description: "Response to terminal/release method" });
|
|
2272
|
-
|
|
2273
|
+
Schema$1.Union([Schema$1.Struct({ outcome: Schema$1.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)" }), Schema$1.Struct({
|
|
2273
2274
|
outcome: Schema$1.Literal("selected"),
|
|
2274
2275
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
2275
2276
|
optionId: Schema$1.String.annotate({ description: "Unique identifier for a permission option." })
|
|
@@ -2298,7 +2299,7 @@ const RequestPermissionResponse = Schema$1.Struct({
|
|
|
2298
2299
|
optionId: Schema$1.String.annotate({ description: "Unique identifier for a permission option." })
|
|
2299
2300
|
}).annotate({ description: "The user selected one of the provided options." })], { mode: "oneOf" }).annotate({ description: "The outcome of a permission request." })
|
|
2300
2301
|
}).annotate({ description: "Response to a permission request." });
|
|
2301
|
-
|
|
2302
|
+
Schema$1.Struct({
|
|
2302
2303
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
2303
2304
|
annotations: Schema$1.optionalKey(Schema$1.Union([Annotations, Schema$1.Null])),
|
|
2304
2305
|
description: Schema$1.optionalKey(Schema$1.Union([Schema$1.String, Schema$1.Null])),
|
|
@@ -2320,21 +2321,21 @@ const ResumeSessionResponse = Schema$1.Struct({
|
|
|
2320
2321
|
models: Schema$1.optionalKey(Schema$1.Union([SessionModelState, Schema$1.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" })),
|
|
2321
2322
|
modes: Schema$1.optionalKey(Schema$1.Union([SessionModeState, Schema$1.Null]).annotate({ description: "Initial mode state if supported by the Agent\n\nSee protocol docs: [Session Modes](https://agentclientprotocol.com/protocol/session-modes)" }))
|
|
2322
2323
|
}).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." });
|
|
2323
|
-
|
|
2324
|
+
Schema$1.Struct({
|
|
2324
2325
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
2325
2326
|
optionId: Schema$1.String.annotate({ description: "Unique identifier for a permission option." })
|
|
2326
2327
|
}).annotate({ description: "The user selected one of the provided options." });
|
|
2327
|
-
|
|
2328
|
+
Schema$1.Struct({
|
|
2328
2329
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
2329
2330
|
close: Schema$1.optionalKey(Schema$1.Union([SessionCloseCapabilities, Schema$1.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`." })),
|
|
2330
2331
|
fork: Schema$1.optionalKey(Schema$1.Union([SessionForkCapabilities, Schema$1.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`." })),
|
|
2331
2332
|
list: Schema$1.optionalKey(Schema$1.Union([SessionListCapabilities, Schema$1.Null]).annotate({ description: "Whether the agent supports `session/list`." })),
|
|
2332
2333
|
resume: Schema$1.optionalKey(Schema$1.Union([SessionResumeCapabilities, Schema$1.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`." }))
|
|
2333
2334
|
}).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)" });
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2335
|
+
Schema$1.Struct({ currentValue: Schema$1.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." });
|
|
2336
|
+
Schema$1.String.annotate({ description: "Unique identifier for a session configuration option value group." });
|
|
2337
|
+
Schema$1.String.annotate({ description: "Unique identifier for a session configuration option." });
|
|
2338
|
+
Schema$1.Struct({
|
|
2338
2339
|
currentValue: Schema$1.String.annotate({ description: "Unique identifier for a session configuration option value." }),
|
|
2339
2340
|
options: Schema$1.Union([Schema$1.Array(SessionConfigSelectOption).annotate({
|
|
2340
2341
|
title: "Ungrouped",
|
|
@@ -2344,16 +2345,16 @@ const SessionConfigSelect = Schema$1.Struct({
|
|
|
2344
2345
|
description: "A list of options grouped under headers."
|
|
2345
2346
|
})]).annotate({ description: "Possible values for a session configuration option." })
|
|
2346
2347
|
}).annotate({ description: "A single-value selector (dropdown) session configuration option payload." });
|
|
2347
|
-
|
|
2348
|
+
Schema$1.Union([Schema$1.Array(SessionConfigSelectOption).annotate({
|
|
2348
2349
|
title: "Ungrouped",
|
|
2349
2350
|
description: "A flat list of options with no grouping."
|
|
2350
2351
|
}), Schema$1.Array(SessionConfigSelectGroup).annotate({
|
|
2351
2352
|
title: "Grouped",
|
|
2352
2353
|
description: "A list of options grouped under headers."
|
|
2353
2354
|
})]).annotate({ description: "Possible values for a session configuration option." });
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2355
|
+
Schema$1.String.annotate({ description: "Unique identifier for a session configuration option value." });
|
|
2356
|
+
Schema$1.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)" });
|
|
2357
|
+
Schema$1.Struct({
|
|
2357
2358
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
2358
2359
|
title: Schema$1.optionalKey(Schema$1.Union([Schema$1.String.annotate({ description: "Human-readable title for the session. Set to null to clear." }), Schema$1.Null])),
|
|
2359
2360
|
updatedAt: Schema$1.optionalKey(Schema$1.Union([Schema$1.String.annotate({ description: "ISO 8601 timestamp of last activity. Set to null to clear." }), Schema$1.Null]))
|
|
@@ -2578,7 +2579,7 @@ const SessionNotification = Schema$1.Struct({
|
|
|
2578
2579
|
}).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." })
|
|
2579
2580
|
], { 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)" })
|
|
2580
2581
|
}).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)" });
|
|
2581
|
-
|
|
2582
|
+
Schema$1.Union([
|
|
2582
2583
|
Schema$1.Struct({
|
|
2583
2584
|
sessionUpdate: Schema$1.Literal("user_message_chunk"),
|
|
2584
2585
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
@@ -2819,20 +2820,20 @@ const SetSessionModelRequest = Schema$1.Struct({
|
|
|
2819
2820
|
sessionId: Schema$1.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)" })
|
|
2820
2821
|
}).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." });
|
|
2821
2822
|
const SetSessionModelResponse = Schema$1.Struct({ _meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.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." });
|
|
2822
|
-
|
|
2823
|
+
Schema$1.Struct({
|
|
2823
2824
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
2824
2825
|
modeId: Schema$1.String.annotate({ description: "Unique identifier for a Session Mode." }),
|
|
2825
2826
|
sessionId: Schema$1.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)" })
|
|
2826
2827
|
}).annotate({ description: "Request parameters for setting a session mode." });
|
|
2827
|
-
|
|
2828
|
-
|
|
2828
|
+
Schema$1.Struct({ _meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])) }).annotate({ description: "Response to `session/set_mode` method." });
|
|
2829
|
+
Schema$1.Literals([
|
|
2829
2830
|
"end_turn",
|
|
2830
2831
|
"max_tokens",
|
|
2831
2832
|
"max_turn_requests",
|
|
2832
2833
|
"refusal",
|
|
2833
2834
|
"cancelled"
|
|
2834
2835
|
]).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)" });
|
|
2835
|
-
|
|
2836
|
+
Schema$1.Struct({
|
|
2836
2837
|
default: Schema$1.optionalKey(Schema$1.Union([Schema$1.String.annotate({ description: "Default value." }), Schema$1.Null])),
|
|
2837
2838
|
description: Schema$1.optionalKey(Schema$1.Union([Schema$1.String.annotate({ description: "Human-readable description." }), Schema$1.Null])),
|
|
2838
2839
|
enum: Schema$1.optionalKey(Schema$1.Union([Schema$1.Array(Schema$1.String).annotate({ description: "Enum values for untitled single-select enums." }), Schema$1.Null])),
|
|
@@ -2849,7 +2850,7 @@ const StringPropertySchema = Schema$1.Struct({
|
|
|
2849
2850
|
pattern: Schema$1.optionalKey(Schema$1.Union([Schema$1.String.annotate({ description: "Pattern the string must match." }), Schema$1.Null])),
|
|
2850
2851
|
title: Schema$1.optionalKey(Schema$1.Union([Schema$1.String.annotate({ description: "Optional title for the property." }), Schema$1.Null]))
|
|
2851
2852
|
}).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\"`." });
|
|
2852
|
-
|
|
2853
|
+
Schema$1.Struct({
|
|
2853
2854
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
2854
2855
|
terminalId: Schema$1.String
|
|
2855
2856
|
}).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)" });
|
|
@@ -2864,19 +2865,19 @@ const TerminalOutputResponse = Schema$1.Struct({
|
|
|
2864
2865
|
output: Schema$1.String.annotate({ description: "The terminal output captured so far." }),
|
|
2865
2866
|
truncated: Schema$1.Boolean.annotate({ description: "Whether the output was truncated due to byte limits." })
|
|
2866
2867
|
}).annotate({ description: "Response containing the terminal output and exit status." });
|
|
2867
|
-
|
|
2868
|
+
Schema$1.Struct({
|
|
2868
2869
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
2869
2870
|
annotations: Schema$1.optionalKey(Schema$1.Union([Annotations, Schema$1.Null])),
|
|
2870
2871
|
text: Schema$1.String
|
|
2871
2872
|
}).annotate({ description: "Text provided to or from an LLM." });
|
|
2872
|
-
|
|
2873
|
+
Schema$1.Struct({
|
|
2873
2874
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
2874
2875
|
mimeType: Schema$1.optionalKey(Schema$1.Union([Schema$1.String, Schema$1.Null])),
|
|
2875
2876
|
text: Schema$1.String,
|
|
2876
2877
|
uri: Schema$1.String
|
|
2877
2878
|
}).annotate({ description: "Text-based resource contents." });
|
|
2878
|
-
|
|
2879
|
-
|
|
2879
|
+
Schema$1.Struct({ anyOf: Schema$1.Array(EnumOption).annotate({ description: "Titled enum options." }) }).annotate({ description: "Items definition for titled multi-select enum properties." });
|
|
2880
|
+
Schema$1.Struct({
|
|
2880
2881
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
2881
2882
|
content: Schema$1.optionalKey(Schema$1.Array(ToolCallContent).annotate({ description: "Content produced by the tool call." })),
|
|
2882
2883
|
kind: Schema$1.optionalKey(Schema$1.Literals([
|
|
@@ -2903,8 +2904,8 @@ const ToolCall = Schema$1.Struct({
|
|
|
2903
2904
|
title: Schema$1.String.annotate({ description: "Human-readable title describing what the tool is doing." }),
|
|
2904
2905
|
toolCallId: Schema$1.String.annotate({ description: "Unique identifier for a tool call within a session." })
|
|
2905
2906
|
}).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)" });
|
|
2906
|
-
|
|
2907
|
-
|
|
2907
|
+
Schema$1.String.annotate({ description: "Unique identifier for a tool call within a session." });
|
|
2908
|
+
Schema$1.Struct({
|
|
2908
2909
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
2909
2910
|
content: Schema$1.optionalKey(Schema$1.Union([Schema$1.Array(ToolCallContent).annotate({ description: "Replace the content collection." }), Schema$1.Null])),
|
|
2910
2911
|
kind: Schema$1.optionalKey(Schema$1.Union([ToolKind, Schema$1.Null]).annotate({ description: "Update the tool kind." })),
|
|
@@ -2915,15 +2916,15 @@ const ToolCallUpdate = Schema$1.Struct({
|
|
|
2915
2916
|
title: Schema$1.optionalKey(Schema$1.Union([Schema$1.String.annotate({ description: "Update the human-readable title." }), Schema$1.Null])),
|
|
2916
2917
|
toolCallId: Schema$1.String.annotate({ description: "Unique identifier for a tool call within a session." })
|
|
2917
2918
|
}).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)" });
|
|
2918
|
-
|
|
2919
|
+
Schema$1.Struct({
|
|
2919
2920
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
2920
2921
|
hint: Schema$1.String.annotate({ description: "A hint to display when the input hasn't been provided yet" })
|
|
2921
2922
|
}).annotate({ description: "All text that was typed after the command name is provided as input." });
|
|
2922
|
-
|
|
2923
|
+
Schema$1.Struct({
|
|
2923
2924
|
enum: Schema$1.Array(Schema$1.String).annotate({ description: "Allowed enum values." }),
|
|
2924
2925
|
type: Schema$1.Literal("string").annotate({ description: "Items definition for untitled multi-select enum properties." })
|
|
2925
2926
|
}).annotate({ description: "Items definition for untitled multi-select enum properties." });
|
|
2926
|
-
|
|
2927
|
+
Schema$1.Struct({
|
|
2927
2928
|
_meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])),
|
|
2928
2929
|
cost: Schema$1.optionalKey(Schema$1.Union([Cost, Schema$1.Null]).annotate({ description: "Cumulative session cost (optional)." })),
|
|
2929
2930
|
size: Schema$1.Number.annotate({
|
|
@@ -2955,7 +2956,6 @@ const WriteTextFileRequest = Schema$1.Struct({
|
|
|
2955
2956
|
sessionId: Schema$1.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)" })
|
|
2956
2957
|
}).annotate({ description: "Request to write content to a text file.\n\nOnly available if the client supports the `fs.writeTextFile` capability." });
|
|
2957
2958
|
const WriteTextFileResponse = Schema$1.Struct({ _meta: Schema$1.optionalKey(Schema$1.Union([Schema$1.Record(Schema$1.String, Schema$1.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)" }), Schema$1.Null])) }).annotate({ description: "Response to `fs/write_text_file`" });
|
|
2958
|
-
|
|
2959
2959
|
//#endregion
|
|
2960
2960
|
//#region ../../packages/effect-acp/src/errors.ts
|
|
2961
2961
|
var AcpSpawnError = class extends Schema$1.TaggedErrorClass()("AcpSpawnError", {
|
|
@@ -3064,7 +3064,6 @@ const AcpError = Schema$1.Union([
|
|
|
3064
3064
|
AcpProtocolParseError,
|
|
3065
3065
|
AcpTransportError
|
|
3066
3066
|
]);
|
|
3067
|
-
|
|
3068
3067
|
//#endregion
|
|
3069
3068
|
//#region ../../packages/effect-acp/src/_generated/meta.gen.ts
|
|
3070
3069
|
const AGENT_METHODS = {
|
|
@@ -3096,7 +3095,6 @@ const CLIENT_METHODS = {
|
|
|
3096
3095
|
terminal_release: "terminal/release",
|
|
3097
3096
|
terminal_wait_for_exit: "terminal/wait_for_exit"
|
|
3098
3097
|
};
|
|
3099
|
-
|
|
3100
3098
|
//#endregion
|
|
3101
3099
|
//#region ../../packages/effect-acp/src/protocol.ts
|
|
3102
3100
|
const decodeSessionUpdate = Schema$1.decodeUnknownEffect(SessionNotification);
|
|
@@ -3343,7 +3341,6 @@ function toRpcClientError(error) {
|
|
|
3343
3341
|
cause: error
|
|
3344
3342
|
}) });
|
|
3345
3343
|
}
|
|
3346
|
-
|
|
3347
3344
|
//#endregion
|
|
3348
3345
|
//#region ../../packages/effect-acp/src/rpc.ts
|
|
3349
3346
|
const InitializeRpc = Rpc.make(AGENT_METHODS.initialize, {
|
|
@@ -3453,7 +3450,6 @@ const KillTerminalRpc = Rpc.make(CLIENT_METHODS.terminal_kill, {
|
|
|
3453
3450
|
});
|
|
3454
3451
|
const AgentRpcs = RpcGroup.make(InitializeRpc, AuthenticateRpc, LogoutRpc, NewSessionRpc, LoadSessionRpc, ListSessionsRpc, ForkSessionRpc, ResumeSessionRpc, CloseSessionRpc, PromptRpc, SetSessionModelRpc, SetSessionConfigOptionRpc);
|
|
3455
3452
|
const ClientRpcs = RpcGroup.make(ReadTextFileRpc, WriteTextFileRpc, RequestPermissionRpc, ElicitationRpc, CreateTerminalRpc, TerminalOutputRpc, ReleaseTerminalRpc, WaitForTerminalExitRpc, KillTerminalRpc);
|
|
3456
|
-
|
|
3457
3453
|
//#endregion
|
|
3458
3454
|
//#region ../../packages/effect-acp/src/_internal/shared.ts
|
|
3459
3455
|
const formatSchemaIssue = SchemaIssue$1.makeFormatterDefault();
|
|
@@ -3474,10 +3470,9 @@ function decodeExtNotificationRegistration(method, payload, handler) {
|
|
|
3474
3470
|
cause: error
|
|
3475
3471
|
})), Effect$1.flatMap((decoded) => handler(decoded)));
|
|
3476
3472
|
}
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3473
|
+
new TextEncoder();
|
|
3474
|
+
Schema$1.Union([Schema$1.Number, Schema$1.String]);
|
|
3475
|
+
Schema$1.Array(Schema$1.Unknown);
|
|
3481
3476
|
//#endregion
|
|
3482
3477
|
//#region ../../packages/effect-acp/src/_internal/stdio.ts
|
|
3483
3478
|
const encoder = new TextEncoder();
|
|
@@ -3487,7 +3482,7 @@ const makeChildStdio = (handle) => Stdio.make({
|
|
|
3487
3482
|
stdout: () => Sink$1.mapInput(handle.stdin, (chunk) => typeof chunk === "string" ? encoder.encode(chunk) : chunk),
|
|
3488
3483
|
stderr: () => Sink$1.drain
|
|
3489
3484
|
});
|
|
3490
|
-
|
|
3485
|
+
Effect$1.fn("makeInMemoryStdio")(function* () {
|
|
3491
3486
|
const input = yield* Queue$1.unbounded();
|
|
3492
3487
|
const output = yield* Queue$1.unbounded();
|
|
3493
3488
|
const decoder = new TextDecoder();
|
|
@@ -3509,7 +3504,6 @@ const makeTerminationError = (handle) => Effect$1.match(handle.exitCode, {
|
|
|
3509
3504
|
}),
|
|
3510
3505
|
onSuccess: (code) => new AcpProcessExitedError({ code })
|
|
3511
3506
|
});
|
|
3512
|
-
|
|
3513
3507
|
//#endregion
|
|
3514
3508
|
//#region ../../packages/effect-acp/src/client.ts
|
|
3515
3509
|
var AcpClient = class extends Context$1.Service()("effect-acp/AcpClient") {};
|
|
@@ -3673,7 +3667,6 @@ const layerChildProcess = (handle, options = {}) => {
|
|
|
3673
3667
|
const terminationError = makeTerminationError(handle);
|
|
3674
3668
|
return Layer$1.effect(AcpClient, make(stdio, options, terminationError));
|
|
3675
3669
|
};
|
|
3676
|
-
|
|
3677
3670
|
//#endregion
|
|
3678
3671
|
//#region ../../packages/shared/src/toolActivity.ts
|
|
3679
3672
|
function asRecord(value) {
|
|
@@ -3828,7 +3821,6 @@ function deriveToolActivityPresentation(input) {
|
|
|
3828
3821
|
};
|
|
3829
3822
|
return { summary: title ?? fallbackSummary };
|
|
3830
3823
|
}
|
|
3831
|
-
|
|
3832
3824
|
//#endregion
|
|
3833
3825
|
//#region src/provider/acp/AcpRuntimeModel.ts
|
|
3834
3826
|
function isRecord$1(value) {
|
|
@@ -4077,10 +4069,9 @@ function parseSessionUpdateEvent(params) {
|
|
|
4077
4069
|
events
|
|
4078
4070
|
};
|
|
4079
4071
|
}
|
|
4080
|
-
|
|
4081
4072
|
//#endregion
|
|
4082
4073
|
//#region src/provider/acp/AcpSessionRuntime.ts
|
|
4083
|
-
var AcpSessionRuntime = class AcpSessionRuntime extends Context.Service()("
|
|
4074
|
+
var AcpSessionRuntime = class AcpSessionRuntime extends Context.Service()("ryco/provider/acp/AcpSessionRuntime") {
|
|
4084
4075
|
static layer(options) {
|
|
4085
4076
|
return Layer.effect(AcpSessionRuntime, makeAcpSessionRuntime(options));
|
|
4086
4077
|
}
|
|
@@ -4407,7 +4398,82 @@ const closeActiveAssistantSegment = ({ queue, assistantSegmentRef }) => Ref.modi
|
|
|
4407
4398
|
itemId: current.activeItemId
|
|
4408
4399
|
}, { nextSegmentIndex: current.nextSegmentIndex }];
|
|
4409
4400
|
}).pipe(Effect.flatMap((event) => event ? Queue.offer(queue, event) : Effect.void));
|
|
4410
|
-
|
|
4401
|
+
//#endregion
|
|
4402
|
+
//#region src/provider/acp/CursorAcpExtension.ts
|
|
4403
|
+
const CursorAskQuestionOption = Schema.Struct({
|
|
4404
|
+
id: Schema.String,
|
|
4405
|
+
label: Schema.String
|
|
4406
|
+
});
|
|
4407
|
+
const CursorAskQuestion = Schema.Struct({
|
|
4408
|
+
id: Schema.String,
|
|
4409
|
+
prompt: Schema.String,
|
|
4410
|
+
options: Schema.Array(CursorAskQuestionOption),
|
|
4411
|
+
allowMultiple: Schema.optional(Schema.Boolean)
|
|
4412
|
+
});
|
|
4413
|
+
const CursorAskQuestionRequest = Schema.Struct({
|
|
4414
|
+
toolCallId: Schema.String,
|
|
4415
|
+
title: Schema.optional(Schema.String),
|
|
4416
|
+
questions: Schema.Array(CursorAskQuestion)
|
|
4417
|
+
});
|
|
4418
|
+
const CursorTodoStatus = Schema.String;
|
|
4419
|
+
const CursorTodo = Schema.Struct({
|
|
4420
|
+
id: Schema.optional(Schema.String),
|
|
4421
|
+
content: Schema.optional(Schema.String),
|
|
4422
|
+
title: Schema.optional(Schema.String),
|
|
4423
|
+
status: Schema.optional(CursorTodoStatus)
|
|
4424
|
+
});
|
|
4425
|
+
const CursorPlanPhase = Schema.Struct({
|
|
4426
|
+
name: Schema.String,
|
|
4427
|
+
todos: Schema.Array(CursorTodo)
|
|
4428
|
+
});
|
|
4429
|
+
const CursorCreatePlanRequest = Schema.Struct({
|
|
4430
|
+
toolCallId: Schema.String,
|
|
4431
|
+
name: Schema.optional(Schema.String),
|
|
4432
|
+
overview: Schema.optional(Schema.String),
|
|
4433
|
+
plan: Schema.String,
|
|
4434
|
+
todos: Schema.Array(CursorTodo),
|
|
4435
|
+
isProject: Schema.optional(Schema.Boolean),
|
|
4436
|
+
phases: Schema.optional(Schema.Array(CursorPlanPhase))
|
|
4437
|
+
});
|
|
4438
|
+
const CursorUpdateTodosRequest = Schema.Struct({
|
|
4439
|
+
toolCallId: Schema.String,
|
|
4440
|
+
todos: Schema.Array(CursorTodo),
|
|
4441
|
+
merge: Schema.Boolean
|
|
4442
|
+
});
|
|
4443
|
+
const CursorAvailableModel = Schema.Struct({
|
|
4444
|
+
value: Schema.String,
|
|
4445
|
+
name: Schema.String,
|
|
4446
|
+
configOptions: Schema.optional(Schema.Array(SessionConfigOption))
|
|
4447
|
+
});
|
|
4448
|
+
const CursorListAvailableModelsResponse = Schema.Struct({ models: Schema.Array(CursorAvailableModel) });
|
|
4449
|
+
function extractAskQuestions(params) {
|
|
4450
|
+
return params.questions.map((question) => ({
|
|
4451
|
+
id: question.id,
|
|
4452
|
+
header: "Question",
|
|
4453
|
+
question: question.prompt,
|
|
4454
|
+
multiSelect: question.allowMultiple === true,
|
|
4455
|
+
options: question.options.length > 0 ? question.options.map((option) => ({
|
|
4456
|
+
label: option.label,
|
|
4457
|
+
description: option.label
|
|
4458
|
+
})) : [{
|
|
4459
|
+
label: "OK",
|
|
4460
|
+
description: "Continue"
|
|
4461
|
+
}]
|
|
4462
|
+
}));
|
|
4463
|
+
}
|
|
4464
|
+
function extractPlanMarkdown(params) {
|
|
4465
|
+
return params.plan || "# Plan\n\n(Cursor did not supply plan text.)";
|
|
4466
|
+
}
|
|
4467
|
+
function extractTodosAsPlan(params) {
|
|
4468
|
+
return { plan: params.todos.flatMap((todo) => {
|
|
4469
|
+
const step = todo.content?.trim() ?? todo.title?.trim() ?? "";
|
|
4470
|
+
if (step === "") return [];
|
|
4471
|
+
return [{
|
|
4472
|
+
step,
|
|
4473
|
+
status: todo.status === "completed" ? "completed" : todo.status === "in_progress" || todo.status === "inProgress" ? "inProgress" : "pending"
|
|
4474
|
+
}];
|
|
4475
|
+
}) };
|
|
4476
|
+
}
|
|
4411
4477
|
//#endregion
|
|
4412
4478
|
//#region src/provider/Layers/CursorProvider.ts
|
|
4413
4479
|
const PROVIDER$1 = ProviderDriverKind.make("cursor");
|
|
@@ -4418,8 +4484,6 @@ const CURSOR_PRESENTATION = {
|
|
|
4418
4484
|
};
|
|
4419
4485
|
const EMPTY_CAPABILITIES = createModelCapabilities({ optionDescriptors: [] });
|
|
4420
4486
|
const CURSOR_ACP_MODEL_DISCOVERY_TIMEOUT_MS = 15e3;
|
|
4421
|
-
const CURSOR_ACP_MODEL_CAPABILITY_TIMEOUT = "4 seconds";
|
|
4422
|
-
const CURSOR_ACP_MODEL_DISCOVERY_CONCURRENCY = 4;
|
|
4423
4487
|
const CURSOR_PARAMETERIZED_MODEL_PICKER_MIN_VERSION_DATE = 20260408;
|
|
4424
4488
|
const CURSOR_PARAMETERIZED_MODEL_PICKER_CAPABILITIES = { _meta: { parameterizedModelPicker: true } };
|
|
4425
4489
|
function buildInitialCursorProviderSnapshot(cursorSettings) {
|
|
@@ -4475,9 +4539,6 @@ function normalizeCursorReasoningValue(value) {
|
|
|
4475
4539
|
default: return;
|
|
4476
4540
|
}
|
|
4477
4541
|
}
|
|
4478
|
-
function findCursorModelConfigOption(configOptions) {
|
|
4479
|
-
return configOptions.find((option) => option.category === "model");
|
|
4480
|
-
}
|
|
4481
4542
|
function getCursorConfigOptionCategory(option) {
|
|
4482
4543
|
return option.category?.trim().toLowerCase() ?? "";
|
|
4483
4544
|
}
|
|
@@ -4589,21 +4650,17 @@ function buildCursorDiscoveredModels(discoveredModels) {
|
|
|
4589
4650
|
}];
|
|
4590
4651
|
});
|
|
4591
4652
|
}
|
|
4592
|
-
function
|
|
4593
|
-
return (model
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
|
|
4597
|
-
|
|
4598
|
-
|
|
4599
|
-
|
|
4600
|
-
|
|
4601
|
-
|
|
4602
|
-
|
|
4603
|
-
slug: modelChoice.value.trim(),
|
|
4604
|
-
name: modelChoice.name.trim(),
|
|
4605
|
-
capabilities: currentModelValue === modelChoice.value.trim() ? currentModelCapabilities : EMPTY_CAPABILITIES
|
|
4606
|
-
})));
|
|
4653
|
+
function buildCursorDiscoveredModelsFromAvailableModelsResponse(response) {
|
|
4654
|
+
return buildCursorDiscoveredModels(response.models.flatMap((model) => {
|
|
4655
|
+
const slug = model.value.trim();
|
|
4656
|
+
const name = model.name.trim();
|
|
4657
|
+
if (!slug || !name) return [];
|
|
4658
|
+
return [{
|
|
4659
|
+
slug,
|
|
4660
|
+
name,
|
|
4661
|
+
capabilities: buildCursorCapabilitiesFromConfigOptions(model.configOptions ?? [])
|
|
4662
|
+
}];
|
|
4663
|
+
}));
|
|
4607
4664
|
}
|
|
4608
4665
|
const makeCursorAcpProbeRuntime = (cursorSettings, environment = process.env) => Effect.gen(function* () {
|
|
4609
4666
|
const spawner = yield* ChildProcessSpawner.ChildProcessSpawner;
|
|
@@ -4686,49 +4743,11 @@ function resolveCursorAcpConfigUpdates(configOptions, selections) {
|
|
|
4686
4743
|
}
|
|
4687
4744
|
return updates;
|
|
4688
4745
|
}
|
|
4689
|
-
const discoverCursorModelsViaAcp = (cursorSettings, environment = process.env) => withCursorAcpProbeRuntime(cursorSettings, (acp) => Effect.
|
|
4690
|
-
|
|
4691
|
-
const
|
|
4692
|
-
|
|
4693
|
-
|
|
4694
|
-
if (!modelOption || modelChoices.length === 0) return [];
|
|
4695
|
-
const currentModelValue = modelOption.type === "select" ? modelOption.currentValue?.trim() || void 0 : void 0;
|
|
4696
|
-
const capabilitiesBySlug = /* @__PURE__ */ new Map();
|
|
4697
|
-
if (currentModelValue) capabilitiesBySlug.set(currentModelValue, buildCursorCapabilitiesFromConfigOptions(initialConfigOptions));
|
|
4698
|
-
const targetModelSlugs = new Set(existingModels.filter((model) => !model.isCustom && !hasCursorModelCapabilities(model)).map((model) => model.slug));
|
|
4699
|
-
if (targetModelSlugs.size === 0) return buildCursorDiscoveredModels(modelChoices.map((modelChoice) => ({
|
|
4700
|
-
slug: modelChoice.value.trim(),
|
|
4701
|
-
name: modelChoice.name.trim(),
|
|
4702
|
-
capabilities: capabilitiesBySlug.get(modelChoice.value.trim()) ?? EMPTY_CAPABILITIES
|
|
4703
|
-
})));
|
|
4704
|
-
const probedCapabilities = yield* Effect.forEach(modelChoices, (modelChoice) => {
|
|
4705
|
-
const modelSlug = modelChoice.value.trim();
|
|
4706
|
-
if (!modelSlug || !targetModelSlugs.has(modelSlug) || capabilitiesBySlug.has(modelSlug)) return Effect.void.pipe(Effect.as(void 0));
|
|
4707
|
-
return withCursorAcpProbeRuntime(cursorSettings, (probeAcp) => Effect.gen(function* () {
|
|
4708
|
-
const probeConfigOptions = (yield* probeAcp.start()).sessionSetupResult.configOptions ?? [];
|
|
4709
|
-
const probeModelOption = findCursorModelConfigOption(probeConfigOptions);
|
|
4710
|
-
const probeCurrentModelValue = probeModelOption?.type === "select" ? probeModelOption.currentValue?.trim() || void 0 : void 0;
|
|
4711
|
-
yield* Effect.annotateCurrentSpan({
|
|
4712
|
-
"cursor.acp.model.value": modelSlug,
|
|
4713
|
-
"cursor.acp.model.currentValue": probeCurrentModelValue,
|
|
4714
|
-
"cursor.acp.config_option_id": probeModelOption?.id ?? modelOption.id
|
|
4715
|
-
});
|
|
4716
|
-
return [modelSlug, buildCursorCapabilitiesFromConfigOptions(probeCurrentModelValue === modelSlug ? probeConfigOptions : yield* probeAcp.setConfigOption(probeModelOption?.id ?? modelOption.id, modelSlug).pipe(Effect.map((response) => response.configOptions ?? probeConfigOptions)))];
|
|
4717
|
-
}), environment).pipe(Effect.timeout(CURSOR_ACP_MODEL_CAPABILITY_TIMEOUT), Effect.retry({ times: 3 }), Effect.withSpan("cursor-acp-model-capability-probe"), Effect.catchCause((cause) => Effect.logWarning("Cursor ACP capability probe failed", {
|
|
4718
|
-
modelSlug,
|
|
4719
|
-
cause: Cause.pretty(cause)
|
|
4720
|
-
})));
|
|
4721
|
-
}, { concurrency: CURSOR_ACP_MODEL_DISCOVERY_CONCURRENCY });
|
|
4722
|
-
for (const entry of probedCapabilities) {
|
|
4723
|
-
if (!entry) continue;
|
|
4724
|
-
capabilitiesBySlug.set(entry[0], entry[1]);
|
|
4725
|
-
}
|
|
4726
|
-
return buildCursorDiscoveredModels(modelChoices.map((modelChoice) => ({
|
|
4727
|
-
slug: modelChoice.value.trim(),
|
|
4728
|
-
name: modelChoice.name.trim(),
|
|
4729
|
-
capabilities: capabilitiesBySlug.get(modelChoice.value.trim()) ?? EMPTY_CAPABILITIES
|
|
4730
|
-
})));
|
|
4731
|
-
}).pipe(Effect.withSpan("cursor-acp-model-capability-discovery", {})), environment);
|
|
4746
|
+
const discoverCursorModelsViaAcp = (cursorSettings, environment = process.env) => withCursorAcpProbeRuntime(cursorSettings, (acp) => Effect.gen(function* () {
|
|
4747
|
+
yield* acp.start();
|
|
4748
|
+
const response = yield* acp.request("cursor/list_available_models", {});
|
|
4749
|
+
return buildCursorDiscoveredModelsFromAvailableModelsResponse(yield* Schema.decodeUnknownEffect(CursorListAvailableModelsResponse)(response));
|
|
4750
|
+
}), environment);
|
|
4732
4751
|
function getCursorFallbackModels(cursorSettings) {
|
|
4733
4752
|
return providerModelsFromSettings([], PROVIDER$1, cursorSettings.customModels, EMPTY_CAPABILITIES);
|
|
4734
4753
|
}
|
|
@@ -5053,37 +5072,20 @@ const checkCursorProviderStatus = Effect.fn("checkCursorProviderStatus")(functio
|
|
|
5053
5072
|
...discoveryWarning ? { discoveryWarning } : {}
|
|
5054
5073
|
});
|
|
5055
5074
|
});
|
|
5056
|
-
function hasUncapturedCursorModels(snapshot) {
|
|
5057
|
-
return snapshot.models.some((model) => !model.isCustom && !hasCursorModelCapabilities(model));
|
|
5058
|
-
}
|
|
5059
5075
|
/**
|
|
5060
|
-
* Background
|
|
5076
|
+
* Background maintenance enrichment for a Cursor snapshot.
|
|
5061
5077
|
*
|
|
5062
5078
|
* Used by `CursorDriver` as the `makeManagedServerProvider.enrichSnapshot`
|
|
5063
|
-
* hook:
|
|
5064
|
-
*
|
|
5065
|
-
*
|
|
5066
|
-
* uncaptured models. Keeps `EMPTY_CAPABILITIES` and the `PROVIDER` literal
|
|
5067
|
-
* private to this module.
|
|
5079
|
+
* hook: republishes update/version advisory metadata without performing any
|
|
5080
|
+
* model or capability discovery. Cursor model data comes from
|
|
5081
|
+
* `cursor/list_available_models` during provider status checks.
|
|
5068
5082
|
*/
|
|
5069
5083
|
const enrichCursorSnapshot = (input) => {
|
|
5070
5084
|
const { settings, snapshot, publishSnapshot } = input;
|
|
5071
5085
|
const stampIdentity = input.stampIdentity ?? ((value) => value);
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
return discoverCursorModelCapabilitiesViaAcp(settings, baseSnapshot.models, input.environment).pipe(Effect.flatMap((discoveredModels) => {
|
|
5075
|
-
if (discoveredModels.length === 0) return Effect.void;
|
|
5076
|
-
return publishSnapshot(stampIdentity({
|
|
5077
|
-
...baseSnapshot,
|
|
5078
|
-
models: providerModelsFromSettings(discoveredModels, PROVIDER$1, settings.customModels, EMPTY_CAPABILITIES)
|
|
5079
|
-
}));
|
|
5080
|
-
}), Effect.catchCause((cause) => Effect.logWarning("Cursor ACP background capability enrichment failed", {
|
|
5081
|
-
models: baseSnapshot.models.map((model) => model.slug),
|
|
5082
|
-
cause: Cause.pretty(cause)
|
|
5083
|
-
}).pipe(Effect.asVoid)));
|
|
5084
|
-
}));
|
|
5086
|
+
if (!settings.enabled || snapshot.auth.status === "unauthenticated") return Effect.void;
|
|
5087
|
+
return enrichProviderSnapshotWithVersionAdvisory(snapshot, input.maintenanceCapabilities).pipe(Effect.provideService(HttpClient.HttpClient, input.httpClient), Effect.flatMap((enrichedSnapshot) => publishSnapshot(stampIdentity(enrichedSnapshot)).pipe(Effect.asVoid)), Effect.catchCause((cause) => Effect.logWarning("Cursor version advisory enrichment failed", { cause: Cause.pretty(cause) }).pipe(Effect.asVoid)));
|
|
5085
5088
|
};
|
|
5086
|
-
|
|
5087
5089
|
//#endregion
|
|
5088
5090
|
//#region src/provider/acp/CursorAcpSupport.ts
|
|
5089
5091
|
function buildCursorAcpSpawnInput(cursorSettings, cwd, environment) {
|
|
@@ -5117,7 +5119,6 @@ function applyCursorAcpModelSelection(input) {
|
|
|
5117
5119
|
})));
|
|
5118
5120
|
});
|
|
5119
5121
|
}
|
|
5120
|
-
|
|
5121
5122
|
//#endregion
|
|
5122
5123
|
//#region src/textGeneration/CursorTextGeneration.ts
|
|
5123
5124
|
const CURSOR_TIMEOUT_MS = 18e4;
|
|
@@ -5285,7 +5286,6 @@ const makeCursorTextGeneration = Effect.fn("makeCursorTextGeneration")(function*
|
|
|
5285
5286
|
})
|
|
5286
5287
|
};
|
|
5287
5288
|
});
|
|
5288
|
-
|
|
5289
5289
|
//#endregion
|
|
5290
5290
|
//#region src/provider/acp/AcpAdapterSupport.ts
|
|
5291
5291
|
function mapAcpToAdapterError(provider, threadId, method, error) {
|
|
@@ -5314,7 +5314,6 @@ function acpPermissionOutcome(decision) {
|
|
|
5314
5314
|
default: return "reject-once";
|
|
5315
5315
|
}
|
|
5316
5316
|
}
|
|
5317
|
-
|
|
5318
5317
|
//#endregion
|
|
5319
5318
|
//#region src/provider/acp/AcpCoreRuntimeEvents.ts
|
|
5320
5319
|
function canonicalRequestTypeFromAcpKind(kind) {
|
|
@@ -5452,7 +5451,6 @@ function makeAcpContentDeltaEvent(input) {
|
|
|
5452
5451
|
}
|
|
5453
5452
|
};
|
|
5454
5453
|
}
|
|
5455
|
-
|
|
5456
5454
|
//#endregion
|
|
5457
5455
|
//#region src/provider/acp/AcpNativeLogging.ts
|
|
5458
5456
|
function writeNativeAcpLog(input) {
|
|
@@ -5503,78 +5501,6 @@ function makeAcpNativeLoggers(input) {
|
|
|
5503
5501
|
} } : {}
|
|
5504
5502
|
};
|
|
5505
5503
|
}
|
|
5506
|
-
|
|
5507
|
-
//#endregion
|
|
5508
|
-
//#region src/provider/acp/CursorAcpExtension.ts
|
|
5509
|
-
const CursorAskQuestionOption = Schema.Struct({
|
|
5510
|
-
id: Schema.String,
|
|
5511
|
-
label: Schema.String
|
|
5512
|
-
});
|
|
5513
|
-
const CursorAskQuestion = Schema.Struct({
|
|
5514
|
-
id: Schema.String,
|
|
5515
|
-
prompt: Schema.String,
|
|
5516
|
-
options: Schema.Array(CursorAskQuestionOption),
|
|
5517
|
-
allowMultiple: Schema.optional(Schema.Boolean)
|
|
5518
|
-
});
|
|
5519
|
-
const CursorAskQuestionRequest = Schema.Struct({
|
|
5520
|
-
toolCallId: Schema.String,
|
|
5521
|
-
title: Schema.optional(Schema.String),
|
|
5522
|
-
questions: Schema.Array(CursorAskQuestion)
|
|
5523
|
-
});
|
|
5524
|
-
const CursorTodoStatus = Schema.String;
|
|
5525
|
-
const CursorTodo = Schema.Struct({
|
|
5526
|
-
id: Schema.optional(Schema.String),
|
|
5527
|
-
content: Schema.optional(Schema.String),
|
|
5528
|
-
title: Schema.optional(Schema.String),
|
|
5529
|
-
status: Schema.optional(CursorTodoStatus)
|
|
5530
|
-
});
|
|
5531
|
-
const CursorPlanPhase = Schema.Struct({
|
|
5532
|
-
name: Schema.String,
|
|
5533
|
-
todos: Schema.Array(CursorTodo)
|
|
5534
|
-
});
|
|
5535
|
-
const CursorCreatePlanRequest = Schema.Struct({
|
|
5536
|
-
toolCallId: Schema.String,
|
|
5537
|
-
name: Schema.optional(Schema.String),
|
|
5538
|
-
overview: Schema.optional(Schema.String),
|
|
5539
|
-
plan: Schema.String,
|
|
5540
|
-
todos: Schema.Array(CursorTodo),
|
|
5541
|
-
isProject: Schema.optional(Schema.Boolean),
|
|
5542
|
-
phases: Schema.optional(Schema.Array(CursorPlanPhase))
|
|
5543
|
-
});
|
|
5544
|
-
const CursorUpdateTodosRequest = Schema.Struct({
|
|
5545
|
-
toolCallId: Schema.String,
|
|
5546
|
-
todos: Schema.Array(CursorTodo),
|
|
5547
|
-
merge: Schema.Boolean
|
|
5548
|
-
});
|
|
5549
|
-
function extractAskQuestions(params) {
|
|
5550
|
-
return params.questions.map((question) => ({
|
|
5551
|
-
id: question.id,
|
|
5552
|
-
header: "Question",
|
|
5553
|
-
question: question.prompt,
|
|
5554
|
-
multiSelect: question.allowMultiple === true,
|
|
5555
|
-
options: question.options.length > 0 ? question.options.map((option) => ({
|
|
5556
|
-
label: option.label,
|
|
5557
|
-
description: option.label
|
|
5558
|
-
})) : [{
|
|
5559
|
-
label: "OK",
|
|
5560
|
-
description: "Continue"
|
|
5561
|
-
}]
|
|
5562
|
-
}));
|
|
5563
|
-
}
|
|
5564
|
-
function extractPlanMarkdown(params) {
|
|
5565
|
-
return params.plan || "# Plan\n\n(Cursor did not supply plan text.)";
|
|
5566
|
-
}
|
|
5567
|
-
function extractTodosAsPlan(params) {
|
|
5568
|
-
return { plan: params.todos.flatMap((todo) => {
|
|
5569
|
-
const step = todo.content?.trim() ?? todo.title?.trim() ?? "";
|
|
5570
|
-
if (step === "") return [];
|
|
5571
|
-
return [{
|
|
5572
|
-
step,
|
|
5573
|
-
status: todo.status === "completed" ? "completed" : todo.status === "in_progress" || todo.status === "inProgress" ? "inProgress" : "pending"
|
|
5574
|
-
}];
|
|
5575
|
-
}) };
|
|
5576
|
-
}
|
|
5577
|
-
|
|
5578
5504
|
//#endregion
|
|
5579
5505
|
//#region src/provider/Layers/CursorAdapter.ts
|
|
5580
5506
|
/**
|
|
@@ -5911,7 +5837,7 @@ function makeCursorAdapter(cursorSettings, options) {
|
|
|
5911
5837
|
mapError: ({ cause, method }) => mapAcpToAdapterError(PROVIDER, input.threadId, method, cause)
|
|
5912
5838
|
});
|
|
5913
5839
|
const now = yield* nowIso;
|
|
5914
|
-
const tokenMode = input.tokenMode ??
|
|
5840
|
+
const tokenMode = input.tokenMode ?? "balanced";
|
|
5915
5841
|
const session = {
|
|
5916
5842
|
provider: PROVIDER,
|
|
5917
5843
|
providerInstanceId: boundInstanceId,
|
|
@@ -6188,16 +6114,14 @@ function makeCursorAdapter(cursorSettings, options) {
|
|
|
6188
6114
|
};
|
|
6189
6115
|
});
|
|
6190
6116
|
}
|
|
6191
|
-
|
|
6192
6117
|
//#endregion
|
|
6193
6118
|
//#region src/provider/Drivers/CursorDriver.ts
|
|
6194
6119
|
/**
|
|
6195
6120
|
* CursorDriver — `ProviderDriver` for the Cursor Agent (`agent`) runtime.
|
|
6196
6121
|
*
|
|
6197
|
-
* Cursor exposes an ACP-based CLI.
|
|
6198
|
-
*
|
|
6199
|
-
*
|
|
6200
|
-
* blocking the initial `ready`-state publish.
|
|
6122
|
+
* Cursor exposes an ACP-based CLI. Model catalog and capability refreshes
|
|
6123
|
+
* happen during the managed provider status check via Cursor's
|
|
6124
|
+
* `list_available_models` extension method.
|
|
6201
6125
|
*
|
|
6202
6126
|
* Text generation is supported via the ACP runtime — `makeCursorTextGeneration`
|
|
6203
6127
|
* drives `runtime.prompt` with a structured-output schema and collects the
|
|
@@ -6277,13 +6201,12 @@ const CursorDriver = {
|
|
|
6277
6201
|
checkProvider,
|
|
6278
6202
|
enrichSnapshot: ({ settings, snapshot: currentSnapshot, publishSnapshot }) => enrichCursorSnapshot({
|
|
6279
6203
|
settings,
|
|
6280
|
-
environment: processEnv,
|
|
6281
6204
|
snapshot: currentSnapshot,
|
|
6282
6205
|
maintenanceCapabilities,
|
|
6283
6206
|
publishSnapshot,
|
|
6284
6207
|
stampIdentity,
|
|
6285
6208
|
httpClient
|
|
6286
|
-
})
|
|
6209
|
+
}),
|
|
6287
6210
|
refreshInterval: null
|
|
6288
6211
|
}).pipe(Effect.mapError((cause) => new ProviderDriverError({
|
|
6289
6212
|
driver: DRIVER_KIND,
|
|
@@ -6296,6 +6219,5 @@ const CursorDriver = {
|
|
|
6296
6219
|
};
|
|
6297
6220
|
})
|
|
6298
6221
|
};
|
|
6299
|
-
|
|
6300
6222
|
//#endregion
|
|
6301
|
-
export { CursorDriver };
|
|
6223
|
+
export { CursorDriver };
|