@hanzo/bot 2026.3.7 → 2026.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{accounts-D-CXitCL.js → accounts-BVV0eCmx.js} +2 -2
- package/dist/{accounts-Da-TWEIc.js → accounts-C04lw_uh.js} +4 -4
- package/dist/{accounts-DRUpcCkN.js → accounts-CtzU1wJb.js} +2 -2
- package/dist/{acp-cli-DYkqqqaJ.js → acp-cli-CDUVvPjD.js} +28 -24
- package/dist/{active-listener-DlziGqIg.js → active-listener-NprMzFx6.js} +2 -2
- package/dist/{agent-scope-C5bklqr1.js → agent-scope-BcruZHHR.js} +5 -5
- package/dist/{agents-CH9da9zi.js → agents-D8rH1P3g.js} +20 -19
- package/dist/{agents.config-BQ8I8wuY.js → agents.config-OuZqDEe6.js} +4 -4
- package/dist/{api-0IJLBHQk.js → api-Bgrt1pfd.js} +1 -1
- package/dist/{api-key-rotation-DuxfwUin.js → api-key-rotation-C0toONXd.js} +2 -2
- package/dist/{audio-preflight-CpAXC_Ct.js → audio-preflight-BEc8i-bS.js} +4 -4
- package/dist/{audio-preflight-BnfuyvxO.js → audio-preflight-D_s-peid.js} +4 -4
- package/dist/audio-preflight-d9iZknwY.js +102 -0
- package/dist/{audio-transcription-runner-GcMnO6sT.js → audio-transcription-runner-BePCnZfw.js} +1 -1
- package/dist/{audio-transcription-runner-CAOjjGxN.js → audio-transcription-runner-X1KzI7dF.js} +1 -1
- package/dist/{audio-transcription-runner-DCsEpXgz.js → audio-transcription-runner-bvBQs8UB.js} +13 -13
- package/dist/{audit-DCJbont3.js → audit-BWNRwu8g.js} +28 -28
- package/dist/{audit-membership-runtime-BIZ4bigJ.js → audit-membership-runtime-Bki8LzkA.js} +7 -6
- package/dist/{auth-CqlFkBrB.js → auth-CWHo884l.js} +5 -5
- package/dist/{auth-choice-9obtL17m.js → auth-choice-DUtpqOiw.js} +25 -22
- package/dist/{auth-choice-w2mL3d_M.js → auth-choice-n72qSpix.js} +15 -14
- package/dist/{auth-choice-options-DMoNPDm6.js → auth-choice-options-D13GahL8.js} +1 -1
- package/dist/{auth-choice-prompt-Btp8AqFI.js → auth-choice-prompt-8z7z_AUr.js} +1 -1
- package/dist/{auth-choice.apply-helpers-JU7nAiWC.js → auth-choice.apply-helpers-DMhFdoYH.js} +3 -3
- package/dist/{auth-mode-policy-slU2Nkgr.js → auth-mode-policy-BopOhrK8.js} +1 -1
- package/dist/{auth-profiles-BCHBDrea.js → auth-profiles-BtxyXCZY.js} +48 -925
- package/dist/{auth-token-BfzDARSk.js → auth-token-zcumGtdt.js} +3 -3
- package/dist/{banner-C4sx0Vaf.js → banner-C1G_GtAz.js} +3 -3
- package/dist/{bonjour-discovery-CzNIGZ7K.js → bonjour-discovery-C1SH2QqR.js} +3 -3
- package/dist/{browser-cli-qPNZkfDX.js → browser-cli-Bd81bwqM.js} +36 -32
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +6 -6
- package/dist/bundled/session-memory/handler.js +6 -6
- package/dist/{call-C4z2LJrI.js → call-DL23sPxF.js} +9 -8
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{channel-account-context-DyLW8OD1.js → channel-account-context-DGbGZhGz.js} +3 -3
- package/dist/{channel-activity-Bch3Rz78.js → channel-activity-DItBzFyQ.js} +3 -3
- package/dist/{channel-options-ChtPFPQx.js → channel-options-DU65sVdF.js} +4 -4
- package/dist/{channel-selection-CXz2aSCs.js → channel-selection-BnXQH0vV.js} +2 -2
- package/dist/{channel-web-Bok0lFvq.js → channel-web-BbWnfun7.js} +25 -24
- package/dist/{channels-cli-B5oDUpEB.js → channels-cli-B8LCe0vu.js} +142 -135
- package/dist/{channels-status-issues-BAy-21Cb.js → channels-status-issues-DXNaEL8i.js} +1 -1
- package/dist/{chrome--CFg5C_H.js → chrome-B24-8NDM.js} +8 -8
- package/dist/{chrome-jCt9JCU8.js → chrome-C7OwLtx9.js} +8 -8
- package/dist/{chrome-TWq_09_a.js → chrome-D4EfbMKb.js} +7 -7
- package/dist/{clack-prompter-0Rux0QKP.js → clack-prompter-CNKAp_jq.js} +5 -5
- package/dist/clawbot-cli-Bv8oZgvA.js +36 -0
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/cli-DXbYdTNH.js +162 -0
- package/dist/{client-DWdu7Vc_.js → client-Bvvecv3V.js} +25 -142
- package/dist/{clipboard-Bfhk9cp3.js → clipboard-DwO9zZBK.js} +1 -1
- package/dist/{cloud-connect-BERMG0cQ.js → cloud-connect-CknfBF39.js} +89 -52
- package/dist/cloud-launch-7mm4ZKXy.js +172 -0
- package/dist/{command-poll-backoff.runtime-COz7plyi.js → command-poll-backoff.runtime-ClRAZFDL.js} +1 -1
- package/dist/{command-registry-DTMuq-Fw.js → command-registry-CTaJSsqV.js} +11 -11
- package/dist/{command-secret-targets-B2OuvZQf.js → command-secret-targets-C382v6Qd.js} +6 -6
- package/dist/{commands-BAjCW6P6.js → commands-BoGUirwW.js} +2 -2
- package/dist/{commands-registry-bwa5zMJ1.js → commands-registry-Dn_5_JYs.js} +6 -6
- package/dist/{compact-CenE94cW.js → compact-CuLMew-8.js} +141 -910
- package/dist/{completion-cli-spiS5-xU.js → completion-cli-CixfDHo4.js} +6 -6
- package/dist/{config-cli-w-RlQ3jB.js → config-cli-Bu2Eakz-.js} +22 -19
- package/dist/{config-guard-rlTIXCSD.js → config-guard-Bt2BdsMd.js} +5 -5
- package/dist/{config-validation-B3rr-h3d.js → config-validation-WdHwRX05.js} +6 -6
- package/dist/{configure-YxPFskRy.js → configure-ClIJiVqS.js} +32 -31
- package/dist/{control-ui-assets-CvLJNwEr.js → control-ui-assets-Co9rmXkB.js} +3 -3
- package/dist/{credentials-DVX7Krq5.js → credentials-SIFZMlmo.js} +1 -1
- package/dist/{cron-cli-DI9DN0vu.js → cron-cli-DR13ajr7.js} +32 -28
- package/dist/{daemon-cli-OBRBnIhu.js → daemon-cli-C6ZVajFI.js} +28 -28
- package/dist/{daemon-install-CGk2QyeB.js → daemon-install-DsDcMh2v.js} +43 -39
- package/dist/{daemon-install-helpers-C1QLEGFF.js → daemon-install-helpers-BtOiCRD1.js} +7 -35
- package/dist/{deliver-DPkEY6xb.js → deliver-Bge0HwrF.js} +13 -13
- package/dist/{deliver-BVtVDxwX.js → deliver-D8dBbzpu.js} +1 -1
- package/dist/{deliver-DmfS4khs.js → deliver-DudaV86i.js} +1 -1
- package/dist/{deliver-runtime-G0G5orrZ.js → deliver-runtime-C76IMU4W.js} +3 -3
- package/dist/{deliver-runtime-PxJvVUhh.js → deliver-runtime-qDmQqiF-.js} +3 -3
- package/dist/deliver-runtime-s0eLCemL.js +63 -0
- package/dist/{delivery-queue-DgdE_Ifa.js → delivery-queue-BVKd_xSI.js} +1 -1
- package/dist/deps-send-discord.runtime-C8HKp3uO.js +37 -0
- package/dist/deps-send-imessage.runtime-ECy162Cs.js +36 -0
- package/dist/deps-send-signal.runtime-XbioSg-_.js +35 -0
- package/dist/deps-send-slack.runtime-BM7Vp8vX.js +33 -0
- package/dist/deps-send-telegram.runtime-IFD4dAk7.js +39 -0
- package/dist/deps-send-whatsapp.runtime-BHuShWkA.js +124 -0
- package/dist/{deps-send-whatsapp.runtime-CrzuaVhC.js → deps-send-whatsapp.runtime-Cq-TLsJw.js} +7 -7
- package/dist/{deps-send-whatsapp.runtime-8bLqjmui.js → deps-send-whatsapp.runtime-Cv_awFtm.js} +7 -7
- package/dist/device-identity-DtdLP7QQ.js +148 -0
- package/dist/{devices-cli-C7xKmiR9.js → devices-cli-DZRtpqol.js} +25 -21
- package/dist/{diagnostic-DCevSIi3.js → diagnostic-CXxZq_XY.js} +3 -3
- package/dist/{diagnostics-vhe8iPOe.js → diagnostics-GQuagqCt.js} +1 -1
- package/dist/{directory-cli-BrLvL2oD.js → directory-cli-Tqim_rB9.js} +24 -21
- package/dist/{dns-cli-Dcytc0em.js → dns-cli-AcAZnW-T.js} +19 -16
- package/dist/{dock-D1Nz-RwP.js → dock-nMBfeGKa.js} +7 -7
- package/dist/{docs-cli-CjnLrTzs.js → docs-cli-C6mNYtxD.js} +17 -16
- package/dist/{doctor-completion-BKaFgAAN.js → doctor-completion-Dg6AJY6Q.js} +4 -4
- package/dist/{doctor-config-flow-Bp3eehAS.js → doctor-config-flow-CKY6Mr3X.js} +19 -19
- package/dist/{enable-pUSco1cm.js → enable-BWraNcrd.js} +2 -2
- package/dist/entry.js +6 -5
- package/dist/{errors-Dh5KARaE.js → errors-ClLWB67m.js} +1 -1
- package/dist/{exec-B45rafWZ.js → exec-B8Hv4Nkd.js} +1 -1
- package/dist/{exec-approvals-B5leCM6K.js → exec-approvals-Bh1osORd.js} +1 -1
- package/dist/{exec-approvals-allowlist-CSlk-iUy.js → exec-approvals-allowlist-dlIMsRq0.js} +1 -1
- package/dist/{exec-approvals-cli-B722kWhJ.js → exec-approvals-cli-B2V935Or.js} +33 -29
- package/dist/{exec-safe-bin-runtime-policy-C4OXhXIe.js → exec-safe-bin-runtime-policy-Ds-cMyOt.js} +2 -2
- package/dist/extensionAPI.js +6 -6
- package/dist/{fetch-COQIeEVX.js → fetch-BPh3R9xH.js} +3 -3
- package/dist/{fetch-TlhZeXdg.js → fetch-DyJnPUwL.js} +1 -1
- package/dist/{fetch-guard-BiNciKHu.js → fetch-guard-hL-C2yQz.js} +3 -3
- package/dist/{frontmatter-BIwJR052.js → frontmatter-B0viix_h.js} +2 -2
- package/dist/{fs-safe-DtMJsayp.js → fs-safe-CFIinCN2.js} +3 -3
- package/dist/gateway-cli-DjWebqxe.js +1436 -0
- package/dist/{gateway-install-token-tifgQqTq.js → gateway-install-token-olAkdWwV.js} +6 -6
- package/dist/gateway-lock-DNpln_70.js +192 -0
- package/dist/{gateway-rpc--AYNXZQF.js → gateway-rpc-B37zbuoK.js} +3 -3
- package/dist/{github-copilot-token-Byc_YVYE.js → github-copilot-token-BKQ4nXAw.js} +2 -23
- package/dist/{gmail-setup-utils-B1wEc-nz.js → gmail-setup-utils-DuoBM8ed.js} +3 -3
- package/dist/{health-DTtmaQPz.js → health-Cs-k6kLT.js} +18 -16
- package/dist/{helpers-CIEbwEWl.js → helpers-DDBxLojl.js} +1 -1
- package/dist/{hooks-cli-DJDBpL-Z.js → hooks-cli-Zqdxhm6M.js} +123 -116
- package/dist/{hooks-status-CFT0VML6.js → hooks-status-DqCwY9M6.js} +4 -4
- package/dist/{image-DSK1hSSV.js → image-BOybyCis.js} +1 -1
- package/dist/{image-DFnt4Uwg.js → image-m1GU1uco.js} +7 -7
- package/dist/{image-BdZcUz8M.js → image-nUHQF6BX.js} +1 -1
- package/dist/{image-ops-DBPCaLYI.js → image-ops-Bnk-bI_x.js} +1 -1
- package/dist/{image-runtime-ueqmfx1a.js → image-runtime-B5M_-diF.js} +3 -3
- package/dist/image-runtime-CesErRak.js +57 -0
- package/dist/{image-runtime-xqxW2PQA.js → image-runtime-y4msd5bn.js} +3 -3
- package/dist/{inspect-BVm4U2OP.js → inspect-CMuOPXUf.js} +2 -2
- package/dist/{install-safe-path-Df97RWiJ.js → install-safe-path-BxdyoAni.js} +3 -3
- package/dist/{installs-BGMsioU1.js → installs-c4kWJSG4.js} +8 -8
- package/dist/ip-C7WWCRN7.js +204 -0
- package/dist/{ipv4-Difv_P0_.js → ipv4-DcjwXncJ.js} +2 -2
- package/dist/{ir-CaGizvli.js → ir-BjnGKA2N.js} +8 -8
- package/dist/{issue-format-DjqrcimU.js → issue-format-BMPYbT1P.js} +1 -1
- package/dist/json-file-CNp4GTiH.js +25 -0
- package/dist/{lifecycle-core-BXWGDU3R.js → lifecycle-core-fN_BonzB.js} +10 -10
- package/dist/{links-C7eMwu1P.js → links-DZZ9QxWA.js} +1 -1
- package/dist/llm-slug-generator.js +6 -6
- package/dist/local-launch-C2RER-G3.js +126 -0
- package/dist/{logger-DB-PHqB2.js → logger-DyQjakwH.js} +2 -1
- package/dist/{logging-CS4C9VwV.js → logging--bXnY6uw.js} +1 -1
- package/dist/{login-B8HwtO61.js → login-DTK-M8Is.js} +6 -6
- package/dist/{login-qr-amd1X6Dw.js → login-qr-CmnyPjTv.js} +29 -16
- package/dist/{logs-cli-BH8DNgo2.js → logs-cli-BSlzurlM.js} +27 -23
- package/dist/machine-name-BWZ0tBHk.js +41 -0
- package/dist/{manager-BYSXh-I3.js → manager-BVqjeGyT.js} +11 -11
- package/dist/manager-runtime-CBdUM6c8.js +27 -0
- package/dist/{manifest-registry-9oWnIuht.js → manifest-registry-m_hXBIk-.js} +4 -4
- package/dist/{memory-cli-C6ocXZHW.js → memory-cli-yvsbLFgi.js} +15 -14
- package/dist/{message-channel-7mpcAPwa.js → message-channel-DOpIvru6.js} +34 -2
- package/dist/{model-catalog-B3fDLVsV.js → model-catalog-DtjVcDuN.js} +11 -5
- package/dist/{model-picker-V0gt2kzq.js → model-picker-oa-NsQXX.js} +5 -4
- package/dist/{models-D9CovevI.js → models-Bi78FQeE.js} +26 -25
- package/dist/{models-cli-CQBq_lri.js → models-cli-DUkH_80R.js} +126 -119
- package/dist/{models-config-Tnpb1ctj.js → models-config-D_IvpQGa.js} +3 -2
- package/dist/{node-cli-Cy9sSHy5.js → node-cli-B1iGQlR9.js} +61 -54
- package/dist/{node-command-policy-C9mK2tft.js → node-command-policy-CeKPGmlP.js} +2 -2
- package/dist/node-commands-sMomb3e1.js +20 -0
- package/dist/{node-service-DB36GYv5.js → node-service-BLMp6VWJ.js} +2 -2
- package/dist/{nodes-cli-DEtlooE3.js → nodes-cli-CD9qv7k5.js} +39 -35
- package/dist/{nodes-screen-DmJ2G431.js → nodes-screen-X8daVm8e.js} +5 -5
- package/dist/{note-DI9vedAF.js → note-C3wyXRP2.js} +2 -2
- package/dist/{npm-pack-install-_OjtFm2J.js → npm-pack-install-B0X6q-Co.js} +3 -3
- package/dist/{npm-resolution-DzmQqopk.js → npm-resolution-CavQ2ST5.js} +5 -5
- package/dist/{oauth-env-DKoO0B8-.js → oauth-env-9SRuwpTK.js} +1 -1
- package/dist/{oauth-tls-preflight-Dzh0FiLy.js → oauth-tls-preflight-C_9v9ytQ.js} +2 -2
- package/dist/{onboard-B_1mmscr.js → onboard-Dgav6iT6.js} +17 -17
- package/dist/{onboard-auth.credentials-CtuA7DuT.js → onboard-auth.credentials-CMsut-0h.js} +4 -3
- package/dist/{onboard-channels-C1ZeD4r3.js → onboard-channels-oAN4ja4v.js} +26 -25
- package/dist/{onboard-custom-BU2l3aiF.js → onboard-custom-B3RIFmaw.js} +7 -7
- package/dist/{onboard-helpers-Dtu3-e93.js → onboard-helpers-BkwNJPNU.js} +12 -12
- package/dist/{onboard-hooks-w-a3FVVK.js → onboard-hooks-BRCGmt7Q.js} +12 -11
- package/dist/{onboard-remote-C-HD7hQU.js → onboard-remote-CE5v5J2R.js} +5 -5
- package/dist/{onboard-skills-DvgdlwqH.js → onboard-skills-DD5L2MsA.js} +5 -5
- package/dist/{onboarding-DozRyXTe.js → onboarding-gbgi-zx9.js} +23 -23
- package/dist/{onboarding.finalize-BfSNnhpS.js → onboarding.finalize-dk1j3ozb.js} +135 -128
- package/dist/{onboarding.gateway-config-C02W81hD.js → onboarding.gateway-config-DNQfWDVc.js} +39 -34
- package/dist/{onboarding.secret-input-BO32ZliB.js → onboarding.secret-input-BDId1_5K.js} +2 -2
- package/dist/{openai-codex-model-default-gJryyHmS.js → openai-codex-model-default-EWrFsdir.js} +5 -5
- package/dist/{openai-model-default-D2LuX7D-.js → openai-model-default-CcOzYsIQ.js} +3 -3
- package/dist/{outbound-CXQEMm6n.js → outbound-DCuHHD3G.js} +8 -8
- package/dist/{outbound-attachment-D7sOzAQn.js → outbound-attachment-Bm82Qbyl.js} +3 -3
- package/dist/{pairing-cli-BkbpM3Mt.js → pairing-cli-dXCvRk1U.js} +23 -20
- package/dist/{pairing-labels-CjKrz2C9.js → pairing-labels-B_3GjgjR.js} +1 -1
- package/dist/{pairing-store-nyK6CFoT.js → pairing-store-CXFEv3Gr.js} +5 -5
- package/dist/{pairing-token-Tb0YsOGr.js → pairing-token-BIAdQuAM.js} +1 -1
- package/dist/{path-alias-guards-CUaIvLOE.js → path-alias-guards-Bz8AnRb7.js} +1 -1
- package/dist/{path-env-LTMy-Xkk.js → path-env-CgmdxEc7.js} +1 -1
- package/dist/{path-safety-DwIbN_B2.js → path-safety-EkGa1GqP.js} +1 -1
- package/dist/{paths-Dr0uMr7v.js → paths-BBXgPm_n.js} +2 -2
- package/dist/{paths-0GcCtgXm.js → paths-gTdorMgW.js} +1 -1
- package/dist/{pi-embedded-DBn841N-.js → pi-embedded-BHXPs-Ix.js} +24 -24
- package/dist/{pi-embedded-DYc6emwb.js → pi-embedded-DvWHP6Nn.js} +24 -24
- package/dist/{pi-embedded-helpers-BMC2HFyB.js → pi-embedded-helpers-CCkKNz_h.js} +5 -5
- package/dist/{pi-embedded-helpers-DLm1Mtr2.js → pi-embedded-helpers-Ck1qEeMH.js} +3 -3
- package/dist/{pi-embedded-helpers-BtnBVL-4.js → pi-embedded-helpers-xIXwvwuE.js} +3 -3
- package/dist/{pi-model-discovery-BUP6uy2Q.js → pi-model-discovery-6_opNECD.js} +2 -1
- package/dist/pi-model-discovery-runtime-8K2F-Fkl.js +20 -0
- package/dist/{pi-tools.before-tool-call.runtime-r5_UoU-W.js → pi-tools.before-tool-call.runtime-BrFKAhWX.js} +16 -13
- package/dist/{pi-tools.policy-C_cbrlt5.js → pi-tools.policy-U1G3dAzL.js} +9 -9
- package/dist/{plugin-auto-enable-DdGdWKDo.js → plugin-auto-enable-3v7X3qMK.js} +6 -6
- package/dist/{plugin-registry-FdOZQF3c.js → plugin-registry-Brz1ypl9.js} +5 -5
- package/dist/{plugins-D3Wuignn.js → plugins-CCkC0dRo.js} +7 -6
- package/dist/{plugins-cli-CV4ilsn4.js → plugins-cli-DGfFRLeo.js} +123 -116
- package/dist/{ports-BZsa4E0e.js → ports-BG0KrTF5.js} +3 -2
- package/dist/{ports-B8DmvnDT.js → ports-BxwhTkI2.js} +5 -29
- package/dist/ports-lsof-C-KFQ3hh.js +27 -0
- package/dist/{probe-D23qt8BT.js → probe-AK77B0YW.js} +4 -4
- package/dist/{program-GusnXq4M.js → program-DfJJCEJW.js} +125 -118
- package/dist/{progress-DLHMb9Nz.js → progress-DB5E2Y0L.js} +1 -1
- package/dist/{prompt-select-styled-B8L90ha2.js → prompt-select-styled-Cm8h3ln5.js} +50 -49
- package/dist/{provider-auth-helpers-DCzPHYBh.js → provider-auth-helpers-BWFf-ICH.js} +9 -8
- package/dist/{proxy-env-CKBWNd19.js → proxy-env-a_fwG5uV.js} +1 -1
- package/dist/{proxy-fetch-CuomJeW8.js → proxy-fetch-B-9MM6tH.js} +1 -1
- package/dist/{push-apns-BNjpWCK5.js → push-apns-D7Kl5IlU.js} +6 -6
- package/dist/{pw-ai-DbzNFC8m.js → pw-ai-BuJLXHSR.js} +28 -24
- package/dist/{pw-ai-pJMhS79V.js → pw-ai-DsYmOxCp.js} +1 -1
- package/dist/{pw-ai-C-Sy12jT.js → pw-ai-DweqbnMJ.js} +1 -1
- package/dist/{qmd-manager-BuqPkrhL.js → qmd-manager-ChOTfdZQ.js} +14 -13
- package/dist/{qr-cli-DCqr6_WR.js → qr-cli-CNV3ou88.js} +8 -7
- package/dist/{redact-snapshot-COg8NLLO.js → redact-snapshot-DDgxiqE4.js} +3 -3
- package/dist/{register.agent-yjg7wijd.js → register.agent-B6lw56u_.js} +147 -140
- package/dist/register.configure-A26LOYA5.js +173 -0
- package/dist/{register.maintenance-B1tKJXP8.js → register.maintenance-Bv41DKCC.js} +144 -136
- package/dist/{register.message-BJm9UQ1U.js → register.message-BTZUaOa_.js} +119 -112
- package/dist/{register.onboard-Si5PW3Ke.js → register.onboard-Cla_XQtJ.js} +47 -43
- package/dist/{register.setup-Dgd21xa5.js → register.setup-BO3qmf_4.js} +46 -42
- package/dist/{register.status-health-sessions-DijNX4q2.js → register.status-health-sessions-DQxR8MS5.js} +134 -127
- package/dist/{register.subclis-RfmNwdNw.js → register.subclis-CasWzZR5.js} +32 -32
- package/dist/{registry-CxLUHPLp.js → registry-DnJ84ILp.js} +6 -83
- package/dist/{resolve-configured-secret-input-string-ySbc3h26.js → resolve-configured-secret-input-string-D9uWNIsN.js} +2 -2
- package/dist/restart-D97MOP8K.js +782 -0
- package/dist/{rpc-DaYUgLOy.js → rpc-DyZoASXQ.js} +4 -4
- package/dist/run-loop-Zvh_699t.js +224 -0
- package/dist/{run-main-t3x2kkjY.js → run-main-CgFUs81l.js} +148 -133
- package/dist/{runtime-BkR9qMZk.js → runtime-BBknab-X.js} +6 -5
- package/dist/runtime-CvdZtNmJ.js +100 -0
- package/dist/{runtime-config-collectors-CCkqshyY.js → runtime-config-collectors-CML7zUqZ.js} +2 -2
- package/dist/{runtime-guard-BMUPc-7K.js → runtime-guard-jpG1v0SY.js} +1 -1
- package/dist/runtime-whatsapp-login.runtime-COI7KRKp.js +23 -0
- package/dist/runtime-whatsapp-outbound.runtime-la1XDkPQ.js +33 -0
- package/dist/{sandbox-DN9CY7lp.js → sandbox-DKscghPx.js} +19 -18
- package/dist/{sandbox-cli-BoXV0LgP.js → sandbox-cli-CPwPZJBq.js} +52 -48
- package/dist/{secrets-cli-CyF7PIF1.js → secrets-cli-BY0IyBZM.js} +31 -26
- package/dist/{security-cli-Dyvx1GHA.js → security-cli-CG6OlQ29.js} +66 -61
- package/dist/{send-7T5wUQDt.js → send-BSbPEzn5.js} +7 -7
- package/dist/{send-Ge3BmrKO.js → send-C2xEPjDg.js} +8 -8
- package/dist/{send-DGbx1H-1.js → send-CFNNbHEA.js} +11 -11
- package/dist/{send-rLuC3ZNP.js → send-CIW-foVz.js} +7 -7
- package/dist/{send-CGAq-Ure.js → send-CZtdjq0Y.js} +20 -20
- package/dist/{gateway-cli-D7jJhAZQ.js → server-CG9eco0N.js} +122 -1835
- package/dist/{server-BM8Bplbe.js → server-DfSS2w17.js} +36 -32
- package/dist/{server-context-B1j20KiF.js → server-context-CcW_Z5sB.js} +15 -15
- package/dist/{server-lifecycle-D8uRbSiN.js → server-lifecycle-DWK8vMXD.js} +2 -2
- package/dist/{server-middleware-C0e-wReR.js → server-middleware-BtyTo4hI.js} +2 -2
- package/dist/{server-node-events-C876mSJD.js → server-node-events-Ck1bPPa5.js} +117 -110
- package/dist/{service-BJxGQl0h.js → service-DnXLOpYd.js} +2 -2
- package/dist/{session-1LXasKCO.js → session-Dnt2qKJU.js} +4 -4
- package/dist/{session-cost-usage-BKD6u4HD.js → session-cost-usage-CBHvFXhD.js} +3 -3
- package/dist/{session-utils-CigqosOc.js → session-utils-t4ZmEDMj.js} +9 -8
- package/dist/{sessions-Db2DF_68.js → sessions-BkKVGWHa.js} +13 -12
- package/dist/{sessions-CwRdJvxU.js → sessions-D6VEpJTN.js} +7 -7
- package/dist/{shared-DcKZdze7.js → shared-DKj9yygb.js} +4 -4
- package/dist/{skill-commands-BFUWbeCU.js → skill-commands-Dyi0nIIE.js} +8 -8
- package/dist/{skill-scanner-B5APVdka.js → skill-scanner-C6efDeWr.js} +2 -2
- package/dist/{skills-DjMDgmlj.js → skills-Cp-zTGor.js} +8 -8
- package/dist/{skills-cli-CvDeA9Mz.js → skills-cli-BcLVYbwo.js} +19 -16
- package/dist/{skills-install-jLz2vwvm.js → skills-install-LXdiRh5j.js} +10 -10
- package/dist/{skills-status-CeHRbTXe.js → skills-status-NIhVZfqm.js} +5 -5
- package/dist/slash-commands.runtime-Bq0XWi2w.js +28 -0
- package/dist/slash-dispatch.runtime-7RhcnuYY.js +119 -0
- package/dist/{slash-dispatch.runtime-DLP2IeNv.js → slash-dispatch.runtime-D28-UnsO.js} +6 -6
- package/dist/{slash-dispatch.runtime-Vp6IDoCc.js → slash-dispatch.runtime-DzpJjr3K.js} +6 -6
- package/dist/slash-skill-commands.runtime-HWFM7WtA.js +34 -0
- package/dist/{sqlite-C0jSdAfK.js → sqlite-BOrw_KhN.js} +4 -4
- package/dist/stable-node-path-BghYt81T.js +32 -0
- package/dist/{status-D3cIxG_a.js → status-DN8lRmcz.js} +40 -40
- package/dist/{status-pXeXDUup.js → status-DNPn0STZ.js} +1 -1
- package/dist/{status.update-DeJopD-c.js → status.update-Cd4sMxYz.js} +4 -4
- package/dist/store-D8F_4CRR.js +701 -0
- package/dist/{store-BgCLFtxS.js → store-DCoVH3mG.js} +2 -2
- package/dist/{subagent-registry-runtime-COKZwsHd.js → subagent-registry-runtime-Bt-LYyrB.js} +6 -6
- package/dist/subagent-registry-runtime-DVd9wO_D.js +119 -0
- package/dist/{subagent-registry-runtime-BlAI3eqU.js → subagent-registry-runtime-a7xfwPB8.js} +6 -6
- package/dist/{subsystem-Cfn2Pryx.js → subsystem-C6poMade.js} +2 -94
- package/dist/{system-cli-GQBIKMxE.js → system-cli-Zu5LiJFn.js} +25 -21
- package/dist/{system-run-command-ZDr-0-G2.js → system-run-command-Kw0jxir0.js} +1 -1
- package/dist/{systemd-hints-CLH4_-IK.js → systemd-hints-Da4Q7Orc.js} +5 -5
- package/dist/{systemd-linger-PnO8ebUK.js → systemd-linger-NLcFYPEu.js} +2 -2
- package/dist/{systemd-tpTWQ79a.js → systemd-tjVNbfBk.js} +2 -2
- package/dist/{table-D9z5aFl9.js → table-BP6N5EYA.js} +2 -2
- package/dist/{tables-Bb1hkkgV.js → tables-D4LxfXpk.js} +2 -2
- package/dist/{tailnet-B-wq8YXh.js → tailnet-CInGXmk9.js} +1 -1
- package/dist/{tailscale-DOG3cjSj.js → tailscale-DRFhBuh-.js} +1 -1
- package/dist/{target-errors-D41KLMCY.js → target-errors-CkcKdefZ.js} +2 -2
- package/dist/{tokens-g3GBx2U9.js → tokens-C3eENCf9.js} +1 -1
- package/dist/{tool-display-CpQNRadF.js → tool-display-qTfeZx-b.js} +2 -2
- package/dist/{tool-images-Bkv3er-8.js → tool-images-BwtNIRsT.js} +2 -2
- package/dist/{trash-ChZlaria.js → trash-DHZNy01S.js} +2 -2
- package/dist/{tui-BdX0dbMg.js → tui-CW9for1h.js} +18 -18
- package/dist/tui-cli-ChrtbCqc.js +91 -0
- package/dist/types.secrets-CpVqMFti.js +81 -0
- package/dist/{update-BLXj6ysD.js → update-Bb-g7rqr.js} +4 -4
- package/dist/{update-cli-lYpdoDyw.js → update-cli-DHGCFiKY.js} +155 -148
- package/dist/{update-runner-DtN1XGSv.js → update-runner-BDHtvoca.js} +6 -6
- package/dist/web-CCim-JL4.js +123 -0
- package/dist/{web-BEuMJbx-.js → web-CREcqhe9.js} +6 -6
- package/dist/{web-BvId86u4.js → web-IBqHOVI2.js} +6 -6
- package/dist/{webhooks-cli-CvPAdGDn.js → webhooks-cli-C32h-6dI.js} +21 -18
- package/dist/{whatsapp-actions-DSjBUB00.js → whatsapp-actions-BZRxKavO.js} +31 -28
- package/dist/{widearea-dns-Blh7W-0q.js → widearea-dns-9PZLZ6zk.js} +1 -1
- package/dist/{with-timeout-BVwCWUvY.js → with-timeout-DKgjtZv2.js} +6 -43
- package/dist/{workspace-BrC46nbq.js → workspace-CedZZfvJ.js} +5 -5
- package/dist/{workspace-dirs-Cb43onAl.js → workspace-dirs-BgwJ2Axm.js} +1 -1
- package/dist/{ws-ChEZbUss.js → ws-BwH2d97O.js} +2 -2
- package/docs/es/concepts/sessions.md +1 -1
- package/docs/pt-BR/concepts/sessions.md +1 -1
- package/extensions/acpx/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/ci-fix-loop/package.json +1 -1
- package/extensions/continuous-learning/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/diffs/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/flow/package.json +1 -1
- package/extensions/google-antigravity-auth/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/node_modules/.bin/openclaw +2 -2
- package/extensions/googlechat/package.json +2 -2
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/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 +5 -0
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/node_modules/.bin/openclaw +2 -2
- package/extensions/memory-core/package.json +2 -2
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +5 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +5 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/self-improvement/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +5 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +5 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +5 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +5 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +2 -2
- package/dist/audio-preflight-Bk3KZQei.js +0 -98
- package/dist/clawbot-cli-DpO-ZwmI.js +0 -32
- package/dist/cli-1p9b3pE_.js +0 -155
- package/dist/deliver-runtime-CESEQ4NM.js +0 -59
- package/dist/deps-send-discord.runtime-dTfY4NLn.js +0 -34
- package/dist/deps-send-imessage.runtime-Cm_XDGKz.js +0 -33
- package/dist/deps-send-signal.runtime-9WH9ir2Z.js +0 -32
- package/dist/deps-send-slack.runtime-Cx_x379p.js +0 -30
- package/dist/deps-send-telegram.runtime-BFHbiOeI.js +0 -36
- package/dist/deps-send-whatsapp.runtime-BeJLvpI1.js +0 -117
- package/dist/image-runtime-Bq51vNRb.js +0 -53
- package/dist/manager-runtime-D2MqM9iK.js +0 -24
- package/dist/node-commands-DYz_oQFz.js +0 -12
- package/dist/pi-model-discovery-runtime-IFYIuVfT.js +0 -17
- package/dist/register.configure-a0uTvfCu.js +0 -166
- package/dist/runtime-whatsapp-login.runtime-CQLsSWjA.js +0 -20
- package/dist/runtime-whatsapp-outbound.runtime-DoZi3gnM.js +0 -40
- package/dist/slash-commands.runtime-Ckcj6TnD.js +0 -25
- package/dist/slash-dispatch.runtime-B5ykjP8B.js +0 -112
- package/dist/slash-skill-commands.runtime-DbzbD-ZQ.js +0 -31
- package/dist/subagent-registry-runtime-Bjh1H1uK.js +0 -112
- package/dist/tui-cli-C9UujwTv.js +0 -86
- package/dist/web-C14E8nHS.js +0 -116
- /package/dist/{allow-from-Do0aB7F6.js → allow-from-D5r7UcQr.js} +0 -0
- /package/dist/{boolean-DtWR5bt3.js → boolean-ydSOedIP.js} +0 -0
- /package/dist/{brew-sUdeII-D.js → brew-Djs-Lc5s.js} +0 -0
- /package/dist/{chat-envelope-CrWMMV_a.js → chat-envelope-DVKDDTSu.js} +0 -0
- /package/dist/{cli-utils-DK6017OO.js → cli-utils-CCaEbxAz.js} +0 -0
- /package/dist/{command-format-CLEQe4bk.js → command-format-MESnUO9S.js} +0 -0
- /package/dist/{command-options-j8s8APBQ.js → command-options-ZvhOayEd.js} +0 -0
- /package/dist/{command-poll-backoff-Cse56OCv.js → command-poll-backoff-Dal4OaUV.js} +0 -0
- /package/dist/{constants-BgSj-mRP.js → constants-CkIxhEvX.js} +0 -0
- /package/dist/{context-window-guard-BgcfPYTd.js → context-window-guard-BUJ2pfYi.js} +0 -0
- /package/dist/{daemon-runtime-VfkpXuRu.js → daemon-runtime-CbyS9Xgu.js} +0 -0
- /package/dist/{dangerous-name-matching-BAJAZtyB.js → dangerous-name-matching-PRkNIyQj.js} +0 -0
- /package/dist/{dangerous-tools-DjOwyW3J.js → dangerous-tools-B9LIt3MU.js} +0 -0
- /package/dist/{entry-status-DVwZos2N.js → entry-status-4cDL0OcK.js} +0 -0
- /package/dist/{fetch-timeout-BL0dTnkh.js → fetch-timeout-EpWPz-Eu.js} +0 -0
- /package/dist/{format-C-890_pY.js → format-DVLB9DNB.js} +0 -0
- /package/dist/{format-duration-BvkrOKhT.js → format-duration-CrBESKOT.js} +0 -0
- /package/dist/{format-relative-8cNYQsqb.js → format-relative-BsYuWm-Q.js} +0 -0
- /package/dist/{health-format-CqfOHMzL.js → health-format-BIotQmMH.js} +0 -0
- /package/dist/{heartbeat-visibility-_K4bnQDH.js → heartbeat-visibility-C_P1yurK.js} +0 -0
- /package/dist/{help-format-ncfKj8zq.js → help-format-Ce4Xueed.js} +0 -0
- /package/dist/{helpers-5EH85AYF.js → helpers-CpIyUra4.js} +0 -0
- /package/dist/{input-provenance-ByYWugDu.js → input-provenance-qgaZGYuK.js} +0 -0
- /package/dist/{json-files-UKlMS7yU.js → json-files-BH1UBATr.js} +0 -0
- /package/dist/{kill-tree-CeEi7v61.js → kill-tree-W9BwtYuE.js} +0 -0
- /package/dist/{legacy-names-D3aIn6ij.js → legacy-names-DV-6rguu.js} +0 -0
- /package/dist/{load-options-CLMiD1a9.js → load-options-BuY2PXsl.js} +0 -0
- /package/dist/{logging-DRwtiLIS.js → logging-kuFzZMsG.js} +0 -0
- /package/dist/{model-param-b-NJsgH2EF.js → model-param-b-4PN786ZX.js} +0 -0
- /package/dist/{mutable-allowlist-detectors-DiZDtmlZ.js → mutable-allowlist-detectors-TCG6mnbz.js} +0 -0
- /package/dist/{node-resolve-C8bjtxQk.js → node-resolve-DSu0lzHd.js} +0 -0
- /package/dist/{onboard-config-DFLATNN1.js → onboard-config-YMJ1PLAF.js} +0 -0
- /package/dist/{onboard-provider-auth-flags-CpVNpwzI.js → onboard-provider-auth-flags-DHzbi9kj.js} +0 -0
- /package/dist/{openclaw-root-BFfBQ6FD.js → openclaw-root-T5G2ldGE.js} +0 -0
- /package/dist/{parse-log-line-DxFrnzNo.js → parse-log-line-BrrE4onI.js} +0 -0
- /package/dist/{parse-port-CboE2EQm.js → parse-port-DjjWDROB.js} +0 -0
- /package/dist/{parse-timeout-uTDpUWKR.js → parse-timeout-BS3EWcf6.js} +0 -0
- /package/dist/{polls-D86s6oEI.js → polls-QrTzhQf5.js} +0 -0
- /package/dist/{program-context-DQD9Uf8U.js → program-context-BqyLhTGk.js} +0 -0
- /package/dist/{prompt-style-C1jf_-k5.js → prompt-style-DB_OyH4q.js} +0 -0
- /package/dist/{prompts-GoDC3iAV.js → prompts-DomsZukd.js} +0 -0
- /package/dist/{provider-env-vars-D3-Jf8PX.js → provider-env-vars-DYZiYet-.js} +0 -0
- /package/dist/{proxy-BNFyBgvu.js → proxy-CUsDSClP.js} +0 -0
- /package/dist/{redact-BsCSVGmT.js → redact-B1GVGbib.js} +0 -0
- /package/dist/{render-scQFEkLe.js → render-CUAKPmvZ.js} +0 -0
- /package/dist/{run-with-concurrency-CzLnwXXV.js → run-with-concurrency-CLARJMM7.js} +0 -0
- /package/dist/{runtime-status-CL_bKfj_.js → runtime-status-Fmu5gNYW.js} +0 -0
- /package/dist/{secret-equal-DxKrAcRs.js → secret-equal-BN0idTaZ.js} +0 -0
- /package/dist/{secure-random-CruxVpoI.js → secure-random-B2UrD2xa.js} +0 -0
- /package/dist/{session-key-k6urs9r-.js → session-key-CC77ya0a.js} +0 -0
- /package/dist/{stagger-DW-U0kcV.js → stagger-Cek4Eizw.js} +0 -0
- /package/dist/{targets-CwCifSLG.js → targets-CD5AQXRB.js} +0 -0
- /package/dist/{targets-xSi-e-_L.js → targets-DPUt073v.js} +0 -0
- /package/dist/{text-format-CFm4X8Ze.js → text-format-DarxU3JH.js} +0 -0
- /package/dist/{thinking-RV_E8HFV.js → thinking-C0gzzPsv.js} +0 -0
- /package/dist/{timeouts-G9Yto-nj.js → timeouts-DEnpCqGd.js} +0 -0
- /package/dist/{tool-catalog-omkiks3D.js → tool-catalog-3w4XiWhy.js} +0 -0
- /package/dist/{transcript-events-CtWhopMu.js → transcript-events-CdWLIofg.js} +0 -0
- /package/dist/{usage-format-BMWvYDjj.js → usage-format-zuuFSdkg.js} +0 -0
- /package/dist/{utils-cwpAMi-t.js → utils-BnC3HGtm.js} +0 -0
- /package/dist/{version-DdJhsIqk.js → version-DT-JIO28.js} +0 -0
- /package/dist/{windows-spawn-CsdZOQMr.js → windows-spawn-CVnPunjY.js} +0 -0
- /package/dist/{wsl-Cx5T6MYb.js → wsl-DLw4LET-.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { mt as resolveAgentModelPrimaryValue, pt as resolveAgentModelFallbackValues } from "./run-with-concurrency-CzKd3TyW.js";
|
|
2
2
|
import { f as isRecord, x as shortenHomeInString } from "./logger-03l-fZAz.js";
|
|
3
3
|
import { A as requireApiKey, O as getApiKeyForModel, X as loadConfig, Xn as applyConfigEnvVars, _ as resolveImplicitBedrockProvider, br as normalizeSecretInput, dr as resolveOpenClawAgentDir, g as normalizeProviders, v as resolveImplicitCopilotProvider, y as resolveImplicitProviders } from "./model-selection-fkPvwOlf.js";
|
|
4
|
-
import { P as sanitizeUserFacingText } from "./pi-embedded-helpers-
|
|
4
|
+
import { P as sanitizeUserFacingText } from "./pi-embedded-helpers-Ck1qEeMH.js";
|
|
5
5
|
import { n as redactToolDetail } from "./redact-BYyl-Ec1.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs from "node:fs/promises";
|
|
@@ -8,8 +8,8 @@ import "./accounts-CBuRL55f.js";
|
|
|
8
8
|
import "./plugins-DRylFNZC.js";
|
|
9
9
|
import "./accounts-CGE0qwJa.js";
|
|
10
10
|
import "./image-ops-CZyK9ORn.js";
|
|
11
|
-
import "./pi-embedded-helpers-
|
|
12
|
-
import "./chrome
|
|
11
|
+
import "./pi-embedded-helpers-Ck1qEeMH.js";
|
|
12
|
+
import "./chrome-B24-8NDM.js";
|
|
13
13
|
import "./skills-CrM4sG5V.js";
|
|
14
14
|
import "./path-alias-guards-CJ-rXOZR.js";
|
|
15
15
|
import "./redact-BYyl-Ec1.js";
|
|
@@ -20,6 +20,6 @@ import "./store--iimBXGR.js";
|
|
|
20
20
|
import "./accounts-BAQCqsoB.js";
|
|
21
21
|
import "./paths-BtoBqtXI.js";
|
|
22
22
|
import "./tool-images-CH22eok3.js";
|
|
23
|
-
import { t as describeImageWithModel } from "./image-
|
|
23
|
+
import { t as describeImageWithModel } from "./image-nUHQF6BX.js";
|
|
24
24
|
|
|
25
25
|
export { describeImageWithModel };
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import "./globals-d3aR1MYC.js";
|
|
2
|
+
import "./paths-BMo6kTge.js";
|
|
3
|
+
import "./runtime-CvdZtNmJ.js";
|
|
4
|
+
import "./subsystem-C6poMade.js";
|
|
5
|
+
import "./boolean-ydSOedIP.js";
|
|
6
|
+
import "./store-D8F_4CRR.js";
|
|
7
|
+
import "./auth-profiles-BtxyXCZY.js";
|
|
8
|
+
import "./agent-scope-BcruZHHR.js";
|
|
9
|
+
import "./utils-BnC3HGtm.js";
|
|
10
|
+
import "./openclaw-root-T5G2ldGE.js";
|
|
11
|
+
import "./logger-DyQjakwH.js";
|
|
12
|
+
import "./exec-B8Hv4Nkd.js";
|
|
13
|
+
import "./github-copilot-token-BKQ4nXAw.js";
|
|
14
|
+
import "./manifest-registry-m_hXBIk-.js";
|
|
15
|
+
import "./version-DT-JIO28.js";
|
|
16
|
+
import "./registry-DnJ84ILp.js";
|
|
17
|
+
import "./ip-C7WWCRN7.js";
|
|
18
|
+
import "./dock-nMBfeGKa.js";
|
|
19
|
+
import "./accounts-C04lw_uh.js";
|
|
20
|
+
import "./plugins-CCkC0dRo.js";
|
|
21
|
+
import "./logging-kuFzZMsG.js";
|
|
22
|
+
import "./accounts-CtzU1wJb.js";
|
|
23
|
+
import "./image-ops-Bnk-bI_x.js";
|
|
24
|
+
import "./message-channel-DOpIvru6.js";
|
|
25
|
+
import "./pi-embedded-helpers-CCkKNz_h.js";
|
|
26
|
+
import "./sandbox-DKscghPx.js";
|
|
27
|
+
import "./tool-catalog-3w4XiWhy.js";
|
|
28
|
+
import "./chrome-D4EfbMKb.js";
|
|
29
|
+
import "./tailscale-DRFhBuh-.js";
|
|
30
|
+
import "./tailnet-CInGXmk9.js";
|
|
31
|
+
import "./ws-BwH2d97O.js";
|
|
32
|
+
import "./auth-CWHo884l.js";
|
|
33
|
+
import "./server-context-CcW_Z5sB.js";
|
|
34
|
+
import "./frontmatter-B0viix_h.js";
|
|
35
|
+
import "./skills-Cp-zTGor.js";
|
|
36
|
+
import "./path-alias-guards-Bz8AnRb7.js";
|
|
37
|
+
import "./paths-BBXgPm_n.js";
|
|
38
|
+
import "./redact-B1GVGbib.js";
|
|
39
|
+
import "./errors-ClLWB67m.js";
|
|
40
|
+
import "./fs-safe-CFIinCN2.js";
|
|
41
|
+
import "./proxy-env-a_fwG5uV.js";
|
|
42
|
+
import "./store-DCoVH3mG.js";
|
|
43
|
+
import "./ports-BxwhTkI2.js";
|
|
44
|
+
import "./ports-lsof-C-KFQ3hh.js";
|
|
45
|
+
import "./trash-DHZNy01S.js";
|
|
46
|
+
import "./server-middleware-BtyTo4hI.js";
|
|
47
|
+
import "./sessions-BkKVGWHa.js";
|
|
48
|
+
import "./accounts-BVV0eCmx.js";
|
|
49
|
+
import "./paths-gTdorMgW.js";
|
|
50
|
+
import "./chat-envelope-DVKDDTSu.js";
|
|
51
|
+
import "./tool-images-BwtNIRsT.js";
|
|
52
|
+
import "./thinking-C0gzzPsv.js";
|
|
53
|
+
import "./models-config-D_IvpQGa.js";
|
|
54
|
+
import { t as describeImageWithModel } from "./image-m1GU1uco.js";
|
|
55
|
+
import "./tool-display-qTfeZx-b.js";
|
|
56
|
+
|
|
57
|
+
export { describeImageWithModel };
|
|
@@ -11,8 +11,8 @@ import "./accounts-Cp7zE1zb.js";
|
|
|
11
11
|
import "./plugins-YJZX7mvv.js";
|
|
12
12
|
import "./accounts-C_LXSS3x.js";
|
|
13
13
|
import "./image-ops-C-QWxnVw.js";
|
|
14
|
-
import "./pi-embedded-helpers-
|
|
15
|
-
import "./chrome-
|
|
14
|
+
import "./pi-embedded-helpers-xIXwvwuE.js";
|
|
15
|
+
import "./chrome-C7OwLtx9.js";
|
|
16
16
|
import "./frontmatter-B6XNqDx2.js";
|
|
17
17
|
import "./skills-BDJUqEFI.js";
|
|
18
18
|
import "./path-alias-guards-BCv18tKc.js";
|
|
@@ -24,6 +24,6 @@ import "./store-cJlS-gR6.js";
|
|
|
24
24
|
import "./accounts-B4Cft76I.js";
|
|
25
25
|
import "./paths-l8GkNRRD.js";
|
|
26
26
|
import "./tool-images-D9pdW1gE.js";
|
|
27
|
-
import { t as describeImageWithModel } from "./image-
|
|
27
|
+
import { t as describeImageWithModel } from "./image-BOybyCis.js";
|
|
28
28
|
|
|
29
29
|
export { describeImageWithModel };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel, n as GATEWAY_SERVICE_KIND, p as resolveGatewayWindowsTaskName, r as GATEWAY_SERVICE_MARKER } from "./constants-
|
|
2
|
-
import { n as execSchtasks } from "./service-
|
|
1
|
+
import { f as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel, n as GATEWAY_SERVICE_KIND, p as resolveGatewayWindowsTaskName, r as GATEWAY_SERVICE_MARKER } from "./constants-CkIxhEvX.js";
|
|
2
|
+
import { n as execSchtasks } from "./service-DnXLOpYd.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs/promises";
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as isNotFoundPathError, p as isPathInside } from "./openclaw-root-
|
|
2
|
-
import { a as openWritableFileWithinRoot, t as SafeOpenError } from "./fs-safe-
|
|
3
|
-
import { n as resolveSafeBaseDir } from "./path-safety-
|
|
1
|
+
import { f as isNotFoundPathError, p as isPathInside } from "./openclaw-root-T5G2ldGE.js";
|
|
2
|
+
import { a as openWritableFileWithinRoot, t as SafeOpenError } from "./fs-safe-CFIinCN2.js";
|
|
3
|
+
import { n as resolveSafeBaseDir } from "./path-safety-EkGa1GqP.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import fs from "node:fs/promises";
|
|
6
6
|
import { createHash } from "node:crypto";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as CONFIG_DIR, v as resolveUserPath } from "./utils-
|
|
2
|
-
import { o as loadPluginManifest, s as resolvePackageExtensionEntries } from "./manifest-registry-
|
|
3
|
-
import { i as isPathInside, r as extensionUsesSkippedScannerPath } from "./legacy-names-
|
|
4
|
-
import { S as validateRegistryNpmSpec } from "./skills-
|
|
5
|
-
import { c as writeFileFromPathWithinRoot } from "./fs-safe-
|
|
6
|
-
import { a as unscopedPackageName, c as fileExists, l as readJsonFile, n as resolveSafeInstallDir, r as safeDirName, u as resolveArchiveKind } from "./install-safe-path-
|
|
7
|
-
import { a as installPackageDir, c as resolveTimedInstallModeOptions, d as buildNpmResolutionFields, f as resolveArchiveSourcePath, i as resolveCanonicalInstallTarget, l as resolveExistingInstallPath, n as installFromNpmSpecArchiveWithInstaller, r as ensureInstallTargetAvailable, s as resolveInstallModeOptions, t as finalizeNpmSpecArchiveInstall, u as withExtractedArchiveRoot } from "./npm-pack-install-
|
|
8
|
-
import { t as scanDirectoryWithSummary } from "./skill-scanner-
|
|
1
|
+
import { t as CONFIG_DIR, v as resolveUserPath } from "./utils-BnC3HGtm.js";
|
|
2
|
+
import { o as loadPluginManifest, s as resolvePackageExtensionEntries } from "./manifest-registry-m_hXBIk-.js";
|
|
3
|
+
import { i as isPathInside, r as extensionUsesSkippedScannerPath } from "./legacy-names-DV-6rguu.js";
|
|
4
|
+
import { S as validateRegistryNpmSpec } from "./skills-Cp-zTGor.js";
|
|
5
|
+
import { c as writeFileFromPathWithinRoot } from "./fs-safe-CFIinCN2.js";
|
|
6
|
+
import { a as unscopedPackageName, c as fileExists, l as readJsonFile, n as resolveSafeInstallDir, r as safeDirName, u as resolveArchiveKind } from "./install-safe-path-BxdyoAni.js";
|
|
7
|
+
import { a as installPackageDir, c as resolveTimedInstallModeOptions, d as buildNpmResolutionFields, f as resolveArchiveSourcePath, i as resolveCanonicalInstallTarget, l as resolveExistingInstallPath, n as installFromNpmSpecArchiveWithInstaller, r as ensureInstallTargetAvailable, s as resolveInstallModeOptions, t as finalizeNpmSpecArchiveInstall, u as withExtractedArchiveRoot } from "./npm-pack-install-B0X6q-Co.js";
|
|
8
|
+
import { t as scanDirectoryWithSummary } from "./skill-scanner-C6efDeWr.js";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import fs from "node:fs/promises";
|
|
11
11
|
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
import ipaddr from "ipaddr.js";
|
|
2
|
+
|
|
3
|
+
//#region src/shared/net/ip.ts
|
|
4
|
+
const BLOCKED_IPV4_SPECIAL_USE_RANGES = new Set([
|
|
5
|
+
"unspecified",
|
|
6
|
+
"broadcast",
|
|
7
|
+
"multicast",
|
|
8
|
+
"linkLocal",
|
|
9
|
+
"loopback",
|
|
10
|
+
"carrierGradeNat",
|
|
11
|
+
"private",
|
|
12
|
+
"reserved"
|
|
13
|
+
]);
|
|
14
|
+
const PRIVATE_OR_LOOPBACK_IPV4_RANGES = new Set([
|
|
15
|
+
"loopback",
|
|
16
|
+
"private",
|
|
17
|
+
"linkLocal",
|
|
18
|
+
"carrierGradeNat"
|
|
19
|
+
]);
|
|
20
|
+
const BLOCKED_IPV6_SPECIAL_USE_RANGES = new Set([
|
|
21
|
+
"unspecified",
|
|
22
|
+
"loopback",
|
|
23
|
+
"linkLocal",
|
|
24
|
+
"uniqueLocal",
|
|
25
|
+
"multicast"
|
|
26
|
+
]);
|
|
27
|
+
const RFC2544_BENCHMARK_PREFIX = [ipaddr.IPv4.parse("198.18.0.0"), 15];
|
|
28
|
+
const EMBEDDED_IPV4_SENTINEL_RULES = [
|
|
29
|
+
{
|
|
30
|
+
matches: (parts) => parts[0] === 0 && parts[1] === 0 && parts[2] === 0 && parts[3] === 0 && parts[4] === 0 && parts[5] === 0,
|
|
31
|
+
toHextets: (parts) => [parts[6], parts[7]]
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
matches: (parts) => parts[0] === 100 && parts[1] === 65435 && parts[2] === 1 && parts[3] === 0 && parts[4] === 0 && parts[5] === 0,
|
|
35
|
+
toHextets: (parts) => [parts[6], parts[7]]
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
matches: (parts) => parts[0] === 8194,
|
|
39
|
+
toHextets: (parts) => [parts[1], parts[2]]
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
matches: (parts) => parts[0] === 8193 && parts[1] === 0,
|
|
43
|
+
toHextets: (parts) => [parts[6] ^ 65535, parts[7] ^ 65535]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
matches: (parts) => (parts[4] & 64767) === 0 && parts[5] === 24318,
|
|
47
|
+
toHextets: (parts) => [parts[6], parts[7]]
|
|
48
|
+
}
|
|
49
|
+
];
|
|
50
|
+
function stripIpv6Brackets(value) {
|
|
51
|
+
if (value.startsWith("[") && value.endsWith("]")) return value.slice(1, -1);
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
function isNumericIpv4LiteralPart(value) {
|
|
55
|
+
return /^[0-9]+$/.test(value) || /^0x[0-9a-f]+$/i.test(value);
|
|
56
|
+
}
|
|
57
|
+
function parseIpv6WithEmbeddedIpv4(raw) {
|
|
58
|
+
if (!raw.includes(":") || !raw.includes(".")) return;
|
|
59
|
+
const match = /^(.*:)([^:%]+(?:\.[^:%]+){3})(%[0-9A-Za-z]+)?$/i.exec(raw);
|
|
60
|
+
if (!match) return;
|
|
61
|
+
const [, prefix, embeddedIpv4, zoneSuffix = ""] = match;
|
|
62
|
+
if (!ipaddr.IPv4.isValidFourPartDecimal(embeddedIpv4)) return;
|
|
63
|
+
const octets = embeddedIpv4.split(".").map((part) => Number.parseInt(part, 10));
|
|
64
|
+
const normalizedIpv6 = `${prefix}${(octets[0] << 8 | octets[1]).toString(16)}:${(octets[2] << 8 | octets[3]).toString(16)}${zoneSuffix}`;
|
|
65
|
+
if (!ipaddr.IPv6.isValid(normalizedIpv6)) return;
|
|
66
|
+
return ipaddr.IPv6.parse(normalizedIpv6);
|
|
67
|
+
}
|
|
68
|
+
function isIpv4Address(address) {
|
|
69
|
+
return address.kind() === "ipv4";
|
|
70
|
+
}
|
|
71
|
+
function isIpv6Address(address) {
|
|
72
|
+
return address.kind() === "ipv6";
|
|
73
|
+
}
|
|
74
|
+
function normalizeIpv4MappedAddress(address) {
|
|
75
|
+
if (!isIpv6Address(address)) return address;
|
|
76
|
+
if (!address.isIPv4MappedAddress()) return address;
|
|
77
|
+
return address.toIPv4Address();
|
|
78
|
+
}
|
|
79
|
+
function parseCanonicalIpAddress(raw) {
|
|
80
|
+
const trimmed = raw?.trim();
|
|
81
|
+
if (!trimmed) return;
|
|
82
|
+
const normalized = stripIpv6Brackets(trimmed);
|
|
83
|
+
if (!normalized) return;
|
|
84
|
+
if (ipaddr.IPv4.isValid(normalized)) {
|
|
85
|
+
if (!ipaddr.IPv4.isValidFourPartDecimal(normalized)) return;
|
|
86
|
+
return ipaddr.IPv4.parse(normalized);
|
|
87
|
+
}
|
|
88
|
+
if (ipaddr.IPv6.isValid(normalized)) return ipaddr.IPv6.parse(normalized);
|
|
89
|
+
return parseIpv6WithEmbeddedIpv4(normalized);
|
|
90
|
+
}
|
|
91
|
+
function parseLooseIpAddress(raw) {
|
|
92
|
+
const trimmed = raw?.trim();
|
|
93
|
+
if (!trimmed) return;
|
|
94
|
+
const normalized = stripIpv6Brackets(trimmed);
|
|
95
|
+
if (!normalized) return;
|
|
96
|
+
if (ipaddr.isValid(normalized)) return ipaddr.parse(normalized);
|
|
97
|
+
return parseIpv6WithEmbeddedIpv4(normalized);
|
|
98
|
+
}
|
|
99
|
+
function normalizeIpAddress(raw) {
|
|
100
|
+
const parsed = parseCanonicalIpAddress(raw);
|
|
101
|
+
if (!parsed) return;
|
|
102
|
+
return normalizeIpv4MappedAddress(parsed).toString().toLowerCase();
|
|
103
|
+
}
|
|
104
|
+
function isCanonicalDottedDecimalIPv4(raw) {
|
|
105
|
+
const trimmed = raw?.trim();
|
|
106
|
+
if (!trimmed) return false;
|
|
107
|
+
const normalized = stripIpv6Brackets(trimmed);
|
|
108
|
+
if (!normalized) return false;
|
|
109
|
+
return ipaddr.IPv4.isValidFourPartDecimal(normalized);
|
|
110
|
+
}
|
|
111
|
+
function isLegacyIpv4Literal(raw) {
|
|
112
|
+
const trimmed = raw?.trim();
|
|
113
|
+
if (!trimmed) return false;
|
|
114
|
+
const normalized = stripIpv6Brackets(trimmed);
|
|
115
|
+
if (!normalized || normalized.includes(":")) return false;
|
|
116
|
+
if (isCanonicalDottedDecimalIPv4(normalized)) return false;
|
|
117
|
+
const parts = normalized.split(".");
|
|
118
|
+
if (parts.length === 0 || parts.length > 4) return false;
|
|
119
|
+
if (parts.some((part) => part.length === 0)) return false;
|
|
120
|
+
if (!parts.every((part) => isNumericIpv4LiteralPart(part))) return false;
|
|
121
|
+
return true;
|
|
122
|
+
}
|
|
123
|
+
function isLoopbackIpAddress(raw) {
|
|
124
|
+
const parsed = parseCanonicalIpAddress(raw);
|
|
125
|
+
if (!parsed) return false;
|
|
126
|
+
return normalizeIpv4MappedAddress(parsed).range() === "loopback";
|
|
127
|
+
}
|
|
128
|
+
function isPrivateOrLoopbackIpAddress(raw) {
|
|
129
|
+
const parsed = parseCanonicalIpAddress(raw);
|
|
130
|
+
if (!parsed) return false;
|
|
131
|
+
const normalized = normalizeIpv4MappedAddress(parsed);
|
|
132
|
+
if (isIpv4Address(normalized)) return PRIVATE_OR_LOOPBACK_IPV4_RANGES.has(normalized.range());
|
|
133
|
+
return isBlockedSpecialUseIpv6Address(normalized);
|
|
134
|
+
}
|
|
135
|
+
function isBlockedSpecialUseIpv6Address(address) {
|
|
136
|
+
if (BLOCKED_IPV6_SPECIAL_USE_RANGES.has(address.range())) return true;
|
|
137
|
+
return (address.parts[0] & 65472) === 65216;
|
|
138
|
+
}
|
|
139
|
+
function isRfc1918Ipv4Address(raw) {
|
|
140
|
+
const parsed = parseCanonicalIpAddress(raw);
|
|
141
|
+
if (!parsed || !isIpv4Address(parsed)) return false;
|
|
142
|
+
return parsed.range() === "private";
|
|
143
|
+
}
|
|
144
|
+
function isCarrierGradeNatIpv4Address(raw) {
|
|
145
|
+
const parsed = parseCanonicalIpAddress(raw);
|
|
146
|
+
if (!parsed || !isIpv4Address(parsed)) return false;
|
|
147
|
+
return parsed.range() === "carrierGradeNat";
|
|
148
|
+
}
|
|
149
|
+
function isBlockedSpecialUseIpv4Address(address, options = {}) {
|
|
150
|
+
const inRfc2544BenchmarkRange = address.match(RFC2544_BENCHMARK_PREFIX);
|
|
151
|
+
if (inRfc2544BenchmarkRange && options.allowRfc2544BenchmarkRange === true) return false;
|
|
152
|
+
return BLOCKED_IPV4_SPECIAL_USE_RANGES.has(address.range()) || inRfc2544BenchmarkRange;
|
|
153
|
+
}
|
|
154
|
+
function decodeIpv4FromHextets(high, low) {
|
|
155
|
+
const octets = [
|
|
156
|
+
high >>> 8 & 255,
|
|
157
|
+
high & 255,
|
|
158
|
+
low >>> 8 & 255,
|
|
159
|
+
low & 255
|
|
160
|
+
];
|
|
161
|
+
return ipaddr.IPv4.parse(octets.join("."));
|
|
162
|
+
}
|
|
163
|
+
function extractEmbeddedIpv4FromIpv6(address) {
|
|
164
|
+
if (address.isIPv4MappedAddress()) return address.toIPv4Address();
|
|
165
|
+
if (address.range() === "rfc6145") return decodeIpv4FromHextets(address.parts[6], address.parts[7]);
|
|
166
|
+
if (address.range() === "rfc6052") return decodeIpv4FromHextets(address.parts[6], address.parts[7]);
|
|
167
|
+
for (const rule of EMBEDDED_IPV4_SENTINEL_RULES) {
|
|
168
|
+
if (!rule.matches(address.parts)) continue;
|
|
169
|
+
const [high, low] = rule.toHextets(address.parts);
|
|
170
|
+
return decodeIpv4FromHextets(high, low);
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
function isIpInCidr(ip, cidr) {
|
|
174
|
+
const normalizedIp = parseCanonicalIpAddress(ip);
|
|
175
|
+
if (!normalizedIp) return false;
|
|
176
|
+
const candidate = cidr.trim();
|
|
177
|
+
if (!candidate) return false;
|
|
178
|
+
const comparableIp = normalizeIpv4MappedAddress(normalizedIp);
|
|
179
|
+
if (!candidate.includes("/")) {
|
|
180
|
+
const exact = parseCanonicalIpAddress(candidate);
|
|
181
|
+
if (!exact) return false;
|
|
182
|
+
const comparableExact = normalizeIpv4MappedAddress(exact);
|
|
183
|
+
return comparableIp.kind() === comparableExact.kind() && comparableIp.toString() === comparableExact.toString();
|
|
184
|
+
}
|
|
185
|
+
let parsedCidr;
|
|
186
|
+
try {
|
|
187
|
+
parsedCidr = ipaddr.parseCIDR(candidate);
|
|
188
|
+
} catch {
|
|
189
|
+
return false;
|
|
190
|
+
}
|
|
191
|
+
const [baseAddress, prefixLength] = parsedCidr;
|
|
192
|
+
const comparableBase = normalizeIpv4MappedAddress(baseAddress);
|
|
193
|
+
if (comparableIp.kind() !== comparableBase.kind()) return false;
|
|
194
|
+
try {
|
|
195
|
+
if (isIpv4Address(comparableIp) && isIpv4Address(comparableBase)) return comparableIp.match([comparableBase, prefixLength]);
|
|
196
|
+
if (isIpv6Address(comparableIp) && isIpv6Address(comparableBase)) return comparableIp.match([comparableBase, prefixLength]);
|
|
197
|
+
return false;
|
|
198
|
+
} catch {
|
|
199
|
+
return false;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
//#endregion
|
|
204
|
+
export { isCarrierGradeNatIpv4Address as a, isIpv6Address as c, isPrivateOrLoopbackIpAddress as d, isRfc1918Ipv4Address as f, parseLooseIpAddress as h, isCanonicalDottedDecimalIPv4 as i, isLegacyIpv4Literal as l, parseCanonicalIpAddress as m, isBlockedSpecialUseIpv4Address as n, isIpInCidr as o, normalizeIpAddress as p, isBlockedSpecialUseIpv6Address as r, isIpv4Address as s, extractEmbeddedIpv4FromIpv6 as t, isLoopbackIpAddress as u };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { o as getTailnetHostname } from "./tailscale-
|
|
1
|
+
import { c as isIpv6Address, i as isCanonicalDottedDecimalIPv4, m as parseCanonicalIpAddress } from "./ip-C7WWCRN7.js";
|
|
2
|
+
import { o as getTailnetHostname } from "./tailscale-DRFhBuh-.js";
|
|
3
3
|
|
|
4
4
|
//#region src/gateway/gateway-config-prompts.shared.ts
|
|
5
5
|
const TAILSCALE_EXPOSURE_OPTIONS = [
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { a as logVerbose, c as shouldLogVerbose } from "./globals-d3aR1MYC.js";
|
|
2
|
-
import { _ as normalizeAccountId } from "./session-key-
|
|
3
|
-
import { v as resolveUserPath } from "./utils-
|
|
4
|
-
import { y as resolveAccountEntry } from "./accounts-
|
|
5
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
6
|
-
import { _ as maxBytesForKind, a as hasAlphaChannel, c as detectMime, l as extensionForMime, m as kindFromMime, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg } from "./image-ops-
|
|
7
|
-
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-
|
|
8
|
-
import { s as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-
|
|
9
|
-
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia } from "./fetch-
|
|
2
|
+
import { _ as normalizeAccountId } from "./session-key-CC77ya0a.js";
|
|
3
|
+
import { v as resolveUserPath } from "./utils-BnC3HGtm.js";
|
|
4
|
+
import { y as resolveAccountEntry } from "./accounts-C04lw_uh.js";
|
|
5
|
+
import { r as normalizeChannelId } from "./plugins-CCkC0dRo.js";
|
|
6
|
+
import { _ as maxBytesForKind, a as hasAlphaChannel, c as detectMime, l as extensionForMime, m as kindFromMime, o as optimizeImageToPng, r as convertHeicToJpeg, s as resizeToJpeg } from "./image-ops-Bnk-bI_x.js";
|
|
7
|
+
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-DOpIvru6.js";
|
|
8
|
+
import { s as readLocalFileSafely, t as SafeOpenError } from "./fs-safe-CFIinCN2.js";
|
|
9
|
+
import { a as getDefaultMediaLocalRoots, n as fetchRemoteMedia } from "./fetch-BPh3R9xH.js";
|
|
10
10
|
import { fileURLToPath } from "node:url";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import fs from "node:fs/promises";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import path from "node:path";
|
|
2
|
+
import fs from "node:fs";
|
|
3
|
+
|
|
4
|
+
//#region src/infra/json-file.ts
|
|
5
|
+
function loadJsonFile(pathname) {
|
|
6
|
+
try {
|
|
7
|
+
if (!fs.existsSync(pathname)) return;
|
|
8
|
+
const raw = fs.readFileSync(pathname, "utf8");
|
|
9
|
+
return JSON.parse(raw);
|
|
10
|
+
} catch {
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
function saveJsonFile(pathname, data) {
|
|
15
|
+
const dir = path.dirname(pathname);
|
|
16
|
+
if (!fs.existsSync(dir)) fs.mkdirSync(dir, {
|
|
17
|
+
recursive: true,
|
|
18
|
+
mode: 448
|
|
19
|
+
});
|
|
20
|
+
fs.writeFileSync(pathname, `${JSON.stringify(data, null, 2)}\n`, "utf8");
|
|
21
|
+
fs.chmodSync(pathname, 384);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
//#endregion
|
|
25
|
+
export { saveJsonFile as n, loadJsonFile as t };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { d as colorize, f as isRich, g as getResolvedLoggerSettings, p as theme } from "./globals-d3aR1MYC.js";
|
|
2
2
|
import { d as resolveIsNixMode } from "./paths-BMo6kTge.js";
|
|
3
|
-
import {
|
|
4
|
-
import { z as loadConfig } from "./auth-profiles-
|
|
5
|
-
import { t as formatCliCommand } from "./command-format-
|
|
6
|
-
import { n as resolveGatewayCredentialsFromConfig, t as isGatewaySecretRefUnavailableError } from "./credentials-
|
|
7
|
-
import { f as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel, p as resolveGatewayWindowsTaskName } from "./constants-
|
|
8
|
-
import { t as isWSL } from "./wsl-
|
|
9
|
-
import { r as isSystemdUserServiceAvailable } from "./systemd-
|
|
10
|
-
import { s as resolveGatewayLogPaths } from "./service-
|
|
11
|
-
import { a as checkTokenDrift, n as renderSystemdUnavailableHints } from "./systemd-hints-
|
|
12
|
-
import { t as parsePort } from "./parse-port-
|
|
3
|
+
import { n as defaultRuntime } from "./runtime-CvdZtNmJ.js";
|
|
4
|
+
import { z as loadConfig } from "./auth-profiles-BtxyXCZY.js";
|
|
5
|
+
import { t as formatCliCommand } from "./command-format-MESnUO9S.js";
|
|
6
|
+
import { n as resolveGatewayCredentialsFromConfig, t as isGatewaySecretRefUnavailableError } from "./credentials-SIFZMlmo.js";
|
|
7
|
+
import { f as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel, p as resolveGatewayWindowsTaskName } from "./constants-CkIxhEvX.js";
|
|
8
|
+
import { t as isWSL } from "./wsl-DLw4LET-.js";
|
|
9
|
+
import { r as isSystemdUserServiceAvailable } from "./systemd-tjVNbfBk.js";
|
|
10
|
+
import { s as resolveGatewayLogPaths } from "./service-DnXLOpYd.js";
|
|
11
|
+
import { a as checkTokenDrift, n as renderSystemdUnavailableHints } from "./systemd-hints-Da4Q7Orc.js";
|
|
12
|
+
import { t as parsePort } from "./parse-port-DjjWDROB.js";
|
|
13
13
|
import { Writable } from "node:stream";
|
|
14
14
|
|
|
15
15
|
//#region src/cli/daemon-cli/response.ts
|
|
@@ -8,19 +8,19 @@ import "./github-copilot-token-BDioPmd6.js";
|
|
|
8
8
|
import "./legacy-names-DZdACm3t.js";
|
|
9
9
|
import "./thinking-C3b10cHs.js";
|
|
10
10
|
import "./tokens-mtgzW7UN.js";
|
|
11
|
-
import { t as runEmbeddedPiAgent } from "./pi-embedded-
|
|
11
|
+
import { t as runEmbeddedPiAgent } from "./pi-embedded-BHXPs-Ix.js";
|
|
12
12
|
import "./accounts-Cp7zE1zb.js";
|
|
13
13
|
import "./plugins-YJZX7mvv.js";
|
|
14
14
|
import "./send-BrlM68Dd.js";
|
|
15
15
|
import "./send-CKIMBFLs.js";
|
|
16
|
-
import "./deliver-
|
|
16
|
+
import "./deliver-D8dBbzpu.js";
|
|
17
17
|
import "./diagnostic-D1IbJfJM.js";
|
|
18
18
|
import "./accounts-C_LXSS3x.js";
|
|
19
19
|
import "./image-ops-C-QWxnVw.js";
|
|
20
20
|
import "./send-Cp6dmr2f.js";
|
|
21
21
|
import "./pi-model-discovery-Cucu_uXw.js";
|
|
22
|
-
import "./pi-embedded-helpers-
|
|
23
|
-
import "./chrome-
|
|
22
|
+
import "./pi-embedded-helpers-xIXwvwuE.js";
|
|
23
|
+
import "./chrome-C7OwLtx9.js";
|
|
24
24
|
import "./frontmatter-B6XNqDx2.js";
|
|
25
25
|
import "./skills-BDJUqEFI.js";
|
|
26
26
|
import "./path-alias-guards-BCv18tKc.js";
|
|
@@ -32,8 +32,8 @@ import "./store-cJlS-gR6.js";
|
|
|
32
32
|
import "./accounts-B4Cft76I.js";
|
|
33
33
|
import "./paths-l8GkNRRD.js";
|
|
34
34
|
import "./tool-images-D9pdW1gE.js";
|
|
35
|
-
import "./image-
|
|
36
|
-
import "./audio-transcription-runner-
|
|
35
|
+
import "./image-BOybyCis.js";
|
|
36
|
+
import "./audio-transcription-runner-X1KzI7dF.js";
|
|
37
37
|
import "./fetch-C6doVJxZ.js";
|
|
38
38
|
import "./fetch-guard-C-neMX4E.js";
|
|
39
39
|
import "./api-key-rotation-iYITGuLK.js";
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import "./globals-d3aR1MYC.js";
|
|
2
|
+
import "./paths-BMo6kTge.js";
|
|
3
|
+
import "./runtime-CvdZtNmJ.js";
|
|
4
|
+
import "./subsystem-C6poMade.js";
|
|
5
|
+
import "./boolean-ydSOedIP.js";
|
|
6
|
+
import "./store-D8F_4CRR.js";
|
|
7
|
+
import { G as writeConfigFile } from "./auth-profiles-BtxyXCZY.js";
|
|
8
|
+
import "./agent-scope-BcruZHHR.js";
|
|
9
|
+
import "./utils-BnC3HGtm.js";
|
|
10
|
+
import "./openclaw-root-T5G2ldGE.js";
|
|
11
|
+
import "./logger-DyQjakwH.js";
|
|
12
|
+
import "./exec-B8Hv4Nkd.js";
|
|
13
|
+
import "./github-copilot-token-BKQ4nXAw.js";
|
|
14
|
+
import "./manifest-registry-m_hXBIk-.js";
|
|
15
|
+
import "./version-DT-JIO28.js";
|
|
16
|
+
import "./registry-DnJ84ILp.js";
|
|
17
|
+
import "./ip-C7WWCRN7.js";
|
|
18
|
+
import "./dock-nMBfeGKa.js";
|
|
19
|
+
import "./accounts-C04lw_uh.js";
|
|
20
|
+
import "./plugins-CCkC0dRo.js";
|
|
21
|
+
import "./logging-kuFzZMsG.js";
|
|
22
|
+
import "./accounts-CtzU1wJb.js";
|
|
23
|
+
import "./message-channel-DOpIvru6.js";
|
|
24
|
+
import "./tailnet-CInGXmk9.js";
|
|
25
|
+
import "./ws-BwH2d97O.js";
|
|
26
|
+
import "./sessions-BkKVGWHa.js";
|
|
27
|
+
import "./accounts-BVV0eCmx.js";
|
|
28
|
+
import "./paths-gTdorMgW.js";
|
|
29
|
+
import "./chat-envelope-DVKDDTSu.js";
|
|
30
|
+
import "./device-identity-DtdLP7QQ.js";
|
|
31
|
+
import "./client-Bvvecv3V.js";
|
|
32
|
+
import "./call-DL23sPxF.js";
|
|
33
|
+
import "./pairing-token-BIAdQuAM.js";
|
|
34
|
+
import { f as openUrl } from "./onboard-helpers-BkwNJPNU.js";
|
|
35
|
+
import "./prompt-style-DB_OyH4q.js";
|
|
36
|
+
import os from "node:os";
|
|
37
|
+
import path from "node:path";
|
|
38
|
+
import { randomUUID } from "node:crypto";
|
|
39
|
+
|
|
40
|
+
//#region src/commands/local-launch.ts
|
|
41
|
+
/**
|
|
42
|
+
* Local launch — starts the bot gateway on this machine and registers it
|
|
43
|
+
* as a node on gw.hanzo.bot so it appears in the Hanzo Playground.
|
|
44
|
+
*
|
|
45
|
+
* Flow:
|
|
46
|
+
* 1. Write config with gateway.mode = "local"
|
|
47
|
+
* 2. Start the gateway server (HTTP + WS on port 18789)
|
|
48
|
+
* 3. Connect to wss://gw.hanzo.bot as a remote node
|
|
49
|
+
* 4. Open the Control UI in the user's browser
|
|
50
|
+
* 5. Keep running until Ctrl+C
|
|
51
|
+
*/
|
|
52
|
+
const CLOUD_GATEWAY_URL = "wss://gw.hanzo.bot";
|
|
53
|
+
const PLAYGROUND_NODES_URL = "https://app.hanzo.bot/nodes";
|
|
54
|
+
const PLAYGROUND_URL = "https://app.hanzo.bot/playground";
|
|
55
|
+
const DEFAULT_PORT = 18789;
|
|
56
|
+
async function launchLocal(params) {
|
|
57
|
+
const { accessToken } = params;
|
|
58
|
+
await writeConfigFile({
|
|
59
|
+
gateway: {
|
|
60
|
+
mode: "local",
|
|
61
|
+
bind: "loopback",
|
|
62
|
+
auth: { mode: "token" }
|
|
63
|
+
},
|
|
64
|
+
agents: { defaults: { workspace: path.join(os.homedir(), ".hanzo", "bot", "workspace") } }
|
|
65
|
+
});
|
|
66
|
+
console.log("\n Starting local gateway...\n");
|
|
67
|
+
const [{ startGatewayServer }, { GatewayClient }, { runGatewayLoop }, { getMachineDisplayName }, { loadOrCreateDeviceIdentity }, { VERSION }, { GATEWAY_CLIENT_MODES, GATEWAY_CLIENT_NAMES }, { NODE_SYSTEM_RUN_COMMANDS, NODE_EXEC_APPROVALS_COMMANDS, NODE_BROWSER_PROXY_COMMAND }, { defaultRuntime }] = await Promise.all([
|
|
68
|
+
import("./server-CG9eco0N.js").then((n) => n.t),
|
|
69
|
+
import("./client-Bvvecv3V.js").then((n) => n.n),
|
|
70
|
+
import("./run-loop-Zvh_699t.js").then((n) => n.n),
|
|
71
|
+
import("./machine-name-BWZ0tBHk.js").then((n) => n.n),
|
|
72
|
+
import("./device-identity-DtdLP7QQ.js").then((n) => n.n),
|
|
73
|
+
import("./version-DT-JIO28.js").then((n) => n.r),
|
|
74
|
+
import("./message-channel-DOpIvru6.js").then((n) => n.l),
|
|
75
|
+
import("./node-commands-sMomb3e1.js").then((n) => n.a),
|
|
76
|
+
import("./runtime-CvdZtNmJ.js").then((n) => n.r)
|
|
77
|
+
]);
|
|
78
|
+
const port = DEFAULT_PORT;
|
|
79
|
+
const displayName = await getMachineDisplayName();
|
|
80
|
+
const nodeId = randomUUID();
|
|
81
|
+
try {
|
|
82
|
+
await runGatewayLoop({
|
|
83
|
+
runtime: defaultRuntime,
|
|
84
|
+
lockPort: port,
|
|
85
|
+
start: async () => {
|
|
86
|
+
const server = await startGatewayServer(port, { bind: "loopback" });
|
|
87
|
+
new GatewayClient({
|
|
88
|
+
url: CLOUD_GATEWAY_URL,
|
|
89
|
+
token: accessToken,
|
|
90
|
+
instanceId: nodeId,
|
|
91
|
+
clientName: GATEWAY_CLIENT_NAMES.NODE_HOST,
|
|
92
|
+
clientDisplayName: displayName,
|
|
93
|
+
clientVersion: VERSION,
|
|
94
|
+
platform: process.platform,
|
|
95
|
+
mode: GATEWAY_CLIENT_MODES.NODE,
|
|
96
|
+
role: "node",
|
|
97
|
+
scopes: [],
|
|
98
|
+
caps: ["system"],
|
|
99
|
+
commands: [...NODE_SYSTEM_RUN_COMMANDS, ...NODE_EXEC_APPROVALS_COMMANDS],
|
|
100
|
+
deviceIdentity: loadOrCreateDeviceIdentity(),
|
|
101
|
+
onConnectError: (err) => {
|
|
102
|
+
console.error(` Cloud gateway connect failed: ${err.message}`);
|
|
103
|
+
},
|
|
104
|
+
onClose: (code, reason) => {
|
|
105
|
+
console.error(` Cloud gateway closed (${code}): ${reason}`);
|
|
106
|
+
}
|
|
107
|
+
}).start();
|
|
108
|
+
try {
|
|
109
|
+
await openUrl(`http://127.0.0.1:${port}/`);
|
|
110
|
+
} catch {}
|
|
111
|
+
console.log(` Gateway running on http://127.0.0.1:${port}/`);
|
|
112
|
+
console.log(` Connected to Hanzo Cloud as "${displayName}"\n`);
|
|
113
|
+
console.log(` View your node: ${PLAYGROUND_NODES_URL}`);
|
|
114
|
+
console.log(` Open Playground: ${PLAYGROUND_URL}\n`);
|
|
115
|
+
console.log(" Press Ctrl+C to disconnect.\n");
|
|
116
|
+
return server;
|
|
117
|
+
}
|
|
118
|
+
});
|
|
119
|
+
} catch (err) {
|
|
120
|
+
console.error(` Gateway failed to start: ${err instanceof Error ? err.message : String(err)}`);
|
|
121
|
+
process.exit(1);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
//#endregion
|
|
126
|
+
export { launchLocal };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { h as getLogger, n as info, o as logVerboseConsole, t as danger, u as warn } from "./globals-d3aR1MYC.js";
|
|
2
|
-
import {
|
|
2
|
+
import { n as defaultRuntime } from "./runtime-CvdZtNmJ.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-C6poMade.js";
|
|
3
4
|
|
|
4
5
|
//#region src/logger.ts
|
|
5
6
|
const subsystemPrefixRe = /^([a-z][a-z0-9-]{1,20}):\s+(.*)$/i;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as CONFIG_PATH } from "./paths-BMo6kTge.js";
|
|
3
|
-
import { a as displayPath } from "./utils-
|
|
3
|
+
import { a as displayPath } from "./utils-BnC3HGtm.js";
|
|
4
4
|
|
|
5
5
|
//#region src/config/logging.ts
|
|
6
6
|
var logging_exports = /* @__PURE__ */ __exportAll({
|