openclaw-multi-auto 1.2.9 → 1.3.0
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-BVgYdU9W.js → accounts-BtEMxtPK.js} +1 -1
- package/dist/{accounts-BU-CeDai.js → accounts-CUYZBSKh.js} +1 -1
- package/dist/{accounts-C9HcPI9h.js → accounts-L9ByEpnP.js} +2 -2
- package/dist/{accounts-DJaYqD2E.js → accounts-khXX75l1.js} +7 -7
- package/dist/{accounts-Tgelvk0C.js → accounts-yfBeCZtS.js} +17 -17
- package/dist/{acp-cli-oWFHnS7i.js → acp-cli-CA2oCCEA.js} +8 -8
- package/dist/{active-listener-BEdprTkn.js → active-listener-D1yqT1cw.js} +2 -2
- package/dist/{agent-scope-BRElciAf.js → agent-scope-NQ9CtXYN.js} +17 -17
- package/dist/{agents-CujsWz9d.js → agents-BWVlofyv.js} +14 -14
- package/dist/{agents.config-C42STger.js → agents.config-QVfqc4C-.js} +2 -2
- package/dist/{api-key-rotation-BJpKWXy0.js → api-key-rotation-DtsNS2Nb.js} +2 -2
- package/dist/{api-key-rotation-BbuLHl0_.js → api-key-rotation-Vix80AUw.js} +1 -1
- package/dist/{audio-preflight-Yg1vzPE1.js → audio-preflight-DUtdCXjJ.js} +34 -34
- package/dist/{audio-preflight-BMvgEQ5j.js → audio-preflight-DoPfNXDz.js} +32 -32
- package/dist/{audio-transcription-runner-gLFfz8fr.js → audio-transcription-runner-CzjuH3uL.js} +12 -12
- package/dist/{audio-transcription-runner-D1cvrZ6s.js → audio-transcription-runner-DYKvqK54.js} +23 -23
- package/dist/{audit-membership-runtime-Dntemq07.js → audit-membership-runtime-DWyHWAHM.js} +4 -4
- package/dist/{audit-DtlAv66L.js → audit-oC--RZy0.js} +29 -29
- package/dist/{auth-Mj21c_GN.js → auth-YB6m93-M.js} +1 -1
- package/dist/{auth-choice-CEycltU4.js → auth-choice-CsSQLEkP.js} +13 -13
- package/dist/{auth-choice-CGHVedXa.js → auth-choice-gp-h1aBd.js} +11 -11
- package/dist/{auth-choice.apply-helpers-D4YQXYfc.js → auth-choice.apply-helpers-CPpuynsT.js} +1 -1
- package/dist/{auth-profiles-CdLTlJLc.js → auth-profiles-15pq9j9V.js} +16 -16
- package/dist/{auth-token-7kzDLVhb.js → auth-token-Bwn8N6KA.js} +1 -1
- package/dist/{banner-CpzKVd4-.js → banner-hcZ0XNXv.js} +2 -2
- package/dist/{bonjour-discovery-BuS9wF_p.js → bonjour-discovery-2btw06uD.js} +1 -1
- package/dist/{browser-cli-BVtbvQ3Z.js → browser-cli-C4PdLYHy.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-Dp9SDkqK.js → call-CZgRbVYm.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-ESLVGdUf.js → channel-account-context-BYiOuxnf.js} +5 -5
- package/dist/{channel-activity-LfmEkdDN.js → channel-activity-D9K6yeu8.js} +1 -1
- package/dist/{channel-activity-BDnjYF7B.js → channel-activity-xHOMiarp.js} +3 -3
- package/dist/{channel-options-CsYaFB_4.js → channel-options-DJkf_8wi.js} +3 -3
- package/dist/{channel-selection-DFJsYFPo.js → channel-selection-BpIsCVV5.js} +1 -1
- package/dist/{channel-web-DzRsJEE4.js → channel-web-wb1My1Yi.js} +17 -17
- package/dist/{channels-cli-CpfeOXtJ.js → channels-cli-DlQONtY9.js} +93 -93
- package/dist/{channels-status-issues-6V9ktlZD.js → channels-status-issues-Hj-GOSVm.js} +1 -1
- package/dist/{chrome-DxxEKrY7.js → chrome-DlhJHqj8.js} +26 -26
- package/dist/{chrome-CyM61Cn2.js → chrome-L_icBVLq.js} +4 -4
- package/dist/{clawbot-cli-COtnakIJ.js → clawbot-cli-CyTZUVIJ.js} +11 -11
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-jnT1hYPO.js → cli-CNTrB-ni.js} +73 -73
- package/dist/{client-C-wA75vx.js → client-g0366Z73.js} +2 -2
- package/dist/{command-registry-g5tDqdAU.js → command-registry-VOmumlmD.js} +11 -11
- package/dist/{command-secret-targets-u3eWn-W3.js → command-secret-targets-CIMuIdbL.js} +4 -4
- package/dist/{commands-C8pWcFs_.js → commands-DU7At3rY.js} +1 -1
- package/dist/{commands-registry-J6nVL3BQ.js → commands-registry-B_WUa9KB.js} +3 -3
- package/dist/{commands-registry-D5qXbFJn.js → commands-registry-V1zZ5pPC.js} +4 -4
- package/dist/{completion-cli-DQsyli3B.js → completion-cli-pqdmKVTo.js} +13 -13
- package/dist/{config-cli-DUycVHoC.js → config-cli-BqznmzlM.js} +7 -7
- package/dist/{config-guard--Obk2MGi.js → config-guard-D8jiLjr7.js} +3 -3
- package/dist/{config-validation-iOxszdEd.js → config-validation-BngLiGoq.js} +3 -3
- package/dist/{configure-Al_pz_5z.js → configure-B--Umf_O.js} +17 -17
- package/dist/{control-ui-assets-DpjfNcTC.js → control-ui-assets-C9ewbI8z.js} +1 -1
- package/dist/{cron-cli-CQ5EZw_b.js → cron-cli-DCRPpI1m.js} +11 -11
- package/dist/{daemon-cli-Bb80Mzv5.js → daemon-cli-DtBzKM_d.js} +15 -15
- package/dist/{daemon-install-B09ifLcJ.js → daemon-install-ckPBUAjJ.js} +4 -4
- package/dist/{daemon-install-helpers-CYpECiEx.js → daemon-install-helpers-BWf-PrgA.js} +11 -11
- package/dist/{deliver-DbdywYJE.js → deliver-CApVJA_l.js} +21 -21
- package/dist/{deliver-CxF9h9PE.js → deliver-b93aBgie.js} +7 -7
- package/dist/deliver-runtime-CdWd-JQI.js +61 -0
- package/dist/deliver-runtime-D1z-h5eg.js +36 -0
- package/dist/deps-send-discord.runtime-BltWu9GW.js +36 -0
- package/dist/deps-send-discord.runtime-DnbhTFX9.js +26 -0
- package/dist/deps-send-imessage.runtime-BOiQ6mDx.js +25 -0
- package/dist/deps-send-imessage.runtime-CdCif3t7.js +35 -0
- package/dist/deps-send-signal.runtime-CTcl388M.js +24 -0
- package/dist/deps-send-signal.runtime-fHqkSmMW.js +34 -0
- package/dist/deps-send-slack.runtime-CCqBz4Kg.js +22 -0
- package/dist/deps-send-slack.runtime-CkyZO7ln.js +32 -0
- package/dist/{deps-send-telegram.runtime-B6wp3kx8.js → deps-send-telegram.runtime-C--B69CN.js} +16 -16
- package/dist/deps-send-telegram.runtime-DGSKTCpH.js +27 -0
- package/dist/deps-send-whatsapp.runtime-BkoMLlCM.js +119 -0
- package/dist/deps-send-whatsapp.runtime-Dz_4fi2D.js +60 -0
- package/dist/{devices-cli-C0dUbeL4.js → devices-cli-D6V059Dh.js} +8 -8
- package/dist/{diagnostic-Co6Kghr-.js → diagnostic-Bn4PZjMZ.js} +2 -2
- package/dist/{diagnostic-BfiudAAN.js → diagnostic-BpP9UBCE.js} +1 -1
- package/dist/{diagnostics-DCWM_8Ur.js → diagnostics---0c2_jo.js} +5 -5
- package/dist/{directory-cli-Dlws13Di.js → directory-cli-RYC34-EU.js} +7 -7
- package/dist/{dns-cli-But7QdAw.js → dns-cli-CElNoV5S.js} +5 -5
- package/dist/{dock-BbUkruOF.js → dock-nA2DVPCV.js} +4 -4
- package/dist/{docs-cli-Ck2IKAtw.js → docs-cli-Bv7ltPvi.js} +4 -4
- package/dist/{doctor-completion-Nat1HXE1.js → doctor-completion-CQIiN7rY.js} +2 -2
- package/dist/{doctor-config-flow-WCCoUXeB.js → doctor-config-flow-BOAryh5P.js} +15 -15
- package/dist/{enable-C3H8BtN4.js → enable-688HYBNS.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{plugin-sdk/errors-CtMWwS2Z.js → errors-CCLeFWAg.js} +1 -1
- package/dist/{exec-approvals-allowlist-ySf2Yo5n.js → exec-approvals-allowlist-C0Eya3rT.js} +1 -1
- package/dist/{exec-approvals-cli-DhLLOys6.js → exec-approvals-cli-BYYerKp8.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-DnXViOlF.js → exec-safe-bin-runtime-policy-BmJmfDRo.js} +2 -2
- package/dist/{fetch-D-SiVqBm.js → fetch-BhAHVdwx.js} +3 -3
- package/dist/{fetch-DuraYswo.js → fetch-BlJWzEP6.js} +5 -5
- package/dist/{fetch-guard-CKYBfJ66.js → fetch-guard-BbBdhWz_.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-jMDpsYew.js → fs-safe-CFLs-j60.js} +24 -24
- package/dist/{gateway-cli--atF6LYo.js → gateway-cli-DOYWSRqa.js} +153 -153
- package/dist/{gateway-rpc-DYyQQ1z9.js → gateway-rpc-w6t8Eq_1.js} +1 -1
- package/dist/{github-copilot-token-BDioPmd6.js → github-copilot-token-D13V9YBz.js} +7 -7
- package/dist/{health-BDJ72U4Z.js → health-C1EstYHd.js} +11 -11
- package/dist/{hooks-cli-r0UX8B9a.js → hooks-cli-BFMve5sG.js} +81 -81
- package/dist/{hooks-status-CxBdpBry.js → hooks-status-DBnEWOEP.js} +1 -1
- package/dist/{image-eT7Y-nP5.js → image-B3Mz7N5I.js} +6 -6
- package/dist/{image-CyHTO86Q.js → image-Bw71y73Q.js} +5 -5
- package/dist/{image-ops-pjs5W0CZ.js → image-ops-AJL9tN3_.js} +10 -10
- package/dist/{image-ops-BuUnEOE0.js → image-ops-CehkHxmW.js} +2 -2
- package/dist/image-runtime-6jhrqcle.js +55 -0
- package/dist/image-runtime-DWjhow2W.js +29 -0
- package/dist/{inspect-BeU4yMp2.js → inspect-CUxeDA8c.js} +4 -4
- package/dist/{install-safe-path-BiL8OJvK.js → install-safe-path-BX58wFBl.js} +25 -25
- package/dist/{installs-BwKmG0Uy.js → installs-B-xr0Fzq.js} +9 -9
- package/dist/{ipv4-BoGwfnEw.js → ipv4-C4Yt-xid.js} +1 -1
- package/dist/{ir-B83looB-.js → ir-DAP-B-Xw.js} +8 -8
- package/dist/{ir-Da7Ahsqc.js → ir-otKVkb4a.js} +8 -8
- package/dist/{issue-format-CJ89_-9v.js → issue-format-DSksfKiV.js} +1 -1
- package/dist/{json-files-CuJjdF_0.js → json-files-rR19q30D.js} +8 -8
- package/dist/{legacy-names-DOC03BkU.js → legacy-names-TyzbVqa_.js} +1 -1
- package/dist/{lifecycle-core-BzuWBBm8.js → lifecycle-core-DVwen0ks.js} +5 -5
- package/dist/llm-slug-generator.js +51 -51
- package/dist/{logger-BfjWMCSD.js → logger-DMZQQtxK.js} +7 -7
- package/dist/{login-VkQ9MW3d.js → login-BcRaGQb6.js} +3 -3
- package/dist/{login-CrIwcrVI.js → login-DiCctRo1.js} +5 -5
- package/dist/{login-qr-BVMQ-xQz.js → login-qr-C9D47WEZ.js} +6 -6
- package/dist/{login-qr-BpPDZdl_.js → login-qr-MUbXgjtd.js} +10 -10
- package/dist/{logs-cli-DWHhSnWs.js → logs-cli-B3TG2lp8.js} +9 -9
- package/dist/{manager-1bvuGrNR.js → manager-BW_NSIMl.js} +13 -13
- package/dist/{manager-BUBwl6M6.js → manager-iwcRf3Xc.js} +14 -14
- package/dist/manager-runtime-BN6VevdC.js +18 -0
- package/dist/{manager-runtime-H9iQnw64.js → manager-runtime-D3KqpRT7.js} +9 -9
- package/dist/{manifest-registry-DVviqWVY.js → manifest-registry-CJb8odRF.js} +1 -1
- package/dist/{memory-cli-DarWCbU6.js → memory-cli-DGsJx7YM.js} +12 -12
- package/dist/{model-BLV8y_N-.js → model-B792l3Cn.js} +2 -2
- package/dist/{model-catalog-DTcBkUlX.js → model-catalog-DZ6kl2Ko.js} +3 -3
- package/dist/{model-picker-D-fTOOzb.js → model-picker-6fHys0wK.js} +4 -4
- package/dist/{model-selection-Dna0Gz1k.js → model-selection-idoqPmw0.js} +43 -43
- package/dist/{models-CmjutMmh.js → models-DerrMmwF.js} +17 -17
- package/dist/{models-cli-BZFQX22p.js → models-cli-BkTZg_4v.js} +78 -78
- package/dist/{models-config-DNcDbV_G.js → models-config-Dabs9Kdv.js} +6 -6
- package/dist/{net-D5fSREu4.js → net-BAIqYNz0.js} +2 -2
- package/dist/{node-cli-Cnq-PJTp.js → node-cli-DoEq4zeG.js} +33 -33
- package/dist/{node-command-policy-B5BMBBJP.js → node-command-policy-DRhSc90G.js} +1 -1
- package/dist/{node-service-BpYZAvpl.js → node-service-CcgtNIeT.js} +1 -1
- package/dist/{nodes-cli-CkrDOWpv.js → nodes-cli--d9RiCnK.js} +16 -16
- package/dist/{nodes-screen-DfsQohWd.js → nodes-screen-BTND5VDq.js} +7 -7
- package/dist/{npm-pack-install-E-mkrZ55.js → npm-pack-install-CGUDOSKz.js} +18 -18
- package/dist/{npm-resolution-BUUmg5ON.js → npm-resolution-CAoULCWM.js} +4 -4
- package/dist/{onboard-DINGSS9R.js → onboard-CMZRkPVc.js} +6 -6
- package/dist/{onboard-channels-Di4MjWDY.js → onboard-channels-SlJu6XWJ.js} +21 -21
- package/dist/{onboard-custom-DITBQuWQ.js → onboard-custom-EzfL89yz.js} +4 -4
- package/dist/{onboard-helpers-DO7u2ZOy.js → onboard-helpers-lGpaVp03.js} +10 -10
- package/dist/{onboard-hooks-K02_ZWDq.js → onboard-hooks-B7TMiJoY.js} +4 -4
- package/dist/{onboard-remote-5-ugiSN2.js → onboard-remote-nvWS7on7.js} +4 -4
- package/dist/{onboard-skills-CSzbC2KZ.js → onboard-skills-hz91W03u.js} +4 -4
- package/dist/{onboarding-BM4dvUK6.js → onboarding-CTPuMVQI.js} +14 -14
- package/dist/{onboarding.finalize-p_RDh7ET.js → onboarding.finalize-DLzl5ZOg.js} +87 -87
- package/dist/{onboarding.gateway-config-DldlRfms.js → onboarding.gateway-config-C4MoTr60.js} +18 -18
- package/dist/{onboarding.secret-input-BIRIJiCU.js → onboarding.secret-input-BFD0OW4X.js} +1 -1
- package/dist/{openai-model-default-CY2Nk4cn.js → openai-model-default-h4LbSR7f.js} +2 -2
- package/dist/{openclaw-root-BFfBQ6FD.js → openclaw-root-BU3lu8pM.js} +8 -8
- package/dist/{outbound-ChDjtuD6.js → outbound-C2kanETZ.js} +6 -6
- package/dist/{outbound-attachment-DfWsfe2N.js → outbound-attachment-CAJBGcna.js} +2 -2
- package/dist/{outbound-attachment-DqHlD21U.js → outbound-attachment-DBrYWX8h.js} +2 -2
- package/dist/{outbound-DPdJe7e1.js → outbound-kbHYt1JW.js} +3 -3
- package/dist/{pairing-cli-D2VZxWg3.js → pairing-cli-CXbmkz7Z.js} +8 -8
- package/dist/{pairing-labels-D4rnJ5pJ.js → pairing-labels-CaPLIhlh.js} +1 -1
- package/dist/{pairing-store-BXArq4hn.js → pairing-store-Brs9aNn_.js} +3 -3
- package/dist/{path-alias-guards-DbNvNQar.js → path-alias-guards-DhIwq92y.js} +3 -3
- package/dist/{path-alias-guards-BzvdLvTI.js → path-alias-guards-DqXRZmsL.js} +1 -1
- package/dist/{path-safety-ClQO4BB6.js → path-safety-BjIM4N4t.js} +1 -1
- package/dist/{paths-Cvc9EM8Y.js → paths-C6TxBCvO.js} +5 -5
- package/dist/{paths-Bkr-BCxW.js → paths-CCxysrzL.js} +4 -4
- package/dist/{paths-BB_1ZWOj.js → paths-Cv63xST_.js} +9 -9
- package/dist/{pi-embedded-BQQa91aA.js → pi-embedded-bcjMe3wj.js} +167 -167
- package/dist/{pi-embedded-helpers-CLXm10bV.js → pi-embedded-helpers-D5yyGEvA.js} +52 -52
- package/dist/{pi-embedded-helpers-oXDyXTD8.js → pi-embedded-helpers-DC2OtKrl.js} +6 -6
- package/dist/{pi-model-discovery-Dymwdjt0.js → pi-model-discovery-BGgOlX8N.js} +7 -7
- package/dist/{pi-model-discovery-CECkJMCt.js → pi-model-discovery-DOb5RTev.js} +1 -1
- package/dist/pi-model-discovery-runtime-Bwmi4Ev8.js +11 -0
- package/dist/{pi-model-discovery-runtime-g7UP-SFR.js → pi-model-discovery-runtime-DShjmiiF.js} +5 -5
- package/dist/{pi-tools.before-tool-call.runtime-Df7B-ggW.js → pi-tools.before-tool-call.runtime-B079pVah.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.policy-CydUEzFi.js → pi-tools.policy-DZ-X86Va.js} +5 -5
- package/dist/{plugin-auto-enable-BE4ZVjAL.js → plugin-auto-enable-BCMqEDjQ.js} +3 -3
- package/dist/{plugin-registry-DXW3eyib.js → plugin-registry-BPlCWMur.js} +3 -3
- package/dist/plugin-sdk/{accounts-DyFCXtHv.js → accounts-BslAlVYS.js} +2 -2
- package/dist/plugin-sdk/{accounts-BJAXxY46.js → accounts-C3m65--E.js} +2 -2
- package/dist/plugin-sdk/{accounts-C1j7HSL0.js → accounts-CNCCkdEF.js} +3 -3
- package/dist/plugin-sdk/{active-listener-CftX5jLD.js → active-listener-CkPnMUkB.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-8nyyt1kx.js → api-key-rotation-BXnNsojA.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-C_aSAPR1.js → audio-preflight-CtO4fFvp.js} +26 -26
- package/dist/plugin-sdk/{audio-transcription-runner-CB53F7_7.js → audio-transcription-runner-DnxvOS1-.js} +11 -11
- package/dist/plugin-sdk/{audit-membership-runtime-BXndI4LG.js → audit-membership-runtime-BpfoSk8M.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-C5y8AgAV.js → channel-activity-WJYxcJ3S.js} +3 -3
- package/dist/plugin-sdk/{channel-web-DBTRO03V.js → channel-web-dO5k3ubM.js} +18 -18
- package/dist/plugin-sdk/{chrome-f00sZkDX.js → chrome-CjNTuJML.js} +6 -6
- package/dist/plugin-sdk/{commands-registry-BJ_NxG2F.js → commands-registry-CdYjoI0i.js} +4 -4
- package/dist/plugin-sdk/{common-Cf27Jwxu.js → common-oYc5vPFl.js} +2 -2
- package/dist/plugin-sdk/{config-CHQrpx-Q.js → config-B1z-UxQ3.js} +7 -7
- package/dist/plugin-sdk/{deliver-DNEuetST.js → deliver-D5_6T567.js} +10 -10
- package/dist/plugin-sdk/deliver-runtime-C5dgvvga.js +32 -0
- package/dist/plugin-sdk/deps-send-discord.runtime-Dg4N7PHJ.js +23 -0
- package/dist/plugin-sdk/deps-send-imessage.runtime-0OEwzMQm.js +22 -0
- package/dist/plugin-sdk/deps-send-signal.runtime-BM1jRt3G.js +21 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-1E3BYRdF.js +19 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-DNCxIflA.js +24 -0
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-OLwr-9c8.js +57 -0
- package/dist/plugin-sdk/{diagnostic-LYUUmjJ5.js → diagnostic-Bxxu0ig-.js} +2 -2
- package/dist/{errors-xt401nuk.js → plugin-sdk/errors-B3cHyZZA.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-CxYB5Kg6.js → fetch-guard-Dcgod0tg.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-DtfhxbrI.js → fs-safe-BaKqI3G4.js} +3 -3
- package/dist/plugin-sdk/{image-BwjYjRHx.js → image-B2mQW9Rb.js} +6 -6
- package/dist/plugin-sdk/{image-ops-BnZKcbd6.js → image-ops-Cbzr4U9l.js} +2 -2
- package/dist/plugin-sdk/image-runtime-BFm45j49.js +25 -0
- package/dist/plugin-sdk/{ir-Z4hX67TJ.js → ir-ZEmrTr4J.js} +7 -7
- package/dist/plugin-sdk/{local-roots-KhjQw04O.js → local-roots-CIPRxA-4.js} +4 -4
- package/dist/plugin-sdk/{logger-DHIIvMxj.js → logger-CvPFVOgT.js} +2 -2
- package/dist/plugin-sdk/{login-C31642Ld.js → login-CCTew9bt.js} +4 -4
- package/dist/plugin-sdk/{login-qr--y2SG_Ue.js → login-qr-BI3Vi_wJ.js} +5 -5
- package/dist/plugin-sdk/{manager-2UZBMCc7.js → manager-BEoYPn7R.js} +8 -8
- package/dist/plugin-sdk/manager-runtime-DxclHQ4U.js +15 -0
- package/dist/plugin-sdk/{outbound-Ba0QUI5h.js → outbound-ByOw1K6W.js} +5 -5
- package/dist/plugin-sdk/{outbound-attachment-B1Laso-8.js → outbound-attachment-BzVhxRRw.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-C7Vm5DZ1.js → path-alias-guards-sWayacde.js} +1 -1
- package/dist/plugin-sdk/{paths-DopV9PQG.js → paths-Dpg3qxcl.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-DnA_OCzP.js → pi-embedded-helpers-DIxXkGJf.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-DdPqXk8f.js → pi-model-discovery-DM_2uFtj.js} +1 -1
- package/dist/plugin-sdk/pi-model-discovery-runtime-BuzvkvNR.js +8 -0
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-DxFHiLUE.js → pi-tools.before-tool-call.runtime-w1dqL_ty.js} +4 -4
- package/dist/plugin-sdk/{plugins-CbCt4osF.js → plugins-C4USiH29.js} +4 -4
- package/dist/plugin-sdk/{proxy-env-C63mMdas.js → proxy-env-ET-rp8eg.js} +1 -1
- package/dist/{proxy-fetch-B2pEfjbR.js → plugin-sdk/proxy-fetch-uDXGKG3Z.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-DpJk62D4.js → pw-ai-CyOt3RDA.js} +9 -9
- package/dist/plugin-sdk/{qmd-manager-Ca-iSfEE.js → qmd-manager-BySdoVR7.js} +7 -7
- package/dist/plugin-sdk/{query-expansion-B_Xe41Ab.js → query-expansion-C6uS-7lj.js} +4 -4
- package/dist/plugin-sdk/{redact-hp9TOulW.js → redact-Bvxt1T_Q.js} +1 -1
- package/dist/plugin-sdk/{reply-CovBlFea.js → reply-CTCSeQqW.js} +73 -73
- package/dist/plugin-sdk/{resolve-outbound-target-BbrHgyUk.js → resolve-outbound-target-Bw8YNANu.js} +2 -2
- package/dist/plugin-sdk/{run-with-concurrency-BR1DXa8T.js → run-with-concurrency-C_KCHwvf.js} +1 -1
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BxgRDkhc.js +10 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-elOqrkfg.js +19 -0
- package/dist/plugin-sdk/{send-BvAtLLPl.js → send-BZ6nYFZr.js} +5 -5
- package/dist/plugin-sdk/{send-BTztm3D2.js → send-C0w6xP2x.js} +6 -6
- package/dist/plugin-sdk/{send-CWJUuG0i.js → send-CFf-1V89.js} +8 -8
- package/dist/plugin-sdk/{send-EcglC4cG.js → send-CY-Qfwia.js} +7 -7
- package/dist/plugin-sdk/{send-BXpXBwM_.js → send-qPyNGSe4.js} +13 -13
- package/dist/plugin-sdk/{session-k256LJZT.js → session-COrvpvUQ.js} +3 -3
- package/dist/plugin-sdk/{skill-commands-DoRqLzxm.js → skill-commands-DZqhtmiv.js} +4 -4
- package/dist/plugin-sdk/{skills-QudILG6e.js → skills-Cw_vXEJb.js} +6 -6
- package/dist/plugin-sdk/slash-commands.runtime-D67JLweo.js +13 -0
- package/dist/plugin-sdk/slash-dispatch.runtime-DvcpvCJ0.js +52 -0
- package/dist/plugin-sdk/slash-skill-commands.runtime-BM1x3azR.js +16 -0
- package/dist/plugin-sdk/{store-BbDQw3g6.js → store-CMHj6IIw.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-runtime-1lbDyRzz.js +52 -0
- package/dist/plugin-sdk/{tables-BhvloMKN.js → tables-CSqrHsKL.js} +1 -1
- package/dist/plugin-sdk/{thinking-URzkT-3p.js → thinking-DOnsR_A8.js} +7 -7
- package/dist/{tokens-q32vI39c.js → plugin-sdk/tokens-BDr0Z9o3.js} +1 -1
- package/dist/plugin-sdk/{tool-images-xpqbP6RR.js → tool-images-eEfOVkzf.js} +2 -2
- package/dist/plugin-sdk/web-BLyT64pW.js +56 -0
- package/dist/plugin-sdk/{whatsapp-actions-RcZ6vp61.js → whatsapp-actions-xcleMoMv.js} +17 -17
- package/dist/plugin-sdk/whatsapp.js +50 -50
- package/dist/{plugins-4Rj4OjLY.js → plugins-CWkRQYDj.js} +11 -11
- package/dist/{plugins-VAZrrfgw.js → plugins-DCxT-37x.js} +2 -2
- package/dist/{plugins-cli-BQJOOVMx.js → plugins-cli-D9ILEfyb.js} +83 -83
- package/dist/{ports-DMkRSlnH.js → ports-BlCLhwbc.js} +1 -1
- package/dist/{ports-DogAV7pa.js → ports-CER5YPnN.js} +2 -2
- package/dist/{program-BA11qFx1.js → program-CV56xn7w.js} +81 -81
- package/dist/{prompt-select-styled-B0GS28ia.js → prompt-select-styled-BOa5I_PU.js} +40 -40
- package/dist/{provider-auth-helpers-CrGL-jik.js → provider-auth-helpers-c6mNCUXO.js} +5 -5
- package/dist/{proxy-env-wKO3g8Yv.js → proxy-env-BMrSVckF.js} +1 -1
- package/dist/{proxy-env-DlmzDx8x.js → proxy-env-Cq5gdrbj.js} +1 -1
- package/dist/{plugin-sdk/proxy-fetch-Ch95c_Y2.js → proxy-fetch-CCjEYbFm.js} +1 -1
- package/dist/{push-apns-BEwBjZ0a.js → push-apns-FOkPD05E.js} +5 -5
- package/dist/{pw-ai-DNMjFMqH.js → pw-ai-CDQDCfUa.js} +14 -14
- package/dist/{pw-ai-CnbxziFP.js → pw-ai-CxBU3aK5.js} +18 -18
- package/dist/{qmd-manager-BtIKUaO9.js → qmd-manager-BsYsO9Ii.js} +10 -10
- package/dist/{qmd-manager-Dp6PJ8zQ.js → qmd-manager-DEJMqoGd.js} +20 -20
- package/dist/{qr-cli-CFz9kS5X.js → qr-cli-BD2jK4fg.js} +2 -2
- package/dist/{query-expansion-BrSWVbaE.js → query-expansion-1UTIWjP6.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-Bs4goggz.js → redact-snapshot-D_qQD4A-.js} +1 -1
- package/dist/{register.agent-D641ju8B.js → register.agent-tbPA5YAy.js} +94 -94
- package/dist/register.configure-DuwRrXc2.js +165 -0
- package/dist/{register.maintenance-BFkk8MEH.js → register.maintenance-DrqDlV5b.js} +95 -95
- package/dist/{register.message-D5uE_Hop.js → register.message-CoKXNaU0.js} +74 -74
- package/dist/{register.onboard-zHFvSwFr.js → register.onboard-CSWOSL9O.js} +18 -18
- package/dist/{register.setup-uTbv3_P1.js → register.setup-DBx5JX6h.js} +21 -21
- package/dist/{register.status-health-sessions-CB7t-JQx.js → register.status-health-sessions-D1bPtfep.js} +88 -88
- package/dist/{register.subclis-MEiNmuy5.js → register.subclis-QGJNmjss.js} +31 -31
- package/dist/{rpc-DVfuVmy9.js → rpc-DkMrTUww.js} +1 -1
- package/dist/{run-main-mrvunzuy.js → run-main-CPftxqTe.js} +92 -92
- package/dist/{run-with-concurrency-BgYfgkXT.js → run-with-concurrency-D_ZpbgEG.js} +4 -4
- package/dist/{runtime-C87FQrrv.js → runtime-MAH2Oph4.js} +3 -3
- package/dist/{runtime-config-collectors-BQaC477D.js → runtime-config-collectors-BJMV6Mt1.js} +1 -1
- package/dist/{runtime-whatsapp-login.runtime-DjdgScUI.js → runtime-whatsapp-login.runtime-CGYWl9eB.js} +7 -7
- package/dist/runtime-whatsapp-login.runtime-IeylZEl4.js +13 -0
- package/dist/runtime-whatsapp-outbound.runtime-ClBRuLsq.js +22 -0
- package/dist/{runtime-whatsapp-outbound.runtime-B74K7opl.js → runtime-whatsapp-outbound.runtime-hZEfYaRM.js} +15 -15
- package/dist/{sandbox-Ct-_lzi1.js → sandbox-0TbzPJaS.js} +18 -18
- package/dist/{sandbox-cli-C3RoXFRE.js → sandbox-cli-NLaxffXl.js} +25 -25
- package/dist/{secrets-cli-B3hqCxvs.js → secrets-cli-KLGbYet6.js} +11 -11
- package/dist/{security-cli-DcHIyXr7.js → security-cli-EIEkcYVb.js} +42 -42
- package/dist/{send-dfu6_rgf.js → send-BQERFNyo.js} +5 -5
- package/dist/{send-CnRP4P-G.js → send-BW-ZtYG3.js} +5 -5
- package/dist/{send-L7gRiwyd.js → send-Bj776ESJ.js} +7 -7
- package/dist/{send-2zKwf9NW.js → send-BtZAqquW.js} +11 -11
- package/dist/{send-DAQAKa9Z.js → send-CxgWxXZc.js} +6 -6
- package/dist/{send-5o2p_xjn.js → send-DAMtu9kK.js} +4 -4
- package/dist/{send-PE6cwoTe.js → send-DcxmcFi_.js} +8 -8
- package/dist/{send-6lz6rNVP.js → send-Dx2RkUOZ.js} +6 -6
- package/dist/{send-u1Bo4CSn.js → send-sC6ka831.js} +8 -8
- package/dist/{send-BHTiZcH3.js → send-vmONuVgL.js} +26 -26
- package/dist/{server-context-8pDe2iyd.js → server-context-HJVwPQYn.js} +12 -12
- package/dist/{server-Ci4xtuR9.js → server-kUElNhlY.js} +20 -20
- package/dist/{server-lifecycle-k5daSrde.js → server-lifecycle-BE32unpZ.js} +2 -2
- package/dist/{server-middleware-DMiFT9xU.js → server-middleware-AS2VOYkK.js} +1 -1
- package/dist/{server-node-events-BmnPjNXE.js → server-node-events-DkbZzI6P.js} +74 -74
- package/dist/{service-BhOFtHSw.js → service-CyStNr3d.js} +15 -15
- package/dist/{session-D8ImowSs.js → session-A4QhBRvH.js} +8 -8
- package/dist/{session-DkOjpX3_.js → session-CaCx4rPH.js} +1 -1
- package/dist/{session-utils-DKRmXD2l.js → session-utils-CGqb1oeq.js} +6 -6
- package/dist/{sessions-svLGrv0Z.js → sessions-BV6HNW4h.js} +4 -4
- package/dist/{sessions-BOWPuhe5.js → sessions-BmVDW-7q.js} +15 -15
- package/dist/{shared-CjuadLFV.js → shared-DUQavBtY.js} +3 -3
- package/dist/{shared-CbAkLNrg.js → shared-JW74idb0.js} +1 -1
- package/dist/{skill-commands-DNqJ-kwn.js → skill-commands-CMzBZKG2.js} +9 -9
- package/dist/{skill-commands-TpUsdjev.js → skill-commands-WtIJG0CI.js} +5 -5
- package/dist/{skill-scanner-BZvvItef.js → skill-scanner-DIFsGcqE.js} +6 -6
- package/dist/{skills-DR-vacol.js → skills-7T9PwwL6.js} +3 -3
- package/dist/{skills-7ODkHQYp.js → skills-CE_iqvM5.js} +22 -22
- package/dist/{skills-cli-oay0tY8Z.js → skills-cli-DPavvthL.js} +5 -5
- package/dist/{skills-install-Vmi7xYfa.js → skills-install-BoLfaoWv.js} +6 -6
- package/dist/{skills-status-BmN697ff.js → skills-status-CK5Gnf6i.js} +1 -1
- package/dist/{slash-commands.runtime-BfaheruW.js → slash-commands.runtime-CMGx2xHy.js} +11 -11
- package/dist/slash-commands.runtime-Cpn2tYW4.js +16 -0
- package/dist/slash-dispatch.runtime-BAeJXa56.js +114 -0
- package/dist/slash-dispatch.runtime-CWbpp23S.js +56 -0
- package/dist/{slash-skill-commands.runtime-D34BKAN-.js → slash-skill-commands.runtime-ChU2tck2.js} +15 -15
- package/dist/slash-skill-commands.runtime-DKMvvdDW.js +20 -0
- package/dist/{status-BcQchPaC.js → status-Bp-K1BEf.js} +27 -27
- package/dist/{status.update-B20UBTDq.js → status.update-ZYUSggzS.js} +2 -2
- package/dist/{store-D89wDcz9.js → store--eR1R_UX.js} +2 -2
- package/dist/{store-DDkqo1sO.js → store-DeASfYEV.js} +5 -5
- package/dist/{subagent-registry-CPxHbyN5.js → subagent-registry-8qHIVhRq.js} +149 -149
- package/dist/subagent-registry-runtime-DEVpAaAP.js +56 -0
- package/dist/subagent-registry-runtime-DVomlbm6.js +114 -0
- package/dist/{subsystem-B45WV3qB.js → subsystem-Di1z8l0Z.js} +14 -14
- package/dist/{system-cli-D2yIJoKU.js → system-cli-C2xNfuQM.js} +9 -9
- package/dist/{system-run-command-BmhbnLTE.js → system-run-command-BPWZk7KI.js} +1 -1
- package/dist/{systemd-DjWVSbAG.js → systemd-Cf-0XKYu.js} +9 -9
- package/dist/{systemd-hints-Do-aQ9jw.js → systemd-hints-CYllYKO0.js} +6 -6
- package/dist/{systemd-linger-DpmnYgKU.js → systemd-linger-zllO90bD.js} +1 -1
- package/dist/{tables-BxyIF0w4.js → tables-CV7Afb0h.js} +1 -1
- package/dist/{tables-mE4cJBN2.js → tables-d739Y1xW.js} +1 -1
- package/dist/{tailnet-0_FsdHP-.js → tailnet-DJFUq7_R.js} +1 -1
- package/dist/{target-errors-mnlwhAjP.js → target-errors-CBI2Ga0y.js} +2 -2
- package/dist/{target-errors-KOHiT_JA.js → target-errors-iVxliVqA.js} +4 -4
- package/dist/{thinking-BeGmb5k6.js → thinking-DXYisHiZ.js} +7 -7
- package/dist/{plugin-sdk/tokens-B1PW5Ayy.js → tokens-DxnY9ui_.js} +1 -1
- package/dist/{tool-images-RZdHiZcG.js → tool-images-2cBx1W8h.js} +2 -2
- package/dist/{tool-images-CNPfeCmU.js → tool-images-Bn6dB14u.js} +1 -1
- package/dist/{tui-DL6NZZEa.js → tui-DTVy-YhN.js} +6 -6
- package/dist/{tui-cli-BNAYhvpu.js → tui-cli-CexRLJ3a.js} +32 -32
- package/dist/{update-DlS-d52F.js → update-DijPxK0g.js} +3 -3
- package/dist/{update-cli-D8-DqIs2.js → update-cli-9NslG4yR.js} +104 -104
- package/dist/{update-runner-CzTQ7BJT.js → update-runner-B6_UqreW.js} +16 -16
- package/dist/web-DGoa03ue.js +118 -0
- package/dist/{web-Btj-e8kN.js → web-NWKn8ABz.js} +55 -55
- package/dist/{webhooks-cli-QdaQhvbT.js → webhooks-cli-B4ZcXTtw.js} +6 -6
- package/dist/{whatsapp-actions-Bp8F0cOF.js → whatsapp-actions-Jm4VW1Ve.js} +17 -17
- package/dist/{whatsapp-actions-BHbJJyqw.js → whatsapp-actions-iEArE_Ez.js} +21 -21
- package/dist/{with-timeout-BMMWHlH3.js → with-timeout-C8-tY12i.js} +3 -3
- package/dist/{workspace-v76gFdZu.js → workspace-CIGzK2_w.js} +1 -1
- package/dist/{workspace-U-DyR64O.js → workspace-CUVC6GX1.js} +20 -20
- package/dist/{workspace-dirs-Cz_Zgtg2.js → workspace-dirs-D4SMysgC.js} +1 -1
- package/dist/{wsl-CvQfS6aU.js → wsl-CsGe5QCP.js} +2 -2
- package/package.json +1 -1
- package/scripts/npm_publish.sh +34 -46
- package/vendor/libsignal-node/package.json +1 -2
- package/dist/deliver-runtime-BFs7iAZF.js +0 -36
- package/dist/deliver-runtime-DixuU_uB.js +0 -61
- package/dist/deps-send-discord.runtime-CDcLcDSt.js +0 -36
- package/dist/deps-send-discord.runtime-DZUccI6Z.js +0 -26
- package/dist/deps-send-imessage.runtime-BGPUVMIE.js +0 -35
- package/dist/deps-send-imessage.runtime-CF3OpoqY.js +0 -25
- package/dist/deps-send-signal.runtime-Cw4-ozeO.js +0 -24
- package/dist/deps-send-signal.runtime-DQDD44_O.js +0 -34
- package/dist/deps-send-slack.runtime-BDsDhS1P.js +0 -22
- package/dist/deps-send-slack.runtime-Cpy77gBG.js +0 -32
- package/dist/deps-send-telegram.runtime-D_4xVasO.js +0 -27
- package/dist/deps-send-whatsapp.runtime-D2sVAclS.js +0 -119
- package/dist/deps-send-whatsapp.runtime-DK8jqd14.js +0 -60
- package/dist/image-runtime-B2qh5seQ.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/plugin-sdk/deliver-runtime-BFdqklJM.js +0 -32
- package/dist/plugin-sdk/deps-send-discord.runtime-DuqpYwU0.js +0 -23
- package/dist/plugin-sdk/deps-send-imessage.runtime-CZ2rS8Lb.js +0 -22
- package/dist/plugin-sdk/deps-send-signal.runtime-BdqiWhIh.js +0 -21
- package/dist/plugin-sdk/deps-send-slack.runtime-04s36qiC.js +0 -19
- package/dist/plugin-sdk/deps-send-telegram.runtime-LE5tkPvr.js +0 -24
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-Bz57lobC.js +0 -57
- package/dist/plugin-sdk/image-runtime-B8twoubs.js +0 -25
- package/dist/plugin-sdk/manager-runtime-CMeLwose.js +0 -15
- package/dist/plugin-sdk/pi-model-discovery-runtime-D8CJhtJY.js +0 -8
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-SkO91TZH.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-B0VWK5hm.js +0 -19
- package/dist/plugin-sdk/slash-commands.runtime-DS6vCNSL.js +0 -13
- package/dist/plugin-sdk/slash-dispatch.runtime-BXrxb2wd.js +0 -52
- package/dist/plugin-sdk/slash-skill-commands.runtime-Bd6qQ2oT.js +0 -16
- package/dist/plugin-sdk/subagent-registry-runtime-1uwQbuXj.js +0 -52
- package/dist/plugin-sdk/web-B74yhL2N.js +0 -56
- package/dist/register.configure-BrDOSLIq.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-D0xInkf3.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-SkB2tTaE.js +0 -114
- package/dist/web-DWiOofzq.js +0 -118
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { v as resolveUserPath } from "./utils-6WlODK5w.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-GR2kPVc1.js";
|
|
3
|
-
import { c as fileExists, d as resolvePackedRootDir, n as resolveSafeInstallDir, s as extractArchive, t as assertCanonicalPathWithinBase, u as resolveArchiveKind } from "./install-safe-path-
|
|
3
|
+
import { c as fileExists, d as resolvePackedRootDir, n as resolveSafeInstallDir, s as extractArchive, t as assertCanonicalPathWithinBase, u as resolveArchiveKind } from "./install-safe-path-BX58wFBl.js";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import path from "node:path";
|
|
6
|
-
import
|
|
6
|
+
import fsPromises from "node:fs/promises";
|
|
7
7
|
|
|
8
8
|
//#region src/infra/install-source-utils.ts
|
|
9
9
|
function buildNpmResolutionFields(resolution) {
|
|
@@ -17,11 +17,11 @@ function buildNpmResolutionFields(resolution) {
|
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
19
|
async function withTempDir(prefix, fn) {
|
|
20
|
-
const tmpDir = await
|
|
20
|
+
const tmpDir = await fsPromises.mkdtemp(path.join(os.tmpdir(), prefix));
|
|
21
21
|
try {
|
|
22
22
|
return await fn(tmpDir);
|
|
23
23
|
} finally {
|
|
24
|
-
await
|
|
24
|
+
await fsPromises.rm(tmpDir, {
|
|
25
25
|
recursive: true,
|
|
26
26
|
force: true
|
|
27
27
|
}).catch(() => void 0);
|
|
@@ -106,12 +106,12 @@ function parsePackedArchiveFromStdout(stdout) {
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
async function findPackedArchiveInDir(cwd) {
|
|
109
|
-
const archives = (await
|
|
109
|
+
const archives = (await fsPromises.readdir(cwd, { withFileTypes: true }).catch(() => [])).filter((entry) => entry.isFile() && entry.name.endsWith(".tgz"));
|
|
110
110
|
if (archives.length === 0) return;
|
|
111
111
|
if (archives.length === 1) return archives[0]?.name;
|
|
112
112
|
const sortedByMtime = await Promise.all(archives.map(async (entry) => ({
|
|
113
113
|
name: entry.name,
|
|
114
|
-
mtimeMs: (await
|
|
114
|
+
mtimeMs: (await fsPromises.stat(path.join(cwd, entry.name))).mtimeMs
|
|
115
115
|
})));
|
|
116
116
|
sortedByMtime.sort((a, b) => b.mtimeMs - a.mtimeMs);
|
|
117
117
|
return sortedByMtime[0]?.name;
|
|
@@ -176,13 +176,13 @@ async function resolveExistingInstallPath(inputPath) {
|
|
|
176
176
|
return {
|
|
177
177
|
ok: true,
|
|
178
178
|
resolvedPath,
|
|
179
|
-
stat: await
|
|
179
|
+
stat: await fsPromises.stat(resolvedPath)
|
|
180
180
|
};
|
|
181
181
|
}
|
|
182
182
|
async function withExtractedArchiveRoot(params) {
|
|
183
183
|
return await withTempDir(params.tempDirPrefix, async (tmpDir) => {
|
|
184
184
|
const extractDir = path.join(tmpDir, "extract");
|
|
185
|
-
await
|
|
185
|
+
await fsPromises.mkdir(extractDir, { recursive: true });
|
|
186
186
|
params.logger?.info?.(`Extracting ${params.archivePath}…`);
|
|
187
187
|
try {
|
|
188
188
|
await extractArchive({
|
|
@@ -235,7 +235,7 @@ async function sanitizeManifestForNpmInstall(targetDir) {
|
|
|
235
235
|
const manifestPath = path.join(targetDir, "package.json");
|
|
236
236
|
let manifestRaw = "";
|
|
237
237
|
try {
|
|
238
|
-
manifestRaw = await
|
|
238
|
+
manifestRaw = await fsPromises.readFile(manifestPath, "utf-8");
|
|
239
239
|
} catch {
|
|
240
240
|
return;
|
|
241
241
|
}
|
|
@@ -255,7 +255,7 @@ async function sanitizeManifestForNpmInstall(targetDir) {
|
|
|
255
255
|
if (filteredEntries.length === Object.keys(devDependencies).length) return;
|
|
256
256
|
if (filteredEntries.length === 0) delete manifest.devDependencies;
|
|
257
257
|
else manifest.devDependencies = Object.fromEntries(filteredEntries);
|
|
258
|
-
await
|
|
258
|
+
await fsPromises.writeFile(manifestPath, `${JSON.stringify(manifest, null, 2)}\n`, "utf-8");
|
|
259
259
|
}
|
|
260
260
|
async function assertInstallBoundaryPaths(params) {
|
|
261
261
|
for (const candidatePath of params.candidatePaths) await assertCanonicalPathWithinBase({
|
|
@@ -267,7 +267,7 @@ async function assertInstallBoundaryPaths(params) {
|
|
|
267
267
|
async function installPackageDir(params) {
|
|
268
268
|
params.logger?.info?.(`Installing to ${params.targetDir}…`);
|
|
269
269
|
const installBaseDir = path.dirname(params.targetDir);
|
|
270
|
-
await
|
|
270
|
+
await fsPromises.mkdir(installBaseDir, { recursive: true });
|
|
271
271
|
await assertInstallBoundaryPaths({
|
|
272
272
|
installBaseDir,
|
|
273
273
|
candidatePaths: [params.targetDir]
|
|
@@ -276,12 +276,12 @@ async function installPackageDir(params) {
|
|
|
276
276
|
if (params.mode === "update" && await fileExists(params.targetDir)) {
|
|
277
277
|
const backupRoot = path.join(path.dirname(params.targetDir), ".openclaw-install-backups");
|
|
278
278
|
backupDir = path.join(backupRoot, `${path.basename(params.targetDir)}-${Date.now()}`);
|
|
279
|
-
await
|
|
279
|
+
await fsPromises.mkdir(backupRoot, { recursive: true });
|
|
280
280
|
await assertInstallBoundaryPaths({
|
|
281
281
|
installBaseDir,
|
|
282
282
|
candidatePaths: [backupDir]
|
|
283
283
|
});
|
|
284
|
-
await
|
|
284
|
+
await fsPromises.rename(params.targetDir, backupDir);
|
|
285
285
|
}
|
|
286
286
|
const rollback = async () => {
|
|
287
287
|
if (!backupDir) return;
|
|
@@ -289,18 +289,18 @@ async function installPackageDir(params) {
|
|
|
289
289
|
installBaseDir,
|
|
290
290
|
candidatePaths: [params.targetDir, backupDir]
|
|
291
291
|
});
|
|
292
|
-
await
|
|
292
|
+
await fsPromises.rm(params.targetDir, {
|
|
293
293
|
recursive: true,
|
|
294
294
|
force: true
|
|
295
295
|
}).catch(() => void 0);
|
|
296
|
-
await
|
|
296
|
+
await fsPromises.rename(backupDir, params.targetDir).catch(() => void 0);
|
|
297
297
|
};
|
|
298
298
|
try {
|
|
299
299
|
await assertInstallBoundaryPaths({
|
|
300
300
|
installBaseDir,
|
|
301
301
|
candidatePaths: [params.targetDir]
|
|
302
302
|
});
|
|
303
|
-
await
|
|
303
|
+
await fsPromises.cp(params.sourceDir, params.targetDir, { recursive: true });
|
|
304
304
|
} catch (err) {
|
|
305
305
|
await rollback();
|
|
306
306
|
return {
|
|
@@ -339,7 +339,7 @@ async function installPackageDir(params) {
|
|
|
339
339
|
};
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
|
-
if (backupDir) await
|
|
342
|
+
if (backupDir) await fsPromises.rm(backupDir, {
|
|
343
343
|
recursive: true,
|
|
344
344
|
force: true
|
|
345
345
|
}).catch(() => void 0);
|
|
@@ -355,7 +355,7 @@ async function installPackageDirWithManifestDeps(params) {
|
|
|
355
355
|
//#endregion
|
|
356
356
|
//#region src/infra/install-target.ts
|
|
357
357
|
async function resolveCanonicalInstallTarget(params) {
|
|
358
|
-
await
|
|
358
|
+
await fsPromises.mkdir(params.baseDir, { recursive: true });
|
|
359
359
|
const targetDirResult = resolveSafeInstallDir({
|
|
360
360
|
baseDir: params.baseDir,
|
|
361
361
|
id: params.id,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-BmoaLBy-.js";
|
|
2
|
-
import { z as loadConfig } from "./auth-profiles-
|
|
3
|
-
import { A as resolveDefaultAgentWorkspaceDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
-
import { b as loadOpenClawPlugins, y as createPluginLoaderLogger } from "./subagent-registry-
|
|
5
|
-
import { d as buildNpmResolutionFields } from "./npm-pack-install-
|
|
2
|
+
import { z as loadConfig } from "./auth-profiles-15pq9j9V.js";
|
|
3
|
+
import { A as resolveDefaultAgentWorkspaceDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-NQ9CtXYN.js";
|
|
4
|
+
import { b as loadOpenClawPlugins, y as createPluginLoaderLogger } from "./subagent-registry-8qHIVhRq.js";
|
|
5
|
+
import { d as buildNpmResolutionFields } from "./npm-pack-install-CGUDOSKz.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
8
8
|
//#region src/plugins/status.ts
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-BMo6kTge.js";
|
|
2
2
|
import { d as defaultRuntime, f as restoreTerminalState } from "./subsystem-BmoaLBy-.js";
|
|
3
|
-
import { G as writeConfigFile, V as readConfigFileSnapshot } from "./auth-profiles-
|
|
3
|
+
import { G as writeConfigFile, V as readConfigFileSnapshot } from "./auth-profiles-15pq9j9V.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-CLEQe4bk.js";
|
|
5
5
|
import { v as resolveUserPath } from "./utils-6WlODK5w.js";
|
|
6
|
-
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as handleReset, g as resolveControlUiLinks, h as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput } from "./onboard-helpers-
|
|
6
|
+
import { a as ensureWorkspaceAndSessions, b as waitForGatewayReachable, c as handleReset, g as resolveControlUiLinks, h as randomToken, n as applyWizardMetadata, t as DEFAULT_WORKSPACE, u as normalizeGatewayTokenInput } from "./onboard-helpers-lGpaVp03.js";
|
|
7
7
|
import { t as WizardCancelledError } from "./prompts-l_pUOv42.js";
|
|
8
8
|
import { t as createClackPrompter } from "./clack-prompter-t5d11SiL.js";
|
|
9
9
|
import { t as assertSupportedRuntime } from "./runtime-guard-TFt5GJ_Q.js";
|
|
10
10
|
import { t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-Dgg-ogyc.js";
|
|
11
|
-
import { t as runOnboardingWizard } from "./onboarding-
|
|
11
|
+
import { t as runOnboardingWizard } from "./onboarding-CTPuMVQI.js";
|
|
12
12
|
import { n as logConfigUpdated } from "./logging-DBqQTcKD.js";
|
|
13
13
|
import { i as normalizeLegacyOnboardAuthChoice, r as isDeprecatedAuthChoice, t as ONBOARD_PROVIDER_AUTH_FLAGS } from "./onboard-provider-auth-flags-DjGs2ip7.js";
|
|
14
14
|
import { t as applyOnboardingLocalWorkspaceConfig } from "./onboard-config-C0UVcgCr.js";
|
|
@@ -207,7 +207,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
207
207
|
}
|
|
208
208
|
const authChoice = opts.authChoice ?? inferredAuthChoice.choice ?? "skip";
|
|
209
209
|
if (authChoice !== "skip") {
|
|
210
|
-
const { applyNonInteractiveAuthChoice } = await import("./auth-choice-
|
|
210
|
+
const { applyNonInteractiveAuthChoice } = await import("./auth-choice-CsSQLEkP.js");
|
|
211
211
|
const nextConfigAfterAuth = await applyNonInteractiveAuthChoice({
|
|
212
212
|
nextConfig,
|
|
213
213
|
authChoice,
|
|
@@ -240,7 +240,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
240
240
|
logConfigUpdated(runtime);
|
|
241
241
|
await ensureWorkspaceAndSessions(workspaceDir, runtime, { skipBootstrap: Boolean(nextConfig.agents?.defaults?.skipBootstrap) });
|
|
242
242
|
if (opts.installDaemon) {
|
|
243
|
-
const { installGatewayDaemonNonInteractive } = await import("./daemon-install-
|
|
243
|
+
const { installGatewayDaemonNonInteractive } = await import("./daemon-install-ckPBUAjJ.js");
|
|
244
244
|
await installGatewayDaemonNonInteractive({
|
|
245
245
|
nextConfig,
|
|
246
246
|
opts,
|
|
@@ -251,7 +251,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
251
251
|
}
|
|
252
252
|
const daemonRuntimeRaw = opts.daemonRuntime ?? DEFAULT_GATEWAY_DAEMON_RUNTIME;
|
|
253
253
|
if (!opts.skipHealth) {
|
|
254
|
-
const { healthCommand } = await import("./health-
|
|
254
|
+
const { healthCommand } = await import("./health-C1EstYHd.js").then((n) => n.i);
|
|
255
255
|
await waitForGatewayReachable({
|
|
256
256
|
url: resolveControlUiLinks({
|
|
257
257
|
bind: gatewayResult.bind,
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as createSubsystemLogger } from "./subsystem-BmoaLBy-.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-CLEQe4bk.js";
|
|
4
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-NQ9CtXYN.js";
|
|
5
5
|
import { _ as normalizeAccountId, g as DEFAULT_ACCOUNT_ID } from "./session-key-k6urs9r-.js";
|
|
6
6
|
import { m as pathExists, p as normalizeE164, t as CONFIG_DIR } from "./utils-6WlODK5w.js";
|
|
7
7
|
import { t as runCommandWithTimeout } from "./exec-GR2kPVc1.js";
|
|
8
8
|
import { A as hasConfiguredSecretInput, i as formatChannelSelectionLine, o as listChatChannels, r as formatChannelPrimerLine } from "./registry-C3qkO1RG.js";
|
|
9
|
-
import { E as listDiscordAccountIds, O as resolveDefaultDiscordAccountId, _ as listSlackAccountIds, c as resolveDefaultTelegramAccountId, k as resolveDiscordAccount, l as resolveTelegramAccount, n as listChannelPlugins, s as listTelegramAccountIds, t as getChannelPlugin, v as resolveDefaultSlackAccountId, y as resolveSlackAccount } from "./plugins-
|
|
10
|
-
import { a as resolveWhatsAppAuthDir, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId } from "./accounts-
|
|
11
|
-
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-
|
|
12
|
-
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-
|
|
13
|
-
import { dt as normalizeDiscordSlug } from "./send-
|
|
14
|
-
import { E as resolveSlackChannelAllowlist, Xn as resolveSlackUserAllowlist, Zn as resolveDiscordUserAllowlist, b as loadOpenClawPlugins, j as resolveDiscordChannelAllowlist, y as createPluginLoaderLogger } from "./subagent-registry-
|
|
15
|
-
import { a as listChannelPluginCatalogEntries, n as isChannelConfigured } from "./plugin-auto-enable-
|
|
16
|
-
import { o as normalizeIMessageHandle } from "./send-
|
|
17
|
-
import { r as detectBinary } from "./onboard-helpers-
|
|
9
|
+
import { E as listDiscordAccountIds, O as resolveDefaultDiscordAccountId, _ as listSlackAccountIds, c as resolveDefaultTelegramAccountId, k as resolveDiscordAccount, l as resolveTelegramAccount, n as listChannelPlugins, s as listTelegramAccountIds, t as getChannelPlugin, v as resolveDefaultSlackAccountId, y as resolveSlackAccount } from "./plugins-DCxT-37x.js";
|
|
10
|
+
import { a as resolveWhatsAppAuthDir, n as listWhatsAppAccountIds, r as resolveDefaultWhatsAppAccountId } from "./accounts-khXX75l1.js";
|
|
11
|
+
import { n as resolveDefaultIMessageAccountId, r as resolveIMessageAccount, t as listIMessageAccountIds } from "./accounts-CUYZBSKh.js";
|
|
12
|
+
import { i as resolveSignalAccount, n as listSignalAccountIds, r as resolveDefaultSignalAccountId } from "./accounts-BtEMxtPK.js";
|
|
13
|
+
import { dt as normalizeDiscordSlug } from "./send-BtZAqquW.js";
|
|
14
|
+
import { E as resolveSlackChannelAllowlist, Xn as resolveSlackUserAllowlist, Zn as resolveDiscordUserAllowlist, b as loadOpenClawPlugins, j as resolveDiscordChannelAllowlist, y as createPluginLoaderLogger } from "./subagent-registry-8qHIVhRq.js";
|
|
15
|
+
import { a as listChannelPluginCatalogEntries, n as isChannelConfigured } from "./plugin-auto-enable-BCMqEDjQ.js";
|
|
16
|
+
import { o as normalizeIMessageHandle } from "./send-CxgWxXZc.js";
|
|
17
|
+
import { r as detectBinary } from "./onboard-helpers-lGpaVp03.js";
|
|
18
18
|
import { t as formatDocsLink } from "./links-D_JFKt7M.js";
|
|
19
|
-
import { t as loginWeb } from "./login-
|
|
19
|
+
import { t as loginWeb } from "./login-BcRaGQb6.js";
|
|
20
20
|
import { t as resolveBrewExecutable } from "./brew-Bmf75heG.js";
|
|
21
21
|
import { n as moveSingleAccountChannelSectionToDefaultAccount, t as fetchTelegramChatId } from "./api-D_ieZ9ip.js";
|
|
22
22
|
import { t as resolveChannelDefaultAccountId } from "./helpers-D7MilaX-.js";
|
|
23
|
-
import { t as enablePluginInConfig } from "./enable-
|
|
24
|
-
import { s as extractArchive } from "./install-safe-path-
|
|
25
|
-
import { i as installPluginFromNpmSpec, n as recordPluginInstall, t as buildNpmResolutionInstallFields } from "./installs-
|
|
26
|
-
import { c as resolveSecretInputModeForEnvSelection, s as promptSecretRefForOnboarding } from "./auth-choice.apply-helpers-
|
|
23
|
+
import { t as enablePluginInConfig } from "./enable-688HYBNS.js";
|
|
24
|
+
import { s as extractArchive } from "./install-safe-path-BX58wFBl.js";
|
|
25
|
+
import { i as installPluginFromNpmSpec, n as recordPluginInstall, t as buildNpmResolutionInstallFields } from "./installs-B-xr0Fzq.js";
|
|
26
|
+
import { c as resolveSecretInputModeForEnvSelection, s as promptSecretRefForOnboarding } from "./auth-choice.apply-helpers-CPpuynsT.js";
|
|
27
27
|
import os from "node:os";
|
|
28
28
|
import path from "node:path";
|
|
29
29
|
import fs, { createWriteStream } from "node:fs";
|
|
30
|
-
import
|
|
30
|
+
import fsPromises from "node:fs/promises";
|
|
31
31
|
import { pipeline } from "node:stream/promises";
|
|
32
32
|
import { request } from "node:https";
|
|
33
33
|
|
|
@@ -1134,7 +1134,7 @@ async function findSignalCliBinary(root) {
|
|
|
1134
1134
|
const candidates = [];
|
|
1135
1135
|
const enqueue = async (dir, depth) => {
|
|
1136
1136
|
if (depth > 3) return;
|
|
1137
|
-
const entries = await
|
|
1137
|
+
const entries = await fsPromises.readdir(dir, { withFileTypes: true }).catch(() => []);
|
|
1138
1138
|
for (const entry of entries) {
|
|
1139
1139
|
const full = path.join(dir, entry.name);
|
|
1140
1140
|
if (entry.isDirectory()) await enqueue(full, depth + 1);
|
|
@@ -1155,7 +1155,7 @@ async function resolveBrewSignalCliPath(brewExe) {
|
|
|
1155
1155
|
const prefix = result.stdout.trim();
|
|
1156
1156
|
const candidate = path.join(prefix, "bin", "signal-cli");
|
|
1157
1157
|
try {
|
|
1158
|
-
await
|
|
1158
|
+
await fsPromises.access(candidate);
|
|
1159
1159
|
return candidate;
|
|
1160
1160
|
} catch {
|
|
1161
1161
|
return findSignalCliBinary(prefix);
|
|
@@ -1211,12 +1211,12 @@ async function installSignalCliFromRelease(runtime) {
|
|
|
1211
1211
|
ok: false,
|
|
1212
1212
|
error: "No compatible release asset found for this platform."
|
|
1213
1213
|
};
|
|
1214
|
-
const tmpDir = await
|
|
1214
|
+
const tmpDir = await fsPromises.mkdtemp(path.join(os.tmpdir(), "openclaw-signal-"));
|
|
1215
1215
|
const archivePath = path.join(tmpDir, asset.name);
|
|
1216
1216
|
runtime.log(`Downloading signal-cli ${version} (${asset.name})…`);
|
|
1217
1217
|
await downloadToFile(asset.browser_download_url, archivePath);
|
|
1218
1218
|
const installRoot = path.join(CONFIG_DIR, "tools", "signal-cli", version);
|
|
1219
|
-
await
|
|
1219
|
+
await fsPromises.mkdir(installRoot, { recursive: true });
|
|
1220
1220
|
if (!looksLikeArchive(asset.name.toLowerCase())) return {
|
|
1221
1221
|
ok: false,
|
|
1222
1222
|
error: `Unsupported archive type: ${asset.name}`
|
|
@@ -1235,7 +1235,7 @@ async function installSignalCliFromRelease(runtime) {
|
|
|
1235
1235
|
ok: false,
|
|
1236
1236
|
error: `signal-cli binary not found after extracting ${asset.name}`
|
|
1237
1237
|
};
|
|
1238
|
-
await
|
|
1238
|
+
await fsPromises.chmod(cliPath, 493).catch(() => {});
|
|
1239
1239
|
return {
|
|
1240
1240
|
ok: true,
|
|
1241
1241
|
cliPath,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Ai as normalizeOptionalSecretInput, Li as DEFAULT_PROVIDER, ji as normalizeSecretInput, mr as buildModelAliasIndex, yr as modelKey } from "./auth-profiles-
|
|
2
|
+
import { Ai as normalizeOptionalSecretInput, Li as DEFAULT_PROVIDER, ji as normalizeSecretInput, mr as buildModelAliasIndex, yr as modelKey } from "./auth-profiles-15pq9j9V.js";
|
|
3
3
|
import { j as isSecretRef } from "./registry-C3qkO1RG.js";
|
|
4
4
|
import { n as fetchWithTimeout } from "./fetch-timeout-Mawkd1Br.js";
|
|
5
5
|
import { t as CONTEXT_WINDOW_HARD_MIN_TOKENS } from "./context-window-guard-EeoVR--t.js";
|
|
6
|
-
import { r as ensureApiKeyFromEnvOrPrompt } from "./auth-choice.apply-helpers-
|
|
7
|
-
import { c as normalizeAlias } from "./shared-
|
|
8
|
-
import { r as applyPrimaryModel } from "./model-picker-
|
|
6
|
+
import { r as ensureApiKeyFromEnvOrPrompt } from "./auth-choice.apply-helpers-CPpuynsT.js";
|
|
7
|
+
import { c as normalizeAlias } from "./shared-DUQavBtY.js";
|
|
8
|
+
import { r as applyPrimaryModel } from "./model-picker-6fHys0wK.js";
|
|
9
9
|
|
|
10
10
|
//#region src/commands/onboard-custom.ts
|
|
11
11
|
var onboard_custom_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as CONFIG_PATH } from "./paths-BMo6kTge.js";
|
|
3
|
-
import { An as isSafeExecutableValue, Lt as looksLikeAvatarPath, Mt as isAvatarHttpUrl, Nt as isAvatarImageDataUrl } from "./auth-profiles-
|
|
4
|
-
import { E as ensureAgentWorkspace, N as resolveAgentModelPrimaryValue, _ as DEFAULT_AGENT_WORKSPACE_DIR } from "./agent-scope-
|
|
3
|
+
import { An as isSafeExecutableValue, Lt as looksLikeAvatarPath, Mt as isAvatarHttpUrl, Nt as isAvatarImageDataUrl } from "./auth-profiles-15pq9j9V.js";
|
|
4
|
+
import { E as ensureAgentWorkspace, N as resolveAgentModelPrimaryValue, _ as DEFAULT_AGENT_WORKSPACE_DIR } from "./agent-scope-NQ9CtXYN.js";
|
|
5
5
|
import { S as sleep, b as shortenHomeInString, t as CONFIG_DIR, v as resolveUserPath, x as shortenHomePath } from "./utils-6WlODK5w.js";
|
|
6
6
|
import { t as runCommandWithTimeout } from "./exec-GR2kPVc1.js";
|
|
7
7
|
import { t as VERSION } from "./version-DdJhsIqk.js";
|
|
8
8
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-CIqYyQ36.js";
|
|
9
9
|
import { s as resolveSessionTranscriptsDirForAgent } from "./paths-DvFmz0MB.js";
|
|
10
|
-
import { n as callGateway } from "./call-
|
|
11
|
-
import { c as pickPrimaryLanIPv4, o as isValidIPv4 } from "./net-
|
|
12
|
-
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-
|
|
13
|
-
import { t as isWSL } from "./wsl-
|
|
10
|
+
import { n as callGateway } from "./call-CZgRbVYm.js";
|
|
11
|
+
import { c as pickPrimaryLanIPv4, o as isValidIPv4 } from "./net-BAIqYNz0.js";
|
|
12
|
+
import { n as pickPrimaryTailnetIPv4 } from "./tailnet-DJFUq7_R.js";
|
|
13
|
+
import { t as isWSL } from "./wsl-CsGe5QCP.js";
|
|
14
14
|
import { r as stylePromptTitle } from "./prompt-style-xJW90oWC.js";
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
import { inspect } from "node:util";
|
|
17
|
-
import
|
|
17
|
+
import fsPromises from "node:fs/promises";
|
|
18
18
|
import crypto from "node:crypto";
|
|
19
19
|
import { cancel, isCancel } from "@clack/prompts";
|
|
20
20
|
|
|
@@ -244,7 +244,7 @@ async function ensureWorkspaceAndSessions(workspaceDir, runtime, options) {
|
|
|
244
244
|
});
|
|
245
245
|
runtime.log(`Workspace OK: ${shortenHomePath(ws.dir)}`);
|
|
246
246
|
const sessionsDir = resolveSessionTranscriptsDirForAgent(options?.agentId);
|
|
247
|
-
await
|
|
247
|
+
await fsPromises.mkdir(sessionsDir, { recursive: true });
|
|
248
248
|
runtime.log(`Sessions OK: ${shortenHomePath(sessionsDir)}`);
|
|
249
249
|
}
|
|
250
250
|
function resolveNodeManagerOptions() {
|
|
@@ -266,7 +266,7 @@ function resolveNodeManagerOptions() {
|
|
|
266
266
|
async function moveToTrash(pathname, runtime) {
|
|
267
267
|
if (!pathname) return;
|
|
268
268
|
try {
|
|
269
|
-
await
|
|
269
|
+
await fsPromises.access(pathname);
|
|
270
270
|
} catch {
|
|
271
271
|
return;
|
|
272
272
|
}
|
|
@@ -289,7 +289,7 @@ async function detectBinary(name) {
|
|
|
289
289
|
if (!isSafeExecutableValue(name)) return false;
|
|
290
290
|
const resolved = name.startsWith("~") ? resolveUserPath(name) : name;
|
|
291
291
|
if (path.isAbsolute(resolved) || resolved.startsWith(".") || resolved.includes("/") || resolved.includes("\\")) try {
|
|
292
|
-
await
|
|
292
|
+
await fsPromises.access(resolved);
|
|
293
293
|
return true;
|
|
294
294
|
} catch {
|
|
295
295
|
return false;
|
|
@@ -3,14 +3,14 @@ import "./paths-BMo6kTge.js";
|
|
|
3
3
|
import "./subsystem-BmoaLBy-.js";
|
|
4
4
|
import "./boolean-DtWR5bt3.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-CLEQe4bk.js";
|
|
6
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
6
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-NQ9CtXYN.js";
|
|
7
7
|
import "./utils-6WlODK5w.js";
|
|
8
|
-
import "./openclaw-root-
|
|
8
|
+
import "./openclaw-root-BU3lu8pM.js";
|
|
9
9
|
import "./logger-9wCpWqHD.js";
|
|
10
10
|
import "./exec-GR2kPVc1.js";
|
|
11
11
|
import "./frontmatter-D2o8_Jfu.js";
|
|
12
|
-
import "./workspace-
|
|
13
|
-
import { t as buildWorkspaceHookStatus } from "./hooks-status-
|
|
12
|
+
import "./workspace-CIGzK2_w.js";
|
|
13
|
+
import { t as buildWorkspaceHookStatus } from "./hooks-status-DBnEWOEP.js";
|
|
14
14
|
|
|
15
15
|
//#region src/commands/onboard-hooks.ts
|
|
16
16
|
async function setupInternalHooks(cfg, runtime, prompter) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { i as isSecureWebSocketUrl } from "./net-
|
|
3
|
-
import { r as detectBinary } from "./onboard-helpers-
|
|
4
|
-
import { c as resolveSecretInputModeForEnvSelection, s as promptSecretRefForOnboarding } from "./auth-choice.apply-helpers-
|
|
2
|
+
import { i as isSecureWebSocketUrl } from "./net-BAIqYNz0.js";
|
|
3
|
+
import { r as detectBinary } from "./onboard-helpers-lGpaVp03.js";
|
|
4
|
+
import { c as resolveSecretInputModeForEnvSelection, s as promptSecretRefForOnboarding } from "./auth-choice.apply-helpers-CPpuynsT.js";
|
|
5
5
|
import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-Bpgbz3Ef.js";
|
|
6
|
-
import { t as discoverGatewayBeacons } from "./bonjour-discovery-
|
|
6
|
+
import { t as discoverGatewayBeacons } from "./bonjour-discovery-2btw06uD.js";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/onboard-remote.ts
|
|
9
9
|
var onboard_remote_exports = /* @__PURE__ */ __exportAll({ promptRemoteGatewayConfig: () => promptRemoteGatewayConfig });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { ji as normalizeSecretInput } from "./auth-profiles-
|
|
2
|
+
import { ji as normalizeSecretInput } from "./auth-profiles-15pq9j9V.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-CLEQe4bk.js";
|
|
4
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
5
|
-
import { _ as resolveNodeManagerOptions, r as detectBinary } from "./onboard-helpers-
|
|
6
|
-
import { t as installSkill } from "./skills-install-
|
|
4
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-CK5Gnf6i.js";
|
|
5
|
+
import { _ as resolveNodeManagerOptions, r as detectBinary } from "./onboard-helpers-lGpaVp03.js";
|
|
6
|
+
import { t as installSkill } from "./skills-install-BoLfaoWv.js";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/onboard-skills.ts
|
|
9
9
|
var onboard_skills_exports = /* @__PURE__ */ __exportAll({ setupSkills: () => setupSkills });
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { n as DEFAULT_GATEWAY_PORT, u as resolveGatewayPort } from "./paths-BMo6kTge.js";
|
|
2
2
|
import { d as defaultRuntime } from "./subsystem-BmoaLBy-.js";
|
|
3
|
-
import { G as writeConfigFile, V as readConfigFileSnapshot } from "./auth-profiles-
|
|
3
|
+
import { G as writeConfigFile, V as readConfigFileSnapshot } from "./auth-profiles-15pq9j9V.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-CLEQe4bk.js";
|
|
5
5
|
import { v as resolveUserPath } from "./utils-6WlODK5w.js";
|
|
6
6
|
import { N as normalizeSecretInputString } from "./registry-C3qkO1RG.js";
|
|
7
7
|
import { t as WizardCancelledError } from "./prompts-l_pUOv42.js";
|
|
8
|
-
import { t as resolveOnboardingSecretInputString } from "./onboarding.secret-input-
|
|
8
|
+
import { t as resolveOnboardingSecretInputString } from "./onboarding.secret-input-BFD0OW4X.js";
|
|
9
9
|
|
|
10
10
|
//#region src/wizard/onboarding.ts
|
|
11
11
|
async function requireRiskAcknowledgement(params) {
|
|
@@ -44,7 +44,7 @@ async function requireRiskAcknowledgement(params) {
|
|
|
44
44
|
})) throw new WizardCancelledError("risk not accepted");
|
|
45
45
|
}
|
|
46
46
|
async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
47
|
-
const onboardHelpers = await import("./onboard-helpers-
|
|
47
|
+
const onboardHelpers = await import("./onboard-helpers-lGpaVp03.js").then((n) => n.d);
|
|
48
48
|
onboardHelpers.printWizardHeader(runtime);
|
|
49
49
|
await prompter.intro("OpenClaw onboarding");
|
|
50
50
|
await requireRiskAcknowledgement({
|
|
@@ -224,7 +224,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
224
224
|
}]
|
|
225
225
|
}));
|
|
226
226
|
if (mode === "remote") {
|
|
227
|
-
const { promptRemoteGatewayConfig } = await import("./onboard-remote-
|
|
227
|
+
const { promptRemoteGatewayConfig } = await import("./onboard-remote-nvWS7on7.js").then((n) => n.t);
|
|
228
228
|
const { logConfigUpdated } = await import("./logging-DBqQTcKD.js").then((n) => n.r);
|
|
229
229
|
let nextConfig = await promptRemoteGatewayConfig(baseConfig, prompter, { secretInputMode: opts.secretInputMode });
|
|
230
230
|
nextConfig = onboardHelpers.applyWizardMetadata(nextConfig, {
|
|
@@ -242,11 +242,11 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
242
242
|
}))).trim() || onboardHelpers.DEFAULT_WORKSPACE);
|
|
243
243
|
const { applyOnboardingLocalWorkspaceConfig } = await import("./onboard-config-C0UVcgCr.js").then((n) => n.n);
|
|
244
244
|
let nextConfig = applyOnboardingLocalWorkspaceConfig(baseConfig, workspaceDir);
|
|
245
|
-
const { ensureAuthProfileStore } = await import("./auth-profiles-
|
|
245
|
+
const { ensureAuthProfileStore } = await import("./auth-profiles-15pq9j9V.js").then((n) => n.t);
|
|
246
246
|
const { promptAuthChoiceGrouped } = await import("./auth-choice-prompt-4mupmvzh.js").then((n) => n.t);
|
|
247
|
-
const { promptCustomApiConfig } = await import("./onboard-custom-
|
|
248
|
-
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-
|
|
249
|
-
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-
|
|
247
|
+
const { promptCustomApiConfig } = await import("./onboard-custom-EzfL89yz.js").then((n) => n.r);
|
|
248
|
+
const { applyAuthChoice, resolvePreferredProviderForAuthChoice, warnIfModelConfigLooksOff } = await import("./auth-choice-gp-h1aBd.js").then((n) => n.t);
|
|
249
|
+
const { applyPrimaryModel, promptDefaultModel } = await import("./model-picker-6fHys0wK.js").then((n) => n.i);
|
|
250
250
|
const authStore = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false });
|
|
251
251
|
const authChoiceFromPrompt = opts.authChoice === void 0;
|
|
252
252
|
const authChoice = opts.authChoice ?? await promptAuthChoiceGrouped({
|
|
@@ -284,7 +284,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
284
284
|
if (modelSelection.model) nextConfig = applyPrimaryModel(nextConfig, modelSelection.model);
|
|
285
285
|
}
|
|
286
286
|
await warnIfModelConfigLooksOff(nextConfig, prompter);
|
|
287
|
-
const { configureGatewayForOnboarding } = await import("./onboarding.gateway-config-
|
|
287
|
+
const { configureGatewayForOnboarding } = await import("./onboarding.gateway-config-C4MoTr60.js");
|
|
288
288
|
const gateway = await configureGatewayForOnboarding({
|
|
289
289
|
flow,
|
|
290
290
|
baseConfig,
|
|
@@ -299,8 +299,8 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
299
299
|
const settings = gateway.settings;
|
|
300
300
|
if (opts.skipChannels ?? opts.skipProviders) await prompter.note("Skipping channel setup.", "Channels");
|
|
301
301
|
else {
|
|
302
|
-
const { listChannelPlugins } = await import("./plugins-
|
|
303
|
-
const { setupChannels } = await import("./onboard-channels-
|
|
302
|
+
const { listChannelPlugins } = await import("./plugins-DCxT-37x.js").then((n) => n.i);
|
|
303
|
+
const { setupChannels } = await import("./onboard-channels-SlJu6XWJ.js").then((n) => n.n);
|
|
304
304
|
const quickstartAllowFromChannels = flow === "quickstart" ? listChannelPlugins().filter((plugin) => plugin.meta.quickstartAllowFrom).map((plugin) => plugin.id) : [];
|
|
305
305
|
nextConfig = await setupChannels(nextConfig, runtime, prompter, {
|
|
306
306
|
allowSignalInstall: true,
|
|
@@ -317,17 +317,17 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
|
|
|
317
317
|
await onboardHelpers.ensureWorkspaceAndSessions(workspaceDir, runtime, { skipBootstrap: Boolean(nextConfig.agents?.defaults?.skipBootstrap) });
|
|
318
318
|
if (opts.skipSkills) await prompter.note("Skipping skills setup.", "Skills");
|
|
319
319
|
else {
|
|
320
|
-
const { setupSkills } = await import("./onboard-skills-
|
|
320
|
+
const { setupSkills } = await import("./onboard-skills-hz91W03u.js").then((n) => n.t);
|
|
321
321
|
nextConfig = await setupSkills(nextConfig, workspaceDir, runtime, prompter);
|
|
322
322
|
}
|
|
323
|
-
const { setupInternalHooks } = await import("./onboard-hooks-
|
|
323
|
+
const { setupInternalHooks } = await import("./onboard-hooks-B7TMiJoY.js");
|
|
324
324
|
nextConfig = await setupInternalHooks(nextConfig, runtime, prompter);
|
|
325
325
|
nextConfig = onboardHelpers.applyWizardMetadata(nextConfig, {
|
|
326
326
|
command: "onboard",
|
|
327
327
|
mode
|
|
328
328
|
});
|
|
329
329
|
await writeConfigFile(nextConfig);
|
|
330
|
-
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-
|
|
330
|
+
const { finalizeOnboardingWizard } = await import("./onboarding.finalize-DLzl5ZOg.js");
|
|
331
331
|
const { launchedTui } = await finalizeOnboardingWizard({
|
|
332
332
|
flow,
|
|
333
333
|
opts,
|