activeclaw 2026.2.9 → 2026.2.10
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/{accounts-C2elk6PC.js → accounts-xJh3pJei.js} +9 -9
- package/dist/{acp-cli-BHTkhOOK.js → acp-cli-BpJwIyLl.js} +4 -4
- package/dist/{acp-cli-BOqmKps_.js → acp-cli-D_40K9Gr.js} +15 -15
- package/dist/{agent-CVe9csik.js → agent-DkZpDQJb.js} +12 -12
- package/dist/{agent-DplJM2iA.js → agent-FTQXFOHA.js} +10 -10
- package/dist/{agent-scope-GWSAY_lJ.js → agent-scope-BEf5crnU.js} +1 -1
- package/dist/{agent-scope-bNHJh30H.js → agent-scope-CPiO6Aw7.js} +12 -12
- package/dist/{agent-scope-3Vx285VQ.js → agent-scope-D8miw9q_.js} +1 -1
- package/dist/{agent-scope-D3me2AZa.js → agent-scope-DQuy3dwI.js} +1 -1
- package/dist/{archive-CXhvR9nU.js → archive-BixfOVSf.js} +9 -9
- package/dist/{audit-VCa9vZUY.js → audit-CGlFTiEB.js} +23 -23
- package/dist/{audit-DZUtH-Nt.js → audit-CY-yopxa.js} +8 -8
- package/dist/{auth-BvIPpm7G.js → auth-D_PS9etv.js} +1 -1
- package/dist/{auth-health-CToniips.js → auth-health-BGd7tGq0.js} +1 -1
- package/dist/{auth-health-Cx5exPMV.js → auth-health-d7BMZlWG.js} +1 -1
- package/dist/{auth-profiles-FJ3VY25a.js → auth-profiles-Bv1AEm-Y.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +10 -10
- package/dist/bundled/session-memory/handler.js +10 -10
- package/dist/{call-BLDHRggD.js → call-7yrB6v4I.js} +1 -1
- package/dist/{call-LDoK5_Jv.js → call-Ccyb4kQR.js} +11 -11
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-_MKOfqan.js → channel-options-DwA7SVbf.js} +7 -7
- package/dist/{channel-options-ByiQNOTJ.js → channel-options-DwTe763m.js} +3 -3
- package/dist/{channel-selection-DqqM1jFv.js → channel-selection-La1tQIxQ.js} +2 -2
- package/dist/{channel-selection-DAHCVAX4.js → channel-selection-RZimme3j.js} +1 -1
- package/dist/{channels-cli-Cc7g9t97.js → channels-cli-CsLF44Xf.js} +26 -26
- package/dist/{channels-cli-dHm4C9tg.js → channels-cli-ENsD3dK4.js} +48 -48
- package/dist/{channels-status-issues-CIvi5Dko.js → channels-status-issues-B3KkflfR.js} +1 -1
- package/dist/{channels-status-issues-DFhI_u0p.js → channels-status-issues-DmIFbKRs.js} +1 -1
- package/dist/{chrome-CF16STk9.js → chrome-BN9o1yns.js} +7 -7
- package/dist/{chrome-UrBfjc6F.js → chrome-Db7w64LF.js} +7 -7
- package/dist/{chrome-Dm-EgOjJ.js → chrome-XHJ9uNgs.js} +5 -5
- package/dist/{clack-prompter-BCiBkJVr.js → clack-prompter-IfLZ3uDJ.js} +4 -4
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-BXVQxcpm.js → cli-CBL6jLH_.js} +21 -21
- package/dist/{cli-ChBVn7aR.js → cli-Dxi8xMCj.js} +36 -36
- package/dist/{client-6xKrRC-1.js → client-Cam-Cwyu.js} +2 -2
- package/dist/{command-options-Zeat4Qbm.js → command-options-_12DJE1t.js} +3 -3
- package/dist/{commands-BFfaY2r9.js → commands-CjEGXOZ_.js} +3 -3
- package/dist/{completion-cli-BYQOTb3_.js → completion-cli-DZlpcsto.js} +40 -40
- package/dist/{completion-cli-DyCmQ6EC.js → completion-cli-DeeDoOCJ.js} +1 -1
- package/dist/{config-DuOV0jZh.js → config-B00lvFac.js} +2 -2
- package/dist/{config-C6Od01-b.js → config-BqGVMf1y.js} +2 -2
- package/dist/{config-5nrp_Vu5.js → config-DiNnQcwe.js} +10 -10
- package/dist/{config-DssMzgXt.js → config-XBdA0ciN.js} +2 -2
- package/dist/{config-guard-DJuKG5j3.js → config-guard-CmgZJTGV.js} +21 -21
- package/dist/{configure-BsYuK_Kc.js → configure-89VjxHbW.js} +18 -18
- package/dist/{configure-DAraHgDw.js → configure-DB_qIT8D.js} +8 -8
- package/dist/{control-service-BNpv08hT.js → control-service-CAXvnE0u.js} +5 -5
- package/dist/{control-service-BL9NP7JP.js → control-service-IRAmbcbN.js} +1 -1
- package/dist/{cron-cli-E_r-cKMN.js → cron-cli-DKp-JxRS.js} +16 -16
- package/dist/{cron-cli-CyYUj-LH.js → cron-cli-DhUWcYdk.js} +6 -6
- package/dist/{daemon-cli-DZDIZ0M-.js → daemon-cli-Ctp4o7qg.js} +16 -16
- package/dist/{daemon-cli-MGPsiBcm.js → daemon-cli-DfLos4-7.js} +7 -7
- package/dist/{daemon-runtime-DJzKTLqv.js → daemon-runtime-CVte5WIX.js} +11 -11
- package/dist/{daemon-runtime-CxQ1vIcj.js → daemon-runtime-c0uXH4Dl.js} +1 -1
- package/dist/{deliver-DD8Syx3t.js → deliver-B-MU3Szq.js} +10 -10
- package/dist/{deliver-ClNVlrrz.js → deliver-BXVnDeja.js} +3 -3
- package/dist/{deliver-DRy_Piku.js → deliver-CT6KiDqO.js} +2 -2
- package/dist/{deliver-CUzkySCA.js → deliver-hf-WKyWd.js} +5 -5
- package/dist/{deps-CMw5TIE3.js → deps-BoJcAXaY.js} +2 -2
- package/dist/{deps-C0FUEdGv.js → deps-CaDXl7AZ.js} +2 -2
- package/dist/{devices-cli-B343ESvy.js → devices-cli-Cm7U1py9.js} +4 -4
- package/dist/{devices-cli-Dlpp2Bpf.js → devices-cli-DQJuKnqz.js} +13 -13
- package/dist/{directory-cli-DgdU5RWy.js → directory-cli-67kzd4I5.js} +5 -5
- package/dist/{directory-cli-DStVmSxy.js → directory-cli-BqVg6pQq.js} +14 -14
- package/dist/{dispatcher-BMY38O6j.js → dispatcher-Rf7W2dBd.js} +4 -4
- package/dist/{dns-cli-C1-d9JM_.js → dns-cli-BXAWgd6S.js} +11 -11
- package/dist/{dns-cli-edebp5SN.js → dns-cli-Dqj7O6Q_.js} +3 -3
- package/dist/{docs-cli-BxHh0OdP.js → docs-cli-CamBqzb5.js} +1 -1
- package/dist/{docs-cli-krgDVS3d.js → docs-cli-NONeCqqB.js} +6 -6
- package/dist/{doctor-B5xT9CV4.js → doctor-BkGTzeZj.js} +43 -43
- package/dist/{doctor-DuML_miY.js → doctor-Bytc7n21.js} +18 -18
- package/dist/entry.js +1 -1
- package/dist/{env-BxRc6wWv.js → env-DqiOM57_.js} +1 -1
- package/dist/{exec-Cv_Ofd1m.js → exec-BSMwiIMp.js} +1 -1
- package/dist/{exec-approvals-cli-QKMXtfNU.js → exec-approvals-cli-Bn-YY4Vi.js} +23 -23
- package/dist/{exec-approvals-cli-CmXG5_Q5.js → exec-approvals-cli-DhXj3hQX.js} +6 -6
- package/dist/extensionAPI.js +22 -22
- package/dist/{gateway-cli-V_dvW_hJ.js → gateway-cli-DRJQ8rTD.js} +135 -135
- package/dist/{gateway-cli-BpaPqRTM.js → gateway-cli-KkK4A0D8.js} +44 -44
- package/dist/{gateway-rpc-BHAE9xXJ.js → gateway-rpc-3B5y445n.js} +1 -1
- package/dist/{gateway-rpc-B4Wurkir.js → gateway-rpc-sLO5Psk7.js} +3 -3
- package/dist/{github-copilot-auth-CmgVG7Gb.js → github-copilot-auth-BJOEuPdX.js} +8 -8
- package/dist/{github-copilot-auth-BenHcDDG.js → github-copilot-auth-BtMu5l0m.js} +5 -5
- package/dist/{gmail-setup-utils-DSktB6l0.js → gmail-setup-utils-CHcssBOA.js} +1 -1
- package/dist/{gmail-setup-utils-TwmZ8mMs.js → gmail-setup-utils-CTDfMXTW.js} +3 -3
- package/dist/{health-format-DFhzeh1b.js → health-format-D6ogrdc9.js} +8 -8
- package/dist/{health-format-D151p64n.js → health-format-I_hcV0x3.js} +14 -14
- package/dist/{help-format-DAj7l5uV.js → help-format-rtF4QeRM.js} +1 -1
- package/dist/{hooks-cli-mEq9e_de.js → hooks-cli-BbeYZaya.js} +23 -23
- package/dist/{hooks-cli-CUjjzKcp.js → hooks-cli-rwazn-4_.js} +61 -61
- package/dist/{hooks-status-U2JQ8wza.js → hooks-status-B3y3_Ypf.js} +5 -5
- package/dist/{hooks-status-BrIvQK2p.js → hooks-status-Br-2bK2G.js} +1 -1
- package/dist/{image-BGhlwUcs.js → image-BVLNmAgW.js} +3 -3
- package/dist/{image-BByTK3t0.js → image-Ds4NLGPR.js} +3 -3
- package/dist/{image-k4cY_IKa.js → image-DxmrpIUn.js} +10 -10
- package/dist/{image-CHRalJF2.js → image-rOFfK3PJ.js} +3 -3
- package/dist/index.js +88 -88
- package/dist/{installs-CRSjQxbR.js → installs-C9WW834H.js} +21 -21
- package/dist/{links-C591fM9M.js → links-D6CUlrWZ.js} +1 -1
- package/dist/llm-slug-generator.js +10 -10
- package/dist/{loader-BTR4VGE9.js → loader-CZRfriRQ.js} +29 -29
- package/dist/{logging-MMRGFxGI.js → logging-BhXRnaAc.js} +1 -1
- package/dist/{login-qr-CYGosTZf.js → login-qr-CGEu5TU-.js} +1 -1
- package/dist/{login-qr-DxwM3Wcw.js → login-qr-CPEsT6dN.js} +1 -1
- package/dist/{login-qr-C2zCFC0_.js → login-qr-DH150tTp.js} +1 -1
- package/dist/{login-qr-CQLEtsFG.js → login-qr-DXiuhBc8.js} +5 -5
- package/dist/{logs-cli-D065Q9Ej.js → logs-cli-ClgkHnfT.js} +5 -5
- package/dist/{logs-cli-BJm2UpZ1.js → logs-cli-CoWZ_Lzs.js} +14 -14
- package/dist/{manager-CMTN4ZRM.js → manager-CcVYv0N5.js} +2 -2
- package/dist/{manager-C6GZI3No.js → manager-D6EbxDV4.js} +4 -4
- package/dist/{manager-BHbv6kNQ.js → manager-DOqexxfO.js} +15 -15
- package/dist/{manager-DM_QdSUV.js → manager-DYo4PlVM.js} +2 -2
- package/dist/{manifest-registry-3It8Z8yN.js → manifest-registry-C0ApY9d8.js} +1 -1
- package/dist/{message-channel-Cu61-7H6.js → message-channel-DIvXZ2w4.js} +1 -1
- package/dist/{model-auth-SZQ9GSFA.js → model-auth-ioeR_zLX.js} +1 -1
- package/dist/{model-selection-DSXkS3Uu.js → model-selection-CezC36lH.js} +1 -1
- package/dist/{model-selection-NPMD6wNp.js → model-selection-lT7g9ysC.js} +4 -4
- package/dist/{models-cli-BtWKT0MB.js → models-cli-C0_ekrlc.js} +45 -45
- package/dist/{models-cli-DcuyUIwv.js → models-cli-CwqJkYET.js} +23 -23
- package/dist/{node-cli-CO2WOpKq.js → node-cli-BxBGSuPE.js} +7 -7
- package/dist/{node-cli-CTm9wM4m.js → node-cli-SEsdX8-y.js} +29 -29
- package/dist/{node-service-CM5vkdIo.js → node-service-OjXvN5Ee.js} +1 -1
- package/dist/{nodes-cli-CCcFmR_s.js → nodes-cli-By6yeCTB.js} +5 -5
- package/dist/{nodes-cli-C8Lamzfr.js → nodes-cli-jihJL52P.js} +18 -18
- package/dist/{nodes-screen-lykd2cny.js → nodes-screen-A8K8mlHX.js} +2 -2
- package/dist/{note-5WqioBRA.js → note-B5QlVszL.js} +2 -2
- package/dist/{onboard-channels-B_k5nbDK.js → onboard-channels-DNlBXz4a.js} +7 -7
- package/dist/{onboard-channels-B_nZbDqG.js → onboard-channels-DYUwMESI.js} +4 -4
- package/dist/{onboard-skills-BeyUY0aV.js → onboard-skills-Djn43Fx2.js} +12 -12
- package/dist/{onboard-skills-BXZ4QIB4.js → onboard-skills-DwIf2ayU.js} +8 -8
- package/dist/{onboarding-C0eU8uVL.js → onboarding-DzjDuLJ0.js} +37 -37
- package/dist/{openclaw-root-9ILYSmJ9.js → openclaw-root-CBSq79BF.js} +5 -5
- package/dist/{openclaw-root-93W6UrUK.js → openclaw-root-Dw6gumSU.js} +3 -3
- package/dist/{pairing-cli-j81iKxmQ.js → pairing-cli-CRQDpj8f.js} +6 -6
- package/dist/{pairing-cli-CV3Fi8Ul.js → pairing-cli-XrcX3iD7.js} +14 -14
- package/dist/{pairing-labels-C1gYNpBx.js → pairing-labels-CWFEtSc3.js} +1 -1
- package/dist/{pairing-labels-CHxlh3tT.js → pairing-labels-K_6MMQA_.js} +1 -1
- package/dist/{pairing-store-C5bI2uOn.js → pairing-store-C6EhvkMA.js} +2 -2
- package/dist/{pairing-store-CO6umWFP.js → pairing-store-CgXR3ZWJ.js} +1 -1
- package/dist/{path-env-BgLvMbz_.js → path-env-CvL55Ntz.js} +1 -1
- package/dist/{paths-BIFtPbjx.js → paths-DL6EIRTw.js} +1 -1
- package/dist/{pi-embedded-CLZcbynY.js → pi-embedded-BtNK8X-L.js} +20 -20
- package/dist/{pi-embedded-helpers-DswdoKvB.js → pi-embedded-helpers-BbWRSUnc.js} +7 -7
- package/dist/{pi-embedded-helpers-aRE0ahwI.js → pi-embedded-helpers-Bkpd4fTr.js} +2 -2
- package/dist/{pi-embedded-helpers-C-Q-0H33.js → pi-embedded-helpers-Dx2dOx7N.js} +8 -8
- package/dist/{pi-embedded-helpers-DDVMJlkH.js → pi-embedded-helpers-WA1Uq3tV.js} +7 -7
- package/dist/{pi-tools.policy-B5XNSHCf.js → pi-tools.policy-CCQVTuZw.js} +4 -4
- package/dist/{plugin-auto-enable-DOx-bCgl.js → plugin-auto-enable-BvBr0yMV.js} +5 -5
- package/dist/{plugin-auto-enable-DwytyoHT.js → plugin-auto-enable-lZwe2yX5.js} +1 -1
- package/dist/{plugins-CXDOnert.js → plugins-5W5E71Ut.js} +4 -4
- package/dist/{plugins-B7F0Ly9G.js → plugins-Db5BiELK.js} +1 -1
- package/dist/{plugins-cli-CjittBBs.js → plugins-cli-l1TkWMZx.js} +42 -42
- package/dist/{plugins-cli-trxh13-k.js → plugins-cli-mSMFtuzL.js} +22 -22
- package/dist/{program-c0kZz_nN.js → program-CaHfkQ0p.js} +46 -46
- package/dist/{progress-DIQJt9Va.js → progress-COZ_ycun.js} +1 -1
- package/dist/{prompt-style-CjQRlDx4.js → prompt-style-CghhrkxS.js} +1 -1
- package/dist/{pw-ai-COWYvUfG.js → pw-ai-BtArcIEo.js} +7 -7
- package/dist/{pw-ai-C9e4lsYZ.js → pw-ai-BxJ-KCIy.js} +1 -1
- package/dist/{pw-ai-CsvaObGM.js → pw-ai-DMeydD_d.js} +1 -1
- package/dist/{qmd-manager-CAXjRwd6.js → qmd-manager-2PsT4eTr.js} +19 -19
- package/dist/{qmd-manager-BQh8e-46.js → qmd-manager-BzY2LQTT.js} +3 -3
- package/dist/{qmd-manager-BM-1x46_.js → qmd-manager-C9YWFeG6.js} +1 -1
- package/dist/{qmd-manager-Bs18wYIN.js → qmd-manager-CpsjQyaZ.js} +1 -1
- package/dist/{register.subclis-CFcnR7W8.js → register.subclis-C0SIOLju.js} +28 -28
- package/dist/{reply-BUHI5pXf.js → reply-swCg9iXH.js} +127 -127
- package/dist/{routes-CSlSTRsY.js → routes-B4QQiFju.js} +1 -1
- package/dist/{routes-CserrUab.js → routes-BqZyywjQ.js} +19 -19
- package/dist/{rpc-Bag0Uule.js → rpc-Blt6MJ4F.js} +1 -1
- package/dist/{rpc-C3XyDrXa.js → rpc-D_Pp8HB_.js} +3 -3
- package/dist/{run-main-DN34y3WG.js → run-main-D9PO9-U8.js} +49 -49
- package/dist/{sandbox-CTZxQzEn.js → sandbox-Aks-9EcZ.js} +5 -5
- package/dist/{sandbox-CGlEY-RT.js → sandbox-DxAKZfZd.js} +26 -26
- package/dist/{sandbox-cli-BzGe2cWN.js → sandbox-cli-149xhJPJ.js} +18 -18
- package/dist/{sandbox-cli-Cb18XBXE.js → sandbox-cli-C99Thxi8.js} +7 -7
- package/dist/{security-cli-BUg11RRK.js → security-cli-BclMtAZ6.js} +33 -33
- package/dist/{security-cli-CXyvz9Fo.js → security-cli-iqYLMOz3.js} +11 -11
- package/dist/{server-context-8Qt35QdF.js → server-context-DT3SRl5J.js} +5 -5
- package/dist/{server-node-events-BNw4w95N.js → server-node-events-BbWvPZe5.js} +23 -23
- package/dist/{server-node-events-D5itxoZj.js → server-node-events-CUQHYPok.js} +39 -39
- package/dist/{service-Cd4BxKuo.js → service-DPsnpYzk.js} +16 -16
- package/dist/{service-audit-BRMQq36C.js → service-audit-DWlZlYl6.js} +13 -13
- package/dist/{service-audit-BpQrn5Ks.js → service-audit-x6jCN-6a.js} +1 -1
- package/dist/{shared-ILguacOr.js → shared-DQO8Xdjp.js} +2 -2
- package/dist/{shared-gOyV38rM.js → shared-DvAp_MsR.js} +2 -2
- package/dist/{skill-scanner-DrVEHfC6.js → skill-scanner-zYmZ2Coy.js} +5 -5
- package/dist/{skills-C_rNI0Jc.js → skills-D5UZZZSY.js} +1 -1
- package/dist/{skills-cli-DHghbc62.js → skills-cli-3PxJU4R0.js} +12 -12
- package/dist/{skills-cli-vaRLo4cS.js → skills-cli-ggyLBtAY.js} +5 -5
- package/dist/{skills-Bau1zXIA.js → skills-pqbmJf1e.js} +6 -6
- package/dist/{skills-status-CJMt5NLm.js → skills-status-DjtPPMnY.js} +1 -1
- package/dist/{skills-status-BkAjWh29.js → skills-status-d-tVLIaC.js} +3 -3
- package/dist/{sqlite-Btrgi7-j.js → sqlite-CDfAET9Y.js} +12 -12
- package/dist/{sqlite-BSGTqtyx.js → sqlite-HepBVDoX.js} +1 -1
- package/dist/{status-DZ9rJ3dY.js → status-BoK_Exgh.js} +20 -20
- package/dist/{status-BjRAcHpu.js → status-DADQEBbg.js} +3 -3
- package/dist/{status-BiwDwls4.js → status-DJYrqIJa.js} +4 -4
- package/dist/{subsystem-Bh1Y_6Uv.js → subsystem-BbfPHMjH.js} +2 -2
- package/dist/{system-cli-CdXY44WQ.js → system-cli-Clqsx8U5.js} +5 -5
- package/dist/{system-cli-DVES5fvn.js → system-cli-JNECg6i0.js} +14 -14
- package/dist/{systemd-D6wTPnHi.js → systemd-Dd6y2wnN.js} +7 -7
- package/dist/{systemd-linger-BxjTrgoH.js → systemd-linger-CblmG_UI.js} +2 -2
- package/dist/{table-DEnmtvl5.js → table-DTm1PXe-.js} +2 -2
- package/dist/{tailscale-Cu-2HNvU.js → tailscale-WFi900xf.js} +2 -2
- package/dist/{tool-display-DskiU8Kt.js → tool-display-DwOJbBjC.js} +1 -1
- package/dist/{tui-Dvvu-l5k.js → tui-BdJWZdto.js} +5 -5
- package/dist/{tui-_kotMBV7.js → tui-CJPKiYWz.js} +9 -9
- package/dist/{tui-cli-Cr_Ne_S0.js → tui-cli-D3n-O9zB.js} +11 -11
- package/dist/{tui-cli-BenxYvT_.js → tui-cli-DuNJ1OqY.js} +23 -23
- package/dist/{tui-formatters-B4pCnF0N.js → tui-formatters-C-dAVvRi.js} +4 -4
- package/dist/{tui-formatters-BxM6uwtn.js → tui-formatters-C3NarH24.js} +3 -3
- package/dist/{update-JB16aPIY.js → update-DymgbepH.js} +5 -5
- package/dist/{update-cli-C-TWZbOn.js → update-cli-AcMtIZbG.js} +69 -69
- package/dist/{update-cli-BHKdzY2U.js → update-cli-B-3XbteQ.js} +36 -36
- package/dist/{update-runner-7YSPb3A4.js → update-runner-B7twibOm.js} +8 -8
- package/dist/{update-runner-D0k9HftN.js → update-runner-BiHI3sto.js} +29 -29
- package/dist/{utils-es4ygvQ-.js → utils-l-o5S4c-.js} +1 -1
- package/dist/{webhooks-cli-BvkUb4ZO.js → webhooks-cli-CVIE9TtX.js} +5 -5
- package/dist/{webhooks-cli-CZKnZxrS.js → webhooks-cli-DjdfcB16.js} +11 -11
- package/dist/{widearea-dns-2ah0bkAj.js → widearea-dns-mquEd9kr.js} +1 -1
- package/dist/{ws-log-D7MkvKhg.js → ws-log-B2H596h5.js} +1 -1
- package/dist/{wsl-uqfIGnkl.js → wsl-Cwo7X0Un.js} +1 -1
- package/package.json +1 -1
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import { n as DEFAULT_GATEWAY_PORT, u as resolveGatewayPort } from "./paths-DVBShlw6.js";
|
|
2
|
-
import { D as info, L as isRich, R as theme, c as defaultRuntime, l as restoreTerminalState } from "./subsystem-
|
|
3
|
-
import { b as resolveUserPath, g as pathExists, w as sleep } from "./utils-
|
|
4
|
-
import { At as probeGatewayReachable, Bt as getRemoteSkillEligibility, Ct as formatControlUiSshHint, Dr as peekSystemEvents, Dt as normalizeGatewayTokenInput, Ft as waitForGatewayReachable, J as summarizeRestartSentinel, Mt as resolveControlUiLinks, Ot as openUrl, Pt as summarizeExistingConfig, Rt as normalizeControlUiBasePath, St as ensureWorkspaceAndSessions, Tt as handleReset, Vn as getMemorySearchManager, a as buildChannelSummary, br as lookupContextTokens, dt as loadProviderUsageSummary, f as sha256HexPrefix, ft as formatUsageReportLines, h as listAgentsForGateway, jt as randomToken, kt as printWizardHeader, q as readRestartSentinel, vt as DEFAULT_WORKSPACE, xt as detectBrowserOpenSupport, yt as applyWizardMetadata } from "./reply-
|
|
2
|
+
import { D as info, L as isRich, R as theme, c as defaultRuntime, l as restoreTerminalState } from "./subsystem-BbfPHMjH.js";
|
|
3
|
+
import { b as resolveUserPath, g as pathExists, w as sleep } from "./utils-l-o5S4c-.js";
|
|
4
|
+
import { At as probeGatewayReachable, Bt as getRemoteSkillEligibility, Ct as formatControlUiSshHint, Dr as peekSystemEvents, Dt as normalizeGatewayTokenInput, Ft as waitForGatewayReachable, J as summarizeRestartSentinel, Mt as resolveControlUiLinks, Ot as openUrl, Pt as summarizeExistingConfig, Rt as normalizeControlUiBasePath, St as ensureWorkspaceAndSessions, Tt as handleReset, Vn as getMemorySearchManager, a as buildChannelSummary, br as lookupContextTokens, dt as loadProviderUsageSummary, f as sha256HexPrefix, ft as formatUsageReportLines, h as listAgentsForGateway, jt as randomToken, kt as printWizardHeader, q as readRestartSentinel, vt as DEFAULT_WORKSPACE, xt as detectBrowserOpenSupport, yt as applyWizardMetadata } from "./reply-swCg9iXH.js";
|
|
5
5
|
import { l as normalizeAgentId, y as parseAgentSessionKey } from "./session-key-BWxPj0z_.js";
|
|
6
|
-
import { n as runExec } from "./exec-
|
|
7
|
-
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-
|
|
8
|
-
import { c as resolveDefaultAgentId, h as DEFAULT_IDENTITY_FILENAME, p as DEFAULT_BOOTSTRAP_FILENAME, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
9
|
-
import { Dt as DEFAULT_MODEL, Et as DEFAULT_CONTEXT_TOKENS, Ot as DEFAULT_PROVIDER, d as resolveConfiguredModelRef, ht as ensureAuthProfileStore } from "./model-selection-
|
|
6
|
+
import { n as runExec } from "./exec-BSMwiIMp.js";
|
|
7
|
+
import { t as resolveOpenClawPackageRoot } from "./openclaw-root-CBSq79BF.js";
|
|
8
|
+
import { c as resolveDefaultAgentId, h as DEFAULT_IDENTITY_FILENAME, p as DEFAULT_BOOTSTRAP_FILENAME, r as resolveAgentDir, s as resolveAgentWorkspaceDir } from "./agent-scope-CPiO6Aw7.js";
|
|
9
|
+
import { Dt as DEFAULT_MODEL, Et as DEFAULT_CONTEXT_TOKENS, Ot as DEFAULT_PROVIDER, d as resolveConfiguredModelRef, ht as ensureAuthProfileStore } from "./model-selection-lT7g9ysC.js";
|
|
10
10
|
import { r as resolveCliName, t as formatCliCommand } from "./command-format-ChfKqObn.js";
|
|
11
|
-
import { M as VERSION, c as writeConfigFile, i as loadConfig, o as readConfigFileSnapshot } from "./config-
|
|
12
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
13
|
-
import { L as resolveMainSessionKey, d as loadSessionStore } from "./sandbox-
|
|
14
|
-
import { d as inspectPortUsage, f as resolveLsofCommandSync, p as formatPortDiagnostics } from "./chrome-
|
|
11
|
+
import { M as VERSION, c as writeConfigFile, i as loadConfig, o as readConfigFileSnapshot } from "./config-DiNnQcwe.js";
|
|
12
|
+
import { n as listChannelPlugins } from "./plugins-5W5E71Ut.js";
|
|
13
|
+
import { L as resolveMainSessionKey, d as loadSessionStore } from "./sandbox-DxAKZfZd.js";
|
|
14
|
+
import { d as inspectPortUsage, f as resolveLsofCommandSync, p as formatPortDiagnostics } from "./chrome-XHJ9uNgs.js";
|
|
15
15
|
import { o as resolveStorePath } from "./paths-Bkhd_qY8.js";
|
|
16
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
16
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-Ccyb4kQR.js";
|
|
17
17
|
import { r as formatDurationPrecise } from "./format-duration-CEmFWLyX.js";
|
|
18
18
|
import { n as formatTimeAgo } from "./format-relative-Db7eqEu8.js";
|
|
19
|
-
import { n as withProgress } from "./progress-
|
|
20
|
-
import { a as findTailscaleBinary, o as getTailnetHostname, s as readTailscaleStatusJson } from "./tailscale-
|
|
21
|
-
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
19
|
+
import { n as withProgress } from "./progress-COZ_ycun.js";
|
|
20
|
+
import { a as findTailscaleBinary, o as getTailnetHostname, s as readTailscaleStatusJson } from "./tailscale-WFi900xf.js";
|
|
21
|
+
import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-CVte5WIX.js";
|
|
22
22
|
import { t as resolveChannelDefaultAccountId } from "./helpers-C89IG08W.js";
|
|
23
|
-
import { n as logConfigUpdated } from "./logging-
|
|
23
|
+
import { n as logConfigUpdated } from "./logging-BhXRnaAc.js";
|
|
24
24
|
import { t as WizardCancelledError } from "./prompts--d-6l5Ln.js";
|
|
25
|
-
import { _ as promptAuthChoiceGrouped, a as promptCustomApiConfig, c as applyPrimaryModel, d as resolvePreferredProviderForAuthChoice, f as warnIfModelConfigLooksOff, l as promptDefaultModel, p as applyAuthChoice, r as promptRemoteGatewayConfig, t as setupSkills } from "./onboard-skills-
|
|
26
|
-
import { n as setupChannels } from "./onboard-channels-
|
|
27
|
-
import { l as healthCommand, n as ensureControlUiAssetsBuilt, s as formatHealthChannelLines, t as formatHealthCheckFailure, u as resolveHeartbeatSummaryForAgent } from "./health-format-
|
|
28
|
-
import { C as resolveEffectiveUpdateChannel, S as normalizeUpdateChannel, d as formatUpdateOneLiner, f as getUpdateCheckResult, h as compareSemverStrings, l as ensureCompletionCacheExists, m as checkUpdateStatus, p as resolveUpdateAvailability, s as checkShellCompletionStatus, u as formatUpdateAvailableHint, x as formatUpdateChannelLabel } from "./update-runner-
|
|
29
|
-
import { i as probeGateway, t as runSecurityAudit } from "./audit-
|
|
30
|
-
import { t as renderTable } from "./table-
|
|
31
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
32
|
-
import { o as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-
|
|
33
|
-
import { r as isSystemdUserServiceAvailable } from "./systemd-
|
|
34
|
-
import { o as readLastGatewayErrorLine } from "./service-audit-
|
|
35
|
-
import { t as resolveNodeService } from "./node-service-
|
|
36
|
-
import { t as collectChannelStatusIssues } from "./channels-status-issues-
|
|
25
|
+
import { _ as promptAuthChoiceGrouped, a as promptCustomApiConfig, c as applyPrimaryModel, d as resolvePreferredProviderForAuthChoice, f as warnIfModelConfigLooksOff, l as promptDefaultModel, p as applyAuthChoice, r as promptRemoteGatewayConfig, t as setupSkills } from "./onboard-skills-Djn43Fx2.js";
|
|
26
|
+
import { n as setupChannels } from "./onboard-channels-DNlBXz4a.js";
|
|
27
|
+
import { l as healthCommand, n as ensureControlUiAssetsBuilt, s as formatHealthChannelLines, t as formatHealthCheckFailure, u as resolveHeartbeatSummaryForAgent } from "./health-format-I_hcV0x3.js";
|
|
28
|
+
import { C as resolveEffectiveUpdateChannel, S as normalizeUpdateChannel, d as formatUpdateOneLiner, f as getUpdateCheckResult, h as compareSemverStrings, l as ensureCompletionCacheExists, m as checkUpdateStatus, p as resolveUpdateAvailability, s as checkShellCompletionStatus, u as formatUpdateAvailableHint, x as formatUpdateChannelLabel } from "./update-runner-BiHI3sto.js";
|
|
29
|
+
import { i as probeGateway, t as runSecurityAudit } from "./audit-CGlFTiEB.js";
|
|
30
|
+
import { t as renderTable } from "./table-DTm1PXe-.js";
|
|
31
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-d-tVLIaC.js";
|
|
32
|
+
import { o as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-DPsnpYzk.js";
|
|
33
|
+
import { r as isSystemdUserServiceAvailable } from "./systemd-Dd6y2wnN.js";
|
|
34
|
+
import { o as readLastGatewayErrorLine } from "./service-audit-DWlZlYl6.js";
|
|
35
|
+
import { t as resolveNodeService } from "./node-service-OjXvN5Ee.js";
|
|
36
|
+
import { t as collectChannelStatusIssues } from "./channels-status-issues-DmIFbKRs.js";
|
|
37
37
|
import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-DLOJPZmo.js";
|
|
38
|
-
import { r as installCompletion } from "./completion-cli-
|
|
39
|
-
import { t as buildWorkspaceHookStatus } from "./hooks-status-
|
|
40
|
-
import { t as runTui } from "./tui-
|
|
38
|
+
import { r as installCompletion } from "./completion-cli-DZlpcsto.js";
|
|
39
|
+
import { t as buildWorkspaceHookStatus } from "./hooks-status-B3y3_Ypf.js";
|
|
40
|
+
import { t as runTui } from "./tui-CJPKiYWz.js";
|
|
41
41
|
import fs from "node:fs";
|
|
42
42
|
import os from "node:os";
|
|
43
43
|
import path from "node:path";
|
|
44
|
-
import
|
|
44
|
+
import fsPromises from "node:fs/promises";
|
|
45
45
|
import { execFileSync, spawnSync } from "node:child_process";
|
|
46
46
|
|
|
47
47
|
//#region src/cli/ports.ts
|
|
@@ -382,7 +382,7 @@ function resolveOsSummary() {
|
|
|
382
382
|
//#region src/commands/status-all/agents.ts
|
|
383
383
|
async function fileExists$1(p) {
|
|
384
384
|
try {
|
|
385
|
-
await
|
|
385
|
+
await fsPromises.access(p);
|
|
386
386
|
return true;
|
|
387
387
|
} catch {
|
|
388
388
|
return false;
|
|
@@ -745,7 +745,7 @@ async function buildChannelsTable(cfg, opts) {
|
|
|
745
745
|
//#endregion
|
|
746
746
|
//#region src/commands/status-all/gateway.ts
|
|
747
747
|
async function readFileTailLines(filePath, maxLines) {
|
|
748
|
-
const raw = await
|
|
748
|
+
const raw = await fsPromises.readFile(filePath, "utf8").catch(() => "");
|
|
749
749
|
if (!raw.trim()) return [];
|
|
750
750
|
const lines = raw.replace(/\r/g, "").split("\n");
|
|
751
751
|
return lines.slice(Math.max(0, lines.length - maxLines)).map((line) => line.trimEnd()).filter((line) => line.trim().length > 0);
|
|
@@ -1575,7 +1575,7 @@ function pickGatewaySelfPresence(presence) {
|
|
|
1575
1575
|
//#region src/commands/status.agent-local.ts
|
|
1576
1576
|
async function fileExists(p) {
|
|
1577
1577
|
try {
|
|
1578
|
-
await
|
|
1578
|
+
await fsPromises.access(p);
|
|
1579
1579
|
return true;
|
|
1580
1580
|
} catch {
|
|
1581
1581
|
return false;
|
|
@@ -2535,7 +2535,7 @@ async function finalizeOnboardingWizard(options) {
|
|
|
2535
2535
|
const systemdAvailable = process.platform === "linux" ? await isSystemdUserServiceAvailable() : true;
|
|
2536
2536
|
if (process.platform === "linux" && !systemdAvailable) await prompter.note("Systemd user services are unavailable. Skipping lingering checks and service install.", "Systemd");
|
|
2537
2537
|
if (process.platform === "linux" && systemdAvailable) {
|
|
2538
|
-
const { ensureSystemdUserLingerInteractive } = await import("./systemd-linger-
|
|
2538
|
+
const { ensureSystemdUserLingerInteractive } = await import("./systemd-linger-CblmG_UI.js").then((n) => n.r);
|
|
2539
2539
|
await ensureSystemdUserLingerInteractive({
|
|
2540
2540
|
runtime,
|
|
2541
2541
|
prompter: {
|
|
@@ -2684,7 +2684,7 @@ async function finalizeOnboardingWizard(options) {
|
|
|
2684
2684
|
});
|
|
2685
2685
|
const gatewayStatusLine = gatewayProbe.ok ? "Gateway: reachable" : `Gateway: not detected${gatewayProbe.detail ? ` (${gatewayProbe.detail})` : ""}`;
|
|
2686
2686
|
const bootstrapPath = path.join(resolveUserPath(options.workspaceDir), DEFAULT_BOOTSTRAP_FILENAME);
|
|
2687
|
-
const hasBootstrap = await
|
|
2687
|
+
const hasBootstrap = await fsPromises.access(bootstrapPath).then(() => true).catch(() => false);
|
|
2688
2688
|
await prompter.note([
|
|
2689
2689
|
`Web UI: ${links.httpUrl}`,
|
|
2690
2690
|
settings.authMode === "token" && settings.gatewayToken ? `Web UI (with token): ${authedUrl}` : void 0,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import path from "node:path";
|
|
2
|
-
import fs from "node:fs";
|
|
3
|
-
import fs$1 from "node:fs/promises";
|
|
4
1
|
import { fileURLToPath } from "node:url";
|
|
2
|
+
import fs from "node:fs";
|
|
3
|
+
import path from "node:path";
|
|
4
|
+
import fsPromises from "node:fs/promises";
|
|
5
5
|
|
|
6
6
|
//#region src/infra/openclaw-root.ts
|
|
7
|
-
const CORE_PACKAGE_NAMES = new Set(["openclaw"]);
|
|
7
|
+
const CORE_PACKAGE_NAMES = new Set(["openclaw", "activeclaw"]);
|
|
8
8
|
async function readPackageName(dir) {
|
|
9
9
|
try {
|
|
10
|
-
const raw = await
|
|
10
|
+
const raw = await fsPromises.readFile(path.join(dir, "package.json"), "utf-8");
|
|
11
11
|
const parsed = JSON.parse(raw);
|
|
12
12
|
return typeof parsed.name === "string" ? parsed.name : null;
|
|
13
13
|
} catch {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { fileURLToPath } from "node:url";
|
|
2
|
-
import fs from "node:fs";
|
|
3
1
|
import path from "node:path";
|
|
2
|
+
import fs from "node:fs";
|
|
4
3
|
import fs$1 from "node:fs/promises";
|
|
4
|
+
import { fileURLToPath } from "node:url";
|
|
5
5
|
|
|
6
6
|
//#region src/infra/openclaw-root.ts
|
|
7
|
-
const CORE_PACKAGE_NAMES = new Set(["openclaw"]);
|
|
7
|
+
const CORE_PACKAGE_NAMES = new Set(["openclaw", "activeclaw"]);
|
|
8
8
|
async function readPackageName(dir) {
|
|
9
9
|
try {
|
|
10
10
|
const raw = await fs$1.readFile(path.join(dir, "package.json"), "utf-8");
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { k as theme, p as defaultRuntime } from "./entry.js";
|
|
2
|
-
import "./auth-profiles-
|
|
2
|
+
import "./auth-profiles-Bv1AEm-Y.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-ayFsmwwz.js";
|
|
4
4
|
import "./utils-Dk86IbEs.js";
|
|
5
5
|
import "./exec-B8JKbXKW.js";
|
|
6
|
-
import "./agent-scope-
|
|
6
|
+
import "./agent-scope-DQuy3dwI.js";
|
|
7
7
|
import "./github-copilot-token-SLWintYd.js";
|
|
8
|
-
import { i as loadConfig } from "./config-
|
|
8
|
+
import { i as loadConfig } from "./config-B00lvFac.js";
|
|
9
9
|
import "./manifest-registry-D5SiA3xq.js";
|
|
10
10
|
import { t as formatDocsLink } from "./links-7M-j83As.js";
|
|
11
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
11
|
+
import { r as normalizeChannelId } from "./plugins-Db5BiELK.js";
|
|
12
12
|
import "./logging-CfEk_PnX.js";
|
|
13
13
|
import "./accounts-DbzMEfKN.js";
|
|
14
|
-
import { c as listPairingChannels, l as notifyPairingApproved, n as approveChannelPairingCode, r as listChannelPairingRequests } from "./pairing-store-
|
|
15
|
-
import { t as resolvePairingIdLabel } from "./pairing-labels-
|
|
14
|
+
import { c as listPairingChannels, l as notifyPairingApproved, n as approveChannelPairingCode, r as listChannelPairingRequests } from "./pairing-store-CgXR3ZWJ.js";
|
|
15
|
+
import { t as resolvePairingIdLabel } from "./pairing-labels-CWFEtSc3.js";
|
|
16
16
|
import { t as renderTable } from "./table-cCoGqLsk.js";
|
|
17
17
|
|
|
18
18
|
//#region src/cli/pairing-cli.ts
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import "./paths-DVBShlw6.js";
|
|
2
|
-
import { R as theme, c as defaultRuntime } from "./subsystem-
|
|
3
|
-
import "./utils-
|
|
4
|
-
import "./exec-
|
|
5
|
-
import "./agent-scope-
|
|
6
|
-
import "./model-selection-
|
|
2
|
+
import { R as theme, c as defaultRuntime } from "./subsystem-BbfPHMjH.js";
|
|
3
|
+
import "./utils-l-o5S4c-.js";
|
|
4
|
+
import "./exec-BSMwiIMp.js";
|
|
5
|
+
import "./agent-scope-CPiO6Aw7.js";
|
|
6
|
+
import "./model-selection-lT7g9ysC.js";
|
|
7
7
|
import "./github-copilot-token-BW-SEg7E.js";
|
|
8
8
|
import { t as formatCliCommand } from "./command-format-ChfKqObn.js";
|
|
9
9
|
import "./boolean-BgXe2hyu.js";
|
|
10
|
-
import "./env-
|
|
11
|
-
import { i as loadConfig } from "./config-
|
|
12
|
-
import "./manifest-registry-
|
|
13
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
10
|
+
import "./env-DqiOM57_.js";
|
|
11
|
+
import { i as loadConfig } from "./config-DiNnQcwe.js";
|
|
12
|
+
import "./manifest-registry-C0ApY9d8.js";
|
|
13
|
+
import { r as normalizeChannelId } from "./plugins-5W5E71Ut.js";
|
|
14
14
|
import "./logging-BzvBIA3Y.js";
|
|
15
|
-
import "./accounts-
|
|
16
|
-
import { c as listPairingChannels, l as notifyPairingApproved, n as approveChannelPairingCode, r as listChannelPairingRequests } from "./pairing-store-
|
|
17
|
-
import { t as formatDocsLink } from "./links-
|
|
18
|
-
import { t as resolvePairingIdLabel } from "./pairing-labels-
|
|
19
|
-
import { t as renderTable } from "./table-
|
|
15
|
+
import "./accounts-xJh3pJei.js";
|
|
16
|
+
import { c as listPairingChannels, l as notifyPairingApproved, n as approveChannelPairingCode, r as listChannelPairingRequests } from "./pairing-store-C6EhvkMA.js";
|
|
17
|
+
import { t as formatDocsLink } from "./links-D6CUlrWZ.js";
|
|
18
|
+
import { t as resolvePairingIdLabel } from "./pairing-labels-K_6MMQA_.js";
|
|
19
|
+
import { t as renderTable } from "./table-DTm1PXe-.js";
|
|
20
20
|
|
|
21
21
|
//#region src/cli/pairing-cli.ts
|
|
22
22
|
/** Parse channel, allowing extension channels not in core registry. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as resolveStateDir, m as resolveOAuthDir, y as resolveRequiredHomeDir } from "./paths-DVBShlw6.js";
|
|
2
|
-
import { x as safeParseJson } from "./utils-
|
|
3
|
-
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-
|
|
2
|
+
import { x as safeParseJson } from "./utils-l-o5S4c-.js";
|
|
3
|
+
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-5W5E71Ut.js";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import path from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { J as resolveOAuthDir, X as resolveStateDir, pt as resolveRequiredHomeDir } from "./entry.js";
|
|
2
2
|
import { b as safeParseJson } from "./utils-Dk86IbEs.js";
|
|
3
|
-
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-
|
|
3
|
+
import { n as listChannelPlugins, t as getChannelPlugin } from "./plugins-Db5BiELK.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import fs from "node:fs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as expandHomePrefix, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-rb94mUrR.js";
|
|
2
|
-
import { M as normalizeAgentId, T as DEFAULT_AGENT_ID } from "./agent-scope-
|
|
2
|
+
import { M as normalizeAgentId, T as DEFAULT_AGENT_ID } from "./agent-scope-BEf5crnU.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
|
|
@@ -2,26 +2,26 @@ import { a as resolveOAuthDir, i as resolveGatewayPort, n as resolveConfigPath,
|
|
|
2
2
|
import { _ as resolveThreadParentSessionKey, a as buildAgentPeerSessionKey, c as normalizeAccountId$3, d as resolveAgentIdFromSessionKey, f as resolveThreadSessionKeys, g as parseAgentSessionKey, h as isSubagentSessionKey, i as buildAgentMainSessionKey, l as normalizeAgentId, m as isAcpSessionKey, n as DEFAULT_AGENT_ID, o as buildGroupHistoryKey, p as sanitizeAgentId, r as DEFAULT_MAIN_KEY, s as classifySessionKeyShape, t as DEFAULT_ACCOUNT_ID$1, u as normalizeMainKey } from "./session-key-nXYQSv-a.js";
|
|
3
3
|
import { A as shouldLogVerbose, C as truncateUtf16Safe, D as logVerbose, F as theme, I as getChildLogger, M as warn, N as colorize, P as isRich, S as toWhatsappJid, T as info, V as normalizeLogLevel, _ as safeParseJson, a as ensureDir$3, b as sleep, c as isPlainObject, d as jidToE164, f as normalizeE164, g as resolveUserPath, h as resolveJidToE164, j as success, k as setVerbose, l as isRecord, n as clamp, o as escapeRegExp, r as clampInt, s as formatTerminalLink, t as CONFIG_DIR, u as isSelfChatMode, v as shortenHomeInString, w as danger, x as sliceUtf16Safe, y as shortenHomePath } from "./utils-dp_OM900.js";
|
|
4
4
|
import { C as setActivePluginRegistry, S as requireActivePluginRegistry, a as logDebug, c as logWarn, d as clearActiveProgressLine, f as registerActiveProgressLine, h as CHAT_CHANNEL_ORDER, i as spawnWithFallback, l as createSubsystemLogger, n as runExec, o as logError, p as unregisterActiveProgressLine, r as formatSpawnError, s as logInfo, t as runCommandWithTimeout, u as defaultRuntime, v as normalizeAnyChannelId, x as getActivePluginRegistry, y as normalizeChannelId } from "./exec-CijMSZd9.js";
|
|
5
|
-
import { S as resolveOpenClawPackageRoot, b as filterBootstrapFilesForSession, c as resolveDefaultAgentId, f as DEFAULT_AGENT_WORKSPACE_DIR, i as resolveAgentModelFallbacksOverride, l as resolveSessionAgentId, n as resolveAgentConfig, o as resolveAgentSkillsFilter, p as DEFAULT_BOOTSTRAP_FILENAME, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, u as resolveSessionAgentIds, x as loadWorkspaceBootstrapFiles, y as ensureAgentWorkspace } from "./agent-scope-
|
|
6
|
-
import { A as chunkMarkdownIR, B as chunkMarkdownText, C as throwIfAborted, D as resolveFetch, E as parseInlineDirectives$1, F as MediaFetchError, G as resolveTextChunkLimit, H as chunkText, I as fetchRemoteMedia, J as parseFenceSpans, K as findFenceSpanAt, L as fetchWithSsrFGuard, M as markdownToIRWithMeta, N as loadWebMedia, O as wrapFetchWithAbortSignal, P as loadWebMediaRaw, R as resolveMarkdownTableMode, S as normalizeTargetForProvider, T as splitMediaFromOutput, U as chunkTextWithMode, V as chunkMarkdownTextWithMode, W as resolveChunkMode, X as SILENT_REPLY_TOKEN, Y as HEARTBEAT_TOKEN, Z as isSilentReplyText, _ as signalCheck, b as buildTargetResolverSignature, c as applyReplyThreading, d as shouldSuppressMessagingToolReplies, f as createReplyToModeFilterForChannel, g as sendTypingSignal, h as sendReadReceiptSignal, j as markdownToIR, k as fetchWithTimeout, l as filterMessagingToolDuplicates, m as sendMessageSignal, o as normalizeReplyPayloadsForDelivery, p as resolveReplyToMode, q as isSafeFenceBreak, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as isRenderablePayload, v as signalRpcRequest, w as parseReplyDirectives, x as normalizeChannelTargetInput, y as streamSignalEvents, z as chunkByNewline } from "./deliver-
|
|
7
|
-
import { $ as isCacheEnabled, $t as expandToolGroups, A as isCloudCodeAssistFormatError, An as resolveSignalAccount, At as getImageMetadata, B as parseImageSizeError, Bn as listBindings, C as BILLING_ERROR_USER_MESSAGE, Cn as isAudioFileName, Ct as resolveConversationLabel, D as getApiErrorPayloadFingerprint, Dt as resolveBrowserConfig, E as formatRawAssistantErrorForUi, En as MAX_IMAGE_BYTES, Et as registerBrowserRoutes, F as isLikelyContextOverflowError, Fn as normalizeWhatsAppTarget, Ft as saveMediaBuffer, G as appendAssistantMessageToSessionTranscript, Gn as listEnabledDiscordAccounts, Gt as resolvePluginSkillDirs, H as ensureSandboxWorkspaceForSession, Hn as resolveSlackAppToken, Ht as buildWorkspaceSkillSnapshot, I as isRateLimitAssistantError, In as listEnabledTelegramAccounts, It as SsrFBlockedError, J as readSessionUpdatedAt, Jt as resolveSandboxConfigForAgent, Kn as resolveDiscordAccount, Kt as applySkillEnvOverrides, L as isRawApiErrorPayload, Ln as listTelegramAccountIds, M as isContextOverflowError, Mn as listChannelPlugins, N as isFailoverAssistantError, Nn as normalizeChannelId$1, Nt as resizeToJpeg, O as isAuthAssistantError, On as mediaKindFromMime, Ot as resolveProfile, P as isFailoverErrorMessage, Pn as isWhatsAppGroupJid, Pt as getMediaDir, Q as updateSessionStoreEntry, Qt as expandPolicyWithPluginGroups, R as isTimeoutErrorMessage, Rn as resolveTelegramAccount, S as isGoogleModelApi, Sn as imageMimeFromFormat, St as resolveChannelGroupToolsPolicy, T as formatAssistantErrorText, Tn as kindFromMime, Tt as createBrowserRouteContext, U as resolveSandboxContext, Un as resolveSlackBotToken, Ut as loadWorkspaceSkillEntries, V as sanitizeUserFacingText, Vn as resolveSlackAccount, Vt as buildWorkspaceSkillCommandSpecs, W as resolveSandboxRuntimeStatus, Wn as normalizeChatType, Wt as resolveSkillsPromptForRun, X as updateLastRoute, Xt as buildPluginToolGroups, Y as recordSessionMetaFromInbound, Yt as applyOwnerOnlyToolPolicy, Z as updateSessionStore, Zt as collectExplicitAllowlist, _ as sanitizeSessionMessagesImages, _n as GATEWAY_CLIENT_MODES, _t as getChannelDock, a as formatXHighModelHint, an as resolveBootstrapMaxChars, at as normalizeSessionDeliveryFields, b as downgradeOpenAIReasoningBlocks, bn as extensionForMime, bt as resolveChannelGroupPolicy, c as normalizeReasoningLevel, cn as isDeliverableMessageChannel, ct as evaluateSessionFreshness, d as normalizeVerboseLevel, dn as isMarkdownCapableMessageChannel, dt as resolveSessionResetType, en as normalizeToolName, et as resolveCacheTtlMs$1, f as resolveResponseUsageMode, fn as listDeliverableMessageChannels, ft as resolveThreadFlag, g as normalizeTextForComparison, gn as GATEWAY_CLIENT_IDS, gt as deriveSessionMetaPatch, h as isMessagingToolDuplicateNormalized, hn as resolveMessageChannel, ht as resolveMainSessionKey, i as formatThinkingLevels, in as ensureSessionHeader, it as normalizeDeliveryContext, j as isCompactionFailureError, jn as getChannelPlugin, k as isBillingAssistantError, kn as listEnabledSignalAccounts, l as normalizeThinkLevel, lt as resolveChannelResetConfig, mn as resolveGatewayMessageChannel, n as validateGeminiTurns, nn as stripPluginOnlyAllowlist, nt as deliveryContextKey, o as listThinkingLevels, on as sanitizeGoogleTurnOrdering, p as supportsXHighThinking, pn as normalizeMessageChannel, pt as DEFAULT_RESET_TRIGGERS, q as loadSessionStore, qn as normalizeDiscordToken, qt as applySkillEnvOverridesFromSnapshot, r as pickFallbackThinkingLevel, rn as buildBootstrapContextFiles, rt as mergeDeliveryContext, s as normalizeElevatedLevel, sn as INTERNAL_MESSAGE_CHANNEL, st as resolveSessionKey$1, t as validateAnthropicTurns, tn as resolveToolProfilePolicy, tt as deliveryContextFromSession, u as normalizeUsageDisplay, un as isInternalMessageChannel, ut as resolveSessionResetPolicy, v as sanitizeImageBlocks, vn as GATEWAY_CLIENT_NAMES, vt as listChannelDocks, w as classifyFailoverReason, wn as isGifMedia, wt as resolveGroupSessionKey, x as isAntigravityClaude, xn as getFileExtension, xt as resolveChannelGroupRequireMention, y as sanitizeToolResultImages, yn as detectMime, yt as resolveIMessageAccount, z as parseImageDimensionError, zn as resolveTelegramToken } from "./pi-embedded-helpers-
|
|
5
|
+
import { S as resolveOpenClawPackageRoot, b as filterBootstrapFilesForSession, c as resolveDefaultAgentId, f as DEFAULT_AGENT_WORKSPACE_DIR, i as resolveAgentModelFallbacksOverride, l as resolveSessionAgentId, n as resolveAgentConfig, o as resolveAgentSkillsFilter, p as DEFAULT_BOOTSTRAP_FILENAME, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, u as resolveSessionAgentIds, x as loadWorkspaceBootstrapFiles, y as ensureAgentWorkspace } from "./agent-scope-D8miw9q_.js";
|
|
6
|
+
import { A as chunkMarkdownIR, B as chunkMarkdownText, C as throwIfAborted, D as resolveFetch, E as parseInlineDirectives$1, F as MediaFetchError, G as resolveTextChunkLimit, H as chunkText, I as fetchRemoteMedia, J as parseFenceSpans, K as findFenceSpanAt, L as fetchWithSsrFGuard, M as markdownToIRWithMeta, N as loadWebMedia, O as wrapFetchWithAbortSignal, P as loadWebMediaRaw, R as resolveMarkdownTableMode, S as normalizeTargetForProvider, T as splitMediaFromOutput, U as chunkTextWithMode, V as chunkMarkdownTextWithMode, W as resolveChunkMode, X as SILENT_REPLY_TOKEN, Y as HEARTBEAT_TOKEN, Z as isSilentReplyText, _ as signalCheck, b as buildTargetResolverSignature, c as applyReplyThreading, d as shouldSuppressMessagingToolReplies, f as createReplyToModeFilterForChannel, g as sendTypingSignal, h as sendReadReceiptSignal, j as markdownToIR, k as fetchWithTimeout, l as filterMessagingToolDuplicates, m as sendMessageSignal, o as normalizeReplyPayloadsForDelivery, p as resolveReplyToMode, q as isSafeFenceBreak, s as applyReplyTagsToPayload, t as deliverOutboundPayloads, u as isRenderablePayload, v as signalRpcRequest, w as parseReplyDirectives, x as normalizeChannelTargetInput, y as streamSignalEvents, z as chunkByNewline } from "./deliver-CT6KiDqO.js";
|
|
7
|
+
import { $ as isCacheEnabled, $t as expandToolGroups, A as isCloudCodeAssistFormatError, An as resolveSignalAccount, At as getImageMetadata, B as parseImageSizeError, Bn as listBindings, C as BILLING_ERROR_USER_MESSAGE, Cn as isAudioFileName, Ct as resolveConversationLabel, D as getApiErrorPayloadFingerprint, Dt as resolveBrowserConfig, E as formatRawAssistantErrorForUi, En as MAX_IMAGE_BYTES, Et as registerBrowserRoutes, F as isLikelyContextOverflowError, Fn as normalizeWhatsAppTarget, Ft as saveMediaBuffer, G as appendAssistantMessageToSessionTranscript, Gn as listEnabledDiscordAccounts, Gt as resolvePluginSkillDirs, H as ensureSandboxWorkspaceForSession, Hn as resolveSlackAppToken, Ht as buildWorkspaceSkillSnapshot, I as isRateLimitAssistantError, In as listEnabledTelegramAccounts, It as SsrFBlockedError, J as readSessionUpdatedAt, Jt as resolveSandboxConfigForAgent, Kn as resolveDiscordAccount, Kt as applySkillEnvOverrides, L as isRawApiErrorPayload, Ln as listTelegramAccountIds, M as isContextOverflowError, Mn as listChannelPlugins, N as isFailoverAssistantError, Nn as normalizeChannelId$1, Nt as resizeToJpeg, O as isAuthAssistantError, On as mediaKindFromMime, Ot as resolveProfile, P as isFailoverErrorMessage, Pn as isWhatsAppGroupJid, Pt as getMediaDir, Q as updateSessionStoreEntry, Qt as expandPolicyWithPluginGroups, R as isTimeoutErrorMessage, Rn as resolveTelegramAccount, S as isGoogleModelApi, Sn as imageMimeFromFormat, St as resolveChannelGroupToolsPolicy, T as formatAssistantErrorText, Tn as kindFromMime, Tt as createBrowserRouteContext, U as resolveSandboxContext, Un as resolveSlackBotToken, Ut as loadWorkspaceSkillEntries, V as sanitizeUserFacingText, Vn as resolveSlackAccount, Vt as buildWorkspaceSkillCommandSpecs, W as resolveSandboxRuntimeStatus, Wn as normalizeChatType, Wt as resolveSkillsPromptForRun, X as updateLastRoute, Xt as buildPluginToolGroups, Y as recordSessionMetaFromInbound, Yt as applyOwnerOnlyToolPolicy, Z as updateSessionStore, Zt as collectExplicitAllowlist, _ as sanitizeSessionMessagesImages, _n as GATEWAY_CLIENT_MODES, _t as getChannelDock, a as formatXHighModelHint, an as resolveBootstrapMaxChars, at as normalizeSessionDeliveryFields, b as downgradeOpenAIReasoningBlocks, bn as extensionForMime, bt as resolveChannelGroupPolicy, c as normalizeReasoningLevel, cn as isDeliverableMessageChannel, ct as evaluateSessionFreshness, d as normalizeVerboseLevel, dn as isMarkdownCapableMessageChannel, dt as resolveSessionResetType, en as normalizeToolName, et as resolveCacheTtlMs$1, f as resolveResponseUsageMode, fn as listDeliverableMessageChannels, ft as resolveThreadFlag, g as normalizeTextForComparison, gn as GATEWAY_CLIENT_IDS, gt as deriveSessionMetaPatch, h as isMessagingToolDuplicateNormalized, hn as resolveMessageChannel, ht as resolveMainSessionKey, i as formatThinkingLevels, in as ensureSessionHeader, it as normalizeDeliveryContext, j as isCompactionFailureError, jn as getChannelPlugin, k as isBillingAssistantError, kn as listEnabledSignalAccounts, l as normalizeThinkLevel, lt as resolveChannelResetConfig, mn as resolveGatewayMessageChannel, n as validateGeminiTurns, nn as stripPluginOnlyAllowlist, nt as deliveryContextKey, o as listThinkingLevels, on as sanitizeGoogleTurnOrdering, p as supportsXHighThinking, pn as normalizeMessageChannel, pt as DEFAULT_RESET_TRIGGERS, q as loadSessionStore, qn as normalizeDiscordToken, qt as applySkillEnvOverridesFromSnapshot, r as pickFallbackThinkingLevel, rn as buildBootstrapContextFiles, rt as mergeDeliveryContext, s as normalizeElevatedLevel, sn as INTERNAL_MESSAGE_CHANNEL, st as resolveSessionKey$1, t as validateAnthropicTurns, tn as resolveToolProfilePolicy, tt as deliveryContextFromSession, u as normalizeUsageDisplay, un as isInternalMessageChannel, ut as resolveSessionResetPolicy, v as sanitizeImageBlocks, vn as GATEWAY_CLIENT_NAMES, vt as listChannelDocks, w as classifyFailoverReason, wn as isGifMedia, wt as resolveGroupSessionKey, x as isAntigravityClaude, xn as getFileExtension, xt as resolveChannelGroupRequireMention, y as sanitizeToolResultImages, yn as detectMime, yt as resolveIMessageAccount, z as parseImageDimensionError, zn as resolveTelegramToken } from "./pi-embedded-helpers-BbWRSUnc.js";
|
|
8
8
|
import { t as parseBooleanValue$1 } from "./boolean-M-esQJt6.js";
|
|
9
|
-
import { C as normalizeProviderId, D as resolveModelRefFromString, E as resolveDefaultModelForAgent, F as DEFAULT_MODEL, I as DEFAULT_PROVIDER, L as resolveAuthProfileDisplayLabel, O as resolveThinkingDefault, P as DEFAULT_CONTEXT_TOKENS, R as normalizeSecretInput, S as modelKey, T as resolveConfiguredModelRef, V as resolveShellEnvFallbackTimeoutMs, W as isTruthyEnvValue, _ as resolveOpenClawAgentDir, a as resolveEnvApiKey, b as buildModelAliasIndex, c as resolveAuthProfileOrder, d as markAuthProfileUsed, f as resolveApiKeyForProfile, g as resolveAuthStorePathForDisplay, h as ensureAuthProfileStore, i as resolveApiKeyForProvider, k as normalizeGoogleModelId, l as isProfileInCooldown, m as markAuthProfileGood, n as getCustomProviderApiKey, o as resolveModelAuthMode, p as listProfilesForProvider, r as requireApiKey, t as getApiKeyForModel, u as markAuthProfileFailure, v as buildAllowedModelSet, x as isCliProvider, y as buildConfiguredAllowlistKeys, z as getShellPathFromLoginShell } from "./model-auth-
|
|
9
|
+
import { C as normalizeProviderId, D as resolveModelRefFromString, E as resolveDefaultModelForAgent, F as DEFAULT_MODEL, I as DEFAULT_PROVIDER, L as resolveAuthProfileDisplayLabel, O as resolveThinkingDefault, P as DEFAULT_CONTEXT_TOKENS, R as normalizeSecretInput, S as modelKey, T as resolveConfiguredModelRef, V as resolveShellEnvFallbackTimeoutMs, W as isTruthyEnvValue, _ as resolveOpenClawAgentDir, a as resolveEnvApiKey, b as buildModelAliasIndex, c as resolveAuthProfileOrder, d as markAuthProfileUsed, f as resolveApiKeyForProfile, g as resolveAuthStorePathForDisplay, h as ensureAuthProfileStore, i as resolveApiKeyForProvider, k as normalizeGoogleModelId, l as isProfileInCooldown, m as markAuthProfileGood, n as getCustomProviderApiKey, o as resolveModelAuthMode, p as listProfilesForProvider, r as requireApiKey, t as getApiKeyForModel, u as markAuthProfileFailure, v as buildAllowedModelSet, x as isCliProvider, y as buildConfiguredAllowlistKeys, z as getShellPathFromLoginShell } from "./model-auth-ioeR_zLX.js";
|
|
10
10
|
import { n as resolveCliName, t as formatCliCommand } from "./command-format-BUxhT1xL.js";
|
|
11
|
-
import { A as logoutWeb, C as setConfigValueAtPath, D as resolveWhatsAppAccount, E as VERSION, I as webAuthExists, M as readWebSelfId, O as getWebAuthAgeMs, S as parseConfigPath, T as resolveAgentMaxConcurrent, _ as getConfigOverrides, a as validateConfigObjectWithPlugins, b as unsetConfigOverride, c as normalizeTelegramCommandName, d as validateJsonSchemaValue, f as loadPluginManifestRegistry, g as resolveMemorySlotDecision, h as resolveEnableState, i as writeConfigFile, k as logWebSelfId, l as resolveTelegramCustomCommands, m as normalizePluginsConfig, n as readConfigFileSnapshot, p as discoverOpenClawPlugins, r as resolveConfigSnapshotHash, s as TELEGRAM_COMMAND_NAME_PATTERN, t as loadConfig, u as isSafeExecutableValue, v as resetConfigOverrides, w as unsetConfigValueAtPath, x as getConfigValueAtPath, y as setConfigOverride } from "./config-
|
|
11
|
+
import { A as logoutWeb, C as setConfigValueAtPath, D as resolveWhatsAppAccount, E as VERSION, I as webAuthExists, M as readWebSelfId, O as getWebAuthAgeMs, S as parseConfigPath, T as resolveAgentMaxConcurrent, _ as getConfigOverrides, a as validateConfigObjectWithPlugins, b as unsetConfigOverride, c as normalizeTelegramCommandName, d as validateJsonSchemaValue, f as loadPluginManifestRegistry, g as resolveMemorySlotDecision, h as resolveEnableState, i as writeConfigFile, k as logWebSelfId, l as resolveTelegramCustomCommands, m as normalizePluginsConfig, n as readConfigFileSnapshot, p as discoverOpenClawPlugins, r as resolveConfigSnapshotHash, s as TELEGRAM_COMMAND_NAME_PATTERN, t as loadConfig, u as isSafeExecutableValue, v as resetConfigOverrides, w as unsetConfigValueAtPath, x as getConfigValueAtPath, y as setConfigOverride } from "./config-XBdA0ciN.js";
|
|
12
12
|
import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-C9IJh2Pn.js";
|
|
13
13
|
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DzFOAbQt.js";
|
|
14
14
|
import { a as createInternalHookEvent, c as triggerInternalHook, i as withNormalizedTimestamp, n as resolveUserTimeFormat, r as resolveUserTimezone, s as registerInternalHook, t as formatUserTime } from "./date-time-c6HTX6IW.js";
|
|
15
15
|
import { t as parseDurationMs } from "./parse-duration-De_tAQSe.js";
|
|
16
|
-
import { S as pickPrimaryTailnetIPv4, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, _ as ensureChromeExtensionRelayServer, x as pickPrimaryLanIPv4, y as rawDataToString } from "./chrome-
|
|
16
|
+
import { S as pickPrimaryTailnetIPv4, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, _ as ensureChromeExtensionRelayServer, x as pickPrimaryLanIPv4, y as rawDataToString } from "./chrome-Db7w64LF.js";
|
|
17
17
|
import { n as formatErrorMessage, r as formatUncaughtError, t as extractErrorCode } from "./errors-D3tYRJWG.js";
|
|
18
18
|
import { a as resolveStorePath, i as resolveSessionTranscriptsDirForAgent, n as resolveSessionFilePath, r as resolveSessionTranscriptPath } from "./paths-MnZaxqPw.js";
|
|
19
19
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-BlIONGVn.js";
|
|
20
|
-
import { _ as stripThinkingTagsFromText, a as decodeDataUrl, b as ensureOpenClawModelsJson, c as extractAssistantText$1, d as extractThinkingFromTaggedText, f as formatReasoningMessage, g as stripMinimaxToolCallXml, h as stripDowngradedToolCallText, i as coerceImageModelConfig, l as extractAssistantThinking, m as promoteThinkingTagsToBlocks, o as resolveProviderVisionModelFromConfig, p as inferToolMetaFromArgs, r as coerceImageAssistantText, s as minimaxUnderstandImage, t as describeImageWithModel, u as extractThinkingFromTaggedStream, v as resolveToolDisplay, y as stripReasoningTagsFromText } from "./image-
|
|
21
|
-
import { i as resolveMemorySearchConfig, n as resolveRetryConfig, r as retryAsync } from "./manager-
|
|
20
|
+
import { _ as stripThinkingTagsFromText, a as decodeDataUrl, b as ensureOpenClawModelsJson, c as extractAssistantText$1, d as extractThinkingFromTaggedText, f as formatReasoningMessage, g as stripMinimaxToolCallXml, h as stripDowngradedToolCallText, i as coerceImageModelConfig, l as extractAssistantThinking, m as promoteThinkingTagsToBlocks, o as resolveProviderVisionModelFromConfig, p as inferToolMetaFromArgs, r as coerceImageAssistantText, s as minimaxUnderstandImage, t as describeImageWithModel, u as extractThinkingFromTaggedStream, v as resolveToolDisplay, y as stripReasoningTagsFromText } from "./image-rOFfK3PJ.js";
|
|
21
|
+
import { i as resolveMemorySearchConfig, n as resolveRetryConfig, r as retryAsync } from "./manager-DYo4PlVM.js";
|
|
22
22
|
import { d as listMemoryFiles, f as normalizeExtraMemoryPaths } from "./sqlite-BrQ9tw8B.js";
|
|
23
23
|
import { t as redactSensitiveText } from "./redact-BOIof271.js";
|
|
24
|
-
import { a as formatError$1, i as createWaSocket, n as startWebLoginWithQr, o as getStatusCode$1, r as waitForWebLogin, s as waitForWaConnection } from "./login-qr-
|
|
24
|
+
import { a as formatError$1, i as createWaSocket, n as startWebLoginWithQr, o as getStatusCode$1, r as waitForWebLogin, s as waitForWaConnection } from "./login-qr-CPEsT6dN.js";
|
|
25
25
|
import { createRequire } from "node:module";
|
|
26
26
|
import * as fs$2 from "node:fs/promises";
|
|
27
27
|
import fs from "node:fs/promises";
|
|
@@ -41,7 +41,7 @@ import crypto, { X509Certificate, randomUUID } from "node:crypto";
|
|
|
41
41
|
import AjvPkg from "ajv";
|
|
42
42
|
import { createServer } from "node:http";
|
|
43
43
|
import { ProxyAgent, fetch as fetch$1 } from "undici";
|
|
44
|
-
import { WebSocket } from "ws";
|
|
44
|
+
import { WebSocket as WebSocket$1 } from "ws";
|
|
45
45
|
import * as net$1 from "node:net";
|
|
46
46
|
import net from "node:net";
|
|
47
47
|
import { Buffer as Buffer$1 } from "node:buffer";
|
|
@@ -3316,7 +3316,7 @@ async function getMemorySearchManager(params) {
|
|
|
3316
3316
|
const cached = QMD_MANAGER_CACHE.get(cacheKey);
|
|
3317
3317
|
if (cached) return { manager: cached };
|
|
3318
3318
|
try {
|
|
3319
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
3319
|
+
const { QmdMemoryManager } = await import("./qmd-manager-CpsjQyaZ.js");
|
|
3320
3320
|
const primary = await QmdMemoryManager.create({
|
|
3321
3321
|
cfg: params.cfg,
|
|
3322
3322
|
agentId: params.agentId,
|
|
@@ -3326,7 +3326,7 @@ async function getMemorySearchManager(params) {
|
|
|
3326
3326
|
const wrapper = new FallbackMemoryManager({
|
|
3327
3327
|
primary,
|
|
3328
3328
|
fallbackFactory: async () => {
|
|
3329
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
3329
|
+
const { MemoryIndexManager } = await import("./manager-DYo4PlVM.js").then((n) => n.t);
|
|
3330
3330
|
return await MemoryIndexManager.get(params);
|
|
3331
3331
|
}
|
|
3332
3332
|
}, () => QMD_MANAGER_CACHE.delete(cacheKey));
|
|
@@ -3339,7 +3339,7 @@ async function getMemorySearchManager(params) {
|
|
|
3339
3339
|
}
|
|
3340
3340
|
}
|
|
3341
3341
|
try {
|
|
3342
|
-
const { MemoryIndexManager } = await import("./manager-
|
|
3342
|
+
const { MemoryIndexManager } = await import("./manager-DYo4PlVM.js").then((n) => n.t);
|
|
3343
3343
|
return { manager: await MemoryIndexManager.get(params) };
|
|
3344
3344
|
} catch (err) {
|
|
3345
3345
|
return {
|
|
@@ -6982,7 +6982,7 @@ var GatewayClient = class {
|
|
|
6982
6982
|
if (fingerprint !== expected) return /* @__PURE__ */ new Error("gateway tls fingerprint mismatch");
|
|
6983
6983
|
});
|
|
6984
6984
|
}
|
|
6985
|
-
this.ws = new WebSocket(url, wsOptions);
|
|
6985
|
+
this.ws = new WebSocket$1(url, wsOptions);
|
|
6986
6986
|
this.ws.on("open", () => {
|
|
6987
6987
|
if (url.startsWith("wss://") && this.opts.tlsFingerprint) {
|
|
6988
6988
|
const tlsError = this.validateTlsFingerprint();
|
|
@@ -7186,7 +7186,7 @@ var GatewayClient = class {
|
|
|
7186
7186
|
return null;
|
|
7187
7187
|
}
|
|
7188
7188
|
async request(method, params, opts) {
|
|
7189
|
-
if (!this.ws || this.ws.readyState !== WebSocket.OPEN) throw new Error("gateway not connected");
|
|
7189
|
+
if (!this.ws || this.ws.readyState !== WebSocket$1.OPEN) throw new Error("gateway not connected");
|
|
7190
7190
|
const id = randomUUID();
|
|
7191
7191
|
const frame = {
|
|
7192
7192
|
type: "req",
|
|
@@ -8906,7 +8906,7 @@ async function routeReply(params) {
|
|
|
8906
8906
|
const resolvedReplyToId = replyToId ?? (channelId === "slack" && threadId != null && threadId !== "" ? String(threadId) : void 0);
|
|
8907
8907
|
const resolvedThreadId = channelId === "slack" ? null : threadId ?? null;
|
|
8908
8908
|
try {
|
|
8909
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
8909
|
+
const { deliverOutboundPayloads } = await import("./deliver-CT6KiDqO.js").then((n) => n.n);
|
|
8910
8910
|
return {
|
|
8911
8911
|
ok: true,
|
|
8912
8912
|
messageId: (await deliverOutboundPayloads({
|
|
@@ -14703,7 +14703,7 @@ async function createModelSelectionState(params) {
|
|
|
14703
14703
|
}
|
|
14704
14704
|
}
|
|
14705
14705
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
14706
|
-
const { ensureAuthProfileStore } = await import("./model-auth-
|
|
14706
|
+
const { ensureAuthProfileStore } = await import("./model-auth-ioeR_zLX.js").then((n) => n.s);
|
|
14707
14707
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
14708
14708
|
const providerKey = normalizeProviderId(provider);
|
|
14709
14709
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -39710,7 +39710,7 @@ async function deliverSessionMaintenanceWarning(params) {
|
|
|
39710
39710
|
return;
|
|
39711
39711
|
}
|
|
39712
39712
|
try {
|
|
39713
|
-
const { deliverOutboundPayloads } = await import("./deliver-
|
|
39713
|
+
const { deliverOutboundPayloads } = await import("./deliver-CT6KiDqO.js").then((n) => n.n);
|
|
39714
39714
|
await deliverOutboundPayloads({
|
|
39715
39715
|
cfg: params.cfg,
|
|
39716
39716
|
channel,
|
|
@@ -44688,7 +44688,7 @@ async function describeStickerImage(params) {
|
|
|
44688
44688
|
logVerbose(`telegram: describing sticker with ${provider}/${model}`);
|
|
44689
44689
|
try {
|
|
44690
44690
|
const buffer = await fs.readFile(imagePath);
|
|
44691
|
-
const { describeImageWithModel } = await import("./image-
|
|
44691
|
+
const { describeImageWithModel } = await import("./image-rOFfK3PJ.js").then((n) => n.n);
|
|
44692
44692
|
return (await describeImageWithModel({
|
|
44693
44693
|
buffer,
|
|
44694
44694
|
fileName: "sticker.webp",
|
|
@@ -45045,7 +45045,7 @@ function createWhatsAppLoginTool() {
|
|
|
45045
45045
|
force: Type.Optional(Type.Boolean())
|
|
45046
45046
|
}),
|
|
45047
45047
|
execute: async (_toolCallId, args) => {
|
|
45048
|
-
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-
|
|
45048
|
+
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-CPEsT6dN.js").then((n) => n.t);
|
|
45049
45049
|
if ((args?.action ?? "start") === "wait") {
|
|
45050
45050
|
const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
|
|
45051
45051
|
return {
|
|
@@ -2,13 +2,13 @@ import { i as resolveGatewayPort, t as STATE_DIR } from "./paths-BZtyHNCi.js";
|
|
|
2
2
|
import { c as normalizeAccountId$1, d as resolveAgentIdFromSessionKey, i as buildAgentMainSessionKey, l as normalizeAgentId, n as DEFAULT_AGENT_ID, t as DEFAULT_ACCOUNT_ID, u as normalizeMainKey } from "./session-key-nXYQSv-a.js";
|
|
3
3
|
import { f as normalizeE164, g as resolveUserPath, m as resolveConfigDir, o as escapeRegExp, t as CONFIG_DIR } from "./utils-dp_OM900.js";
|
|
4
4
|
import { S as requireActivePluginRegistry, _ as getChatChannelMeta, b as normalizeChatChannelId, h as CHAT_CHANNEL_ORDER, l as createSubsystemLogger, m as CHANNEL_IDS, n as runExec, u as defaultRuntime, v as normalizeAnyChannelId, x as getActivePluginRegistry } from "./exec-CijMSZd9.js";
|
|
5
|
-
import { C as resolveOpenClawPackageRootSync, _ as DEFAULT_TOOLS_FILENAME, c as resolveDefaultAgentId, d as DEFAULT_AGENTS_FILENAME, f as DEFAULT_AGENT_WORKSPACE_DIR, g as DEFAULT_SOUL_FILENAME, h as DEFAULT_IDENTITY_FILENAME, l as resolveSessionAgentId, m as DEFAULT_HEARTBEAT_FILENAME, n as resolveAgentConfig, p as DEFAULT_BOOTSTRAP_FILENAME, v as DEFAULT_USER_FILENAME, y as ensureAgentWorkspace } from "./agent-scope-
|
|
5
|
+
import { C as resolveOpenClawPackageRootSync, _ as DEFAULT_TOOLS_FILENAME, c as resolveDefaultAgentId, d as DEFAULT_AGENTS_FILENAME, f as DEFAULT_AGENT_WORKSPACE_DIR, g as DEFAULT_SOUL_FILENAME, h as DEFAULT_IDENTITY_FILENAME, l as resolveSessionAgentId, m as DEFAULT_HEARTBEAT_FILENAME, n as resolveAgentConfig, p as DEFAULT_BOOTSTRAP_FILENAME, v as DEFAULT_USER_FILENAME, y as ensureAgentWorkspace } from "./agent-scope-D8miw9q_.js";
|
|
6
6
|
import { t as parseBooleanValue } from "./boolean-M-esQJt6.js";
|
|
7
|
-
import { W as isTruthyEnvValue } from "./model-auth-
|
|
7
|
+
import { W as isTruthyEnvValue } from "./model-auth-ioeR_zLX.js";
|
|
8
8
|
import { t as formatCliCommand } from "./command-format-BUxhT1xL.js";
|
|
9
|
-
import { D as resolveWhatsAppAccount, f as loadPluginManifestRegistry, g as resolveMemorySlotDecision, h as resolveEnableState, i as writeConfigFile, m as normalizePluginsConfig, o as parseByteSize, t as loadConfig } from "./config-
|
|
9
|
+
import { D as resolveWhatsAppAccount, f as loadPluginManifestRegistry, g as resolveMemorySlotDecision, h as resolveEnableState, i as writeConfigFile, m as normalizePluginsConfig, o as parseByteSize, t as loadConfig } from "./config-XBdA0ciN.js";
|
|
10
10
|
import { n as LEGACY_MANIFEST_KEYS, r as MANIFEST_KEY, t as parseDurationMs } from "./parse-duration-De_tAQSe.js";
|
|
11
|
-
import { A as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, C as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, D as DEFAULT_BROWSER_EVALUATE_ENABLED, E as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, O as DEFAULT_OPENCLAW_BROWSER_COLOR, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, _ as ensureChromeExtensionRelayServer, a as resolveOpenClawUserDataDir, b as isLoopbackHost, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, h as getHeadersWithAuth, i as launchOpenClawChrome, k as DEFAULT_OPENCLAW_BROWSER_ENABLED, l as createTargetViaCdp, n as isChromeCdpReady, o as stopOpenClawChrome, p as appendCdpPath, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as stopChromeExtensionRelayServer, w as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS } from "./chrome-
|
|
11
|
+
import { A as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, C as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, D as DEFAULT_BROWSER_EVALUATE_ENABLED, E as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, O as DEFAULT_OPENCLAW_BROWSER_COLOR, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, _ as ensureChromeExtensionRelayServer, a as resolveOpenClawUserDataDir, b as isLoopbackHost, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, h as getHeadersWithAuth, i as launchOpenClawChrome, k as DEFAULT_OPENCLAW_BROWSER_ENABLED, l as createTargetViaCdp, n as isChromeCdpReady, o as stopOpenClawChrome, p as appendCdpPath, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as stopChromeExtensionRelayServer, w as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS } from "./chrome-Db7w64LF.js";
|
|
12
12
|
import { t as parseFrontmatterBlock } from "./frontmatter-xwTm0734.js";
|
|
13
13
|
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-D3tYRJWG.js";
|
|
14
14
|
import { r as resolveSessionTranscriptPath, t as resolveDefaultSessionStorePath } from "./paths-MnZaxqPw.js";
|
|
@@ -1944,7 +1944,7 @@ function isModuleNotFoundError(err) {
|
|
|
1944
1944
|
}
|
|
1945
1945
|
async function loadPwAiModule(mode) {
|
|
1946
1946
|
try {
|
|
1947
|
-
return await import("./pw-ai-
|
|
1947
|
+
return await import("./pw-ai-BxJ-KCIy.js");
|
|
1948
1948
|
} catch (err) {
|
|
1949
1949
|
if (mode === "soft") return null;
|
|
1950
1950
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -4766,11 +4766,11 @@ function createProfileContext(opts, profile) {
|
|
|
4766
4766
|
const userDataDir = resolveOpenClawUserDataDir(profile.name);
|
|
4767
4767
|
const profileState = getProfileState();
|
|
4768
4768
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
4769
|
-
await (await import("./pw-ai-
|
|
4769
|
+
await (await import("./pw-ai-BxJ-KCIy.js")).closePlaywrightBrowserConnection();
|
|
4770
4770
|
} catch {}
|
|
4771
4771
|
if (profileState.running) await stopRunningBrowser();
|
|
4772
4772
|
try {
|
|
4773
|
-
await (await import("./pw-ai-
|
|
4773
|
+
await (await import("./pw-ai-BxJ-KCIy.js")).closePlaywrightBrowserConnection();
|
|
4774
4774
|
} catch {}
|
|
4775
4775
|
if (!fs$1.existsSync(userDataDir)) return {
|
|
4776
4776
|
moved: false,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { o as createSubsystemLogger } from "./entry.js";
|
|
2
|
-
import { p as resizeToJpeg, u as getImageMetadata } from "./routes-
|
|
3
|
-
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-
|
|
2
|
+
import { p as resizeToJpeg, u as getImageMetadata } from "./routes-B4QQiFju.js";
|
|
3
|
+
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-Aks-9EcZ.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import fs from "node:fs/promises";
|
|
6
6
|
import { createHash } from "node:crypto";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { i as resolveGatewayPort, t as STATE_DIR } from "./paths-rb94mUrR.js";
|
|
2
|
-
import { C as resolveOpenClawPackageRootSync, D as buildAgentMainSessionKey, M as normalizeAgentId, N as normalizeMainKey, P as resolveAgentIdFromSessionKey, T as DEFAULT_AGENT_ID, _ as DEFAULT_TOOLS_FILENAME, c as resolveDefaultAgentId, d as DEFAULT_AGENTS_FILENAME, f as DEFAULT_AGENT_WORKSPACE_DIR, g as DEFAULT_SOUL_FILENAME, h as DEFAULT_IDENTITY_FILENAME, j as normalizeAccountId$1, l as resolveSessionAgentId, m as DEFAULT_HEARTBEAT_FILENAME, n as resolveAgentConfig, p as DEFAULT_BOOTSTRAP_FILENAME, v as DEFAULT_USER_FILENAME, w as DEFAULT_ACCOUNT_ID, y as ensureAgentWorkspace } from "./agent-scope-
|
|
2
|
+
import { C as resolveOpenClawPackageRootSync, D as buildAgentMainSessionKey, M as normalizeAgentId, N as normalizeMainKey, P as resolveAgentIdFromSessionKey, T as DEFAULT_AGENT_ID, _ as DEFAULT_TOOLS_FILENAME, c as resolveDefaultAgentId, d as DEFAULT_AGENTS_FILENAME, f as DEFAULT_AGENT_WORKSPACE_DIR, g as DEFAULT_SOUL_FILENAME, h as DEFAULT_IDENTITY_FILENAME, j as normalizeAccountId$1, l as resolveSessionAgentId, m as DEFAULT_HEARTBEAT_FILENAME, n as resolveAgentConfig, p as DEFAULT_BOOTSTRAP_FILENAME, v as DEFAULT_USER_FILENAME, w as DEFAULT_ACCOUNT_ID, y as ensureAgentWorkspace } from "./agent-scope-BEf5crnU.js";
|
|
3
3
|
import { C as CONFIG_DIR, I as resolveConfigDir, O as escapeRegExp, P as normalizeE164, R as resolveUserPath, _ as normalizeAnyChannelId, b as getActivePluginRegistry, g as getChatChannelMeta, h as CHAT_CHANNEL_ORDER, l as createSubsystemLogger, m as CHANNEL_IDS, n as runExec, u as defaultRuntime, x as requireActivePluginRegistry, y as normalizeChatChannelId } from "./exec-57A8Rlc8.js";
|
|
4
|
-
import { O as isTruthyEnvValue, k as parseBooleanValue } from "./model-selection-
|
|
4
|
+
import { O as isTruthyEnvValue, k as parseBooleanValue } from "./model-selection-CezC36lH.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-CFzL448l.js";
|
|
6
|
-
import { A as resolveWhatsAppAccount, _ as normalizePluginsConfig, d as parseDurationMs, g as MANIFEST_KEY, h as LEGACY_MANIFEST_KEYS, i as writeConfigFile, o as parseByteSize, p as loadPluginManifestRegistry, t as loadConfig, v as resolveEnableState, y as resolveMemorySlotDecision } from "./config-
|
|
7
|
-
import { A as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, C as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, D as DEFAULT_BROWSER_EVALUATE_ENABLED, E as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, O as DEFAULT_OPENCLAW_BROWSER_COLOR, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, _ as ensureChromeExtensionRelayServer, a as resolveOpenClawUserDataDir, b as isLoopbackHost, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, h as getHeadersWithAuth, i as launchOpenClawChrome, k as DEFAULT_OPENCLAW_BROWSER_ENABLED, l as createTargetViaCdp, n as isChromeCdpReady, o as stopOpenClawChrome, p as appendCdpPath, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as stopChromeExtensionRelayServer, w as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS } from "./chrome-
|
|
6
|
+
import { A as resolveWhatsAppAccount, _ as normalizePluginsConfig, d as parseDurationMs, g as MANIFEST_KEY, h as LEGACY_MANIFEST_KEYS, i as writeConfigFile, o as parseByteSize, p as loadPluginManifestRegistry, t as loadConfig, v as resolveEnableState, y as resolveMemorySlotDecision } from "./config-BqGVMf1y.js";
|
|
7
|
+
import { A as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, C as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, D as DEFAULT_BROWSER_EVALUATE_ENABLED, E as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, O as DEFAULT_OPENCLAW_BROWSER_COLOR, T as DEFAULT_AI_SNAPSHOT_MAX_CHARS, _ as ensureChromeExtensionRelayServer, a as resolveOpenClawUserDataDir, b as isLoopbackHost, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, h as getHeadersWithAuth, i as launchOpenClawChrome, k as DEFAULT_OPENCLAW_BROWSER_ENABLED, l as createTargetViaCdp, n as isChromeCdpReady, o as stopOpenClawChrome, p as appendCdpPath, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as stopChromeExtensionRelayServer, w as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS } from "./chrome-BN9o1yns.js";
|
|
8
8
|
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-dpUbQseI.js";
|
|
9
|
-
import { r as resolveSessionTranscriptPath, t as resolveDefaultSessionStorePath } from "./paths-
|
|
9
|
+
import { r as resolveSessionTranscriptPath, t as resolveDefaultSessionStorePath } from "./paths-DL6EIRTw.js";
|
|
10
10
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-BrkSiEN9.js";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import fs from "node:fs";
|
|
@@ -2042,7 +2042,7 @@ function isModuleNotFoundError(err) {
|
|
|
2042
2042
|
}
|
|
2043
2043
|
async function loadPwAiModule(mode) {
|
|
2044
2044
|
try {
|
|
2045
|
-
return await import("./pw-ai-
|
|
2045
|
+
return await import("./pw-ai-DMeydD_d.js");
|
|
2046
2046
|
} catch (err) {
|
|
2047
2047
|
if (mode === "soft") return null;
|
|
2048
2048
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -4864,11 +4864,11 @@ function createProfileContext(opts, profile) {
|
|
|
4864
4864
|
const userDataDir = resolveOpenClawUserDataDir(profile.name);
|
|
4865
4865
|
const profileState = getProfileState();
|
|
4866
4866
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
4867
|
-
await (await import("./pw-ai-
|
|
4867
|
+
await (await import("./pw-ai-DMeydD_d.js")).closePlaywrightBrowserConnection();
|
|
4868
4868
|
} catch {}
|
|
4869
4869
|
if (profileState.running) await stopRunningBrowser();
|
|
4870
4870
|
try {
|
|
4871
|
-
await (await import("./pw-ai-
|
|
4871
|
+
await (await import("./pw-ai-DMeydD_d.js")).closePlaywrightBrowserConnection();
|
|
4872
4872
|
} catch {}
|
|
4873
4873
|
if (!fs.existsSync(userDataDir)) return {
|
|
4874
4874
|
moved: false,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-
|
|
3
|
-
import { o as resizeToJpeg, r as getImageMetadata } from "./routes-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-BbfPHMjH.js";
|
|
2
|
+
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-DxAKZfZd.js";
|
|
3
|
+
import { o as resizeToJpeg, r as getImageMetadata } from "./routes-BqZyywjQ.js";
|
|
4
4
|
import path from "node:path";
|
|
5
|
-
import
|
|
5
|
+
import fsPromises from "node:fs/promises";
|
|
6
6
|
import { createHash } from "node:crypto";
|
|
7
7
|
|
|
8
8
|
//#region src/auto-reply/thinking.ts
|
|
@@ -289,10 +289,10 @@ function trimBootstrapContent(content, fileName, maxChars) {
|
|
|
289
289
|
async function ensureSessionHeader(params) {
|
|
290
290
|
const file = params.sessionFile;
|
|
291
291
|
try {
|
|
292
|
-
await
|
|
292
|
+
await fsPromises.stat(file);
|
|
293
293
|
return;
|
|
294
294
|
} catch {}
|
|
295
|
-
await
|
|
295
|
+
await fsPromises.mkdir(path.dirname(file), { recursive: true });
|
|
296
296
|
const entry = {
|
|
297
297
|
type: "session",
|
|
298
298
|
version: 2,
|
|
@@ -300,7 +300,7 @@ async function ensureSessionHeader(params) {
|
|
|
300
300
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
301
301
|
cwd: params.cwd
|
|
302
302
|
};
|
|
303
|
-
await
|
|
303
|
+
await fsPromises.writeFile(file, `${JSON.stringify(entry)}\n`, "utf-8");
|
|
304
304
|
}
|
|
305
305
|
function buildBootstrapContextFiles(files, opts) {
|
|
306
306
|
const maxChars = opts?.maxChars ?? DEFAULT_BOOTSTRAP_MAX_CHARS;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { b as resolveThreadParentSessionKey, d as resolveAgentIdFromSessionKey } from "./session-key-BWxPj0z_.js";
|
|
2
|
-
import { n as resolveAgentConfig } from "./agent-scope-
|
|
3
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
4
|
-
import { J as resolveChannelGroupToolsPolicy, V as getChannelDock, at as normalizeToolName, it as expandToolGroups } from "./sandbox-
|
|
5
|
-
import { l as normalizeMessageChannel } from "./message-channel-
|
|
2
|
+
import { n as resolveAgentConfig } from "./agent-scope-CPiO6Aw7.js";
|
|
3
|
+
import { r as normalizeChannelId } from "./plugins-5W5E71Ut.js";
|
|
4
|
+
import { J as resolveChannelGroupToolsPolicy, V as getChannelDock, at as normalizeToolName, it as expandToolGroups } from "./sandbox-DxAKZfZd.js";
|
|
5
|
+
import { l as normalizeMessageChannel } from "./message-channel-DIvXZ2w4.js";
|
|
6
6
|
|
|
7
7
|
//#region src/config/commands.ts
|
|
8
8
|
function resolveAutoDefault(providerId) {
|