@termix-it/cryptoclaw 1.0.0 → 1.0.2
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/CHANGELOG.md +93 -93
- package/README.md +1 -1
- package/assets/favicon.svg +22 -0
- package/dist/{accounts-CIGHxE7R.js → accounts-BIh6Lgjl.js} +1 -1
- package/dist/{accounts-BPjR5SyC.js → accounts-DA-4bmd_.js} +1 -1
- package/dist/{acp-cli-DG9nygBk.js → acp-cli-CBFKSvET.js} +8 -8
- package/dist/{acp-cli-DBWmJpUJ.js → acp-cli-CEPAR8vh.js} +8 -8
- package/dist/{agent-3MZVCC-N.js → agent-8dTCwA-D.js} +10 -10
- package/dist/{agent-scope-DBl1We79.js → agent-scope-BJucHu4R.js} +2 -2
- package/dist/{agent-scope-e_oNRhGi.js → agent-scope-DzpuqcS9.js} +5 -1
- package/dist/{agent-scope-DLfFOxP6.js → agent-scope-GUoze5gc.js} +2 -2
- package/dist/{agent-IDE9krld.js → agent-sjalTGVA.js} +10 -10
- package/dist/{audit-jaTyyQX1.js → audit-BMzW1G5a.js} +10 -10
- package/dist/{audit-Bj_dxNaD.js → audit-DQsCrYXQ.js} +10 -10
- package/dist/{auth-health-CCM6Z3vK.js → auth-health-Cr8ib9nm.js} +1 -1
- package/dist/{auth-health-BlspzqyF.js → auth-health-Dc-ImENT.js} +1 -1
- package/dist/{auth-profiles-DoD7YxsD.js → auth-profiles-CVShF1K6.js} +2 -2
- package/dist/build-info.json +3 -3
- package/dist/{call-D2DXG0AC.js → call-D-Kvee3W.js} +2 -2
- package/dist/{call-DqxlETxE.js → call-QEaFjVBF.js} +2 -2
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-options-DUkxROTo.js → channel-options-B951pKy8.js} +5 -5
- package/dist/{channel-options-BHpXOBuP.js → channel-options-DJsSCLD8.js} +3 -3
- package/dist/{channel-selection-BdigfMZZ.js → channel-selection-BWiz5Osx.js} +1 -1
- package/dist/{channel-selection-D7jFTFec.js → channel-selection-ChOffLk2.js} +1 -1
- package/dist/{channel-summary-DS0kcHm2.js → channel-summary-BQMoWZQ1.js} +5 -5
- package/dist/{channel-summary-CobMoKN6.js → channel-summary-C4kSR_wu.js} +5 -5
- package/dist/{channels-cli-DBwffwqw.js → channels-cli-Fv9FTQXn.js} +34 -34
- package/dist/{channels-cli-D7ZNRrq7.js → channels-cli-Lq6EWRJ9.js} +33 -33
- package/dist/{channels-status-issues-C2UGSPvH.js → channels-status-issues-BwOdQrU9.js} +1 -1
- package/dist/{channels-status-issues-Dxmd7zYk.js → channels-status-issues-DouPXVa3.js} +1 -1
- package/dist/{chrome-CwbWzmh4.js → chrome-D0L5ufqO.js} +1 -1
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-C9xiWnx9.js → cli-Bzyu6rQE.js} +27 -27
- package/dist/{cli-D6C9z94O.js → cli-DJnpasWd.js} +27 -27
- package/dist/{command-options-DL1PhuUF.js → command-options-DBpEhnW5.js} +3 -3
- package/dist/{commands-Dpeoos11.js → commands-B0LiAJsa.js} +3 -3
- package/dist/{completion-cli-CZ8zPqPs.js → completion-cli-Bd5FrGHg.js} +27 -27
- package/dist/{completion-cli-B5nR7jt8.js → completion-cli-Cs-B1hk7.js} +1 -1
- package/dist/{config-dQK4rbfx.js → config-D1wc31Qf.js} +4 -4
- package/dist/{config-DSpb2aMV.js → config-DBZqAqbe.js} +4 -4
- package/dist/{config-IwiWafT3.js → config-fXndcfb4.js} +2 -2
- package/dist/{config-guard-DwIb5Y-v.js → config-guard-Csl9Ubn5.js} +48 -48
- package/dist/{configure-CivCcvkA.js → configure-CeTzu0Ed.js} +20 -20
- package/dist/{configure-7M9mLC4o.js → configure-CxPJaP8X.js} +20 -20
- package/dist/{control-service-BXC31sNw.js → control-service-BBeopea3.js} +4 -4
- package/dist/{control-service-lVzEzp9f.js → control-service-CWGGzqpN.js} +4 -4
- package/dist/control-ui/apple-touch-icon.png +0 -0
- package/dist/control-ui/assets/{index-DQ-7PWhX.js → index-BdjmXlOn.js} +372 -363
- package/dist/control-ui/assets/index-BdjmXlOn.js.map +1 -0
- package/dist/control-ui/assets/{index-nlpH70Eh.css → index-BxkHytum.css} +1 -1
- package/dist/control-ui/favicon-32.png +0 -0
- package/dist/control-ui/favicon.ico +0 -0
- package/dist/control-ui/favicon.svg +4 -4
- package/dist/control-ui/index.html +2 -2
- package/dist/{cron-cli-DS8ytfYQ.js → cron-cli-D8gKivN0.js} +11 -11
- package/dist/{cron-cli-Djb3HUdz.js → cron-cli-yC5Cy77c.js} +11 -11
- package/dist/{daemon-cli-KoaJ2nJX.js → daemon-cli-BM8zb09s.js} +12 -12
- package/dist/{daemon-cli-ZQIKLvAO.js → daemon-cli-D8AC0Q_A.js} +12 -12
- package/dist/{daemon-runtime-CHWbAfKs.js → daemon-runtime-BMAJ_2LE.js} +1 -1
- package/dist/{daemon-runtime-DEjUQVjL.js → daemon-runtime-CD5XPuxz.js} +1 -1
- package/dist/{deliver-sPBfRlXT.js → deliver-CNKlQLWI.js} +6 -6
- package/dist/{deliver-OfX6bSYR.js → deliver-D8Yt4jkc.js} +6 -6
- package/dist/{deliver-DVRzRmNN.js → deliver-Doq_iIoh.js} +3 -3
- package/dist/{deps-CZOfeWEp.js → deps-BhcPiVuz.js} +2 -2
- package/dist/{deps-BSdWD2wF.js → deps-ZGqhOjkR.js} +2 -2
- package/dist/{devices-cli-b9iF_uOi.js → devices-cli-BcIB2VyK.js} +7 -7
- package/dist/{devices-cli-DHSpDnCS.js → devices-cli-BcznR9RO.js} +7 -7
- package/dist/{directory-cli-qniSxsHo.js → directory-cli--IOOMz66.js} +11 -11
- package/dist/{directory-cli-D0dTuAem.js → directory-cli-DGFlpQ4T.js} +11 -11
- package/dist/{dispatcher-DA3u3CwV.js → dispatcher-cp7uHiyX.js} +1 -1
- package/dist/{dns-cli-DwwMpMuN.js → dns-cli-DkhYuREi.js} +9 -9
- package/dist/{dns-cli-C0JUNb9O.js → dns-cli-fQ4wu1HJ.js} +9 -9
- package/dist/{docs-cli-BlFHCHDz.js → docs-cli-BgnDzmFT.js} +8 -8
- package/dist/{docs-cli-BpSPrY3Y.js → docs-cli-CPaJzUSD.js} +8 -8
- package/dist/{doctor-Da1XgFcW.js → doctor-D6M3Hc0a.js} +21 -21
- package/dist/{doctor-qrtookj-.js → doctor-DRRL31R4.js} +21 -21
- package/dist/entry.js +1 -1
- package/dist/{errors--S5IAxQx.js → errors-DpH6VpWK.js} +1 -1
- package/dist/{exec-approvals-cli-Csgqkksl.js → exec-approvals-cli-BhEdzGao.js} +12 -12
- package/dist/{exec-approvals-cli-Dk4yHE2L.js → exec-approvals-cli-DHMroOAh.js} +12 -12
- package/dist/extensionAPI.js +25 -25
- package/dist/{gateway-cli-CJ7H2DgV.js → gateway-cli-CbQ4xoXp.js} +183 -108
- package/dist/{gateway-cli-CrKl-bIH.js → gateway-cli-DO7lIBZ5.js} +185 -110
- package/dist/{gateway-rpc-BPfCU2Vi.js → gateway-rpc-0hjEbkzc.js} +1 -1
- package/dist/{gateway-rpc--CH0NWWR.js → gateway-rpc-anmk3tbT.js} +1 -1
- package/dist/{github-copilot-auth-CcPEEb3Q.js → github-copilot-auth-D6I2MUxi.js} +6 -6
- package/dist/{github-copilot-auth-h3beCc_l.js → github-copilot-auth-DvShXmvU.js} +6 -6
- package/dist/{gmail-setup-utils-pZ9NnOvB.js → gmail-setup-utils-CAfk_F1J.js} +2 -2
- package/dist/{gmail-setup-utils-CnVYPhaQ.js → gmail-setup-utils-CJ1pbsWv.js} +2 -2
- package/dist/{health-format-BcsR5dtU.js → health-format-DlvTEKqI.js} +8 -8
- package/dist/{health-format-Pl8qK65t.js → health-format-SZpheYuf.js} +8 -8
- package/dist/hooks/bundled/boot-md/HOOK.md +1 -1
- package/dist/hooks/bundled/command-logger/HOOK.md +1 -1
- package/dist/hooks/bundled/session-memory/HOOK.md +1 -1
- package/dist/hooks/bundled/soul-evil/HOOK.md +1 -1
- package/dist/{hooks-cli-zkLY25DX.js → hooks-cli-CedlcxxR.js} +31 -31
- package/dist/{hooks-cli-BKHTdsn4.js → hooks-cli-DRarvOK2.js} +31 -31
- package/dist/{hooks-status-BETsyuUR.js → hooks-status-B4cP-W7z.js} +3 -3
- package/dist/{hooks-status-nPgxLL-x.js → hooks-status-n8jKv3Fm.js} +3 -3
- package/dist/{image-DAsWVn7Q.js → image-C6tw3aWy.js} +4 -4
- package/dist/{image-CC_YKDB-.js → image-CBqp4iA0.js} +3 -3
- package/dist/{image-BFNcQzKp.js → image-CQgVMkgf.js} +4 -4
- package/dist/index.js +79 -79
- package/dist/{installs-Byb3s_8P.js → installs-BhPUpyE9.js} +2 -2
- package/dist/{installs-CELeuogN.js → installs-CWAe2dOG.js} +2 -2
- package/dist/{links-cf9h8BXu.js → links-Dv1EDiwa.js} +2 -2
- package/dist/{links-Brcj2Oc-.js → links-kbubTyay.js} +2 -2
- package/dist/{loader-CU4bkeKe.js → loader-DE_vKAH5.js} +44 -44
- package/dist/{logging-BJRQDTME.js → logging-B65tlzu3.js} +2 -2
- package/dist/{logging-CD55MXc7.js → logging-C3Y3mzWS.js} +2 -2
- package/dist/{login-qr-BCr2GKX6.js → login-qr-BTMkosTm.js} +1 -1
- package/dist/{login-qr-HIPJAnbT.js → login-qr-BpdHxT8l.js} +3 -3
- package/dist/{login-qr-BMbekoZW.js → login-qr-C_Vv7Cqc.js} +3 -3
- package/dist/{logs-cli-CM7-XOcZ.js → logs-cli-_DHuOrR4.js} +9 -9
- package/dist/{logs-cli-aqjT7oHu.js → logs-cli-emy-Mg4S.js} +9 -9
- package/dist/{manager-CtGvmGvM.js → manager-CNk2RhQo.js} +3 -3
- package/dist/{manager-DpZlm3gk.js → manager-Cu-KA-wA.js} +3 -3
- package/dist/{manager-C5m5qpB0.js → manager-bvW7170C.js} +3 -3
- package/dist/{manifest-registry-BdTzIlta.js → manifest-registry-CBbBh2FT.js} +1 -1
- package/dist/{manifest-registry-DVQHMj0y.js → manifest-registry-CmLtWVRR.js} +1 -1
- package/dist/{model-selection-DuI_Ue9Q.js → model-selection-BVTyreim.js} +1 -1
- package/dist/{model-selection-Av0fLq51.js → model-selection-DmO3rB3w.js} +2 -2
- package/dist/{models-cli-gmkzOpbq.js → models-cli-CdrDfutq.js} +32 -32
- package/dist/{models-cli-C0JOZ5oP.js → models-cli-CgIqfTHx.js} +32 -32
- package/dist/{node-cli-BND9LLkM.js → node-cli-Bsn9lQ6O.js} +13 -13
- package/dist/{node-cli-DNRB94ib.js → node-cli-Ckvs6bcI.js} +13 -13
- package/dist/{nodes-cli-BCWlqHyR.js → nodes-cli-BELOAYB6.js} +10 -10
- package/dist/{nodes-cli-DWSo5dX7.js → nodes-cli-CTQPoAcf.js} +10 -10
- package/dist/{onboard-channels-DJz2TusQ.js → onboard-channels-B5qHfMk8.js} +6 -6
- package/dist/{onboard-channels-B75LjjVZ.js → onboard-channels-BgchLTab.js} +6 -6
- package/dist/{onboard-skills-ByHkU9nx.js → onboard-skills-CyG0xbsu.js} +17 -17
- package/dist/{onboard-skills-Wknr7pxR.js → onboard-skills-DEnuz7z3.js} +17 -17
- package/dist/{onboarding-BejDjkx5.js → onboarding-B6aTF0nd.js} +37 -37
- package/dist/{openclaw-root-_zPXSqgo.js → openclaw-root-Cx_l_MXP.js} +6 -2
- package/dist/{openclaw-root-YSGWCNem.js → openclaw-root-DJB4AQtF.js} +6 -2
- package/dist/{pairing-cli-Cn5vt4oI.js → pairing-cli-C_PnyRzK.js} +11 -11
- package/dist/{pairing-cli-CFqD3IdI.js → pairing-cli-CocCRLzF.js} +11 -11
- package/dist/{pairing-store-BHzy16_t.js → pairing-store-Dbotpoz6.js} +1 -1
- package/dist/{pairing-store-BOhO49Bi.js → pairing-store-cC0TwSYc.js} +1 -1
- package/dist/{paths-Dlp4VNXa.js → paths-B7p98Wg9.js} +1 -1
- package/dist/{pi-embedded-helpers-CQ9sq3Uu.js → pi-embedded-helpers-Bmu_uE8Y.js} +4 -4
- package/dist/{pi-embedded-helpers-B7ARjDEK.js → pi-embedded-helpers-CT7w1pYd.js} +2 -2
- package/dist/{pi-embedded-helpers-FPVRDeKf.js → pi-embedded-helpers-DRK9Qub7.js} +2 -2
- package/dist/{pi-tools.policy-Du4RZy9R.js → pi-tools.policy-BjgXXFkH.js} +3 -3
- package/dist/{plugin-auto-enable-RwRwIUKC.js → plugin-auto-enable-BmBAQgRq.js} +4 -4
- package/dist/{plugin-auto-enable-EBxTHjFJ.js → plugin-auto-enable-CBfM3u2p.js} +4 -4
- package/dist/plugin-sdk/index.js +1 -1
- package/dist/{plugins-BI-p2ba9.js → plugins-CB4Xjrgb.js} +2 -2
- package/dist/{plugins-Dk4UBZwz.js → plugins-CQ1FUoTO.js} +2 -2
- package/dist/{plugins-cli-CMg0G56J.js → plugins-cli-DB1NYN9W.js} +33 -33
- package/dist/{plugins-cli-CX7QeUjq.js → plugins-cli-Dn9I2nvT.js} +33 -33
- package/dist/{ports-nXmd4Efh.js → ports-CcCvup-Y.js} +2 -2
- package/dist/{program-EAMJAB_2.js → program-CL1V1uQh.js} +58 -58
- package/dist/{pw-ai-D6JUaD41.js → pw-ai-CQDH40p5.js} +2 -2
- package/dist/{pw-ai-D2jD_dho.js → pw-ai-DUv3Smif.js} +2 -2
- package/dist/{qmd-manager-B-ijyM7o.js → qmd-manager-DJdGKjf-.js} +2 -2
- package/dist/{qmd-manager-xo4abL0u.js → qmd-manager-DqhsQHr6.js} +2 -2
- package/dist/{qmd-manager-C_Jah5eo.js → qmd-manager-ym3oBzzR.js} +2 -2
- package/dist/{register.subclis-CJGimm3-.js → register.subclis-Bf9yES9h.js} +28 -28
- package/dist/{reply-DfepuqG0.js → reply-qWVVjmhR.js} +44 -44
- package/dist/{routes-DkckwrRx.js → routes-C49H9SW5.js} +4 -4
- package/dist/{routes-Q42qtNl1.js → routes-DzL6l-Oq.js} +4 -4
- package/dist/{rpc-B4lvrGrD.js → rpc-BEKdRxnk.js} +1 -1
- package/dist/{rpc-CbWcXAQK.js → rpc-jU_lA6zf.js} +1 -1
- package/dist/{run-main-JFY3X4Xh.js → run-main-C12Z921D.js} +59 -59
- package/dist/{sandbox-BGqDfFaH.js → sandbox-Cfvpk8Q8.js} +9 -9
- package/dist/{sandbox-D_Tt3WRq.js → sandbox-DcPAdlhA.js} +9 -9
- package/dist/{sandbox-cli-CaxqKiTq.js → sandbox-cli-DVfJ38Q2.js} +16 -16
- package/dist/{sandbox-cli-DA0Cbrzl.js → sandbox-cli-DqrtTHAP.js} +16 -16
- package/dist/{security-cli-Ct-pfF2h.js → security-cli-2AAajc4y.js} +18 -18
- package/dist/{security-cli-BZjA_GAD.js → security-cli-YL2ZTkkR.js} +18 -18
- package/dist/{server-context-C53lhEx_.js → server-context-9SLnBBRW.js} +4 -4
- package/dist/{server-context-B9ez46MY.js → server-context-BG54Dk0A.js} +4 -4
- package/dist/{server-node-events-Cb6QOeDH.js → server-node-events-uUSBf7hZ.js} +29 -29
- package/dist/{server-node-events-DONmQvJg.js → server-node-events-x6ZMjAs1.js} +29 -29
- package/dist/{service-audit-AsnhO40e.js → service-audit-BsDPEKdd.js} +1 -1
- package/dist/{service-audit-BM-iyLL7.js → service-audit-CCg0o0UZ.js} +1 -1
- package/dist/{skills-7V483a6m.js → skills-DaDm2aTV.js} +3 -3
- package/dist/{skills-CsZRBUj0.js → skills-DryIpWLj.js} +3 -3
- package/dist/{skills-cli-DQaq5LBX.js → skills-cli-CYZbvr7O.js} +10 -10
- package/dist/{skills-cli-dVugbaAb.js → skills-cli-eDUNGpwb.js} +10 -10
- package/dist/{skills-status-4_4zVBvV.js → skills-status-D9G4-4sK.js} +2 -2
- package/dist/{skills-status-cD4rfMR9.js → skills-status-dTiH79uI.js} +2 -2
- package/dist/{status-DSoYX3Ep.js → status-BnbwLzB2.js} +3 -3
- package/dist/{status-DHPz4Mg_.js → status-CN2V3fan.js} +37 -37
- package/dist/{status-BakhDLuG.js → status-DCrBN9vJ.js} +3 -3
- package/dist/{system-cli-CUQswQPX.js → system-cli-BEmIixtY.js} +9 -9
- package/dist/{system-cli-Cz7in_Xr.js → system-cli-ZxnlO0-v.js} +9 -9
- package/dist/{table-DDQGlZSe.js → table--L48nql9.js} +2 -2
- package/dist/{table-DAOPkdc_.js → table-C1Xupkjv.js} +2 -2
- package/dist/{tool-display-Zbh1CRw5.js → tool-display-7o4pgXYF.js} +1 -1
- package/dist/{tool-display-B2rS2o6B.js → tool-display-B9G_vqLX.js} +1 -1
- package/dist/{tui-qPHLsB-x.js → tui-3eD-E_iD.js} +6 -6
- package/dist/{tui-DFVs6pRO.js → tui-BGSteZzU.js} +6 -6
- package/dist/{tui-cli-CBKZVd1C.js → tui-cli-B9iCyCn2.js} +19 -19
- package/dist/{tui-cli-DexeJOgZ.js → tui-cli-iakTIAvk.js} +19 -19
- package/dist/{update-cli-BPUtZjbl.js → update-cli-DUO4CVNB.js} +48 -48
- package/dist/{update-cli-ehTYbpaU.js → update-cli-DlXzjuIc.js} +47 -47
- package/dist/{update-B2q3duJD.js → update-lGuOUiyd.js} +3 -3
- package/dist/{update-runner-DAeygRSU.js → update-runner-L1EJYQRF.js} +5 -5
- package/dist/{update-runner-BfncKnU6.js → update-runner-eJ773fp-.js} +5 -5
- package/dist/{update-DNnej3C6.js → update-zm4_acQX.js} +3 -3
- package/dist/{utils-D7jskKIf.js → utils-CGterW74.js} +1 -7
- package/dist/{utils-7IMqr8vR.js → utils-DV2rghi_.js} +1 -7
- package/dist/{webhooks-cli-C0CV-1jG.js → webhooks-cli-BLHZn_at.js} +10 -10
- package/dist/{webhooks-cli-DT16BygW.js → webhooks-cli-UhujyhVU.js} +10 -10
- package/dist/{widearea-dns-Dk82I4Xa.js → widearea-dns-BKbb6W_z.js} +1 -1
- package/dist/{widearea-dns-BJZTAyT3.js → widearea-dns-CVZf20c2.js} +1 -1
- package/dist/{wsl-C24YfxH9.js → wsl-DntkIGSe.js} +1 -1
- package/docs/assets/pixel-lobster.svg +3 -3
- package/docs/blockchain/aave.md +72 -0
- package/docs/blockchain/agent-identity.md +73 -0
- package/docs/blockchain/contracts.md +96 -0
- package/docs/blockchain/defi.md +61 -0
- package/docs/blockchain/index.md +92 -0
- package/docs/blockchain/market-data.md +98 -0
- package/docs/blockchain/nft.md +44 -0
- package/docs/blockchain/portfolio.md +57 -0
- package/docs/blockchain/security.md +83 -0
- package/docs/blockchain/swap.md +89 -0
- package/docs/blockchain/wallet.md +77 -0
- package/docs/concepts/features.md +29 -10
- package/docs/docs.json +76 -6
- package/docs/index.md +44 -44
- package/docs/start/getting-started.md +10 -9
- package/docs/zh-CN/blockchain/aave.md +63 -0
- package/docs/zh-CN/blockchain/agent-identity.md +62 -0
- package/docs/zh-CN/blockchain/contracts.md +64 -0
- package/docs/zh-CN/blockchain/defi.md +49 -0
- package/docs/zh-CN/blockchain/index.md +92 -0
- package/docs/zh-CN/blockchain/market-data.md +68 -0
- package/docs/zh-CN/blockchain/nft.md +43 -0
- package/docs/zh-CN/blockchain/portfolio.md +49 -0
- package/docs/zh-CN/blockchain/security.md +75 -0
- package/docs/zh-CN/blockchain/swap.md +68 -0
- package/docs/zh-CN/blockchain/wallet.md +71 -0
- package/extensions/copilot-proxy/README.md +3 -3
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/diagnostics-otel/src/service.test.ts +12 -12
- package/extensions/diagnostics-otel/src/service.ts +79 -79
- package/extensions/discord/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/config.ts +3 -3
- package/extensions/memory-lancedb/{openclaw.plugin.json → cryptoclaw.plugin.json} +1 -1
- package/extensions/memory-lancedb/index.test.ts +2 -2
- package/extensions/memory-lancedb/index.ts +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/nostr/README.md +5 -5
- package/extensions/nostr/package.json +1 -1
- package/extensions/nostr/src/channel.ts +1 -1
- package/extensions/nostr/src/nostr-state-store.test.ts +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/voice-call/README.md +14 -14
- package/extensions/voice-call/package.json +1 -1
- package/extensions/voice-call/src/cli.ts +1 -1
- package/extensions/voice-call/src/core-bridge.ts +1 -1
- package/extensions/voice-call/src/manager.test.ts +6 -6
- package/extensions/voice-call/src/manager.ts +1 -1
- package/extensions/voice-call/src/response-generator.ts +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/package.json +1 -1
- package/skills/aave-bsc/SKILL.md +6 -0
- package/skills/coding-agent/SKILL.md +5 -5
- package/skills/discord/SKILL.md +6 -6
- package/skills/tmux/SKILL.md +6 -6
- package/dist/control-ui/assets/index-DQ-7PWhX.js.map +0 -1
- /package/extensions/copilot-proxy/{openclaw.plugin.json → cryptoclaw.plugin.json} +0 -0
- /package/extensions/diagnostics-otel/{openclaw.plugin.json → cryptoclaw.plugin.json} +0 -0
- /package/extensions/discord/{openclaw.plugin.json → cryptoclaw.plugin.json} +0 -0
- /package/extensions/imessage/{openclaw.plugin.json → cryptoclaw.plugin.json} +0 -0
- /package/extensions/memory-core/{openclaw.plugin.json → cryptoclaw.plugin.json} +0 -0
- /package/extensions/nostr/{openclaw.plugin.json → cryptoclaw.plugin.json} +0 -0
- /package/extensions/signal/{openclaw.plugin.json → cryptoclaw.plugin.json} +0 -0
- /package/extensions/slack/{openclaw.plugin.json → cryptoclaw.plugin.json} +0 -0
- /package/extensions/telegram/{openclaw.plugin.json → cryptoclaw.plugin.json} +0 -0
- /package/extensions/voice-call/{openclaw.plugin.json → cryptoclaw.plugin.json} +0 -0
- /package/extensions/whatsapp/{openclaw.plugin.json → cryptoclaw.plugin.json} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { u as resolveAgentIdFromSessionKey, v as resolveThreadParentSessionKey } from "./session-key-C-ig2pxJ.js";
|
|
2
|
-
import { n as resolveAgentConfig } from "./agent-scope-
|
|
2
|
+
import { n as resolveAgentConfig } from "./agent-scope-BJucHu4R.js";
|
|
3
3
|
import { l as normalizeMessageChannel } from "./message-channel-CfYBy4y3.js";
|
|
4
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
5
|
-
import { X as expandToolGroups, Z as normalizeToolName, rt as getChannelDock, st as resolveChannelGroupToolsPolicy } from "./sandbox-
|
|
4
|
+
import { r as normalizeChannelId } from "./plugins-CB4Xjrgb.js";
|
|
5
|
+
import { X as expandToolGroups, Z as normalizeToolName, rt as getChannelDock, st as resolveChannelGroupToolsPolicy } from "./sandbox-Cfvpk8Q8.js";
|
|
6
6
|
|
|
7
7
|
//#region src/agents/pi-tools.policy.ts
|
|
8
8
|
function compilePattern(pattern) {
|
|
@@ -110,143 +110,143 @@ const shouldEagerRegisterSubcommands = (_argv) => {
|
|
|
110
110
|
return isTruthyEnvValue(process.env.CRYPTOCLAW_DISABLE_LAZY_SUBCOMMANDS);
|
|
111
111
|
};
|
|
112
112
|
const loadConfig = async () => {
|
|
113
|
-
return (await import("./config-
|
|
113
|
+
return (await import("./config-D1wc31Qf.js").then((n) => n.t)).loadConfig();
|
|
114
114
|
};
|
|
115
115
|
const entries = [
|
|
116
116
|
{
|
|
117
117
|
name: "acp",
|
|
118
118
|
description: "Agent Control Protocol tools",
|
|
119
119
|
register: async (program) => {
|
|
120
|
-
(await import("./acp-cli-
|
|
120
|
+
(await import("./acp-cli-CBFKSvET.js")).registerAcpCli(program);
|
|
121
121
|
}
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
124
|
name: "gateway",
|
|
125
125
|
description: "Gateway control",
|
|
126
126
|
register: async (program) => {
|
|
127
|
-
(await import("./gateway-cli-
|
|
127
|
+
(await import("./gateway-cli-CbQ4xoXp.js")).registerGatewayCli(program);
|
|
128
128
|
}
|
|
129
129
|
},
|
|
130
130
|
{
|
|
131
131
|
name: "daemon",
|
|
132
132
|
description: "Gateway service (legacy alias)",
|
|
133
133
|
register: async (program) => {
|
|
134
|
-
(await import("./daemon-cli-
|
|
134
|
+
(await import("./daemon-cli-D8AC0Q_A.js").then((n) => n.t)).registerDaemonCli(program);
|
|
135
135
|
}
|
|
136
136
|
},
|
|
137
137
|
{
|
|
138
138
|
name: "logs",
|
|
139
139
|
description: "Gateway logs",
|
|
140
140
|
register: async (program) => {
|
|
141
|
-
(await import("./logs-cli-
|
|
141
|
+
(await import("./logs-cli-_DHuOrR4.js")).registerLogsCli(program);
|
|
142
142
|
}
|
|
143
143
|
},
|
|
144
144
|
{
|
|
145
145
|
name: "system",
|
|
146
146
|
description: "System events, heartbeat, and presence",
|
|
147
147
|
register: async (program) => {
|
|
148
|
-
(await import("./system-cli-
|
|
148
|
+
(await import("./system-cli-BEmIixtY.js")).registerSystemCli(program);
|
|
149
149
|
}
|
|
150
150
|
},
|
|
151
151
|
{
|
|
152
152
|
name: "models",
|
|
153
153
|
description: "Model configuration",
|
|
154
154
|
register: async (program) => {
|
|
155
|
-
(await import("./models-cli-
|
|
155
|
+
(await import("./models-cli-CdrDfutq.js")).registerModelsCli(program);
|
|
156
156
|
}
|
|
157
157
|
},
|
|
158
158
|
{
|
|
159
159
|
name: "approvals",
|
|
160
160
|
description: "Exec approvals",
|
|
161
161
|
register: async (program) => {
|
|
162
|
-
(await import("./exec-approvals-cli-
|
|
162
|
+
(await import("./exec-approvals-cli-DHMroOAh.js")).registerExecApprovalsCli(program);
|
|
163
163
|
}
|
|
164
164
|
},
|
|
165
165
|
{
|
|
166
166
|
name: "nodes",
|
|
167
167
|
description: "Node commands",
|
|
168
168
|
register: async (program) => {
|
|
169
|
-
(await import("./nodes-cli-
|
|
169
|
+
(await import("./nodes-cli-CTQPoAcf.js")).registerNodesCli(program);
|
|
170
170
|
}
|
|
171
171
|
},
|
|
172
172
|
{
|
|
173
173
|
name: "devices",
|
|
174
174
|
description: "Device pairing + token management",
|
|
175
175
|
register: async (program) => {
|
|
176
|
-
(await import("./devices-cli-
|
|
176
|
+
(await import("./devices-cli-BcznR9RO.js")).registerDevicesCli(program);
|
|
177
177
|
}
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
180
|
name: "node",
|
|
181
181
|
description: "Node control",
|
|
182
182
|
register: async (program) => {
|
|
183
|
-
(await import("./node-cli-
|
|
183
|
+
(await import("./node-cli-Ckvs6bcI.js")).registerNodeCli(program);
|
|
184
184
|
}
|
|
185
185
|
},
|
|
186
186
|
{
|
|
187
187
|
name: "sandbox",
|
|
188
188
|
description: "Sandbox tools",
|
|
189
189
|
register: async (program) => {
|
|
190
|
-
(await import("./sandbox-cli-
|
|
190
|
+
(await import("./sandbox-cli-DqrtTHAP.js")).registerSandboxCli(program);
|
|
191
191
|
}
|
|
192
192
|
},
|
|
193
193
|
{
|
|
194
194
|
name: "tui",
|
|
195
195
|
description: "Terminal UI",
|
|
196
196
|
register: async (program) => {
|
|
197
|
-
(await import("./tui-cli-
|
|
197
|
+
(await import("./tui-cli-B9iCyCn2.js")).registerTuiCli(program);
|
|
198
198
|
}
|
|
199
199
|
},
|
|
200
200
|
{
|
|
201
201
|
name: "cron",
|
|
202
202
|
description: "Cron scheduler",
|
|
203
203
|
register: async (program) => {
|
|
204
|
-
(await import("./cron-cli-
|
|
204
|
+
(await import("./cron-cli-yC5Cy77c.js")).registerCronCli(program);
|
|
205
205
|
}
|
|
206
206
|
},
|
|
207
207
|
{
|
|
208
208
|
name: "dns",
|
|
209
209
|
description: "DNS helpers",
|
|
210
210
|
register: async (program) => {
|
|
211
|
-
(await import("./dns-cli-
|
|
211
|
+
(await import("./dns-cli-fQ4wu1HJ.js")).registerDnsCli(program);
|
|
212
212
|
}
|
|
213
213
|
},
|
|
214
214
|
{
|
|
215
215
|
name: "docs",
|
|
216
216
|
description: "Docs helpers",
|
|
217
217
|
register: async (program) => {
|
|
218
|
-
(await import("./docs-cli-
|
|
218
|
+
(await import("./docs-cli-BgnDzmFT.js")).registerDocsCli(program);
|
|
219
219
|
}
|
|
220
220
|
},
|
|
221
221
|
{
|
|
222
222
|
name: "hooks",
|
|
223
223
|
description: "Hooks tooling",
|
|
224
224
|
register: async (program) => {
|
|
225
|
-
(await import("./hooks-cli-
|
|
225
|
+
(await import("./hooks-cli-CedlcxxR.js")).registerHooksCli(program);
|
|
226
226
|
}
|
|
227
227
|
},
|
|
228
228
|
{
|
|
229
229
|
name: "webhooks",
|
|
230
230
|
description: "Webhook helpers",
|
|
231
231
|
register: async (program) => {
|
|
232
|
-
(await import("./webhooks-cli-
|
|
232
|
+
(await import("./webhooks-cli-UhujyhVU.js")).registerWebhooksCli(program);
|
|
233
233
|
}
|
|
234
234
|
},
|
|
235
235
|
{
|
|
236
236
|
name: "pairing",
|
|
237
237
|
description: "Pairing helpers",
|
|
238
238
|
register: async (program) => {
|
|
239
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
239
|
+
const { registerPluginCliCommands } = await import("./cli-DJnpasWd.js");
|
|
240
240
|
registerPluginCliCommands(program, await loadConfig());
|
|
241
|
-
(await import("./pairing-cli-
|
|
241
|
+
(await import("./pairing-cli-CocCRLzF.js")).registerPairingCli(program);
|
|
242
242
|
}
|
|
243
243
|
},
|
|
244
244
|
{
|
|
245
245
|
name: "plugins",
|
|
246
246
|
description: "Plugin management",
|
|
247
247
|
register: async (program) => {
|
|
248
|
-
(await import("./plugins-cli-
|
|
249
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
248
|
+
(await import("./plugins-cli-Dn9I2nvT.js")).registerPluginsCli(program);
|
|
249
|
+
const { registerPluginCliCommands } = await import("./cli-DJnpasWd.js");
|
|
250
250
|
registerPluginCliCommands(program, await loadConfig());
|
|
251
251
|
}
|
|
252
252
|
},
|
|
@@ -254,35 +254,35 @@ const entries = [
|
|
|
254
254
|
name: "channels",
|
|
255
255
|
description: "Channel management",
|
|
256
256
|
register: async (program) => {
|
|
257
|
-
(await import("./channels-cli-
|
|
257
|
+
(await import("./channels-cli-Lq6EWRJ9.js")).registerChannelsCli(program);
|
|
258
258
|
}
|
|
259
259
|
},
|
|
260
260
|
{
|
|
261
261
|
name: "directory",
|
|
262
262
|
description: "Directory commands",
|
|
263
263
|
register: async (program) => {
|
|
264
|
-
(await import("./directory-cli-
|
|
264
|
+
(await import("./directory-cli-DGFlpQ4T.js")).registerDirectoryCli(program);
|
|
265
265
|
}
|
|
266
266
|
},
|
|
267
267
|
{
|
|
268
268
|
name: "security",
|
|
269
269
|
description: "Security helpers",
|
|
270
270
|
register: async (program) => {
|
|
271
|
-
(await import("./security-cli-
|
|
271
|
+
(await import("./security-cli-YL2ZTkkR.js")).registerSecurityCli(program);
|
|
272
272
|
}
|
|
273
273
|
},
|
|
274
274
|
{
|
|
275
275
|
name: "skills",
|
|
276
276
|
description: "Skills management",
|
|
277
277
|
register: async (program) => {
|
|
278
|
-
(await import("./skills-cli-
|
|
278
|
+
(await import("./skills-cli-CYZbvr7O.js")).registerSkillsCli(program);
|
|
279
279
|
}
|
|
280
280
|
},
|
|
281
281
|
{
|
|
282
282
|
name: "update",
|
|
283
283
|
description: "CLI update helpers",
|
|
284
284
|
register: async (program) => {
|
|
285
|
-
(await import("./update-cli-
|
|
285
|
+
(await import("./update-cli-DlXzjuIc.js")).registerUpdateCli(program);
|
|
286
286
|
}
|
|
287
287
|
},
|
|
288
288
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { _ as resolveStateDir } from "./paths-D2ytuv-2.js";
|
|
3
|
-
import { n as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-
|
|
3
|
+
import { n as registerSubCliByName, t as getSubCliEntries } from "./register.subclis-Bf9yES9h.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import os from "node:os";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
@@ -2,10 +2,10 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { _ as resolveStateDir, c as resolveConfigPathCandidate, d as resolveGatewayPort, f as resolveIsNixMode, g as resolveOAuthPath, h as resolveOAuthDir, i as isNixMode, l as resolveDefaultConfigCandidates, m as resolveNewStateDir, n as DEFAULT_GATEWAY_PORT, o as resolveCanonicalConfigPath, p as resolveLegacyStateDirs, r as STATE_DIR, s as resolveConfigPath, t as CONFIG_PATH, u as resolveGatewayLockDir } from "./paths-CGrNQEMk.js";
|
|
3
3
|
import { c as normalizeAgentId, n as DEFAULT_AGENT_ID } from "./session-key-CYpWeuht.js";
|
|
4
4
|
import { S as normalizeChatChannelId, p as CHANNEL_IDS } from "./subsystem-Btuh5yZj.js";
|
|
5
|
-
import {
|
|
6
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
7
|
-
import { B as loadShellEnvFallback, H as shouldDeferShellEnvFallback, U as shouldEnableShellEnvFallback, V as resolveShellEnvFallbackTimeoutMs, c as parseModelRef, vt as DEFAULT_CONTEXT_TOKENS } from "./model-selection-
|
|
8
|
-
import { c as resolveEnableState, l as resolveMemorySlotDecision, s as normalizePluginsConfig, t as loadPluginManifestRegistry } from "./manifest-registry-
|
|
5
|
+
import { p as resolveUserPath } from "./utils-CGterW74.js";
|
|
6
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-GUoze5gc.js";
|
|
7
|
+
import { B as loadShellEnvFallback, H as shouldDeferShellEnvFallback, U as shouldEnableShellEnvFallback, V as resolveShellEnvFallbackTimeoutMs, c as parseModelRef, vt as DEFAULT_CONTEXT_TOKENS } from "./model-selection-DmO3rB3w.js";
|
|
8
|
+
import { c as resolveEnableState, l as resolveMemorySlotDecision, s as normalizePluginsConfig, t as loadPluginManifestRegistry } from "./manifest-registry-CmLtWVRR.js";
|
|
9
9
|
import { createRequire } from "node:module";
|
|
10
10
|
import os from "node:os";
|
|
11
11
|
import path from "node:path";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { _ as resolveStateDir, c as resolveConfigPathCandidate, d as resolveGatewayPort, f as resolveIsNixMode, g as resolveOAuthPath, h as resolveOAuthDir, i as isNixMode, l as resolveDefaultConfigCandidates, m as resolveNewStateDir, n as DEFAULT_GATEWAY_PORT, o as resolveCanonicalConfigPath, p as resolveLegacyStateDirs, r as STATE_DIR, s as resolveConfigPath, t as CONFIG_PATH, u as resolveGatewayLockDir } from "./paths-D2ytuv-2.js";
|
|
3
3
|
import { F as CHANNEL_IDS, W as normalizeChatChannelId } from "./entry.js";
|
|
4
|
-
import { A as parseModelRef, ct as loadShellEnvFallback, dt as shouldEnableShellEnvFallback, ht as DEFAULT_CONTEXT_TOKENS, lt as resolveShellEnvFallbackTimeoutMs, ut as shouldDeferShellEnvFallback } from "./auth-profiles-
|
|
4
|
+
import { A as parseModelRef, ct as loadShellEnvFallback, dt as shouldEnableShellEnvFallback, ht as DEFAULT_CONTEXT_TOKENS, lt as resolveShellEnvFallbackTimeoutMs, ut as shouldDeferShellEnvFallback } from "./auth-profiles-CVShF1K6.js";
|
|
5
5
|
import { c as normalizeAgentId, n as DEFAULT_AGENT_ID } from "./session-key-C-ig2pxJ.js";
|
|
6
|
-
import {
|
|
7
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
8
|
-
import { c as resolveEnableState, l as resolveMemorySlotDecision, s as normalizePluginsConfig, t as loadPluginManifestRegistry } from "./manifest-registry-
|
|
6
|
+
import { f as resolveUserPath } from "./utils-DV2rghi_.js";
|
|
7
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-BJucHu4R.js";
|
|
8
|
+
import { c as resolveEnableState, l as resolveMemorySlotDecision, s as normalizePluginsConfig, t as loadPluginManifestRegistry } from "./manifest-registry-CBbBh2FT.js";
|
|
9
9
|
import { createRequire } from "node:module";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import os from "node:os";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as resolveOAuthDir, n as resolveConfigPath, r as resolveDefaultConfigCandidates, s as resolveStateDir } from "./paths-C90k-Dud.js";
|
|
2
|
-
import { A as normalizeAccountId, T as DEFAULT_AGENT_ID, c as resolveDefaultAgentId, j as normalizeAgentId, s as resolveAgentWorkspaceDir, w as DEFAULT_ACCOUNT_ID } from "./agent-scope-
|
|
2
|
+
import { A as normalizeAccountId, T as DEFAULT_AGENT_ID, c as resolveDefaultAgentId, j as normalizeAgentId, s as resolveAgentWorkspaceDir, w as DEFAULT_ACCOUNT_ID } from "./agent-scope-DzpuqcS9.js";
|
|
3
3
|
import { G as success, N as resolveUserPath, V as info, X as getChildLogger, j as resolveConfigDir, k as jidToE164, m as CHANNEL_IDS, u as defaultRuntime, y as normalizeChatChannelId } from "./exec-D7I5LU33.js";
|
|
4
|
-
import { D as shouldEnableShellEnvFallback, E as shouldDeferShellEnvFallback, H as DEFAULT_CONTEXT_TOKENS, T as resolveShellEnvFallbackTimeoutMs, s as parseModelRef, w as loadShellEnvFallback } from "./model-selection-
|
|
4
|
+
import { D as shouldEnableShellEnvFallback, E as shouldDeferShellEnvFallback, H as DEFAULT_CONTEXT_TOKENS, T as resolveShellEnvFallbackTimeoutMs, s as parseModelRef, w as loadShellEnvFallback } from "./model-selection-BVTyreim.js";
|
|
5
5
|
import { createRequire } from "node:module";
|
|
6
6
|
import os from "node:os";
|
|
7
7
|
import path from "node:path";
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import { _ as resolveStateDir, d as resolveGatewayPort, h as resolveOAuthDir, i as isNixMode, r as STATE_DIR, s as resolveConfigPath } from "./paths-D2ytuv-2.js";
|
|
2
2
|
import { B as getChatChannelMeta, C as setVerbose, D as colorize, L as DEFAULT_CHAT_CHANNEL, O as isRich, W as normalizeChatChannelId, a as parseBooleanValue, f as visibleWidth, k as theme, m as restoreTerminalState, p as defaultRuntime, v as danger, y as info } from "./entry.js";
|
|
3
|
-
import { N as resolveConfiguredModelRef, _ as ensureAuthProfileStore, _t as DEFAULT_PROVIDER, b as resolveAuthStorePath, g as upsertAuthProfile, gt as DEFAULT_MODEL, ht as DEFAULT_CONTEXT_TOKENS, it as resolveEnvApiKey, k as normalizeProviderId, n as resolveAuthProfileOrder, s as resolveApiKeyForProfile } from "./auth-profiles-
|
|
3
|
+
import { N as resolveConfiguredModelRef, _ as ensureAuthProfileStore, _t as DEFAULT_PROVIDER, b as resolveAuthStorePath, g as upsertAuthProfile, gt as DEFAULT_MODEL, ht as DEFAULT_CONTEXT_TOKENS, it as resolveEnvApiKey, k as normalizeProviderId, n as resolveAuthProfileOrder, s as resolveApiKeyForProfile } from "./auth-profiles-CVShF1K6.js";
|
|
4
4
|
import { t as formatCliCommand } from "./command-format-B0bnyrEA.js";
|
|
5
5
|
import { c as normalizeAgentId, n as DEFAULT_AGENT_ID, t as DEFAULT_ACCOUNT_ID } from "./session-key-C-ig2pxJ.js";
|
|
6
|
-
import { f as
|
|
6
|
+
import { f as resolveUserPath, m as shortenHomePath, p as shortenHomeInString, u as resolveHomeDir } from "./utils-DV2rghi_.js";
|
|
7
7
|
import { t as runCommandWithTimeout } from "./exec-CLQSz0CI.js";
|
|
8
|
-
import { c as resolveDefaultAgentId, f as DEFAULT_AGENT_WORKSPACE_DIR, h as DEFAULT_IDENTITY_FILENAME, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, w as resolveDefaultAgentWorkspaceDir, x as ensureAgentWorkspace } from "./agent-scope-
|
|
9
|
-
import { c as writeConfigFile, h as parseDurationMs, i as loadConfig, o as readConfigFileSnapshot, r as createConfigIO } from "./config-
|
|
10
|
-
import { n as movePathToTrash } from "./server-context-
|
|
11
|
-
import { i as randomIdempotencyKey, n as callGateway } from "./call-
|
|
8
|
+
import { c as resolveDefaultAgentId, f as DEFAULT_AGENT_WORKSPACE_DIR, h as DEFAULT_IDENTITY_FILENAME, r as resolveAgentDir, s as resolveAgentWorkspaceDir, t as listAgentIds, w as resolveDefaultAgentWorkspaceDir, x as ensureAgentWorkspace } from "./agent-scope-BJucHu4R.js";
|
|
9
|
+
import { c as writeConfigFile, h as parseDurationMs, i as loadConfig, o as readConfigFileSnapshot, r as createConfigIO } from "./config-DBZqAqbe.js";
|
|
10
|
+
import { n as movePathToTrash } from "./server-context-BG54Dk0A.js";
|
|
11
|
+
import { i as randomIdempotencyKey, n as callGateway } from "./call-D-Kvee3W.js";
|
|
12
12
|
import { h as GATEWAY_CLIENT_NAMES, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES } from "./message-channel-CfYBy4y3.js";
|
|
13
|
-
import { t as formatDocsLink } from "./links-
|
|
14
|
-
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
15
|
-
import { D as runMemoryStatus, E as registerMemoryCli, Hn as CHANNEL_TARGETS_DESCRIPTION, Sn as formatTargetDisplay, Un as CHANNEL_TARGET_DESCRIPTION, _ as randomToken, a as applyWizardMetadata, c as ensureWorkspaceAndSessions, d as handleReset, dn as lookupContextTokens, f as moveToTrash, i as DEFAULT_WORKSPACE, l as formatControlUiSshHint, m as openUrl, mn as runMessageAction, s as detectBrowserOpenSupport, un as resolveCommitHash, v as resolveControlUiLinks, wn as CHANNEL_MESSAGE_ACTION_NAMES, x as waitForGatewayReachable } from "./loader-
|
|
13
|
+
import { t as formatDocsLink } from "./links-kbubTyay.js";
|
|
14
|
+
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CB4Xjrgb.js";
|
|
15
|
+
import { D as runMemoryStatus, E as registerMemoryCli, Hn as CHANNEL_TARGETS_DESCRIPTION, Sn as formatTargetDisplay, Un as CHANNEL_TARGET_DESCRIPTION, _ as randomToken, a as applyWizardMetadata, c as ensureWorkspaceAndSessions, d as handleReset, dn as lookupContextTokens, f as moveToTrash, i as DEFAULT_WORKSPACE, l as formatControlUiSshHint, m as openUrl, mn as runMessageAction, s as detectBrowserOpenSupport, un as resolveCommitHash, v as resolveControlUiLinks, wn as CHANNEL_MESSAGE_ACTION_NAMES, x as waitForGatewayReachable } from "./loader-DE_vKAH5.js";
|
|
16
16
|
import { n as withProgress } from "./progress-D-Oc-KAH.js";
|
|
17
17
|
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-BntC_Eoo.js";
|
|
18
18
|
import { t as WizardCancelledError } from "./prompts-C2D9_VZC.js";
|
|
19
19
|
import { t as createClackPrompter } from "./clack-prompter-k_egRADS.js";
|
|
20
20
|
import { t as resolveChannelDefaultAccountId } from "./helpers-OUt4hxkS.js";
|
|
21
|
-
import { n as setupChannels } from "./onboard-channels-
|
|
21
|
+
import { n as setupChannels } from "./onboard-channels-B5qHfMk8.js";
|
|
22
22
|
import { a as resolveSessionTranscriptsDirForAgent, i as resolveSessionTranscriptsDir, o as resolveStorePath } from "./paths-KUslkJRs.js";
|
|
23
|
-
import { d as loadSessionStore } from "./sandbox-
|
|
23
|
+
import { d as loadSessionStore } from "./sandbox-Cfvpk8Q8.js";
|
|
24
24
|
import { r as runCommandWithRuntime } from "./cli-utils-B7iQwCY5.js";
|
|
25
|
-
import { n as ensurePluginRegistryLoaded, t as hasExplicitOptions } from "./command-options-
|
|
26
|
-
import { l as getVerboseFlag, o as getFlagValue, r as registerSubCliCommands, s as getPositiveIntFlagValue, u as hasFlag } from "./register.subclis-
|
|
25
|
+
import { n as ensurePluginRegistryLoaded, t as hasExplicitOptions } from "./command-options-DBpEhnW5.js";
|
|
26
|
+
import { l as getVerboseFlag, o as getFlagValue, r as registerSubCliCommands, s as getPositiveIntFlagValue, u as hasFlag } from "./register.subclis-Bf9yES9h.js";
|
|
27
27
|
import { n as parsePositiveIntOrUndefined, t as collectOption } from "./helpers-CQI-5xS9.js";
|
|
28
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
29
|
-
import { t as createDefaultDeps } from "./deps-
|
|
30
|
-
import { a as gatewayInstallErrorHint, h as assertSupportedRuntime, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-
|
|
28
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-0hjEbkzc.js";
|
|
29
|
+
import { t as createDefaultDeps } from "./deps-ZGqhOjkR.js";
|
|
30
|
+
import { a as gatewayInstallErrorHint, h as assertSupportedRuntime, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BMAJ_2LE.js";
|
|
31
31
|
import { t as resolveGatewayService } from "./service-C0ccl5rU.js";
|
|
32
32
|
import { r as isSystemdUserServiceAvailable } from "./systemd-kY3NnWdi.js";
|
|
33
|
-
import { t as renderTable } from "./table
|
|
34
|
-
import { d as applyAuthChoice, f as applyOpenAIConfig, h as promptAuthChoiceGrouped, m as applyGoogleGeminiModelDefault, p as upsertSharedEnvVar, u as warnIfModelConfigLooksOff } from "./onboard-skills-
|
|
35
|
-
import { i as healthCommand } from "./health-format-
|
|
36
|
-
import { $ as setVeniceApiKey, C as applyMoonshotConfig, D as applyOpenrouterConfig, F as applyXaiConfig, G as setCloudflareAiGatewayConfig, J as setMinimaxApiKey, K as setGeminiApiKey, L as applyXiaomiConfig, N as applyVercelAiGatewayConfig, Q as setSyntheticApiKey, W as setAnthropicApiKey, X as setOpencodeZenApiKey, Y as setMoonshotApiKey, Z as setOpenrouterApiKey, ct as buildTokenProfileId, et as setVercelAiGatewayApiKey, f as applyOpencodeZenConfig, g as applyMinimaxConfig, j as applyVeniceConfig, k as applySyntheticConfig, lt as validateAnthropicSetupToken, m as applyMinimaxApiConfig, nt as setXiaomiApiKey, q as setKimiCodingApiKey, rt as setZaiApiKey, tt as setXaiApiKey, v as applyAuthProfileConfig, w as applyMoonshotConfigCn, x as applyKimiCodeConfig, y as applyCloudflareAiGatewayConfig, z as applyZaiConfig } from "./github-copilot-auth-
|
|
37
|
-
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-
|
|
38
|
-
import { a as findAgentEntryIndex, c as pruneAgentConfig, d as parseIdentityMarkdown, f as runOnboardingWizard, i as buildAgentSummaries, l as identityHasValues, o as listAgentEntries, r as applyAgentConfig, s as loadAgentIdentity, t as statusCommand } from "./status-
|
|
39
|
-
import { a as createOutboundSendDeps, n as resolveSessionKeyForRequest, t as agentCommand } from "./agent-
|
|
33
|
+
import { t as renderTable } from "./table--L48nql9.js";
|
|
34
|
+
import { d as applyAuthChoice, f as applyOpenAIConfig, h as promptAuthChoiceGrouped, m as applyGoogleGeminiModelDefault, p as upsertSharedEnvVar, u as warnIfModelConfigLooksOff } from "./onboard-skills-CyG0xbsu.js";
|
|
35
|
+
import { i as healthCommand } from "./health-format-DlvTEKqI.js";
|
|
36
|
+
import { $ as setVeniceApiKey, C as applyMoonshotConfig, D as applyOpenrouterConfig, F as applyXaiConfig, G as setCloudflareAiGatewayConfig, J as setMinimaxApiKey, K as setGeminiApiKey, L as applyXiaomiConfig, N as applyVercelAiGatewayConfig, Q as setSyntheticApiKey, W as setAnthropicApiKey, X as setOpencodeZenApiKey, Y as setMoonshotApiKey, Z as setOpenrouterApiKey, ct as buildTokenProfileId, et as setVercelAiGatewayApiKey, f as applyOpencodeZenConfig, g as applyMinimaxConfig, j as applyVeniceConfig, k as applySyntheticConfig, lt as validateAnthropicSetupToken, m as applyMinimaxApiConfig, nt as setXiaomiApiKey, q as setKimiCodingApiKey, rt as setZaiApiKey, tt as setXaiApiKey, v as applyAuthProfileConfig, w as applyMoonshotConfigCn, x as applyKimiCodeConfig, y as applyCloudflareAiGatewayConfig, z as applyZaiConfig } from "./github-copilot-auth-D6I2MUxi.js";
|
|
37
|
+
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-B65tlzu3.js";
|
|
38
|
+
import { a as findAgentEntryIndex, c as pruneAgentConfig, d as parseIdentityMarkdown, f as runOnboardingWizard, i as buildAgentSummaries, l as identityHasValues, o as listAgentEntries, r as applyAgentConfig, s as loadAgentIdentity, t as statusCommand } from "./status-CN2V3fan.js";
|
|
39
|
+
import { a as createOutboundSendDeps, n as resolveSessionKeyForRequest, t as agentCommand } from "./agent-sjalTGVA.js";
|
|
40
40
|
import { t as formatHelpExamples } from "./help-format-CUnac_bT.js";
|
|
41
|
-
import { i as CONFIGURE_WIZARD_SECTIONS, n as configureCommand, r as configureCommandWithSections } from "./configure-
|
|
41
|
+
import { i as CONFIGURE_WIZARD_SECTIONS, n as configureCommand, r as configureCommandWithSections } from "./configure-CeTzu0Ed.js";
|
|
42
42
|
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-CFK5jDdq.js";
|
|
43
|
-
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-
|
|
43
|
+
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-D6M3Hc0a.js";
|
|
44
44
|
import path from "node:path";
|
|
45
45
|
import fs from "node:fs";
|
|
46
46
|
import JSON5 from "json5";
|
|
@@ -393,7 +393,7 @@ async function agentsAddCommand(opts, runtime = defaultRuntime, params) {
|
|
|
393
393
|
const result = applyAgentBindings(nextConfig, desiredBindings);
|
|
394
394
|
nextConfig = result.config;
|
|
395
395
|
if (result.conflicts.length > 0) await prompter.note(["Skipped bindings already claimed by another agent:", ...result.conflicts.map((conflict) => `- ${describeBinding(conflict.binding)} (agent=${conflict.existingAgentId})`)].join("\n"), "Routing bindings");
|
|
396
|
-
} else await prompter.note(["Routing unchanged. Add bindings when you're ready.", "Docs: https://docs.
|
|
396
|
+
} else await prompter.note(["Routing unchanged. Add bindings when you're ready.", "Docs: https://docs.openclaw.ai/concepts/multi-agent"].join("\n"), "Routing");
|
|
397
397
|
await writeConfigFile(nextConfig);
|
|
398
398
|
logConfigUpdated(runtime);
|
|
399
399
|
await ensureWorkspaceAndSessions(workspaceDir, runtime, {
|
|
@@ -1807,14 +1807,14 @@ function registerBrowserExtensionCommands(browser, parentOpts) {
|
|
|
1807
1807
|
`- “Load unpacked” → select: ${displayPath}`,
|
|
1808
1808
|
`- Pin “OpenClaw Browser Relay”, then click it on the tab (badge shows ON)`,
|
|
1809
1809
|
"",
|
|
1810
|
-
`${theme.muted("Docs:")} ${formatDocsLink("/tools/chrome-extension", "docs.
|
|
1810
|
+
`${theme.muted("Docs:")} ${formatDocsLink("/tools/chrome-extension", "docs.openclaw.ai/tools/chrome-extension")}`
|
|
1811
1811
|
].join("\n")));
|
|
1812
1812
|
});
|
|
1813
1813
|
ext.command("path").description("Print the path to the installed Chrome extension (load unpacked)").action(async (_opts, cmd) => {
|
|
1814
1814
|
const parent = parentOpts(cmd);
|
|
1815
1815
|
const dir = installedExtensionRootDir();
|
|
1816
1816
|
if (!hasManifest(dir)) {
|
|
1817
|
-
defaultRuntime.error(danger([`Chrome extension is not installed. Run: "${formatCliCommand("cryptoclaw browser extension install")}"`, `Docs: ${formatDocsLink("/tools/chrome-extension", "docs.
|
|
1817
|
+
defaultRuntime.error(danger([`Chrome extension is not installed. Run: "${formatCliCommand("cryptoclaw browser extension install")}"`, `Docs: ${formatDocsLink("/tools/chrome-extension", "docs.openclaw.ai/tools/chrome-extension")}`].join("\n")));
|
|
1818
1818
|
defaultRuntime.exit(1);
|
|
1819
1819
|
}
|
|
1820
1820
|
if (parent?.json) {
|
|
@@ -2629,7 +2629,7 @@ function registerBrowserStateCommands(browser, parentOpts) {
|
|
|
2629
2629
|
//#endregion
|
|
2630
2630
|
//#region src/cli/browser-cli.ts
|
|
2631
2631
|
function registerBrowserCli(program) {
|
|
2632
|
-
const browser = program.command("browser").description("Manage OpenClaw's dedicated browser (Chrome/Chromium)").option("--browser-profile <name>", "Browser profile name (default from config)").option("--json", "Output machine-readable JSON", false).addHelpText("after", () => `\n${theme.heading("Examples:")}\n${formatHelpExamples([...browserCoreExamples, ...browserActionExamples].map((cmd) => [cmd, ""]), true)}\n\n${theme.muted("Docs:")} ${formatDocsLink("/cli/browser", "docs.
|
|
2632
|
+
const browser = program.command("browser").description("Manage OpenClaw's dedicated browser (Chrome/Chromium)").option("--browser-profile <name>", "Browser profile name (default from config)").option("--json", "Output machine-readable JSON", false).addHelpText("after", () => `\n${theme.heading("Examples:")}\n${formatHelpExamples([...browserCoreExamples, ...browserActionExamples].map((cmd) => [cmd, ""]), true)}\n\n${theme.muted("Docs:")} ${formatDocsLink("/cli/browser", "docs.openclaw.ai/cli/browser")}\n`).action(() => {
|
|
2633
2633
|
browser.outputHelp();
|
|
2634
2634
|
defaultRuntime.error(danger(`Missing subcommand. Try: "${formatCliCommand("cryptoclaw browser status")}"`));
|
|
2635
2635
|
defaultRuntime.exit(1);
|
|
@@ -2790,8 +2790,8 @@ async function loadValidConfig() {
|
|
|
2790
2790
|
return snapshot;
|
|
2791
2791
|
}
|
|
2792
2792
|
function registerConfigCli(program) {
|
|
2793
|
-
const cmd = program.command("config").description("Config helpers (get/set/unset). Run without subcommand for the wizard.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/config", "docs.
|
|
2794
|
-
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections } = await import("./configure-
|
|
2793
|
+
const cmd = program.command("config").description("Config helpers (get/set/unset). Run without subcommand for the wizard.").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/config", "docs.openclaw.ai/cli/config")}\n`).option("--section <section>", "Configure wizard sections (repeatable). Use with no subcommand.", (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
2794
|
+
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections } = await import("./configure-CeTzu0Ed.js").then((n) => n.t);
|
|
2795
2795
|
const sections = Array.isArray(opts.section) ? opts.section.map((value) => typeof value === "string" ? value.trim() : "").filter(Boolean) : [];
|
|
2796
2796
|
if (sections.length === 0) {
|
|
2797
2797
|
await configureCommand(defaultRuntime);
|
|
@@ -2972,14 +2972,14 @@ ${formatHelpExamples([
|
|
|
2972
2972
|
["cryptoclaw agent --agent ops --message \"Generate report\" --deliver --reply-channel slack --reply-to \"#reports\"", "Send reply to a different channel/target."]
|
|
2973
2973
|
])}
|
|
2974
2974
|
|
|
2975
|
-
${theme.muted("Docs:")} ${formatDocsLink("/cli/agent", "docs.
|
|
2975
|
+
${theme.muted("Docs:")} ${formatDocsLink("/cli/agent", "docs.openclaw.ai/cli/agent")}`).action(async (opts) => {
|
|
2976
2976
|
setVerbose((typeof opts.verbose === "string" ? opts.verbose.toLowerCase() : "") === "on");
|
|
2977
2977
|
const deps = createDefaultDeps();
|
|
2978
2978
|
await runCommandWithRuntime(defaultRuntime, async () => {
|
|
2979
2979
|
await agentCliCommand(opts, defaultRuntime, deps);
|
|
2980
2980
|
});
|
|
2981
2981
|
});
|
|
2982
|
-
const agents = program.command("agents").description("Manage isolated agents (workspaces + auth + routing)").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/agents", "docs.
|
|
2982
|
+
const agents = program.command("agents").description("Manage isolated agents (workspaces + auth + routing)").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/agents", "docs.openclaw.ai/cli/agents")}\n`);
|
|
2983
2983
|
agents.command("list").description("List configured agents").option("--json", "Output JSON instead of text", false).option("--bindings", "Include routing bindings", false).action(async (opts) => {
|
|
2984
2984
|
await runCommandWithRuntime(defaultRuntime, async () => {
|
|
2985
2985
|
await agentsListCommand({
|
|
@@ -3050,7 +3050,7 @@ ${formatHelpExamples([
|
|
|
3050
3050
|
//#endregion
|
|
3051
3051
|
//#region src/cli/program/register.configure.ts
|
|
3052
3052
|
function registerConfigureCommand(program) {
|
|
3053
|
-
program.command("configure").description("Interactive prompt to set up credentials, devices, and agent defaults").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/configure", "docs.
|
|
3053
|
+
program.command("configure").description("Interactive prompt to set up credentials, devices, and agent defaults").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/configure", "docs.openclaw.ai/cli/configure")}\n`).option("--section <section>", `Configuration sections (repeatable). Options: ${CONFIGURE_WIZARD_SECTIONS.join(", ")}`, (value, previous) => [...previous, value], []).action(async (opts) => {
|
|
3054
3054
|
await runCommandWithRuntime(defaultRuntime, async () => {
|
|
3055
3055
|
const sections = Array.isArray(opts.section) ? opts.section.map((value) => typeof value === "string" ? value.trim() : "").filter(Boolean) : [];
|
|
3056
3056
|
if (sections.length === 0) {
|
|
@@ -3476,7 +3476,7 @@ async function uninstallCommand(runtime, opts) {
|
|
|
3476
3476
|
//#endregion
|
|
3477
3477
|
//#region src/cli/program/register.maintenance.ts
|
|
3478
3478
|
function registerMaintenanceCommands(program) {
|
|
3479
|
-
program.command("doctor").description("Health checks + quick fixes for the gateway and channels").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/doctor", "docs.
|
|
3479
|
+
program.command("doctor").description("Health checks + quick fixes for the gateway and channels").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/doctor", "docs.openclaw.ai/cli/doctor")}\n`).option("--no-workspace-suggestions", "Disable workspace memory system suggestions", false).option("--yes", "Accept defaults without prompting", false).option("--repair", "Apply recommended repairs without prompting", false).option("--fix", "Apply recommended repairs (alias for --repair)", false).option("--force", "Apply aggressive repairs (overwrites custom service config)", false).option("--non-interactive", "Run without prompts (safe migrations only)", false).option("--generate-gateway-token", "Generate and configure a gateway token", false).option("--deep", "Scan system services for extra gateway installs", false).action(async (opts) => {
|
|
3480
3480
|
await runCommandWithRuntime(defaultRuntime, async () => {
|
|
3481
3481
|
await doctorCommand(defaultRuntime, {
|
|
3482
3482
|
workspaceSuggestions: opts.workspaceSuggestions,
|
|
@@ -3489,12 +3489,12 @@ function registerMaintenanceCommands(program) {
|
|
|
3489
3489
|
});
|
|
3490
3490
|
});
|
|
3491
3491
|
});
|
|
3492
|
-
program.command("dashboard").description("Open the Control UI with your current token").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/dashboard", "docs.
|
|
3492
|
+
program.command("dashboard").description("Open the Control UI with your current token").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/dashboard", "docs.openclaw.ai/cli/dashboard")}\n`).option("--no-open", "Print URL but do not launch a browser", false).action(async (opts) => {
|
|
3493
3493
|
await runCommandWithRuntime(defaultRuntime, async () => {
|
|
3494
3494
|
await dashboardCommand(defaultRuntime, { noOpen: Boolean(opts.noOpen) });
|
|
3495
3495
|
});
|
|
3496
3496
|
});
|
|
3497
|
-
program.command("reset").description("Reset local config/state (keeps the CLI installed)").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/reset", "docs.
|
|
3497
|
+
program.command("reset").description("Reset local config/state (keeps the CLI installed)").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/reset", "docs.openclaw.ai/cli/reset")}\n`).option("--scope <scope>", "config|config+creds+sessions|full (default: interactive prompt)").option("--yes", "Skip confirmation prompts", false).option("--non-interactive", "Disable prompts (requires --scope + --yes)", false).option("--dry-run", "Print actions without removing files", false).action(async (opts) => {
|
|
3498
3498
|
await runCommandWithRuntime(defaultRuntime, async () => {
|
|
3499
3499
|
await resetCommand(defaultRuntime, {
|
|
3500
3500
|
scope: opts.scope,
|
|
@@ -3504,7 +3504,7 @@ function registerMaintenanceCommands(program) {
|
|
|
3504
3504
|
});
|
|
3505
3505
|
});
|
|
3506
3506
|
});
|
|
3507
|
-
program.command("uninstall").description("Uninstall the gateway service + local data (CLI remains)").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/uninstall", "docs.
|
|
3507
|
+
program.command("uninstall").description("Uninstall the gateway service + local data (CLI remains)").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/uninstall", "docs.openclaw.ai/cli/uninstall")}\n`).option("--service", "Remove the gateway service", false).option("--state", "Remove state + config", false).option("--workspace", "Remove workspace dirs", false).option("--app", "Remove the macOS app", false).option("--all", "Remove service + state + workspace + app", false).option("--yes", "Skip confirmation prompts", false).option("--non-interactive", "Disable prompts (requires --yes)", false).option("--dry-run", "Print actions without removing files", false).action(async (opts) => {
|
|
3508
3508
|
await runCommandWithRuntime(defaultRuntime, async () => {
|
|
3509
3509
|
await uninstallCommand(defaultRuntime, {
|
|
3510
3510
|
service: Boolean(opts.service),
|
|
@@ -4086,7 +4086,7 @@ ${formatHelpExamples([
|
|
|
4086
4086
|
["cryptoclaw message react --channel discord --target 123 --message-id 456 --emoji \"✅\"", "React to a message."]
|
|
4087
4087
|
])}
|
|
4088
4088
|
|
|
4089
|
-
${theme.muted("Docs:")} ${formatDocsLink("/cli/message", "docs.
|
|
4089
|
+
${theme.muted("Docs:")} ${formatDocsLink("/cli/message", "docs.openclaw.ai/cli/message")}`).action(() => {
|
|
4090
4090
|
message.help({ error: true });
|
|
4091
4091
|
});
|
|
4092
4092
|
const helpers = createMessageCliHelpers(message, ctx.messageChannelOptions);
|
|
@@ -4915,7 +4915,7 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
4915
4915
|
skipSkills: Boolean(opts.skipSkills),
|
|
4916
4916
|
skipHealth: Boolean(opts.skipHealth)
|
|
4917
4917
|
});
|
|
4918
|
-
if (!opts.json) runtime.log(`Tip: run \`${formatCliCommand("cryptoclaw configure --section web")}\` to store your Brave API key for web_search. Docs: https://docs.
|
|
4918
|
+
if (!opts.json) runtime.log(`Tip: run \`${formatCliCommand("cryptoclaw configure --section web")}\` to store your Brave API key for web_search. Docs: https://docs.openclaw.ai/tools/web`);
|
|
4919
4919
|
}
|
|
4920
4920
|
|
|
4921
4921
|
//#endregion
|
|
@@ -4955,7 +4955,7 @@ async function runNonInteractiveOnboardingRemote(params) {
|
|
|
4955
4955
|
else {
|
|
4956
4956
|
runtime.log(`Remote gateway: ${remoteUrl}`);
|
|
4957
4957
|
runtime.log(`Auth: ${payload.auth}`);
|
|
4958
|
-
runtime.log(`Tip: run \`${formatCliCommand("cryptoclaw configure --section web")}\` to store your Brave API key for web_search. Docs: https://docs.
|
|
4958
|
+
runtime.log(`Tip: run \`${formatCliCommand("cryptoclaw configure --section web")}\` to store your Brave API key for web_search. Docs: https://docs.openclaw.ai/tools/web`);
|
|
4959
4959
|
}
|
|
4960
4960
|
}
|
|
4961
4961
|
|
|
@@ -5012,7 +5012,7 @@ async function onboardCommand(opts, runtime = defaultRuntime) {
|
|
|
5012
5012
|
if (normalizedOpts.nonInteractive && normalizedOpts.acceptRisk !== true) {
|
|
5013
5013
|
runtime.error([
|
|
5014
5014
|
"Non-interactive onboarding requires explicit risk acknowledgement.",
|
|
5015
|
-
"Read: https://docs.
|
|
5015
|
+
"Read: https://docs.openclaw.ai/security",
|
|
5016
5016
|
`Re-run with: ${formatCliCommand("cryptoclaw onboard --non-interactive --accept-risk ...")}`
|
|
5017
5017
|
].join("\n"));
|
|
5018
5018
|
runtime.exit(1);
|
|
@@ -5027,7 +5027,7 @@ async function onboardCommand(opts, runtime = defaultRuntime) {
|
|
|
5027
5027
|
"Windows detected — CryptoClaw runs great on WSL2!",
|
|
5028
5028
|
"Native Windows might be trickier.",
|
|
5029
5029
|
"Quick setup: wsl --install (one command, one reboot)",
|
|
5030
|
-
"Guide: https://docs.
|
|
5030
|
+
"Guide: https://docs.openclaw.ai/windows"
|
|
5031
5031
|
].join("\n"));
|
|
5032
5032
|
if (normalizedOpts.nonInteractive) {
|
|
5033
5033
|
await runNonInteractiveOnboarding(normalizedOpts, runtime);
|
|
@@ -5046,7 +5046,7 @@ function resolveInstallDaemonFlag(command, opts) {
|
|
|
5046
5046
|
if (getOptionValueSource.call(command, "installDaemon") === "cli") return Boolean(opts.installDaemon);
|
|
5047
5047
|
}
|
|
5048
5048
|
function registerOnboardCommand(program) {
|
|
5049
|
-
program.command("onboard").description("Interactive wizard to set up the gateway, workspace, and skills").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/onboard", "docs.
|
|
5049
|
+
program.command("onboard").description("Interactive wizard to set up the gateway, workspace, and skills").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/onboard", "docs.openclaw.ai/cli/onboard")}\n`).option("--workspace <dir>", "Agent workspace directory (default: ~/.cryptoclaw/workspace)").option("--reset", "Reset config + credentials + sessions + workspace before running wizard").option("--non-interactive", "Run without prompts", false).option("--accept-risk", "Acknowledge that agents are powerful and full system access is risky (required for --non-interactive)", false).option("--flow <flow>", "Wizard flow: quickstart|advanced|manual").option("--mode <mode>", "Wizard mode: local|remote").option("--auth-choice <choice>", "Auth: setup-token|token|chutes|openai-codex|openai-api-key|openrouter-api-key|ai-gateway-api-key|cloudflare-ai-gateway-api-key|moonshot-api-key|moonshot-api-key-cn|kimi-code-api-key|synthetic-api-key|venice-api-key|gemini-api-key|zai-api-key|xiaomi-api-key|xai-api-key|apiKey|minimax-api|minimax-api-lightning|opencode-zen|skip").option("--token-provider <id>", "Token provider id (non-interactive; used with --auth-choice token)").option("--token <token>", "Token value (non-interactive; used with --auth-choice token)").option("--token-profile-id <id>", "Auth profile id (non-interactive; default: <provider>:manual)").option("--token-expires-in <duration>", "Optional token expiry duration (e.g. 365d, 12h)").option("--anthropic-api-key <key>", "Anthropic API key").option("--openai-api-key <key>", "OpenAI API key").option("--openrouter-api-key <key>", "OpenRouter API key").option("--ai-gateway-api-key <key>", "Vercel AI Gateway API key").option("--cloudflare-ai-gateway-account-id <id>", "Cloudflare Account ID").option("--cloudflare-ai-gateway-gateway-id <id>", "Cloudflare AI Gateway ID").option("--cloudflare-ai-gateway-api-key <key>", "Cloudflare AI Gateway API key").option("--moonshot-api-key <key>", "Moonshot API key").option("--kimi-code-api-key <key>", "Kimi Coding API key").option("--gemini-api-key <key>", "Gemini API key").option("--zai-api-key <key>", "Z.AI API key").option("--xiaomi-api-key <key>", "Xiaomi API key").option("--minimax-api-key <key>", "MiniMax API key").option("--synthetic-api-key <key>", "Synthetic API key").option("--venice-api-key <key>", "Venice API key").option("--opencode-zen-api-key <key>", "OpenCode Zen API key").option("--xai-api-key <key>", "xAI API key").option("--gateway-port <port>", "Gateway port").option("--gateway-bind <mode>", "Gateway bind: loopback|tailnet|lan|auto|custom").option("--gateway-auth <mode>", "Gateway auth: token|password").option("--gateway-token <token>", "Gateway token (token auth)").option("--gateway-password <password>", "Gateway password (password auth)").option("--remote-url <url>", "Remote Gateway WebSocket URL").option("--remote-token <token>", "Remote Gateway token (optional)").option("--tailscale <mode>", "Tailscale: off|serve|funnel").option("--tailscale-reset-on-exit", "Reset tailscale serve/funnel on exit").option("--install-daemon", "Install gateway service").option("--no-install-daemon", "Skip gateway service install").option("--skip-daemon", "Skip gateway service install").option("--daemon-runtime <runtime>", "Daemon runtime: node|bun").option("--skip-channels", "Skip channel setup").option("--skip-skills", "Skip skills setup").option("--skip-health", "Skip health check").option("--skip-ui", "Skip Control UI/TUI prompts").option("--node-manager <name>", "Node manager for skills: npm|pnpm|bun").option("--wallet-create", "Create a new wallet during onboarding").option("--wallet-import", "Import an existing wallet during onboarding").option("--wallet-label <name>", "Label for the new wallet").option("--skip-wallet", "Skip wallet setup").option("--json", "Output JSON summary", false).action(async (opts, command) => {
|
|
5050
5050
|
await runCommandWithRuntime(defaultRuntime, async () => {
|
|
5051
5051
|
const installDaemon = resolveInstallDaemonFlag(command, { installDaemon: Boolean(opts.installDaemon) });
|
|
5052
5052
|
const gatewayPort = typeof opts.gatewayPort === "string" ? Number.parseInt(opts.gatewayPort, 10) : void 0;
|
|
@@ -5164,7 +5164,7 @@ async function setupCommand(opts, runtime = defaultRuntime) {
|
|
|
5164
5164
|
//#endregion
|
|
5165
5165
|
//#region src/cli/program/register.setup.ts
|
|
5166
5166
|
function registerSetupCommand(program) {
|
|
5167
|
-
program.command("setup").description("Initialize ~/.cryptoclaw/cryptoclaw.json and the agent workspace").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/setup", "docs.
|
|
5167
|
+
program.command("setup").description("Initialize ~/.cryptoclaw/cryptoclaw.json and the agent workspace").addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/setup", "docs.openclaw.ai/cli/setup")}\n`).option("--workspace <dir>", "Agent workspace directory (default: ~/.cryptoclaw/workspace; stored as agents.defaults.workspace)").option("--wizard", "Run the interactive onboarding wizard", false).option("--non-interactive", "Run the wizard without prompts", false).option("--mode <mode>", "Wizard mode: local|remote").option("--remote-url <url>", "Remote Gateway WebSocket URL").option("--remote-token <token>", "Remote Gateway token (optional)").action(async (opts, command) => {
|
|
5168
5168
|
await runCommandWithRuntime(defaultRuntime, async () => {
|
|
5169
5169
|
const hasWizardFlags = hasExplicitOptions(command, [
|
|
5170
5170
|
"wizard",
|
|
@@ -5210,7 +5210,7 @@ function registerStatusHealthSessionsCommands(program) {
|
|
|
5210
5210
|
["cryptoclaw status --usage", "Show model provider usage/quota snapshots."],
|
|
5211
5211
|
["cryptoclaw status --deep", "Run channel probes (WA + Telegram + Discord + Slack + Signal)."],
|
|
5212
5212
|
["cryptoclaw status --deep --timeout 5000", "Tighten probe timeout."]
|
|
5213
|
-
])}`).addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/status", "docs.
|
|
5213
|
+
])}`).addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/status", "docs.openclaw.ai/cli/status")}\n`).action(async (opts) => {
|
|
5214
5214
|
const verbose = resolveVerbose(opts);
|
|
5215
5215
|
setVerbose(verbose);
|
|
5216
5216
|
const timeout = parseTimeoutMs(opts.timeout);
|
|
@@ -5226,7 +5226,7 @@ function registerStatusHealthSessionsCommands(program) {
|
|
|
5226
5226
|
}, defaultRuntime);
|
|
5227
5227
|
});
|
|
5228
5228
|
});
|
|
5229
|
-
program.command("health").description("Fetch health from the running gateway").option("--json", "Output JSON instead of text", false).option("--timeout <ms>", "Connection timeout in milliseconds", "10000").option("--verbose", "Verbose logging", false).option("--debug", "Alias for --verbose", false).addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/health", "docs.
|
|
5229
|
+
program.command("health").description("Fetch health from the running gateway").option("--json", "Output JSON instead of text", false).option("--timeout <ms>", "Connection timeout in milliseconds", "10000").option("--verbose", "Verbose logging", false).option("--debug", "Alias for --verbose", false).addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/health", "docs.openclaw.ai/cli/health")}\n`).action(async (opts) => {
|
|
5230
5230
|
const verbose = resolveVerbose(opts);
|
|
5231
5231
|
setVerbose(verbose);
|
|
5232
5232
|
const timeout = parseTimeoutMs(opts.timeout);
|
|
@@ -5244,7 +5244,7 @@ function registerStatusHealthSessionsCommands(program) {
|
|
|
5244
5244
|
["cryptoclaw sessions --active 120", "Only last 2 hours."],
|
|
5245
5245
|
["cryptoclaw sessions --json", "Machine-readable output."],
|
|
5246
5246
|
["cryptoclaw sessions --store ./tmp/sessions.json", "Use a specific session store."]
|
|
5247
|
-
])}\n\n${theme.muted("Shows token usage per session when the agent reports it; set agents.defaults.contextTokens to cap the window and show %.")}`).addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/sessions", "docs.
|
|
5247
|
+
])}\n\n${theme.muted("Shows token usage per session when the agent reports it; set agents.defaults.contextTokens to cap the window and show %.")}`).addHelpText("after", () => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/sessions", "docs.openclaw.ai/cli/sessions")}\n`).action(async (opts) => {
|
|
5248
5248
|
setVerbose(Boolean(opts.verbose));
|
|
5249
5249
|
await sessionsCommand({
|
|
5250
5250
|
json: Boolean(opts.json),
|