@guadskill/openclaw-proxy 2026.3.7 → 2026.3.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{accounts-BAXPpGUT.js → accounts-B_Mf6Ybe.js} +1 -1
- package/dist/{accounts-DDk7Alkl.js → accounts-CGMgxUfN.js} +7 -7
- package/dist/{accounts-DIGnwOCI.js → accounts-NKTm9o4M.js} +1 -1
- package/dist/{acp-cli-CL-bRMaF.js → acp-cli-BKb3AGdK.js} +8 -8
- package/dist/{agent-scope-CT92dyCK.js → agent-scope-Dd2_TNoB.js} +17 -17
- package/dist/{agents-Ux5TCgO6.js → agents-yZG80_Bk.js} +14 -14
- package/dist/{agents.config-7ZBT3aJH.js → agents.config-iby7tWX6.js} +3 -3
- package/dist/{api-key-rotation-D7uyLcCV.js → api-key-rotation-DsHx0Ttu.js} +1 -1
- package/dist/{audio-preflight-CqbpJICd.js → audio-preflight-DbDIZaaN.js} +4 -4
- package/dist/{audio-preflight-B0sj35Ce.js → audio-preflight-Ot_1VrgG.js} +34 -34
- package/dist/{audio-transcription-runner-Cdvz7bpD.js → audio-transcription-runner-Cl9Pu_e3.js} +23 -23
- package/dist/{audio-transcription-runner-EQqd2K8L.js → audio-transcription-runner-DX0Waokh.js} +1 -1
- package/dist/{audit-qqRogHSL.js → audit-DtKtvGnO.js} +29 -29
- package/dist/{auth-DfEti-nH.js → auth-DkciOmKe.js} +1 -1
- package/dist/{auth-choice-BjQ5BF_A.js → auth-choice-CDiDpyjK.js} +12 -12
- package/dist/{auth-choice-C4XhKa87.js → auth-choice-mCitki7b.js} +13 -13
- package/dist/{auth-choice.apply-helpers-BJLWC6EX.js → auth-choice.apply-helpers-DFO2u4vW.js} +1 -1
- package/dist/{auth-profiles-Bh2dHooQ.js → auth-profiles-QXvcpjIT.js} +16 -16
- package/dist/{auth-token-qGutIUyw.js → auth-token-4Y8dUkki.js} +1 -1
- package/dist/{banner-D3w3334V.js → banner-BIxf18aP.js} +2 -2
- package/dist/{bonjour-discovery-Dk22JKmo.js → bonjour-discovery-DBClG9uw.js} +1 -1
- package/dist/{browser-cli-C1NkBy0u.js → browser-cli-B0KE9qxO.js} +12 -12
- package/dist/build-info.json +3 -3
- package/dist/{call-Bl8osGeS.js → call-B56A9tyz.js} +10 -10
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-Bkq8Tao4.js → channel-account-context-CkpkengK.js} +5 -5
- package/dist/{channel-activity-DFfVKdMC.js → channel-activity-ClJu0F_1.js} +1 -1
- package/dist/{channel-options-Ddq9nbjL.js → channel-options-BGF--IMr.js} +3 -3
- package/dist/{channel-selection-TEB-oKFB.js → channel-selection-DHlVN8Pr.js} +1 -1
- package/dist/{channel-web-BRc8grVl.js → channel-web-CJ_qOhFv.js} +17 -17
- package/dist/{channels-cli-0uHlhl_q.js → channels-cli-CdmEguK_.js} +93 -93
- package/dist/{channels-status-issues-CHYRNB54.js → channels-status-issues-CmDh358n.js} +1 -1
- package/dist/{chrome-BKmthESk.js → chrome-CMibSHuV.js} +8 -8
- package/dist/{chrome-8g2ppizL.js → chrome-CjADilJt.js} +4 -4
- package/dist/{clawbot-cli-C40Lz65o.js → clawbot-cli-CYI_p-Ig.js} +11 -11
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-B4cqtuy2.js → cli-C7HjUgZL.js} +72 -72
- package/dist/{client-IQ7AZ1A-.js → client-DaFloLVI.js} +3 -3
- package/dist/{command-registry-CufWvKi3.js → command-registry-CrsK0cpv.js} +11 -11
- package/dist/{command-secret-targets-B1PuKXnU.js → command-secret-targets-CsIlET0p.js} +4 -4
- package/dist/{commands-DP7Bcuo2.js → commands-C-YxTe08.js} +1 -1
- package/dist/{commands-registry-B5lrLxcS.js → commands-registry-WI8KXlO7.js} +3 -3
- package/dist/{compact-SZ3BDWQp.js → compact-BBdhRYXH.js} +149 -149
- package/dist/compact.runtime-DDxAzGC2.js +110 -0
- package/dist/{compact.runtime-CMZ_UYyk.js → compact.runtime-DdbMKiHW.js} +6 -6
- package/dist/{completion-cli-B0f-xBOC.js → completion-cli-Bg8nShmO.js} +1 -1
- package/dist/{completion-cli-DQ2oZ0Xm.js → completion-cli-D1eUD4z0.js} +13 -13
- package/dist/{config-cli-CC2671nv.js → config-cli-C8aGIdsa.js} +7 -7
- package/dist/{config-cli-C0Z8l_cH.js → config-cli-DfABZZJ1.js} +1 -1
- package/dist/{config-guard-THCtF7SH.js → config-guard-CdbAZXqh.js} +3 -3
- package/dist/{config-validation-BgjGiBwk.js → config-validation-Bn0atyWE.js} +3 -3
- package/dist/{configure-CyhJDi-o.js → configure-PWOO1SWf.js} +19 -19
- package/dist/{configure-CwCN7C4J.js → configure-tNoPV8AJ.js} +1 -1
- package/dist/{control-ui-assets-DIBwwDAL.js → control-ui-assets-B1qVA62q.js} +1 -1
- package/dist/{cron-cli-DEWQQAZg.js → cron-cli-BWWBn58q.js} +11 -11
- package/dist/{daemon-cli-fixQtS_3.js → daemon-cli-Ckhi3S0x.js} +5 -5
- package/dist/{daemon-cli-DDOlXF-y.js → daemon-cli-Di0mFZWs.js} +16 -16
- package/dist/daemon-cli.js +9 -4
- package/dist/{daemon-install-C4AKaLdy.js → daemon-install-B2fT93a3.js} +21 -21
- package/dist/{daemon-install-D0yIgdZW.js → daemon-install-CWpghW8k.js} +1 -1
- package/dist/{daemon-install-helpers-CVfc_ZXM.js → daemon-install-helpers-BWyx8Sx7.js} +12 -12
- package/dist/{deliver-754C3f2C.js → deliver-BSlI6o2D.js} +7 -7
- package/dist/{deliver-D-x487kv.js → deliver-DBsYfyHP.js} +1 -1
- package/dist/deliver-runtime-BjkTIwlL.js +57 -0
- package/dist/{deliver-runtime-gs8PEJHW.js → deliver-runtime-Yz8xsseU.js} +3 -3
- package/dist/deps-send-discord.runtime-COZDJ4kj.js +31 -0
- package/dist/deps-send-imessage.runtime-CrUNGLpB.js +30 -0
- package/dist/deps-send-signal.runtime-BdIsLRiH.js +29 -0
- package/dist/deps-send-slack.runtime-haEMGbWP.js +27 -0
- package/dist/deps-send-telegram.runtime-TdOBj1BE.js +33 -0
- package/dist/deps-send-whatsapp.runtime-Bf8yUhOp.js +115 -0
- package/dist/{deps-send-whatsapp.runtime-D9cBUcGe.js → deps-send-whatsapp.runtime-Mb5nI79S.js} +7 -7
- package/dist/{devices-cli-quvV3Kka.js → devices-cli-D78eahM0.js} +8 -8
- package/dist/{diagnostic-D0TftuxK.js → diagnostic-CFCd8W0m.js} +1 -1
- package/dist/{diagnostics-BrA18SV4.js → diagnostics-CJLP-HQK.js} +5 -5
- package/dist/{diagnostics-CKEVHs7n.js → diagnostics-g4kCl3Wr.js} +1 -1
- package/dist/{directory-cli-CRRwqLtU.js → directory-cli-CchmjuDY.js} +7 -7
- package/dist/{dns-cli-LufK6hHQ.js → dns-cli-C73_Y0ZB.js} +5 -5
- package/dist/{dock-tPqNmtNL.js → dock-wtxEAACu.js} +4 -4
- package/dist/{docs-cli-BJb-cOpV.js → docs-cli-CdYaag66.js} +4 -4
- package/dist/{doctor-completion-DDK1pAvc.js → doctor-completion-B7MotNqQ.js} +1 -1
- package/dist/{doctor-completion-CbB8sBAb.js → doctor-completion-DmWeZX0M.js} +2 -2
- package/dist/{doctor-config-flow-qCvK2k4B.js → doctor-config-flow-CLlEO2jJ.js} +16 -16
- package/dist/{enable-DfvB7o85.js → enable-Dk8s7RC7.js} +1 -1
- package/dist/entry.js +2 -2
- package/dist/{exec-approvals-allowlist-BKsPjl3W.js → exec-approvals-allowlist-BTePmA7R.js} +1 -1
- package/dist/{exec-approvals-cli-raoktoDD.js → exec-approvals-cli-DzmNRLok.js} +16 -16
- package/dist/{exec-approvals-cli-DKUcKVKU.js → exec-approvals-cli-sNZ1MCrZ.js} +2 -2
- package/dist/{exec-safe-bin-runtime-policy-Cm7TKqpY.js → exec-safe-bin-runtime-policy-B8a4-DkO.js} +2 -2
- package/dist/extensionAPI.js +6 -6
- package/dist/{fetch-OsQusEch.js → fetch-CLpizcRC.js} +3 -3
- package/dist/{fetch-guard-CYvHLcm1.js → fetch-guard-CTJIkmOy.js} +1 -1
- package/dist/{fs-safe-CgWykA_r.js → fs-safe-DZPN9PEp.js} +24 -24
- package/dist/{gateway-cli-FCR2v3fN.js → gateway-cli-B-C_BUeg.js} +158 -158
- package/dist/{gateway-cli-CQfPJGkv.js → gateway-cli-DuJgUJEo.js} +9 -9
- package/dist/{gateway-install-token-DpBkW5NL.js → gateway-install-token-DUJ-X-CS.js} +3 -3
- package/dist/{gateway-rpc-vqmfnd4e.js → gateway-rpc-CZWffg-J.js} +1 -1
- package/dist/{health-CX11t-Su.js → health-CqfjbU3N.js} +11 -11
- package/dist/{hooks-cli-D9dqop-W.js → hooks-cli-CwrgdWfU.js} +80 -80
- package/dist/{hooks-status-wJu8Rm9x.js → hooks-status-41E49JnH.js} +1 -1
- package/dist/{image-gKRn4k2T.js → image-C-OScNLH.js} +5 -5
- package/dist/{image-BH87HyHn.js → image-Nk4Z8dsI.js} +1 -1
- package/dist/{image-ops-Dt4M7xkd.js → image-ops-sooGTpsU.js} +10 -10
- package/dist/image-runtime-CvfZqzwb.js +51 -0
- package/dist/{image-runtime-RUsR--QR.js → image-runtime-koB5Zl5s.js} +3 -3
- package/dist/index.js +1 -1
- package/dist/{inspect-DYLkh7ux.js → inspect-BESssF_o.js} +1 -1
- package/dist/{inspect-Bg11sSfy.js → inspect-BLDaR51z.js} +4 -4
- package/dist/{install-safe-path-Brs51UVy.js → install-safe-path-NpGSerww.js} +25 -25
- package/dist/{installs-XHd3fauV.js → installs-CLaVeEP2.js} +8 -8
- package/dist/{ipv4-s-bz8E7J.js → ipv4-oTVR6LLm.js} +1 -1
- package/dist/{ir-DTl0TSQX.js → ir-MJchm-P0.js} +8 -8
- package/dist/{issue-format-8vbMtP-9.js → issue-format-BhYUpe8G.js} +1 -1
- package/dist/{json-files-Byf92VOl.js → json-files-D-hzuOc8.js} +8 -8
- package/dist/{lifecycle-core-D57bmaEM.js → lifecycle-core-BDRJ-gZl.js} +5 -5
- package/dist/{lifecycle-core-Bh-Jy8dW.js → lifecycle-core-Cuioj9RE.js} +2 -2
- package/dist/{login-BcTfGveb.js → login-BrAq_fE9.js} +3 -3
- package/dist/{login-qr-DxsNtFb-.js → login-qr-w8g9Wssr.js} +6 -6
- package/dist/{logs-cli-C1mQ6jm1.js → logs-cli-Dm95Nvw2.js} +9 -9
- package/dist/{manager-DyZ-LIQS.js → manager-Mu3eMmUj.js} +14 -14
- package/dist/manager-runtime-Cj9Hvway.js +21 -0
- package/dist/{manifest-registry-DjjgwuVC.js → manifest-registry-C_atL4ID.js} +1 -1
- package/dist/{memory-cli-CXFqQMtN.js → memory-cli-DjSgQlDO.js} +12 -12
- package/dist/{model-catalog-CyL_QlZd.js → model-catalog-Crm5h6fz.js} +3 -3
- package/dist/{model-picker-DqYwIby0.js → model-picker-RWaJDIbf.js} +4 -4
- package/dist/{models-BryKzxGG.js → models-Dm0hzS3D.js} +15 -15
- package/dist/{models-cli-BU89hunh.js → models-cli-TrSDz03D.js} +77 -77
- package/dist/{models-config-Do_bkbr3.js → models-config-ioRkhhh4.js} +6 -6
- package/dist/{node-cli-CA1SvH73.js → node-cli-C9unxcj_.js} +33 -33
- package/dist/{node-cli-CfmQ2Qof.js → node-cli-DCokZ5VQ.js} +4 -4
- package/dist/{node-command-policy-Bqp9nIUg.js → node-command-policy-DdF7xJQa.js} +1 -1
- package/dist/{node-service-BirxNntZ.js → node-service-DCfQospz.js} +1 -1
- package/dist/{node-service-BUERUsa_.js → node-service-DhooZn04.js} +1 -1
- package/dist/{nodes-cli-DLtFA23h.js → nodes-cli-ZdvlYwxX.js} +16 -16
- package/dist/{nodes-screen-gvENU0qT.js → nodes-screen-B7eOQ14A.js} +7 -7
- package/dist/{npm-pack-install-2dbksMMb.js → npm-pack-install-Dz4wJtRd.js} +18 -18
- package/dist/{npm-resolution-DafKZYAM.js → npm-resolution-BFE8ihLy.js} +4 -4
- package/dist/{onboard-CpYQ6i29.js → onboard-CI27VpfB.js} +6 -6
- package/dist/{onboard-DCljJSci.js → onboard-DQpNrN8f.js} +2 -2
- package/dist/{onboard-channels-lyZUxSJ-.js → onboard-channels-BBkxHyWU.js} +21 -21
- package/dist/{onboard-custom-BYAJVMrS.js → onboard-custom-CLwjPxwD.js} +4 -4
- package/dist/{onboard-helpers-BqSYoJSO.js → onboard-helpers-BJ2MHcp9.js} +10 -10
- package/dist/{onboard-hooks-B4f4qUvf.js → onboard-hooks-OrZtfoSC.js} +4 -4
- package/dist/{onboard-remote-5YZ2k5qA.js → onboard-remote-wY_bxC1W.js} +4 -4
- package/dist/{onboard-skills-P7WUXQqb.js → onboard-skills-CdhTiJIU.js} +4 -4
- package/dist/{onboarding-C2ZQIZ5e.js → onboarding-BV3dioI3.js} +14 -14
- package/dist/{onboarding-TLgFqsJ0.js → onboarding-bSVnEk-q.js} +1 -1
- package/dist/{onboarding.finalize-C0dSrRMy.js → onboarding.finalize-CthILcfJ.js} +88 -88
- package/dist/{onboarding.finalize-BKLMwDpS.js → onboarding.finalize-V311LPsU.js} +4 -4
- package/dist/{onboarding.gateway-config-DOjylmTf.js → onboarding.gateway-config-DWG9D6GI.js} +19 -19
- package/dist/{onboarding.secret-input-D28tCmCi.js → onboarding.secret-input-yXmtdEMi.js} +1 -1
- package/dist/{openai-codex-model-default-Dh0Anrx7.js → openai-codex-model-default-BnNc6l4d.js} +3 -3
- package/dist/{openai-model-default-JIrv3HNj.js → openai-model-default-PyAlsRPb.js} +2 -2
- package/dist/{openclaw-root-Dh_Sm1l8.js → openclaw-root-Gv7Ob-5V.js} +8 -8
- package/dist/{outbound-attachment-BE3KAIhc.js → outbound-attachment-Bui79r_g.js} +2 -2
- package/dist/{outbound-EIL02rQd.js → outbound-owi6Cvj_.js} +4 -4
- package/dist/{pairing-cli-DYFTC4OI.js → pairing-cli-y8L4PLm3.js} +8 -8
- package/dist/{pairing-labels-c6cTWTzi.js → pairing-labels-DvrRVH1N.js} +1 -1
- package/dist/{pairing-store-gcbFdvn2.js → pairing-store-BsYNiJyH.js} +3 -3
- package/dist/{path-alias-guards-OAUIyvyc.js → path-alias-guards-BndjEKU2.js} +3 -3
- package/dist/{path-safety-h4lG_U1h.js → path-safety-FANXxHHr.js} +1 -1
- package/dist/{paths-C6-x9jb-.js → paths-B-3rcnCY.js} +9 -9
- package/dist/{pi-embedded-NHtVbVqt.js → pi-embedded-DhjXWD5O.js} +25 -25
- package/dist/{pi-embedded-helpers-C1kbyX9C.js → pi-embedded-helpers-BUubsAcJ.js} +6 -6
- package/dist/{pi-embedded-helpers-o22sdqT_.js → pi-embedded-helpers-CSodYzr7.js} +3 -3
- package/dist/{pi-model-discovery-BJyAkuau.js → pi-model-discovery-qGBDJI9t.js} +1 -1
- package/dist/{pi-model-discovery-runtime-D_6fWmk1.js → pi-model-discovery-runtime-B8XjnAyy.js} +5 -5
- package/dist/{pi-tools.before-tool-call.runtime-LDkkLRSe.js → pi-tools.before-tool-call.runtime-CDfXf9XL.js} +5 -5
- package/dist/{pi-tools.policy-dFXahmgF.js → pi-tools.policy-CSPrerKx.js} +6 -6
- package/dist/{plugin-auto-enable-CPLdiF-6.js → plugin-auto-enable-BAHkcVP4.js} +3 -3
- package/dist/{plugin-registry-BA0j17R1.js → plugin-registry-bnANTUyV.js} +3 -3
- package/dist/plugin-sdk/bluebubbles.js +2 -2
- package/dist/plugin-sdk/imessage.js +2 -2
- package/dist/plugin-sdk/slack.js +2 -2
- package/dist/plugin-sdk/telegram.js +2 -2
- package/dist/plugin-sdk/tlon.js +2 -2
- package/dist/plugin-sdk/twitch.js +2 -2
- package/dist/{plugins-BB30X9Wg.js → plugins-Bv9ZfJVO.js} +2 -2
- package/dist/{plugins-cli-Do7-62o7.js → plugins-cli-BnD810PB.js} +82 -82
- package/dist/{ports-CrkPY1HU.js → ports-CFvWMNlt.js} +1 -1
- package/dist/{ports-CRHQM_CU.js → ports-JXKx9QTu.js} +2 -2
- package/dist/{probe-B01qwW3t.js → probe-BSiLGREe.js} +2 -2
- package/dist/{program-DibN7S7t.js → program-DslcDMLC.js} +80 -80
- package/dist/{program-context-QLGv1wVR.js → program-context-BCkMeZ0D.js} +12 -12
- package/dist/{prompt-select-styled-DeQQQ0QA.js → prompt-select-styled-C0PnL2-4.js} +41 -41
- package/dist/{prompt-select-styled-BLaCMb3d.js → prompt-select-styled-DtsNnfFy.js} +5 -5
- package/dist/{provider-auth-helpers-Bu3NP92x.js → provider-auth-helpers-Bo68RFgl.js} +5 -5
- package/dist/{proxy-env-CHINy-_C.js → proxy-env-C4Sv8mbU.js} +1 -1
- package/dist/{push-apns-Dv9W1mnb.js → push-apns-JhqWOAwU.js} +5 -5
- package/dist/{pw-ai-DNjwFfSW.js → pw-ai-BL-cDtw0.js} +18 -18
- package/dist/{pw-ai-MWIrQHO4.js → pw-ai-DZOmcrIm.js} +1 -1
- package/dist/{qmd-manager-BFlQuEU2.js → qmd-manager-CXJXujXb.js} +20 -20
- package/dist/{qr-cli-CDRdlfTz.js → qr-cli-IKWtasYO.js} +2 -2
- package/dist/{redact-snapshot-DfzfKriI.js → redact-snapshot-sxLRRmfh.js} +1 -1
- package/dist/{register.agent-DZcC5FDy.js → register.agent-BhE6O5kz.js} +93 -93
- package/dist/{register.configure-Dmv99pKW.js → register.configure-COPz8XYt.js} +2 -2
- package/dist/register.configure-NmyxXY5V.js +164 -0
- package/dist/{register.maintenance-BNVvn7VP.js → register.maintenance-CEk4B6v4.js} +95 -95
- package/dist/{register.maintenance-By_ZStHt.js → register.maintenance-CyYEm7iS.js} +7 -7
- package/dist/{register.message-DcsEcis4.js → register.message-6oUodJEa.js} +73 -73
- package/dist/{register.onboard-wGV8LHCW.js → register.onboard-2PhRDQTS.js} +18 -18
- package/dist/{register.onboard-rxQ8R21T.js → register.onboard-BP9GuZks.js} +2 -2
- package/dist/{register.setup-DoDh05A7.js → register.setup-CprZSMEV.js} +21 -21
- package/dist/{register.setup-e2gy3YmS.js → register.setup-Ni4737D9.js} +2 -2
- package/dist/{register.status-health-sessions-CFPRa6iq.js → register.status-health-sessions-BpTP5AfU.js} +88 -88
- package/dist/{register.status-health-sessions-BoG2-Twd.js → register.status-health-sessions-HgeTqr9l.js} +4 -4
- package/dist/{register.subclis-Dperszpc.js → register.subclis-CXGjQuPd.js} +31 -31
- package/dist/{resolve-configured-secret-input-string-BdkI2Dl0.js → resolve-configured-secret-input-string-DvKJxAtp.js} +1 -1
- package/dist/{rpc-CM5MI1Km.js → rpc-CQs3IjG7.js} +1 -1
- package/dist/{run-main-BcAftmJ6.js → run-main-CHHrSCWI.js} +91 -91
- package/dist/{runtime-DIn_d_mi.js → runtime-BC8kvHYq.js} +3 -3
- package/dist/{runtime-config-collectors-DVZ-fK7E.js → runtime-config-collectors-DM4YW0m9.js} +1 -1
- package/dist/{runtime-whatsapp-login.runtime-C2Hz6tBD.js → runtime-whatsapp-login.runtime-Dj6jyYEL.js} +7 -7
- package/dist/runtime-whatsapp-outbound.runtime-CboIijG_.js +27 -0
- package/dist/{sandbox-QUwr5BiV.js → sandbox-Ey0spRTA.js} +18 -18
- package/dist/{sandbox-cli-BHPtvNZP.js → sandbox-cli-WnhAHtf7.js} +25 -25
- package/dist/{secrets-cli-BirGeLI0.js → secrets-cli-CxRF1ol0.js} +11 -11
- package/dist/{security-cli-BdtTg2un.js → security-cli-EJK_t_Hu.js} +43 -43
- package/dist/{send-DR8brNFF.js → send-Cms8uhN1.js} +5 -5
- package/dist/{send-DsIy0owU.js → send-DExcQWAf.js} +4 -4
- package/dist/{send-D0TbCIOU.js → send-DgUi3bl8.js} +8 -8
- package/dist/{send-BRb_0Ibb.js → send-Dlp3HAiX.js} +6 -6
- package/dist/{send-CHUBkOx4.js → send-Don_FZgW.js} +11 -11
- package/dist/{server-CsG3vwY6.js → server-DUXr6A6B.js} +20 -20
- package/dist/{server-context-BOMErxlB.js → server-context-DDDYJ1E5.js} +12 -12
- package/dist/{server-lifecycle-Bz_tILpw.js → server-lifecycle-5QwrD-pI.js} +2 -2
- package/dist/{server-middleware-COJNPqNx.js → server-middleware-CUHXrp2x.js} +1 -1
- package/dist/{server-node-events-Bkfa7nls.js → server-node-events-D8EKx-Ef.js} +73 -73
- package/dist/{service-BqHBIJsE.js → service-CkeyjKgU.js} +9 -4
- package/dist/{service-A9LH2cqi.js → service-VB8hrx3m.js} +24 -19
- package/dist/{session-B78ElRuv.js → session-DLkD-iwM.js} +1 -1
- package/dist/{session-utils-HmD-1G9e.js → session-utils-DqcL4tRB.js} +6 -6
- package/dist/{sessions-TCNQfcSW.js → sessions-BJu8U8kz.js} +15 -15
- package/dist/{sessions-CteOs-Xa.js → sessions-DGFe_VH1.js} +4 -4
- package/dist/{shared-0ohfVTdd.js → shared-Bto9UlKB.js} +1 -1
- package/dist/{shared-CiWwdWaM.js → shared-DFIymKVc.js} +1 -1
- package/dist/{skill-commands-BvomqRJm.js → skill-commands-C7_32HvU.js} +5 -5
- package/dist/{skill-scanner-B_VveqAF.js → skill-scanner-CTA9_1Ad.js} +6 -6
- package/dist/{skills-Bme_5_Wh.js → skills-C3DzmT-s.js} +3 -3
- package/dist/{skills-cli-DMOEU-Kf.js → skills-cli-C2MW9QVA.js} +5 -5
- package/dist/{skills-install-jgMttMiG.js → skills-install-xhIs9n_2.js} +6 -6
- package/dist/{skills-status-DDy1p1bH.js → skills-status-n9vgDHer.js} +1 -1
- package/dist/{slash-commands.runtime-kurmXJKo.js → slash-commands.runtime-BrlJHzZ0.js} +11 -11
- package/dist/{slash-dispatch.runtime-Du0T-jw8.js → slash-dispatch.runtime--1geVpWH.js} +6 -6
- package/dist/slash-dispatch.runtime-BPzR4clK.js +110 -0
- package/dist/slash-skill-commands.runtime-C3MY6G1s.js +29 -0
- package/dist/{sqlite-CVpjz_Fn.js → sqlite-B6J7wlgb.js} +12 -12
- package/dist/{status-DGNyj-My.js → status-BvATDhyx.js} +29 -29
- package/dist/{status-CZmvZ4Du.js → status-CzDUyBhZ.js} +1 -1
- package/dist/{status-CcDhfT7z.js → status-gmvLzqWY.js} +3 -3
- package/dist/{status.update-CMY8gTu2.js → status.update-DndHNWm3.js} +2 -2
- package/dist/{store-dO9FxwIh.js → store-BxDf7hdp.js} +15 -15
- package/dist/{subagent-registry-runtime-BX7PeNcG.js → subagent-registry-runtime-BF8LA25p.js} +6 -6
- package/dist/subagent-registry-runtime-CTIJfGw5.js +110 -0
- package/dist/{system-cli-C5W2hXEn.js → system-cli-Be_6EDGU.js} +9 -9
- package/dist/{system-run-command-B6YFaIn3.js → system-run-command-BlvZfJeb.js} +1 -1
- package/dist/{systemd-DunyHHc7.js → systemd-QfmEIyC_.js} +10 -10
- package/dist/{systemd-hints-DNCfudm3.js → systemd-hints-B1wK4V9O.js} +1 -1
- package/dist/{systemd-hints-Cc1WoU1g.js → systemd-hints-C8DMAujY.js} +6 -6
- package/dist/{systemd-linger-C8eA-s3i.js → systemd-linger-D_EygRlf.js} +1 -1
- package/dist/{tables-Ckhi6C4h.js → tables-DVqUjPRa.js} +1 -1
- package/dist/{tailnet-CcjaRS5e.js → tailnet-CoMmrqa1.js} +1 -1
- package/dist/{target-errors-018oJFiB.js → target-errors-N10oAD8K.js} +4 -4
- package/dist/{tool-images-C1FdHV43.js → tool-images-ByGbgP3W.js} +1 -1
- package/dist/{tui-cli-DImVjijU.js → tui-cli-A2qCvBWw.js} +33 -33
- package/dist/{tui-CsIlN_Go.js → tui-o3M_Bbq1.js} +7 -7
- package/dist/{update-CDOtvt7K.js → update-Mc1LqzY6.js} +3 -3
- package/dist/{update-cli-Dq8uIRxF.js → update-cli-BKMUoIZY.js} +105 -105
- package/dist/{update-cli-CazqKKsR.js → update-cli-ByxIfOIf.js} +9 -9
- package/dist/{update-runner-BSMIDJ-p.js → update-runner-CCB_wRmi.js} +16 -16
- package/dist/web-BblTI04D.js +114 -0
- package/dist/{web-CuWkibTO.js → web-DUmwaFF8.js} +6 -6
- package/dist/{webhooks-cli-5lNqCVtQ.js → webhooks-cli-B1O1xKF7.js} +6 -6
- package/dist/{whatsapp-actions-BXDIsy-2.js → whatsapp-actions-P1s1gYIT.js} +17 -17
- package/dist/{with-timeout-xWhqcPuu.js → with-timeout-gotbjCau.js} +3 -3
- package/dist/{workspace-Ct8qaDh3.js → workspace-ST8Op53v.js} +1 -1
- package/dist/{workspace-dirs-Ch8qs0UH.js → workspace-dirs--0e3kMf7.js} +1 -1
- package/dist/{ws-DUfuK8DQ.js → ws-DrZBk8aE.js} +2 -2
- package/dist/{wsl-DLw4LET-.js → wsl-Dd7vjPIH.js} +2 -2
- package/package.json +1 -1
- package/dist/compact.runtime-Cs7M1NjN.js +0 -110
- package/dist/deliver-runtime-BSN3wlW_.js +0 -57
- package/dist/deps-send-discord.runtime-DD-RWrwG.js +0 -31
- package/dist/deps-send-imessage.runtime-gAWYnB6p.js +0 -30
- package/dist/deps-send-signal.runtime-Ry6Voc2R.js +0 -29
- package/dist/deps-send-slack.runtime-CcCvO5a7.js +0 -27
- package/dist/deps-send-telegram.runtime-97vMMh1v.js +0 -33
- package/dist/deps-send-whatsapp.runtime-B8nhC5lk.js +0 -115
- package/dist/image-runtime-3d_07I1J.js +0 -51
- package/dist/manager-runtime-DDmFvXWq.js +0 -21
- package/dist/register.configure-C_xciKz5.js +0 -164
- package/dist/runtime-whatsapp-outbound.runtime-BpuvPdTK.js +0 -27
- package/dist/slash-dispatch.runtime-BDYuFlr9.js +0 -110
- package/dist/slash-skill-commands.runtime-CRatiVfd.js +0 -29
- package/dist/subagent-registry-runtime-CqAEqqbS.js +0 -110
- package/dist/web-CNj08Zq-.js +0 -114
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import { X as resolveConfigPath, it as resolveOAuthDir, ot as resolveStateDir } from "./entry.js";
|
|
2
|
-
import { $t as normalizeTrustedSafeBinDirs, A as formatPermissionDetail, Bn as MAX_INCLUDE_DEPTH, M as inspectPathPermissions, N as safeStat, ft as isDangerousNetworkMode, j as formatPermissionRemediation, pt as normalizeNetworkMode, z as createConfigIO, zn as INCLUDE_KEY } from "./auth-profiles-
|
|
2
|
+
import { $t as normalizeTrustedSafeBinDirs, A as formatPermissionDetail, Bn as MAX_INCLUDE_DEPTH, M as inspectPathPermissions, N as safeStat, ft as isDangerousNetworkMode, j as formatPermissionRemediation, pt as normalizeNetworkMode, z as createConfigIO, zn as INCLUDE_KEY } from "./auth-profiles-QXvcpjIT.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-DdHwx_z_.js";
|
|
4
|
-
import { M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue, d as resolveDefaultAgentId } from "./agent-scope-
|
|
4
|
+
import { M as resolveAgentModelFallbackValues, N as resolveAgentModelPrimaryValue, d as resolveDefaultAgentId } from "./agent-scope-Dd2_TNoB.js";
|
|
5
5
|
import { c as normalizeAgentId } from "./session-key-9-yI-GU_.js";
|
|
6
6
|
import { a as hasConfiguredSecretInput } from "./types.secrets-CZ26uLlg.js";
|
|
7
7
|
import { n as isPathInside, t as extensionUsesSkippedScannerPath } from "./scan-paths-CGHjYWQw.js";
|
|
8
|
-
import { d as normalizePluginsConfig } from "./manifest-registry-
|
|
8
|
+
import { d as normalizePluginsConfig } from "./manifest-registry-C_atL4ID.js";
|
|
9
9
|
import { n as MANIFEST_KEY } from "./legacy-names-Cvucw6AA.js";
|
|
10
|
-
import { l as normalizeStringEntries } from "./dock-
|
|
11
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
12
|
-
import { C as resolveToolProfilePolicy, f as resolveSandboxConfigForAgent, k as SANDBOX_BROWSER_SECURITY_HASH_EPOCH, l as execDockerRaw, m as resolveSandboxToolPolicyForAgent, u as getBlockedBindReason } from "./sandbox-
|
|
13
|
-
import { a as resolveGatewayAuth } from "./auth-
|
|
10
|
+
import { l as normalizeStringEntries } from "./dock-wtxEAACu.js";
|
|
11
|
+
import { n as listChannelPlugins } from "./plugins-Bv9ZfJVO.js";
|
|
12
|
+
import { C as resolveToolProfilePolicy, f as resolveSandboxConfigForAgent, k as SANDBOX_BROWSER_SECURITY_HASH_EPOCH, l as execDockerRaw, m as resolveSandboxToolPolicyForAgent, u as getBlockedBindReason } from "./sandbox-Ey0spRTA.js";
|
|
13
|
+
import { a as resolveGatewayAuth } from "./auth-DkciOmKe.js";
|
|
14
14
|
import { n as resolveGatewayCredentialsFromConfig, t as isGatewaySecretRefUnavailableError } from "./credentials-BN-3xksd.js";
|
|
15
|
-
import { a as resolveProfile, c as resolveBrowserControlAuth, i as resolveBrowserConfig } from "./server-context-
|
|
16
|
-
import { i as loadWorkspaceSkillEntries } from "./skills-
|
|
17
|
-
import { r as resolveMergedSafeBinProfileFixtures, t as listInterpreterLikeSafeBins } from "./exec-safe-bin-runtime-policy-
|
|
18
|
-
import { a as resolveNativeSkillsEnabled, i as resolveNativeCommandsEnabled } from "./commands-
|
|
19
|
-
import { t as buildGatewayConnectionDetails } from "./call-
|
|
20
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
21
|
-
import { _ as hasResolvedCredentialValue, g as hasConfiguredUnavailableCredentialStatus, h as inspectReadOnlyChannelAccount, l as resolveDmAllowState, n as isToolAllowedByPolicies, o as pickSandboxToolPolicy } from "./pi-tools.policy-
|
|
22
|
-
import { t as listAgentWorkspaceDirs } from "./workspace-dirs
|
|
15
|
+
import { a as resolveProfile, c as resolveBrowserControlAuth, i as resolveBrowserConfig } from "./server-context-DDDYJ1E5.js";
|
|
16
|
+
import { i as loadWorkspaceSkillEntries } from "./skills-C3DzmT-s.js";
|
|
17
|
+
import { r as resolveMergedSafeBinProfileFixtures, t as listInterpreterLikeSafeBins } from "./exec-safe-bin-runtime-policy-B8a4-DkO.js";
|
|
18
|
+
import { a as resolveNativeSkillsEnabled, i as resolveNativeCommandsEnabled } from "./commands-C-YxTe08.js";
|
|
19
|
+
import { t as buildGatewayConnectionDetails } from "./call-B56A9tyz.js";
|
|
20
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-BsYNiJyH.js";
|
|
21
|
+
import { _ as hasResolvedCredentialValue, g as hasConfiguredUnavailableCredentialStatus, h as inspectReadOnlyChannelAccount, l as resolveDmAllowState, n as isToolAllowedByPolicies, o as pickSandboxToolPolicy } from "./pi-tools.policy-CSPrerKx.js";
|
|
22
|
+
import { t as listAgentWorkspaceDirs } from "./workspace-dirs--0e3kMf7.js";
|
|
23
23
|
import { n as isDangerousNameMatchingEnabled } from "./dangerous-name-matching-PRkNIyQj.js";
|
|
24
24
|
import { n as DEFAULT_GATEWAY_HTTP_TOOL_DENY } from "./dangerous-tools-DYhQ651h.js";
|
|
25
25
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BAv58r5B.js";
|
|
26
|
-
import { t as scanDirectoryWithSummary } from "./skill-scanner-
|
|
27
|
-
import { t as probeGateway } from "./probe-
|
|
28
|
-
import { r as resolveNodeCommandAllowlist, t as DEFAULT_DANGEROUS_NODE_COMMANDS } from "./node-command-policy-
|
|
26
|
+
import { t as scanDirectoryWithSummary } from "./skill-scanner-CTA9_1Ad.js";
|
|
27
|
+
import { t as probeGateway } from "./probe-BSiLGREe.js";
|
|
28
|
+
import { r as resolveNodeCommandAllowlist, t as DEFAULT_DANGEROUS_NODE_COMMANDS } from "./node-command-policy-DdF7xJQa.js";
|
|
29
29
|
import { c as normalizeTelegramAllowFromEntry, s as isNumericTelegramUserId, t as isDiscordMutableAllowEntry } from "./mutable-allowlist-detectors-DmRJAY4H.js";
|
|
30
30
|
import { t as inferParamBFromIdOrName } from "./model-param-b-BcBQ11Vu.js";
|
|
31
31
|
import path from "node:path";
|
|
32
32
|
import JSON5 from "json5";
|
|
33
|
-
import * as fs
|
|
34
|
-
import
|
|
33
|
+
import * as fs from "node:fs/promises";
|
|
34
|
+
import fsPromises from "node:fs/promises";
|
|
35
35
|
import { isIP } from "node:net";
|
|
36
36
|
|
|
37
37
|
//#region src/gateway/probe-auth.ts
|
|
@@ -1287,7 +1287,7 @@ async function collectIncludePathsRecursive(params) {
|
|
|
1287
1287
|
if (visited.has(resolved)) continue;
|
|
1288
1288
|
visited.add(resolved);
|
|
1289
1289
|
result.push(resolved);
|
|
1290
|
-
const rawText = await fs
|
|
1290
|
+
const rawText = await fs.readFile(resolved, "utf-8").catch(() => null);
|
|
1291
1291
|
if (!rawText) continue;
|
|
1292
1292
|
const nestedParsed = (() => {
|
|
1293
1293
|
try {
|
|
@@ -1322,7 +1322,7 @@ function expandTilde(p, env) {
|
|
|
1322
1322
|
}
|
|
1323
1323
|
async function readPluginManifestExtensions(pluginPath) {
|
|
1324
1324
|
const manifestPath = path.join(pluginPath, "package.json");
|
|
1325
|
-
const raw = await
|
|
1325
|
+
const raw = await fsPromises.readFile(manifestPath, "utf-8").catch(() => "");
|
|
1326
1326
|
if (!raw.trim()) return [];
|
|
1327
1327
|
const extensions = JSON.parse(raw)?.[MANIFEST_KEY]?.extensions;
|
|
1328
1328
|
if (!Array.isArray(extensions)) return [];
|
|
@@ -1344,7 +1344,7 @@ async function listInstalledPluginDirs(params) {
|
|
|
1344
1344
|
};
|
|
1345
1345
|
return {
|
|
1346
1346
|
extensionsDir,
|
|
1347
|
-
pluginDirs: (await
|
|
1347
|
+
pluginDirs: (await fsPromises.readdir(extensionsDir, { withFileTypes: true }).catch((err) => {
|
|
1348
1348
|
params.onReadError?.(err);
|
|
1349
1349
|
return [];
|
|
1350
1350
|
})).filter((entry) => entry.isDirectory()).map((entry) => entry.name).filter(Boolean)
|
|
@@ -1407,7 +1407,7 @@ function isPinnedRegistrySpec(spec) {
|
|
|
1407
1407
|
}
|
|
1408
1408
|
async function readInstalledPackageVersion(dir) {
|
|
1409
1409
|
try {
|
|
1410
|
-
const raw = await
|
|
1410
|
+
const raw = await fsPromises.readFile(path.join(dir, "package.json"), "utf-8");
|
|
1411
1411
|
const parsed = JSON.parse(raw);
|
|
1412
1412
|
return typeof parsed.version === "string" ? parsed.version : void 0;
|
|
1413
1413
|
} catch {
|
|
@@ -1443,10 +1443,10 @@ async function listWorkspaceSkillMarkdownFiles(workspaceDir) {
|
|
|
1443
1443
|
const visitedDirs = /* @__PURE__ */ new Set();
|
|
1444
1444
|
while (queue.length > 0 && skillFiles.length < MAX_WORKSPACE_SKILL_SCAN_FILES_PER_WORKSPACE) {
|
|
1445
1445
|
const dir = queue.shift();
|
|
1446
|
-
const dirRealPath = await
|
|
1446
|
+
const dirRealPath = await fsPromises.realpath(dir).catch(() => path.resolve(dir));
|
|
1447
1447
|
if (visitedDirs.has(dirRealPath)) continue;
|
|
1448
1448
|
visitedDirs.add(dirRealPath);
|
|
1449
|
-
const entries = await
|
|
1449
|
+
const entries = await fsPromises.readdir(dir, { withFileTypes: true }).catch(() => []);
|
|
1450
1450
|
for (const entry of entries) {
|
|
1451
1451
|
if (entry.name.startsWith(".") || entry.name === "node_modules") continue;
|
|
1452
1452
|
const fullPath = path.join(dir, entry.name);
|
|
@@ -1455,7 +1455,7 @@ async function listWorkspaceSkillMarkdownFiles(workspaceDir) {
|
|
|
1455
1455
|
continue;
|
|
1456
1456
|
}
|
|
1457
1457
|
if (entry.isSymbolicLink()) {
|
|
1458
|
-
const stat = await
|
|
1458
|
+
const stat = await fsPromises.stat(fullPath).catch(() => null);
|
|
1459
1459
|
if (!stat) continue;
|
|
1460
1460
|
if (stat.isDirectory()) {
|
|
1461
1461
|
queue.push(fullPath);
|
|
@@ -1745,13 +1745,13 @@ async function collectWorkspaceSkillSymlinkEscapeFindings(params) {
|
|
|
1745
1745
|
const seenSkillPaths = /* @__PURE__ */ new Set();
|
|
1746
1746
|
for (const workspaceDir of workspaceDirs) {
|
|
1747
1747
|
const workspacePath = path.resolve(workspaceDir);
|
|
1748
|
-
const workspaceRealPath = await
|
|
1748
|
+
const workspaceRealPath = await fsPromises.realpath(workspacePath).catch(() => workspacePath);
|
|
1749
1749
|
const skillFilePaths = await listWorkspaceSkillMarkdownFiles(workspacePath);
|
|
1750
1750
|
for (const skillFilePath of skillFilePaths) {
|
|
1751
1751
|
const canonicalSkillPath = path.resolve(skillFilePath);
|
|
1752
1752
|
if (seenSkillPaths.has(canonicalSkillPath)) continue;
|
|
1753
1753
|
seenSkillPaths.add(canonicalSkillPath);
|
|
1754
|
-
const skillRealPath = await
|
|
1754
|
+
const skillRealPath = await fsPromises.realpath(canonicalSkillPath).catch(() => null);
|
|
1755
1755
|
if (!skillRealPath) continue;
|
|
1756
1756
|
if (isPathInside(workspaceRealPath, skillRealPath)) continue;
|
|
1757
1757
|
escapedSkillFiles.push({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { d as resolveSecretInputRef } from "./types.secrets-CZ26uLlg.js";
|
|
2
2
|
import { c as readTailscaleWhoisIdentity } from "./tailscale-BRTAbJuN.js";
|
|
3
3
|
import { t as safeEqualSecret } from "./secret-equal-C6Ey0YcX.js";
|
|
4
|
-
import { n as isLocalishHost, o as isTrustedProxyAddress, r as isLoopbackAddress, u as resolveClientIp } from "./ws-
|
|
4
|
+
import { n as isLocalishHost, o as isTrustedProxyAddress, r as isLoopbackAddress, u as resolveClientIp } from "./ws-DrZBk8aE.js";
|
|
5
5
|
import { r as resolveGatewayCredentialsFromValues } from "./credentials-BN-3xksd.js";
|
|
6
6
|
|
|
7
7
|
//#region src/gateway/auth-rate-limit.ts
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Ai as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF, Ar as resolveDefaultModelForAgent, Ii as KILOCODE_DEFAULT_MODEL_REF, Oi as discoverHuggingfaceModels, Xr as VENICE_DEFAULT_MODEL_REF, Zn as listProfilesForProvider, _ as parseOAuthCallbackInput, ai as SYNTHETIC_DEFAULT_MODEL_REF, er as upsertAuthProfile, g as generateChutesPkce, h as exchangeChutesCodeForTokens, hi as getCustomProviderApiKey, ki as isHuggingfacePolicyLocked, m as CHUTES_AUTHORIZE_ENDPOINT, r as resolveAuthProfileOrder, rr as ensureAuthProfileStore, ur as resolveOpenClawAgentDir, yi as resolveEnvApiKey } from "./auth-profiles-
|
|
3
|
-
import { A as resolveDefaultAgentWorkspaceDir, P as toAgentModelListLike, a as resolveAgentDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
-
import { i as isLoopbackHost } from "./ws-
|
|
5
|
-
import { n as loadModelCatalog } from "./model-catalog-
|
|
6
|
-
import { f as openUrl } from "./onboard-helpers-
|
|
7
|
-
import { t as enablePluginInConfig } from "./enable-
|
|
8
|
-
import { a as normalizeSecretInputModeInput, c as resolveSecretInputModeForEnvSelection, d as normalizeApiKeyInput, f as validateApiKeyInput, i as ensureApiKeyFromOptionEnvOrPrompt, l as applyDefaultModelChoice, n as createAuthChoiceDefaultModelApplierForMutableState, o as normalizeTokenProviderInput, s as promptSecretRefForOnboarding, t as createAuthChoiceAgentModelNoter, u as ensureModelAllowlistEntry } from "./auth-choice.apply-helpers-
|
|
9
|
-
import { n as applyOpenAICodexModelDefault, t as OPENAI_CODEX_DEFAULT_MODEL } from "./openai-codex-model-default-
|
|
10
|
-
import { $ as ZAI_DEFAULT_MODEL_REF, A as applyTogetherConfig, B as applyLitellmConfig, C as applyMoonshotProviderConfigCn, Ct as writeOAuthCredentials, D as applyQianfanProviderConfig, Dt as QIANFAN_DEFAULT_MODEL_REF, E as applyQianfanConfig, Et as MOONSHOT_DEFAULT_MODEL_REF, F as applyXaiProviderConfig, G as applyVercelAiGatewayProviderConfig, H as applyCloudflareAiGatewayConfig, I as applyXiaomiConfig, J as LITELLM_DEFAULT_MODEL_REF, K as applyAgentDefaultModelPrimary, L as applyXiaomiProviderConfig, M as applyVeniceConfig, N as applyVeniceProviderConfig, O as applySyntheticConfig, Ot as XAI_DEFAULT_MODEL_REF, P as applyXaiConfig, Q as XIAOMI_DEFAULT_MODEL_REF, R as applyZaiConfig, S as applyMoonshotProviderConfig, St as setZaiApiKey, T as applyOpenrouterProviderConfig, Tt as MISTRAL_DEFAULT_MODEL_REF, U as applyCloudflareAiGatewayProviderConfig, V as applyLitellmProviderConfig, W as applyVercelAiGatewayConfig, X as TOGETHER_DEFAULT_MODEL_REF, Y as OPENROUTER_DEFAULT_MODEL_REF, Z as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, _ as applyKimiCodeProviderConfig, _t as setVeniceApiKey, a as applyMinimaxApiConfig, at as setKilocodeApiKey, b as applyMoonshotConfig, bt as setXaiApiKey, c as applyMinimaxApiProviderConfigCn, ct as setMinimaxApiKey, d as applyAuthProfileConfig, dt as setOpenaiApiKey, et as setAnthropicApiKey, ft as setOpencodeZenApiKey, g as applyKimiCodeConfig, gt as setTogetherApiKey, h as applyKilocodeProviderConfig, ht as setSyntheticApiKey, i as applyOpencodeZenProviderConfig, it as setHuggingfaceApiKey, j as applyTogetherProviderConfig, k as applySyntheticProviderConfig, l as applyMinimaxConfig, lt as setMistralApiKey, m as applyKilocodeConfig, mt as setQianfanApiKey, n as validateAnthropicSetupToken, nt as setCloudflareAiGatewayConfig, o as applyMinimaxApiConfigCn, ot as setKimiCodingApiKey, p as applyHuggingfaceProviderConfig, pt as setOpenrouterApiKey, q as HUGGINGFACE_DEFAULT_MODEL_REF, r as applyOpencodeZenConfig, rt as setGeminiApiKey, s as applyMinimaxApiProviderConfig, st as setLitellmApiKey, t as buildTokenProfileId, tt as setByteplusApiKey, u as applyMinimaxProviderConfig, ut as setMoonshotApiKey, v as applyMistralConfig, vt as setVercelAiGatewayApiKey, w as applyOpenrouterConfig, wt as KIMI_CODING_MODEL_REF, x as applyMoonshotConfigCn, xt as setXiaomiApiKey, y as applyMistralProviderConfig, yt as setVolcengineApiKey, z as applyZaiProviderConfig } from "./auth-token-
|
|
11
|
-
import { a as loginOpenAICodexOAuth, c as resolvePluginProviders, i as resolveProviderMatch, l as githubCopilotLoginCommand, n as mergeConfigPatch, o as createVpsAwareOAuthHandlers, r as pickAuthMethod, s as isRemoteEnvironment, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
12
|
-
import { a as GOOGLE_GEMINI_DEFAULT_MODEL, i as detectZaiEndpoint, n as applyOpenAIConfig, o as applyGoogleGeminiModelDefault, r as applyOpenAIProviderConfig, t as OPENAI_DEFAULT_MODEL } from "./openai-model-default-
|
|
13
|
-
import { r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-
|
|
2
|
+
import { Ai as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF, Ar as resolveDefaultModelForAgent, Ii as KILOCODE_DEFAULT_MODEL_REF, Oi as discoverHuggingfaceModels, Xr as VENICE_DEFAULT_MODEL_REF, Zn as listProfilesForProvider, _ as parseOAuthCallbackInput, ai as SYNTHETIC_DEFAULT_MODEL_REF, er as upsertAuthProfile, g as generateChutesPkce, h as exchangeChutesCodeForTokens, hi as getCustomProviderApiKey, ki as isHuggingfacePolicyLocked, m as CHUTES_AUTHORIZE_ENDPOINT, r as resolveAuthProfileOrder, rr as ensureAuthProfileStore, ur as resolveOpenClawAgentDir, yi as resolveEnvApiKey } from "./auth-profiles-QXvcpjIT.js";
|
|
3
|
+
import { A as resolveDefaultAgentWorkspaceDir, P as toAgentModelListLike, a as resolveAgentDir, d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-Dd2_TNoB.js";
|
|
4
|
+
import { i as isLoopbackHost } from "./ws-DrZBk8aE.js";
|
|
5
|
+
import { n as loadModelCatalog } from "./model-catalog-Crm5h6fz.js";
|
|
6
|
+
import { f as openUrl } from "./onboard-helpers-BJ2MHcp9.js";
|
|
7
|
+
import { t as enablePluginInConfig } from "./enable-Dk8s7RC7.js";
|
|
8
|
+
import { a as normalizeSecretInputModeInput, c as resolveSecretInputModeForEnvSelection, d as normalizeApiKeyInput, f as validateApiKeyInput, i as ensureApiKeyFromOptionEnvOrPrompt, l as applyDefaultModelChoice, n as createAuthChoiceDefaultModelApplierForMutableState, o as normalizeTokenProviderInput, s as promptSecretRefForOnboarding, t as createAuthChoiceAgentModelNoter, u as ensureModelAllowlistEntry } from "./auth-choice.apply-helpers-DFO2u4vW.js";
|
|
9
|
+
import { n as applyOpenAICodexModelDefault, t as OPENAI_CODEX_DEFAULT_MODEL } from "./openai-codex-model-default-BnNc6l4d.js";
|
|
10
|
+
import { $ as ZAI_DEFAULT_MODEL_REF, A as applyTogetherConfig, B as applyLitellmConfig, C as applyMoonshotProviderConfigCn, Ct as writeOAuthCredentials, D as applyQianfanProviderConfig, Dt as QIANFAN_DEFAULT_MODEL_REF, E as applyQianfanConfig, Et as MOONSHOT_DEFAULT_MODEL_REF, F as applyXaiProviderConfig, G as applyVercelAiGatewayProviderConfig, H as applyCloudflareAiGatewayConfig, I as applyXiaomiConfig, J as LITELLM_DEFAULT_MODEL_REF, K as applyAgentDefaultModelPrimary, L as applyXiaomiProviderConfig, M as applyVeniceConfig, N as applyVeniceProviderConfig, O as applySyntheticConfig, Ot as XAI_DEFAULT_MODEL_REF, P as applyXaiConfig, Q as XIAOMI_DEFAULT_MODEL_REF, R as applyZaiConfig, S as applyMoonshotProviderConfig, St as setZaiApiKey, T as applyOpenrouterProviderConfig, Tt as MISTRAL_DEFAULT_MODEL_REF, U as applyCloudflareAiGatewayProviderConfig, V as applyLitellmProviderConfig, W as applyVercelAiGatewayConfig, X as TOGETHER_DEFAULT_MODEL_REF, Y as OPENROUTER_DEFAULT_MODEL_REF, Z as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, _ as applyKimiCodeProviderConfig, _t as setVeniceApiKey, a as applyMinimaxApiConfig, at as setKilocodeApiKey, b as applyMoonshotConfig, bt as setXaiApiKey, c as applyMinimaxApiProviderConfigCn, ct as setMinimaxApiKey, d as applyAuthProfileConfig, dt as setOpenaiApiKey, et as setAnthropicApiKey, ft as setOpencodeZenApiKey, g as applyKimiCodeConfig, gt as setTogetherApiKey, h as applyKilocodeProviderConfig, ht as setSyntheticApiKey, i as applyOpencodeZenProviderConfig, it as setHuggingfaceApiKey, j as applyTogetherProviderConfig, k as applySyntheticProviderConfig, l as applyMinimaxConfig, lt as setMistralApiKey, m as applyKilocodeConfig, mt as setQianfanApiKey, n as validateAnthropicSetupToken, nt as setCloudflareAiGatewayConfig, o as applyMinimaxApiConfigCn, ot as setKimiCodingApiKey, p as applyHuggingfaceProviderConfig, pt as setOpenrouterApiKey, q as HUGGINGFACE_DEFAULT_MODEL_REF, r as applyOpencodeZenConfig, rt as setGeminiApiKey, s as applyMinimaxApiProviderConfig, st as setLitellmApiKey, t as buildTokenProfileId, tt as setByteplusApiKey, u as applyMinimaxProviderConfig, ut as setMoonshotApiKey, v as applyMistralConfig, vt as setVercelAiGatewayApiKey, w as applyOpenrouterConfig, wt as KIMI_CODING_MODEL_REF, x as applyMoonshotConfigCn, xt as setXiaomiApiKey, y as applyMistralProviderConfig, yt as setVolcengineApiKey, z as applyZaiProviderConfig } from "./auth-token-4Y8dUkki.js";
|
|
11
|
+
import { a as loginOpenAICodexOAuth, c as resolvePluginProviders, i as resolveProviderMatch, l as githubCopilotLoginCommand, n as mergeConfigPatch, o as createVpsAwareOAuthHandlers, r as pickAuthMethod, s as isRemoteEnvironment, t as applyDefaultModel } from "./provider-auth-helpers-Bo68RFgl.js";
|
|
12
|
+
import { a as GOOGLE_GEMINI_DEFAULT_MODEL, i as detectZaiEndpoint, n as applyOpenAIConfig, o as applyGoogleGeminiModelDefault, r as applyOpenAIProviderConfig, t as OPENAI_DEFAULT_MODEL } from "./openai-model-default-PyAlsRPb.js";
|
|
13
|
+
import { r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-RWaJDIbf.js";
|
|
14
14
|
import { randomBytes } from "node:crypto";
|
|
15
15
|
import { createServer } from "node:http";
|
|
16
16
|
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { Ni as normalizeOptionalSecretInput, Pi as normalizeSecretInput, Tr as normalizeProviderId, d as resolveApiKeyForProfile, er as upsertAuthProfile, lt as resolveDefaultSecretProviderAlias, mt as parseDurationMs, r as resolveAuthProfileOrder, rr as ensureAuthProfileStore, yi as resolveEnvApiKey } from "./auth-profiles-
|
|
2
|
-
import "./agent-scope-
|
|
1
|
+
import { Ni as normalizeOptionalSecretInput, Pi as normalizeSecretInput, Tr as normalizeProviderId, d as resolveApiKeyForProfile, er as upsertAuthProfile, lt as resolveDefaultSecretProviderAlias, mt as parseDurationMs, r as resolveAuthProfileOrder, rr as ensureAuthProfileStore, yi as resolveEnvApiKey } from "./auth-profiles-QXvcpjIT.js";
|
|
2
|
+
import "./agent-scope-Dd2_TNoB.js";
|
|
3
3
|
import "./utils-DanSccFf.js";
|
|
4
|
-
import "./openclaw-root-
|
|
4
|
+
import "./openclaw-root-Gv7Ob-5V.js";
|
|
5
5
|
import "./logger-BcqRk323.js";
|
|
6
6
|
import "./exec-OWC_Lkz4.js";
|
|
7
7
|
import "./github-copilot-token-DHTToceK.js";
|
|
8
8
|
import "./host-env-security-CIiLt2Mi.js";
|
|
9
9
|
import "./version-BKzmSBiX.js";
|
|
10
10
|
import "./registry-CZbmSOj8.js";
|
|
11
|
-
import "./manifest-registry-
|
|
12
|
-
import "./models-config-
|
|
13
|
-
import "./model-catalog-
|
|
14
|
-
import { a as normalizeSecretInputModeInput } from "./auth-choice.apply-helpers-
|
|
15
|
-
import "./issue-format-
|
|
16
|
-
import "./openai-codex-model-default-
|
|
17
|
-
import { A as applyTogetherConfig, B as applyLitellmConfig, E as applyQianfanConfig, H as applyCloudflareAiGatewayConfig, I as applyXiaomiConfig, M as applyVeniceConfig, O as applySyntheticConfig, P as applyXaiConfig, R as applyZaiConfig, St as setZaiApiKey, W as applyVercelAiGatewayConfig, _t as setVeniceApiKey, a as applyMinimaxApiConfig, at as setKilocodeApiKey, b as applyMoonshotConfig, bt as setXaiApiKey, ct as setMinimaxApiKey, d as applyAuthProfileConfig, dt as setOpenaiApiKey, et as setAnthropicApiKey, f as applyHuggingfaceConfig, ft as setOpencodeZenApiKey, g as applyKimiCodeConfig, gt as setTogetherApiKey, ht as setSyntheticApiKey, it as setHuggingfaceApiKey, l as applyMinimaxConfig, lt as setMistralApiKey, m as applyKilocodeConfig, mt as setQianfanApiKey, n as validateAnthropicSetupToken, nt as setCloudflareAiGatewayConfig, o as applyMinimaxApiConfigCn, ot as setKimiCodingApiKey, pt as setOpenrouterApiKey, r as applyOpencodeZenConfig, rt as setGeminiApiKey, st as setLitellmApiKey, t as buildTokenProfileId, tt as setByteplusApiKey, ut as setMoonshotApiKey, v as applyMistralConfig, vt as setVercelAiGatewayApiKey, w as applyOpenrouterConfig, x as applyMoonshotConfigCn, xt as setXiaomiApiKey, yt as setVolcengineApiKey } from "./auth-token-
|
|
18
|
-
import { i as detectZaiEndpoint, n as applyOpenAIConfig, o as applyGoogleGeminiModelDefault } from "./openai-model-default-
|
|
19
|
-
import { r as applyPrimaryModel } from "./model-picker-
|
|
20
|
-
import { i as parseNonInteractiveCustomApiFlags, n as applyCustomApiConfig, o as resolveCustomProviderId, t as CustomApiError } from "./onboard-custom-
|
|
11
|
+
import "./manifest-registry-C_atL4ID.js";
|
|
12
|
+
import "./models-config-ioRkhhh4.js";
|
|
13
|
+
import "./model-catalog-Crm5h6fz.js";
|
|
14
|
+
import { a as normalizeSecretInputModeInput } from "./auth-choice.apply-helpers-DFO2u4vW.js";
|
|
15
|
+
import "./issue-format-BhYUpe8G.js";
|
|
16
|
+
import "./openai-codex-model-default-BnNc6l4d.js";
|
|
17
|
+
import { A as applyTogetherConfig, B as applyLitellmConfig, E as applyQianfanConfig, H as applyCloudflareAiGatewayConfig, I as applyXiaomiConfig, M as applyVeniceConfig, O as applySyntheticConfig, P as applyXaiConfig, R as applyZaiConfig, St as setZaiApiKey, W as applyVercelAiGatewayConfig, _t as setVeniceApiKey, a as applyMinimaxApiConfig, at as setKilocodeApiKey, b as applyMoonshotConfig, bt as setXaiApiKey, ct as setMinimaxApiKey, d as applyAuthProfileConfig, dt as setOpenaiApiKey, et as setAnthropicApiKey, f as applyHuggingfaceConfig, ft as setOpencodeZenApiKey, g as applyKimiCodeConfig, gt as setTogetherApiKey, ht as setSyntheticApiKey, it as setHuggingfaceApiKey, l as applyMinimaxConfig, lt as setMistralApiKey, m as applyKilocodeConfig, mt as setQianfanApiKey, n as validateAnthropicSetupToken, nt as setCloudflareAiGatewayConfig, o as applyMinimaxApiConfigCn, ot as setKimiCodingApiKey, pt as setOpenrouterApiKey, r as applyOpencodeZenConfig, rt as setGeminiApiKey, st as setLitellmApiKey, t as buildTokenProfileId, tt as setByteplusApiKey, ut as setMoonshotApiKey, v as applyMistralConfig, vt as setVercelAiGatewayApiKey, w as applyOpenrouterConfig, x as applyMoonshotConfigCn, xt as setXiaomiApiKey, yt as setVolcengineApiKey } from "./auth-token-4Y8dUkki.js";
|
|
18
|
+
import { i as detectZaiEndpoint, n as applyOpenAIConfig, o as applyGoogleGeminiModelDefault } from "./openai-model-default-PyAlsRPb.js";
|
|
19
|
+
import { r as applyPrimaryModel } from "./model-picker-RWaJDIbf.js";
|
|
20
|
+
import { i as parseNonInteractiveCustomApiFlags, n as applyCustomApiConfig, o as resolveCustomProviderId, t as CustomApiError } from "./onboard-custom-CLwjPxwD.js";
|
|
21
21
|
|
|
22
22
|
//#region src/commands/onboard-non-interactive/api-keys.ts
|
|
23
23
|
function parseEnvVarNameFromSourceLabel(source) {
|
package/dist/{auth-choice.apply-helpers-BJLWC6EX.js → auth-choice.apply-helpers-DFO2u4vW.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Bi as DEFAULT_PROVIDER, Or as resolveAllowlistModelKey, k as encodeJsonPointerToken, lt as resolveDefaultSecretProviderAlias, st as isValidFileSecretRefId, y as resolveSecretRefString, yi as resolveEnvApiKey } from "./auth-profiles-
|
|
1
|
+
import { Bi as DEFAULT_PROVIDER, Or as resolveAllowlistModelKey, k as encodeJsonPointerToken, lt as resolveDefaultSecretProviderAlias, st as isValidFileSecretRefId, y as resolveSecretRefString, yi as resolveEnvApiKey } from "./auth-profiles-QXvcpjIT.js";
|
|
2
2
|
import { s as isValidEnvSecretRefId } from "./types.secrets-CZ26uLlg.js";
|
|
3
3
|
import { t as PROVIDER_ENV_VARS } from "./provider-env-vars-66Tm-Bs1.js";
|
|
4
4
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { $ as resolveGatewayLockDir, G as CONFIG_PATH, J as isNixMode, K as DEFAULT_GATEWAY_PORT, Q as resolveDefaultConfigCandidates, X as resolveConfigPath, Y as resolveCanonicalConfigPath, Z as resolveConfigPathCandidate, at as resolveOAuthPath, et as resolveGatewayPort, ft as expandHomePrefix, it as resolveOAuthDir, m as stripAnsi, mt as resolveRequiredHomeDir, nt as resolveLegacyStateDirs, ot as resolveStateDir, q as STATE_DIR, r as isTruthyEnvValue, rt as resolveNewStateDir, s as createSubsystemLogger, tt as resolveIsNixMode } from "./entry.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-DdHwx_z_.js";
|
|
4
|
-
import { N as resolveAgentModelPrimaryValue, P as toAgentModelListLike, d as resolveDefaultAgentId, i as resolveAgentConfig, o as resolveAgentEffectiveModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
4
|
+
import { N as resolveAgentModelPrimaryValue, P as toAgentModelListLike, d as resolveDefaultAgentId, i as resolveAgentConfig, o as resolveAgentEffectiveModelPrimary, u as resolveAgentWorkspaceDir } from "./agent-scope-Dd2_TNoB.js";
|
|
5
5
|
import { c as normalizeAgentId, t as DEFAULT_AGENT_ID, y as isBlockedObjectKey } from "./session-key-9-yI-GU_.js";
|
|
6
6
|
import { E as isPlainObject$2, S as sleep, h as resolveConfigDir, u as isRecord$2, v as resolveUserPath } from "./utils-DanSccFf.js";
|
|
7
|
-
import { a as openBoundaryFileSync, r as canUseBoundaryFileOpen } from "./openclaw-root-
|
|
7
|
+
import { a as openBoundaryFileSync, r as canUseBoundaryFileOpen } from "./openclaw-root-Gv7Ob-5V.js";
|
|
8
8
|
import { n as runExec } from "./exec-OWC_Lkz4.js";
|
|
9
9
|
import { a as hasConfiguredSecretInput, c as normalizeResolvedSecretInputString, d as resolveSecretInputRef, i as coerceSecretRef, l as normalizeSecretInputString, n as ENV_SECRET_REF_ID_RE, o as isSecretRef, r as assertSecretInputResolved, s as isValidEnvSecretRefId, t as DEFAULT_SECRET_PROVIDER_ALIAS, u as parseEnvTemplateSecretRef } from "./types.secrets-CZ26uLlg.js";
|
|
10
10
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-DHTToceK.js";
|
|
@@ -12,8 +12,8 @@ import { i as sanitizeHostExecEnv, n as isDangerousHostEnvVarName, r as normaliz
|
|
|
12
12
|
import { t as VERSION } from "./version-BKzmSBiX.js";
|
|
13
13
|
import { n as isPathInside } from "./scan-paths-CGHjYWQw.js";
|
|
14
14
|
import { l as normalizeChatChannelId, t as CHANNEL_IDS } from "./registry-CZbmSOj8.js";
|
|
15
|
-
import { d as normalizePluginsConfig, f as resolveEffectiveEnableState, n as loadPluginManifestRegistry, p as resolveMemorySlotDecision } from "./manifest-registry-
|
|
16
|
-
import { d as TOOLS_BY_SENDER_KEY_TYPES, f as parseToolsBySenderTypedKey } from "./dock-
|
|
15
|
+
import { d as normalizePluginsConfig, f as resolveEffectiveEnableState, n as loadPluginManifestRegistry, p as resolveMemorySlotDecision } from "./manifest-registry-C_atL4ID.js";
|
|
16
|
+
import { d as TOOLS_BY_SENDER_KEY_TYPES, f as parseToolsBySenderTypedKey } from "./dock-wtxEAACu.js";
|
|
17
17
|
import { t as runTasksWithConcurrency } from "./run-with-concurrency-BA7Bd9Uj.js";
|
|
18
18
|
import { createRequire } from "node:module";
|
|
19
19
|
import { execFileSync, spawn } from "node:child_process";
|
|
@@ -22,7 +22,7 @@ import path from "node:path";
|
|
|
22
22
|
import fs from "node:fs";
|
|
23
23
|
import JSON5 from "json5";
|
|
24
24
|
import { isDeepStrictEqual } from "node:util";
|
|
25
|
-
import
|
|
25
|
+
import fsPromises from "node:fs/promises";
|
|
26
26
|
import { BedrockClient, ListFoundationModelsCommand } from "@aws-sdk/client-bedrock";
|
|
27
27
|
import { createAssistantMessageEventStream, getEnvApiKey, getOAuthApiKey, getOAuthProviders } from "@mariozechner/pi-ai";
|
|
28
28
|
import crypto, { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
@@ -3824,7 +3824,7 @@ function computeDelayMs(retries, attempt) {
|
|
|
3824
3824
|
}
|
|
3825
3825
|
async function readLockPayload(lockPath) {
|
|
3826
3826
|
try {
|
|
3827
|
-
const raw = await
|
|
3827
|
+
const raw = await fsPromises.readFile(lockPath, "utf8");
|
|
3828
3828
|
const parsed = JSON.parse(raw);
|
|
3829
3829
|
if (typeof parsed.pid !== "number" || typeof parsed.createdAt !== "string") return null;
|
|
3830
3830
|
return {
|
|
@@ -3838,9 +3838,9 @@ async function readLockPayload(lockPath) {
|
|
|
3838
3838
|
async function resolveNormalizedFilePath(filePath) {
|
|
3839
3839
|
const resolved = path.resolve(filePath);
|
|
3840
3840
|
const dir = path.dirname(resolved);
|
|
3841
|
-
await
|
|
3841
|
+
await fsPromises.mkdir(dir, { recursive: true });
|
|
3842
3842
|
try {
|
|
3843
|
-
const realDir = await
|
|
3843
|
+
const realDir = await fsPromises.realpath(dir);
|
|
3844
3844
|
return path.join(realDir, path.basename(resolved));
|
|
3845
3845
|
} catch {
|
|
3846
3846
|
return resolved;
|
|
@@ -3854,7 +3854,7 @@ async function isStaleLock(lockPath, staleMs) {
|
|
|
3854
3854
|
if (!Number.isFinite(createdAt) || Date.now() - createdAt > staleMs) return true;
|
|
3855
3855
|
}
|
|
3856
3856
|
try {
|
|
3857
|
-
const stat = await
|
|
3857
|
+
const stat = await fsPromises.stat(lockPath);
|
|
3858
3858
|
return Date.now() - stat.mtimeMs > staleMs;
|
|
3859
3859
|
} catch {
|
|
3860
3860
|
return true;
|
|
@@ -3867,7 +3867,7 @@ async function releaseHeldLock(normalizedFile) {
|
|
|
3867
3867
|
if (current.count > 0) return;
|
|
3868
3868
|
HELD_LOCKS.delete(normalizedFile);
|
|
3869
3869
|
await current.handle.close().catch(() => void 0);
|
|
3870
|
-
await
|
|
3870
|
+
await fsPromises.rm(current.lockPath, { force: true }).catch(() => void 0);
|
|
3871
3871
|
}
|
|
3872
3872
|
async function acquireFileLock(filePath, options) {
|
|
3873
3873
|
const normalizedFile = await resolveNormalizedFilePath(filePath);
|
|
@@ -3882,7 +3882,7 @@ async function acquireFileLock(filePath, options) {
|
|
|
3882
3882
|
}
|
|
3883
3883
|
const attempts = Math.max(1, options.retries.retries + 1);
|
|
3884
3884
|
for (let attempt = 0; attempt < attempts; attempt += 1) try {
|
|
3885
|
-
const handle = await
|
|
3885
|
+
const handle = await fsPromises.open(lockPath, "wx");
|
|
3886
3886
|
await handle.writeFile(JSON.stringify({
|
|
3887
3887
|
pid: process.pid,
|
|
3888
3888
|
createdAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
@@ -3899,7 +3899,7 @@ async function acquireFileLock(filePath, options) {
|
|
|
3899
3899
|
} catch (err) {
|
|
3900
3900
|
if (err.code !== "EEXIST") throw err;
|
|
3901
3901
|
if (await isStaleLock(lockPath, options.stale)) {
|
|
3902
|
-
await
|
|
3902
|
+
await fsPromises.rm(lockPath, { force: true }).catch(() => void 0);
|
|
3903
3903
|
continue;
|
|
3904
3904
|
}
|
|
3905
3905
|
if (attempt >= attempts - 1) break;
|
|
@@ -15179,7 +15179,7 @@ function createIcaclsResetCommand(targetPath, opts) {
|
|
|
15179
15179
|
//#region src/security/audit-fs.ts
|
|
15180
15180
|
async function safeStat(targetPath) {
|
|
15181
15181
|
try {
|
|
15182
|
-
const lst = await
|
|
15182
|
+
const lst = await fsPromises.lstat(targetPath);
|
|
15183
15183
|
return {
|
|
15184
15184
|
ok: true,
|
|
15185
15185
|
isSymlink: lst.isSymbolicLink(),
|
|
@@ -15218,7 +15218,7 @@ async function inspectPathPermissions(targetPath, opts) {
|
|
|
15218
15218
|
let effectiveMode = st.mode;
|
|
15219
15219
|
let effectiveIsDir = st.isDir;
|
|
15220
15220
|
if (st.isSymlink) try {
|
|
15221
|
-
const target = await
|
|
15221
|
+
const target = await fsPromises.stat(targetPath);
|
|
15222
15222
|
effectiveMode = typeof target.mode === "number" ? target.mode : st.mode;
|
|
15223
15223
|
effectiveIsDir = target.isDirectory();
|
|
15224
15224
|
} catch {}
|
|
@@ -15490,7 +15490,7 @@ async function assertSecurePath(params) {
|
|
|
15490
15490
|
if (stat.isSymlink) {
|
|
15491
15491
|
if (!params.allowSymlinkPath) throw new Error(`${params.label} must not be a symlink: ${effectivePath}`);
|
|
15492
15492
|
try {
|
|
15493
|
-
effectivePath = await
|
|
15493
|
+
effectivePath = await fsPromises.realpath(effectivePath);
|
|
15494
15494
|
} catch {
|
|
15495
15495
|
throw new Error(`${params.label} symlink target is not readable: ${params.targetPath}`);
|
|
15496
15496
|
}
|
|
@@ -15536,7 +15536,7 @@ async function readFileProviderPayload(params) {
|
|
|
15536
15536
|
}, timeoutMs);
|
|
15537
15537
|
});
|
|
15538
15538
|
try {
|
|
15539
|
-
const payload = await Promise.race([
|
|
15539
|
+
const payload = await Promise.race([fsPromises.readFile(secureFilePath, { signal: abortController.signal }), timeoutPromise]);
|
|
15540
15540
|
if (payload.byteLength > maxBytes) throw new Error(`File provider "${params.providerName}" exceeded maxBytes (${maxBytes}).`);
|
|
15541
15541
|
const text = payload.toString("utf8");
|
|
15542
15542
|
if (params.providerConfig.mode === "singleValue") return text.replace(/\r?\n$/, "");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ot as resolveStateDir, s as createSubsystemLogger } from "./entry.js";
|
|
2
|
-
import { Ai as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF, Br as buildKilocodeProvider, Di as buildHuggingfaceModelDefinition, Ei as HUGGINGFACE_MODEL_CATALOG, Fi as KILOCODE_BASE_URL, Hr as buildQianfanProvider, Ii as KILOCODE_DEFAULT_MODEL_REF, Lr as QIANFAN_BASE_URL, Mi as resolveCloudflareAiGatewayBaseUrl, Pi as normalizeSecretInput, Qr as buildVeniceModelDefinition, Rr as QIANFAN_DEFAULT_MODEL_ID, Ti as HUGGINGFACE_BASE_URL, Tr as normalizeProviderId, Ur as buildXiaomiProvider, Vr as buildKimiCodingProvider, Xr as VENICE_DEFAULT_MODEL_REF, Yr as VENICE_BASE_URL, Zr as VENICE_MODEL_CATALOG, ai as SYNTHETIC_DEFAULT_MODEL_REF, er as upsertAuthProfile, ii as SYNTHETIC_BASE_URL, ji as buildCloudflareAiGatewayModelDefinition, ni as TOGETHER_MODEL_CATALOG, oi as SYNTHETIC_MODEL_CATALOG, ri as buildTogetherModelDefinition, si as buildSyntheticModelDefinition, ti as TOGETHER_BASE_URL, ur as resolveOpenClawAgentDir, zr as XIAOMI_DEFAULT_MODEL_ID } from "./auth-profiles-
|
|
2
|
+
import { Ai as CLOUDFLARE_AI_GATEWAY_DEFAULT_MODEL_REF, Br as buildKilocodeProvider, Di as buildHuggingfaceModelDefinition, Ei as HUGGINGFACE_MODEL_CATALOG, Fi as KILOCODE_BASE_URL, Hr as buildQianfanProvider, Ii as KILOCODE_DEFAULT_MODEL_REF, Lr as QIANFAN_BASE_URL, Mi as resolveCloudflareAiGatewayBaseUrl, Pi as normalizeSecretInput, Qr as buildVeniceModelDefinition, Rr as QIANFAN_DEFAULT_MODEL_ID, Ti as HUGGINGFACE_BASE_URL, Tr as normalizeProviderId, Ur as buildXiaomiProvider, Vr as buildKimiCodingProvider, Xr as VENICE_DEFAULT_MODEL_REF, Yr as VENICE_BASE_URL, Zr as VENICE_MODEL_CATALOG, ai as SYNTHETIC_DEFAULT_MODEL_REF, er as upsertAuthProfile, ii as SYNTHETIC_BASE_URL, ji as buildCloudflareAiGatewayModelDefinition, ni as TOGETHER_MODEL_CATALOG, oi as SYNTHETIC_MODEL_CATALOG, ri as buildTogetherModelDefinition, si as buildSyntheticModelDefinition, ti as TOGETHER_BASE_URL, ur as resolveOpenClawAgentDir, zr as XIAOMI_DEFAULT_MODEL_ID } from "./auth-profiles-QXvcpjIT.js";
|
|
3
3
|
import { i as coerceSecretRef, t as DEFAULT_SECRET_PROVIDER_ALIAS } from "./types.secrets-CZ26uLlg.js";
|
|
4
4
|
import { t as PROVIDER_ENV_VARS } from "./provider-env-vars-66Tm-Bs1.js";
|
|
5
5
|
import path from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { N as isRich, P as theme, h as visibleWidth, wt as hasRootVersionAlias } from "./entry.js";
|
|
2
|
-
import { B as loadConfig } from "./auth-profiles-
|
|
3
|
-
import { xn as resolveCommitHash } from "./compact-
|
|
2
|
+
import { B as loadConfig } from "./auth-profiles-QXvcpjIT.js";
|
|
3
|
+
import { xn as resolveCommitHash } from "./compact-BBdhRYXH.js";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/tagline.ts
|
|
6
6
|
const DEFAULT_TAGLINE = "All your chats, one OpenClaw.";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as runCommandWithTimeout } from "./exec-OWC_Lkz4.js";
|
|
2
|
-
import { t as isTailnetIPv4 } from "./tailnet-
|
|
2
|
+
import { t as isTailnetIPv4 } from "./tailnet-CoMmrqa1.js";
|
|
3
3
|
import { n as resolveWideAreaDiscoveryDomain } from "./widearea-dns-e4-5Q3_T.js";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/bonjour-discovery.ts
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { C as info, P as theme, S as danger, _ as defaultRuntime, o as parseBooleanValue, ot as resolveStateDir } from "./entry.js";
|
|
2
|
-
import { B as loadConfig } from "./auth-profiles-
|
|
2
|
+
import { B as loadConfig } from "./auth-profiles-QXvcpjIT.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-DdHwx_z_.js";
|
|
4
|
-
import "./agent-scope-
|
|
4
|
+
import "./agent-scope-Dd2_TNoB.js";
|
|
5
5
|
import { x as shortenHomePath } from "./utils-DanSccFf.js";
|
|
6
|
-
import "./openclaw-root-
|
|
6
|
+
import "./openclaw-root-Gv7Ob-5V.js";
|
|
7
7
|
import "./logger-BcqRk323.js";
|
|
8
8
|
import "./exec-OWC_Lkz4.js";
|
|
9
9
|
import "./github-copilot-token-DHTToceK.js";
|
|
10
10
|
import "./host-env-security-CIiLt2Mi.js";
|
|
11
11
|
import "./version-BKzmSBiX.js";
|
|
12
12
|
import "./registry-CZbmSOj8.js";
|
|
13
|
-
import "./manifest-registry-
|
|
13
|
+
import "./manifest-registry-C_atL4ID.js";
|
|
14
14
|
import "./message-channel-6rkF5KkO.js";
|
|
15
|
-
import "./tailnet-
|
|
16
|
-
import "./ws-
|
|
17
|
-
import "./path-alias-guards-
|
|
18
|
-
import { c as normalizeBrowserFormField, i as resolveExistingPathsWithinRoot, l as normalizeBrowserFormFieldValue, r as DEFAULT_UPLOAD_DIR } from "./paths-
|
|
15
|
+
import "./tailnet-CoMmrqa1.js";
|
|
16
|
+
import "./ws-DrZBk8aE.js";
|
|
17
|
+
import "./path-alias-guards-BndjEKU2.js";
|
|
18
|
+
import { c as normalizeBrowserFormField, i as resolveExistingPathsWithinRoot, l as normalizeBrowserFormFieldValue, r as DEFAULT_UPLOAD_DIR } from "./paths-B-3rcnCY.js";
|
|
19
19
|
import "./redact-BCIqtHJW.js";
|
|
20
20
|
import "./errors-DMBofubI.js";
|
|
21
|
-
import "./fs-safe-
|
|
21
|
+
import "./fs-safe-DZPN9PEp.js";
|
|
22
22
|
import { t as movePathToTrash } from "./trash-BvQCk4Sz.js";
|
|
23
|
-
import "./client-
|
|
24
|
-
import "./call-
|
|
23
|
+
import "./client-DaFloLVI.js";
|
|
24
|
+
import "./call-B56A9tyz.js";
|
|
25
25
|
import "./pairing-token-fl66UgDc.js";
|
|
26
26
|
import { t as formatDocsLink } from "./links-BUkYLQQF.js";
|
|
27
27
|
import { n as runCommandWithRuntime } from "./cli-utils-CI_KkT8q.js";
|
|
28
28
|
import { t as formatHelpExamples } from "./help-format-B08o9IQj.js";
|
|
29
29
|
import "./progress-BNL5DRrQ.js";
|
|
30
30
|
import { n as inheritOptionFromParent } from "./command-options-DEPpN8NK.js";
|
|
31
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
31
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-CZWffg-J.js";
|
|
32
32
|
import { t as copyToClipboard } from "./clipboard-DX6mGuyJ.js";
|
|
33
33
|
import { fileURLToPath } from "node:url";
|
|
34
34
|
import path from "node:path";
|
package/dist/build-info.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { X as resolveConfigPath, et as resolveGatewayPort, ot as resolveStateDir } from "./entry.js";
|
|
2
|
-
import { B as loadConfig } from "./auth-profiles-
|
|
2
|
+
import { B as loadConfig } from "./auth-profiles-QXvcpjIT.js";
|
|
3
3
|
import { b as shortenHomeInString, s as ensureDir, t as CONFIG_DIR, v as resolveUserPath } from "./utils-DanSccFf.js";
|
|
4
4
|
import { a as hasConfiguredSecretInput, d as resolveSecretInputRef } from "./types.secrets-CZ26uLlg.js";
|
|
5
5
|
import { t as VERSION } from "./version-BKzmSBiX.js";
|
|
6
6
|
import { h as GATEWAY_CLIENT_NAMES, m as GATEWAY_CLIENT_MODES } from "./message-channel-6rkF5KkO.js";
|
|
7
|
-
import { a as isSecureWebSocketUrl } from "./ws-
|
|
7
|
+
import { a as isSecureWebSocketUrl } from "./ws-DrZBk8aE.js";
|
|
8
8
|
import { n as resolveGatewayCredentialsFromConfig } from "./credentials-BN-3xksd.js";
|
|
9
|
-
import { Pt as PROTOCOL_VERSION, in as normalizeFingerprint, on as loadOrCreateDeviceIdentity, rn as resolveSecretInputString, t as GatewayClient } from "./client-
|
|
9
|
+
import { Pt as PROTOCOL_VERSION, in as normalizeFingerprint, on as loadOrCreateDeviceIdentity, rn as resolveSecretInputString, t as GatewayClient } from "./client-DaFloLVI.js";
|
|
10
10
|
import { execFile } from "node:child_process";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import { promisify } from "node:util";
|
|
13
|
-
import
|
|
13
|
+
import fsPromises from "node:fs/promises";
|
|
14
14
|
import { X509Certificate, randomUUID } from "node:crypto";
|
|
15
15
|
|
|
16
16
|
//#region src/infra/tls/gateway.ts
|
|
17
17
|
const execFileAsync = promisify(execFile);
|
|
18
18
|
async function fileExists(filePath) {
|
|
19
19
|
try {
|
|
20
|
-
await
|
|
20
|
+
await fsPromises.access(filePath);
|
|
21
21
|
return true;
|
|
22
22
|
} catch {
|
|
23
23
|
return false;
|
|
@@ -44,8 +44,8 @@ async function generateSelfSignedCert(params) {
|
|
|
44
44
|
"-subj",
|
|
45
45
|
"/CN=openclaw-gateway"
|
|
46
46
|
]);
|
|
47
|
-
await
|
|
48
|
-
await
|
|
47
|
+
await fsPromises.chmod(params.keyPath, 384).catch(() => {});
|
|
48
|
+
await fsPromises.chmod(params.certPath, 384).catch(() => {});
|
|
49
49
|
params.log?.info?.(`gateway tls: generated self-signed cert at ${shortenHomeInString(params.certPath)}`);
|
|
50
50
|
}
|
|
51
51
|
async function loadGatewayTlsRuntime(cfg, log) {
|
|
@@ -83,9 +83,9 @@ async function loadGatewayTlsRuntime(cfg, log) {
|
|
|
83
83
|
error: "gateway tls: cert/key missing"
|
|
84
84
|
};
|
|
85
85
|
try {
|
|
86
|
-
const cert = await
|
|
87
|
-
const key = await
|
|
88
|
-
const ca = caPath ? await
|
|
86
|
+
const cert = await fsPromises.readFile(certPath, "utf8");
|
|
87
|
+
const key = await fsPromises.readFile(keyPath, "utf8");
|
|
88
|
+
const ca = caPath ? await fsPromises.readFile(caPath, "utf8") : void 0;
|
|
89
89
|
const fingerprintSha256 = normalizeFingerprint(new X509Certificate(cert).fingerprint256 ?? "");
|
|
90
90
|
if (!fingerprintSha256) return {
|
|
91
91
|
enabled: false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
eb8ec15a5b9f4a0f980c2c6f3cefcb9bbc011d85bd2c1f37225baf3adf7926e0
|
|
@@ -2,7 +2,7 @@ import { t as runCommandWithTimeout } from "./exec-OWC_Lkz4.js";
|
|
|
2
2
|
import { n as fetchWithTimeout } from "./fetch-timeout-BhdrdVp5.js";
|
|
3
3
|
import { t as resolveChannelDefaultAccountId } from "./helpers-BAv58r5B.js";
|
|
4
4
|
import path from "node:path";
|
|
5
|
-
import
|
|
5
|
+
import fsPromises from "node:fs/promises";
|
|
6
6
|
|
|
7
7
|
//#region src/infra/update-channels.ts
|
|
8
8
|
const DEFAULT_PACKAGE_CHANNEL = "stable";
|
|
@@ -86,11 +86,11 @@ function resolveUpdateChannelDisplay(params) {
|
|
|
86
86
|
//#region src/infra/detect-package-manager.ts
|
|
87
87
|
async function detectPackageManager$1(root) {
|
|
88
88
|
try {
|
|
89
|
-
const raw = await
|
|
89
|
+
const raw = await fsPromises.readFile(path.join(root, "package.json"), "utf-8");
|
|
90
90
|
const pm = JSON.parse(raw)?.packageManager?.split("@")[0]?.trim();
|
|
91
91
|
if (pm === "pnpm" || pm === "bun" || pm === "npm") return pm;
|
|
92
92
|
} catch {}
|
|
93
|
-
const files = await
|
|
93
|
+
const files = await fsPromises.readdir(root).catch(() => []);
|
|
94
94
|
if (files.includes("pnpm-lock.yaml")) return "pnpm";
|
|
95
95
|
if (files.includes("bun.lockb")) return "bun";
|
|
96
96
|
if (files.includes("package-lock.json")) return "npm";
|
|
@@ -112,7 +112,7 @@ function formatGitInstallLabel(update) {
|
|
|
112
112
|
}
|
|
113
113
|
async function exists(p) {
|
|
114
114
|
try {
|
|
115
|
-
await
|
|
115
|
+
await fsPromises.access(p);
|
|
116
116
|
return true;
|
|
117
117
|
} catch {
|
|
118
118
|
return false;
|
|
@@ -239,7 +239,7 @@ async function checkGitUpdateStatus(params) {
|
|
|
239
239
|
}
|
|
240
240
|
async function statMtimeMs(p) {
|
|
241
241
|
try {
|
|
242
|
-
return (await
|
|
242
|
+
return (await fsPromises.stat(p)).mtimeMs;
|
|
243
243
|
} catch {
|
|
244
244
|
return null;
|
|
245
245
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { s as createSubsystemLogger } from "./entry.js";
|
|
2
|
-
import { $r as resolveRetryConfig, ei as retryAsync } from "./auth-profiles-
|
|
2
|
+
import { $r as resolveRetryConfig, ei as retryAsync } from "./auth-profiles-QXvcpjIT.js";
|
|
3
3
|
import { r as formatErrorMessage } from "./errors-DMBofubI.js";
|
|
4
4
|
import { RateLimitError } from "@buape/carbon";
|
|
5
5
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as isTruthyEnvValue } from "./entry.js";
|
|
2
2
|
import { n as CHAT_CHANNEL_ORDER } from "./registry-CZbmSOj8.js";
|
|
3
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
4
|
-
import { a as listChannelPluginCatalogEntries } from "./plugin-auto-enable-
|
|
5
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
3
|
+
import { n as listChannelPlugins } from "./plugins-Bv9ZfJVO.js";
|
|
4
|
+
import { a as listChannelPluginCatalogEntries } from "./plugin-auto-enable-BAHkcVP4.js";
|
|
5
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-bnANTUyV.js";
|
|
6
6
|
import { fileURLToPath } from "node:url";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
1
|
+
import { n as listChannelPlugins } from "./plugins-Bv9ZfJVO.js";
|
|
2
2
|
import { c as listDeliverableMessageChannels, l as normalizeMessageChannel, n as isDeliverableMessageChannel } from "./message-channel-6rkF5KkO.js";
|
|
3
3
|
|
|
4
4
|
//#region src/infra/outbound/channel-selection.ts
|