@gguf/claw 2026.2.4 → 2026.2.5
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 +50 -1
- package/LICENSE +1 -1
- package/README.md +50 -43
- package/dist/{accounts-BlHoTziG.js → accounts-BgZmhIm6.js} +4 -4
- package/dist/{accounts-B5QZU96b.js → accounts-Dto4p9zB.js} +2 -2
- package/dist/{acp-cli-DU_cVWbN.js → acp-cli-BOKabdeW.js} +15 -15
- package/dist/{acp-cli-O8LcQigE.js → acp-cli-BwcHtBDk.js} +19 -19
- package/dist/{agent-BBI-UGkN.js → agent-DztWhVCH.js} +20 -13
- package/dist/{agent-DuQt3QDO.js → agent-_H-0rbHV.js} +21 -14
- package/dist/{agent-scope-jm0ZdXwM.js → agent-scope-C9VjJXEK.js} +5 -180
- package/dist/{agent-scope-CrgUOY3f.js → agent-scope-CMs5Y7l-.js} +6 -181
- package/dist/{agent-scope-COnICB_7.js → agent-scope-Csu2B6AM.js} +2 -2
- package/dist/{audit-D-OqdjQu.js → audit-BWbjQmyv.js} +182 -15
- package/dist/{audit-CWGOX7Eh.js → audit-ZY6Dk5Ec.js} +183 -16
- package/dist/{auth-viF_w60n.js → auth-CbhB03Rz.js} +2 -2
- package/dist/{auth-DK3l201_.js → auth-DksjO6WG.js} +2 -2
- package/dist/{auth-health-DcKoxhDo.js → auth-health-C4bElkgf.js} +1 -1
- package/dist/{auth-health-Ba9GTScq.js → auth-health-Ctf-_JFE.js} +1 -1
- package/dist/{auth-profiles-CfFGCDJa.js → auth-profiles-CYBuGiBb.js} +38 -13
- package/dist/build-info.json +2 -2
- package/dist/{call-CfqL-4Nc.js → call-90HgQQ8o.js} +34 -8
- package/dist/{call-CPBhMXxo.js → call-BTbA5OB4.js} +35 -9
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/canvas-host/a2ui/a2ui.bundle.js +29 -44
- package/dist/{channel-options-eRR8_a8h.js → channel-options-DrUmtdd9.js} +3 -3
- package/dist/{channel-options-BCSvD6JM.js → channel-options-uftAnT5P.js} +7 -7
- package/dist/{channel-selection-BAwiO0li.js → channel-selection-CJWYmCLf.js} +2 -2
- package/dist/{channel-selection-BCn8_qun.js → channel-selection-PZuuCvrp.js} +2 -2
- package/dist/{channel-summary-BkqO8zZ9.js → channel-summary-D9nzC5WB.js} +8 -42
- package/dist/{channel-summary-C8GoEKgH.js → channel-summary-DUiKDBLv.js} +9 -43
- package/dist/{channels-cli-CBGINubh.js → channels-cli-PAlqhOZ7.js} +56 -54
- package/dist/{channels-cli-yQo-Rzw6.js → channels-cli-PPk5wwuy.js} +59 -57
- package/dist/{channels-status-issues-C9vMMPG0.js → channels-status-issues-CJ8PJgDc.js} +1 -1
- package/dist/{channels-status-issues-DRXQXvhY.js → channels-status-issues-CrS1r5sr.js} +1 -1
- package/dist/{chrome-DlqPCh1y.js → chrome-B3IuUad-.js} +2 -2
- package/dist/{chrome-D2LUApAY.js → chrome-BNSd7Bie.js} +5 -5
- package/dist/{clack-prompter-OmDa1Hm1.js → clack-prompter-CEKDd_Vg.js} +5 -5
- package/dist/{clack-prompter-BJuVh97L.js → clack-prompter-DuBVnTKy.js} +4 -4
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/cli-DBAccB3n.js +86 -0
- package/dist/cli-DD5dW58-.js +89 -0
- package/dist/{client-zqMhLTAX.js → client-BYVbRnuQ.js} +13 -5
- package/dist/{client-cU7Xg1MO.js → client-CxbkcEZ7.js} +12 -4
- package/dist/{command-options-51bBgSJL.js → command-options-DUUINcz0.js} +3 -3
- package/dist/{commands-DMKDOFmC.js → commands-DAC7XMAT.js} +5 -4
- package/dist/completion-cli-BPIeQDFy.js +773 -0
- package/dist/{completion-cli-BoF86Oeq.js → completion-cli-BbhA_JbG.js} +62 -15
- package/dist/{config-qgIz1lbh.js → config-CAuZ-EkU.js} +93 -31
- package/dist/{config-CGsoho7J.js → config-CG73z4h6.js} +61 -28
- package/dist/{config-DCT1RAo6.js → config-CKLedg5Y.js} +92 -30
- package/dist/{config-guard-CJuPkD5Y.js → config-guard-a5ynrKd-.js} +181 -57
- package/dist/{configure-C1_0rFdQ.js → configure-B47GYdlB.js} +33 -23
- package/dist/{configure-D0OAmW2s.js → configure-ChnTy7Jz.js} +31 -21
- package/dist/{control-service-BW5sW2U1.js → control-service-CS61Road.js} +13 -6
- package/dist/{control-service-Ds9ompnU.js → control-service-D2E9NKqQ.js} +12 -5
- package/dist/control-ui/assets/{index-RwcW4Xl0.css → index-BoXosYY6.css} +1 -1
- package/dist/control-ui/assets/index-Dm6g1E26.js +7553 -0
- package/dist/control-ui/assets/index-Dm6g1E26.js.map +1 -0
- package/dist/control-ui/index.html +2 -2
- package/dist/{cron-cli-Bn_e3WGb.js → cron-cli-CssI71-c.js} +20 -19
- package/dist/{cron-cli-BVARiNrv.js → cron-cli-Ys53MyTg.js} +24 -23
- package/dist/{daemon-cli-fHXAapHL.js → daemon-cli-B6aLZ8OE.js} +28 -23
- package/dist/{daemon-cli-yy_MAYxv.js → daemon-cli-CMKd_D6h.js} +26 -21
- package/dist/{daemon-runtime-vNkYv9tq.js → daemon-runtime-BCn_QIHK.js} +64 -7
- package/dist/{daemon-runtime-ELWW7q0C.js → daemon-runtime-DMd0mgTK.js} +64 -7
- package/dist/{deliver-Bsvrattg.js → deliver-C3bnXkg5.js} +12 -10
- package/dist/{deliver-Dl8TEyHM.js → deliver-CZPhTA7x.js} +7 -5
- package/dist/{deliver-eE21zdeQ.js → deliver-Cau4HL7W.js} +11 -9
- package/dist/{deps-BrcOX0ht.js → deps-BG1LonF6.js} +2 -2
- package/dist/{deps-wXkiMwLZ.js → deps-ytXmI88x.js} +2 -2
- package/dist/{devices-cli-BjlwgE6B.js → devices-cli-Cm0ENrXH.js} +16 -16
- package/dist/{devices-cli-BVc_Ic5O.js → devices-cli-D_rnGkqO.js} +12 -12
- package/dist/{directory-cli-cc9ivzEM.js → directory-cli-CGLolzJC.js} +15 -15
- package/dist/{directory-cli-CULRQACb.js → directory-cli-CTtv_AB7.js} +19 -19
- package/dist/{dispatcher-BNB5aCZ6.js → dispatcher-6oI-H42S.js} +1 -1
- package/dist/{dns-cli-BwDdBlsK.js → dns-cli-BRkJGLqK.js} +15 -15
- package/dist/{dns-cli-B79COhmu.js → dns-cli-CoeI4817.js} +11 -11
- package/dist/{docs-cli-BM55jf4Y.js → docs-cli-BH9bMx3a.js} +7 -7
- package/dist/{docs-cli-t7IEzxr8.js → docs-cli-Bh1Coji2.js} +10 -10
- package/dist/{doctor-CT9JPoCt.js → doctor-CwSrWRCp.js} +43 -38
- package/dist/{doctor-OmfNRlMS.js → doctor-JnMryC_M.js} +40 -35
- package/dist/entry.js +12 -8
- package/dist/{env-DOcCob95.js → env-0_mKbEWW.js} +2 -2
- package/dist/{errors-DdT2Dtkb.js → errors-CZ9opC6L.js} +4 -4
- package/dist/{exec-B7WKla_0.js → exec-BMnoMcZW.js} +1 -1
- package/dist/{exec-CTo4hK94.js → exec-HEWTMJ7j.js} +1 -1
- package/dist/{exec-approvals-WdYFyy5N.js → exec-approvals-BCEFzcbC.js} +19 -2
- package/dist/{exec-approvals-CK-Umdr3.js → exec-approvals-DZixgolZ.js} +19 -2
- package/dist/{exec-approvals-cli-DD_z4fL9.js → exec-approvals-cli-D7aVv5hN.js} +19 -19
- package/dist/{exec-approvals-cli-BK2toX2b.js → exec-approvals-cli-DzLp5G7t.js} +23 -23
- package/dist/extensionAPI.js +1186 -267
- package/dist/{gateway-cli-BCC0T5iY.js → gateway-cli-DHP5DRUH.js} +910 -199
- package/dist/{gateway-cli-BTlr6Uwl.js → gateway-cli-ape0pnBU.js} +912 -202
- package/dist/{gateway-rpc-CMAcradB.js → gateway-rpc-C8rNIC0P.js} +3 -3
- package/dist/{gateway-rpc-SvVB4Fmv.js → gateway-rpc-CWnTaSEY.js} +3 -3
- package/dist/{github-copilot-auth-BHLcQ1sN.js → github-copilot-auth-B_lK1g__.js} +173 -87
- package/dist/{github-copilot-auth-BoRchp_Q.js → github-copilot-auth-C8Uf0Q03.js} +174 -88
- package/dist/{github-copilot-token-BEtihsn6.js → github-copilot-token-B3SA95yo.js} +8 -2
- package/dist/{github-copilot-token-rP-6QdKv.js → github-copilot-token-SLWintYd.js} +7 -1
- package/dist/{github-copilot-token-VZsS4013.js → github-copilot-token-pGSmVaW-.js} +8 -2
- package/dist/{gmail-setup-utils-4czdWNCN.js → gmail-setup-utils-Bi6W14MK.js} +3 -3
- package/dist/{gmail-setup-utils-B1CTmT2V.js → gmail-setup-utils-QpN7TEXS.js} +4 -4
- package/dist/{health-format-B4_A88V3.js → health-format-B3eStY5r.js} +215 -21
- package/dist/{health-format-Ct8J0fwc.js → health-format-ND2rUbQO.js} +213 -19
- package/dist/{help-format-CGcnDM3D.js → help-format-Bozi4K9H.js} +1 -1
- package/dist/{helpers-DfgBr1D5.js → helpers-BIc7L8EF.js} +1 -1
- package/dist/{helpers-Cw9kFCkw.js → helpers-D66_XoIz.js} +1 -1
- package/dist/{hooks-cli-NmkXLKmj.js → hooks-cli-BMu_-4Ru.js} +49 -49
- package/dist/{hooks-cli-B-28F__A.js → hooks-cli-CmeQxEOM.js} +45 -45
- package/dist/{hooks-status-I3Y60zVN.js → hooks-status-CKmUPU-M.js} +3 -3
- package/dist/{hooks-status-XV9oQICf.js → hooks-status-DepPyfBb.js} +4 -4
- package/dist/{image-ClOB6QDJ.js → image-Ca_PtqY7.js} +8 -6
- package/dist/{image-BYmtfVH8.js → image-CgBndiQy.js} +9 -7
- package/dist/{image-CXg7Z0WD.js → image-nRwqkmtf.js} +8 -6
- package/dist/index.js +231 -105
- package/dist/{installs-C5cjVarj.js → installs-BhEjOqPy.js} +43 -6
- package/dist/{installs-W4Pc1LJz.js → installs-DsJkyWfL.js} +43 -6
- package/dist/{links-C9fyAH-V.js → links-B5pRdmo1.js} +1 -1
- package/dist/{links-jGisPfXW.js → links-D0uzJbi6.js} +1 -1
- package/dist/{loader-BYWxo-_j.js → loader-_Pj-TZS2.js} +920 -491
- package/dist/{logging-BnUUuH3y.js → logging-Cc7m6PTv.js} +1 -1
- package/dist/{logging-CLCWl7Iu.js → logging-TXWhN8jG.js} +2 -2
- package/dist/{login-qr-C2H_iQJU.js → login-qr-BIlr0vwe.js} +12 -7
- package/dist/{login-qr-7WOtj6zE.js → login-qr-CcOWO_dR.js} +9 -4
- package/dist/{login-qr-sEcxw1_U.js → login-qr-Cmsf7BGt.js} +11 -6
- package/dist/{logs-cli-C5v4fEDj.js → logs-cli-5L3NxTsc.js} +19 -19
- package/dist/{logs-cli-nVwK5g60.js → logs-cli-DtiFFkZL.js} +15 -15
- package/dist/{manager-rDmdE7O9.js → manager-BXiIQku7.js} +9 -7
- package/dist/{manager-JSP5pLyv.js → manager-C4ILl-d3.js} +10 -8
- package/dist/{manager-BArueSTR.js → manager-LpytrxUw.js} +12 -10
- package/dist/{manifest-registry-tuAcHxrV.js → manifest-registry-C69Z-I4v.js} +1 -1
- package/dist/{manifest-registry-BFpLJJDB.js → manifest-registry-DHaa1SJb.js} +1 -1
- package/dist/{message-channel-CAFcg7mw.js → message-channel-BlgPSDAh.js} +6 -1
- package/dist/{message-channel-CQGWXVL4.js → message-channel-Bpfe5l5f.js} +7 -2
- package/dist/{model-selection-Cp1maz7B.js → model-selection-DMUrNhQP.js} +41 -16
- package/dist/{model-selection-Cs1y6OBv.js → model-selection-mzTqrNoj.js} +38 -14
- package/dist/{models-cli-n9a8pESx.js → models-cli-DHzyyLvp.js} +49 -49
- package/dist/{models-cli-DGnLcr4X.js → models-cli-EhrWjNLH.js} +53 -53
- package/dist/{net-DaJz_a4n.js → net-C8YRVt16.js} +1 -1
- package/dist/{net-DeiCIMU6.js → net-CWMMy37F.js} +1 -1
- package/dist/{node-cli-rtEq-YyU.js → node-cli-2oYmIWJt.js} +30 -30
- package/dist/{node-cli-AOO0HsM1.js → node-cli-DH7Ykym5.js} +26 -26
- package/dist/{node-service-CjtBRyjp.js → node-service-BAYHx0E7.js} +2 -2
- package/dist/{node-service-BW_LhY5w.js → node-service-Lc1LlnFH.js} +2 -2
- package/dist/{nodes-cli-Coxj5hDA.js → nodes-cli-Bc5K-0Lt.js} +22 -22
- package/dist/{nodes-cli-ChBsNXzz.js → nodes-cli-hT8yYD7S.js} +18 -18
- package/dist/{nodes-screen-Ln98EX_f.js → nodes-screen-DGlNPbk4.js} +2 -2
- package/dist/{nodes-screen-DOhGEibx.js → nodes-screen-DT5HvhJV.js} +2 -2
- package/dist/{note-BFpD-42H.js → note-B5HnoeZX.js} +2 -2
- package/dist/{note-CBiVaqG7.js → note-Ci08TSbV.js} +1 -1
- package/dist/{onboard-channels-CF7lTDNu.js → onboard-channels-D-ZQTy5V.js} +9 -8
- package/dist/{onboard-channels-CJCy7TTQ.js → onboard-channels-DKT27PdN.js} +10 -9
- package/dist/{onboard-skills-DdFGj9pt.js → onboard-skills-YobctE-R.js} +259 -194
- package/dist/{onboard-skills-fL84FI8F.js → onboard-skills-s8J5xbUr.js} +259 -194
- package/dist/{onboarding-DcN1avQK.js → onboarding-BP4-5uzE.js} +96 -60
- package/dist/{pairing-cli-DbP9KqPL.js → pairing-cli-C8KHRjaU.js} +15 -15
- package/dist/{pairing-cli-B7RQFp4r.js → pairing-cli-i7wiTmYC.js} +19 -19
- package/dist/{pairing-labels-DK2aLSd2.js → pairing-labels-BbydDT7w.js} +1 -1
- package/dist/{pairing-labels-C6I3dD-m.js → pairing-labels-CtqLxbG6.js} +1 -1
- package/dist/{pairing-store-BnMngoWQ.js → pairing-store-DFq7WtOv.js} +2 -2
- package/dist/{pairing-store-DMex6WWe.js → pairing-store-DTfv_FGA.js} +1 -1
- package/dist/{path-env-CuGC6r1F.js → path-env-DP3DsVge.js} +2 -2
- package/dist/{path-env-CUhrC5DA.js → path-env-h3xp5PqO.js} +1 -1
- package/dist/{paths-xPuk88Yf.js → paths-B4kigINg.js} +2 -2
- package/dist/{paths-50eo6DV6.js → paths-Bb0nwPeu.js} +2 -2
- package/dist/{paths-RvF0P6tQ.js → paths-CTg8F3AE.js} +1 -1
- package/dist/{pi-embedded-helpers-DJgCXZEz.js → pi-embedded-helpers-BB4uACeq.js} +175 -170
- package/dist/{pi-embedded-helpers-DiK8Qn1l.js → pi-embedded-helpers-BxqZh6U7.js} +43 -19
- package/dist/{pi-embedded-helpers-CC00lEFI.js → pi-embedded-helpers-DF8SAHU-.js} +175 -170
- package/dist/{pi-model-discovery-DjGamP_B.js → pi-model-discovery-CV2V1HHz.js} +8 -1
- package/dist/{pi-model-discovery-CnK2Dol8.js → pi-model-discovery-DzEIEgHL.js} +8 -1
- package/dist/{pi-model-discovery-CsRo-xMp.js → pi-model-discovery-EhM2JAQo.js} +8 -1
- package/dist/{pi-tools.policy-DleRi9eC.js → pi-tools.policy-BQ8N5y8a.js} +5 -4
- package/dist/{plugin-auto-enable-JQ63k0Ce.js → plugin-auto-enable-Ci7TBlH2.js} +5 -5
- package/dist/{plugin-auto-enable-CIVp3SAp.js → plugin-auto-enable-DyW8lHTT.js} +4 -4
- package/dist/plugin-sdk/index.d.ts +228 -283
- package/dist/plugin-sdk/index.js +22528 -69091
- package/dist/plugin-sdk/pi-model-discovery-Dw3A6oXH.js +37 -0
- package/dist/{plugins-TrKFfrLt.js → plugins-BUPpq5aS.js} +3 -2
- package/dist/{plugins-D1CxUobm.js → plugins-BYIWo0Cp.js} +5 -4
- package/dist/{plugins-cli-17wYux52.js → plugins-cli-CGfxctIx.js} +50 -49
- package/dist/{plugins-cli-VyQWn_LW.js → plugins-cli-Dr_R2-FY.js} +46 -45
- package/dist/{ports-B27T1uRn.js → ports-0V-Mu4ch.js} +2 -2
- package/dist/{program-BA9_uWfO.js → program-oR55MCAT.js} +84 -81
- package/dist/{progress-uNDQDtGB.js → progress-xpLtQsNY.js} +1 -1
- package/dist/{prompt-style-gfROyHgB.js → prompt-style-vzh0MGHs.js} +1 -1
- package/dist/{pw-ai-BC4dLE7k.js → pw-ai-B7Fvw8DW.js} +4 -4
- package/dist/{pw-ai-DlTBXZjY.js → pw-ai-DYpQO6HI.js} +6 -6
- package/dist/{pw-ai-BEqPnalN.js → pw-ai-tNPuRNn3.js} +4 -4
- package/dist/{qmd-manager-8xWxIGbO.js → qmd-manager-BKkFEEN_.js} +9 -8
- package/dist/{plugin-sdk/qmd-manager-DvkA01DP.js → qmd-manager-CF52nuBg.js} +6 -6
- package/dist/{qmd-manager-BSCOmXYZ.js → qmd-manager-Dub8jfbo.js} +7 -6
- package/dist/{register.subclis-CWWz9WdX.js → register.subclis-BpIR6Iqi.js} +36 -30
- package/dist/{reply-CoztdrN_.js → reply-B8pOiUNN.js} +935 -506
- package/dist/rolldown-runtime-Cbj13DAv.js +20 -0
- package/dist/{routes-yI5QIzeL.js → routes-BSfXf8a5.js} +5 -5
- package/dist/{routes-Ds-tIZFJ.js → routes-DchZU3EK.js} +6 -6
- package/dist/{rpc-HF82_iLh.js → rpc-DqI3QH59.js} +3 -3
- package/dist/{rpc-HdKLb6jx.js → rpc-Vo2ACfn-.js} +3 -3
- package/dist/{run-main-B3krVvc1.js → run-main-DrVUUPHV.js} +84 -84
- package/dist/{sandbox-BXUfp_qv.js → sandbox-CV8VwPij.js} +36 -16
- package/dist/{sandbox-Cnq9TXEn.js → sandbox-DuqLKN5J.js} +34 -14
- package/dist/{sandbox-cli-C7j1V6tb.js → sandbox-cli-C0_Hrk7i.js} +25 -24
- package/dist/{sandbox-cli-CnS9JJlO.js → sandbox-cli-Ces6i3n2.js} +21 -20
- package/dist/{security-cli-Clg7RQT3.js → security-cli-CybLT9XS.js} +32 -30
- package/dist/{security-cli-BGd4NO4l.js → security-cli-T7yrd3lb.js} +28 -26
- package/dist/{server-context-D2cv-pIA.js → server-context-vChIAqjH.js} +6 -6
- package/dist/{server-context-CM_E6wD5.js → server-context-yKyxyxOJ.js} +5 -5
- package/dist/{server-node-events-IMwI538C.js → server-node-events-BR2vHqf6.js} +44 -43
- package/dist/{server-node-events-C5EqDe_U.js → server-node-events-D39FA0NG.js} +48 -47
- package/dist/{service-CAxAjHNB.js → service-BZesBIaG.js} +3 -3
- package/dist/{service-BoDHq_LN.js → service-_JwSmGSn.js} +2 -2
- package/dist/{service-audit-Bf33pqEM.js → service-audit-C-IA4omi.js} +6 -6
- package/dist/{service-audit-DBSAGhm8.js → service-audit-DDX1kO3k.js} +6 -6
- package/dist/session-cost-usage-BTXosU1k.js +692 -0
- package/dist/session-cost-usage-CBP4Hv9D.js +692 -0
- package/dist/session-key-CZkcvAtx.js +177 -0
- package/dist/session-key-Dm2EOhrH.js +177 -0
- package/dist/{shared-ChNOqAzp.js → shared-BmtNKsPq.js} +4 -4
- package/dist/{shared-D42-KbPa.js → shared-C1XLEyB0.js} +3 -3
- package/dist/{shared-xZjRQa6y.js → shared-C8_5pNbb.js} +4 -4
- package/dist/{shared-DBGw227P.js → shared-fnGLWyZ6.js} +3 -3
- package/dist/skill-scanner-BoGjHXUZ.js +255 -0
- package/dist/skill-scanner-Bp1D9gra.js +255 -0
- package/dist/{skills-DtwGIkTI.js → skills-CmU0Q92f.js} +3 -3
- package/dist/{skills-C4b1FA1e.js → skills-D5JDj3TR.js} +5 -5
- package/dist/{skills-cli-BPkuJAz9.js → skills-cli-C1yJvIkL.js} +16 -16
- package/dist/{skills-cli-b0ZmGlmh.js → skills-cli-DBC5zFat.js} +12 -12
- package/dist/{skills-status-CSCMqNZP.js → skills-status-CEvVUD3U.js} +3 -3
- package/dist/{skills-status-CWkBweWW.js → skills-status-DtXrj3fy.js} +2 -2
- package/dist/{status-BIWeu5mN.js → status-BRXuHUsK.js} +94 -58
- package/dist/{status-CcM6W8r4.js → status-BTGXSvZ1.js} +3 -3
- package/dist/{status-PjegR5Cv.js → status-DBZ5Z7ng.js} +4 -4
- package/dist/{subsystem-46MXi6Ip.js → subsystem-CAq3uyo7.js} +1 -1
- package/dist/{system-cli-B4FEIE5d.js → system-cli-Dqnt-b0D.js} +13 -13
- package/dist/{system-cli-BL_QZ1VP.js → system-cli-SJLtqI47.js} +17 -17
- package/dist/{systemd-DAgZTW06.js → systemd-8sIc6isV.js} +2 -2
- package/dist/{systemd-CNYEkRek.js → systemd-B-3NdMmA.js} +3 -3
- package/dist/{systemd-hints-CcgK8AJE.js → systemd-hints-DO88c_nD.js} +1 -1
- package/dist/{systemd-hints-okqOoOug.js → systemd-hints-Wim4Bq6j.js} +1 -1
- package/dist/{systemd-linger-CTe0ZDxD.js → systemd-linger-N-cIaegf.js} +8 -3
- package/dist/{systemd-linger-Cbkoh9qw.js → systemd-linger-SsSOsJST.js} +8 -3
- package/dist/{table-f0EgX-YI.js → table-CJSx0YID.js} +1 -1
- package/dist/{table-DuNe7Qes.js → table-CLtGjVsx.js} +2 -2
- package/dist/{tailscale-BUcKO8Rr.js → tailscale-9MusRvOi.js} +1 -1
- package/dist/{tailscale-Cvk3mQDZ.js → tailscale-BVGD9gSD.js} +2 -2
- package/dist/{tool-display-rIUh61kT.js → tool-display-BxZG0o1b.js} +2 -2
- package/dist/{tool-display-BMYWrp0L.js → tool-display-DmgKs6-V.js} +2 -2
- package/dist/{tui-cV-R-JXi.js → tui-DPorsF4z.js} +203 -75
- package/dist/{tui-DBmFYQTk.js → tui-XH6_v0qC.js} +204 -74
- package/dist/{tui-cli-B_CKOjZ1.js → tui-cli-DRSIBDgZ.js} +30 -29
- package/dist/{tui-cli-CVdJ28TX.js → tui-cli-DV_JAtnq.js} +26 -25
- package/dist/{update-BDyA5Iqy.js → update-DNAVcIQ7.js} +3 -3
- package/dist/{update-BIB5jGcv.js → update-DzMcwy1G.js} +3 -3
- package/dist/{update-cli-p49uMWby.js → update-cli-OAcZiYuA.js} +112 -27
- package/dist/{update-cli-C5vwquH_.js → update-cli-tQcy8mkI.js} +109 -23
- package/dist/{update-runner-8XFxQglY.js → update-runner-2i8_mIG5.js} +254 -17
- package/dist/{update-runner-s8Rs8ex3.js → update-runner-BDdk_K2S.js} +254 -17
- package/dist/usage-format-DvowRSs-.js +36 -0
- package/dist/usage-format-E3bMcUMV.js +36 -0
- package/dist/{utils-Dg0Xbl6w.js → utils-CKSrBNwq.js} +2 -2
- package/dist/{webhooks-cli-DkQGQ2ae.js → webhooks-cli-BztQHEco.js} +11 -11
- package/dist/{webhooks-cli-kRN8qR7B.js → webhooks-cli-ZAn97osC.js} +15 -15
- package/dist/{widearea-dns-BIhjVRG1.js → widearea-dns-CsSylzXH.js} +2 -2
- package/dist/{widearea-dns-D4yoSNNw.js → widearea-dns-D9Al4QRv.js} +2 -2
- package/dist/{ws-log-DQ6nkLys.js → ws-log-B7UNLFLC.js} +3 -3
- package/dist/{ws-log-C4IerKk4.js → ws-log-DJIXahf0.js} +2 -2
- package/dist/{wsl-DASmek7h.js → wsl-ATjkMwMA.js} +1 -1
- package/docs/.i18n/glossary.zh-CN.json +20 -0
- package/docs/assets/macos-onboarding/01-macos-warning.jpeg +0 -0
- package/docs/assets/macos-onboarding/02-local-networks.jpeg +0 -0
- package/docs/assets/macos-onboarding/03-security-notice.png +0 -0
- package/docs/assets/macos-onboarding/04-choose-gateway.png +0 -0
- package/docs/assets/macos-onboarding/05-permissions.png +0 -0
- package/docs/bedrock.md +3 -3
- package/docs/channels/discord.md +2 -1
- package/docs/channels/feishu.md +72 -2
- package/docs/channels/telegram.md +19 -0
- package/docs/cli/devices.md +3 -0
- package/docs/cli/gateway.md +3 -0
- package/docs/cli/index.md +2 -0
- package/docs/cli/onboard.md +16 -2
- package/docs/concepts/features.md +53 -0
- package/docs/concepts/memory.md +1 -1
- package/docs/concepts/messages.md +1 -1
- package/docs/concepts/model-providers.md +11 -11
- package/docs/concepts/models.md +1 -1
- package/docs/concepts/multi-agent.md +2 -2
- package/docs/concepts/session.md +19 -3
- package/docs/docs.json +331 -182
- package/docs/gateway/cli-backends.md +7 -5
- package/docs/gateway/configuration-examples.md +4 -4
- package/docs/gateway/configuration.md +34 -16
- package/docs/gateway/heartbeat.md +61 -1
- package/docs/gateway/local-models.md +3 -3
- package/docs/gateway/network-model.md +17 -0
- package/docs/gateway/remote.md +3 -1
- package/docs/gateway/security/index.md +1 -1
- package/docs/help/faq.md +25 -26
- package/docs/help/submitting-a-pr.md +214 -0
- package/docs/help/submitting-an-issue.md +165 -0
- package/docs/index.md +127 -193
- package/docs/install/docker.md +2 -2
- package/docs/{platforms → install}/exe-dev.md +4 -3
- package/docs/{platforms → install}/fly.md +1 -1
- package/docs/install/index.md +4 -2
- package/docs/nodes/media-understanding.md +2 -2
- package/docs/platforms/digitalocean.md +2 -2
- package/docs/platforms/index.md +4 -4
- package/docs/platforms/linux.md +1 -1
- package/docs/platforms/mac/release.md +7 -7
- package/docs/platforms/oracle.md +1 -1
- package/docs/platforms/raspberry-pi.md +1 -1
- package/docs/providers/anthropic.md +3 -3
- package/docs/providers/index.md +1 -1
- package/docs/providers/minimax.md +3 -3
- package/docs/providers/models.md +1 -1
- package/docs/providers/ollama.md +60 -6
- package/docs/providers/openai.md +2 -2
- package/docs/providers/opencode.md +1 -1
- package/docs/providers/vercel-ai-gateway.md +1 -1
- package/docs/reference/credits.md +27 -0
- package/docs/reference/wizard.md +268 -0
- package/docs/start/bootstrapping.md +41 -0
- package/docs/start/docs-directory.md +64 -0
- package/docs/start/getting-started.md +109 -197
- package/docs/start/hubs.md +12 -0
- package/docs/start/onboarding.md +51 -81
- package/docs/start/openclaw.md +3 -20
- package/docs/start/quickstart.md +22 -0
- package/docs/start/setup.md +14 -1
- package/docs/start/wizard-cli-automation.md +141 -0
- package/docs/start/wizard-cli-reference.md +244 -0
- package/docs/start/wizard.md +48 -289
- package/docs/style.css +3 -0
- package/docs/testing.md +9 -9
- package/docs/token-use.md +2 -2
- package/docs/tools/index.md +3 -0
- package/docs/tools/llm-task.md +1 -1
- package/docs/tools/thinking.md +1 -0
- package/docs/tui.md +3 -0
- package/docs/vps.md +6 -6
- package/docs/web/control-ui.md +2 -0
- package/docs/web/dashboard.md +7 -7
- package/docs/zh-CN/channels/feishu.md +119 -3
- package/docs/zh-CN/concepts/features.md +59 -0
- package/docs/zh-CN/gateway/network-model.md +23 -0
- package/docs/zh-CN/gateway/remote.md +1 -1
- package/docs/zh-CN/help/faq.md +5 -5
- package/docs/zh-CN/index.md +124 -202
- package/docs/zh-CN/install/docker.md +1 -1
- package/docs/zh-CN/platforms/digitalocean.md +2 -2
- package/docs/zh-CN/platforms/index.md +4 -4
- package/docs/zh-CN/platforms/linux.md +1 -1
- package/docs/zh-CN/platforms/oracle.md +1 -1
- package/docs/zh-CN/platforms/raspberry-pi.md +1 -1
- package/docs/zh-CN/providers/ollama.md +1 -1
- package/docs/zh-CN/reference/credits.md +34 -0
- package/docs/zh-CN/start/docs-directory.md +70 -0
- package/docs/zh-CN/start/getting-started.md +1 -1
- package/docs/zh-CN/start/hubs.md +39 -30
- package/docs/zh-CN/start/quickstart.md +88 -0
- package/docs/zh-CN/vps.md +4 -4
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/bluebubbles/src/monitor.ts +9 -0
- package/extensions/copilot-proxy/index.ts +1 -0
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/feishu/index.ts +49 -1
- package/extensions/feishu/openclaw.plugin.json +1 -0
- package/extensions/feishu/package.json +9 -5
- package/extensions/feishu/skills/feishu-doc/SKILL.md +105 -0
- package/extensions/feishu/skills/feishu-doc/references/block-types.md +103 -0
- package/extensions/feishu/skills/feishu-drive/SKILL.md +97 -0
- package/extensions/feishu/skills/feishu-perm/SKILL.md +119 -0
- package/extensions/feishu/skills/feishu-wiki/SKILL.md +111 -0
- package/extensions/feishu/src/accounts.ts +144 -0
- package/extensions/feishu/src/bitable.ts +459 -0
- package/extensions/feishu/src/bot.ts +871 -0
- package/extensions/feishu/src/channel.ts +267 -202
- package/extensions/feishu/src/client.ts +118 -0
- package/extensions/feishu/src/config-schema.ts +152 -26
- package/extensions/feishu/src/directory.ts +177 -0
- package/extensions/feishu/src/doc-schema.ts +47 -0
- package/extensions/feishu/src/docx.ts +521 -0
- package/extensions/feishu/src/drive-schema.ts +46 -0
- package/extensions/feishu/src/drive.ts +227 -0
- package/extensions/feishu/src/media.ts +527 -0
- package/extensions/feishu/src/mention.ts +126 -0
- package/extensions/feishu/src/monitor.ts +190 -0
- package/extensions/feishu/src/onboarding.ts +278 -200
- package/extensions/feishu/src/outbound.ts +40 -0
- package/extensions/feishu/src/perm-schema.ts +52 -0
- package/extensions/feishu/src/perm.ts +173 -0
- package/extensions/feishu/src/policy.ts +104 -0
- package/extensions/feishu/src/probe.ts +44 -0
- package/extensions/feishu/src/reactions.ts +160 -0
- package/extensions/feishu/src/reply-dispatcher.ts +184 -0
- package/extensions/feishu/src/runtime.ts +14 -0
- package/extensions/feishu/src/send.ts +358 -0
- package/extensions/feishu/src/targets.ts +78 -0
- package/extensions/feishu/src/tools-config.ts +21 -0
- package/extensions/feishu/src/types.ts +75 -0
- package/extensions/feishu/src/typing.ts +80 -0
- package/extensions/feishu/src/wiki-schema.ts +55 -0
- package/extensions/feishu/src/wiki.ts +232 -0
- package/extensions/google-antigravity-auth/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/googlechat/src/monitor.ts +12 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/lobster/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +6 -0
- package/extensions/matrix/package.json +1 -1
- package/extensions/matrix/src/config-schema.ts +1 -0
- package/extensions/matrix/src/matrix/monitor/handler.ts +9 -5
- package/extensions/matrix/src/types.ts +2 -0
- package/extensions/mattermost/package.json +1 -1
- package/extensions/mattermost/src/channel.test.ts +24 -0
- package/extensions/mattermost/src/config-schema.ts +1 -0
- package/extensions/mattermost/src/mattermost/monitor.ts +9 -5
- package/extensions/mattermost/src/types.ts +2 -0
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/node_modules/.bin/openai +2 -2
- package/extensions/memory-lancedb/node_modules/.bin/openai.CMD +2 -2
- package/extensions/memory-lancedb/node_modules/.bin/openai.ps1 +2 -2
- package/extensions/memory-lancedb/package.json +2 -2
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +6 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/msteams/src/monitor-handler/message-handler.ts +1 -0
- package/extensions/msteams/src/reply-dispatcher.ts +7 -5
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nextcloud-talk/src/config-schema.ts +1 -0
- package/extensions/nextcloud-talk/src/inbound.ts +10 -0
- package/extensions/nextcloud-talk/src/send.ts +7 -2
- package/extensions/nextcloud-talk/src/types.ts +2 -0
- package/extensions/nostr/CHANGELOG.md +6 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +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/tlon/package.json +1 -1
- package/extensions/tlon/src/config-schema.ts +2 -0
- package/extensions/tlon/src/monitor/index.ts +41 -14
- package/extensions/tlon/src/monitor/utils.ts +1 -0
- package/extensions/twitch/CHANGELOG.md +6 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/twitch/src/config-schema.ts +2 -0
- package/extensions/twitch/src/monitor.ts +11 -0
- package/extensions/twitch/src/types.ts +2 -0
- package/extensions/voice-call/CHANGELOG.md +6 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/voice-call/src/manager.test.ts +30 -0
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +6 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalo/src/config-schema.ts +1 -0
- package/extensions/zalo/src/monitor.ts +11 -0
- package/extensions/zalo/src/types.ts +2 -0
- package/extensions/zalouser/CHANGELOG.md +6 -0
- package/extensions/zalouser/package.json +1 -1
- package/extensions/zalouser/src/config-schema.ts +1 -0
- package/extensions/zalouser/src/monitor.ts +12 -1
- package/extensions/zalouser/src/types.ts +2 -0
- package/package.json +14 -14
- package/dist/auth-profiles-3t9aTwDR.js +0 -11
- package/dist/auth-profiles-BYvLI-zr.js +0 -7
- package/dist/auth-profiles-DswR7tzt.js +0 -7
- package/dist/cli-BxIwNzhi.js +0 -89
- package/dist/cli-wFmvNjpg.js +0 -86
- package/dist/command-format-SkzzRqR1.js +0 -52
- package/dist/completion-cli-vxe-jqwC.js +0 -390
- package/dist/config-BwVg6hhl.js +0 -13
- package/dist/config-jKcyRiMo.js +0 -10
- package/dist/configure-DaecSBSI.js +0 -60
- package/dist/configure-t-7r9i4H.js +0 -64
- package/dist/control-service-Dag9b-dU.js +0 -16
- package/dist/control-service-DsUyuevF.js +0 -12
- package/dist/control-ui/assets/index-ryaCcbyp.js +0 -4584
- package/dist/control-ui/assets/index-ryaCcbyp.js.map +0 -1
- package/dist/daemon-cli-CUkUiGoK.js +0 -53
- package/dist/daemon-cli-D6FF4tmP.js +0 -49
- package/dist/deliver-BGnJ4-vz.js +0 -12
- package/dist/deliver-CXpx7BNb.js +0 -25
- package/dist/deliver-Ds2yqOA3.js +0 -21
- package/dist/doctor-BwqqPqMX.js +0 -58
- package/dist/doctor-DGrfzoKj.js +0 -62
- package/dist/github-copilot-token-B0CUgVkW.js +0 -4
- package/dist/github-copilot-token-B_uWT0Yi.js +0 -4
- package/dist/github-copilot-token-CXUZ9Lrb.js +0 -3
- package/dist/image-CgTMdnmz.js +0 -28
- package/dist/image-D1O-ebQc.js +0 -14
- package/dist/image-njq9Rf6U.js +0 -24
- package/dist/login-qr-BfbIJ1wP.js +0 -12
- package/dist/login-qr-CGWNrSQq.js +0 -9
- package/dist/login-qr-CUV9HZCg.js +0 -16
- package/dist/manager-DKpTd5pc.js +0 -10
- package/dist/manager-Dr_eVHpN.js +0 -10
- package/dist/manager-DtFcs1NT.js +0 -14
- package/dist/pi-model-discovery-BOramrmp.js +0 -3
- package/dist/pi-model-discovery-Bj98Srfa.js +0 -3
- package/dist/pi-model-discovery-DHPwfwKu.js +0 -3
- package/dist/plugin-sdk/agent-scope-qNPdmst1.js +0 -606
- package/dist/plugin-sdk/auth-profiles-D0LhX8iB.js +0 -7
- package/dist/plugin-sdk/chrome-DMuEXuKT.js +0 -1953
- package/dist/plugin-sdk/config-D5CsedNn.js +0 -5623
- package/dist/plugin-sdk/deliver-DOlMKwJ9.js +0 -12
- package/dist/plugin-sdk/deliver-Dl2ednkv.js +0 -2555
- package/dist/plugin-sdk/exec-CjyVHUuE.js +0 -1107
- package/dist/plugin-sdk/github-copilot-token-BoPqI-5_.js +0 -97
- package/dist/plugin-sdk/github-copilot-token-YEH9Bwov.js +0 -4
- package/dist/plugin-sdk/image-B_t0xXCb.js +0 -1419
- package/dist/plugin-sdk/image-DYTdodiR.js +0 -14
- package/dist/plugin-sdk/login-qr-B7ec28AI.js +0 -9
- package/dist/plugin-sdk/login-qr-BVBRxQRt.js +0 -470
- package/dist/plugin-sdk/manager-B-EITu1a.js +0 -10
- package/dist/plugin-sdk/manager-WCGzgWdf.js +0 -2868
- package/dist/plugin-sdk/model-selection-Bo7pocNu.js +0 -2667
- package/dist/plugin-sdk/paths-BFxmmTT5.js +0 -164
- package/dist/plugin-sdk/paths-Bkjq_KcG.js +0 -40
- package/dist/plugin-sdk/pi-embedded-helpers-fm5_Eokw.js +0 -8755
- package/dist/plugin-sdk/pi-model-discovery-CLgDNnGq.js +0 -13
- package/dist/plugin-sdk/pi-model-discovery-P2-pVRmz.js +0 -3
- package/dist/plugin-sdk/pw-ai-BN7Cwl9J.js +0 -1649
- package/dist/qmd-manager-CzArLjr6.js +0 -615
- package/dist/redact-BR0IM00e.js +0 -94
- package/dist/register.subclis-Bo-xmQ-W.js +0 -342
- package/dist/register.subclis-BuT7ZpPf.js +0 -3
- package/dist/restart-sentinel-CdcBcziq.js +0 -65
- package/dist/restart-sentinel-DywisDen.js +0 -65
- package/dist/runtime-guard-BG6JybtL.js +0 -60
- package/dist/runtime-guard-DvBpNsbR.js +0 -60
- package/dist/sqlite-Dz6S6ijV.js +0 -215
- package/dist/status.update-2ZdxeIeT.js +0 -79
- package/dist/status.update-ChwCPLBt.js +0 -79
- package/dist/systemd-linger-BZb1Uwsd.js +0 -7
- package/dist/systemd-linger-DemNCT5l.js +0 -9
- package/dist/transcript-events-fUhPZcB5.js +0 -17
- package/docs/_config.yml +0 -53
- package/docs/_layouts/default.html +0 -145
- package/docs/assets/docs-chat-widget.js +0 -667
- package/docs/assets/markdown.css +0 -179
- package/docs/assets/terminal.css +0 -473
- package/docs/assets/theme.js +0 -55
- package/extensions/feishu/README.md +0 -47
- /package/dist/{archive-BrH5WBhI.js → archive-D0z3LZDK.js} +0 -0
- /package/dist/{archive-mFgwsll-.js → archive-Dy3Ezb-5.js} +0 -0
- /package/dist/{boolean-CE7i9tBR.js → boolean-BgXe2hyu.js} +0 -0
- /package/dist/{brew-0HRgjHZw.js → brew-CAcErcKz.js} +0 -0
- /package/dist/{brew-Qdppmdlx.js → brew-CcZV0dSS.js} +0 -0
- /package/dist/{cli-utils-CukoNm8O.js → cli-utils-BkRQdAoC.js} +0 -0
- /package/dist/{cli-utils-DFbPmfWB.js → cli-utils-ByANh4Sp.js} +0 -0
- /package/dist/{plugin-sdk/command-format-CFzL448l.js → command-format-CFzL448l.js} +0 -0
- /package/dist/{command-format-BQK1OIvH.js → command-format-ChfKqObn.js} +0 -0
- /package/dist/{command-format-3xiXujG0.js → command-format-ayFsmwwz.js} +0 -0
- /package/dist/{constants-3er_81qc.js → constants-D1op9uGI.js} +0 -0
- /package/dist/{constants-CLUi6T-M.js → constants-HPrOsATF.js} +0 -0
- /package/dist/{exec-BIMFe4XS.js → exec-B8JKbXKW.js} +0 -0
- /package/dist/{format-BnjMmWWT.js → format-B7OjpGnt.js} +0 -0
- /package/dist/{format-hyFOmVZc.js → format-CS7EI0xF.js} +0 -0
- /package/dist/{help-format-af1XWYxC.js → help-format-CfZ94KRN.js} +0 -0
- /package/dist/{helpers-HZ-6iA1e.js → helpers-5yebzF4C.js} +0 -0
- /package/dist/{helpers-uGhPZ_kK.js → helpers-EKm3X92T.js} +0 -0
- /package/dist/{is-main-DD0MG3N8.js → is-main-B6kCyqsv.js} +0 -0
- /package/dist/{is-main-DrJg4t1R.js → is-main-qJ675wPV.js} +0 -0
- /package/dist/{logging-BdnOSVPD.js → logging-BWRYHvLp.js} +0 -0
- /package/dist/{logging-fywhKCmE.js → logging-CfEk_PnX.js} +0 -0
- /package/dist/{openclaw-root-Dean7Fp2.js → openclaw-root-9ILYSmJ9.js} +0 -0
- /package/dist/{openclaw-root-CJKDUIBP.js → openclaw-root-Cvotktkd.js} +0 -0
- /package/dist/{parse-BB0Cqon8.js → parse-BZz5lHzQ.js} +0 -0
- /package/dist/{parse-DLFPuO7w.js → parse-gTOGQPH6.js} +0 -0
- /package/dist/{parse-log-line-B3U8Kflp.js → parse-log-line-C6szvNBZ.js} +0 -0
- /package/dist/{parse-log-line-BmyeB3J2.js → parse-log-line-CARp5QyJ.js} +0 -0
- /package/dist/{parse-timeout-BIB19Upi.js → parse-timeout-CbVKLZ4B.js} +0 -0
- /package/dist/{parse-timeout-CmBmmqZZ.js → parse-timeout-Du-wHHNi.js} +0 -0
- /package/dist/{paths-VslOJiD2.js → paths-B1kfl4h5.js} +0 -0
- /package/dist/{paths-BDd7_JUB.js → paths-scjhy7N2.js} +0 -0
- /package/dist/{progress-Dn3kWpaL.js → progress-Da1ehW-x.js} +0 -0
- /package/dist/{prompt-style-D5D7b3cX.js → prompt-style-Dc0C5HC9.js} +0 -0
- /package/dist/{prompts-CIDznuZR.js → prompts-CXLLIBwP.js} +0 -0
- /package/dist/{prompts-CSlE5VZB.js → prompts-FbZThK8w.js} +0 -0
- /package/dist/{redact-BKh-zp-c.js → redact-B8YiFlwn.js} +0 -0
- /package/dist/{plugin-sdk/redact-wH73ib3-.js → redact-BIMJ3ntQ.js} +0 -0
- /package/dist/{redact-CDPAzwi8.js → redact-DJCFY628.js} +0 -0
- /package/dist/{plugin-sdk/sqlite-CqVsQPIl.js → sqlite-BKl1HJFe.js} +0 -0
- /package/dist/{sqlite-C59YNxdL.js → sqlite-Dnmf3LS7.js} +0 -0
- /package/dist/{sqlite-B_L84oiu.js → sqlite-DqUEZnjO.js} +0 -0
- /package/dist/{status-DkW6wMxZ.js → status-CRIEi8Mc.js} +0 -0
- /package/dist/{status-IDW1pkc0.js → status-tCu4RWZH.js} +0 -0
- /package/dist/{tailnet-BijMqkqa.js → tailnet-Byp3obcc.js} +0 -0
- /package/dist/{tailnet-Bk5cGmwE.js → tailnet-DLDGNuH2.js} +0 -0
- /package/dist/{plugin-sdk/transcript-events-DOI14YeV.js → transcript-events-CZ8CG4ht.js} +0 -0
- /package/dist/{transcript-events-Cj85Mq0h.js → transcript-events-ChU6IQwp.js} +0 -0
- /package/dist/{transcript-events-DW_H__a1.js → transcript-events-JLH5W4He.js} +0 -0
- /package/dist/{utils-PmTbZoD1.js → utils-DX85MiPR.js} +0 -0
- /package/dist/{ws-Cxo2p9fH.js → ws-CEcdsnN9.js} +0 -0
- /package/dist/{ws-DlSkA_BG.js → ws-D091yo4M.js} +0 -0
- /package/docs/{platforms → install}/gcp.md +0 -0
- /package/docs/{platforms → install}/hetzner.md +0 -0
- /package/docs/{platforms → install}/macos-vm.md +0 -0
- /package/docs/{northflank.mdx → install/northflank.mdx} +0 -0
- /package/docs/{railway.mdx → install/railway.mdx} +0 -0
- /package/docs/{render.mdx → install/render.mdx} +0 -0
- /package/docs/zh-CN/{platforms → install}/exe-dev.md +0 -0
- /package/docs/zh-CN/{platforms → install}/fly.md +0 -0
- /package/docs/zh-CN/{platforms → install}/gcp.md +0 -0
- /package/docs/zh-CN/{platforms → install}/hetzner.md +0 -0
- /package/docs/zh-CN/{platforms → install}/macos-vm.md +0 -0
- /package/docs/zh-CN/{northflank.mdx → install/northflank.mdx} +0 -0
- /package/docs/zh-CN/{railway.mdx → install/railway.mdx} +0 -0
- /package/docs/zh-CN/{render.mdx → install/render.mdx} +0 -0
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
+
import { B as resolveConfigPath, F as CONFIG_PATH, G as resolveIsNixMode, H as resolveDefaultConfigCandidates, I as DEFAULT_GATEWAY_PORT, J as resolveOAuthDir, K as resolveLegacyStateDirs, L as STATE_DIR, R as isNixMode, U as resolveGatewayLockDir, V as resolveConfigPathCandidate, W as resolveGatewayPort, X as resolveStateDir, Y as resolveOAuthPath, Z as CHANNEL_IDS, ot as normalizeChatChannelId, q as resolveNewStateDir, z as resolveCanonicalConfigPath } from "./entry.js";
|
|
3
|
+
import { A as parseModelRef, ct as loadShellEnvFallback, dt as shouldEnableShellEnvFallback, ht as DEFAULT_CONTEXT_TOKENS, lt as resolveShellEnvFallbackTimeoutMs, ut as shouldDeferShellEnvFallback } from "./auth-profiles-CYBuGiBb.js";
|
|
4
|
+
import { c as normalizeAgentId, n as DEFAULT_AGENT_ID } from "./session-key-CZkcvAtx.js";
|
|
5
|
+
import { m as resolveUserPath } from "./utils-DX85MiPR.js";
|
|
6
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-C9VjJXEK.js";
|
|
7
|
+
import { c as resolveEnableState, l as resolveMemorySlotDecision, s as normalizePluginsConfig, t as loadPluginManifestRegistry } from "./manifest-registry-C69Z-I4v.js";
|
|
6
8
|
import { createRequire } from "node:module";
|
|
7
9
|
import path from "node:path";
|
|
8
10
|
import os from "node:os";
|
|
@@ -13,26 +15,43 @@ import AjvPkg from "ajv";
|
|
|
13
15
|
import { z } from "zod";
|
|
14
16
|
|
|
15
17
|
//#region src/version.ts
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
18
|
+
const CORE_PACKAGE_NAME = "openclaw";
|
|
19
|
+
const PACKAGE_JSON_CANDIDATES = [
|
|
20
|
+
"../package.json",
|
|
21
|
+
"../../package.json",
|
|
22
|
+
"../../../package.json",
|
|
23
|
+
"./package.json"
|
|
24
|
+
];
|
|
25
|
+
const BUILD_INFO_CANDIDATES = [
|
|
26
|
+
"../build-info.json",
|
|
27
|
+
"../../build-info.json",
|
|
28
|
+
"./build-info.json"
|
|
29
|
+
];
|
|
30
|
+
function readVersionFromJsonCandidates(moduleUrl, candidates, opts = {}) {
|
|
24
31
|
try {
|
|
25
|
-
const require = createRequire(
|
|
26
|
-
for (const candidate of
|
|
27
|
-
const
|
|
28
|
-
|
|
32
|
+
const require = createRequire(moduleUrl);
|
|
33
|
+
for (const candidate of candidates) try {
|
|
34
|
+
const parsed = require(candidate);
|
|
35
|
+
const version = parsed.version?.trim();
|
|
36
|
+
if (!version) continue;
|
|
37
|
+
if (opts.requirePackageName && parsed.name !== CORE_PACKAGE_NAME) continue;
|
|
38
|
+
return version;
|
|
29
39
|
} catch {}
|
|
30
40
|
return null;
|
|
31
41
|
} catch {
|
|
32
42
|
return null;
|
|
33
43
|
}
|
|
34
44
|
}
|
|
35
|
-
|
|
45
|
+
function readVersionFromPackageJsonForModuleUrl(moduleUrl) {
|
|
46
|
+
return readVersionFromJsonCandidates(moduleUrl, PACKAGE_JSON_CANDIDATES, { requirePackageName: true });
|
|
47
|
+
}
|
|
48
|
+
function readVersionFromBuildInfoForModuleUrl(moduleUrl) {
|
|
49
|
+
return readVersionFromJsonCandidates(moduleUrl, BUILD_INFO_CANDIDATES);
|
|
50
|
+
}
|
|
51
|
+
function resolveVersionFromModuleUrl(moduleUrl) {
|
|
52
|
+
return readVersionFromPackageJsonForModuleUrl(moduleUrl) || readVersionFromBuildInfoForModuleUrl(moduleUrl);
|
|
53
|
+
}
|
|
54
|
+
const VERSION = typeof __OPENCLAW_VERSION__ === "string" && __OPENCLAW_VERSION__ || process.env.OPENCLAW_BUNDLED_VERSION || resolveVersionFromModuleUrl(import.meta.url) || "0.0.0";
|
|
36
55
|
|
|
37
56
|
//#endregion
|
|
38
57
|
//#region src/config/agent-dirs.ts
|
|
@@ -142,7 +161,7 @@ function resolveTalkApiKey(env = process.env, deps = {}) {
|
|
|
142
161
|
//#region src/config/defaults.ts
|
|
143
162
|
let defaultWarnState = { warned: false };
|
|
144
163
|
const DEFAULT_MODEL_ALIASES = {
|
|
145
|
-
opus: "anthropic/claude-opus-4-
|
|
164
|
+
opus: "anthropic/claude-opus-4-6",
|
|
146
165
|
sonnet: "anthropic/claude-sonnet-4-5",
|
|
147
166
|
gpt: "openai/gpt-5.2",
|
|
148
167
|
"gpt-mini": "openai/gpt-5-mini",
|
|
@@ -2166,6 +2185,7 @@ const HeartbeatSchema = z.object({
|
|
|
2166
2185
|
includeReasoning: z.boolean().optional(),
|
|
2167
2186
|
target: z.string().optional(),
|
|
2168
2187
|
to: z.string().optional(),
|
|
2188
|
+
accountId: z.string().optional(),
|
|
2169
2189
|
prompt: z.string().optional(),
|
|
2170
2190
|
ackMaxChars: z.number().int().nonnegative().optional()
|
|
2171
2191
|
}).strict().superRefine((val, ctx) => {
|
|
@@ -2560,7 +2580,8 @@ const AgentDefaultsSchema = z.object({
|
|
|
2560
2580
|
}).strict().optional(),
|
|
2561
2581
|
models: z.record(z.string(), z.object({
|
|
2562
2582
|
alias: z.string().optional(),
|
|
2563
|
-
params: z.record(z.string(), z.unknown()).optional()
|
|
2583
|
+
params: z.record(z.string(), z.unknown()).optional(),
|
|
2584
|
+
streaming: z.boolean().optional()
|
|
2564
2585
|
}).strict()).optional(),
|
|
2565
2586
|
workspace: z.string().optional(),
|
|
2566
2587
|
repoRoot: z.string().optional(),
|
|
@@ -2922,6 +2943,7 @@ const TelegramInlineButtonsScopeSchema = z.enum([
|
|
|
2922
2943
|
const TelegramCapabilitiesSchema = z.union([z.array(z.string()), z.object({ inlineButtons: TelegramInlineButtonsScopeSchema.optional() }).strict()]);
|
|
2923
2944
|
const TelegramTopicSchema = z.object({
|
|
2924
2945
|
requireMention: z.boolean().optional(),
|
|
2946
|
+
groupPolicy: GroupPolicySchema.optional(),
|
|
2925
2947
|
skills: z.array(z.string()).optional(),
|
|
2926
2948
|
enabled: z.boolean().optional(),
|
|
2927
2949
|
allowFrom: z.array(z.union([z.string(), z.number()])).optional(),
|
|
@@ -2929,6 +2951,7 @@ const TelegramTopicSchema = z.object({
|
|
|
2929
2951
|
}).strict();
|
|
2930
2952
|
const TelegramGroupSchema = z.object({
|
|
2931
2953
|
requireMention: z.boolean().optional(),
|
|
2954
|
+
groupPolicy: GroupPolicySchema.optional(),
|
|
2932
2955
|
tools: ToolPolicySchema,
|
|
2933
2956
|
toolsBySender: ToolPolicyBySenderSchema$1,
|
|
2934
2957
|
skills: z.array(z.string()).optional(),
|
|
@@ -3013,7 +3036,8 @@ const TelegramAccountSchemaBase = z.object({
|
|
|
3013
3036
|
"extensive"
|
|
3014
3037
|
]).optional(),
|
|
3015
3038
|
heartbeat: ChannelHeartbeatVisibilitySchema,
|
|
3016
|
-
linkPreview: z.boolean().optional()
|
|
3039
|
+
linkPreview: z.boolean().optional(),
|
|
3040
|
+
responsePrefix: z.string().optional()
|
|
3017
3041
|
}).strict();
|
|
3018
3042
|
const TelegramAccountSchema = TelegramAccountSchemaBase.superRefine((value, ctx) => {
|
|
3019
3043
|
requireOpenAllowFrom({
|
|
@@ -3081,6 +3105,7 @@ const DiscordGuildChannelSchema = z.object({
|
|
|
3081
3105
|
enabled: z.boolean().optional(),
|
|
3082
3106
|
users: z.array(z.union([z.string(), z.number()])).optional(),
|
|
3083
3107
|
systemPrompt: z.string().optional(),
|
|
3108
|
+
includeThreadStarter: z.boolean().optional(),
|
|
3084
3109
|
autoThread: z.boolean().optional()
|
|
3085
3110
|
}).strict();
|
|
3086
3111
|
const DiscordGuildSchema = z.object({
|
|
@@ -3155,7 +3180,8 @@ const DiscordAccountSchema = z.object({
|
|
|
3155
3180
|
pluralkit: z.object({
|
|
3156
3181
|
enabled: z.boolean().optional(),
|
|
3157
3182
|
token: z.string().optional()
|
|
3158
|
-
}).strict().optional()
|
|
3183
|
+
}).strict().optional(),
|
|
3184
|
+
responsePrefix: z.string().optional()
|
|
3159
3185
|
}).strict();
|
|
3160
3186
|
const DiscordConfigSchema = DiscordAccountSchema.extend({ accounts: z.record(z.string(), DiscordAccountSchema.optional()).optional() });
|
|
3161
3187
|
const GoogleChatDmSchema = z.object({
|
|
@@ -3210,7 +3236,8 @@ const GoogleChatAccountSchema = z.object({
|
|
|
3210
3236
|
"none",
|
|
3211
3237
|
"message",
|
|
3212
3238
|
"reaction"
|
|
3213
|
-
]).optional()
|
|
3239
|
+
]).optional(),
|
|
3240
|
+
responsePrefix: z.string().optional()
|
|
3214
3241
|
}).strict();
|
|
3215
3242
|
const GoogleChatConfigSchema = GoogleChatAccountSchema.extend({
|
|
3216
3243
|
accounts: z.record(z.string(), GoogleChatAccountSchema.optional()).optional(),
|
|
@@ -3305,7 +3332,8 @@ const SlackAccountSchema = z.object({
|
|
|
3305
3332
|
}).strict().optional(),
|
|
3306
3333
|
dm: SlackDmSchema.optional(),
|
|
3307
3334
|
channels: z.record(z.string(), SlackChannelSchema.optional()).optional(),
|
|
3308
|
-
heartbeat: ChannelHeartbeatVisibilitySchema
|
|
3335
|
+
heartbeat: ChannelHeartbeatVisibilitySchema,
|
|
3336
|
+
responsePrefix: z.string().optional()
|
|
3309
3337
|
}).strict();
|
|
3310
3338
|
const SlackConfigSchema = SlackAccountSchema.extend({
|
|
3311
3339
|
mode: z.enum(["socket", "http"]).optional().default("socket"),
|
|
@@ -3378,7 +3406,8 @@ const SignalAccountSchemaBase = z.object({
|
|
|
3378
3406
|
"minimal",
|
|
3379
3407
|
"extensive"
|
|
3380
3408
|
]).optional(),
|
|
3381
|
-
heartbeat: ChannelHeartbeatVisibilitySchema
|
|
3409
|
+
heartbeat: ChannelHeartbeatVisibilitySchema,
|
|
3410
|
+
responsePrefix: z.string().optional()
|
|
3382
3411
|
}).strict();
|
|
3383
3412
|
const SignalAccountSchema = SignalAccountSchemaBase.superRefine((value, ctx) => {
|
|
3384
3413
|
requireOpenAllowFrom({
|
|
@@ -3431,7 +3460,8 @@ const IMessageAccountSchemaBase = z.object({
|
|
|
3431
3460
|
tools: ToolPolicySchema,
|
|
3432
3461
|
toolsBySender: ToolPolicyBySenderSchema$1
|
|
3433
3462
|
}).strict().optional()).optional(),
|
|
3434
|
-
heartbeat: ChannelHeartbeatVisibilitySchema
|
|
3463
|
+
heartbeat: ChannelHeartbeatVisibilitySchema,
|
|
3464
|
+
responsePrefix: z.string().optional()
|
|
3435
3465
|
}).strict();
|
|
3436
3466
|
const IMessageAccountSchema = IMessageAccountSchemaBase.superRefine((value, ctx) => {
|
|
3437
3467
|
requireOpenAllowFrom({
|
|
@@ -3493,7 +3523,8 @@ const BlueBubblesAccountSchemaBase = z.object({
|
|
|
3493
3523
|
blockStreaming: z.boolean().optional(),
|
|
3494
3524
|
blockStreamingCoalesce: BlockStreamingCoalesceSchema.optional(),
|
|
3495
3525
|
groups: z.record(z.string(), BlueBubblesGroupConfigSchema.optional()).optional(),
|
|
3496
|
-
heartbeat: ChannelHeartbeatVisibilitySchema
|
|
3526
|
+
heartbeat: ChannelHeartbeatVisibilitySchema,
|
|
3527
|
+
responsePrefix: z.string().optional()
|
|
3497
3528
|
}).strict();
|
|
3498
3529
|
const BlueBubblesAccountSchema = BlueBubblesAccountSchemaBase.superRefine((value, ctx) => {
|
|
3499
3530
|
requireOpenAllowFrom({
|
|
@@ -3558,7 +3589,8 @@ const MSTeamsConfigSchema = z.object({
|
|
|
3558
3589
|
teams: z.record(z.string(), MSTeamsTeamSchema.optional()).optional(),
|
|
3559
3590
|
mediaMaxMb: z.number().positive().optional(),
|
|
3560
3591
|
sharePointSiteId: z.string().optional(),
|
|
3561
|
-
heartbeat: ChannelHeartbeatVisibilitySchema
|
|
3592
|
+
heartbeat: ChannelHeartbeatVisibilitySchema,
|
|
3593
|
+
responsePrefix: z.string().optional()
|
|
3562
3594
|
}).strict().superRefine((value, ctx) => {
|
|
3563
3595
|
requireOpenAllowFrom({
|
|
3564
3596
|
policy: value.dmPolicy,
|
|
@@ -3580,6 +3612,7 @@ const WhatsAppAccountSchema = z.object({
|
|
|
3580
3612
|
enabled: z.boolean().optional(),
|
|
3581
3613
|
sendReadReceipts: z.boolean().optional(),
|
|
3582
3614
|
messagePrefix: z.string().optional(),
|
|
3615
|
+
responsePrefix: z.string().optional(),
|
|
3583
3616
|
authDir: z.string().optional(),
|
|
3584
3617
|
dmPolicy: DmPolicySchema.optional().default("pairing"),
|
|
3585
3618
|
selfChatMode: z.boolean().optional(),
|
|
@@ -3627,6 +3660,7 @@ const WhatsAppConfigSchema = z.object({
|
|
|
3627
3660
|
sendReadReceipts: z.boolean().optional(),
|
|
3628
3661
|
dmPolicy: DmPolicySchema.optional().default("pairing"),
|
|
3629
3662
|
messagePrefix: z.string().optional(),
|
|
3663
|
+
responsePrefix: z.string().optional(),
|
|
3630
3664
|
selfChatMode: z.boolean().optional(),
|
|
3631
3665
|
allowFrom: z.array(z.string()).optional(),
|
|
3632
3666
|
groupAllowFrom: z.array(z.string()).optional(),
|
|
@@ -3765,7 +3799,8 @@ const CommandsSchema = z.object({
|
|
|
3765
3799
|
config: z.boolean().optional(),
|
|
3766
3800
|
debug: z.boolean().optional(),
|
|
3767
3801
|
restart: z.boolean().optional(),
|
|
3768
|
-
useAccessGroups: z.boolean().optional()
|
|
3802
|
+
useAccessGroups: z.boolean().optional(),
|
|
3803
|
+
ownerAllowFrom: z.array(z.union([z.string(), z.number()])).optional()
|
|
3769
3804
|
}).strict().optional().default({
|
|
3770
3805
|
native: "auto",
|
|
3771
3806
|
nativeSkills: "auto"
|
|
@@ -4850,4 +4885,31 @@ function migrateLegacyConfig(raw) {
|
|
|
4850
4885
|
}
|
|
4851
4886
|
|
|
4852
4887
|
//#endregion
|
|
4853
|
-
|
|
4888
|
+
//#region src/config/config.ts
|
|
4889
|
+
var config_exports = /* @__PURE__ */ __exportAll({
|
|
4890
|
+
CONFIG_PATH: () => CONFIG_PATH,
|
|
4891
|
+
DEFAULT_GATEWAY_PORT: () => DEFAULT_GATEWAY_PORT,
|
|
4892
|
+
STATE_DIR: () => STATE_DIR,
|
|
4893
|
+
applyConfigOverrides: () => applyConfigOverrides,
|
|
4894
|
+
getConfigOverrides: () => getConfigOverrides,
|
|
4895
|
+
isNixMode: () => isNixMode,
|
|
4896
|
+
loadConfig: () => loadConfig,
|
|
4897
|
+
resetConfigOverrides: () => resetConfigOverrides,
|
|
4898
|
+
resolveCanonicalConfigPath: () => resolveCanonicalConfigPath,
|
|
4899
|
+
resolveConfigPath: () => resolveConfigPath,
|
|
4900
|
+
resolveConfigPathCandidate: () => resolveConfigPathCandidate,
|
|
4901
|
+
resolveDefaultConfigCandidates: () => resolveDefaultConfigCandidates,
|
|
4902
|
+
resolveGatewayLockDir: () => resolveGatewayLockDir,
|
|
4903
|
+
resolveGatewayPort: () => resolveGatewayPort,
|
|
4904
|
+
resolveIsNixMode: () => resolveIsNixMode,
|
|
4905
|
+
resolveLegacyStateDirs: () => resolveLegacyStateDirs,
|
|
4906
|
+
resolveNewStateDir: () => resolveNewStateDir,
|
|
4907
|
+
resolveOAuthDir: () => resolveOAuthDir,
|
|
4908
|
+
resolveOAuthPath: () => resolveOAuthPath,
|
|
4909
|
+
resolveStateDir: () => resolveStateDir,
|
|
4910
|
+
setConfigOverride: () => setConfigOverride,
|
|
4911
|
+
unsetConfigOverride: () => unsetConfigOverride
|
|
4912
|
+
});
|
|
4913
|
+
|
|
4914
|
+
//#endregion
|
|
4915
|
+
export { resolveSubagentMaxConcurrent as A, setConfigValueAtPath as C, MAX_INCLUDE_DEPTH as D, INCLUDE_KEY as E, collectConfigEnvVars as O, parseConfigPath as S, applyLegacyMigrations as T, getConfigOverrides as _, parseConfigJson5 as a, unsetConfigOverride as b, writeConfigFile as c, TELEGRAM_COMMAND_NAME_PATTERN as d, normalizeTelegramCommandName as f, validateJsonSchemaValue as g, parseDurationMs as h, loadConfig as i, VERSION as j, resolveAgentMaxConcurrent as k, validateConfigObjectWithPlugins as l, isSafeExecutableValue as m, migrateLegacyConfig as n, readConfigFileSnapshot as o, resolveTelegramCustomCommands as p, createConfigIO as r, resolveConfigSnapshotHash as s, config_exports as t, OpenClawSchema as u, resetConfigOverrides as v, unsetConfigValueAtPath as w, getConfigValueAtPath as x, setConfigOverride as y };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import { $ as DEFAULT_CHAT_CHANNEL, B as resolveConfigPath, C as setVerbose, D as colorize, J as resolveOAuthDir, L as STATE_DIR, O as isRich, R as isNixMode, W as resolveGatewayPort, X as resolveStateDir, a as parseBooleanValue, f as visibleWidth, k as theme, m as restoreTerminalState, nt as getChatChannelMeta, ot as normalizeChatChannelId, p as defaultRuntime, v as danger, y as info } from "./entry.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as formatCliCommand } from "./command-format-
|
|
4
|
-
import {
|
|
5
|
-
import { f as resolveHomeDir, g as shortenHomePath, h as shortenHomeInString, m as resolveUserPath } from "./utils-
|
|
6
|
-
import { t as runCommandWithTimeout } from "./exec-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { n as
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { n as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import { n as
|
|
27
|
-
import { t as
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import { t as resolveGatewayService } from "./service-
|
|
31
|
-
import { r as isSystemdUserServiceAvailable } from "./systemd-
|
|
32
|
-
import { t as renderTable } from "./table-
|
|
33
|
-
import { d as applyAuthChoice, f as
|
|
34
|
-
import {
|
|
35
|
-
import { $ as setVeniceApiKey, C as applyMoonshotConfig, D as applyOpenrouterConfig, F as
|
|
36
|
-
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-
|
|
37
|
-
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-
|
|
38
|
-
import { a as createOutboundSendDeps, n as resolveSessionKeyForRequest, t as agentCommand } from "./agent-
|
|
39
|
-
import { t as formatHelpExamples } from "./help-format-
|
|
40
|
-
import {
|
|
41
|
-
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-
|
|
42
|
-
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-
|
|
2
|
+
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-CYBuGiBb.js";
|
|
3
|
+
import { t as formatCliCommand } from "./command-format-ayFsmwwz.js";
|
|
4
|
+
import { c as normalizeAgentId, n as DEFAULT_AGENT_ID, t as DEFAULT_ACCOUNT_ID } from "./session-key-CZkcvAtx.js";
|
|
5
|
+
import { f as resolveHomeDir, g as shortenHomePath, h as shortenHomeInString, m as resolveUserPath } from "./utils-DX85MiPR.js";
|
|
6
|
+
import { t as runCommandWithTimeout } from "./exec-B8JKbXKW.js";
|
|
7
|
+
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-C9VjJXEK.js";
|
|
8
|
+
import { c as writeConfigFile, h as parseDurationMs, i as loadConfig, o as readConfigFileSnapshot, r as createConfigIO } from "./config-CKLedg5Y.js";
|
|
9
|
+
import { n as movePathToTrash } from "./server-context-yKyxyxOJ.js";
|
|
10
|
+
import { i as randomIdempotencyKey, n as callGateway } from "./call-90HgQQ8o.js";
|
|
11
|
+
import { h as GATEWAY_CLIENT_NAMES, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES } from "./message-channel-BlgPSDAh.js";
|
|
12
|
+
import { t as formatDocsLink } from "./links-D0uzJbi6.js";
|
|
13
|
+
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-BUPpq5aS.js";
|
|
14
|
+
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-_Pj-TZS2.js";
|
|
15
|
+
import { n as withProgress } from "./progress-Da1ehW-x.js";
|
|
16
|
+
import { n as stylePromptMessage, r as stylePromptTitle, t as stylePromptHint } from "./prompt-style-Dc0C5HC9.js";
|
|
17
|
+
import { t as WizardCancelledError } from "./prompts-CXLLIBwP.js";
|
|
18
|
+
import { t as createClackPrompter } from "./clack-prompter-DuBVnTKy.js";
|
|
19
|
+
import { t as resolveChannelDefaultAccountId } from "./helpers-D66_XoIz.js";
|
|
20
|
+
import { n as setupChannels } from "./onboard-channels-D-ZQTy5V.js";
|
|
21
|
+
import { a as resolveSessionTranscriptsDirForAgent, i as resolveSessionTranscriptsDir, o as resolveStorePath } from "./paths-CTg8F3AE.js";
|
|
22
|
+
import { d as loadSessionStore } from "./sandbox-DuqLKN5J.js";
|
|
23
|
+
import { r as runCommandWithRuntime } from "./cli-utils-ByANh4Sp.js";
|
|
24
|
+
import { n as ensurePluginRegistryLoaded, t as hasExplicitOptions } from "./command-options-DUUINcz0.js";
|
|
25
|
+
import { l as getVerboseFlag, o as getFlagValue, r as registerSubCliCommands, s as getPositiveIntFlagValue, u as hasFlag } from "./register.subclis-BpIR6Iqi.js";
|
|
26
|
+
import { n as parsePositiveIntOrUndefined, t as collectOption } from "./helpers-EKm3X92T.js";
|
|
27
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-CWnTaSEY.js";
|
|
28
|
+
import { t as createDefaultDeps } from "./deps-ytXmI88x.js";
|
|
29
|
+
import { a as gatewayInstallErrorHint, h as assertSupportedRuntime, i as buildGatewayInstallPlan, r as isGatewayDaemonRuntime, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-BCn_QIHK.js";
|
|
30
|
+
import { t as resolveGatewayService } from "./service-_JwSmGSn.js";
|
|
31
|
+
import { r as isSystemdUserServiceAvailable } from "./systemd-8sIc6isV.js";
|
|
32
|
+
import { t as renderTable } from "./table-CJSx0YID.js";
|
|
33
|
+
import { d as applyAuthChoice, f as applyOpenAIConfig, h as promptAuthChoiceGrouped, m as applyGoogleGeminiModelDefault, p as upsertSharedEnvVar, u as warnIfModelConfigLooksOff } from "./onboard-skills-YobctE-R.js";
|
|
34
|
+
import { l as healthCommand } from "./health-format-ND2rUbQO.js";
|
|
35
|
+
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-B_lK1g__.js";
|
|
36
|
+
import { n as logConfigUpdated, t as formatConfigPath } from "./logging-Cc7m6PTv.js";
|
|
37
|
+
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-BRXuHUsK.js";
|
|
38
|
+
import { a as createOutboundSendDeps, n as resolveSessionKeyForRequest, t as agentCommand } from "./agent-DztWhVCH.js";
|
|
39
|
+
import { t as formatHelpExamples } from "./help-format-CfZ94KRN.js";
|
|
40
|
+
import { i as CONFIGURE_WIZARD_SECTIONS, n as configureCommand, r as configureCommandWithSections } from "./configure-ChnTy7Jz.js";
|
|
41
|
+
import { n as ensureSystemdUserLingerNonInteractive } from "./systemd-linger-SsSOsJST.js";
|
|
42
|
+
import { n as loadAndMaybeMigrateDoctorConfig, t as doctorCommand } from "./doctor-JnMryC_M.js";
|
|
43
43
|
import path from "node:path";
|
|
44
44
|
import fs from "node:fs";
|
|
45
45
|
import JSON5 from "json5";
|
|
@@ -1747,8 +1747,15 @@ async function copyToClipboard(value) {
|
|
|
1747
1747
|
|
|
1748
1748
|
//#endregion
|
|
1749
1749
|
//#region src/cli/browser-cli-extension.ts
|
|
1750
|
-
function
|
|
1751
|
-
|
|
1750
|
+
function resolveBundledExtensionRootDir(here = path.dirname(fileURLToPath(import.meta.url))) {
|
|
1751
|
+
let current = here;
|
|
1752
|
+
while (true) {
|
|
1753
|
+
const candidate = path.join(current, "assets", "chrome-extension");
|
|
1754
|
+
if (hasManifest(candidate)) return candidate;
|
|
1755
|
+
const parent = path.dirname(current);
|
|
1756
|
+
if (parent === current) break;
|
|
1757
|
+
current = parent;
|
|
1758
|
+
}
|
|
1752
1759
|
return path.resolve(here, "../../assets/chrome-extension");
|
|
1753
1760
|
}
|
|
1754
1761
|
function installedExtensionRootDir() {
|
|
@@ -1758,7 +1765,7 @@ function hasManifest(dir) {
|
|
|
1758
1765
|
return fs.existsSync(path.join(dir, "manifest.json"));
|
|
1759
1766
|
}
|
|
1760
1767
|
async function installChromeExtension(opts) {
|
|
1761
|
-
const src = opts?.sourceDir ??
|
|
1768
|
+
const src = opts?.sourceDir ?? resolveBundledExtensionRootDir();
|
|
1762
1769
|
if (!hasManifest(src)) throw new Error("Bundled Chrome extension is missing. Reinstall OpenClaw and try again.");
|
|
1763
1770
|
const stateDir = opts?.stateDir ?? STATE_DIR;
|
|
1764
1771
|
const dest = path.join(stateDir, "browser", "chrome-extension");
|
|
@@ -2783,7 +2790,7 @@ async function loadValidConfig() {
|
|
|
2783
2790
|
}
|
|
2784
2791
|
function registerConfigCli(program) {
|
|
2785
2792
|
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) => {
|
|
2786
|
-
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections } = await import("./configure-
|
|
2793
|
+
const { CONFIGURE_WIZARD_SECTIONS, configureCommand, configureCommandWithSections } = await import("./configure-ChnTy7Jz.js").then((n) => n.t);
|
|
2787
2794
|
const sections = Array.isArray(opts.section) ? opts.section.map((value) => typeof value === "string" ? value.trim() : "").filter(Boolean) : [];
|
|
2788
2795
|
if (sections.length === 0) {
|
|
2789
2796
|
await configureCommand(defaultRuntime);
|
|
@@ -3069,25 +3076,22 @@ async function dashboardCommand(runtime = defaultRuntime, options = {}) {
|
|
|
3069
3076
|
const bind = cfg.gateway?.bind ?? "loopback";
|
|
3070
3077
|
const basePath = cfg.gateway?.controlUi?.basePath;
|
|
3071
3078
|
const customBindHost = cfg.gateway?.customBindHost;
|
|
3072
|
-
const
|
|
3073
|
-
const links = resolveControlUiLinks({
|
|
3079
|
+
const dashboardUrl = resolveControlUiLinks({
|
|
3074
3080
|
port,
|
|
3075
3081
|
bind,
|
|
3076
3082
|
customBindHost,
|
|
3077
3083
|
basePath
|
|
3078
|
-
});
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
const copied = await copyToClipboard(authedUrl).catch(() => false);
|
|
3084
|
+
}).httpUrl;
|
|
3085
|
+
runtime.log(`Dashboard URL: ${dashboardUrl}`);
|
|
3086
|
+
const copied = await copyToClipboard(dashboardUrl).catch(() => false);
|
|
3082
3087
|
runtime.log(copied ? "Copied to clipboard." : "Copy to clipboard unavailable.");
|
|
3083
3088
|
let opened = false;
|
|
3084
3089
|
let hint;
|
|
3085
3090
|
if (!options.noOpen) {
|
|
3086
|
-
if ((await detectBrowserOpenSupport()).ok) opened = await openUrl(
|
|
3091
|
+
if ((await detectBrowserOpenSupport()).ok) opened = await openUrl(dashboardUrl);
|
|
3087
3092
|
if (!opened) hint = formatControlUiSshHint({
|
|
3088
3093
|
port,
|
|
3089
|
-
basePath
|
|
3090
|
-
token: token || void 0
|
|
3094
|
+
basePath
|
|
3091
3095
|
});
|
|
3092
3096
|
} else hint = "Browser launch disabled (--no-open). Use the URL above.";
|
|
3093
3097
|
if (opened) runtime.log("Opened in your browser. Keep that tab to control OpenClaw.");
|
|
@@ -4116,6 +4120,97 @@ async function runInteractiveOnboarding(opts, runtime = defaultRuntime) {
|
|
|
4116
4120
|
}
|
|
4117
4121
|
}
|
|
4118
4122
|
|
|
4123
|
+
//#endregion
|
|
4124
|
+
//#region src/commands/onboard-non-interactive/local/auth-choice-inference.ts
|
|
4125
|
+
const AUTH_CHOICE_FLAG_MAP = [
|
|
4126
|
+
{
|
|
4127
|
+
flag: "anthropicApiKey",
|
|
4128
|
+
authChoice: "apiKey",
|
|
4129
|
+
label: "--anthropic-api-key"
|
|
4130
|
+
},
|
|
4131
|
+
{
|
|
4132
|
+
flag: "geminiApiKey",
|
|
4133
|
+
authChoice: "gemini-api-key",
|
|
4134
|
+
label: "--gemini-api-key"
|
|
4135
|
+
},
|
|
4136
|
+
{
|
|
4137
|
+
flag: "openaiApiKey",
|
|
4138
|
+
authChoice: "openai-api-key",
|
|
4139
|
+
label: "--openai-api-key"
|
|
4140
|
+
},
|
|
4141
|
+
{
|
|
4142
|
+
flag: "openrouterApiKey",
|
|
4143
|
+
authChoice: "openrouter-api-key",
|
|
4144
|
+
label: "--openrouter-api-key"
|
|
4145
|
+
},
|
|
4146
|
+
{
|
|
4147
|
+
flag: "aiGatewayApiKey",
|
|
4148
|
+
authChoice: "ai-gateway-api-key",
|
|
4149
|
+
label: "--ai-gateway-api-key"
|
|
4150
|
+
},
|
|
4151
|
+
{
|
|
4152
|
+
flag: "cloudflareAiGatewayApiKey",
|
|
4153
|
+
authChoice: "cloudflare-ai-gateway-api-key",
|
|
4154
|
+
label: "--cloudflare-ai-gateway-api-key"
|
|
4155
|
+
},
|
|
4156
|
+
{
|
|
4157
|
+
flag: "moonshotApiKey",
|
|
4158
|
+
authChoice: "moonshot-api-key",
|
|
4159
|
+
label: "--moonshot-api-key"
|
|
4160
|
+
},
|
|
4161
|
+
{
|
|
4162
|
+
flag: "kimiCodeApiKey",
|
|
4163
|
+
authChoice: "kimi-code-api-key",
|
|
4164
|
+
label: "--kimi-code-api-key"
|
|
4165
|
+
},
|
|
4166
|
+
{
|
|
4167
|
+
flag: "syntheticApiKey",
|
|
4168
|
+
authChoice: "synthetic-api-key",
|
|
4169
|
+
label: "--synthetic-api-key"
|
|
4170
|
+
},
|
|
4171
|
+
{
|
|
4172
|
+
flag: "veniceApiKey",
|
|
4173
|
+
authChoice: "venice-api-key",
|
|
4174
|
+
label: "--venice-api-key"
|
|
4175
|
+
},
|
|
4176
|
+
{
|
|
4177
|
+
flag: "zaiApiKey",
|
|
4178
|
+
authChoice: "zai-api-key",
|
|
4179
|
+
label: "--zai-api-key"
|
|
4180
|
+
},
|
|
4181
|
+
{
|
|
4182
|
+
flag: "xiaomiApiKey",
|
|
4183
|
+
authChoice: "xiaomi-api-key",
|
|
4184
|
+
label: "--xiaomi-api-key"
|
|
4185
|
+
},
|
|
4186
|
+
{
|
|
4187
|
+
flag: "xaiApiKey",
|
|
4188
|
+
authChoice: "xai-api-key",
|
|
4189
|
+
label: "--xai-api-key"
|
|
4190
|
+
},
|
|
4191
|
+
{
|
|
4192
|
+
flag: "minimaxApiKey",
|
|
4193
|
+
authChoice: "minimax-api",
|
|
4194
|
+
label: "--minimax-api-key"
|
|
4195
|
+
},
|
|
4196
|
+
{
|
|
4197
|
+
flag: "opencodeZenApiKey",
|
|
4198
|
+
authChoice: "opencode-zen",
|
|
4199
|
+
label: "--opencode-zen-api-key"
|
|
4200
|
+
}
|
|
4201
|
+
];
|
|
4202
|
+
function inferAuthChoiceFromFlags(opts) {
|
|
4203
|
+
const matches = AUTH_CHOICE_FLAG_MAP.filter(({ flag }) => {
|
|
4204
|
+
const value = opts[flag];
|
|
4205
|
+
if (typeof value === "string") return value.trim().length > 0;
|
|
4206
|
+
return Boolean(value);
|
|
4207
|
+
});
|
|
4208
|
+
return {
|
|
4209
|
+
choice: matches[0]?.authChoice,
|
|
4210
|
+
matches
|
|
4211
|
+
};
|
|
4212
|
+
}
|
|
4213
|
+
|
|
4119
4214
|
//#endregion
|
|
4120
4215
|
//#region src/commands/onboard-non-interactive/api-keys.ts
|
|
4121
4216
|
async function resolveApiKeyFromProfiles(params) {
|
|
@@ -4304,6 +4399,24 @@ async function applyNonInteractiveAuthChoice(params) {
|
|
|
4304
4399
|
});
|
|
4305
4400
|
return applyXiaomiConfig(nextConfig);
|
|
4306
4401
|
}
|
|
4402
|
+
if (authChoice === "xai-api-key") {
|
|
4403
|
+
const resolved = await resolveNonInteractiveApiKey({
|
|
4404
|
+
provider: "xai",
|
|
4405
|
+
cfg: baseConfig,
|
|
4406
|
+
flagValue: opts.xaiApiKey,
|
|
4407
|
+
flagName: "--xai-api-key",
|
|
4408
|
+
envVar: "XAI_API_KEY",
|
|
4409
|
+
runtime
|
|
4410
|
+
});
|
|
4411
|
+
if (!resolved) return null;
|
|
4412
|
+
if (resolved.source !== "profile") setXaiApiKey(resolved.key);
|
|
4413
|
+
nextConfig = applyAuthProfileConfig(nextConfig, {
|
|
4414
|
+
profileId: "xai:default",
|
|
4415
|
+
provider: "xai",
|
|
4416
|
+
mode: "api_key"
|
|
4417
|
+
});
|
|
4418
|
+
return applyXaiConfig(nextConfig);
|
|
4419
|
+
}
|
|
4307
4420
|
if (authChoice === "openai-api-key") {
|
|
4308
4421
|
const resolved = await resolveNonInteractiveApiKey({
|
|
4309
4422
|
provider: "openai",
|
|
@@ -4322,7 +4435,7 @@ async function applyNonInteractiveAuthChoice(params) {
|
|
|
4322
4435
|
});
|
|
4323
4436
|
process.env.OPENAI_API_KEY = key;
|
|
4324
4437
|
runtime.log(`Saved OPENAI_API_KEY to ${shortenHomePath(result.path)}`);
|
|
4325
|
-
return nextConfig;
|
|
4438
|
+
return applyOpenAIConfig(nextConfig);
|
|
4326
4439
|
}
|
|
4327
4440
|
if (authChoice === "openrouter-api-key") {
|
|
4328
4441
|
const resolved = await resolveNonInteractiveApiKey({
|
|
@@ -4719,7 +4832,17 @@ async function runNonInteractiveOnboardingLocal(params) {
|
|
|
4719
4832
|
mode: "local"
|
|
4720
4833
|
}
|
|
4721
4834
|
};
|
|
4722
|
-
const
|
|
4835
|
+
const inferredAuthChoice = inferAuthChoiceFromFlags(opts);
|
|
4836
|
+
if (!opts.authChoice && inferredAuthChoice.matches.length > 1) {
|
|
4837
|
+
runtime.error([
|
|
4838
|
+
"Multiple API key flags were provided for non-interactive onboarding.",
|
|
4839
|
+
"Use a single provider flag or pass --auth-choice explicitly.",
|
|
4840
|
+
`Flags: ${inferredAuthChoice.matches.map((match) => match.label).join(", ")}`
|
|
4841
|
+
].join("\n"));
|
|
4842
|
+
runtime.exit(1);
|
|
4843
|
+
return;
|
|
4844
|
+
}
|
|
4845
|
+
const authChoice = opts.authChoice ?? inferredAuthChoice.choice ?? "skip";
|
|
4723
4846
|
const nextConfigAfterAuth = await applyNonInteractiveAuthChoice({
|
|
4724
4847
|
nextConfig,
|
|
4725
4848
|
authChoice,
|
|
@@ -4922,7 +5045,7 @@ function resolveInstallDaemonFlag(command, opts) {
|
|
|
4922
5045
|
if (getOptionValueSource.call(command, "installDaemon") === "cli") return Boolean(opts.installDaemon);
|
|
4923
5046
|
}
|
|
4924
5047
|
function registerOnboardCommand(program) {
|
|
4925
|
-
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: ~/.openclaw/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|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("--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("--json", "Output JSON summary", false).action(async (opts, command) => {
|
|
5048
|
+
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: ~/.openclaw/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("--json", "Output JSON summary", false).action(async (opts, command) => {
|
|
4926
5049
|
await runCommandWithRuntime(defaultRuntime, async () => {
|
|
4927
5050
|
const installDaemon = resolveInstallDaemonFlag(command, { installDaemon: Boolean(opts.installDaemon) });
|
|
4928
5051
|
const gatewayPort = typeof opts.gatewayPort === "string" ? Number.parseInt(opts.gatewayPort, 10) : void 0;
|
|
@@ -4953,6 +5076,7 @@ function registerOnboardCommand(program) {
|
|
|
4953
5076
|
syntheticApiKey: opts.syntheticApiKey,
|
|
4954
5077
|
veniceApiKey: opts.veniceApiKey,
|
|
4955
5078
|
opencodeZenApiKey: opts.opencodeZenApiKey,
|
|
5079
|
+
xaiApiKey: opts.xaiApiKey,
|
|
4956
5080
|
gatewayPort: typeof gatewayPort === "number" && Number.isFinite(gatewayPort) ? gatewayPort : void 0,
|
|
4957
5081
|
gatewayBind: opts.gatewayBind,
|
|
4958
5082
|
gatewayAuth: opts.gatewayAuth,
|