openclaw-multi-auto 1.6.7 → 1.6.8
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-BPt-s1cW.js → accounts-4vg8osA5.js} +7 -7
- package/dist/{accounts-C_lW3Ag9.js → accounts-BOzyfwW4.js} +2 -2
- package/dist/{accounts-CC3alHma.js → accounts-BgOnManD.js} +1 -1
- package/dist/{accounts-CNIODbBr.js → accounts-CXo4Ac3z.js} +1 -1
- package/dist/{accounts-C9HcPI9h.js → accounts-L9ByEpnP.js} +2 -2
- package/dist/{accounts-Tgelvk0C.js → accounts-yfBeCZtS.js} +17 -17
- package/dist/{acp-cli-DjB0ovMh.js → acp-cli-B2w71bEK.js} +8 -8
- package/dist/{active-listener-BEdprTkn.js → active-listener-D1yqT1cw.js} +2 -2
- package/dist/{agent-scope-CNJUPFcR.js → agent-scope-BbO_VBbv.js} +17 -17
- package/dist/{agents.config-Dh5Lcv4N.js → agents.config-y8kHMoox.js} +2 -2
- package/dist/{api-key-rotation-PzGuOQm_.js → api-key-rotation-CzacqD3s.js} +1 -1
- package/dist/{api-key-rotation-BJpKWXy0.js → api-key-rotation-DtsNS2Nb.js} +2 -2
- package/dist/{audio-preflight-DOYiMo_d.js → audio-preflight-CiANHFx-.js} +34 -34
- package/dist/{audio-preflight-BMvgEQ5j.js → audio-preflight-DoPfNXDz.js} +32 -32
- package/dist/{audio-transcription-runner-sLK1yiya.js → audio-transcription-runner-B9-J1DUd.js} +23 -23
- package/dist/{audio-transcription-runner-gLFfz8fr.js → audio-transcription-runner-CzjuH3uL.js} +12 -12
- package/dist/{audit-BSvn3dTQ.js → audit-BBbzzHkv.js} +29 -29
- package/dist/{audit-membership-runtime-Dntemq07.js → audit-membership-runtime-DWyHWAHM.js} +4 -4
- package/dist/{auth-C_LDvTxu.js → auth-B_YGaEcP.js} +1 -1
- package/dist/{auth-choice-Bu5kPuhF.js → auth-choice-CV87PVB8.js} +11 -11
- package/dist/{auth-choice-fpoHu7pV.js → auth-choice-gf8aEhcg.js} +13 -13
- package/dist/{auth-choice.apply-helpers-RNa-mjTS.js → auth-choice.apply-helpers-IK7zIZHi.js} +1 -1
- package/dist/{auth-token-CktupXSw.js → auth-token-D2V9CMur.js} +1 -1
- package/dist/{bonjour-discovery-DvVDs7rm.js → bonjour-discovery-BC_XEtg4.js} +1 -1
- package/dist/{browser-cli-DuYjaYLJ.js → browser-cli-BEWtuR6r.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-eK-5ynwM.js → call-YJ9zjeji.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-BQD0zpuF.js → channel-account-context-CJ_25Q5X.js} +5 -5
- package/dist/{channel-activity-w-iWKqZg.js → channel-activity-BHb0aL0J.js} +1 -1
- package/dist/{channel-activity-BDnjYF7B.js → channel-activity-xHOMiarp.js} +3 -3
- package/dist/{channel-options-o5oDDArl.js → channel-options-8OGfdfdc.js} +3 -3
- package/dist/{channel-selection-HaUsJ3kL.js → channel-selection-D21oKnM0.js} +1 -1
- package/dist/{channel-web-JuhY6j_M.js → channel-web-BXHQWjc6.js} +16 -16
- package/dist/{channels-cli-aZhDWAhv.js → channels-cli-ByTcIaZC.js} +92 -92
- package/dist/{channels-status-issues-Bi69DlUp.js → channels-status-issues-Cva3QRlu.js} +1 -1
- package/dist/{chrome-CQR5U4Oc.js → chrome-DBMFZ1ho.js} +4 -4
- package/dist/{chrome-DxxEKrY7.js → chrome-DlhJHqj8.js} +26 -26
- package/dist/{clawbot-cli-DJzN7m49.js → clawbot-cli-DpZDxNOd.js} +11 -11
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-fGEJw7Bh.js → cli-bsDX2k8k.js} +72 -72
- package/dist/{client-BEwDNigg.js → client-D9sBKoZI.js} +2 -2
- package/dist/{command-secret-targets-qpSAI_K2.js → command-secret-targets-SH5qP5X_.js} +4 -4
- package/dist/{commands-BaXA2bSJ.js → commands-DUzVNM-Q.js} +1 -1
- package/dist/{commands-registry-D-nkNP-x.js → commands-registry-C2INbVUe.js} +3 -3
- package/dist/{commands-registry-D5qXbFJn.js → commands-registry-V1zZ5pPC.js} +4 -4
- package/dist/{completion-cli-D-Vt6klA.js → completion-cli-4GVy2WHG.js} +12 -12
- package/dist/{config-cli-D7CkjeZo.js → config-cli-ByWpkmkG.js} +7 -7
- package/dist/{config-guard-B1hrQ4RG.js → config-guard-ofLFxSQh.js} +16 -16
- package/dist/{config-validation-CZ59Kb8S.js → config-validation-9QNDxE74.js} +3 -3
- package/dist/{configure-BTMq-WnT.js → configure-JiVnjIlt.js} +17 -17
- package/dist/{control-ui-assets-DR9xNC3f.js → control-ui-assets-D7bG2PFs.js} +1 -1
- package/dist/{cron-cli-CvFNRfgv.js → cron-cli-DuHdcQFw.js} +11 -11
- package/dist/{daemon-cli-Bb7Q2DPz.js → daemon-cli-Do_4dH0e.js} +15 -15
- package/dist/{daemon-install-mDWE60H-.js → daemon-install-C0_0OAHU.js} +4 -4
- package/dist/{daemon-install-helpers-BYWgt_7u.js → daemon-install-helpers-Pex1FHrG.js} +11 -11
- package/dist/{deliver-DuqANTNs.js → deliver-B05oD9oA.js} +7 -7
- package/dist/{deliver-DbdywYJE.js → deliver-CApVJA_l.js} +21 -21
- package/dist/deliver-runtime-D1z-h5eg.js +36 -0
- package/dist/deliver-runtime-DGrrnFpY.js +61 -0
- package/dist/deps-send-discord.runtime-DAPWkSXf.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-DWqR6W7h.js +35 -0
- package/dist/deps-send-signal.runtime-CTcl388M.js +24 -0
- package/dist/deps-send-signal.runtime-Ce60L81Z.js +34 -0
- package/dist/deps-send-slack.runtime-CCqBz4Kg.js +22 -0
- package/dist/deps-send-slack.runtime-s0pqdhHR.js +32 -0
- package/dist/deps-send-telegram.runtime-DGSKTCpH.js +27 -0
- package/dist/{deps-send-telegram.runtime-TOpNwBFj.js → deps-send-telegram.runtime-IVPYXaID.js} +16 -16
- package/dist/deps-send-whatsapp.runtime-Dz_4fi2D.js +60 -0
- package/dist/deps-send-whatsapp.runtime-bRJ5Zed1.js +118 -0
- package/dist/{devices-cli-DVXzYwja.js → devices-cli-D0SxzElB.js} +8 -8
- package/dist/{diagnostic-Co6Kghr-.js → diagnostic-Bn4PZjMZ.js} +2 -2
- package/dist/{diagnostic-CL9h6IXx.js → diagnostic-v2TGEcgC.js} +1 -1
- package/dist/{diagnostics-CwWdfrvB.js → diagnostics-CBcbp7BB.js} +5 -5
- package/dist/{directory-cli-DL2TKoz1.js → directory-cli-A0q9Ftjc.js} +7 -7
- package/dist/{dns-cli-DOHzu8H-.js → dns-cli-hyt6Wvvq.js} +5 -5
- package/dist/{dock-BR4hdehX.js → dock-SpSqP4RS.js} +4 -4
- package/dist/{docs-cli-D1S8CZJy.js → docs-cli-CJfXaxzc.js} +4 -4
- package/dist/{doctor-completion-CkEHCVMO.js → doctor-completion-CDRZEttH.js} +2 -2
- package/dist/{doctor-config-flow-DQNZsEku.js → doctor-config-flow-kZl_wy2A.js} +15 -15
- package/dist/{enable-V7r6GCwn.js → enable-B27E5MMW.js} +1 -1
- package/dist/{errors-xt401nuk.js → errors-CCLeFWAg.js} +1 -1
- package/dist/{exec-approvals-allowlist-CtUT02un.js → exec-approvals-allowlist-BOUCQu6B.js} +1 -1
- package/dist/{exec-approvals-cli-CsCqi3wl.js → exec-approvals-cli-_cqBqjTA.js} +16 -16
- package/dist/{exec-safe-bin-runtime-policy-CSBwsuHS.js → exec-safe-bin-runtime-policy-CkhpnueN.js} +2 -2
- package/dist/{fetch-DuraYswo.js → fetch-BlJWzEP6.js} +5 -5
- package/dist/{fetch-guard-DWr0d00H.js → fetch-guard-ChYBwfiy.js} +2 -2
- package/dist/{fetch-guard-Ca0W-yZr.js → fetch-guard-NyNh7p-s.js} +1 -1
- 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-D_adQJX4.js → fs-safe-mG29clJ9.js} +24 -24
- package/dist/{gateway-cli-C5cq5Fv9.js → gateway-cli-94YTdTAa.js} +152 -152
- package/dist/{gateway-rpc-C32KFHnD.js → gateway-rpc-NhXLPpJx.js} +1 -1
- package/dist/{github-copilot-token-BDioPmd6.js → github-copilot-token-D13V9YBz.js} +7 -7
- package/dist/{health-yuGFUIWJ.js → health-B99KJscL.js} +11 -11
- package/dist/{hooks-cli-CXWcvFYo.js → hooks-cli-C01QhY4h.js} +80 -80
- package/dist/{hooks-status-Bjjm7teR.js → hooks-status-CZNGtyrM.js} +1 -1
- package/dist/{image-eT7Y-nP5.js → image-B3Mz7N5I.js} +6 -6
- package/dist/{image-CDKYPK1-.js → image-BaqqhHHh.js} +5 -5
- package/dist/{image-ops-BTwvusXV.js → image-ops-CKnT_r12.js} +10 -10
- package/dist/{image-ops-BuUnEOE0.js → image-ops-CehkHxmW.js} +2 -2
- package/dist/image-runtime-D9iVXh4M.js +55 -0
- package/dist/image-runtime-DWjhow2W.js +29 -0
- package/dist/index.js +82 -82
- package/dist/{inspect-lNlGLW_c.js → inspect-XHunUBlV.js} +4 -4
- package/dist/{install-safe-path-BNRYD-KJ.js → install-safe-path-om__n8TQ.js} +25 -25
- package/dist/{installs-BB_8nllr.js → installs-Z0VR0SY2.js} +9 -9
- package/dist/{ipv4-CPzn5xIX.js → ipv4-NJiClroF.js} +1 -1
- package/dist/{ir-BdjoGJyL.js → ir-ChJe1hY6.js} +8 -8
- package/dist/{ir-B83looB-.js → ir-DAP-B-Xw.js} +8 -8
- package/dist/{issue-format-D_MHPECu.js → issue-format-G-7IkANX.js} +1 -1
- package/dist/{json-files-DIEpaxUj.js → json-files-D6M304Qd.js} +8 -8
- package/dist/{legacy-names-DOC03BkU.js → legacy-names-TyzbVqa_.js} +1 -1
- package/dist/{lifecycle-core-C2u5W-Xd.js → lifecycle-core-BcIuIPMF.js} +5 -5
- package/dist/llm-slug-generator.js +51 -51
- package/dist/{local-roots-_noFNwvo.js → local-roots-BCYAjsgu.js} +3 -3
- package/dist/{logger-BfjWMCSD.js → logger-DMZQQtxK.js} +7 -7
- package/dist/{login-CbJ7lelX.js → login-D7cZyPrd.js} +3 -3
- package/dist/{login-CrIwcrVI.js → login-DiCctRo1.js} +5 -5
- package/dist/{login-qr-9cwofnkY.js → login-qr-DPVFxhjZ.js} +6 -6
- package/dist/{login-qr-BpPDZdl_.js → login-qr-MUbXgjtd.js} +10 -10
- package/dist/{logs-cli-RYm8XZEC.js → logs-cli-CtEDxmDk.js} +9 -9
- package/dist/{manager-1bvuGrNR.js → manager-BW_NSIMl.js} +13 -13
- package/dist/{manager-Dbz9CyPw.js → manager-CSnZM2Iw.js} +14 -14
- package/dist/manager-runtime-BN6VevdC.js +18 -0
- package/dist/{manager-runtime-DsniMUxY.js → manager-runtime-aMwRbhZ3.js} +9 -9
- package/dist/{manifest-registry-QfHOpQrg.js → manifest-registry-D74D25g7.js} +1 -1
- package/dist/{memory-cli-CLBPPSow.js → memory-cli-CCMIlraX.js} +12 -12
- package/dist/{model-CfB7nuUK.js → model-CnHxvu4o.js} +2 -2
- package/dist/{model-catalog-BH55qLYK.js → model-catalog-QXAt20Vy.js} +3 -3
- package/dist/{model-picker-D3xDEPDv.js → model-picker-ByrLHc9_.js} +4 -4
- package/dist/{model-selection-DZM1M4yx.js → model-selection-DqSNdtby.js} +16 -16
- package/dist/{model-selection-Dna0Gz1k.js → model-selection-idoqPmw0.js} +43 -43
- package/dist/{models-cli-DlFeSGXD.js → models-cli-C0mrlgSL.js} +81 -81
- package/dist/{models-config-BLJwyO9D.js → models-config-5EhgxVMQ.js} +6 -6
- package/dist/{node-cli-Dcn7Lxvr.js → node-cli-DdKfRYhS.js} +33 -33
- package/dist/{node-command-policy-DfcI_g5B.js → node-command-policy-D-hu0n3w.js} +1 -1
- package/dist/{node-service-CIXWfpdM.js → node-service--hFCI8Ok.js} +1 -1
- package/dist/{nodes-cli-CtIY3Wdi.js → nodes-cli-BmjFvKQh.js} +16 -16
- package/dist/{nodes-screen-DgLXnfNX.js → nodes-screen-CCNot0xV.js} +7 -7
- package/dist/{npm-pack-install-BmT2Qku8.js → npm-pack-install-DSR8-nhr.js} +18 -18
- package/dist/{npm-resolution-Ch4kSz-J.js → npm-resolution-dr4H2dBm.js} +4 -4
- package/dist/{onboard-pvZeQwGW.js → onboard-CyDS1PdS.js} +6 -6
- package/dist/{onboard-channels-CZMeimvm.js → onboard-channels-QzPuUsu5.js} +21 -21
- package/dist/{onboard-custom-Bk9lP_gS.js → onboard-custom-pyXzjp5z.js} +4 -4
- package/dist/{onboard-helpers-C51uqagK.js → onboard-helpers-ByC3v1-U.js} +10 -10
- package/dist/{onboard-hooks-B4RFbzBs.js → onboard-hooks-C2cFv3_-.js} +4 -4
- package/dist/{onboard-remote-CmB2v7g1.js → onboard-remote-DHZv5w4W.js} +4 -4
- package/dist/{onboard-skills-B52kyElD.js → onboard-skills-D_R383gZ.js} +4 -4
- package/dist/{onboarding-BQS8Nd_E.js → onboarding-Df6qbE08.js} +14 -14
- package/dist/{onboarding.finalize-1BqhSubV.js → onboarding.finalize-DkEbxmLj.js} +85 -85
- package/dist/{onboarding.gateway-config-BIkI8VxE.js → onboarding.gateway-config-DttU83Zb.js} +18 -18
- package/dist/{onboarding.secret-input-Dz6lMbgK.js → onboarding.secret-input-BJILGy22.js} +1 -1
- package/dist/{openai-model-default-LC7S-YJ9.js → openai-model-default-uuDOWnTl.js} +2 -2
- package/dist/{openclaw-root-DG6I1Pl4.js → openclaw-root-DeEQQJyX.js} +8 -8
- package/dist/{outbound-C2sayF6_.js → outbound-B0HGMG3V.js} +3 -3
- package/dist/{outbound-ChDjtuD6.js → outbound-C2kanETZ.js} +6 -6
- package/dist/{outbound-attachment-BMKxLFNL.js → outbound-attachment-Ccf9O8B8.js} +2 -2
- package/dist/{outbound-attachment-DqHlD21U.js → outbound-attachment-DBrYWX8h.js} +2 -2
- package/dist/{pairing-cli-BiogXen1.js → pairing-cli-L76jWxbm.js} +8 -8
- package/dist/{pairing-labels-OxEX3p5e.js → pairing-labels-D9vsJ1yc.js} +1 -1
- package/dist/{pairing-store-CxcCXceV.js → pairing-store-qlIFCeZB.js} +3 -3
- package/dist/{path-alias-guards-CY88Htx_.js → path-alias-guards-BzAaCM2k.js} +3 -3
- package/dist/{path-alias-guards-BzvdLvTI.js → path-alias-guards-DqXRZmsL.js} +1 -1
- package/dist/{path-safety-dy_YlK3a.js → path-safety-BtMBl7vC.js} +1 -1
- package/dist/{paths-C48pWRFv.js → paths-1ThfklTP.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-bcjMe3wj.js} +167 -167
- package/dist/{pi-embedded-helpers-CLXm10bV.js → pi-embedded-helpers-D5yyGEvA.js} +52 -52
- package/dist/{pi-embedded-helpers-CuG0ngBL.js → pi-embedded-helpers-DXrnVbBZ.js} +6 -6
- package/dist/{pi-model-discovery-Dymwdjt0.js → pi-model-discovery-BGgOlX8N.js} +7 -7
- package/dist/{pi-model-discovery-Drm3mYtt.js → pi-model-discovery-BKbDxeIp.js} +1 -1
- package/dist/pi-model-discovery-runtime-Bwmi4Ev8.js +11 -0
- package/dist/{pi-model-discovery-runtime-CCZ87Xog.js → pi-model-discovery-runtime-CpLmZvoC.js} +5 -5
- package/dist/{pi-tools.before-tool-call.runtime-CxMxsbgT.js → pi-tools.before-tool-call.runtime-81kH9GUj.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-DaB-Ff9f.js → pi-tools.policy-BC7YGcon.js} +5 -5
- package/dist/{plugin-auto-enable-DOlffoVt.js → plugin-auto-enable-CIeegxhY.js} +3 -3
- package/dist/{plugin-registry-DfKKSRKU.js → plugin-registry-D8JSGXQX.js} +3 -3
- package/dist/plugin-sdk/signal.js +2 -2
- package/dist/{plugins-4Rj4OjLY.js → plugins-CWkRQYDj.js} +11 -11
- package/dist/{plugins-DaN4Jp7R.js → plugins-TLur5wHC.js} +2 -2
- package/dist/{plugins-cli-540srne6.js → plugins-cli-e8svgZ6i.js} +82 -82
- package/dist/{ports-DX1Cxj7W.js → ports-BE9ZTYml.js} +1 -1
- package/dist/{ports-B6f6PDVD.js → ports-CfTWPxj9.js} +2 -2
- package/dist/{program-context-iEkoyF3D.js → program-context-DNYbQrvx.js} +41 -41
- package/dist/{prompt-select-styled-C1MS6ea1.js → prompt-select-styled-B7A4T4-F.js} +40 -40
- package/dist/{provider-auth-helpers-BeZKOpzW.js → provider-auth-helpers-DolkcfyF.js} +5 -5
- package/dist/{proxy-env-DlmzDx8x.js → proxy-env-Cq5gdrbj.js} +1 -1
- package/dist/{proxy-env-R4DbTLy-.js → proxy-env-hdF2jCzB.js} +1 -1
- package/dist/{proxy-fetch-B2pEfjbR.js → proxy-fetch-CCjEYbFm.js} +1 -1
- package/dist/{push-apns-wRpQOiqI.js → push-apns-COJt9ulg.js} +5 -5
- package/dist/{pw-ai-DNMjFMqH.js → pw-ai-CDQDCfUa.js} +14 -14
- package/dist/{pw-ai-DP_aLfwB.js → pw-ai-CICkGw_S.js} +18 -18
- package/dist/{qmd-manager-BtIKUaO9.js → qmd-manager-BsYsO9Ii.js} +10 -10
- package/dist/{qmd-manager-DP6UdQoL.js → qmd-manager-CT6j2ntm.js} +20 -20
- package/dist/{qr-cli-7lXeTSek.js → qr-cli-CKPDy5Oq.js} +2 -2
- package/dist/{query-expansion-bOaotSTR.js → query-expansion-DmxOigqX.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-D6W9dz8Q.js → redact-snapshot-C6NRnnHx.js} +1 -1
- package/dist/{register.agent-Bjkfci3x.js → register.agent-D4BrsIbk.js} +97 -97
- package/dist/register.configure-B8qyHllb.js +164 -0
- package/dist/{register.maintenance-ErXA_uuU.js → register.maintenance-x2-poSUG.js} +93 -93
- package/dist/{register.message-vHhFsp94.js → register.message-NeUR5N0O.js} +73 -73
- package/dist/{register.onboard-BgvfFczx.js → register.onboard-Cdh-N4A9.js} +18 -18
- package/dist/{register.setup-Bel3kQD6.js → register.setup-B3ADFeTG.js} +21 -21
- package/dist/{register.status-health-sessions-BEhwEKZV.js → register.status-health-sessions-zRCJ2e-L.js} +86 -86
- package/dist/{reply-9D8ZuOqr.js → reply-BFrmGuXU.js} +149 -149
- package/dist/{rpc-BSqhmmbX.js → rpc-DUJUbW2t.js} +1 -1
- package/dist/{run-with-concurrency-BgYfgkXT.js → run-with-concurrency-D_ZpbgEG.js} +4 -4
- package/dist/{runtime-BHbS8ZHw.js → runtime-DTxtPm0I.js} +3 -3
- package/dist/{runtime-config-collectors-CXxR70dG.js → runtime-config-collectors-BEvlZaJw.js} +1 -1
- package/dist/{runtime-whatsapp-login.runtime-BkF8zMbl.js → runtime-whatsapp-login.runtime-DLNWSVqX.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-bK_Rub3q.js +32 -0
- package/dist/{sandbox-HvaJFfqL.js → sandbox-C0HLb5d5.js} +18 -18
- package/dist/{sandbox-cli-Cyu9YZx0.js → sandbox-cli-CHpGeoro.js} +25 -25
- package/dist/{secrets-cli-B-aLO0SY.js → secrets-cli-DgQQmw65.js} +11 -11
- package/dist/{security-cli-DZTjYQ-D.js → security-cli-W-7xXDn1.js} +42 -42
- package/dist/{send-dfu6_rgf.js → send-BQERFNyo.js} +5 -5
- package/dist/{send-BlhxqBI9.js → send-BUFnD0eE.js} +6 -6
- package/dist/{send-L7gRiwyd.js → send-Bj776ESJ.js} +7 -7
- package/dist/{send-BcAN5-hD.js → send-CJrrDXqE.js} +11 -11
- package/dist/{send-CVzWMFl1.js → send-D3BV3zCy.js} +8 -8
- package/dist/{send-PE6cwoTe.js → send-DcxmcFi_.js} +8 -8
- package/dist/{send-C9SevGlM.js → send-Ddtb8gLT.js} +4 -4
- package/dist/{send-6lz6rNVP.js → send-Dx2RkUOZ.js} +6 -6
- package/dist/{send-7ekhdACO.js → send-tsYgRPrs.js} +5 -5
- package/dist/{send-BHTiZcH3.js → send-vmONuVgL.js} +26 -26
- package/dist/{server-ChrqZt3H.js → server-Bzgq55gk.js} +20 -20
- package/dist/{server-context-BhpOEoCB.js → server-context-DCpD_bA8.js} +12 -12
- package/dist/{server-lifecycle-BYHavdLd.js → server-lifecycle-B2SzHMkK.js} +2 -2
- package/dist/{server-middleware-BzsDWK_f.js → server-middleware-C_u_M_FK.js} +1 -1
- package/dist/{server-node-events-CN7o3YoN.js → server-node-events-BS0Yy6SL.js} +73 -73
- package/dist/{service-qQCNqvmY.js → service-DhcBUav5.js} +15 -15
- package/dist/{session-D8ImowSs.js → session-A4QhBRvH.js} +8 -8
- package/dist/{session-CdQJLohq.js → session-D6FZ4tQ8.js} +1 -1
- package/dist/{sessions-Fm2Lx117.js → sessions-CRTJuMXp.js} +15 -15
- package/dist/{shared-CWdEWtsZ.js → shared-BXXG3vT8.js} +3 -3
- package/dist/{shared-26KZSqMI.js → shared-DOUEV_Eq.js} +1 -1
- package/dist/{skill-commands-De4NUpNz.js → skill-commands-BgzZkiJz.js} +5 -5
- package/dist/{skill-commands-DNqJ-kwn.js → skill-commands-CMzBZKG2.js} +9 -9
- package/dist/{skill-scanner-BtrQE0gO.js → skill-scanner-DcrwF2Fr.js} +6 -6
- package/dist/{skills-Sy3onNq_.js → skills-4CjDh8J_.js} +3 -3
- package/dist/{skills-7ODkHQYp.js → skills-CE_iqvM5.js} +22 -22
- package/dist/{skills-cli-DiN4xbFz.js → skills-cli-CRB7e30Z.js} +5 -5
- package/dist/{skills-install-DksQkSIq.js → skills-install-DOKJADrz.js} +6 -6
- package/dist/{skills-status-BZptMdLx.js → skills-status-BWqCvt0g.js} +1 -1
- package/dist/slash-commands.runtime-Cpn2tYW4.js +16 -0
- package/dist/{slash-commands.runtime-Becs7mLt.js → slash-commands.runtime-DSjg6jg8.js} +11 -11
- package/dist/slash-dispatch.runtime-CWbpp23S.js +56 -0
- package/dist/slash-dispatch.runtime-DcGK4xow.js +113 -0
- package/dist/slash-skill-commands.runtime-DKMvvdDW.js +20 -0
- package/dist/{slash-skill-commands.runtime-BqcgqTMM.js → slash-skill-commands.runtime-DwvIfTev.js} +15 -15
- package/dist/{status-CaG5OT-N.js → status-BiX1kbtY.js} +26 -26
- package/dist/{status.update-DR8lt70f.js → status.update-QMbtfb38.js} +2 -2
- package/dist/{store-D89wDcz9.js → store--eR1R_UX.js} +2 -2
- package/dist/{store-B7o63XvV.js → store-s4dlu9ZQ.js} +5 -5
- package/dist/subagent-registry-runtime-D5KDyK6C.js +113 -0
- package/dist/subagent-registry-runtime-DEVpAaAP.js +56 -0
- package/dist/{subsystem-B45WV3qB.js → subsystem-Di1z8l0Z.js} +14 -14
- package/dist/{system-cli-CpyvQedP.js → system-cli-Dz6Xu0cZ.js} +9 -9
- package/dist/{system-run-command-B7_IasTx.js → system-run-command-MvTaWm_5.js} +1 -1
- package/dist/{systemd-DotMzkho.js → systemd-V-rr1rHU.js} +9 -9
- package/dist/{systemd-hints-B1n_Cmj7.js → systemd-hints-BanLoKAv.js} +6 -6
- package/dist/{systemd-linger-la785pXY.js → systemd-linger-CWkk4GBp.js} +1 -1
- package/dist/{tables-B3d05drH.js → tables-D6c57Lrs.js} +1 -1
- package/dist/{tables-mE4cJBN2.js → tables-d739Y1xW.js} +1 -1
- package/dist/{tailnet-CSHZafwU.js → tailnet-DuRcvzVE.js} +1 -1
- package/dist/{target-errors-mnlwhAjP.js → target-errors-CBI2Ga0y.js} +2 -2
- package/dist/{target-errors-CCgPtzPv.js → target-errors-u7pjywIy.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-Bhog1Yix.js → tool-images-6ceVT7-i.js} +1 -1
- package/dist/{tui-DoROfmXy.js → tui-DIVVG-0Y.js} +6 -6
- package/dist/{tui-cli-Axgy0FU4.js → tui-cli-DdB0uJii.js} +32 -32
- package/dist/{update-xgJWkTh1.js → update-C4nonzOq.js} +3 -3
- package/dist/{update-cli-Dudao0uZ.js → update-cli-B0ekEE4A.js} +102 -102
- package/dist/{update-runner-B_J4-cY6.js → update-runner-gVTOOfSH.js} +16 -16
- package/dist/web-C0Ki9gxL.js +117 -0
- package/dist/{web-Btj-e8kN.js → web-NWKn8ABz.js} +55 -55
- package/dist/{webhooks-cli-HRhGQtAq.js → webhooks-cli-D2omOmfe.js} +6 -6
- package/dist/{whatsapp-actions-s6qkgp-7.js → whatsapp-actions-Ds8L0msY.js} +17 -17
- package/dist/{whatsapp-actions-BHbJJyqw.js → whatsapp-actions-iEArE_Ez.js} +21 -21
- package/dist/{with-timeout-OltBBBXv.js → with-timeout-DW6XbMi-.js} +3 -3
- package/dist/{workspace-B3uGN7Xe.js → workspace-B7XBLNce.js} +1 -1
- package/dist/{workspace-U-DyR64O.js → workspace-CUVC6GX1.js} +20 -20
- package/dist/{workspace-dirs-0V-76Wmq.js → workspace-dirs-Ds-g-s99.js} +1 -1
- package/dist/{ws-BrCPoV7j.js → ws-BNW54x9_.js} +2 -2
- package/dist/{wsl-wYxPJ8EO.js → wsl-CgxzAzRe.js} +2 -2
- package/package.json +1 -1
- package/dist/deliver-runtime-BFs7iAZF.js +0 -36
- package/dist/deliver-runtime-CBjIBIWj.js +0 -61
- package/dist/deps-send-discord.runtime-Ch7m0GFO.js +0 -36
- package/dist/deps-send-discord.runtime-DZUccI6Z.js +0 -26
- package/dist/deps-send-imessage.runtime-BBXNUMFu.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-DVVQsW-M.js +0 -34
- package/dist/deps-send-slack.runtime-BDsDhS1P.js +0 -22
- package/dist/deps-send-slack.runtime-Bm60sFNH.js +0 -32
- package/dist/deps-send-telegram.runtime-D_4xVasO.js +0 -27
- package/dist/deps-send-whatsapp.runtime-B2i2JcV5.js +0 -118
- package/dist/deps-send-whatsapp.runtime-DK8jqd14.js +0 -60
- package/dist/image-runtime-BcAK3n8a.js +0 -29
- package/dist/image-runtime-Csw6M1GE.js +0 -55
- package/dist/manager-runtime-FO1Sx3W8.js +0 -18
- package/dist/pi-model-discovery-runtime-BeY4EUPp.js +0 -11
- package/dist/register.configure-BEkx9CQc.js +0 -164
- package/dist/runtime-whatsapp-login.runtime-DUb55byQ.js +0 -13
- package/dist/runtime-whatsapp-outbound.runtime-Bii_xSfI.js +0 -22
- package/dist/runtime-whatsapp-outbound.runtime-CdzmGvC6.js +0 -32
- package/dist/slash-commands.runtime-CVw6566g.js +0 -16
- package/dist/slash-dispatch.runtime-B9Ygtzi4.js +0 -56
- package/dist/slash-dispatch.runtime-BGHMR1xK.js +0 -113
- package/dist/slash-skill-commands.runtime-DxZ4z5h6.js +0 -20
- package/dist/subagent-registry-runtime-0qZtQB7_.js +0 -113
- package/dist/subagent-registry-runtime-DL1Wv7nA.js +0 -56
- package/dist/web-QKn04c6k.js +0 -117
|
@@ -6,7 +6,7 @@ import { _ as normalizeAccountId, g as DEFAULT_ACCOUNT_ID, v as normalizeOptiona
|
|
|
6
6
|
import { t as formatCliCommand } from "./command-format-Gp1OUMPH.js";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import path from "node:path";
|
|
9
|
-
import
|
|
9
|
+
import fs$1 from "node:fs/promises";
|
|
10
10
|
|
|
11
11
|
//#region src/routing/account-lookup.ts
|
|
12
12
|
function resolveAccountEntry(accounts, accountId) {
|
|
@@ -105,14 +105,14 @@ async function webAuthExists(authDir = resolveDefaultWebAuthDir()) {
|
|
|
105
105
|
maybeRestoreCredsFromBackup(resolvedAuthDir);
|
|
106
106
|
const credsPath = resolveWebCredsPath(resolvedAuthDir);
|
|
107
107
|
try {
|
|
108
|
-
await
|
|
108
|
+
await fs$1.access(resolvedAuthDir);
|
|
109
109
|
} catch {
|
|
110
110
|
return false;
|
|
111
111
|
}
|
|
112
112
|
try {
|
|
113
|
-
const stats = await
|
|
113
|
+
const stats = await fs$1.stat(credsPath);
|
|
114
114
|
if (!stats.isFile() || stats.size <= 1) return false;
|
|
115
|
-
const raw = await
|
|
115
|
+
const raw = await fs$1.readFile(credsPath, "utf-8");
|
|
116
116
|
JSON.parse(raw);
|
|
117
117
|
return true;
|
|
118
118
|
} catch {
|
|
@@ -120,7 +120,7 @@ async function webAuthExists(authDir = resolveDefaultWebAuthDir()) {
|
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
async function clearLegacyBaileysAuthState(authDir) {
|
|
123
|
-
const entries = await
|
|
123
|
+
const entries = await fs$1.readdir(authDir, { withFileTypes: true });
|
|
124
124
|
const shouldDelete = (name) => {
|
|
125
125
|
if (name === "oauth.json") return false;
|
|
126
126
|
if (name === "creds.json" || name === "creds.json.bak") return true;
|
|
@@ -130,7 +130,7 @@ async function clearLegacyBaileysAuthState(authDir) {
|
|
|
130
130
|
await Promise.all(entries.map(async (entry) => {
|
|
131
131
|
if (!entry.isFile()) return;
|
|
132
132
|
if (!shouldDelete(entry.name)) return;
|
|
133
|
-
await
|
|
133
|
+
await fs$1.rm(path.join(authDir, entry.name), { force: true });
|
|
134
134
|
}));
|
|
135
135
|
}
|
|
136
136
|
async function logoutWeb(params) {
|
|
@@ -141,7 +141,7 @@ async function logoutWeb(params) {
|
|
|
141
141
|
return false;
|
|
142
142
|
}
|
|
143
143
|
if (params.isLegacyAuthDir) await clearLegacyBaileysAuthState(resolvedAuthDir);
|
|
144
|
-
else await
|
|
144
|
+
else await fs$1.rm(resolvedAuthDir, {
|
|
145
145
|
recursive: true,
|
|
146
146
|
force: true
|
|
147
147
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { G as normalizeAccountId } from "./workspace-
|
|
2
|
-
import { g as createAccountListHelpers, h as resolveAccountEntry } from "./accounts-
|
|
1
|
+
import { G as normalizeAccountId } from "./workspace-CUVC6GX1.js";
|
|
2
|
+
import { g as createAccountListHelpers, h as resolveAccountEntry } from "./accounts-yfBeCZtS.js";
|
|
3
3
|
|
|
4
4
|
//#region src/imessage/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as normalizeAccountId } from "./session-key-CIXZm7v4.js";
|
|
2
|
-
import { v as createAccountListHelpers, y as resolveAccountEntry } from "./accounts-
|
|
2
|
+
import { v as createAccountListHelpers, y as resolveAccountEntry } from "./accounts-4vg8osA5.js";
|
|
3
3
|
|
|
4
4
|
//#region src/imessage/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as normalizeAccountId } from "./session-key-CIXZm7v4.js";
|
|
2
|
-
import { v as createAccountListHelpers, y as resolveAccountEntry } from "./accounts-
|
|
2
|
+
import { v as createAccountListHelpers, y as resolveAccountEntry } from "./accounts-4vg8osA5.js";
|
|
3
3
|
|
|
4
4
|
//#region src/signal/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("signal");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { G as normalizeAccountId } from "./workspace-
|
|
2
|
-
import { g as createAccountListHelpers, h as resolveAccountEntry } from "./accounts-
|
|
1
|
+
import { G as normalizeAccountId } from "./workspace-CUVC6GX1.js";
|
|
2
|
+
import { g as createAccountListHelpers, h as resolveAccountEntry } from "./accounts-yfBeCZtS.js";
|
|
3
3
|
|
|
4
4
|
//#region src/signal/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("signal");
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { o as resolveOAuthDir } from "./paths-
|
|
2
|
-
import { i as defaultRuntime, l as info, m as success, y as getChildLogger } from "./subsystem-
|
|
3
|
-
import { G as normalizeAccountId, K as normalizeOptionalAccountId, W as DEFAULT_ACCOUNT_ID } from "./workspace-
|
|
4
|
-
import { m as jidToE164, y as resolveUserPath } from "./logger-
|
|
5
|
-
import { lr as formatCliCommand } from "./model-selection-
|
|
1
|
+
import { o as resolveOAuthDir } from "./paths-C6TxBCvO.js";
|
|
2
|
+
import { i as defaultRuntime, l as info, m as success, y as getChildLogger } from "./subsystem-Di1z8l0Z.js";
|
|
3
|
+
import { G as normalizeAccountId, K as normalizeOptionalAccountId, W as DEFAULT_ACCOUNT_ID } from "./workspace-CUVC6GX1.js";
|
|
4
|
+
import { m as jidToE164, y as resolveUserPath } from "./logger-DMZQQtxK.js";
|
|
5
|
+
import { lr as formatCliCommand } from "./model-selection-idoqPmw0.js";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
7
7
|
import path from "node:path";
|
|
8
|
-
import
|
|
8
|
+
import syncFs from "node:fs";
|
|
9
9
|
|
|
10
10
|
//#region src/channels/plugins/account-helpers.ts
|
|
11
11
|
function createAccountListHelpers(channelKey) {
|
|
@@ -63,7 +63,7 @@ function resolveWebCredsBackupPath(authDir) {
|
|
|
63
63
|
}
|
|
64
64
|
function hasWebCredsSync(authDir) {
|
|
65
65
|
try {
|
|
66
|
-
const stats =
|
|
66
|
+
const stats = syncFs.statSync(resolveWebCredsPath(authDir));
|
|
67
67
|
return stats.isFile() && stats.size > 1;
|
|
68
68
|
} catch {
|
|
69
69
|
return false;
|
|
@@ -71,10 +71,10 @@ function hasWebCredsSync(authDir) {
|
|
|
71
71
|
}
|
|
72
72
|
function readCredsJsonRaw(filePath) {
|
|
73
73
|
try {
|
|
74
|
-
if (!
|
|
75
|
-
const stats =
|
|
74
|
+
if (!syncFs.existsSync(filePath)) return null;
|
|
75
|
+
const stats = syncFs.statSync(filePath);
|
|
76
76
|
if (!stats.isFile() || stats.size <= 1) return null;
|
|
77
|
-
return
|
|
77
|
+
return syncFs.readFileSync(filePath, "utf-8");
|
|
78
78
|
} catch {
|
|
79
79
|
return null;
|
|
80
80
|
}
|
|
@@ -92,9 +92,9 @@ function maybeRestoreCredsFromBackup(authDir) {
|
|
|
92
92
|
const backupRaw = readCredsJsonRaw(backupPath);
|
|
93
93
|
if (!backupRaw) return;
|
|
94
94
|
JSON.parse(backupRaw);
|
|
95
|
-
|
|
95
|
+
syncFs.copyFileSync(backupPath, credsPath);
|
|
96
96
|
try {
|
|
97
|
-
|
|
97
|
+
syncFs.chmodSync(credsPath, 384);
|
|
98
98
|
} catch {}
|
|
99
99
|
logger.warn({ credsPath }, "restored corrupted WhatsApp creds.json from backup");
|
|
100
100
|
} catch {}
|
|
@@ -150,11 +150,11 @@ async function logoutWeb(params) {
|
|
|
150
150
|
function readWebSelfId(authDir = resolveDefaultWebAuthDir()) {
|
|
151
151
|
try {
|
|
152
152
|
const credsPath = resolveWebCredsPath(resolveUserPath(authDir));
|
|
153
|
-
if (!
|
|
153
|
+
if (!syncFs.existsSync(credsPath)) return {
|
|
154
154
|
e164: null,
|
|
155
155
|
jid: null
|
|
156
156
|
};
|
|
157
|
-
const raw =
|
|
157
|
+
const raw = syncFs.readFileSync(credsPath, "utf-8");
|
|
158
158
|
const jid = JSON.parse(raw)?.me?.id ?? null;
|
|
159
159
|
return {
|
|
160
160
|
e164: jid ? jidToE164(jid, { authDir }) : null,
|
|
@@ -173,7 +173,7 @@ function readWebSelfId(authDir = resolveDefaultWebAuthDir()) {
|
|
|
173
173
|
*/
|
|
174
174
|
function getWebAuthAgeMs(authDir = resolveDefaultWebAuthDir()) {
|
|
175
175
|
try {
|
|
176
|
-
const stats =
|
|
176
|
+
const stats = syncFs.statSync(resolveWebCredsPath(resolveUserPath(authDir)));
|
|
177
177
|
return Date.now() - stats.mtimeMs;
|
|
178
178
|
} catch {
|
|
179
179
|
return null;
|
|
@@ -205,7 +205,7 @@ function listWhatsAppAuthDirs(cfg) {
|
|
|
205
205
|
accountId
|
|
206
206
|
}).authDir);
|
|
207
207
|
try {
|
|
208
|
-
const entries =
|
|
208
|
+
const entries = syncFs.readdirSync(whatsappDir, { withFileTypes: true });
|
|
209
209
|
for (const entry of entries) {
|
|
210
210
|
if (!entry.isDirectory()) continue;
|
|
211
211
|
authDirs.add(path.join(whatsappDir, entry.name));
|
|
@@ -227,7 +227,7 @@ function resolveLegacyAuthDir() {
|
|
|
227
227
|
}
|
|
228
228
|
function legacyAuthExists(authDir) {
|
|
229
229
|
try {
|
|
230
|
-
return
|
|
230
|
+
return syncFs.existsSync(path.join(authDir, "creds.json"));
|
|
231
231
|
} catch {
|
|
232
232
|
return false;
|
|
233
233
|
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import "./paths-BBP4yd-2.js";
|
|
2
2
|
import { p as theme } from "./globals-BawKHR8h.js";
|
|
3
3
|
import { S as shortenHomePath, y as resolveUserPath } from "./utils-CokqDAE4.js";
|
|
4
|
-
import "./agent-scope-
|
|
4
|
+
import "./agent-scope-BbO_VBbv.js";
|
|
5
5
|
import { d as defaultRuntime } from "./subsystem-BiaB_3Ei.js";
|
|
6
|
-
import "./openclaw-root-
|
|
6
|
+
import "./openclaw-root-DeEQQJyX.js";
|
|
7
7
|
import "./logger-fgPrvtjf.js";
|
|
8
8
|
import "./exec-Cu2obwh9.js";
|
|
9
|
-
import { $t as loadConfig } from "./model-selection-
|
|
9
|
+
import { $t as loadConfig } from "./model-selection-DqSNdtby.js";
|
|
10
10
|
import "./registry-CTtrVpZB.js";
|
|
11
11
|
import "./github-copilot-token-b6kJVrW-.js";
|
|
12
12
|
import "./boolean-BsqeuxE6.js";
|
|
13
13
|
import "./env-CNF75H3c.js";
|
|
14
14
|
import "./host-env-security-DkAVVuaw.js";
|
|
15
15
|
import { r as VERSION } from "./env-vars-ausEv-bN.js";
|
|
16
|
-
import "./manifest-registry-
|
|
16
|
+
import "./manifest-registry-D74D25g7.js";
|
|
17
17
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-S2KEwruz.js";
|
|
18
18
|
import { r as isKnownCoreToolId } from "./tool-catalog-IBWCA-2a.js";
|
|
19
|
-
import "./tailnet-
|
|
20
|
-
import "./ws-
|
|
19
|
+
import "./tailnet-DuRcvzVE.js";
|
|
20
|
+
import "./ws-BNW54x9_.js";
|
|
21
21
|
import { n as resolveWindowsSpawnProgram, t as materializeWindowsSpawnProgram } from "./windows-spawn-Bo-pPi83.js";
|
|
22
|
-
import { t as GatewayClient } from "./client-
|
|
23
|
-
import { s as resolveGatewayCredentialsWithSecretInputs, t as buildGatewayConnectionDetails } from "./call-
|
|
22
|
+
import { t as GatewayClient } from "./client-D9sBKoZI.js";
|
|
23
|
+
import { s as resolveGatewayCredentialsWithSecretInputs, t as buildGatewayConnectionDetails } from "./call-YJ9zjeji.js";
|
|
24
24
|
import "./pairing-token-9FncM-ur.js";
|
|
25
25
|
import { t as formatDocsLink } from "./links-3lq_eIAs.js";
|
|
26
26
|
import { t as isMainModule } from "./is-main-D5LnS2LP.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { W as DEFAULT_ACCOUNT_ID } from "./workspace-
|
|
2
|
-
import { lr as formatCliCommand } from "./model-selection-
|
|
1
|
+
import { W as DEFAULT_ACCOUNT_ID } from "./workspace-CUVC6GX1.js";
|
|
2
|
+
import { lr as formatCliCommand } from "./model-selection-idoqPmw0.js";
|
|
3
3
|
import crypto from "node:crypto";
|
|
4
4
|
|
|
5
5
|
//#region src/logging/redact-identifier.ts
|
|
@@ -2,13 +2,13 @@ import { g as resolveStateDir, y as resolveRequiredHomeDir } from "./paths-BBP4y
|
|
|
2
2
|
import { h as pathExists, y as resolveUserPath } from "./utils-CokqDAE4.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-BiaB_3Ei.js";
|
|
4
4
|
import { E as parseAgentSessionKey, T as isSubagentSessionKey, c as normalizeAgentId, t as DEFAULT_AGENT_ID, u as resolveAgentIdFromSessionKey, w as isCronSessionKey } from "./session-key-CIXZm7v4.js";
|
|
5
|
-
import { _ as normalizeSkillFilter, i as openBoundaryFile, t as resolveOpenClawPackageRoot } from "./openclaw-root-
|
|
5
|
+
import { _ as normalizeSkillFilter, i as openBoundaryFile, t as resolveOpenClawPackageRoot } from "./openclaw-root-DeEQQJyX.js";
|
|
6
6
|
import { t as runCommandWithTimeout } from "./exec-Cu2obwh9.js";
|
|
7
7
|
import { fileURLToPath } from "node:url";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import os from "node:os";
|
|
10
10
|
import path from "node:path";
|
|
11
|
-
import
|
|
11
|
+
import fs$1 from "node:fs/promises";
|
|
12
12
|
|
|
13
13
|
//#region src/config/model-input.ts
|
|
14
14
|
function resolveAgentModelPrimaryValue(model) {
|
|
@@ -150,7 +150,7 @@ async function loadTemplate(name) {
|
|
|
150
150
|
const templateDir = await resolveWorkspaceTemplateDir();
|
|
151
151
|
const templatePath = path.join(templateDir, name);
|
|
152
152
|
try {
|
|
153
|
-
return stripFrontMatter(await
|
|
153
|
+
return stripFrontMatter(await fs$1.readFile(templatePath, "utf-8"));
|
|
154
154
|
} catch {
|
|
155
155
|
throw new Error(`Missing workspace template: ${name} (${templatePath}). Ensure docs/reference/templates are packaged.`);
|
|
156
156
|
}
|
|
@@ -165,7 +165,7 @@ async function loadTemplate(name) {
|
|
|
165
165
|
}
|
|
166
166
|
async function writeFileIfMissing(filePath, content) {
|
|
167
167
|
try {
|
|
168
|
-
await
|
|
168
|
+
await fs$1.writeFile(filePath, content, {
|
|
169
169
|
encoding: "utf-8",
|
|
170
170
|
flag: "wx"
|
|
171
171
|
});
|
|
@@ -177,7 +177,7 @@ async function writeFileIfMissing(filePath, content) {
|
|
|
177
177
|
}
|
|
178
178
|
async function fileExists(filePath) {
|
|
179
179
|
try {
|
|
180
|
-
await
|
|
180
|
+
await fs$1.access(filePath);
|
|
181
181
|
return true;
|
|
182
182
|
} catch {
|
|
183
183
|
return false;
|
|
@@ -201,7 +201,7 @@ function parseWorkspaceOnboardingState(raw) {
|
|
|
201
201
|
}
|
|
202
202
|
async function readWorkspaceOnboardingState(statePath) {
|
|
203
203
|
try {
|
|
204
|
-
return parseWorkspaceOnboardingState(await
|
|
204
|
+
return parseWorkspaceOnboardingState(await fs$1.readFile(statePath, "utf-8")) ?? { version: WORKSPACE_STATE_VERSION };
|
|
205
205
|
} catch (err) {
|
|
206
206
|
if (err.code !== "ENOENT") throw err;
|
|
207
207
|
return { version: WORKSPACE_STATE_VERSION };
|
|
@@ -215,20 +215,20 @@ async function isWorkspaceOnboardingCompleted(dir) {
|
|
|
215
215
|
return typeof state.onboardingCompletedAt === "string" && state.onboardingCompletedAt.trim().length > 0;
|
|
216
216
|
}
|
|
217
217
|
async function writeWorkspaceOnboardingState(statePath, state) {
|
|
218
|
-
await
|
|
218
|
+
await fs$1.mkdir(path.dirname(statePath), { recursive: true });
|
|
219
219
|
const payload = `${JSON.stringify(state, null, 2)}\n`;
|
|
220
220
|
const tmpPath = `${statePath}.tmp-${process.pid}-${Date.now().toString(36)}`;
|
|
221
221
|
try {
|
|
222
|
-
await
|
|
223
|
-
await
|
|
222
|
+
await fs$1.writeFile(tmpPath, payload, { encoding: "utf-8" });
|
|
223
|
+
await fs$1.rename(tmpPath, statePath);
|
|
224
224
|
} catch (err) {
|
|
225
|
-
await
|
|
225
|
+
await fs$1.unlink(tmpPath).catch(() => {});
|
|
226
226
|
throw err;
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
229
|
async function hasGitRepo(dir) {
|
|
230
230
|
try {
|
|
231
|
-
await
|
|
231
|
+
await fs$1.stat(path.join(dir, ".git"));
|
|
232
232
|
return true;
|
|
233
233
|
} catch {
|
|
234
234
|
return false;
|
|
@@ -258,7 +258,7 @@ async function ensureGitRepo(dir, isBrandNewWorkspace) {
|
|
|
258
258
|
}
|
|
259
259
|
async function ensureAgentWorkspace(params) {
|
|
260
260
|
const dir = resolveUserPath(params?.dir?.trim() ? params.dir.trim() : DEFAULT_AGENT_WORKSPACE_DIR);
|
|
261
|
-
await
|
|
261
|
+
await fs$1.mkdir(dir, { recursive: true });
|
|
262
262
|
if (!params?.ensureBootstrapFiles) return { dir };
|
|
263
263
|
const agentsPath = path.join(dir, DEFAULT_AGENTS_FILENAME);
|
|
264
264
|
const soulPath = path.join(dir, DEFAULT_SOUL_FILENAME);
|
|
@@ -285,7 +285,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
285
285
|
const paths = [...templatePaths, ...userContentPaths];
|
|
286
286
|
return (await Promise.all(paths.map(async (p) => {
|
|
287
287
|
try {
|
|
288
|
-
await
|
|
288
|
+
await fs$1.access(p);
|
|
289
289
|
return true;
|
|
290
290
|
} catch {
|
|
291
291
|
return false;
|
|
@@ -318,7 +318,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
318
318
|
if (!state.bootstrapSeededAt && bootstrapExists) markState({ bootstrapSeededAt: nowIso() });
|
|
319
319
|
if (!state.onboardingCompletedAt && state.bootstrapSeededAt && !bootstrapExists) markState({ onboardingCompletedAt: nowIso() });
|
|
320
320
|
if (!state.bootstrapSeededAt && !state.onboardingCompletedAt && !bootstrapExists) {
|
|
321
|
-
const [identityContent, userContent] = await Promise.all([
|
|
321
|
+
const [identityContent, userContent] = await Promise.all([fs$1.readFile(identityPath, "utf-8"), fs$1.readFile(userPath, "utf-8")]);
|
|
322
322
|
const hasUserContent = await (async () => {
|
|
323
323
|
const indicators = [
|
|
324
324
|
path.join(dir, "memory"),
|
|
@@ -326,7 +326,7 @@ async function ensureAgentWorkspace(params) {
|
|
|
326
326
|
path.join(dir, ".git")
|
|
327
327
|
];
|
|
328
328
|
for (const indicator of indicators) try {
|
|
329
|
-
await
|
|
329
|
+
await fs$1.access(indicator);
|
|
330
330
|
return true;
|
|
331
331
|
} catch {}
|
|
332
332
|
return false;
|
|
@@ -357,7 +357,7 @@ async function resolveMemoryBootstrapEntries(resolvedDir) {
|
|
|
357
357
|
for (const name of candidates) {
|
|
358
358
|
const filePath = path.join(resolvedDir, name);
|
|
359
359
|
try {
|
|
360
|
-
await
|
|
360
|
+
await fs$1.access(filePath);
|
|
361
361
|
entries.push({
|
|
362
362
|
name,
|
|
363
363
|
filePath
|
|
@@ -370,7 +370,7 @@ async function resolveMemoryBootstrapEntries(resolvedDir) {
|
|
|
370
370
|
for (const entry of entries) {
|
|
371
371
|
let key = entry.filePath;
|
|
372
372
|
try {
|
|
373
|
-
key = await
|
|
373
|
+
key = await fs$1.realpath(entry.filePath);
|
|
374
374
|
} catch {}
|
|
375
375
|
if (seen.has(key)) continue;
|
|
376
376
|
seen.add(key);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { nn as identityHasValues, rn as loadAgentIdentityFromWorkspace } from "./reply-
|
|
2
|
-
import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
1
|
+
import { nn as identityHasValues, rn as loadAgentIdentityFromWorkspace } from "./reply-BFrmGuXU.js";
|
|
2
|
+
import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-BbO_VBbv.js";
|
|
3
3
|
import { c as normalizeAgentId } from "./session-key-CIXZm7v4.js";
|
|
4
4
|
|
|
5
5
|
//#region src/commands/agents.config.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as normalizeProviderId } from "./model-selection-
|
|
2
|
-
import { r as formatErrorMessage } from "./errors-
|
|
1
|
+
import { c as normalizeProviderId } from "./model-selection-idoqPmw0.js";
|
|
2
|
+
import { r as formatErrorMessage } from "./errors-CCLeFWAg.js";
|
|
3
3
|
|
|
4
4
|
//#region src/infra/gemini-auth.ts
|
|
5
5
|
/**
|
|
@@ -2,60 +2,60 @@ import "./paths-BBP4yd-2.js";
|
|
|
2
2
|
import { a as logVerbose, c as shouldLogVerbose } from "./globals-BawKHR8h.js";
|
|
3
3
|
import "./utils-CokqDAE4.js";
|
|
4
4
|
import "./thinking-44rmAw5o.js";
|
|
5
|
-
import "./agent-scope-
|
|
5
|
+
import "./agent-scope-BbO_VBbv.js";
|
|
6
6
|
import "./subsystem-BiaB_3Ei.js";
|
|
7
|
-
import "./openclaw-root-
|
|
7
|
+
import "./openclaw-root-DeEQQJyX.js";
|
|
8
8
|
import "./logger-fgPrvtjf.js";
|
|
9
9
|
import "./exec-Cu2obwh9.js";
|
|
10
|
-
import "./model-selection-
|
|
10
|
+
import "./model-selection-DqSNdtby.js";
|
|
11
11
|
import "./registry-CTtrVpZB.js";
|
|
12
12
|
import "./github-copilot-token-b6kJVrW-.js";
|
|
13
13
|
import "./boolean-BsqeuxE6.js";
|
|
14
14
|
import "./env-CNF75H3c.js";
|
|
15
15
|
import "./host-env-security-DkAVVuaw.js";
|
|
16
16
|
import "./env-vars-ausEv-bN.js";
|
|
17
|
-
import "./manifest-registry-
|
|
18
|
-
import "./dock-
|
|
17
|
+
import "./manifest-registry-D74D25g7.js";
|
|
18
|
+
import "./dock-SpSqP4RS.js";
|
|
19
19
|
import "./message-channel-S2KEwruz.js";
|
|
20
|
-
import "./plugins-
|
|
21
|
-
import "./sessions-
|
|
22
|
-
import { d as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-
|
|
23
|
-
import "./image-
|
|
24
|
-
import "./models-config-
|
|
25
|
-
import "./pi-embedded-helpers-
|
|
26
|
-
import "./sandbox-
|
|
20
|
+
import "./plugins-TLur5wHC.js";
|
|
21
|
+
import "./sessions-CRTJuMXp.js";
|
|
22
|
+
import { d as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-B9-J1DUd.js";
|
|
23
|
+
import "./image-BaqqhHHh.js";
|
|
24
|
+
import "./models-config-5EhgxVMQ.js";
|
|
25
|
+
import "./pi-embedded-helpers-DXrnVbBZ.js";
|
|
26
|
+
import "./sandbox-C0HLb5d5.js";
|
|
27
27
|
import "./tool-catalog-IBWCA-2a.js";
|
|
28
|
-
import "./chrome-
|
|
28
|
+
import "./chrome-DBMFZ1ho.js";
|
|
29
29
|
import "./tailscale-OabIsy4o.js";
|
|
30
|
-
import "./tailnet-
|
|
31
|
-
import "./ws-
|
|
32
|
-
import "./auth-
|
|
33
|
-
import "./server-context-
|
|
30
|
+
import "./tailnet-DuRcvzVE.js";
|
|
31
|
+
import "./ws-BNW54x9_.js";
|
|
32
|
+
import "./auth-B_YGaEcP.js";
|
|
33
|
+
import "./server-context-DCpD_bA8.js";
|
|
34
34
|
import "./frontmatter-CPpXT7mj.js";
|
|
35
|
-
import "./skills-
|
|
36
|
-
import "./path-alias-guards-
|
|
37
|
-
import "./paths-
|
|
35
|
+
import "./skills-4CjDh8J_.js";
|
|
36
|
+
import "./path-alias-guards-BzAaCM2k.js";
|
|
37
|
+
import "./paths-1ThfklTP.js";
|
|
38
38
|
import "./redact-sDsI6gV3.js";
|
|
39
39
|
import "./errors-BkPBAjci.js";
|
|
40
|
-
import "./fs-safe-
|
|
41
|
-
import "./proxy-env-
|
|
42
|
-
import "./image-ops-
|
|
43
|
-
import "./store-
|
|
44
|
-
import "./ports-
|
|
40
|
+
import "./fs-safe-mG29clJ9.js";
|
|
41
|
+
import "./proxy-env-hdF2jCzB.js";
|
|
42
|
+
import "./image-ops-CKnT_r12.js";
|
|
43
|
+
import "./store-s4dlu9ZQ.js";
|
|
44
|
+
import "./ports-CfTWPxj9.js";
|
|
45
45
|
import "./trash--gw0enoo.js";
|
|
46
|
-
import "./server-middleware-
|
|
47
|
-
import "./accounts-
|
|
48
|
-
import "./accounts-
|
|
46
|
+
import "./server-middleware-C_u_M_FK.js";
|
|
47
|
+
import "./accounts-4vg8osA5.js";
|
|
48
|
+
import "./accounts-BgOnManD.js";
|
|
49
49
|
import "./logging-D3KTM1pH.js";
|
|
50
|
-
import "./accounts-
|
|
50
|
+
import "./accounts-CXo4Ac3z.js";
|
|
51
51
|
import "./paths-D24h0XR4.js";
|
|
52
52
|
import "./chat-envelope-DL2R5pK6.js";
|
|
53
|
-
import "./tool-images-
|
|
53
|
+
import "./tool-images-6ceVT7-i.js";
|
|
54
54
|
import "./tool-display-D1uTM_Dm.js";
|
|
55
|
-
import "./fetch-guard-
|
|
56
|
-
import "./api-key-rotation-
|
|
57
|
-
import "./local-roots-
|
|
58
|
-
import "./model-catalog-
|
|
55
|
+
import "./fetch-guard-NyNh7p-s.js";
|
|
56
|
+
import "./api-key-rotation-CzacqD3s.js";
|
|
57
|
+
import "./local-roots-BCYAjsgu.js";
|
|
58
|
+
import "./model-catalog-QXAt20Vy.js";
|
|
59
59
|
import "./proxy-fetch-DVvCU_Cg.js";
|
|
60
60
|
|
|
61
61
|
//#region src/media-understanding/audio-preflight.ts
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import "./run-with-concurrency-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import { p as shouldLogVerbose, u as logVerbose } from "./subsystem-
|
|
4
|
-
import "./workspace-
|
|
5
|
-
import "./logger-
|
|
6
|
-
import "./model-selection-
|
|
7
|
-
import "./github-copilot-token-
|
|
8
|
-
import "./legacy-names-
|
|
9
|
-
import "./thinking-
|
|
10
|
-
import "./plugins-
|
|
11
|
-
import "./accounts-
|
|
12
|
-
import "./accounts-
|
|
13
|
-
import "./image-ops-
|
|
14
|
-
import "./pi-embedded-helpers-
|
|
15
|
-
import "./chrome-
|
|
16
|
-
import "./frontmatter-
|
|
17
|
-
import "./skills-
|
|
18
|
-
import "./path-alias-guards-
|
|
19
|
-
import "./redact-
|
|
20
|
-
import "./errors-
|
|
21
|
-
import "./fs-safe-
|
|
22
|
-
import "./proxy-env-
|
|
23
|
-
import "./store
|
|
24
|
-
import "./accounts-
|
|
25
|
-
import "./paths-
|
|
26
|
-
import "./tool-images-
|
|
27
|
-
import "./image-
|
|
28
|
-
import { g as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-
|
|
29
|
-
import "./fetch-
|
|
30
|
-
import "./fetch-guard-
|
|
31
|
-
import "./api-key-rotation-
|
|
32
|
-
import "./proxy-fetch-
|
|
1
|
+
import "./run-with-concurrency-D_ZpbgEG.js";
|
|
2
|
+
import "./paths-C6TxBCvO.js";
|
|
3
|
+
import { p as shouldLogVerbose, u as logVerbose } from "./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 "./thinking-DXYisHiZ.js";
|
|
10
|
+
import "./plugins-CWkRQYDj.js";
|
|
11
|
+
import "./accounts-yfBeCZtS.js";
|
|
12
|
+
import "./accounts-L9ByEpnP.js";
|
|
13
|
+
import "./image-ops-CehkHxmW.js";
|
|
14
|
+
import "./pi-embedded-helpers-D5yyGEvA.js";
|
|
15
|
+
import "./chrome-DlhJHqj8.js";
|
|
16
|
+
import "./frontmatter-CvaMP376.js";
|
|
17
|
+
import "./skills-CE_iqvM5.js";
|
|
18
|
+
import "./path-alias-guards-DqXRZmsL.js";
|
|
19
|
+
import "./redact-ClbcYG1J.js";
|
|
20
|
+
import "./errors-CCLeFWAg.js";
|
|
21
|
+
import "./fs-safe-0jAo_Whb.js";
|
|
22
|
+
import "./proxy-env-Cq5gdrbj.js";
|
|
23
|
+
import "./store--eR1R_UX.js";
|
|
24
|
+
import "./accounts-BOzyfwW4.js";
|
|
25
|
+
import "./paths-CCxysrzL.js";
|
|
26
|
+
import "./tool-images-2cBx1W8h.js";
|
|
27
|
+
import "./image-B3Mz7N5I.js";
|
|
28
|
+
import { g as isAudioAttachment, i as normalizeMediaAttachments, o as resolveMediaAttachmentLocalRoots, t as runAudioTranscription } from "./audio-transcription-runner-CzjuH3uL.js";
|
|
29
|
+
import "./fetch-BlJWzEP6.js";
|
|
30
|
+
import "./fetch-guard-ChYBwfiy.js";
|
|
31
|
+
import "./api-key-rotation-DtsNS2Nb.js";
|
|
32
|
+
import "./proxy-fetch-CCjEYbFm.js";
|
|
33
33
|
|
|
34
34
|
//#region src/media-understanding/audio-preflight.ts
|
|
35
35
|
/**
|