openclaw-multi-auto 1.1.2 → 1.1.3
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-C_lW3Ag9.js → accounts-BOzyfwW4.js} +2 -2
- package/dist/{accounts-CUYZBSKh.js → accounts-BU-CeDai.js} +1 -1
- package/dist/{accounts-BtEMxtPK.js → accounts-BVgYdU9W.js} +1 -1
- package/dist/{accounts-khXX75l1.js → accounts-DJaYqD2E.js} +7 -7
- package/dist/{accounts-C9HcPI9h.js → accounts-L9ByEpnP.js} +2 -2
- package/dist/{accounts-Tgelvk0C.js → accounts-yfBeCZtS.js} +17 -17
- package/dist/{acp-cli-CA2oCCEA.js → acp-cli-oWFHnS7i.js} +8 -8
- package/dist/{active-listener-BEdprTkn.js → active-listener-D1yqT1cw.js} +2 -2
- package/dist/{agent-scope-NQ9CtXYN.js → agent-scope-BRElciAf.js} +17 -17
- package/dist/{agents-BWVlofyv.js → agents-CujsWz9d.js} +14 -14
- package/dist/{agents.config-QVfqc4C-.js → agents.config-C42STger.js} +2 -2
- package/dist/{api-key-rotation-Vix80AUw.js → api-key-rotation-BbuLHl0_.js} +1 -1
- package/dist/{api-key-rotation-BJpKWXy0.js → api-key-rotation-DtsNS2Nb.js} +2 -2
- package/dist/{audio-preflight-5FEeDooz.js → audio-preflight-DDBLZBdb.js} +4 -4
- package/dist/{audio-preflight-BMvgEQ5j.js → audio-preflight-DpxQCpsA.js} +32 -32
- package/dist/{audio-preflight-DUtdCXjJ.js → audio-preflight-Yg1vzPE1.js} +34 -34
- package/dist/{audio-transcription-runner-gLFfz8fr.js → audio-transcription-runner-28fcRNNi.js} +12 -12
- package/dist/{audio-transcription-runner-DYKvqK54.js → audio-transcription-runner-D1cvrZ6s.js} +23 -23
- package/dist/{audio-transcription-runner-B-UvoDjZ.js → audio-transcription-runner-DZbSWT9E.js} +1 -1
- package/dist/{audit-oC--RZy0.js → audit-DtlAv66L.js} +29 -29
- package/dist/{audit-membership-runtime-Dntemq07.js → audit-membership-runtime-DWyHWAHM.js} +4 -4
- package/dist/{auth-YB6m93-M.js → auth-Mj21c_GN.js} +1 -1
- package/dist/{auth-choice-CsSQLEkP.js → auth-choice-CEycltU4.js} +13 -13
- package/dist/{auth-choice-gp-h1aBd.js → auth-choice-CGHVedXa.js} +11 -11
- package/dist/{auth-choice.apply-helpers-CPpuynsT.js → auth-choice.apply-helpers-D4YQXYfc.js} +1 -1
- package/dist/{auth-profiles-15pq9j9V.js → auth-profiles-CdLTlJLc.js} +16 -16
- package/dist/{auth-token-Bwn8N6KA.js → auth-token-7kzDLVhb.js} +1 -1
- package/dist/{banner-hcZ0XNXv.js → banner-CpzKVd4-.js} +2 -2
- package/dist/{bonjour-discovery-2btw06uD.js → bonjour-discovery-BuS9wF_p.js} +1 -1
- package/dist/{browser-cli-C4PdLYHy.js → browser-cli-BVtbvQ3Z.js} +12 -12
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +51 -51
- package/dist/bundled/bootstrap-extra-files/handler.js +6 -6
- package/dist/bundled/command-logger/handler.js +2 -2
- package/dist/bundled/session-memory/handler.js +51 -51
- package/dist/{call-CZgRbVYm.js → call-Dp9SDkqK.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-BYiOuxnf.js → channel-account-context-ESLVGdUf.js} +5 -5
- package/dist/{channel-activity-D9K6yeu8.js → channel-activity-LfmEkdDN.js} +1 -1
- package/dist/{channel-activity-BDnjYF7B.js → channel-activity-xHOMiarp.js} +3 -3
- package/dist/{channel-options-DJkf_8wi.js → channel-options-CsYaFB_4.js} +3 -3
- package/dist/{channel-selection-BpIsCVV5.js → channel-selection-DFJsYFPo.js} +1 -1
- package/dist/{channel-web-wb1My1Yi.js → channel-web-DzRsJEE4.js} +17 -17
- package/dist/{channels-cli-DlQONtY9.js → channels-cli-CpfeOXtJ.js} +93 -93
- package/dist/{channels-status-issues-Hj-GOSVm.js → channels-status-issues-6V9ktlZD.js} +1 -1
- package/dist/{chrome-D45SyhQL.js → chrome-CMU2WVFh.js} +8 -8
- package/dist/{chrome-L_icBVLq.js → chrome-CyM61Cn2.js} +4 -4
- package/dist/{chrome-DxxEKrY7.js → chrome-DwizpzOC.js} +18 -18
- package/dist/{clawbot-cli-CyTZUVIJ.js → clawbot-cli-COtnakIJ.js} +11 -11
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-CNTrB-ni.js → cli-jnT1hYPO.js} +73 -73
- package/dist/{client-g0366Z73.js → client-C-wA75vx.js} +2 -2
- package/dist/{command-registry-VOmumlmD.js → command-registry-g5tDqdAU.js} +11 -11
- package/dist/{command-secret-targets-CIMuIdbL.js → command-secret-targets-u3eWn-W3.js} +4 -4
- package/dist/{commands-DU7At3rY.js → commands-C8pWcFs_.js} +1 -1
- package/dist/{commands-registry-B_WUa9KB.js → commands-registry-J6nVL3BQ.js} +3 -3
- package/dist/{commands-registry-D5qXbFJn.js → commands-registry-V1zZ5pPC.js} +4 -4
- package/dist/{completion-cli-pqdmKVTo.js → completion-cli-DQsyli3B.js} +13 -13
- package/dist/{config-cli-BqznmzlM.js → config-cli-DUycVHoC.js} +7 -7
- package/dist/{config-guard-D8jiLjr7.js → config-guard--Obk2MGi.js} +3 -3
- package/dist/{config-validation-BngLiGoq.js → config-validation-iOxszdEd.js} +3 -3
- package/dist/{configure-B--Umf_O.js → configure-Al_pz_5z.js} +17 -17
- package/dist/{control-ui-assets-C9ewbI8z.js → control-ui-assets-DpjfNcTC.js} +1 -1
- package/dist/{cron-cli-DCRPpI1m.js → cron-cli-CQ5EZw_b.js} +11 -11
- package/dist/{daemon-cli-DtBzKM_d.js → daemon-cli-Bb80Mzv5.js} +15 -15
- package/dist/{daemon-install-ckPBUAjJ.js → daemon-install-B09ifLcJ.js} +4 -4
- package/dist/{daemon-install-helpers-BWf-PrgA.js → daemon-install-helpers-CYpECiEx.js} +11 -11
- package/dist/{deliver-B9cys0EZ.js → deliver-BXVcFIHL.js} +1 -1
- package/dist/{deliver-b93aBgie.js → deliver-CxF9h9PE.js} +7 -7
- package/dist/{deliver-DbdywYJE.js → deliver-D4o6VIur.js} +21 -21
- package/dist/{deliver-runtime-DhaQJ0pI.js → deliver-runtime-DTaIS-1i.js} +3 -3
- package/dist/deliver-runtime-DixuU_uB.js +61 -0
- package/dist/deliver-runtime-P-G3bPjW.js +36 -0
- package/dist/deps-send-discord.runtime-CDcLcDSt.js +36 -0
- package/dist/deps-send-discord.runtime-DnbhTFX9.js +26 -0
- package/dist/deps-send-imessage.runtime-BGPUVMIE.js +35 -0
- package/dist/deps-send-imessage.runtime-BOiQ6mDx.js +25 -0
- package/dist/deps-send-signal.runtime-CTcl388M.js +24 -0
- package/dist/deps-send-signal.runtime-DQDD44_O.js +34 -0
- package/dist/deps-send-slack.runtime-CCqBz4Kg.js +22 -0
- package/dist/deps-send-slack.runtime-Cpy77gBG.js +32 -0
- package/dist/{deps-send-telegram.runtime-C--B69CN.js → deps-send-telegram.runtime-B6wp3kx8.js} +16 -16
- package/dist/deps-send-telegram.runtime-DGSKTCpH.js +27 -0
- package/dist/{deps-send-whatsapp.runtime-DvTL2tzN.js → deps-send-whatsapp.runtime-CIZqFAqb.js} +7 -7
- package/dist/deps-send-whatsapp.runtime-CJkTHkah.js +60 -0
- package/dist/deps-send-whatsapp.runtime-D2sVAclS.js +119 -0
- package/dist/{devices-cli-D6V059Dh.js → devices-cli-C0dUbeL4.js} +8 -8
- package/dist/{diagnostic-BpP9UBCE.js → diagnostic-BfiudAAN.js} +1 -1
- package/dist/{diagnostic-Co6Kghr-.js → diagnostic-Bn4PZjMZ.js} +2 -2
- package/dist/{diagnostics---0c2_jo.js → diagnostics-DCWM_8Ur.js} +5 -5
- package/dist/{directory-cli-RYC34-EU.js → directory-cli-Dlws13Di.js} +7 -7
- package/dist/{dns-cli-CElNoV5S.js → dns-cli-But7QdAw.js} +5 -5
- package/dist/{dock-nA2DVPCV.js → dock-BbUkruOF.js} +4 -4
- package/dist/{docs-cli-Bv7ltPvi.js → docs-cli-Ck2IKAtw.js} +4 -4
- package/dist/{doctor-completion-CQIiN7rY.js → doctor-completion-Nat1HXE1.js} +2 -2
- package/dist/{doctor-config-flow-BOAryh5P.js → doctor-config-flow-WCCoUXeB.js} +15 -15
- package/dist/{enable-688HYBNS.js → enable-C3H8BtN4.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{errors-xt401nuk.js → errors-CCLeFWAg.js} +1 -1
- package/dist/{exec-approvals-allowlist-C0Eya3rT.js → exec-approvals-allowlist-ySf2Yo5n.js} +1 -1
- package/dist/{exec-approvals-cli-BYYerKp8.js → exec-approvals-cli-DhLLOys6.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-BmJmfDRo.js → exec-safe-bin-runtime-policy-DnXViOlF.js} +2 -2
- package/dist/extensionAPI.js +6 -6
- package/dist/{fetch-DuraYswo.js → fetch-BlJWzEP6.js} +5 -5
- package/dist/{fetch-BhAHVdwx.js → fetch-D-SiVqBm.js} +3 -3
- package/dist/{fetch-guard-BbBdhWz_.js → fetch-guard-CKYBfJ66.js} +1 -1
- package/dist/{fetch-guard-DWr0d00H.js → fetch-guard-ChYBwfiy.js} +2 -2
- package/dist/{frontmatter-BkTfEZ93.js → frontmatter-CvaMP376.js} +3 -3
- package/dist/{fs-safe-CTYUrIgQ.js → fs-safe-0jAo_Whb.js} +4 -4
- package/dist/{fs-safe-CFLs-j60.js → fs-safe-jMDpsYew.js} +24 -24
- package/dist/{gateway-cli-DOYWSRqa.js → gateway-cli--atF6LYo.js} +153 -153
- package/dist/{gateway-rpc-w6t8Eq_1.js → gateway-rpc-DYyQQ1z9.js} +1 -1
- package/dist/{github-copilot-token-BDioPmd6.js → github-copilot-token-D13V9YBz.js} +7 -7
- package/dist/{health-C1EstYHd.js → health-BDJ72U4Z.js} +11 -11
- package/dist/{hooks-cli-BFMve5sG.js → hooks-cli-r0UX8B9a.js} +81 -81
- package/dist/{hooks-status-DBnEWOEP.js → hooks-status-CxBdpBry.js} +1 -1
- package/dist/{image-DAOPwVXi.js → image-BCVLo0qw.js} +1 -1
- package/dist/{image-eT7Y-nP5.js → image-Bbn53mzj.js} +6 -6
- package/dist/{image-Bw71y73Q.js → image-CyHTO86Q.js} +5 -5
- package/dist/{image-ops-BuUnEOE0.js → image-ops-CehkHxmW.js} +2 -2
- package/dist/{image-ops-AJL9tN3_.js → image-ops-pjs5W0CZ.js} +10 -10
- package/dist/image-runtime-B2qh5seQ.js +55 -0
- package/dist/image-runtime-CVv2ra9J.js +29 -0
- package/dist/{image-runtime-wlCLVvVv.js → image-runtime-DtCKpMPZ.js} +3 -3
- package/dist/{inspect-CUxeDA8c.js → inspect-BeU4yMp2.js} +4 -4
- package/dist/{install-safe-path-BX58wFBl.js → install-safe-path-BiL8OJvK.js} +25 -25
- package/dist/{installs-B-xr0Fzq.js → installs-BwKmG0Uy.js} +9 -9
- package/dist/{ipv4-C4Yt-xid.js → ipv4-BoGwfnEw.js} +1 -1
- package/dist/{ir-B83looB-.js → ir-DAP-B-Xw.js} +8 -8
- package/dist/{ir-otKVkb4a.js → ir-Da7Ahsqc.js} +8 -8
- package/dist/{issue-format-DSksfKiV.js → issue-format-CJ89_-9v.js} +1 -1
- package/dist/{json-files-rR19q30D.js → json-files-CuJjdF_0.js} +8 -8
- package/dist/{legacy-names-DOC03BkU.js → legacy-names-TyzbVqa_.js} +1 -1
- package/dist/{lifecycle-core-DVwen0ks.js → lifecycle-core-BzuWBBm8.js} +5 -5
- package/dist/llm-slug-generator.js +51 -51
- package/dist/{logger-BfjWMCSD.js → logger-DMZQQtxK.js} +7 -7
- package/dist/{login-CrIwcrVI.js → login-DiCctRo1.js} +5 -5
- package/dist/{login-BcRaGQb6.js → login-VkQ9MW3d.js} +3 -3
- package/dist/{login-qr-C9D47WEZ.js → login-qr-BVMQ-xQz.js} +6 -6
- package/dist/{login-qr-BpPDZdl_.js → login-qr-MUbXgjtd.js} +10 -10
- package/dist/{logs-cli-B3TG2lp8.js → logs-cli-DWHhSnWs.js} +9 -9
- package/dist/{manager-iwcRf3Xc.js → manager-BUBwl6M6.js} +14 -14
- package/dist/{manager-1bvuGrNR.js → manager-BW_NSIMl.js} +13 -13
- package/dist/manager-runtime-BN6VevdC.js +18 -0
- package/dist/{manager-runtime-D3KqpRT7.js → manager-runtime-H9iQnw64.js} +9 -9
- package/dist/{manifest-registry-CJb8odRF.js → manifest-registry-DVviqWVY.js} +1 -1
- package/dist/{memory-cli-DGsJx7YM.js → memory-cli-DarWCbU6.js} +12 -12
- package/dist/{model-B792l3Cn.js → model-BLV8y_N-.js} +2 -2
- package/dist/{model-catalog-DZ6kl2Ko.js → model-catalog-DTcBkUlX.js} +3 -3
- package/dist/{model-picker-6fHys0wK.js → model-picker-D-fTOOzb.js} +4 -4
- package/dist/{model-selection-Dna0Gz1k.js → model-selection-idoqPmw0.js} +43 -43
- package/dist/{models-DerrMmwF.js → models-CmjutMmh.js} +17 -17
- package/dist/{models-cli-BkTZg_4v.js → models-cli-BZFQX22p.js} +78 -78
- package/dist/{models-config-Dabs9Kdv.js → models-config-DNcDbV_G.js} +6 -6
- package/dist/{net-BAIqYNz0.js → net-D5fSREu4.js} +2 -2
- package/dist/{node-cli-DoEq4zeG.js → node-cli-Cnq-PJTp.js} +33 -33
- package/dist/{node-command-policy-DRhSc90G.js → node-command-policy-B5BMBBJP.js} +1 -1
- package/dist/{node-service-CcgtNIeT.js → node-service-BpYZAvpl.js} +1 -1
- package/dist/{nodes-cli--d9RiCnK.js → nodes-cli-CkrDOWpv.js} +16 -16
- package/dist/{nodes-screen-BTND5VDq.js → nodes-screen-DfsQohWd.js} +7 -7
- package/dist/{npm-pack-install-CGUDOSKz.js → npm-pack-install-E-mkrZ55.js} +18 -18
- package/dist/{npm-resolution-CAoULCWM.js → npm-resolution-BUUmg5ON.js} +4 -4
- package/dist/{onboard-CMZRkPVc.js → onboard-DINGSS9R.js} +6 -6
- package/dist/{onboard-channels-SlJu6XWJ.js → onboard-channels-Di4MjWDY.js} +21 -21
- package/dist/{onboard-custom-EzfL89yz.js → onboard-custom-DITBQuWQ.js} +4 -4
- package/dist/{onboard-helpers-lGpaVp03.js → onboard-helpers-DO7u2ZOy.js} +10 -10
- package/dist/{onboard-hooks-B7TMiJoY.js → onboard-hooks-K02_ZWDq.js} +4 -4
- package/dist/{onboard-remote-nvWS7on7.js → onboard-remote-5-ugiSN2.js} +4 -4
- package/dist/{onboard-skills-hz91W03u.js → onboard-skills-CSzbC2KZ.js} +4 -4
- package/dist/{onboarding-CTPuMVQI.js → onboarding-BM4dvUK6.js} +14 -14
- package/dist/{onboarding.finalize-DLzl5ZOg.js → onboarding.finalize-p_RDh7ET.js} +87 -87
- package/dist/{onboarding.gateway-config-C4MoTr60.js → onboarding.gateway-config-DldlRfms.js} +18 -18
- package/dist/{onboarding.secret-input-BFD0OW4X.js → onboarding.secret-input-BIRIJiCU.js} +1 -1
- package/dist/{openai-model-default-h4LbSR7f.js → openai-model-default-CY2Nk4cn.js} +2 -2
- package/dist/{openclaw-root-BU3lu8pM.js → openclaw-root-BFfBQ6FD.js} +8 -8
- package/dist/{outbound-ChDjtuD6.js → outbound-C2kanETZ.js} +6 -6
- package/dist/{outbound-kbHYt1JW.js → outbound-DPdJe7e1.js} +3 -3
- package/dist/{outbound-attachment-DqHlD21U.js → outbound-attachment-DBrYWX8h.js} +2 -2
- package/dist/{outbound-attachment-CAJBGcna.js → outbound-attachment-DfWsfe2N.js} +2 -2
- package/dist/{pairing-cli-CXbmkz7Z.js → pairing-cli-D2VZxWg3.js} +8 -8
- package/dist/{pairing-labels-CaPLIhlh.js → pairing-labels-D4rnJ5pJ.js} +1 -1
- package/dist/{pairing-store-Brs9aNn_.js → pairing-store-BXArq4hn.js} +3 -3
- package/dist/{path-alias-guards-DhIwq92y.js → path-alias-guards-DbNvNQar.js} +3 -3
- package/dist/{path-alias-guards-BzvdLvTI.js → path-alias-guards-DqXRZmsL.js} +1 -1
- package/dist/{path-safety-BjIM4N4t.js → path-safety-ClQO4BB6.js} +1 -1
- package/dist/{paths-Cv63xST_.js → paths-BB_1ZWOj.js} +9 -9
- package/dist/{paths-Cvc9EM8Y.js → paths-C6TxBCvO.js} +5 -5
- package/dist/{paths-Bkr-BCxW.js → paths-CCxysrzL.js} +4 -4
- package/dist/{pi-embedded-BQQa91aA.js → pi-embedded-BaGj07T0.js} +158 -158
- package/dist/{pi-embedded-DYU79yGe.js → pi-embedded-CgQ_W6Xs.js} +24 -24
- package/dist/{pi-embedded-helpers-uTRAmQ4n.js → pi-embedded-helpers-CwuBTKza.js} +3 -3
- package/dist/{pi-embedded-helpers-DC2OtKrl.js → pi-embedded-helpers-oXDyXTD8.js} +6 -6
- package/dist/{pi-embedded-helpers-CLXm10bV.js → pi-embedded-helpers-wy0DZvx1.js} +52 -52
- package/dist/{pi-model-discovery-Dymwdjt0.js → pi-model-discovery-BGgOlX8N.js} +7 -7
- package/dist/{pi-model-discovery-DOb5RTev.js → pi-model-discovery-CECkJMCt.js} +1 -1
- package/dist/pi-model-discovery-runtime-Bwmi4Ev8.js +11 -0
- package/dist/{pi-model-discovery-runtime-DShjmiiF.js → pi-model-discovery-runtime-g7UP-SFR.js} +5 -5
- package/dist/{pi-tools.before-tool-call.runtime-Cwab_5W1.js → pi-tools.before-tool-call.runtime-BuLxSyx9.js} +9 -9
- package/dist/{pi-tools.before-tool-call.runtime-B079pVah.js → pi-tools.before-tool-call.runtime-Df7B-ggW.js} +5 -5
- package/dist/{pi-tools.policy-DZ-X86Va.js → pi-tools.policy-CydUEzFi.js} +5 -5
- package/dist/{plugin-auto-enable-BCMqEDjQ.js → plugin-auto-enable-BE4ZVjAL.js} +3 -3
- package/dist/{plugin-registry-BPlCWMur.js → plugin-registry-DXW3eyib.js} +3 -3
- package/dist/plugin-sdk/matrix.js +2 -2
- package/dist/{plugins-4Rj4OjLY.js → plugins-CWkRQYDj.js} +11 -11
- package/dist/{plugins-DCxT-37x.js → plugins-VAZrrfgw.js} +2 -2
- package/dist/{plugins-cli-D9ILEfyb.js → plugins-cli-BQJOOVMx.js} +83 -83
- package/dist/{ports-BlCLhwbc.js → ports-DMkRSlnH.js} +1 -1
- package/dist/{ports-CER5YPnN.js → ports-DogAV7pa.js} +2 -2
- package/dist/{program-CV56xn7w.js → program-BA11qFx1.js} +81 -81
- package/dist/{prompt-select-styled-BOa5I_PU.js → prompt-select-styled-B0GS28ia.js} +40 -40
- package/dist/{provider-auth-helpers-c6mNCUXO.js → provider-auth-helpers-CrGL-jik.js} +5 -5
- package/dist/{proxy-env-DlmzDx8x.js → proxy-env-Cq5gdrbj.js} +1 -1
- package/dist/{proxy-env-BMrSVckF.js → proxy-env-wKO3g8Yv.js} +1 -1
- package/dist/{proxy-fetch-B2pEfjbR.js → proxy-fetch-CCjEYbFm.js} +1 -1
- package/dist/{push-apns-FOkPD05E.js → push-apns-BEwBjZ0a.js} +5 -5
- package/dist/{pw-ai-DNMjFMqH.js → pw-ai-Cl1Lc7RC.js} +14 -14
- package/dist/{pw-ai-GcYO6HPE.js → pw-ai-CmphSzHx.js} +1 -1
- package/dist/{pw-ai-CxBU3aK5.js → pw-ai-CnbxziFP.js} +18 -18
- package/dist/{qmd-manager-BtIKUaO9.js → qmd-manager-BsYsO9Ii.js} +10 -10
- package/dist/{qmd-manager-DEJMqoGd.js → qmd-manager-Dp6PJ8zQ.js} +20 -20
- package/dist/{qr-cli-BD2jK4fg.js → qr-cli-CFz9kS5X.js} +2 -2
- package/dist/{query-expansion-1UTIWjP6.js → query-expansion-BrSWVbaE.js} +12 -12
- package/dist/{query-expansion-CX-1fS52.js → query-expansion-DtLc3wjL.js} +6 -6
- package/dist/{redact-COik8ET1.js → redact-ClbcYG1J.js} +1 -1
- package/dist/{redact-snapshot-D_qQD4A-.js → redact-snapshot-Bs4goggz.js} +1 -1
- package/dist/{register.agent-tbPA5YAy.js → register.agent-D641ju8B.js} +94 -94
- package/dist/register.configure-BrDOSLIq.js +165 -0
- package/dist/{register.maintenance-DrqDlV5b.js → register.maintenance-BFkk8MEH.js} +95 -95
- package/dist/{register.message-CoKXNaU0.js → register.message-D5uE_Hop.js} +74 -74
- package/dist/{register.onboard-CSWOSL9O.js → register.onboard-zHFvSwFr.js} +18 -18
- package/dist/{register.setup-DBx5JX6h.js → register.setup-uTbv3_P1.js} +21 -21
- package/dist/{register.status-health-sessions-D1bPtfep.js → register.status-health-sessions-CB7t-JQx.js} +88 -88
- package/dist/{register.subclis-QGJNmjss.js → register.subclis-MEiNmuy5.js} +31 -31
- package/dist/{rpc-DkMrTUww.js → rpc-DVfuVmy9.js} +1 -1
- package/dist/{run-main-CPftxqTe.js → run-main-mrvunzuy.js} +92 -92
- package/dist/{run-with-concurrency-BgYfgkXT.js → run-with-concurrency-D_ZpbgEG.js} +4 -4
- package/dist/{runtime-MAH2Oph4.js → runtime-C87FQrrv.js} +3 -3
- package/dist/{runtime-config-collectors-BJMV6Mt1.js → runtime-config-collectors-BQaC477D.js} +1 -1
- package/dist/{runtime-whatsapp-login.runtime-CGYWl9eB.js → runtime-whatsapp-login.runtime-DjdgScUI.js} +7 -7
- package/dist/runtime-whatsapp-login.runtime-IeylZEl4.js +13 -0
- package/dist/{runtime-whatsapp-outbound.runtime-hZEfYaRM.js → runtime-whatsapp-outbound.runtime-B74K7opl.js} +15 -15
- package/dist/runtime-whatsapp-outbound.runtime-ClBRuLsq.js +22 -0
- package/dist/{sandbox-0TbzPJaS.js → sandbox-Ct-_lzi1.js} +18 -18
- package/dist/{sandbox-cli-NLaxffXl.js → sandbox-cli-C3RoXFRE.js} +25 -25
- package/dist/{secrets-cli-KLGbYet6.js → secrets-cli-B3hqCxvs.js} +11 -11
- package/dist/{security-cli-EIEkcYVb.js → security-cli-DcHIyXr7.js} +42 -42
- package/dist/{send-BtZAqquW.js → send-2zKwf9NW.js} +11 -11
- package/dist/{send-DAMtu9kK.js → send-5o2p_xjn.js} +4 -4
- package/dist/{send-dfu6_rgf.js → send-BQERFNyo.js} +5 -5
- package/dist/{send-L7gRiwyd.js → send-Bj776ESJ.js} +7 -7
- package/dist/{send-BW-ZtYG3.js → send-CnRP4P-G.js} +5 -5
- package/dist/{send-CxgWxXZc.js → send-DAQAKa9Z.js} +6 -6
- package/dist/{send-PE6cwoTe.js → send-DcxmcFi_.js} +8 -8
- package/dist/{send-6lz6rNVP.js → send-Dx2RkUOZ.js} +6 -6
- package/dist/{send-sC6ka831.js → send-u1Bo4CSn.js} +8 -8
- package/dist/{send-BHTiZcH3.js → send-vmONuVgL.js} +26 -26
- package/dist/{server-kUElNhlY.js → server-Ci4xtuR9.js} +20 -20
- package/dist/{server-context-HJVwPQYn.js → server-context-8pDe2iyd.js} +12 -12
- package/dist/{server-lifecycle-BE32unpZ.js → server-lifecycle-k5daSrde.js} +2 -2
- package/dist/{server-middleware-AS2VOYkK.js → server-middleware-DMiFT9xU.js} +1 -1
- package/dist/{server-node-events-DkbZzI6P.js → server-node-events-BmnPjNXE.js} +74 -74
- package/dist/{service-CyStNr3d.js → service-BhOFtHSw.js} +15 -15
- package/dist/{session-D8ImowSs.js → session-A4QhBRvH.js} +8 -8
- package/dist/{session-CaCx4rPH.js → session-DkOjpX3_.js} +1 -1
- package/dist/{session-utils-CGqb1oeq.js → session-utils-DKRmXD2l.js} +6 -6
- package/dist/{sessions-BmVDW-7q.js → sessions-BOWPuhe5.js} +15 -15
- package/dist/{sessions-BV6HNW4h.js → sessions-svLGrv0Z.js} +4 -4
- package/dist/{shared-JW74idb0.js → shared-CbAkLNrg.js} +1 -1
- package/dist/{shared-DUQavBtY.js → shared-CjuadLFV.js} +3 -3
- package/dist/{skill-commands-DNqJ-kwn.js → skill-commands-CMzBZKG2.js} +9 -9
- package/dist/{skill-commands-WtIJG0CI.js → skill-commands-TpUsdjev.js} +5 -5
- package/dist/{skill-scanner-DIFsGcqE.js → skill-scanner-BZvvItef.js} +6 -6
- package/dist/{skills-7ODkHQYp.js → skills-CE_iqvM5.js} +22 -22
- package/dist/{skills-7T9PwwL6.js → skills-DR-vacol.js} +3 -3
- package/dist/{skills-cli-DPavvthL.js → skills-cli-oay0tY8Z.js} +5 -5
- package/dist/{skills-install-BoLfaoWv.js → skills-install-Vmi7xYfa.js} +6 -6
- package/dist/{skills-status-CK5Gnf6i.js → skills-status-BmN697ff.js} +1 -1
- package/dist/{slash-commands.runtime-CMGx2xHy.js → slash-commands.runtime-BfaheruW.js} +11 -11
- package/dist/slash-commands.runtime-Cpn2tYW4.js +16 -0
- package/dist/{slash-dispatch.runtime-Dh053pQK.js → slash-dispatch.runtime-131yup2e.js} +6 -6
- package/dist/slash-dispatch.runtime-D0xInkf3.js +114 -0
- package/dist/slash-dispatch.runtime-DoBAQBU5.js +56 -0
- package/dist/{slash-skill-commands.runtime-ChU2tck2.js → slash-skill-commands.runtime-D34BKAN-.js} +15 -15
- package/dist/slash-skill-commands.runtime-DKMvvdDW.js +20 -0
- package/dist/{status-Bp-K1BEf.js → status-BcQchPaC.js} +27 -27
- package/dist/{status.update-ZYUSggzS.js → status.update-B20UBTDq.js} +2 -2
- package/dist/{store-D89wDcz9.js → store--eR1R_UX.js} +2 -2
- package/dist/{store-DeASfYEV.js → store-DDkqo1sO.js} +5 -5
- package/dist/{subagent-registry-8qHIVhRq.js → subagent-registry-CPxHbyN5.js} +149 -149
- package/dist/{subagent-registry-runtime-DSi5mnCQ.js → subagent-registry-runtime-DbSf_Je6.js} +6 -6
- package/dist/subagent-registry-runtime-SkB2tTaE.js +114 -0
- package/dist/subagent-registry-runtime-ppWS3tVu.js +56 -0
- package/dist/{subsystem-B45WV3qB.js → subsystem-Di1z8l0Z.js} +14 -14
- package/dist/{system-cli-C2xNfuQM.js → system-cli-D2yIJoKU.js} +9 -9
- package/dist/{system-run-command-BPWZk7KI.js → system-run-command-BmhbnLTE.js} +1 -1
- package/dist/{systemd-Cf-0XKYu.js → systemd-DjWVSbAG.js} +9 -9
- package/dist/{systemd-hints-CYllYKO0.js → systemd-hints-Do-aQ9jw.js} +6 -6
- package/dist/{systemd-linger-zllO90bD.js → systemd-linger-DpmnYgKU.js} +1 -1
- package/dist/{tables-CV7Afb0h.js → tables-BxyIF0w4.js} +1 -1
- package/dist/{tables-mE4cJBN2.js → tables-d739Y1xW.js} +1 -1
- package/dist/{tailnet-DJFUq7_R.js → tailnet-0_FsdHP-.js} +1 -1
- package/dist/{target-errors-mnlwhAjP.js → target-errors-CBI2Ga0y.js} +2 -2
- package/dist/{target-errors-iVxliVqA.js → target-errors-KOHiT_JA.js} +4 -4
- package/dist/{thinking-BeGmb5k6.js → thinking-DXYisHiZ.js} +7 -7
- package/dist/{tokens-q32vI39c.js → tokens-DxnY9ui_.js} +1 -1
- package/dist/{tool-images-RZdHiZcG.js → tool-images-2cBx1W8h.js} +2 -2
- package/dist/{tool-images-Bn6dB14u.js → tool-images-CNPfeCmU.js} +1 -1
- package/dist/{tui-DTVy-YhN.js → tui-DL6NZZEa.js} +6 -6
- package/dist/{tui-cli-CexRLJ3a.js → tui-cli-BNAYhvpu.js} +32 -32
- package/dist/{update-DijPxK0g.js → update-DlS-d52F.js} +3 -3
- package/dist/{update-cli-9NslG4yR.js → update-cli-D8-DqIs2.js} +104 -104
- package/dist/{update-runner-B6_UqreW.js → update-runner-CzTQ7BJT.js} +16 -16
- package/dist/{web-Btj-e8kN.js → web-CzWRVmFt.js} +55 -55
- package/dist/web-DWiOofzq.js +118 -0
- package/dist/{web-1hWJDzNA.js → web-MR9d7KyB.js} +6 -6
- package/dist/{webhooks-cli-B4ZcXTtw.js → webhooks-cli-QdaQhvbT.js} +6 -6
- package/dist/{whatsapp-actions-Jm4VW1Ve.js → whatsapp-actions-Bp8F0cOF.js} +17 -17
- package/dist/{whatsapp-actions-BHbJJyqw.js → whatsapp-actions-iEArE_Ez.js} +21 -21
- package/dist/{with-timeout-C8-tY12i.js → with-timeout-BMMWHlH3.js} +3 -3
- package/dist/{workspace-U-DyR64O.js → workspace-CUVC6GX1.js} +20 -20
- package/dist/{workspace-dirs-D4SMysgC.js → workspace-dirs-Cz_Zgtg2.js} +1 -1
- package/dist/{workspace-CIGzK2_w.js → workspace-v76gFdZu.js} +1 -1
- package/dist/{wsl-CsGe5QCP.js → wsl-CvQfS6aU.js} +2 -2
- package/package.json +1 -1
- package/scripts/create-instance.sh +21 -25
- package/dist/deliver-runtime-BFs7iAZF.js +0 -36
- package/dist/deliver-runtime-CdWd-JQI.js +0 -61
- package/dist/deps-send-discord.runtime-BltWu9GW.js +0 -36
- package/dist/deps-send-discord.runtime-DZUccI6Z.js +0 -26
- package/dist/deps-send-imessage.runtime-CF3OpoqY.js +0 -25
- package/dist/deps-send-imessage.runtime-CdCif3t7.js +0 -35
- package/dist/deps-send-signal.runtime-Cw4-ozeO.js +0 -24
- package/dist/deps-send-signal.runtime-fHqkSmMW.js +0 -34
- package/dist/deps-send-slack.runtime-BDsDhS1P.js +0 -22
- package/dist/deps-send-slack.runtime-CkyZO7ln.js +0 -32
- package/dist/deps-send-telegram.runtime-D_4xVasO.js +0 -27
- package/dist/deps-send-whatsapp.runtime-BkoMLlCM.js +0 -119
- package/dist/deps-send-whatsapp.runtime-DK8jqd14.js +0 -60
- package/dist/image-runtime-6jhrqcle.js +0 -55
- package/dist/image-runtime-BcAK3n8a.js +0 -29
- package/dist/manager-runtime-FO1Sx3W8.js +0 -18
- package/dist/pi-model-discovery-runtime-BeY4EUPp.js +0 -11
- package/dist/register.configure-DuwRrXc2.js +0 -165
- package/dist/runtime-whatsapp-login.runtime-DUb55byQ.js +0 -13
- package/dist/runtime-whatsapp-outbound.runtime-Bii_xSfI.js +0 -22
- package/dist/slash-commands.runtime-CVw6566g.js +0 -16
- package/dist/slash-dispatch.runtime-B9Ygtzi4.js +0 -56
- package/dist/slash-dispatch.runtime-BAeJXa56.js +0 -114
- package/dist/slash-skill-commands.runtime-DxZ4z5h6.js +0 -20
- package/dist/subagent-registry-runtime-DL1Wv7nA.js +0 -56
- package/dist/subagent-registry-runtime-DVomlbm6.js +0 -114
- package/dist/web-DGoa03ue.js +0 -118
|
@@ -2,10 +2,10 @@ import "./globals-ENg_AXRt.js";
|
|
|
2
2
|
import "./paths-BMo6kTge.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-BmoaLBy-.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import { z as loadConfig } from "./auth-profiles-
|
|
6
|
-
import "./agent-scope-
|
|
5
|
+
import { z as loadConfig } from "./auth-profiles-CdLTlJLc.js";
|
|
6
|
+
import "./agent-scope-BRElciAf.js";
|
|
7
7
|
import "./utils-6WlODK5w.js";
|
|
8
|
-
import "./openclaw-root-
|
|
8
|
+
import "./openclaw-root-BFfBQ6FD.js";
|
|
9
9
|
import "./logger-9wCpWqHD.js";
|
|
10
10
|
import "./exec-GR2kPVc1.js";
|
|
11
11
|
import "./registry-C3qkO1RG.js";
|
|
@@ -13,26 +13,26 @@ import "./github-copilot-token-Byc_YVYE.js";
|
|
|
13
13
|
import "./host-env-security-lcjXF83D.js";
|
|
14
14
|
import "./version-DdJhsIqk.js";
|
|
15
15
|
import "./env-vars-mSSOl7Rv.js";
|
|
16
|
-
import "./manifest-registry-
|
|
17
|
-
import "./path-alias-guards-
|
|
18
|
-
import "./net-
|
|
19
|
-
import "./tailnet-
|
|
20
|
-
import "./image-ops-
|
|
21
|
-
import "./chrome-
|
|
16
|
+
import "./manifest-registry-DVviqWVY.js";
|
|
17
|
+
import "./path-alias-guards-DbNvNQar.js";
|
|
18
|
+
import "./net-D5fSREu4.js";
|
|
19
|
+
import "./tailnet-0_FsdHP-.js";
|
|
20
|
+
import "./image-ops-pjs5W0CZ.js";
|
|
21
|
+
import "./chrome-CyM61Cn2.js";
|
|
22
22
|
import "./tailscale-aXobtl7f.js";
|
|
23
|
-
import "./auth-
|
|
24
|
-
import { c as resolveBrowserControlAuth, i as resolveBrowserConfig, r as registerBrowserRoutes, s as ensureBrowserControlAuth, t as createBrowserRouteContext } from "./server-context-
|
|
25
|
-
import "./paths-
|
|
23
|
+
import "./auth-Mj21c_GN.js";
|
|
24
|
+
import { c as resolveBrowserControlAuth, i as resolveBrowserConfig, r as registerBrowserRoutes, s as ensureBrowserControlAuth, t as createBrowserRouteContext } from "./server-context-8pDe2iyd.js";
|
|
25
|
+
import "./paths-BB_1ZWOj.js";
|
|
26
26
|
import "./redact-TY4yJzrg.js";
|
|
27
27
|
import "./errors-BbXSsOtF.js";
|
|
28
|
-
import "./fs-safe-
|
|
29
|
-
import "./proxy-env-
|
|
30
|
-
import "./store-
|
|
31
|
-
import "./ports-
|
|
28
|
+
import "./fs-safe-jMDpsYew.js";
|
|
29
|
+
import "./proxy-env-wKO3g8Yv.js";
|
|
30
|
+
import "./store-DDkqo1sO.js";
|
|
31
|
+
import "./ports-DogAV7pa.js";
|
|
32
32
|
import "./trash-C6zcuM95.js";
|
|
33
|
-
import { n as installBrowserCommonMiddleware, t as installBrowserAuthMiddleware } from "./server-middleware-
|
|
34
|
-
import { n as stopKnownBrowserProfiles, t as ensureExtensionRelayForProfiles } from "./server-lifecycle-
|
|
35
|
-
import { t as isPwAiLoaded } from "./whatsapp-actions-
|
|
33
|
+
import { n as installBrowserCommonMiddleware, t as installBrowserAuthMiddleware } from "./server-middleware-DMiFT9xU.js";
|
|
34
|
+
import { n as stopKnownBrowserProfiles, t as ensureExtensionRelayForProfiles } from "./server-lifecycle-k5daSrde.js";
|
|
35
|
+
import { t as isPwAiLoaded } from "./whatsapp-actions-Bp8F0cOF.js";
|
|
36
36
|
import express from "express";
|
|
37
37
|
|
|
38
38
|
//#region src/browser/server.ts
|
|
@@ -99,7 +99,7 @@ async function stopBrowserControlServer() {
|
|
|
99
99
|
});
|
|
100
100
|
state = null;
|
|
101
101
|
if (isPwAiLoaded()) try {
|
|
102
|
-
await (await import("./pw-ai-
|
|
102
|
+
await (await import("./pw-ai-CnbxziFP.js")).closePlaywrightBrowserConnection();
|
|
103
103
|
} catch {}
|
|
104
104
|
}
|
|
105
105
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-BMo6kTge.js";
|
|
2
2
|
import { t as parseBooleanValue } from "./boolean-DtWR5bt3.js";
|
|
3
|
-
import { G as writeConfigFile, R as createConfigIO, lt as secretRefKey, x as resolveSecretRefValues, z as loadConfig } from "./auth-profiles-
|
|
3
|
+
import { G as writeConfigFile, R as createConfigIO, lt as secretRefKey, x as resolveSecretRefValues, z as loadConfig } from "./auth-profiles-CdLTlJLc.js";
|
|
4
4
|
import { F as resolveSecretInputRef } from "./registry-C3qkO1RG.js";
|
|
5
|
-
import { r as isLoopbackHost } from "./net-
|
|
6
|
-
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-
|
|
7
|
-
import { A as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, C as stopChromeExtensionRelayServer, D as resolveCdpReachabilityTimeouts, E as PROFILE_POST_RESTART_WS_TIMEOUT_MS, F as DEFAULT_OPENCLAW_BROWSER_ENABLED, I as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, M as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, N as DEFAULT_BROWSER_EVALUATE_ENABLED, P as DEFAULT_OPENCLAW_BROWSER_COLOR, S as ensureChromeExtensionRelayServer, T as PROFILE_ATTACH_RETRY_TIMEOUT_MS, _ as appendCdpPath, a as resolveOpenClawUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as withBrowserNavigationPolicy, h as assertBrowserNavigationResultAllowed, i as launchOpenClawChrome, j as DEFAULT_AI_SNAPSHOT_MAX_CHARS, k as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopOpenClawChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchJson, w as CDP_JSON_NEW_TIMEOUT_MS, y as fetchOk } from "./chrome-
|
|
8
|
-
import { a as resolveGatewayAuth } from "./auth-
|
|
9
|
-
import { c as normalizeBrowserFormField, i as resolveExistingPathsWithinRoot, n as DEFAULT_TRACE_DIR, o as resolveWritablePathWithinRoot, r as DEFAULT_UPLOAD_DIR, t as DEFAULT_DOWNLOAD_DIR } from "./paths-
|
|
5
|
+
import { r as isLoopbackHost } from "./net-D5fSREu4.js";
|
|
6
|
+
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-pjs5W0CZ.js";
|
|
7
|
+
import { A as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, C as stopChromeExtensionRelayServer, D as resolveCdpReachabilityTimeouts, E as PROFILE_POST_RESTART_WS_TIMEOUT_MS, F as DEFAULT_OPENCLAW_BROWSER_ENABLED, I as DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME, M as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME, N as DEFAULT_BROWSER_EVALUATE_ENABLED, P as DEFAULT_OPENCLAW_BROWSER_COLOR, S as ensureChromeExtensionRelayServer, T as PROFILE_ATTACH_RETRY_TIMEOUT_MS, _ as appendCdpPath, a as resolveOpenClawUserDataDir, c as captureScreenshot, d as normalizeCdpWsUrl, f as snapshotAria, g as withBrowserNavigationPolicy, h as assertBrowserNavigationResultAllowed, i as launchOpenClawChrome, j as DEFAULT_AI_SNAPSHOT_MAX_CHARS, k as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, l as createTargetViaCdp, m as assertBrowserNavigationAllowed, n as isChromeCdpReady, o as stopOpenClawChrome, p as InvalidBrowserNavigationUrlError, r as isChromeReachable, s as resolveBrowserExecutableForPlatform, v as fetchJson, w as CDP_JSON_NEW_TIMEOUT_MS, y as fetchOk } from "./chrome-CyM61Cn2.js";
|
|
8
|
+
import { a as resolveGatewayAuth } from "./auth-Mj21c_GN.js";
|
|
9
|
+
import { c as normalizeBrowserFormField, i as resolveExistingPathsWithinRoot, n as DEFAULT_TRACE_DIR, o as resolveWritablePathWithinRoot, r as DEFAULT_UPLOAD_DIR, t as DEFAULT_DOWNLOAD_DIR } from "./paths-BB_1ZWOj.js";
|
|
10
10
|
import { n as extractErrorCode, r as formatErrorMessage } from "./errors-BbXSsOtF.js";
|
|
11
|
-
import { n as SsrFBlockedError } from "./proxy-env-
|
|
12
|
-
import { i as saveMediaBuffer, n as ensureMediaDir } from "./store-
|
|
11
|
+
import { n as SsrFBlockedError } from "./proxy-env-wKO3g8Yv.js";
|
|
12
|
+
import { i as saveMediaBuffer, n as ensureMediaDir } from "./store-DDkqo1sO.js";
|
|
13
13
|
import { t as movePathToTrash } from "./trash-C6zcuM95.js";
|
|
14
14
|
import path from "node:path";
|
|
15
15
|
import fs from "node:fs";
|
|
16
|
-
import
|
|
16
|
+
import fs$1 from "node:fs/promises";
|
|
17
17
|
import crypto from "node:crypto";
|
|
18
18
|
|
|
19
19
|
//#region src/gateway/startup-auth.ts
|
|
@@ -208,7 +208,7 @@ function isModuleNotFoundError(err) {
|
|
|
208
208
|
}
|
|
209
209
|
async function loadPwAiModule(mode) {
|
|
210
210
|
try {
|
|
211
|
-
return await import("./pw-ai-
|
|
211
|
+
return await import("./pw-ai-CnbxziFP.js");
|
|
212
212
|
} catch (err) {
|
|
213
213
|
if (mode === "soft") return null;
|
|
214
214
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -366,7 +366,7 @@ async function withPlaywrightRouteContext(params) {
|
|
|
366
366
|
//#endregion
|
|
367
367
|
//#region src/browser/routes/output-paths.ts
|
|
368
368
|
async function ensureOutputRootDir(rootDir) {
|
|
369
|
-
await
|
|
369
|
+
await fs$1.mkdir(rootDir, { recursive: true });
|
|
370
370
|
}
|
|
371
371
|
async function resolveWritableOutputPathOrRespond(params) {
|
|
372
372
|
if (params.ensureRootDir) await ensureOutputRootDir(params.rootDir);
|
|
@@ -2557,7 +2557,7 @@ function createProfileAvailability({ opts, profile, state, getProfileState, setP
|
|
|
2557
2557
|
//#region src/browser/server-context.reset.ts
|
|
2558
2558
|
async function closePlaywrightBrowserConnection() {
|
|
2559
2559
|
try {
|
|
2560
|
-
await (await import("./pw-ai-
|
|
2560
|
+
await (await import("./pw-ai-CnbxziFP.js")).closePlaywrightBrowserConnection();
|
|
2561
2561
|
} catch {}
|
|
2562
2562
|
}
|
|
2563
2563
|
function createProfileResetOps({ profile, getProfileState, stopRunningBrowser, isHttpReachable, resolveOpenClawUserDataDir }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as ensureChromeExtensionRelayServer } from "./chrome-
|
|
2
|
-
import { a as resolveProfile, n as listKnownProfileNames, t as createBrowserRouteContext } from "./server-context-
|
|
1
|
+
import { S as ensureChromeExtensionRelayServer } from "./chrome-CyM61Cn2.js";
|
|
2
|
+
import { a as resolveProfile, n as listKnownProfileNames, t as createBrowserRouteContext } from "./server-context-8pDe2iyd.js";
|
|
3
3
|
|
|
4
4
|
//#region src/browser/server-lifecycle.ts
|
|
5
5
|
async function ensureExtensionRelayForProfiles(params) {
|
|
@@ -2,11 +2,11 @@ import "./globals-ENg_AXRt.js";
|
|
|
2
2
|
import "./paths-BMo6kTge.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-BmoaLBy-.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import { z as loadConfig } from "./auth-profiles-
|
|
6
|
-
import "./agent-scope-
|
|
5
|
+
import { z as loadConfig } from "./auth-profiles-CdLTlJLc.js";
|
|
6
|
+
import "./agent-scope-BRElciAf.js";
|
|
7
7
|
import { l as normalizeMainKey, p as scopedHeartbeatWakeOptions } from "./session-key-k6urs9r-.js";
|
|
8
8
|
import "./utils-6WlODK5w.js";
|
|
9
|
-
import "./openclaw-root-
|
|
9
|
+
import "./openclaw-root-BFfBQ6FD.js";
|
|
10
10
|
import "./logger-9wCpWqHD.js";
|
|
11
11
|
import "./exec-GR2kPVc1.js";
|
|
12
12
|
import "./registry-C3qkO1RG.js";
|
|
@@ -14,104 +14,104 @@ import "./github-copilot-token-Byc_YVYE.js";
|
|
|
14
14
|
import "./host-env-security-lcjXF83D.js";
|
|
15
15
|
import "./version-DdJhsIqk.js";
|
|
16
16
|
import "./env-vars-mSSOl7Rv.js";
|
|
17
|
-
import "./manifest-registry-
|
|
18
|
-
import "./dock-
|
|
19
|
-
import "./model-
|
|
20
|
-
import "./pi-model-discovery-
|
|
21
|
-
import "./diagnostic-
|
|
17
|
+
import "./manifest-registry-DVviqWVY.js";
|
|
18
|
+
import "./dock-BbUkruOF.js";
|
|
19
|
+
import "./model-BLV8y_N-.js";
|
|
20
|
+
import "./pi-model-discovery-CECkJMCt.js";
|
|
21
|
+
import "./diagnostic-BfiudAAN.js";
|
|
22
22
|
import "./frontmatter-D2o8_Jfu.js";
|
|
23
|
-
import "./skills-
|
|
24
|
-
import "./path-alias-guards-
|
|
23
|
+
import "./skills-DR-vacol.js";
|
|
24
|
+
import "./path-alias-guards-DbNvNQar.js";
|
|
25
25
|
import "./message-channel-CIqYyQ36.js";
|
|
26
|
-
import { d as updateSessionStore } from "./sessions-
|
|
27
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
28
|
-
import "./accounts-
|
|
29
|
-
import "./accounts-
|
|
26
|
+
import { d as updateSessionStore } from "./sessions-BOWPuhe5.js";
|
|
27
|
+
import { r as normalizeChannelId } from "./plugins-VAZrrfgw.js";
|
|
28
|
+
import "./accounts-DJaYqD2E.js";
|
|
29
|
+
import "./accounts-BU-CeDai.js";
|
|
30
30
|
import "./logging-CcxUDNcI.js";
|
|
31
|
-
import "./accounts-
|
|
32
|
-
import "./send-
|
|
33
|
-
import "./send-
|
|
34
|
-
import { Et as resolveOutboundTarget, L as createOutboundSendDeps, N as agentCommandFromIngress, Un as enqueueSystemEvent, gn as buildOutboundSessionContext, qn as requestHeartbeatNow } from "./subagent-registry-
|
|
31
|
+
import "./accounts-BVgYdU9W.js";
|
|
32
|
+
import "./send-5o2p_xjn.js";
|
|
33
|
+
import "./send-2zKwf9NW.js";
|
|
34
|
+
import { Et as resolveOutboundTarget, L as createOutboundSendDeps, N as agentCommandFromIngress, Un as enqueueSystemEvent, gn as buildOutboundSessionContext, qn as requestHeartbeatNow } from "./subagent-registry-CPxHbyN5.js";
|
|
35
35
|
import "./paths-DvFmz0MB.js";
|
|
36
36
|
import "./chat-envelope-D3RSz140.js";
|
|
37
|
-
import "./client-
|
|
38
|
-
import "./call-
|
|
37
|
+
import "./client-C-wA75vx.js";
|
|
38
|
+
import "./call-Dp9SDkqK.js";
|
|
39
39
|
import "./pairing-token-BXrId5bQ.js";
|
|
40
|
-
import "./net-
|
|
41
|
-
import "./tailnet-
|
|
40
|
+
import "./net-D5fSREu4.js";
|
|
41
|
+
import "./tailnet-0_FsdHP-.js";
|
|
42
42
|
import "./tokens-6laAe_ss.js";
|
|
43
|
-
import "./with-timeout-
|
|
44
|
-
import { t as deliverOutboundPayloads } from "./deliver-
|
|
45
|
-
import "./image-ops-
|
|
46
|
-
import "./send-
|
|
47
|
-
import "./pi-embedded-helpers-
|
|
48
|
-
import "./sandbox-
|
|
43
|
+
import "./with-timeout-BMMWHlH3.js";
|
|
44
|
+
import { t as deliverOutboundPayloads } from "./deliver-CxF9h9PE.js";
|
|
45
|
+
import "./image-ops-pjs5W0CZ.js";
|
|
46
|
+
import "./send-u1Bo4CSn.js";
|
|
47
|
+
import "./pi-embedded-helpers-oXDyXTD8.js";
|
|
48
|
+
import "./sandbox-Ct-_lzi1.js";
|
|
49
49
|
import "./tool-catalog-C04U7H3F.js";
|
|
50
|
-
import "./chrome-
|
|
50
|
+
import "./chrome-CyM61Cn2.js";
|
|
51
51
|
import "./tailscale-aXobtl7f.js";
|
|
52
|
-
import "./auth-
|
|
53
|
-
import "./server-context-
|
|
54
|
-
import "./paths-
|
|
52
|
+
import "./auth-Mj21c_GN.js";
|
|
53
|
+
import "./server-context-8pDe2iyd.js";
|
|
54
|
+
import "./paths-BB_1ZWOj.js";
|
|
55
55
|
import "./redact-TY4yJzrg.js";
|
|
56
56
|
import "./errors-BbXSsOtF.js";
|
|
57
|
-
import "./fs-safe-
|
|
58
|
-
import "./proxy-env-
|
|
59
|
-
import "./store-
|
|
60
|
-
import "./ports-
|
|
57
|
+
import "./fs-safe-jMDpsYew.js";
|
|
58
|
+
import "./proxy-env-wKO3g8Yv.js";
|
|
59
|
+
import "./store-DDkqo1sO.js";
|
|
60
|
+
import "./ports-DogAV7pa.js";
|
|
61
61
|
import "./trash-C6zcuM95.js";
|
|
62
|
-
import "./server-middleware-
|
|
63
|
-
import "./tool-images-
|
|
62
|
+
import "./server-middleware-DMiFT9xU.js";
|
|
63
|
+
import "./tool-images-CNPfeCmU.js";
|
|
64
64
|
import "./thinking-CrcT589P.js";
|
|
65
|
-
import "./models-config-
|
|
66
|
-
import "./exec-approvals-allowlist-
|
|
67
|
-
import "./exec-safe-bin-runtime-policy-
|
|
68
|
-
import "./model-catalog-
|
|
69
|
-
import "./fetch-
|
|
70
|
-
import "./audio-transcription-runner-
|
|
71
|
-
import "./fetch-guard-
|
|
72
|
-
import "./image-
|
|
65
|
+
import "./models-config-DNcDbV_G.js";
|
|
66
|
+
import "./exec-approvals-allowlist-ySf2Yo5n.js";
|
|
67
|
+
import "./exec-safe-bin-runtime-policy-DnXViOlF.js";
|
|
68
|
+
import "./model-catalog-DTcBkUlX.js";
|
|
69
|
+
import "./fetch-D-SiVqBm.js";
|
|
70
|
+
import "./audio-transcription-runner-D1cvrZ6s.js";
|
|
71
|
+
import "./fetch-guard-CKYBfJ66.js";
|
|
72
|
+
import "./image-CyHTO86Q.js";
|
|
73
73
|
import "./tool-display-CvlNC8XD.js";
|
|
74
|
-
import "./api-key-rotation-
|
|
74
|
+
import "./api-key-rotation-BbuLHl0_.js";
|
|
75
75
|
import "./proxy-fetch-DezNPSn_.js";
|
|
76
|
-
import "./ir-
|
|
76
|
+
import "./ir-Da7Ahsqc.js";
|
|
77
77
|
import "./render-CCLsW6Lz.js";
|
|
78
|
-
import "./target-errors-
|
|
79
|
-
import "./commands-
|
|
80
|
-
import "./commands-registry-
|
|
78
|
+
import "./target-errors-KOHiT_JA.js";
|
|
79
|
+
import "./commands-C8pWcFs_.js";
|
|
80
|
+
import "./commands-registry-J6nVL3BQ.js";
|
|
81
81
|
import "./fetch-Cep8cXb2.js";
|
|
82
|
-
import "./pairing-store-
|
|
82
|
+
import "./pairing-store-BXArq4hn.js";
|
|
83
83
|
import "./exec-approvals-BXpO0clf.js";
|
|
84
|
-
import "./nodes-screen-
|
|
85
|
-
import "./system-run-command-
|
|
86
|
-
import { c as resolveGatewaySessionStoreTarget, o as loadSessionEntry, s as pruneLegacyStoreKeys } from "./session-utils-
|
|
84
|
+
import "./nodes-screen-DfsQohWd.js";
|
|
85
|
+
import "./system-run-command-BmhbnLTE.js";
|
|
86
|
+
import { c as resolveGatewaySessionStoreTarget, o as loadSessionEntry, s as pruneLegacyStoreKeys } from "./session-utils-DKRmXD2l.js";
|
|
87
87
|
import "./session-cost-usage-TIBv8Nm4.js";
|
|
88
|
-
import "./skill-commands-
|
|
89
|
-
import "./workspace-dirs-
|
|
90
|
-
import "./channel-activity-
|
|
91
|
-
import "./tables-
|
|
92
|
-
import "./server-lifecycle-
|
|
88
|
+
import "./skill-commands-TpUsdjev.js";
|
|
89
|
+
import "./workspace-dirs-Cz_Zgtg2.js";
|
|
90
|
+
import "./channel-activity-LfmEkdDN.js";
|
|
91
|
+
import "./tables-BxyIF0w4.js";
|
|
92
|
+
import "./server-lifecycle-k5daSrde.js";
|
|
93
93
|
import "./stagger-C4U8O7GM.js";
|
|
94
|
-
import "./channel-selection-
|
|
95
|
-
import "./plugin-auto-enable-
|
|
96
|
-
import "./send-
|
|
97
|
-
import "./outbound-attachment-
|
|
94
|
+
import "./channel-selection-DFJsYFPo.js";
|
|
95
|
+
import "./plugin-auto-enable-BE4ZVjAL.js";
|
|
96
|
+
import "./send-CnRP4P-G.js";
|
|
97
|
+
import "./outbound-attachment-DfWsfe2N.js";
|
|
98
98
|
import "./delivery-queue-Bl-IGZt-.js";
|
|
99
|
-
import "./send-
|
|
100
|
-
import "./pi-tools.policy-
|
|
99
|
+
import "./send-DAQAKa9Z.js";
|
|
100
|
+
import "./pi-tools.policy-CydUEzFi.js";
|
|
101
101
|
import "./proxy-Dgwoliym.js";
|
|
102
|
-
import "./runtime-config-collectors-
|
|
103
|
-
import "./command-secret-targets-
|
|
104
|
-
import "./onboard-helpers-
|
|
102
|
+
import "./runtime-config-collectors-BQaC477D.js";
|
|
103
|
+
import "./command-secret-targets-u3eWn-W3.js";
|
|
104
|
+
import "./onboard-helpers-DO7u2ZOy.js";
|
|
105
105
|
import "./prompt-style-xJW90oWC.js";
|
|
106
|
-
import "./pairing-labels-
|
|
107
|
-
import "./memory-cli-
|
|
108
|
-
import "./manager-
|
|
109
|
-
import "./query-expansion-
|
|
106
|
+
import "./pairing-labels-D4rnJ5pJ.js";
|
|
107
|
+
import "./memory-cli-DarWCbU6.js";
|
|
108
|
+
import "./manager-BUBwl6M6.js";
|
|
109
|
+
import "./query-expansion-BrSWVbaE.js";
|
|
110
110
|
import "./links-D_JFKt7M.js";
|
|
111
111
|
import "./cli-utils-BKqG4ZT-.js";
|
|
112
112
|
import "./help-format-D9iBodJ_.js";
|
|
113
113
|
import "./progress-BJ1VMw-T.js";
|
|
114
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
114
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-BEwBjZ0a.js";
|
|
115
115
|
import { randomUUID } from "node:crypto";
|
|
116
116
|
|
|
117
117
|
//#region src/gateway/server-node-events.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { d as resolveGatewayServiceDescription, l as resolveGatewayLaunchAgentLabel, m as resolveLegacyGatewayLaunchAgentLabels, p as resolveGatewayWindowsTaskName, t as GATEWAY_LAUNCH_AGENT_LABEL } from "./constants-C8Mfdyag.js";
|
|
2
|
-
import { _ as formatLine, a as readSystemdServiceRuntime, b as execFileUtf8, c as stopSystemdService, g as resolveHomeDir, h as resolveGatewayStateDir, i as readSystemdServiceExecStart, m as parseKeyValueOutput, n as isSystemdServiceEnabled, p as splitArgsPreservingQuotes, s as restartSystemdService, t as installSystemdService, u as uninstallSystemdService, v as toPosixPath, y as writeFormattedLines } from "./systemd-
|
|
2
|
+
import { _ as formatLine, a as readSystemdServiceRuntime, b as execFileUtf8, c as stopSystemdService, g as resolveHomeDir, h as resolveGatewayStateDir, i as readSystemdServiceExecStart, m as parseKeyValueOutput, n as isSystemdServiceEnabled, p as splitArgsPreservingQuotes, s as restartSystemdService, t as installSystemdService, u as uninstallSystemdService, v as toPosixPath, y as writeFormattedLines } from "./systemd-DjWVSbAG.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fs from "node:fs/promises";
|
|
5
5
|
|
|
6
6
|
//#region src/daemon/launchd-plist.ts
|
|
7
7
|
const LAUNCH_AGENT_THROTTLE_INTERVAL_SECONDS = 1;
|
|
@@ -16,7 +16,7 @@ const renderEnvDict = (env) => {
|
|
|
16
16
|
};
|
|
17
17
|
async function readLaunchAgentProgramArgumentsFromFile(plistPath) {
|
|
18
18
|
try {
|
|
19
|
-
const plist = await
|
|
19
|
+
const plist = await fs.readFile(plistPath, "utf8");
|
|
20
20
|
const programMatch = plist.match(/<key>ProgramArguments<\/key>\s*<array>([\s\S]*?)<\/array>/i);
|
|
21
21
|
if (!programMatch) return null;
|
|
22
22
|
const args = Array.from(programMatch[1].matchAll(/<string>([\s\S]*?)<\/string>/gi)).map((match) => plistUnescape(match[1] ?? "").trim());
|
|
@@ -130,7 +130,7 @@ async function isLaunchAgentListed(args) {
|
|
|
130
130
|
async function launchAgentPlistExists(env) {
|
|
131
131
|
try {
|
|
132
132
|
const plistPath = resolveLaunchAgentPlistPath(env);
|
|
133
|
-
await
|
|
133
|
+
await fs.access(plistPath);
|
|
134
134
|
return true;
|
|
135
135
|
} catch {
|
|
136
136
|
return false;
|
|
@@ -190,7 +190,7 @@ async function uninstallLaunchAgent({ env, stdout }) {
|
|
|
190
190
|
]);
|
|
191
191
|
await execLaunchctl(["unload", plistPath]);
|
|
192
192
|
try {
|
|
193
|
-
await
|
|
193
|
+
await fs.access(plistPath);
|
|
194
194
|
} catch {
|
|
195
195
|
stdout.write(`LaunchAgent not found at ${plistPath}\n`);
|
|
196
196
|
return;
|
|
@@ -199,8 +199,8 @@ async function uninstallLaunchAgent({ env, stdout }) {
|
|
|
199
199
|
const trashDir = path.join(home, ".Trash");
|
|
200
200
|
const dest = path.join(trashDir, `${label}.plist`);
|
|
201
201
|
try {
|
|
202
|
-
await
|
|
203
|
-
await
|
|
202
|
+
await fs.mkdir(trashDir, { recursive: true });
|
|
203
|
+
await fs.rename(plistPath, dest);
|
|
204
204
|
stdout.write(`${formatLine("Moved LaunchAgent to Trash", dest)}\n`);
|
|
205
205
|
} catch {
|
|
206
206
|
stdout.write(`LaunchAgent remains at ${plistPath} (could not move)\n`);
|
|
@@ -244,7 +244,7 @@ async function stopLaunchAgent({ stdout, env }) {
|
|
|
244
244
|
}
|
|
245
245
|
async function installLaunchAgent({ env, stdout, programArguments, workingDirectory, environment, description }) {
|
|
246
246
|
const { logDir, stdoutPath, stderrPath } = resolveGatewayLogPaths(env);
|
|
247
|
-
await
|
|
247
|
+
await fs.mkdir(logDir, { recursive: true });
|
|
248
248
|
const domain = resolveGuiDomain();
|
|
249
249
|
const label = resolveLaunchAgentLabel({ env });
|
|
250
250
|
for (const legacyLabel of resolveLegacyGatewayLaunchAgentLabels(env.OPENCLAW_PROFILE)) {
|
|
@@ -256,11 +256,11 @@ async function installLaunchAgent({ env, stdout, programArguments, workingDirect
|
|
|
256
256
|
]);
|
|
257
257
|
await execLaunchctl(["unload", legacyPlistPath]);
|
|
258
258
|
try {
|
|
259
|
-
await
|
|
259
|
+
await fs.unlink(legacyPlistPath);
|
|
260
260
|
} catch {}
|
|
261
261
|
}
|
|
262
262
|
const plistPath = resolveLaunchAgentPlistPathForLabel(env, label);
|
|
263
|
-
await
|
|
263
|
+
await fs.mkdir(path.dirname(plistPath), { recursive: true });
|
|
264
264
|
const plist = buildLaunchAgentPlist({
|
|
265
265
|
label,
|
|
266
266
|
comment: resolveGatewayServiceDescription({
|
|
@@ -274,7 +274,7 @@ async function installLaunchAgent({ env, stdout, programArguments, workingDirect
|
|
|
274
274
|
stderrPath,
|
|
275
275
|
environment
|
|
276
276
|
});
|
|
277
|
-
await
|
|
277
|
+
await fs.writeFile(plistPath, plist, "utf8");
|
|
278
278
|
await execLaunchctl([
|
|
279
279
|
"bootout",
|
|
280
280
|
domain,
|
|
@@ -454,7 +454,7 @@ function resolveTaskUser(env) {
|
|
|
454
454
|
async function readScheduledTaskCommand(env) {
|
|
455
455
|
const scriptPath = resolveTaskScriptPath(env);
|
|
456
456
|
try {
|
|
457
|
-
const content = await
|
|
457
|
+
const content = await fs.readFile(scriptPath, "utf8");
|
|
458
458
|
let workingDirectory = "";
|
|
459
459
|
let commandLine = "";
|
|
460
460
|
const environment = {};
|
|
@@ -544,7 +544,7 @@ async function assertSchtasksAvailable() {
|
|
|
544
544
|
async function installScheduledTask({ env, stdout, programArguments, workingDirectory, environment, description }) {
|
|
545
545
|
await assertSchtasksAvailable();
|
|
546
546
|
const scriptPath = resolveTaskScriptPath(env);
|
|
547
|
-
await
|
|
547
|
+
await fs.mkdir(path.dirname(scriptPath), { recursive: true });
|
|
548
548
|
const script = buildTaskScript({
|
|
549
549
|
description: resolveGatewayServiceDescription({
|
|
550
550
|
env,
|
|
@@ -555,7 +555,7 @@ async function installScheduledTask({ env, stdout, programArguments, workingDire
|
|
|
555
555
|
workingDirectory,
|
|
556
556
|
environment
|
|
557
557
|
});
|
|
558
|
-
await
|
|
558
|
+
await fs.writeFile(scriptPath, script, "utf8");
|
|
559
559
|
const taskName = resolveTaskName(env);
|
|
560
560
|
const baseArgs = [
|
|
561
561
|
"/Create",
|
|
@@ -607,7 +607,7 @@ async function uninstallScheduledTask({ env, stdout }) {
|
|
|
607
607
|
]);
|
|
608
608
|
const scriptPath = resolveTaskScriptPath(env);
|
|
609
609
|
try {
|
|
610
|
-
await
|
|
610
|
+
await fs.unlink(scriptPath);
|
|
611
611
|
stdout.write(`${formatLine("Removed task script", scriptPath)}\n`);
|
|
612
612
|
} catch {
|
|
613
613
|
stdout.write(`Task script not found at ${scriptPath}\n`);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as danger, m as success, x as toPinoLikeLogger, y as getChildLogger } from "./subsystem-
|
|
2
|
-
import { l as ensureDir, y as resolveUserPath } from "./logger-
|
|
3
|
-
import { lr as formatCliCommand, qn as VERSION } from "./model-selection-
|
|
4
|
-
import { d as resolveDefaultWebAuthDir, f as resolveWebCredsBackupPath, l as readCredsJsonRaw, p as resolveWebCredsPath, s as maybeRestoreCredsFromBackup } from "./accounts-
|
|
5
|
-
import
|
|
1
|
+
import { c as danger, m as success, x as toPinoLikeLogger, y as getChildLogger } from "./subsystem-Di1z8l0Z.js";
|
|
2
|
+
import { l as ensureDir, y as resolveUserPath } from "./logger-DMZQQtxK.js";
|
|
3
|
+
import { lr as formatCliCommand, qn as VERSION } from "./model-selection-idoqPmw0.js";
|
|
4
|
+
import { d as resolveDefaultWebAuthDir, f as resolveWebCredsBackupPath, l as readCredsJsonRaw, p as resolveWebCredsPath, s as maybeRestoreCredsFromBackup } from "./accounts-yfBeCZtS.js";
|
|
5
|
+
import syncFs from "node:fs";
|
|
6
6
|
import { randomUUID } from "node:crypto";
|
|
7
7
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|
|
8
8
|
import qrcode from "qrcode-terminal";
|
|
@@ -21,16 +21,16 @@ async function safeSaveCreds(authDir, saveCreds, logger) {
|
|
|
21
21
|
const raw = readCredsJsonRaw(credsPath);
|
|
22
22
|
if (raw) try {
|
|
23
23
|
JSON.parse(raw);
|
|
24
|
-
|
|
24
|
+
syncFs.copyFileSync(credsPath, backupPath);
|
|
25
25
|
try {
|
|
26
|
-
|
|
26
|
+
syncFs.chmodSync(backupPath, 384);
|
|
27
27
|
} catch {}
|
|
28
28
|
} catch {}
|
|
29
29
|
} catch {}
|
|
30
30
|
try {
|
|
31
31
|
await Promise.resolve(saveCreds());
|
|
32
32
|
try {
|
|
33
|
-
|
|
33
|
+
syncFs.chmodSync(resolveWebCredsPath(authDir), 384);
|
|
34
34
|
} catch {}
|
|
35
35
|
} catch (err) {
|
|
36
36
|
logger.warn({ error: String(err) }, "failed saving WhatsApp creds");
|
|
@@ -2,7 +2,7 @@ import { l as success, m as getChildLogger, t as danger, v as toPinoLikeLogger }
|
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-CLEQe4bk.js";
|
|
3
3
|
import { s as ensureDir, v as resolveUserPath } from "./utils-6WlODK5w.js";
|
|
4
4
|
import { t as VERSION } from "./version-DdJhsIqk.js";
|
|
5
|
-
import { f as readCredsJsonRaw, g as resolveWebCredsPath, h as resolveWebCredsBackupPath, m as resolveDefaultWebAuthDir, u as maybeRestoreCredsFromBackup } from "./accounts-
|
|
5
|
+
import { f as readCredsJsonRaw, g as resolveWebCredsPath, h as resolveWebCredsBackupPath, m as resolveDefaultWebAuthDir, u as maybeRestoreCredsFromBackup } from "./accounts-DJaYqD2E.js";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import { randomUUID } from "node:crypto";
|
|
8
8
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { U as FLAG_TERMINATOR, W as consumeRootOptionToken } from "./globals-ENg_AXRt.js";
|
|
2
2
|
import { g as resolveStateDir } from "./paths-BMo6kTge.js";
|
|
3
|
-
import { At as AVATAR_MAX_BYTES, Cr as parseModelRef, Dr as resolveDefaultModelForAgent, Er as resolveConfiguredModelRef, Fi as DEFAULT_CONTEXT_TOKENS, Ii as DEFAULT_MODEL, It as isWorkspaceRelativeAvatarPath, Li as DEFAULT_PROVIDER, Mt as isAvatarHttpUrl, Pt as isPathWithinRoot, Rt as resolveAvatarMime, _r as inferUniqueProviderFromConfiguredModels, jt as isAvatarDataUrl, sr as resolveOpenClawAgentDir, z as loadConfig } from "./auth-profiles-
|
|
4
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
3
|
+
import { At as AVATAR_MAX_BYTES, Cr as parseModelRef, Dr as resolveDefaultModelForAgent, Er as resolveConfiguredModelRef, Fi as DEFAULT_CONTEXT_TOKENS, Ii as DEFAULT_MODEL, It as isWorkspaceRelativeAvatarPath, Li as DEFAULT_PROVIDER, Mt as isAvatarHttpUrl, Pt as isPathWithinRoot, Rt as resolveAvatarMime, _r as inferUniqueProviderFromConfiguredModels, jt as isAvatarDataUrl, sr as resolveOpenClawAgentDir, z as loadConfig } from "./auth-profiles-CdLTlJLc.js";
|
|
4
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-BRElciAf.js";
|
|
5
5
|
import { C as isCronRunSessionKey, E as parseAgentSessionKey, c as normalizeAgentId, l as normalizeMainKey } from "./session-key-k6urs9r-.js";
|
|
6
|
-
import { a as openBoundaryFileSync } from "./openclaw-root-
|
|
7
|
-
import { $ as resolveAgentMainSessionKey, C as normalizeSessionDeliveryFields, Q as canonicalizeMainSessionAlias, X as resolveFreshSessionTotalTokens, ct as buildGroupDisplayName, j as readSessionTitleFieldsFromTranscript, o as loadSessionStore, tt as resolveMainSessionKey } from "./sessions-
|
|
6
|
+
import { a as openBoundaryFileSync } from "./openclaw-root-BFfBQ6FD.js";
|
|
7
|
+
import { $ as resolveAgentMainSessionKey, C as normalizeSessionDeliveryFields, Q as canonicalizeMainSessionAlias, X as resolveFreshSessionTotalTokens, ct as buildGroupDisplayName, j as readSessionTitleFieldsFromTranscript, o as loadSessionStore, tt as resolveMainSessionKey } from "./sessions-BOWPuhe5.js";
|
|
8
8
|
import { c as resolveStorePath } from "./paths-DvFmz0MB.js";
|
|
9
|
-
import { t as ensureOpenClawModelsJson } from "./models-config-
|
|
9
|
+
import { t as ensureOpenClawModelsJson } from "./models-config-DNcDbV_G.js";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import fs from "node:fs";
|
|
12
12
|
import { setTimeout } from "node:timers/promises";
|
|
@@ -114,7 +114,7 @@ function ensureContextWindowCacheLoaded() {
|
|
|
114
114
|
await ensureOpenClawModelsJson(cfg);
|
|
115
115
|
} catch {}
|
|
116
116
|
try {
|
|
117
|
-
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-
|
|
117
|
+
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-CECkJMCt.js").then((n) => n.r);
|
|
118
118
|
const agentDir = resolveOpenClawAgentDir();
|
|
119
119
|
const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
|
|
120
120
|
applyDiscoveredContextWindows({
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { y as resolveRequiredHomeDir } from "./paths-BMo6kTge.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-BmoaLBy-.js";
|
|
3
|
-
import { dr as isPidAlive, lr as resolveProcessScopedMap, mt as parseByteSize, pt as parseDurationMs, ur as getProcessStartTime, z as loadConfig } from "./auth-profiles-
|
|
3
|
+
import { dr as isPidAlive, lr as resolveProcessScopedMap, mt as parseByteSize, pt as parseDurationMs, ur as getProcessStartTime, z as loadConfig } from "./auth-profiles-CdLTlJLc.js";
|
|
4
4
|
import { c as normalizeAgentId, l as normalizeMainKey, r as buildAgentMainSessionKey, t as DEFAULT_AGENT_ID, v as normalizeOptionalAccountId } from "./session-key-k6urs9r-.js";
|
|
5
5
|
import { p as normalizeE164 } from "./utils-6WlODK5w.js";
|
|
6
|
-
import { c as normalizeHyphenSlug, t as getChannelDock } from "./dock-
|
|
6
|
+
import { c as normalizeHyphenSlug, t as getChannelDock } from "./dock-BbUkruOF.js";
|
|
7
7
|
import { c as listDeliverableMessageChannels, l as normalizeMessageChannel } from "./message-channel-CIqYyQ36.js";
|
|
8
|
-
import { j as normalizeChatType, r as normalizeChannelId } from "./plugins-
|
|
8
|
+
import { j as normalizeChatType, r as normalizeChannelId } from "./plugins-VAZrrfgw.js";
|
|
9
9
|
import { a as resolveSessionTranscriptPathInDir, c as resolveStorePath, i as resolveSessionTranscriptPath, n as resolveSessionFilePath, t as resolveDefaultSessionStorePath } from "./paths-DvFmz0MB.js";
|
|
10
10
|
import { r as hasInterSessionUserProvenance } from "./input-provenance-C8z9KgIz.js";
|
|
11
11
|
import { n as stripMessageIdHints, o as extractToolCallNames, r as stripInboundMetadata, s as hasToolCall, t as stripEnvelope } from "./chat-envelope-D3RSz140.js";
|
|
12
|
-
import { i as writeTextAtomic } from "./json-files-
|
|
12
|
+
import { i as writeTextAtomic } from "./json-files-CuJjdF_0.js";
|
|
13
13
|
import { t as emitSessionTranscriptUpdate } from "./transcript-events-DgzPL8Hc.js";
|
|
14
14
|
import os from "node:os";
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
import fs from "node:fs";
|
|
17
|
-
import
|
|
17
|
+
import fs$1 from "node:fs/promises";
|
|
18
18
|
import crypto from "node:crypto";
|
|
19
19
|
import { CURRENT_SESSION_VERSION, SessionManager } from "@mariozechner/pi-coding-agent";
|
|
20
20
|
|
|
@@ -519,7 +519,7 @@ async function releaseHeldLock(normalizedSessionFile, held, opts = {}) {
|
|
|
519
519
|
await held.handle.close();
|
|
520
520
|
} catch {}
|
|
521
521
|
try {
|
|
522
|
-
await
|
|
522
|
+
await fs$1.rm(held.lockPath, { force: true });
|
|
523
523
|
} catch {}
|
|
524
524
|
})();
|
|
525
525
|
try {
|
|
@@ -598,7 +598,7 @@ function registerCleanupHandlers() {
|
|
|
598
598
|
}
|
|
599
599
|
async function readLockPayload(lockPath) {
|
|
600
600
|
try {
|
|
601
|
-
const raw = await
|
|
601
|
+
const raw = await fs$1.readFile(lockPath, "utf8");
|
|
602
602
|
const parsed = JSON.parse(raw);
|
|
603
603
|
const payload = {};
|
|
604
604
|
if (isValidLockNumber(parsed.pid) && parsed.pid > 0) payload.pid = parsed.pid;
|
|
@@ -642,7 +642,7 @@ async function shouldReclaimContendedLockFile(lockPath, details, staleMs, nowMs)
|
|
|
642
642
|
if (!details.stale) return false;
|
|
643
643
|
if (!lockInspectionNeedsMtimeStaleFallback(details)) return true;
|
|
644
644
|
try {
|
|
645
|
-
const stat = await
|
|
645
|
+
const stat = await fs$1.stat(lockPath);
|
|
646
646
|
return Math.max(0, nowMs - stat.mtimeMs) > staleMs;
|
|
647
647
|
} catch (error) {
|
|
648
648
|
return error?.code !== "ENOENT";
|
|
@@ -660,7 +660,7 @@ async function cleanStaleLockFiles(params) {
|
|
|
660
660
|
const nowMs = params.nowMs ?? Date.now();
|
|
661
661
|
let entries = [];
|
|
662
662
|
try {
|
|
663
|
-
entries = await
|
|
663
|
+
entries = await fs$1.readdir(sessionsDir, { withFileTypes: true });
|
|
664
664
|
} catch (err) {
|
|
665
665
|
if (err.code === "ENOENT") return {
|
|
666
666
|
locks: [],
|
|
@@ -679,7 +679,7 @@ async function cleanStaleLockFiles(params) {
|
|
|
679
679
|
removed: false
|
|
680
680
|
};
|
|
681
681
|
if (lockInfo.stale && removeStale) {
|
|
682
|
-
await
|
|
682
|
+
await fs$1.rm(lockPath, { force: true });
|
|
683
683
|
lockInfo.removed = true;
|
|
684
684
|
cleaned.push(lockInfo);
|
|
685
685
|
params.log?.warn?.(`removed stale session lock: ${lockPath} (${lockInfo.staleReasons.join(", ") || "unknown"})`);
|
|
@@ -698,10 +698,10 @@ async function acquireSessionWriteLock(params) {
|
|
|
698
698
|
const maxHoldMs = resolvePositiveMs(params.maxHoldMs, DEFAULT_MAX_HOLD_MS);
|
|
699
699
|
const sessionFile = path.resolve(params.sessionFile);
|
|
700
700
|
const sessionDir = path.dirname(sessionFile);
|
|
701
|
-
await
|
|
701
|
+
await fs$1.mkdir(sessionDir, { recursive: true });
|
|
702
702
|
let normalizedDir = sessionDir;
|
|
703
703
|
try {
|
|
704
|
-
normalizedDir = await
|
|
704
|
+
normalizedDir = await fs$1.realpath(sessionDir);
|
|
705
705
|
} catch {}
|
|
706
706
|
const normalizedSessionFile = path.join(normalizedDir, path.basename(sessionFile));
|
|
707
707
|
const lockPath = `${normalizedSessionFile}.lock`;
|
|
@@ -719,7 +719,7 @@ async function acquireSessionWriteLock(params) {
|
|
|
719
719
|
attempt += 1;
|
|
720
720
|
let handle = null;
|
|
721
721
|
try {
|
|
722
|
-
handle = await
|
|
722
|
+
handle = await fs$1.open(lockPath, "wx");
|
|
723
723
|
const createdAt = (/* @__PURE__ */ new Date()).toISOString();
|
|
724
724
|
const starttime = getProcessStartTime(process.pid);
|
|
725
725
|
const lockPayload = {
|
|
@@ -745,7 +745,7 @@ async function acquireSessionWriteLock(params) {
|
|
|
745
745
|
await handle.close();
|
|
746
746
|
} catch {}
|
|
747
747
|
try {
|
|
748
|
-
await
|
|
748
|
+
await fs$1.rm(lockPath, { force: true });
|
|
749
749
|
} catch {}
|
|
750
750
|
}
|
|
751
751
|
if (err.code !== "EEXIST") throw err;
|
|
@@ -760,7 +760,7 @@ async function acquireSessionWriteLock(params) {
|
|
|
760
760
|
stale: true,
|
|
761
761
|
staleReasons: inspected.staleReasons.includes("orphan-self-pid") ? inspected.staleReasons : [...inspected.staleReasons, "orphan-self-pid"]
|
|
762
762
|
} : inspected, staleMs, nowMs)) {
|
|
763
|
-
await
|
|
763
|
+
await fs$1.rm(lockPath, { force: true });
|
|
764
764
|
continue;
|
|
765
765
|
}
|
|
766
766
|
const delay = Math.min(1e3, 50 * attempt);
|