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
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import "./globals-ENg_AXRt.js";
|
|
2
|
+
import "./paths-BMo6kTge.js";
|
|
3
|
+
import "./subsystem-BmoaLBy-.js";
|
|
4
|
+
import "./boolean-DtWR5bt3.js";
|
|
5
|
+
import "./auth-profiles-CdLTlJLc.js";
|
|
6
|
+
import "./agent-scope-BRElciAf.js";
|
|
7
|
+
import "./utils-6WlODK5w.js";
|
|
8
|
+
import "./openclaw-root-BFfBQ6FD.js";
|
|
9
|
+
import "./logger-9wCpWqHD.js";
|
|
10
|
+
import "./exec-GR2kPVc1.js";
|
|
11
|
+
import "./registry-C3qkO1RG.js";
|
|
12
|
+
import "./github-copilot-token-Byc_YVYE.js";
|
|
13
|
+
import "./host-env-security-lcjXF83D.js";
|
|
14
|
+
import "./version-DdJhsIqk.js";
|
|
15
|
+
import "./env-vars-mSSOl7Rv.js";
|
|
16
|
+
import "./manifest-registry-DVviqWVY.js";
|
|
17
|
+
import "./dock-BbUkruOF.js";
|
|
18
|
+
import "./model-BLV8y_N-.js";
|
|
19
|
+
import "./pi-model-discovery-CECkJMCt.js";
|
|
20
|
+
import "./diagnostic-BfiudAAN.js";
|
|
21
|
+
import "./frontmatter-D2o8_Jfu.js";
|
|
22
|
+
import "./skills-DR-vacol.js";
|
|
23
|
+
import "./path-alias-guards-DbNvNQar.js";
|
|
24
|
+
import "./message-channel-CIqYyQ36.js";
|
|
25
|
+
import "./sessions-BOWPuhe5.js";
|
|
26
|
+
import "./plugins-VAZrrfgw.js";
|
|
27
|
+
import { _ as webAuthExists, c as logWebSelfId, d as pickWebChannel, o as WA_WEB_AUTH_DIR } from "./accounts-DJaYqD2E.js";
|
|
28
|
+
import "./accounts-BU-CeDai.js";
|
|
29
|
+
import "./logging-CcxUDNcI.js";
|
|
30
|
+
import "./accounts-BVgYdU9W.js";
|
|
31
|
+
import "./send-5o2p_xjn.js";
|
|
32
|
+
import "./send-2zKwf9NW.js";
|
|
33
|
+
import "./subagent-registry-CPxHbyN5.js";
|
|
34
|
+
import "./paths-DvFmz0MB.js";
|
|
35
|
+
import "./chat-envelope-D3RSz140.js";
|
|
36
|
+
import "./client-C-wA75vx.js";
|
|
37
|
+
import "./call-Dp9SDkqK.js";
|
|
38
|
+
import "./pairing-token-BXrId5bQ.js";
|
|
39
|
+
import "./net-D5fSREu4.js";
|
|
40
|
+
import "./tailnet-0_FsdHP-.js";
|
|
41
|
+
import "./tokens-6laAe_ss.js";
|
|
42
|
+
import "./with-timeout-BMMWHlH3.js";
|
|
43
|
+
import "./deliver-CxF9h9PE.js";
|
|
44
|
+
import "./image-ops-pjs5W0CZ.js";
|
|
45
|
+
import "./send-u1Bo4CSn.js";
|
|
46
|
+
import "./pi-embedded-helpers-oXDyXTD8.js";
|
|
47
|
+
import "./sandbox-Ct-_lzi1.js";
|
|
48
|
+
import "./tool-catalog-C04U7H3F.js";
|
|
49
|
+
import "./chrome-CyM61Cn2.js";
|
|
50
|
+
import "./tailscale-aXobtl7f.js";
|
|
51
|
+
import "./auth-Mj21c_GN.js";
|
|
52
|
+
import "./server-context-8pDe2iyd.js";
|
|
53
|
+
import "./paths-BB_1ZWOj.js";
|
|
54
|
+
import "./redact-TY4yJzrg.js";
|
|
55
|
+
import "./errors-BbXSsOtF.js";
|
|
56
|
+
import "./fs-safe-jMDpsYew.js";
|
|
57
|
+
import "./proxy-env-wKO3g8Yv.js";
|
|
58
|
+
import "./store-DDkqo1sO.js";
|
|
59
|
+
import "./ports-DogAV7pa.js";
|
|
60
|
+
import "./trash-C6zcuM95.js";
|
|
61
|
+
import "./server-middleware-DMiFT9xU.js";
|
|
62
|
+
import "./tool-images-CNPfeCmU.js";
|
|
63
|
+
import "./thinking-CrcT589P.js";
|
|
64
|
+
import "./models-config-DNcDbV_G.js";
|
|
65
|
+
import "./exec-approvals-allowlist-ySf2Yo5n.js";
|
|
66
|
+
import "./exec-safe-bin-runtime-policy-DnXViOlF.js";
|
|
67
|
+
import "./model-catalog-DTcBkUlX.js";
|
|
68
|
+
import "./fetch-D-SiVqBm.js";
|
|
69
|
+
import "./audio-transcription-runner-D1cvrZ6s.js";
|
|
70
|
+
import "./fetch-guard-CKYBfJ66.js";
|
|
71
|
+
import "./image-CyHTO86Q.js";
|
|
72
|
+
import "./tool-display-CvlNC8XD.js";
|
|
73
|
+
import "./api-key-rotation-BbuLHl0_.js";
|
|
74
|
+
import "./proxy-fetch-DezNPSn_.js";
|
|
75
|
+
import "./ir-Da7Ahsqc.js";
|
|
76
|
+
import "./render-CCLsW6Lz.js";
|
|
77
|
+
import "./target-errors-KOHiT_JA.js";
|
|
78
|
+
import "./commands-C8pWcFs_.js";
|
|
79
|
+
import "./commands-registry-J6nVL3BQ.js";
|
|
80
|
+
import "./fetch-Cep8cXb2.js";
|
|
81
|
+
import "./pairing-store-BXArq4hn.js";
|
|
82
|
+
import "./exec-approvals-BXpO0clf.js";
|
|
83
|
+
import "./nodes-screen-DfsQohWd.js";
|
|
84
|
+
import "./system-run-command-BmhbnLTE.js";
|
|
85
|
+
import "./session-utils-DKRmXD2l.js";
|
|
86
|
+
import "./session-cost-usage-TIBv8Nm4.js";
|
|
87
|
+
import "./skill-commands-TpUsdjev.js";
|
|
88
|
+
import "./workspace-dirs-Cz_Zgtg2.js";
|
|
89
|
+
import "./channel-activity-LfmEkdDN.js";
|
|
90
|
+
import "./tables-BxyIF0w4.js";
|
|
91
|
+
import "./server-lifecycle-k5daSrde.js";
|
|
92
|
+
import "./stagger-C4U8O7GM.js";
|
|
93
|
+
import "./channel-selection-DFJsYFPo.js";
|
|
94
|
+
import "./plugin-auto-enable-BE4ZVjAL.js";
|
|
95
|
+
import "./send-CnRP4P-G.js";
|
|
96
|
+
import "./outbound-attachment-DfWsfe2N.js";
|
|
97
|
+
import "./delivery-queue-Bl-IGZt-.js";
|
|
98
|
+
import "./send-DAQAKa9Z.js";
|
|
99
|
+
import "./pi-tools.policy-CydUEzFi.js";
|
|
100
|
+
import "./proxy-Dgwoliym.js";
|
|
101
|
+
import "./runtime-config-collectors-BQaC477D.js";
|
|
102
|
+
import "./command-secret-targets-u3eWn-W3.js";
|
|
103
|
+
import "./onboard-helpers-DO7u2ZOy.js";
|
|
104
|
+
import "./prompt-style-xJW90oWC.js";
|
|
105
|
+
import "./pairing-labels-D4rnJ5pJ.js";
|
|
106
|
+
import "./memory-cli-DarWCbU6.js";
|
|
107
|
+
import "./manager-BUBwl6M6.js";
|
|
108
|
+
import "./query-expansion-BrSWVbaE.js";
|
|
109
|
+
import "./links-D_JFKt7M.js";
|
|
110
|
+
import "./cli-utils-BKqG4ZT-.js";
|
|
111
|
+
import "./help-format-D9iBodJ_.js";
|
|
112
|
+
import "./progress-BJ1VMw-T.js";
|
|
113
|
+
import { t as sendMessageWhatsApp } from "./outbound-DPdJe7e1.js";
|
|
114
|
+
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-DzRsJEE4.js";
|
|
115
|
+
import { i as waitForWaConnection, t as createWaSocket } from "./session-DkOjpX3_.js";
|
|
116
|
+
import { t as loginWeb } from "./login-VkQ9MW3d.js";
|
|
117
|
+
|
|
118
|
+
export { WA_WEB_AUTH_DIR, createWaSocket, logWebSelfId, loginWeb, monitorWebChannel, monitorWebInbox, pickWebChannel, sendMessageWhatsApp, waitForWaConnection, webAuthExists };
|
|
@@ -2,7 +2,7 @@ import { G as buildAgentMainSessionKey, W as DEFAULT_MAIN_KEY, X as normalizeAge
|
|
|
2
2
|
import "./paths-CaA28K0s.js";
|
|
3
3
|
import { C as sleep, G as getChildLogger, L as logVerbose, O as createSubsystemLogger, T as toWhatsappJid, h as normalizeE164, j as defaultRuntime, m as jidToE164, o as clamp, p as isSelfChatMode, v as resolveJidToE164, z as shouldLogVerbose } from "./logger-DLNJPYG_.js";
|
|
4
4
|
import { Y as loadConfig, pr as formatCliCommand } from "./model-selection-CGn4LwFd.js";
|
|
5
|
-
import { A as computeBackoff, C as formatInboundEnvelope, D as resolveAgentRoute, E as buildAgentSessionKey, F as hasControlCommand, I as shouldComputeCommandAuthorized, K as resolveIdentityNamePrefix, L as buildMentionRegexes, M as formatDurationPrecise, N as enqueueSystemEvent, O as normalizeGroupActivation, P as finalizeInboundContext, R as normalizeMentionText, S as resolveInboundDebounceMs, T as getReplyFromConfig, _ as resolvePinnedMainDmOwnerFromAllowlist, a as createReplyPrefixOptions, c as DEFAULT_GROUP_HISTORY_LIMIT, d as resolveDefaultGroupPolicy, f as resolveOpenProviderRuntimeGroupPolicy, g as resolveDmGroupAccessWithLists, h as resolveDmGroupAccessWithCommandGate, i as resolveInboundSessionEnvelopeContext, j as sleepWithAbort, k as parseActivationCommand, l as buildHistoryContextFromEntries, m as readStoreAllowFromForDmPolicy, o as buildPairingReply, p as warnMissingProviderGroupPolicyFallbackOnce, q as resolveMessagePrefix, s as resolveMentionGating, u as recordPendingHistoryEntryIfEnabled, v as shouldAckReactionForWhatsApp, w as createDedupeCache, x as createInboundDebouncer, y as dispatchReplyWithBufferedBlockDispatcher } from "./pi-embedded-
|
|
5
|
+
import { A as computeBackoff, C as formatInboundEnvelope, D as resolveAgentRoute, E as buildAgentSessionKey, F as hasControlCommand, I as shouldComputeCommandAuthorized, K as resolveIdentityNamePrefix, L as buildMentionRegexes, M as formatDurationPrecise, N as enqueueSystemEvent, O as normalizeGroupActivation, P as finalizeInboundContext, R as normalizeMentionText, S as resolveInboundDebounceMs, T as getReplyFromConfig, _ as resolvePinnedMainDmOwnerFromAllowlist, a as createReplyPrefixOptions, c as DEFAULT_GROUP_HISTORY_LIMIT, d as resolveDefaultGroupPolicy, f as resolveOpenProviderRuntimeGroupPolicy, g as resolveDmGroupAccessWithLists, h as resolveDmGroupAccessWithCommandGate, i as resolveInboundSessionEnvelopeContext, j as sleepWithAbort, k as parseActivationCommand, l as buildHistoryContextFromEntries, m as readStoreAllowFromForDmPolicy, o as buildPairingReply, p as warnMissingProviderGroupPolicyFallbackOnce, q as resolveMessagePrefix, s as resolveMentionGating, u as recordPendingHistoryEntryIfEnabled, v as shouldAckReactionForWhatsApp, w as createDedupeCache, x as createInboundDebouncer, y as dispatchReplyWithBufferedBlockDispatcher } from "./pi-embedded-CgQ_W6Xs.js";
|
|
6
6
|
import "./github-copilot-token-BWXANsA6.js";
|
|
7
7
|
import { h as resolveChannelGroupRequireMention, m as resolveChannelGroupPolicy } from "./thinking-BnMXBaoj.js";
|
|
8
8
|
import "./tokens-J9QxdfW4.js";
|
|
@@ -10,14 +10,14 @@ import "./plugins-D32XloiU.js";
|
|
|
10
10
|
import { a as logWebSelfId, c as pickWebChannel, i as getWebAuthAgeMs, m as webAuthExists, n as resolveWhatsAppAccount, r as WA_WEB_AUTH_DIR, u as readWebSelfId } from "./accounts-CSwQwmi-.js";
|
|
11
11
|
import "./send-gxHdLxHb.js";
|
|
12
12
|
import "./send-coHgGFcr.js";
|
|
13
|
-
import "./deliver-
|
|
13
|
+
import "./deliver-BXVcFIHL.js";
|
|
14
14
|
import "./diagnostic-B6424ZSe.js";
|
|
15
15
|
import "./accounts-D0b225eZ.js";
|
|
16
16
|
import "./image-ops-Cdb65Ugz.js";
|
|
17
17
|
import { X as toLocationContext, Y as formatLocationText, et as upsertChannelPairingRequest } from "./send-DEuQpTH0.js";
|
|
18
18
|
import "./pi-model-discovery-BKJwRHhi.js";
|
|
19
|
-
import { At as resolveGroupSessionKey, J as updateLastRoute, K as recordSessionMetaFromInbound, W as loadSessionStore } from "./pi-embedded-helpers-
|
|
20
|
-
import "./chrome-
|
|
19
|
+
import { At as resolveGroupSessionKey, J as updateLastRoute, K as recordSessionMetaFromInbound, W as loadSessionStore } from "./pi-embedded-helpers-CwuBTKza.js";
|
|
20
|
+
import "./chrome-CMU2WVFh.js";
|
|
21
21
|
import "./skills-DhJjHaBz.js";
|
|
22
22
|
import "./path-alias-guards-B6LFrksx.js";
|
|
23
23
|
import "./redact-DBcTOmRL.js";
|
|
@@ -28,8 +28,8 @@ import { i as saveMediaBuffer } from "./store-CSSX03Wl.js";
|
|
|
28
28
|
import "./accounts-CTAmvqQt.js";
|
|
29
29
|
import { s as resolveStorePath } from "./paths-BgCTr3-D.js";
|
|
30
30
|
import "./tool-images-DpgWhBLv.js";
|
|
31
|
-
import "./image-
|
|
32
|
-
import { h as registerUnhandledRejectionHandler } from "./audio-transcription-runner-
|
|
31
|
+
import "./image-BCVLo0qw.js";
|
|
32
|
+
import { h as registerUnhandledRejectionHandler } from "./audio-transcription-runner-DZbSWT9E.js";
|
|
33
33
|
import { i as getAgentScopedMediaLocalRoots } from "./fetch-Bz-lmDr4.js";
|
|
34
34
|
import "./fetch-guard-BiA86VyP.js";
|
|
35
35
|
import "./api-key-rotation-xR-rxS2R.js";
|
|
@@ -2,11 +2,11 @@ import { p as theme, t as danger } from "./globals-ENg_AXRt.js";
|
|
|
2
2
|
import { t as CONFIG_PATH, u as resolveGatewayPort } from "./paths-BMo6kTge.js";
|
|
3
3
|
import { d as defaultRuntime } from "./subsystem-BmoaLBy-.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import { G as writeConfigFile, K as validateConfigObjectWithPlugins, V as readConfigFileSnapshot, z as loadConfig } from "./auth-profiles-
|
|
5
|
+
import { G as writeConfigFile, K as validateConfigObjectWithPlugins, V as readConfigFileSnapshot, z as loadConfig } from "./auth-profiles-CdLTlJLc.js";
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-CLEQe4bk.js";
|
|
7
|
-
import "./agent-scope-
|
|
7
|
+
import "./agent-scope-BRElciAf.js";
|
|
8
8
|
import { a as displayPath } from "./utils-6WlODK5w.js";
|
|
9
|
-
import "./openclaw-root-
|
|
9
|
+
import "./openclaw-root-BFfBQ6FD.js";
|
|
10
10
|
import "./logger-9wCpWqHD.js";
|
|
11
11
|
import { t as runCommandWithTimeout } from "./exec-GR2kPVc1.js";
|
|
12
12
|
import "./registry-C3qkO1RG.js";
|
|
@@ -14,10 +14,10 @@ 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-
|
|
17
|
+
import "./manifest-registry-DVviqWVY.js";
|
|
18
18
|
import "./frontmatter-D2o8_Jfu.js";
|
|
19
|
-
import "./skills-
|
|
20
|
-
import "./path-alias-guards-
|
|
19
|
+
import "./skills-DR-vacol.js";
|
|
20
|
+
import "./path-alias-guards-DbNvNQar.js";
|
|
21
21
|
import { t as formatDocsLink } from "./links-D_JFKt7M.js";
|
|
22
22
|
import { C as normalizeServePath, S as normalizeHooksPath, T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, a as ensureTopic, b as generateHookToken, c as DEFAULT_GMAIL_LABEL, d as DEFAULT_GMAIL_SERVE_BIND, f as DEFAULT_GMAIL_SERVE_PATH, g as buildDefaultHookUrl, h as DEFAULT_GMAIL_TOPIC, i as ensureTailscaleEndpoint, l as DEFAULT_GMAIL_MAX_BYTES, m as DEFAULT_GMAIL_SUBSCRIPTION, n as ensureGcloudAuth, o as resolveProjectIdFromGogCredentials, p as DEFAULT_GMAIL_SERVE_PORT, r as ensureSubscription, s as runGcloud, t as ensureDependency, u as DEFAULT_GMAIL_RENEW_MINUTES, v as buildGogWatchStartArgs, w as parseTopicPath, x as mergeHookPresets, y as buildTopicPath } from "./gmail-setup-utils-CGAPu0UQ.js";
|
|
23
23
|
import { spawn } from "node:child_process";
|
|
@@ -2,10 +2,10 @@ import "./globals-ENg_AXRt.js";
|
|
|
2
2
|
import "./paths-BMo6kTge.js";
|
|
3
3
|
import "./subsystem-BmoaLBy-.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
|
-
import "./auth-profiles-
|
|
6
|
-
import "./agent-scope-
|
|
5
|
+
import "./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,23 +13,23 @@ 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-
|
|
16
|
+
import "./manifest-registry-DVviqWVY.js";
|
|
17
|
+
import "./path-alias-guards-DbNvNQar.js";
|
|
18
18
|
import "./message-channel-CIqYyQ36.js";
|
|
19
|
-
import { C as isWhatsAppGroupJid, w as normalizeWhatsAppTarget } from "./plugins-
|
|
20
|
-
import { i as resolveWhatsAppAccount } from "./accounts-
|
|
19
|
+
import { C as isWhatsAppGroupJid, w as normalizeWhatsAppTarget } from "./plugins-VAZrrfgw.js";
|
|
20
|
+
import { i as resolveWhatsAppAccount } from "./accounts-DJaYqD2E.js";
|
|
21
21
|
import "./logging-CcxUDNcI.js";
|
|
22
|
-
import "./image-ops-
|
|
23
|
-
import "./fs-safe-
|
|
24
|
-
import "./proxy-env-
|
|
25
|
-
import "./tool-images-
|
|
26
|
-
import "./fetch-
|
|
27
|
-
import "./fetch-guard-
|
|
28
|
-
import "./ir-
|
|
22
|
+
import "./image-ops-pjs5W0CZ.js";
|
|
23
|
+
import "./fs-safe-jMDpsYew.js";
|
|
24
|
+
import "./proxy-env-wKO3g8Yv.js";
|
|
25
|
+
import "./tool-images-CNPfeCmU.js";
|
|
26
|
+
import "./fetch-D-SiVqBm.js";
|
|
27
|
+
import "./fetch-guard-CKYBfJ66.js";
|
|
28
|
+
import "./ir-Da7Ahsqc.js";
|
|
29
29
|
import "./render-CCLsW6Lz.js";
|
|
30
|
-
import { f as readReactionParams, h as readStringParam, i as ToolAuthorizationError, l as jsonResult, n as missingTargetError, o as createActionGate } from "./target-errors-
|
|
31
|
-
import "./tables-
|
|
32
|
-
import { r as sendReactionWhatsApp } from "./outbound-
|
|
30
|
+
import { f as readReactionParams, h as readStringParam, i as ToolAuthorizationError, l as jsonResult, n as missingTargetError, o as createActionGate } from "./target-errors-KOHiT_JA.js";
|
|
31
|
+
import "./tables-BxyIF0w4.js";
|
|
32
|
+
import { r as sendReactionWhatsApp } from "./outbound-DPdJe7e1.js";
|
|
33
33
|
|
|
34
34
|
//#region src/whatsapp/resolve-outbound-target.ts
|
|
35
35
|
function resolveWhatsAppOutboundTarget(params) {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import "./run-with-concurrency-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import "./subsystem-
|
|
4
|
-
import "./workspace-
|
|
5
|
-
import "./logger-
|
|
6
|
-
import "./model-selection-
|
|
7
|
-
import "./github-copilot-token-
|
|
8
|
-
import "./legacy-names-
|
|
9
|
-
import { a as normalizeWhatsAppTarget, i as isWhatsAppGroupJid } from "./plugins-
|
|
10
|
-
import { n as resolveWhatsAppAccount } from "./accounts-
|
|
11
|
-
import "./image-ops-
|
|
12
|
-
import "./path-alias-guards-
|
|
13
|
-
import "./fs-safe-
|
|
14
|
-
import "./proxy-env-
|
|
15
|
-
import "./tool-images-
|
|
16
|
-
import "./fetch-
|
|
17
|
-
import "./fetch-guard-
|
|
18
|
-
import "./ir-
|
|
1
|
+
import "./run-with-concurrency-D_ZpbgEG.js";
|
|
2
|
+
import "./paths-C6TxBCvO.js";
|
|
3
|
+
import "./subsystem-Di1z8l0Z.js";
|
|
4
|
+
import "./workspace-CUVC6GX1.js";
|
|
5
|
+
import "./logger-DMZQQtxK.js";
|
|
6
|
+
import "./model-selection-idoqPmw0.js";
|
|
7
|
+
import "./github-copilot-token-D13V9YBz.js";
|
|
8
|
+
import "./legacy-names-TyzbVqa_.js";
|
|
9
|
+
import { a as normalizeWhatsAppTarget, i as isWhatsAppGroupJid } from "./plugins-CWkRQYDj.js";
|
|
10
|
+
import { n as resolveWhatsAppAccount } from "./accounts-yfBeCZtS.js";
|
|
11
|
+
import "./image-ops-CehkHxmW.js";
|
|
12
|
+
import "./path-alias-guards-DqXRZmsL.js";
|
|
13
|
+
import "./fs-safe-0jAo_Whb.js";
|
|
14
|
+
import "./proxy-env-Cq5gdrbj.js";
|
|
15
|
+
import "./tool-images-2cBx1W8h.js";
|
|
16
|
+
import "./fetch-BlJWzEP6.js";
|
|
17
|
+
import "./fetch-guard-ChYBwfiy.js";
|
|
18
|
+
import "./ir-DAP-B-Xw.js";
|
|
19
19
|
import "./render-DW7AcFdD.js";
|
|
20
|
-
import { f as readReactionParams, h as readStringParam, i as ToolAuthorizationError, l as jsonResult, n as missingTargetError, o as createActionGate } from "./target-errors-
|
|
21
|
-
import "./tables-
|
|
22
|
-
import { r as sendReactionWhatsApp } from "./outbound-
|
|
20
|
+
import { f as readReactionParams, h as readStringParam, i as ToolAuthorizationError, l as jsonResult, n as missingTargetError, o as createActionGate } from "./target-errors-CBI2Ga0y.js";
|
|
21
|
+
import "./tables-d739Y1xW.js";
|
|
22
|
+
import { r as sendReactionWhatsApp } from "./outbound-C2kanETZ.js";
|
|
23
23
|
|
|
24
24
|
//#region src/whatsapp/resolve-outbound-target.ts
|
|
25
25
|
function resolveWhatsAppOutboundTarget(params) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-BmoaLBy-.js";
|
|
2
|
-
import { z as loadConfig } from "./auth-profiles-
|
|
2
|
+
import { z as loadConfig } from "./auth-profiles-CdLTlJLc.js";
|
|
3
3
|
import { c as escapeRegExp } from "./utils-6WlODK5w.js";
|
|
4
|
-
import { i as resolveBrowserConfig, r as registerBrowserRoutes, s as ensureBrowserControlAuth, t as createBrowserRouteContext } from "./server-context-
|
|
5
|
-
import { t as ensureExtensionRelayForProfiles } from "./server-lifecycle-
|
|
4
|
+
import { i as resolveBrowserConfig, r as registerBrowserRoutes, s as ensureBrowserControlAuth, t as createBrowserRouteContext } from "./server-context-8pDe2iyd.js";
|
|
5
|
+
import { t as ensureExtensionRelayForProfiles } from "./server-lifecycle-k5daSrde.js";
|
|
6
6
|
import { execFile } from "node:child_process";
|
|
7
7
|
import os from "node:os";
|
|
8
8
|
import { promisify } from "node:util";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { d as resolveRequiredHomeDir } from "./paths-
|
|
2
|
-
import { c as danger, p as shouldLogVerbose } from "./subsystem-
|
|
3
|
-
import { g as pathExists$1, n as logError, t as logDebug, y as resolveUserPath } from "./logger-
|
|
1
|
+
import { d as resolveRequiredHomeDir } from "./paths-C6TxBCvO.js";
|
|
2
|
+
import { c as danger, p as shouldLogVerbose } from "./subsystem-Di1z8l0Z.js";
|
|
3
|
+
import { g as pathExists$1, n as logError, t as logDebug, y as resolveUserPath } from "./logger-DMZQQtxK.js";
|
|
4
4
|
import fs from "node:fs/promises";
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import path from "node:path";
|
|
7
|
-
import
|
|
7
|
+
import syncFs from "node:fs";
|
|
8
8
|
import { promisify } from "node:util";
|
|
9
9
|
import { execFile, spawn } from "node:child_process";
|
|
10
10
|
import process$1 from "node:process";
|
|
@@ -560,7 +560,7 @@ function resolveBoundaryPathLexicalSync(params) {
|
|
|
560
560
|
rootCanonicalPath: params.rootCanonicalPath,
|
|
561
561
|
resolveParams: params.params,
|
|
562
562
|
absolutePath: params.absolutePath,
|
|
563
|
-
read: (cursor) =>
|
|
563
|
+
read: (cursor) => syncFs.lstatSync(cursor)
|
|
564
564
|
});
|
|
565
565
|
if (isPromiseLike(maybeStat)) throw new Error("Unexpected async lexical stat");
|
|
566
566
|
const stat = maybeStat;
|
|
@@ -706,15 +706,15 @@ function resolvePathViaExistingAncestorSync(targetPath) {
|
|
|
706
706
|
const normalized = path.resolve(targetPath);
|
|
707
707
|
let cursor = normalized;
|
|
708
708
|
const missingSuffix = [];
|
|
709
|
-
while (!isFilesystemRoot(cursor) && !
|
|
709
|
+
while (!isFilesystemRoot(cursor) && !syncFs.existsSync(cursor)) {
|
|
710
710
|
missingSuffix.unshift(path.basename(cursor));
|
|
711
711
|
const parent = path.dirname(cursor);
|
|
712
712
|
if (parent === cursor) break;
|
|
713
713
|
cursor = parent;
|
|
714
714
|
}
|
|
715
|
-
if (!
|
|
715
|
+
if (!syncFs.existsSync(cursor)) return normalized;
|
|
716
716
|
try {
|
|
717
|
-
const resolvedAncestor = path.resolve(
|
|
717
|
+
const resolvedAncestor = path.resolve(syncFs.realpathSync(cursor));
|
|
718
718
|
if (missingSuffix.length === 0) return resolvedAncestor;
|
|
719
719
|
return path.resolve(resolvedAncestor, ...missingSuffix);
|
|
720
720
|
} catch {
|
|
@@ -739,7 +739,7 @@ function getPathKindSync(absolutePath, preserveFinalSymlink) {
|
|
|
739
739
|
try {
|
|
740
740
|
return {
|
|
741
741
|
exists: true,
|
|
742
|
-
kind: toResolvedKind(preserveFinalSymlink ?
|
|
742
|
+
kind: toResolvedKind(preserveFinalSymlink ? syncFs.lstatSync(absolutePath) : syncFs.statSync(absolutePath))
|
|
743
743
|
};
|
|
744
744
|
} catch (error) {
|
|
745
745
|
if (isNotFoundPathError(error)) return {
|
|
@@ -799,10 +799,10 @@ async function resolveSymlinkHopPath(symlinkPath) {
|
|
|
799
799
|
}
|
|
800
800
|
function resolveSymlinkHopPathSync(symlinkPath) {
|
|
801
801
|
try {
|
|
802
|
-
return path.resolve(
|
|
802
|
+
return path.resolve(syncFs.realpathSync(symlinkPath));
|
|
803
803
|
} catch (error) {
|
|
804
804
|
if (!isNotFoundPathError(error)) throw error;
|
|
805
|
-
const linkTarget =
|
|
805
|
+
const linkTarget = syncFs.readlinkSync(symlinkPath);
|
|
806
806
|
return resolvePathViaExistingAncestorSync(path.resolve(path.dirname(symlinkPath), linkTarget));
|
|
807
807
|
}
|
|
808
808
|
}
|
|
@@ -828,7 +828,7 @@ function sameFileIdentity(left, right) {
|
|
|
828
828
|
return sameFileIdentity$1(left, right);
|
|
829
829
|
}
|
|
830
830
|
function openVerifiedFileSync(params) {
|
|
831
|
-
const ioFs = params.ioFs ??
|
|
831
|
+
const ioFs = params.ioFs ?? syncFs;
|
|
832
832
|
const allowedType = params.allowedType ?? "file";
|
|
833
833
|
const openReadFlags = ioFs.constants.O_RDONLY | (typeof ioFs.constants.O_NOFOLLOW === "number" ? ioFs.constants.O_NOFOLLOW : 0);
|
|
834
834
|
let fd = null;
|
|
@@ -905,7 +905,7 @@ function canUseBoundaryFileOpen(ioFs) {
|
|
|
905
905
|
return typeof ioFs.openSync === "function" && typeof ioFs.closeSync === "function" && typeof ioFs.fstatSync === "function" && typeof ioFs.lstatSync === "function" && typeof ioFs.realpathSync === "function" && typeof ioFs.readFileSync === "function" && typeof ioFs.constants === "object" && ioFs.constants !== null;
|
|
906
906
|
}
|
|
907
907
|
function openBoundaryFileSync(params) {
|
|
908
|
-
const ioFs = params.ioFs ??
|
|
908
|
+
const ioFs = params.ioFs ?? syncFs;
|
|
909
909
|
const resolved = resolveBoundaryFilePathGeneric({
|
|
910
910
|
absolutePath: params.absolutePath,
|
|
911
911
|
resolve: (absolutePath) => resolveBoundaryPathSync({
|
|
@@ -956,7 +956,7 @@ function finalizeBoundaryFileOpen(params) {
|
|
|
956
956
|
});
|
|
957
957
|
}
|
|
958
958
|
async function openBoundaryFile(params) {
|
|
959
|
-
const ioFs = params.ioFs ??
|
|
959
|
+
const ioFs = params.ioFs ?? syncFs;
|
|
960
960
|
const maybeResolved = resolveBoundaryFilePathGeneric({
|
|
961
961
|
absolutePath: params.absolutePath,
|
|
962
962
|
resolve: (absolutePath) => resolveBoundaryPath({
|
|
@@ -1105,7 +1105,7 @@ function resolveNpmArgvForWindows(argv) {
|
|
|
1105
1105
|
if (!cliName) return null;
|
|
1106
1106
|
const nodeDir = path.dirname(process$1.execPath);
|
|
1107
1107
|
const cliPath = path.join(nodeDir, "node_modules", "npm", "bin", cliName);
|
|
1108
|
-
if (!
|
|
1108
|
+
if (!syncFs.existsSync(cliPath)) return null;
|
|
1109
1109
|
return [
|
|
1110
1110
|
process$1.execPath,
|
|
1111
1111
|
cliPath,
|
|
@@ -1307,7 +1307,7 @@ async function readPackageName(dir) {
|
|
|
1307
1307
|
}
|
|
1308
1308
|
function readPackageNameSync(dir) {
|
|
1309
1309
|
try {
|
|
1310
|
-
const raw =
|
|
1310
|
+
const raw = syncFs.readFileSync(path.join(dir, "package.json"), "utf-8");
|
|
1311
1311
|
const parsed = JSON.parse(raw);
|
|
1312
1312
|
return typeof parsed.name === "string" ? parsed.name : null;
|
|
1313
1313
|
} catch {
|
|
@@ -1341,7 +1341,7 @@ function candidateDirsFromArgv1(argv1) {
|
|
|
1341
1341
|
const normalized = path.resolve(argv1);
|
|
1342
1342
|
const candidates = [path.dirname(normalized)];
|
|
1343
1343
|
try {
|
|
1344
|
-
const resolved =
|
|
1344
|
+
const resolved = syncFs.realpathSync(normalized);
|
|
1345
1345
|
if (resolved !== normalized) candidates.push(path.dirname(resolved));
|
|
1346
1346
|
} catch {}
|
|
1347
1347
|
const parts = normalized.split(path.sep);
|
|
@@ -1453,14 +1453,14 @@ async function readWorkspaceFileWithGuards(params) {
|
|
|
1453
1453
|
const identity = workspaceFileIdentity(opened.stat, opened.path);
|
|
1454
1454
|
const cached = workspaceFileCache.get(params.filePath);
|
|
1455
1455
|
if (cached && cached.identity === identity) {
|
|
1456
|
-
|
|
1456
|
+
syncFs.closeSync(opened.fd);
|
|
1457
1457
|
return {
|
|
1458
1458
|
ok: true,
|
|
1459
1459
|
content: cached.content
|
|
1460
1460
|
};
|
|
1461
1461
|
}
|
|
1462
1462
|
try {
|
|
1463
|
-
const content =
|
|
1463
|
+
const content = syncFs.readFileSync(opened.fd, "utf-8");
|
|
1464
1464
|
workspaceFileCache.set(params.filePath, {
|
|
1465
1465
|
content,
|
|
1466
1466
|
identity
|
|
@@ -1477,7 +1477,7 @@ async function readWorkspaceFileWithGuards(params) {
|
|
|
1477
1477
|
error
|
|
1478
1478
|
};
|
|
1479
1479
|
} finally {
|
|
1480
|
-
|
|
1480
|
+
syncFs.closeSync(opened.fd);
|
|
1481
1481
|
}
|
|
1482
1482
|
}
|
|
1483
1483
|
function stripFrontMatter(content) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
1
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-BRElciAf.js";
|
|
2
2
|
|
|
3
3
|
//#region src/agents/workspace-dirs.ts
|
|
4
4
|
function listAgentWorkspaceDirs(cfg) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-BmoaLBy-.js";
|
|
2
2
|
import { t as CONFIG_DIR, v as resolveUserPath } from "./utils-6WlODK5w.js";
|
|
3
|
-
import { a as openBoundaryFileSync } from "./openclaw-root-
|
|
3
|
+
import { a as openBoundaryFileSync } from "./openclaw-root-BFfBQ6FD.js";
|
|
4
4
|
import { a as isPathInsideWithRealpath, n as MANIFEST_KEY } from "./legacy-names-DswREgBV.js";
|
|
5
5
|
import { a as resolveOpenClawManifestBlock, c as resolveOpenClawManifestRequires, d as hasBinary, f as isConfigPathTruthyWithDefaults, i as parseOpenClawManifestInstallBase, l as parseFrontmatterBlock, n as normalizeStringList, o as resolveOpenClawManifestInstall, r as parseFrontmatterBool, s as resolveOpenClawManifestOs, t as getFrontmatterString, u as evaluateRuntimeEligibility } from "./frontmatter-D2o8_Jfu.js";
|
|
6
6
|
import { fileURLToPath } from "node:url";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { readFileSync } from "node:fs";
|
|
2
|
-
import
|
|
2
|
+
import fs$1 from "node:fs/promises";
|
|
3
3
|
|
|
4
4
|
//#region src/infra/wsl.ts
|
|
5
5
|
let wslCached = null;
|
|
@@ -40,7 +40,7 @@ async function isWSL() {
|
|
|
40
40
|
return wslCached;
|
|
41
41
|
}
|
|
42
42
|
try {
|
|
43
|
-
const release = await
|
|
43
|
+
const release = await fs$1.readFile("/proc/sys/kernel/osrelease", "utf8");
|
|
44
44
|
wslCached = release.toLowerCase().includes("microsoft") || release.toLowerCase().includes("wsl");
|
|
45
45
|
} catch {
|
|
46
46
|
wslCached = false;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
# =================================================================
|
|
3
3
|
# OpenClaw 深度集成初始化工具 (init-instance.sh)
|
|
4
|
-
#
|
|
4
|
+
# 修复说明:确保 node_modules 物理安装,处理 pnpm 隔离与可选技能错误
|
|
5
5
|
# =================================================================
|
|
6
6
|
|
|
7
7
|
set -e
|
|
@@ -15,7 +15,6 @@ NC='\033[0m'
|
|
|
15
15
|
|
|
16
16
|
# --- 1. 路径溯源与环境检查 ---
|
|
17
17
|
GLOBAL_PREFIX=$(npm config get prefix)
|
|
18
|
-
# 强制转换为绝对路径,避免路径解析引发的偏移
|
|
19
18
|
INSTANCES_BASE=$(eval echo "$HOME/openclaws")
|
|
20
19
|
DEFAULT_SOURCE="${GLOBAL_PREFIX}/lib/node_modules/openclaw-multi-auto"
|
|
21
20
|
[ -d "$HOME/projects/openclaw" ] && DEFAULT_SOURCE=$(eval echo "$HOME/projects/openclaw")
|
|
@@ -59,7 +58,7 @@ fi
|
|
|
59
58
|
INSTANCE_DIR="$INSTANCES_BASE/${INSTANCE_NAME}"
|
|
60
59
|
DIST_DIR="${INSTANCE_DIR}/dist"
|
|
61
60
|
|
|
62
|
-
#
|
|
61
|
+
# 清理旧残留,防止隔离失效
|
|
63
62
|
if [ -d "$INSTANCE_DIR" ]; then
|
|
64
63
|
echo -e "${YELLOW}⚠️ 清理旧实例目录...${NC}"
|
|
65
64
|
rm -rf "$INSTANCE_DIR"
|
|
@@ -88,7 +87,6 @@ fi
|
|
|
88
87
|
DEFAULT_MODEL="zai/glm-5"
|
|
89
88
|
ZAI_KEY=""; DS_KEY=""; MX_KEY=""; KIMI_KEY=""; QWEN_KEY=""
|
|
90
89
|
|
|
91
|
-
# 根据选择设置 Primary 模型
|
|
92
90
|
case "$MODEL_PROVIDER" in
|
|
93
91
|
zai) PRIMARY_MODEL="zai/glm-5"; ZAI_KEY="$API_KEY" ;;
|
|
94
92
|
deepseek) PRIMARY_MODEL="deepseek/deepseek-chat"; DS_KEY="$API_KEY" ;;
|
|
@@ -181,51 +179,51 @@ rm -rf "$DIST_DIR" && mkdir -p "$DIST_DIR"
|
|
|
181
179
|
if [ -d "${SOURCE_CODE}/dist" ]; then
|
|
182
180
|
rsync -av --delete "${SOURCE_CODE}/dist/" "${DIST_DIR}/" 2>/dev/null | head -n 3
|
|
183
181
|
|
|
184
|
-
# 🚨 模块完整性预检:防止启动报错 ERR_MODULE_NOT_FOUND
|
|
185
182
|
MISSING_CHUNK=$(grep -oE "utils-[A-Za-z0-9]+\.js" "${DIST_DIR}/index.js" | head -n 1 || echo "")
|
|
186
183
|
if [ -n "$MISSING_CHUNK" ] && [ ! -f "${DIST_DIR}/${MISSING_CHUNK}" ]; then
|
|
187
184
|
echo -e "${RED}❌ 致命错误: 同步后的 dist 缺失关键模块 ${MISSING_CHUNK}${NC}"
|
|
188
|
-
echo -e "${YELLOW}
|
|
185
|
+
echo -e "${YELLOW}请在源码端执行: rm -rf dist && pnpm build && npm publish${NC}"
|
|
189
186
|
exit 1
|
|
190
187
|
fi
|
|
191
188
|
else
|
|
192
|
-
echo -e "${RED}❌ 错误: 母本 dist
|
|
189
|
+
echo -e "${RED}❌ 错误: 母本 dist 不存在${NC}"; exit 1
|
|
193
190
|
fi
|
|
194
191
|
|
|
195
192
|
cp "${SOURCE_CODE}/package.json" "${INSTANCE_DIR}/package.json"
|
|
196
193
|
[ -f "${SOURCE_CODE}/pnpm-lock.yaml" ] && cp "${SOURCE_CODE}/pnpm-lock.yaml" "${INSTANCE_DIR}/pnpm-lock.yaml"
|
|
197
194
|
|
|
198
|
-
# --- 6. 固化本地依赖 (
|
|
195
|
+
# --- 6. 固化本地依赖 (关键修复:确保安装执行) ---
|
|
199
196
|
echo -e "${BLUE}📦 正在固化运行环境 (pnpm)...${NC}"
|
|
200
197
|
export SHARP_BINARY_HOST="https://npmmirror.com/mirrors/sharp"
|
|
201
198
|
export SHARP_LIBVIPS_BINARY_HOST="https://npmmirror.com/mirrors/sharp-libvips"
|
|
202
199
|
|
|
203
|
-
# 🛑 关键修复:显式进入实例物理目录并创建路径锁
|
|
204
200
|
cd "${INSTANCE_DIR}"
|
|
205
|
-
touch pnpm-workspace.yaml
|
|
201
|
+
touch pnpm-workspace.yaml
|
|
206
202
|
echo -e "${YELLOW}📍 安装路径确认: $(pwd)${NC}"
|
|
207
203
|
|
|
208
|
-
|
|
204
|
+
# 强制安装依赖,捕获错误日志
|
|
205
|
+
pnpm install --shamefully-hoist --registry=https://registry.npmmirror.com --no-frozen-lockfile
|
|
209
206
|
|
|
210
|
-
#
|
|
207
|
+
# 验证 node_modules 是否生成
|
|
208
|
+
if [ ! -d "node_modules" ]; then
|
|
209
|
+
echo -e "${RED}❌ 严重错误: pnpm install 完成但 node_modules 目录未创建!${NC}"
|
|
210
|
+
exit 1
|
|
211
|
+
fi
|
|
212
|
+
|
|
213
|
+
# --- 7. 预装可选技能 (修复:即使失败也不影响主流程) ---
|
|
211
214
|
echo -e "${BLUE}🤖 正在注入飞书运维机器人引导...${NC}"
|
|
212
215
|
SKILLS_DIR="${INSTANCE_DIR}/workspace/skills"
|
|
213
216
|
mkdir -p "$SKILLS_DIR/workspace-git"
|
|
214
217
|
mkdir -p "$SKILLS_DIR/feishu-config"
|
|
215
218
|
|
|
216
|
-
#
|
|
217
|
-
pnpm add jinyu-skill-git --prefix "$SKILLS_DIR/workspace-git" --registry=https://registry.npmmirror.com >/dev/null 2>&1 ||
|
|
218
|
-
pnpm add jinyu-skill-feishu-config --prefix "$SKILLS_DIR/feishu-config" --registry=https://registry.npmmirror.com >/dev/null 2>&1 ||
|
|
219
|
+
# 使用 || true 防止私有包不存在导致 set -e 中断脚本
|
|
220
|
+
pnpm add jinyu-skill-git --prefix "$SKILLS_DIR/workspace-git" --registry=https://registry.npmmirror.com >/dev/null 2>&1 || echo "⚠️ 技能 git 跳过"
|
|
221
|
+
pnpm add jinyu-skill-feishu-config --prefix "$SKILLS_DIR/feishu-config" --registry=https://registry.npmmirror.com >/dev/null 2>&1 || echo "⚠️ 技能 feishu 跳过"
|
|
219
222
|
|
|
220
223
|
cat > "${INSTANCE_DIR}/workspace/BOOTSTRAP.md" << 'EOF'
|
|
221
224
|
# 首次启动引导任务
|
|
222
|
-
|
|
223
|
-
## 任务:自动配置飞书运维机器人
|
|
224
|
-
由于这是实例首次启动,请执行以下步骤:
|
|
225
|
-
|
|
226
225
|
1. 调用 `feishu-config` 技能,开始飞书机器人自动配置流程。
|
|
227
226
|
2. 机器人名称设定为:**运维**。
|
|
228
|
-
3. 本引导文件(BOOTSTRAP.md)将在配置成功并完成首次对话后自动处理。
|
|
229
227
|
EOF
|
|
230
228
|
|
|
231
229
|
# --- 8. 生成增强型启动脚本 ---
|
|
@@ -247,7 +245,6 @@ if [[ "$OSTYPE" == "darwin"* ]]; then
|
|
|
247
245
|
PLIST_LABEL="ai.openclaw.$INSTANCE_NAME"
|
|
248
246
|
PLIST_PATH="$HOME/Library/LaunchAgents/$PLIST_LABEL.plist"
|
|
249
247
|
if [ ! -f "$PLIST_PATH" ]; then
|
|
250
|
-
echo "📦 注册 launchd 服务..."
|
|
251
248
|
cat > "$PLIST_PATH" <<EOP
|
|
252
249
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
253
250
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
@@ -271,16 +268,15 @@ chmod +x "${INSTANCE_DIR}/start.sh"
|
|
|
271
268
|
|
|
272
269
|
# --- 9. 执行拉起 ---
|
|
273
270
|
echo -e "${BLUE}⚡ 正在后台启动服务...${NC}"
|
|
274
|
-
echo -e "${YELLOW}👉 请稍后查看飞书,看到“运维”机器人上线后发送“你好”完成配对。${NC}"
|
|
275
271
|
nohup ./start.sh > "${INSTANCE_DIR}/workspace/server.log" 2>&1 &
|
|
276
272
|
|
|
277
273
|
sleep 2
|
|
278
274
|
if ps -p $! > /dev/null; then
|
|
279
275
|
echo -e "${GREEN}================================================${NC}"
|
|
280
276
|
echo -e "${GREEN}🎉 实例 [${INSTANCE_NAME}] 初始化成功!${NC}"
|
|
281
|
-
echo -e "🌐 本地网关:
|
|
282
|
-
echo -e "📄 实时日志:
|
|
277
|
+
echo -e "🌐 本地网关: http://localhost:${PORT}"
|
|
278
|
+
echo -e "📄 实时日志: tail -f ${INSTANCE_DIR}/workspace/server.log"
|
|
283
279
|
echo -e "${GREEN}================================================${NC}"
|
|
284
280
|
else
|
|
285
|
-
echo -e "${RED}❌
|
|
281
|
+
echo -e "${RED}❌ 启动失败,请运行 tail -n 20 ${INSTANCE_DIR}/workspace/server.log 查看报错内容${NC}"
|
|
286
282
|
fi
|