ryco-cli 0.1.26 → 0.1.27
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/{AcpAdapter-CadxcdZV.cjs → AcpAdapter-CZc_JW7_.cjs} +5 -5
- package/dist/{AcpAdapter-BemMQNbj.mjs → AcpAdapter-DoRyx18Q.mjs} +5 -5
- package/dist/{AcpNativeLogging-BsbZRRD7.mjs → AcpNativeLogging-FscLjPYB.mjs} +2 -2
- package/dist/{AcpNativeLogging-DZPZNoju.cjs → AcpNativeLogging-WQZ0Jm4p.cjs} +1 -1
- package/dist/{AcpRegistryDriver-BpXCjh9I.mjs → AcpRegistryDriver-1FCrMtNw.mjs} +4 -4
- package/dist/{AcpRegistryDriver-BfCPf8FX.cjs → AcpRegistryDriver-BmdM0rgN.cjs} +5 -5
- package/dist/{AzureDevOpsSourceControlProvider-BcQO_CyW.mjs → AzureDevOpsSourceControlProvider-9bLYTK0M.mjs} +2 -3
- package/dist/{AzureDevOpsSourceControlProvider-B9N_8NJg.cjs → AzureDevOpsSourceControlProvider-DW5RKUeo.cjs} +6 -7
- package/dist/{BitbucketSourceControlProvider-C9WuwvY2.cjs → BitbucketSourceControlProvider-CMHRxVsd.cjs} +6 -7
- package/dist/{BitbucketSourceControlProvider-BTUY2ZT8.mjs → BitbucketSourceControlProvider-Cl3sSLIx.mjs} +2 -3
- package/dist/{BunPTY-DdnqQAdw.mjs → BunPTY-Dfgo5uCn.mjs} +1 -1
- package/dist/{ClaudeDriver-Csnp78qR.mjs → ClaudeDriver-B3h2ood6.mjs} +132 -30
- package/dist/{ClaudeDriver-BSTxNNGO.cjs → ClaudeDriver-CyPp-Fs3.cjs} +148 -45
- package/dist/{CodexDriver-BK4HVNV4.cjs → CodexDriver-BP3EtJ0S.cjs} +14 -14
- package/dist/{CodexDriver-fwcV84hX.mjs → CodexDriver-CN6idmnS.mjs} +6 -6
- package/dist/{CodexTextGeneration-Y2GSS7f1.cjs → CodexTextGeneration-B1kQOBKx.cjs} +8 -8
- package/dist/{CodexTextGeneration-_4aT5BHa.mjs → CodexTextGeneration-zuVszBVZ.mjs} +5 -5
- package/dist/{CopilotDriver-B12ZJ-L_.mjs → CopilotDriver-BYrkdbjf.mjs} +7 -7
- package/dist/{CopilotDriver-C7IyIwVW.cjs → CopilotDriver-DXAV2YFZ.cjs} +16 -16
- package/dist/{CursorDriver-C_p0v-ul.mjs → CursorDriver-BhxUUcPd.mjs} +7 -7
- package/dist/{CursorDriver-BWmCfJ-w.cjs → CursorDriver-DqFJ48VM.cjs} +15 -15
- package/dist/{ForgejoSourceControlProvider-DTRrllIH.cjs → ForgejoSourceControlProvider-BaX8QACC.cjs} +6 -7
- package/dist/{ForgejoSourceControlProvider-DmOGJEaJ.mjs → ForgejoSourceControlProvider-Dd70jIKU.mjs} +2 -3
- package/dist/{GitHubSourceControlProvider-sQGcwnr3.mjs → GitHubSourceControlProvider-C7BTtssl.mjs} +2 -3
- package/dist/{GitHubSourceControlProvider-D-YV8WP6.cjs → GitHubSourceControlProvider-bB3VvbjC.cjs} +4 -5
- package/dist/{GitLabSourceControlProvider-kKYYnpER.cjs → GitLabSourceControlProvider-CpPjVL2v.cjs} +6 -7
- package/dist/{GitLabSourceControlProvider-mIl-K-4F.mjs → GitLabSourceControlProvider-DtYBP_yY.mjs} +2 -3
- package/dist/{GrokDriver-BFOniP_K.cjs → GrokDriver-B66NTem3.cjs} +9 -9
- package/dist/{GrokDriver-CDcWkiAi.mjs → GrokDriver-DM1NdZRk.mjs} +6 -6
- package/dist/{NodePTY-DArvQ9bX.mjs → NodePTY-BtRL0A34.mjs} +1 -1
- package/dist/{OpenCodeDriver-CnWJHyDJ.mjs → OpenCodeDriver-DH41ibjc.mjs} +7 -7
- package/dist/{OpenCodeDriver-CckbFEQJ.cjs → OpenCodeDriver-DeSH_rjs.cjs} +17 -17
- package/dist/{SideQuestionIsolation-5eGFRW0t.mjs → SideQuestionIsolation-Dn-HWCtI.mjs} +1 -1
- package/dist/{SideQuestionIsolation-DvVKZWxi.cjs → SideQuestionIsolation-pW7UQKVD.cjs} +1 -1
- package/dist/bin.cjs +11516 -9316
- package/dist/bin.mjs +11166 -8960
- package/dist/client/assets/AccountSettings-CEf7oALI.js +1 -0
- package/dist/client/assets/AiFocusSettings-Bx0qzXZb.js +1 -0
- package/dist/client/assets/AnimatedHeight-BdPmCa-2.js +1 -0
- package/dist/client/assets/AppearanceSettings-dR9CQ8NA.js +1 -0
- package/dist/client/assets/BranchToolbar.logic-h0d4Ciue.js +3 -0
- package/dist/client/assets/BrowserPanel-D8lPv8fb.js +1 -0
- package/dist/client/assets/ChatRightPanel-Dn-7Xvyc.js +199 -0
- package/dist/client/assets/ChatThreadRouteView-DVBC81zl.js +1 -0
- package/dist/client/assets/CommandPaletteDialog-BNYMM9Z4.js +1 -0
- package/dist/client/assets/CompositeRoot-C2w3pPeh.js +1 -0
- package/dist/client/assets/ComputerUseSettings-Cs_Owo6-.js +1 -0
- package/dist/client/assets/ConnectionsSettings-DEi2p0zo.js +7 -0
- package/dist/client/assets/ContextHandoffEndpointLabel-DS0hRX6s.js +4 -0
- package/dist/client/assets/DiagnosticsSettings-YBPSnfRV.js +2 -0
- package/dist/client/assets/DialogHandle-4vx7sbjo.js +1 -0
- package/dist/client/assets/DialogPopup-B0PxwE99.js +1 -0
- package/dist/client/assets/DialogRoot-m4XA9S7t.js +1 -0
- package/dist/client/assets/DialogTitle-BYcCdrqC.js +1 -0
- package/dist/client/assets/DialogTrigger-DJWPHhX_.js +1 -0
- package/dist/client/assets/DialogViewport-UVYw-6p8.js +1 -0
- package/dist/client/assets/DraftChatThreadRouteView-BSqiqymo.js +1 -0
- package/dist/client/assets/{ExternalIdentityWeb.logic-CrcNfdHK.js → ExternalIdentityWeb.logic-BcfjLeSk.js} +1 -1
- package/dist/client/assets/{GlassSurface-CBIEgwt1.js → GlassSurface-YfHTds9q.js} +1 -1
- package/dist/client/assets/HostedConnectionControls-zCFvpOtX.js +1 -0
- package/dist/client/assets/HostedHubRoot-Dhp_vsh3.js +2 -0
- package/dist/client/assets/HostedNativeAuthorizationRoute-Dk-X6kyE.js +2 -0
- package/dist/client/assets/HostedNodeRenameDialog-BPmZUTA0.js +1 -0
- package/dist/client/assets/HostedRelayTrustNotice-9UBK7nWp.js +1 -0
- package/dist/client/assets/IntegrationsSettingsPanel-Dx_DA-GV.js +2 -0
- package/dist/client/assets/KeybindingsSettings-CXhTidkh.js +7 -0
- package/dist/client/assets/LazyBrowserPanel-B7krhylG.js +2 -0
- package/dist/client/assets/McpServersSettings-DaSVryrF.js +6 -0
- package/dist/client/assets/MobileSheet-CJK9LUkP.js +1 -0
- package/dist/client/assets/NodeSecuritySettings-D8-nbjl0.js +1 -0
- package/dist/client/assets/NullStore-B1qVh9r1.js +1 -0
- package/dist/client/assets/OnboardingDialog-BouStRFq.js +1 -0
- package/dist/client/assets/OpinionatedPluginsSettings-Dell0ad6.js +1 -0
- package/dist/client/assets/{PdfAttachmentPreview-BCMO9OHD.js → PdfAttachmentPreview-Cxmy8p4o.js} +3 -3
- package/dist/client/assets/PhoneGetAppInterstitial-DApTgg3Y.js +1 -0
- package/dist/client/assets/PhoneHome-Clzp8GJr.js +1 -0
- package/dist/client/assets/PhoneSettingsSurface-ByGQx_24.js +2 -0
- package/dist/client/assets/ProvidersSettingsPanel-BqIyPjmD.js +1 -0
- package/dist/client/assets/QuitShortcutFeedback-fpDQ3cUQ.js +1 -0
- package/dist/client/assets/RedactedSensitiveText-CcYd2px8.js +1 -0
- package/dist/client/assets/RootAppShell-CWZbIY7q.js +7 -0
- package/dist/client/assets/Separator-phTJr0Qx.js +1 -0
- package/dist/client/assets/SettingsDialog-TJfJzHN9.js +2 -0
- package/dist/client/assets/SettingsPanels-DWkzFTVO.js +3 -0
- package/dist/client/assets/SettingsPanels.editor-Cml3ZnL4.js +1 -0
- package/dist/client/assets/SourceControlSettings-C-4QtBJz.js +1 -0
- package/dist/client/assets/StatisticsPage-DcHPYglK.js +1 -0
- package/dist/client/assets/StatisticsPanel-BaobZm_7.js +1 -0
- package/dist/client/assets/StatisticsSettingsLink-D495bF8R.js +1 -0
- package/dist/client/assets/ThreadTerminalDrawer-erl6kZF6.js +18 -0
- package/dist/client/assets/ThreadWorkspacePanel-CdlvFu_u.js +2074 -0
- package/dist/client/assets/abnfDiagram-N423BO3Z-BAYNysM5.js +1 -0
- package/dist/client/assets/{activity-BmRcsTyL.js → activity-BdLqP9i_.js} +1 -1
- package/dist/client/assets/{alert-C5UiA2xk.js → alert-DPLHJUsX.js} +1 -1
- package/dist/client/assets/angular-html-B8mrqUL5.js +1 -0
- package/dist/client/assets/{angular-ts-BQK9km6-.js → angular-ts-Bzix210W.js} +1 -1
- package/dist/client/assets/{apl-C92MddLO.js → apl-Dhin1L29.js} +1 -1
- package/dist/client/assets/{appChrome-CsZ2ylc1.js → appChrome-DWDme9Dt.js} +1 -1
- package/dist/client/assets/arc-BbkdAXW7.js +1 -0
- package/dist/client/assets/architecture-7GRP2DOG-BJtkrWuJ.js +1 -0
- package/dist/client/assets/architectureDiagram-T3A2C74G-C8_Cvj7E.js +36 -0
- package/dist/client/assets/{arrow-left-CSz-z20j.js → arrow-left-BAJW4wtE.js} +1 -1
- package/dist/client/assets/{arrow-right-DEi91hao.js → arrow-right-Dns94Sea.js} +1 -1
- package/dist/client/assets/{arrow-up-right-D7SpcTV9.js → arrow-up-right-B4jqikrK.js} +1 -1
- package/dist/client/assets/{astro-CV97iv9o.js → astro-B-4NNgOP.js} +1 -1
- package/dist/client/assets/authorization-DMv-wK-V.js +1 -0
- package/dist/client/assets/badge-DLmSMsDm.js +1 -0
- package/dist/client/assets/band-DZ4Jagyz.js +1 -0
- package/dist/client/assets/{blade-yJCl9jZA.js → blade-C6Gedziy.js} +1 -1
- package/dist/client/assets/blockDiagram-VBNYF7ZC-B75XFMEV.js +132 -0
- package/dist/client/assets/{bot-SC4UGZyw.js → bot-Dv0XDWJs.js} +1 -1
- package/dist/client/assets/c-iCihek07.js +1 -0
- package/dist/client/assets/c4Diagram-5PPSVZJV-DwxLnQVX.js +10 -0
- package/dist/client/assets/capabilities-8t5cq9FQ.js +1 -0
- package/dist/client/assets/channel-BBNf4NuI.js +1 -0
- package/dist/client/assets/{chapel-B4wvmE90.js → chapel-DmtgEXO_.js} +1 -1
- package/dist/client/assets/{chart-column-C08MuLgY.js → chart-column-B_-qnXGB.js} +1 -1
- package/dist/client/assets/chevron-right-Cnb37R-Q.js +1 -0
- package/dist/client/assets/chunk-2GRJ4B5K-nG7WCf2t.js +1 -0
- package/dist/client/assets/chunk-2Q5K7J3B-C1jixKkw.js +1 -0
- package/dist/client/assets/chunk-4I5QYGJK-D3luggpT.js +1 -0
- package/dist/client/assets/chunk-5RXB4S5H-nhzQkmkg.js +231 -0
- package/dist/client/assets/chunk-5VM5RSS4-ZNzvKenW.js +15 -0
- package/dist/client/assets/chunk-6Q2QTUOP-dP86RxKA.js +88 -0
- package/dist/client/assets/chunk-7BUUIJ7U-Bb538aSH.js +1 -0
- package/dist/client/assets/chunk-7Z6QIM7H-DaMB-SqH.js +10 -0
- package/dist/client/assets/chunk-FOHPRMQF-CoA4358r.js +161 -0
- package/dist/client/assets/chunk-GF5L2VYU-asgcvCCI.js +206 -0
- package/dist/client/assets/chunk-I66GZJ75-CDkA1o_8.js +127 -0
- package/dist/client/assets/chunk-JQJVKLGR-Bw0X5Ip-.js +156 -0
- package/dist/client/assets/chunk-JWPE2WC7-DVXcaiue.js +1 -0
- package/dist/client/assets/chunk-KBJHAD2P-dO_kTnL7.js +1 -0
- package/dist/client/assets/chunk-NSK5VX7P-BmceTTBR.js +2 -0
- package/dist/client/assets/chunk-QR6OTTB3-B5kA0ffj.js +62 -0
- package/dist/client/assets/chunk-RYQCIY6F-DwFgeAGr.js +1 -0
- package/dist/client/assets/chunk-UBXNYLIW-CDedwfvO.js +1 -0
- package/dist/client/assets/chunk-W5SLKNZC-CYitqjQA.js +1 -0
- package/dist/client/assets/chunk-WRU74C26-BuyHUiY3.js +70 -0
- package/dist/client/assets/chunk-XXDRQBXY-DKGD__ll.js +1 -0
- package/dist/client/assets/chunk-Y2CYZVJY-DsF7k-Jl.js +1 -0
- package/dist/client/assets/classDiagram-JCYQIIEL-CEJrTr5w.js +1 -0
- package/dist/client/assets/classDiagram-v2-OCEON4UE-CEJrTr5w.js +1 -0
- package/dist/client/assets/{clipboard-copy-D74Wvnon.js → clipboard-copy-m25MViws.js} +1 -1
- package/dist/client/assets/{cobol-NqUMvFU8.js → cobol-Cw2-KvLW.js} +1 -1
- package/dist/client/assets/{coffee-DVKhASwQ.js → coffee-CiiSLhB6.js} +1 -1
- package/dist/client/assets/compiler-runtime-C4g8XhC5.js +1 -0
- package/dist/client/assets/cose-bilkent-JH36ORCC-CQw99gYc.js +1 -0
- package/dist/client/assets/cpp-71xkOQct.js +1 -0
- package/dist/client/assets/{crystal-DTR4CTFy.js → crystal-DGPAtLeY.js} +1 -1
- package/dist/client/assets/css-CNuuLpMC.js +1 -0
- package/dist/client/assets/cynefin-OW5HDTMX-PI1jXfo9.js +1 -0
- package/dist/client/assets/cynefinDiagram-MW4NZA55-D9aXz2H3.js +62 -0
- package/dist/client/assets/cytoscape.esm-B-1iW2ft.js +321 -0
- package/dist/client/assets/dagre-VZM6K2ZE-DAkAWtHf.js +4 -0
- package/dist/client/assets/dagre-jnk0s9qx.js +1 -0
- package/dist/client/assets/{data-list-CZ4Utnfl.js → data-list-CzuRaMoY.js} +1 -1
- package/dist/client/assets/defaultLocale-BFoDCU3G.js +1 -0
- package/dist/client/assets/desktopWorkspace-DCXeateK.js +1 -0
- package/dist/client/assets/diagram-7IWD3JNH-D9Y5DAHG.js +30 -0
- package/dist/client/assets/diagram-B4RE2ZJO-pcVWvD1c.js +3 -0
- package/dist/client/assets/diagram-LBJQPF4R-CKQHNEf3.js +24 -0
- package/dist/client/assets/diagram-Q27KOJAE-DpUj2dlx.js +24 -0
- package/dist/client/assets/diagram-UB23O5K3-D9ixM4zK.js +41 -0
- package/dist/client/assets/dist-v5Q1xZ2K.js +1 -0
- package/dist/client/assets/{download-Dio40wIJ.js → download-BLSwvpO8.js} +1 -1
- package/dist/client/assets/ebnfDiagram-BXEA7PRR-DtVIaCAg.js +1 -0
- package/dist/client/assets/{edge-CpqhDICu.js → edge-DCY0a-ow.js} +1 -1
- package/dist/client/assets/editorPreferences-B9oRG3Zd.js +1 -0
- package/dist/client/assets/{elixir--isJgL2B.js → elixir-DP304Xio.js} +1 -1
- package/dist/client/assets/{elm-DgHzNgm_.js → elm-o4NJxfws.js} +1 -1
- package/dist/client/assets/{empty-6LExKYgQ.js → empty-DOy2mOw2.js} +1 -1
- package/dist/client/assets/erDiagram-JOGREHBK-BLKpTkcC.js +85 -0
- package/dist/client/assets/{erb-CXyXxaAM.js → erb-C7MPl934.js} +1 -1
- package/dist/client/assets/eventmodeling-NTZA5JFV-BwvZvQqc.js +1 -0
- package/dist/client/assets/flowDiagram-UKHOOZJN-BQ7PEPRm.js +1 -0
- package/dist/client/assets/ganttDiagram-PKOTCBZU-CnqZ0jmv.js +292 -0
- package/dist/client/assets/{git-rebase-BqNqx552.js → git-rebase-BDPpS8w6.js} +1 -1
- package/dist/client/assets/gitGraph-4MIJSDKK-CwCT0-s6.js +1 -0
- package/dist/client/assets/gitGraphDiagram-DS77QQ5N-s8lXhp4w.js +106 -0
- package/dist/client/assets/{glimmer-js-yZWXr7D1.js → glimmer-js-BONyzAsu.js} +1 -1
- package/dist/client/assets/{glimmer-ts-BgilwNe9.js → glimmer-ts-f9c0GCOe.js} +1 -1
- package/dist/client/assets/glsl-D5MA2a_X.js +1 -0
- package/dist/client/assets/graphlib-DS17s2tU.js +1 -0
- package/dist/client/assets/graphql-Ctjuxyvl.js +1 -0
- package/dist/client/assets/{group-D_mu0Kiq.js → group-CuoO9JnL.js} +1 -1
- package/dist/client/assets/{hack-Bw3mo9za.js → hack-Dh_ZLRbs.js} +1 -1
- package/dist/client/assets/haml-CwEpbK1d.js +1 -0
- package/dist/client/assets/{handlebars-D71nAVX4.js → handlebars-ryMP1rBR.js} +1 -1
- package/dist/client/assets/hostedConnectionCoordinator-BSJ_DOFJ.js +1 -0
- package/dist/client/assets/hostedPairing-CqhLPQqG.js +1 -0
- package/dist/client/assets/html-XwrE-1r6.js +1 -0
- package/dist/client/assets/{html-derivative-BwDrYmK9.js → html-derivative-i4STDFnl.js} +1 -1
- package/dist/client/assets/{http-BSiVGmrj.js → http-kmH8AyfE.js} +1 -1
- package/dist/client/assets/hubRoutes-21nfUON0.js +1 -0
- package/dist/client/assets/{hurl-BUTu-xdf.js → hurl-DCZHXKU4.js} +1 -1
- package/dist/client/assets/{index-7MTgf8YI.js → index-BwKpO5H0.js} +2 -2
- package/dist/client/assets/info-A6RAGUB7-BEii5_a7.js +1 -0
- package/dist/client/assets/infoDiagram-6WML65LV-BDA4ayxB.js +2 -0
- package/dist/client/assets/init-ZlXS9mIS.js +1 -0
- package/dist/client/assets/input-C7jwjNin.js +1 -0
- package/dist/client/assets/ishikawaDiagram-WSZJBQD7-Dg0BzsTT.js +70 -0
- package/dist/client/assets/java-DdHNQ9hk.js +1 -0
- package/dist/client/assets/javascript-obGGvMPs.js +1 -0
- package/dist/client/assets/{jinja-BA7hgfzz.js → jinja-B-tLrNsM.js} +1 -1
- package/dist/client/assets/{jison-CUMnSUVk.js → jison-CBjhYtSs.js} +1 -1
- package/dist/client/assets/journeyDiagram-NVQOT4AX-C8EwxR5-.js +139 -0
- package/dist/client/assets/json-DAgxKhMr.js +1 -0
- package/dist/client/assets/jsx-gTgmArGx.js +1 -0
- package/dist/client/assets/{julia-C-lBeOK5.js → julia-CXJVy74_.js} +1 -1
- package/dist/client/assets/{just-DfEtguTY.js → just-B9Xn_Dp4.js} +1 -1
- package/dist/client/assets/kanban-definition-27J2QSJJ-CwWIK4hH.js +89 -0
- package/dist/client/assets/katex-ZlcWpGUi.js +257 -0
- package/dist/client/assets/kbd-BkhO-OIB.js +1 -0
- package/dist/client/assets/{key-round-C-oUSjpF.js → key-round-QNi8vZ3o.js} +1 -1
- package/dist/client/assets/{latex-6oxeCMbP.js → latex-o9DRzaEe.js} +1 -1
- package/dist/client/assets/{layers-Co2a5C1k.js → layers-DxCncDg0.js} +1 -1
- package/dist/client/assets/linear-DCT4R0u9.js +1 -0
- package/dist/client/assets/{liquid-Cr73H0-U.js → liquid-G0MH4h_m.js} +1 -1
- package/dist/client/assets/liquidGlass-CA2o_Cq0.js +1 -0
- package/dist/client/assets/{log-out-pWFhbvwr.js → log-out-0cx8xYmG.js} +1 -1
- package/dist/client/assets/{logging-JMrwaeZh.js → logging-D0Z2ysS_.js} +1 -1
- package/dist/client/assets/lua-FONpmTUP.js +1 -0
- package/dist/client/assets/main-Bs1wRbtM.css +2 -0
- package/dist/client/assets/main-DRnQOdGw.js +9 -0
- package/dist/client/assets/map-CLsMSThe.js +1 -0
- package/dist/client/assets/{marko-8BhW8jZt.js → marko-DV5GrDmo.js} +1 -1
- package/dist/client/assets/{mdc-uTSeACfH.js → mdc-BKfPFPZw.js} +1 -1
- package/dist/client/assets/mermaid-parser.core-DFyHLivv.js +6 -0
- package/dist/client/assets/mermaidEngine-CFbqgukn.js +41 -0
- package/dist/client/assets/mindmap-definition-FAOFIHXS-DEUodh64.js +96 -0
- package/dist/client/assets/{nginx-BbzDIRDu.js → nginx-BTMw9COX.js} +1 -1
- package/dist/client/assets/{nim-C27DPxCt.js → nim-B6yJ_yaC.js} +1 -1
- package/dist/client/assets/noop-CdBy4H-p.js +1 -0
- package/dist/client/assets/ordinal-CPleeUAT.js +1 -0
- package/dist/client/assets/{org-DRYqs_wo.js → org-Ddi8Gs6E.js} +1 -1
- package/dist/client/assets/packet-AYTQ26CC-kDW4NC3U.js +1 -0
- package/dist/client/assets/{palette-B_6C4fD6.js → palette-DJP6HjoK.js} +1 -1
- package/dist/client/assets/pegDiagram-VL7TDLO6-DP6G624r.js +1 -0
- package/dist/client/assets/{perl-Dj7_nwz_.js → perl-DEgXgjuC.js} +1 -1
- package/dist/client/assets/{php-Xqfm-TjX.js → php-B9UPq-vz.js} +1 -1
- package/dist/client/assets/pie-WAS4IAKB-CkU95zMj.js +1 -0
- package/dist/client/assets/pieDiagram-7S7Q4E2Y-CbI-Me3X.js +39 -0
- package/dist/client/assets/{play-DFtc9zBy.js → play-D2dLXeYA.js} +1 -1
- package/dist/client/assets/primary-CTbs3K5y.js +5 -0
- package/dist/client/assets/providerDriverMeta-BufQsOt9.js +1 -0
- package/dist/client/assets/providerInstances-BsYOgLbA.js +1 -0
- package/dist/client/assets/providerModels-B6q2qkJn.js +1 -0
- package/dist/client/assets/providerStatus-DBGvvkyF.js +1 -0
- package/dist/client/assets/{pug-CKEc9v9y.js → pug-DkgDHZci.js} +1 -1
- package/dist/client/assets/{qml-C3bhdnuC.js → qml-_a-QhfPD.js} +1 -1
- package/dist/client/assets/qr-code-aWP2UC_0.js +1 -0
- package/dist/client/assets/{qr-code-DaHWf7Oq.js → qr-code-rHO2PSNK.js} +1 -1
- package/dist/client/assets/quadrantDiagram-CIZ2JOQS-DdT-PJym.js +7 -0
- package/dist/client/assets/r-BHcO8Vjq.js +1 -0
- package/dist/client/assets/radar-RG4KPBEZ-BCHjOI8k.js +1 -0
- package/dist/client/assets/radio-group-j7Aw0khh.js +2 -0
- package/dist/client/assets/railroad-74A4TZTK-Coyy1E7r.js +1 -0
- package/dist/client/assets/railroad-abnf-HS5TGJTU-vVvBZ7mV.js +1 -0
- package/dist/client/assets/railroad-ebnf-LZEXJU2U-DPhiX3AH.js +1 -0
- package/dist/client/assets/railroad-peg-WCYAUIDC-CE5r0-yf.js +1 -0
- package/dist/client/assets/railroadDiagram-AXF67PYL-BtotoGcb.js +1 -0
- package/dist/client/assets/{razor-CCBiKnb_.js → razor-BMJ0eI3p.js} +1 -1
- package/dist/client/assets/react-CwJFpaho.js +1 -0
- package/dist/client/assets/{refresh-cw-CY5BeUEr.js → refresh-cw-BvLhRgIT.js} +1 -1
- package/dist/client/assets/regexp-DR20uMnK.js +1 -0
- package/dist/client/assets/requirementDiagram-LRYGKXZP-CkRiHwnq.js +84 -0
- package/dist/client/assets/rolldown-runtime-hePW80VL.js +1 -0
- package/dist/client/assets/rough.esm-Dy-Kn_BL.js +1 -0
- package/dist/client/assets/{rst-DKqX_39h.js → rst-BQCbfb9V.js} +1 -1
- package/dist/client/assets/{ruby-CaU3RLfE.js → ruby-B8JcIHv0.js} +1 -1
- package/dist/client/assets/runtime-BmkVEPVk.js +17 -0
- package/dist/client/assets/sankeyDiagram-W5VNT64P-CRA3QeOy.js +40 -0
- package/dist/client/assets/{sas-Dq8EnVfj.js → sas-CBpMWA2M.js} +1 -1
- package/dist/client/assets/{save-DIHMjHXd.js → save-BS49-bF8.js} +1 -1
- package/dist/client/assets/scroll-area-DCAX5yOi.js +1 -0
- package/dist/client/assets/scrollEdges-BPCo6eoJ.js +1 -0
- package/dist/client/assets/scss-YesllqfO.js +1 -0
- package/dist/client/assets/separator-BzCfJfqt.js +1 -0
- package/dist/client/assets/sequenceDiagram-SI44F4Z6-C1NBZD9Z.js +162 -0
- package/dist/client/assets/settingsLayout-DsTnu1ag.js +1 -0
- package/dist/client/assets/{sheet-CFvRY7T6.js → sheet-B5Bho6hg.js} +1 -1
- package/dist/client/assets/shellscript-Da78Ox-3.js +1 -0
- package/dist/client/assets/{shellsession-26dOf2m0.js → shellsession-CVsQGYfZ.js} +1 -1
- package/dist/client/assets/{shield-Zn2kFj5M.js → shield-D8Js3j2m.js} +1 -1
- package/dist/client/assets/{shield-alert-DMB5gKiC.js → shield-alert-D5KtaxAD.js} +1 -1
- package/dist/client/assets/{shield-check-DyNf6Bky.js → shield-check-Bw3PFmc5.js} +1 -1
- package/dist/client/assets/sidebar-BgdP0aPP.js +1 -0
- package/dist/client/assets/sidebarProjectFolders-SidXpBYm.js +4 -0
- package/dist/client/assets/{sidebarStatusText-DCo-whyK.js → sidebarStatusText-CGlncYed.js} +1 -1
- package/dist/client/assets/sizeCapture-X5ZJPWSS-B0uUizjq.js +1 -0
- package/dist/client/assets/{skeleton-DEuowfjY.js → skeleton-D2DLiMeL.js} +1 -1
- package/dist/client/assets/{smartphone-BLWJ7C9-.js → smartphone-BxLjYoMC.js} +1 -1
- package/dist/client/assets/{soy-Bf3k5CrX.js → soy-DEd-qcad.js} +1 -1
- package/dist/client/assets/sql-DdD7vxS4.js +1 -0
- package/dist/client/assets/src-BISxbUej.js +1 -0
- package/dist/client/assets/{src-DPpEXU6w.js → src-DveUJAx7.js} +1 -1
- package/dist/client/assets/{star-CjQxHYbD.js → star-COJFLZTR.js} +1 -1
- package/dist/client/assets/{stata-DYvaCWJV.js → stata-CMv7m7Gi.js} +1 -1
- package/dist/client/assets/stateDiagram-OKZ733FA-Ds3WpAzo.js +1 -0
- package/dist/client/assets/stateDiagram-v2-UEYNNEHI-B1G6cGoL.js +1 -0
- package/dist/client/assets/{surrealql-CVtmRpY6.js → surrealql-BZoq2lXR.js} +1 -1
- package/dist/client/assets/{svelte-k_k4XYnr.js → svelte-Bj3Hmc9F.js} +1 -1
- package/dist/client/assets/swimlanes-SLNWSIFB-CBOT6h6D.js +1 -0
- package/dist/client/assets/swimlanesDiagram-ULZ7WXOC-C7dzqG68.js +8 -0
- package/dist/client/assets/switch-DRWMuFAB.js +48 -0
- package/dist/client/assets/{templ-CxD_nC0J.js → templ-TjxbArHn.js} +1 -1
- package/dist/client/assets/tex-BK-H2Wn4.js +1 -0
- package/dist/client/assets/time-DQ1f7CYz.js +1 -0
- package/dist/client/assets/timeline-definition-Z64GVDOM-BchFx9aU.js +120 -0
- package/dist/client/assets/toggle-BFimNtfd.js +1 -0
- package/dist/client/assets/toggle-group-DkiAyblO.js +1 -0
- package/dist/client/assets/{tokenModePresentation-CPUsUGY4.js → tokenModePresentation-CF3EmBbY.js} +1 -1
- package/dist/client/assets/tooltip-DCkohGhZ.js +1 -0
- package/dist/client/assets/treeView-Q6P3EWNA-CEV1Lb2d.js +1 -0
- package/dist/client/assets/treemap-WGGIJYW6-BmpcuJbz.js +1 -0
- package/dist/client/assets/{ts-tags-BriKwQve.js → ts-tags-Cc5do7zu.js} +1 -1
- package/dist/client/assets/tsx-CUOciP0b.js +1 -0
- package/dist/client/assets/{twig-DsmcR2eZ.js → twig-BVSnuTf-.js} +1 -1
- package/dist/client/assets/typescript-BydbNFcO.js +1 -0
- package/dist/client/assets/{typst-Drab9wKO.js → typst-C40W_gC6.js} +1 -1
- package/dist/client/assets/{unplug-Bjpxv8i0.js → unplug-8DPlQKIp.js} +1 -1
- package/dist/client/assets/{usage-8vQUo0mr.js → usage-C8xQ6Fzh.js} +1 -1
- package/dist/client/assets/useAppSidebarCollapsed-C2LlQGyO.js +1 -0
- package/dist/client/assets/useAppearancePreference-Dlh9P8iu.js +1 -0
- package/dist/client/assets/useBaseUiId-mt0hfEAe.js +1 -0
- package/dist/client/assets/useControlled-CgAAWIy9.js +1 -0
- package/dist/client/assets/useLabelableId-Cvt4WsTl.js +1 -0
- package/dist/client/assets/useLongPress-CUmLovQ7.js +1 -0
- package/dist/client/assets/useNavigate-C3GqcMfH.js +1 -0
- package/dist/client/assets/usePhoneThreadActions-D6vlUMhK.js +1 -0
- package/dist/client/assets/usePopupViewport-Do1Do_XW.js +1 -0
- package/dist/client/assets/usePresentationTier-hxB7Yv_Q.js +1 -0
- package/dist/client/assets/useScrollLock-CBkwVMhR.js +1 -0
- package/dist/client/assets/useStatistics-DVzBUtMo.js +55 -0
- package/dist/client/assets/useTheme-B441xg4F.js +1 -0
- package/dist/client/assets/useTriggerFocusGuards-CwCaKZe6.js +1 -0
- package/dist/client/assets/useValueChanged-DdYHxdoK.js +1 -0
- package/dist/client/assets/{user-round-DEWIPpNs.js → user-round-D4L0lVW8.js} +1 -1
- package/dist/client/assets/vennDiagram-T6HMQDX7-D5h4gL4M.js +34 -0
- package/dist/client/assets/{vscode-icons-DTH-Vj-_.js → vscode-icons-BKarOrEi.js} +1 -1
- package/dist/client/assets/{vue-Dt-rrFdH.js → vue-BNQF7r6F.js} +1 -1
- package/dist/client/assets/{vue-html-BrRsRUlP.js → vue-html-DkKkQnZL.js} +1 -1
- package/dist/client/assets/{vue-vine-CxnolnwP.js → vue-vine-DFaKYU4X.js} +1 -1
- package/dist/client/assets/wardley-WFR3VGLG-COhlspfw.js +1 -0
- package/dist/client/assets/wardleyDiagram-T6FBY63Y-WJNCmmcd.js +78 -0
- package/dist/client/assets/{workspaceMetadataProjection-BnpxBe8S.js → workspaceMetadataProjection-DGOQN5yh.js} +1 -1
- package/dist/client/assets/{wrench-36WYdK_a.js → wrench-B8Kn44An.js} +1 -1
- package/dist/client/assets/xml-BlnrEAEy.js +1 -0
- package/dist/client/assets/{xsl-BY-Cn9M_.js → xsl-BOPS8gLt.js} +1 -1
- package/dist/client/assets/xychartDiagram-ELKLHX3M-CabQ0hKy.js +7 -0
- package/dist/client/assets/yaml-Du_6cdrH.js +1 -0
- package/dist/client/index.html +1 -1
- package/dist/{deviceHostWorker-C-BSnmkn.mjs → deviceHostWorker-CV7GZgfH.mjs} +1 -1
- package/dist/{git-C4iJMbBu.mjs → git-BaEqFwDw.mjs} +1 -1
- package/dist/{git-irmB8_k7.cjs → git-VPCnunmz.cjs} +1 -1
- package/dist/{makeManagedServerProvider-BINne1KE.mjs → makeManagedServerProvider--SPw3bxe.mjs} +23 -19
- package/dist/{makeManagedServerProvider-DGbd8BhM.cjs → makeManagedServerProvider-A3NSgBwN.cjs} +23 -19
- package/dist/resource-monitor/ryco-resource-monitor +0 -0
- package/dist/resource-monitor/ryco-resource-monitor.exe +0 -0
- package/dist/resource-monitor/win32-arm64/ryco-resource-monitor.exe +0 -0
- package/dist/resource-monitor/win32-x64/ryco-resource-monitor.exe +0 -0
- package/dist/{Metrics-C-3MahDy.mjs → serverSettings-C7N2cm7C.mjs} +783 -8
- package/dist/{Metrics-DCKbdeoH.cjs → serverSettings-_fgQZNIb.cjs} +944 -11
- package/dist/{src-BlzIcnVG.cjs → src-CBu69HDR.cjs} +395 -20
- package/dist/{src-DtEOcXdl.mjs → src-D8uCtoDZ.mjs} +342 -15
- package/package.json +1 -1
- package/dist/SourceControlProviderDiscoveryCatalog-BVvq7liJ.mjs +0 -525
- package/dist/SourceControlProviderDiscoveryCatalog-CyUhKJLD.cjs +0 -614
- package/dist/client/assets/AccountSettings-DLbcE2w-.js +0 -1
- package/dist/client/assets/AiFocusSettings-FKvdkl4P.js +0 -1
- package/dist/client/assets/AnimatedHeight-CbIEyMLg.js +0 -1
- package/dist/client/assets/AppearanceSettings-B2LsGKmL.js +0 -1
- package/dist/client/assets/BranchToolbar.logic-BqkvYNPk.js +0 -1
- package/dist/client/assets/BrowserPanel-C_C4zjrh.js +0 -1
- package/dist/client/assets/ChatRightPanel-ibiQ79jI.js +0 -195
- package/dist/client/assets/ChatThreadRouteView-c7AXmbSk.js +0 -1
- package/dist/client/assets/CommandPaletteDialog-DdPKN6rv.js +0 -1
- package/dist/client/assets/CompositeRoot-DKwS-ADi.js +0 -1
- package/dist/client/assets/ComputerUseSettings-DM17BYP5.js +0 -1
- package/dist/client/assets/ConnectionsSettings-D6wysIC8.js +0 -7
- package/dist/client/assets/ContextHandoffEndpointLabel-CsF_maM_.js +0 -4
- package/dist/client/assets/DiagnosticsSettings-Bq2l-C4J.js +0 -2
- package/dist/client/assets/DialogHandle-DuKTleCw.js +0 -1
- package/dist/client/assets/DialogPopup-Dt7DzTWv.js +0 -1
- package/dist/client/assets/DialogRoot-DRyawL6l.js +0 -1
- package/dist/client/assets/DialogTitle-BaxfPC6e.js +0 -1
- package/dist/client/assets/DialogTrigger-D0PJ8bRT.js +0 -1
- package/dist/client/assets/DialogViewport-C3B2JZWQ.js +0 -1
- package/dist/client/assets/DraftChatThreadRouteView-B8YiD5NP.js +0 -1
- package/dist/client/assets/HostedConnectionControls-DOpTlXzE.js +0 -1
- package/dist/client/assets/HostedHubRoot-C1jq8cM6.js +0 -2
- package/dist/client/assets/HostedNativeAuthorizationRoute-Clw1DHQW.js +0 -2
- package/dist/client/assets/HostedNodeRenameDialog-Bd_Qu_ek.js +0 -1
- package/dist/client/assets/HostedRelayTrustNotice-CGcBpT9m.js +0 -1
- package/dist/client/assets/IntegrationsSettingsPanel-J0qODRW-.js +0 -2
- package/dist/client/assets/KeybindingsSettings-CwxIHsFy.js +0 -7
- package/dist/client/assets/LazyBrowserPanel-VNAn6AUL.js +0 -2
- package/dist/client/assets/McpServersSettings-1pkIeutq.js +0 -6
- package/dist/client/assets/MobileSheet-DddfN8c2.js +0 -1
- package/dist/client/assets/NodeSecuritySettings-BOIZeFZo.js +0 -1
- package/dist/client/assets/OpinionatedPluginsSettings-oTIrPtIb.js +0 -1
- package/dist/client/assets/PhoneGetAppInterstitial-0EOj-PbW.js +0 -1
- package/dist/client/assets/PhoneHome-Cg7l3b1T.js +0 -1
- package/dist/client/assets/PhoneSettingsSurface-BXAUtZ9M.js +0 -2
- package/dist/client/assets/ProvidersSettingsPanel-BaJgypXu.js +0 -1
- package/dist/client/assets/QuitShortcutFeedback-DgJFEd6b.js +0 -1
- package/dist/client/assets/RedactedSensitiveText-D1VC2xa7.js +0 -1
- package/dist/client/assets/RootAppShell-D2RjZ9jQ.js +0 -7
- package/dist/client/assets/Separator-CeMncdkm.js +0 -1
- package/dist/client/assets/SettingsDialog-B2hEb6u8.js +0 -2
- package/dist/client/assets/SettingsPanels-DtWLQDne.js +0 -3
- package/dist/client/assets/SettingsPanels.editor-DJRckD71.js +0 -1
- package/dist/client/assets/SourceControlSettings-IpoZrjt5.js +0 -1
- package/dist/client/assets/StatisticsPage-CUpE_5Gr.js +0 -1
- package/dist/client/assets/StatisticsPanel-CHrAY5AP.js +0 -1
- package/dist/client/assets/StatisticsSettingsLink-bGWuxNG3.js +0 -1
- package/dist/client/assets/ThreadTerminalDrawer-BEv83xrk.js +0 -18
- package/dist/client/assets/ThreadWorkspacePanel-BdMdJVHJ.js +0 -2073
- package/dist/client/assets/angular-html-Dht9YPGR.js +0 -1
- package/dist/client/assets/authorization-B1YXfej3.js +0 -1
- package/dist/client/assets/badge-BjvTY7-E.js +0 -1
- package/dist/client/assets/c-Baw6W2ff.js +0 -1
- package/dist/client/assets/capabilities-BCkDNe83.js +0 -1
- package/dist/client/assets/chevron-right-DgB53U1_.js +0 -1
- package/dist/client/assets/compiler-runtime-qmuS0Svy.js +0 -1
- package/dist/client/assets/cpp-C3nXdf7H.js +0 -1
- package/dist/client/assets/css-tyblAV2Z.js +0 -1
- package/dist/client/assets/desktopWorkspace-DVfn9ZT_.js +0 -1
- package/dist/client/assets/editorPreferences-2dG4uloq.js +0 -1
- package/dist/client/assets/glsl-CiPx7o44.js +0 -1
- package/dist/client/assets/graphql-dVCFBcPU.js +0 -1
- package/dist/client/assets/haml-Bvq_b7GQ.js +0 -1
- package/dist/client/assets/hostedConnectionCoordinator-YkDLnATK.js +0 -1
- package/dist/client/assets/hostedPairing-B_ylEEDa.js +0 -1
- package/dist/client/assets/html-CQCljoLJ.js +0 -1
- package/dist/client/assets/hubRoutes-D3quWvU7.js +0 -1
- package/dist/client/assets/input-CfVJycb1.js +0 -1
- package/dist/client/assets/java-DKLhoot1.js +0 -1
- package/dist/client/assets/javascript-BoDf_Xaa.js +0 -1
- package/dist/client/assets/json-D-CzDEr3.js +0 -1
- package/dist/client/assets/jsx-RPKfHBaT.js +0 -1
- package/dist/client/assets/kbd-uFa_tY-L.js +0 -1
- package/dist/client/assets/liquidGlass-Dbl4k51l.js +0 -1
- package/dist/client/assets/lua-BNklVDJF.js +0 -1
- package/dist/client/assets/main-BNPtp9Z0.css +0 -2
- package/dist/client/assets/main-CGeD6yVE.js +0 -9
- package/dist/client/assets/primary-CNUdEGcv.js +0 -2
- package/dist/client/assets/providerDriverMeta-Cg_XLUfo.js +0 -1
- package/dist/client/assets/providerInstances-JaDrOWPZ.js +0 -1
- package/dist/client/assets/providerModels-5uOq3qPC.js +0 -1
- package/dist/client/assets/qr-code-BU354aLS.js +0 -1
- package/dist/client/assets/r-B-BYV2IP.js +0 -1
- package/dist/client/assets/radio-group-DKaA1eey.js +0 -2
- package/dist/client/assets/react-SIfiwpqq.js +0 -1
- package/dist/client/assets/regexp-BG8FlKR9.js +0 -1
- package/dist/client/assets/runtime-BKneT96Q.js +0 -17
- package/dist/client/assets/scroll-area-Cq4SX9P8.js +0 -1
- package/dist/client/assets/scrollEdges-BaWRjrac.js +0 -1
- package/dist/client/assets/scss-CMpBj9xp.js +0 -1
- package/dist/client/assets/separator-BN705fC0.js +0 -1
- package/dist/client/assets/settingsLayout-DQERzSce.js +0 -1
- package/dist/client/assets/shellscript-C5MCrJaB.js +0 -1
- package/dist/client/assets/sidebar-Bsh64sLK.js +0 -1
- package/dist/client/assets/sidebarProjectFolders-CQbpO9ZI.js +0 -4
- package/dist/client/assets/sparkles-DAXDXp_s.js +0 -1
- package/dist/client/assets/sql-DcFiju6z.js +0 -1
- package/dist/client/assets/switch-LahPAvrd.js +0 -48
- package/dist/client/assets/tex-DOBpnpUK.js +0 -1
- package/dist/client/assets/toggle-45lsrmyi.js +0 -1
- package/dist/client/assets/toggle-group-D5pl24ED.js +0 -1
- package/dist/client/assets/tooltip-B8-izeMo.js +0 -1
- package/dist/client/assets/tsx-CltjRl2u.js +0 -1
- package/dist/client/assets/typescript-BwOcYJx4.js +0 -1
- package/dist/client/assets/useAppSidebarCollapsed-uwz9Hlgc.js +0 -1
- package/dist/client/assets/useAppearancePreference-BteoFdGa.js +0 -1
- package/dist/client/assets/useBaseUiId-BtuL7q77.js +0 -1
- package/dist/client/assets/useControlled-DQwgzrEC.js +0 -1
- package/dist/client/assets/useLabelableId-N_LsKNbf.js +0 -1
- package/dist/client/assets/useLongPress-DG1W7YqV.js +0 -1
- package/dist/client/assets/useNavigate-DADLi29i.js +0 -1
- package/dist/client/assets/usePhoneThreadActions-B9_HK7tn.js +0 -1
- package/dist/client/assets/usePopupViewport-w8BEny9j.js +0 -1
- package/dist/client/assets/usePresentationTier-B_SCFvN7.js +0 -1
- package/dist/client/assets/useScrollLock-bCmUzTgK.js +0 -1
- package/dist/client/assets/useStatistics-DJtONxT0.js +0 -55
- package/dist/client/assets/useTheme-CVNauCtz.js +0 -1
- package/dist/client/assets/useTriggerFocusGuards-C7JWO2LT.js +0 -1
- package/dist/client/assets/useValueChanged-DkoUO9bY.js +0 -1
- package/dist/client/assets/xml-DUCOjSp4.js +0 -1
- package/dist/client/assets/yaml-BONObsYN.js +0 -1
|
@@ -1,27 +1,29 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
const require_rolldown_runtime = require("./rolldown-runtime-LGfotAqq.cjs");
|
|
4
|
-
const require_src = require("./src-
|
|
5
|
-
const
|
|
6
|
-
const require_git = require("./git-
|
|
4
|
+
const require_src = require("./src-CBu69HDR.cjs");
|
|
5
|
+
const require_serverSettings = require("./serverSettings-_fgQZNIb.cjs");
|
|
6
|
+
const require_git = require("./git-VPCnunmz.cjs");
|
|
7
7
|
const require_bin = require("./bin.cjs");
|
|
8
8
|
const require_runtimeSession = require("./runtimeSession-Bj0OUcNJ.cjs");
|
|
9
9
|
const require_ProviderDriver = require("./ProviderDriver--rNeAi3B.cjs");
|
|
10
|
-
const require_SideQuestionIsolation = require("./SideQuestionIsolation-
|
|
10
|
+
const require_SideQuestionIsolation = require("./SideQuestionIsolation-pW7UQKVD.cjs");
|
|
11
11
|
const require_sourceControlContextFormatter = require("./sourceControlContextFormatter-BDZqn-4T.cjs");
|
|
12
12
|
const require_ProjectCustomSystemPrompt = require("./ProjectCustomSystemPrompt-B8SUlNGa.cjs");
|
|
13
|
-
const require_makeManagedServerProvider = require("./makeManagedServerProvider-
|
|
13
|
+
const require_makeManagedServerProvider = require("./makeManagedServerProvider-A3NSgBwN.cjs");
|
|
14
14
|
let effect = require("effect");
|
|
15
15
|
let effect_unstable_http = require("effect/unstable/http");
|
|
16
16
|
let node_path = require("node:path");
|
|
17
17
|
node_path = require_rolldown_runtime.__toESM(node_path, 1);
|
|
18
|
+
let node_os = require("node:os");
|
|
19
|
+
node_os = require_rolldown_runtime.__toESM(node_os, 1);
|
|
18
20
|
let node_child_process = require("node:child_process");
|
|
21
|
+
let effect_unstable_process = require("effect/unstable/process");
|
|
19
22
|
let node_fs_promises = require("node:fs/promises");
|
|
20
23
|
node_fs_promises = require_rolldown_runtime.__toESM(node_fs_promises, 1);
|
|
21
|
-
let effect_unstable_process = require("effect/unstable/process");
|
|
22
24
|
let _anthropic_ai_claude_agent_sdk = require("@anthropic-ai/claude-agent-sdk");
|
|
23
25
|
//#region src/provider/Layers/ClaudeProvider.ts
|
|
24
|
-
const DEFAULT_CLAUDE_MODEL_CAPABILITIES =
|
|
26
|
+
const DEFAULT_CLAUDE_MODEL_CAPABILITIES = require_serverSettings.createModelCapabilities({ optionDescriptors: [] });
|
|
25
27
|
const PROVIDER$1 = require_src.ProviderDriverKind.make("claudeAgent");
|
|
26
28
|
const CLAUDE_PRESENTATION = {
|
|
27
29
|
displayName: "Claude",
|
|
@@ -33,14 +35,14 @@ function getClaudeModelCapabilities(model) {
|
|
|
33
35
|
return capabilities.optionDescriptors?.length ? capabilities : DEFAULT_CLAUDE_MODEL_CAPABILITIES;
|
|
34
36
|
}
|
|
35
37
|
function resolveClaudeEffort(caps, raw) {
|
|
36
|
-
const effortDescriptor =
|
|
38
|
+
const effortDescriptor = require_serverSettings.getProviderOptionDescriptors({
|
|
37
39
|
caps,
|
|
38
40
|
...raw ? { selections: [{
|
|
39
41
|
id: "effort",
|
|
40
42
|
value: raw
|
|
41
43
|
}] } : {}
|
|
42
44
|
}).find((descriptor) => descriptor.id === "effort");
|
|
43
|
-
const value =
|
|
45
|
+
const value = require_serverSettings.getProviderOptionCurrentValue(effortDescriptor);
|
|
44
46
|
return typeof value === "string" ? value : void 0;
|
|
45
47
|
}
|
|
46
48
|
/**
|
|
@@ -385,12 +387,12 @@ const makeClaudeTextGeneration = effect.Effect.fn("makeClaudeTextGeneration")(fu
|
|
|
385
387
|
const runClaudeJson = effect.Effect.fn("runClaudeJson")(function* ({ operation, cwd, prompt, outputSchemaJson, modelSelection, toolsEnabled = true }) {
|
|
386
388
|
const jsonSchemaStr = JSON.stringify(require_bin.toJsonSchemaObject(outputSchemaJson));
|
|
387
389
|
const caps = getClaudeModelCapabilities(modelSelection.model);
|
|
388
|
-
const descriptors =
|
|
390
|
+
const descriptors = require_serverSettings.getProviderOptionDescriptors({
|
|
389
391
|
caps,
|
|
390
392
|
selections: modelSelection.options
|
|
391
393
|
});
|
|
392
394
|
const findDescriptor = (id) => descriptors.find((descriptor) => descriptor.id === id);
|
|
393
|
-
const resolvedEffort = resolveClaudeEffort(caps,
|
|
395
|
+
const resolvedEffort = resolveClaudeEffort(caps, require_serverSettings.getModelSelectionStringOptionValue(modelSelection, "effort"));
|
|
394
396
|
const cliEffort = normalizeClaudeCliEffort(resolvedEffort, modelSelection.model);
|
|
395
397
|
const ultracode = isClaudeUltracodeEffort(resolvedEffort);
|
|
396
398
|
const thinkingDescriptor = findDescriptor("thinking");
|
|
@@ -952,6 +954,7 @@ function taskLinkageFor(agents, taskId) {
|
|
|
952
954
|
const agent = agents.get(taskId);
|
|
953
955
|
if (!agent) return {};
|
|
954
956
|
return {
|
|
957
|
+
...agent.backgroundAttempt !== void 0 ? { attempt: agent.backgroundAttempt } : {},
|
|
955
958
|
...agent.taskType ? { taskType: agent.taskType } : {},
|
|
956
959
|
...agent.owningAgentId ? { agentId: agent.owningAgentId } : {},
|
|
957
960
|
...agent.description ? { title: agent.description } : {},
|
|
@@ -1164,11 +1167,11 @@ const CLAUDE_SETTING_SOURCES = [
|
|
|
1164
1167
|
"local"
|
|
1165
1168
|
];
|
|
1166
1169
|
function buildPromptText(input, boundInstanceId) {
|
|
1167
|
-
const rawEffort = input.modelSelection?.instanceId === boundInstanceId ?
|
|
1170
|
+
const rawEffort = input.modelSelection?.instanceId === boundInstanceId ? require_serverSettings.getModelSelectionStringOptionValue(input.modelSelection, "effort") : null;
|
|
1168
1171
|
const caps = getClaudeModelCapabilities(input.modelSelection?.instanceId === boundInstanceId ? input.modelSelection.model : void 0);
|
|
1169
|
-
const promptEffort =
|
|
1172
|
+
const promptEffort = require_serverSettings.resolvePromptInjectedEffort(caps, rawEffort);
|
|
1170
1173
|
const formatted = require_sourceControlContextFormatter.formatSourceControlContextsForAgent(input.sourceControlContexts ?? []);
|
|
1171
|
-
return
|
|
1174
|
+
return require_serverSettings.applyClaudePromptEffortPrefix(formatted ? formatted + "\n\n" + (input.input?.trim() ?? "") : input.input?.trim() ?? "", promptEffort);
|
|
1172
1175
|
}
|
|
1173
1176
|
function buildUserMessage(input) {
|
|
1174
1177
|
return {
|
|
@@ -1404,7 +1407,7 @@ const makeClaudeAdapter = effect.Effect.fn("makeClaudeAdapter")(function* (claud
|
|
|
1404
1407
|
const boundInstanceId = options?.instanceId ?? require_src.ProviderInstanceId.make("claudeAgent");
|
|
1405
1408
|
const fileSystem = yield* effect.FileSystem.FileSystem;
|
|
1406
1409
|
const path = yield* effect.Path.Path;
|
|
1407
|
-
const serverConfig = yield*
|
|
1410
|
+
const serverConfig = yield* require_serverSettings.ServerConfig;
|
|
1408
1411
|
const claudeEnvironment = yield* require_bin.makeClaudeEnvironment(claudeSettings, options?.environment).pipe(effect.Effect.provideService(effect.Path.Path, path));
|
|
1409
1412
|
const nativeEventLogger = options?.nativeEventLogger ?? (options?.nativeEventLogPath !== void 0 ? yield* require_bin.makeEventNdjsonLogger(options.nativeEventLogPath, { stream: "native" }) : void 0);
|
|
1410
1413
|
const createQuery = options?.createQuery ?? ((input) => (0, _anthropic_ai_claude_agent_sdk.query)({
|
|
@@ -1428,6 +1431,16 @@ const makeClaudeAdapter = effect.Effect.fn("makeClaudeAdapter")(function* (claud
|
|
|
1428
1431
|
});
|
|
1429
1432
|
const offerRuntimeEventForContext = (context, event) => {
|
|
1430
1433
|
if (context.session.runtimeSessionId === void 0) return effect.Effect.die(/* @__PURE__ */ new Error(`ClaudeAdapter emitted '${event.type}' without a runtime session for thread '${event.threadId}'.`));
|
|
1434
|
+
if (event.type === "task.started" || event.type === "task.progress" || event.type === "task.updated" || event.type === "task.completed") event = {
|
|
1435
|
+
...event,
|
|
1436
|
+
payload: {
|
|
1437
|
+
...event.payload,
|
|
1438
|
+
...!event.payload.taskType && context.taskAgents.get(event.payload.taskId)?.taskType ? { taskType: context.taskAgents.get(event.payload.taskId).taskType } : {},
|
|
1439
|
+
...context.taskAgents.get(event.payload.taskId)?.backgroundAttempt !== void 0 ? { attempt: context.taskAgents.get(event.payload.taskId).backgroundAttempt } : {},
|
|
1440
|
+
...context.backgroundedTaskIds.has(event.payload.taskId) ? { isBackgrounded: true } : {},
|
|
1441
|
+
canStop: context.query.stopTask !== void 0
|
|
1442
|
+
}
|
|
1443
|
+
};
|
|
1431
1444
|
const safeEvent = require_bin.redactAgentControlSecrets(event);
|
|
1432
1445
|
return effect.Queue.offer(runtimeEventQueue, require_runtimeSession.stampRuntimeEvent(safeEvent, {
|
|
1433
1446
|
providerInstanceId: boundInstanceId,
|
|
@@ -2401,7 +2414,43 @@ const makeClaudeAdapter = effect.Effect.fn("makeClaudeAdapter")(function* (claud
|
|
|
2401
2414
|
...description !== void 0 ? { description } : {}
|
|
2402
2415
|
});
|
|
2403
2416
|
}
|
|
2404
|
-
for (const [taskId] of liveSet)
|
|
2417
|
+
for (const [taskId, info] of liveSet) {
|
|
2418
|
+
const previous = context.taskAgents.get(taskId);
|
|
2419
|
+
const descriptionChanged = info.description !== void 0 && info.description !== previous?.description;
|
|
2420
|
+
const typeChanged = info.taskType !== void 0 && info.taskType !== previous?.taskType;
|
|
2421
|
+
context.taskAgents.set(taskId, {
|
|
2422
|
+
taskId,
|
|
2423
|
+
backgroundAttempt: require_bin.classifyTaskAgentKind({
|
|
2424
|
+
taskType: info.taskType ?? previous?.taskType,
|
|
2425
|
+
agentId: previous?.owningAgentId
|
|
2426
|
+
}) === "background" ? previous?.backgroundAttempt === void 0 ? 0 : previous.backgroundAttempt + (context.liveTaskIds.has(taskId) ? 0 : 1) : previous?.backgroundAttempt,
|
|
2427
|
+
toolUseId: previous?.toolUseId,
|
|
2428
|
+
description: info.description ?? previous?.description,
|
|
2429
|
+
subagentType: previous?.subagentType,
|
|
2430
|
+
taskType: info.taskType ?? previous?.taskType,
|
|
2431
|
+
workflowName: previous?.workflowName,
|
|
2432
|
+
skipTranscript: previous?.skipTranscript ?? false,
|
|
2433
|
+
runHandles: previous?.runHandles,
|
|
2434
|
+
owningAgentId: previous?.owningAgentId,
|
|
2435
|
+
model: previous?.model,
|
|
2436
|
+
effort: previous?.effort
|
|
2437
|
+
});
|
|
2438
|
+
const newlyBackgrounded = !context.backgroundedTaskIds.has(taskId);
|
|
2439
|
+
context.backgroundedTaskIds.add(taskId);
|
|
2440
|
+
if ((newlyBackgrounded || descriptionChanged || typeChanged) && context.liveTaskIds.has(taskId)) {
|
|
2441
|
+
const stamp = yield* makeEventStamp();
|
|
2442
|
+
yield* offerRuntimeEventForContext(context, {
|
|
2443
|
+
...base,
|
|
2444
|
+
...stamp,
|
|
2445
|
+
type: "task.updated",
|
|
2446
|
+
payload: {
|
|
2447
|
+
taskId: require_src.RuntimeTaskId.make(taskId),
|
|
2448
|
+
isBackgrounded: true,
|
|
2449
|
+
...taskLinkageFor(context.taskAgents, taskId)
|
|
2450
|
+
}
|
|
2451
|
+
});
|
|
2452
|
+
}
|
|
2453
|
+
}
|
|
2405
2454
|
for (const taskId of context.liveTaskIds) {
|
|
2406
2455
|
if (liveSet.has(taskId) || !context.backgroundedTaskIds.has(taskId)) continue;
|
|
2407
2456
|
context.liveTaskIds.delete(taskId);
|
|
@@ -2522,17 +2571,25 @@ const makeClaudeAdapter = effect.Effect.fn("makeClaudeAdapter")(function* (claud
|
|
|
2522
2571
|
const launchingTool = message.tool_use_id ? Array.from(context.inFlightTools.values()).find((tool) => tool.itemId === message.tool_use_id) : void 0;
|
|
2523
2572
|
const owningAgentId = launchingTool?.agentId;
|
|
2524
2573
|
const launchInput = launchingTool?.input ?? (message.tool_use_id ? context.subagentLaunchInputByToolUseId.get(message.tool_use_id) : void 0);
|
|
2574
|
+
const backgroundFlag = message.is_backgrounded;
|
|
2575
|
+
if (backgroundFlag === true || backgroundFlag === void 0 && launchInput?.run_in_background === true) context.backgroundedTaskIds.add(message.task_id);
|
|
2576
|
+
else if (backgroundFlag === false) context.backgroundedTaskIds.delete(message.task_id);
|
|
2525
2577
|
if (message.tool_use_id) context.subagentLaunchInputByToolUseId.delete(message.tool_use_id);
|
|
2526
2578
|
const model = (message.tool_use_id ? context.subagentModelByToolUseId.get(message.tool_use_id) : void 0) ?? claudeSubagentLaunchModel(launchInput);
|
|
2527
2579
|
if (message.tool_use_id) context.subagentModelByToolUseId.delete(message.tool_use_id);
|
|
2528
2580
|
const rawLaunchEffort = launchInput?.effort;
|
|
2529
2581
|
const effort = trimmedClaudeString(rawLaunchEffort) ?? (typeof rawLaunchEffort === "number" && Number.isFinite(rawLaunchEffort) ? String(rawLaunchEffort) : context.currentEffort);
|
|
2582
|
+
const previousTask = context.taskAgents.get(message.task_id);
|
|
2530
2583
|
context.taskAgents.set(message.task_id, {
|
|
2531
2584
|
taskId: message.task_id,
|
|
2585
|
+
...require_bin.classifyTaskAgentKind({
|
|
2586
|
+
taskType: message.task_type ?? previousTask?.taskType,
|
|
2587
|
+
agentId: owningAgentId
|
|
2588
|
+
}) === "background" ? { backgroundAttempt: previousTask?.backgroundAttempt === void 0 ? 0 : previousTask.backgroundAttempt + (context.liveTaskIds.has(message.task_id) ? 0 : 1) } : {},
|
|
2532
2589
|
toolUseId: message.tool_use_id,
|
|
2533
2590
|
description: message.description,
|
|
2534
2591
|
subagentType: message.subagent_type,
|
|
2535
|
-
taskType: message.task_type,
|
|
2592
|
+
taskType: message.task_type ?? previousTask?.taskType,
|
|
2536
2593
|
workflowName: message.workflow_name,
|
|
2537
2594
|
skipTranscript: message.skip_transcript === true,
|
|
2538
2595
|
runHandles: context.taskAgents.get(message.task_id)?.runHandles,
|
|
@@ -2546,6 +2603,7 @@ const makeClaudeAdapter = effect.Effect.fn("makeClaudeAdapter")(function* (claud
|
|
|
2546
2603
|
type: "task.started",
|
|
2547
2604
|
payload: {
|
|
2548
2605
|
taskId: require_src.RuntimeTaskId.make(message.task_id),
|
|
2606
|
+
...typeof backgroundFlag === "boolean" ? { isBackgrounded: backgroundFlag } : {},
|
|
2549
2607
|
description: message.description,
|
|
2550
2608
|
...message.task_type ? { taskType: message.task_type } : {},
|
|
2551
2609
|
...owningAgentId ? { agentId: owningAgentId } : {},
|
|
@@ -2949,6 +3007,10 @@ const makeClaudeAdapter = effect.Effect.fn("makeClaudeAdapter")(function* (claud
|
|
|
2949
3007
|
* runtime event and waiting for the user to respond via `respondToUserInput`.
|
|
2950
3008
|
*/
|
|
2951
3009
|
const handleAskUserQuestion = effect.Effect.fn("handleAskUserQuestion")(function* (context, toolInput, callbackOptions) {
|
|
3010
|
+
if (callbackOptions.signal.aborted || context.stopped) return {
|
|
3011
|
+
behavior: "deny",
|
|
3012
|
+
message: "User cancelled tool execution."
|
|
3013
|
+
};
|
|
2952
3014
|
const requestId = require_src.ApprovalRequestId.make(callbackOptions.requestId);
|
|
2953
3015
|
const questions = (Array.isArray(toolInput.questions) ? toolInput.questions : []).map((q, idx) => ({
|
|
2954
3016
|
id: typeof q.question === "string" && q.question.length > 0 ? q.question : `q-${idx}`,
|
|
@@ -2963,7 +3025,7 @@ const makeClaudeAdapter = effect.Effect.fn("makeClaudeAdapter")(function* (claud
|
|
|
2963
3025
|
const answersDeferred = yield* effect.Deferred.make();
|
|
2964
3026
|
let aborted = false;
|
|
2965
3027
|
const settleAsAborted = effect.Effect.suspend(() => {
|
|
2966
|
-
if (
|
|
3028
|
+
if (pendingUserInputs.get(requestId) !== pendingInput) return effect.Effect.void;
|
|
2967
3029
|
aborted = true;
|
|
2968
3030
|
pendingUserInputs.delete(requestId);
|
|
2969
3031
|
return effect.Deferred.succeed(answersDeferred, {}).pipe(effect.Effect.ignore);
|
|
@@ -2974,6 +3036,11 @@ const makeClaudeAdapter = effect.Effect.fn("makeClaudeAdapter")(function* (claud
|
|
|
2974
3036
|
cancel: settleAsAborted
|
|
2975
3037
|
};
|
|
2976
3038
|
const requestedStamp = yield* makeEventStamp();
|
|
3039
|
+
if (pendingUserInputs.has(requestId)) return {
|
|
3040
|
+
behavior: "deny",
|
|
3041
|
+
message: "A question with this request ID is already pending."
|
|
3042
|
+
};
|
|
3043
|
+
pendingUserInputs.set(requestId, pendingInput);
|
|
2977
3044
|
yield* offerRuntimeEventForContext(context, {
|
|
2978
3045
|
type: "user-input.requested",
|
|
2979
3046
|
eventId: requestedStamp.eventId,
|
|
@@ -2993,13 +3060,15 @@ const makeClaudeAdapter = effect.Effect.fn("makeClaudeAdapter")(function* (claud
|
|
|
2993
3060
|
}
|
|
2994
3061
|
}
|
|
2995
3062
|
});
|
|
2996
|
-
pendingUserInputs.set(requestId, pendingInput);
|
|
2997
3063
|
const onAbort = () => {
|
|
2998
3064
|
runFork(settleAsAborted);
|
|
2999
3065
|
};
|
|
3000
3066
|
callbackOptions.signal.addEventListener("abort", onAbort, { once: true });
|
|
3001
|
-
|
|
3002
|
-
|
|
3067
|
+
if (callbackOptions.signal.aborted || context.stopped) yield* settleAsAborted;
|
|
3068
|
+
const answers = yield* effect.Deferred.await(answersDeferred).pipe(effect.Effect.ensuring(effect.Effect.sync(() => {
|
|
3069
|
+
callbackOptions.signal.removeEventListener("abort", onAbort);
|
|
3070
|
+
if (pendingUserInputs.get(requestId) === pendingInput) pendingUserInputs.delete(requestId);
|
|
3071
|
+
})));
|
|
3003
3072
|
const resolvedStamp = yield* makeEventStamp();
|
|
3004
3073
|
yield* offerRuntimeEventForContext(context, {
|
|
3005
3074
|
type: "user-input.resolved",
|
|
@@ -3009,7 +3078,14 @@ const makeClaudeAdapter = effect.Effect.fn("makeClaudeAdapter")(function* (claud
|
|
|
3009
3078
|
threadId: context.session.threadId,
|
|
3010
3079
|
...context.turnState ? { turnId: asCanonicalTurnId(context.turnState.turnId) } : {},
|
|
3011
3080
|
requestId: asRuntimeRequestId(requestId),
|
|
3012
|
-
payload: {
|
|
3081
|
+
payload: {
|
|
3082
|
+
answers,
|
|
3083
|
+
cancelled: aborted,
|
|
3084
|
+
userInputIdentity: {
|
|
3085
|
+
requestEventId: requestedStamp.eventId,
|
|
3086
|
+
...context.session.runtimeSessionId ? { runtimeSessionId: context.session.runtimeSessionId } : {}
|
|
3087
|
+
}
|
|
3088
|
+
},
|
|
3013
3089
|
providerRefs: nativeProviderRefs(context, { providerItemId: callbackOptions.toolUseID }),
|
|
3014
3090
|
raw: {
|
|
3015
3091
|
source: "claude.sdk.permission",
|
|
@@ -3139,13 +3215,13 @@ const makeClaudeAdapter = effect.Effect.fn("makeClaudeAdapter")(function* (claud
|
|
|
3139
3215
|
const extraArgs = parseCliArgs(claudeSettings.launchArgs).flags;
|
|
3140
3216
|
const modelSelection = input.modelSelection?.instanceId === boundInstanceId ? input.modelSelection : void 0;
|
|
3141
3217
|
const caps = getClaudeModelCapabilities(modelSelection?.model);
|
|
3142
|
-
const descriptors =
|
|
3218
|
+
const descriptors = require_serverSettings.getProviderOptionDescriptors({ caps });
|
|
3143
3219
|
const apiModelId = modelSelection ? resolveClaudeApiModelId(modelSelection) : void 0;
|
|
3144
|
-
const effort = resolveClaudeEffort(caps,
|
|
3220
|
+
const effort = resolveClaudeEffort(caps, require_serverSettings.getModelSelectionStringOptionValue(modelSelection, "effort")) ?? null;
|
|
3145
3221
|
const fastModeSupported = descriptors.some((descriptor) => descriptor.type === "boolean" && descriptor.id === "fastMode");
|
|
3146
3222
|
const thinkingSupported = descriptors.some((descriptor) => descriptor.type === "boolean" && descriptor.id === "thinking");
|
|
3147
|
-
const fastMode =
|
|
3148
|
-
const thinking = thinkingSupported ?
|
|
3223
|
+
const fastMode = require_serverSettings.getModelSelectionBooleanOptionValue(modelSelection, "fastMode") === true && fastModeSupported;
|
|
3224
|
+
const thinking = thinkingSupported ? require_serverSettings.getModelSelectionBooleanOptionValue(modelSelection, "thinking") : void 0;
|
|
3149
3225
|
const ultracode = isClaudeUltracodeEffort(effort);
|
|
3150
3226
|
const effectiveEffort = getEffectiveClaudeAgentEffort(effort, modelSelection?.model);
|
|
3151
3227
|
const permissionMode = {
|
|
@@ -3158,7 +3234,7 @@ const makeClaudeAdapter = effect.Effect.fn("makeClaudeAdapter")(function* (claud
|
|
|
3158
3234
|
...fastMode ? { fastMode: true } : {},
|
|
3159
3235
|
...ultracode ? { ultracode: true } : {}
|
|
3160
3236
|
};
|
|
3161
|
-
const tokenMode = input.tokenMode ?? "
|
|
3237
|
+
const tokenMode = input.tokenMode ?? "off";
|
|
3162
3238
|
const appendSystemPrompt = [yield* readTokenReductionInstructions(tokenMode), require_ProjectCustomSystemPrompt.formatProjectCustomSystemPrompt(input.customSystemPrompt)].map((part) => part?.trim()).filter((part) => part !== void 0 && part.length > 0).join("\n\n");
|
|
3163
3239
|
let agentControl = effect.Option.getOrUndefined(yield* require_bin.installAgentControlNativeHttp(options?.agentControl, {
|
|
3164
3240
|
threadId,
|
|
@@ -3381,7 +3457,7 @@ const makeClaudeAdapter = effect.Effect.fn("makeClaudeAdapter")(function* (claud
|
|
|
3381
3457
|
...context.session,
|
|
3382
3458
|
model: modelSelection.model
|
|
3383
3459
|
};
|
|
3384
|
-
context.currentEffort = getEffectiveClaudeAgentEffort(resolveClaudeEffort(getClaudeModelCapabilities(modelSelection.model),
|
|
3460
|
+
context.currentEffort = getEffectiveClaudeAgentEffort(resolveClaudeEffort(getClaudeModelCapabilities(modelSelection.model), require_serverSettings.getModelSelectionStringOptionValue(modelSelection, "effort")) ?? null, modelSelection.model) ?? void 0;
|
|
3385
3461
|
}
|
|
3386
3462
|
if (input.interactionMode === "plan" || input.interactionMode === "ask") yield* effect.Effect.tryPromise({
|
|
3387
3463
|
try: () => context.query.setPermissionMode("plan"),
|
|
@@ -3481,8 +3557,15 @@ const makeClaudeAdapter = effect.Effect.fn("makeClaudeAdapter")(function* (claud
|
|
|
3481
3557
|
catch: (cause) => toRequestError(threadId, "turn/interrupt", cause)
|
|
3482
3558
|
});
|
|
3483
3559
|
});
|
|
3484
|
-
const stopBackgroundTask = effect.Effect.fn("stopBackgroundTask")(function* (threadId, taskId) {
|
|
3560
|
+
const stopBackgroundTask = effect.Effect.fn("stopBackgroundTask")(function* (threadId, taskId, expected) {
|
|
3485
3561
|
const context = yield* requireSession(threadId);
|
|
3562
|
+
const staleIdentity = () => expected !== void 0 && (sessions.get(threadId) !== context || context.stopped || expected.runtimeSessionId !== context.session.runtimeSessionId || expected.attempt !== (context.taskAgents.get(taskId)?.backgroundAttempt ?? 0));
|
|
3563
|
+
const staleError = () => new require_bin.ProviderAdapterValidationError({
|
|
3564
|
+
provider: PROVIDER,
|
|
3565
|
+
operation: "task/stop",
|
|
3566
|
+
issue: "The displayed background task activation is no longer current."
|
|
3567
|
+
});
|
|
3568
|
+
if (staleIdentity()) return yield* staleError();
|
|
3486
3569
|
if (!context.query.stopTask) return yield* new require_bin.ProviderAdapterRequestError({
|
|
3487
3570
|
provider: PROVIDER,
|
|
3488
3571
|
method: "task/stop",
|
|
@@ -3490,7 +3573,11 @@ const makeClaudeAdapter = effect.Effect.fn("makeClaudeAdapter")(function* (claud
|
|
|
3490
3573
|
});
|
|
3491
3574
|
if (!context.liveTaskIds.has(taskId)) return;
|
|
3492
3575
|
const outcome = yield* effect.Effect.tryPromise({
|
|
3493
|
-
try: () =>
|
|
3576
|
+
try: () => {
|
|
3577
|
+
if (staleIdentity()) throw staleError();
|
|
3578
|
+
if (!context.liveTaskIds.has(taskId)) return Promise.resolve();
|
|
3579
|
+
return context.query.stopTask(taskId);
|
|
3580
|
+
},
|
|
3494
3581
|
catch: (cause) => toRequestError(threadId, "task/stop", cause)
|
|
3495
3582
|
}).pipe(effect.Effect.timeoutOption("5 seconds"));
|
|
3496
3583
|
if (effect.Option.isNone(outcome)) return yield* new require_bin.ProviderAdapterRequestError({
|
|
@@ -3625,10 +3712,19 @@ async function writeCredentialsFile(credentialsPath, credentials) {
|
|
|
3625
3712
|
await node_fs_promises.writeFile(credentialsPath, JSON.stringify(credentials, null, 2), "utf8");
|
|
3626
3713
|
} catch {}
|
|
3627
3714
|
}
|
|
3628
|
-
async function readClaudeCredentials(credentialsPath) {
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
|
|
3715
|
+
async function readClaudeCredentials(credentialsPath, useKeychain) {
|
|
3716
|
+
if (useKeychain) {
|
|
3717
|
+
const credentials = await keychainRead();
|
|
3718
|
+
if (credentials?.claudeAiOauth?.accessToken) return {
|
|
3719
|
+
credentials,
|
|
3720
|
+
fromKeychain: true
|
|
3721
|
+
};
|
|
3722
|
+
}
|
|
3723
|
+
const credentials = await readCredentialsFile(credentialsPath);
|
|
3724
|
+
return credentials ? {
|
|
3725
|
+
credentials,
|
|
3726
|
+
fromKeychain: false
|
|
3727
|
+
} : null;
|
|
3632
3728
|
}
|
|
3633
3729
|
function parseExpiresAtMs(value) {
|
|
3634
3730
|
if (typeof value === "number" && Number.isFinite(value)) return value < 0xe8d4a51000 ? value * 1e3 : value;
|
|
@@ -3668,7 +3764,8 @@ async function refreshAndPersistToken(input) {
|
|
|
3668
3764
|
...typeof data.expires_in === "number" && Number.isFinite(data.expires_in) ? { expiresAt: Date.now() + data.expires_in * 1e3 } : {}
|
|
3669
3765
|
}
|
|
3670
3766
|
};
|
|
3671
|
-
|
|
3767
|
+
if (input.fromKeychain) await keychainWrite(updated);
|
|
3768
|
+
else await writeCredentialsFile(input.credentialsPath, updated);
|
|
3672
3769
|
return data.access_token;
|
|
3673
3770
|
} catch {
|
|
3674
3771
|
return null;
|
|
@@ -3721,20 +3818,25 @@ function parseClaudeUsageRateLimits(data, plan) {
|
|
|
3721
3818
|
};
|
|
3722
3819
|
}
|
|
3723
3820
|
async function fetchClaudeUsageRateLimits(input) {
|
|
3724
|
-
const
|
|
3725
|
-
if (!
|
|
3726
|
-
|
|
3727
|
-
const
|
|
3728
|
-
|
|
3821
|
+
const selected = await readClaudeCredentials(input.credentialsPath, input.useKeychain);
|
|
3822
|
+
if (!selected) return void 0;
|
|
3823
|
+
const { credentials, fromKeychain } = selected;
|
|
3824
|
+
const oauth = credentials.claudeAiOauth;
|
|
3825
|
+
if (!oauth?.accessToken) return void 0;
|
|
3826
|
+
let accessToken = oauth.accessToken;
|
|
3827
|
+
const plan = oauth.subscriptionType ?? oauth.rateLimitTier ?? null;
|
|
3828
|
+
const expiresAt = parseExpiresAtMs(oauth.expiresAt);
|
|
3729
3829
|
if (expiresAt !== void 0 && Date.now() > expiresAt - TOKEN_REFRESH_SKEW_MS) accessToken = await refreshAndPersistToken({
|
|
3730
3830
|
credentials,
|
|
3731
|
-
credentialsPath: input.credentialsPath
|
|
3831
|
+
credentialsPath: input.credentialsPath,
|
|
3832
|
+
fromKeychain
|
|
3732
3833
|
}) ?? accessToken;
|
|
3733
3834
|
let response = await callUsageApi(accessToken, input.version);
|
|
3734
|
-
if (response.status === 429 &&
|
|
3835
|
+
if (response.status === 429 && oauth.refreshToken) {
|
|
3735
3836
|
const refreshedAccessToken = await refreshAndPersistToken({
|
|
3736
3837
|
credentials,
|
|
3737
|
-
credentialsPath: input.credentialsPath
|
|
3838
|
+
credentialsPath: input.credentialsPath,
|
|
3839
|
+
fromKeychain
|
|
3738
3840
|
});
|
|
3739
3841
|
if (refreshedAccessToken) {
|
|
3740
3842
|
accessToken = refreshedAccessToken;
|
|
@@ -3750,6 +3852,7 @@ const probeClaudeUsageRateLimits = effect.Effect.fn("probeClaudeUsageRateLimits"
|
|
|
3750
3852
|
return yield* effect.Effect.tryPromise({
|
|
3751
3853
|
try: () => fetchClaudeUsageRateLimits({
|
|
3752
3854
|
credentialsPath,
|
|
3855
|
+
useKeychain: claudeHome === node_path.resolve(node_os.homedir()),
|
|
3753
3856
|
...version !== void 0 ? { version } : {}
|
|
3754
3857
|
}),
|
|
3755
3858
|
catch: () => void 0
|
|
@@ -3809,7 +3912,7 @@ const ClaudeDriver = {
|
|
|
3809
3912
|
const spawner = yield* effect_unstable_process.ChildProcessSpawner.ChildProcessSpawner;
|
|
3810
3913
|
const path = yield* effect.Path.Path;
|
|
3811
3914
|
const httpClient = yield* effect_unstable_http.HttpClient.HttpClient;
|
|
3812
|
-
const serverSettings = yield*
|
|
3915
|
+
const serverSettings = yield* require_serverSettings.ServerSettingsService;
|
|
3813
3916
|
const eventLoggers = yield* require_bin.ProviderEventLoggers;
|
|
3814
3917
|
const modelManifest = yield* effect.Effect.serviceOption(require_bin.ModelManifest);
|
|
3815
3918
|
const agentControl = yield* effect.Effect.serviceOption(require_bin.AgentControlSessionRegistry);
|
|
@@ -3860,7 +3963,7 @@ const ClaudeDriver = {
|
|
|
3860
3963
|
haveSettingsChanged: () => false,
|
|
3861
3964
|
initialSnapshot: (settings) => stampIdentity(makePendingClaudeProvider(settings)),
|
|
3862
3965
|
checkProvider,
|
|
3863
|
-
enrichSnapshot: ({ snapshot, publishSnapshot }) => require_bin.enrichProviderSnapshotWithVersionAdvisory(snapshot, maintenanceCapabilities).pipe(effect.Effect.provideService(effect_unstable_http.HttpClient.HttpClient, httpClient), effect.Effect.provideService(
|
|
3966
|
+
enrichSnapshot: ({ snapshot, publishSnapshot }) => require_bin.enrichProviderSnapshotWithVersionAdvisory(snapshot, maintenanceCapabilities).pipe(effect.Effect.provideService(effect_unstable_http.HttpClient.HttpClient, httpClient), effect.Effect.provideService(require_serverSettings.ServerSettingsService, serverSettings), effect.Effect.flatMap((enrichedSnapshot) => publishSnapshot(enrichedSnapshot))),
|
|
3864
3967
|
refreshInterval: null
|
|
3865
3968
|
}).pipe(effect.Effect.mapError((cause) => new require_bin.ProviderDriverError({
|
|
3866
3969
|
driver: DRIVER_KIND,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
const require_rolldown_runtime = require("./rolldown-runtime-LGfotAqq.cjs");
|
|
4
|
-
const require_src = require("./src-
|
|
5
|
-
const
|
|
4
|
+
const require_src = require("./src-CBu69HDR.cjs");
|
|
5
|
+
const require_serverSettings = require("./serverSettings-_fgQZNIb.cjs");
|
|
6
6
|
const require_bin = require("./bin.cjs");
|
|
7
7
|
const require_runtimeSession = require("./runtimeSession-Bj0OUcNJ.cjs");
|
|
8
8
|
const require_sourceControlContextFormatter = require("./sourceControlContextFormatter-BDZqn-4T.cjs");
|
|
9
9
|
const require_ProjectCustomSystemPrompt = require("./ProjectCustomSystemPrompt-B8SUlNGa.cjs");
|
|
10
|
-
const require_makeManagedServerProvider = require("./makeManagedServerProvider-
|
|
11
|
-
const require_CodexTextGeneration = require("./CodexTextGeneration-
|
|
10
|
+
const require_makeManagedServerProvider = require("./makeManagedServerProvider-A3NSgBwN.cjs");
|
|
11
|
+
const require_CodexTextGeneration = require("./CodexTextGeneration-B1kQOBKx.cjs");
|
|
12
12
|
let effect = require("effect");
|
|
13
13
|
let effect_unstable_http = require("effect/unstable/http");
|
|
14
14
|
let effect_unstable_process = require("effect/unstable/process");
|
|
@@ -225,7 +225,7 @@ function makeCodexServerNotification(method, params) {
|
|
|
225
225
|
};
|
|
226
226
|
}
|
|
227
227
|
function normalizeCodexModelSlug(model, preferredId) {
|
|
228
|
-
const normalized =
|
|
228
|
+
const normalized = require_serverSettings.normalizeModelSlug(model);
|
|
229
229
|
if (!normalized) return;
|
|
230
230
|
if (preferredId?.endsWith("-codex") && preferredId !== normalized) return preferredId;
|
|
231
231
|
return normalized;
|
|
@@ -573,7 +573,7 @@ const readStoredCodexThread = (input) => effect.Effect.scoped(effect.Effect.gen(
|
|
|
573
573
|
cwd: input.cwd,
|
|
574
574
|
env: {
|
|
575
575
|
...input.environment ?? process.env,
|
|
576
|
-
...input.homePath ? { CODEX_HOME:
|
|
576
|
+
...input.homePath ? { CODEX_HOME: require_serverSettings.expandHomePath(input.homePath) } : {}
|
|
577
577
|
},
|
|
578
578
|
requestTimeoutMs: 2e4
|
|
579
579
|
}));
|
|
@@ -606,7 +606,7 @@ const makeCodexSessionRuntime = (options) => effect.Effect.gen(function* () {
|
|
|
606
606
|
const unsettledChildren = /* @__PURE__ */ new Set();
|
|
607
607
|
const reconciledChildStatuses = /* @__PURE__ */ new Map();
|
|
608
608
|
const closedRef = yield* effect.Ref.make(false);
|
|
609
|
-
const resolvedHomePath = options.homePath ?
|
|
609
|
+
const resolvedHomePath = options.homePath ? require_serverSettings.expandHomePath(options.homePath) : void 0;
|
|
610
610
|
const env = {
|
|
611
611
|
...options.environment ?? process.env,
|
|
612
612
|
...resolvedHomePath ? { CODEX_HOME: resolvedHomePath } : {}
|
|
@@ -2425,7 +2425,7 @@ const makeCodexAdapter = effect.Effect.fn("makeCodexAdapter")(function* (codexCo
|
|
|
2425
2425
|
const adapterScope = yield* effect.Scope.Scope;
|
|
2426
2426
|
const fileSystem = yield* effect.FileSystem.FileSystem;
|
|
2427
2427
|
const childProcessSpawner = yield* effect_unstable_process.ChildProcessSpawner.ChildProcessSpawner;
|
|
2428
|
-
const serverConfig = yield* effect.Effect.service(
|
|
2428
|
+
const serverConfig = yield* effect.Effect.service(require_serverSettings.ServerConfig);
|
|
2429
2429
|
const nativeEventLogger = options?.nativeEventLogger ?? (options?.nativeEventLogPath !== void 0 ? yield* require_bin.makeEventNdjsonLogger(options.nativeEventLogPath, { stream: "native" }) : void 0);
|
|
2430
2430
|
const managedNativeEventLogger = options?.nativeEventLogger === void 0 ? nativeEventLogger : void 0;
|
|
2431
2431
|
const runtimeEventQueue = yield* effect.Queue.bounded(2048);
|
|
@@ -2461,7 +2461,7 @@ const makeCodexAdapter = effect.Effect.fn("makeCodexAdapter")(function* (codexCo
|
|
|
2461
2461
|
issue: `Thread '${input.threadId}' still has runtime '${existing.runtimeSessionId}'; stop it before starting '${runtimeSessionId}'.`
|
|
2462
2462
|
});
|
|
2463
2463
|
}
|
|
2464
|
-
const tokenMode = input.tokenMode ?? "
|
|
2464
|
+
const tokenMode = input.tokenMode ?? "off";
|
|
2465
2465
|
const tokenReductionInstructions = yield* readTokenReductionInstructions(tokenMode);
|
|
2466
2466
|
const agentControlLease = yield* require_bin.installAgentControlNativeHttp(options?.agentControl, {
|
|
2467
2467
|
threadId: input.threadId,
|
|
@@ -2489,7 +2489,7 @@ const makeCodexAdapter = effect.Effect.fn("makeCodexAdapter")(function* (codexCo
|
|
|
2489
2489
|
runtimeMode: input.runtimeMode,
|
|
2490
2490
|
tokenMode,
|
|
2491
2491
|
...input.modelSelection?.instanceId === boundInstanceId ? { model: input.modelSelection.model } : {},
|
|
2492
|
-
...input.modelSelection?.instanceId === boundInstanceId &&
|
|
2492
|
+
...input.modelSelection?.instanceId === boundInstanceId && require_serverSettings.getModelSelectionBooleanOptionValue(input.modelSelection, "fastMode") === true ? { serviceTier: "fast" } : {}
|
|
2493
2493
|
};
|
|
2494
2494
|
const agentControl = effect.Option.getOrUndefined(agentControlLease);
|
|
2495
2495
|
const sessionScope = yield* effect.Scope.make("sequential");
|
|
@@ -2681,8 +2681,8 @@ const makeCodexAdapter = effect.Effect.fn("makeCodexAdapter")(function* (codexCo
|
|
|
2681
2681
|
const { native, pathLines } = yield* preflightAttachments(input, "turn/start");
|
|
2682
2682
|
const codexAttachments = yield* effect.Effect.forEach(native, (attachment) => toCodexAttachment(attachment, "turn/start"), { concurrency: 1 });
|
|
2683
2683
|
const session = yield* requireSession(input.threadId);
|
|
2684
|
-
const reasoningEffort = input.modelSelection?.instanceId === boundInstanceId ?
|
|
2685
|
-
const fastMode = input.modelSelection?.instanceId === boundInstanceId ?
|
|
2684
|
+
const reasoningEffort = input.modelSelection?.instanceId === boundInstanceId ? require_serverSettings.getModelSelectionStringOptionValue(input.modelSelection, "reasoningEffort") : void 0;
|
|
2685
|
+
const fastMode = input.modelSelection?.instanceId === boundInstanceId ? require_serverSettings.getModelSelectionBooleanOptionValue(input.modelSelection, "fastMode") : void 0;
|
|
2686
2686
|
const formatted = require_sourceControlContextFormatter.formatSourceControlContextsForAgent(input.sourceControlContexts ?? []);
|
|
2687
2687
|
const codexInput = require_runtimeSession.appendAttachmentPathLines(formatted ? formatted + "\n\n" + (input.input ?? "") : input.input, pathLines);
|
|
2688
2688
|
const result = yield* session.runtime.sendTurn({
|
|
@@ -2956,7 +2956,7 @@ const CodexDriver = {
|
|
|
2956
2956
|
create: ({ instanceId, displayName, accentColor, environment, enabled, config }) => effect.Effect.gen(function* () {
|
|
2957
2957
|
const spawner = yield* effect_unstable_process.ChildProcessSpawner.ChildProcessSpawner;
|
|
2958
2958
|
const httpClient = yield* effect_unstable_http.HttpClient.HttpClient;
|
|
2959
|
-
const serverSettings = yield*
|
|
2959
|
+
const serverSettings = yield* require_serverSettings.ServerSettingsService;
|
|
2960
2960
|
const eventLoggers = yield* require_bin.ProviderEventLoggers;
|
|
2961
2961
|
const processEnv = require_bin.mergeProviderInstanceEnvironment(environment);
|
|
2962
2962
|
const homeLayout = yield* require_bin.resolveCodexHomeLayout(config);
|
|
@@ -2999,7 +2999,7 @@ const CodexDriver = {
|
|
|
2999
2999
|
haveSettingsChanged: () => false,
|
|
3000
3000
|
initialSnapshot: (settings) => stampIdentity(require_bin.makePendingCodexProvider(settings)),
|
|
3001
3001
|
checkProvider,
|
|
3002
|
-
enrichSnapshot: ({ snapshot, publishSnapshot }) => require_bin.enrichProviderSnapshotWithVersionAdvisory(snapshot, maintenanceCapabilities).pipe(effect.Effect.provideService(effect_unstable_http.HttpClient.HttpClient, httpClient), effect.Effect.provideService(
|
|
3002
|
+
enrichSnapshot: ({ snapshot, publishSnapshot }) => require_bin.enrichProviderSnapshotWithVersionAdvisory(snapshot, maintenanceCapabilities).pipe(effect.Effect.provideService(effect_unstable_http.HttpClient.HttpClient, httpClient), effect.Effect.provideService(require_serverSettings.ServerSettingsService, serverSettings), effect.Effect.flatMap((enrichedSnapshot) => publishSnapshot(enrichedSnapshot))),
|
|
3003
3003
|
refreshInterval: null
|
|
3004
3004
|
}).pipe(effect.Effect.mapError((cause) => new require_bin.ProviderDriverError({
|
|
3005
3005
|
driver: DRIVER_KIND,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { $t as
|
|
3
|
+
import { $r as isToolLifecycleItemType, As as ApprovalRequestId, Bs as MessageId, Fr as CodexSettings, Gs as RuntimeItemId, Js as RuntimeSubagentId, Ks as RuntimeRequestId, Mo as ProviderInstanceId, Qs as TurnId, Rs as EventId, Ws as ProviderItemId, Ys as RuntimeTaskId, ba as ProviderApprovalDecision, jo as ProviderDriverKind, so as ThreadGoal, ua as PROVIDER_SEND_TURN_MAX_IMAGE_BYTES } from "./src-D8uCtoDZ.mjs";
|
|
4
|
+
import { Ft as getModelSelectionStringOptionValue, Pt as getModelSelectionBooleanOptionValue, Vt as normalizeModelSlug, l as expandHomePath, n as ServerSettingsService, ut as ServerConfig } from "./serverSettings-C7N2cm7C.mjs";
|
|
5
|
+
import { $t as CodexAppServerSpawnError, An as V2ThreadRealtimeClosedNotification, B as checkRtkAvailability, Bn as V2TurnPlanUpdatedNotification, Bt as ProviderAdapterSessionClosedError, Cn as V2PlanDeltaNotification, Dn as V2ThreadGoalClearedNotification, En as V2ServerRequestResolvedNotification, Fn as V2ThreadStartedNotification, Ft as installAgentControlNativeHttp, Gn as V2TurnSteerResponse, Gt as materializeCodexShadowHome, Hn as V2TurnStartParams__CollaborationMode, Ht as ProviderAdapterValidationError, In as V2ThreadStatusChangedNotification, Jt as layerChildProcess, Kn as V2WindowsSandboxSetupCompletedNotification, Kt as resolveCodexHomeLayout, Ln as V2ThreadTokenUsageUpdatedNotification, Lt as createProcessDeviceToolBinding, Mn as V2ThreadRealtimeItemAddedNotification, Nn as V2ThreadRealtimeOutputAudioDeltaNotification, O as ProviderEventLoggers, On as V2ThreadGoalUpdatedNotification, Pn as V2ThreadRealtimeStartedNotification, Qt as CodexAppServerRequestError, Rn as V2TurnCompletedNotification, Rt as ProviderAdapterProcessError, Sn as V2ModelReroutedNotification, Sr as resolveAttachmentPath, Tn as V2ReasoningTextDeltaNotification, Un as V2TurnStartResponse, Ut as ProviderDriverError, Vn as V2TurnStartParams, Vt as ProviderAdapterSessionNotFoundError, Wn as V2TurnSteerParams, Wt as codexContinuationIdentity, Xt as CodexAppServerProcessExitedError, Yt as layerCommand, Zt as CodexAppServerProtocolParseError, _n as V2FileChangeOutputDeltaNotification, _t as buildCodexInitializeParams, an as ServerRequest__ExecCommandApprovalParams, bn as V2McpServerOauthLoginCompletedNotification, cn as ToolRequestUserInputParams, dn as V2AccountUpdatedNotification, en as CodexAppServerTransportError, fn as V2AgentMessageDeltaNotification, fr as enrichProviderSnapshotWithVersionAdvisory, gn as V2ErrorNotification, gt as mergeProviderInstanceEnvironment, hn as V2DeprecationNoticeNotification, in as ServerRequest__DynamicToolCallParams, jn as V2ThreadRealtimeErrorNotification, k as makeEventNdjsonLogger, kn as V2ThreadNameUpdatedNotification, ln as ToolRequestUserInputResponse, mn as V2ConfigWarningNotification, mr as makePackageManagedProviderMaintenanceResolver, n as AgentControlSessionRegistry, nn as ServerRequest__ApplyPatchApprovalParams, on as ServerRequest__FileChangeRequestApprovalParams, pn as V2CommandExecutionOutputDeltaNotification, qn as V2WindowsWorldWritableWarningNotification, qt as CodexAppServerClient, rn as ServerRequest__CommandExecutionRequestApprovalParams, sn as ServerRequest__ToolRequestUserInputParams, t as makeServerQueueMetrics, tn as SERVER_NOTIFICATION_METHODS, un as V2AccountRateLimitsUpdatedNotification, vn as V2ItemCompletedNotification, vr as resolveProviderMaintenanceCapabilitiesEffect, vt as checkCodexProviderStatus, wn as V2ReasoningSummaryTextDeltaNotification, xn as V2McpToolCallProgressNotification, yn as V2ItemStartedNotification, yt as makePendingCodexProvider, z as buildTokenReductionInstructions, zn as V2TurnDiffUpdatedNotification, zt as ProviderAdapterRequestError } from "./bin.mjs";
|
|
6
6
|
import { i as formatAttachmentPathLines, n as stampRuntimeEvent, r as appendAttachmentPathLines, t as requireRuntimeSessionId } from "./runtimeSession-CA6cLWg0.mjs";
|
|
7
7
|
import { t as formatSourceControlContextsForAgent } from "./sourceControlContextFormatter-DEwpnVAH.mjs";
|
|
8
8
|
import { t as appendProjectCustomSystemPrompt } from "./ProjectCustomSystemPrompt-CS1nulhL.mjs";
|
|
9
|
-
import { t as makeManagedServerProvider } from "./makeManagedServerProvider
|
|
10
|
-
import { t as makeCodexTextGeneration } from "./CodexTextGeneration-
|
|
9
|
+
import { t as makeManagedServerProvider } from "./makeManagedServerProvider--SPw3bxe.mjs";
|
|
10
|
+
import { t as makeCodexTextGeneration } from "./CodexTextGeneration-zuVszBVZ.mjs";
|
|
11
11
|
import { Cause, Deferred, Effect, Exit, Fiber, FileSystem, Layer, Option, Queue, Redacted, Ref, Schedule, Schema, Scope, Stream } from "effect";
|
|
12
12
|
import { HttpClient } from "effect/unstable/http";
|
|
13
13
|
import { ChildProcess, ChildProcessSpawner } from "effect/unstable/process";
|
|
@@ -2459,7 +2459,7 @@ const makeCodexAdapter = Effect.fn("makeCodexAdapter")(function* (codexConfig, o
|
|
|
2459
2459
|
issue: `Thread '${input.threadId}' still has runtime '${existing.runtimeSessionId}'; stop it before starting '${runtimeSessionId}'.`
|
|
2460
2460
|
});
|
|
2461
2461
|
}
|
|
2462
|
-
const tokenMode = input.tokenMode ?? "
|
|
2462
|
+
const tokenMode = input.tokenMode ?? "off";
|
|
2463
2463
|
const tokenReductionInstructions = yield* readTokenReductionInstructions(tokenMode);
|
|
2464
2464
|
const agentControlLease = yield* installAgentControlNativeHttp(options?.agentControl, {
|
|
2465
2465
|
threadId: input.threadId,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const require_src = require("./src-
|
|
4
|
-
const
|
|
5
|
-
const require_git = require("./git-
|
|
3
|
+
const require_src = require("./src-CBu69HDR.cjs");
|
|
4
|
+
const require_serverSettings = require("./serverSettings-_fgQZNIb.cjs");
|
|
5
|
+
const require_git = require("./git-VPCnunmz.cjs");
|
|
6
6
|
const require_bin = require("./bin.cjs");
|
|
7
|
-
const require_SideQuestionIsolation = require("./SideQuestionIsolation-
|
|
7
|
+
const require_SideQuestionIsolation = require("./SideQuestionIsolation-pW7UQKVD.cjs");
|
|
8
8
|
let effect = require("effect");
|
|
9
9
|
let effect_unstable_process = require("effect/unstable/process");
|
|
10
10
|
//#region src/textGeneration/CodexTextGeneration.ts
|
|
@@ -18,7 +18,7 @@ const makeCodexTextGeneration = effect.Effect.fn("makeCodexTextGeneration")(func
|
|
|
18
18
|
const fileSystem = yield* effect.FileSystem.FileSystem;
|
|
19
19
|
const path = yield* effect.Path.Path;
|
|
20
20
|
const commandSpawner = yield* effect_unstable_process.ChildProcessSpawner.ChildProcessSpawner;
|
|
21
|
-
const serverConfig = yield* effect.Effect.service(
|
|
21
|
+
const serverConfig = yield* effect.Effect.service(require_serverSettings.ServerConfig);
|
|
22
22
|
const readStreamAsString = (operation, stream) => stream.pipe(effect.Stream.decodeText(), effect.Stream.runFold(() => "", (acc, chunk) => acc + chunk), effect.Effect.mapError((cause) => require_bin.normalizeCliError("codex", operation, cause, "Failed to collect process output")));
|
|
23
23
|
const writeTempFile = (operation, prefix, content) => {
|
|
24
24
|
return effect.Effect.gen(function* () {
|
|
@@ -51,7 +51,7 @@ const makeCodexTextGeneration = effect.Effect.fn("makeCodexTextGeneration")(func
|
|
|
51
51
|
const schemaPath = yield* writeTempFile(operation, "codex-schema", JSON.stringify(require_bin.toJsonSchemaObject(outputSchemaJson)));
|
|
52
52
|
const outputPath = yield* writeTempFile(operation, "codex-output", "");
|
|
53
53
|
const runCodexCommand = effect.Effect.fn("runCodexJson.runCodexCommand")(function* () {
|
|
54
|
-
const reasoningEffort =
|
|
54
|
+
const reasoningEffort = require_serverSettings.getModelSelectionStringOptionValue(modelSelection, "reasoningEffort") ?? CODEX_GIT_TEXT_GENERATION_REASONING_EFFORT;
|
|
55
55
|
const command = effect_unstable_process.ChildProcess.make(codexConfig.binaryPath || "codex", [
|
|
56
56
|
"exec",
|
|
57
57
|
"--ephemeral",
|
|
@@ -89,7 +89,7 @@ const makeCodexTextGeneration = effect.Effect.fn("makeCodexTextGeneration")(func
|
|
|
89
89
|
modelSelection.model,
|
|
90
90
|
"--config",
|
|
91
91
|
`model_reasoning_effort="${reasoningEffort}"`,
|
|
92
|
-
...
|
|
92
|
+
...require_serverSettings.getModelSelectionBooleanOptionValue(modelSelection, "fastMode") === true ? ["--config", `service_tier="fast"`] : [],
|
|
93
93
|
"--output-schema",
|
|
94
94
|
schemaPath,
|
|
95
95
|
"--output-last-message",
|
|
@@ -99,7 +99,7 @@ const makeCodexTextGeneration = effect.Effect.fn("makeCodexTextGeneration")(func
|
|
|
99
99
|
], {
|
|
100
100
|
env: {
|
|
101
101
|
...operation === "answerSideQuestion" ? require_SideQuestionIsolation.sideQuestionEnvironment(environment) : environment,
|
|
102
|
-
...codexConfig.homePath ? { CODEX_HOME:
|
|
102
|
+
...codexConfig.homePath ? { CODEX_HOME: require_serverSettings.expandHomePath(codexConfig.homePath) } : {}
|
|
103
103
|
},
|
|
104
104
|
cwd,
|
|
105
105
|
shell: process.platform === "win32",
|