@qqbrowser/openclaw-qbot 0.0.148 → 0.10.1
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/account-lookup-CW-_CL7y.js +0 -1
- package/dist/acp-cli-BHsTg1ac.js +0 -1
- package/dist/acp-cli-D_WC9SZX.js +0 -1
- package/dist/active-listener-1MJXk3Iq.js +0 -1
- package/dist/active-listener-D8VOdVx3.js +0 -1
- package/dist/active-listener-D8uP0H5W.js +0 -1
- package/dist/active-listener-DeKRt_UV.js +0 -1
- package/dist/agent-scope-DAWJwFfl.js +0 -1
- package/dist/agent-scope-DXZc3eNT.js +0 -1
- package/dist/agents-Cd1yL8fG.js +0 -1
- package/dist/agents.config-CaRMmWS8.js +0 -1
- package/dist/agents.config-DSCcdYtv.js +0 -1
- package/dist/allow-from-B6dI7oz8.js +0 -1
- package/dist/allow-from-DEeVIPKS.js +0 -1
- package/dist/api-BeG0ObSq.js +0 -1
- package/dist/api-Dx8x1KTs.js +0 -1
- package/dist/api-key-rotation-BLt5E2Cw.js +0 -1
- package/dist/api-key-rotation-BpEL4aeX.js +0 -1
- package/dist/api-key-rotation-DayEfYpa.js +0 -1
- package/dist/api-key-rotation-Rz2ESQSA.js +0 -1
- package/dist/arg-split-BOqSMBuf.js +0 -1
- package/dist/arg-split-DE5RqDHq.js +0 -1
- package/dist/audio-preflight-8WB1LJBS.js +0 -1
- package/dist/audio-preflight-BcPHPfr_.js +0 -1
- package/dist/audio-preflight-DTO631Yb.js +0 -1
- package/dist/audio-preflight-O-0lDeKh.js +0 -1
- package/dist/audio-transcription-runner-9H9eUZ1D.js +0 -1
- package/dist/audio-transcription-runner-BIKj1CBU.js +0 -1
- package/dist/audio-transcription-runner-BwjMhAUa.js +0 -1
- package/dist/audio-transcription-runner-CQ7rq0d_.js +0 -1
- package/dist/audit-9I53EvMQ.js +0 -1
- package/dist/audit-BGsUfJzD.js +0 -1
- package/dist/audit-membership-runtime-BpRsMj5-.js +0 -1
- package/dist/audit-membership-runtime-BsfLZNBj.js +0 -1
- package/dist/audit-membership-runtime-DRHirRmx.js +0 -1
- package/dist/audit-membership-runtime-g0dEWJTp.js +0 -1
- package/dist/audit-membership-runtime-kdyToskD.js +0 -1
- package/dist/auth-choice-BmI4sIGs.js +0 -1
- package/dist/auth-choice-DDsPJF6F.js +0 -1
- package/dist/auth-choice-Dy0jIOLV.js +0 -1
- package/dist/auth-choice-MqcWuVyu.js +0 -1
- package/dist/auth-choice-options-B3WQyS7I.js +0 -1
- package/dist/auth-choice-options-Dw14noox.js +0 -1
- package/dist/auth-choice-prompt-uegl56cf.js +0 -1
- package/dist/auth-choice-prompt-xYj13czb.js +0 -1
- package/dist/auth-choice.apply-helpers-D911bYcw.js +0 -1
- package/dist/auth-choice.apply-helpers-pJ4CPZCk.js +0 -1
- package/dist/auth-profiles-C8rZRS0X.js +0 -1
- package/dist/auth-token-DZLZ3d_I.js +0 -1
- package/dist/auth-token-Dp6bxT29.js +0 -1
- package/dist/banner-CAtilyXr.js +0 -1
- package/dist/bonjour-discovery-ClTijpMw.js +0 -1
- package/dist/bonjour-discovery-DMB6yrOF.js +0 -1
- package/dist/boolean-Ch3DfXPy.js +0 -1
- package/dist/boolean-D15s2V33.js +0 -1
- package/dist/boolean-DypnRoRK.js +0 -1
- package/dist/brew-COcDl8CB.js +0 -1
- package/dist/brew-DDPm_HfE.js +0 -1
- package/dist/browser-cli-Bf-Pzjxs.js +0 -1
- package/dist/browser-cli-DkrBCfYg.js +0 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +0 -1
- package/dist/bundled/bootstrap-extra-files/handler.js +0 -1
- package/dist/bundled/command-logger/handler.js +0 -1
- package/dist/bundled/session-memory/handler.js +0 -1
- package/dist/call-BWx7hNtl.js +0 -1
- package/dist/call-JB-cGR9n.js +0 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/channel-account-context-BMPAMZEv.js +0 -1
- package/dist/channel-account-context-DAcarnqW.js +0 -1
- package/dist/channel-activity-B04WbrrK.js +0 -1
- package/dist/channel-activity-BhiLsKvM.js +0 -1
- package/dist/channel-activity-DmgWmSAG.js +0 -1
- package/dist/channel-activity-Dw6F-ehJ.js +0 -1
- package/dist/channel-activity-htoVXTET.js +0 -1
- package/dist/channel-options-CCqtIYCc.js +0 -1
- package/dist/channel-options-CKoyPq8p.js +0 -1
- package/dist/channel-selection-BPxE8JR7.js +0 -1
- package/dist/channel-selection-si1OzWyQ.js +0 -1
- package/dist/channel-web-CCSMlUux.js +0 -1
- package/dist/channel-web-CwUfYqjg.js +0 -1
- package/dist/channels/plugins/actions/discord.js +0 -1
- package/dist/channels/plugins/actions/signal.js +0 -1
- package/dist/channels/plugins/actions/telegram.js +0 -1
- package/dist/channels/plugins/agent-tools/whatsapp-login.js +0 -1
- package/dist/channels-cli-BfgVv5jH.js +0 -1
- package/dist/channels-cli-BvGXgERj.js +0 -1
- package/dist/channels-status-issues-8eFrGKyf.js +0 -1
- package/dist/channels-status-issues-PRgOT90w.js +0 -1
- package/dist/chat-envelope-Bznn2SoS.js +0 -1
- package/dist/chat-envelope-HVpKusFc.js +0 -1
- package/dist/clack-prompter-DBPdGdqp.js +0 -1
- package/dist/clack-prompter-Dq0aY6iM.js +0 -1
- package/dist/clawbot-cli-B0iTJ-pm.js +0 -1
- package/dist/clawbot-cli-BcEtQbFY.js +0 -1
- package/dist/cleanup-utils-BWm70DoD.js +0 -1
- package/dist/cleanup-utils-D-RhEX6F.js +0 -1
- package/dist/cli-Bt--1dhL.js +0 -1
- package/dist/cli-CBg8KhmQ.js +0 -1
- package/dist/cli-utils-BY7dLMFy.js +0 -1
- package/dist/cli-utils-BleB1eys.js +0 -1
- package/dist/clipboard-Bk8cviBt.js +0 -1
- package/dist/clipboard-CKT_VIkG.js +0 -1
- package/dist/cmd-argv-BBT5l8AV.js +0 -1
- package/dist/cmd-argv-Bh-KpaZ0.js +0 -1
- package/dist/command-format-BbDT1tlm.js +0 -1
- package/dist/command-format-CLxIPuLR.js +0 -1
- package/dist/command-options-BpOUDl2S.js +0 -1
- package/dist/command-options-Bq5nQxz6.js +0 -1
- package/dist/command-poll-backoff-BZLHYB2k.js +0 -1
- package/dist/command-poll-backoff-Cww_r-24.js +0 -1
- package/dist/command-poll-backoff-Df6cOQrX.js +0 -1
- package/dist/command-poll-backoff-endAPdwn.js +0 -1
- package/dist/{command-registry-BxNiXs5w.js → command-registry-D_jtBegA.js} +1 -2
- package/dist/command-secret-targets-BEjtBf5Z.js +0 -1
- package/dist/command-secret-targets-CfXtLkLF.js +0 -1
- package/dist/commands-CGpM84iR.js +0 -1
- package/dist/commands-Dy7duWlt.js +0 -1
- package/dist/commands-registry-C5Hg7gyk.js +0 -1
- package/dist/commands-registry-DT6FDUev.js +0 -1
- package/dist/commands-registry-DlvNUkXz.js +0 -1
- package/dist/commands-registry-gvMK7Pw9.js +0 -1
- package/dist/compact-CYbPi7_-.js +0 -1
- package/dist/{completion-cli-Yg5BF97F.js → completion-cli-BVbT_aR2.js} +1 -2
- package/dist/{completion-cli-BRE0F8Tu.js → completion-cli-Bw_hBrlA.js} +1 -2
- package/dist/config-BqW5S1xL.js +0 -1
- package/dist/config-Cji73to5.js +0 -1
- package/dist/config-cli-CwW76_j_.js +0 -1
- package/dist/config-cli-F-lkPjjz.js +0 -1
- package/dist/config-guard-0_afzaJz.js +0 -1
- package/dist/config-guard-CqUJ8uaF.js +0 -1
- package/dist/config-validation-6hk_fxD8.js +0 -1
- package/dist/config-validation-BAmmD9p4.js +0 -1
- package/dist/configure--c4tTVPz.js +0 -1
- package/dist/configure-DFlnM_zh.js +0 -1
- package/dist/connection-auth-CjaeEu5D.js +0 -1
- package/dist/connection-auth-smZlFWxD.js +0 -1
- package/dist/context-window-guard-7crlatf9.js +0 -1
- package/dist/context-window-guard-CPChk363.js +0 -1
- package/dist/control-ui-assets-BIa0GGDg.js +0 -1
- package/dist/control-ui-assets-CTHGGgaX.js +0 -1
- package/dist/cron-cli-BKS4L-uW.js +0 -1
- package/dist/cron-cli-L9wLLocl.js +0 -1
- package/dist/daemon-cli-BdDHNRqp.js +0 -1
- package/dist/daemon-cli-CEHkT-54.js +0 -1
- package/dist/daemon-cli.js +0 -1
- package/dist/daemon-install-CMNtsW5o.js +0 -1
- package/dist/daemon-install-D2gMiA0p.js +0 -1
- package/dist/daemon-install-plan.shared-BkwZgIAY.js +0 -1
- package/dist/daemon-install-plan.shared-Dx3DBXCG.js +0 -1
- package/dist/daemon-runtime-DHiDbRuC.js +0 -1
- package/dist/daemon-runtime-VcpeBRJV.js +0 -1
- package/dist/dangerous-name-matching-BOmvAibz.js +0 -1
- package/dist/dangerous-name-matching-DtllRqBD.js +0 -1
- package/dist/dangerous-tools-CFRYQJ6V.js +0 -1
- package/dist/dangerous-tools-oYCu5wfC.js +0 -1
- package/dist/deliver-AM3FP5rj.js +0 -1
- package/dist/deliver-BhWhLvQO.js +0 -1
- package/dist/deliver-DUNkj4hy.js +0 -1
- package/dist/deliver-SqSusZP3.js +0 -1
- package/dist/delivery-queue-CKbauSFq.js +0 -1
- package/dist/delivery-queue-nkPJu0fY.js +0 -1
- package/dist/device-pairing-DAzYy3vX.js +0 -1
- package/dist/device-pairing-DknI3IDo.js +0 -1
- package/dist/devices-cli-BYD6Sq88.js +0 -1
- package/dist/devices-cli-Dl-0fQmR.js +0 -1
- package/dist/diagnostic-BEZszppF.js +0 -1
- package/dist/diagnostic-D1H7_8QG.js +0 -1
- package/dist/diagnostic-DtuQPRbp.js +0 -1
- package/dist/diagnostic-VBPCgF9l.js +0 -1
- package/dist/diagnostics-BgbeL9KE.js +0 -1
- package/dist/diagnostics-Cdctg9K_.js +0 -1
- package/dist/directory-cli-CpMjutQb.js +0 -1
- package/dist/directory-cli-b_l3qJI_.js +0 -1
- package/dist/dns-cli-C7L4RYOm.js +0 -1
- package/dist/dns-cli-wKg6nn6f.js +0 -1
- package/dist/docs-cli-CwW4sqbC.js +0 -1
- package/dist/docs-cli-DnLLU7eX.js +0 -1
- package/dist/{doctor-completion-II0Wb435.js → doctor-completion-C9CPhCor.js} +1 -2
- package/dist/{doctor-completion-Bu-98ocm.js → doctor-completion-DI7mGC3D.js} +1 -2
- package/dist/doctor-config-flow-BVpr8-q9.js +0 -1
- package/dist/doctor-config-flow-Dio3s4x6.js +0 -1
- package/dist/enable-CjFPAUgo.js +0 -1
- package/dist/enable-PO3qN4Lf.js +0 -1
- package/dist/entry-status-CCwwKO43.js +0 -1
- package/dist/entry-status-CoXkbJcX.js +0 -1
- package/dist/entry.js +1 -2
- package/dist/env-D7wNuBx1.js +0 -1
- package/dist/env-overrides-DHtB4kK3.js +0 -1
- package/dist/env-overrides-DXJbFrwI.js +0 -1
- package/dist/errors-6SQWM9dj.js +0 -1
- package/dist/errors-Bunti32V.js +0 -1
- package/dist/exec-B3eleY5O.js +0 -1
- package/dist/exec-DHqLtFYt.js +0 -1
- package/dist/exec-approvals-BXO9Cezj.js +0 -1
- package/dist/exec-approvals-BpBNEy6i.js +0 -1
- package/dist/exec-approvals-allowlist-B-Yf6RsU.js +0 -1
- package/dist/exec-approvals-allowlist-CGjRWREs.js +0 -1
- package/dist/exec-approvals-cli-BokGzWFo.js +0 -1
- package/dist/exec-approvals-cli-CsUGu6m3.js +0 -1
- package/dist/exec-safe-bin-runtime-policy-CRPHdPbF.js +0 -1
- package/dist/exec-safe-bin-runtime-policy-v44u39fl.js +0 -1
- package/dist/fetch-B4bz67_N.js +0 -1
- package/dist/fetch-BJT3BrkJ.js +0 -1
- package/dist/fetch-Bn0mWg6a.js +0 -1
- package/dist/fetch-Ce-scEU-.js +0 -1
- package/dist/fetch-D0rZDHKO.js +0 -1
- package/dist/fetch-D5wrJ0AX.js +0 -1
- package/dist/fetch-DBat25iG.js +0 -1
- package/dist/fetch-DHo17YmK.js +0 -1
- package/dist/fetch-Dh-apy46.js +0 -1
- package/dist/fetch-Dikjvc5M.js +0 -1
- package/dist/fetch-DsjPfQlp.js +0 -1
- package/dist/fetch-_g8lZ8K8.js +0 -1
- package/dist/fetch-guard-7BAwnP4a.js +0 -1
- package/dist/fetch-guard-DaZmvp-L.js +0 -1
- package/dist/fetch-guard-DvaNcypz.js +0 -1
- package/dist/fetch-guard-oWKGrwV4.js +0 -1
- package/dist/fetch-hy0JKSsm.js +0 -1
- package/dist/fetch-timeout-CdYxWG9w.js +0 -1
- package/dist/fetch-timeout-Cj8_oAls.js +0 -1
- package/dist/fetch-timeout-DoOI_izT.js +0 -1
- package/dist/fetch-timeout-u8g99Ax0.js +0 -1
- package/dist/format-Bn1bwJKX.js +0 -1
- package/dist/format-Ce7I7s-k.js +0 -1
- package/dist/format-duration-C8AzNqKh.js +0 -1
- package/dist/format-duration-D5AMtmHa.js +0 -1
- package/dist/format-relative-B9pSIdGe.js +0 -1
- package/dist/format-relative-DkMjYy7z.js +0 -1
- package/dist/frontmatter-BkZkwkVO.js +0 -1
- package/dist/frontmatter-C7mzDNxd.js +0 -1
- package/dist/frontmatter-CzpfPBFl.js +0 -1
- package/dist/{gateway-cli-DBjTjdhJ.js → gateway-cli-BMmU2dsG.js} +1 -2
- package/dist/{gateway-cli-B-AX4-uD.js → gateway-cli-Kp-caOwI.js} +1 -2
- package/dist/gateway-install-token-Dt7hDXoR.js +0 -1
- package/dist/gateway-install-token-cSJrfU_1.js +0 -1
- package/dist/gateway-rpc-C78PzdZR.js +0 -1
- package/dist/gateway-rpc-CecloWA1.js +0 -1
- package/dist/github-copilot-token-C79yeDKS.js +0 -1
- package/dist/github-copilot-token-DGYAlOmV.js +0 -1
- package/dist/github-copilot-token-DePP-lIf.js +0 -1
- package/dist/github-copilot-token-wm6mbypz.js +0 -1
- package/dist/gmail-setup-utils-CYOH3zzx.js +0 -1
- package/dist/gmail-setup-utils-S-MyEGuj.js +0 -1
- package/dist/group-access-BHKVOhrj.js +0 -1
- package/dist/group-access-D2DOYMfr.js +0 -1
- package/dist/health-B_-ZE5FK.js +0 -1
- package/dist/health-CIZFVJEG.js +0 -1
- package/dist/health-format-B1nj3Wfn.js +0 -1
- package/dist/health-format-VBr6LEpt.js +0 -1
- package/dist/heartbeat-visibility-BQ_esv2m.js +0 -1
- package/dist/heartbeat-visibility-q74UdY8O.js +0 -1
- package/dist/help-format-B4aEI7V9.js +0 -1
- package/dist/help-format-BRbF_INg.js +0 -1
- package/dist/helpers-COz1ghcB.js +0 -1
- package/dist/helpers-Cp8gcO6u.js +0 -1
- package/dist/hooks-cli-BoxAnC-E.js +0 -1
- package/dist/hooks-cli-CnCOjVv0.js +0 -1
- package/dist/hooks-status-BHt-Xvh4.js +0 -1
- package/dist/hooks-status-CRJ4J0ZW.js +0 -1
- package/dist/image-BBO-0uLG.js +0 -1
- package/dist/image-BP1cfEh1.js +0 -1
- package/dist/image-BVbOr9yV.js +0 -1
- package/dist/image-CcsuUB1B.js +0 -1
- package/dist/index.js +1 -2
- package/dist/inspect-BKV-I1UE.js +0 -1
- package/dist/inspect-z59cgmYc.js +0 -1
- package/dist/install-safe-path-C6kc_8NW.js +0 -1
- package/dist/install-safe-path-iesxijn2.js +0 -1
- package/dist/installs-CKzq-YqL.js +0 -1
- package/dist/installs-DzSskdtJ.js +0 -1
- package/dist/ipv4-B05QVStj.js +0 -1
- package/dist/ipv4-SeeyR-DH.js +0 -1
- package/dist/ir-B7mdG27k.js +0 -1
- package/dist/ir-BTfsA9Dd.js +0 -1
- package/dist/ir-CNTx85qV.js +0 -1
- package/dist/ir-DdjufzKF.js +0 -1
- package/dist/is-main-DG5ueqhF.js +0 -1
- package/dist/issue-format-BtMzMXtZ.js +0 -1
- package/dist/issue-format-CN9PHzXY.js +0 -1
- package/dist/kill-tree-D6nPx1_o.js +0 -1
- package/dist/lifecycle-core-B1nrgJCw.js +0 -1
- package/dist/lifecycle-core-D_LWJeD_.js +0 -1
- package/dist/line/accounts.js +0 -1
- package/dist/line/send.js +0 -1
- package/dist/line/template-messages.js +0 -1
- package/dist/links-CBnmRP9D.js +0 -1
- package/dist/links-CySwdMcF.js +0 -1
- package/dist/llm-slug-generator.js +0 -1
- package/dist/load-options-BsOW74dp.js +0 -1
- package/dist/load-options-C7dLuybp.js +0 -1
- package/dist/load-options-DV4j6Aqb.js +0 -1
- package/dist/load-options-Dwt0CeEg.js +0 -1
- package/dist/local-roots-aA-4ohTq.js +0 -1
- package/dist/logger-5W0OocJW.js +0 -1
- package/dist/logger-Bl8URnrW.js +0 -1
- package/dist/logger-DwWqfo66.js +0 -1
- package/dist/logger-kQAOe3qp.js +0 -1
- package/dist/logging-B7XHbCNn.js +0 -1
- package/dist/logging-CbMVr2MA.js +0 -1
- package/dist/login-BGLWiksP.js +0 -1
- package/dist/login-CcYeF5T_.js +0 -1
- package/dist/login-DSZdCiDx.js +0 -1
- package/dist/login-DWZzj-P1.js +0 -1
- package/dist/login-qr-BGpGVMES.js +0 -1
- package/dist/login-qr-BUdgvi3v.js +0 -1
- package/dist/login-qr-Bx8skPB-.js +0 -1
- package/dist/login-qr-DYUCmP-W.js +0 -1
- package/dist/login-qr-_79eoRb4.js +0 -1
- package/dist/logs-cli-C52caOop.js +0 -1
- package/dist/logs-cli-Ch50TE-J.js +0 -1
- package/dist/manager-CI6O4QH6.js +0 -1
- package/dist/manager-CN_rQm1L.js +0 -1
- package/dist/manager-CxZRoQkE.js +0 -1
- package/dist/manager-iFi--Fru.js +0 -1
- package/dist/memory-cli-BouV_wyL.js +0 -1
- package/dist/memory-cli-C8fBBPgv.js +0 -1
- package/dist/model-catalog-D-hkNWin.js +0 -1
- package/dist/model-catalog-mt0IcDfR.js +0 -1
- package/dist/model-param-b-B0r2cPDw.js +0 -1
- package/dist/model-param-b-BqIr5rY5.js +0 -1
- package/dist/model-picker-BB0Zdvyu.js +0 -1
- package/dist/model-picker-DeiWyW0N.js +0 -1
- package/dist/model-selection-BLbnMb5E.js +0 -1
- package/dist/model-selection-D7mdJmGK.js +0 -1
- package/dist/model-selection-DvekK9rZ.js +0 -1
- package/dist/models-BBYqej07.js +0 -1
- package/dist/models-cli-CMMhnlHo.js +0 -1
- package/dist/models-cli-CqbDyDn2.js +0 -1
- package/dist/models-config-BlQ39qlq.js +0 -1
- package/dist/models-config-DZzS67GS.js +0 -1
- package/dist/mutable-allowlist-detectors-C4rNVag8.js +0 -1
- package/dist/mutable-allowlist-detectors-CL0qe54J.js +0 -1
- package/dist/node-cli-Bzu1efMB.js +0 -1
- package/dist/node-cli-Dv-Eib4o.js +0 -1
- package/dist/node-command-policy-D9yZu9zq.js +0 -1
- package/dist/node-command-policy-DyWp3Bjz.js +0 -1
- package/dist/node-commands-8GBOiktk.js +0 -1
- package/dist/node-commands-DdkziOTx.js +0 -1
- package/dist/node-resolve-B3BJbmQX.js +0 -1
- package/dist/node-resolve-DLZf3-1V.js +0 -1
- package/dist/node-service-BRfrNp8l.js +0 -1
- package/dist/node-service-C0bl7jcZ.js +0 -1
- package/dist/node-shell-BVZylVP6.js +0 -1
- package/dist/nodes-cli-B3aNQG30.js +0 -1
- package/dist/nodes-cli-DzO6PSFw.js +0 -1
- package/dist/nodes-screen-8nRBsfID.js +0 -1
- package/dist/note-D4GAwgha.js +0 -1
- package/dist/note-Dp-d_utk.js +0 -1
- package/dist/npm-pack-install-B23L-AtF.js +0 -1
- package/dist/npm-pack-install-C0te3Oap.js +0 -1
- package/dist/npm-resolution--_-0q2ks.js +0 -1
- package/dist/npm-resolution-CBlwQq3a.js +0 -1
- package/dist/oauth-env-DAamJ1oz.js +0 -1
- package/dist/oauth-env-DSLBTWb1.js +0 -1
- package/dist/oauth-tls-preflight-BSBRDIfC.js +0 -1
- package/dist/oauth-tls-preflight-ByNjbUR5.js +0 -1
- package/dist/ollama-setup-CGuyH3Ey.js +0 -1
- package/dist/ollama-setup-LVRPefmV.js +0 -1
- package/dist/{onboard-DMmLqys5.js → onboard-DZG0HnuP.js} +1 -2
- package/dist/{onboard-C2Ofvb_A.js → onboard-DlCEww7K.js} +1 -2
- package/dist/onboard-channels-BDMtq3ex.js +0 -1
- package/dist/onboard-channels-BO3AN_eA.js +0 -1
- package/dist/onboard-config-B7U20YRw.js +0 -1
- package/dist/onboard-config-DS9dUv8M.js +0 -1
- package/dist/onboard-custom--OylwoHQ.js +0 -1
- package/dist/onboard-custom-_Df_ciX2.js +0 -1
- package/dist/onboard-helpers-D90u4wVK.js +0 -1
- package/dist/onboard-helpers-DOlI17Ac.js +0 -1
- package/dist/onboard-hooks-CERzXObm.js +0 -1
- package/dist/onboard-hooks-gQ3sxBNi.js +0 -1
- package/dist/onboard-provider-auth-flags-CqbipO7D.js +0 -1
- package/dist/onboard-provider-auth-flags-Dvwzdz37.js +0 -1
- package/dist/onboard-remote-B1-SlmUN.js +0 -1
- package/dist/onboard-remote-C7Eg49Uf.js +0 -1
- package/dist/onboard-search-f2tJD4hg.js +0 -1
- package/dist/onboard-search-fslKKhyg.js +0 -1
- package/dist/onboard-skills-DCgTr6hW.js +0 -1
- package/dist/onboard-skills-_TBzISd2.js +0 -1
- package/dist/{onboarding-C82cKKNI.js → onboarding-CxRTJCBM.js} +1 -2
- package/dist/{onboarding-M80apW9t.js → onboarding-m-m__16h.js} +1 -2
- package/dist/{onboarding.finalize-D9nrrI1J.js → onboarding.finalize-BJxMhYUa.js} +1 -2
- package/dist/{onboarding.finalize-CVvwI1Qg.js → onboarding.finalize-UiX3YmbI.js} +1 -2
- package/dist/onboarding.gateway-config-CXjzrfwL.js +0 -1
- package/dist/onboarding.gateway-config-TSq70E-S.js +0 -1
- package/dist/onboarding.secret-input-BSmFS1Px.js +0 -1
- package/dist/onboarding.secret-input-CUD0t7Pk.js +0 -1
- package/dist/openai-codex-model-default-Bx8i3bOg.js +0 -1
- package/dist/openai-codex-model-default-DuRfnfUm.js +0 -1
- package/dist/openai-model-default-Bm9b0oR0.js +0 -1
- package/dist/openai-model-default-KMCphvoO.js +0 -1
- package/dist/openclaw-exec-env-BWbOu_YC.js +0 -1
- package/dist/openclaw-root-CnsBf6ZU.js +0 -1
- package/dist/openclaw-root-D_0Q6--h.js +0 -1
- package/dist/outbound-BevYwvMh.js +0 -1
- package/dist/outbound-CqDxMWLZ.js +0 -1
- package/dist/outbound-DmwQEFu0.js +0 -1
- package/dist/outbound-attachment-9-8VNvRG.js +0 -1
- package/dist/outbound-attachment-Bah4dvuM.js +0 -1
- package/dist/outbound-attachment-CVcDBkAD.js +0 -1
- package/dist/outbound-attachment-E89zumcH.js +0 -1
- package/dist/outbound-xlG_RqEu.js +0 -1
- package/dist/pairing-cli-ByPhOBWo.js +0 -1
- package/dist/pairing-cli-CxJy8LPo.js +0 -1
- package/dist/pairing-labels-CZ-aX-up.js +0 -1
- package/dist/pairing-labels-PIuZfthz.js +0 -1
- package/dist/pairing-store-BaaVy1zB.js +0 -1
- package/dist/pairing-store-EmfFQVcs.js +0 -1
- package/dist/pairing-token-B8RdfK2y.js +0 -1
- package/dist/pairing-token-zdbQ951y.js +0 -1
- package/dist/parse-duration-XTjMKl8s.js +0 -1
- package/dist/parse-finite-number-DqzUM-_s.js +0 -1
- package/dist/parse-finite-number-dBmDLLKL.js +0 -1
- package/dist/parse-log-line-CsYLg7Qu.js +0 -1
- package/dist/parse-log-line-NV-cipB_.js +0 -1
- package/dist/parse-port-Bv1Y9Wk5.js +0 -1
- package/dist/parse-port-JVwkxcZ8.js +0 -1
- package/dist/parse-timeout-DWSGfCkQ.js +0 -1
- package/dist/parse-timeout-Dx4QnVzo.js +0 -1
- package/dist/path-alias-guards-kY_ZbWs-.js +0 -1
- package/dist/path-alias-guards-mvyLCPlN.js +0 -1
- package/dist/path-env-BPd1Yd-i.js +0 -1
- package/dist/path-env-emdAQejM.js +0 -1
- package/dist/path-safety-BukYK8Kd.js +0 -1
- package/dist/path-safety-DaaMJFdt.js +0 -1
- package/dist/paths-B4IRk3wi.js +0 -1
- package/dist/paths-BfjJY2VL.js +0 -1
- package/dist/paths-BjD3T_xq.js +0 -1
- package/dist/paths-BpQOWYiT.js +0 -1
- package/dist/paths-CChBdtE8.js +0 -1
- package/dist/paths-CrCoPIVK.js +0 -1
- package/dist/paths-piJASC5k.js +0 -1
- package/dist/paths-yLEk_25I.js +0 -1
- package/dist/pi-embedded-6yGEd2xd.js +0 -1
- package/dist/pi-embedded-X_Svd4Wi.js +0 -1
- package/dist/pi-model-discovery-BPkhPDMr.js +0 -1
- package/dist/pi-model-discovery-BonZ1N3x.js +0 -1
- package/dist/pi-model-discovery-DVKXkQTR.js +0 -1
- package/dist/pi-model-discovery-DnJkNRc-.js +0 -1
- package/dist/pi-tools.before-tool-call.runtime-2-IJ8xox.js +0 -1
- package/dist/pi-tools.before-tool-call.runtime-CNesNgq0.js +0 -1
- package/dist/pi-tools.before-tool-call.runtime-CmtITCPP.js +0 -1
- package/dist/pi-tools.before-tool-call.runtime-VUjwIYJ7.js +0 -1
- package/dist/pi-tools.policy-B6q8YOfg.js +0 -1
- package/dist/plugin-auto-enable-CTgkkJK7.js +0 -1
- package/dist/plugin-auto-enable-adba5Evb.js +0 -1
- package/dist/plugin-install-plan-BmyB3dR1.js +0 -1
- package/dist/plugin-install-plan-sIOiMBS1.js +0 -1
- package/dist/plugin-registry-CN2aCPP7.js +0 -1
- package/dist/plugin-registry-DYwEy5eM.js +0 -1
- package/dist/plugin-sdk/account-id.cjs +0 -1
- package/dist/plugin-sdk/account-id.js +0 -1
- package/dist/plugin-sdk/acpx.cjs +0 -1
- package/dist/plugin-sdk/acpx.js +0 -1
- package/dist/plugin-sdk/active-listener-B1sd5Yrr.cjs +0 -1
- package/dist/plugin-sdk/active-listener-CVvtj4nc.cjs +0 -1
- package/dist/plugin-sdk/active-listener-D0Pag-jN.js +0 -1
- package/dist/plugin-sdk/active-listener-DIzG1nGC.js +0 -1
- package/dist/plugin-sdk/active-listener-DUT4_v5r.cjs +0 -1
- package/dist/plugin-sdk/active-listener-D_Cq4Tuy.cjs +0 -1
- package/dist/plugin-sdk/active-listener-HBuXCjdG.js +0 -1
- package/dist/plugin-sdk/active-listener-V7whA3d_.js +0 -1
- package/dist/plugin-sdk/active-listener-YOWDFFGG.js +0 -1
- package/dist/plugin-sdk/active-listener-kJidH-KZ.js +0 -1
- package/dist/plugin-sdk/active-listener-kmJHqUWY.cjs +0 -1
- package/dist/plugin-sdk/active-listener-vpxSd-kW.cjs +0 -1
- package/dist/plugin-sdk/api-key-rotation-BEhJdmXN.cjs +0 -1
- package/dist/plugin-sdk/api-key-rotation-BcDAQISn.js +0 -1
- package/dist/plugin-sdk/api-key-rotation-Bua813IH.cjs +0 -1
- package/dist/plugin-sdk/api-key-rotation-C7_ooC3N.js +0 -1
- package/dist/plugin-sdk/api-key-rotation-CiFfWYgL.js +0 -1
- package/dist/plugin-sdk/api-key-rotation-CrVpqlS6.cjs +0 -1
- package/dist/plugin-sdk/api-key-rotation-D-zSLAf_.cjs +0 -1
- package/dist/plugin-sdk/api-key-rotation-DInDOH-A.js +0 -1
- package/dist/plugin-sdk/api-key-rotation-DKp72Rw4.cjs +0 -1
- package/dist/plugin-sdk/api-key-rotation-YRRtbk9Y.cjs +0 -1
- package/dist/plugin-sdk/api-key-rotation-tVSHRH8D.js +0 -1
- package/dist/plugin-sdk/api-key-rotation-ta953lKF.js +0 -1
- package/dist/plugin-sdk/audio-preflight-5ZbcO1qy.js +0 -1
- package/dist/plugin-sdk/audio-preflight-BrAX9j6r.js +0 -1
- package/dist/plugin-sdk/audio-preflight-C2NpU5hR.cjs +0 -1
- package/dist/plugin-sdk/audio-preflight-CtWGsCje.js +0 -1
- package/dist/plugin-sdk/audio-preflight-CwjNHDro.cjs +0 -1
- package/dist/plugin-sdk/audio-preflight-D22cCCmn.js +0 -1
- package/dist/plugin-sdk/audio-preflight-DyK2q8OQ.cjs +0 -1
- package/dist/plugin-sdk/audio-preflight-F7lfchEO.cjs +0 -1
- package/dist/plugin-sdk/audio-preflight-ItHD-3bi.js +0 -1
- package/dist/plugin-sdk/audio-preflight-QWsN9gcK.cjs +0 -1
- package/dist/plugin-sdk/audio-preflight-k7Qt2rDs.cjs +0 -1
- package/dist/plugin-sdk/audio-preflight-wcMT_iUA.js +0 -1
- package/dist/plugin-sdk/audio-transcription-runner-B3bLoVvU.js +0 -1
- package/dist/plugin-sdk/audio-transcription-runner-BDfW3xeJ.cjs +0 -1
- package/dist/plugin-sdk/audio-transcription-runner-BZLASCWO.cjs +0 -1
- package/dist/plugin-sdk/audio-transcription-runner-CiRKTRED.cjs +0 -1
- package/dist/plugin-sdk/audio-transcription-runner-Cxs7u0B3.cjs +0 -1
- package/dist/plugin-sdk/audio-transcription-runner-D2IxJCfd.cjs +0 -1
- package/dist/plugin-sdk/audio-transcription-runner-DA6TwXrV.cjs +0 -1
- package/dist/plugin-sdk/audio-transcription-runner-DZIEX1Rl.js +0 -1
- package/dist/plugin-sdk/audio-transcription-runner-DZRGn6-f.js +0 -1
- package/dist/plugin-sdk/audio-transcription-runner-Dc-WF6zu.js +0 -1
- package/dist/plugin-sdk/audio-transcription-runner-DuBgVmcT.js +0 -1
- package/dist/plugin-sdk/audio-transcription-runner-nKI1rQ0R.js +0 -1
- package/dist/plugin-sdk/audit-membership-runtime-7LqcvqFo.js +0 -1
- package/dist/plugin-sdk/audit-membership-runtime-BQFUzFc0.cjs +0 -1
- package/dist/plugin-sdk/audit-membership-runtime-BYtdDX9G.cjs +0 -1
- package/dist/plugin-sdk/audit-membership-runtime-BzEtBUX6.cjs +0 -1
- package/dist/plugin-sdk/audit-membership-runtime-CBUmGrl4.js +0 -1
- package/dist/plugin-sdk/audit-membership-runtime-ChlVgt2y.js +0 -1
- package/dist/plugin-sdk/audit-membership-runtime-DLRX7LR0.js +0 -1
- package/dist/plugin-sdk/audit-membership-runtime-DbJW5X3L.cjs +0 -1
- package/dist/plugin-sdk/audit-membership-runtime-Du9LAxDa.cjs +0 -1
- package/dist/plugin-sdk/audit-membership-runtime-DylNnj1m.js +0 -1
- package/dist/plugin-sdk/audit-membership-runtime-voi5sPwF.js +0 -1
- package/dist/plugin-sdk/audit-membership-runtime-yWYvSpgZ.cjs +0 -1
- package/dist/plugin-sdk/bluebubbles.cjs +0 -1
- package/dist/plugin-sdk/bluebubbles.js +0 -1
- package/dist/plugin-sdk/channel-activity--Ax2m0qQ.js +0 -1
- package/dist/plugin-sdk/channel-activity-BCsNxxNa.js +0 -1
- package/dist/plugin-sdk/channel-activity-BUieXBdg.cjs +0 -1
- package/dist/plugin-sdk/channel-activity-BXffAklf.js +0 -1
- package/dist/plugin-sdk/channel-activity-BlYTUiU4.js +0 -1
- package/dist/plugin-sdk/channel-activity-Bm-pvlXw.cjs +0 -1
- package/dist/plugin-sdk/channel-activity-Bnai3H2M.js +0 -1
- package/dist/plugin-sdk/channel-activity-CC3JLAxD.cjs +0 -1
- package/dist/plugin-sdk/channel-activity-CTmfXwYn.cjs +0 -1
- package/dist/plugin-sdk/channel-activity-D98aY9ZF.js +0 -1
- package/dist/plugin-sdk/channel-activity-DymcGybX.cjs +0 -1
- package/dist/plugin-sdk/channel-activity-gZBQEyOK.cjs +0 -1
- package/dist/plugin-sdk/channel-web-B795Ild9.cjs +0 -1
- package/dist/plugin-sdk/channel-web-Bg8DNyeb.js +0 -1
- package/dist/plugin-sdk/channel-web-CW42ALB5.cjs +0 -1
- package/dist/plugin-sdk/channel-web-D5zxPW-x.js +0 -1
- package/dist/plugin-sdk/command-poll-backoff-4910Mpwp.js +0 -1
- package/dist/plugin-sdk/command-poll-backoff-BLJZzV5W.cjs +0 -1
- package/dist/plugin-sdk/command-poll-backoff-CUNcN0dv.cjs +0 -1
- package/dist/plugin-sdk/command-poll-backoff-Cww_r-24.js +0 -1
- package/dist/plugin-sdk/command-poll-backoff-D0lJhquZ.js +0 -1
- package/dist/plugin-sdk/command-poll-backoff-Glwt3wHa.cjs +0 -1
- package/dist/plugin-sdk/commands-registry-BIGWymiv.cjs +0 -1
- package/dist/plugin-sdk/commands-registry-Bnadsir-.cjs +0 -1
- package/dist/plugin-sdk/commands-registry-C1Gb98lg.js +0 -1
- package/dist/plugin-sdk/commands-registry-CZcNTwNs.js +0 -1
- package/dist/plugin-sdk/commands-registry-CeJQPXIR.js +0 -1
- package/dist/plugin-sdk/commands-registry-CehvtLBA.js +0 -1
- package/dist/plugin-sdk/commands-registry-Cf8DaBmw.js +0 -1
- package/dist/plugin-sdk/commands-registry-Cfv6gDoQ.cjs +0 -1
- package/dist/plugin-sdk/commands-registry-D734s8r7.js +0 -1
- package/dist/plugin-sdk/commands-registry-DWx89vtR.cjs +0 -1
- package/dist/plugin-sdk/commands-registry-DviWu8J8.cjs +0 -1
- package/dist/plugin-sdk/commands-registry-wA0CkHGk.cjs +0 -1
- package/dist/plugin-sdk/common-BJ0tHoNJ.cjs +0 -1
- package/dist/plugin-sdk/common-CxLmdAIn.js +0 -1
- package/dist/plugin-sdk/compat.cjs +0 -1
- package/dist/plugin-sdk/compat.js +0 -1
- package/dist/plugin-sdk/config-C2-9m5-M.cjs +0 -1
- package/dist/plugin-sdk/config-Cx3SFBFW.js +0 -1
- package/dist/plugin-sdk/copilot-proxy.cjs +0 -1
- package/dist/plugin-sdk/copilot-proxy.js +0 -1
- package/dist/plugin-sdk/core.cjs +0 -1
- package/dist/plugin-sdk/core.js +0 -1
- package/dist/plugin-sdk/deliver--pOntbRC.cjs +0 -1
- package/dist/plugin-sdk/deliver-BLMe2eBS.js +0 -1
- package/dist/plugin-sdk/deliver-BcHzZPc2.js +0 -1
- package/dist/plugin-sdk/deliver-CSGTRHt1.js +0 -1
- package/dist/plugin-sdk/deliver-Cm8yUsWK.cjs +0 -1
- package/dist/plugin-sdk/deliver-DQDZRjZ0.js +0 -1
- package/dist/plugin-sdk/deliver-DRintVMn.js +0 -1
- package/dist/plugin-sdk/deliver-DehGdLxT.js +0 -1
- package/dist/plugin-sdk/deliver-EThzALwn.cjs +0 -1
- package/dist/plugin-sdk/deliver-d7VfVmTa.cjs +0 -1
- package/dist/plugin-sdk/deliver-rACJj8E9.cjs +0 -1
- package/dist/plugin-sdk/deliver-wteCze09.cjs +0 -1
- package/dist/plugin-sdk/device-pair.cjs +0 -1
- package/dist/plugin-sdk/device-pair.js +0 -1
- package/dist/plugin-sdk/diagnostic-BcBlExSy.cjs +0 -1
- package/dist/plugin-sdk/diagnostic-Bmp3zWQp.cjs +0 -1
- package/dist/plugin-sdk/diagnostic-BvrdTMl3.js +0 -1
- package/dist/plugin-sdk/diagnostic-C2jKFixS.cjs +0 -1
- package/dist/plugin-sdk/diagnostic-CSfBcIOI.js +0 -1
- package/dist/plugin-sdk/diagnostic-CYR5dxDE.cjs +0 -1
- package/dist/plugin-sdk/diagnostic-CdNZNyNv.cjs +0 -1
- package/dist/plugin-sdk/diagnostic-DE5k6C1E.js +0 -1
- package/dist/plugin-sdk/diagnostic-DMpxa640.cjs +0 -1
- package/dist/plugin-sdk/diagnostic-DSgf5Z4H.js +0 -1
- package/dist/plugin-sdk/diagnostic-DbRdunVt.js +0 -1
- package/dist/plugin-sdk/diagnostic-zCrcFAbJ.js +0 -1
- package/dist/plugin-sdk/diagnostics-otel.cjs +0 -1
- package/dist/plugin-sdk/diagnostics-otel.js +0 -1
- package/dist/plugin-sdk/diffs.cjs +0 -1
- package/dist/plugin-sdk/diffs.js +0 -1
- package/dist/plugin-sdk/discord.cjs +0 -1
- package/dist/plugin-sdk/discord.js +0 -1
- package/dist/plugin-sdk/dispatch-B13B2T1k.js +0 -1
- package/dist/plugin-sdk/dispatch-BaBcLOry.js +0 -1
- package/dist/plugin-sdk/dispatch-BlOkbw2U.js +0 -1
- package/dist/plugin-sdk/dispatch-D2Km7gvG.cjs +0 -1
- package/dist/plugin-sdk/dispatch-DAaOM5c1.cjs +0 -1
- package/dist/plugin-sdk/dispatch-DYRrW05S.js +0 -1
- package/dist/plugin-sdk/dispatch-Dap2ZPC9.js +0 -1
- package/dist/plugin-sdk/dispatch-Dl0eaYcY.cjs +0 -1
- package/dist/plugin-sdk/dispatch-_tJF5hSh.cjs +0 -1
- package/dist/plugin-sdk/dispatch-cPg1rBWu.cjs +0 -1
- package/dist/plugin-sdk/feishu.cjs +0 -1
- package/dist/plugin-sdk/feishu.js +0 -1
- package/dist/plugin-sdk/fetch-7Iq9POda.js +0 -1
- package/dist/plugin-sdk/fetch-B1GR6-u4.js +0 -1
- package/dist/plugin-sdk/fetch-B27H-XCf.js +0 -1
- package/dist/plugin-sdk/fetch-BMYDLRWo.js +0 -1
- package/dist/plugin-sdk/fetch-BN9y3kTg.cjs +0 -1
- package/dist/plugin-sdk/fetch-BVEVk5YF.js +0 -1
- package/dist/plugin-sdk/fetch-BY6lVRlY.cjs +0 -1
- package/dist/plugin-sdk/fetch-Bi8krAaT.cjs +0 -1
- package/dist/plugin-sdk/fetch-BjXhwqrE.cjs +0 -1
- package/dist/plugin-sdk/fetch-BtZY623f.js +0 -1
- package/dist/plugin-sdk/fetch-C-HRWp5R.js +0 -1
- package/dist/plugin-sdk/fetch-C3LEMysf.js +0 -1
- package/dist/plugin-sdk/fetch-CCLWsYaQ.js +0 -1
- package/dist/plugin-sdk/fetch-CZewCAvu.cjs +0 -1
- package/dist/plugin-sdk/fetch-ClKErpni.cjs +0 -1
- package/dist/plugin-sdk/fetch-DBRI0sKI.js +0 -1
- package/dist/plugin-sdk/fetch-DQxuOB8o.cjs +0 -1
- package/dist/plugin-sdk/fetch-DUMEaqum.cjs +0 -1
- package/dist/plugin-sdk/fetch-DpwR_cJU.cjs +0 -1
- package/dist/plugin-sdk/fetch-J0IzopiJ.js +0 -1
- package/dist/plugin-sdk/fetch-guard-7tObWdgY.cjs +0 -1
- package/dist/plugin-sdk/fetch-guard-ACKeLHgB.js +0 -1
- package/dist/plugin-sdk/fetch-guard-BI5z5sCg.cjs +0 -1
- package/dist/plugin-sdk/fetch-guard-BUOtcki7.cjs +0 -1
- package/dist/plugin-sdk/fetch-guard-BZi5e63X.js +0 -1
- package/dist/plugin-sdk/fetch-guard-CVnIQ0nI.cjs +0 -1
- package/dist/plugin-sdk/fetch-guard-DKS4LY4o.js +0 -1
- package/dist/plugin-sdk/fetch-guard-DcAQBHbg.cjs +0 -1
- package/dist/plugin-sdk/fetch-guard-Dj-DlPBS.cjs +0 -1
- package/dist/plugin-sdk/fetch-guard-Dm1nAvhl.js +0 -1
- package/dist/plugin-sdk/fetch-guard-GfhPo1Fa.js +0 -1
- package/dist/plugin-sdk/fetch-guard-nFWUH1s9.js +0 -1
- package/dist/plugin-sdk/fetch-lw-aF17e.cjs +0 -1
- package/dist/plugin-sdk/fetch-timeout-6oZsqWxA.js +0 -1
- package/dist/plugin-sdk/fetch-timeout-BygUD0rd.cjs +0 -1
- package/dist/plugin-sdk/fetch-timeout-CLw1U7VS.js +0 -1
- package/dist/plugin-sdk/fetch-timeout-CX1w-9p4.cjs +0 -1
- package/dist/plugin-sdk/fetch-timeout-Coc9xyC3.cjs +0 -1
- package/dist/plugin-sdk/fetch-timeout-Cz6GuU_c.js +0 -1
- package/dist/plugin-sdk/fetch-timeout-DC8T2JCr.js +0 -1
- package/dist/plugin-sdk/fetch-timeout-DFDmks9T.cjs +0 -1
- package/dist/plugin-sdk/fetch-timeout-DkYpp08Q.js +0 -1
- package/dist/plugin-sdk/github-copilot-token-BHdMLLqf.cjs +0 -1
- package/dist/plugin-sdk/github-copilot-token-Bt4PduRB.js +0 -1
- package/dist/plugin-sdk/github-copilot-token-C1O2cBqk.cjs +0 -1
- package/dist/plugin-sdk/github-copilot-token-C1hiDugd.js +0 -1
- package/dist/plugin-sdk/github-copilot-token-C8j8_NjX.js +0 -1
- package/dist/plugin-sdk/github-copilot-token-CCrgp2py.cjs +0 -1
- package/dist/plugin-sdk/github-copilot-token-DoHgkI2r.cjs +0 -1
- package/dist/plugin-sdk/github-copilot-token-N8vnLZPw.js +0 -1
- package/dist/plugin-sdk/github-copilot-token-TMkfxxD2.cjs +0 -1
- package/dist/plugin-sdk/github-copilot-token-vKAKX6iE.js +0 -1
- package/dist/plugin-sdk/github-copilot-token-ylX_gawo.js +0 -1
- package/dist/plugin-sdk/github-copilot-token-zskwAEpd.cjs +0 -1
- package/dist/plugin-sdk/google-gemini-cli-auth.cjs +0 -1
- package/dist/plugin-sdk/google-gemini-cli-auth.js +0 -1
- package/dist/plugin-sdk/googlechat.cjs +0 -1
- package/dist/plugin-sdk/googlechat.js +0 -1
- package/dist/plugin-sdk/image-BLG2OrjE.cjs +0 -1
- package/dist/plugin-sdk/image-BPUmI-kx.cjs +0 -1
- package/dist/plugin-sdk/image-Bt_w0o87.js +0 -1
- package/dist/plugin-sdk/image-CMeyJO2-.js +0 -1
- package/dist/plugin-sdk/image-CMiT6Fvk.cjs +0 -1
- package/dist/plugin-sdk/image-CNMuTe0Z.js +0 -1
- package/dist/plugin-sdk/image-CO9zxV0G.js +0 -1
- package/dist/plugin-sdk/image-CjVyB61p.cjs +0 -1
- package/dist/plugin-sdk/image-CkWikcPf.cjs +0 -1
- package/dist/plugin-sdk/image-Dk2gzO1U.js +0 -1
- package/dist/plugin-sdk/image-Jmj-a1pv.js +0 -1
- package/dist/plugin-sdk/image-UKq4Bn2r.cjs +0 -1
- package/dist/plugin-sdk/imessage.cjs +0 -1
- package/dist/plugin-sdk/imessage.js +0 -1
- package/dist/plugin-sdk/index.cjs +0 -1
- package/dist/plugin-sdk/index.js +0 -1
- package/dist/plugin-sdk/ir-Bg_avpt0.cjs +0 -1
- package/dist/plugin-sdk/ir-BiiaNbB9.cjs +0 -1
- package/dist/plugin-sdk/ir-CYJPM1_I.cjs +0 -1
- package/dist/plugin-sdk/ir-Ca3EdqFl.js +0 -1
- package/dist/plugin-sdk/ir-Cl_S_VBR.cjs +0 -1
- package/dist/plugin-sdk/ir-Cq7b_9v8.cjs +0 -1
- package/dist/plugin-sdk/ir-DcWa7gsX.cjs +0 -1
- package/dist/plugin-sdk/ir-DdA08iXJ.js +0 -1
- package/dist/plugin-sdk/ir-DqBwrJJd.js +0 -1
- package/dist/plugin-sdk/ir-EUD0qDem.js +0 -1
- package/dist/plugin-sdk/ir-c1MS26Ci.js +0 -1
- package/dist/plugin-sdk/ir-vhCxHELh.js +0 -1
- package/dist/plugin-sdk/irc.cjs +0 -1
- package/dist/plugin-sdk/irc.js +0 -1
- package/dist/plugin-sdk/keyed-async-queue.cjs +0 -1
- package/dist/plugin-sdk/keyed-async-queue.js +0 -1
- package/dist/plugin-sdk/line.cjs +0 -1
- package/dist/plugin-sdk/line.js +0 -1
- package/dist/plugin-sdk/llm-task.cjs +0 -1
- package/dist/plugin-sdk/llm-task.js +0 -1
- package/dist/plugin-sdk/load-options-B9Ss5YOO.js +0 -1
- package/dist/plugin-sdk/load-options-BOfn6Zgo.cjs +0 -1
- package/dist/plugin-sdk/load-options-BXvm8HVv.js +0 -1
- package/dist/plugin-sdk/load-options-Bb7u8yZz.cjs +0 -1
- package/dist/plugin-sdk/load-options-BcSg1ODN.js +0 -1
- package/dist/plugin-sdk/load-options-NqnXJ-Nh.cjs +0 -1
- package/dist/plugin-sdk/lobster.cjs +0 -1
- package/dist/plugin-sdk/lobster.js +0 -1
- package/dist/plugin-sdk/local-roots-2OcKjfzk.js +0 -1
- package/dist/plugin-sdk/local-roots-ByrRvVBc.cjs +0 -1
- package/dist/plugin-sdk/local-roots-CXPxvx0J.js +0 -1
- package/dist/plugin-sdk/local-roots-CzbssMW1.cjs +0 -1
- package/dist/plugin-sdk/local-roots-DIijr8mK.cjs +0 -1
- package/dist/plugin-sdk/local-roots-DRv9Y_41.cjs +0 -1
- package/dist/plugin-sdk/local-roots-DTC7BJct.js +0 -1
- package/dist/plugin-sdk/local-roots-DU8RuiRi.js +0 -1
- package/dist/plugin-sdk/local-roots-DprQ5M3b.js +0 -1
- package/dist/plugin-sdk/local-roots-GqNj3vMl.cjs +0 -1
- package/dist/plugin-sdk/local-roots-I2icTm2P.cjs +0 -1
- package/dist/plugin-sdk/local-roots-qEhx-D42.js +0 -1
- package/dist/plugin-sdk/logger-6O6OsYBL.cjs +0 -1
- package/dist/plugin-sdk/logger-BlddiV_d.cjs +0 -1
- package/dist/plugin-sdk/logger-Bm93ZKOk.cjs +0 -1
- package/dist/plugin-sdk/logger-BtrWb0dj.js +0 -1
- package/dist/plugin-sdk/logger-C210xuWx.js +0 -1
- package/dist/plugin-sdk/logger-DJGHvDbX.js +0 -1
- package/dist/plugin-sdk/logger-DPlqYkRm.cjs +0 -1
- package/dist/plugin-sdk/logger-DUYnS-W3.cjs +0 -1
- package/dist/plugin-sdk/logger-DwWqfo66.js +0 -1
- package/dist/plugin-sdk/logger-vBDTZWl3.js +0 -1
- package/dist/plugin-sdk/login-0ui1gfZM.cjs +0 -1
- package/dist/plugin-sdk/login-B0lIdwss.cjs +0 -1
- package/dist/plugin-sdk/login-B43p990Y.cjs +0 -1
- package/dist/plugin-sdk/login-DHBcWg4R.cjs +0 -1
- package/dist/plugin-sdk/login-DUCNg4lV.js +0 -1
- package/dist/plugin-sdk/login-DqVo92p1.js +0 -1
- package/dist/plugin-sdk/login-Dt4KiLgP.js +0 -1
- package/dist/plugin-sdk/login-IVBk3GwG.cjs +0 -1
- package/dist/plugin-sdk/login-T6tSC1Xl.js +0 -1
- package/dist/plugin-sdk/login-XruRHZe5.js +0 -1
- package/dist/plugin-sdk/login-p9hWVYO6.cjs +0 -1
- package/dist/plugin-sdk/login-qr-B4wf-15u.js +0 -1
- package/dist/plugin-sdk/login-qr-BQMm3yV_.cjs +0 -1
- package/dist/plugin-sdk/login-qr-BreyhXFQ.cjs +0 -1
- package/dist/plugin-sdk/login-qr-C6RPK8ld.js +0 -1
- package/dist/plugin-sdk/login-qr-C6cQueYq.js +0 -1
- package/dist/plugin-sdk/login-qr-CxznBK7s.cjs +0 -1
- package/dist/plugin-sdk/login-qr-D0dmb3Gr.js +0 -1
- package/dist/plugin-sdk/login-qr-DWW1FC-n.cjs +0 -1
- package/dist/plugin-sdk/login-qr-DjC-P7Vy.cjs +0 -1
- package/dist/plugin-sdk/login-qr-KeBTY1Mb.js +0 -1
- package/dist/plugin-sdk/login-qr-gQsVZ8en.js +0 -1
- package/dist/plugin-sdk/login-qr-xkqmSKC8.cjs +0 -1
- package/dist/plugin-sdk/login-x9vN5UnR.js +0 -1
- package/dist/plugin-sdk/manager-B38IH03I.cjs +0 -1
- package/dist/plugin-sdk/manager-BZVFXygg.cjs +0 -1
- package/dist/plugin-sdk/manager-BuNveORY.cjs +0 -1
- package/dist/plugin-sdk/manager-C4FEmxjq.cjs +0 -1
- package/dist/plugin-sdk/manager-CHnzSMNG.js +0 -1
- package/dist/plugin-sdk/manager-CN4wiVFz.js +0 -1
- package/dist/plugin-sdk/manager-D9RwKYCX.js +0 -1
- package/dist/plugin-sdk/manager-DAmjm61U.cjs +0 -1
- package/dist/plugin-sdk/manager-DJSpJkev.js +0 -1
- package/dist/plugin-sdk/manager-EO7deQzm.js +0 -1
- package/dist/plugin-sdk/manager-vyHAgafh.cjs +0 -1
- package/dist/plugin-sdk/manager-zyDhj7B-.js +0 -1
- package/dist/plugin-sdk/matrix.cjs +0 -1
- package/dist/plugin-sdk/matrix.js +0 -1
- package/dist/plugin-sdk/mattermost.cjs +0 -1
- package/dist/plugin-sdk/mattermost.js +0 -1
- package/dist/plugin-sdk/memory-core.cjs +0 -1
- package/dist/plugin-sdk/memory-core.js +0 -1
- package/dist/plugin-sdk/minimax-portal-auth.cjs +0 -1
- package/dist/plugin-sdk/minimax-portal-auth.js +0 -1
- package/dist/plugin-sdk/model-auth-1RA9nkQH.js +0 -1
- package/dist/plugin-sdk/model-auth-Cgqd2_sP.cjs +0 -1
- package/dist/plugin-sdk/model-auth-Cp2GSJwZ.js +0 -1
- package/dist/plugin-sdk/model-auth-Lv74A-Si.cjs +0 -1
- package/dist/plugin-sdk/model-auth-RI6NYvTO.js +0 -1
- package/dist/plugin-sdk/model-auth-exDkzEDR.js +0 -1
- package/dist/plugin-sdk/model-auth-igOM3blS.cjs +0 -1
- package/dist/plugin-sdk/model-auth-sjKLUCCz.cjs +0 -1
- package/dist/plugin-sdk/model-selection-C9HlFaXF.js +0 -1
- package/dist/plugin-sdk/model-selection-DpGE9eNM.cjs +0 -1
- package/dist/plugin-sdk/msteams.cjs +0 -1
- package/dist/plugin-sdk/msteams.js +0 -1
- package/dist/plugin-sdk/nextcloud-talk.cjs +0 -1
- package/dist/plugin-sdk/nextcloud-talk.js +0 -1
- package/dist/plugin-sdk/nostr.cjs +0 -1
- package/dist/plugin-sdk/nostr.js +0 -1
- package/dist/plugin-sdk/outbound-BO0tyeUH.js +0 -1
- package/dist/plugin-sdk/outbound-BYU5HTrX.js +0 -1
- package/dist/plugin-sdk/outbound-CBVlxGRf.cjs +0 -1
- package/dist/plugin-sdk/outbound-CTyu_gZh.js +0 -1
- package/dist/plugin-sdk/outbound-CwWXHNwp.cjs +0 -1
- package/dist/plugin-sdk/outbound-CySyQcmE.js +0 -1
- package/dist/plugin-sdk/outbound-DDPxEpHH.cjs +0 -1
- package/dist/plugin-sdk/outbound-DZhl7sHt.cjs +0 -1
- package/dist/plugin-sdk/outbound-DmeUAXdA.js +0 -1
- package/dist/plugin-sdk/outbound-DvFQ_6wQ.cjs +0 -1
- package/dist/plugin-sdk/outbound-Dy87UlCV.cjs +0 -1
- package/dist/plugin-sdk/outbound-attachment-5H1iYkTb.js +0 -1
- package/dist/plugin-sdk/outbound-attachment-BAHrn3r7.cjs +0 -1
- package/dist/plugin-sdk/outbound-attachment-BBJPbiLF.cjs +0 -1
- package/dist/plugin-sdk/outbound-attachment-BIGvZREF.cjs +0 -1
- package/dist/plugin-sdk/outbound-attachment-B_OTB3A8.js +0 -1
- package/dist/plugin-sdk/outbound-attachment-C94-r948.js +0 -1
- package/dist/plugin-sdk/outbound-attachment-CJatgPbm.js +0 -1
- package/dist/plugin-sdk/outbound-attachment-CLUVyl5e.js +0 -1
- package/dist/plugin-sdk/outbound-attachment-CTR1-VEH.js +0 -1
- package/dist/plugin-sdk/outbound-attachment-CmQ0SNgK.cjs +0 -1
- package/dist/plugin-sdk/outbound-attachment-Dbja7LQF.cjs +0 -1
- package/dist/plugin-sdk/outbound-attachment-DwzJ2l3T.cjs +0 -1
- package/dist/plugin-sdk/outbound-xMr8Xsxe.js +0 -1
- package/dist/plugin-sdk/paths-BPlgbwrb.cjs +0 -1
- package/dist/plugin-sdk/paths-Bcdg3ma0.cjs +0 -1
- package/dist/plugin-sdk/paths-BpQOWYiT.js +0 -1
- package/dist/plugin-sdk/paths-BvlJvmRS.cjs +0 -1
- package/dist/plugin-sdk/paths-CIcxeNL-.cjs +0 -1
- package/dist/plugin-sdk/paths-CXgWvWAM.js +0 -1
- package/dist/plugin-sdk/paths-Chp3zwtq.cjs +0 -1
- package/dist/plugin-sdk/paths-CnHSNSeR.js +0 -1
- package/dist/plugin-sdk/paths-Cqca1YmF.cjs +0 -1
- package/dist/plugin-sdk/paths-CtrEseGU.js +0 -1
- package/dist/plugin-sdk/paths-D55o_j8-.js +0 -1
- package/dist/plugin-sdk/paths-D90l3h_o.cjs +0 -1
- package/dist/plugin-sdk/paths-DaRoqzBQ.js +0 -1
- package/dist/plugin-sdk/paths-Dd7r1qlB.cjs +0 -1
- package/dist/plugin-sdk/paths-DhSjTRMz.js +0 -1
- package/dist/plugin-sdk/paths-Do0djuaj.js +0 -1
- package/dist/plugin-sdk/paths-J4JUiRsa.js +0 -1
- package/dist/plugin-sdk/paths-cBAF6Bj0.js +0 -1
- package/dist/plugin-sdk/paths-piJASC5k.js +0 -1
- package/dist/plugin-sdk/paths-rO4ehkyU.js +0 -1
- package/dist/plugin-sdk/pi-model-discovery-5wc5qlmB.cjs +0 -1
- package/dist/plugin-sdk/pi-model-discovery-BQiHbl8F.js +0 -1
- package/dist/plugin-sdk/pi-model-discovery-BZZVGcJl.js +0 -1
- package/dist/plugin-sdk/pi-model-discovery-Ba70onAm.js +0 -1
- package/dist/plugin-sdk/pi-model-discovery-BfuqD_Rv.cjs +0 -1
- package/dist/plugin-sdk/pi-model-discovery-BsdlRK-w.js +0 -1
- package/dist/plugin-sdk/pi-model-discovery-CAYSx-Lw.cjs +0 -1
- package/dist/plugin-sdk/pi-model-discovery-CyBFRafV.cjs +0 -1
- package/dist/plugin-sdk/pi-model-discovery-D1WW5m-Q.js +0 -1
- package/dist/plugin-sdk/pi-model-discovery-DRYpUnOa.cjs +0 -1
- package/dist/plugin-sdk/pi-model-discovery-DUbDLlc7.cjs +0 -1
- package/dist/plugin-sdk/pi-model-discovery-DcUDwgMg.cjs +0 -1
- package/dist/plugin-sdk/pi-model-discovery-DrZsxLaJ.js +0 -1
- package/dist/plugin-sdk/pi-model-discovery-gaVoL7I2.js +0 -1
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-BWmteuHS.js +0 -1
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-BmznXclG.cjs +0 -1
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-BzTifHML.cjs +0 -1
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-CEPsGtJk.cjs +0 -1
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-CYleOK1-.cjs +0 -1
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-Ctbk1Pq8.js +0 -1
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-D-hwiLUl.js +0 -1
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-DDuUTLh8.js +0 -1
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-DLfogXKU.cjs +0 -1
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-Dd-VFim_.js +0 -1
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-Dvmcwf-j.cjs +0 -1
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-i-IGFbqI.js +0 -1
- package/dist/plugin-sdk/polls-BuaJuIpV.cjs +0 -1
- package/dist/plugin-sdk/polls-CBAGZuJ6.js +0 -1
- package/dist/plugin-sdk/polls-CSKMbBIS.js +0 -1
- package/dist/plugin-sdk/polls-D0wY0FvT.cjs +0 -1
- package/dist/plugin-sdk/polls-PGxiE05J.js +0 -1
- package/dist/plugin-sdk/polls-yWqSCEP0.cjs +0 -1
- package/dist/plugin-sdk/proxy-env-B765haXA.js +0 -1
- package/dist/plugin-sdk/proxy-env-Bcl14j2_.cjs +0 -1
- package/dist/plugin-sdk/proxy-env-BlrHtJWH.js +0 -1
- package/dist/plugin-sdk/proxy-env-D48qBPAr.cjs +0 -1
- package/dist/plugin-sdk/proxy-env-DGzNnnJh.js +0 -1
- package/dist/plugin-sdk/proxy-env-DQoJjkWE.cjs +0 -1
- package/dist/plugin-sdk/proxy-env-DWw9TnOj.cjs +0 -1
- package/dist/plugin-sdk/proxy-env-MEjSyzTr.js +0 -1
- package/dist/plugin-sdk/proxy-env-a590sPAz.cjs +0 -1
- package/dist/plugin-sdk/proxy-env-k93igu7v.cjs +0 -1
- package/dist/plugin-sdk/proxy-env-m9eG3uZN.js +0 -1
- package/dist/plugin-sdk/proxy-env-t6hcaFqC.js +0 -1
- package/dist/plugin-sdk/proxy-fetch-B9aXJVe-.js +0 -1
- package/dist/plugin-sdk/proxy-fetch-BaA3JYgW.cjs +0 -1
- package/dist/plugin-sdk/proxy-fetch-BwXFVsHE.cjs +0 -1
- package/dist/plugin-sdk/proxy-fetch-BzcKzknk.cjs +0 -1
- package/dist/plugin-sdk/proxy-fetch-CYVChsKE.js +0 -1
- package/dist/plugin-sdk/proxy-fetch-ClOb2LUH.js +0 -1
- package/dist/plugin-sdk/proxy-fetch-DH7VIiBH.cjs +0 -1
- package/dist/plugin-sdk/proxy-fetch-DPOhfrou.cjs +0 -1
- package/dist/plugin-sdk/proxy-fetch-DXt2R_Z5.js +0 -1
- package/dist/plugin-sdk/proxy-fetch-Del551nu.js +0 -1
- package/dist/plugin-sdk/proxy-fetch-YCVHz7Rl.js +0 -1
- package/dist/plugin-sdk/proxy-fetch-qbrYAz8k.cjs +0 -1
- package/dist/plugin-sdk/pw-ai-B9PkuA_R.cjs +0 -1
- package/dist/plugin-sdk/pw-ai-BMJV0Hqt.cjs +0 -1
- package/dist/plugin-sdk/pw-ai-BRasSDsB.js +0 -1
- package/dist/plugin-sdk/pw-ai-BY57aH_o.js +0 -1
- package/dist/plugin-sdk/pw-ai-BbpImC35.cjs +0 -1
- package/dist/plugin-sdk/pw-ai-D7d16RB-.cjs +0 -1
- package/dist/plugin-sdk/pw-ai-DF7TX5Lc.cjs +0 -1
- package/dist/plugin-sdk/pw-ai-DHN1pktj.js +0 -1
- package/dist/plugin-sdk/pw-ai-QzImh8G0.cjs +0 -1
- package/dist/plugin-sdk/pw-ai-V1CVJi48.js +0 -1
- package/dist/plugin-sdk/pw-ai-mvXkpTxf.js +0 -1
- package/dist/plugin-sdk/pw-ai-tdgA-KlG.js +0 -1
- package/dist/plugin-sdk/qmd-manager-B3xNbdye.cjs +0 -1
- package/dist/plugin-sdk/qmd-manager-BMyDNBPi.js +0 -1
- package/dist/plugin-sdk/qmd-manager-BZhiv_zq.cjs +0 -1
- package/dist/plugin-sdk/qmd-manager-C3uVDbhW.js +0 -1
- package/dist/plugin-sdk/qmd-manager-CW46NrS-.cjs +0 -1
- package/dist/plugin-sdk/qmd-manager-C_e04BNg.js +0 -1
- package/dist/plugin-sdk/qmd-manager-CczVoslK.cjs +0 -1
- package/dist/plugin-sdk/qmd-manager-CzLKqPmR.js +0 -1
- package/dist/plugin-sdk/qmd-manager-DFh8b5N-.cjs +0 -1
- package/dist/plugin-sdk/qmd-manager-DXLfZZMI.js +0 -1
- package/dist/plugin-sdk/qmd-manager-FL9fAfNo.cjs +0 -1
- package/dist/plugin-sdk/qmd-manager-fWxbGqzk.js +0 -1
- package/dist/plugin-sdk/query-expansion-0zYzKrrd.cjs +0 -1
- package/dist/plugin-sdk/query-expansion-BYSjmpkV.cjs +0 -1
- package/dist/plugin-sdk/query-expansion-CAboqtWr.js +0 -1
- package/dist/plugin-sdk/query-expansion-C_DnhmUy.js +0 -1
- package/dist/plugin-sdk/query-expansion-Cb2vnF6y.js +0 -1
- package/dist/plugin-sdk/query-expansion-DCeqywxh.cjs +0 -1
- package/dist/plugin-sdk/query-expansion-DF4LMxRQ.js +0 -1
- package/dist/plugin-sdk/query-expansion-DKJkqmNM.cjs +0 -1
- package/dist/plugin-sdk/query-expansion-DO2CFW4z.cjs +0 -1
- package/dist/plugin-sdk/query-expansion-DyCDaZbL.js +0 -1
- package/dist/plugin-sdk/query-expansion-cpXCyoDy.cjs +0 -1
- package/dist/plugin-sdk/query-expansion-r_iXkNzt.js +0 -1
- package/dist/plugin-sdk/qwen-portal-auth.cjs +0 -1
- package/dist/plugin-sdk/qwen-portal-auth.js +0 -1
- package/dist/plugin-sdk/render-6fCdtAr6.cjs +0 -1
- package/dist/plugin-sdk/render-CBsnn-2A.js +0 -1
- package/dist/plugin-sdk/render-CzHaQB0d.cjs +0 -1
- package/dist/plugin-sdk/render-DGmfCIRG.js +0 -1
- package/dist/plugin-sdk/render-DhTJXP1U.js +0 -1
- package/dist/plugin-sdk/render-Djx15dPh.js +0 -1
- package/dist/plugin-sdk/render-DxBO2Blp.cjs +0 -1
- package/dist/plugin-sdk/render-g5VlmgpF.cjs +0 -1
- package/dist/plugin-sdk/reply-73PF8kN_.js +0 -1
- package/dist/plugin-sdk/reply-JD6VIW5N.cjs +0 -1
- package/dist/plugin-sdk/resolve-outbound-target-BNv_T3Bk.js +0 -1
- package/dist/plugin-sdk/resolve-outbound-target-CDM7_xfU.cjs +0 -1
- package/dist/plugin-sdk/resolve-outbound-target-CvKfootv.js +0 -1
- package/dist/plugin-sdk/resolve-outbound-target-Fq8une1d.cjs +0 -1
- package/dist/plugin-sdk/send-0TzQg7Eo.js +0 -1
- package/dist/plugin-sdk/send-AyV5r86J.js +0 -1
- package/dist/plugin-sdk/send-B-GqqrNy.js +0 -1
- package/dist/plugin-sdk/send-B03So6fs.cjs +0 -1
- package/dist/plugin-sdk/send-B0oV0qgS.js +0 -1
- package/dist/plugin-sdk/send-B31Tjl_I.cjs +0 -1
- package/dist/plugin-sdk/send-B4LTVhTd.cjs +0 -1
- package/dist/plugin-sdk/send-BGXPpAqy.cjs +0 -1
- package/dist/plugin-sdk/send-BJ957TYU.js +0 -1
- package/dist/plugin-sdk/send-BJmf3HVn.cjs +0 -1
- package/dist/plugin-sdk/send-BW3UECzm.js +0 -1
- package/dist/plugin-sdk/send-BWEZ_8nL.cjs +0 -1
- package/dist/plugin-sdk/send-BXrh73qh.cjs +0 -1
- package/dist/plugin-sdk/send-BbudHjUi.cjs +0 -1
- package/dist/plugin-sdk/send-BkjnUdWv.cjs +0 -1
- package/dist/plugin-sdk/send-BxIt-s7G.cjs +0 -1
- package/dist/plugin-sdk/send-ByKNfU2S.js +0 -1
- package/dist/plugin-sdk/send-Bz2Loz_Q.cjs +0 -1
- package/dist/plugin-sdk/send-CAreQYLU.cjs +0 -1
- package/dist/plugin-sdk/send-CGMqeSaY.cjs +0 -1
- package/dist/plugin-sdk/send-CJmor6eC.js +0 -1
- package/dist/plugin-sdk/send-CL2pl8br.cjs +0 -1
- package/dist/plugin-sdk/send-CMeGMLko.js +0 -1
- package/dist/plugin-sdk/send-CceHBxiK.js +0 -1
- package/dist/plugin-sdk/send-Cdx_KGYb.js +0 -1
- package/dist/plugin-sdk/send-Cer1bA2g.cjs +0 -1
- package/dist/plugin-sdk/send-CimU95QQ.cjs +0 -1
- package/dist/plugin-sdk/send-CoEAieJt.cjs +0 -1
- package/dist/plugin-sdk/send-Cob_bnT32.js +0 -1
- package/dist/plugin-sdk/send-Cyp5hOpt.js +0 -1
- package/dist/plugin-sdk/send-CzEFjTpi.js +0 -1
- package/dist/plugin-sdk/send-D2LjU2py.js +0 -1
- package/dist/plugin-sdk/send-D9Gbseeh.cjs +0 -1
- package/dist/plugin-sdk/send-DIjQ2vB4.js +0 -1
- package/dist/plugin-sdk/send-DJ419AIX.cjs +0 -1
- package/dist/plugin-sdk/send-DLtYxO1e.cjs +0 -1
- package/dist/plugin-sdk/send-DMk529J8.js +0 -1
- package/dist/plugin-sdk/send-DMxohaL_.cjs +0 -1
- package/dist/plugin-sdk/send-DQlKz6Bj.js +0 -1
- package/dist/plugin-sdk/send-DTUW-YBy.js +0 -1
- package/dist/plugin-sdk/send-Dc43nN-I.js +0 -1
- package/dist/plugin-sdk/send-DcRj8DUU.cjs +0 -1
- package/dist/plugin-sdk/send-DmxxJFZd.cjs +0 -1
- package/dist/plugin-sdk/send-DnwN1vBU.cjs +0 -1
- package/dist/plugin-sdk/send-DogBiU4n.cjs +0 -1
- package/dist/plugin-sdk/send-MEvv6c7w.js +0 -1
- package/dist/plugin-sdk/send-TRwokuAm.cjs +0 -1
- package/dist/plugin-sdk/send-VUSa_wkg.js +0 -1
- package/dist/plugin-sdk/send-X1b7Cj9U.cjs +0 -1
- package/dist/plugin-sdk/send-XX5rP5bI.js +0 -1
- package/dist/plugin-sdk/send-_ZGBA2sz.js +0 -1
- package/dist/plugin-sdk/send-d5RoIkxA.js +0 -1
- package/dist/plugin-sdk/send-dCbQnCLx.js +0 -1
- package/dist/plugin-sdk/send-gSV6SR6F.cjs +0 -1
- package/dist/plugin-sdk/send-pC6ctwfQ.cjs +0 -1
- package/dist/plugin-sdk/send-pq2hNOwv.cjs +0 -1
- package/dist/plugin-sdk/send-q6C-1cdJ.js +0 -1
- package/dist/plugin-sdk/send-vnIJSD5l.js +0 -1
- package/dist/plugin-sdk/send-vtYROJNd.js +0 -1
- package/dist/plugin-sdk/send-wk_Y38Eq.js +0 -1
- package/dist/plugin-sdk/session-BSLJWzVk.cjs +0 -1
- package/dist/plugin-sdk/session-BfWC0c92.js +0 -1
- package/dist/plugin-sdk/session-BjsaXe-G.js +0 -1
- package/dist/plugin-sdk/session-C20nSfk5.cjs +0 -1
- package/dist/plugin-sdk/session-CR8fsPgs.js +0 -1
- package/dist/plugin-sdk/session-CwinrWG4.cjs +0 -1
- package/dist/plugin-sdk/session-DAtRSLdw.cjs +0 -1
- package/dist/plugin-sdk/session-Djo63EGV.cjs +0 -1
- package/dist/plugin-sdk/session-EJZkCm6l.js +0 -1
- package/dist/plugin-sdk/session-UIRgeq02.cjs +0 -1
- package/dist/plugin-sdk/session-aOZKTEyZ.js +0 -1
- package/dist/plugin-sdk/session-nUw21fi0.js +0 -1
- package/dist/plugin-sdk/sessions-B06a3AKE.js +0 -1
- package/dist/plugin-sdk/sessions-BmhjMXlm.cjs +0 -1
- package/dist/plugin-sdk/signal.cjs +0 -1
- package/dist/plugin-sdk/signal.js +0 -1
- package/dist/plugin-sdk/skill-commands-2LXH0aZR.cjs +0 -1
- package/dist/plugin-sdk/skill-commands-B4AbCkKe.cjs +0 -1
- package/dist/plugin-sdk/skill-commands-B_xNpuH_.cjs +0 -1
- package/dist/plugin-sdk/skill-commands-BbAfKA1R.js +0 -1
- package/dist/plugin-sdk/skill-commands-BcKIgHAP.cjs +0 -1
- package/dist/plugin-sdk/skill-commands-C9g2UiKr.cjs +0 -1
- package/dist/plugin-sdk/skill-commands-CPZ9Jvbj.js +0 -1
- package/dist/plugin-sdk/skill-commands-CgDUjb3J.js +0 -1
- package/dist/plugin-sdk/skill-commands-D83BLBEG.js +0 -1
- package/dist/plugin-sdk/skill-commands-DI1TMUxQ.js +0 -1
- package/dist/plugin-sdk/skill-commands-DldIiKD1.js +0 -1
- package/dist/plugin-sdk/skill-commands-LCW6nWWC.cjs +0 -1
- package/dist/plugin-sdk/slack.cjs +0 -1
- package/dist/plugin-sdk/slack.js +0 -1
- package/dist/plugin-sdk/synology-chat.cjs +0 -1
- package/dist/plugin-sdk/synology-chat.js +0 -1
- package/dist/plugin-sdk/tables-BXY1ms0X.js +0 -1
- package/dist/plugin-sdk/tables-BlhpY72l.cjs +0 -1
- package/dist/plugin-sdk/tables-BltHUi44.cjs +0 -1
- package/dist/plugin-sdk/tables-Bp6t_Jkb.js +0 -1
- package/dist/plugin-sdk/tables-BszYJkqX.cjs +0 -1
- package/dist/plugin-sdk/tables-CAZJt5bp.js +0 -1
- package/dist/plugin-sdk/tables-CcuiVH-P.cjs +0 -1
- package/dist/plugin-sdk/tables-CuSMtUxt.cjs +0 -1
- package/dist/plugin-sdk/tables-DOLEnfD6.js +0 -1
- package/dist/plugin-sdk/tables-DiiF7bbj.cjs +0 -1
- package/dist/plugin-sdk/tables-aSJP6Sef.js +0 -1
- package/dist/plugin-sdk/tables-ib4GZqYB.js +0 -1
- package/dist/plugin-sdk/target-errors--anbEDnm.js +0 -1
- package/dist/plugin-sdk/target-errors-4q9SUsM_.js +0 -1
- package/dist/plugin-sdk/target-errors-BFOTHcjO.js +0 -1
- package/dist/plugin-sdk/target-errors-Bw4tI2Lc.cjs +0 -1
- package/dist/plugin-sdk/target-errors-CAgwWHUv.js +0 -1
- package/dist/plugin-sdk/target-errors-CUDKM0z-.js +0 -1
- package/dist/plugin-sdk/target-errors-DIOJ6Eun.cjs +0 -1
- package/dist/plugin-sdk/target-errors-DnZq9h4B.cjs +0 -1
- package/dist/plugin-sdk/target-errors-DwAKh8KU.cjs +0 -1
- package/dist/plugin-sdk/target-errors-QGzfLvuU.cjs +0 -1
- package/dist/plugin-sdk/targets-BSc11Uk8.cjs +0 -1
- package/dist/plugin-sdk/targets-BSkiizml.js +0 -1
- package/dist/plugin-sdk/targets-CBI0xqve.cjs +0 -1
- package/dist/plugin-sdk/targets-CL5fYQi7.js +0 -1
- package/dist/plugin-sdk/targets-CUZWrFrm.cjs +0 -1
- package/dist/plugin-sdk/targets-CVEYTFPQ.js +0 -1
- package/dist/plugin-sdk/targets-Co2R6K14.cjs +0 -1
- package/dist/plugin-sdk/targets-CrkJkzil.js +0 -1
- package/dist/plugin-sdk/targets-D-m7SV9x.cjs +0 -1
- package/dist/plugin-sdk/targets-D8HTxbo4.js +0 -1
- package/dist/plugin-sdk/targets-DcGNB9nk.cjs +0 -1
- package/dist/plugin-sdk/targets-Dn9gDiEw.js +0 -1
- package/dist/plugin-sdk/targets-X28mff4s.cjs +0 -1
- package/dist/plugin-sdk/targets-uycXZ8vQ.js +0 -1
- package/dist/plugin-sdk/telegram.cjs +0 -1
- package/dist/plugin-sdk/telegram.js +0 -1
- package/dist/plugin-sdk/test-utils.cjs +0 -1
- package/dist/plugin-sdk/test-utils.js +0 -1
- package/dist/plugin-sdk/tlon.cjs +0 -1
- package/dist/plugin-sdk/tlon.js +0 -1
- package/dist/plugin-sdk/tokens-AAdZjj0M.js +0 -1
- package/dist/plugin-sdk/tokens-B20KNIDD.js +0 -1
- package/dist/plugin-sdk/tokens-B8ys7Q2e.js +0 -1
- package/dist/plugin-sdk/tokens-BPc1fcZ3.js +0 -1
- package/dist/plugin-sdk/tokens-BqABmXSe.js +0 -1
- package/dist/plugin-sdk/tokens-CXsPDJTr.cjs +0 -1
- package/dist/plugin-sdk/tokens-CnB4dJmp.cjs +0 -1
- package/dist/plugin-sdk/tokens-CytSl1X8.cjs +0 -1
- package/dist/plugin-sdk/tokens-DgPZk2Uu.js +0 -1
- package/dist/plugin-sdk/tokens-Dq2wDF3_.cjs +0 -1
- package/dist/plugin-sdk/tokens-DtrljGtQ.cjs +0 -1
- package/dist/plugin-sdk/tokens-g5KWvWhD.cjs +0 -1
- package/dist/plugin-sdk/twitch.cjs +0 -1
- package/dist/plugin-sdk/twitch.js +0 -1
- package/dist/plugin-sdk/utils-BJtJR72k.js +0 -1
- package/dist/plugin-sdk/utils-PPIvU9qw.cjs +0 -1
- package/dist/plugin-sdk/voice-call.cjs +0 -1
- package/dist/plugin-sdk/voice-call.js +0 -1
- package/dist/plugin-sdk/web--8MBOleK.js +0 -1
- package/dist/plugin-sdk/web-B7d3p3kx.cjs +0 -1
- package/dist/plugin-sdk/web-BEuW8Yqw.js +0 -1
- package/dist/plugin-sdk/web-Bg2LIMdb.cjs +0 -1
- package/dist/plugin-sdk/web-DFDao2So.cjs +0 -1
- package/dist/plugin-sdk/web-DjbeDvyv.js +0 -1
- package/dist/plugin-sdk/web-JciOW43P.js +0 -1
- package/dist/plugin-sdk/web-vSFigMHz.cjs +0 -1
- package/dist/plugin-sdk/weixin.cjs +0 -1
- package/dist/plugin-sdk/weixin.js +0 -1
- package/dist/plugin-sdk/whatsapp-actions-B67oFfeq.js +0 -1
- package/dist/plugin-sdk/whatsapp-actions-BB0eACkf.cjs +0 -1
- package/dist/plugin-sdk/whatsapp-actions-BIgrB0j5.cjs +0 -1
- package/dist/plugin-sdk/whatsapp-actions-CFve14ju.cjs +0 -1
- package/dist/plugin-sdk/whatsapp-actions-CdRkPw-b.js +0 -1
- package/dist/plugin-sdk/whatsapp-actions-CtIBOGpJ.cjs +0 -1
- package/dist/plugin-sdk/whatsapp-actions-CwAU7FuE.js +0 -1
- package/dist/plugin-sdk/whatsapp-actions-DQ1t5QTc.cjs +0 -1
- package/dist/plugin-sdk/whatsapp-actions-DkrN4BcG.js +0 -1
- package/dist/plugin-sdk/whatsapp-actions-DnkKzVrU.js +0 -1
- package/dist/plugin-sdk/whatsapp-actions-YcBsDZ88.js +0 -1
- package/dist/plugin-sdk/whatsapp-actions-wk1U2IVU.cjs +0 -1
- package/dist/plugin-sdk/whatsapp.cjs +0 -1
- package/dist/plugin-sdk/whatsapp.js +0 -1
- package/dist/plugin-sdk/zalo.cjs +0 -1
- package/dist/plugin-sdk/zalo.js +0 -1
- package/dist/plugin-sdk/zalouser.cjs +0 -1
- package/dist/plugin-sdk/zalouser.js +0 -1
- package/dist/plugins-CYLrFT4h.js +0 -1
- package/dist/plugins-DNlgeTTc.js +0 -1
- package/dist/plugins-cli-CnXgwZzI.js +0 -1
- package/dist/plugins-cli-PVHBZeb8.js +0 -1
- package/dist/polls-BIVz6a4F.js +0 -1
- package/dist/polls-Bh5wc9-6.js +0 -1
- package/dist/polls-C_XSFz3d.js +0 -1
- package/dist/polls-DKJOFSzJ.js +0 -1
- package/dist/ports-BAaLOkJp.js +2 -0
- package/dist/ports-DDWP1p0X.js +2 -0
- package/dist/probe-auth-C5nWfMS9.js +0 -1
- package/dist/probe-auth-x4OHS_wa.js +0 -1
- package/dist/profile-utils-CWmra1aY.js +0 -1
- package/dist/{program-ppBAyCNf.js → program-D53eGuSf.js} +1 -2
- package/dist/program-context-CH9p6anW.js +0 -1
- package/dist/{program-context-BXNpM3b4.js → program-context-n-ovYq69.js} +1 -2
- package/dist/progress-LNttnI-y.js +0 -1
- package/dist/progress-d1m2sqR1.js +0 -1
- package/dist/{prompt-select-styled-947JghKF.js → prompt-select-styled-DZnefcrY.js} +1 -2
- package/dist/{prompt-select-styled-1abs2MvK.js → prompt-select-styled-DolCW-_j.js} +1 -2
- package/dist/prompt-style-BThRSQJR.js +0 -1
- package/dist/prompt-style-CXKekIBY.js +0 -1
- package/dist/prompts-CMzglboN.js +0 -1
- package/dist/prompts-wv-lfVrJ.js +0 -1
- package/dist/provider-auth-helpers-BLm2bdp5.js +0 -1
- package/dist/provider-auth-helpers-DPz0vN_c.js +0 -1
- package/dist/provider-env-vars-D8p6Ohpj.js +0 -1
- package/dist/provider-env-vars-Dt0Q29Su.js +0 -1
- package/dist/proxy-env-BNhTHkd_.js +0 -1
- package/dist/proxy-env-DcmW_urA.js +0 -1
- package/dist/proxy-env-DrC3TIGh.js +0 -1
- package/dist/proxy-env-FJr5nlvs.js +0 -1
- package/dist/proxy-fetch-BADsUK4d.js +0 -1
- package/dist/proxy-fetch-BZ9O8Dvj.js +0 -1
- package/dist/proxy-fetch-DnjU1fEB.js +0 -1
- package/dist/proxy-fetch-gWETR3cl.js +0 -1
- package/dist/push-apns-BBv62ncV.js +0 -1
- package/dist/push-apns-DIV5dBPP.js +0 -1
- package/dist/pw-ai-C0gM3d-6.js +0 -1
- package/dist/pw-ai-CQd14BQa.js +0 -1
- package/dist/pw-ai-DiQuOf4W.js +0 -1
- package/dist/pw-ai-jlhIn-aA.js +0 -1
- package/dist/qmd-manager-C_e04BNg.js +0 -1
- package/dist/qmd-manager-DSQ_mDCl.js +0 -1
- package/dist/qmd-manager-DcBYbt_V.js +0 -1
- package/dist/qmd-manager-NLI0R6kp.js +0 -1
- package/dist/qr-cli-D06YZurm.js +0 -1
- package/dist/qr-cli-ZtDsXyLO.js +0 -1
- package/dist/query-expansion-0OxEb1Io.js +0 -1
- package/dist/query-expansion-BUUx_oWg.js +0 -1
- package/dist/query-expansion-r_iXkNzt.js +0 -1
- package/dist/reaction-level-DVPHL14p.js +0 -1
- package/dist/reaction-message-id-BEEe7X3D.js +0 -1
- package/dist/read-only-account-inspect-B0cm8yrv.js +0 -1
- package/dist/redact-3_CiXMY6.js +0 -1
- package/dist/redact-CnRxK70G.js +0 -1
- package/dist/register.agent-DHOTtB8X.js +0 -1
- package/dist/register.agent-DQdoMfmw.js +0 -1
- package/dist/register.backup-BDO3V0so.js +0 -1
- package/dist/register.backup-Vh8RK6fp.js +0 -1
- package/dist/register.configure-C2N82brC.js +0 -1
- package/dist/register.configure-C6zjzaEo.js +0 -1
- package/dist/{register.maintenance-Br9uoFKo.js → register.maintenance-CStaPxaB.js} +1 -2
- package/dist/{register.maintenance-Cm3wq9bt.js → register.maintenance-aKBTd9Zp.js} +1 -2
- package/dist/register.message-DHDcOA8X.js +0 -1
- package/dist/register.message-Dh72QHKA.js +0 -1
- package/dist/{register.onboard-AjrSlfCb.js → register.onboard-Bu9gpFlA.js} +1 -2
- package/dist/{register.onboard-zCG1PNWc.js → register.onboard-DB9FWAKT.js} +1 -2
- package/dist/{register.setup-DN0y_pth.js → register.setup-CeG2ETmr.js} +1 -2
- package/dist/{register.setup-Blyl_QsK.js → register.setup-D76IRs4s.js} +1 -2
- package/dist/register.status-health-sessions-Dtpd1P2M.js +0 -1
- package/dist/register.status-health-sessions-mPGKFjIz.js +0 -1
- package/dist/{register.subclis-5Pb-uEHk.js → register.subclis-Drp2dGBe.js} +1 -2
- package/dist/registry-BptzrW8D.js +0 -1
- package/dist/registry-hFAtCSWG.js +0 -1
- package/dist/render-BXEUPIHe.js +0 -1
- package/dist/render-CBsnn-2A.js +0 -1
- package/dist/render-D8OWO2hT.js +0 -1
- package/dist/render-DrrPmnMI.js +0 -1
- package/dist/reply-DwfVhea1.js +0 -1
- package/dist/restart-BeJuoXCx.js +0 -1
- package/dist/rpc-BBdeIvn0.js +0 -1
- package/dist/rpc-f85A4Ib_.js +0 -1
- package/dist/{run-main-DGwq5DIc.js → run-main-CjwjyWA6.js} +1 -2
- package/dist/runtime-CK7gqwEF.js +0 -1
- package/dist/runtime-DYttInEE.js +0 -1
- package/dist/runtime-guard-DFYBaYZS.js +0 -1
- package/dist/runtime-guard-DX2Ie4ri.js +0 -1
- package/dist/runtime-status-CqFBmdRd.js +0 -1
- package/dist/runtime-status-DszMjvJK.js +0 -1
- package/dist/runtime-web-tools-BYhCkBV8.js +0 -1
- package/dist/runtime-web-tools-C4F6aaRh.js +0 -1
- package/dist/sandbox-cli-BR0Lsru-.js +0 -1
- package/dist/sandbox-cli-Jo5nYeug.js +0 -1
- package/dist/scan-paths-C13EseXp.js +0 -1
- package/dist/scan-paths-CWtvWW40.js +0 -1
- package/dist/search-manager-CV2YsAym.js +0 -1
- package/dist/secret-file-C7JffiM_.js +0 -1
- package/dist/secret-file-D60EFEOe.js +0 -1
- package/dist/secret-file-DuWm26jS.js +0 -1
- package/dist/secrets-cli-B8kwyZFo.js +0 -1
- package/dist/secrets-cli-BstBe0UA.js +0 -1
- package/dist/secure-random-D7JQgiK-.js +0 -1
- package/dist/security-cli-C6t8OxaE.js +0 -1
- package/dist/security-cli-Cuc8IQKB.js +0 -1
- package/dist/send--9G8eXo4.js +0 -1
- package/dist/send-4h1tQwX3.js +0 -1
- package/dist/send-7qgAI0ap.js +0 -1
- package/dist/send-AQ3CJLpI.js +0 -1
- package/dist/send-BjrfjBn9.js +0 -1
- package/dist/send-BwblpWbK.js +0 -1
- package/dist/send-C4Lm4nmt.js +0 -1
- package/dist/send-C7rOdjPO.js +0 -1
- package/dist/send-COpehmAB.js +0 -1
- package/dist/send-CWVTcDAW.js +0 -1
- package/dist/send-CciNyaWL.js +0 -1
- package/dist/send-ChILboDj.js +0 -1
- package/dist/send-CyarIb2w.js +0 -1
- package/dist/send-DiHS8tKf.js +0 -1
- package/dist/send-Dj7NBAWg.js +0 -1
- package/dist/send-DmHpf5Fz.js +0 -1
- package/dist/send-NbU9-scF2.js +0 -1
- package/dist/send-hlES-kRl2.js +0 -1
- package/dist/send-swTiQAeK2.js +0 -1
- package/dist/send-vNcod64S.js +0 -1
- package/dist/server-C-lb98FO.js +0 -1
- package/dist/server-DwSkpKgC.js +0 -1
- package/dist/server-node-events-CL0pWoMa.js +0 -1
- package/dist/server-node-events-ChPQ984b.js +0 -1
- package/dist/service-BtB9epJk.js +0 -1
- package/dist/service-DZ9EbS15.js +0 -1
- package/dist/session-BSRnpwSq.js +0 -1
- package/dist/session-CfHCnrXh.js +0 -1
- package/dist/session-JqCxWBM8.js +0 -1
- package/dist/session-bk3gFwO4.js +0 -1
- package/dist/session-cost-usage-BgqKixv0.js +0 -1
- package/dist/session-cost-usage-CHtVgnE8.js +0 -1
- package/dist/session-key-C7F_iqYg.js +0 -1
- package/dist/session-key-D3P0tf5P.js +0 -1
- package/dist/session-utils-Bpdyx2A2.js +0 -1
- package/dist/sessions-Ca6ozRCQ.js +0 -1
- package/dist/shared-9x5sqYRb.js +0 -1
- package/dist/shared-BKWhOp64.js +0 -1
- package/dist/shared-Ca5BFwta.js +0 -1
- package/dist/skill-commands-CPZcaV8-.js +0 -1
- package/dist/skill-commands-CtprBvm0.js +0 -1
- package/dist/skill-commands-DCqPy_Aa.js +0 -1
- package/dist/skill-commands-DlHVddAk.js +0 -1
- package/dist/skill-scanner-CUUF3Fvo.js +0 -1
- package/dist/skill-scanner-CkxXNioD.js +0 -1
- package/dist/skills-Bz_S4lPh.js +0 -1
- package/dist/skills-CzUpDbU-.js +0 -1
- package/dist/skills-cli-DK0QDfln.js +0 -1
- package/dist/skills-cli-DLmqhAB-.js +0 -1
- package/dist/skills-install-D3YB2C-S.js +0 -1
- package/dist/skills-install-cEcqzaX8.js +0 -1
- package/dist/skills-status-D4Y1BJYL.js +0 -1
- package/dist/skills-status-DpSboPY1.js +0 -1
- package/dist/sqlite-CILF3z9U.js +0 -1
- package/dist/stagger-DmFYysrJ.js +0 -1
- package/dist/stagger-DxzgG2jd.js +0 -1
- package/dist/status-BAat65xo.js +0 -1
- package/dist/status-BSHWBrg0.js +0 -1
- package/dist/status-o3Gfr-6l.js +0 -1
- package/dist/status-w4NsjW2R.js +0 -1
- package/dist/status.update-B_8Gumuc.js +0 -1
- package/dist/status.update-_2r0S6Re.js +0 -1
- package/dist/string-normalization-BrUPaXaM.js +0 -1
- package/dist/string-normalization-DJT5zuUF.js +0 -1
- package/dist/subsystem-BLbY429l.js +0 -1
- package/dist/subsystem-Bc2XrjUz.js +0 -1
- package/dist/subsystem-C5XF2Fy5.js +0 -1
- package/dist/system-cli-Ddixb0SQ.js +0 -1
- package/dist/system-cli-NAH97F2s.js +0 -1
- package/dist/system-run-command-DsWBVvSK.js +0 -1
- package/dist/system-run-command-E8ymBXHh.js +0 -1
- package/dist/systemd-D7odsu4K.js +0 -1
- package/dist/systemd-DbevZh65.js +0 -1
- package/dist/systemd-hints-CEQj6yrs.js +0 -1
- package/dist/systemd-hints-lXpMy-kY.js +0 -1
- package/dist/systemd-linger-C2MJD6KG.js +0 -1
- package/dist/systemd-linger-cWKbFNpu.js +0 -1
- package/dist/table-CR7TFMew.js +0 -1
- package/dist/table-CY440fI1.js +0 -1
- package/dist/tables-D6J-isob.js +0 -1
- package/dist/tables-DENKrP-W.js +0 -1
- package/dist/tables-_t5V36m9.js +0 -1
- package/dist/tables-fl9iXahm.js +0 -1
- package/dist/target-errors-CoEHv_2r.js +0 -1
- package/dist/target-errors-D6wejRd6.js +0 -1
- package/dist/target-errors-Dnkqss9y.js +0 -1
- package/dist/target-errors-sMFXKeAY.js +0 -1
- package/dist/targets-4EaxWBal.js +0 -1
- package/dist/targets-BJTo7bqu.js +0 -1
- package/dist/targets-BYVMrXDf.js +0 -1
- package/dist/targets-Bq6rS6-Z.js +0 -1
- package/dist/targets-CL5fYQi7.js +0 -1
- package/dist/targets-fozeWOOg.js +0 -1
- package/dist/targets-m_41k_Mv.js +0 -1
- package/dist/telegram/audit.js +0 -1
- package/dist/text-format-CvrvBBre.js +0 -1
- package/dist/text-format-DEWK6oCT.js +0 -1
- package/dist/token-DnTmiyJu.js +0 -1
- package/dist/tokens-B2fq-rL6.js +0 -1
- package/dist/tokens-CL2fSjGl.js +0 -1
- package/dist/tokens-DRM8vzJx.js +0 -1
- package/dist/tokens-XGbQGn67.js +0 -1
- package/dist/tool-display-DJDtttQg.js +0 -1
- package/dist/tool-display-DjuSUUbH.js +0 -1
- package/dist/tui-5Znjl2Rb.js +0 -1
- package/dist/tui-Tlww_AcE.js +0 -1
- package/dist/tui-cli-C9QPsw50.js +0 -1
- package/dist/tui-cli-FxvETbln.js +0 -1
- package/dist/types.secrets-C-5U96pc.js +0 -1
- package/dist/types.secrets-D4tbc3Wq.js +0 -1
- package/dist/update-CMneH_48.js +0 -1
- package/dist/update-D9EwPybG.js +0 -1
- package/dist/{update-cli-BQGwMpHe.js → update-cli-CL_cUjuq.js} +1 -2
- package/dist/{update-cli-C7pZTXS8.js → update-cli-DU5tRH3c.js} +1 -2
- package/dist/update-runner-DABdlxfN.js +0 -1
- package/dist/update-runner-DG-1TYYc.js +0 -1
- package/dist/usage-format-BWD8FJFL.js +0 -1
- package/dist/usage-format-yPwal8Iz.js +0 -1
- package/dist/utils-CGdo13HV.js +0 -1
- package/dist/utils-D3t-vPka.js +0 -1
- package/dist/utils-R-mFyVJi.js +0 -1
- package/dist/utils-UGOV_184.js +0 -1
- package/dist/version-q3SkUw2K.js +0 -1
- package/dist/warning-filter.js +0 -1
- package/dist/web-Dfi2WjvN.js +0 -1
- package/dist/web-u71NbOpT.js +0 -1
- package/dist/webhooks-cli-DMTzhfTv.js +0 -1
- package/dist/webhooks-cli-ICOwBPSv.js +0 -1
- package/dist/whatsapp-actions-Bdf-3-ne.js +0 -1
- package/dist/whatsapp-actions-D2qMOK3a.js +0 -1
- package/dist/whatsapp-actions-f5CsM5EM.js +0 -1
- package/dist/whatsapp-actions-t88tyNUT.js +0 -1
- package/dist/widearea-dns-BDx7vkV2.js +0 -1
- package/dist/widearea-dns-BFjqKXu_.js +0 -1
- package/dist/windows-spawn-7oINn5ao.js +0 -1
- package/dist/windows-spawn-AB7ItGAE.js +0 -1
- package/dist/with-timeout-WveKxvFV.js +0 -1
- package/dist/with-timeout-c1CzdShT.js +0 -1
- package/dist/workspace-B0ZQeHXg.js +0 -1
- package/dist/workspace-C45T1Cxg.js +0 -1
- package/dist/workspace-dirs-A8Vib9_B.js +0 -1
- package/dist/workspace-dirs-BhF1Dzxt.js +0 -1
- package/dist/workspace-xNEpaJvu.js +0 -1
- package/dist/wsl-DHxB2Ew_.js +0 -1
- package/dist/wsl-Ok7GaSJ6.js +0 -1
- package/extensions/qqbrowser-skill-control/index.js +1 -1
- package/node_modules/@aws-sdk/client-bedrock-runtime/package.json +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +1 -1
- package/node_modules/@google/genai/dist/index.cjs +341 -180
- package/node_modules/@google/genai/dist/index.mjs +341 -180
- package/node_modules/@google/genai/dist/node/index.cjs +341 -180
- package/node_modules/@google/genai/dist/node/index.mjs +341 -180
- package/node_modules/@google/genai/dist/tokenizer/node.cjs +100 -0
- package/node_modules/@google/genai/dist/tokenizer/node.mjs +100 -0
- package/node_modules/@google/genai/dist/vertex_internal/index.cjs +103 -2
- package/node_modules/@google/genai/dist/vertex_internal/index.js +103 -2
- package/node_modules/@google/genai/dist/web/index.mjs +342 -180
- package/node_modules/@google/genai/package.json +1 -1
- package/node_modules/@slack/web-api/dist/instrument.js +13 -1
- package/node_modules/@slack/web-api/package.json +2 -2
- package/node_modules/@smithy/config-resolver/package.json +2 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
- package/node_modules/@smithy/util-endpoints/dist-cjs/index.js +154 -61
- package/node_modules/@smithy/util-endpoints/dist-es/bdd/BinaryDecisionDiagram.js +15 -0
- package/node_modules/@smithy/util-endpoints/dist-es/decideEndpoint.js +41 -0
- package/node_modules/@smithy/util-endpoints/dist-es/index.js +2 -0
- package/node_modules/@smithy/util-endpoints/dist-es/lib/coalesce.js +8 -0
- package/node_modules/@smithy/util-endpoints/dist-es/lib/index.js +3 -0
- package/node_modules/@smithy/util-endpoints/dist-es/lib/ite.js +3 -0
- package/node_modules/@smithy/util-endpoints/dist-es/lib/split.js +13 -0
- package/node_modules/@smithy/util-endpoints/dist-es/lib/substring.js +1 -1
- package/node_modules/@smithy/util-endpoints/dist-es/utils/endpointFunctions.js +4 -1
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateExpression.js +20 -5
- package/node_modules/@smithy/util-endpoints/dist-es/utils/evaluateTemplate.js +3 -6
- package/node_modules/@smithy/util-endpoints/dist-es/utils/getReferenceValue.js +1 -5
- package/node_modules/@smithy/util-endpoints/package.json +1 -1
- package/node_modules/discord-api-types/package.json +1 -1
- package/node_modules/discord-api-types/payloads/index.mjs +3 -0
- package/node_modules/discord-api-types/payloads/v10/index.mjs +3 -0
- package/node_modules/discord-api-types/payloads/v10/message.js +55 -2
- package/node_modules/discord-api-types/payloads/v10/user.js +2 -0
- package/node_modules/discord-api-types/payloads/v9/index.mjs +3 -0
- package/node_modules/discord-api-types/payloads/v9/message.js +55 -2
- package/node_modules/discord-api-types/payloads/v9/user.js +2 -0
- package/node_modules/discord-api-types/rest/v10/channel.js +6 -0
- package/node_modules/discord-api-types/rest/v9/channel.js +6 -0
- package/node_modules/discord-api-types/v10.mjs +3 -0
- package/node_modules/discord-api-types/v9.mjs +3 -0
- package/node_modules/undici/package.json +1 -1
- package/package.json +2 -1
- package/dist/ports-Dylc6TrH.js +0 -3
- package/dist/ports-hkqQXSus.js +0 -3
- package/node_modules/@anthropic-ai/sandbox-runtime/node_modules/commander/LICENSE +0 -22
- package/node_modules/@anthropic-ai/sandbox-runtime/node_modules/commander/Readme.md +0 -1157
- package/node_modules/@anthropic-ai/sandbox-runtime/node_modules/zod/LICENSE +0 -21
- package/node_modules/@anthropic-ai/sandbox-runtime/node_modules/zod/README.md +0 -208
- package/node_modules/@anthropic-ai/sdk/src/_vendor/partial-json-parser/README.md +0 -3
- package/node_modules/@anthropic-ai/sdk/src/core/README.md +0 -3
- package/node_modules/@anthropic-ai/sdk/src/internal/README.md +0 -3
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/LICENSE +0 -201
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/is-array-buffer/README.md +0 -10
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/LICENSE +0 -201
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-buffer-from/README.md +0 -10
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/LICENSE +0 -201
- package/node_modules/@aws-crypto/sha256-browser/node_modules/@smithy/util-utf8/README.md +0 -4
- package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/LICENSE +0 -201
- package/node_modules/@aws-crypto/util/node_modules/@smithy/is-array-buffer/README.md +0 -10
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/LICENSE +0 -201
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-buffer-from/README.md +0 -10
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/LICENSE +0 -201
- package/node_modules/@aws-crypto/util/node_modules/@smithy/util-utf8/README.md +0 -4
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/LICENSE +0 -201
- package/node_modules/@aws-sdk/credential-provider-sso/node_modules/@aws-sdk/token-providers/README.md +0 -62
- package/node_modules/@buape/carbon/node_modules/@discordjs/voice/LICENSE +0 -191
- package/node_modules/@buape/carbon/node_modules/@discordjs/voice/README.md +0 -112
- package/node_modules/@buape/carbon/node_modules/discord-api-types/LICENSE +0 -21
- package/node_modules/@buape/carbon/node_modules/discord-api-types/README.md +0 -102
- package/node_modules/@buape/carbon/node_modules/ws/LICENSE +0 -20
- package/node_modules/@buape/carbon/node_modules/ws/README.md +0 -548
- package/node_modules/@line/bot-sdk/node_modules/@types/node/LICENSE +0 -21
- package/node_modules/@line/bot-sdk/node_modules/@types/node/README.md +0 -15
- package/node_modules/@line/bot-sdk/node_modules/undici-types/LICENSE +0 -21
- package/node_modules/@line/bot-sdk/node_modules/undici-types/README.md +0 -6
- package/node_modules/@opentelemetry/exporter-logs-otlp-proto/node_modules/@opentelemetry/resources/LICENSE +0 -201
- package/node_modules/@opentelemetry/exporter-logs-otlp-proto/node_modules/@opentelemetry/resources/README.md +0 -49
- package/node_modules/@opentelemetry/exporter-logs-otlp-proto/node_modules/@opentelemetry/sdk-trace-base/LICENSE +0 -201
- package/node_modules/@opentelemetry/exporter-logs-otlp-proto/node_modules/@opentelemetry/sdk-trace-base/README.md +0 -185
- package/node_modules/@opentelemetry/exporter-metrics-otlp-http/node_modules/@opentelemetry/resources/LICENSE +0 -201
- package/node_modules/@opentelemetry/exporter-metrics-otlp-http/node_modules/@opentelemetry/resources/README.md +0 -49
- package/node_modules/@opentelemetry/exporter-metrics-otlp-http/node_modules/@opentelemetry/sdk-metrics/LICENSE +0 -201
- package/node_modules/@opentelemetry/exporter-metrics-otlp-http/node_modules/@opentelemetry/sdk-metrics/README.md +0 -100
- package/node_modules/@opentelemetry/exporter-metrics-otlp-proto/node_modules/@opentelemetry/resources/LICENSE +0 -201
- package/node_modules/@opentelemetry/exporter-metrics-otlp-proto/node_modules/@opentelemetry/resources/README.md +0 -49
- package/node_modules/@opentelemetry/exporter-metrics-otlp-proto/node_modules/@opentelemetry/sdk-metrics/LICENSE +0 -201
- package/node_modules/@opentelemetry/exporter-metrics-otlp-proto/node_modules/@opentelemetry/sdk-metrics/README.md +0 -100
- package/node_modules/@opentelemetry/exporter-trace-otlp-proto/node_modules/@opentelemetry/resources/LICENSE +0 -201
- package/node_modules/@opentelemetry/exporter-trace-otlp-proto/node_modules/@opentelemetry/resources/README.md +0 -49
- package/node_modules/@opentelemetry/exporter-trace-otlp-proto/node_modules/@opentelemetry/sdk-trace-base/LICENSE +0 -201
- package/node_modules/@opentelemetry/exporter-trace-otlp-proto/node_modules/@opentelemetry/sdk-trace-base/README.md +0 -185
- package/node_modules/@opentelemetry/otlp-transformer/node_modules/@opentelemetry/resources/LICENSE +0 -201
- package/node_modules/@opentelemetry/otlp-transformer/node_modules/@opentelemetry/resources/README.md +0 -49
- package/node_modules/@opentelemetry/otlp-transformer/node_modules/@opentelemetry/sdk-metrics/LICENSE +0 -201
- package/node_modules/@opentelemetry/otlp-transformer/node_modules/@opentelemetry/sdk-metrics/README.md +0 -100
- package/node_modules/@opentelemetry/otlp-transformer/node_modules/@opentelemetry/sdk-trace-base/LICENSE +0 -201
- package/node_modules/@opentelemetry/otlp-transformer/node_modules/@opentelemetry/sdk-trace-base/README.md +0 -185
- package/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/LICENSE +0 -201
- package/node_modules/@opentelemetry/resources/node_modules/@opentelemetry/core/README.md +0 -73
- package/node_modules/@opentelemetry/sdk-logs/node_modules/@opentelemetry/resources/LICENSE +0 -201
- package/node_modules/@opentelemetry/sdk-logs/node_modules/@opentelemetry/resources/README.md +0 -49
- package/node_modules/@opentelemetry/sdk-metrics/node_modules/@opentelemetry/core/LICENSE +0 -201
- package/node_modules/@opentelemetry/sdk-metrics/node_modules/@opentelemetry/core/README.md +0 -73
- package/node_modules/@opentelemetry/sdk-trace-base/node_modules/@opentelemetry/core/LICENSE +0 -201
- package/node_modules/@opentelemetry/sdk-trace-base/node_modules/@opentelemetry/core/README.md +0 -73
- package/node_modules/@opentelemetry/sdk-trace-node/node_modules/@opentelemetry/core/LICENSE +0 -201
- package/node_modules/@opentelemetry/sdk-trace-node/node_modules/@opentelemetry/core/README.md +0 -73
- package/node_modules/@sinclair/typebox/license +0 -25
- package/node_modules/@sinclair/typebox/readme.md +0 -1865
- package/node_modules/@whiskeysockets/baileys/node_modules/p-queue/license +0 -9
- package/node_modules/@whiskeysockets/baileys/node_modules/p-queue/readme.md +0 -1077
- package/node_modules/@whiskeysockets/baileys/node_modules/p-timeout/license +0 -9
- package/node_modules/@whiskeysockets/baileys/node_modules/p-timeout/readme.md +0 -192
- package/node_modules/ansi-regex/license +0 -9
- package/node_modules/ansi-regex/readme.md +0 -66
- package/node_modules/ansi-styles/license +0 -9
- package/node_modules/ansi-styles/readme.md +0 -152
- package/node_modules/atomic-sleep/readme.md +0 -58
- package/node_modules/axios/lib/adapters/README.md +0 -36
- package/node_modules/axios/lib/core/README.md +0 -8
- package/node_modules/axios/lib/env/README.md +0 -3
- package/node_modules/axios/lib/helpers/README.md +0 -7
- package/node_modules/bytes/History.md +0 -97
- package/node_modules/bytes/Readme.md +0 -152
- package/node_modules/chalk/license +0 -9
- package/node_modules/chalk/readme.md +0 -297
- package/node_modules/cli-highlight/node_modules/chalk/license +0 -9
- package/node_modules/cli-highlight/node_modules/chalk/readme.md +0 -341
- package/node_modules/cliui/node_modules/ansi-regex/license +0 -9
- package/node_modules/cliui/node_modules/ansi-regex/readme.md +0 -78
- package/node_modules/cliui/node_modules/strip-ansi/license +0 -9
- package/node_modules/cliui/node_modules/strip-ansi/readme.md +0 -46
- package/node_modules/combined-stream/License +0 -19
- package/node_modules/combined-stream/Readme.md +0 -138
- package/node_modules/commander/Readme.md +0 -1176
- package/node_modules/cookie-signature/History.md +0 -70
- package/node_modules/cookie-signature/Readme.md +0 -23
- package/node_modules/css-what/readme.md +0 -69
- package/node_modules/delayed-stream/License +0 -19
- package/node_modules/delayed-stream/Readme.md +0 -141
- package/node_modules/depd/History.md +0 -103
- package/node_modules/depd/Readme.md +0 -280
- package/node_modules/domelementtype/readme.md +0 -1
- package/node_modules/domhandler/readme.md +0 -92
- package/node_modules/domutils/readme.md +0 -31
- package/node_modules/entities/readme.md +0 -122
- package/node_modules/escalade/license +0 -9
- package/node_modules/escalade/readme.md +0 -211
- package/node_modules/escape-html/Readme.md +0 -43
- package/node_modules/express/Readme.md +0 -276
- package/node_modules/express-rate-limit/license.md +0 -20
- package/node_modules/express-rate-limit/readme.md +0 -136
- package/node_modules/extract-zip/readme.md +0 -57
- package/node_modules/fast-string-truncated-width/license +0 -21
- package/node_modules/fast-string-truncated-width/readme.md +0 -60
- package/node_modules/fast-string-width/license +0 -21
- package/node_modules/fast-string-width/readme.md +0 -45
- package/node_modules/file-type/license +0 -9
- package/node_modules/file-type/readme.md +0 -667
- package/node_modules/form-data/License +0 -19
- package/node_modules/form-data/node_modules/mime-db/HISTORY.md +0 -507
- package/node_modules/form-data/node_modules/mime-db/LICENSE +0 -23
- package/node_modules/form-data/node_modules/mime-db/README.md +0 -100
- package/node_modules/form-data/node_modules/mime-types/HISTORY.md +0 -397
- package/node_modules/form-data/node_modules/mime-types/LICENSE +0 -23
- package/node_modules/form-data/node_modules/mime-types/README.md +0 -113
- package/node_modules/gaxios/node_modules/agent-base/LICENSE +0 -22
- package/node_modules/gaxios/node_modules/agent-base/README.md +0 -69
- package/node_modules/gaxios/node_modules/https-proxy-agent/LICENSE +0 -22
- package/node_modules/gaxios/node_modules/https-proxy-agent/README.md +0 -70
- package/node_modules/get-east-asian-width/license +0 -9
- package/node_modules/get-east-asian-width/readme.md +0 -65
- package/node_modules/get-stream/license +0 -9
- package/node_modules/get-stream/readme.md +0 -124
- package/node_modules/get-uri/node_modules/data-uri-to-buffer/LICENSE +0 -22
- package/node_modules/get-uri/node_modules/data-uri-to-buffer/README.md +0 -61
- package/node_modules/grammy/node_modules/node-fetch/LICENSE.md +0 -22
- package/node_modules/grammy/node_modules/node-fetch/README.md +0 -634
- package/node_modules/has-flag/license +0 -9
- package/node_modules/has-flag/readme.md +0 -89
- package/node_modules/htmlparser2/node_modules/entities/LICENSE +0 -11
- package/node_modules/htmlparser2/node_modules/entities/readme.md +0 -143
- package/node_modules/http-proxy-agent/node_modules/agent-base/LICENSE +0 -22
- package/node_modules/http-proxy-agent/node_modules/agent-base/README.md +0 -69
- package/node_modules/is-fullwidth-code-point/license +0 -9
- package/node_modules/is-fullwidth-code-point/readme.md +0 -39
- package/node_modules/is-stream/license +0 -9
- package/node_modules/is-stream/readme.md +0 -60
- package/node_modules/jws/readme.md +0 -255
- package/node_modules/libsignal/native/ed25519/sha512/LICENSE.txt +0 -20
- package/node_modules/libsignal/node_modules/@types/node/LICENSE +0 -21
- package/node_modules/libsignal/node_modules/@types/node/README.md +0 -16
- package/node_modules/libsignal/node_modules/long/LICENSE +0 -202
- package/node_modules/libsignal/node_modules/long/README.md +0 -246
- package/node_modules/libsignal/node_modules/protobufjs/LICENSE +0 -39
- package/node_modules/libsignal/node_modules/protobufjs/README.md +0 -879
- package/node_modules/libsignal/node_modules/protobufjs/cli/LICENSE +0 -33
- package/node_modules/libsignal/node_modules/protobufjs/cli/README.md +0 -11
- package/node_modules/libsignal/node_modules/protobufjs/cli/lib/tsd-jsdoc/LICENSE +0 -21
- package/node_modules/libsignal/node_modules/protobufjs/cli/lib/tsd-jsdoc/README.md +0 -23
- package/node_modules/libsignal/node_modules/protobufjs/cli/node_modules/os-tmpdir/license +0 -21
- package/node_modules/libsignal/node_modules/protobufjs/cli/node_modules/os-tmpdir/readme.md +0 -32
- package/node_modules/libsignal/node_modules/protobufjs/cli/node_modules/tmp/LICENSE +0 -21
- package/node_modules/libsignal/node_modules/protobufjs/cli/node_modules/tmp/README.md +0 -314
- package/node_modules/libsignal/node_modules/protobufjs/dist/README.md +0 -31
- package/node_modules/libsignal/node_modules/protobufjs/dist/light/README.md +0 -31
- package/node_modules/libsignal/node_modules/protobufjs/dist/minimal/README.md +0 -31
- package/node_modules/libsignal/node_modules/protobufjs/ext/debug/README.md +0 -4
- package/node_modules/libsignal/node_modules/protobufjs/ext/descriptor/README.md +0 -72
- package/node_modules/libsignal/node_modules/protobufjs/google/LICENSE +0 -27
- package/node_modules/libsignal/node_modules/protobufjs/google/README.md +0 -1
- package/node_modules/lie/license.md +0 -7
- package/node_modules/linkedom/node_modules/html-escaper/LICENSE.txt +0 -19
- package/node_modules/linkedom/node_modules/html-escaper/README.md +0 -110
- package/node_modules/merge-descriptors/license +0 -11
- package/node_modules/merge-descriptors/readme.md +0 -55
- package/node_modules/ms/license.md +0 -21
- package/node_modules/ms/readme.md +0 -59
- package/node_modules/node-edge-tts/node_modules/agent-base/LICENSE +0 -22
- package/node_modules/node-edge-tts/node_modules/agent-base/README.md +0 -69
- package/node_modules/node-edge-tts/node_modules/ansi-regex/license +0 -9
- package/node_modules/node-edge-tts/node_modules/ansi-regex/readme.md +0 -78
- package/node_modules/node-edge-tts/node_modules/cliui/LICENSE.txt +0 -14
- package/node_modules/node-edge-tts/node_modules/cliui/README.md +0 -141
- package/node_modules/node-edge-tts/node_modules/https-proxy-agent/LICENSE +0 -22
- package/node_modules/node-edge-tts/node_modules/https-proxy-agent/README.md +0 -70
- package/node_modules/node-edge-tts/node_modules/strip-ansi/license +0 -9
- package/node_modules/node-edge-tts/node_modules/strip-ansi/readme.md +0 -46
- package/node_modules/node-edge-tts/node_modules/yargs/LICENSE +0 -21
- package/node_modules/node-edge-tts/node_modules/yargs/README.md +0 -204
- package/node_modules/node-edge-tts/node_modules/yargs-parser/LICENSE.txt +0 -14
- package/node_modules/node-edge-tts/node_modules/yargs-parser/README.md +0 -518
- package/node_modules/object-assign/license +0 -21
- package/node_modules/object-assign/readme.md +0 -61
- package/node_modules/object-inspect/readme.markdown +0 -84
- package/node_modules/openai/src/_vendor/partial-json-parser/README.md +0 -3
- package/node_modules/openai/src/_vendor/zod-to-json-schema/LICENSE +0 -15
- package/node_modules/openai/src/_vendor/zod-to-json-schema/README.md +0 -3
- package/node_modules/openai/src/core/README.md +0 -3
- package/node_modules/openai/src/internal/README.md +0 -3
- package/node_modules/openai/src/internal/qs/LICENSE.md +0 -13
- package/node_modules/openai/src/internal/qs/README.md +0 -3
- package/node_modules/p-finally/license +0 -21
- package/node_modules/p-finally/readme.md +0 -47
- package/node_modules/p-queue/license +0 -9
- package/node_modules/p-queue/node_modules/eventemitter3/LICENSE +0 -21
- package/node_modules/p-queue/node_modules/eventemitter3/README.md +0 -94
- package/node_modules/p-queue/readme.md +0 -400
- package/node_modules/p-retry/license +0 -9
- package/node_modules/p-retry/readme.md +0 -148
- package/node_modules/p-timeout/license +0 -9
- package/node_modules/p-timeout/readme.md +0 -87
- package/node_modules/pac-proxy-agent/node_modules/agent-base/LICENSE +0 -22
- package/node_modules/pac-proxy-agent/node_modules/agent-base/README.md +0 -69
- package/node_modules/pac-proxy-agent/node_modules/https-proxy-agent/LICENSE +0 -22
- package/node_modules/pac-proxy-agent/node_modules/https-proxy-agent/README.md +0 -70
- package/node_modules/pako/lib/zlib/README +0 -59
- package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/LICENSE +0 -19
- package/node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5/README.md +0 -38
- package/node_modules/path-key/license +0 -9
- package/node_modules/path-key/readme.md +0 -61
- package/node_modules/path-to-regexp/Readme.md +0 -224
- package/node_modules/pino-std-serializers/Readme.md +0 -182
- package/node_modules/process-nextick-args/license.md +0 -19
- package/node_modules/process-nextick-args/readme.md +0 -18
- package/node_modules/proper-lockfile/node_modules/retry/License +0 -21
- package/node_modules/proper-lockfile/node_modules/retry/README.md +0 -227
- package/node_modules/protobufjs/ext/debug/README.md +0 -4
- package/node_modules/protobufjs/ext/descriptor/README.md +0 -72
- package/node_modules/proxy-addr/node_modules/ipaddr.js/LICENSE +0 -19
- package/node_modules/proxy-addr/node_modules/ipaddr.js/README.md +0 -233
- package/node_modules/proxy-agent/node_modules/agent-base/LICENSE +0 -22
- package/node_modules/proxy-agent/node_modules/agent-base/README.md +0 -69
- package/node_modules/proxy-agent/node_modules/https-proxy-agent/LICENSE +0 -22
- package/node_modules/proxy-agent/node_modules/https-proxy-agent/README.md +0 -70
- package/node_modules/proxy-agent/node_modules/lru-cache/LICENSE +0 -15
- package/node_modules/proxy-agent/node_modules/lru-cache/README.md +0 -1117
- package/node_modules/proxy-agent/node_modules/proxy-from-env/LICENSE +0 -20
- package/node_modules/proxy-agent/node_modules/proxy-from-env/README.md +0 -131
- package/node_modules/qified/node_modules/hookified/LICENSE +0 -19
- package/node_modules/qified/node_modules/hookified/README.md +0 -1682
- package/node_modules/quick-format-unescaped/readme.md +0 -66
- package/node_modules/readable-stream/node_modules/safe-buffer/LICENSE +0 -21
- package/node_modules/readable-stream/node_modules/safe-buffer/README.md +0 -584
- package/node_modules/require-from-string/license +0 -21
- package/node_modules/require-from-string/readme.md +0 -56
- package/node_modules/retry/License +0 -21
- package/node_modules/router/node_modules/is-promise/LICENSE +0 -19
- package/node_modules/router/node_modules/is-promise/readme.md +0 -33
- package/node_modules/safe-stable-stringify/readme.md +0 -179
- package/node_modules/safer-buffer/Readme.md +0 -156
- package/node_modules/shebang-command/license +0 -9
- package/node_modules/shebang-command/readme.md +0 -34
- package/node_modules/shebang-regex/license +0 -9
- package/node_modules/shebang-regex/readme.md +0 -33
- package/node_modules/sisteransi/license +0 -21
- package/node_modules/sisteransi/readme.md +0 -113
- package/node_modules/socks-proxy-agent/node_modules/agent-base/LICENSE +0 -22
- package/node_modules/socks-proxy-agent/node_modules/agent-base/README.md +0 -69
- package/node_modules/string-width/license +0 -9
- package/node_modules/string-width/node_modules/ansi-regex/license +0 -9
- package/node_modules/string-width/node_modules/ansi-regex/readme.md +0 -78
- package/node_modules/string-width/node_modules/strip-ansi/license +0 -9
- package/node_modules/string-width/node_modules/strip-ansi/readme.md +0 -46
- package/node_modules/string-width/readme.md +0 -50
- package/node_modules/string_decoder/node_modules/safe-buffer/LICENSE +0 -21
- package/node_modules/string_decoder/node_modules/safe-buffer/README.md +0 -584
- package/node_modules/strip-ansi/license +0 -9
- package/node_modules/strip-ansi/readme.md +0 -37
- package/node_modules/supports-color/license +0 -9
- package/node_modules/supports-color/readme.md +0 -76
- package/node_modules/uint8array-extras/license +0 -9
- package/node_modules/uint8array-extras/readme.md +0 -318
- package/node_modules/undici/lib/web/fetch/LICENSE +0 -21
- package/node_modules/undici/lib/web/subresource-integrity/Readme.md +0 -9
- package/node_modules/util-deprecate/History.md +0 -16
- package/node_modules/wrap-ansi/license +0 -9
- package/node_modules/wrap-ansi/node_modules/ansi-regex/license +0 -9
- package/node_modules/wrap-ansi/node_modules/ansi-regex/readme.md +0 -78
- package/node_modules/wrap-ansi/node_modules/strip-ansi/license +0 -9
- package/node_modules/wrap-ansi/node_modules/strip-ansi/readme.md +0 -46
- package/node_modules/wrap-ansi/readme.md +0 -91
- package/node_modules/yoctocolors/license +0 -9
- package/node_modules/yoctocolors/readme.md +0 -138
- package/node_modules/zod-to-json-schema/changelog.md +0 -83
|
@@ -3,4 +3,3 @@ import{g as e}from"./paths-B4IRk3wi.js";import{t}from"./subsystem-C5XF2Fy5.js";i
|
|
|
3
3
|
`),path:t}}status(){let e=this.readCounts();return{backend:`qmd`,provider:`qmd`,model:`qmd`,requestedProvider:`qmd`,files:e.totalDocuments,chunks:e.totalDocuments,dirty:!1,workspaceDir:this.workspaceDir,dbPath:this.indexPath,sources:Array.from(this.sources),sourceCounts:e.sourceCounts,vector:{enabled:!0,available:!0},batch:{enabled:!1,failures:0,limit:0,wait:!1,concurrency:0,pollIntervalMs:0,timeoutMs:0},custom:{qmd:{collections:this.qmd.collections.length,lastUpdateAt:this.lastUpdateAt}}}}async probeEmbeddingAvailability(){return{ok:!0}}async probeVectorAvailability(){return!0}async close(){this.closed||(this.closed=!0,this.updateTimer&&=(clearInterval(this.updateTimer),null),this.queuedForcedRuns=0,await this.pendingUpdate?.catch(()=>void 0),await this.queuedForcedUpdate?.catch(()=>void 0),this.db&&=(this.db.close(),null))}async runUpdate(e,t,n){if(!this.closed){if(this.pendingUpdate)return t?this.enqueueForcedUpdate(e):this.pendingUpdate;if(this.queuedForcedUpdate&&!n?.fromForcedQueue)return t?this.enqueueForcedUpdate(e):this.queuedForcedUpdate;this.shouldSkipUpdate(t)||(this.pendingUpdate=(async()=>{if(this.sessionExporter&&await this.exportSessions(),await this.runQmdUpdateWithRetry(e),this.shouldRunEmbed(t))try{await H(async()=>{await this.runQmd([`embed`],{timeoutMs:this.qmd.update.embedTimeoutMs,discardOutput:!0})}),this.lastEmbedAt=Date.now(),this.embedBackoffUntil=null,this.embedFailureCount=0}catch(t){this.noteEmbedFailure(e,t)}this.lastUpdateAt=Date.now(),this.docPathCache.clear()})().finally(()=>{this.pendingUpdate=null}),await this.pendingUpdate)}}async runQmdUpdateWithRetry(e){let t=e===`boot`||e.startsWith(`boot:`)?3:1;for(let n=1;n<=t;n+=1)try{await this.runQmdUpdateOnce(e);return}catch(r){if(n>=t||!this.isRetryableUpdateError(r))throw r;let i=500*2**(n-1);F.warn(`qmd update retry ${n}/${t-1} after failure (${e}): ${String(r)}`),await new Promise(e=>setTimeout(e,i))}}async runQmdUpdateOnce(e){try{await this.runQmd([`update`],{timeoutMs:this.qmd.update.updateTimeoutMs,discardOutput:!0})}catch(t){if(!await this.tryRepairNullByteCollections(t,e)&&!await this.tryRepairDuplicateDocumentConstraint(t,e))throw t;await this.runQmd([`update`],{timeoutMs:this.qmd.update.updateTimeoutMs,discardOutput:!0})}}isRetryableUpdateError(e){return this.isSqliteBusyError(e)?!0:(e instanceof Error?e.message:String(e)).toLowerCase().includes(`timed out`)}shouldRunEmbed(e){if(this.qmd.searchMode===`search`)return!1;let t=Date.now();if(this.embedBackoffUntil!==null&&t<this.embedBackoffUntil)return!1;let n=this.qmd.update.embedIntervalMs;return!!e||this.lastEmbedAt===null||n>0&&t-this.lastEmbedAt>n}noteEmbedFailure(e,t){this.embedFailureCount+=1;let n=Math.min(36e5,6e4*2**Math.max(0,this.embedFailureCount-1));this.embedBackoffUntil=Date.now()+n,F.warn(`qmd embed failed (${e}): ${String(t)}; backing off for ${Math.ceil(n/1e3)}s`)}enqueueForcedUpdate(e){return this.queuedForcedRuns+=1,this.queuedForcedUpdate||=this.drainForcedUpdates(e).finally(()=>{this.queuedForcedUpdate=null}),this.queuedForcedUpdate}async drainForcedUpdates(e){for(await this.pendingUpdate?.catch(()=>void 0);!this.closed&&this.queuedForcedRuns>0;)--this.queuedForcedRuns,await this.runUpdate(`${e}:queued`,!0,{fromForcedQueue:!0})}async symlinkSharedModels(){let e=process.env.XDG_CACHE_HOME||(process.platform===`win32`?process.env.LOCALAPPDATA:void 0)||m.join(p.homedir(),`.cache`),t=m.join(e,`qmd`,`models`),n=m.join(this.xdgCacheHome,`qmd`,`models`);try{if(!(await h.stat(t).catch(e=>{if(e.code===`ENOENT`)return null;throw e}))?.isDirectory())return;try{await h.lstat(n);return}catch{}try{await h.symlink(t,n,`dir`)}catch(e){let r=e.code;if(process.platform===`win32`&&(r===`EPERM`||r===`ENOTSUP`))await h.symlink(t,n,`junction`);else throw e}F.debug(`symlinked qmd models: ${t} → ${n}`)}catch(e){F.warn(`failed to symlink qmd models directory: ${String(e)}`)}}async runQmd(e,t){return await x({commandSummary:`qmd ${e.join(` `)}`,spawnInvocation:y({command:this.qmd.command,args:e,env:this.env,packageName:`qmd`}),env:this.env,cwd:this.workspaceDir,timeoutMs:t?.timeoutMs,maxOutputChars:this.maxQmdOutputChars,discardStdout:t?.discardOutput})}async ensureMcporterDaemonStarted(e){if(!e.enabled)return;if(!e.startDaemon){let e=globalThis;e.__openclawMcporterColdStartWarned||(e.__openclawMcporterColdStartWarned=!0,F.warn(`mcporter qmd bridge enabled but startDaemon=false; each query may cold-start QMD MCP. Consider setting memory.qmd.mcporter.startDaemon=true to keep it warm.`));return}let t=globalThis;t.__openclawMcporterDaemonStart||=(async()=>{try{await this.runMcporter([`daemon`,`start`],{timeoutMs:1e4})}catch(e){F.warn(`mcporter daemon start failed: ${String(e)}`),delete t.__openclawMcporterDaemonStart}})(),await t.__openclawMcporterDaemonStart}async runMcporter(e,t){let n=async e=>await x({commandSummary:`${e.command} ${e.argv.join(` `)}`,spawnInvocation:e,env:this.env,cwd:this.workspaceDir,timeoutMs:t?.timeoutMs,maxOutputChars:this.maxQmdOutputChars}),r=y({command:`mcporter`,args:e,env:this.env,packageName:`mcporter`});try{return await n(r)}catch(t){if(!b({err:t,command:r.command,commandBase:`mcporter`}))throw t;return F.warn(`mcporter.cmd spawn returned EINVAL on Windows; retrying with bare mcporter`),await n({command:`mcporter`,argv:e,shell:!0,windowsHide:!0})}}async runQmdSearchViaMcporter(e){await this.ensureMcporterDaemonStarted(e.mcporter);let t=`${e.mcporter.serverName}.${e.tool}`,n={query:e.query,limit:e.limit,minScore:e.minScore};e.collection&&(n.collection=e.collection);let r=await this.runMcporter([`call`,t,`--args`,JSON.stringify(n),`--output`,`json`,`--timeout`,String(Math.max(0,e.timeoutMs))],{timeoutMs:Math.max(e.timeoutMs+2e3,5e3)}),i=JSON.parse(r.stdout),a=e=>typeof e==`object`&&!!e&&!Array.isArray(e),o=a(i)&&a(i.structuredContent)?i.structuredContent:i,s=a(o)&&Array.isArray(o.results)?o.results:Array.isArray(o)?o:[],c=[];for(let e of s){if(!a(e))continue;let t=e.docid,n=typeof t==`string`?t.replace(/^#/,``).trim():``;if(!n)continue;let r=e.score,i=typeof r==`number`?r:Number(r),o=typeof e.snippet==`string`?e.snippet:``;c.push({docid:n,score:Number.isFinite(i)?i:0,snippet:o})}return c}async readPartialText(e,t,n){let r=Math.max(1,t??1),i=Math.max(1,n??1/0),a;try{a=await h.open(e)}catch(e){if(s(e))return{missing:!0};throw e}let o=a.createReadStream({encoding:`utf-8`}),c=_.createInterface({input:o,crlfDelay:1/0}),l=[],u=0;try{for await(let e of c)if(u+=1,!(u<r)){if(l.length>=i)break;l.push(e)}}finally{c.close(),await a.close()}return{missing:!1,text:l.slice(0,i).join(`
|
|
4
4
|
`)}}async readFullText(e){try{return{missing:!1,text:await h.readFile(e,`utf-8`)}}catch(e){if(s(e))return{missing:!0};throw e}}ensureDb(){if(this.db)return this.db;let{DatabaseSync:e}=u();return this.db=new e(this.indexPath,{readOnly:!0}),this.db.exec(`PRAGMA busy_timeout = 1000`),this.db}async exportSessions(){if(!this.sessionExporter)return;let e=this.sessionExporter.dir;await h.mkdir(e,{recursive:!0});let t=await c(this.agentId),n=new Set,r=new Set,a=this.sessionExporter.retentionMs?Date.now()-this.sessionExporter.retentionMs:null;for(let o of t){let t=await l(o);if(!t||a&&t.mtimeMs<a)continue;let s=`${m.basename(o,`.jsonl`)}.md`,c=m.join(e,s);r.add(o);let u=this.exportedSessionState.get(o);(!u||u.hash!==t.hash||u.mtimeMs!==t.mtimeMs)&&await i({rootDir:e,relativePath:s,data:this.renderSessionMarkdown(t),encoding:`utf-8`}),this.exportedSessionState.set(o,{hash:t.hash,mtimeMs:t.mtimeMs,target:c}),n.add(c)}let o=await h.readdir(e).catch(()=>[]);for(let t of o){if(!t.endsWith(`.md`))continue;let r=m.join(e,t);n.has(r)||await h.rm(r,{force:!0})}for(let[t,n]of this.exportedSessionState)(!r.has(t)||!n.target.startsWith(e+m.sep))&&this.exportedSessionState.delete(t)}renderSessionMarkdown(e){return`${`# Session ${m.basename(e.absPath,m.extname(e.absPath))}`}\n\n${e.content?.trim().length?e.content.trim():`(empty)`}\n`}pickSessionCollectionName(){let e=new Set(this.qmd.collections.map(e=>e.name)),t=`sessions-${this.sanitizeCollectionNameSegment(this.agentId)}`;if(!e.has(t))return t;let n=2,r=`${t}-${n}`;for(;e.has(r);)n+=1,r=`${t}-${n}`;return r}sanitizeCollectionNameSegment(e){return e.toLowerCase().replace(/[^a-z0-9-]+/g,`-`).replace(/^-+|-+$/g,``)||`agent`}async resolveDocLocation(e,t){let n=this.normalizeDocHints(t);if(!e)return this.resolveDocLocationFromHints(n);let r=e.startsWith(`#`)?e.slice(1):e;if(!r)return null;let i=`${n.preferredCollection??`*`}:${r}`,a=this.docPathCache.get(i);if(a)return a;let o=this.ensureDb(),s=[];try{s=o.prepare(`SELECT collection, path FROM documents WHERE hash = ? AND active = 1`).all(r),s.length===0&&(s=o.prepare(`SELECT collection, path FROM documents WHERE hash LIKE ? AND active = 1`).all(`${r}%`))}catch(e){throw this.isSqliteBusyError(e)?(F.debug(`qmd index is busy while resolving doc path: ${String(e)}`),this.createQmdBusyError(e)):e}if(s.length===0)return null;let c=this.pickDocLocation(s,n);return c?(this.docPathCache.set(i,c),c):null}resolveDocLocationFromHints(e){if(!e.preferredCollection||!e.preferredFile)return null;let t=this.toCollectionRelativePath(e.preferredCollection,e.preferredFile);return t?this.toDocLocation(e.preferredCollection,t):null}normalizeDocHints(e){let t=e?.preferredCollection?.trim(),n=e?.preferredFile?.trim();if(!n)return t?{preferredCollection:t}:{};let r=this.parseQmdFileUri(n);return{preferredCollection:r?.collection??t,preferredFile:r?.collectionRelativePath??n}}parseQmdFileUri(e){if(!e.toLowerCase().startsWith(`qmd://`))return null;try{let t=new URL(e),n=decodeURIComponent(t.hostname).trim(),r=decodeURIComponent(t.pathname).replace(/^\/+/,``).trim();return!n&&!r?null:{collection:n||void 0,collectionRelativePath:r||void 0}}catch{return null}}toCollectionRelativePath(e,t){let n=this.collectionRoots.get(e);if(!n)return null;let r=t.trim();if(!r)return null;let i=m.normalize(r),a=m.isAbsolute(i)?i:m.resolve(n.path,i);if(!this.isWithinRoot(n.path,a))return null;let o=m.relative(n.path,a);return!o||o===`.`?null:o.replace(/\\/g,`/`)}pickDocLocation(e,t){if(t?.preferredCollection)for(let n of e){if(n.collection!==t.preferredCollection)continue;let e=this.toDocLocation(n.collection,n.path);if(e)return e}if(t?.preferredFile){let n=m.normalize(t.preferredFile);for(let t of e){let e=m.normalize(t.path);if(e!==n&&!e.endsWith(m.sep+n))continue;let r=this.toDocLocation(t.collection,t.path);if(r)return r}}for(let t of e){let e=this.toDocLocation(t.collection,t.path);if(e)return e}return null}extractSnippetLines(e){let t=I.exec(e);if(t){let e=Number(t[1]),n=Number(t[2]);if(Number.isFinite(e)&&Number.isFinite(n))return{startLine:e,endLine:e+n-1}}return{startLine:1,endLine:e.split(`
|
|
5
5
|
`).length}}readCounts(){try{let e=this.ensureDb().prepare(`SELECT collection, COUNT(*) as c FROM documents WHERE active = 1 GROUP BY collection`).all(),t=new Map;for(let e of this.sources)t.set(e,{files:0,chunks:0});let n=0;for(let r of e){let e=this.collectionRoots.get(r.collection)?.kind??`memory`,i=t.get(e)??{files:0,chunks:0};i.files+=r.c??0,i.chunks+=r.c??0,t.set(e,i),n+=r.c??0}return{totalDocuments:n,sourceCounts:Array.from(t.entries()).map(([e,t])=>({source:e,files:t.files,chunks:t.chunks}))}}catch(e){return F.warn(`failed to read qmd index stats: ${String(e)}`),{totalDocuments:0,sourceCounts:Array.from(this.sources).map(e=>({source:e,files:0,chunks:0}))}}}logScopeDenied(e){let t=w(e)??`unknown`,n=T(e)??`unknown`,r=e?.trim()||`<none>`;F.warn(`qmd search denied by scope (channel=${t}, chatType=${n}, session=${r})`)}isScopeAllowed(e){return C(this.qmd.scope,e)}toDocLocation(e,t){let n=this.collectionRoots.get(e);if(!n)return null;let r=t.replace(/\\/g,`/`),i=m.normalize(m.resolve(n.path,t)),a=m.relative(this.workspaceDir,i);return{rel:this.buildSearchPath(e,r,a,i),abs:i,source:n.kind}}buildSearchPath(e,t,n,r){return this.isInsideWorkspace(n)?n.replace(/\\/g,`/`)||m.basename(r):`qmd/${e}/${t.replace(/^\/+/,``)}`}isInsideWorkspace(e){return e?e.startsWith(`..`)||e.startsWith(`..${m.sep}`)?!1:!m.isAbsolute(e):!0}resolveReadPath(e){if(e.startsWith(`qmd/`)){let[,t,...n]=e.split(`/`);if(!t||n.length===0)throw Error(`invalid qmd path`);let r=this.collectionRoots.get(t);if(!r)throw Error(`unknown qmd collection: ${t}`);let i=n.join(`/`),a=m.resolve(r.path,i);if(!this.isWithinRoot(r.path,a))throw Error(`qmd path escapes collection`);return a}let t=m.resolve(this.workspaceDir,e);if(!this.isWithinWorkspace(t))throw Error(`path escapes workspace`);return t}isWithinWorkspace(e){let t=this.workspaceDir.endsWith(m.sep)?this.workspaceDir:`${this.workspaceDir}${m.sep}`;return e===this.workspaceDir?!0:(e.endsWith(m.sep)?e:`${e}${m.sep}`).startsWith(t)}isWithinRoot(e,t){let n=e.endsWith(m.sep)?e:`${e}${m.sep}`;return t===e?!0:(t.endsWith(m.sep)?t:`${t}${m.sep}`).startsWith(n)}clampResultsByInjectedChars(e){let t=this.qmd.limits.maxInjectedChars;if(!t||t<=0)return e;let n=t,r=[];for(let t of e){if(n<=0)break;let e=t.snippet??``;if(e.length<=n)r.push(t),n-=e.length;else{let i=e.slice(0,Math.max(0,n));r.push({...t,snippet:i});break}}return r}diversifyResultsBySource(e,t){let n=Math.max(0,t);if(n<=0)return[];if(e.length<=1)return e.slice(0,n);let r=new Map;for(let t of e){let e=r.get(t.source)??[];e.push(t),r.set(t.source,e)}let i=r.has(`sessions`),a=r.has(`memory`);if(!i||!a)return e.slice(0,n);let o=Array.from(r.entries()).toSorted((e,t)=>(t[1][0]?.score??0)-(e[1][0]?.score??0)).map(([e])=>e),s=[];for(;s.length<n;){let e=!1;for(let t of o){let i=r.get(t)?.shift();if(i&&(s.push(i),e=!0,s.length>=n))break}if(!e)break}return s}shouldSkipUpdate(e){if(e)return!1;let t=this.qmd.update.debounceMs;return t<=0||!this.lastUpdateAt?!1:Date.now()-this.lastUpdateAt<t}isSqliteBusyError(e){let t=(e instanceof Error?e.message:String(e)).toLowerCase();return t.includes(`sqlite_busy`)||t.includes(`database is locked`)}isUnsupportedQmdOptionError(e){let t=(e instanceof Error?e.message:String(e)).toLowerCase();return t.includes(`unknown flag`)||t.includes(`unknown option`)||t.includes(`unrecognized option`)||t.includes(`flag provided but not defined`)||t.includes(`unexpected argument`)}createQmdBusyError(e){let t=e instanceof Error?e.message:String(e);return Error(`qmd index busy while reading results: ${t}`)}async waitForPendingUpdateBeforeSearch(){let e=this.pendingUpdate;e&&await Promise.race([e.catch(()=>void 0),new Promise(e=>setTimeout(e,500))])}async runQueryAcrossCollections(e,t,n,r){F.debug(`qmd ${r} multi-collection workaround active (${n.length} collections)`);let i=new Map;for(let a of n){let n=this.buildSearchArgs(r,e,t);n.push(`-c`,a);let o=await this.runQmd(n,{timeoutMs:this.qmd.limits.timeoutMs}),s=k(o.stdout,o.stderr);for(let e of s){let t=this.normalizeDocHints({preferredCollection:e.collection??a,preferredFile:e.file}),n=typeof e.docid==`string`&&e.docid.trim().length>0?e.docid:void 0,r={...e,docid:n,collection:t.preferredCollection??e.collection??a,file:t.preferredFile??e.file},o=this.buildQmdResultKey(r);if(!o)continue;let s=i.get(o),c=typeof s?.score==`number`?s.score:-1/0,l=typeof r.score==`number`?r.score:-1/0;(!s||l>c)&&i.set(o,r)}}return[...i.values()].toSorted((e,t)=>(t.score??0)-(e.score??0))}buildQmdResultKey(e){if(typeof e.docid==`string`&&e.docid.trim().length>0)return`docid:${e.docid}`;let t=this.normalizeDocHints({preferredCollection:e.collection,preferredFile:e.file});if(!t.preferredCollection||!t.preferredFile)return null;let n=this.toCollectionRelativePath(t.preferredCollection,t.preferredFile);return n?`file:${t.preferredCollection}:${n}`:null}async runMcporterAcrossCollections(e){let t=new Map;for(let n of e.collectionNames){let r=await this.runQmdSearchViaMcporter({mcporter:this.qmd.mcporter,tool:e.tool,query:e.query,limit:e.limit,minScore:e.minScore,collection:n,timeoutMs:this.qmd.limits.timeoutMs});for(let e of r){if(typeof e.docid!=`string`||!e.docid.trim())continue;let n=t.get(e.docid),r=typeof n?.score==`number`?n.score:-1/0,i=typeof e.score==`number`?e.score:-1/0;(!n||i>r)&&t.set(e.docid,e)}}return[...t.values()].toSorted((e,t)=>(t.score??0)-(e.score??0))}listManagedCollectionNames(){return this.managedCollectionNames}computeManagedCollectionNames(){let e=new Set,t=[];for(let n of this.qmd.collections){let r=n.name?.trim();!r||e.has(r)||(e.add(r),t.push(r))}return t}buildCollectionFilterArgs(e){return e.length===0?[]:e.filter(Boolean).flatMap(e=>[`-c`,e])}buildSearchArgs(e,t,n){let r=e===`search`?V(t):t;return e===`query`?[`query`,r,`--json`,`-n`,String(n)]:[e,r,`--json`,`-n`,String(n)]}};export{U as QmdMemoryManager};
|
|
6
|
-
//# sourceMappingURL=qmd-manager-NLI0R6kp.js.map
|
package/dist/qr-cli-D06YZurm.js
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import{A as e,p as t}from"./subsystem-BLbY429l.js";import{u as n}from"./paths-BjD3T_xq.js";import"./boolean-D15s2V33.js";import{Gi as r,Ki as i,Mi as a,as as o,ji as s,jo as c,ss as l}from"./auth-profiles-C8rZRS0X.js";import"./agent-scope-DAWJwFfl.js";import"./utils-CGdo13HV.js";import"./openclaw-root-CnsBf6ZU.js";import{a as u,d,l as f}from"./types.secrets-D4tbc3Wq.js";import"./github-copilot-token-C79yeDKS.js";import"./env-overrides-DHtB4kK3.js";import"./version-q3SkUw2K.js";import"./registry-BptzrW8D.js";import"./skills-Bz_S4lPh.js";import"./frontmatter-C7mzDNxd.js";import"./plugins-DNlgeTTc.js";import"./logger-kQAOe3qp.js";import{t as p}from"./exec-B3eleY5O.js";import"./windows-spawn-7oINn5ao.js";import"./redact-CnRxK70G.js";import"./path-alias-guards-kY_ZbWs-.js";import"./errors-6SQWM9dj.js";import"./paths-BfjJY2VL.js";import"./chat-envelope-Bznn2SoS.js";import"./call-BWx7hNtl.js";import"./runtime-web-tools-BYhCkBV8.js";import{a as m,s as h}from"./command-secret-targets-BEjtBf5Z.js";import{t as g}from"./links-CBnmRP9D.js";import _ from"node:os";import v from"qrcode-terminal";function y(e){let t=e.bind??`loopback`;if(t===`custom`){let t=e.customBindHost?.trim();return t?{url:`${e.scheme}://${t}:${e.port}`,source:`gateway.bind=custom`}:{error:`gateway.bind=custom requires gateway.customBindHost.`}}if(t===`tailnet`){let t=e.pickTailnetHost();return t?{url:`${e.scheme}://${t}:${e.port}`,source:`gateway.bind=tailnet`}:{error:`gateway.bind=tailnet set, but no tailnet IP was found.`}}if(t===`lan`){let t=e.pickLanHost();return t?{url:`${e.scheme}://${t}:${e.port}`,source:`gateway.bind=lan`}:{error:`gateway.bind=lan set, but no private LAN IP was found.`}}return null}const b=[`tailscale`,`/Applications/Tailscale.app/Contents/MacOS/Tailscale`];function x(e){let t=e.indexOf(`{`),n=e.lastIndexOf(`}`);if(t===-1||n<=t)return{};try{return JSON.parse(e.slice(t,n+1))}catch{return{}}}function S(e){let t=x(e),n=typeof t.Self==`object`&&t.Self!==null?t.Self:void 0,r=typeof n?.DNSName==`string`?n.DNSName:void 0;if(r&&r.length>0)return r.replace(/\.$/,``);let i=Array.isArray(n?.TailscaleIPs)?n.TailscaleIPs:[];return i.length>0?i[0]??null:null}async function C(e){if(!e)return null;for(let t of b)try{let n=await e([t,`status`,`--json`],{timeoutMs:5e3});if(n.code!==0)continue;let r=n.stdout.trim();if(!r)continue;let i=S(r);if(i)return i}catch{continue}return null}function w(e,t){let n=e.trim();if(!n)return null;try{let e=new URL(n),t=e.protocol.replace(`:`,``);if(!t)return null;let r=t===`http`?`ws`:t===`https`?`wss`:t;if(r!==`ws`&&r!==`wss`)return null;let i=e.hostname;return i?`${r}://${i}${e.port?`:${e.port}`:``}`:null}catch{}let r=n.split(`/`)[0]??``;return r?`${t}://${r}`:null}function T(e,t){return t?.forceSecure||e.gateway?.tls?.enabled===!0?`wss`:`ws`}function E(e){return l(e)}function D(e){return o(e)}function O(e,t){let n=e();for(let e of Object.values(n))if(e)for(let n of e){let e=n?.family===`IPv4`;if(!n||n.internal||!e)continue;let r=n.address?.trim()??``;if(r&&t(r))return r}return null}function k(e){return O(e,E)}function A(e){return O(e,D)}function j(e){return e.OPENCLAW_GATEWAY_TOKEN?.trim()||e.CLAWDBOT_GATEWAY_TOKEN?.trim()||void 0}function M(e){return e.OPENCLAW_GATEWAY_PASSWORD?.trim()||e.CLAWDBOT_GATEWAY_PASSWORD?.trim()||void 0}function N(e,t){let n=e.gateway?.auth?.mode,r=e.secrets?.defaults,i=d({value:e.gateway?.auth?.token,defaults:r}).ref,a=d({value:e.gateway?.auth?.password,defaults:r}).ref,o=j(t),s=M(t),c=o||(i?void 0:f(e.gateway?.auth?.token)),l=s||(a?void 0:f(e.gateway?.auth?.password));return n===`password`?l?{password:l,label:`password`}:{error:`Gateway auth is set to password, but no password is configured.`}:n===`token`?c?{token:c,label:`token`}:{error:`Gateway auth is set to token, but no token is configured.`}:c?{token:c,label:`token`}:l?{password:l,label:`password`}:{error:`Gateway auth is not configured (no token or password).`}}async function P(e,t){if(j(t))return e;let n=e.gateway?.auth?.mode;if(n===`password`||n===`none`||n===`trusted-proxy`||n!==`token`&&(t.OPENCLAW_GATEWAY_PASSWORD?.trim()||t.CLAWDBOT_GATEWAY_PASSWORD?.trim()))return e;let r=await s({config:e,env:t,value:e.gateway?.auth?.token,path:`gateway.auth.token`});return r?{...e,gateway:{...e.gateway,auth:{...e.gateway?.auth,token:r}}}:e}async function F(e,t){if(M(t))return e;let n=e.gateway?.auth?.mode;if(n===`token`||n===`none`||n===`trusted-proxy`||n!==`password`&&(j(t)||u(e.gateway?.auth?.token,e.secrets?.defaults)))return e;let r=await s({config:e,env:t,value:e.gateway?.auth?.password,path:`gateway.auth.password`});return r?{...e,gateway:{...e.gateway,auth:{...e.gateway?.auth,password:r}}}:e}async function I(e,t){let r=T(e,{forceSecure:t.forceSecure}),i=n(e,t.env);if(typeof t.publicUrl==`string`&&t.publicUrl.trim()){let e=w(t.publicUrl,r);return e?{url:e,source:`plugins.entries.device-pair.config.publicUrl`}:{error:`Configured publicUrl is invalid.`}}let a=e.gateway?.remote?.url,o=typeof a==`string`&&a.trim()?w(a,r):null;if(t.preferRemoteUrl&&o)return{url:o,source:`gateway.remote.url`};let s=e.gateway?.tailscale?.mode??`off`;if(s===`serve`||s===`funnel`){let e=await C(t.runCommandWithTimeout);return e?{url:`wss://${e}`,source:`gateway.tailscale.mode=${s}`}:{error:`Tailscale Serve is enabled, but MagicDNS could not be resolved.`}}return o?{url:o,source:`gateway.remote.url`}:y({bind:e.gateway?.bind,customBindHost:e.gateway?.customBindHost,scheme:r,port:i,pickTailnetHost:()=>A(t.networkInterfaces),pickLanHost:()=>k(t.networkInterfaces)})||{error:`Gateway is only bound to loopback. Set gateway.bind=lan, enable tailscale serve, or configure plugins.entries.device-pair.config.publicUrl.`}}function L(e){let t=JSON.stringify(e);return Buffer.from(t,`utf8`).toString(`base64`).replace(/\+/g,`-`).replace(/\//g,`_`).replace(/=+$/g,``)}async function R(e,t={}){a(e);let n=t.env??process.env,r=await F(await P(e,n),n),i=N(r,n);if(i.error)return{ok:!1,error:i.error};let o=await I(r,{env:n,publicUrl:t.publicUrl,preferRemoteUrl:t.preferRemoteUrl,forceSecure:t.forceSecure,runCommandWithTimeout:t.runCommandWithTimeout,networkInterfaces:t.networkInterfaces??_.networkInterfaces});return o.url?i.label?{ok:!0,payload:{url:o.url,token:i.token,password:i.password},authLabel:i.label,urlSource:o.source??`unknown`}:{ok:!1,error:`Gateway auth is not configured (no token or password).`}:{ok:!1,error:o.error??`Gateway URL unavailable.`}}function z(e){return new Promise(t=>{v.generate(e,{small:!0},e=>{t(e)})})}function B(e){let t=e.plugins?.entries?.[`device-pair`]?.config?.publicUrl;if(typeof t!=`string`)return;let n=t.trim();return n.length>0?n:void 0}function V(e,t){if(r(t))return!1;let n=e.gateway?.auth?.mode;if(n===`password`)return!0;if(n===`token`||n===`none`||n===`trusted-proxy`)return!1;let a=i(t),o=u(e.gateway?.auth?.token,e.secrets?.defaults);return!a&&!o}async function H(e){let t=await s({config:e,env:process.env,value:e.gateway?.auth?.password,path:`gateway.auth.password`});t&&e.gateway?.auth&&(e.gateway.auth.password=t)}function U(n,r){if(n.length===0)return;let i=r.json===!0||r.setupCodeOnly===!0;for(let r of n){let n=e.warn(`[secrets] ${r}`);i?t.error(n):t.log(n)}}function W(n){n.command(`qr`).description(`Generate an iOS pairing QR code and setup code`).addHelpText(`after`,()=>`\n${e.muted(`Docs:`)} ${g(`/cli/qr`,`docs.openclaw.ai/cli/qr`)}\n`).option(`--remote`,`Use gateway.remote.url and gateway.remote token/password (ignores device-pair publicUrl)`,!1).option(`--url <url>`,`Override gateway URL used in the setup payload`).option(`--public-url <url>`,`Override gateway public URL used in the setup payload`).option(`--token <token>`,`Override gateway token for setup payload`).option(`--password <password>`,`Override gateway password for setup payload`).option(`--setup-code-only`,`Print only the setup code`,!1).option(`--no-ascii`,`Skip ASCII QR rendering`).option(`--json`,`Output JSON`,!1).action(async n=>{try{if(n.token&&n.password)throw Error(`Use either --token or --password, not both.`);let r=typeof n.token==`string`?n.token.trim():``,i=typeof n.password==`string`?n.password.trim():``,a=n.remote===!0,o=c();if(a&&!n.url&&!n.publicUrl){let e=o.gateway?.tailscale?.mode??`off`,t=o.gateway?.remote?.url;if(!(typeof t==`string`&&t.trim().length>0)&&!(e===`serve`||e===`funnel`))throw Error(`qr --remote requires gateway.remote.url (or gateway.tailscale.mode=serve/funnel).`)}let s=o,l=[];if(a&&!r&&!i){let e=await h({config:o,commandName:`qr --remote`,targetIds:m()});s=e.resolvedConfig,l=e.diagnostics}let u={...s,gateway:{...s.gateway,auth:{...s.gateway?.auth}}};if(U(l,n),r&&(u.gateway.auth.mode=`token`,u.gateway.auth.token=r,u.gateway.auth.password=void 0),i&&(u.gateway.auth.mode=`password`,u.gateway.auth.password=i,u.gateway.auth.token=void 0),a&&!r&&!i){let e=typeof u.gateway?.remote?.token==`string`?u.gateway.remote.token.trim():``,t=typeof u.gateway?.remote?.password==`string`?u.gateway.remote.password.trim():``;e?(u.gateway.auth.mode=`token`,u.gateway.auth.token=e,u.gateway.auth.password=void 0):t&&(u.gateway.auth.mode=`password`,u.gateway.auth.password=t,u.gateway.auth.token=void 0)}!a&&!i&&!r&&V(u,process.env)&&await H(u);let d=await R(u,{publicUrl:(typeof n.url==`string`&&n.url.trim()?n.url.trim():typeof n.publicUrl==`string`&&n.publicUrl.trim()?n.publicUrl.trim():void 0)??(a?void 0:B(u)),preferRemoteUrl:a,runCommandWithTimeout:async(e,t)=>await p(e,{timeoutMs:t.timeoutMs})});if(!d.ok)throw Error(d.error);let f=L(d.payload);if(n.setupCodeOnly){t.log(f);return}if(n.json){t.log(JSON.stringify({setupCode:f,gatewayUrl:d.payload.url,auth:d.authLabel,urlSource:d.urlSource},null,2));return}let g=[e.heading(`Pairing QR`),`Scan this with the OpenClaw iOS app (Onboarding -> Scan QR).`,``];if(n.ascii!==!1){let e=await z(f);g.push(e.trimEnd(),``)}g.push(`${e.muted(`Setup code:`)} ${f}`,`${e.muted(`Gateway:`)} ${d.payload.url}`,`${e.muted(`Auth:`)} ${d.authLabel}`,`${e.muted(`Source:`)} ${d.urlSource}`,``,`Approve after scan with:`,` ${e.command(`openclaw devices list`)}`,` ${e.command(`openclaw devices approve <requestId>`)}`),t.log(g.join(`
|
|
2
2
|
`))}catch(e){t.error(String(e)),t.exit(1)}})}export{W as registerQrCli};
|
|
3
|
-
//# sourceMappingURL=qr-cli-D06YZurm.js.map
|
package/dist/qr-cli-ZtDsXyLO.js
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import{u as e}from"./paths-B4IRk3wi.js";import{A as t,p as n}from"./subsystem-C5XF2Fy5.js";import"./utils-UGOV_184.js";import{Ka as r,Sc as i,oo as a,qa as o,qs as s,so as c,wc as l}from"./model-selection-BLbnMb5E.js";import"./agent-scope-DXZc3eNT.js";import"./openclaw-root-D_0Q6--h.js";import{a as u,d,l as f}from"./types.secrets-C-5U96pc.js";import"./github-copilot-token-DGYAlOmV.js";import"./boolean-Ch3DfXPy.js";import"./env-D7wNuBx1.js";import"./env-overrides-DXJbFrwI.js";import"./registry-hFAtCSWG.js";import"./skills-CzUpDbU-.js";import"./frontmatter-BkZkwkVO.js";import"./plugins-CYLrFT4h.js";import"./logger-Bl8URnrW.js";import{t as p}from"./exec-DHqLtFYt.js";import"./windows-spawn-AB7ItGAE.js";import"./redact-3_CiXMY6.js";import"./path-alias-guards-mvyLCPlN.js";import"./errors-Bunti32V.js";import"./paths-yLEk_25I.js";import"./chat-envelope-HVpKusFc.js";import"./call-JB-cGR9n.js";import"./runtime-web-tools-C4F6aaRh.js";import{a as m,s as h}from"./command-secret-targets-CfXtLkLF.js";import{t as g}from"./links-CySwdMcF.js";import _ from"node:os";import v from"qrcode-terminal";function y(e){let t=e.bind??`loopback`;if(t===`custom`){let t=e.customBindHost?.trim();return t?{url:`${e.scheme}://${t}:${e.port}`,source:`gateway.bind=custom`}:{error:`gateway.bind=custom requires gateway.customBindHost.`}}if(t===`tailnet`){let t=e.pickTailnetHost();return t?{url:`${e.scheme}://${t}:${e.port}`,source:`gateway.bind=tailnet`}:{error:`gateway.bind=tailnet set, but no tailnet IP was found.`}}if(t===`lan`){let t=e.pickLanHost();return t?{url:`${e.scheme}://${t}:${e.port}`,source:`gateway.bind=lan`}:{error:`gateway.bind=lan set, but no private LAN IP was found.`}}return null}const b=[`tailscale`,`/Applications/Tailscale.app/Contents/MacOS/Tailscale`];function x(e){let t=e.indexOf(`{`),n=e.lastIndexOf(`}`);if(t===-1||n<=t)return{};try{return JSON.parse(e.slice(t,n+1))}catch{return{}}}function S(e){let t=x(e),n=typeof t.Self==`object`&&t.Self!==null?t.Self:void 0,r=typeof n?.DNSName==`string`?n.DNSName:void 0;if(r&&r.length>0)return r.replace(/\.$/,``);let i=Array.isArray(n?.TailscaleIPs)?n.TailscaleIPs:[];return i.length>0?i[0]??null:null}async function C(e){if(!e)return null;for(let t of b)try{let n=await e([t,`status`,`--json`],{timeoutMs:5e3});if(n.code!==0)continue;let r=n.stdout.trim();if(!r)continue;let i=S(r);if(i)return i}catch{continue}return null}function w(e,t){let n=e.trim();if(!n)return null;try{let e=new URL(n),t=e.protocol.replace(`:`,``);if(!t)return null;let r=t===`http`?`ws`:t===`https`?`wss`:t;if(r!==`ws`&&r!==`wss`)return null;let i=e.hostname;return i?`${r}://${i}${e.port?`:${e.port}`:``}`:null}catch{}let r=n.split(`/`)[0]??``;return r?`${t}://${r}`:null}function T(e,t){return t?.forceSecure||e.gateway?.tls?.enabled===!0?`wss`:`ws`}function E(e){return l(e)}function D(e){return i(e)}function O(e,t){let n=e();for(let e of Object.values(n))if(e)for(let n of e){let e=n?.family===`IPv4`;if(!n||n.internal||!e)continue;let r=n.address?.trim()??``;if(r&&t(r))return r}return null}function k(e){return O(e,E)}function A(e){return O(e,D)}function j(e){return e.OPENCLAW_GATEWAY_TOKEN?.trim()||e.CLAWDBOT_GATEWAY_TOKEN?.trim()||void 0}function M(e){return e.OPENCLAW_GATEWAY_PASSWORD?.trim()||e.CLAWDBOT_GATEWAY_PASSWORD?.trim()||void 0}function N(e,t){let n=e.gateway?.auth?.mode,r=e.secrets?.defaults,i=d({value:e.gateway?.auth?.token,defaults:r}).ref,a=d({value:e.gateway?.auth?.password,defaults:r}).ref,o=j(t),s=M(t),c=o||(i?void 0:f(e.gateway?.auth?.token)),l=s||(a?void 0:f(e.gateway?.auth?.password));return n===`password`?l?{password:l,label:`password`}:{error:`Gateway auth is set to password, but no password is configured.`}:n===`token`?c?{token:c,label:`token`}:{error:`Gateway auth is set to token, but no token is configured.`}:c?{token:c,label:`token`}:l?{password:l,label:`password`}:{error:`Gateway auth is not configured (no token or password).`}}async function P(e,t){if(j(t))return e;let n=e.gateway?.auth?.mode;if(n===`password`||n===`none`||n===`trusted-proxy`||n!==`token`&&(t.OPENCLAW_GATEWAY_PASSWORD?.trim()||t.CLAWDBOT_GATEWAY_PASSWORD?.trim()))return e;let i=await r({config:e,env:t,value:e.gateway?.auth?.token,path:`gateway.auth.token`});return i?{...e,gateway:{...e.gateway,auth:{...e.gateway?.auth,token:i}}}:e}async function F(e,t){if(M(t))return e;let n=e.gateway?.auth?.mode;if(n===`token`||n===`none`||n===`trusted-proxy`||n!==`password`&&(j(t)||u(e.gateway?.auth?.token,e.secrets?.defaults)))return e;let i=await r({config:e,env:t,value:e.gateway?.auth?.password,path:`gateway.auth.password`});return i?{...e,gateway:{...e.gateway,auth:{...e.gateway?.auth,password:i}}}:e}async function I(t,n){let r=T(t,{forceSecure:n.forceSecure}),i=e(t,n.env);if(typeof n.publicUrl==`string`&&n.publicUrl.trim()){let e=w(n.publicUrl,r);return e?{url:e,source:`plugins.entries.device-pair.config.publicUrl`}:{error:`Configured publicUrl is invalid.`}}let a=t.gateway?.remote?.url,o=typeof a==`string`&&a.trim()?w(a,r):null;if(n.preferRemoteUrl&&o)return{url:o,source:`gateway.remote.url`};let s=t.gateway?.tailscale?.mode??`off`;if(s===`serve`||s===`funnel`){let e=await C(n.runCommandWithTimeout);return e?{url:`wss://${e}`,source:`gateway.tailscale.mode=${s}`}:{error:`Tailscale Serve is enabled, but MagicDNS could not be resolved.`}}return o?{url:o,source:`gateway.remote.url`}:y({bind:t.gateway?.bind,customBindHost:t.gateway?.customBindHost,scheme:r,port:i,pickTailnetHost:()=>A(n.networkInterfaces),pickLanHost:()=>k(n.networkInterfaces)})||{error:`Gateway is only bound to loopback. Set gateway.bind=lan, enable tailscale serve, or configure plugins.entries.device-pair.config.publicUrl.`}}function L(e){let t=JSON.stringify(e);return Buffer.from(t,`utf8`).toString(`base64`).replace(/\+/g,`-`).replace(/\//g,`_`).replace(/=+$/g,``)}async function R(e,t={}){o(e);let n=t.env??process.env,r=await F(await P(e,n),n),i=N(r,n);if(i.error)return{ok:!1,error:i.error};let a=await I(r,{env:n,publicUrl:t.publicUrl,preferRemoteUrl:t.preferRemoteUrl,forceSecure:t.forceSecure,runCommandWithTimeout:t.runCommandWithTimeout,networkInterfaces:t.networkInterfaces??_.networkInterfaces});return a.url?i.label?{ok:!0,payload:{url:a.url,token:i.token,password:i.password},authLabel:i.label,urlSource:a.source??`unknown`}:{ok:!1,error:`Gateway auth is not configured (no token or password).`}:{ok:!1,error:a.error??`Gateway URL unavailable.`}}function z(e){return new Promise(t=>{v.generate(e,{small:!0},e=>{t(e)})})}function B(e){let t=e.plugins?.entries?.[`device-pair`]?.config?.publicUrl;if(typeof t!=`string`)return;let n=t.trim();return n.length>0?n:void 0}function V(e,t){if(a(t))return!1;let n=e.gateway?.auth?.mode;if(n===`password`)return!0;if(n===`token`||n===`none`||n===`trusted-proxy`)return!1;let r=c(t),i=u(e.gateway?.auth?.token,e.secrets?.defaults);return!r&&!i}async function H(e){let t=await r({config:e,env:process.env,value:e.gateway?.auth?.password,path:`gateway.auth.password`});t&&e.gateway?.auth&&(e.gateway.auth.password=t)}function U(e,r){if(e.length===0)return;let i=r.json===!0||r.setupCodeOnly===!0;for(let r of e){let e=t.warn(`[secrets] ${r}`);i?n.error(e):n.log(e)}}function W(e){e.command(`qr`).description(`Generate an iOS pairing QR code and setup code`).addHelpText(`after`,()=>`\n${t.muted(`Docs:`)} ${g(`/cli/qr`,`docs.openclaw.ai/cli/qr`)}\n`).option(`--remote`,`Use gateway.remote.url and gateway.remote token/password (ignores device-pair publicUrl)`,!1).option(`--url <url>`,`Override gateway URL used in the setup payload`).option(`--public-url <url>`,`Override gateway public URL used in the setup payload`).option(`--token <token>`,`Override gateway token for setup payload`).option(`--password <password>`,`Override gateway password for setup payload`).option(`--setup-code-only`,`Print only the setup code`,!1).option(`--no-ascii`,`Skip ASCII QR rendering`).option(`--json`,`Output JSON`,!1).action(async e=>{try{if(e.token&&e.password)throw Error(`Use either --token or --password, not both.`);let r=typeof e.token==`string`?e.token.trim():``,i=typeof e.password==`string`?e.password.trim():``,a=e.remote===!0,o=s();if(a&&!e.url&&!e.publicUrl){let e=o.gateway?.tailscale?.mode??`off`,t=o.gateway?.remote?.url;if(!(typeof t==`string`&&t.trim().length>0)&&!(e===`serve`||e===`funnel`))throw Error(`qr --remote requires gateway.remote.url (or gateway.tailscale.mode=serve/funnel).`)}let c=o,l=[];if(a&&!r&&!i){let e=await h({config:o,commandName:`qr --remote`,targetIds:m()});c=e.resolvedConfig,l=e.diagnostics}let u={...c,gateway:{...c.gateway,auth:{...c.gateway?.auth}}};if(U(l,e),r&&(u.gateway.auth.mode=`token`,u.gateway.auth.token=r,u.gateway.auth.password=void 0),i&&(u.gateway.auth.mode=`password`,u.gateway.auth.password=i,u.gateway.auth.token=void 0),a&&!r&&!i){let e=typeof u.gateway?.remote?.token==`string`?u.gateway.remote.token.trim():``,t=typeof u.gateway?.remote?.password==`string`?u.gateway.remote.password.trim():``;e?(u.gateway.auth.mode=`token`,u.gateway.auth.token=e,u.gateway.auth.password=void 0):t&&(u.gateway.auth.mode=`password`,u.gateway.auth.password=t,u.gateway.auth.token=void 0)}!a&&!i&&!r&&V(u,process.env)&&await H(u);let d=await R(u,{publicUrl:(typeof e.url==`string`&&e.url.trim()?e.url.trim():typeof e.publicUrl==`string`&&e.publicUrl.trim()?e.publicUrl.trim():void 0)??(a?void 0:B(u)),preferRemoteUrl:a,runCommandWithTimeout:async(e,t)=>await p(e,{timeoutMs:t.timeoutMs})});if(!d.ok)throw Error(d.error);let f=L(d.payload);if(e.setupCodeOnly){n.log(f);return}if(e.json){n.log(JSON.stringify({setupCode:f,gatewayUrl:d.payload.url,auth:d.authLabel,urlSource:d.urlSource},null,2));return}let g=[t.heading(`Pairing QR`),`Scan this with the OpenClaw iOS app (Onboarding -> Scan QR).`,``];if(e.ascii!==!1){let e=await z(f);g.push(e.trimEnd(),``)}g.push(`${t.muted(`Setup code:`)} ${f}`,`${t.muted(`Gateway:`)} ${d.payload.url}`,`${t.muted(`Auth:`)} ${d.authLabel}`,`${t.muted(`Source:`)} ${d.urlSource}`,``,`Approve after scan with:`,` ${t.command(`openclaw devices list`)}`,` ${t.command(`openclaw devices approve <requestId>`)}`),n.log(g.join(`
|
|
2
2
|
`))}catch(e){n.error(String(e)),n.exit(1)}})}export{W as registerQrCli};
|
|
3
|
-
//# sourceMappingURL=qr-cli-ZtDsXyLO.js.map
|
|
@@ -4,4 +4,3 @@ import{t as e}from"./subsystem-C5XF2Fy5.js";import{r as t,w as n}from"./windows-
|
|
|
4
4
|
`),i=[],a=[];for(let e=0;e<n.length;e++){let t=n[e];if(!t.trim())continue;let o;try{o=JSON.parse(t)}catch{continue}if(!o||typeof o!=`object`||o.type!==`message`)continue;let s=o.message;if(!s||typeof s.role!=`string`||s.role!==`user`&&s.role!==`assistant`)continue;let c=re(s.content);if(!c)continue;let l=r(c,{mode:`tools`}),u=s.role===`user`?`User`:`Assistant`;i.push(`${u}: ${l}`),a.push(e+1)}let o=i.join(`
|
|
5
5
|
`);return{path:G(e),absPath:e,mtimeMs:t.mtimeMs,size:t.size,hash:P(o+`
|
|
6
6
|
`+a.join(`,`)),content:o,lineMap:a}}catch(t){return U.debug(`Failed reading session file ${e}: ${String(t)}`),null}}const J=Symbol.for(`openclaw.warning-filter`);function Y(e){return!!(e.code===`DEP0040`&&e.message?.includes(`punycode`)||e.code===`DEP0060`&&e.message?.includes(`util._extend`)||e.name===`ExperimentalWarning`&&e.message?.includes(`SQLite is an experimental feature`))}function X(e){let t=e[0],n=e[1],r=e[2],i,a,o;if(t instanceof Error?(i=t.name,o=t.message,a=t.code):typeof t==`string`&&(o=t),n&&typeof n==`object`&&!Array.isArray(n)){let e=n;typeof e.type==`string`&&(i=e.type),typeof e.code==`string`&&(a=e.code)}else typeof n==`string`&&(i=n),typeof r==`string`&&(a=r);return{name:i,code:a,message:o}}function ie(){let e=globalThis;if(e[J]?.installed)return;let t=process.emitWarning.bind(process),n=((...e)=>{if(!Y(X(e)))return Reflect.apply(t,process,e)});process.emitWarning=n,e[J]={installed:!0}}const ae=a(import.meta.url);function oe(){ie();try{return ae(`node:sqlite`)}catch(e){let t=e instanceof Error?e.message:String(e);throw Error(`SQLite support is unavailable in this Node runtime (missing node:sqlite). ${t}`,{cause:e})}}const se=new Set(`a.an.the.this.that.these.those.i.me.my.we.our.you.your.he.she.it.they.them.is.are.was.were.be.been.being.have.has.had.do.does.did.will.would.could.should.can.may.might.in.on.at.to.for.of.with.by.from.about.into.through.during.before.after.above.below.between.under.over.and.or.but.if.then.because.as.while.when.where.what.which.who.how.why.yesterday.today.tomorrow.earlier.later.recently.before.ago.just.now.thing.things.stuff.something.anything.everything.nothing.please.help.find.show.get.tell.give`.split(`.`)),ce=new Set(`el.la.los.las.un.una.unos.unas.este.esta.ese.esa.yo.me.mi.nosotros.nosotras.tu.tus.usted.ustedes.ellos.ellas.de.del.a.en.con.por.para.sobre.entre.y.o.pero.si.porque.como.es.son.fue.fueron.ser.estar.haber.tener.hacer.ayer.hoy.mañana.antes.despues.después.ahora.recientemente.que.qué.cómo.cuando.cuándo.donde.dónde.porqué.favor.ayuda`.split(`.`)),le=new Set(`o.a.os.as.um.uma.uns.umas.este.esta.esse.essa.eu.me.meu.minha.nos.nós.você.vocês.ele.ela.eles.elas.de.do.da.em.com.por.para.sobre.entre.e.ou.mas.se.porque.como.é.são.foi.foram.ser.estar.ter.fazer.ontem.hoje.amanhã.antes.depois.agora.recentemente.que.quê.quando.onde.porquê.favor.ajuda`.split(`.`)),ue=new Set(`ال.و.أو.لكن.ثم.بل.أنا.نحن.هو.هي.هم.هذا.هذه.ذلك.تلك.هنا.هناك.من.إلى.الى.في.على.عن.مع.بين.ل.ب.ك.كان.كانت.يكون.تكون.صار.أصبح.يمكن.ممكن.بالأمس.امس.اليوم.غدا.الآن.قبل.بعد.مؤخرا.لماذا.كيف.ماذا.متى.أين.هل.من فضلك.فضلا.ساعد`.split(`.`)),Z=new Set(`은.는.이.가.을.를.의.에.에서.로.으로.와.과.도.만.까지.부터.한테.에게.께.처럼.같이.보다.마다.밖에.대로.나.나는.내가.나를.너.우리.저.저희.그.그녀.그들.이것.저것.그것.여기.저기.거기.있다.없다.하다.되다.이다.아니다.보다.주다.오다.가다.것.거.등.수.때.곳.중.분.잘.더.또.매우.정말.아주.많이.너무.좀.그리고.하지만.그래서.그런데.그러나.또는.그러면.왜.어떻게.뭐.언제.어디.누구.무엇.어떤.어제.오늘.내일.최근.지금.아까.나중.전에.제발.부탁`.split(`.`)),de=[`에서`,`으로`,`에게`,`한테`,`처럼`,`같이`,`보다`,`까지`,`부터`,`마다`,`밖에`,`대로`,`은`,`는`,`이`,`가`,`을`,`를`,`의`,`에`,`로`,`와`,`과`,`도`,`만`].toSorted((e,t)=>t.length-e.length);function fe(e){for(let t of de)if(e.length>t.length&&e.endsWith(t))return e.slice(0,-t.length);return null}function pe(e){return/[\uac00-\ud7af]/.test(e)?e.length>=2:/^[a-z0-9_]+$/i.test(e)}const me=new Set(`これ.それ.あれ.この.その.あの.ここ.そこ.あそこ.する.した.して.です.ます.いる.ある.なる.できる.の.こと.もの.ため.そして.しかし.また.でも.から.まで.より.だけ.なぜ.どう.何.いつ.どこ.誰.どれ.昨日.今日.明日.最近.今.さっき.前.後`.split(`.`)),Q=new Set(`我.我们.你.你们.他.她.它.他们.这.那.这个.那个.这些.那些.的.了.着.过.得.地.吗.呢.吧.啊.呀.嘛.啦.是.有.在.被.把.给.让.用.到.去.来.做.说.看.找.想.要.能.会.可以.和.与.或.但.但是.因为.所以.如果.虽然.而.也.都.就.还.又.再.才.只.之前.以前.之后.以后.刚才.现在.昨天.今天.明天.最近.东西.事情.事.什么.哪个.哪些.怎么.为什么.多少.请.帮.帮忙.告诉`.split(`.`));function $(e){return se.has(e)||ce.has(e)||le.has(e)||ue.has(e)||Q.has(e)||Z.has(e)||me.has(e)}function he(e){return!(!e||e.length===0||/^[a-zA-Z]+$/.test(e)&&e.length<3||/^\d+$/.test(e)||/^[\p{P}\p{S}]+$/u.test(e))}function ge(e){let t=[],n=e.toLowerCase().trim().split(/[\s\p{P}]+/u).filter(Boolean);for(let e of n)if(/[\u3040-\u30ff]/.test(e)){let n=e.match(/[a-z0-9_]+|[\u30a0-\u30ffー]+|[\u4e00-\u9fff]+|[\u3040-\u309f]{2,}/g)??[];for(let e of n)if(/^[\u4e00-\u9fff]+$/.test(e)){t.push(e);for(let n=0;n<e.length-1;n++)t.push(e[n]+e[n+1])}else t.push(e)}else if(/[\u4e00-\u9fff]/.test(e)){let n=Array.from(e).filter(e=>/[\u4e00-\u9fff]/.test(e));t.push(...n);for(let e=0;e<n.length-1;e++)t.push(n[e]+n[e+1])}else if(/[\uac00-\ud7af\u3131-\u3163]/.test(e)){let n=fe(e),r=n!==null&&Z.has(n);!Z.has(e)&&!r&&t.push(e),n&&!Z.has(n)&&pe(n)&&t.push(n)}else t.push(e);return t}function _e(e){let t=ge(e),n=[],r=new Set;for(let e of t)$(e)||he(e)&&(r.has(e)||(r.add(e),n.push(e)));return n}export{y as A,b as C,h as D,v as E,m as O,w as S,_ as T,z as _,W as a,C as b,L as c,D as d,P as f,B as g,k as h,q as i,p as k,R as l,N as m,$ as n,G as o,A as p,oe as r,F as s,_e as t,V as u,H as v,x as w,S as x,ne as y};
|
|
7
|
-
//# sourceMappingURL=query-expansion-0OxEb1Io.js.map
|
|
@@ -4,4 +4,3 @@ import{L as e,N as t,o as n,u as r}from"./paths-CrCoPIVK.js";import{t as i}from"
|
|
|
4
4
|
`),i=[],a=[];for(let e=0;e<r.length;e++){let n=r[e];if(!n.trim())continue;let o;try{o=JSON.parse(n)}catch{continue}if(!o||typeof o!=`object`||o.type!==`message`)continue;let s=o.message;if(!s||typeof s.role!=`string`||s.role!==`user`&&s.role!==`assistant`)continue;let c=re(s.content);if(!c)continue;let l=t(c,{mode:`tools`}),u=s.role===`user`?`User`:`Assistant`;i.push(`${u}: ${l}`),a.push(e+1)}let s=i.join(`
|
|
5
5
|
`);return{path:G(e),absPath:e,mtimeMs:n.mtimeMs,size:n.size,hash:P(s+`
|
|
6
6
|
`+a.join(`,`)),content:s,lineMap:a}}catch(t){return U.debug(`Failed reading session file ${e}: ${String(t)}`),null}}const J=Symbol.for(`openclaw.warning-filter`);function Y(e){return!!(e.code===`DEP0040`&&e.message?.includes(`punycode`)||e.code===`DEP0060`&&e.message?.includes(`util._extend`)||e.name===`ExperimentalWarning`&&e.message?.includes(`SQLite is an experimental feature`))}function X(e){let t=e[0],n=e[1],r=e[2],i,a,o;if(t instanceof Error?(i=t.name,o=t.message,a=t.code):typeof t==`string`&&(o=t),n&&typeof n==`object`&&!Array.isArray(n)){let e=n;typeof e.type==`string`&&(i=e.type),typeof e.code==`string`&&(a=e.code)}else typeof n==`string`&&(i=n),typeof r==`string`&&(a=r);return{name:i,code:a,message:o}}function ie(){let e=globalThis;if(e[J]?.installed)return;let t=process.emitWarning.bind(process),n=((...e)=>{if(!Y(X(e)))return Reflect.apply(t,process,e)});process.emitWarning=n,e[J]={installed:!0}}const ae=a(import.meta.url);function oe(){ie();try{return ae(`node:sqlite`)}catch(e){let t=e instanceof Error?e.message:String(e);throw Error(`SQLite support is unavailable in this Node runtime (missing node:sqlite). ${t}`,{cause:e})}}const se=new Set(`a.an.the.this.that.these.those.i.me.my.we.our.you.your.he.she.it.they.them.is.are.was.were.be.been.being.have.has.had.do.does.did.will.would.could.should.can.may.might.in.on.at.to.for.of.with.by.from.about.into.through.during.before.after.above.below.between.under.over.and.or.but.if.then.because.as.while.when.where.what.which.who.how.why.yesterday.today.tomorrow.earlier.later.recently.before.ago.just.now.thing.things.stuff.something.anything.everything.nothing.please.help.find.show.get.tell.give`.split(`.`)),ce=new Set(`el.la.los.las.un.una.unos.unas.este.esta.ese.esa.yo.me.mi.nosotros.nosotras.tu.tus.usted.ustedes.ellos.ellas.de.del.a.en.con.por.para.sobre.entre.y.o.pero.si.porque.como.es.son.fue.fueron.ser.estar.haber.tener.hacer.ayer.hoy.mañana.antes.despues.después.ahora.recientemente.que.qué.cómo.cuando.cuándo.donde.dónde.porqué.favor.ayuda`.split(`.`)),le=new Set(`o.a.os.as.um.uma.uns.umas.este.esta.esse.essa.eu.me.meu.minha.nos.nós.você.vocês.ele.ela.eles.elas.de.do.da.em.com.por.para.sobre.entre.e.ou.mas.se.porque.como.é.são.foi.foram.ser.estar.ter.fazer.ontem.hoje.amanhã.antes.depois.agora.recentemente.que.quê.quando.onde.porquê.favor.ajuda`.split(`.`)),ue=new Set(`ال.و.أو.لكن.ثم.بل.أنا.نحن.هو.هي.هم.هذا.هذه.ذلك.تلك.هنا.هناك.من.إلى.الى.في.على.عن.مع.بين.ل.ب.ك.كان.كانت.يكون.تكون.صار.أصبح.يمكن.ممكن.بالأمس.امس.اليوم.غدا.الآن.قبل.بعد.مؤخرا.لماذا.كيف.ماذا.متى.أين.هل.من فضلك.فضلا.ساعد`.split(`.`)),Z=new Set(`은.는.이.가.을.를.의.에.에서.로.으로.와.과.도.만.까지.부터.한테.에게.께.처럼.같이.보다.마다.밖에.대로.나.나는.내가.나를.너.우리.저.저희.그.그녀.그들.이것.저것.그것.여기.저기.거기.있다.없다.하다.되다.이다.아니다.보다.주다.오다.가다.것.거.등.수.때.곳.중.분.잘.더.또.매우.정말.아주.많이.너무.좀.그리고.하지만.그래서.그런데.그러나.또는.그러면.왜.어떻게.뭐.언제.어디.누구.무엇.어떤.어제.오늘.내일.최근.지금.아까.나중.전에.제발.부탁`.split(`.`)),de=[`에서`,`으로`,`에게`,`한테`,`처럼`,`같이`,`보다`,`까지`,`부터`,`마다`,`밖에`,`대로`,`은`,`는`,`이`,`가`,`을`,`를`,`의`,`에`,`로`,`와`,`과`,`도`,`만`].toSorted((e,t)=>t.length-e.length);function fe(e){for(let t of de)if(e.length>t.length&&e.endsWith(t))return e.slice(0,-t.length);return null}function pe(e){return/[\uac00-\ud7af]/.test(e)?e.length>=2:/^[a-z0-9_]+$/i.test(e)}const me=new Set(`これ.それ.あれ.この.その.あの.ここ.そこ.あそこ.する.した.して.です.ます.いる.ある.なる.できる.の.こと.もの.ため.そして.しかし.また.でも.から.まで.より.だけ.なぜ.どう.何.いつ.どこ.誰.どれ.昨日.今日.明日.最近.今.さっき.前.後`.split(`.`)),Q=new Set(`我.我们.你.你们.他.她.它.他们.这.那.这个.那个.这些.那些.的.了.着.过.得.地.吗.呢.吧.啊.呀.嘛.啦.是.有.在.被.把.给.让.用.到.去.来.做.说.看.找.想.要.能.会.可以.和.与.或.但.但是.因为.所以.如果.虽然.而.也.都.就.还.又.再.才.只.之前.以前.之后.以后.刚才.现在.昨天.今天.明天.最近.东西.事情.事.什么.哪个.哪些.怎么.为什么.多少.请.帮.帮忙.告诉`.split(`.`));function $(e){return se.has(e)||ce.has(e)||le.has(e)||ue.has(e)||Q.has(e)||Z.has(e)||me.has(e)}function he(e){return!(!e||e.length===0||/^[a-zA-Z]+$/.test(e)&&e.length<3||/^\d+$/.test(e)||/^[\p{P}\p{S}]+$/u.test(e))}function ge(e){let t=[],n=e.toLowerCase().trim().split(/[\s\p{P}]+/u).filter(Boolean);for(let e of n)if(/[\u3040-\u30ff]/.test(e)){let n=e.match(/[a-z0-9_]+|[\u30a0-\u30ffー]+|[\u4e00-\u9fff]+|[\u3040-\u309f]{2,}/g)??[];for(let e of n)if(/^[\u4e00-\u9fff]+$/.test(e)){t.push(e);for(let n=0;n<e.length-1;n++)t.push(e[n]+e[n+1])}else t.push(e)}else if(/[\u4e00-\u9fff]/.test(e)){let n=Array.from(e).filter(e=>/[\u4e00-\u9fff]/.test(e));t.push(...n);for(let e=0;e<n.length-1;e++)t.push(n[e]+n[e+1])}else if(/[\uac00-\ud7af\u3131-\u3163]/.test(e)){let n=fe(e),r=n!==null&&Z.has(n);!Z.has(e)&&!r&&t.push(e),n&&!Z.has(n)&&pe(n)&&t.push(n)}else t.push(e);return t}function _e(e){let t=ge(e),n=[],r=new Set;for(let e of t)$(e)||he(e)&&(r.has(e)||(r.add(e),n.push(e)));return n}export{y as A,b as C,h as D,v as E,m as O,w as S,_ as T,z as _,W as a,C as b,L as c,D as d,P as f,B as g,k as h,q as i,p as k,R as l,N as m,$ as n,G as o,A as p,oe as r,F as s,_e as t,V as u,H as v,x as w,S as x,ne as y};
|
|
7
|
-
//# sourceMappingURL=query-expansion-BUUx_oWg.js.map
|
|
@@ -4,4 +4,3 @@ import{L as e,N as t,o as n,u as r}from"./paths-piJASC5k.js";import{O as i}from"
|
|
|
4
4
|
`),i=[],a=[];for(let e=0;e<r.length;e++){let n=r[e];if(!n.trim())continue;let o;try{o=JSON.parse(n)}catch{continue}if(!o||typeof o!=`object`||o.type!==`message`)continue;let s=o.message;if(!s||typeof s.role!=`string`||s.role!==`user`&&s.role!==`assistant`)continue;let c=re(s.content);if(!c)continue;let l=t(c,{mode:`tools`}),u=s.role===`user`?`User`:`Assistant`;i.push(`${u}: ${l}`),a.push(e+1)}let o=i.join(`
|
|
5
5
|
`);return{path:G(e),absPath:e,mtimeMs:n.mtimeMs,size:n.size,hash:P(o+`
|
|
6
6
|
`+a.join(`,`)),content:o,lineMap:a}}catch(t){return U.debug(`Failed reading session file ${e}: ${String(t)}`),null}}const J=Symbol.for(`openclaw.warning-filter`);function Y(e){return!!(e.code===`DEP0040`&&e.message?.includes(`punycode`)||e.code===`DEP0060`&&e.message?.includes(`util._extend`)||e.name===`ExperimentalWarning`&&e.message?.includes(`SQLite is an experimental feature`))}function X(e){let t=e[0],n=e[1],r=e[2],i,a,o;if(t instanceof Error?(i=t.name,o=t.message,a=t.code):typeof t==`string`&&(o=t),n&&typeof n==`object`&&!Array.isArray(n)){let e=n;typeof e.type==`string`&&(i=e.type),typeof e.code==`string`&&(a=e.code)}else typeof n==`string`&&(i=n),typeof r==`string`&&(a=r);return{name:i,code:a,message:o}}function ie(){let e=globalThis;if(e[J]?.installed)return;let t=process.emitWarning.bind(process),n=((...e)=>{if(!Y(X(e)))return Reflect.apply(t,process,e)});process.emitWarning=n,e[J]={installed:!0}}const ae=a(import.meta.url);function oe(){ie();try{return ae(`node:sqlite`)}catch(e){let t=e instanceof Error?e.message:String(e);throw Error(`SQLite support is unavailable in this Node runtime (missing node:sqlite). ${t}`,{cause:e})}}const se=new Set(`a.an.the.this.that.these.those.i.me.my.we.our.you.your.he.she.it.they.them.is.are.was.were.be.been.being.have.has.had.do.does.did.will.would.could.should.can.may.might.in.on.at.to.for.of.with.by.from.about.into.through.during.before.after.above.below.between.under.over.and.or.but.if.then.because.as.while.when.where.what.which.who.how.why.yesterday.today.tomorrow.earlier.later.recently.before.ago.just.now.thing.things.stuff.something.anything.everything.nothing.please.help.find.show.get.tell.give`.split(`.`)),ce=new Set(`el.la.los.las.un.una.unos.unas.este.esta.ese.esa.yo.me.mi.nosotros.nosotras.tu.tus.usted.ustedes.ellos.ellas.de.del.a.en.con.por.para.sobre.entre.y.o.pero.si.porque.como.es.son.fue.fueron.ser.estar.haber.tener.hacer.ayer.hoy.mañana.antes.despues.después.ahora.recientemente.que.qué.cómo.cuando.cuándo.donde.dónde.porqué.favor.ayuda`.split(`.`)),le=new Set(`o.a.os.as.um.uma.uns.umas.este.esta.esse.essa.eu.me.meu.minha.nos.nós.você.vocês.ele.ela.eles.elas.de.do.da.em.com.por.para.sobre.entre.e.ou.mas.se.porque.como.é.são.foi.foram.ser.estar.ter.fazer.ontem.hoje.amanhã.antes.depois.agora.recentemente.que.quê.quando.onde.porquê.favor.ajuda`.split(`.`)),ue=new Set(`ال.و.أو.لكن.ثم.بل.أنا.نحن.هو.هي.هم.هذا.هذه.ذلك.تلك.هنا.هناك.من.إلى.الى.في.على.عن.مع.بين.ل.ب.ك.كان.كانت.يكون.تكون.صار.أصبح.يمكن.ممكن.بالأمس.امس.اليوم.غدا.الآن.قبل.بعد.مؤخرا.لماذا.كيف.ماذا.متى.أين.هل.من فضلك.فضلا.ساعد`.split(`.`)),Z=new Set(`은.는.이.가.을.를.의.에.에서.로.으로.와.과.도.만.까지.부터.한테.에게.께.처럼.같이.보다.마다.밖에.대로.나.나는.내가.나를.너.우리.저.저희.그.그녀.그들.이것.저것.그것.여기.저기.거기.있다.없다.하다.되다.이다.아니다.보다.주다.오다.가다.것.거.등.수.때.곳.중.분.잘.더.또.매우.정말.아주.많이.너무.좀.그리고.하지만.그래서.그런데.그러나.또는.그러면.왜.어떻게.뭐.언제.어디.누구.무엇.어떤.어제.오늘.내일.최근.지금.아까.나중.전에.제발.부탁`.split(`.`)),de=[`에서`,`으로`,`에게`,`한테`,`처럼`,`같이`,`보다`,`까지`,`부터`,`마다`,`밖에`,`대로`,`은`,`는`,`이`,`가`,`을`,`를`,`의`,`에`,`로`,`와`,`과`,`도`,`만`].toSorted((e,t)=>t.length-e.length);function fe(e){for(let t of de)if(e.length>t.length&&e.endsWith(t))return e.slice(0,-t.length);return null}function pe(e){return/[\uac00-\ud7af]/.test(e)?e.length>=2:/^[a-z0-9_]+$/i.test(e)}const me=new Set(`これ.それ.あれ.この.その.あの.ここ.そこ.あそこ.する.した.して.です.ます.いる.ある.なる.できる.の.こと.もの.ため.そして.しかし.また.でも.から.まで.より.だけ.なぜ.どう.何.いつ.どこ.誰.どれ.昨日.今日.明日.最近.今.さっき.前.後`.split(`.`)),Q=new Set(`我.我们.你.你们.他.她.它.他们.这.那.这个.那个.这些.那些.的.了.着.过.得.地.吗.呢.吧.啊.呀.嘛.啦.是.有.在.被.把.给.让.用.到.去.来.做.说.看.找.想.要.能.会.可以.和.与.或.但.但是.因为.所以.如果.虽然.而.也.都.就.还.又.再.才.只.之前.以前.之后.以后.刚才.现在.昨天.今天.明天.最近.东西.事情.事.什么.哪个.哪些.怎么.为什么.多少.请.帮.帮忙.告诉`.split(`.`));function $(e){return se.has(e)||ce.has(e)||le.has(e)||ue.has(e)||Q.has(e)||Z.has(e)||me.has(e)}function he(e){return!(!e||e.length===0||/^[a-zA-Z]+$/.test(e)&&e.length<3||/^\d+$/.test(e)||/^[\p{P}\p{S}]+$/u.test(e))}function ge(e){let t=[],n=e.toLowerCase().trim().split(/[\s\p{P}]+/u).filter(Boolean);for(let e of n)if(/[\u3040-\u30ff]/.test(e)){let n=e.match(/[a-z0-9_]+|[\u30a0-\u30ffー]+|[\u4e00-\u9fff]+|[\u3040-\u309f]{2,}/g)??[];for(let e of n)if(/^[\u4e00-\u9fff]+$/.test(e)){t.push(e);for(let n=0;n<e.length-1;n++)t.push(e[n]+e[n+1])}else t.push(e)}else if(/[\u4e00-\u9fff]/.test(e)){let n=Array.from(e).filter(e=>/[\u4e00-\u9fff]/.test(e));t.push(...n);for(let e=0;e<n.length-1;e++)t.push(n[e]+n[e+1])}else if(/[\uac00-\ud7af\u3131-\u3163]/.test(e)){let n=fe(e),r=n!==null&&Z.has(n);!Z.has(e)&&!r&&t.push(e),n&&!Z.has(n)&&pe(n)&&t.push(n)}else t.push(e);return t}function _e(e){let t=ge(e),n=[],r=new Set;for(let e of t)$(e)||he(e)&&(r.has(e)||(r.add(e),n.push(e)));return n}export{y as A,b as C,h as D,v as E,m as O,w as S,_ as T,z as _,W as a,C as b,L as c,D as d,P as f,B as g,k as h,q as i,p as k,R as l,N as m,$ as n,G as o,A as p,oe as r,F as s,_e as t,V as u,H as v,x as w,S as x,ne as y};
|
|
7
|
-
//# sourceMappingURL=query-expansion-r_iXkNzt.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
1
|
const e=new Set([`off`,`ack`,`minimal`,`extensive`]);function t(t){if(t==null)return{kind:`missing`};if(typeof t!=`string`)return{kind:`invalid`};let n=t.trim();return n?e.has(n)?{kind:`ok`,value:n}:{kind:`invalid`}:{kind:`missing`}}function n(e){let n=t(e.value);switch(n.kind===`ok`?n.value:n.kind===`missing`?e.defaultLevel:e.invalidFallback){case`off`:return{level:`off`,ackEnabled:!1,agentReactionsEnabled:!1};case`ack`:return{level:`ack`,ackEnabled:!0,agentReactionsEnabled:!1};case`minimal`:return{level:`minimal`,ackEnabled:!1,agentReactionsEnabled:!0,agentReactionGuidance:`minimal`};case`extensive`:return{level:`extensive`,ackEnabled:!1,agentReactionsEnabled:!0,agentReactionGuidance:`extensive`};default:return{level:`minimal`,ackEnabled:!1,agentReactionsEnabled:!0,agentReactionGuidance:`minimal`}}}export{n as t};
|
|
2
|
-
//# sourceMappingURL=reaction-level-DVPHL14p.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
1
|
import"node:fs/promises";var e=class extends Error{constructor(e){super(e),this.status=400,this.name=`ToolInputError`}};function t(e){return(t,n=!0)=>{let r=e?.[t];return r===void 0?n:r!==!1}}function n(e){return e.replace(/([A-Z]+)([A-Z][a-z])/g,`$1_$2`).replace(/([a-z0-9])([A-Z])/g,`$1_$2`).toLowerCase()}function r(e,t){if(Object.hasOwn(e,t))return e[t];let r=n(t);if(r!==t&&Object.hasOwn(e,r))return e[r]}function i(t,n,i={}){let{required:a=!1,trim:o=!0,label:s=n,allowEmpty:c=!1}=i,l=r(t,n);if(typeof l!=`string`){if(a)throw new e(`${s} required`);return}let u=o?l.trim():l;if(!u&&!c){if(a)throw new e(`${s} required`);return}return u}function a(t,n,i={}){let{required:a=!1,label:o=n}=i,s=r(t,n);if(typeof s==`number`&&Number.isFinite(s))return String(s);if(typeof s==`string`){let e=s.trim();if(e)return e}if(a)throw new e(`${o} required`)}function o(t,n,i={}){let{required:a=!1,label:o=n,integer:s=!1,strict:c=!1}=i,l=r(t,n),u;if(typeof l==`number`&&Number.isFinite(l))u=l;else if(typeof l==`string`){let e=l.trim();if(e){let t=c?Number(e):Number.parseFloat(e);Number.isFinite(t)&&(u=t)}}if(u===void 0){if(a)throw new e(`${o} required`);return}return s?Math.trunc(u):u}function s(t,n,i={}){let{required:a=!1,label:o=n}=i,s=r(t,n);if(Array.isArray(s)){let t=s.filter(e=>typeof e==`string`).map(e=>e.trim()).filter(Boolean);if(t.length===0){if(a)throw new e(`${o} required`);return}return t}if(typeof s==`string`){let t=s.trim();if(!t){if(a)throw new e(`${o} required`);return}return[t]}if(a)throw new e(`${o} required`)}function c(t,n){let r=n.emojiKey??`emoji`,a=n.removeKey??`remove`,o=typeof t[a]==`boolean`?t[a]:!1,s=i(t,r,{required:!0,allowEmpty:!0});if(o&&!s)throw new e(n.removeErrorMessage);return{emoji:s,remove:o,isEmpty:!s}}function l(e){return{content:[{type:`text`,text:JSON.stringify(e,null,2)}],details:e}}function u(e){if(e==null||!Array.isArray(e))return;let t=e.filter(e=>typeof e==`object`&&!!e&&typeof e.name==`string`).map(e=>({...e.id!==void 0&&typeof e.id==`string`?{id:e.id}:{},name:e.name,...typeof e.moderated==`boolean`?{moderated:e.moderated}:{},...e.emoji_id===null||typeof e.emoji_id==`string`?{emoji_id:e.emoji_id}:{},...e.emoji_name===null||typeof e.emoji_name==`string`?{emoji_name:e.emoji_name}:{}}));return t.length?t:void 0}function d(e){return a(e.args,`messageId`)??e.toolContext?.currentMessageId}export{o as a,a as c,u as i,i as l,t as n,c as o,l as r,s,d as t};
|
|
2
|
-
//# sourceMappingURL=reaction-message-id-BEEe7X3D.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
1
|
import{Hn as e,Jo as t,Wr as n,Yo as r,gi as i,ni as a,ns as o,ts as s}from"./model-selection-BLbnMb5E.js";import{f as c,i as l}from"./agent-scope-DXZc3eNT.js";import{D as u,E as d,T as f,c as p,u as ee,x as m}from"./session-key-D3P0tf5P.js";import{r as h}from"./string-normalization-BrUPaXaM.js";import{T as te,a as ne,ut as re}from"./plugins-CYLrFT4h.js";import{c as g}from"./paths-yLEk_25I.js";import{i as ie}from"./pairing-store-EmfFQVcs.js";import{n as ae}from"./group-access-D2DOYMfr.js";import{i as _,r as oe}from"./allow-from-B6dI7oz8.js";import se from"node:fs";import v from"json5";function ce(e){if(typeof e==`number`)return Number.isInteger(e)&&e>=0?e:void 0;if(typeof e==`string`){let t=e.trim();if(!t)return;let n=Number(t);return Number.isInteger(n)&&n>=0?n:void 0}}function y(e){if(typeof e==`string`)return e.trim()||void 0}function le(e){try{let t=se.readFileSync(e,`utf-8`),n=v.parse(t);if(n&&typeof n==`object`&&!Array.isArray(n))return n}catch{}return{}}function ue(e,t){if(!t||e===`global`||e===`unknown`||d(e))return[e];let n=`agent:${c(t)}:${e}`;return n===e?[e]:[e,n]}function b(e,t){let n=y(t);if(n)for(let t of Object.values(e)){let e=y(t?.sessionId);if(e&&e===n)return t}}function de(e){let t=ue(e.sessionKey,e.cfg);if(e.store){for(let n of t){let t=e.store[n];if(t)return t}return b(e.store,e.sessionKey)}if(e.cfg)for(let n of t){let t=d(n);if(!t?.agentId)continue;let r=g(e.cfg.session?.store,{agentId:t.agentId}),i=e.cache.get(r);i||(i=le(r),e.cache.set(r,i));let a=i[n]??b(i,e.sessionKey);if(a)return a}}function x(e,t){let n=(e??``).trim(),r=m(n);if(!n)return r;let i=new Map,a=new Set,o=e=>{let n=y(e);if(!n||a.has(n))return;a.add(n);let r=de({sessionKey:n,cfg:t?.cfg,store:t?.store,cache:i}),s=ce(r?.spawnDepth);if(s!==void 0)return s;let c=y(r?.spawnedBy);if(!c)return;let l=o(c);return l===void 0?m(c)+1:l+1};return o(n)??r}function S(e){let{useAccessGroups:t,authorizers:n}=e,r=e.modeWhenAccessGroupsOff??`allow`;return t?n.some(e=>e.configured&&e.allowed):r===`allow`?!0:r===`deny`?!1:n.some(e=>e.configured)?n.some(e=>e.configured&&e.allowed):!0}function C(e){let t=S({useAccessGroups:e.useAccessGroups,authorizers:e.authorizers,modeWhenAccessGroupsOff:e.modeWhenAccessGroupsOff});return{commandAuthorized:t,shouldBlock:e.allowTextCommands&&e.hasControlCommand&&!t}}function w(e){if((e.dmScope??`main`)!==`main`)return null;let t=Array.isArray(e.allowFrom)?e.allowFrom:[];if(t.some(e=>String(e).trim()===`*`))return null;let n=Array.from(new Set(t.map(t=>e.normalizeEntry(String(t))).filter(e=>!!e)));return n.length===1?n[0]:null}function fe(e){let t=Array.isArray(e.allowFrom)?e.allowFrom:void 0,n=Array.isArray(e.groupAllowFrom)?e.groupAllowFrom:void 0;return{effectiveAllowFrom:h(oe({allowFrom:t,storeAllowFrom:Array.isArray(e.storeAllowFrom)?e.storeAllowFrom:void 0,dmPolicy:e.dmPolicy??void 0})),effectiveGroupAllowFrom:h(_({allowFrom:t,groupAllowFrom:n,fallbackToAllowFrom:e.groupAllowFromFallbackToAllowFrom??void 0}))}}const T={GROUP_POLICY_ALLOWED:`group_policy_allowed`,GROUP_POLICY_DISABLED:`group_policy_disabled`,GROUP_POLICY_EMPTY_ALLOWLIST:`group_policy_empty_allowlist`,GROUP_POLICY_NOT_ALLOWLISTED:`group_policy_not_allowlisted`,DM_POLICY_OPEN:`dm_policy_open`,DM_POLICY_DISABLED:`dm_policy_disabled`,DM_POLICY_ALLOWLISTED:`dm_policy_allowlisted`,DM_POLICY_PAIRING_REQUIRED:`dm_policy_pairing_required`,DM_POLICY_NOT_ALLOWLISTED:`dm_policy_not_allowlisted`};async function E(e){return e.shouldRead===!1||e.dmPolicy===`allowlist`?[]:await(e.readStore??((e,t)=>ie(e,process.env,t)))(e.provider,e.accountId).catch(()=>[])}function pe(e){let t=e.dmPolicy??`pairing`,n=e.groupPolicy===`open`||e.groupPolicy===`disabled`?e.groupPolicy:`allowlist`,r=h(e.effectiveAllowFrom),i=h(e.effectiveGroupAllowFrom);if(e.isGroup){let t=ae({groupPolicy:n,allowlistConfigured:i.length>0,allowlistMatched:e.isSenderAllowed(i)});if(!t.allowed){if(t.reason===`disabled`)return{decision:`block`,reasonCode:T.GROUP_POLICY_DISABLED,reason:`groupPolicy=disabled`};if(t.reason===`empty_allowlist`)return{decision:`block`,reasonCode:T.GROUP_POLICY_EMPTY_ALLOWLIST,reason:`groupPolicy=allowlist (empty allowlist)`};if(t.reason===`not_allowlisted`)return{decision:`block`,reasonCode:T.GROUP_POLICY_NOT_ALLOWLISTED,reason:`groupPolicy=allowlist (not allowlisted)`}}return{decision:`allow`,reasonCode:T.GROUP_POLICY_ALLOWED,reason:`groupPolicy=${n}`}}return t===`disabled`?{decision:`block`,reasonCode:T.DM_POLICY_DISABLED,reason:`dmPolicy=disabled`}:t===`open`?{decision:`allow`,reasonCode:T.DM_POLICY_OPEN,reason:`dmPolicy=open`}:e.isSenderAllowed(r)?{decision:`allow`,reasonCode:T.DM_POLICY_ALLOWLISTED,reason:`dmPolicy=${t} (allowlisted)`}:t===`pairing`?{decision:`pairing`,reasonCode:T.DM_POLICY_PAIRING_REQUIRED,reason:`dmPolicy=pairing (not allowlisted)`}:{decision:`block`,reasonCode:T.DM_POLICY_NOT_ALLOWLISTED,reason:`dmPolicy=${t} (not allowlisted)`}}function D(e){let{effectiveAllowFrom:t,effectiveGroupAllowFrom:n}=fe({allowFrom:e.allowFrom,groupAllowFrom:e.groupAllowFrom,storeAllowFrom:e.storeAllowFrom,dmPolicy:e.dmPolicy,groupAllowFromFallbackToAllowFrom:e.groupAllowFromFallbackToAllowFrom});return{...pe({isGroup:e.isGroup,dmPolicy:e.dmPolicy,groupPolicy:e.groupPolicy,effectiveAllowFrom:t,effectiveGroupAllowFrom:n,isSenderAllowed:e.isSenderAllowed}),effectiveAllowFrom:t,effectiveGroupAllowFrom:n}}function me(e){let t=D({isGroup:e.isGroup,dmPolicy:e.dmPolicy,groupPolicy:e.groupPolicy,allowFrom:e.allowFrom,groupAllowFrom:e.groupAllowFrom,storeAllowFrom:e.storeAllowFrom,groupAllowFromFallbackToAllowFrom:e.groupAllowFromFallbackToAllowFrom,isSenderAllowed:e.isSenderAllowed}),n=h(e.allowFrom??[]),r=h(_({allowFrom:n,groupAllowFrom:h(e.groupAllowFrom??[]),fallbackToAllowFrom:e.groupAllowFromFallbackToAllowFrom??void 0})),i=e.isGroup?n:t.effectiveAllowFrom,a=e.isGroup?r:t.effectiveGroupAllowFrom,o=e.isSenderAllowed(i),s=e.isSenderAllowed(a),c=e.command?C({useAccessGroups:e.command.useAccessGroups,authorizers:[{configured:i.length>0,allowed:o},{configured:a.length>0,allowed:s}],allowTextCommands:e.command.allowTextCommands,hasControlCommand:e.command.hasControlCommand}):{commandAuthorized:!1,shouldBlock:!1};return{...t,commandAuthorized:c.commandAuthorized,shouldBlockControlCommand:e.isGroup&&c.shouldBlock}}async function he(e){let t=h(Array.isArray(e.allowFrom)?e.allowFrom:void 0),n=t.includes(`*`),r=await E({provider:e.provider,accountId:e.accountId,readStore:e.readStore}),i=e.normalizeEntry??(e=>e),a=t.filter(e=>e!==`*`).map(e=>i(e)).map(e=>e.trim()).filter(Boolean),o=r.map(e=>i(e)).map(e=>e.trim()).filter(Boolean),s=Array.from(new Set([...a,...o])).length;return{configAllowFrom:t,hasWildcard:n,allowCount:s,isMultiUserDm:n||s>1}}const ge=[`main`,`orchestrator`,`leaf`],_e=[`children`,`none`];function O(e){if(typeof e==`string`)return e.trim()||void 0}function ve(e){if(typeof e!=`string`)return;let t=e.trim().toLowerCase();return ge.find(e=>e===t)}function k(e){if(typeof e!=`string`)return;let t=e.trim().toLowerCase();return _e.find(e=>e===t)}function A(t){try{return e(t)}catch{return{}}}function j(e,t){let n=O(t);if(n){for(let t of Object.values(e))if(O(t?.sessionId)===n)return t}}function M(e){if(e.store)return e.store[e.sessionKey]??j(e.store,e.sessionKey);if(!e.cfg)return;let t=d(e.sessionKey);if(!t?.agentId)return;let n=A(g(e.cfg.session?.store,{agentId:t.agentId}));return n[e.sessionKey]??j(n,e.sessionKey)}function N(e){let t=Number.isInteger(e.depth)?Math.max(0,e.depth):0,n=typeof e.maxSpawnDepth==`number`&&Number.isFinite(e.maxSpawnDepth)?Math.max(1,Math.floor(e.maxSpawnDepth)):1;return t<=0?`main`:t<n?`orchestrator`:`leaf`}function P(e){return e===`leaf`?`none`:`children`}function F(e){let t=N(e),n=P(t);return{depth:Math.max(0,Math.floor(e.depth)),role:t,controlScope:n,canSpawn:t===`main`||t===`orchestrator`,canControlChildren:n===`children`}}function I(e,t){let n=O(e),r=t?.cfg?.agents?.defaults?.subagents?.maxSpawnDepth??1,i=x(n,{cfg:t?.cfg,store:t?.store});if(!n||!f(n))return F({depth:i,maxSpawnDepth:r});let a=M({sessionKey:n,cfg:t?.cfg,store:t?.store}),o=ve(a?.subagentRole),s=k(a?.subagentControlScope),c=F({depth:i,maxSpawnDepth:r}),l=o??c.role,u=s??P(l);return{depth:i,role:l,controlScope:u,canSpawn:l===`main`||l===`orchestrator`,canControlChildren:u===`children`}}function L(e,t){return!Array.isArray(t)||t.length===0?e:!Array.isArray(e)||e.length===0?Array.from(new Set([`*`,...t])):Array.from(new Set([...e,...t]))}function R(e){if(!e)return;let t=Array.isArray(e.allow)?L(e.allow,e.alsoAllow):Array.isArray(e.alsoAllow)&&e.alsoAllow.length>0?L(void 0,e.alsoAllow):void 0,n=Array.isArray(e.deny)?e.deny:void 0;if(!(!t&&!n))return{allow:t,deny:n}}function z(e){let n=s({raw:t(e.deny??[]),normalize:r}),i=s({raw:t(e.allow??[]),normalize:r});return e=>{let t=r(e);return o(t,n)?!1:!!(i.length===0||o(t,i)||t===`apply_patch`&&o(`exec`,i))}}const B=[`gateway`,`agents_list`,`whatsapp_login`,`session_status`,`cron`,`memory_search`,`memory_get`,`sessions_send`],V=[`subagents`,`sessions_list`,`sessions_history`,`sessions_spawn`];function ye(e,t){return e>=Math.max(1,Math.floor(t))?[...B,...V]:[...B]}function be(e){return e===`leaf`?[...B,...V]:[...B]}function xe(e,t){let n=e?.tools?.subagents?.tools,i=e?.agents?.defaults?.subagents?.maxSpawnDepth??1,a=ye(typeof t==`number`&&t>=0?t:1,i),o=Array.isArray(n?.allow)?n.allow:void 0,s=Array.isArray(n?.alsoAllow)?n.alsoAllow:void 0,c=new Set([...o??[],...s??[]].map(e=>r(e))),l=[...a.filter(e=>!c.has(r(e))),...Array.isArray(n?.deny)?n.deny:[]];return{allow:o&&s?Array.from(new Set([...o,...s])):o,deny:l}}function Se(e,t){let n=e?.tools?.subagents?.tools,i=I(t,{cfg:e}),a=Array.isArray(n?.allow)?n.allow:void 0,o=Array.isArray(n?.alsoAllow)?n.alsoAllow:void 0,s=new Set([...a??[],...o??[]].map(e=>r(e))),c=[...be(i.role).filter(e=>!s.has(r(e))),...Array.isArray(n?.deny)?n.deny:[]];return{allow:a&&o?Array.from(new Set([...a,...o])):a,deny:c}}function Ce(e,t){return t?z(t)(e):!0}function we(e,t){if(!t)return e;let n=z(t);return e.filter(e=>n(e.name))}function H(e){return e.trim().toLowerCase()}function U(e){let t=(e??``).trim();if(!t)return{};let n=(u(t)??t).split(`:`).filter(Boolean),r=n[0]===`agent`?n.slice(2):n;if(r[0]===`subagent`&&(r=r.slice(1)),r.length<3)return{};let[i,a,...o]=r;if(a!==`group`&&a!==`channel`)return{};let s=o.join(`:`).trim();return s?{channel:i.trim().toLowerCase(),groupId:s}:{}}function W(e){let t=e.modelProvider?.trim();if(!t||!e.byProvider)return;let n=Object.entries(e.byProvider);if(n.length===0)return;let r=new Map;for(let[e,t]of n){let n=H(e);n&&r.set(n,t)}let i=H(t),a=e.modelId?.trim().toLowerCase(),o=a&&!a.includes(`/`)?`${i}/${a}`:a,s=[...o?[o]:[],i];for(let e of s){let t=r.get(e);if(t)return t}}function G(e){return Array.isArray(e?.alsoAllow)?e.alsoAllow:void 0}function K(e){return e!=null}function Te(e){let t=new Set;return(K(e.agentTools?.exec)||K(e.globalTools?.exec))&&(t.add(`exec`),t.add(`process`)),(K(e.agentTools?.fs)||K(e.globalTools?.fs))&&(t.add(`read`),t.add(`write`),t.add(`edit`)),t.size>0?Array.from(t):void 0}function Ee(e){let t=(typeof e.agentId==`string`&&e.agentId.trim()?p(e.agentId):void 0)??(e.sessionKey?ee(e.sessionKey):void 0),n=(e.config&&t?l(e.config,t):void 0)?.tools,r=e.config?.tools,i=n?.profile??r?.profile,a=W({byProvider:r?.byProvider,modelProvider:e.modelProvider,modelId:e.modelId}),o=W({byProvider:n?.byProvider,modelProvider:e.modelProvider,modelId:e.modelId}),s=G(n)??G(r),c=Te({globalTools:r,agentTools:n}),u=s||c?Array.from(new Set([...s??[],...c??[]])):void 0;return{agentId:t,globalPolicy:R(r),globalProviderPolicy:R(a),agentPolicy:R(n),agentProviderPolicy:R(o),profile:i,providerProfile:o?.profile??a?.profile,profileAlsoAllow:u,providerProfileAlsoAllow:Array.isArray(o?.alsoAllow)?o?.alsoAllow:Array.isArray(a?.alsoAllow)?a?.alsoAllow:void 0}}function De(e){if(!e.config)return;let t=U(e.sessionKey),r=U(e.spawnedBy),o=e.groupId??t.groupId??r.groupId;if(!o)return;let s=i(e.messageProvider??t.channel??r.channel);if(!s)return;let c;try{c=n(s)}catch{c=void 0}return R(c?.groups?.resolveToolPolicy?.({cfg:e.config,groupId:o,groupChannel:e.groupChannel,groupSpace:e.groupSpace,accountId:e.accountId,senderId:e.senderId,senderName:e.senderName,senderUsername:e.senderUsername,senderE164:e.senderE164})??a({cfg:e.config,channel:s,groupId:o,accountId:e.accountId,senderId:e.senderId,senderName:e.senderName,senderUsername:e.senderUsername,senderE164:e.senderE164}))}function Oe(e,t){return t.every(t=>Ce(e,t))}const q=[`tokenStatus`,`botTokenStatus`,`appTokenStatus`,`signingSecretStatus`,`userTokenStatus`];function J(e){return!e||typeof e!=`object`||Array.isArray(e)?null:e}function Y(e,t){let n=e[t];if(typeof n!=`string`)return;let r=n.trim();return r.length>0?r:void 0}function X(e,t){return typeof e[t]==`boolean`?e[t]:void 0}function Z(e,t){let n=e[t];return typeof n==`number`&&Number.isFinite(n)?n:void 0}function Q(e,t){let n=e[t];if(!Array.isArray(n))return;let r=n.map(e=>typeof e==`string`||typeof e==`number`?String(e):``).map(e=>e.trim()).filter(Boolean);return r.length>0?r:void 0}function $(e,t){let n=e[t];return n===`available`||n===`configured_unavailable`||n===`missing`?n:void 0}function ke(e){let t=J(e);return t?q.some(e=>$(t,e)===`configured_unavailable`):!1}function Ae(e){let t=J(e);return t?[`token`,`botToken`,`appToken`,`signingSecret`,`userToken`].some(e=>{let n=t[e];return typeof n==`string`&&n.trim().length>0})||q.some(e=>$(t,e)===`available`):!1}function je(e){let t=J(e);return t?{...Y(t,`tokenSource`)?{tokenSource:Y(t,`tokenSource`)}:{},...Y(t,`botTokenSource`)?{botTokenSource:Y(t,`botTokenSource`)}:{},...Y(t,`appTokenSource`)?{appTokenSource:Y(t,`appTokenSource`)}:{},...Y(t,`signingSecretSource`)?{signingSecretSource:Y(t,`signingSecretSource`)}:{},...$(t,`tokenStatus`)?{tokenStatus:$(t,`tokenStatus`)}:{},...$(t,`botTokenStatus`)?{botTokenStatus:$(t,`botTokenStatus`)}:{},...$(t,`appTokenStatus`)?{appTokenStatus:$(t,`appTokenStatus`)}:{},...$(t,`signingSecretStatus`)?{signingSecretStatus:$(t,`signingSecretStatus`)}:{},...$(t,`userTokenStatus`)?{userTokenStatus:$(t,`userTokenStatus`)}:{}}:{}}function Me(e){let t=J(e);return t?{...Y(t,`name`)?{name:Y(t,`name`)}:{},...X(t,`linked`)===void 0?{}:{linked:X(t,`linked`)},...X(t,`running`)===void 0?{}:{running:X(t,`running`)},...X(t,`connected`)===void 0?{}:{connected:X(t,`connected`)},...Z(t,`reconnectAttempts`)===void 0?{}:{reconnectAttempts:Z(t,`reconnectAttempts`)},...Y(t,`mode`)?{mode:Y(t,`mode`)}:{},...Y(t,`dmPolicy`)?{dmPolicy:Y(t,`dmPolicy`)}:{},...Q(t,`allowFrom`)?{allowFrom:Q(t,`allowFrom`)}:{},...je(e),...Y(t,`baseUrl`)?{baseUrl:Y(t,`baseUrl`)}:{},...X(t,`allowUnmentionedGroups`)===void 0?{}:{allowUnmentionedGroups:X(t,`allowUnmentionedGroups`)},...Y(t,`cliPath`)?{cliPath:Y(t,`cliPath`)}:{},...Y(t,`dbPath`)?{dbPath:Y(t,`dbPath`)}:{},...Z(t,`port`)===void 0?{}:{port:Z(t,`port`)}}:{}}function Ne(e){return e.channelId===`discord`?re({cfg:e.cfg,accountId:e.accountId}):e.channelId===`slack`?te({cfg:e.cfg,accountId:e.accountId}):e.channelId===`telegram`?ne({cfg:e.cfg,accountId:e.accountId}):null}export{x as S,me as _,we as a,S as b,De as c,R as d,I as f,he as g,E as h,Me as i,xe as l,T as m,ke as n,Oe as o,F as p,Ae as r,Ee as s,Ne as t,Se as u,D as v,C as x,w as y};
|
|
2
|
-
//# sourceMappingURL=read-only-account-inspect-B0cm8yrv.js.map
|
package/dist/redact-3_CiXMY6.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
1
|
import{L as e}from"./subsystem-C5XF2Fy5.js";const t=new Map;function n(){return{lastToken:null,containsRepetition:!1,hasAlternation:!1,branchMinLength:0,branchMaxLength:0,altMinLength:null,altMaxLength:null}}function r(e,t){return!Number.isFinite(e)||!Number.isFinite(t)?1/0:e+t}function i(e,t){return Number.isFinite(e)?e*t:t===0?0:1/0}function a(e){if(e.altMinLength===null||e.altMaxLength===null){e.altMinLength=e.branchMinLength,e.altMaxLength=e.branchMaxLength;return}e.altMinLength=Math.min(e.altMinLength,e.branchMinLength),e.altMaxLength=Math.max(e.altMaxLength,e.branchMaxLength)}function o(e,t){let n=e[t],r=e[t+1]===`?`?2:1;if(n===`*`)return{consumed:r,minRepeat:0,maxRepeat:null};if(n===`+`)return{consumed:r,minRepeat:1,maxRepeat:null};if(n===`?`)return{consumed:r,minRepeat:0,maxRepeat:1};if(n!==`{`)return null;let i=t+1;for(;i<e.length&&/\d/.test(e[i]);)i+=1;if(i===t+1)return null;let a=Number.parseInt(e.slice(t+1,i),10),o=a;if(e[i]===`,`){i+=1;let t=i;for(;i<e.length&&/\d/.test(e[i]);)i+=1;o=i===t?null:Number.parseInt(e.slice(t,i),10)}return e[i]!==`}`||(i+=1,e[i]===`?`&&(i+=1),o!==null&&o<a)?null:{consumed:i-t,minRepeat:a,maxRepeat:o}}function s(e){let t=[],n=!1;for(let r=0;r<e.length;r+=1){let i=e[r];if(i===`\\`){r+=1,t.push({kind:`simple-token`});continue}if(n){i===`]`&&(n=!1);continue}if(i===`[`){n=!0,t.push({kind:`simple-token`});continue}if(i===`(`){t.push({kind:`group-open`});continue}if(i===`)`){t.push({kind:`group-close`});continue}if(i===`|`){t.push({kind:`alternation`});continue}let a=o(e,r);if(a){t.push({kind:`quantifier`,quantifier:a}),r+=a.consumed-1;continue}t.push({kind:`simple-token`})}return t}function c(e){let t=[n()],o=e=>{let n=t[t.length-1];n.lastToken=e,e.containsRepetition&&(n.containsRepetition=!0),n.branchMinLength=r(n.branchMinLength,e.minLength),n.branchMaxLength=r(n.branchMaxLength,e.maxLength)},s=()=>{o({containsRepetition:!1,hasAmbiguousAlternation:!1,minLength:1,maxLength:1})};for(let c of e){if(c.kind===`simple-token`){s();continue}if(c.kind===`group-open`){t.push(n());continue}if(c.kind===`group-close`){if(t.length>1){let e=t.pop();e.hasAlternation&&a(e);let n=e.hasAlternation?e.altMinLength??0:e.branchMinLength,r=e.hasAlternation?e.altMaxLength??0:e.branchMaxLength;o({containsRepetition:e.containsRepetition,hasAmbiguousAlternation:e.hasAlternation&&e.altMinLength!==null&&e.altMaxLength!==null&&e.altMinLength!==e.altMaxLength,minLength:n,maxLength:r})}continue}if(c.kind===`alternation`){let e=t[t.length-1];e.hasAlternation=!0,a(e),e.branchMinLength=0,e.branchMaxLength=0,e.lastToken=null;continue}let e=t[t.length-1],l=e.lastToken;if(!l)continue;if(l.containsRepetition||l.hasAmbiguousAlternation&&c.quantifier.maxRepeat===null)return!0;let u=l.minLength,d=l.maxLength;l.minLength=i(l.minLength,c.quantifier.minRepeat),l.maxLength=c.quantifier.maxRepeat===null?1/0:i(l.maxLength,c.quantifier.maxRepeat),l.containsRepetition=!0,e.containsRepetition=!0,e.branchMinLength=e.branchMinLength-u+l.minLength,e.branchMaxLength=r(Number.isFinite(e.branchMaxLength)&&Number.isFinite(d)?e.branchMaxLength-d:1/0,l.maxLength)}return!1}function l(e,t){return e.lastIndex=0,e.test(t)}function u(e,t,n=2048){return n<=0?!1:t.length<=n?l(e,t):l(e,t.slice(0,n))?!0:l(e,t.slice(-n))}function d(e){return c(s(e))}function f(e,n=``){let r=e.trim();if(!r)return null;let i=`${n}::${r}`;if(t.has(i))return t.get(i)??null;let a=null;if(!d(r))try{a=new RegExp(r,n)}catch{a=null}if(t.set(i,a),t.size>256){let e=t.keys().next().value;e&&t.delete(e)}return a}function p(e,t,n,r){let i=r?.chunkThreshold??32768,a=r?.chunkSize??16384;if(i<=0||a<=0||e.length<=i)return e.replace(t,n);let o=``;for(let r=0;r<e.length;r+=a)o+=e.slice(r,r+a).replace(t,n);return o}const m=e(import.meta.url),h=[String.raw`\b[A-Z0-9_]*(?:KEY|TOKEN|SECRET|PASSWORD|PASSWD)\b\s*[=:]\s*(["']?)([^\s"'\\]+)\1`,String.raw`"(?:apiKey|token|secret|password|passwd|accessToken|refreshToken)"\s*:\s*"([^"]+)"`,String.raw`--(?:api[-_]?key|token|secret|password|passwd)\s+(["']?)([^\s"']+)\1`,String.raw`Authorization\s*[:=]\s*Bearer\s+([A-Za-z0-9._\-+=]+)`,String.raw`\bBearer\s+([A-Za-z0-9._\-+=]{18,})\b`,String.raw`-----BEGIN [A-Z ]*PRIVATE KEY-----[\s\S]+?-----END [A-Z ]*PRIVATE KEY-----`,String.raw`\b(sk-[A-Za-z0-9_-]{8,})\b`,String.raw`\b(ghp_[A-Za-z0-9]{20,})\b`,String.raw`\b(github_pat_[A-Za-z0-9_]{20,})\b`,String.raw`\b(xox[baprs]-[A-Za-z0-9-]{10,})\b`,String.raw`\b(xapp-[A-Za-z0-9-]{10,})\b`,String.raw`\b(gsk_[A-Za-z0-9_-]{10,})\b`,String.raw`\b(AIza[0-9A-Za-z\-_]{20,})\b`,String.raw`\b(pplx-[A-Za-z0-9_-]{10,})\b`,String.raw`\b(npm_[A-Za-z0-9]{10,})\b`,String.raw`\bbot(\d{6,}:[A-Za-z0-9_-]{20,})\b`,String.raw`\b(\d{6,}:[A-Za-z0-9_-]{20,})\b`];function g(e){return e===`off`?`off`:`tools`}function _(e){if(!e.trim())return null;let t=e.match(/^\/(.+)\/([gimsuy]*)$/);if(t){let e=t[2].includes(`g`)?t[2]:`${t[2]}g`;return f(t[1],e)}return f(e,`gi`)}function v(e){return(e?.length?e:h).map(_).filter(e=>!!e)}function y(e){return e.length<18?`***`:`${e.slice(0,6)}…${e.slice(-4)}`}function b(e){let t=e.split(/\r?\n/).filter(Boolean);return t.length<2?`***`:`${t[0]}\n…redacted…\n${t[t.length-1]}`}function x(e,t){if(e.includes(`PRIVATE KEY-----`))return b(e);let n=t.filter(e=>typeof e==`string`&&e.length>0).at(-1)??e,r=y(n);return n===e?r:e.replace(n,r)}function S(e,t){let n=e;for(let e of t)n=p(n,e,(...e)=>x(e[0],e.slice(1,e.length-2)));return n}function C(){let e;try{e=(m?.(`../config/config.js`))?.loadConfig?.().logging}catch{e=void 0}return{mode:g(e?.redactSensitive),patterns:e?.redactPatterns}}function w(e,t){if(!e)return e;let n=t??C();if(g(n.mode)===`off`)return e;let r=v(n.patterns);return r.length?S(e,r):e}function T(e){let t=C();return g(t.mode)===`tools`?w(e,t):e}function E(){return[...h]}export{u as a,f as i,w as n,T as r,E as t};
|
|
2
|
-
//# sourceMappingURL=redact-3_CiXMY6.js.map
|
package/dist/redact-CnRxK70G.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
1
|
import{L as e}from"./subsystem-BLbY429l.js";const t=new Map;function n(){return{lastToken:null,containsRepetition:!1,hasAlternation:!1,branchMinLength:0,branchMaxLength:0,altMinLength:null,altMaxLength:null}}function r(e,t){return!Number.isFinite(e)||!Number.isFinite(t)?1/0:e+t}function i(e,t){return Number.isFinite(e)?e*t:t===0?0:1/0}function a(e){if(e.altMinLength===null||e.altMaxLength===null){e.altMinLength=e.branchMinLength,e.altMaxLength=e.branchMaxLength;return}e.altMinLength=Math.min(e.altMinLength,e.branchMinLength),e.altMaxLength=Math.max(e.altMaxLength,e.branchMaxLength)}function o(e,t){let n=e[t],r=e[t+1]===`?`?2:1;if(n===`*`)return{consumed:r,minRepeat:0,maxRepeat:null};if(n===`+`)return{consumed:r,minRepeat:1,maxRepeat:null};if(n===`?`)return{consumed:r,minRepeat:0,maxRepeat:1};if(n!==`{`)return null;let i=t+1;for(;i<e.length&&/\d/.test(e[i]);)i+=1;if(i===t+1)return null;let a=Number.parseInt(e.slice(t+1,i),10),o=a;if(e[i]===`,`){i+=1;let t=i;for(;i<e.length&&/\d/.test(e[i]);)i+=1;o=i===t?null:Number.parseInt(e.slice(t,i),10)}return e[i]!==`}`||(i+=1,e[i]===`?`&&(i+=1),o!==null&&o<a)?null:{consumed:i-t,minRepeat:a,maxRepeat:o}}function s(e){let t=[],n=!1;for(let r=0;r<e.length;r+=1){let i=e[r];if(i===`\\`){r+=1,t.push({kind:`simple-token`});continue}if(n){i===`]`&&(n=!1);continue}if(i===`[`){n=!0,t.push({kind:`simple-token`});continue}if(i===`(`){t.push({kind:`group-open`});continue}if(i===`)`){t.push({kind:`group-close`});continue}if(i===`|`){t.push({kind:`alternation`});continue}let a=o(e,r);if(a){t.push({kind:`quantifier`,quantifier:a}),r+=a.consumed-1;continue}t.push({kind:`simple-token`})}return t}function c(e){let t=[n()],o=e=>{let n=t[t.length-1];n.lastToken=e,e.containsRepetition&&(n.containsRepetition=!0),n.branchMinLength=r(n.branchMinLength,e.minLength),n.branchMaxLength=r(n.branchMaxLength,e.maxLength)},s=()=>{o({containsRepetition:!1,hasAmbiguousAlternation:!1,minLength:1,maxLength:1})};for(let c of e){if(c.kind===`simple-token`){s();continue}if(c.kind===`group-open`){t.push(n());continue}if(c.kind===`group-close`){if(t.length>1){let e=t.pop();e.hasAlternation&&a(e);let n=e.hasAlternation?e.altMinLength??0:e.branchMinLength,r=e.hasAlternation?e.altMaxLength??0:e.branchMaxLength;o({containsRepetition:e.containsRepetition,hasAmbiguousAlternation:e.hasAlternation&&e.altMinLength!==null&&e.altMaxLength!==null&&e.altMinLength!==e.altMaxLength,minLength:n,maxLength:r})}continue}if(c.kind===`alternation`){let e=t[t.length-1];e.hasAlternation=!0,a(e),e.branchMinLength=0,e.branchMaxLength=0,e.lastToken=null;continue}let e=t[t.length-1],l=e.lastToken;if(!l)continue;if(l.containsRepetition||l.hasAmbiguousAlternation&&c.quantifier.maxRepeat===null)return!0;let u=l.minLength,d=l.maxLength;l.minLength=i(l.minLength,c.quantifier.minRepeat),l.maxLength=c.quantifier.maxRepeat===null?1/0:i(l.maxLength,c.quantifier.maxRepeat),l.containsRepetition=!0,e.containsRepetition=!0,e.branchMinLength=e.branchMinLength-u+l.minLength,e.branchMaxLength=r(Number.isFinite(e.branchMaxLength)&&Number.isFinite(d)?e.branchMaxLength-d:1/0,l.maxLength)}return!1}function l(e,t){return e.lastIndex=0,e.test(t)}function u(e,t,n=2048){return n<=0?!1:t.length<=n?l(e,t):l(e,t.slice(0,n))?!0:l(e,t.slice(-n))}function d(e){return c(s(e))}function f(e,n=``){let r=e.trim();if(!r)return null;let i=`${n}::${r}`;if(t.has(i))return t.get(i)??null;let a=null;if(!d(r))try{a=new RegExp(r,n)}catch{a=null}if(t.set(i,a),t.size>256){let e=t.keys().next().value;e&&t.delete(e)}return a}function p(e,t,n,r){let i=r?.chunkThreshold??32768,a=r?.chunkSize??16384;if(i<=0||a<=0||e.length<=i)return e.replace(t,n);let o=``;for(let r=0;r<e.length;r+=a)o+=e.slice(r,r+a).replace(t,n);return o}const m=e(import.meta.url),h=[String.raw`\b[A-Z0-9_]*(?:KEY|TOKEN|SECRET|PASSWORD|PASSWD)\b\s*[=:]\s*(["']?)([^\s"'\\]+)\1`,String.raw`"(?:apiKey|token|secret|password|passwd|accessToken|refreshToken)"\s*:\s*"([^"]+)"`,String.raw`--(?:api[-_]?key|token|secret|password|passwd)\s+(["']?)([^\s"']+)\1`,String.raw`Authorization\s*[:=]\s*Bearer\s+([A-Za-z0-9._\-+=]+)`,String.raw`\bBearer\s+([A-Za-z0-9._\-+=]{18,})\b`,String.raw`-----BEGIN [A-Z ]*PRIVATE KEY-----[\s\S]+?-----END [A-Z ]*PRIVATE KEY-----`,String.raw`\b(sk-[A-Za-z0-9_-]{8,})\b`,String.raw`\b(ghp_[A-Za-z0-9]{20,})\b`,String.raw`\b(github_pat_[A-Za-z0-9_]{20,})\b`,String.raw`\b(xox[baprs]-[A-Za-z0-9-]{10,})\b`,String.raw`\b(xapp-[A-Za-z0-9-]{10,})\b`,String.raw`\b(gsk_[A-Za-z0-9_-]{10,})\b`,String.raw`\b(AIza[0-9A-Za-z\-_]{20,})\b`,String.raw`\b(pplx-[A-Za-z0-9_-]{10,})\b`,String.raw`\b(npm_[A-Za-z0-9]{10,})\b`,String.raw`\bbot(\d{6,}:[A-Za-z0-9_-]{20,})\b`,String.raw`\b(\d{6,}:[A-Za-z0-9_-]{20,})\b`];function g(e){return e===`off`?`off`:`tools`}function _(e){if(!e.trim())return null;let t=e.match(/^\/(.+)\/([gimsuy]*)$/);if(t){let e=t[2].includes(`g`)?t[2]:`${t[2]}g`;return f(t[1],e)}return f(e,`gi`)}function v(e){return(e?.length?e:h).map(_).filter(e=>!!e)}function y(e){return e.length<18?`***`:`${e.slice(0,6)}…${e.slice(-4)}`}function b(e){let t=e.split(/\r?\n/).filter(Boolean);return t.length<2?`***`:`${t[0]}\n…redacted…\n${t[t.length-1]}`}function x(e,t){if(e.includes(`PRIVATE KEY-----`))return b(e);let n=t.filter(e=>typeof e==`string`&&e.length>0).at(-1)??e,r=y(n);return n===e?r:e.replace(n,r)}function S(e,t){let n=e;for(let e of t)n=p(n,e,(...e)=>x(e[0],e.slice(1,e.length-2)));return n}function C(){let e;try{e=(m?.(`../config/config.js`))?.loadConfig?.().logging}catch{e=void 0}return{mode:g(e?.redactSensitive),patterns:e?.redactPatterns}}function w(e,t){if(!e)return e;let n=t??C();if(g(n.mode)===`off`)return e;let r=v(n.patterns);return r.length?S(e,r):e}function T(e){let t=C();return g(t.mode)===`tools`?w(e,t):e}function E(){return[...h]}export{u as a,f as i,w as n,T as r,E as t};
|
|
2
|
-
//# sourceMappingURL=redact-CnRxK70G.js.map
|
|
@@ -7,4 +7,3 @@ ${e.muted(`Docs:`)} ${h(`/cli/agent`,`docs.openclaw.ai/cli/agent`)}`).action(asy
|
|
|
7
7
|
${e.heading(`Examples:`)}
|
|
8
8
|
${_([[`openclaw agents set-identity --agent main --name "OpenClaw" --emoji "🦞"`,`Set name + emoji.`],[`openclaw agents set-identity --agent main --avatar avatars/openclaw.png`,`Set avatar path.`],[`openclaw agents set-identity --workspace ~/.qbotclaw/workspace --from-identity`,`Load from IDENTITY.md.`],[`openclaw agents set-identity --identity-file ~/.qbotclaw/workspace/IDENTITY.md --agent main`,`Use a specific IDENTITY.md.`]])}
|
|
9
9
|
`).action(async e=>{await g(t,async()=>{await E({agent:e.agent,workspace:e.workspace,identityFile:e.identityFile,fromIdentity:!!e.fromIdentity,name:e.name,theme:e.theme,emoji:e.emoji,avatar:e.avatar,json:!!e.json},t)})}),a.command(`delete <id>`).description(`Delete an agent and prune workspace/state`).option(`--force`,`Skip confirmation`,!1).option(`--json`,`Output JSON summary`,!1).action(async(e,n)=>{await g(t,async()=>{await w({id:String(e),force:!!n.force,json:!!n.json},t)})}),a.action(async()=>{await g(t,async()=>{await T({},t)})})}export{M as registerAgentCommands};
|
|
10
|
-
//# sourceMappingURL=register.agent-DHOTtB8X.js.map
|
|
@@ -15,4 +15,3 @@ ${e.muted(`Docs:`)} ${ae(`/cli/agent`,`docs.openclaw.ai/cli/agent`)}`).action(as
|
|
|
15
15
|
${e.heading(`Examples:`)}
|
|
16
16
|
${N([[`openclaw agents set-identity --agent main --name "OpenClaw" --emoji "🦞"`,`Set name + emoji.`],[`openclaw agents set-identity --agent main --avatar avatars/openclaw.png`,`Set avatar path.`],[`openclaw agents set-identity --workspace ~/.qbotclaw/workspace --from-identity`,`Load from IDENTITY.md.`],[`openclaw agents set-identity --identity-file ~/.qbotclaw/workspace/IDENTITY.md --agent main`,`Use a specific IDENTITY.md.`]])}
|
|
17
17
|
`).action(async e=>{await M(t,async()=>{await Fe({agent:e.agent,workspace:e.workspace,identityFile:e.identityFile,fromIdentity:!!e.fromIdentity,name:e.name,theme:e.theme,emoji:e.emoji,avatar:e.avatar,json:!!e.json},t)})}),a.command(`delete <id>`).description(`Delete an agent and prune workspace/state`).option(`--force`,`Skip confirmation`,!1).option(`--json`,`Output JSON summary`,!1).action(async(e,n)=>{await M(t,async()=>{await Me({id:String(e),force:!!n.force,json:!!n.json},t)})}),a.action(async()=>{await M(t,async()=>{await We({},t)})})}export{Ge as registerAgentCommands};
|
|
18
|
-
//# sourceMappingURL=register.agent-DQdoMfmw.js.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import{A as e,p as t}from"./subsystem-BLbY429l.js";import{g as n,m as r,o as i}from"./paths-BjD3T_xq.js";import"./boolean-D15s2V33.js";import{Fo as a,Kn as o}from"./auth-profiles-C8rZRS0X.js";import"./agent-scope-DAWJwFfl.js";import{g as s,m as c,v as l,x as u}from"./utils-CGdo13HV.js";import"./openclaw-root-CnsBf6ZU.js";import"./github-copilot-token-C79yeDKS.js";import"./env-overrides-DHtB4kK3.js";import{n as d}from"./version-q3SkUw2K.js";import"./registry-BptzrW8D.js";import"./skills-Bz_S4lPh.js";import"./frontmatter-C7mzDNxd.js";import"./plugins-DNlgeTTc.js";import"./logger-kQAOe3qp.js";import"./exec-B3eleY5O.js";import"./windows-spawn-7oINn5ao.js";import"./redact-CnRxK70G.js";import"./path-alias-guards-kY_ZbWs-.js";import"./errors-6SQWM9dj.js";import"./paths-BfjJY2VL.js";import"./chat-envelope-Bznn2SoS.js";import{t as f}from"./links-CBnmRP9D.js";import{n as p}from"./cli-utils-BleB1eys.js";import{t as m}from"./help-format-B4aEI7V9.js";import{n as h,t as g}from"./cleanup-utils-BWm70DoD.js";import _ from"node:os";import v from"node:path";import{constants as y}from"node:fs";import b from"node:fs/promises";import{randomUUID as x}from"node:crypto";import*as S from"tar";const C=/^[A-Za-z]:[\\/]/;function w(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function T(e){return e.replace(/\/+$/u,``)}function E(e,t){let n=T(e.trim());if(!n)throw Error(`${t} is empty.`);if(n.startsWith(`/`)||C.test(n))throw Error(`${t} must be relative: ${e}`);if(n.includes(`\\`))throw Error(`${t} must use forward slashes: ${e}`);if(n.split(`/`).some(e=>e===`.`||e===`..`))throw Error(`${t} contains path traversal segments: ${e}`);let r=T(v.posix.normalize(n));if(!r||r===`.`||r===`..`||r.startsWith(`../`))throw Error(`${t} resolves outside the archive root: ${e}`);return r}function D(e){let t=E(e,`Backup manifest archiveRoot`);if(t.includes(`/`))throw Error(`Backup manifest archiveRoot must be a single path segment: ${e}`);return t}function O(e,t){let n=v.posix.relative(t,e);return n===``||!n.startsWith(`../`)&&n!==`..`}function k(e){let t;try{t=JSON.parse(e)}catch(e){throw Error(`Backup manifest is not valid JSON: ${String(e)}`,{cause:e})}if(!w(t))throw Error(`Backup manifest must be an object.`);if(t.schemaVersion!==1)throw Error(`Unsupported backup manifest schemaVersion: ${String(t.schemaVersion)}`);if(typeof t.archiveRoot!=`string`||!t.archiveRoot.trim())throw Error(`Backup manifest is missing archiveRoot.`);if(typeof t.createdAt!=`string`||!t.createdAt.trim())throw Error(`Backup manifest is missing createdAt.`);if(!Array.isArray(t.assets))throw Error(`Backup manifest is missing assets.`);let n=[];for(let e of t.assets){if(!w(e))throw Error(`Backup manifest contains a non-object asset.`);if(typeof e.kind!=`string`||!e.kind.trim())throw Error(`Backup manifest asset is missing kind.`);if(typeof e.sourcePath!=`string`||!e.sourcePath.trim())throw Error(`Backup manifest asset is missing sourcePath.`);if(typeof e.archivePath!=`string`||!e.archivePath.trim())throw Error(`Backup manifest asset is missing archivePath.`);n.push({kind:e.kind,sourcePath:e.sourcePath,archivePath:e.archivePath})}return{schemaVersion:1,archiveRoot:t.archiveRoot,createdAt:t.createdAt,runtimeVersion:typeof t.runtimeVersion==`string`&&t.runtimeVersion.trim()?t.runtimeVersion:`unknown`,platform:typeof t.platform==`string`?t.platform:`unknown`,nodeVersion:typeof t.nodeVersion==`string`?t.nodeVersion:`unknown`,options:w(t.options)?{includeWorkspace:t.options.includeWorkspace}:void 0,paths:w(t.paths)?{stateDir:typeof t.paths.stateDir==`string`?t.paths.stateDir:void 0,configPath:typeof t.paths.configPath==`string`?t.paths.configPath:void 0,oauthDir:typeof t.paths.oauthDir==`string`?t.paths.oauthDir:void 0,workspaceDirs:Array.isArray(t.paths.workspaceDirs)?t.paths.workspaceDirs.filter(e=>typeof e==`string`):void 0}:void 0,assets:n,skipped:Array.isArray(t.skipped)?t.skipped:void 0}}async function A(e){let t=[];return await S.t({file:e,gzip:!0,onentry:e=>{t.push(e.path)}}),t}async function j(e){let t;if(await S.t({file:e.archivePath,gzip:!0,onentry:n=>{if(n.path!==e.manifestEntryPath){n.resume();return}t=new Promise((e,t)=>{let r=[];n.on(`data`,e=>{r.push(Buffer.isBuffer(e)?e:Buffer.from(e))}),n.on(`error`,t),n.on(`end`,()=>{e(Buffer.concat(r).toString(`utf8`))})})}}),!t)throw Error(`Archive is missing manifest entry: ${e.manifestEntryPath}`);return await t}function M(e){let t=e.split(`/`);return t.length===2&&t[0]!==``&&t[1]===`manifest.json`}function N(e,t){let n=D(e.archiveRoot),r=v.posix.join(n,`manifest.json`),i=[...t],a=new Set(i);if(!a.has(r))throw Error(`Archive is missing manifest entry: ${r}`);for(let e of i)if(!O(e,n))throw Error(`Archive entry is outside the declared archive root: ${e}`);let o=v.posix.join(n,`payload`);for(let t of e.assets){let e=E(t.archivePath,`Backup manifest asset path`);if(!O(e,o))throw Error(`Manifest asset path is outside payload root: ${t.archivePath}`);let n=a.has(e),r=i.some(t=>t!==e&&O(t,e));if(!n&&!r)throw Error(`Archive is missing payload for manifest asset: ${e}`)}}function P(e){return[`Backup archive OK: ${e.archivePath}`,`Archive root: ${e.archiveRoot}`,`Created at: ${e.createdAt}`,`Runtime version: ${e.runtimeVersion}`,`Assets verified: ${e.assetCount}`,`Archive entries scanned: ${e.entryCount}`].join(`
|
|
2
2
|
`)}function F(e){let t=new Set;for(let n of e){if(t.has(n.normalized))return n.normalized;t.add(n.normalized)}}async function I(e,t){let n=l(t.archive),r=await A(n);if(r.length===0)throw Error(`Backup archive is empty.`);let i=r.map(e=>({raw:e,normalized:E(e,`Archive entry`)})),a=new Set(i.map(e=>e.normalized)),o=i.filter(e=>M(e.normalized));if(o.length!==1)throw Error(`Expected exactly one backup manifest entry, found ${o.length}.`);let s=F(i);if(s)throw Error(`Archive contains duplicate entry path: ${s}`);let c=o[0]?.raw;if(!c)throw Error(`Backup archive manifest entry could not be resolved.`);let u=k(await j({archivePath:n,manifestEntryPath:c}));N(u,a);let d={ok:!0,archivePath:n,archiveRoot:u.archiveRoot,createdAt:u.createdAt,runtimeVersion:u.runtimeVersion,assetCount:u.assets.length,entryCount:r.length};return e.log(t.json?JSON.stringify(d,null,2):P(d)),d}function L(e){switch(e){case`state`:return 0;case`config`:return 1;case`credentials`:return 2;case`workspace`:return 3}}function R(e=Date.now()){return`${o(e)}-openclaw-backup`}function z(e=Date.now()){return`${R(e)}.tar.gz`}function B(e){let t=e.replaceAll(`\\`,`/`),n=t.match(/^([A-Za-z]):\/(.*)$/);if(n){let e=n[1]?.toUpperCase()??`UNKNOWN`,t=n[2]??``;return v.posix.join(`windows`,e,t)}return t.startsWith(`/`)?v.posix.join(`posix`,t.slice(1)):v.posix.join(`relative`,t)}function V(e,t){return v.posix.join(e,`payload`,B(t))}function H(e,t){let n=e.canonicalPath.length-t.canonicalPath.length;if(n!==0)return n;let r=L(e.kind)-L(t.kind);return r===0?e.canonicalPath.localeCompare(t.canonicalPath):r}async function U(e){try{return await b.realpath(e)}catch{return v.resolve(e)}}async function W(e={}){let t=e.includeWorkspace??!0,o=e.onlyConfig??!1,s=n(),l=i(),d=r(),f=R(e.nowMs);if(o){let e=v.resolve(l);if(!await c(e))return{stateDir:s,configPath:l,oauthDir:d,workspaceDirs:[],included:[],skipped:[{kind:`config`,sourcePath:e,displayPath:u(e),reason:`missing`}]};let t=await U(e);return{stateDir:s,configPath:l,oauthDir:d,workspaceDirs:[],included:[{kind:`config`,sourcePath:t,displayPath:u(t),archivePath:V(f,t)}],skipped:[]}}let p=await a();if(t&&p.exists&&!p.valid)throw Error(`Config invalid at ${u(p.path)}. OpenClaw cannot reliably discover custom workspaces for backup. Fix the config or rerun with --no-include-workspace for a partial backup.`);let m=g({cfg:p.config,stateDir:s,configPath:l,oauthDir:d}),_=t?m.workspaceDirs:[],y=[{kind:`state`,sourcePath:v.resolve(s)},...m.configInsideState?[]:[{kind:`config`,sourcePath:v.resolve(l)}],...m.oauthInsideState?[]:[{kind:`credentials`,sourcePath:v.resolve(d)}],...t?_.map(e=>({kind:`workspace`,sourcePath:v.resolve(e)})):[]],b=await Promise.all(y.map(async e=>{let t=await c(e.sourcePath);return{...e,exists:t,canonicalPath:t?await U(e.sourcePath):v.resolve(e.sourcePath)}})),x=[],S=new Set;for(let e of[...b].toSorted(H))S.has(e.canonicalPath)||(S.add(e.canonicalPath),x.push(e));let C=[],w=[];for(let e of x){if(!e.exists){w.push({kind:e.kind,sourcePath:e.sourcePath,displayPath:u(e.sourcePath),reason:`missing`});continue}let t=C.find(t=>h(e.canonicalPath,t.sourcePath));if(t){w.push({kind:e.kind,sourcePath:e.canonicalPath,displayPath:u(e.canonicalPath),reason:`covered`,coveredBy:t.displayPath});continue}C.push({kind:e.kind,sourcePath:e.canonicalPath,displayPath:u(e.canonicalPath),archivePath:V(f,e.canonicalPath)})}return{stateDir:s,configPath:l,oauthDir:d,workspaceDirs:_.map(e=>v.resolve(e)),included:C,skipped:w}}async function G(e){let t=z(e.nowMs),n=e.output?.trim();if(!n){let n=v.resolve(process.cwd()),r=await b.realpath(n).catch(()=>n),i=e.includedAssets.some(e=>h(r,e.sourcePath))?s()??v.dirname(e.stateDir):n;return v.resolve(i,t)}let r=l(n);if(n.endsWith(`/`)||n.endsWith(`\\`))return v.join(r,t);try{if((await b.stat(r)).isDirectory())return v.join(r,t)}catch{}return r}async function K(e){try{throw await b.access(e),Error(`Refusing to overwrite existing backup archive: ${e}`)}catch(e){if(e?.code===`ENOENT`)return;throw e}}function q(e){return`${e}.${x()}.tmp`}function J(e){return e===`ENOTSUP`||e===`EOPNOTSUPP`||e===`EPERM`}async function Y(e){try{await b.link(e.tempArchivePath,e.outputPath)}catch(t){let n=t?.code;if(n===`EEXIST`)throw Error(`Refusing to overwrite existing backup archive: ${e.outputPath}`,{cause:t});if(!J(n))throw t;try{await b.copyFile(e.tempArchivePath,e.outputPath,y.COPYFILE_EXCL)}catch(t){let n=t?.code;throw n!==`EEXIST`&&await b.rm(e.outputPath,{force:!0}).catch(()=>void 0),n===`EEXIST`?Error(`Refusing to overwrite existing backup archive: ${e.outputPath}`,{cause:t}):t}}await b.rm(e.tempArchivePath,{force:!0})}async function X(e){let t=v.resolve(e),n=[],r=t;for(;;)try{let e=await b.realpath(r);return n.length===0?e:v.join(e,...n.toReversed())}catch{let e=v.dirname(r);if(e===r)return t;n.push(v.basename(r)),r=e}}function Z(e){return{schemaVersion:1,createdAt:e.createdAt,archiveRoot:e.archiveRoot,runtimeVersion:d(),platform:process.platform,nodeVersion:process.version,options:{includeWorkspace:e.includeWorkspace,onlyConfig:e.onlyConfig},paths:{stateDir:e.stateDir,configPath:e.configPath,oauthDir:e.oauthDir,workspaceDirs:e.workspaceDirs},assets:e.assets.map(e=>({kind:e.kind,sourcePath:e.sourcePath,archivePath:e.archivePath})),skipped:e.skipped.map(e=>({kind:e.kind,sourcePath:e.sourcePath,reason:e.reason,coveredBy:e.coveredBy}))}}function Q(e){let t=[`Backup archive: ${e.archivePath}`];t.push(`Included ${e.assets.length} path${e.assets.length===1?``:`s`}:`);for(let n of e.assets)t.push(`- ${n.kind}: ${n.displayPath}`);if(e.skipped.length>0){t.push(`Skipped ${e.skipped.length} path${e.skipped.length===1?``:`s`}:`);for(let n of e.skipped)n.reason===`covered`&&n.coveredBy?t.push(`- ${n.kind}: ${n.displayPath} (${n.reason} by ${n.coveredBy})`):t.push(`- ${n.kind}: ${n.displayPath} (${n.reason})`)}return e.dryRun?t.push(`Dry run only; archive was not written.`):(t.push(`Created ${e.archivePath}`),e.verified&&t.push(`Archive verification: passed`)),t}function $(e){let t=v.resolve(e.entryPath);return t===e.manifestPath?v.posix.join(e.archiveRoot,`manifest.json`):V(e.archiveRoot,t)}async function ee(e={}){let t=e.nowMs??Date.now(),n=R(t),r=!!e.onlyConfig,i=r?!1:e.includeWorkspace??!0,a=await W({includeWorkspace:i,onlyConfig:r,nowMs:t}),o=await G({output:e.output,nowMs:t,includedAssets:a.included,stateDir:a.stateDir});if(a.included.length===0)throw Error(r?`No OpenClaw config file was found to back up.`:`No local OpenClaw state was found to back up.`);let s=await X(o),c=a.included.find(e=>h(s,e.sourcePath));if(c)throw Error(`Backup output must not be written inside a source path: ${o} is inside ${c.sourcePath}`);e.dryRun||await K(o);let l=new Date(t).toISOString(),u={createdAt:l,archiveRoot:n,archivePath:o,dryRun:!!e.dryRun,includeWorkspace:i,onlyConfig:r,verified:!1,assets:a.included,skipped:a.skipped};if(e.dryRun)return u;await b.mkdir(v.dirname(o),{recursive:!0});let d=await b.mkdtemp(v.join(_.tmpdir(),`openclaw-backup-`)),f=v.join(d,`manifest.json`),p=q(o);try{let e=Z({createdAt:l,archiveRoot:n,includeWorkspace:i,onlyConfig:r,assets:u.assets,skipped:u.skipped,stateDir:a.stateDir,configPath:a.configPath,oauthDir:a.oauthDir,workspaceDirs:a.workspaceDirs});await b.writeFile(f,`${JSON.stringify(e,null,2)}\n`,`utf8`),await S.c({file:p,gzip:!0,portable:!0,preservePaths:!0,onWriteEntry:e=>{e.path=$({entryPath:e.path,manifestPath:f,archiveRoot:n})}},[f,...u.assets.map(e=>e.sourcePath)]),await Y({tempArchivePath:p,outputPath:o})}finally{await b.rm(p,{force:!0}).catch(()=>void 0),await b.rm(d,{recursive:!0,force:!0}).catch(()=>void 0)}return u}async function te(e,t={}){let n=await ee(t);t.verify&&!t.dryRun&&(await I({...e,log:()=>{}},{archive:n.archivePath,json:!1}),n.verified=!0);let r=t.json?JSON.stringify(n,null,2):Q(n).join(`
|
|
3
3
|
`);return e.log(r),n}function ne(n){let r=n.command(`backup`).description(`Create and verify local backup archives for OpenClaw state`).addHelpText(`after`,()=>`\n${e.muted(`Docs:`)} ${f(`/cli/backup`,`docs.openclaw.ai/cli/backup`)}\n`);r.command(`create`).description(`Write a backup archive for config, credentials, sessions, and workspaces`).option(`--output <path>`,`Archive path or destination directory`).option(`--json`,`Output JSON`,!1).option(`--dry-run`,`Print the backup plan without writing the archive`,!1).option(`--verify`,`Verify the archive after writing it`,!1).option(`--only-config`,`Back up only the active JSON config file`,!1).option(`--no-include-workspace`,`Exclude workspace directories from the backup`).addHelpText(`after`,()=>`\n${e.heading(`Examples:`)}\n${m([[`openclaw backup create`,`Create a timestamped backup in the current directory.`],[`openclaw backup create --output ~/Backups`,`Write the archive into an existing backup directory.`],[`openclaw backup create --dry-run --json`,`Preview the archive plan without writing any files.`],[`openclaw backup create --verify`,`Create the archive and immediately validate its manifest and payload layout.`],[`openclaw backup create --no-include-workspace`,`Back up state/config without agent workspace files.`],[`openclaw backup create --only-config`,`Back up only the active JSON config file.`]])}`).action(async e=>{await p(t,async()=>{await te(t,{output:e.output,json:!!e.json,dryRun:!!e.dryRun,verify:!!e.verify,onlyConfig:!!e.onlyConfig,includeWorkspace:e.includeWorkspace})})}),r.command(`verify <archive>`).description(`Validate a backup archive and its embedded manifest`).option(`--json`,`Output JSON`,!1).addHelpText(`after`,()=>`\n${e.heading(`Examples:`)}\n${m([[`openclaw backup verify ./2026-03-09T00-00-00.000Z-openclaw-backup.tar.gz`,`Check that the archive structure and manifest are intact.`],[`openclaw backup verify ~/Backups/latest.tar.gz --json`,`Emit machine-readable verification output.`]])}`).action(async(e,n)=>{await p(t,async()=>{await I(t,{archive:e,json:!!n.json})})})}export{ne as registerBackupCommand};
|
|
4
|
-
//# sourceMappingURL=register.backup-BDO3V0so.js.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import{g as e,m as t,o as n}from"./paths-B4IRk3wi.js";import{A as r,p as i}from"./subsystem-C5XF2Fy5.js";import{S as a,_ as o,h as s,y as c}from"./utils-UGOV_184.js";import{Nl as l,Zs as u,ii as d}from"./model-selection-BLbnMb5E.js";import"./agent-scope-DXZc3eNT.js";import"./openclaw-root-D_0Q6--h.js";import"./github-copilot-token-DGYAlOmV.js";import"./boolean-Ch3DfXPy.js";import"./env-D7wNuBx1.js";import"./env-overrides-DXJbFrwI.js";import"./registry-hFAtCSWG.js";import"./skills-CzUpDbU-.js";import"./frontmatter-BkZkwkVO.js";import"./plugins-CYLrFT4h.js";import"./logger-Bl8URnrW.js";import"./exec-DHqLtFYt.js";import"./windows-spawn-AB7ItGAE.js";import"./redact-3_CiXMY6.js";import"./path-alias-guards-mvyLCPlN.js";import"./errors-Bunti32V.js";import"./paths-yLEk_25I.js";import"./chat-envelope-HVpKusFc.js";import{t as f}from"./links-CySwdMcF.js";import{n as p}from"./cli-utils-BY7dLMFy.js";import{t as m}from"./help-format-BRbF_INg.js";import{n as h,t as g}from"./cleanup-utils-D-RhEX6F.js";import{constants as _}from"node:fs";import v from"node:os";import y from"node:path";import b from"node:fs/promises";import{randomUUID as x}from"node:crypto";import*as S from"tar";const C=/^[A-Za-z]:[\\/]/;function w(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function T(e){return e.replace(/\/+$/u,``)}function E(e,t){let n=T(e.trim());if(!n)throw Error(`${t} is empty.`);if(n.startsWith(`/`)||C.test(n))throw Error(`${t} must be relative: ${e}`);if(n.includes(`\\`))throw Error(`${t} must use forward slashes: ${e}`);if(n.split(`/`).some(e=>e===`.`||e===`..`))throw Error(`${t} contains path traversal segments: ${e}`);let r=T(y.posix.normalize(n));if(!r||r===`.`||r===`..`||r.startsWith(`../`))throw Error(`${t} resolves outside the archive root: ${e}`);return r}function D(e){let t=E(e,`Backup manifest archiveRoot`);if(t.includes(`/`))throw Error(`Backup manifest archiveRoot must be a single path segment: ${e}`);return t}function O(e,t){let n=y.posix.relative(t,e);return n===``||!n.startsWith(`../`)&&n!==`..`}function k(e){let t;try{t=JSON.parse(e)}catch(e){throw Error(`Backup manifest is not valid JSON: ${String(e)}`,{cause:e})}if(!w(t))throw Error(`Backup manifest must be an object.`);if(t.schemaVersion!==1)throw Error(`Unsupported backup manifest schemaVersion: ${String(t.schemaVersion)}`);if(typeof t.archiveRoot!=`string`||!t.archiveRoot.trim())throw Error(`Backup manifest is missing archiveRoot.`);if(typeof t.createdAt!=`string`||!t.createdAt.trim())throw Error(`Backup manifest is missing createdAt.`);if(!Array.isArray(t.assets))throw Error(`Backup manifest is missing assets.`);let n=[];for(let e of t.assets){if(!w(e))throw Error(`Backup manifest contains a non-object asset.`);if(typeof e.kind!=`string`||!e.kind.trim())throw Error(`Backup manifest asset is missing kind.`);if(typeof e.sourcePath!=`string`||!e.sourcePath.trim())throw Error(`Backup manifest asset is missing sourcePath.`);if(typeof e.archivePath!=`string`||!e.archivePath.trim())throw Error(`Backup manifest asset is missing archivePath.`);n.push({kind:e.kind,sourcePath:e.sourcePath,archivePath:e.archivePath})}return{schemaVersion:1,archiveRoot:t.archiveRoot,createdAt:t.createdAt,runtimeVersion:typeof t.runtimeVersion==`string`&&t.runtimeVersion.trim()?t.runtimeVersion:`unknown`,platform:typeof t.platform==`string`?t.platform:`unknown`,nodeVersion:typeof t.nodeVersion==`string`?t.nodeVersion:`unknown`,options:w(t.options)?{includeWorkspace:t.options.includeWorkspace}:void 0,paths:w(t.paths)?{stateDir:typeof t.paths.stateDir==`string`?t.paths.stateDir:void 0,configPath:typeof t.paths.configPath==`string`?t.paths.configPath:void 0,oauthDir:typeof t.paths.oauthDir==`string`?t.paths.oauthDir:void 0,workspaceDirs:Array.isArray(t.paths.workspaceDirs)?t.paths.workspaceDirs.filter(e=>typeof e==`string`):void 0}:void 0,assets:n,skipped:Array.isArray(t.skipped)?t.skipped:void 0}}async function A(e){let t=[];return await S.t({file:e,gzip:!0,onentry:e=>{t.push(e.path)}}),t}async function j(e){let t;if(await S.t({file:e.archivePath,gzip:!0,onentry:n=>{if(n.path!==e.manifestEntryPath){n.resume();return}t=new Promise((e,t)=>{let r=[];n.on(`data`,e=>{r.push(Buffer.isBuffer(e)?e:Buffer.from(e))}),n.on(`error`,t),n.on(`end`,()=>{e(Buffer.concat(r).toString(`utf8`))})})}}),!t)throw Error(`Archive is missing manifest entry: ${e.manifestEntryPath}`);return await t}function M(e){let t=e.split(`/`);return t.length===2&&t[0]!==``&&t[1]===`manifest.json`}function N(e,t){let n=D(e.archiveRoot),r=y.posix.join(n,`manifest.json`),i=[...t],a=new Set(i);if(!a.has(r))throw Error(`Archive is missing manifest entry: ${r}`);for(let e of i)if(!O(e,n))throw Error(`Archive entry is outside the declared archive root: ${e}`);let o=y.posix.join(n,`payload`);for(let t of e.assets){let e=E(t.archivePath,`Backup manifest asset path`);if(!O(e,o))throw Error(`Manifest asset path is outside payload root: ${t.archivePath}`);let n=a.has(e),r=i.some(t=>t!==e&&O(t,e));if(!n&&!r)throw Error(`Archive is missing payload for manifest asset: ${e}`)}}function P(e){return[`Backup archive OK: ${e.archivePath}`,`Archive root: ${e.archiveRoot}`,`Created at: ${e.createdAt}`,`Runtime version: ${e.runtimeVersion}`,`Assets verified: ${e.assetCount}`,`Archive entries scanned: ${e.entryCount}`].join(`
|
|
2
2
|
`)}function F(e){let t=new Set;for(let n of e){if(t.has(n.normalized))return n.normalized;t.add(n.normalized)}}async function I(e,t){let n=c(t.archive),r=await A(n);if(r.length===0)throw Error(`Backup archive is empty.`);let i=r.map(e=>({raw:e,normalized:E(e,`Archive entry`)})),a=new Set(i.map(e=>e.normalized)),o=i.filter(e=>M(e.normalized));if(o.length!==1)throw Error(`Expected exactly one backup manifest entry, found ${o.length}.`);let s=F(i);if(s)throw Error(`Archive contains duplicate entry path: ${s}`);let l=o[0]?.raw;if(!l)throw Error(`Backup archive manifest entry could not be resolved.`);let u=k(await j({archivePath:n,manifestEntryPath:l}));N(u,a);let d={ok:!0,archivePath:n,archiveRoot:u.archiveRoot,createdAt:u.createdAt,runtimeVersion:u.runtimeVersion,assetCount:u.assets.length,entryCount:r.length};return e.log(t.json?JSON.stringify(d,null,2):P(d)),d}function L(e){switch(e){case`state`:return 0;case`config`:return 1;case`credentials`:return 2;case`workspace`:return 3}}function R(e=Date.now()){return`${d(e)}-openclaw-backup`}function z(e=Date.now()){return`${R(e)}.tar.gz`}function B(e){let t=e.replaceAll(`\\`,`/`),n=t.match(/^([A-Za-z]):\/(.*)$/);if(n){let e=n[1]?.toUpperCase()??`UNKNOWN`,t=n[2]??``;return y.posix.join(`windows`,e,t)}return t.startsWith(`/`)?y.posix.join(`posix`,t.slice(1)):y.posix.join(`relative`,t)}function V(e,t){return y.posix.join(e,`payload`,B(t))}function H(e,t){let n=e.canonicalPath.length-t.canonicalPath.length;if(n!==0)return n;let r=L(e.kind)-L(t.kind);return r===0?e.canonicalPath.localeCompare(t.canonicalPath):r}async function U(e){try{return await b.realpath(e)}catch{return y.resolve(e)}}async function W(r={}){let i=r.includeWorkspace??!0,o=r.onlyConfig??!1,c=e(),l=n(),d=t(),f=R(r.nowMs);if(o){let e=y.resolve(l);if(!await s(e))return{stateDir:c,configPath:l,oauthDir:d,workspaceDirs:[],included:[],skipped:[{kind:`config`,sourcePath:e,displayPath:a(e),reason:`missing`}]};let t=await U(e);return{stateDir:c,configPath:l,oauthDir:d,workspaceDirs:[],included:[{kind:`config`,sourcePath:t,displayPath:a(t),archivePath:V(f,t)}],skipped:[]}}let p=await u();if(i&&p.exists&&!p.valid)throw Error(`Config invalid at ${a(p.path)}. OpenClaw cannot reliably discover custom workspaces for backup. Fix the config or rerun with --no-include-workspace for a partial backup.`);let m=g({cfg:p.config,stateDir:c,configPath:l,oauthDir:d}),_=i?m.workspaceDirs:[],v=[{kind:`state`,sourcePath:y.resolve(c)},...m.configInsideState?[]:[{kind:`config`,sourcePath:y.resolve(l)}],...m.oauthInsideState?[]:[{kind:`credentials`,sourcePath:y.resolve(d)}],...i?_.map(e=>({kind:`workspace`,sourcePath:y.resolve(e)})):[]],b=await Promise.all(v.map(async e=>{let t=await s(e.sourcePath);return{...e,exists:t,canonicalPath:t?await U(e.sourcePath):y.resolve(e.sourcePath)}})),x=[],S=new Set;for(let e of[...b].toSorted(H))S.has(e.canonicalPath)||(S.add(e.canonicalPath),x.push(e));let C=[],w=[];for(let e of x){if(!e.exists){w.push({kind:e.kind,sourcePath:e.sourcePath,displayPath:a(e.sourcePath),reason:`missing`});continue}let t=C.find(t=>h(e.canonicalPath,t.sourcePath));if(t){w.push({kind:e.kind,sourcePath:e.canonicalPath,displayPath:a(e.canonicalPath),reason:`covered`,coveredBy:t.displayPath});continue}C.push({kind:e.kind,sourcePath:e.canonicalPath,displayPath:a(e.canonicalPath),archivePath:V(f,e.canonicalPath)})}return{stateDir:c,configPath:l,oauthDir:d,workspaceDirs:_.map(e=>y.resolve(e)),included:C,skipped:w}}async function G(e){let t=z(e.nowMs),n=e.output?.trim();if(!n){let n=y.resolve(process.cwd()),r=await b.realpath(n).catch(()=>n),i=e.includedAssets.some(e=>h(r,e.sourcePath))?o()??y.dirname(e.stateDir):n;return y.resolve(i,t)}let r=c(n);if(n.endsWith(`/`)||n.endsWith(`\\`))return y.join(r,t);try{if((await b.stat(r)).isDirectory())return y.join(r,t)}catch{}return r}async function K(e){try{throw await b.access(e),Error(`Refusing to overwrite existing backup archive: ${e}`)}catch(e){if(e?.code===`ENOENT`)return;throw e}}function q(e){return`${e}.${x()}.tmp`}function J(e){return e===`ENOTSUP`||e===`EOPNOTSUPP`||e===`EPERM`}async function Y(e){try{await b.link(e.tempArchivePath,e.outputPath)}catch(t){let n=t?.code;if(n===`EEXIST`)throw Error(`Refusing to overwrite existing backup archive: ${e.outputPath}`,{cause:t});if(!J(n))throw t;try{await b.copyFile(e.tempArchivePath,e.outputPath,_.COPYFILE_EXCL)}catch(t){let n=t?.code;throw n!==`EEXIST`&&await b.rm(e.outputPath,{force:!0}).catch(()=>void 0),n===`EEXIST`?Error(`Refusing to overwrite existing backup archive: ${e.outputPath}`,{cause:t}):t}}await b.rm(e.tempArchivePath,{force:!0})}async function X(e){let t=y.resolve(e),n=[],r=t;for(;;)try{let e=await b.realpath(r);return n.length===0?e:y.join(e,...n.toReversed())}catch{let e=y.dirname(r);if(e===r)return t;n.push(y.basename(r)),r=e}}function Z(e){return{schemaVersion:1,createdAt:e.createdAt,archiveRoot:e.archiveRoot,runtimeVersion:l(),platform:process.platform,nodeVersion:process.version,options:{includeWorkspace:e.includeWorkspace,onlyConfig:e.onlyConfig},paths:{stateDir:e.stateDir,configPath:e.configPath,oauthDir:e.oauthDir,workspaceDirs:e.workspaceDirs},assets:e.assets.map(e=>({kind:e.kind,sourcePath:e.sourcePath,archivePath:e.archivePath})),skipped:e.skipped.map(e=>({kind:e.kind,sourcePath:e.sourcePath,reason:e.reason,coveredBy:e.coveredBy}))}}function Q(e){let t=[`Backup archive: ${e.archivePath}`];t.push(`Included ${e.assets.length} path${e.assets.length===1?``:`s`}:`);for(let n of e.assets)t.push(`- ${n.kind}: ${n.displayPath}`);if(e.skipped.length>0){t.push(`Skipped ${e.skipped.length} path${e.skipped.length===1?``:`s`}:`);for(let n of e.skipped)n.reason===`covered`&&n.coveredBy?t.push(`- ${n.kind}: ${n.displayPath} (${n.reason} by ${n.coveredBy})`):t.push(`- ${n.kind}: ${n.displayPath} (${n.reason})`)}return e.dryRun?t.push(`Dry run only; archive was not written.`):(t.push(`Created ${e.archivePath}`),e.verified&&t.push(`Archive verification: passed`)),t}function $(e){let t=y.resolve(e.entryPath);return t===e.manifestPath?y.posix.join(e.archiveRoot,`manifest.json`):V(e.archiveRoot,t)}async function ee(e={}){let t=e.nowMs??Date.now(),n=R(t),r=!!e.onlyConfig,i=r?!1:e.includeWorkspace??!0,a=await W({includeWorkspace:i,onlyConfig:r,nowMs:t}),o=await G({output:e.output,nowMs:t,includedAssets:a.included,stateDir:a.stateDir});if(a.included.length===0)throw Error(r?`No OpenClaw config file was found to back up.`:`No local OpenClaw state was found to back up.`);let s=await X(o),c=a.included.find(e=>h(s,e.sourcePath));if(c)throw Error(`Backup output must not be written inside a source path: ${o} is inside ${c.sourcePath}`);e.dryRun||await K(o);let l=new Date(t).toISOString(),u={createdAt:l,archiveRoot:n,archivePath:o,dryRun:!!e.dryRun,includeWorkspace:i,onlyConfig:r,verified:!1,assets:a.included,skipped:a.skipped};if(e.dryRun)return u;await b.mkdir(y.dirname(o),{recursive:!0});let d=await b.mkdtemp(y.join(v.tmpdir(),`openclaw-backup-`)),f=y.join(d,`manifest.json`),p=q(o);try{let e=Z({createdAt:l,archiveRoot:n,includeWorkspace:i,onlyConfig:r,assets:u.assets,skipped:u.skipped,stateDir:a.stateDir,configPath:a.configPath,oauthDir:a.oauthDir,workspaceDirs:a.workspaceDirs});await b.writeFile(f,`${JSON.stringify(e,null,2)}\n`,`utf8`),await S.c({file:p,gzip:!0,portable:!0,preservePaths:!0,onWriteEntry:e=>{e.path=$({entryPath:e.path,manifestPath:f,archiveRoot:n})}},[f,...u.assets.map(e=>e.sourcePath)]),await Y({tempArchivePath:p,outputPath:o})}finally{await b.rm(p,{force:!0}).catch(()=>void 0),await b.rm(d,{recursive:!0,force:!0}).catch(()=>void 0)}return u}async function te(e,t={}){let n=await ee(t);t.verify&&!t.dryRun&&(await I({...e,log:()=>{}},{archive:n.archivePath,json:!1}),n.verified=!0);let r=t.json?JSON.stringify(n,null,2):Q(n).join(`
|
|
3
3
|
`);return e.log(r),n}function ne(e){let t=e.command(`backup`).description(`Create and verify local backup archives for OpenClaw state`).addHelpText(`after`,()=>`\n${r.muted(`Docs:`)} ${f(`/cli/backup`,`docs.openclaw.ai/cli/backup`)}\n`);t.command(`create`).description(`Write a backup archive for config, credentials, sessions, and workspaces`).option(`--output <path>`,`Archive path or destination directory`).option(`--json`,`Output JSON`,!1).option(`--dry-run`,`Print the backup plan without writing the archive`,!1).option(`--verify`,`Verify the archive after writing it`,!1).option(`--only-config`,`Back up only the active JSON config file`,!1).option(`--no-include-workspace`,`Exclude workspace directories from the backup`).addHelpText(`after`,()=>`\n${r.heading(`Examples:`)}\n${m([[`openclaw backup create`,`Create a timestamped backup in the current directory.`],[`openclaw backup create --output ~/Backups`,`Write the archive into an existing backup directory.`],[`openclaw backup create --dry-run --json`,`Preview the archive plan without writing any files.`],[`openclaw backup create --verify`,`Create the archive and immediately validate its manifest and payload layout.`],[`openclaw backup create --no-include-workspace`,`Back up state/config without agent workspace files.`],[`openclaw backup create --only-config`,`Back up only the active JSON config file.`]])}`).action(async e=>{await p(i,async()=>{await te(i,{output:e.output,json:!!e.json,dryRun:!!e.dryRun,verify:!!e.verify,onlyConfig:!!e.onlyConfig,includeWorkspace:e.includeWorkspace})})}),t.command(`verify <archive>`).description(`Validate a backup archive and its embedded manifest`).option(`--json`,`Output JSON`,!1).addHelpText(`after`,()=>`\n${r.heading(`Examples:`)}\n${m([[`openclaw backup verify ./2026-03-09T00-00-00.000Z-openclaw-backup.tar.gz`,`Check that the archive structure and manifest are intact.`],[`openclaw backup verify ~/Backups/latest.tar.gz --json`,`Emit machine-readable verification output.`]])}`).action(async(e,t)=>{await p(i,async()=>{await I(i,{archive:e,json:!!t.json})})})}export{ne as registerBackupCommand};
|
|
4
|
-
//# sourceMappingURL=register.backup-Vh8RK6fp.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
1
|
import{A as e,p as t}from"./subsystem-BLbY429l.js";import"./paths-BjD3T_xq.js";import"./boolean-D15s2V33.js";import"./auth-profiles-C8rZRS0X.js";import"./agent-scope-DAWJwFfl.js";import"./utils-CGdo13HV.js";import"./openclaw-root-CnsBf6ZU.js";import"./github-copilot-token-C79yeDKS.js";import"./env-overrides-DHtB4kK3.js";import"./version-q3SkUw2K.js";import"./registry-BptzrW8D.js";import"./skills-Bz_S4lPh.js";import"./frontmatter-C7mzDNxd.js";import"./plugins-DNlgeTTc.js";import"./logger-kQAOe3qp.js";import"./exec-B3eleY5O.js";import"./windows-spawn-7oINn5ao.js";import"./redact-CnRxK70G.js";import"./path-alias-guards-kY_ZbWs-.js";import"./errors-6SQWM9dj.js";import"./send-vNcod64S.js";import"./send-CyarIb2w.js";import"./compact-CYbPi7_-.js";import"./paths-BfjJY2VL.js";import"./chat-envelope-Bznn2SoS.js";import"./models-config-DZzS67GS.js";import"./tokens-DRM8vzJx.js";import"./with-timeout-c1CzdShT.js";import"./deliver-SqSusZP3.js";import"./diagnostic-D1H7_8QG.js";import"./send-Dj7NBAWg.js";import"./pi-model-discovery-BPkhPDMr.js";import"./exec-approvals-allowlist-CGjRWREs.js";import"./exec-safe-bin-runtime-policy-v44u39fl.js";import"./model-catalog-mt0IcDfR.js";import"./fetch-B4bz67_N.js";import"./audio-transcription-runner-BIKj1CBU.js";import"./fetch-guard-DaZmvp-L.js";import"./image-BVbOr9yV.js";import"./tool-display-DJDtttQg.js";import"./api-key-rotation-BpEL4aeX.js";import"./proxy-fetch-gWETR3cl.js";import"./ir-DdjufzKF.js";import"./render-DrrPmnMI.js";import"./target-errors-D6wejRd6.js";import"./commands-Dy7duWlt.js";import"./commands-registry-DT6FDUev.js";import"./session-cost-usage-CHtVgnE8.js";import"./session-utils-Bpdyx2A2.js";import"./sqlite-CILF3z9U.js";import"./call-BWx7hNtl.js";import"./pi-tools.policy-B6q8YOfg.js";import"./pairing-store-BaaVy1zB.js";import"./fetch-Dh-apy46.js";import"./skill-commands-DCqPy_Aa.js";import"./workspace-dirs-A8Vib9_B.js";import"./pairing-token-zdbQ951y.js";import"./channel-activity-BhiLsKvM.js";import"./tables-DENKrP-W.js";import"./kill-tree-D6nPx1_o.js";import"./runtime-web-tools-BYhCkBV8.js";import"./runtime-CK7gqwEF.js";import"./node-shell-BVZylVP6.js";import"./stagger-DxzgG2jd.js";import"./channel-selection-BPxE8JR7.js";import"./plugin-auto-enable-adba5Evb.js";import"./send-ChILboDj.js";import"./outbound-attachment-CVcDBkAD.js";import"./delivery-queue-nkPJu0fY.js";import"./send-COpehmAB.js";import"./system-run-command-DsWBVvSK.js";import"./fetch-Ce-scEU-.js";import"./command-secret-targets-BEjtBf5Z.js";import"./connection-auth-CjaeEu5D.js";import"./onboard-helpers-DOlI17Ac.js";import"./prompt-style-BThRSQJR.js";import"./pairing-labels-CZ-aX-up.js";import"./search-manager-CV2YsAym.js";import"./manager-CxZRoQkE.js";import"./memory-cli-C8fBBPgv.js";import{t as n}from"./links-CBnmRP9D.js";import{n as r}from"./cli-utils-BleB1eys.js";import"./help-format-B4aEI7V9.js";import"./progress-d1m2sqR1.js";import"./exec-approvals-BXO9Cezj.js";import"./skills-status-DpSboPY1.js";import"./outbound-CqDxMWLZ.js";import"./channel-web-CwUfYqjg.js";import"./session-bk3gFwO4.js";import"./login-CcYeF5T_.js";import"./provider-env-vars-Dt0Q29Su.js";import"./note-Dp-d_utk.js";import"./clack-prompter-DBPdGdqp.js";import"./enable-PO3qN4Lf.js";import"./install-safe-path-C6kc_8NW.js";import"./npm-pack-install-C0te3Oap.js";import"./skill-scanner-CkxXNioD.js";import"./installs-CKzq-YqL.js";import"./plugin-install-plan-sIOiMBS1.js";import"./onboard-channels-BDMtq3ex.js";import"./auth-choice.apply-helpers-D911bYcw.js";import"./issue-format-CN9PHzXY.js";import"./daemon-install-plan.shared-Dx3DBXCG.js";import"./runtime-guard-DX2Ie4ri.js";import"./gateway-install-token-cSJrfU_1.js";import"./systemd-DbevZh65.js";import"./service-DZ9EbS15.js";import"./widearea-dns-BDx7vkV2.js";import"./bonjour-discovery-ClTijpMw.js";import"./health-CIZFVJEG.js";import"./control-ui-assets-CTHGGgaX.js";import"./onboarding.secret-input-CUD0t7Pk.js";import"./skills-install-cEcqzaX8.js";import"./openai-codex-model-default-DuRfnfUm.js";import"./auth-token-DZLZ3d_I.js";import"./logging-B7XHbCNn.js";import"./provider-auth-helpers-BLm2bdp5.js";import"./oauth-tls-preflight-BSBRDIfC.js";import"./auth-choice-options-B3WQyS7I.js";import"./auth-choice-prompt-uegl56cf.js";import"./auth-choice-MqcWuVyu.js";import"./openai-model-default-KMCphvoO.js";import"./model-picker-BB0Zdvyu.js";import"./ollama-setup-LVRPefmV.js";import"./systemd-linger-cWKbFNpu.js";import"./onboard-custom-_Df_ciX2.js";import"./ipv4-B05QVStj.js";import"./health-format-B1nj3Wfn.js";import"./onboard-remote-B1-SlmUN.js";import"./onboard-skills-DCgTr6hW.js";import{configureCommandFromSectionsArg as i,t as a}from"./configure-DFlnM_zh.js";function o(o){o.command(`configure`).description(`Interactive setup wizard for credentials, channels, gateway, and agent defaults`).addHelpText(`after`,()=>`\n${e.muted(`Docs:`)} ${n(`/cli/configure`,`docs.openclaw.ai/cli/configure`)}\n`).option(`--section <section>`,`Configuration sections (repeatable). Options: ${a.join(`, `)}`,(e,t)=>[...t,e],[]).action(async e=>{await r(t,async()=>{await i(e.section,t)})})}export{o as registerConfigureCommand};
|
|
2
|
-
//# sourceMappingURL=register.configure-C2N82brC.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
1
|
import"./paths-B4IRk3wi.js";import{A as e,p as t}from"./subsystem-C5XF2Fy5.js";import"./utils-UGOV_184.js";import"./model-selection-BLbnMb5E.js";import"./reply-DwfVhea1.js";import"./agent-scope-DXZc3eNT.js";import"./openclaw-root-D_0Q6--h.js";import"./github-copilot-token-DGYAlOmV.js";import"./boolean-Ch3DfXPy.js";import"./env-D7wNuBx1.js";import"./env-overrides-DXJbFrwI.js";import"./registry-hFAtCSWG.js";import"./skills-CzUpDbU-.js";import"./frontmatter-BkZkwkVO.js";import"./plugins-CYLrFT4h.js";import"./logger-Bl8URnrW.js";import"./exec-DHqLtFYt.js";import"./windows-spawn-AB7ItGAE.js";import"./redact-3_CiXMY6.js";import"./path-alias-guards-mvyLCPlN.js";import"./errors-Bunti32V.js";import"./send-C7rOdjPO.js";import"./send-BwblpWbK.js";import"./paths-yLEk_25I.js";import"./chat-envelope-HVpKusFc.js";import"./audio-transcription-runner-BwjMhAUa.js";import"./image-BP1cfEh1.js";import"./models-config-BlQ39qlq.js";import"./tool-display-DjuSUUbH.js";import"./fetch-guard-7BAwnP4a.js";import"./api-key-rotation-Rz2ESQSA.js";import"./local-roots-aA-4ohTq.js";import"./model-catalog-D-hkNWin.js";import"./proxy-fetch-BADsUK4d.js";import"./tokens-XGbQGn67.js";import"./deliver-DUNkj4hy.js";import"./commands-CGpM84iR.js";import"./commands-registry-DlvNUkXz.js";import"./pairing-store-EmfFQVcs.js";import"./fetch-Dikjvc5M.js";import"./call-JB-cGR9n.js";import"./with-timeout-WveKxvFV.js";import"./diagnostic-BEZszppF.js";import"./send-NbU9-scF2.js";import"./pi-model-discovery-DnJkNRc-.js";import"./exec-approvals-allowlist-B-Yf6RsU.js";import"./exec-safe-bin-runtime-policy-CRPHdPbF.js";import"./ir-CNTx85qV.js";import"./render-D8OWO2hT.js";import"./target-errors-CoEHv_2r.js";import"./read-only-account-inspect-B0cm8yrv.js";import"./channel-selection-si1OzWyQ.js";import"./plugin-auto-enable-CTgkkJK7.js";import"./send-DmHpf5Fz.js";import"./outbound-attachment-9-8VNvRG.js";import"./delivery-queue-CKbauSFq.js";import"./send-AQ3CJLpI.js";import"./channel-activity-Dw6F-ehJ.js";import"./tables-fl9iXahm.js";import"./fetch-Bn0mWg6a.js";import"./skill-commands-DlHVddAk.js";import"./workspace-dirs-BhF1Dzxt.js";import"./pairing-token-B8RdfK2y.js";import"./restart-BeJuoXCx.js";import"./runtime-web-tools-C4F6aaRh.js";import"./command-secret-targets-CfXtLkLF.js";import"./session-cost-usage-BgqKixv0.js";import"./connection-auth-smZlFWxD.js";import"./onboard-helpers-D90u4wVK.js";import"./prompt-style-CXKekIBY.js";import"./pairing-labels-PIuZfthz.js";import"./memory-cli-BouV_wyL.js";import"./query-expansion-0OxEb1Io.js";import"./manager-CI6O4QH6.js";import{t as n}from"./links-CySwdMcF.js";import{n as r}from"./cli-utils-BY7dLMFy.js";import"./help-format-BRbF_INg.js";import"./progress-LNttnI-y.js";import"./exec-approvals-BpBNEy6i.js";import"./nodes-screen-8nRBsfID.js";import"./system-run-command-E8ymBXHh.js";import"./runtime-DYttInEE.js";import"./stagger-DmFYysrJ.js";import"./channel-web-CCSMlUux.js";import"./outbound-BevYwvMh.js";import"./session-BSRnpwSq.js";import"./login-DSZdCiDx.js";import"./runtime-guard-DFYBaYZS.js";import"./skills-status-D4Y1BJYL.js";import"./provider-env-vars-D8p6Ohpj.js";import"./note-D4GAwgha.js";import"./clack-prompter-Dq0aY6iM.js";import"./enable-CjFPAUgo.js";import"./install-safe-path-iesxijn2.js";import"./npm-pack-install-B23L-AtF.js";import"./skill-scanner-CUUF3Fvo.js";import"./installs-DzSskdtJ.js";import"./plugin-install-plan-BmyB3dR1.js";import"./onboard-channels-BO3AN_eA.js";import"./auth-choice.apply-helpers-pJ4CPZCk.js";import"./issue-format-BtMzMXtZ.js";import"./daemon-install-plan.shared-BkwZgIAY.js";import"./gateway-install-token-Dt7hDXoR.js";import"./systemd-D7odsu4K.js";import"./service-BtB9epJk.js";import"./widearea-dns-BFjqKXu_.js";import"./bonjour-discovery-DMB6yrOF.js";import"./health-B_-ZE5FK.js";import"./control-ui-assets-BIa0GGDg.js";import"./onboarding.secret-input-BSmFS1Px.js";import"./skills-install-D3YB2C-S.js";import"./openai-codex-model-default-Bx8i3bOg.js";import"./auth-token-Dp6bxT29.js";import"./logging-CbMVr2MA.js";import"./provider-auth-helpers-DPz0vN_c.js";import"./oauth-tls-preflight-ByNjbUR5.js";import"./auth-choice-options-Dw14noox.js";import"./auth-choice-prompt-xYj13czb.js";import"./auth-choice-BmI4sIGs.js";import"./openai-model-default-Bm9b0oR0.js";import"./model-picker-DeiWyW0N.js";import"./ollama-setup-CGuyH3Ey.js";import"./systemd-linger-C2MJD6KG.js";import"./onboard-custom--OylwoHQ.js";import"./ipv4-SeeyR-DH.js";import"./health-format-VBr6LEpt.js";import"./onboard-remote-C7Eg49Uf.js";import"./onboard-skills-_TBzISd2.js";import{configureCommandFromSectionsArg as i,t as a}from"./configure--c4tTVPz.js";function o(o){o.command(`configure`).description(`Interactive setup wizard for credentials, channels, gateway, and agent defaults`).addHelpText(`after`,()=>`\n${e.muted(`Docs:`)} ${n(`/cli/configure`,`docs.openclaw.ai/cli/configure`)}\n`).option(`--section <section>`,`Configuration sections (repeatable). Options: ${a.join(`, `)}`,(e,t)=>[...t,e],[]).action(async e=>{await r(t,async()=>{await i(e.section,t)})})}export{o as registerConfigureCommand};
|
|
2
|
-
//# sourceMappingURL=register.configure-C6zjzaEo.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import{g as e,i as t,m as n,o as r,u as i}from"./paths-B4IRk3wi.js";import{A as a,p as o}from"./subsystem-C5XF2Fy5.js";import{_ as s}from"./utils-UGOV_184.js";import{Ga as c,Zs as l,qs as u,so as d}from"./model-selection-BLbnMb5E.js";import"./reply-DwfVhea1.js";import"./agent-scope-DXZc3eNT.js";import"./openclaw-root-D_0Q6--h.js";import"./github-copilot-token-DGYAlOmV.js";import{t as f}from"./command-format-BbDT1tlm.js";import"./boolean-Ch3DfXPy.js";import"./env-D7wNuBx1.js";import"./env-overrides-DXJbFrwI.js";import"./registry-hFAtCSWG.js";import"./skills-CzUpDbU-.js";import"./frontmatter-BkZkwkVO.js";import"./plugins-CYLrFT4h.js";import"./logger-Bl8URnrW.js";import"./exec-DHqLtFYt.js";import"./windows-spawn-AB7ItGAE.js";import"./redact-3_CiXMY6.js";import"./path-alias-guards-mvyLCPlN.js";import"./errors-Bunti32V.js";import"./send-C7rOdjPO.js";import"./send-BwblpWbK.js";import"./paths-yLEk_25I.js";import"./chat-envelope-HVpKusFc.js";import"./audio-transcription-runner-BwjMhAUa.js";import"./image-BP1cfEh1.js";import"./models-config-BlQ39qlq.js";import"./tool-display-DjuSUUbH.js";import"./fetch-guard-7BAwnP4a.js";import"./api-key-rotation-Rz2ESQSA.js";import"./local-roots-aA-4ohTq.js";import"./model-catalog-D-hkNWin.js";import"./proxy-fetch-BADsUK4d.js";import"./tokens-XGbQGn67.js";import"./deliver-DUNkj4hy.js";import"./commands-CGpM84iR.js";import"./commands-registry-DlvNUkXz.js";import"./pairing-store-EmfFQVcs.js";import"./fetch-Dikjvc5M.js";import"./call-JB-cGR9n.js";import"./with-timeout-WveKxvFV.js";import"./diagnostic-BEZszppF.js";import"./send-NbU9-scF2.js";import"./pi-model-discovery-DnJkNRc-.js";import"./exec-approvals-allowlist-B-Yf6RsU.js";import"./exec-safe-bin-runtime-policy-CRPHdPbF.js";import"./ir-CNTx85qV.js";import"./render-D8OWO2hT.js";import"./target-errors-CoEHv_2r.js";import"./read-only-account-inspect-B0cm8yrv.js";import"./channel-selection-si1OzWyQ.js";import"./plugin-auto-enable-CTgkkJK7.js";import"./send-DmHpf5Fz.js";import"./outbound-attachment-9-8VNvRG.js";import"./delivery-queue-CKbauSFq.js";import"./send-AQ3CJLpI.js";import"./channel-activity-Dw6F-ehJ.js";import"./tables-fl9iXahm.js";import"./fetch-Bn0mWg6a.js";import"./skill-commands-DlHVddAk.js";import"./workspace-dirs-BhF1Dzxt.js";import"./pairing-token-B8RdfK2y.js";import"./restart-BeJuoXCx.js";import"./runtime-web-tools-C4F6aaRh.js";import"./command-secret-targets-CfXtLkLF.js";import"./session-cost-usage-BgqKixv0.js";import"./connection-auth-smZlFWxD.js";import{f as p,g as m,i as h,o as g}from"./onboard-helpers-D90u4wVK.js";import{n as _,r as v,t as y}from"./prompt-style-CXKekIBY.js";import"./pairing-labels-PIuZfthz.js";import"./memory-cli-BouV_wyL.js";import"./query-expansion-0OxEb1Io.js";import"./manager-CI6O4QH6.js";import{t as b}from"./links-CySwdMcF.js";import{n as x}from"./cli-utils-BY7dLMFy.js";import"./help-format-BRbF_INg.js";import"./progress-LNttnI-y.js";import"./exec-approvals-BpBNEy6i.js";import"./nodes-screen-8nRBsfID.js";import"./system-run-command-E8ymBXHh.js";import"./runtime-DYttInEE.js";import"./stagger-DmFYysrJ.js";import"./runtime-guard-DFYBaYZS.js";import"./program-context-BXNpM3b4.js";import"./skills-status-D4Y1BJYL.js";import{t as S}from"./clipboard-CKT_VIkG.js";import"./note-D4GAwgha.js";import"./issue-format-BtMzMXtZ.js";import"./channels-status-issues-PRgOT90w.js";import"./completion-cli-BRE0F8Tu.js";import"./daemon-install-plan.shared-BkwZgIAY.js";import"./gateway-install-token-Dt7hDXoR.js";import"./systemd-D7odsu4K.js";import{n as C}from"./service-BtB9epJk.js";import"./systemd-hints-CEQj6yrs.js";import"./diagnostics-BgbeL9KE.js";import"./health-B_-ZE5FK.js";import"./control-ui-assets-BIa0GGDg.js";import"./channel-account-context-BMPAMZEv.js";import"./update-runner-DG-1TYYc.js";import"./logging-CbMVr2MA.js";import"./oauth-tls-preflight-ByNjbUR5.js";import"./doctor-config-flow-BVpr8-q9.js";import{a as w,i as T,o as E,r as D,t as O}from"./cleanup-utils-D-RhEX6F.js";import"./systemd-linger-C2MJD6KG.js";import"./health-format-VBr6LEpt.js";import{n as k,t as A}from"./prompt-select-styled-1abs2MvK.js";import"./doctor-completion-II0Wb435.js";import j from"node:path";import{cancel as M,confirm as N,isCancel as P,multiselect as F}from"@clack/prompts";async function I(e,t=process.env){let n=await c({config:e,env:t,value:e.gateway?.auth?.token,path:`gateway.auth.token`,readFallback:()=>d(t)});return{token:n.value,source:n.source===`config`?`config`:n.source===`secretRef`?`secretRef`:n.source===`fallback`?`env`:void 0,unresolvedRefReason:n.unresolvedRefReason,tokenSecretRefConfigured:n.secretRefConfigured}}async function L(e=o,t={}){let n=await l(),r=n.valid?n.config:{},a=i(r),s=r.gateway?.bind??`loopback`,c=r.gateway?.controlUi?.basePath,u=r.gateway?.customBindHost,d=await I(r,process.env),f=d.token??``,_=m({port:a,bind:s===`lan`?`loopback`:s,customBindHost:u,basePath:c}),v=f.length>0&&!d.tokenSecretRefConfigured,y=v?`${_.httpUrl}#token=${encodeURIComponent(f)}`:_.httpUrl;e.log(`Dashboard URL: ${y}`),d.tokenSecretRefConfigured&&f&&e.log(`Token auto-auth is disabled for SecretRef-managed gateway.auth.token; use your external token source if prompted.`),d.unresolvedRefReason&&(e.log(`Token auto-auth unavailable: ${d.unresolvedRefReason}`),e.log("Set OPENCLAW_GATEWAY_TOKEN in this shell or resolve your secret provider, then rerun `openclaw dashboard`."));let b=await S(y).catch(()=>!1);e.log(b?`Copied to clipboard.`:`Copy to clipboard unavailable.`);let x=!1,C;t.noOpen?C=`Browser launch disabled (--no-open). Use the URL above.`:((await h()).ok&&(x=await p(y)),x||(C=g({port:a,basePath:c,token:v&&f||void 0}))),x?e.log(`Opened in your browser. Keep that tab to control OpenClaw.`):C&&e.log(C)}function R(){let t=u(),i=e(),a=r(),o=n();return{cfg:t,stateDir:i,configPath:a,oauthDir:o,...O({cfg:t,stateDir:i,configPath:a,oauthDir:o})}}async function z(e){if(t)return;let n=C(),r=!1;try{r=await n.isLoaded({env:process.env})}catch(t){e.error(`Gateway service check failed: ${String(t)}`);return}if(r)try{await n.stop({env:process.env,stdout:process.stdout})}catch(t){e.error(`Gateway stop failed: ${String(t)}`)}}function B(e){e.log(`Recommended first: ${f(`openclaw backup create`)}`)}async function V(e,t){let n=!t.nonInteractive;if(!n&&!t.yes){e.error(`Non-interactive mode requires --yes.`),e.exit(1);return}let r=t.scope;if(!r){if(!n){e.error(`Non-interactive mode requires --scope.`),e.exit(1);return}let t=await A({message:`Reset scope`,options:[{value:`config`,label:`Config only`,hint:`openclaw.json`},{value:`config+creds+sessions`,label:`Config + credentials + sessions`,hint:`keeps workspace + auth profiles`},{value:`full`,label:`Full reset`,hint:`state dir + workspace`}],initialValue:`config+creds+sessions`});if(P(t)){M(v(`Reset cancelled.`)??`Reset cancelled.`),e.exit(0);return}r=t}if(![`config`,`config+creds+sessions`,`full`].includes(r)){e.error(`Invalid --scope. Expected "config", "config+creds+sessions", or "full".`),e.exit(1);return}if(n&&!t.yes){let t=await N({message:_(`Proceed with ${r} reset?`)});if(P(t)||!t){M(v(`Reset cancelled.`)??`Reset cancelled.`),e.exit(0);return}}let i=!!t.dryRun,{stateDir:a,configPath:o,oauthDir:s,configInsideState:c,oauthInsideState:l,workspaceDirs:u}=R();if(r!==`config`&&(B(e),i?e.log(`[dry-run] stop gateway service`):await z(e)),r===`config`){await T(o,e,{dryRun:i,label:o});return}if(r===`config+creds+sessions`){await T(o,e,{dryRun:i,label:o}),await T(s,e,{dryRun:i,label:s});let t=await D(a);for(let n of t)await T(n,e,{dryRun:i,label:n});e.log(`Next: ${f(`openclaw onboard --install-daemon`)}`);return}if(r===`full`){await w({stateDir:a,configPath:o,oauthDir:s,configInsideState:c,oauthInsideState:l},e,{dryRun:i}),await E(u,e,{dryRun:i}),e.log(`Next: ${f(`openclaw onboard --install-daemon`)}`);return}}const H=e=>F({...e,message:_(e.message),options:e.options.map(e=>e.hint===void 0?e:{...e,hint:y(e.hint)})});function U(e){let t=!!(e.all||e.service||e.state||e.workspace||e.app),n=new Set;return(e.all||e.service)&&n.add(`service`),(e.all||e.state)&&n.add(`state`),(e.all||e.workspace)&&n.add(`workspace`),(e.all||e.app)&&n.add(`app`),{scopes:n,hadExplicit:t}}async function W(e){if(t)return e.error(`Nix mode detected; service uninstall is disabled.`),!1;let n=C(),r=!1;try{r=await n.isLoaded({env:process.env})}catch(t){return e.error(`Gateway service check failed: ${String(t)}`),!1}if(!r)return e.log(`Gateway service ${n.notLoadedText}.`),!0;try{await n.stop({env:process.env,stdout:process.stdout})}catch(t){e.error(`Gateway stop failed: ${String(t)}`)}try{return await n.uninstall({env:process.env,stdout:process.stdout}),!0}catch(t){return e.error(`Gateway uninstall failed: ${String(t)}`),!1}}async function G(e,t){process.platform===`darwin`&&await T(`/Applications/OpenClaw.app`,e,{dryRun:t,label:`/Applications/OpenClaw.app`})}function K(e){e.log(`Recommended first: ${f(`openclaw backup create`)}`)}async function q(e,t){let{scopes:n,hadExplicit:r}=U(t),i=!t.nonInteractive;if(!i&&!t.yes){e.error(`Non-interactive mode requires --yes.`),e.exit(1);return}if(!r){if(!i){e.error(`Non-interactive mode requires explicit scopes (use --all).`),e.exit(1);return}let t=await H({message:`Uninstall which components?`,options:[{value:`service`,label:`Gateway service`,hint:`launchd / systemd / schtasks`},{value:`state`,label:`State + config`,hint:`~/.qbotclaw`},{value:`workspace`,label:`Workspace`,hint:`agent files`},{value:`app`,label:`macOS app`,hint:`/Applications/OpenClaw.app`}],initialValues:[`service`,`state`,`workspace`]});if(P(t)){M(v(`Uninstall cancelled.`)??`Uninstall cancelled.`),e.exit(0);return}for(let e of t)n.add(e)}if(n.size===0){e.log(`Nothing selected.`);return}if(i&&!t.yes){let t=await N({message:_(`Proceed with uninstall?`)});if(P(t)||!t){M(v(`Uninstall cancelled.`)??`Uninstall cancelled.`),e.exit(0);return}}let a=!!t.dryRun,{stateDir:o,configPath:c,oauthDir:l,configInsideState:u,oauthInsideState:d,workspaceDirs:f}=R();if((n.has(`state`)||n.has(`workspace`))&&K(e),n.has(`service`)&&(a?e.log(`[dry-run] remove gateway service`):await W(e)),n.has(`state`)&&await w({stateDir:o,configPath:c,oauthDir:l,configInsideState:u,oauthInsideState:d},e,{dryRun:a}),n.has(`workspace`)&&await E(f,e,{dryRun:a}),n.has(`app`)&&await G(e,a),e.log(`CLI still installed. Remove via npm/pnpm if desired.`),n.has(`state`)&&!n.has(`workspace`)){let t=s();t&&f.some(e=>e.startsWith(j.resolve(t)))&&e.log(`Tip: workspaces were preserved. Re-run with --workspace to remove them.`)}}function J(e){e.command(`doctor`).description(`Health checks + quick fixes for the gateway and channels`).addHelpText(`after`,()=>`\n${a.muted(`Docs:`)} ${b(`/cli/doctor`,`docs.openclaw.ai/cli/doctor`)}\n`).option(`--no-workspace-suggestions`,`Disable workspace memory system suggestions`,!1).option(`--yes`,`Accept defaults without prompting`,!1).option(`--repair`,`Apply recommended repairs without prompting`,!1).option(`--fix`,`Apply recommended repairs (alias for --repair)`,!1).option(`--force`,`Apply aggressive repairs (overwrites custom service config)`,!1).option(`--non-interactive`,`Run without prompts (safe migrations only)`,!1).option(`--generate-gateway-token`,`Generate and configure a gateway token`,!1).option(`--deep`,`Scan system services for extra gateway installs`,!1).action(async e=>{await x(o,async()=>{await k(o,{workspaceSuggestions:e.workspaceSuggestions,yes:!!e.yes,repair:!!e.repair||!!e.fix,force:!!e.force,nonInteractive:!!e.nonInteractive,generateGatewayToken:!!e.generateGatewayToken,deep:!!e.deep}),o.exit(0)})}),e.command(`dashboard`).description(`Open the Control UI with your current token`).addHelpText(`after`,()=>`\n${a.muted(`Docs:`)} ${b(`/cli/dashboard`,`docs.openclaw.ai/cli/dashboard`)}\n`).option(`--no-open`,`Print URL but do not launch a browser`).action(async e=>{await x(o,async()=>{await L(o,{noOpen:e.open===!1})})}),e.command(`reset`).description(`Reset local config/state (keeps the CLI installed)`).addHelpText(`after`,()=>`\n${a.muted(`Docs:`)} ${b(`/cli/reset`,`docs.openclaw.ai/cli/reset`)}\n`).option(`--scope <scope>`,`config|config+creds+sessions|full (default: interactive prompt)`).option(`--yes`,`Skip confirmation prompts`,!1).option(`--non-interactive`,`Disable prompts (requires --scope + --yes)`,!1).option(`--dry-run`,`Print actions without removing files`,!1).action(async e=>{await x(o,async()=>{await V(o,{scope:e.scope,yes:!!e.yes,nonInteractive:!!e.nonInteractive,dryRun:!!e.dryRun})})}),e.command(`uninstall`).description(`Uninstall the gateway service + local data (CLI remains)`).addHelpText(`after`,()=>`\n${a.muted(`Docs:`)} ${b(`/cli/uninstall`,`docs.openclaw.ai/cli/uninstall`)}\n`).option(`--service`,`Remove the gateway service`,!1).option(`--state`,`Remove state + config`,!1).option(`--workspace`,`Remove workspace dirs`,!1).option(`--app`,`Remove the macOS app`,!1).option(`--all`,`Remove service + state + workspace + app`,!1).option(`--yes`,`Skip confirmation prompts`,!1).option(`--non-interactive`,`Disable prompts (requires --yes)`,!1).option(`--dry-run`,`Print actions without removing files`,!1).action(async e=>{await x(o,async()=>{await q(o,{service:!!e.service,state:!!e.state,workspace:!!e.workspace,app:!!e.app,all:!!e.all,yes:!!e.yes,nonInteractive:!!e.nonInteractive,dryRun:!!e.dryRun})})})}export{J as registerMaintenanceCommands};
|
|
2
|
-
//# sourceMappingURL=register.maintenance-Br9uoFKo.js.map
|
|
1
|
+
import{g as e,i as t,m as n,o as r,u as i}from"./paths-B4IRk3wi.js";import{A as a,p as o}from"./subsystem-C5XF2Fy5.js";import{_ as s}from"./utils-UGOV_184.js";import{Ga as c,Zs as l,qs as u,so as d}from"./model-selection-BLbnMb5E.js";import"./reply-DwfVhea1.js";import"./agent-scope-DXZc3eNT.js";import"./openclaw-root-D_0Q6--h.js";import"./github-copilot-token-DGYAlOmV.js";import{t as f}from"./command-format-BbDT1tlm.js";import"./boolean-Ch3DfXPy.js";import"./env-D7wNuBx1.js";import"./env-overrides-DXJbFrwI.js";import"./registry-hFAtCSWG.js";import"./skills-CzUpDbU-.js";import"./frontmatter-BkZkwkVO.js";import"./plugins-CYLrFT4h.js";import"./logger-Bl8URnrW.js";import"./exec-DHqLtFYt.js";import"./windows-spawn-AB7ItGAE.js";import"./redact-3_CiXMY6.js";import"./path-alias-guards-mvyLCPlN.js";import"./errors-Bunti32V.js";import"./send-C7rOdjPO.js";import"./send-BwblpWbK.js";import"./paths-yLEk_25I.js";import"./chat-envelope-HVpKusFc.js";import"./audio-transcription-runner-BwjMhAUa.js";import"./image-BP1cfEh1.js";import"./models-config-BlQ39qlq.js";import"./tool-display-DjuSUUbH.js";import"./fetch-guard-7BAwnP4a.js";import"./api-key-rotation-Rz2ESQSA.js";import"./local-roots-aA-4ohTq.js";import"./model-catalog-D-hkNWin.js";import"./proxy-fetch-BADsUK4d.js";import"./tokens-XGbQGn67.js";import"./deliver-DUNkj4hy.js";import"./commands-CGpM84iR.js";import"./commands-registry-DlvNUkXz.js";import"./pairing-store-EmfFQVcs.js";import"./fetch-Dikjvc5M.js";import"./call-JB-cGR9n.js";import"./with-timeout-WveKxvFV.js";import"./diagnostic-BEZszppF.js";import"./send-NbU9-scF2.js";import"./pi-model-discovery-DnJkNRc-.js";import"./exec-approvals-allowlist-B-Yf6RsU.js";import"./exec-safe-bin-runtime-policy-CRPHdPbF.js";import"./ir-CNTx85qV.js";import"./render-D8OWO2hT.js";import"./target-errors-CoEHv_2r.js";import"./read-only-account-inspect-B0cm8yrv.js";import"./channel-selection-si1OzWyQ.js";import"./plugin-auto-enable-CTgkkJK7.js";import"./send-DmHpf5Fz.js";import"./outbound-attachment-9-8VNvRG.js";import"./delivery-queue-CKbauSFq.js";import"./send-AQ3CJLpI.js";import"./channel-activity-Dw6F-ehJ.js";import"./tables-fl9iXahm.js";import"./fetch-Bn0mWg6a.js";import"./skill-commands-DlHVddAk.js";import"./workspace-dirs-BhF1Dzxt.js";import"./pairing-token-B8RdfK2y.js";import"./restart-BeJuoXCx.js";import"./runtime-web-tools-C4F6aaRh.js";import"./command-secret-targets-CfXtLkLF.js";import"./session-cost-usage-BgqKixv0.js";import"./connection-auth-smZlFWxD.js";import{f as p,g as m,i as h,o as g}from"./onboard-helpers-D90u4wVK.js";import{n as _,r as v,t as y}from"./prompt-style-CXKekIBY.js";import"./pairing-labels-PIuZfthz.js";import"./memory-cli-BouV_wyL.js";import"./query-expansion-0OxEb1Io.js";import"./manager-CI6O4QH6.js";import{t as b}from"./links-CySwdMcF.js";import{n as x}from"./cli-utils-BY7dLMFy.js";import"./help-format-BRbF_INg.js";import"./progress-LNttnI-y.js";import"./exec-approvals-BpBNEy6i.js";import"./nodes-screen-8nRBsfID.js";import"./system-run-command-E8ymBXHh.js";import"./runtime-DYttInEE.js";import"./stagger-DmFYysrJ.js";import"./runtime-guard-DFYBaYZS.js";import"./program-context-n-ovYq69.js";import"./skills-status-D4Y1BJYL.js";import{t as S}from"./clipboard-CKT_VIkG.js";import"./note-D4GAwgha.js";import"./issue-format-BtMzMXtZ.js";import"./channels-status-issues-PRgOT90w.js";import"./completion-cli-Bw_hBrlA.js";import"./daemon-install-plan.shared-BkwZgIAY.js";import"./gateway-install-token-Dt7hDXoR.js";import"./systemd-D7odsu4K.js";import{n as C}from"./service-BtB9epJk.js";import"./systemd-hints-CEQj6yrs.js";import"./diagnostics-BgbeL9KE.js";import"./health-B_-ZE5FK.js";import"./control-ui-assets-BIa0GGDg.js";import"./channel-account-context-BMPAMZEv.js";import"./update-runner-DG-1TYYc.js";import"./logging-CbMVr2MA.js";import"./oauth-tls-preflight-ByNjbUR5.js";import"./doctor-config-flow-BVpr8-q9.js";import{a as w,i as T,o as E,r as D,t as O}from"./cleanup-utils-D-RhEX6F.js";import"./systemd-linger-C2MJD6KG.js";import"./health-format-VBr6LEpt.js";import{n as k,t as A}from"./prompt-select-styled-DolCW-_j.js";import"./doctor-completion-C9CPhCor.js";import j from"node:path";import{cancel as M,confirm as N,isCancel as P,multiselect as F}from"@clack/prompts";async function I(e,t=process.env){let n=await c({config:e,env:t,value:e.gateway?.auth?.token,path:`gateway.auth.token`,readFallback:()=>d(t)});return{token:n.value,source:n.source===`config`?`config`:n.source===`secretRef`?`secretRef`:n.source===`fallback`?`env`:void 0,unresolvedRefReason:n.unresolvedRefReason,tokenSecretRefConfigured:n.secretRefConfigured}}async function L(e=o,t={}){let n=await l(),r=n.valid?n.config:{},a=i(r),s=r.gateway?.bind??`loopback`,c=r.gateway?.controlUi?.basePath,u=r.gateway?.customBindHost,d=await I(r,process.env),f=d.token??``,_=m({port:a,bind:s===`lan`?`loopback`:s,customBindHost:u,basePath:c}),v=f.length>0&&!d.tokenSecretRefConfigured,y=v?`${_.httpUrl}#token=${encodeURIComponent(f)}`:_.httpUrl;e.log(`Dashboard URL: ${y}`),d.tokenSecretRefConfigured&&f&&e.log(`Token auto-auth is disabled for SecretRef-managed gateway.auth.token; use your external token source if prompted.`),d.unresolvedRefReason&&(e.log(`Token auto-auth unavailable: ${d.unresolvedRefReason}`),e.log("Set OPENCLAW_GATEWAY_TOKEN in this shell or resolve your secret provider, then rerun `openclaw dashboard`."));let b=await S(y).catch(()=>!1);e.log(b?`Copied to clipboard.`:`Copy to clipboard unavailable.`);let x=!1,C;t.noOpen?C=`Browser launch disabled (--no-open). Use the URL above.`:((await h()).ok&&(x=await p(y)),x||(C=g({port:a,basePath:c,token:v&&f||void 0}))),x?e.log(`Opened in your browser. Keep that tab to control OpenClaw.`):C&&e.log(C)}function R(){let t=u(),i=e(),a=r(),o=n();return{cfg:t,stateDir:i,configPath:a,oauthDir:o,...O({cfg:t,stateDir:i,configPath:a,oauthDir:o})}}async function z(e){if(t)return;let n=C(),r=!1;try{r=await n.isLoaded({env:process.env})}catch(t){e.error(`Gateway service check failed: ${String(t)}`);return}if(r)try{await n.stop({env:process.env,stdout:process.stdout})}catch(t){e.error(`Gateway stop failed: ${String(t)}`)}}function B(e){e.log(`Recommended first: ${f(`openclaw backup create`)}`)}async function V(e,t){let n=!t.nonInteractive;if(!n&&!t.yes){e.error(`Non-interactive mode requires --yes.`),e.exit(1);return}let r=t.scope;if(!r){if(!n){e.error(`Non-interactive mode requires --scope.`),e.exit(1);return}let t=await A({message:`Reset scope`,options:[{value:`config`,label:`Config only`,hint:`openclaw.json`},{value:`config+creds+sessions`,label:`Config + credentials + sessions`,hint:`keeps workspace + auth profiles`},{value:`full`,label:`Full reset`,hint:`state dir + workspace`}],initialValue:`config+creds+sessions`});if(P(t)){M(v(`Reset cancelled.`)??`Reset cancelled.`),e.exit(0);return}r=t}if(![`config`,`config+creds+sessions`,`full`].includes(r)){e.error(`Invalid --scope. Expected "config", "config+creds+sessions", or "full".`),e.exit(1);return}if(n&&!t.yes){let t=await N({message:_(`Proceed with ${r} reset?`)});if(P(t)||!t){M(v(`Reset cancelled.`)??`Reset cancelled.`),e.exit(0);return}}let i=!!t.dryRun,{stateDir:a,configPath:o,oauthDir:s,configInsideState:c,oauthInsideState:l,workspaceDirs:u}=R();if(r!==`config`&&(B(e),i?e.log(`[dry-run] stop gateway service`):await z(e)),r===`config`){await T(o,e,{dryRun:i,label:o});return}if(r===`config+creds+sessions`){await T(o,e,{dryRun:i,label:o}),await T(s,e,{dryRun:i,label:s});let t=await D(a);for(let n of t)await T(n,e,{dryRun:i,label:n});e.log(`Next: ${f(`openclaw onboard --install-daemon`)}`);return}if(r===`full`){await w({stateDir:a,configPath:o,oauthDir:s,configInsideState:c,oauthInsideState:l},e,{dryRun:i}),await E(u,e,{dryRun:i}),e.log(`Next: ${f(`openclaw onboard --install-daemon`)}`);return}}const H=e=>F({...e,message:_(e.message),options:e.options.map(e=>e.hint===void 0?e:{...e,hint:y(e.hint)})});function U(e){let t=!!(e.all||e.service||e.state||e.workspace||e.app),n=new Set;return(e.all||e.service)&&n.add(`service`),(e.all||e.state)&&n.add(`state`),(e.all||e.workspace)&&n.add(`workspace`),(e.all||e.app)&&n.add(`app`),{scopes:n,hadExplicit:t}}async function W(e){if(t)return e.error(`Nix mode detected; service uninstall is disabled.`),!1;let n=C(),r=!1;try{r=await n.isLoaded({env:process.env})}catch(t){return e.error(`Gateway service check failed: ${String(t)}`),!1}if(!r)return e.log(`Gateway service ${n.notLoadedText}.`),!0;try{await n.stop({env:process.env,stdout:process.stdout})}catch(t){e.error(`Gateway stop failed: ${String(t)}`)}try{return await n.uninstall({env:process.env,stdout:process.stdout}),!0}catch(t){return e.error(`Gateway uninstall failed: ${String(t)}`),!1}}async function G(e,t){process.platform===`darwin`&&await T(`/Applications/OpenClaw.app`,e,{dryRun:t,label:`/Applications/OpenClaw.app`})}function K(e){e.log(`Recommended first: ${f(`openclaw backup create`)}`)}async function q(e,t){let{scopes:n,hadExplicit:r}=U(t),i=!t.nonInteractive;if(!i&&!t.yes){e.error(`Non-interactive mode requires --yes.`),e.exit(1);return}if(!r){if(!i){e.error(`Non-interactive mode requires explicit scopes (use --all).`),e.exit(1);return}let t=await H({message:`Uninstall which components?`,options:[{value:`service`,label:`Gateway service`,hint:`launchd / systemd / schtasks`},{value:`state`,label:`State + config`,hint:`~/.qbotclaw`},{value:`workspace`,label:`Workspace`,hint:`agent files`},{value:`app`,label:`macOS app`,hint:`/Applications/OpenClaw.app`}],initialValues:[`service`,`state`,`workspace`]});if(P(t)){M(v(`Uninstall cancelled.`)??`Uninstall cancelled.`),e.exit(0);return}for(let e of t)n.add(e)}if(n.size===0){e.log(`Nothing selected.`);return}if(i&&!t.yes){let t=await N({message:_(`Proceed with uninstall?`)});if(P(t)||!t){M(v(`Uninstall cancelled.`)??`Uninstall cancelled.`),e.exit(0);return}}let a=!!t.dryRun,{stateDir:o,configPath:c,oauthDir:l,configInsideState:u,oauthInsideState:d,workspaceDirs:f}=R();if((n.has(`state`)||n.has(`workspace`))&&K(e),n.has(`service`)&&(a?e.log(`[dry-run] remove gateway service`):await W(e)),n.has(`state`)&&await w({stateDir:o,configPath:c,oauthDir:l,configInsideState:u,oauthInsideState:d},e,{dryRun:a}),n.has(`workspace`)&&await E(f,e,{dryRun:a}),n.has(`app`)&&await G(e,a),e.log(`CLI still installed. Remove via npm/pnpm if desired.`),n.has(`state`)&&!n.has(`workspace`)){let t=s();t&&f.some(e=>e.startsWith(j.resolve(t)))&&e.log(`Tip: workspaces were preserved. Re-run with --workspace to remove them.`)}}function J(e){e.command(`doctor`).description(`Health checks + quick fixes for the gateway and channels`).addHelpText(`after`,()=>`\n${a.muted(`Docs:`)} ${b(`/cli/doctor`,`docs.openclaw.ai/cli/doctor`)}\n`).option(`--no-workspace-suggestions`,`Disable workspace memory system suggestions`,!1).option(`--yes`,`Accept defaults without prompting`,!1).option(`--repair`,`Apply recommended repairs without prompting`,!1).option(`--fix`,`Apply recommended repairs (alias for --repair)`,!1).option(`--force`,`Apply aggressive repairs (overwrites custom service config)`,!1).option(`--non-interactive`,`Run without prompts (safe migrations only)`,!1).option(`--generate-gateway-token`,`Generate and configure a gateway token`,!1).option(`--deep`,`Scan system services for extra gateway installs`,!1).action(async e=>{await x(o,async()=>{await k(o,{workspaceSuggestions:e.workspaceSuggestions,yes:!!e.yes,repair:!!e.repair||!!e.fix,force:!!e.force,nonInteractive:!!e.nonInteractive,generateGatewayToken:!!e.generateGatewayToken,deep:!!e.deep}),o.exit(0)})}),e.command(`dashboard`).description(`Open the Control UI with your current token`).addHelpText(`after`,()=>`\n${a.muted(`Docs:`)} ${b(`/cli/dashboard`,`docs.openclaw.ai/cli/dashboard`)}\n`).option(`--no-open`,`Print URL but do not launch a browser`).action(async e=>{await x(o,async()=>{await L(o,{noOpen:e.open===!1})})}),e.command(`reset`).description(`Reset local config/state (keeps the CLI installed)`).addHelpText(`after`,()=>`\n${a.muted(`Docs:`)} ${b(`/cli/reset`,`docs.openclaw.ai/cli/reset`)}\n`).option(`--scope <scope>`,`config|config+creds+sessions|full (default: interactive prompt)`).option(`--yes`,`Skip confirmation prompts`,!1).option(`--non-interactive`,`Disable prompts (requires --scope + --yes)`,!1).option(`--dry-run`,`Print actions without removing files`,!1).action(async e=>{await x(o,async()=>{await V(o,{scope:e.scope,yes:!!e.yes,nonInteractive:!!e.nonInteractive,dryRun:!!e.dryRun})})}),e.command(`uninstall`).description(`Uninstall the gateway service + local data (CLI remains)`).addHelpText(`after`,()=>`\n${a.muted(`Docs:`)} ${b(`/cli/uninstall`,`docs.openclaw.ai/cli/uninstall`)}\n`).option(`--service`,`Remove the gateway service`,!1).option(`--state`,`Remove state + config`,!1).option(`--workspace`,`Remove workspace dirs`,!1).option(`--app`,`Remove the macOS app`,!1).option(`--all`,`Remove service + state + workspace + app`,!1).option(`--yes`,`Skip confirmation prompts`,!1).option(`--non-interactive`,`Disable prompts (requires --yes)`,!1).option(`--dry-run`,`Print actions without removing files`,!1).action(async e=>{await x(o,async()=>{await q(o,{service:!!e.service,state:!!e.state,workspace:!!e.workspace,app:!!e.app,all:!!e.all,yes:!!e.yes,nonInteractive:!!e.nonInteractive,dryRun:!!e.dryRun})})})}export{J as registerMaintenanceCommands};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import{A as e,p as t}from"./subsystem-BLbY429l.js";import{g as n,i as r,m as i,o as a,u as o}from"./paths-BjD3T_xq.js";import"./boolean-D15s2V33.js";import{Ai as s,Fo as c,Ki as l,jo as u}from"./auth-profiles-C8rZRS0X.js";import{t as d}from"./command-format-CLxIPuLR.js";import"./agent-scope-DAWJwFfl.js";import{g as f}from"./utils-CGdo13HV.js";import"./openclaw-root-CnsBf6ZU.js";import"./github-copilot-token-C79yeDKS.js";import"./env-overrides-DHtB4kK3.js";import"./version-q3SkUw2K.js";import"./registry-BptzrW8D.js";import"./skills-Bz_S4lPh.js";import"./frontmatter-C7mzDNxd.js";import"./plugins-DNlgeTTc.js";import"./logger-kQAOe3qp.js";import"./exec-B3eleY5O.js";import"./windows-spawn-7oINn5ao.js";import"./redact-CnRxK70G.js";import"./path-alias-guards-kY_ZbWs-.js";import"./errors-6SQWM9dj.js";import"./send-vNcod64S.js";import"./send-CyarIb2w.js";import"./compact-CYbPi7_-.js";import"./paths-BfjJY2VL.js";import"./chat-envelope-Bznn2SoS.js";import"./models-config-DZzS67GS.js";import"./tokens-DRM8vzJx.js";import"./with-timeout-c1CzdShT.js";import"./deliver-SqSusZP3.js";import"./diagnostic-D1H7_8QG.js";import"./send-Dj7NBAWg.js";import"./pi-model-discovery-BPkhPDMr.js";import"./exec-approvals-allowlist-CGjRWREs.js";import"./exec-safe-bin-runtime-policy-v44u39fl.js";import"./model-catalog-mt0IcDfR.js";import"./fetch-B4bz67_N.js";import"./audio-transcription-runner-BIKj1CBU.js";import"./fetch-guard-DaZmvp-L.js";import"./image-BVbOr9yV.js";import"./tool-display-DJDtttQg.js";import"./api-key-rotation-BpEL4aeX.js";import"./proxy-fetch-gWETR3cl.js";import"./ir-DdjufzKF.js";import"./render-DrrPmnMI.js";import"./target-errors-D6wejRd6.js";import"./commands-Dy7duWlt.js";import"./commands-registry-DT6FDUev.js";import"./session-cost-usage-CHtVgnE8.js";import"./session-utils-Bpdyx2A2.js";import"./sqlite-CILF3z9U.js";import"./call-BWx7hNtl.js";import"./pi-tools.policy-B6q8YOfg.js";import"./pairing-store-BaaVy1zB.js";import"./fetch-Dh-apy46.js";import"./skill-commands-DCqPy_Aa.js";import"./workspace-dirs-A8Vib9_B.js";import"./pairing-token-zdbQ951y.js";import"./channel-activity-BhiLsKvM.js";import"./tables-DENKrP-W.js";import"./kill-tree-D6nPx1_o.js";import"./runtime-web-tools-BYhCkBV8.js";import"./runtime-CK7gqwEF.js";import"./node-shell-BVZylVP6.js";import"./stagger-DxzgG2jd.js";import"./channel-selection-BPxE8JR7.js";import"./plugin-auto-enable-adba5Evb.js";import"./send-ChILboDj.js";import"./outbound-attachment-CVcDBkAD.js";import"./delivery-queue-nkPJu0fY.js";import"./send-COpehmAB.js";import"./system-run-command-DsWBVvSK.js";import"./fetch-Ce-scEU-.js";import"./command-secret-targets-BEjtBf5Z.js";import"./connection-auth-CjaeEu5D.js";import{f as p,g as m,i as h,o as g}from"./onboard-helpers-DOlI17Ac.js";import{n as _,r as v,t as y}from"./prompt-style-BThRSQJR.js";import"./pairing-labels-CZ-aX-up.js";import"./search-manager-CV2YsAym.js";import"./manager-CxZRoQkE.js";import"./memory-cli-C8fBBPgv.js";import{t as b}from"./links-CBnmRP9D.js";import{n as x}from"./cli-utils-BleB1eys.js";import"./help-format-B4aEI7V9.js";import"./progress-d1m2sqR1.js";import"./exec-approvals-BXO9Cezj.js";import"./skills-status-DpSboPY1.js";import{t as S}from"./clipboard-Bk8cviBt.js";import"./note-Dp-d_utk.js";import"./issue-format-CN9PHzXY.js";import"./channels-status-issues-8eFrGKyf.js";import"./completion-cli-Yg5BF97F.js";import"./register.subclis-5Pb-uEHk.js";import"./command-registry-BxNiXs5w.js";import"./program-context-CH9p6anW.js";import"./daemon-install-plan.shared-Dx3DBXCG.js";import"./runtime-guard-DX2Ie4ri.js";import"./gateway-install-token-cSJrfU_1.js";import"./systemd-DbevZh65.js";import{n as C}from"./service-DZ9EbS15.js";import"./systemd-hints-lXpMy-kY.js";import"./diagnostics-Cdctg9K_.js";import"./health-CIZFVJEG.js";import"./control-ui-assets-CTHGGgaX.js";import"./channel-account-context-DAcarnqW.js";import"./update-runner-DABdlxfN.js";import"./logging-B7XHbCNn.js";import"./oauth-tls-preflight-BSBRDIfC.js";import"./doctor-config-flow-Dio3s4x6.js";import{a as w,i as T,o as E,r as D,t as O}from"./cleanup-utils-BWm70DoD.js";import"./systemd-linger-cWKbFNpu.js";import"./health-format-B1nj3Wfn.js";import{n as k,t as A}from"./prompt-select-styled-947JghKF.js";import"./doctor-completion-Bu-98ocm.js";import j from"node:path";import{cancel as M,confirm as N,isCancel as P,multiselect as F}from"@clack/prompts";async function I(e,t=process.env){let n=await s({config:e,env:t,value:e.gateway?.auth?.token,path:`gateway.auth.token`,readFallback:()=>l(t)});return{token:n.value,source:n.source===`config`?`config`:n.source===`secretRef`?`secretRef`:n.source===`fallback`?`env`:void 0,unresolvedRefReason:n.unresolvedRefReason,tokenSecretRefConfigured:n.secretRefConfigured}}async function L(e=t,n={}){let r=await c(),i=r.valid?r.config:{},a=o(i),s=i.gateway?.bind??`loopback`,l=i.gateway?.controlUi?.basePath,u=i.gateway?.customBindHost,d=await I(i,process.env),f=d.token??``,_=m({port:a,bind:s===`lan`?`loopback`:s,customBindHost:u,basePath:l}),v=f.length>0&&!d.tokenSecretRefConfigured,y=v?`${_.httpUrl}#token=${encodeURIComponent(f)}`:_.httpUrl;e.log(`Dashboard URL: ${y}`),d.tokenSecretRefConfigured&&f&&e.log(`Token auto-auth is disabled for SecretRef-managed gateway.auth.token; use your external token source if prompted.`),d.unresolvedRefReason&&(e.log(`Token auto-auth unavailable: ${d.unresolvedRefReason}`),e.log("Set OPENCLAW_GATEWAY_TOKEN in this shell or resolve your secret provider, then rerun `openclaw dashboard`."));let b=await S(y).catch(()=>!1);e.log(b?`Copied to clipboard.`:`Copy to clipboard unavailable.`);let x=!1,C;n.noOpen?C=`Browser launch disabled (--no-open). Use the URL above.`:((await h()).ok&&(x=await p(y)),x||(C=g({port:a,basePath:l,token:v&&f||void 0}))),x?e.log(`Opened in your browser. Keep that tab to control OpenClaw.`):C&&e.log(C)}function R(){let e=u(),t=n(),r=a(),o=i();return{cfg:e,stateDir:t,configPath:r,oauthDir:o,...O({cfg:e,stateDir:t,configPath:r,oauthDir:o})}}async function z(e){if(r)return;let t=C(),n=!1;try{n=await t.isLoaded({env:process.env})}catch(t){e.error(`Gateway service check failed: ${String(t)}`);return}if(n)try{await t.stop({env:process.env,stdout:process.stdout})}catch(t){e.error(`Gateway stop failed: ${String(t)}`)}}function B(e){e.log(`Recommended first: ${d(`openclaw backup create`)}`)}async function V(e,t){let n=!t.nonInteractive;if(!n&&!t.yes){e.error(`Non-interactive mode requires --yes.`),e.exit(1);return}let r=t.scope;if(!r){if(!n){e.error(`Non-interactive mode requires --scope.`),e.exit(1);return}let t=await A({message:`Reset scope`,options:[{value:`config`,label:`Config only`,hint:`openclaw.json`},{value:`config+creds+sessions`,label:`Config + credentials + sessions`,hint:`keeps workspace + auth profiles`},{value:`full`,label:`Full reset`,hint:`state dir + workspace`}],initialValue:`config+creds+sessions`});if(P(t)){M(v(`Reset cancelled.`)??`Reset cancelled.`),e.exit(0);return}r=t}if(![`config`,`config+creds+sessions`,`full`].includes(r)){e.error(`Invalid --scope. Expected "config", "config+creds+sessions", or "full".`),e.exit(1);return}if(n&&!t.yes){let t=await N({message:_(`Proceed with ${r} reset?`)});if(P(t)||!t){M(v(`Reset cancelled.`)??`Reset cancelled.`),e.exit(0);return}}let i=!!t.dryRun,{stateDir:a,configPath:o,oauthDir:s,configInsideState:c,oauthInsideState:l,workspaceDirs:u}=R();if(r!==`config`&&(B(e),i?e.log(`[dry-run] stop gateway service`):await z(e)),r===`config`){await T(o,e,{dryRun:i,label:o});return}if(r===`config+creds+sessions`){await T(o,e,{dryRun:i,label:o}),await T(s,e,{dryRun:i,label:s});let t=await D(a);for(let n of t)await T(n,e,{dryRun:i,label:n});e.log(`Next: ${d(`openclaw onboard --install-daemon`)}`);return}if(r===`full`){await w({stateDir:a,configPath:o,oauthDir:s,configInsideState:c,oauthInsideState:l},e,{dryRun:i}),await E(u,e,{dryRun:i}),e.log(`Next: ${d(`openclaw onboard --install-daemon`)}`);return}}const H=e=>F({...e,message:_(e.message),options:e.options.map(e=>e.hint===void 0?e:{...e,hint:y(e.hint)})});function U(e){let t=!!(e.all||e.service||e.state||e.workspace||e.app),n=new Set;return(e.all||e.service)&&n.add(`service`),(e.all||e.state)&&n.add(`state`),(e.all||e.workspace)&&n.add(`workspace`),(e.all||e.app)&&n.add(`app`),{scopes:n,hadExplicit:t}}async function W(e){if(r)return e.error(`Nix mode detected; service uninstall is disabled.`),!1;let t=C(),n=!1;try{n=await t.isLoaded({env:process.env})}catch(t){return e.error(`Gateway service check failed: ${String(t)}`),!1}if(!n)return e.log(`Gateway service ${t.notLoadedText}.`),!0;try{await t.stop({env:process.env,stdout:process.stdout})}catch(t){e.error(`Gateway stop failed: ${String(t)}`)}try{return await t.uninstall({env:process.env,stdout:process.stdout}),!0}catch(t){return e.error(`Gateway uninstall failed: ${String(t)}`),!1}}async function G(e,t){process.platform===`darwin`&&await T(`/Applications/OpenClaw.app`,e,{dryRun:t,label:`/Applications/OpenClaw.app`})}function K(e){e.log(`Recommended first: ${d(`openclaw backup create`)}`)}async function q(e,t){let{scopes:n,hadExplicit:r}=U(t),i=!t.nonInteractive;if(!i&&!t.yes){e.error(`Non-interactive mode requires --yes.`),e.exit(1);return}if(!r){if(!i){e.error(`Non-interactive mode requires explicit scopes (use --all).`),e.exit(1);return}let t=await H({message:`Uninstall which components?`,options:[{value:`service`,label:`Gateway service`,hint:`launchd / systemd / schtasks`},{value:`state`,label:`State + config`,hint:`~/.qbotclaw`},{value:`workspace`,label:`Workspace`,hint:`agent files`},{value:`app`,label:`macOS app`,hint:`/Applications/OpenClaw.app`}],initialValues:[`service`,`state`,`workspace`]});if(P(t)){M(v(`Uninstall cancelled.`)??`Uninstall cancelled.`),e.exit(0);return}for(let e of t)n.add(e)}if(n.size===0){e.log(`Nothing selected.`);return}if(i&&!t.yes){let t=await N({message:_(`Proceed with uninstall?`)});if(P(t)||!t){M(v(`Uninstall cancelled.`)??`Uninstall cancelled.`),e.exit(0);return}}let a=!!t.dryRun,{stateDir:o,configPath:s,oauthDir:c,configInsideState:l,oauthInsideState:u,workspaceDirs:d}=R();if((n.has(`state`)||n.has(`workspace`))&&K(e),n.has(`service`)&&(a?e.log(`[dry-run] remove gateway service`):await W(e)),n.has(`state`)&&await w({stateDir:o,configPath:s,oauthDir:c,configInsideState:l,oauthInsideState:u},e,{dryRun:a}),n.has(`workspace`)&&await E(d,e,{dryRun:a}),n.has(`app`)&&await G(e,a),e.log(`CLI still installed. Remove via npm/pnpm if desired.`),n.has(`state`)&&!n.has(`workspace`)){let t=f();t&&d.some(e=>e.startsWith(j.resolve(t)))&&e.log(`Tip: workspaces were preserved. Re-run with --workspace to remove them.`)}}function J(n){n.command(`doctor`).description(`Health checks + quick fixes for the gateway and channels`).addHelpText(`after`,()=>`\n${e.muted(`Docs:`)} ${b(`/cli/doctor`,`docs.openclaw.ai/cli/doctor`)}\n`).option(`--no-workspace-suggestions`,`Disable workspace memory system suggestions`,!1).option(`--yes`,`Accept defaults without prompting`,!1).option(`--repair`,`Apply recommended repairs without prompting`,!1).option(`--fix`,`Apply recommended repairs (alias for --repair)`,!1).option(`--force`,`Apply aggressive repairs (overwrites custom service config)`,!1).option(`--non-interactive`,`Run without prompts (safe migrations only)`,!1).option(`--generate-gateway-token`,`Generate and configure a gateway token`,!1).option(`--deep`,`Scan system services for extra gateway installs`,!1).action(async e=>{await x(t,async()=>{await k(t,{workspaceSuggestions:e.workspaceSuggestions,yes:!!e.yes,repair:!!e.repair||!!e.fix,force:!!e.force,nonInteractive:!!e.nonInteractive,generateGatewayToken:!!e.generateGatewayToken,deep:!!e.deep}),t.exit(0)})}),n.command(`dashboard`).description(`Open the Control UI with your current token`).addHelpText(`after`,()=>`\n${e.muted(`Docs:`)} ${b(`/cli/dashboard`,`docs.openclaw.ai/cli/dashboard`)}\n`).option(`--no-open`,`Print URL but do not launch a browser`).action(async e=>{await x(t,async()=>{await L(t,{noOpen:e.open===!1})})}),n.command(`reset`).description(`Reset local config/state (keeps the CLI installed)`).addHelpText(`after`,()=>`\n${e.muted(`Docs:`)} ${b(`/cli/reset`,`docs.openclaw.ai/cli/reset`)}\n`).option(`--scope <scope>`,`config|config+creds+sessions|full (default: interactive prompt)`).option(`--yes`,`Skip confirmation prompts`,!1).option(`--non-interactive`,`Disable prompts (requires --scope + --yes)`,!1).option(`--dry-run`,`Print actions without removing files`,!1).action(async e=>{await x(t,async()=>{await V(t,{scope:e.scope,yes:!!e.yes,nonInteractive:!!e.nonInteractive,dryRun:!!e.dryRun})})}),n.command(`uninstall`).description(`Uninstall the gateway service + local data (CLI remains)`).addHelpText(`after`,()=>`\n${e.muted(`Docs:`)} ${b(`/cli/uninstall`,`docs.openclaw.ai/cli/uninstall`)}\n`).option(`--service`,`Remove the gateway service`,!1).option(`--state`,`Remove state + config`,!1).option(`--workspace`,`Remove workspace dirs`,!1).option(`--app`,`Remove the macOS app`,!1).option(`--all`,`Remove service + state + workspace + app`,!1).option(`--yes`,`Skip confirmation prompts`,!1).option(`--non-interactive`,`Disable prompts (requires --yes)`,!1).option(`--dry-run`,`Print actions without removing files`,!1).action(async e=>{await x(t,async()=>{await q(t,{service:!!e.service,state:!!e.state,workspace:!!e.workspace,app:!!e.app,all:!!e.all,yes:!!e.yes,nonInteractive:!!e.nonInteractive,dryRun:!!e.dryRun})})})}export{J as registerMaintenanceCommands};
|
|
2
|
-
//# sourceMappingURL=register.maintenance-Cm3wq9bt.js.map
|
|
1
|
+
import{A as e,p as t}from"./subsystem-BLbY429l.js";import{g as n,i as r,m as i,o as a,u as o}from"./paths-BjD3T_xq.js";import"./boolean-D15s2V33.js";import{Ai as s,Fo as c,Ki as l,jo as u}from"./auth-profiles-C8rZRS0X.js";import{t as d}from"./command-format-CLxIPuLR.js";import"./agent-scope-DAWJwFfl.js";import{g as f}from"./utils-CGdo13HV.js";import"./openclaw-root-CnsBf6ZU.js";import"./github-copilot-token-C79yeDKS.js";import"./env-overrides-DHtB4kK3.js";import"./version-q3SkUw2K.js";import"./registry-BptzrW8D.js";import"./skills-Bz_S4lPh.js";import"./frontmatter-C7mzDNxd.js";import"./plugins-DNlgeTTc.js";import"./logger-kQAOe3qp.js";import"./exec-B3eleY5O.js";import"./windows-spawn-7oINn5ao.js";import"./redact-CnRxK70G.js";import"./path-alias-guards-kY_ZbWs-.js";import"./errors-6SQWM9dj.js";import"./send-vNcod64S.js";import"./send-CyarIb2w.js";import"./compact-CYbPi7_-.js";import"./paths-BfjJY2VL.js";import"./chat-envelope-Bznn2SoS.js";import"./models-config-DZzS67GS.js";import"./tokens-DRM8vzJx.js";import"./with-timeout-c1CzdShT.js";import"./deliver-SqSusZP3.js";import"./diagnostic-D1H7_8QG.js";import"./send-Dj7NBAWg.js";import"./pi-model-discovery-BPkhPDMr.js";import"./exec-approvals-allowlist-CGjRWREs.js";import"./exec-safe-bin-runtime-policy-v44u39fl.js";import"./model-catalog-mt0IcDfR.js";import"./fetch-B4bz67_N.js";import"./audio-transcription-runner-BIKj1CBU.js";import"./fetch-guard-DaZmvp-L.js";import"./image-BVbOr9yV.js";import"./tool-display-DJDtttQg.js";import"./api-key-rotation-BpEL4aeX.js";import"./proxy-fetch-gWETR3cl.js";import"./ir-DdjufzKF.js";import"./render-DrrPmnMI.js";import"./target-errors-D6wejRd6.js";import"./commands-Dy7duWlt.js";import"./commands-registry-DT6FDUev.js";import"./session-cost-usage-CHtVgnE8.js";import"./session-utils-Bpdyx2A2.js";import"./sqlite-CILF3z9U.js";import"./call-BWx7hNtl.js";import"./pi-tools.policy-B6q8YOfg.js";import"./pairing-store-BaaVy1zB.js";import"./fetch-Dh-apy46.js";import"./skill-commands-DCqPy_Aa.js";import"./workspace-dirs-A8Vib9_B.js";import"./pairing-token-zdbQ951y.js";import"./channel-activity-BhiLsKvM.js";import"./tables-DENKrP-W.js";import"./kill-tree-D6nPx1_o.js";import"./runtime-web-tools-BYhCkBV8.js";import"./runtime-CK7gqwEF.js";import"./node-shell-BVZylVP6.js";import"./stagger-DxzgG2jd.js";import"./channel-selection-BPxE8JR7.js";import"./plugin-auto-enable-adba5Evb.js";import"./send-ChILboDj.js";import"./outbound-attachment-CVcDBkAD.js";import"./delivery-queue-nkPJu0fY.js";import"./send-COpehmAB.js";import"./system-run-command-DsWBVvSK.js";import"./fetch-Ce-scEU-.js";import"./command-secret-targets-BEjtBf5Z.js";import"./connection-auth-CjaeEu5D.js";import{f as p,g as m,i as h,o as g}from"./onboard-helpers-DOlI17Ac.js";import{n as _,r as v,t as y}from"./prompt-style-BThRSQJR.js";import"./pairing-labels-CZ-aX-up.js";import"./search-manager-CV2YsAym.js";import"./manager-CxZRoQkE.js";import"./memory-cli-C8fBBPgv.js";import{t as b}from"./links-CBnmRP9D.js";import{n as x}from"./cli-utils-BleB1eys.js";import"./help-format-B4aEI7V9.js";import"./progress-d1m2sqR1.js";import"./exec-approvals-BXO9Cezj.js";import"./skills-status-DpSboPY1.js";import{t as S}from"./clipboard-Bk8cviBt.js";import"./note-Dp-d_utk.js";import"./issue-format-CN9PHzXY.js";import"./channels-status-issues-8eFrGKyf.js";import"./completion-cli-BVbT_aR2.js";import"./register.subclis-Drp2dGBe.js";import"./command-registry-D_jtBegA.js";import"./program-context-CH9p6anW.js";import"./daemon-install-plan.shared-Dx3DBXCG.js";import"./runtime-guard-DX2Ie4ri.js";import"./gateway-install-token-cSJrfU_1.js";import"./systemd-DbevZh65.js";import{n as C}from"./service-DZ9EbS15.js";import"./systemd-hints-lXpMy-kY.js";import"./diagnostics-Cdctg9K_.js";import"./health-CIZFVJEG.js";import"./control-ui-assets-CTHGGgaX.js";import"./channel-account-context-DAcarnqW.js";import"./update-runner-DABdlxfN.js";import"./logging-B7XHbCNn.js";import"./oauth-tls-preflight-BSBRDIfC.js";import"./doctor-config-flow-Dio3s4x6.js";import{a as w,i as T,o as E,r as D,t as O}from"./cleanup-utils-BWm70DoD.js";import"./systemd-linger-cWKbFNpu.js";import"./health-format-B1nj3Wfn.js";import{n as k,t as A}from"./prompt-select-styled-DZnefcrY.js";import"./doctor-completion-DI7mGC3D.js";import j from"node:path";import{cancel as M,confirm as N,isCancel as P,multiselect as F}from"@clack/prompts";async function I(e,t=process.env){let n=await s({config:e,env:t,value:e.gateway?.auth?.token,path:`gateway.auth.token`,readFallback:()=>l(t)});return{token:n.value,source:n.source===`config`?`config`:n.source===`secretRef`?`secretRef`:n.source===`fallback`?`env`:void 0,unresolvedRefReason:n.unresolvedRefReason,tokenSecretRefConfigured:n.secretRefConfigured}}async function L(e=t,n={}){let r=await c(),i=r.valid?r.config:{},a=o(i),s=i.gateway?.bind??`loopback`,l=i.gateway?.controlUi?.basePath,u=i.gateway?.customBindHost,d=await I(i,process.env),f=d.token??``,_=m({port:a,bind:s===`lan`?`loopback`:s,customBindHost:u,basePath:l}),v=f.length>0&&!d.tokenSecretRefConfigured,y=v?`${_.httpUrl}#token=${encodeURIComponent(f)}`:_.httpUrl;e.log(`Dashboard URL: ${y}`),d.tokenSecretRefConfigured&&f&&e.log(`Token auto-auth is disabled for SecretRef-managed gateway.auth.token; use your external token source if prompted.`),d.unresolvedRefReason&&(e.log(`Token auto-auth unavailable: ${d.unresolvedRefReason}`),e.log("Set OPENCLAW_GATEWAY_TOKEN in this shell or resolve your secret provider, then rerun `openclaw dashboard`."));let b=await S(y).catch(()=>!1);e.log(b?`Copied to clipboard.`:`Copy to clipboard unavailable.`);let x=!1,C;n.noOpen?C=`Browser launch disabled (--no-open). Use the URL above.`:((await h()).ok&&(x=await p(y)),x||(C=g({port:a,basePath:l,token:v&&f||void 0}))),x?e.log(`Opened in your browser. Keep that tab to control OpenClaw.`):C&&e.log(C)}function R(){let e=u(),t=n(),r=a(),o=i();return{cfg:e,stateDir:t,configPath:r,oauthDir:o,...O({cfg:e,stateDir:t,configPath:r,oauthDir:o})}}async function z(e){if(r)return;let t=C(),n=!1;try{n=await t.isLoaded({env:process.env})}catch(t){e.error(`Gateway service check failed: ${String(t)}`);return}if(n)try{await t.stop({env:process.env,stdout:process.stdout})}catch(t){e.error(`Gateway stop failed: ${String(t)}`)}}function B(e){e.log(`Recommended first: ${d(`openclaw backup create`)}`)}async function V(e,t){let n=!t.nonInteractive;if(!n&&!t.yes){e.error(`Non-interactive mode requires --yes.`),e.exit(1);return}let r=t.scope;if(!r){if(!n){e.error(`Non-interactive mode requires --scope.`),e.exit(1);return}let t=await A({message:`Reset scope`,options:[{value:`config`,label:`Config only`,hint:`openclaw.json`},{value:`config+creds+sessions`,label:`Config + credentials + sessions`,hint:`keeps workspace + auth profiles`},{value:`full`,label:`Full reset`,hint:`state dir + workspace`}],initialValue:`config+creds+sessions`});if(P(t)){M(v(`Reset cancelled.`)??`Reset cancelled.`),e.exit(0);return}r=t}if(![`config`,`config+creds+sessions`,`full`].includes(r)){e.error(`Invalid --scope. Expected "config", "config+creds+sessions", or "full".`),e.exit(1);return}if(n&&!t.yes){let t=await N({message:_(`Proceed with ${r} reset?`)});if(P(t)||!t){M(v(`Reset cancelled.`)??`Reset cancelled.`),e.exit(0);return}}let i=!!t.dryRun,{stateDir:a,configPath:o,oauthDir:s,configInsideState:c,oauthInsideState:l,workspaceDirs:u}=R();if(r!==`config`&&(B(e),i?e.log(`[dry-run] stop gateway service`):await z(e)),r===`config`){await T(o,e,{dryRun:i,label:o});return}if(r===`config+creds+sessions`){await T(o,e,{dryRun:i,label:o}),await T(s,e,{dryRun:i,label:s});let t=await D(a);for(let n of t)await T(n,e,{dryRun:i,label:n});e.log(`Next: ${d(`openclaw onboard --install-daemon`)}`);return}if(r===`full`){await w({stateDir:a,configPath:o,oauthDir:s,configInsideState:c,oauthInsideState:l},e,{dryRun:i}),await E(u,e,{dryRun:i}),e.log(`Next: ${d(`openclaw onboard --install-daemon`)}`);return}}const H=e=>F({...e,message:_(e.message),options:e.options.map(e=>e.hint===void 0?e:{...e,hint:y(e.hint)})});function U(e){let t=!!(e.all||e.service||e.state||e.workspace||e.app),n=new Set;return(e.all||e.service)&&n.add(`service`),(e.all||e.state)&&n.add(`state`),(e.all||e.workspace)&&n.add(`workspace`),(e.all||e.app)&&n.add(`app`),{scopes:n,hadExplicit:t}}async function W(e){if(r)return e.error(`Nix mode detected; service uninstall is disabled.`),!1;let t=C(),n=!1;try{n=await t.isLoaded({env:process.env})}catch(t){return e.error(`Gateway service check failed: ${String(t)}`),!1}if(!n)return e.log(`Gateway service ${t.notLoadedText}.`),!0;try{await t.stop({env:process.env,stdout:process.stdout})}catch(t){e.error(`Gateway stop failed: ${String(t)}`)}try{return await t.uninstall({env:process.env,stdout:process.stdout}),!0}catch(t){return e.error(`Gateway uninstall failed: ${String(t)}`),!1}}async function G(e,t){process.platform===`darwin`&&await T(`/Applications/OpenClaw.app`,e,{dryRun:t,label:`/Applications/OpenClaw.app`})}function K(e){e.log(`Recommended first: ${d(`openclaw backup create`)}`)}async function q(e,t){let{scopes:n,hadExplicit:r}=U(t),i=!t.nonInteractive;if(!i&&!t.yes){e.error(`Non-interactive mode requires --yes.`),e.exit(1);return}if(!r){if(!i){e.error(`Non-interactive mode requires explicit scopes (use --all).`),e.exit(1);return}let t=await H({message:`Uninstall which components?`,options:[{value:`service`,label:`Gateway service`,hint:`launchd / systemd / schtasks`},{value:`state`,label:`State + config`,hint:`~/.qbotclaw`},{value:`workspace`,label:`Workspace`,hint:`agent files`},{value:`app`,label:`macOS app`,hint:`/Applications/OpenClaw.app`}],initialValues:[`service`,`state`,`workspace`]});if(P(t)){M(v(`Uninstall cancelled.`)??`Uninstall cancelled.`),e.exit(0);return}for(let e of t)n.add(e)}if(n.size===0){e.log(`Nothing selected.`);return}if(i&&!t.yes){let t=await N({message:_(`Proceed with uninstall?`)});if(P(t)||!t){M(v(`Uninstall cancelled.`)??`Uninstall cancelled.`),e.exit(0);return}}let a=!!t.dryRun,{stateDir:o,configPath:s,oauthDir:c,configInsideState:l,oauthInsideState:u,workspaceDirs:d}=R();if((n.has(`state`)||n.has(`workspace`))&&K(e),n.has(`service`)&&(a?e.log(`[dry-run] remove gateway service`):await W(e)),n.has(`state`)&&await w({stateDir:o,configPath:s,oauthDir:c,configInsideState:l,oauthInsideState:u},e,{dryRun:a}),n.has(`workspace`)&&await E(d,e,{dryRun:a}),n.has(`app`)&&await G(e,a),e.log(`CLI still installed. Remove via npm/pnpm if desired.`),n.has(`state`)&&!n.has(`workspace`)){let t=f();t&&d.some(e=>e.startsWith(j.resolve(t)))&&e.log(`Tip: workspaces were preserved. Re-run with --workspace to remove them.`)}}function J(n){n.command(`doctor`).description(`Health checks + quick fixes for the gateway and channels`).addHelpText(`after`,()=>`\n${e.muted(`Docs:`)} ${b(`/cli/doctor`,`docs.openclaw.ai/cli/doctor`)}\n`).option(`--no-workspace-suggestions`,`Disable workspace memory system suggestions`,!1).option(`--yes`,`Accept defaults without prompting`,!1).option(`--repair`,`Apply recommended repairs without prompting`,!1).option(`--fix`,`Apply recommended repairs (alias for --repair)`,!1).option(`--force`,`Apply aggressive repairs (overwrites custom service config)`,!1).option(`--non-interactive`,`Run without prompts (safe migrations only)`,!1).option(`--generate-gateway-token`,`Generate and configure a gateway token`,!1).option(`--deep`,`Scan system services for extra gateway installs`,!1).action(async e=>{await x(t,async()=>{await k(t,{workspaceSuggestions:e.workspaceSuggestions,yes:!!e.yes,repair:!!e.repair||!!e.fix,force:!!e.force,nonInteractive:!!e.nonInteractive,generateGatewayToken:!!e.generateGatewayToken,deep:!!e.deep}),t.exit(0)})}),n.command(`dashboard`).description(`Open the Control UI with your current token`).addHelpText(`after`,()=>`\n${e.muted(`Docs:`)} ${b(`/cli/dashboard`,`docs.openclaw.ai/cli/dashboard`)}\n`).option(`--no-open`,`Print URL but do not launch a browser`).action(async e=>{await x(t,async()=>{await L(t,{noOpen:e.open===!1})})}),n.command(`reset`).description(`Reset local config/state (keeps the CLI installed)`).addHelpText(`after`,()=>`\n${e.muted(`Docs:`)} ${b(`/cli/reset`,`docs.openclaw.ai/cli/reset`)}\n`).option(`--scope <scope>`,`config|config+creds+sessions|full (default: interactive prompt)`).option(`--yes`,`Skip confirmation prompts`,!1).option(`--non-interactive`,`Disable prompts (requires --scope + --yes)`,!1).option(`--dry-run`,`Print actions without removing files`,!1).action(async e=>{await x(t,async()=>{await V(t,{scope:e.scope,yes:!!e.yes,nonInteractive:!!e.nonInteractive,dryRun:!!e.dryRun})})}),n.command(`uninstall`).description(`Uninstall the gateway service + local data (CLI remains)`).addHelpText(`after`,()=>`\n${e.muted(`Docs:`)} ${b(`/cli/uninstall`,`docs.openclaw.ai/cli/uninstall`)}\n`).option(`--service`,`Remove the gateway service`,!1).option(`--state`,`Remove state + config`,!1).option(`--workspace`,`Remove workspace dirs`,!1).option(`--app`,`Remove the macOS app`,!1).option(`--all`,`Remove service + state + workspace + app`,!1).option(`--yes`,`Skip confirmation prompts`,!1).option(`--non-interactive`,`Disable prompts (requires --yes)`,!1).option(`--dry-run`,`Print actions without removing files`,!1).action(async e=>{await x(t,async()=>{await q(t,{service:!!e.service,state:!!e.state,workspace:!!e.workspace,app:!!e.app,all:!!e.all,yes:!!e.yes,nonInteractive:!!e.nonInteractive,dryRun:!!e.dryRun})})})}export{J as registerMaintenanceCommands};
|
|
@@ -3,4 +3,3 @@ ${e.heading(`Examples:`)}
|
|
|
3
3
|
${C([[`openclaw message send --target +15555550123 --message "Hi"`,`Send a text message.`],[`openclaw message send --target +15555550123 --message "Hi" --media photo.jpg`,`Send a message with media.`],[`openclaw message poll --channel discord --target channel:123 --poll-question "Snack?" --poll-option Pizza --poll-option Sushi`,`Create a Discord poll.`],[`openclaw message react --channel discord --target 123 --message-id 456 --emoji "✅"`,`React to a message.`]])}
|
|
4
4
|
|
|
5
5
|
${e.muted(`Docs:`)} ${x(`/cli/message`,`docs.openclaw.ai/cli/message`)}`).action(()=>{r.help({error:!0})}),i=K(r,n.messageChannelOptions);re(r,i),q(r,i),ee(r,i),te(r,i),ne(r,i),$(r,i),Z(r,i),Q(r,i),ie(r,i),Y(r,i),X(r,i),J(r,i)}export{ae as registerMessageCommands};
|
|
6
|
-
//# sourceMappingURL=register.message-DHDcOA8X.js.map
|
|
@@ -3,4 +3,3 @@ ${e.heading(`Examples:`)}
|
|
|
3
3
|
${C([[`openclaw message send --target +15555550123 --message "Hi"`,`Send a text message.`],[`openclaw message send --target +15555550123 --message "Hi" --media photo.jpg`,`Send a message with media.`],[`openclaw message poll --channel discord --target channel:123 --poll-question "Snack?" --poll-option Pizza --poll-option Sushi`,`Create a Discord poll.`],[`openclaw message react --channel discord --target 123 --message-id 456 --emoji "✅"`,`React to a message.`]])}
|
|
4
4
|
|
|
5
5
|
${e.muted(`Docs:`)} ${x(`/cli/message`,`docs.openclaw.ai/cli/message`)}`).action(()=>{r.help({error:!0})}),i=G(r,n.messageChannelOptions);re(r,i),K(r,i),$(r,i),te(r,i),ne(r,i),Q(r,i),X(r,i),Z(r,i),ie(r,i),J(r,i),Y(r,i),q(r,i)}export{ae as registerMessageCommands};
|
|
6
|
-
//# sourceMappingURL=register.message-Dh72QHKA.js.map
|