wednesdayai 0.5.1-dev.40 → 0.5.1-dev.42
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/{agent-scope-BudmZlc1.js → agent-scope-CoIdVzmg.js} +3 -3
- package/dist/{agent-turn-runner-y0WL6xuI.js → agent-turn-runner-BkWusthz.js} +3 -3
- package/dist/{agent-turn-runner-C5FiRTJg.js → agent-turn-runner-FwkD42Me.js} +6 -6
- package/dist/{api-key-rotation-DAI1NT_a.js → api-key-rotation-1GnreUfv.js} +1 -1
- package/dist/{api-key-rotation-DzXkIU1m.js → api-key-rotation-1bTDnvBU.js} +2 -2
- package/dist/{audio-preflight-E-nHdi7I.js → audio-preflight-CCjuApbs.js} +27 -27
- package/dist/{audio-preflight-Bdn8EyXv.js → audio-preflight-cWE_jPq7.js} +14 -14
- package/dist/{audio-transcription-runner-MJ65xlDX.js → audio-transcription-runner-Bk1wu6OC.js} +8 -8
- package/dist/{audio-transcription-runner-Cc-hAbE1.js → audio-transcription-runner-DgFYIaIw.js} +26 -26
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +58 -58
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-journal/handler.js +58 -58
- package/dist/bundled/session-memory/handler.js +58 -58
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{chat-content-DtaSiJ_7.js → chat-content-B7yKTLAY.js} +9 -9
- package/dist/{chat-content-CL44f6Ub.js → chat-content-BdADRLL0.js} +36 -36
- package/dist/{plugin-sdk/chrome-DML7V0HT.js → chrome-DQ2kyZpc.js} +34 -34
- package/dist/{chrome-BRVJGvQa.js → chrome-W4kkryVf.js} +5 -5
- package/dist/{chunk-BHQuzJtJ.js → chunk-BAxcOCcV.js} +3 -3
- package/dist/{chunk-CGvXEMAJ.js → chunk-BBj2TedD.js} +1 -1
- package/dist/{command-queue-CyJUnsMn.js → command-queue-CRm1AADE.js} +1 -1
- package/dist/{command-registry-xYf1aBOy.js → command-registry-Ip0F63vx.js} +4 -4
- package/dist/{commands-registry-CNVoO37I.js → commands-registry-CtR9mXss.js} +2 -2
- package/dist/{commands-registry-BO2o7Un9.js → commands-registry-b4F_78R4.js} +1 -1
- package/dist/{completion-cli-od6mAB_x.js → completion-cli-BFHL_SSq.js} +2 -2
- package/dist/{completion-cli-BIuMSnSA.js → completion-cli-EqOcxJpx.js} +1 -1
- package/dist/{credentials-DnIj4HtR.js → credentials-BhiiI_Nr.js} +1 -1
- package/dist/{credentials-GPboJeMC.js → credentials-U5jLZxJ-.js} +1 -1
- package/dist/{deliver-x1MM90HA.js → deliver-BQSIZZRd.js} +11 -11
- package/dist/{deliver-DUUEMT-w.js → deliver-BufoibUD.js} +29 -29
- package/dist/{diagnostic-YRGuisNG.js → diagnostic-BSnQ1U_E.js} +3 -3
- package/dist/{doctor-completion-xR-LI2Kc.js → doctor-completion-CNBGQIUD.js} +1 -1
- package/dist/{doctor-completion-B3oIZ4R2.js → doctor-completion-W6Xmw25w.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{errors-DnS9ngr1.js → errors-BzL6hu4G.js} +1 -1
- package/dist/extensionAPI.js +40 -40
- package/dist/{fetch-Cpgrvssj.js → fetch-DQjTi7nc.js} +1 -1
- package/dist/{fetch-ChtdmCYU.js → fetch-DUVm-Rj1.js} +8 -8
- package/dist/{plugin-sdk/fetch-BqFNIJpI.js → fetch-DmpLwwor.js} +1 -1
- package/dist/{fetch-BzeUsif1.js → fetch-JiVpsY-F.js} +2 -2
- package/dist/{fetch-guard-BnKTeFyb.js → fetch-guard-BySb6coS.js} +2 -2
- package/dist/{fetch-guard-D49piGJ5.js → fetch-guard-Dn6Z6n6a.js} +1 -1
- package/dist/{frontmatter-CqznVm7P.js → frontmatter-NYeLKFIP.js} +3 -3
- package/dist/{fs-safe-D96d8swI.js → fs-safe-DOdeIkaS.js} +26 -26
- package/dist/{gateway-cli-B0WWrjnY.js → gateway-cli-D17zAbrY.js} +20 -10
- package/dist/{gateway-cli-BRUhDHZW.js → gateway-cli-DktZhN9y.js} +20 -10
- package/dist/{image-ops-BiBI-uAf.js → image-ops-DEUr_rAC.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{ir-Drj2D5Gr.js → ir-B0rUqFWs.js} +5 -5
- package/dist/{ir-vVwcX8JG.js → ir-Bra81NIe.js} +2 -2
- package/dist/{legacy-names-Bx5L8LWT.js → legacy-names-D7ywm6_7.js} +1 -1
- package/dist/llm-slug-generator.js +58 -58
- package/dist/{manager-C9H5Oflk.js → manager-3Exjl08V.js} +18 -18
- package/dist/{manager-DRfrqzWR.js → manager-DIIInXxQ.js} +4 -4
- package/dist/{markdown-tables-CzhZ9VCB.js → markdown-tables-7TebvIj0.js} +1 -1
- package/dist/{markdown-tables-BvoP0b-H.js → markdown-tables-lzV8Hoxc.js} +2 -2
- package/dist/{model-selection-DkRYDpst.js → model-selection-DFW5CGMj.js} +1 -1
- package/dist/{model-selection-2-pBJbaC.js → model-selection-_StPBPAp.js} +80 -80
- package/dist/{models-config-7yfOGOZY.js → models-config-D3M9er_C.js} +2 -2
- package/dist/{models-config-BaSANr-E.js → models-config-tNRAxYqz.js} +1 -1
- package/dist/{nudge-CcGwhSSL.js → nudge-B06CLLon.js} +35 -35
- package/dist/{nudge-Chvj0Rw2.js → nudge-DklIe0bB.js} +10 -10
- package/dist/{onboard-CRHyyv-F.js → onboard-D2AmYbm8.js} +1 -1
- package/dist/{onboard-CYQVIEKp.js → onboard-PJee12bv.js} +1 -1
- package/dist/{onboarding-CDHMZKiy.js → onboarding-C1f94rh1.js} +1 -1
- package/dist/{onboarding-vLVDuEr7.js → onboarding-DXRhSAcO.js} +1 -1
- package/dist/{onboarding.finalize-D3hX9K5R.js → onboarding.finalize-C0RUJoiz.js} +4 -4
- package/dist/{onboarding.finalize-BDJnDt6t.js → onboarding.finalize-Calv0MIe.js} +3 -3
- package/dist/{outbound-attachment-DegoJUYB.js → outbound-attachment-BeSAM8qU.js} +1 -1
- package/dist/{outbound-attachment-CxvBVgcJ.js → outbound-attachment-CCQDMmDH.js} +2 -2
- package/dist/{outbound-message-hooks-DfRORyCc.js → outbound-message-hooks-Bn5_bObR.js} +5 -5
- package/dist/{outbound-message-hooks-bMw-LLuz.js → outbound-message-hooks-CrrbzX7U.js} +2 -2
- package/dist/{pairing-files-ByediFgs.js → pairing-files-B1ukutA_.js} +1 -1
- package/dist/{path-alias-guards-BXXI1YTn.js → path-alias-guards-aXY57qPv.js} +1 -1
- package/dist/{pi-embedded-BSVP6xD2.js → pi-embedded-CL5jkXds.js} +64 -64
- package/dist/{pi-embedded-Dp5uUcq6.js → pi-embedded-DGpkqagr.js} +251 -251
- package/dist/{pi-embedded-utils-BF4B99Db.js → pi-embedded-utils-D9zLeiKy.js} +1 -1
- package/dist/{pi-embedded-utils-Dc-LEWCI.js → pi-embedded-utils-DD7HmeWR.js} +3 -3
- package/dist/{pi-model-discovery-B44lshxv.js → pi-model-discovery-BTuzuVh1.js} +7 -7
- package/dist/{pi-model-discovery-B5oKc4R3.js → pi-model-discovery-DiGB5xAq.js} +1 -1
- package/dist/plugin-sdk/agent-turn-execute-D0szeKs8.js +61 -0
- package/dist/plugin-sdk/{agent-turn-runner-D3tAlzpP.js → agent-turn-runner-fV3h6ELM.js} +6 -6
- package/dist/plugin-sdk/{api-key-rotation-Dmd_whf1.js → api-key-rotation-DbJkvwYN.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-2XKqIXAx.js → audio-preflight-DhIYyWh0.js} +14 -14
- package/dist/plugin-sdk/{audio-transcription-runner-2ziIuais.js → audio-transcription-runner-DbjdWQRu.js} +8 -8
- package/dist/plugin-sdk/{auth-profiles-BxDhfCHT.js → auth-profiles-DPd1Ol-P.js} +1 -1
- package/dist/plugin-sdk/{chat-content-DWJ_WMLQ.js → chat-content-CEMoDe5q.js} +9 -9
- package/dist/{chrome-D1006Mu2.js → plugin-sdk/chrome-CobI3ImG.js} +8 -8
- package/dist/plugin-sdk/{chunk-SR4Ydfza.js → chunk-C3M1IW7W.js} +2 -2
- package/dist/plugin-sdk/{command-queue-DUO9-NRr.js → command-queue-DUuIiwvi.js} +2 -2
- package/dist/plugin-sdk/{commands-registry-DnePgYTq.js → commands-registry-DPCcTIwi.js} +2 -2
- package/dist/plugin-sdk/{credentials-DJMyq23O.js → credentials-BgX_xjTe.js} +1 -1
- package/dist/plugin-sdk/deliver-DTstMBfw.js +34 -0
- package/dist/plugin-sdk/{deliver-D3LWZpv1.js → deliver-lkeqXp0v.js} +11 -11
- package/dist/plugin-sdk/{diagnostic-BXgGsRnq.js → diagnostic-TucKQ5Fk.js} +2 -2
- package/dist/plugin-sdk/{diagnostic-session-state-Y-_mHHE2.js → diagnostic-session-state-C74O1QW2.js} +1 -1
- package/dist/{fetch-CrTLz8wd.js → plugin-sdk/fetch-BEOHdT2e.js} +1 -1
- package/dist/plugin-sdk/{fetch-CpY6mDmQ.js → fetch-D7rvWjfk.js} +2 -2
- package/dist/plugin-sdk/{fetch-guard-BEue3kvx.js → fetch-guard-CQIsGUgZ.js} +1 -1
- package/dist/plugin-sdk/{inbound-context-CKtZsNVT.js → inbound-context-BdGImnhD.js} +1 -1
- package/dist/plugin-sdk/{ir-Ep5lw12h.js → ir-D-nyt7yZ.js} +2 -2
- package/dist/plugin-sdk/{manager-DyYd10T2.js → manager-3Bw8zhA3.js} +4 -4
- package/dist/plugin-sdk/manager-BexdJt3o.js +14 -0
- package/dist/plugin-sdk/{markdown-tables-B4G-uOPz.js → markdown-tables-DczIA0hC.js} +2 -2
- package/dist/plugin-sdk/{models-config-DsHaLeW3.js → models-config-DPG3UP6h.js} +1 -1
- package/dist/plugin-sdk/{monitor-CbKokdL4.js → monitor-BQWiYAwC.js} +77 -77
- package/dist/plugin-sdk/{nudge-z8ozyWd6.js → nudge-Cp00v46W.js} +11 -11
- package/dist/plugin-sdk/{outbound-attachment-BrHUWeqB.js → outbound-attachment-JHREBMfy.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-utils-6FFFlkbd.js → pi-embedded-utils-JXHsJfhx.js} +1 -1
- package/dist/plugin-sdk/{pi-model-discovery-BnsoI-E6.js → pi-model-discovery-CKGA60jT.js} +2 -2
- package/dist/plugin-sdk/provider-dispatcher-Cq6Acy3h.js +61 -0
- package/dist/plugin-sdk/{proxy-env-jBCtIiJH.js → proxy-env-D9QKz5Mq.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-IAdR6aX7.js → pw-ai-B_6I8TGZ.js} +4 -4
- package/dist/plugin-sdk/{qmd-manager-DERrmogO.js → qmd-manager-CIgxgs0D.js} +2 -2
- package/dist/plugin-sdk/{query-expansion-CWCvbGoy.js → query-expansion-CECAX0Pe.js} +1 -1
- package/dist/plugin-sdk/{recorder-xWMrt--U.js → recorder-C6OpZN3o.js} +1 -1
- package/dist/plugin-sdk/{registry-B-9fRLtl.js → registry-D9-EsIYH.js} +1 -1
- package/dist/plugin-sdk/{replies-BNtRlug2.js → replies-BhuMuYfa.js} +11 -11
- package/dist/plugin-sdk/{replies-CbnkLeUl.js → replies-ClN-Aak4.js} +4 -4
- package/dist/plugin-sdk/{reply-directives-CKNwlk_8.js → reply-directives-C69Fd8zO.js} +1 -1
- package/dist/plugin-sdk/{reply-prefix-DCeyas-6.js → reply-prefix-BQ-rDIAU.js} +1 -1
- package/dist/plugin-sdk/{resolve-route-t2HJkuDx.js → resolve-route-N9oe4tGM.js} +2 -2
- package/dist/plugin-sdk/{runs-B0mmuxPP.js → runs-0OTO0OVX.js} +12 -12
- package/dist/plugin-sdk/{runs-CSaP-UMd.js → runs-DK85oFoq.js} +7 -7
- package/dist/plugin-sdk/{send-BToCKtul.js → send-C8OYq5CD.js} +10 -10
- package/dist/plugin-sdk/send-CMAU8Lg8.js +23 -0
- package/dist/plugin-sdk/{send-CbbM7dcD.js → send-CVYVctJr.js} +6 -6
- package/dist/plugin-sdk/{send-hdgQBd4P.js → send-CciBIiE2.js} +4 -4
- package/dist/plugin-sdk/{send-rQhDBwIJ.js → send-CilPGWoe.js} +8 -8
- package/dist/plugin-sdk/{send-CTefF3Iw.js → send-CyKQnkbd.js} +6 -6
- package/dist/plugin-sdk/{send-CY2iq9C4.js → send-DFpY65tA.js} +10 -10
- package/dist/plugin-sdk/{send-BQYyBicH.js → send-dNeIyZEN.js} +5 -5
- package/dist/plugin-sdk/{session-context-E8Vv0lBU.js → session-context-4IeKkzGJ.js} +2 -2
- package/dist/plugin-sdk/{session-meta-_XFpsAgw.js → session-meta-BlMS0pts.js} +2 -2
- package/dist/plugin-sdk/{sessions-DGyoDRbg.js → sessions-BUjbH5K1.js} +1 -1
- package/dist/plugin-sdk/{skill-commands-DJ9gv-vK.js → skill-commands-J-ZcPvqF.js} +3 -3
- package/dist/plugin-sdk/{skills-mfK8NK3f.js → skills-W6RHTFue.js} +1 -1
- package/dist/plugin-sdk/{subagent-registry-DyI22dHA.js → subagent-registry-Bek3q0nu.js} +44 -44
- package/dist/plugin-sdk/{tables-Dt2IrV1k.js → tables-ohryoECJ.js} +1 -1
- package/dist/plugin-sdk/testing.js +44 -44
- package/dist/plugin-sdk/{user-run-recording-C05KbS-o.js → user-run-recording-CAAdiBWD.js} +2 -2
- package/dist/plugin-sdk/{ws-BzjQAveZ.js → ws-zaFiZiYP.js} +1 -1
- package/dist/{program-CcLb8Psv.js → program-DYZ4XAFZ.js} +2 -2
- package/dist/{program-context-X8qIC1Px.js → program-context-BM_flY1J.js} +6 -6
- package/dist/{prompt-select-styled-NrfLylYh.js → prompt-select-styled-BFW0tf77.js} +1 -1
- package/dist/{prompt-select-styled-DUTH4ST5.js → prompt-select-styled-Eb9ltCzM.js} +1 -1
- package/dist/{proxy-env-C0UK-5dm.js → proxy-env-RzbogHFe.js} +1 -1
- package/dist/{proxy-env-DdoaBr4H.js → proxy-env-dFmQfhFb.js} +1 -1
- package/dist/{pw-ai-CV5A9Kt_.js → pw-ai-B2n3DHPt.js} +14 -14
- package/dist/{pw-ai-8QlHyDLL.js → pw-ai-D55f0Pr9.js} +4 -4
- package/dist/{qmd-manager-B_ED_NmL.js → qmd-manager-C4rOtrQS.js} +2 -2
- package/dist/{qmd-manager-Bw5dnMTy.js → qmd-manager-jLSZ3VID.js} +12 -12
- package/dist/{qmd-scope-0dG63o_w.js → qmd-scope-BN4oVeLu.js} +1 -1
- package/dist/{query-expansion-BVj0lCGG.js → query-expansion-Dm_RIg6M.js} +1 -1
- package/dist/{query-expansion-gzgHhq68.js → query-expansion-UPsVmvEm.js} +13 -13
- package/dist/{recorder-BowlGHGe.js → recorder-DRV1SIKe.js} +1 -1
- package/dist/{recorder-ciGDu2oO.js → recorder-DvYXNusz.js} +2 -2
- package/dist/{redact-Cp-v7ZNA.js → redact-CysJDryP.js} +1 -1
- package/dist/{register.maintenance-CFd160fT.js → register.maintenance-CNiAi_Bg.js} +5 -5
- package/dist/{register.maintenance-Dc0j0tvi.js → register.maintenance-Dq3k6jFc.js} +4 -4
- package/dist/{register.onboard-u0pMgMv4.js → register.onboard-DGBJtyFX.js} +2 -2
- package/dist/{register.onboard-C-lkIY7d.js → register.onboard-DqGIfQsO.js} +2 -2
- package/dist/{register.setup-BAiTfEey.js → register.setup-BdAQ_7gM.js} +2 -2
- package/dist/{register.setup-D6hviI6L.js → register.setup-Ckb9Hpks.js} +2 -2
- package/dist/{register.subclis-3YVvoBSB.js → register.subclis-Cn5DS2Th.js} +3 -3
- package/dist/{replies-7qxW8HcU.js → replies-BL7cHT2h.js} +4 -4
- package/dist/{replies-EZyamg1p.js → replies-DfoUf3N4.js} +5 -5
- package/dist/{reply-directives-DarQZxqY.js → reply-directives-D4Hftiqp.js} +1 -1
- package/dist/{reply-directives-DMPiBIx3.js → reply-directives-DsGD4aw1.js} +2 -2
- package/dist/{reply-prefix-DLf0nmds.js → reply-prefix-gWrzAQtZ.js} +1 -1
- package/dist/{resolve-route-B15qdahX.js → resolve-route-D96zWGGF.js} +1 -1
- package/dist/{resolve-route-GBqD8iPk.js → resolve-route-RQpYXVl1.js} +4 -4
- package/dist/{run-main-BBLzm5df.js → run-main-BYnz7Ou5.js} +3 -3
- package/dist/{runs-5zWtWfx5.js → runs-CAO_rrxJ.js} +5 -5
- package/dist/{runs-EvR8ugp4.js → runs-DGr28sFu.js} +9 -9
- package/dist/{send-BVfxa93K.js → send-C-m_74Nc.js} +8 -8
- package/dist/{send-Dy4zxtn3.js → send-CS1yI0B4.js} +6 -6
- package/dist/{send-B5XVAKWg.js → send-DFsyNWFI.js} +7 -7
- package/dist/{send-BCEsHNBh.js → send-DYRbKT7y.js} +6 -6
- package/dist/{send-12uxFQQR.js → send-DkJqx60r.js} +8 -8
- package/dist/{send-Cl-ugSMv.js → send-Dv__vEQx.js} +5 -5
- package/dist/{send-DJypuRge.js → send-FQrlCKRx.js} +6 -6
- package/dist/{send-DdyIJ_uy.js → send-T9aTnSyS.js} +4 -4
- package/dist/{session-meta-DgpwY0ah.js → session-meta-CyokAxEY.js} +1 -1
- package/dist/{session-meta-C_fW_AWG.js → session-meta-DVKEsZNl.js} +1 -1
- package/dist/{sessions-B-dL4q0P.js → sessions-A1wDmvXO.js} +1 -1
- package/dist/{sessions-DODCZ4JK.js → sessions-CzjW7wiR.js} +5 -5
- package/dist/{skill-commands-5VtV6o_q.js → skill-commands-BfK22Jmi.js} +7 -7
- package/dist/{skill-commands-1Axnvvz6.js → skill-commands-CZ8IAEbM.js} +2 -2
- package/dist/{skills-B3DYwqF5.js → skills-D6riKXOf.js} +21 -21
- package/dist/{skills-CMwL1GBr.js → skills-D7jLGkoP.js} +1 -1
- package/dist/{store-DnvoAjAE.js → store-Bt16sey6.js} +7 -7
- package/dist/{tables-rCzAF-en.js → tables-BFlTcF5k.js} +1 -1
- package/dist/{tables-CuZTAY1e.js → tables-tChtQWdX.js} +1 -1
- package/dist/{tokens-C8E7C2l5.js → tokens-C2ll8wSq.js} +1 -1
- package/dist/{tool-loop-detection-4AIUOil2.js → tool-loop-detection-D0CRFNOH.js} +2 -2
- package/dist/{update-cli-D4CRTu-Y.js → update-cli-BFg_CRum.js} +5 -5
- package/dist/{update-cli-q45uqAKK.js → update-cli-BfwXa0Uk.js} +4 -4
- package/dist/{user-run-recording-Bax2KSZY.js → user-run-recording-CTOXtrSm.js} +1 -1
- package/dist/{user-run-recording-4Dhev2ED.js → user-run-recording-DJedyUge.js} +2 -2
- package/dist/{workspace-DOy2M7yN.js → workspace-xnzx7wEV.js} +26 -26
- package/dist/{ws-CWxX8WDm.js → ws-CQigqc-W.js} +1 -1
- package/dist/{ws-D916JacH.js → ws-DLbfGWAn.js} +1 -1
- package/extensions/acpx/package.json +1 -1
- package/extensions/anthropic/package.json +1 -1
- package/extensions/bifrost/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/deepgram/package.json +1 -1
- package/extensions/deepinfra/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/diffs/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/dream-cycle/package.json +1 -1
- package/extensions/elevenlabs/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/gemini-search/package.json +1 -1
- package/extensions/google/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/grok-search/package.json +1 -1
- package/extensions/groq/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/kimi-search/package.json +1 -1
- package/extensions/kokoro/package.json +1 -1
- package/extensions/learning-core/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/lobster/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +1 -1
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/mistral/package.json +1 -1
- package/extensions/moonshot/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +1 -1
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +1 -1
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/openai/package.json +1 -1
- package/extensions/openai-realtime/package.json +1 -1
- package/extensions/openrouter/package.json +1 -1
- package/extensions/perplexity-search/package.json +1 -1
- package/extensions/searxng-search/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +1 -1
- package/extensions/twitch/package.json +1 -1
- package/extensions/ui-surfaces/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +1 -1
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zai/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +1 -1
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +1 -1
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/github-copilot-token-DrVydgnY.js +0 -106
- package/dist/paths-BIDPYPVC.js +0 -233
- package/dist/plugin-sdk/agent-turn-execute-Co_96UFp.js +0 -61
- package/dist/plugin-sdk/deliver-5MyFMK8o.js +0 -34
- package/dist/plugin-sdk/manager-B9WMktLu.js +0 -14
- package/dist/plugin-sdk/provider-dispatcher-uLJ5yzx1.js +0 -61
- package/dist/plugin-sdk/send-vp7qbuoy.js +0 -23
- package/dist/subsystem-DoQFckDJ.js +0 -2777
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { a as isErrno } from "./errors-
|
|
5
|
-
import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-
|
|
6
|
-
import {
|
|
1
|
+
import { H as isPathInside, V as isNotFoundPathError, Z as CONFIG_DIR, mt as resolvePreferredOpenClawTmpDir, t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
|
|
2
|
+
import { U as loadConfig } from "./model-selection-DFW5CGMj.js";
|
|
3
|
+
import { n as isLoopbackAddress, r as isLoopbackHost, t as rawDataToString } from "./ws-CQigqc-W.js";
|
|
4
|
+
import { a as isErrno } from "./errors-B_bbUZmd.js";
|
|
5
|
+
import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-CFEZK0gv.js";
|
|
6
|
+
import { c as resolvePinnedHostnameWithPolicy, s as isPrivateNetworkAllowedByPolicy, t as hasProxyEnvConfigured } from "./proxy-env-RzbogHFe.js";
|
|
7
7
|
import path from "node:path";
|
|
8
|
-
import
|
|
9
|
-
import fs from "node:fs";
|
|
8
|
+
import syncFs from "node:fs";
|
|
10
9
|
import os from "node:os";
|
|
11
|
-
import fs
|
|
10
|
+
import fs from "node:fs/promises";
|
|
12
11
|
import { execFileSync, spawn } from "node:child_process";
|
|
12
|
+
import { createHmac } from "node:crypto";
|
|
13
|
+
import net from "node:net";
|
|
13
14
|
import http, { createServer } from "node:http";
|
|
14
15
|
import https from "node:https";
|
|
15
|
-
import
|
|
16
|
-
import WebSocket, { WebSocketServer } from "ws";
|
|
16
|
+
import WebSocket$1, { WebSocketServer } from "ws";
|
|
17
17
|
|
|
18
18
|
//#region src/browser/constants.ts
|
|
19
19
|
const DEFAULT_OPENCLAW_BROWSER_ENABLED = true;
|
|
@@ -66,28 +66,28 @@ function invalidPath(scopeLabel) {
|
|
|
66
66
|
}
|
|
67
67
|
async function resolveRealPathIfExists(targetPath) {
|
|
68
68
|
try {
|
|
69
|
-
return await fs
|
|
69
|
+
return await fs.realpath(targetPath);
|
|
70
70
|
} catch {
|
|
71
71
|
return;
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
async function resolveTrustedRootRealPath(rootDir) {
|
|
75
75
|
try {
|
|
76
|
-
const rootLstat = await fs
|
|
76
|
+
const rootLstat = await fs.lstat(rootDir);
|
|
77
77
|
if (!rootLstat.isDirectory() || rootLstat.isSymbolicLink()) return;
|
|
78
|
-
return await fs
|
|
78
|
+
return await fs.realpath(rootDir);
|
|
79
79
|
} catch {
|
|
80
80
|
return;
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
async function validateCanonicalPathWithinRoot(params) {
|
|
84
84
|
try {
|
|
85
|
-
const candidateLstat = await fs
|
|
85
|
+
const candidateLstat = await fs.lstat(params.candidatePath);
|
|
86
86
|
if (candidateLstat.isSymbolicLink()) return "invalid";
|
|
87
87
|
if (params.expect === "directory" && !candidateLstat.isDirectory()) return "invalid";
|
|
88
88
|
if (params.expect === "file" && !candidateLstat.isFile()) return "invalid";
|
|
89
89
|
if (params.expect === "file" && candidateLstat.nlink > 1) return "invalid";
|
|
90
|
-
const candidateRealPath = await fs
|
|
90
|
+
const candidateRealPath = await fs.realpath(params.candidatePath);
|
|
91
91
|
return isPathInside(params.rootRealPath, candidateRealPath) ? "ok" : "invalid";
|
|
92
92
|
} catch (err) {
|
|
93
93
|
return isNotFoundPathError(err) ? "not-found" : "invalid";
|
|
@@ -165,7 +165,7 @@ async function resolveCheckedPathsWithinRoot(params) {
|
|
|
165
165
|
};
|
|
166
166
|
if (!rootRealPath || !raw || !path.isAbsolute(raw)) return lexicalPathResult;
|
|
167
167
|
try {
|
|
168
|
-
const resolvedExistingPath = await fs
|
|
168
|
+
const resolvedExistingPath = await fs.realpath(raw);
|
|
169
169
|
const relativePath = path.relative(rootRealPath, resolvedExistingPath);
|
|
170
170
|
if (!isInRoot(relativePath)) return lexicalPathResult;
|
|
171
171
|
return {
|
|
@@ -501,7 +501,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
501
501
|
let extensionWs = null;
|
|
502
502
|
const cdpClients = /* @__PURE__ */ new Set();
|
|
503
503
|
const connectedTargets = /* @__PURE__ */ new Map();
|
|
504
|
-
const extensionConnected = () => extensionWs?.readyState === WebSocket.OPEN;
|
|
504
|
+
const extensionConnected = () => extensionWs?.readyState === WebSocket$1.OPEN;
|
|
505
505
|
const hasConnectedTargets = () => connectedTargets.size > 0;
|
|
506
506
|
let extensionDisconnectCleanupTimer = null;
|
|
507
507
|
const extensionReconnectWaiters = /* @__PURE__ */ new Set();
|
|
@@ -553,7 +553,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
553
553
|
let nextExtensionId = 1;
|
|
554
554
|
const sendToExtension = async (payload) => {
|
|
555
555
|
const ws = extensionWs;
|
|
556
|
-
if (!ws || ws.readyState !== WebSocket.OPEN) throw new Error("Chrome extension not connected");
|
|
556
|
+
if (!ws || ws.readyState !== WebSocket$1.OPEN) throw new Error("Chrome extension not connected");
|
|
557
557
|
ws.send(JSON.stringify(payload));
|
|
558
558
|
return await new Promise((resolve, reject) => {
|
|
559
559
|
const timer = setTimeout(() => {
|
|
@@ -570,12 +570,12 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
570
570
|
const broadcastToCdpClients = (evt) => {
|
|
571
571
|
const msg = JSON.stringify(evt);
|
|
572
572
|
for (const ws of cdpClients) {
|
|
573
|
-
if (ws.readyState !== WebSocket.OPEN) continue;
|
|
573
|
+
if (ws.readyState !== WebSocket$1.OPEN) continue;
|
|
574
574
|
ws.send(msg);
|
|
575
575
|
}
|
|
576
576
|
};
|
|
577
577
|
const sendResponseToCdp = (ws, res) => {
|
|
578
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
578
|
+
if (ws.readyState !== WebSocket$1.OPEN) return;
|
|
579
579
|
ws.send(JSON.stringify(res));
|
|
580
580
|
};
|
|
581
581
|
const dropConnectedTargetSession = (sessionId) => {
|
|
@@ -829,7 +829,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
829
829
|
rejectUpgrade(socket, 401, "Unauthorized");
|
|
830
830
|
return;
|
|
831
831
|
}
|
|
832
|
-
if (extensionWs && extensionWs.readyState !== WebSocket.OPEN) {
|
|
832
|
+
if (extensionWs && extensionWs.readyState !== WebSocket$1.OPEN) {
|
|
833
833
|
try {
|
|
834
834
|
extensionWs.terminate();
|
|
835
835
|
} catch {}
|
|
@@ -862,7 +862,7 @@ async function ensureChromeExtensionRelayServer(opts) {
|
|
|
862
862
|
clearExtensionDisconnectCleanupTimer();
|
|
863
863
|
flushExtensionReconnectWaiters(true);
|
|
864
864
|
const ping = setInterval(() => {
|
|
865
|
-
if (ws.readyState !== WebSocket.OPEN) return;
|
|
865
|
+
if (ws.readyState !== WebSocket$1.OPEN) return;
|
|
866
866
|
ws.send(JSON.stringify({ method: "ping" }));
|
|
867
867
|
}, 5e3);
|
|
868
868
|
ws.on("message", (data) => {
|
|
@@ -1218,7 +1218,7 @@ function openCdpWebSocket(wsUrl, opts) {
|
|
|
1218
1218
|
const headers = getHeadersWithAuth(wsUrl, opts?.headers ?? {});
|
|
1219
1219
|
const handshakeTimeoutMs = typeof opts?.handshakeTimeoutMs === "number" && Number.isFinite(opts.handshakeTimeoutMs) ? Math.max(1, Math.floor(opts.handshakeTimeoutMs)) : CDP_WS_HANDSHAKE_TIMEOUT_MS;
|
|
1220
1220
|
const agent = getDirectAgentForCdp(wsUrl);
|
|
1221
|
-
return new WebSocket(wsUrl, {
|
|
1221
|
+
return new WebSocket$1(wsUrl, {
|
|
1222
1222
|
handshakeTimeout: handshakeTimeoutMs,
|
|
1223
1223
|
...Object.keys(headers).length ? { headers } : {},
|
|
1224
1224
|
...agent ? { agent } : {}
|
|
@@ -1503,7 +1503,7 @@ const CHROMIUM_EXE_NAMES = new Set([
|
|
|
1503
1503
|
]);
|
|
1504
1504
|
function exists$1(filePath) {
|
|
1505
1505
|
try {
|
|
1506
|
-
return
|
|
1506
|
+
return syncFs.existsSync(filePath);
|
|
1507
1507
|
} catch {
|
|
1508
1508
|
return false;
|
|
1509
1509
|
}
|
|
@@ -1646,7 +1646,7 @@ function findDesktopFilePath(desktopId) {
|
|
|
1646
1646
|
}
|
|
1647
1647
|
function readDesktopExecLine(desktopPath) {
|
|
1648
1648
|
try {
|
|
1649
|
-
const lines =
|
|
1649
|
+
const lines = syncFs.readFileSync(desktopPath, "utf8").split(/\r?\n/);
|
|
1650
1650
|
for (const line of lines) if (line.startsWith("Exec=")) return line.slice(5).trim();
|
|
1651
1651
|
} catch {}
|
|
1652
1652
|
return null;
|
|
@@ -1904,7 +1904,7 @@ function resolveBrowserExecutableForPlatform(resolved, platform) {
|
|
|
1904
1904
|
const LSOF_CANDIDATES = process.platform === "darwin" ? ["/usr/sbin/lsof", "/usr/bin/lsof"] : ["/usr/bin/lsof", "/usr/sbin/lsof"];
|
|
1905
1905
|
function resolveLsofCommandSync() {
|
|
1906
1906
|
for (const candidate of LSOF_CANDIDATES) try {
|
|
1907
|
-
|
|
1907
|
+
syncFs.accessSync(candidate, syncFs.constants.X_OK);
|
|
1908
1908
|
return candidate;
|
|
1909
1909
|
} catch {}
|
|
1910
1910
|
return "lsof";
|
|
@@ -1949,8 +1949,8 @@ function decoratedMarkerPath(userDataDir) {
|
|
|
1949
1949
|
}
|
|
1950
1950
|
function safeReadJson(filePath) {
|
|
1951
1951
|
try {
|
|
1952
|
-
if (!
|
|
1953
|
-
const raw =
|
|
1952
|
+
if (!syncFs.existsSync(filePath)) return null;
|
|
1953
|
+
const raw = syncFs.readFileSync(filePath, "utf-8");
|
|
1954
1954
|
const parsed = JSON.parse(raw);
|
|
1955
1955
|
if (typeof parsed !== "object" || parsed === null || Array.isArray(parsed)) return null;
|
|
1956
1956
|
return parsed;
|
|
@@ -1959,8 +1959,8 @@ function safeReadJson(filePath) {
|
|
|
1959
1959
|
}
|
|
1960
1960
|
}
|
|
1961
1961
|
function safeWriteJson(filePath, data) {
|
|
1962
|
-
|
|
1963
|
-
|
|
1962
|
+
syncFs.mkdirSync(path.dirname(filePath), { recursive: true });
|
|
1963
|
+
syncFs.writeFileSync(filePath, JSON.stringify(data, null, 2));
|
|
1964
1964
|
}
|
|
1965
1965
|
function setDeep(obj, keys, value) {
|
|
1966
1966
|
let node = obj;
|
|
@@ -2087,7 +2087,7 @@ function decorateOpenClawProfile(userDataDir, opts) {
|
|
|
2087
2087
|
}
|
|
2088
2088
|
safeWriteJson(preferencesPath, prefs);
|
|
2089
2089
|
try {
|
|
2090
|
-
|
|
2090
|
+
syncFs.writeFileSync(decoratedMarkerPath(userDataDir), `${Date.now()}\n`, "utf-8");
|
|
2091
2091
|
} catch {}
|
|
2092
2092
|
}
|
|
2093
2093
|
function ensureProfileCleanExit(userDataDir) {
|
|
@@ -2103,7 +2103,7 @@ function ensureProfileCleanExit(userDataDir) {
|
|
|
2103
2103
|
const log = createSubsystemLogger("browser").child("chrome");
|
|
2104
2104
|
function exists(filePath) {
|
|
2105
2105
|
try {
|
|
2106
|
-
return
|
|
2106
|
+
return syncFs.existsSync(filePath);
|
|
2107
2107
|
} catch {
|
|
2108
2108
|
return false;
|
|
2109
2109
|
}
|
|
@@ -2201,7 +2201,7 @@ async function launchOpenClawChrome(resolved, profile) {
|
|
|
2201
2201
|
const exe = resolveBrowserExecutable(resolved);
|
|
2202
2202
|
if (!exe) throw new Error("No supported browser found (Chrome/Brave/Edge/Chromium on macOS, Linux, or Windows).");
|
|
2203
2203
|
const userDataDir = resolveOpenClawUserDataDir(profile.name);
|
|
2204
|
-
|
|
2204
|
+
syncFs.mkdirSync(userDataDir, { recursive: true });
|
|
2205
2205
|
const needsDecorate = !isProfileDecorated(userDataDir, profile.name, (profile.color ?? DEFAULT_OPENCLAW_BROWSER_COLOR).toUpperCase());
|
|
2206
2206
|
const spawnOnce = () => {
|
|
2207
2207
|
const args = [
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { H as isPathInside, V as isNotFoundPathError, Z as CONFIG_DIR, mt as resolvePreferredOpenClawTmpDir, t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
|
|
2
|
-
import { U as loadConfig } from "./model-selection-
|
|
3
|
-
import { n as isLoopbackAddress, r as isLoopbackHost, t as rawDataToString } from "./ws-
|
|
4
|
-
import { a as isErrno } from "./errors-
|
|
5
|
-
import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-
|
|
6
|
-
import { c as resolvePinnedHostnameWithPolicy, s as isPrivateNetworkAllowedByPolicy, t as hasProxyEnvConfigured } from "./proxy-env-
|
|
2
|
+
import { U as loadConfig } from "./model-selection-_StPBPAp.js";
|
|
3
|
+
import { n as isLoopbackAddress, r as isLoopbackHost, t as rawDataToString } from "./ws-DLbfGWAn.js";
|
|
4
|
+
import { a as isErrno } from "./errors-BzL6hu4G.js";
|
|
5
|
+
import { i as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-DOdeIkaS.js";
|
|
6
|
+
import { c as resolvePinnedHostnameWithPolicy, s as isPrivateNetworkAllowedByPolicy, t as hasProxyEnvConfigured } from "./proxy-env-dFmQfhFb.js";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import syncFs from "node:fs";
|
|
9
9
|
import os from "node:os";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { i as chunkTextByBreakResolver, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { i as chunkTextByBreakResolver, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
|
|
3
3
|
import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
|
|
4
|
-
import { G as normalizeAccountId } from "./workspace-
|
|
5
|
-
import { Or as resolveAccountEntry, Pr as INTERNAL_MESSAGE_CHANNEL } from "./model-selection-
|
|
4
|
+
import { G as normalizeAccountId } from "./workspace-xnzx7wEV.js";
|
|
5
|
+
import { Or as resolveAccountEntry, Pr as INTERNAL_MESSAGE_CHANNEL } from "./model-selection-_StPBPAp.js";
|
|
6
6
|
import { n as isSafeFenceBreak, r as parseFenceSpans, t as findFenceSpanAt } from "./fences-B64kVeCJ.js";
|
|
7
7
|
|
|
8
8
|
//#region src/auto-reply/chunk.ts
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { nt as normalizeAccountId } from "./agent-scope-Js3kUihf.js";
|
|
3
3
|
import { i as chunkTextByBreakResolver, r as avoidTrailingHighSurrogateBreak, t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
|
|
4
4
|
import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
|
|
5
|
-
import { Mr as resolveAccountEntry, Rr as INTERNAL_MESSAGE_CHANNEL } from "./model-selection-
|
|
5
|
+
import { Mr as resolveAccountEntry, Rr as INTERNAL_MESSAGE_CHANNEL } from "./model-selection-DFW5CGMj.js";
|
|
6
6
|
import { n as isSafeFenceBreak, r as parseFenceSpans, t as findFenceSpanAt } from "./fences-C9CqDW38.js";
|
|
7
7
|
|
|
8
8
|
//#region src/auto-reply/chunk.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { a as logLaneTaskCompleted, i as logLaneEnqueue, r as logLaneDequeue, t as diag } from "./diagnostic-
|
|
2
|
+
import { a as logLaneTaskCompleted, i as logLaneEnqueue, r as logLaneDequeue, t as diag } from "./diagnostic-BSnQ1U_E.js";
|
|
3
3
|
import { t as CommandLane } from "./lanes-DBBnME5O.js";
|
|
4
4
|
|
|
5
5
|
//#region src/process/command-queue.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { Ft as getPrimaryCommand, Rt as hasHelpOrVersion } from "./globals-3lUHnZas.js";
|
|
3
|
-
import { i as registerSubCliCommands, o as removeCommandByName, s as reparseProgramFromActionArgs } from "./register.subclis-
|
|
3
|
+
import { i as registerSubCliCommands, o as removeCommandByName, s as reparseProgramFromActionArgs } from "./register.subclis-Cn5DS2Th.js";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/program/command-registry.ts
|
|
6
6
|
var command_registry_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -22,7 +22,7 @@ const coreEntries = [
|
|
|
22
22
|
hasSubcommands: false
|
|
23
23
|
}],
|
|
24
24
|
register: async ({ program }) => {
|
|
25
|
-
(await import("./register.setup-
|
|
25
|
+
(await import("./register.setup-BdAQ_7gM.js")).registerSetupCommand(program);
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
{
|
|
@@ -32,7 +32,7 @@ const coreEntries = [
|
|
|
32
32
|
hasSubcommands: false
|
|
33
33
|
}],
|
|
34
34
|
register: async ({ program }) => {
|
|
35
|
-
(await import("./register.onboard-
|
|
35
|
+
(await import("./register.onboard-DqGIfQsO.js")).registerOnboardCommand(program);
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
{
|
|
@@ -79,7 +79,7 @@ const coreEntries = [
|
|
|
79
79
|
}
|
|
80
80
|
],
|
|
81
81
|
register: async ({ program }) => {
|
|
82
|
-
(await import("./register.maintenance-
|
|
82
|
+
(await import("./register.maintenance-CNiAi_Bg.js")).registerMaintenanceCommands(program);
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { tt as escapeRegExp } from "./subsystem-
|
|
2
|
+
import { tt as escapeRegExp } from "./subsystem-DynBFcQj.js";
|
|
3
3
|
import { n as resolveProcessScopedMap, t as isPlainObject } from "./plain-object-Doc_YkH1.js";
|
|
4
|
-
import { Da as DEFAULT_PROVIDER, Ea as DEFAULT_MODEL, Ut as getActivePluginRegistry, Zn as listChannelDocks, tr as normalizeChannelId, u as resolveConfiguredModelRef } from "./model-selection-
|
|
4
|
+
import { Da as DEFAULT_PROVIDER, Ea as DEFAULT_MODEL, Ut as getActivePluginRegistry, Zn as listChannelDocks, tr as normalizeChannelId, u as resolveConfiguredModelRef } from "./model-selection-_StPBPAp.js";
|
|
5
5
|
import { r as listThinkingLevels } from "./thinking-CcoiS9V4.js";
|
|
6
6
|
|
|
7
7
|
//#region src/config/commands.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { tt as escapeRegExp } from "./subsystem-DynBFcQj.js";
|
|
3
3
|
import { n as resolveProcessScopedMap, t as isPlainObject } from "./plain-object-Doc_YkH1.js";
|
|
4
|
-
import { Ma as DEFAULT_PROVIDER, Wt as getActivePluginRegistry, ar as normalizeChannelId, ja as DEFAULT_MODEL, tr as listChannelDocks, u as resolveConfiguredModelRef } from "./model-selection-
|
|
4
|
+
import { Ma as DEFAULT_PROVIDER, Wt as getActivePluginRegistry, ar as normalizeChannelId, ja as DEFAULT_MODEL, tr as listChannelDocks, u as resolveConfiguredModelRef } from "./model-selection-DFW5CGMj.js";
|
|
5
5
|
import { r as listThinkingLevels } from "./thinking-D6R5MauW.js";
|
|
6
6
|
|
|
7
7
|
//#region src/config/commands.ts
|
|
@@ -3,8 +3,8 @@ import { p as theme, yt as pathExists } from "./globals-3lUHnZas.js";
|
|
|
3
3
|
import { g as resolveStateDir } from "./paths-BMo6kTge.js";
|
|
4
4
|
import { i as routeLogsToStderr } from "./subsystem-xTuYkxuQ.js";
|
|
5
5
|
import { t as formatDocsLink } from "./links-CuEUTasJ.js";
|
|
6
|
-
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-
|
|
7
|
-
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-
|
|
6
|
+
import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-Cn5DS2Th.js";
|
|
7
|
+
import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-Ip0F63vx.js";
|
|
8
8
|
import { t as getProgramContext } from "./program-context-CtfWJUBU.js";
|
|
9
9
|
import os from "node:os";
|
|
10
10
|
import path from "node:path";
|
|
@@ -3,7 +3,7 @@ import { g as resolveStateDir } from "./paths-BBP4yd-2.js";
|
|
|
3
3
|
import { I as theme, p as pathExists } from "./utils-CASlmNOg.js";
|
|
4
4
|
import { i as routeLogsToStderr } from "./subsystem-B1Y59yp3.js";
|
|
5
5
|
import { t as formatDocsLink } from "./links-B1LIUWso.js";
|
|
6
|
-
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-
|
|
6
|
+
import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-BM_flY1J.js";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs/promises";
|
|
@@ -2,18 +2,18 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { K as normalizeAgentId, c as resolveDefaultAgentId, ft as parseAgentSessionKey, nt as normalizeAccountId, q as normalizeMainKey, rt as normalizeOptionalAccountId } from "./agent-scope-Js3kUihf.js";
|
|
3
3
|
import { l as resolveStateDir } from "./paths-B_gs59ga.js";
|
|
4
4
|
import { t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
|
|
5
|
-
import { Cn as loadSessionStore, Kt as getActivePluginRegistryVersion, Mn as updateSessionStoreEntry, Sn as listConfiguredSessionStorageAgentIds, U as loadConfig, Wt as getActivePluginRegistry, Xn as resolveStorePath, ar as normalizeChannelId, er as getChannelDock, hn as getConversationReadQuery, pn as StorageReadAccessError, rr as getChannelPlugin, va as resolveOpenClawAgentDir } from "./model-selection-
|
|
6
|
-
import { L as resolveMainSessionKey, Nt as getGlobalHookRunner, P as canonicalizeMainSessionAlias, a as resolveMirroredTranscriptText, at as eventOrder, i as appendAssistantMessageToSessionTranscript, o as parseInlineDirectives } from "./sessions-
|
|
5
|
+
import { Cn as loadSessionStore, Kt as getActivePluginRegistryVersion, Mn as updateSessionStoreEntry, Sn as listConfiguredSessionStorageAgentIds, U as loadConfig, Wt as getActivePluginRegistry, Xn as resolveStorePath, ar as normalizeChannelId, er as getChannelDock, hn as getConversationReadQuery, pn as StorageReadAccessError, rr as getChannelPlugin, va as resolveOpenClawAgentDir } from "./model-selection-DFW5CGMj.js";
|
|
6
|
+
import { L as resolveMainSessionKey, Nt as getGlobalHookRunner, P as canonicalizeMainSessionAlias, a as resolveMirroredTranscriptText, at as eventOrder, i as appendAssistantMessageToSessionTranscript, o as parseInlineDirectives } from "./sessions-A1wDmvXO.js";
|
|
7
7
|
import { n as generateSecureUuid } from "./secure-random-CXrBi7Jq.js";
|
|
8
|
-
import { a as isMessagingToolDuplicate, t as extractTextFromChatContent } from "./chat-content-
|
|
8
|
+
import { a as isMessagingToolDuplicate, t as extractTextFromChatContent } from "./chat-content-B7yKTLAY.js";
|
|
9
9
|
import { i as hasErrnoCode } from "./errors-B_bbUZmd.js";
|
|
10
|
-
import { t as ensureOpenClawModelsJson } from "./models-config-
|
|
11
|
-
import { i as getAgentScopedMediaLocalRoots } from "./fetch-
|
|
12
|
-
import { c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, n as chunkByParagraph } from "./chunk-
|
|
13
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
14
|
-
import { d as resolveOutboundSessionId, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-
|
|
15
|
-
import { t as parseReplyDirectives } from "./reply-directives-
|
|
16
|
-
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-
|
|
10
|
+
import { t as ensureOpenClawModelsJson } from "./models-config-tNRAxYqz.js";
|
|
11
|
+
import { i as getAgentScopedMediaLocalRoots } from "./fetch-JiVpsY-F.js";
|
|
12
|
+
import { c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, n as chunkByParagraph } from "./chunk-BBj2TedD.js";
|
|
13
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-7TebvIj0.js";
|
|
14
|
+
import { d as resolveOutboundSessionId, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-CrrbzX7U.js";
|
|
15
|
+
import { t as parseReplyDirectives } from "./reply-directives-D4Hftiqp.js";
|
|
16
|
+
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-FQrlCKRx.js";
|
|
17
17
|
import path from "node:path";
|
|
18
18
|
import syncFs from "node:fs";
|
|
19
19
|
import { createHash } from "node:crypto";
|
|
@@ -351,7 +351,7 @@ function ensureContextWindowCacheLoaded() {
|
|
|
351
351
|
await ensureOpenClawModelsJson(cfg);
|
|
352
352
|
} catch {}
|
|
353
353
|
try {
|
|
354
|
-
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-
|
|
354
|
+
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-DiGB5xAq.js").then((n) => n.r);
|
|
355
355
|
const agentDir = resolveOpenClawAgentDir();
|
|
356
356
|
const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
|
|
357
357
|
applyDiscoveredContextWindows({
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { l as resolveDefaultAgentId } from "./agent-scope-
|
|
3
|
-
import { l as resolveStateDir } from "./paths-
|
|
4
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
5
|
-
import { F as normalizeAgentId, G as normalizeAccountId, I as normalizeMainKey, K as normalizeOptionalAccountId, tt as parseAgentSessionKey } from "./workspace-
|
|
6
|
-
import { $n as getChannelPlugin, Gt as getActivePluginRegistryVersion, Kn as resolveStorePath, On as updateSessionStoreEntry, U as loadConfig, Ut as getActivePluginRegistry, Xn as getChannelDock, bn as loadSessionStore, fn as getConversationReadQuery, pa as resolveOpenClawAgentDir, tr as normalizeChannelId, un as StorageReadAccessError, yn as listConfiguredSessionStorageAgentIds } from "./model-selection-
|
|
7
|
-
import { L as resolveMainSessionKey, Nt as getGlobalHookRunner, P as canonicalizeMainSessionAlias, a as resolveMirroredTranscriptText, at as eventOrder, i as appendAssistantMessageToSessionTranscript, jt as hasInterSessionUserProvenance, o as parseInlineDirectives } from "./sessions-
|
|
2
|
+
import { l as resolveDefaultAgentId } from "./agent-scope-CoIdVzmg.js";
|
|
3
|
+
import { l as resolveStateDir } from "./paths-B_gs59ga.js";
|
|
4
|
+
import { t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
|
|
5
|
+
import { F as normalizeAgentId, G as normalizeAccountId, I as normalizeMainKey, K as normalizeOptionalAccountId, tt as parseAgentSessionKey } from "./workspace-xnzx7wEV.js";
|
|
6
|
+
import { $n as getChannelPlugin, Gt as getActivePluginRegistryVersion, Kn as resolveStorePath, On as updateSessionStoreEntry, U as loadConfig, Ut as getActivePluginRegistry, Xn as getChannelDock, bn as loadSessionStore, fn as getConversationReadQuery, pa as resolveOpenClawAgentDir, tr as normalizeChannelId, un as StorageReadAccessError, yn as listConfiguredSessionStorageAgentIds } from "./model-selection-_StPBPAp.js";
|
|
7
|
+
import { L as resolveMainSessionKey, Nt as getGlobalHookRunner, P as canonicalizeMainSessionAlias, a as resolveMirroredTranscriptText, at as eventOrder, i as appendAssistantMessageToSessionTranscript, jt as hasInterSessionUserProvenance, o as parseInlineDirectives } from "./sessions-CzjW7wiR.js";
|
|
8
8
|
import { n as generateSecureUuid } from "./secure-random-BDA1WAvZ.js";
|
|
9
|
-
import { a as isMessagingToolDuplicate, t as extractTextFromChatContent } from "./chat-content-
|
|
10
|
-
import { i as hasErrnoCode } from "./errors-
|
|
11
|
-
import { t as ensureOpenClawModelsJson } from "./models-config-
|
|
12
|
-
import { i as getAgentScopedMediaLocalRoots } from "./fetch-
|
|
13
|
-
import { c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, n as chunkByParagraph } from "./chunk-
|
|
14
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
15
|
-
import { d as resolveOutboundSessionId, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-
|
|
16
|
-
import { t as parseReplyDirectives } from "./reply-directives-
|
|
17
|
-
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-
|
|
9
|
+
import { a as isMessagingToolDuplicate, t as extractTextFromChatContent } from "./chat-content-BdADRLL0.js";
|
|
10
|
+
import { i as hasErrnoCode } from "./errors-BzL6hu4G.js";
|
|
11
|
+
import { t as ensureOpenClawModelsJson } from "./models-config-D3M9er_C.js";
|
|
12
|
+
import { i as getAgentScopedMediaLocalRoots } from "./fetch-DUVm-Rj1.js";
|
|
13
|
+
import { c as resolveChunkDelivery, d as resolveTextChunkLimit, i as chunkMarkdownTextWithMode, n as chunkByParagraph } from "./chunk-BAxcOCcV.js";
|
|
14
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-lzV8Hoxc.js";
|
|
15
|
+
import { d as resolveOutboundSessionId, n as createMessageSentEmitter, t as applyMessageSendingHook } from "./outbound-message-hooks-Bn5_bObR.js";
|
|
16
|
+
import { t as parseReplyDirectives } from "./reply-directives-DsGD4aw1.js";
|
|
17
|
+
import { l as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-DkJqx60r.js";
|
|
18
18
|
import path from "node:path";
|
|
19
|
-
import
|
|
19
|
+
import syncFs from "node:fs";
|
|
20
20
|
import { createHash } from "node:crypto";
|
|
21
21
|
import { setTimeout } from "node:timers/promises";
|
|
22
22
|
|
|
@@ -372,7 +372,7 @@ function ensureContextWindowCacheLoaded() {
|
|
|
372
372
|
await ensureOpenClawModelsJson(cfg);
|
|
373
373
|
} catch {}
|
|
374
374
|
try {
|
|
375
|
-
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-
|
|
375
|
+
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-BTuzuVh1.js").then((n) => n.r);
|
|
376
376
|
const agentDir = resolveOpenClawAgentDir();
|
|
377
377
|
const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
|
|
378
378
|
applyDiscoveredContextWindows({
|
|
@@ -688,7 +688,7 @@ function listExistingAgentIdsFromDisk() {
|
|
|
688
688
|
const root = resolveStateDir();
|
|
689
689
|
const agentsDir = path.join(root, "agents");
|
|
690
690
|
try {
|
|
691
|
-
return
|
|
691
|
+
return syncFs.readdirSync(agentsDir, { withFileTypes: true }).filter((entry) => entry.isDirectory()).map((entry) => normalizeAgentId(entry.name)).filter(Boolean);
|
|
692
692
|
} catch {
|
|
693
693
|
return [];
|
|
694
694
|
}
|
|
@@ -889,11 +889,11 @@ function resolveFailedDir(stateDir) {
|
|
|
889
889
|
/** Ensure the queue directory (and failed/ subdirectory) exist. */
|
|
890
890
|
async function ensureQueueDir(stateDir) {
|
|
891
891
|
const queueDir = resolveQueueDir(stateDir);
|
|
892
|
-
await
|
|
892
|
+
await syncFs.promises.mkdir(queueDir, {
|
|
893
893
|
recursive: true,
|
|
894
894
|
mode: 448
|
|
895
895
|
});
|
|
896
|
-
await
|
|
896
|
+
await syncFs.promises.mkdir(resolveFailedDir(stateDir), {
|
|
897
897
|
recursive: true,
|
|
898
898
|
mode: 448
|
|
899
899
|
});
|
|
@@ -923,18 +923,18 @@ async function enqueueDelivery(params, stateDir) {
|
|
|
923
923
|
const filePath = path.join(queueDir, `${id}.json`);
|
|
924
924
|
const tmp = `${filePath}.${process.pid}.tmp`;
|
|
925
925
|
const json = JSON.stringify(entry, null, 2);
|
|
926
|
-
await
|
|
926
|
+
await syncFs.promises.writeFile(tmp, json, {
|
|
927
927
|
encoding: "utf-8",
|
|
928
928
|
mode: 384
|
|
929
929
|
});
|
|
930
|
-
await
|
|
930
|
+
await syncFs.promises.rename(tmp, filePath);
|
|
931
931
|
return id;
|
|
932
932
|
}
|
|
933
933
|
/** Remove a successfully delivered entry from the queue. */
|
|
934
934
|
async function ackDelivery(id, stateDir) {
|
|
935
935
|
const filePath = path.join(resolveQueueDir(stateDir), `${id}.json`);
|
|
936
936
|
try {
|
|
937
|
-
await
|
|
937
|
+
await syncFs.promises.unlink(filePath);
|
|
938
938
|
} catch (err) {
|
|
939
939
|
if ((err && typeof err === "object" && "code" in err ? String(err.code) : null) !== "ENOENT") throw err;
|
|
940
940
|
}
|
|
@@ -961,22 +961,22 @@ async function failDelivery(id, error, stateDir) {
|
|
|
961
961
|
return serializeByKey(filePath, () => failDeliveryWrite(filePath, error));
|
|
962
962
|
}
|
|
963
963
|
async function failDeliveryWrite(filePath, error) {
|
|
964
|
-
const raw = await
|
|
964
|
+
const raw = await syncFs.promises.readFile(filePath, "utf-8");
|
|
965
965
|
const entry = JSON.parse(raw);
|
|
966
966
|
entry.retryCount += 1;
|
|
967
967
|
entry.lastAttemptAt = Date.now();
|
|
968
968
|
entry.lastError = error;
|
|
969
969
|
const tmp = `${filePath}.${process.pid}.tmp`;
|
|
970
|
-
await
|
|
970
|
+
await syncFs.promises.writeFile(tmp, JSON.stringify(entry, null, 2), {
|
|
971
971
|
encoding: "utf-8",
|
|
972
972
|
mode: 384
|
|
973
973
|
});
|
|
974
|
-
await
|
|
974
|
+
await syncFs.promises.rename(tmp, filePath);
|
|
975
975
|
}
|
|
976
976
|
/** Read a queue entry raw; null when the file is missing. */
|
|
977
977
|
async function readEntryFile(filePath) {
|
|
978
978
|
try {
|
|
979
|
-
const raw = await
|
|
979
|
+
const raw = await syncFs.promises.readFile(filePath, "utf-8");
|
|
980
980
|
return JSON.parse(raw);
|
|
981
981
|
} catch (err) {
|
|
982
982
|
if (hasErrnoCode(err, "ENOENT")) return null;
|
|
@@ -998,11 +998,11 @@ function markDeliveryPhase(filePath, transition) {
|
|
|
998
998
|
const next = transition(entry);
|
|
999
999
|
if (!next.advanced) return next;
|
|
1000
1000
|
const tmp = `${filePath}.${process.pid}.tmp`;
|
|
1001
|
-
await
|
|
1001
|
+
await syncFs.promises.writeFile(tmp, JSON.stringify(next.entry, null, 2), {
|
|
1002
1002
|
encoding: "utf-8",
|
|
1003
1003
|
mode: 384
|
|
1004
1004
|
});
|
|
1005
|
-
await
|
|
1005
|
+
await syncFs.promises.rename(tmp, filePath);
|
|
1006
1006
|
return next;
|
|
1007
1007
|
});
|
|
1008
1008
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-DynBFcQj.js";
|
|
3
3
|
import { n as resolveProcessScopedMap } from "./plain-object-Doc_YkH1.js";
|
|
4
|
-
import { L as resolveAgentIdFromSessionKey } from "./workspace-
|
|
4
|
+
import { L as resolveAgentIdFromSessionKey } from "./workspace-xnzx7wEV.js";
|
|
5
5
|
import { t as emitDiagnosticEvent } from "./diagnostic-events-BTSwhIfk.js";
|
|
6
6
|
import { a as recordTurnDuration, i as recordSessionChannelCorrelation, r as getDiagnosticSessionState, t as diagnosticSessionStates } from "./diagnostic-session-state-DJQj3Ka7.js";
|
|
7
7
|
import { t as redactIdentifier } from "./redact-identifier-C_VCQ34e.js";
|
|
8
|
-
import { t as redactSensitiveText } from "./redact-
|
|
8
|
+
import { t as redactSensitiveText } from "./redact-CysJDryP.js";
|
|
9
9
|
import { createHash } from "node:crypto";
|
|
10
10
|
|
|
11
11
|
//#region src/agents/command-poll-backoff.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as resolveOpenClawPackageRoot } from "./openclaw-root-Bh3xNyXD.js";
|
|
2
2
|
import { r as resolveCliName } from "./command-format-C8lewPDO.js";
|
|
3
3
|
import { t as note } from "./note-D_lQmF8n.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-BFHL_SSq.js";
|
|
5
5
|
import { spawnSync } from "node:child_process";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as resolveOpenClawPackageRoot } from "./openclaw-root-Wicu3YQr.js";
|
|
2
2
|
import { r as resolveCliName } from "./command-format-dyB8APhj.js";
|
|
3
3
|
import { t as note } from "./note-DuVpD9Sh.js";
|
|
4
|
-
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-
|
|
4
|
+
import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-EqOcxJpx.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { spawnSync } from "node:child_process";
|
|
7
7
|
|
package/dist/entry.js
CHANGED
|
@@ -381,7 +381,7 @@ if (!isMainModule({
|
|
|
381
381
|
}
|
|
382
382
|
function tryHandleRootHelpFastPath(argv) {
|
|
383
383
|
if (!isRootHelpInvocation(argv)) return false;
|
|
384
|
-
import("./program-
|
|
384
|
+
import("./program-DYZ4XAFZ.js").then(({ buildProgram }) => {
|
|
385
385
|
buildProgram().outputHelp();
|
|
386
386
|
}).catch((error) => {
|
|
387
387
|
console.error("[openclaw] Failed to display help:", error instanceof Error ? error.stack ?? error.message : error);
|
|
@@ -400,7 +400,7 @@ if (!isMainModule({
|
|
|
400
400
|
applyCliProfileEnv({ profile: parsed.profile });
|
|
401
401
|
process$1.argv = parsed.argv;
|
|
402
402
|
}
|
|
403
|
-
if (!tryHandleRootVersionFastPath(process$1.argv) && !tryHandleRootHelpFastPath(process$1.argv)) import("./run-main-
|
|
403
|
+
if (!tryHandleRootVersionFastPath(process$1.argv) && !tryHandleRootHelpFastPath(process$1.argv)) import("./run-main-BYnz7Ou5.js").then(({ runCli }) => runCli(process$1.argv)).then(() => flushStdio()).then(() => process$1.exit(process$1.exitCode ?? 0)).catch(async (error) => {
|
|
404
404
|
console.error("[openclaw] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
|
|
405
405
|
await flushStdio();
|
|
406
406
|
process$1.exit(process$1.exitCode ?? 1);
|