@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
|
@@ -1,2 +1 @@
|
|
|
1
1
|
async function e(e){let{manager:t,error:n}=await e.getManager();if(!t){e.onMissing(n);return}try{await e.run(t)}finally{try{await e.close(t)}catch(t){e.onCloseError?.(t)}}}async function t(e,t,n){try{await t()}catch(t){if(n){n(t);return}e.error(String(t)),e.exit(1)}}function n(e,t){let n=e;for(;n;){let e=n.opts?.()??{};if(e[t]!==void 0)return e[t];n=n.parent??void 0}}export{t as n,e as r,n as t};
|
|
2
|
-
//# sourceMappingURL=cli-utils-BY7dLMFy.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
1
|
async function e(e){let{manager:t,error:n}=await e.getManager();if(!t){e.onMissing(n);return}try{await e.run(t)}finally{try{await e.close(t)}catch(t){e.onCloseError?.(t)}}}async function t(e,t,n){try{await t()}catch(t){if(n){n(t);return}e.error(String(t)),e.exit(1)}}function n(e,t){let n=e;for(;n;){let e=n.opts?.()??{};if(e[t]!==void 0)return e[t];n=n.parent??void 0}}export{t as n,e as r,n as t};
|
|
2
|
-
//# sourceMappingURL=cli-utils-BleB1eys.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
1
|
import{t as e}from"./exec-B3eleY5O.js";async function t(t){for(let n of[{argv:[`pbcopy`]},{argv:[`xclip`,`-selection`,`clipboard`]},{argv:[`wl-copy`]},{argv:[`clip.exe`]},{argv:[`powershell`,`-NoProfile`,`-Command`,`Set-Clipboard`]}])try{let r=await e(n.argv,{timeoutMs:3e3,input:t});if(r.code===0&&!r.killed)return!0}catch{}return!1}export{t};
|
|
2
|
-
//# sourceMappingURL=clipboard-Bk8cviBt.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
1
|
import{t as e}from"./exec-DHqLtFYt.js";async function t(t){for(let n of[{argv:[`pbcopy`]},{argv:[`xclip`,`-selection`,`clipboard`]},{argv:[`wl-copy`]},{argv:[`clip.exe`]},{argv:[`powershell`,`-NoProfile`,`-Command`,`Set-Clipboard`]}])try{let r=await e(n.argv,{timeoutMs:3e3,input:t});if(r.code===0&&!r.killed)return!0}catch{}return!1}export{t};
|
|
2
|
-
//# sourceMappingURL=clipboard-CKT_VIkG.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
1
|
import{t as e}from"./arg-split-DE5RqDHq.js";function t(e,t){if(/[\r\n]/.test(e))throw Error(`${t} cannot contain CR or LF in Windows task scripts.`)}function n(e){return e.replace(/\^/g,`^^`).replace(/%/g,`%%`).replace(/!/g,`^!`).replace(/"/g,`^"`)}function r(e){let t=``;for(let n=0;n<e.length;n+=1){let r=e[n],i=e[n+1];if(r===`^`&&(i===`^`||i===`"`||i===`!`)){t+=i,n+=1;continue}if(r===`%`&&i===`%`){t+=`%`,n+=1;continue}t+=r}return t}function i(e){let t=e.trim();if(!t)return null;let n=t.startsWith(`"`)&&t.endsWith(`"`)&&t.length>=2,i=n?t.slice(1,-1):t,a=i.indexOf(`=`);if(a<=0)return null;let o=i.slice(0,a).trim(),s=i.slice(a+1).trim();return o?n?{key:r(o),value:r(s)}:{key:o,value:s}:null}function a(e,r){return t(e,`Environment variable name`),t(r,`Environment variable value`),`set "${n(e)}=${n(r)}"`}function o(e){if(t(e,`Command argument`),!e)return`""`;let n=e.replace(/"/g,`\\"`).replace(/%/g,`%%`).replace(/!/g,`^!`);return/[ \t"&|<>^()%!]/g.test(e)?`"${n}"`:n}function s(e){return e.replace(/\^!/g,`!`).replace(/%%/g,`%`)}function c(t){return e(t,{escapeMode:`backslash-quote-only`}).map(s)}export{a,i,o as n,t as r,c as t};
|
|
2
|
-
//# sourceMappingURL=cmd-argv-BBT5l8AV.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
1
|
import{t as e}from"./arg-split-BOqSMBuf.js";function t(e,t){if(/[\r\n]/.test(e))throw Error(`${t} cannot contain CR or LF in Windows task scripts.`)}function n(e){return e.replace(/\^/g,`^^`).replace(/%/g,`%%`).replace(/!/g,`^!`).replace(/"/g,`^"`)}function r(e){let t=``;for(let n=0;n<e.length;n+=1){let r=e[n],i=e[n+1];if(r===`^`&&(i===`^`||i===`"`||i===`!`)){t+=i,n+=1;continue}if(r===`%`&&i===`%`){t+=`%`,n+=1;continue}t+=r}return t}function i(e){let t=e.trim();if(!t)return null;let n=t.startsWith(`"`)&&t.endsWith(`"`)&&t.length>=2,i=n?t.slice(1,-1):t,a=i.indexOf(`=`);if(a<=0)return null;let o=i.slice(0,a).trim(),s=i.slice(a+1).trim();return o?n?{key:r(o),value:r(s)}:{key:o,value:s}:null}function a(e,r){return t(e,`Environment variable name`),t(r,`Environment variable value`),`set "${n(e)}=${n(r)}"`}function o(e){if(t(e,`Command argument`),!e)return`""`;let n=e.replace(/"/g,`\\"`).replace(/%/g,`%%`).replace(/!/g,`^!`);return/[ \t"&|<>^()%!]/g.test(e)?`"${n}"`:n}function s(e){return e.replace(/\^!/g,`!`).replace(/%%/g,`%`)}function c(t){return e(t,{escapeMode:`backslash-quote-only`}).map(s)}export{a,i,o as n,t as r,c as t};
|
|
2
|
-
//# sourceMappingURL=cmd-argv-Bh-KpaZ0.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
1
|
import e from"node:path";const t=`openclaw`,n=new Set([t]),r=/^(?:((?:pnpm|npm|bunx|npx)\s+))?(openclaw)\b/;function i(r=process.argv){let i=r[1];if(!i)return t;let a=e.basename(i).trim();return n.has(a)?a:t}function a(e,t=i()){return!e.trim()||!r.test(e)?e:e.replace(r,(e,n)=>`${n??``}${t}`)}const o=/^[a-z0-9][a-z0-9_-]{0,63}$/i;function s(e){return e?o.test(e):!1}function c(e){let t=e?.trim();return!t||t.toLowerCase()===`default`||!s(t)?null:t}const l=/^(?:pnpm|npm|bunx|npx)\s+openclaw\b|^openclaw\b/,u=/(?:^|\s)--profile(?:\s|=|$)/,d=/(?:^|\s)--dev(?:\s|$)/;function f(e,t=process.env){let n=a(e,i()),r=c(t.OPENCLAW_PROFILE);return!r||!l.test(n)||u.test(n)||d.test(n)?n:n.replace(l,e=>`${e} --profile ${r}`)}export{a as n,i as r,f as t};
|
|
2
|
-
//# sourceMappingURL=command-format-BbDT1tlm.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
1
|
import{n as e}from"./profile-utils-CWmra1aY.js";import t from"node:path";const n=`openclaw`,r=new Set([n]),i=/^(?:((?:pnpm|npm|bunx|npx)\s+))?(openclaw)\b/;function a(e=process.argv){let i=e[1];if(!i)return n;let a=t.basename(i).trim();return r.has(a)?a:n}function o(e,t=a()){return!e.trim()||!i.test(e)?e:e.replace(i,(e,n)=>`${n??``}${t}`)}const s=/^(?:pnpm|npm|bunx|npx)\s+openclaw\b|^openclaw\b/,c=/(?:^|\s)--profile(?:\s|=|$)/,l=/(?:^|\s)--dev(?:\s|$)/;function u(t,n=process.env){let r=o(t,a()),i=e(n.OPENCLAW_PROFILE);return!i||!s.test(r)||c.test(r)||l.test(r)?r:r.replace(s,e=>`${e} --profile ${i}`)}export{o as n,a as r,u as t};
|
|
2
|
-
//# sourceMappingURL=command-format-CLxIPuLR.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
1
|
function e(e,t){return typeof e.getOptionValueSource==`function`?t.some(t=>e.getOptionValueSource(t)===`cli`):!1}function t(e,t){if(typeof e.getOptionValueSource==`function`)return e.getOptionValueSource(t)}function n(e,n){if(!e)return;let r=t(e,n);if(r&&r!==`default`)return;let i=0,a=e.parent;for(;a&&i<2;){let e=t(a,n);if(e&&e!==`default`)return a.opts()[n];i+=1,a=a.parent}}export{n,e as t};
|
|
2
|
-
//# sourceMappingURL=command-options-BpOUDl2S.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
1
|
function e(e,t){return typeof e.getOptionValueSource==`function`?t.some(t=>e.getOptionValueSource(t)===`cli`):!1}function t(e,t){if(typeof e.getOptionValueSource==`function`)return e.getOptionValueSource(t)}function n(e,n){if(!e)return;let r=t(e,n);if(r&&r!==`default`)return;let i=0,a=e.parent;for(;a&&i<2;){let e=t(a,n);if(e&&e!==`default`)return a.opts()[n];i+=1,a=a.parent}}export{n,e as t};
|
|
2
|
-
//# sourceMappingURL=command-options-Bq5nQxz6.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
1
|
const e=[5e3,1e4,3e4,6e4];function t(t){return e[Math.min(t,e.length-1)]??6e4}function n(n,r,i){n.commandPollCounts||=new Map;let a=n.commandPollCounts.get(r),o=Date.now();if(i)return n.commandPollCounts.set(r,{count:0,lastPollAt:o}),e[0]??5e3;let s=(a?.count??-1)+1;return n.commandPollCounts.set(r,{count:s,lastPollAt:o}),t(s)}function r(e,t){e.commandPollCounts?.delete(t)}function i(e,t=36e5){if(!e.commandPollCounts)return;let n=Date.now();for(let[r,i]of e.commandPollCounts.entries())n-i.lastPollAt>t&&e.commandPollCounts.delete(r)}export{n,r,i as t};
|
|
2
|
-
//# sourceMappingURL=command-poll-backoff-BZLHYB2k.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
1
|
const e=[5e3,1e4,3e4,6e4];function t(t){return e[Math.min(t,e.length-1)]??6e4}function n(n,r,i){n.commandPollCounts||=new Map;let a=n.commandPollCounts.get(r),o=Date.now();if(i)return n.commandPollCounts.set(r,{count:0,lastPollAt:o}),e[0]??5e3;let s=(a?.count??-1)+1;return n.commandPollCounts.set(r,{count:s,lastPollAt:o}),t(s)}function r(e,t){e.commandPollCounts?.delete(t)}function i(e,t=36e5){if(!e.commandPollCounts)return;let n=Date.now();for(let[r,i]of e.commandPollCounts.entries())n-i.lastPollAt>t&&e.commandPollCounts.delete(r)}export{n,r,i as t};
|
|
2
|
-
//# sourceMappingURL=command-poll-backoff-Cww_r-24.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
1
|
const e=[5e3,1e4,3e4,6e4];function t(t){return e[Math.min(t,e.length-1)]??6e4}function n(n,r,i){n.commandPollCounts||=new Map;let a=n.commandPollCounts.get(r),o=Date.now();if(i)return n.commandPollCounts.set(r,{count:0,lastPollAt:o}),e[0]??5e3;let s=(a?.count??-1)+1;return n.commandPollCounts.set(r,{count:s,lastPollAt:o}),t(s)}function r(e,t){e.commandPollCounts?.delete(t)}function i(e,t=36e5){if(!e.commandPollCounts)return;let n=Date.now();for(let[r,i]of e.commandPollCounts.entries())n-i.lastPollAt>t&&e.commandPollCounts.delete(r)}export{n,r,i as t};
|
|
2
|
-
//# sourceMappingURL=command-poll-backoff-Df6cOQrX.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
1
|
const e=[5e3,1e4,3e4,6e4];function t(t){return e[Math.min(t,e.length-1)]??6e4}function n(n,r,i){n.commandPollCounts||=new Map;let a=n.commandPollCounts.get(r),o=Date.now();if(i)return n.commandPollCounts.set(r,{count:0,lastPollAt:o}),e[0]??5e3;let s=(a?.count??-1)+1;return n.commandPollCounts.set(r,{count:s,lastPollAt:o}),t(s)}function r(e,t){e.commandPollCounts?.delete(t)}function i(e,t=36e5){if(!e.commandPollCounts)return;let n=Date.now();for(let[r,i]of e.commandPollCounts.entries())n-i.lastPollAt>t&&e.commandPollCounts.delete(r)}export{n,r,i as t};
|
|
2
|
-
//# sourceMappingURL=command-poll-backoff-endAPdwn.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import{t as e}from"./rolldown-runtime-CNxR59P3.js";import{J as t,Z as n}from"./subsystem-BLbY429l.js";import{i as r,o as i,s as a}from"./register.subclis-
|
|
2
|
-
//# sourceMappingURL=command-registry-BxNiXs5w.js.map
|
|
1
|
+
import{t as e}from"./rolldown-runtime-CNxR59P3.js";import{J as t,Z as n}from"./subsystem-BLbY429l.js";import{i as r,o as i,s as a}from"./register.subclis-Drp2dGBe.js";var o=e({getCoreCliCommandNames:()=>u,getCoreCliCommandsWithSubcommands:()=>d,registerCoreCliByName:()=>m,registerCoreCliCommands:()=>h,registerProgramCommands:()=>g});const s=e=>!n(e),c=[{commands:[{name:`setup`,description:`Initialize local config and agent workspace`,hasSubcommands:!1}],register:async({program:e})=>{(await import(`./register.setup-D76IRs4s.js`)).registerSetupCommand(e)}},{commands:[{name:`onboard`,description:`Interactive onboarding wizard for gateway, workspace, and skills`,hasSubcommands:!1}],register:async({program:e})=>{(await import(`./register.onboard-Bu9gpFlA.js`)).registerOnboardCommand(e)}},{commands:[{name:`configure`,description:`Interactive setup wizard for credentials, channels, gateway, and agent defaults`,hasSubcommands:!1}],register:async({program:e})=>{(await import(`./register.configure-C2N82brC.js`)).registerConfigureCommand(e)}},{commands:[{name:`config`,description:`Non-interactive config helpers (get/set/unset/file/validate). Default: starts setup wizard.`,hasSubcommands:!0}],register:async({program:e})=>{(await import(`./config-cli-CwW76_j_.js`)).registerConfigCli(e)}},{commands:[{name:`backup`,description:`Create and verify local backup archives for OpenClaw state`,hasSubcommands:!0}],register:async({program:e})=>{(await import(`./register.backup-BDO3V0so.js`)).registerBackupCommand(e)}},{commands:[{name:`doctor`,description:`Health checks + quick fixes for the gateway and channels`,hasSubcommands:!1},{name:`dashboard`,description:`Open the Control UI with your current token`,hasSubcommands:!1},{name:`reset`,description:`Reset local config/state (keeps the CLI installed)`,hasSubcommands:!1},{name:`uninstall`,description:`Uninstall the gateway service + local data (CLI remains)`,hasSubcommands:!1}],register:async({program:e})=>{(await import(`./register.maintenance-aKBTd9Zp.js`)).registerMaintenanceCommands(e)}},{commands:[{name:`message`,description:`Send, read, and manage messages`,hasSubcommands:!0}],register:async({program:e,ctx:t})=>{(await import(`./register.message-Dh72QHKA.js`)).registerMessageCommands(e,t)}},{commands:[{name:`memory`,description:`Search and reindex memory files`,hasSubcommands:!0}],register:async({program:e})=>{(await import(`./memory-cli-C8fBBPgv.js`).then(e=>e.t)).registerMemoryCli(e)}},{commands:[{name:`agent`,description:`Run one agent turn via the Gateway`,hasSubcommands:!1},{name:`agents`,description:`Manage isolated agents (workspaces, auth, routing)`,hasSubcommands:!0}],register:async({program:e,ctx:t})=>{(await import(`./register.agent-DHOTtB8X.js`)).registerAgentCommands(e,{agentChannelOptions:t.agentChannelOptions})}},{commands:[{name:`status`,description:`Show channel health and recent session recipients`,hasSubcommands:!1},{name:`health`,description:`Fetch health from the running gateway`,hasSubcommands:!1},{name:`sessions`,description:`List stored conversation sessions`,hasSubcommands:!0}],register:async({program:e})=>{(await import(`./register.status-health-sessions-mPGKFjIz.js`)).registerStatusHealthSessionsCommands(e)}},{commands:[{name:`browser`,description:`Manage OpenClaw's dedicated browser (Chrome/Chromium)`,hasSubcommands:!0}],register:async({program:e})=>{(await import(`./browser-cli-DkrBCfYg.js`)).registerBrowserCli(e)}}];function l(e){let t=new Set,n=[];for(let r of c)for(let i of r.commands)e&&!e(i)||t.has(i.name)||(t.add(i.name),n.push(i.name));return n}function u(){return l()}function d(){return l(e=>e.hasSubcommands)}function f(e,t){for(let n of t.commands)i(e,n.name)}function p(e,t,n,r){let i=e.command(r.name).description(r.description);i.allowUnknownOption(!0),i.allowExcessArguments(!0),i.action(async(...r)=>{f(e,n),await n.register({program:e,ctx:t,argv:process.argv}),await a(e,r)})}async function m(e,t,n,r=process.argv){let i=c.find(e=>e.commands.some(e=>e.name===n));return i?(f(e,i),await i.register({program:e,ctx:t,argv:r}),!0):!1}function h(e,n,r){let i=t(r);if(i&&s(r)){let t=c.find(e=>e.commands.some(e=>e.name===i));if(t){let r=t.commands.find(e=>e.name===i);r&&p(e,n,t,r);return}}for(let t of c)for(let r of t.commands)p(e,n,t,r)}function g(e,t,n=process.argv){h(e,t,n),r(e,n)}export{g as a,m as i,u as n,d as r,o as t};
|
|
@@ -1,2 +1 @@
|
|
|
1
1
|
import{co as e,lr as t,uo as n,ur as r}from"./auth-profiles-C8rZRS0X.js";import{d as i}from"./types.secrets-D4tbc3Wq.js";import{Dt as a,n as o}from"./call-BWx7hNtl.js";import{C as s,T as c,_ as l,l as u,n as d,o as f,p,t as m,y as h}from"./runtime-web-tools-BYhCkBV8.js";const g=[`tools.web.search`,`tools.web.fetch.firecrawl`],_=[`tools.web.search.`,`tools.web.fetch.firecrawl.`];function v(e){let t=new Set,n=[];for(let r of e){let e=r.trim();!e||t.has(e)||(t.add(e),n.push(e))}return n}function y(e){return _.some(t=>e.startsWith(t))}function b(e){if(e.allowedPaths){for(let t of e.allowedPaths)if(y(t))return!0;return!1}for(let t of e.targetIds)if(g.some(e=>t.startsWith(e)))return!0;return!1}function x(e){let t=e.config.secrets?.defaults,n=new Set;for(let r of p(e.config,e.targetIds)){let{ref:e}=i({value:r.value,refValue:r.refValue,defaults:t});e&&n.add(r.path)}return n}function S(e){if(e.configuredTargetRefPaths.size===0)return{hasActiveConfiguredRef:!1,hasUnknownConfiguredRef:!1,diagnostics:[]};let t=f({sourceConfig:e.config,env:process.env});d({config:structuredClone(e.config),context:t});let n=new Set(t.assignments.map(e=>e.path)),r=new Map;for(let e of t.warnings)e.code===`SECRETS_REF_IGNORED_INACTIVE_SURFACE`&&r.set(e.path,e.message);let i=new Set,a=!1,o=!1;for(let t of e.configuredTargetRefPaths){if(n.has(t)){a=!0;continue}let e=r.get(t);if(e){i.add(e);continue}o=!0}return{hasActiveConfiguredRef:a,hasUnknownConfiguredRef:o,diagnostics:[...i]}}function C(e){if(!a(e))throw Error(`gateway returned invalid secrets.resolve payload.`);let t=e;return{assignments:t.assignments??[],diagnostics:(t.diagnostics??[]).filter(e=>e.trim().length>0),inactiveRefPaths:(t.inactiveRefPaths??[]).filter(e=>e.trim().length>0)}}function w(e){let t=new Set;for(let n of e){let e=n.indexOf(`: secret ref is configured on an inactive surface;`);if(e<=0)continue;let r=n.slice(0,e).trim();r.length>0&&t.add(r)}return t}function T(e){let t=n(e).toLowerCase();return t.includes(`secrets.resolve`)?t.includes(`does not support required method`)||t.includes(`unknown method`)||t.includes(`method not found`)||t.includes(`invalid request`):!1}async function E(e){let t=e.config,r=structuredClone(e.config),i=f({sourceConfig:t,env:process.env}),a=[];if(d({config:structuredClone(e.config),context:i}),b({targetIds:e.targetIds,allowedPaths:e.allowedPaths}))try{await m({sourceConfig:t,resolvedConfig:r,context:i})}catch(t){if(e.mode===`strict`)throw t;a.push(`${e.commandName}: failed to resolve web tool secrets locally (${n(t)}).`)}let o=new Set(i.warnings.filter(e=>e.code===`SECRETS_REF_IGNORED_INACTIVE_SURFACE`).filter(t=>!e.allowedPaths||e.allowedPaths.has(t.path)).map(e=>e.path)),s=i.warnings.filter(e=>e.code===`SECRETS_REF_IGNORED_INACTIVE_SURFACE`).filter(t=>!e.allowedPaths||e.allowedPaths.has(t.path)).map(e=>e.message),c=new Set(i.assignments.map(e=>e.path));for(let n of p(t,e.targetIds))e.allowedPaths&&!e.allowedPaths.has(n.path)||await j({target:n,sourceConfig:t,resolvedConfig:r,env:i.env,cache:i.cache,activePaths:c,inactiveRefPaths:o,mode:e.mode,commandName:e.commandName,localResolutionDiagnostics:a});let l=u({sourceConfig:t,resolvedConfig:r,targetIds:e.targetIds,inactiveRefPaths:o,...e.allowedPaths?{allowedPaths:e.allowedPaths}:{}}),h=D({analyzed:l,resolvedState:`resolved_local`});if(e.mode!==`strict`&&l.unresolved.length>0)k(r,l.unresolved);else if(l.unresolved.length>0)throw Error(`${e.commandName}: ${l.unresolved[0]?.path??`target`} is unresolved in the active runtime snapshot.`);return{resolvedConfig:r,diagnostics:v([...e.preflightDiagnostics,...s,...A({diagnostics:l.diagnostics,inactiveRefPaths:o}),...a,...O(e.commandName,l.unresolved,e.mode)]),targetStatesByPath:h,hadUnresolvedTargets:l.unresolved.length>0}}function D(e){let t={};for(let n of e.analyzed.assignments)t[n.path]=e.resolvedState;for(let n of e.analyzed.inactive)t[n.path]=`inactive_surface`;for(let n of e.analyzed.unresolved)t[n.path]=`unresolved`;return t}function O(e,t,n){return n===`strict`?[]:t.map(t=>`${e}: ${t.path} is unavailable in this command path; continuing with degraded read-only config.`)}function k(e,t){for(let n of t)c(e,n.pathSegments,void 0)}function A(e){return e.diagnostics.filter(t=>{let n=t.indexOf(`: secret ref is configured on an inactive surface;`);if(n<=0)return!0;let r=t.slice(0,n).trim();return!e.inactiveRefPaths.has(r)})}async function j(t){let r=t.sourceConfig.secrets?.defaults,{ref:a}=i({value:t.target.value,refValue:t.target.refValue,defaults:r});if(!(!a||t.inactiveRefPaths.has(t.target.path)||!t.activePaths.has(t.target.path)))try{let n=await e(a,{config:t.sourceConfig,env:t.env,cache:t.cache});h({value:n,expected:t.target.entry.expectedResolvedValue,errorMessage:t.target.entry.expectedResolvedValue===`string`?`${t.target.path} resolved to a non-string or empty value.`:`${t.target.path} resolved to an unsupported value type.`}),c(t.resolvedConfig,t.target.pathSegments,n)}catch(e){t.mode!==`strict`&&t.localResolutionDiagnostics.push(`${t.commandName}: failed to resolve ${t.target.path} locally (${n(e)}).`)}}async function M(e){let i=e.mode??`strict`,a=x({config:e.config,targetIds:e.targetIds});if(a.size===0)return{resolvedConfig:e.config,diagnostics:[],targetStatesByPath:{},hadUnresolvedTargets:!1};let l=S({config:e.config,configuredTargetRefPaths:a});if(!l.hasActiveConfiguredRef&&!l.hasUnknownConfiguredRef)return{resolvedConfig:e.config,diagnostics:l.diagnostics,targetStatesByPath:{},hadUnresolvedTargets:!1};let d;try{d=await o({config:e.config,method:`secrets.resolve`,requiredMethods:[`secrets.resolve`],params:{commandName:e.commandName,targetIds:[...e.targetIds]},timeoutMs:3e4,clientName:r.CLI,mode:t.CLI})}catch(t){try{let r=await E({config:e.config,commandName:e.commandName,targetIds:e.targetIds,preflightDiagnostics:l.diagnostics,mode:i}),a=Object.values(r.targetStatesByPath).some(e=>e===`resolved_local`)&&!r.hadUnresolvedTargets?`resolved command secrets locally.`:`attempted local command-secret resolution.`;return{resolvedConfig:r.resolvedConfig,diagnostics:v([...r.diagnostics,`${e.commandName}: gateway secrets.resolve unavailable (${n(t)}); ${a}`]),targetStatesByPath:r.targetStatesByPath,hadUnresolvedTargets:r.hadUnresolvedTargets}}catch{}throw T(t)?Error(`${e.commandName}: active gateway does not support secrets.resolve (${n(t)}). Update the gateway or run without SecretRefs.`,{cause:t}):Error(`${e.commandName}: failed to resolve secrets from the active gateway snapshot (${n(t)}). Start the gateway and retry.`,{cause:t})}let f=C(d),p=structuredClone(e.config);for(let t of f.assignments){let r=t.pathSegments.filter(e=>e.length>0);if(r.length!==0)try{c(p,r,t.value)}catch(t){let i=r.join(`.`);throw Error(`${e.commandName}: failed to apply resolved secret assignment at ${i} (${n(t)}).`,{cause:t})}}let m=f.inactiveRefPaths.length>0?new Set(f.inactiveRefPaths):w(f.diagnostics),h=u({sourceConfig:e.config,resolvedConfig:p,targetIds:e.targetIds,inactiveRefPaths:m}),g=v(f.diagnostics),_=D({analyzed:h,resolvedState:`resolved_gateway`});if(h.unresolved.length>0)try{let t=await E({config:e.config,commandName:e.commandName,targetIds:e.targetIds,preflightDiagnostics:[],mode:i,allowedPaths:new Set(h.unresolved.map(e=>e.path))});for(let e of h.unresolved)t.targetStatesByPath[e.path]===`resolved_local`&&(c(p,e.pathSegments,s(t.resolvedConfig,e.pathSegments)),_[e.path]=`resolved_local`);let n=new Set(Object.entries(t.targetStatesByPath).filter(([,e])=>e===`resolved_local`).map(([e])=>e)),r=h.unresolved.filter(e=>!n.has(e.path));if(r.length>0){if(i===`strict`)throw Error(`${e.commandName}: ${r[0]?.path??`target`} is unresolved in the active runtime snapshot.`);k(p,r),g=v([...g,...t.diagnostics,...O(e.commandName,r,i)]);for(let e of r)_[e.path]=`unresolved`}else n.size>0&&(g=v([...g,`${e.commandName}: resolved ${n.size} secret ${n.size===1?`path`:`paths`} locally after the gateway snapshot was incomplete.`]))}catch(t){if(i===`strict`)throw t;k(p,h.unresolved),g=v([...g,`${e.commandName}: local fallback after incomplete gateway snapshot failed (${n(t)}).`,...O(e.commandName,h.unresolved,i)])}return{resolvedConfig:p,diagnostics:g,targetStatesByPath:_,hadUnresolvedTargets:Object.values(_).includes(`unresolved`)}}function N(e){return l().map(e=>e.id).filter(t=>e.some(e=>t.startsWith(e))).toSorted()}const P={memory:[`agents.defaults.memorySearch.remote.apiKey`,`agents.list[].memorySearch.remote.apiKey`],qrRemote:[`gateway.remote.token`,`gateway.remote.password`],channels:N([`channels.`]),models:N([`models.providers.`]),agentRuntime:N([`channels.`,`models.providers.`,`agents.defaults.memorySearch.remote.`,`agents.list[].memorySearch.remote.`,`skills.entries.`,`messages.tts.`,`tools.web.search`,`tools.web.fetch.firecrawl.`]),status:N([`channels.`,`agents.defaults.memorySearch.remote.`,`agents.list[].memorySearch.remote.`])};function F(e){return new Set(e)}function I(){return F(P.memory)}function L(){return F(P.qrRemote)}function R(){return F(P.channels)}function z(){return F(P.models)}function B(){return F(P.agentRuntime)}function V(){return F(P.status)}export{L as a,z as i,R as n,V as o,I as r,M as s,B as t};
|
|
2
|
-
//# sourceMappingURL=command-secret-targets-BEjtBf5Z.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
1
|
import{Es as e,Si as t,ws as n,xi as r}from"./model-selection-BLbnMb5E.js";import{d as i}from"./types.secrets-C-5U96pc.js";import{Dt as a,n as o}from"./call-JB-cGR9n.js";import{C as s,T as c,_ as l,l as u,n as d,o as f,p,t as m,y as h}from"./runtime-web-tools-C4F6aaRh.js";const g=[`tools.web.search`,`tools.web.fetch.firecrawl`],_=[`tools.web.search.`,`tools.web.fetch.firecrawl.`];function v(e){let t=new Set,n=[];for(let r of e){let e=r.trim();!e||t.has(e)||(t.add(e),n.push(e))}return n}function y(e){return _.some(t=>e.startsWith(t))}function b(e){if(e.allowedPaths){for(let t of e.allowedPaths)if(y(t))return!0;return!1}for(let t of e.targetIds)if(g.some(e=>t.startsWith(e)))return!0;return!1}function x(e){let t=e.config.secrets?.defaults,n=new Set;for(let r of p(e.config,e.targetIds)){let{ref:e}=i({value:r.value,refValue:r.refValue,defaults:t});e&&n.add(r.path)}return n}function S(e){if(e.configuredTargetRefPaths.size===0)return{hasActiveConfiguredRef:!1,hasUnknownConfiguredRef:!1,diagnostics:[]};let t=f({sourceConfig:e.config,env:process.env});d({config:structuredClone(e.config),context:t});let n=new Set(t.assignments.map(e=>e.path)),r=new Map;for(let e of t.warnings)e.code===`SECRETS_REF_IGNORED_INACTIVE_SURFACE`&&r.set(e.path,e.message);let i=new Set,a=!1,o=!1;for(let t of e.configuredTargetRefPaths){if(n.has(t)){a=!0;continue}let e=r.get(t);if(e){i.add(e);continue}o=!0}return{hasActiveConfiguredRef:a,hasUnknownConfiguredRef:o,diagnostics:[...i]}}function C(e){if(!a(e))throw Error(`gateway returned invalid secrets.resolve payload.`);let t=e;return{assignments:t.assignments??[],diagnostics:(t.diagnostics??[]).filter(e=>e.trim().length>0),inactiveRefPaths:(t.inactiveRefPaths??[]).filter(e=>e.trim().length>0)}}function w(e){let t=new Set;for(let n of e){let e=n.indexOf(`: secret ref is configured on an inactive surface;`);if(e<=0)continue;let r=n.slice(0,e).trim();r.length>0&&t.add(r)}return t}function T(t){let n=e(t).toLowerCase();return n.includes(`secrets.resolve`)?n.includes(`does not support required method`)||n.includes(`unknown method`)||n.includes(`method not found`)||n.includes(`invalid request`):!1}async function E(t){let n=t.config,r=structuredClone(t.config),i=f({sourceConfig:n,env:process.env}),a=[];if(d({config:structuredClone(t.config),context:i}),b({targetIds:t.targetIds,allowedPaths:t.allowedPaths}))try{await m({sourceConfig:n,resolvedConfig:r,context:i})}catch(n){if(t.mode===`strict`)throw n;a.push(`${t.commandName}: failed to resolve web tool secrets locally (${e(n)}).`)}let o=new Set(i.warnings.filter(e=>e.code===`SECRETS_REF_IGNORED_INACTIVE_SURFACE`).filter(e=>!t.allowedPaths||t.allowedPaths.has(e.path)).map(e=>e.path)),s=i.warnings.filter(e=>e.code===`SECRETS_REF_IGNORED_INACTIVE_SURFACE`).filter(e=>!t.allowedPaths||t.allowedPaths.has(e.path)).map(e=>e.message),c=new Set(i.assignments.map(e=>e.path));for(let e of p(n,t.targetIds))t.allowedPaths&&!t.allowedPaths.has(e.path)||await j({target:e,sourceConfig:n,resolvedConfig:r,env:i.env,cache:i.cache,activePaths:c,inactiveRefPaths:o,mode:t.mode,commandName:t.commandName,localResolutionDiagnostics:a});let l=u({sourceConfig:n,resolvedConfig:r,targetIds:t.targetIds,inactiveRefPaths:o,...t.allowedPaths?{allowedPaths:t.allowedPaths}:{}}),h=D({analyzed:l,resolvedState:`resolved_local`});if(t.mode!==`strict`&&l.unresolved.length>0)k(r,l.unresolved);else if(l.unresolved.length>0)throw Error(`${t.commandName}: ${l.unresolved[0]?.path??`target`} is unresolved in the active runtime snapshot.`);return{resolvedConfig:r,diagnostics:v([...t.preflightDiagnostics,...s,...A({diagnostics:l.diagnostics,inactiveRefPaths:o}),...a,...O(t.commandName,l.unresolved,t.mode)]),targetStatesByPath:h,hadUnresolvedTargets:l.unresolved.length>0}}function D(e){let t={};for(let n of e.analyzed.assignments)t[n.path]=e.resolvedState;for(let n of e.analyzed.inactive)t[n.path]=`inactive_surface`;for(let n of e.analyzed.unresolved)t[n.path]=`unresolved`;return t}function O(e,t,n){return n===`strict`?[]:t.map(t=>`${e}: ${t.path} is unavailable in this command path; continuing with degraded read-only config.`)}function k(e,t){for(let n of t)c(e,n.pathSegments,void 0)}function A(e){return e.diagnostics.filter(t=>{let n=t.indexOf(`: secret ref is configured on an inactive surface;`);if(n<=0)return!0;let r=t.slice(0,n).trim();return!e.inactiveRefPaths.has(r)})}async function j(t){let r=t.sourceConfig.secrets?.defaults,{ref:a}=i({value:t.target.value,refValue:t.target.refValue,defaults:r});if(!(!a||t.inactiveRefPaths.has(t.target.path)||!t.activePaths.has(t.target.path)))try{let e=await n(a,{config:t.sourceConfig,env:t.env,cache:t.cache});h({value:e,expected:t.target.entry.expectedResolvedValue,errorMessage:t.target.entry.expectedResolvedValue===`string`?`${t.target.path} resolved to a non-string or empty value.`:`${t.target.path} resolved to an unsupported value type.`}),c(t.resolvedConfig,t.target.pathSegments,e)}catch(n){t.mode!==`strict`&&t.localResolutionDiagnostics.push(`${t.commandName}: failed to resolve ${t.target.path} locally (${e(n)}).`)}}async function M(n){let i=n.mode??`strict`,a=x({config:n.config,targetIds:n.targetIds});if(a.size===0)return{resolvedConfig:n.config,diagnostics:[],targetStatesByPath:{},hadUnresolvedTargets:!1};let l=S({config:n.config,configuredTargetRefPaths:a});if(!l.hasActiveConfiguredRef&&!l.hasUnknownConfiguredRef)return{resolvedConfig:n.config,diagnostics:l.diagnostics,targetStatesByPath:{},hadUnresolvedTargets:!1};let d;try{d=await o({config:n.config,method:`secrets.resolve`,requiredMethods:[`secrets.resolve`],params:{commandName:n.commandName,targetIds:[...n.targetIds]},timeoutMs:3e4,clientName:t.CLI,mode:r.CLI})}catch(t){try{let r=await E({config:n.config,commandName:n.commandName,targetIds:n.targetIds,preflightDiagnostics:l.diagnostics,mode:i}),a=Object.values(r.targetStatesByPath).some(e=>e===`resolved_local`)&&!r.hadUnresolvedTargets?`resolved command secrets locally.`:`attempted local command-secret resolution.`;return{resolvedConfig:r.resolvedConfig,diagnostics:v([...r.diagnostics,`${n.commandName}: gateway secrets.resolve unavailable (${e(t)}); ${a}`]),targetStatesByPath:r.targetStatesByPath,hadUnresolvedTargets:r.hadUnresolvedTargets}}catch{}throw T(t)?Error(`${n.commandName}: active gateway does not support secrets.resolve (${e(t)}). Update the gateway or run without SecretRefs.`,{cause:t}):Error(`${n.commandName}: failed to resolve secrets from the active gateway snapshot (${e(t)}). Start the gateway and retry.`,{cause:t})}let f=C(d),p=structuredClone(n.config);for(let t of f.assignments){let r=t.pathSegments.filter(e=>e.length>0);if(r.length!==0)try{c(p,r,t.value)}catch(t){let i=r.join(`.`);throw Error(`${n.commandName}: failed to apply resolved secret assignment at ${i} (${e(t)}).`,{cause:t})}}let m=f.inactiveRefPaths.length>0?new Set(f.inactiveRefPaths):w(f.diagnostics),h=u({sourceConfig:n.config,resolvedConfig:p,targetIds:n.targetIds,inactiveRefPaths:m}),g=v(f.diagnostics),_=D({analyzed:h,resolvedState:`resolved_gateway`});if(h.unresolved.length>0)try{let e=await E({config:n.config,commandName:n.commandName,targetIds:n.targetIds,preflightDiagnostics:[],mode:i,allowedPaths:new Set(h.unresolved.map(e=>e.path))});for(let t of h.unresolved)e.targetStatesByPath[t.path]===`resolved_local`&&(c(p,t.pathSegments,s(e.resolvedConfig,t.pathSegments)),_[t.path]=`resolved_local`);let t=new Set(Object.entries(e.targetStatesByPath).filter(([,e])=>e===`resolved_local`).map(([e])=>e)),r=h.unresolved.filter(e=>!t.has(e.path));if(r.length>0){if(i===`strict`)throw Error(`${n.commandName}: ${r[0]?.path??`target`} is unresolved in the active runtime snapshot.`);k(p,r),g=v([...g,...e.diagnostics,...O(n.commandName,r,i)]);for(let e of r)_[e.path]=`unresolved`}else t.size>0&&(g=v([...g,`${n.commandName}: resolved ${t.size} secret ${t.size===1?`path`:`paths`} locally after the gateway snapshot was incomplete.`]))}catch(t){if(i===`strict`)throw t;k(p,h.unresolved),g=v([...g,`${n.commandName}: local fallback after incomplete gateway snapshot failed (${e(t)}).`,...O(n.commandName,h.unresolved,i)])}return{resolvedConfig:p,diagnostics:g,targetStatesByPath:_,hadUnresolvedTargets:Object.values(_).includes(`unresolved`)}}function N(e){return l().map(e=>e.id).filter(t=>e.some(e=>t.startsWith(e))).toSorted()}const P={memory:[`agents.defaults.memorySearch.remote.apiKey`,`agents.list[].memorySearch.remote.apiKey`],qrRemote:[`gateway.remote.token`,`gateway.remote.password`],channels:N([`channels.`]),models:N([`models.providers.`]),agentRuntime:N([`channels.`,`models.providers.`,`agents.defaults.memorySearch.remote.`,`agents.list[].memorySearch.remote.`,`skills.entries.`,`messages.tts.`,`tools.web.search`,`tools.web.fetch.firecrawl.`]),status:N([`channels.`,`agents.defaults.memorySearch.remote.`,`agents.list[].memorySearch.remote.`])};function F(e){return new Set(e)}function I(){return F(P.memory)}function L(){return F(P.qrRemote)}function R(){return F(P.channels)}function z(){return F(P.models)}function B(){return F(P.agentRuntime)}function V(){return F(P.status)}export{L as a,z as i,R as n,V as o,I as r,M as s,B as t};
|
|
2
|
-
//# sourceMappingURL=command-secret-targets-CfXtLkLF.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
1
|
import{D as e}from"./utils-UGOV_184.js";import{r as t}from"./plugins-CYLrFT4h.js";function n(e){let n=t(e);return n?n===`discord`||n===`telegram`:!1}function r(e){return a(e)}function i(e){return a(e)}function a(e){let{providerId:t,providerSetting:r,globalSetting:i}=e,a=r===void 0?i:r;return a===!0?!0:a===!1?!1:n(t)}function o(e){let{providerSetting:t,globalSetting:n}=e;return t===!1?!0:t===void 0?n===!1:!1}function s(t,n){let{commands:r}=t??{};if(!(!e(r)||!Object.hasOwn(r,n)))return r[n]}function c(e,t){return s(e,t)===!0}function l(e){return s(e,`restart`)!==!1}export{r as a,i,o as n,l as r,c as t};
|
|
2
|
-
//# sourceMappingURL=commands-CGpM84iR.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
1
|
import{E as e}from"./utils-CGdo13HV.js";import{r as t}from"./plugins-DNlgeTTc.js";function n(e){let n=t(e);return n?n===`discord`||n===`telegram`:!1}function r(e){return a(e)}function i(e){return a(e)}function a(e){let{providerId:t,providerSetting:r,globalSetting:i}=e,a=r===void 0?i:r;return a===!0?!0:a===!1?!1:n(t)}function o(e){let{providerSetting:t,globalSetting:n}=e;return t===!1?!0:t===void 0?n===!1:!1}function s(t,n){let{commands:r}=t??{};if(!(!e(r)||!Object.hasOwn(r,n)))return r[n]}function c(e,t){return s(e,t)===!0}function l(e){return s(e,`restart`)!==!1}export{r as a,i,o as n,l as r,c as t};
|
|
2
|
-
//# sourceMappingURL=commands-Dy7duWlt.js.map
|
|
@@ -8,4 +8,3 @@ import{C as e,o as t}from"./utils-D3t-vPka.js";import{Bo as n,Kn as r,Wn as i,Z
|
|
|
8
8
|
• Audio – Generate TTS from custom text
|
|
9
9
|
• Help – Show usage guide`}}),S({key:`whoami`,nativeName:`whoami`,description:`Show your sender id.`,textAlias:`/whoami`,category:`status`}),S({key:`session`,nativeName:`session`,description:`Manage session-level settings (for example /session idle).`,textAlias:`/session`,category:`session`,args:[{name:`action`,description:`idle | max-age`,type:`string`,choices:[`idle`,`max-age`]},{name:`value`,description:`Duration (24h, 90m) or off`,type:`string`,captureRemaining:!0}],argsMenu:`auto`}),S({key:`subagents`,nativeName:`subagents`,description:`List, kill, log, spawn, or steer subagent runs for this session.`,textAlias:`/subagents`,category:`management`,args:[{name:`action`,description:`list | kill | log | info | send | steer | spawn`,type:`string`,choices:[`list`,`kill`,`log`,`info`,`send`,`steer`,`spawn`]},{name:`target`,description:`Run id, index, or session key`,type:`string`},{name:`value`,description:`Additional input (limit/message)`,type:`string`,captureRemaining:!0}],argsMenu:`auto`}),S({key:`acp`,nativeName:`acp`,description:`Manage ACP sessions and runtime options.`,textAlias:`/acp`,category:`management`,args:[{name:`action`,description:`Action to run`,type:`string`,preferAutocomplete:!0,choices:[`spawn`,`cancel`,`steer`,`close`,`sessions`,`status`,`set-mode`,`set`,`cwd`,`permissions`,`timeout`,`model`,`reset-options`,`doctor`,`install`,`help`]},{name:`value`,description:`Action arguments`,type:`string`,captureRemaining:!0}],argsMenu:`auto`}),S({key:`focus`,nativeName:`focus`,description:`Bind this thread (Discord) or topic/conversation (Telegram) to a session target.`,textAlias:`/focus`,category:`management`,args:[{name:`target`,description:`Subagent label/index or session key/id/label`,type:`string`,captureRemaining:!0}]}),S({key:`unfocus`,nativeName:`unfocus`,description:`Remove the current thread (Discord) or topic/conversation (Telegram) binding.`,textAlias:`/unfocus`,category:`management`}),S({key:`agents`,nativeName:`agents`,description:`List thread-bound agents for this session.`,textAlias:`/agents`,category:`management`}),S({key:`kill`,nativeName:`kill`,description:`Kill a running subagent (or all).`,textAlias:`/kill`,category:`management`,args:[{name:`target`,description:`Label, run id, index, or all`,type:`string`}],argsMenu:`auto`}),S({key:`steer`,nativeName:`steer`,description:`Send guidance to a running subagent.`,textAlias:`/steer`,category:`management`,args:[{name:`target`,description:`Label, run id, or index`,type:`string`},{name:`message`,description:`Steering message`,type:`string`,captureRemaining:!0}]}),S({key:`config`,nativeName:`config`,description:`Show or set config values.`,textAlias:`/config`,category:`management`,args:[{name:`action`,description:`show | get | set | unset`,type:`string`,choices:[`show`,`get`,`set`,`unset`]},{name:`path`,description:`Config path`,type:`string`},{name:`value`,description:`Value for set`,type:`string`,captureRemaining:!0}],argsParsing:`none`,formatArgs:x.config}),S({key:`debug`,nativeName:`debug`,description:`Set runtime debug overrides.`,textAlias:`/debug`,category:`management`,args:[{name:`action`,description:`show | reset | set | unset`,type:`string`,choices:[`show`,`reset`,`set`,`unset`]},{name:`path`,description:`Debug path`,type:`string`},{name:`value`,description:`Value for set`,type:`string`,captureRemaining:!0}],argsParsing:`none`,formatArgs:x.debug}),S({key:`usage`,nativeName:`usage`,description:`Usage footer or cost summary.`,textAlias:`/usage`,category:`options`,args:[{name:`mode`,description:`off, tokens, full, or cost`,type:`string`,choices:[`off`,`tokens`,`full`,`cost`]}],argsMenu:`auto`}),S({key:`stop`,nativeName:`stop`,description:`Stop the current run.`,textAlias:`/stop`,category:`session`}),S({key:`restart`,nativeName:`restart`,description:`Restart OpenClaw.`,textAlias:`/restart`,category:`tools`}),S({key:`activation`,nativeName:`activation`,description:`Set group activation mode.`,textAlias:`/activation`,category:`management`,args:[{name:`mode`,description:`mention or always`,type:`string`,choices:[`mention`,`always`]}],argsMenu:`auto`}),S({key:`send`,nativeName:`send`,description:`Set send policy.`,textAlias:`/send`,category:`management`,args:[{name:`mode`,description:`on, off, or inherit`,type:`string`,choices:[`on`,`off`,`inherit`]}],argsMenu:`auto`}),S({key:`reset`,nativeName:`reset`,description:`Reset the current session.`,textAlias:`/reset`,acceptsArgs:!0,category:`session`}),S({key:`new`,nativeName:`new`,description:`Start a new session.`,textAlias:`/new`,acceptsArgs:!0,category:`session`}),S({key:`compact`,nativeName:`compact`,description:`Compact the session context.`,textAlias:`/compact`,category:`session`,args:[{name:`instructions`,description:`Extra compaction instructions`,type:`string`,captureRemaining:!0}]}),S({key:`think`,nativeName:`think`,description:`Set thinking level.`,textAlias:`/think`,category:`options`,args:[{name:`level`,description:`off, minimal, low, medium, high, xhigh`,type:`string`,choices:({provider:e,model:t})=>a(e,t)}],argsMenu:`auto`}),S({key:`verbose`,nativeName:`verbose`,description:`Toggle verbose mode.`,textAlias:`/verbose`,category:`options`,args:[{name:`mode`,description:`on or off`,type:`string`,choices:[`on`,`off`]}],argsMenu:`auto`}),S({key:`reasoning`,nativeName:`reasoning`,description:`Toggle reasoning visibility.`,textAlias:`/reasoning`,category:`options`,args:[{name:`mode`,description:`on, off, or stream`,type:`string`,choices:[`on`,`off`,`stream`]}],argsMenu:`auto`}),S({key:`elevated`,nativeName:`elevated`,description:`Toggle elevated mode.`,textAlias:`/elevated`,category:`options`,args:[{name:`mode`,description:`on, off, ask, or full`,type:`string`,choices:[`on`,`off`,`ask`,`full`]}],argsMenu:`auto`}),S({key:`exec`,nativeName:`exec`,description:`Set exec defaults for this session.`,textAlias:`/exec`,category:`options`,args:[{name:`host`,description:`sandbox, gateway, or node`,type:`string`,choices:[`sandbox`,`gateway`,`node`]},{name:`security`,description:`deny, allowlist, or full`,type:`string`,choices:[`deny`,`allowlist`,`full`]},{name:`ask`,description:`off, on-miss, or always`,type:`string`,choices:[`off`,`on-miss`,`always`]},{name:`node`,description:`Node id or name`,type:`string`}],argsParsing:`none`,formatArgs:x.exec}),S({key:`model`,nativeName:`model`,description:`Show or set the model.`,textAlias:`/model`,category:`options`,args:[{name:`model`,description:`Model id (provider/model or id)`,type:`string`}]}),S({key:`models`,nativeName:`models`,description:`List model providers or provider models.`,textAlias:`/models`,argsParsing:`none`,acceptsArgs:!0,category:`options`}),S({key:`queue`,nativeName:`queue`,description:`Adjust queue settings.`,textAlias:`/queue`,category:`options`,args:[{name:`mode`,description:`queue mode`,type:`string`,choices:[`steer`,`interrupt`,`followup`,`collect`,`steer-backlog`]},{name:`debounce`,description:`debounce duration (e.g. 500ms, 2s)`,type:`string`},{name:`cap`,description:`queue cap`,type:`number`},{name:`drop`,description:`drop policy`,type:`string`,choices:[`old`,`new`,`summarize`]}],argsParsing:`none`,formatArgs:x.queue}),S({key:`bash`,description:`Run host shell commands (host-only).`,textAlias:`/bash`,scope:`text`,category:`tools`,args:[{name:`command`,description:`Shell command`,type:`string`,captureRemaining:!0}]}),...r().filter(e=>e.capabilities.nativeCommands).map(e=>C(e))];return w(e,`whoami`,`/id`),w(e,`think`,`/thinking`,`/t`),w(e,`verbose`,`/v`),w(e,`reasoning`,`/reason`),w(e,`elevated`,`/elev`),w(e,`steer`,`/tell`),te(e),e}function k(){let e=n();if(T&&e===E)return T;let t=ne();return T=t,E=e,D=null,t}function A(){let e=n();return D&&e===O?D:(D=new Set(r().filter(e=>e.capabilities.nativeCommands).map(e=>e.id)),O=e,D)}let j=null,M=null,N,P=null;function F(){let e=k();if(j&&M===e)return j;let t=new Map;for(let n of e){let e=n.textAliases[0]?.trim()||`/${n.key}`,r=!!n.acceptsArgs;for(let i of n.textAliases){let a=i.trim().toLowerCase();a&&(t.has(a)||t.set(a,{key:n.key,canonical:e,acceptsArgs:r}))}}return j=t,M=e,t}function I(e){return!e||e.length===0?[]:e.map(e=>({key:`skill:${e.skillName}`,nativeName:e.name,description:e.description,textAliases:[`/${e.name}`],acceptsArgs:!0,argsParsing:`none`,scope:`both`}))}function L(e){let t=k();return e?.skillCommands?.length?[...t,...I(e.skillCommands)]:[...t]}function R(e,t){return t===`config`?h(e,`config`):t===`debug`?h(e,`debug`):t===`bash`?h(e,`bash`):!0}function z(e,t){let n=k().filter(t=>R(e,t.key));return t?.skillCommands?.length?[...n,...I(t.skillCommands)]:n}const B={discord:{tts:`voice`},slack:{status:`agentstatus`}};function V(e,t){if(e.nativeName){if(t){let n=B[t]?.[e.key];if(n)return n}return e.nativeName}}function H(e,t){return{name:V(e,t)??e.key,description:e.description,acceptsArgs:!!e.acceptsArgs,args:e.args}}function U(e,t){return e.filter(e=>e.scope!==`text`&&e.nativeName).map(e=>H(e,t))}function W(e){return U(L({skillCommands:e?.skillCommands}),e?.provider)}function G(e,t){return U(z(e,t),t?.provider)}function K(e,t){let n=e.trim().toLowerCase();return k().find(e=>e.scope!==`text`&&V(e,t)?.toLowerCase()===n)}function q(e,t){let n=t?.trim();return n?`/${e} ${n}`:`/${e}`}function J(e,t){let n={},r=t.trim();if(!r)return n;let i=r.split(/\s+/).filter(Boolean),a=0;for(let t of e){if(a>=i.length)break;if(t.captureRemaining){n[t.name]=i.slice(a).join(` `),a=i.length;break}n[t.name]=i[a],a+=1}return n}function Y(e,t){let n=[];for(let r of e){let e=t[r.name];if(e==null)continue;let i;if(i=typeof e==`string`?e.trim():String(e),i&&(n.push(i),r.captureRemaining))break}return n.length>0?n.join(` `):void 0}function X(e,t){let n=t?.trim();if(n)return!e.args||e.argsParsing===`none`?{raw:n}:{raw:n,values:J(e.args,n)}}function Z(e,t){if(!t)return;let n=t.raw?.trim();if(n)return n;if(!(!t.values||!e.args))return e.formatArgs?e.formatArgs(t.values):Y(e.args,t.values)}function re(e,t){return q(e.nativeName??e.key,Z(e,t))}function ie(e){let t=c({cfg:e??{},defaultProvider:s,defaultModel:o});return{provider:t.provider??`anthropic`,model:t.model??`claude-opus-4-6`}}function Q(e){let{command:t,arg:n,cfg:r}=e;if(!n.choices)return[];let i=n.choices;return(Array.isArray(i)?i:(()=>{let a=ie(r);return i({cfg:r,provider:e.provider??a.provider,model:e.model??a.model,command:t,arg:n})})()).map(e=>typeof e==`string`?{value:e,label:e}:e)}function ae(e){let{command:t,args:n,cfg:r}=e;if(!t.args||!t.argsMenu||t.argsParsing===`none`)return null;let i=t.argsMenu,a=i===`auto`?t.args.find(e=>Q({command:t,arg:e,cfg:r}).length>0)?.name:i.arg;if(!a||n?.values&&n.values[a]!=null||n?.raw&&!n.values)return null;let o=t.args.find(e=>e.name===a);if(!o)return null;let s=Q({command:t,arg:o,cfg:r});return s.length===0?null:{arg:o,choices:s,title:i===`auto`?void 0:i.title}}function $(e,t){let n=e.trim();if(!n.startsWith(`/`))return n;let r=n.indexOf(`
|
|
10
10
|
`),i=r===-1?n:n.slice(0,r).trim(),a=i.match(/^\/([^\s:]+)\s*:(.*)$/),o=a?(()=>{let[,e,t]=a,n=t.trimStart();return n?`/${e} ${n}`:`/${e}`})():i,s=t?.botUsername?.trim().toLowerCase(),c=s?o.match(/^\/([^\s@]+)@([^\s]+)(.*)$/):null,l=c&&c[2].toLowerCase()===s?`/${c[1]}${c[3]??``}`:o,u=l.toLowerCase(),d=F(),f=d.get(u);if(f)return f.canonical;let p=l.match(/^\/([^\s]+)(?:\s+([\s\S]+))?$/);if(!p)return l;let[,m,h]=p,g=`/${m.toLowerCase()}`,_=d.get(g);if(!_||h&&!_.acceptsArgs)return l;let v=h?.trimStart();return v?`${_.canonical} ${v}`:_.canonical}function oe(e){let n=k();if(N&&P===n)return N;let r=new Set,i=[];for(let e of n)for(let n of e.textAliases){let a=n.trim().toLowerCase();if(!a)continue;r.add(a);let o=t(a);o&&(e.acceptsArgs?i.push(`${o}(?:\\s+.+|\\s*:\\s*.*)?`):i.push(`${o}(?:\\s*:\\s*)?`))}return N={exact:r,regex:i.length?RegExp(`^(?:${i.join(`|`)})$`,`i`):/$^/},P=n,N}function se(e,t){let n=$(e).trim();if(!n.startsWith(`/`))return null;let r=oe(t),i=n.toLowerCase();if(r.exact.has(i))return i;if(!r.regex.test(i))return null;let a=i.match(/^\/([^\s:]+)(?:\s|$)/);if(!a)return null;let o=`/${a[1]}`;return F().has(o)?o:null}function ce(e){return e?A().has(e.toLowerCase()):!1}function le(e){return e.commandSource===`native`||e.cfg.commands?.text!==!1?!0:!ce(e.surface)}export{g as _,z as a,se as c,Q as d,ae as f,p as g,h,L as i,$ as l,le as m,K as n,W as o,Z as p,R as r,G as s,re as t,X as u,d as v,u as y};
|
|
11
|
-
//# sourceMappingURL=commands-registry-C5Hg7gyk.js.map
|
|
@@ -8,4 +8,3 @@ import{Nn as e,Yc as t,b as n,du as r,fu as i}from"./auth-profiles-C8rZRS0X.js";
|
|
|
8
8
|
• Audio – Generate TTS from custom text
|
|
9
9
|
• Help – Show usage guide`}}),m({key:`whoami`,nativeName:`whoami`,description:`Show your sender id.`,textAlias:`/whoami`,category:`status`}),m({key:`session`,nativeName:`session`,description:`Manage session-level settings (for example /session idle).`,textAlias:`/session`,category:`session`,args:[{name:`action`,description:`idle | max-age`,type:`string`,choices:[`idle`,`max-age`]},{name:`value`,description:`Duration (24h, 90m) or off`,type:`string`,captureRemaining:!0}],argsMenu:`auto`}),m({key:`subagents`,nativeName:`subagents`,description:`List, kill, log, spawn, or steer subagent runs for this session.`,textAlias:`/subagents`,category:`management`,args:[{name:`action`,description:`list | kill | log | info | send | steer | spawn`,type:`string`,choices:[`list`,`kill`,`log`,`info`,`send`,`steer`,`spawn`]},{name:`target`,description:`Run id, index, or session key`,type:`string`},{name:`value`,description:`Additional input (limit/message)`,type:`string`,captureRemaining:!0}],argsMenu:`auto`}),m({key:`acp`,nativeName:`acp`,description:`Manage ACP sessions and runtime options.`,textAlias:`/acp`,category:`management`,args:[{name:`action`,description:`Action to run`,type:`string`,preferAutocomplete:!0,choices:[`spawn`,`cancel`,`steer`,`close`,`sessions`,`status`,`set-mode`,`set`,`cwd`,`permissions`,`timeout`,`model`,`reset-options`,`doctor`,`install`,`help`]},{name:`value`,description:`Action arguments`,type:`string`,captureRemaining:!0}],argsMenu:`auto`}),m({key:`focus`,nativeName:`focus`,description:`Bind this thread (Discord) or topic/conversation (Telegram) to a session target.`,textAlias:`/focus`,category:`management`,args:[{name:`target`,description:`Subagent label/index or session key/id/label`,type:`string`,captureRemaining:!0}]}),m({key:`unfocus`,nativeName:`unfocus`,description:`Remove the current thread (Discord) or topic/conversation (Telegram) binding.`,textAlias:`/unfocus`,category:`management`}),m({key:`agents`,nativeName:`agents`,description:`List thread-bound agents for this session.`,textAlias:`/agents`,category:`management`}),m({key:`kill`,nativeName:`kill`,description:`Kill a running subagent (or all).`,textAlias:`/kill`,category:`management`,args:[{name:`target`,description:`Label, run id, index, or all`,type:`string`}],argsMenu:`auto`}),m({key:`steer`,nativeName:`steer`,description:`Send guidance to a running subagent.`,textAlias:`/steer`,category:`management`,args:[{name:`target`,description:`Label, run id, or index`,type:`string`},{name:`message`,description:`Steering message`,type:`string`,captureRemaining:!0}]}),m({key:`config`,nativeName:`config`,description:`Show or set config values.`,textAlias:`/config`,category:`management`,args:[{name:`action`,description:`show | get | set | unset`,type:`string`,choices:[`show`,`get`,`set`,`unset`]},{name:`path`,description:`Config path`,type:`string`},{name:`value`,description:`Value for set`,type:`string`,captureRemaining:!0}],argsParsing:`none`,formatArgs:p.config}),m({key:`debug`,nativeName:`debug`,description:`Set runtime debug overrides.`,textAlias:`/debug`,category:`management`,args:[{name:`action`,description:`show | reset | set | unset`,type:`string`,choices:[`show`,`reset`,`set`,`unset`]},{name:`path`,description:`Debug path`,type:`string`},{name:`value`,description:`Value for set`,type:`string`,captureRemaining:!0}],argsParsing:`none`,formatArgs:p.debug}),m({key:`usage`,nativeName:`usage`,description:`Usage footer or cost summary.`,textAlias:`/usage`,category:`options`,args:[{name:`mode`,description:`off, tokens, full, or cost`,type:`string`,choices:[`off`,`tokens`,`full`,`cost`]}],argsMenu:`auto`}),m({key:`stop`,nativeName:`stop`,description:`Stop the current run.`,textAlias:`/stop`,category:`session`}),m({key:`restart`,nativeName:`restart`,description:`Restart OpenClaw.`,textAlias:`/restart`,category:`tools`}),m({key:`activation`,nativeName:`activation`,description:`Set group activation mode.`,textAlias:`/activation`,category:`management`,args:[{name:`mode`,description:`mention or always`,type:`string`,choices:[`mention`,`always`]}],argsMenu:`auto`}),m({key:`send`,nativeName:`send`,description:`Set send policy.`,textAlias:`/send`,category:`management`,args:[{name:`mode`,description:`on, off, or inherit`,type:`string`,choices:[`on`,`off`,`inherit`]}],argsMenu:`auto`}),m({key:`reset`,nativeName:`reset`,description:`Reset the current session.`,textAlias:`/reset`,acceptsArgs:!0,category:`session`}),m({key:`new`,nativeName:`new`,description:`Start a new session.`,textAlias:`/new`,acceptsArgs:!0,category:`session`}),m({key:`compact`,nativeName:`compact`,description:`Compact the session context.`,textAlias:`/compact`,category:`session`,args:[{name:`instructions`,description:`Extra compaction instructions`,type:`string`,captureRemaining:!0}]}),m({key:`think`,nativeName:`think`,description:`Set thinking level.`,textAlias:`/think`,category:`options`,args:[{name:`level`,description:`off, minimal, low, medium, high, xhigh`,type:`string`,choices:({provider:e,model:t})=>n(e,t)}],argsMenu:`auto`}),m({key:`verbose`,nativeName:`verbose`,description:`Toggle verbose mode.`,textAlias:`/verbose`,category:`options`,args:[{name:`mode`,description:`on or off`,type:`string`,choices:[`on`,`off`]}],argsMenu:`auto`}),m({key:`reasoning`,nativeName:`reasoning`,description:`Toggle reasoning visibility.`,textAlias:`/reasoning`,category:`options`,args:[{name:`mode`,description:`on, off, or stream`,type:`string`,choices:[`on`,`off`,`stream`]}],argsMenu:`auto`}),m({key:`elevated`,nativeName:`elevated`,description:`Toggle elevated mode.`,textAlias:`/elevated`,category:`options`,args:[{name:`mode`,description:`on, off, ask, or full`,type:`string`,choices:[`on`,`off`,`ask`,`full`]}],argsMenu:`auto`}),m({key:`exec`,nativeName:`exec`,description:`Set exec defaults for this session.`,textAlias:`/exec`,category:`options`,args:[{name:`host`,description:`sandbox, gateway, or node`,type:`string`,choices:[`sandbox`,`gateway`,`node`]},{name:`security`,description:`deny, allowlist, or full`,type:`string`,choices:[`deny`,`allowlist`,`full`]},{name:`ask`,description:`off, on-miss, or always`,type:`string`,choices:[`off`,`on-miss`,`always`]},{name:`node`,description:`Node id or name`,type:`string`}],argsParsing:`none`,formatArgs:p.exec}),m({key:`model`,nativeName:`model`,description:`Show or set the model.`,textAlias:`/model`,category:`options`,args:[{name:`model`,description:`Model id (provider/model or id)`,type:`string`}]}),m({key:`models`,nativeName:`models`,description:`List model providers or provider models.`,textAlias:`/models`,argsParsing:`none`,acceptsArgs:!0,category:`options`}),m({key:`queue`,nativeName:`queue`,description:`Adjust queue settings.`,textAlias:`/queue`,category:`options`,args:[{name:`mode`,description:`queue mode`,type:`string`,choices:[`steer`,`interrupt`,`followup`,`collect`,`steer-backlog`]},{name:`debounce`,description:`debounce duration (e.g. 500ms, 2s)`,type:`string`},{name:`cap`,description:`queue cap`,type:`number`},{name:`drop`,description:`drop policy`,type:`string`,choices:[`old`,`new`,`summarize`]}],argsParsing:`none`,formatArgs:p.queue}),m({key:`bash`,description:`Run host shell commands (host-only).`,textAlias:`/bash`,scope:`text`,category:`tools`,args:[{name:`command`,description:`Shell command`,type:`string`,captureRemaining:!0}]}),...e().filter(e=>e.capabilities.nativeCommands).map(e=>h(e))];return g(t,`whoami`,`/id`),g(t,`think`,`/thinking`,`/t`),g(t,`verbose`,`/v`),g(t,`reasoning`,`/reason`),g(t,`elevated`,`/elev`),g(t,`steer`,`/tell`),_(t),t}function C(){let e=o();if(v&&e===y)return v;let t=S();return v=t,y=e,b=null,t}function w(){let t=o();return b&&t===x?b:(b=new Set(e().filter(e=>e.capabilities.nativeCommands).map(e=>e.id)),x=t,b)}let T=null,E=null,D,O=null;function k(){let e=C();if(T&&E===e)return T;let t=new Map;for(let n of e){let e=n.textAliases[0]?.trim()||`/${n.key}`,r=!!n.acceptsArgs;for(let i of n.textAliases){let a=i.trim().toLowerCase();a&&(t.has(a)||t.set(a,{key:n.key,canonical:e,acceptsArgs:r}))}}return T=t,E=e,t}function A(e){return!e||e.length===0?[]:e.map(e=>({key:`skill:${e.skillName}`,nativeName:e.name,description:e.description,textAliases:[`/${e.name}`],acceptsArgs:!0,argsParsing:`none`,scope:`both`}))}function j(e){let t=C();return e?.skillCommands?.length?[...t,...A(e.skillCommands)]:[...t]}function M(e,t){return t===`config`?s(e,`config`):t===`debug`?s(e,`debug`):t===`bash`?s(e,`bash`):!0}function N(e,t){let n=C().filter(t=>M(e,t.key));return t?.skillCommands?.length?[...n,...A(t.skillCommands)]:n}const P={discord:{tts:`voice`},slack:{status:`agentstatus`}};function F(e,t){if(e.nativeName){if(t){let n=P[t]?.[e.key];if(n)return n}return e.nativeName}}function I(e,t){return{name:F(e,t)??e.key,description:e.description,acceptsArgs:!!e.acceptsArgs,args:e.args}}function L(e,t){return e.filter(e=>e.scope!==`text`&&e.nativeName).map(e=>I(e,t))}function R(e){return L(j({skillCommands:e?.skillCommands}),e?.provider)}function z(e,t){return L(N(e,t),t?.provider)}function B(e,t){let n=e.trim().toLowerCase();return C().find(e=>e.scope!==`text`&&F(e,t)?.toLowerCase()===n)}function V(e,t){let n=t?.trim();return n?`/${e} ${n}`:`/${e}`}function H(e,t){let n={},r=t.trim();if(!r)return n;let i=r.split(/\s+/).filter(Boolean),a=0;for(let t of e){if(a>=i.length)break;if(t.captureRemaining){n[t.name]=i.slice(a).join(` `),a=i.length;break}n[t.name]=i[a],a+=1}return n}function U(e,t){let n=[];for(let r of e){let e=t[r.name];if(e==null)continue;let i;if(i=typeof e==`string`?e.trim():String(e),i&&(n.push(i),r.captureRemaining))break}return n.length>0?n.join(` `):void 0}function W(e,t){let n=t?.trim();if(n)return!e.args||e.argsParsing===`none`?{raw:n}:{raw:n,values:H(e.args,n)}}function G(e,t){if(!t)return;let n=t.raw?.trim();if(n)return n;if(!(!t.values||!e.args))return e.formatArgs?e.formatArgs(t.values):U(e.args,t.values)}function K(e,t){return V(e.nativeName??e.key,G(e,t))}function q(e){let n=t({cfg:e??{},defaultProvider:i,defaultModel:r});return{provider:n.provider??`anthropic`,model:n.model??`claude-opus-4-6`}}function J(e){let{command:t,arg:n,cfg:r}=e;if(!n.choices)return[];let i=n.choices;return(Array.isArray(i)?i:(()=>{let a=q(r);return i({cfg:r,provider:e.provider??a.provider,model:e.model??a.model,command:t,arg:n})})()).map(e=>typeof e==`string`?{value:e,label:e}:e)}function Y(e){let{command:t,args:n,cfg:r}=e;if(!t.args||!t.argsMenu||t.argsParsing===`none`)return null;let i=t.argsMenu,a=i===`auto`?t.args.find(e=>J({command:t,arg:e,cfg:r}).length>0)?.name:i.arg;if(!a||n?.values&&n.values[a]!=null||n?.raw&&!n.values)return null;let o=t.args.find(e=>e.name===a);if(!o)return null;let s=J({command:t,arg:o,cfg:r});return s.length===0?null:{arg:o,choices:s,title:i===`auto`?void 0:i.title}}function X(e,t){let n=e.trim();if(!n.startsWith(`/`))return n;let r=n.indexOf(`
|
|
10
10
|
`),i=r===-1?n:n.slice(0,r).trim(),a=i.match(/^\/([^\s:]+)\s*:(.*)$/),o=a?(()=>{let[,e,t]=a,n=t.trimStart();return n?`/${e} ${n}`:`/${e}`})():i,s=t?.botUsername?.trim().toLowerCase(),c=s?o.match(/^\/([^\s@]+)@([^\s]+)(.*)$/):null,l=c&&c[2].toLowerCase()===s?`/${c[1]}${c[3]??``}`:o,u=l.toLowerCase(),d=k(),f=d.get(u);if(f)return f.canonical;let p=l.match(/^\/([^\s]+)(?:\s+([\s\S]+))?$/);if(!p)return l;let[,m,h]=p,g=`/${m.toLowerCase()}`,_=d.get(g);if(!_||h&&!_.acceptsArgs)return l;let v=h?.trimStart();return v?`${_.canonical} ${v}`:_.canonical}function Z(e){let t=C();if(D&&O===t)return D;let n=new Set,r=[];for(let e of t)for(let t of e.textAliases){let i=t.trim().toLowerCase();if(!i)continue;n.add(i);let o=a(i);o&&(e.acceptsArgs?r.push(`${o}(?:\\s+.+|\\s*:\\s*.*)?`):r.push(`${o}(?:\\s*:\\s*)?`))}return D={exact:n,regex:r.length?RegExp(`^(?:${r.join(`|`)})$`,`i`):/$^/},O=t,D}function Q(e,t){let n=X(e).trim();if(!n.startsWith(`/`))return null;let r=Z(t),i=n.toLowerCase();if(r.exact.has(i))return i;if(!r.regex.test(i))return null;let a=i.match(/^\/([^\s:]+)(?:\s|$)/);if(!a)return null;let o=`/${a[1]}`;return k().has(o)?o:null}function $(e){return e?w().has(e.toLowerCase()):!1}function ee(e){return e.commandSource===`native`||e.cfg.commands?.text!==!1?!0:!$(e.surface)}export{N as a,Q as c,J as d,Y as f,j as i,X as l,ee as m,B as n,R as o,G as p,M as r,z as s,K as t,W as u};
|
|
11
|
-
//# sourceMappingURL=commands-registry-DT6FDUev.js.map
|
|
@@ -8,4 +8,3 @@ import{l as e}from"./utils-UGOV_184.js";import{Gr as t,_u as n,fu as r,h as i,pu
|
|
|
8
8
|
• Audio – Generate TTS from custom text
|
|
9
9
|
• Help – Show usage guide`}}),m({key:`whoami`,nativeName:`whoami`,description:`Show your sender id.`,textAlias:`/whoami`,category:`status`}),m({key:`session`,nativeName:`session`,description:`Manage session-level settings (for example /session idle).`,textAlias:`/session`,category:`session`,args:[{name:`action`,description:`idle | max-age`,type:`string`,choices:[`idle`,`max-age`]},{name:`value`,description:`Duration (24h, 90m) or off`,type:`string`,captureRemaining:!0}],argsMenu:`auto`}),m({key:`subagents`,nativeName:`subagents`,description:`List, kill, log, spawn, or steer subagent runs for this session.`,textAlias:`/subagents`,category:`management`,args:[{name:`action`,description:`list | kill | log | info | send | steer | spawn`,type:`string`,choices:[`list`,`kill`,`log`,`info`,`send`,`steer`,`spawn`]},{name:`target`,description:`Run id, index, or session key`,type:`string`},{name:`value`,description:`Additional input (limit/message)`,type:`string`,captureRemaining:!0}],argsMenu:`auto`}),m({key:`acp`,nativeName:`acp`,description:`Manage ACP sessions and runtime options.`,textAlias:`/acp`,category:`management`,args:[{name:`action`,description:`Action to run`,type:`string`,preferAutocomplete:!0,choices:[`spawn`,`cancel`,`steer`,`close`,`sessions`,`status`,`set-mode`,`set`,`cwd`,`permissions`,`timeout`,`model`,`reset-options`,`doctor`,`install`,`help`]},{name:`value`,description:`Action arguments`,type:`string`,captureRemaining:!0}],argsMenu:`auto`}),m({key:`focus`,nativeName:`focus`,description:`Bind this thread (Discord) or topic/conversation (Telegram) to a session target.`,textAlias:`/focus`,category:`management`,args:[{name:`target`,description:`Subagent label/index or session key/id/label`,type:`string`,captureRemaining:!0}]}),m({key:`unfocus`,nativeName:`unfocus`,description:`Remove the current thread (Discord) or topic/conversation (Telegram) binding.`,textAlias:`/unfocus`,category:`management`}),m({key:`agents`,nativeName:`agents`,description:`List thread-bound agents for this session.`,textAlias:`/agents`,category:`management`}),m({key:`kill`,nativeName:`kill`,description:`Kill a running subagent (or all).`,textAlias:`/kill`,category:`management`,args:[{name:`target`,description:`Label, run id, index, or all`,type:`string`}],argsMenu:`auto`}),m({key:`steer`,nativeName:`steer`,description:`Send guidance to a running subagent.`,textAlias:`/steer`,category:`management`,args:[{name:`target`,description:`Label, run id, or index`,type:`string`},{name:`message`,description:`Steering message`,type:`string`,captureRemaining:!0}]}),m({key:`config`,nativeName:`config`,description:`Show or set config values.`,textAlias:`/config`,category:`management`,args:[{name:`action`,description:`show | get | set | unset`,type:`string`,choices:[`show`,`get`,`set`,`unset`]},{name:`path`,description:`Config path`,type:`string`},{name:`value`,description:`Value for set`,type:`string`,captureRemaining:!0}],argsParsing:`none`,formatArgs:p.config}),m({key:`debug`,nativeName:`debug`,description:`Set runtime debug overrides.`,textAlias:`/debug`,category:`management`,args:[{name:`action`,description:`show | reset | set | unset`,type:`string`,choices:[`show`,`reset`,`set`,`unset`]},{name:`path`,description:`Debug path`,type:`string`},{name:`value`,description:`Value for set`,type:`string`,captureRemaining:!0}],argsParsing:`none`,formatArgs:p.debug}),m({key:`usage`,nativeName:`usage`,description:`Usage footer or cost summary.`,textAlias:`/usage`,category:`options`,args:[{name:`mode`,description:`off, tokens, full, or cost`,type:`string`,choices:[`off`,`tokens`,`full`,`cost`]}],argsMenu:`auto`}),m({key:`stop`,nativeName:`stop`,description:`Stop the current run.`,textAlias:`/stop`,category:`session`}),m({key:`restart`,nativeName:`restart`,description:`Restart OpenClaw.`,textAlias:`/restart`,category:`tools`}),m({key:`activation`,nativeName:`activation`,description:`Set group activation mode.`,textAlias:`/activation`,category:`management`,args:[{name:`mode`,description:`mention or always`,type:`string`,choices:[`mention`,`always`]}],argsMenu:`auto`}),m({key:`send`,nativeName:`send`,description:`Set send policy.`,textAlias:`/send`,category:`management`,args:[{name:`mode`,description:`on, off, or inherit`,type:`string`,choices:[`on`,`off`,`inherit`]}],argsMenu:`auto`}),m({key:`reset`,nativeName:`reset`,description:`Reset the current session.`,textAlias:`/reset`,acceptsArgs:!0,category:`session`}),m({key:`new`,nativeName:`new`,description:`Start a new session.`,textAlias:`/new`,acceptsArgs:!0,category:`session`}),m({key:`compact`,nativeName:`compact`,description:`Compact the session context.`,textAlias:`/compact`,category:`session`,args:[{name:`instructions`,description:`Extra compaction instructions`,type:`string`,captureRemaining:!0}]}),m({key:`think`,nativeName:`think`,description:`Set thinking level.`,textAlias:`/think`,category:`options`,args:[{name:`level`,description:`off, minimal, low, medium, high, xhigh`,type:`string`,choices:({provider:e,model:t})=>n(e,t)}],argsMenu:`auto`}),m({key:`verbose`,nativeName:`verbose`,description:`Toggle verbose mode.`,textAlias:`/verbose`,category:`options`,args:[{name:`mode`,description:`on or off`,type:`string`,choices:[`on`,`off`]}],argsMenu:`auto`}),m({key:`reasoning`,nativeName:`reasoning`,description:`Toggle reasoning visibility.`,textAlias:`/reasoning`,category:`options`,args:[{name:`mode`,description:`on, off, or stream`,type:`string`,choices:[`on`,`off`,`stream`]}],argsMenu:`auto`}),m({key:`elevated`,nativeName:`elevated`,description:`Toggle elevated mode.`,textAlias:`/elevated`,category:`options`,args:[{name:`mode`,description:`on, off, ask, or full`,type:`string`,choices:[`on`,`off`,`ask`,`full`]}],argsMenu:`auto`}),m({key:`exec`,nativeName:`exec`,description:`Set exec defaults for this session.`,textAlias:`/exec`,category:`options`,args:[{name:`host`,description:`sandbox, gateway, or node`,type:`string`,choices:[`sandbox`,`gateway`,`node`]},{name:`security`,description:`deny, allowlist, or full`,type:`string`,choices:[`deny`,`allowlist`,`full`]},{name:`ask`,description:`off, on-miss, or always`,type:`string`,choices:[`off`,`on-miss`,`always`]},{name:`node`,description:`Node id or name`,type:`string`}],argsParsing:`none`,formatArgs:p.exec}),m({key:`model`,nativeName:`model`,description:`Show or set the model.`,textAlias:`/model`,category:`options`,args:[{name:`model`,description:`Model id (provider/model or id)`,type:`string`}]}),m({key:`models`,nativeName:`models`,description:`List model providers or provider models.`,textAlias:`/models`,argsParsing:`none`,acceptsArgs:!0,category:`options`}),m({key:`queue`,nativeName:`queue`,description:`Adjust queue settings.`,textAlias:`/queue`,category:`options`,args:[{name:`mode`,description:`queue mode`,type:`string`,choices:[`steer`,`interrupt`,`followup`,`collect`,`steer-backlog`]},{name:`debounce`,description:`debounce duration (e.g. 500ms, 2s)`,type:`string`},{name:`cap`,description:`queue cap`,type:`number`},{name:`drop`,description:`drop policy`,type:`string`,choices:[`old`,`new`,`summarize`]}],argsParsing:`none`,formatArgs:p.queue}),m({key:`bash`,description:`Run host shell commands (host-only).`,textAlias:`/bash`,scope:`text`,category:`tools`,args:[{name:`command`,description:`Shell command`,type:`string`,captureRemaining:!0}]}),...t().filter(e=>e.capabilities.nativeCommands).map(e=>h(e))];return g(e,`whoami`,`/id`),g(e,`think`,`/thinking`,`/t`),g(e,`verbose`,`/v`),g(e,`reasoning`,`/reason`),g(e,`elevated`,`/elev`),g(e,`steer`,`/tell`),_(e),e}function C(){let e=o();if(v&&e===y)return v;let t=S();return v=t,y=e,b=null,t}function w(){let e=o();return b&&e===x?b:(b=new Set(t().filter(e=>e.capabilities.nativeCommands).map(e=>e.id)),x=e,b)}let T=null,E=null,D,O=null;function k(){let e=C();if(T&&E===e)return T;let t=new Map;for(let n of e){let e=n.textAliases[0]?.trim()||`/${n.key}`,r=!!n.acceptsArgs;for(let i of n.textAliases){let a=i.trim().toLowerCase();a&&(t.has(a)||t.set(a,{key:n.key,canonical:e,acceptsArgs:r}))}}return T=t,E=e,t}function A(e){return!e||e.length===0?[]:e.map(e=>({key:`skill:${e.skillName}`,nativeName:e.name,description:e.description,textAliases:[`/${e.name}`],acceptsArgs:!0,argsParsing:`none`,scope:`both`}))}function j(e){let t=C();return e?.skillCommands?.length?[...t,...A(e.skillCommands)]:[...t]}function M(e,t){return t===`config`?s(e,`config`):t===`debug`?s(e,`debug`):t===`bash`?s(e,`bash`):!0}function N(e,t){let n=C().filter(t=>M(e,t.key));return t?.skillCommands?.length?[...n,...A(t.skillCommands)]:n}const P={discord:{tts:`voice`},slack:{status:`agentstatus`}};function F(e,t){if(e.nativeName){if(t){let n=P[t]?.[e.key];if(n)return n}return e.nativeName}}function I(e,t){return{name:F(e,t)??e.key,description:e.description,acceptsArgs:!!e.acceptsArgs,args:e.args}}function L(e,t){return e.filter(e=>e.scope!==`text`&&e.nativeName).map(e=>I(e,t))}function R(e){return L(j({skillCommands:e?.skillCommands}),e?.provider)}function z(e,t){return L(N(e,t),t?.provider)}function B(e,t){let n=e.trim().toLowerCase();return C().find(e=>e.scope!==`text`&&F(e,t)?.toLowerCase()===n)}function V(e,t){let n=t?.trim();return n?`/${e} ${n}`:`/${e}`}function H(e,t){let n={},r=t.trim();if(!r)return n;let i=r.split(/\s+/).filter(Boolean),a=0;for(let t of e){if(a>=i.length)break;if(t.captureRemaining){n[t.name]=i.slice(a).join(` `),a=i.length;break}n[t.name]=i[a],a+=1}return n}function U(e,t){let n=[];for(let r of e){let e=t[r.name];if(e==null)continue;let i;if(i=typeof e==`string`?e.trim():String(e),i&&(n.push(i),r.captureRemaining))break}return n.length>0?n.join(` `):void 0}function W(e,t){let n=t?.trim();if(n)return!e.args||e.argsParsing===`none`?{raw:n}:{raw:n,values:H(e.args,n)}}function G(e,t){if(!t)return;let n=t.raw?.trim();if(n)return n;if(!(!t.values||!e.args))return e.formatArgs?e.formatArgs(t.values):U(e.args,t.values)}function K(e,t){return V(e.nativeName??e.key,G(e,t))}function q(e){let t=i({cfg:e??{},defaultProvider:a,defaultModel:r});return{provider:t.provider??`anthropic`,model:t.model??`claude-opus-4-6`}}function J(e){let{command:t,arg:n,cfg:r}=e;if(!n.choices)return[];let i=n.choices;return(Array.isArray(i)?i:(()=>{let a=q(r);return i({cfg:r,provider:e.provider??a.provider,model:e.model??a.model,command:t,arg:n})})()).map(e=>typeof e==`string`?{value:e,label:e}:e)}function Y(e){let{command:t,args:n,cfg:r}=e;if(!t.args||!t.argsMenu||t.argsParsing===`none`)return null;let i=t.argsMenu,a=i===`auto`?t.args.find(e=>J({command:t,arg:e,cfg:r}).length>0)?.name:i.arg;if(!a||n?.values&&n.values[a]!=null||n?.raw&&!n.values)return null;let o=t.args.find(e=>e.name===a);if(!o)return null;let s=J({command:t,arg:o,cfg:r});return s.length===0?null:{arg:o,choices:s,title:i===`auto`?void 0:i.title}}function X(e,t){let n=e.trim();if(!n.startsWith(`/`))return n;let r=n.indexOf(`
|
|
10
10
|
`),i=r===-1?n:n.slice(0,r).trim(),a=i.match(/^\/([^\s:]+)\s*:(.*)$/),o=a?(()=>{let[,e,t]=a,n=t.trimStart();return n?`/${e} ${n}`:`/${e}`})():i,s=t?.botUsername?.trim().toLowerCase(),c=s?o.match(/^\/([^\s@]+)@([^\s]+)(.*)$/):null,l=c&&c[2].toLowerCase()===s?`/${c[1]}${c[3]??``}`:o,u=l.toLowerCase(),d=k(),f=d.get(u);if(f)return f.canonical;let p=l.match(/^\/([^\s]+)(?:\s+([\s\S]+))?$/);if(!p)return l;let[,m,h]=p,g=`/${m.toLowerCase()}`,_=d.get(g);if(!_||h&&!_.acceptsArgs)return l;let v=h?.trimStart();return v?`${_.canonical} ${v}`:_.canonical}function Z(t){let n=C();if(D&&O===n)return D;let r=new Set,i=[];for(let t of n)for(let n of t.textAliases){let a=n.trim().toLowerCase();if(!a)continue;r.add(a);let o=e(a);o&&(t.acceptsArgs?i.push(`${o}(?:\\s+.+|\\s*:\\s*.*)?`):i.push(`${o}(?:\\s*:\\s*)?`))}return D={exact:r,regex:i.length?RegExp(`^(?:${i.join(`|`)})$`,`i`):/$^/},O=n,D}function Q(e,t){let n=X(e).trim();if(!n.startsWith(`/`))return null;let r=Z(t),i=n.toLowerCase();if(r.exact.has(i))return i;if(!r.regex.test(i))return null;let a=i.match(/^\/([^\s:]+)(?:\s|$)/);if(!a)return null;let o=`/${a[1]}`;return k().has(o)?o:null}function $(e){return e?w().has(e.toLowerCase()):!1}function ee(e){return e.commandSource===`native`||e.cfg.commands?.text!==!1?!0:!$(e.surface)}export{N as a,Q as c,J as d,Y as f,j as i,X as l,ee as m,B as n,R as o,G as p,M as r,z as s,K as t,W as u};
|
|
11
|
-
//# sourceMappingURL=commands-registry-DlvNUkXz.js.map
|
|
@@ -8,4 +8,3 @@ import{D as e,u as t}from"./logger-DwWqfo66.js";import{Kn as n,Vo as r,Wn as i,X
|
|
|
8
8
|
• Audio – Generate TTS from custom text
|
|
9
9
|
• Help – Show usage guide`}}),S({key:`whoami`,nativeName:`whoami`,description:`Show your sender id.`,textAlias:`/whoami`,category:`status`}),S({key:`session`,nativeName:`session`,description:`Manage session-level settings (for example /session idle).`,textAlias:`/session`,category:`session`,args:[{name:`action`,description:`idle | max-age`,type:`string`,choices:[`idle`,`max-age`]},{name:`value`,description:`Duration (24h, 90m) or off`,type:`string`,captureRemaining:!0}],argsMenu:`auto`}),S({key:`subagents`,nativeName:`subagents`,description:`List, kill, log, spawn, or steer subagent runs for this session.`,textAlias:`/subagents`,category:`management`,args:[{name:`action`,description:`list | kill | log | info | send | steer | spawn`,type:`string`,choices:[`list`,`kill`,`log`,`info`,`send`,`steer`,`spawn`]},{name:`target`,description:`Run id, index, or session key`,type:`string`},{name:`value`,description:`Additional input (limit/message)`,type:`string`,captureRemaining:!0}],argsMenu:`auto`}),S({key:`acp`,nativeName:`acp`,description:`Manage ACP sessions and runtime options.`,textAlias:`/acp`,category:`management`,args:[{name:`action`,description:`Action to run`,type:`string`,preferAutocomplete:!0,choices:[`spawn`,`cancel`,`steer`,`close`,`sessions`,`status`,`set-mode`,`set`,`cwd`,`permissions`,`timeout`,`model`,`reset-options`,`doctor`,`install`,`help`]},{name:`value`,description:`Action arguments`,type:`string`,captureRemaining:!0}],argsMenu:`auto`}),S({key:`focus`,nativeName:`focus`,description:`Bind this thread (Discord) or topic/conversation (Telegram) to a session target.`,textAlias:`/focus`,category:`management`,args:[{name:`target`,description:`Subagent label/index or session key/id/label`,type:`string`,captureRemaining:!0}]}),S({key:`unfocus`,nativeName:`unfocus`,description:`Remove the current thread (Discord) or topic/conversation (Telegram) binding.`,textAlias:`/unfocus`,category:`management`}),S({key:`agents`,nativeName:`agents`,description:`List thread-bound agents for this session.`,textAlias:`/agents`,category:`management`}),S({key:`kill`,nativeName:`kill`,description:`Kill a running subagent (or all).`,textAlias:`/kill`,category:`management`,args:[{name:`target`,description:`Label, run id, index, or all`,type:`string`}],argsMenu:`auto`}),S({key:`steer`,nativeName:`steer`,description:`Send guidance to a running subagent.`,textAlias:`/steer`,category:`management`,args:[{name:`target`,description:`Label, run id, or index`,type:`string`},{name:`message`,description:`Steering message`,type:`string`,captureRemaining:!0}]}),S({key:`config`,nativeName:`config`,description:`Show or set config values.`,textAlias:`/config`,category:`management`,args:[{name:`action`,description:`show | get | set | unset`,type:`string`,choices:[`show`,`get`,`set`,`unset`]},{name:`path`,description:`Config path`,type:`string`},{name:`value`,description:`Value for set`,type:`string`,captureRemaining:!0}],argsParsing:`none`,formatArgs:x.config}),S({key:`debug`,nativeName:`debug`,description:`Set runtime debug overrides.`,textAlias:`/debug`,category:`management`,args:[{name:`action`,description:`show | reset | set | unset`,type:`string`,choices:[`show`,`reset`,`set`,`unset`]},{name:`path`,description:`Debug path`,type:`string`},{name:`value`,description:`Value for set`,type:`string`,captureRemaining:!0}],argsParsing:`none`,formatArgs:x.debug}),S({key:`usage`,nativeName:`usage`,description:`Usage footer or cost summary.`,textAlias:`/usage`,category:`options`,args:[{name:`mode`,description:`off, tokens, full, or cost`,type:`string`,choices:[`off`,`tokens`,`full`,`cost`]}],argsMenu:`auto`}),S({key:`stop`,nativeName:`stop`,description:`Stop the current run.`,textAlias:`/stop`,category:`session`}),S({key:`restart`,nativeName:`restart`,description:`Restart OpenClaw.`,textAlias:`/restart`,category:`tools`}),S({key:`activation`,nativeName:`activation`,description:`Set group activation mode.`,textAlias:`/activation`,category:`management`,args:[{name:`mode`,description:`mention or always`,type:`string`,choices:[`mention`,`always`]}],argsMenu:`auto`}),S({key:`send`,nativeName:`send`,description:`Set send policy.`,textAlias:`/send`,category:`management`,args:[{name:`mode`,description:`on, off, or inherit`,type:`string`,choices:[`on`,`off`,`inherit`]}],argsMenu:`auto`}),S({key:`reset`,nativeName:`reset`,description:`Reset the current session.`,textAlias:`/reset`,acceptsArgs:!0,category:`session`}),S({key:`new`,nativeName:`new`,description:`Start a new session.`,textAlias:`/new`,acceptsArgs:!0,category:`session`}),S({key:`compact`,nativeName:`compact`,description:`Compact the session context.`,textAlias:`/compact`,category:`session`,args:[{name:`instructions`,description:`Extra compaction instructions`,type:`string`,captureRemaining:!0}]}),S({key:`think`,nativeName:`think`,description:`Set thinking level.`,textAlias:`/think`,category:`options`,args:[{name:`level`,description:`off, minimal, low, medium, high, xhigh`,type:`string`,choices:({provider:e,model:t})=>a(e,t)}],argsMenu:`auto`}),S({key:`verbose`,nativeName:`verbose`,description:`Toggle verbose mode.`,textAlias:`/verbose`,category:`options`,args:[{name:`mode`,description:`on or off`,type:`string`,choices:[`on`,`off`]}],argsMenu:`auto`}),S({key:`reasoning`,nativeName:`reasoning`,description:`Toggle reasoning visibility.`,textAlias:`/reasoning`,category:`options`,args:[{name:`mode`,description:`on, off, or stream`,type:`string`,choices:[`on`,`off`,`stream`]}],argsMenu:`auto`}),S({key:`elevated`,nativeName:`elevated`,description:`Toggle elevated mode.`,textAlias:`/elevated`,category:`options`,args:[{name:`mode`,description:`on, off, ask, or full`,type:`string`,choices:[`on`,`off`,`ask`,`full`]}],argsMenu:`auto`}),S({key:`exec`,nativeName:`exec`,description:`Set exec defaults for this session.`,textAlias:`/exec`,category:`options`,args:[{name:`host`,description:`sandbox, gateway, or node`,type:`string`,choices:[`sandbox`,`gateway`,`node`]},{name:`security`,description:`deny, allowlist, or full`,type:`string`,choices:[`deny`,`allowlist`,`full`]},{name:`ask`,description:`off, on-miss, or always`,type:`string`,choices:[`off`,`on-miss`,`always`]},{name:`node`,description:`Node id or name`,type:`string`}],argsParsing:`none`,formatArgs:x.exec}),S({key:`model`,nativeName:`model`,description:`Show or set the model.`,textAlias:`/model`,category:`options`,args:[{name:`model`,description:`Model id (provider/model or id)`,type:`string`}]}),S({key:`models`,nativeName:`models`,description:`List model providers or provider models.`,textAlias:`/models`,argsParsing:`none`,acceptsArgs:!0,category:`options`}),S({key:`queue`,nativeName:`queue`,description:`Adjust queue settings.`,textAlias:`/queue`,category:`options`,args:[{name:`mode`,description:`queue mode`,type:`string`,choices:[`steer`,`interrupt`,`followup`,`collect`,`steer-backlog`]},{name:`debounce`,description:`debounce duration (e.g. 500ms, 2s)`,type:`string`},{name:`cap`,description:`queue cap`,type:`number`},{name:`drop`,description:`drop policy`,type:`string`,choices:[`old`,`new`,`summarize`]}],argsParsing:`none`,formatArgs:x.queue}),S({key:`bash`,description:`Run host shell commands (host-only).`,textAlias:`/bash`,scope:`text`,category:`tools`,args:[{name:`command`,description:`Shell command`,type:`string`,captureRemaining:!0}]}),...n().filter(e=>e.capabilities.nativeCommands).map(e=>C(e))];return w(e,`whoami`,`/id`),w(e,`think`,`/thinking`,`/t`),w(e,`verbose`,`/v`),w(e,`reasoning`,`/reason`),w(e,`elevated`,`/elev`),w(e,`steer`,`/tell`),te(e),e}function k(){let e=r();if(T&&e===E)return T;let t=ne();return T=t,E=e,D=null,t}function A(){let e=r();return D&&e===O?D:(D=new Set(n().filter(e=>e.capabilities.nativeCommands).map(e=>e.id)),O=e,D)}let j=null,M=null,N,P=null;function F(){let e=k();if(j&&M===e)return j;let t=new Map;for(let n of e){let e=n.textAliases[0]?.trim()||`/${n.key}`,r=!!n.acceptsArgs;for(let i of n.textAliases){let a=i.trim().toLowerCase();a&&(t.has(a)||t.set(a,{key:n.key,canonical:e,acceptsArgs:r}))}}return j=t,M=e,t}function I(e){return!e||e.length===0?[]:e.map(e=>({key:`skill:${e.skillName}`,nativeName:e.name,description:e.description,textAliases:[`/${e.name}`],acceptsArgs:!0,argsParsing:`none`,scope:`both`}))}function L(e){let t=k();return e?.skillCommands?.length?[...t,...I(e.skillCommands)]:[...t]}function R(e,t){return t===`config`?h(e,`config`):t===`debug`?h(e,`debug`):t===`bash`?h(e,`bash`):!0}function z(e,t){let n=k().filter(t=>R(e,t.key));return t?.skillCommands?.length?[...n,...I(t.skillCommands)]:n}const B={discord:{tts:`voice`},slack:{status:`agentstatus`}};function V(e,t){if(e.nativeName){if(t){let n=B[t]?.[e.key];if(n)return n}return e.nativeName}}function H(e,t){return{name:V(e,t)??e.key,description:e.description,acceptsArgs:!!e.acceptsArgs,args:e.args}}function U(e,t){return e.filter(e=>e.scope!==`text`&&e.nativeName).map(e=>H(e,t))}function W(e){return U(L({skillCommands:e?.skillCommands}),e?.provider)}function G(e,t){return U(z(e,t),t?.provider)}function K(e,t){let n=e.trim().toLowerCase();return k().find(e=>e.scope!==`text`&&V(e,t)?.toLowerCase()===n)}function q(e,t){let n=t?.trim();return n?`/${e} ${n}`:`/${e}`}function J(e,t){let n={},r=t.trim();if(!r)return n;let i=r.split(/\s+/).filter(Boolean),a=0;for(let t of e){if(a>=i.length)break;if(t.captureRemaining){n[t.name]=i.slice(a).join(` `),a=i.length;break}n[t.name]=i[a],a+=1}return n}function Y(e,t){let n=[];for(let r of e){let e=t[r.name];if(e==null)continue;let i;if(i=typeof e==`string`?e.trim():String(e),i&&(n.push(i),r.captureRemaining))break}return n.length>0?n.join(` `):void 0}function X(e,t){let n=t?.trim();if(n)return!e.args||e.argsParsing===`none`?{raw:n}:{raw:n,values:J(e.args,n)}}function Z(e,t){if(!t)return;let n=t.raw?.trim();if(n)return n;if(!(!t.values||!e.args))return e.formatArgs?e.formatArgs(t.values):Y(e.args,t.values)}function re(e,t){return q(e.nativeName??e.key,Z(e,t))}function ie(e){let t=s({cfg:e??{},defaultProvider:c,defaultModel:o});return{provider:t.provider??`anthropic`,model:t.model??`claude-opus-4-6`}}function Q(e){let{command:t,arg:n,cfg:r}=e;if(!n.choices)return[];let i=n.choices;return(Array.isArray(i)?i:(()=>{let a=ie(r);return i({cfg:r,provider:e.provider??a.provider,model:e.model??a.model,command:t,arg:n})})()).map(e=>typeof e==`string`?{value:e,label:e}:e)}function ae(e){let{command:t,args:n,cfg:r}=e;if(!t.args||!t.argsMenu||t.argsParsing===`none`)return null;let i=t.argsMenu,a=i===`auto`?t.args.find(e=>Q({command:t,arg:e,cfg:r}).length>0)?.name:i.arg;if(!a||n?.values&&n.values[a]!=null||n?.raw&&!n.values)return null;let o=t.args.find(e=>e.name===a);if(!o)return null;let s=Q({command:t,arg:o,cfg:r});return s.length===0?null:{arg:o,choices:s,title:i===`auto`?void 0:i.title}}function $(e,t){let n=e.trim();if(!n.startsWith(`/`))return n;let r=n.indexOf(`
|
|
10
10
|
`),i=r===-1?n:n.slice(0,r).trim(),a=i.match(/^\/([^\s:]+)\s*:(.*)$/),o=a?(()=>{let[,e,t]=a,n=t.trimStart();return n?`/${e} ${n}`:`/${e}`})():i,s=t?.botUsername?.trim().toLowerCase(),c=s?o.match(/^\/([^\s@]+)@([^\s]+)(.*)$/):null,l=c&&c[2].toLowerCase()===s?`/${c[1]}${c[3]??``}`:o,u=l.toLowerCase(),d=F(),f=d.get(u);if(f)return f.canonical;let p=l.match(/^\/([^\s]+)(?:\s+([\s\S]+))?$/);if(!p)return l;let[,m,h]=p,g=`/${m.toLowerCase()}`,_=d.get(g);if(!_||h&&!_.acceptsArgs)return l;let v=h?.trimStart();return v?`${_.canonical} ${v}`:_.canonical}function oe(e){let n=k();if(N&&P===n)return N;let r=new Set,i=[];for(let e of n)for(let n of e.textAliases){let a=n.trim().toLowerCase();if(!a)continue;r.add(a);let o=t(a);o&&(e.acceptsArgs?i.push(`${o}(?:\\s+.+|\\s*:\\s*.*)?`):i.push(`${o}(?:\\s*:\\s*)?`))}return N={exact:r,regex:i.length?RegExp(`^(?:${i.join(`|`)})$`,`i`):/$^/},P=n,N}function se(e,t){let n=$(e).trim();if(!n.startsWith(`/`))return null;let r=oe(t),i=n.toLowerCase();if(r.exact.has(i))return i;if(!r.regex.test(i))return null;let a=i.match(/^\/([^\s:]+)(?:\s|$)/);if(!a)return null;let o=`/${a[1]}`;return F().has(o)?o:null}function ce(e){return e?A().has(e.toLowerCase()):!1}function le(e){return e.commandSource===`native`||e.cfg.commands?.text!==!1?!0:!ce(e.surface)}export{g as _,z as a,se as c,Q as d,ae as f,p as g,h,L as i,$ as l,le as m,K as n,W as o,Z as p,R as r,G as s,re as t,X as u,d as v,u as y};
|
|
11
|
-
//# sourceMappingURL=commands-registry-gvMK7Pw9.js.map
|
package/dist/compact-CYbPi7_-.js
CHANGED
|
@@ -547,4 +547,3 @@ Process still running.`)}],details:{status:o,sessionId:s.sessionId,exitCode:r?i:
|
|
|
547
547
|
`)&&!e.content.startsWith(`
|
|
548
548
|
`)?`
|
|
549
549
|
`:``}${e.content}`;if(e.sandbox){let t=Z.posix.dirname(e.relativePath);t&&t!==`.`&&await e.sandbox.bridge.mkdirp({filePath:t,cwd:e.sandbox.root,signal:e.signal}),await e.sandbox.bridge.writeFile({filePath:e.relativePath,cwd:e.sandbox.root,data:n,mkdir:!0,signal:e.signal});return}await ap.mkdir(Z.dirname(e.absolutePath),{recursive:!0}),await ap.writeFile(e.absolutePath,n,`utf-8`)}function ENe(e,t){let n=Z.resolve(t.root,t.relativePath);return{...e,description:`${e.description} During memory flush, this tool may only append to ${t.relativePath}.`,execute:async(r,i,a,o)=>{let s=P9(i),c=s??(i&&typeof i==`object`?i:void 0);I9(c,j9.write,e.name);let l=typeof c?.path==`string`&&c.path.trim()?c.path:void 0,u=typeof c?.content==`string`?c.content:void 0;if(!l||u===void 0)return e.execute(r,s??i,a,o);if(CNe({filePath:l,root:t.root,containerWorkdir:t.containerWorkdir})!==n)throw Error(`Memory flush writes are restricted to ${t.relativePath}; use that path only.`);return await TNe({absolutePath:n,root:t.root,relativePath:t.relativePath,content:u,sandbox:t.sandbox,signal:a}),{content:[{type:`text`,text:`Appended content to ${t.relativePath}.`}],details:{path:t.relativePath,appendOnly:!0}}}}}function H9(e,t,n){return{...e,execute:async(r,i,a,o)=>{let s=P9(i),c=(s??(i&&typeof i==`object`?i:void 0))?.path;return typeof c==`string`&&c.trim()&&await Ui({filePath:V9({filePath:c,root:t,containerWorkdir:n?.containerWorkdir}),cwd:t,root:t}),e.execute(r,s??i,a,o)}}}function DNe(e){return G9(Dp(e.root,{operations:ANe(e)}),{modelContextWindowTokens:e.modelContextWindowTokens,imageSanitization:e.imageSanitization})}function U9(e){return L9(Op(e.root,{operations:jNe(e)}),j9.write)}function W9(e){return L9(Ep(e.root,{operations:MNe(e)}),j9.edit)}function ONe(e,t){return L9(Op(e,{operations:NNe(e,t)}),j9.write)}function kNe(e,t){return L9(dNe(Ep(e,{operations:PNe(e,t)}),e),j9.edit)}function G9(e,t){return{...F9(e),execute:async(n,r,i)=>{let a=P9(r),o=a??(r&&typeof r==`object`?r:void 0);I9(o,j9.read,e.name);let s=await bNe({base:e,toolCallId:n,args:a??r??{},signal:i,maxBytes:mNe(t)}),c=typeof o?.path==`string`?String(o.path):`<unknown>`;return De(await SNe(yNe(s),c),`read:${c}`,t?.imageSanitization)}}}function ANe(e){return{readFile:t=>e.bridge.readFile({filePath:t,cwd:e.root}),access:async t=>{if(!await e.bridge.stat({filePath:t,cwd:e.root}))throw q9(`ENOENT`,t)},detectImageMimeType:async t=>{let n=await Ia({buffer:await e.bridge.readFile({filePath:t,cwd:e.root}),filePath:t});return n&&n.startsWith(`image/`)?n:void 0}}}function jNe(e){return{mkdir:async t=>{await e.bridge.mkdirp({filePath:t,cwd:e.root})},writeFile:async(t,n)=>{await e.bridge.writeFile({filePath:t,cwd:e.root,data:n})}}}function MNe(e){return{readFile:t=>e.bridge.readFile({filePath:t,cwd:e.root}),writeFile:(t,n)=>e.bridge.writeFile({filePath:t,cwd:e.root,data:n}),access:async t=>{if(!await e.bridge.stat({filePath:t,cwd:e.root}))throw q9(`ENOENT`,t)}}}async function K9(e,t){let n=Z.resolve(e);await ap.mkdir(Z.dirname(n),{recursive:!0}),await ap.writeFile(n,t,`utf-8`)}function NNe(e,t){return t?.workspaceOnly??!1?{mkdir:async t=>{let n=DQ(e,t,{allowRoot:!0}),r=n?Z.resolve(e,n):Z.resolve(e);await Ui({filePath:r,cwd:e,root:e}),await ap.mkdir(r,{recursive:!0})},writeFile:async(t,n)=>{await Ma({rootDir:e,relativePath:DQ(e,t),data:n,mkdir:!0})}}:{mkdir:async e=>{let t=Z.resolve(e);await ap.mkdir(t,{recursive:!0})},writeFile:K9}}function PNe(e,t){return t?.workspaceOnly??!1?{readFile:async t=>(await ote({rootDir:e,relativePath:DQ(e,t)})).buffer,writeFile:async(t,n)=>{await Ma({rootDir:e,relativePath:DQ(e,t),data:n,mkdir:!0})},access:async t=>{let n;try{n=DQ(e,t)}catch{return}try{await(await mte({rootDir:e,relativePath:n})).handle.close().catch(()=>{})}catch(e){if(e instanceof Pa&&e.code===`not-found`)throw q9(`ENOENT`,t);if(e instanceof Pa&&e.code===`outside-workspace`)return;throw e}}}:{readFile:async e=>{let t=Z.resolve(e);return await ap.readFile(t)},writeFile:K9,access:async e=>{let t=Z.resolve(e);await ap.access(t)}}}function q9(e,t){let n=Error(`Sandbox FS error (${e}): ${t}`);return n.code=e,n}function J9(e){let t=e.agentId?.trim(),n=e.profile?.trim(),r=e.providerProfile?.trim();return[{policy:e.profilePolicy,label:n?`tools.profile (${n})`:`tools.profile`,stripPluginOnlyAllowlist:!0},{policy:e.providerProfilePolicy,label:r?`tools.byProvider.profile (${r})`:`tools.byProvider.profile`,stripPluginOnlyAllowlist:!0},{policy:e.globalPolicy,label:`tools.allow`,stripPluginOnlyAllowlist:!0},{policy:e.globalProviderPolicy,label:`tools.byProvider.allow`,stripPluginOnlyAllowlist:!0},{policy:e.agentPolicy,label:t?`agents.${t}.tools.allow`:`agent tools.allow`,stripPluginOnlyAllowlist:!0},{policy:e.agentProviderPolicy,label:t?`agents.${t}.tools.byProvider.allow`:`agent tools.byProvider.allow`,stripPluginOnlyAllowlist:!0},{policy:e.groupPolicy,label:`group tools.allow`,stripPluginOnlyAllowlist:!0}]}function Y9(e){let t=new Set(e.tools.filter(t=>!e.toolMeta(t)).map(e=>Oe(e.name)).filter(Boolean)),n=F({tools:e.tools,toolMeta:e.toolMeta}),r=e.tools;for(let i of e.steps){if(!i.policy)continue;let a=i.policy;if(i.stripPluginOnlyAllowlist){let r=gee(a,n,t);if(r.unknownAllowlist.length>0){let t=r.unknownAllowlist.join(`, `),n=r.strippedAllowlist?`Ignoring allowlist so core tools remain available. Use tools.alsoAllow for additive plugin tool enablement.`:`These entries won't match any tool unless the plugin is enabled.`;e.warn(`tools: ${i.label} allowlist contains unknown entries (${t}). ${n}`)}a=r.policy}let o=_ee(a,n);r=o?Pu(r,o):r}return r}function FNe(e){let t=e?.trim().toLowerCase();return t===`openai`||t===`openai-codex`}const INe={voice:[`tts`]},LNe=new Set([`web_search`]),RNe=new Set([`read`,`write`]);function zNe(e){let t=e?.trim().toLowerCase();return t&&t.length>0?t:void 0}function BNe(e,t){let n=zNe(t);if(!n)return e;let r=INe[n];if(!r||r.length===0)return e;let i=new Set(r);return e.filter(e=>!i.has(e.name))}function VNe(e,t){return Ay(t?.modelProvider,t?.modelId)?e.filter(e=>!LNe.has(e.name)):e}function HNe(e){let t=Array.isArray(e.allowModels)?e.allowModels:[];if(t.length===0)return!0;let n=e.modelId?.trim();if(!n)return!1;let r=n.toLowerCase(),i=e.modelProvider?.trim().toLowerCase(),a=i&&!r.includes(`/`)?`${i}/${r}`:r;return t.some(e=>{let t=e.trim().toLowerCase();return t?t===r||t===a:!1})}function UNe(e){let t=e.cfg,n=t?.tools?.exec,r=t&&e.agentId?Tr(t,e.agentId)?.tools?.exec:void 0;return{host:r?.host??n?.host,security:r?.security??n?.security,ask:r?.ask??n?.ask,node:r?.node??n?.node,pathPrepend:r?.pathPrepend??n?.pathPrepend,safeBins:r?.safeBins??n?.safeBins,safeBinTrustedDirs:r?.safeBinTrustedDirs??n?.safeBinTrustedDirs,safeBinProfiles:pne({global:n,local:r}),backgroundMs:r?.backgroundMs??n?.backgroundMs,timeoutSec:r?.timeoutSec??n?.timeoutSec,approvalRunningNoticeMs:r?.approvalRunningNoticeMs??n?.approvalRunningNoticeMs,cleanupMs:r?.cleanupMs??n?.cleanupMs,notifyOnExit:r?.notifyOnExit??n?.notifyOnExit,notifyOnExitEmptySuccess:r?.notifyOnExitEmptySuccess??n?.notifyOnExitEmptySuccess,applyPatch:r?.applyPatch??n?.applyPatch}}function X9(e){let t=e.cfg?.tools?.loopDetection,n=e.agentId&&e.cfg?Tr(e.cfg,e.agentId)?.tools?.loopDetection:void 0;return n?t?{...t,...n,detectors:{...t.detectors,...n.detectors}}:n:t}function Z9(e){let t=e?.sandbox?.enabled?e.sandbox:void 0,n=e?.trigger===`memory`;if(n&&!e?.memoryFlushWritePath)throw Error(`memoryFlushWritePath required for memory-triggered tool runs`);let r=n?e.memoryFlushWritePath:void 0,{agentId:i,globalPolicy:a,globalProviderPolicy:o,agentPolicy:s,agentProviderPolicy:c,profile:l,providerProfile:u,profileAlsoAllow:d,providerProfileAlsoAllow:f}=Nu({config:e?.config,sessionKey:e?.sessionKey,agentId:e?.agentId,modelProvider:e?.modelProvider,modelId:e?.modelId}),p=Du({config:e?.config,sessionKey:e?.sessionKey,spawnedBy:e?.spawnedBy,messageProvider:e?.messageProvider,groupId:e?.groupId,groupChannel:e?.groupChannel,groupSpace:e?.groupSpace,accountId:e?.agentAccountId,senderId:e?.senderId,senderName:e?.senderName,senderUsername:e?.senderUsername,senderE164:e?.senderE164}),m=Le(l),h=Le(u),g=T(m,d),_=T(h,f),v=e?.exec?.scopeKey??e?.sessionKey??(i?`agent:${i}`:void 0),y=Pr(e?.sessionKey)&&e?.sessionKey?ju(e.config,e.sessionKey):void 0,b=Au(`process`,[g,_,a,o,s,c,p,t?.tools,y]),x=UNe({cfg:e?.config,agentId:i}),S=WC({cfg:e?.config,agentId:i}),C=UC({workspaceOnly:n||S.workspaceOnly}),w=t?.workspaceDir,E=t?.fsBridge,D=t?.workspaceAccess!==`ro`,O=kU(e?.workspaceDir),k=C.workspaceOnly,A=x.applyPatch,j=k||A?.workspaceOnly!==!1,M=!!A?.enabled&&FNe(e?.modelProvider)&&HNe({modelProvider:e?.modelProvider,modelId:e?.modelId,allowModels:A?.allowModels});if(w&&!E)throw Error(`Sandbox filesystem bridge is unavailable.`);let N=Ie(e?.config),P=wp.flatMap(n=>{if(n.name===jp.name){if(w){let n=DNe({root:w,bridge:E,modelContextWindowTokens:e?.modelContextWindowTokens,imageSanitization:N});return[k?H9(n,w,{containerWorkdir:t.containerWorkdir}):n]}let n=G9(Dp(O),{modelContextWindowTokens:e?.modelContextWindowTokens,imageSanitization:N});return[k?B9(n,O):n]}if(n.name===`bash`||n.name===`exec`)return[];if(n.name===`write`){if(w)return[];let e=ONe(O,{workspaceOnly:k});return[k?B9(e,O):e]}if(n.name===`edit`){if(w)return[];let e=kNe(O,{workspaceOnly:k});return[k?B9(e,O):e]}return[n]}),{cleanupMs:F,...I}=e?.exec??{},L=b9({...I,host:e?.exec?.host??x.host,security:e?.exec?.security??x.security,ask:e?.exec?.ask??x.ask,node:e?.exec?.node??x.node,pathPrepend:e?.exec?.pathPrepend??x.pathPrepend,safeBins:e?.exec?.safeBins??x.safeBins,safeBinTrustedDirs:e?.exec?.safeBinTrustedDirs??x.safeBinTrustedDirs,safeBinProfiles:e?.exec?.safeBinProfiles??x.safeBinProfiles,agentId:i,cwd:O,allowBackground:b,scopeKey:v,sessionKey:e?.sessionKey,messageProvider:e?.messageProvider,currentChannelId:e?.currentChannelId,currentThreadTs:e?.currentThreadTs,accountId:e?.agentAccountId,backgroundMs:e?.exec?.backgroundMs??x.backgroundMs,timeoutSec:e?.exec?.timeoutSec??x.timeoutSec,approvalRunningNoticeMs:e?.exec?.approvalRunningNoticeMs??x.approvalRunningNoticeMs,notifyOnExit:e?.exec?.notifyOnExit??x.notifyOnExit,notifyOnExitEmptySuccess:e?.exec?.notifyOnExitEmptySuccess??x.notifyOnExitEmptySuccess,sandbox:t?{containerName:t.containerName,workspaceDir:t.workspaceDir,containerWorkdir:t.containerWorkdir,env:t.docker.env}:void 0}),z=D9({cleanupMs:F??x.cleanupMs,scopeKey:v}),B=!M||w&&!D?null:Fje({cwd:w??O,sandbox:w&&D?{root:w,bridge:E}:void 0,workspaceOnly:j}),V=[...P,...w&&D?[k?H9(W9({root:w,bridge:E}),w,{containerWorkdir:t.containerWorkdir}):W9({root:w,bridge:E}),k?H9(U9({root:w,bridge:E}),w,{containerWorkdir:t.containerWorkdir}):U9({root:w,bridge:E})]:[],...B?[B]:[],L,z,...xae({cfg:e?.config}),...WZ({sandboxBrowserBridgeUrl:t?.browser?.bridgeUrl,allowHostBrowserControl:t?t.browserAllowHostControl:!0,agentSessionKey:e?.sessionKey,agentChannel:Ut(e?.messageProvider),agentAccountId:e?.agentAccountId,agentTo:e?.messageTo,agentThreadId:e?.messageThreadId,agentGroupId:e?.groupId??null,agentGroupChannel:e?.groupChannel??null,agentGroupSpace:e?.groupSpace??null,agentDir:e?.agentDir,sandboxRoot:w,sandboxFsBridge:E,fsPolicy:C,workspaceDir:O,spawnWorkspaceDir:e?.spawnWorkspaceDir?kU(e.spawnWorkspaceDir):void 0,sandboxed:!!t,config:e?.config,pluginToolAllowlist:Me([m,h,a,o,s,c,p,t?.tools,y]),currentChannelId:e?.currentChannelId,currentThreadTs:e?.currentThreadTs,currentMessageId:e?.currentMessageId,replyToMode:e?.replyToMode,hasRepliedRef:e?.hasRepliedRef,modelHasVision:e?.modelHasVision,requireExplicitMessageTarget:e?.requireExplicitMessageTarget,disableMessageTool:e?.disableMessageTool,requesterAgentIdOverride:i,requesterSenderId:e?.senderId,senderIsOwner:e?.senderIsOwner,sessionId:e?.sessionId})],H=Y9({tools:R(VNe(BNe(n&&r?V.flatMap(e=>RNe.has(e.name)?e.name===`write`?[ENe(e,{root:w??O,relativePath:r,containerWorkdir:t?.containerWorkdir,sandbox:w&&E?{root:w,bridge:E}:void 0})]:[e]:[]):V,e?.messageProvider),{modelProvider:e?.modelProvider,modelId:e?.modelId}),e?.senderIsOwner===!0),toolMeta:e=>x7(e),warn:Da,steps:[...J9({profilePolicy:g,profile:l,providerProfilePolicy:_,providerProfile:u,globalPolicy:a,globalProviderPolicy:o,agentPolicy:s,agentProviderPolicy:c,groupPolicy:p,agentId:i}),{policy:t?.tools,label:`sandbox tools.allow`},{policy:y,label:`subagent tools.allow`}]}).map(t=>Ny(t,{modelProvider:e?.modelProvider,modelId:e?.modelId})).map(t=>yS(t,{agentId:i,sessionKey:e?.sessionKey,sessionId:e?.sessionId,runId:e?.runId,loopDetection:X9({cfg:e?.config,agentId:i})}));return e?.abortSignal?H.map(t=>lNe(t,e.abortSignal)):H}const Q9=3e5;async function WNe(e,t=Q9){return await Kte(()=>e(),t,`Compaction`)}function GNe(e){return e.role===`user`||e.role===`assistant`||e.role===`toolResult`}function KNe(){return`cmp-${Date.now().toString(36)}-${Ua(4)}`}function qNe(e){let t=e.content;if(typeof t==`string`)return t.length;if(!Array.isArray(t))return 0;let n=0;for(let e of t){if(!e||typeof e!=`object`)continue;let t=e.text;typeof t==`string`&&(n+=t.length)}return n}function JNe(e){let t=e.toolName??e.name??e.tool;return typeof t==`string`&&t.trim().length>0?t:void 0}function $9(e){let t=0,n=0,r=[],i=0,a=!1;for(let o of e){let e=typeof o.role==`string`?o.role:`unknown`,s=qNe(o);if(t+=s,e===`toolResult`&&(n+=s),r.push({role:e,chars:s,tool:JNe(o)}),!a)try{i+=kp(o)}catch{a=!0}}return{messages:e.length,historyTextChars:t,toolResultChars:n,estTokens:a?void 0:i,contributors:r.toSorted((e,t)=>t.chars-e.chars).slice(0,3)}}function YNe(e){let t=(e??``).trim().toLowerCase();return t?t.includes(`nothing to compact`)?`no_compactable_entries`:t.includes(`below threshold`)?`below_threshold`:t.includes(`already compacted`)?`already_compacted_recently`:t.includes(`guard`)?`guard_blocked`:t.includes(`summary`)?`summary_failed`:t.includes(`timed out`)||t.includes(`timeout`)?`timeout`:t.includes(`400`)||t.includes(`401`)||t.includes(`403`)||t.includes(`429`)?`provider_error_4xx`:t.includes(`500`)||t.includes(`502`)||t.includes(`503`)||t.includes(`504`)?`provider_error_5xx`:`unknown`:`unknown`}async function XNe(e){let t=Date.now(),n=e.diagId?.trim()||KNe(),r=e.trigger??`manual`,i=e.attempt??1,a=e.maxAttempts??1,o=e.runId??e.sessionId,s=ri(e.workspaceDir);Tb({config:e.config,workspaceDir:s});let c=process.cwd(),l=e.config?.agents?.defaults?.compaction?.model?.trim(),u,d,f=e.authProfileId;if(l){let t=l.indexOf(`/`);t>0?(u=l.slice(0,t).trim(),d=l.slice(t+1).trim()||`claude-opus-4-6`,u!==(e.provider??``).trim()&&(f=void 0)):(u=(e.provider??`anthropic`).trim()||`anthropic`,d=l)}else u=(e.provider??`anthropic`).trim()||`anthropic`,d=(e.model??`claude-opus-4-6`).trim()||`claude-opus-4-6`;let p=s=>($.warn(`[compaction-diag] end runId=${o} sessionKey=${e.sessionKey??e.sessionId} diagId=${n} trigger=${r} provider=${u}/${d} attempt=${i} maxAttempts=${a} outcome=failed reason=${YNe(s)} durationMs=${Date.now()-t}`),{ok:!1,compacted:!1,reason:s}),m=e.agentDir??we();await fs(e.config,m);let{model:h,error:g,authStorage:_,modelRegistry:v}=oh(u,d,m,e.config);if(!h)return p(g??`Unknown model: ${u}/${d}`);try{let t=await Pn({model:h,cfg:e.config,profileId:f,agentDir:m});if(!t.apiKey){if(t.mode!==`aws-sdk`)throw Error(`No API key resolved for provider "${h.provider}" (auth mode: ${t.mode}).`)}else if(h.provider===`github-copilot`){let{resolveCopilotApiToken:e}=await import(`./github-copilot-token-C79yeDKS.js`).then(e=>e.n),n=await e({githubToken:t.apiKey});_.setRuntimeApiKey(h.provider,n.token)}else _.setRuntimeApiKey(h.provider,t.apiKey)}catch(e){return p(eb(e))}await ap.mkdir(s,{recursive:!0});let y=e.sessionKey?.trim()||e.sessionId,b=await zt({config:e.config,sessionKey:y,workspaceDir:s}),x=b?.enabled?b.workspaceAccess===`rw`?s:b.workspaceDir:s;await ap.mkdir(x,{recursive:!0}),await he({sessionFile:e.sessionFile,sessionId:e.sessionId,cwd:x});let S;process.chdir(x);try{let{shouldLoadSkillEntries:t,skillEntries:c}=wE({workspaceDir:x,config:e.config,skillsSnapshot:e.skillsSnapshot});S=e.skillsSnapshot?fi({snapshot:e.skillsSnapshot,config:e.config}):pi({skills:c??[],config:e.config});let l=Ii({skillsSnapshot:e.skillsSnapshot,entries:t?c:void 0,config:e.config,workspaceDir:x}),f=e.sessionKey??e.sessionId,p=e.messageChannel??e.messageProvider,{contextFiles:g}=await ng({workspaceDir:x,config:e.config,sessionKey:e.sessionKey,sessionId:e.sessionId,warn:tg({sessionLabel:f,warn:e=>$.warn(e)})}),C=Jc({cfg:e.config,provider:u,modelId:d,modelContextWindow:h.contextWindow,defaultTokens:tr}),w=C.tokens<(h.contextWindow??1/0)?{...h,contextWindow:C.tokens}:h,T=new AbortController,E=Z9({exec:{elevated:e.bashElevated},sandbox:b,messageProvider:p,agentAccountId:e.agentAccountId,sessionKey:y,sessionId:e.sessionId,runId:e.runId,groupId:e.groupId,groupChannel:e.groupChannel,groupSpace:e.groupSpace,spawnedBy:e.spawnedBy,senderIsOwner:e.senderIsOwner,agentDir:m,workspaceDir:x,config:e.config,abortSignal:T.signal,modelProvider:h.provider,modelId:d,modelContextWindowTokens:C.tokens,modelAuthMode:Rn(h.provider,e.config)}),D=ob({tools:fg(h)?E:[],provider:u}),O=HE({tools:D});sb({tools:D,provider:u});let k=await _s(),A=_n(e.messageChannel??e.messageProvider),j=A?xm({cfg:e.config,channel:A,accountId:e.agentAccountId})??[]:void 0;A===`telegram`&&e.config&&Im({cfg:e.config,accountId:e.agentAccountId??void 0})!==`off`&&(j||=[],j.some(e=>String(e).trim().toLowerCase()===`inlinebuttons`)||j.push(`inlineButtons`));let M=A&&e.config?(()=>{if(A===`telegram`){let t=Lm({cfg:e.config,accountId:e.agentAccountId??void 0}).agentReactionGuidance;return t?{level:t,channel:`Telegram`}:void 0}if(A===`signal`){let t=Pm({cfg:e.config,accountId:e.agentAccountId??void 0}).agentReactionGuidance;return t?{level:t,channel:`Signal`}:void 0}})():void 0,N=A?rg({cfg:e.config,channel:A}):void 0,P=A?ig({cfg:e.config,channel:A,accountId:e.agentAccountId}):void 0,F={host:k,os:`${Wf.type()} ${Wf.release()}`,arch:Wf.arch(),node:process.version,model:`${u}/${d}`,shell:kC(),channel:A,capabilities:j,channelActions:N},I=gE(b,e.bashElevated),L=Zh(u),R=sg(e.config?.agents?.defaults?.userTimezone),z=cg(e.config?.agents?.defaults?.timeFormat),B=ug(new Date,R,z),{defaultAgentId:V,sessionAgentId:H}=Cr({sessionKey:e.sessionKey,config:e.config}),U=H===V,W=Pr(e.sessionKey)||Yr(e.sessionKey)?`minimal`:`full`,G=await dg({workspaceDir:x,argv1:process.argv[1],cwd:process.cwd(),moduleUrl:import.meta.url}),ee=e.config?Mh(e.config):void 0,K=un(e.config),te=zE(RE({workspaceDir:x,defaultThinkLevel:e.thinkLevel,reasoningLevel:e.reasoningLevel??`off`,extraSystemPrompt:e.extraSystemPrompt,ownerNumbers:e.ownerNumbers,ownerDisplay:K.ownerDisplay,ownerDisplaySecret:K.ownerDisplaySecret,reasoningTagHint:L,heartbeatPrompt:U?_m(e.config?.agents?.defaults?.heartbeat?.prompt):void 0,skillsPrompt:l,docsPath:G??void 0,ttsHint:ee,promptMode:W,acpEnabled:e.config?.acp?.enabled!==!1,runtimeInfo:F,reactionGuidance:M,messageToolHints:P,sandboxInfo:I,tools:D,modelAliasLines:Jm(e.config),userTimezone:R,userTime:B,userTimeFormat:z,contextFiles:g,memoryCitationsMode:e.config?.memory?.citations})),q=await gn({sessionFile:e.sessionFile,maxHoldMs:Rt({timeoutMs:Q9})});try{await cC({sessionFile:e.sessionFile,warn:e=>$.warn(e)}),await SE(e.sessionFile);let t=Zy({modelApi:h.api,provider:u,modelId:d}),c=wC(Sp.open(e.sessionFile),{agentId:H,sessionKey:e.sessionKey,allowSyntheticToolResults:t.allowSyntheticToolResults,allowedToolNames:O});bE(e.sessionFile);let l=pg({cwd:x,agentDir:m,cfg:e.config}),f=rE({cfg:e.config,sessionManager:c,provider:u,modelId:d,model:h}),g;f.length>0&&(g=new xp({cwd:s,agentDir:m,settingsManager:l,extensionFactories:f}),await g.reload());let{builtInTools:y,customTools:S}=nD({tools:D,sandboxEnabled:!!b?.enabled}),{session:C}=await Tp({cwd:x,agentDir:m,authStorage:_,modelRegistry:v,model:w,thinkingLevel:$y(e.thinkLevel),tools:y,customTools:S,sessionManager:c,settingsManager:l,resourceLoader:g});if(BE(C,te()),h.api===`ollama`){let t=typeof e.config?.models?.providers?.[h.provider]?.baseUrl==`string`?e.config.models.providers[h.provider]?.baseUrl:void 0;qm(h.api,Ot({model:h,providerBaseUrl:t}))}try{let s=await lb({messages:C.messages,modelApi:h.api,modelId:d,provider:u,allowedToolNames:O,config:e.config,sessionManager:c,sessionId:e.sessionId,policy:t}),l=t.validateGeminiTurns?mn(s):s,f=t.validateAnthropicTurns?Tn(l):l;C.agent.replaceMessages(f);let m=C.messages.slice(),g=ub(C.messages,db(e.sessionKey,e.config)),_=t.repairToolUseResultPairing?Yy(g):g;_.length>0&&C.agent.replaceMessages(_);let v=!e.sessionKey||!e.sessionKey.trim(),y=e.sessionKey?.trim()||e.sessionId,b=Ss(),S=m.length,w;try{w=0;for(let e of m)w+=kp(e)}catch{w=void 0}let T=C.messages.length,E;try{E=0;for(let e of C.messages)E+=kp(e)}catch{E=void 0}try{await gi(bi(`session`,`compact:before`,y,{sessionId:e.sessionId,missingSessionKey:v,messageCount:T,tokenCount:E,messageCountOriginal:S,tokenCountOriginal:w}))}catch(e){$.warn(`session:compact:before hook failed`,{errorMessage:e instanceof Error?e.message:String(e),errorStack:e instanceof Error?e.stack:void 0})}if(b?.hasHooks(`before_compaction`))try{await b.runBeforeCompaction({messageCount:T,tokenCount:E},{sessionId:e.sessionId,agentId:H,sessionKey:y,workspaceDir:x,messageProvider:p})}catch(e){$.warn(`before_compaction hook failed`,{errorMessage:e instanceof Error?e.message:String(e),errorStack:e instanceof Error?e.stack:void 0})}let D=$.isEnabled(`debug`),k=D?$9(C.messages):void 0;if(D&&k&&($.debug(`[compaction-diag] start runId=${o} sessionKey=${e.sessionKey??e.sessionId} diagId=${n} trigger=${r} provider=${u}/${d} attempt=${i} maxAttempts=${a} pre.messages=${k.messages} pre.historyTextChars=${k.historyTextChars} pre.toolResultChars=${k.toolResultChars} pre.estTokens=${k.estTokens??`unknown`}`),$.debug(`[compaction-diag] contributors diagId=${n} top=${JSON.stringify(k.contributors)}`)),!C.messages.some(GNe))return $.info(`[compaction] skipping — no real conversation messages (sessionKey=${e.sessionKey??e.sessionId})`),{ok:!0,compacted:!1,reason:`no real conversation messages`};let A=Date.now(),j=S,M=await WNe(()=>C.compact(e.customInstructions)),N;try{N=0;for(let e of C.messages)N+=kp(e);N>M.tokensBefore&&(N=void 0)}catch{N=void 0}let P=C.messages.length,F=Math.max(0,j-P),I=D?$9(C.messages):void 0;D&&k&&I&&$.debug(`[compaction-diag] end runId=${o} sessionKey=${e.sessionKey??e.sessionId} diagId=${n} trigger=${r} provider=${u}/${d} attempt=${i} maxAttempts=${a} outcome=compacted reason=none durationMs=${Date.now()-A} retrying=false post.messages=${I.messages} post.historyTextChars=${I.historyTextChars} post.toolResultChars=${I.toolResultChars} post.estTokens=${I.estTokens??`unknown`} delta.messages=${I.messages-k.messages} delta.historyTextChars=${I.historyTextChars-k.historyTextChars} delta.toolResultChars=${I.toolResultChars-k.toolResultChars} delta.estTokens=${typeof k.estTokens==`number`&&typeof I.estTokens==`number`?I.estTokens-k.estTokens:`unknown`}`);try{await gi(bi(`session`,`compact:after`,y,{sessionId:e.sessionId,missingSessionKey:v,messageCount:P,tokenCount:N,compactedCount:F,summaryLength:typeof M.summary==`string`?M.summary.length:void 0,tokensBefore:M.tokensBefore,tokensAfter:N,firstKeptEntryId:M.firstKeptEntryId}))}catch(e){$.warn(`session:compact:after hook failed`,{errorMessage:e instanceof Error?e.message:String(e),errorStack:e instanceof Error?e.stack:void 0})}if(b?.hasHooks(`after_compaction`))try{await b.runAfterCompaction({messageCount:P,tokenCount:N,compactedCount:F},{sessionId:e.sessionId,agentId:H,sessionKey:y,workspaceDir:x,messageProvider:p})}catch(e){$.warn(`after_compaction hook failed`,{errorMessage:e instanceof Error?e.message:String(e),errorStack:e instanceof Error?e.stack:void 0})}return{ok:!0,compacted:!0,result:{summary:M.summary,firstKeptEntryId:M.firstKeptEntryId,tokensBefore:M.tokensBefore,tokensAfter:N,details:M.details}}}finally{await rD({agent:C?.agent,sessionManager:c,clearPendingOnTimeout:!0}),C.dispose()}}finally{await q.release()}}catch(e){return p(eb(e))}finally{S?.(),process.chdir(c)}}async function ZNe(e){let t=fb(e.sessionKey?.trim()||e.sessionId),n=pb(e.lane),r=e.enqueue??((e,t)=>Am(n,e,t));return Am(t,()=>r(async()=>{Tb({config:e.config,workspaceDir:e.workspaceDir}),Cm();let t=await yi(e.config);try{let n=(e.provider??`anthropic`).trim()||`anthropic`,r=(e.model??`claude-opus-4-6`).trim()||`claude-opus-4-6`,{model:i}=oh(n,r,e.agentDir??we(),e.config),a=Jc({cfg:e.config,provider:n,modelId:r,modelContextWindow:i?.contextWindow,defaultTokens:tr}),o=t.info.ownsCompaction===!0?Ss():null,s=e.sessionKey?.trim()||e.sessionId,{sessionAgentId:c}=Cr({sessionKey:e.sessionKey,config:e.config}),l=e.messageChannel??e.messageProvider,u={sessionId:e.sessionId,agentId:c,sessionKey:s,workspaceDir:ri(e.workspaceDir),messageProvider:l};if(o?.hasHooks(`before_compaction`))try{await o.runBeforeCompaction({messageCount:-1,sessionFile:e.sessionFile},u)}catch(e){$.warn(`before_compaction hook failed`,{errorMessage:e instanceof Error?e.message:String(e)})}let d=await t.compact({sessionId:e.sessionId,sessionFile:e.sessionFile,tokenBudget:a.tokens,customInstructions:e.customInstructions,force:e.trigger===`manual`,runtimeContext:e});if(d.ok&&d.compacted&&o?.hasHooks(`after_compaction`))try{await o.runAfterCompaction({messageCount:-1,compactedCount:-1,tokenCount:d.result?.tokensAfter,sessionFile:e.sessionFile},u)}catch(e){$.warn(`after_compaction hook failed`,{errorMessage:e instanceof Error?e.message:String(e)})}return{ok:d.ok,compacted:d.compacted,reason:d.reason,result:d.result?{summary:d.result.summary??``,firstKeptEntryId:d.result.firstKeptEntryId??``,tokensBefore:d.result.tokensBefore,tokensAfter:d.result.tokensAfter,details:d.result.details}:void 0}}finally{await t.dispose?.()}}))}export{ZQ as $,Ade as $n,jm as $r,xB as $t,ASe as A,Rfe as An,yg as Ar,ZH as At,d0 as B,IA as Bn,Wh as Br,gH as Bt,KSe as C,xM as Cn,Vb as Cr,KW as Ct,b4 as D,Nj as Dn,tv as Dr,EU as Dt,y4 as E,wM as En,Cb as Er,oW as Et,P0 as F,oj as Fn,$h as Fr,NH as Ft,n1 as G,Pde as Gn,Ih as Gr,sH as Gt,Q1 as H,NA as Hn,kh as Hr,vH as Ht,F0 as I,ZA as In,eg as Ir,AH as It,X$ as J,Lde as Jn,gh as Jr,WB as Jt,e1 as K,aA as Kn,Rh as Kr,cV as Kt,N0 as L,RA as Ln,Lh as Lr,jH as Lt,n2 as M,uj as Mn,_g as Mr,QH as Mt,Z0 as N,Ufe as Nn,sg as Nr,$H as Nt,v4 as O,Tj as On,Y_ as Or,XH as Ot,R0 as P,aj as Pn,ng as Pr,JH as Pt,O$ as Q,$k as Qn,Jre as Qr,MB as Qt,v0 as R,VA as Rn,Fh as Rr,_H as Rt,r3 as S,LM as Sn,Hb as Sr,gG as St,S4 as T,CM as Tn,wb as Tr,UW as Tt,rye as U,yA as Un,Ah as Ur,fH as Ut,$1 as V,kA as Vn,jh as Vr,pH as Vt,t1 as W,bA as Wn,Gh as Wr,dH as Wt,H$ as X,Ide as Xn,ah as Xr,KB as Xt,G$ as Y,jde as Yn,vh as Yr,PB as Yt,Yve as Z,rA as Zn,Am as Zr,GB as Zt,iDe as _,kN as _n,dx as _r,HG as _t,k9 as a,wm as ai,hR as an,YD as ar,TX as at,q3 as b,CN as bn,px as br,vG as bt,v7 as c,ym as ci,JL as cn,bD as cr,WY as ct,bAe as d,HP as dn,dE as dr,kq as dt,Kre as ei,bB as en,Mde as er,uQ as et,z5 as f,BP as fn,fE as fr,_q as ft,q6 as g,MN as gn,Vx as gr,vK as gt,y8 as h,YN as hn,vS as hr,VG as ht,J9 as i,Yre as ii,vR as in,iue as ir,SX as it,n4 as j,Vfe as jn,gg as jr,YH as jt,_4 as k,Bfe as kn,mg as kr,KH as kt,_7 as l,HI as ln,sE as lr,EY as lt,YDe as m,eP as mn,vw as mr,GG as mt,X9 as n,qre as ni,yR as nn,LO as nr,lQ as nt,x7 as o,Ire as oi,XL as on,qD as or,DY as ot,X8 as p,tP as pn,yw as pr,gq as pt,$$ as q,Fde as qn,Yh as qr,sV as qt,Y9 as r,Gre as ri,pR as rn,NO as rr,WZ as rt,S7 as s,_m as si,YL as sn,RD as sr,GY as st,XNe as t,Wre as ti,DR as tn,yk as tr,dQ as tt,s7 as u,VP as un,uE as ur,CY as ut,A6 as v,yN as vn,fx as vr,yG as vt,E4 as w,bM as wn,Bb as wr,VW as wt,b3 as x,SN as xn,ux as xr,_G as xt,E6 as y,bN as yn,lce as yr,AG as yt,m0 as z,PA as zn,Kh as zr,hH as zt};
|
|
550
|
-
//# sourceMappingURL=compact-CYbPi7_-.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{t as e}from"./rolldown-runtime-CNxR59P3.js";import{A as t,i as n}from"./subsystem-BLbY429l.js";import{g as r}from"./paths-BjD3T_xq.js";import{m as i}from"./utils-CGdo13HV.js";import{t as a}from"./links-CBnmRP9D.js";import{n as o,r as s}from"./register.subclis-
|
|
1
|
+
import{t as e}from"./rolldown-runtime-CNxR59P3.js";import{A as t,i as n}from"./subsystem-BLbY429l.js";import{g as r}from"./paths-BjD3T_xq.js";import{m as i}from"./utils-CGdo13HV.js";import{t as a}from"./links-CBnmRP9D.js";import{n as o,r as s}from"./register.subclis-Drp2dGBe.js";import{i as c,n as l}from"./command-registry-D_jtBegA.js";import{t as u}from"./program-context-CH9p6anW.js";import d from"node:os";import f from"node:path";import p from"node:fs/promises";import{Option as m}from"commander";function h(e){return e.replace(/'/g,`'\\''`)}function g(e){let t=e.split(/[ ,|]+/);return{long:t.find(e=>e.startsWith(`--`))?.replace(/^--/,``),short:t.find(e=>e.startsWith(`-`)&&!e.startsWith(`--`))?.replace(/^-/,``)}}function _(e){let t=h(e.description);return`complete -c ${e.rootCmd} -n "${e.condition}" -a "${e.name}" -d '${t}'\n`}function v(e){let{short:t,long:n}=g(e.flags),r=h(e.description),i=`complete -c ${e.rootCmd} -n "${e.condition}"`;return t&&(i+=` -s ${t}`),n&&(i+=` -l ${n}`),i+=` -d '${r}'\n`,i}var y=e({completionCacheExists:()=>E,installCompletion:()=>R,isCompletionInstalled:()=>F,registerCompletionCli:()=>L,resolveCompletionCachePath:()=>T,resolveShellFromEnv:()=>S,usesSlowDynamicCompletion:()=>I});const b=[`zsh`,`bash`,`powershell`,`fish`];function x(e){return b.includes(e)}function S(e=process.env){let t=e.SHELL?.trim()??``,n=t?f.basename(t).toLowerCase():``;return n===`zsh`?`zsh`:n===`bash`?`bash`:n===`fish`?`fish`:n===`pwsh`||n===`powershell`?`powershell`:`zsh`}function C(e){let t=e.trim();return t?t.replace(/[^a-zA-Z0-9._-]/g,`-`):`openclaw`}function w(e=process.env){let t=r(e,d.homedir);return f.join(t,`completions`)}function T(e,t){let n=C(t),r=e===`powershell`?`ps1`:e===`fish`?`fish`:e===`bash`?`bash`:`zsh`;return f.join(w(),`${n}.${r}`)}async function E(e,t=`openclaw`){return i(T(e,t))}function D(e,t){return e===`zsh`?z(t):e===`bash`?U(t):e===`powershell`?G(t):K(t)}async function O(e){let t=w();await p.mkdir(t,{recursive:!0});for(let t of e.shells){let n=D(t,e.program),r=T(t,e.binName);await p.writeFile(r,n,`utf-8`)}}function k(e,t,n){return`source "${n}"`}function A(e){return e.trim()===`# OpenClaw Completion`}function j(e,t,n){return!!(e.includes(`${t} completion`)||n&&e.includes(n))}function M(e,t){return e.includes(`<(${t} completion`)||e.includes(`${t} completion`)&&e.includes(`| source`)}function N(e,t,n,r){let i=e.split(`
|
|
2
2
|
`),a=[],o=!1;for(let e=0;e<i.length;e+=1){let r=i[e]??``;if(A(r)){o=!0,e+=1;continue}if(j(r,t,n)){o=!0;continue}a.push(r)}let s=a.join(`
|
|
3
3
|
`).trimEnd(),c=`# OpenClaw Completion\n${r}`,l=s?`${s}\n\n${c}\n`:`${c}\n`;return{next:l,changed:l!==e,hadExisting:o}}function P(e){let t=process.env.HOME||d.homedir();return e===`zsh`?f.join(t,`.zshrc`):e===`bash`?f.join(t,`.bashrc`):e===`fish`?f.join(t,`.config`,`fish`,`config.fish`):process.platform===`win32`?f.join(process.env.USERPROFILE||t,`Documents`,`PowerShell`,`Microsoft.PowerShell_profile.ps1`):f.join(t,`.config`,`powershell`,`Microsoft.PowerShell_profile.ps1`)}async function F(e,t=`openclaw`){let n=P(e);if(!await i(n))return!1;let r=T(e,t),a=await i(r)?r:null;return(await p.readFile(n,`utf-8`)).split(`
|
|
4
4
|
`).some(e=>A(e)||j(e,t,a))}async function I(e,t=`openclaw`){let n=P(e);if(!await i(n))return!1;let r=T(e,t),a=(await p.readFile(n,`utf-8`)).split(`
|
|
@@ -116,4 +116,3 @@ Register-ArgumentCompleter -Native -CommandName ${t} -ScriptBlock {
|
|
|
116
116
|
${r}
|
|
117
117
|
}
|
|
118
118
|
`}function K(e){let t=e.name(),n=``,r=(e,i)=>{let a=e.name(),o=[...i];if(i.length>0&&o.push(a),i.length===0){for(let r of e.commands)n+=_({rootCmd:t,condition:`__fish_use_subcommand`,name:r.name(),description:r.description()});for(let r of e.options)n+=v({rootCmd:t,condition:`__fish_use_subcommand`,flags:r.flags,description:r.description})}else{for(let r of e.commands)n+=_({rootCmd:t,condition:`__fish_seen_subcommand_from ${a}`,name:r.name(),description:r.description()});for(let r of e.options)n+=v({rootCmd:t,condition:`__fish_seen_subcommand_from ${a}`,flags:r.flags,description:r.description})}for(let t of e.commands)r(t,[...i,a])};return r(e,[]),n}export{T as a,F as i,y as n,S as o,R as r,I as s,E as t};
|
|
119
|
-
//# sourceMappingURL=completion-cli-Yg5BF97F.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{t as e}from"./rolldown-runtime-CNxR59P3.js";import{g as t}from"./paths-B4IRk3wi.js";import{A as n,i as r}from"./subsystem-C5XF2Fy5.js";import{h as i}from"./utils-UGOV_184.js";import{t as a}from"./links-CySwdMcF.js";import{a as o,c as s,l as c,r as l,t as u}from"./program-context-
|
|
1
|
+
import{t as e}from"./rolldown-runtime-CNxR59P3.js";import{g as t}from"./paths-B4IRk3wi.js";import{A as n,i as r}from"./subsystem-C5XF2Fy5.js";import{h as i}from"./utils-UGOV_184.js";import{t as a}from"./links-CySwdMcF.js";import{a as o,c as s,l as c,r as l,t as u}from"./program-context-n-ovYq69.js";import d from"node:os";import f from"node:path";import p from"node:fs/promises";import{Option as m}from"commander";function h(e){return e.replace(/'/g,`'\\''`)}function g(e){let t=e.split(/[ ,|]+/);return{long:t.find(e=>e.startsWith(`--`))?.replace(/^--/,``),short:t.find(e=>e.startsWith(`-`)&&!e.startsWith(`--`))?.replace(/^-/,``)}}function _(e){let t=h(e.description);return`complete -c ${e.rootCmd} -n "${e.condition}" -a "${e.name}" -d '${t}'\n`}function v(e){let{short:t,long:n}=g(e.flags),r=h(e.description),i=`complete -c ${e.rootCmd} -n "${e.condition}"`;return t&&(i+=` -s ${t}`),n&&(i+=` -l ${n}`),i+=` -d '${r}'\n`,i}var y=e({completionCacheExists:()=>E,installCompletion:()=>R,isCompletionInstalled:()=>F,registerCompletionCli:()=>L,resolveCompletionCachePath:()=>T,resolveShellFromEnv:()=>S,usesSlowDynamicCompletion:()=>I});const b=[`zsh`,`bash`,`powershell`,`fish`];function x(e){return b.includes(e)}function S(e=process.env){let t=e.SHELL?.trim()??``,n=t?f.basename(t).toLowerCase():``;return n===`zsh`?`zsh`:n===`bash`?`bash`:n===`fish`?`fish`:n===`pwsh`||n===`powershell`?`powershell`:`zsh`}function C(e){let t=e.trim();return t?t.replace(/[^a-zA-Z0-9._-]/g,`-`):`openclaw`}function w(e=process.env){let n=t(e,d.homedir);return f.join(n,`completions`)}function T(e,t){let n=C(t),r=e===`powershell`?`ps1`:e===`fish`?`fish`:e===`bash`?`bash`:`zsh`;return f.join(w(),`${n}.${r}`)}async function E(e,t=`openclaw`){return i(T(e,t))}function D(e,t){return e===`zsh`?z(t):e===`bash`?U(t):e===`powershell`?G(t):K(t)}async function O(e){let t=w();await p.mkdir(t,{recursive:!0});for(let t of e.shells){let n=D(t,e.program),r=T(t,e.binName);await p.writeFile(r,n,`utf-8`)}}function k(e,t,n){return`source "${n}"`}function A(e){return e.trim()===`# OpenClaw Completion`}function j(e,t,n){return!!(e.includes(`${t} completion`)||n&&e.includes(n))}function M(e,t){return e.includes(`<(${t} completion`)||e.includes(`${t} completion`)&&e.includes(`| source`)}function N(e,t,n,r){let i=e.split(`
|
|
2
2
|
`),a=[],o=!1;for(let e=0;e<i.length;e+=1){let r=i[e]??``;if(A(r)){o=!0,e+=1;continue}if(j(r,t,n)){o=!0;continue}a.push(r)}let s=a.join(`
|
|
3
3
|
`).trimEnd(),c=`# OpenClaw Completion\n${r}`,l=s?`${s}\n\n${c}\n`:`${c}\n`;return{next:l,changed:l!==e,hadExisting:o}}function P(e){let t=process.env.HOME||d.homedir();return e===`zsh`?f.join(t,`.zshrc`):e===`bash`?f.join(t,`.bashrc`):e===`fish`?f.join(t,`.config`,`fish`,`config.fish`):process.platform===`win32`?f.join(process.env.USERPROFILE||t,`Documents`,`PowerShell`,`Microsoft.PowerShell_profile.ps1`):f.join(t,`.config`,`powershell`,`Microsoft.PowerShell_profile.ps1`)}async function F(e,t=`openclaw`){let n=P(e);if(!await i(n))return!1;let r=T(e,t),a=await i(r)?r:null;return(await p.readFile(n,`utf-8`)).split(`
|
|
4
4
|
`).some(e=>A(e)||j(e,t,a))}async function I(e,t=`openclaw`){let n=P(e);if(!await i(n))return!1;let r=T(e,t),a=(await p.readFile(n,`utf-8`)).split(`
|
|
@@ -116,4 +116,3 @@ Register-ArgumentCompleter -Native -CommandName ${t} -ScriptBlock {
|
|
|
116
116
|
${r}
|
|
117
117
|
}
|
|
118
118
|
`}function K(e){let t=e.name(),n=``,r=(e,i)=>{let a=e.name(),o=[...i];if(i.length>0&&o.push(a),i.length===0){for(let r of e.commands)n+=_({rootCmd:t,condition:`__fish_use_subcommand`,name:r.name(),description:r.description()});for(let r of e.options)n+=v({rootCmd:t,condition:`__fish_use_subcommand`,flags:r.flags,description:r.description})}else{for(let r of e.commands)n+=_({rootCmd:t,condition:`__fish_seen_subcommand_from ${a}`,name:r.name(),description:r.description()});for(let r of e.options)n+=v({rootCmd:t,condition:`__fish_seen_subcommand_from ${a}`,flags:r.flags,description:r.description})}for(let t of e.commands)r(t,[...i,a])};return r(e,[]),n}export{T as a,F as i,y as n,S as o,R as r,I as s,E as t};
|
|
119
|
-
//# sourceMappingURL=completion-cli-BRE0F8Tu.js.map
|
package/dist/config-BqW5S1xL.js
CHANGED
package/dist/config-Cji73to5.js
CHANGED
|
@@ -10,4 +10,3 @@ import{a as e,i as t,n,o as r,r as i,s as a}from"./secret-file-DuWm26jS.js";impo
|
|
|
10
10
|
`),t.logger.error(i)}else i=`read failed: ${String(e)}`;return{snapshot:{path:r,exists:!0,raw:null,parsed:{},resolved:{},valid:!1,config:{},hash:Gh(null),issues:[{path:``,message:i}],warnings:[],legacyIssues:[]}}}}async function o(){return(await a()).snapshot}async function s(){let e=await a();return{snapshot:e.snapshot,writeOptions:{envSnapshotForRestore:e.envSnapshotForRestore,expectedConfigPath:r}}}async function c(e,n={}){jg();let i=e,{snapshot:o}=await a(),s=null,c=null;if(o.valid&&o.exists){let n=ag(o.config,e);i=mu(o.resolved,n);try{let n=bl(o.parsed,r,{readFile:e=>t.fs.readFileSync(e,`utf-8`),readFileWithGuards:({includePath:e,resolvedPath:n,rootRealDir:r})=>vl({includePath:e,resolvedPath:n,rootRealDir:r,ioFs:t.fs}),parseJson:e=>t.json5.parse(e)}),i=new Map;og(n,``,i),i.size>0&&(s=i,c=new Set,sg(o.config,e,``,c))}catch{s=null}}let l=Lh(i);if(!l.ok){let e=l.issues[0],t=e?.path?e.path:`<root>`,n=e?.message??`invalid`;throw Error(qh(t,n))}if(l.warnings.length>0){let e=l.warnings.map(e=>`- ${e.path}: ${e.message}`).join(`
|
|
11
11
|
`);t.logger.warn(`Config warnings:\n${e}`)}let u=l.config;try{if(t.fs.existsSync(r)){let e=bg(await t.fs.promises.readFile(r,`utf-8`),t.json5);if(e.ok){let r=n.envSnapshotForRestore??t.env;u=cl(u,e.parsed,r)}}}catch{}let d=E.dirname(r);await t.fs.promises.mkdir(d,{recursive:!0,mode:448}),await Kh({configPath:r,env:t.env,homedir:t.homedir,fsModule:t.fs});let f=s&&c?ug(u,``,s,c):u;if(n.unsetPaths?.length)for(let e of n.unsetPaths){if(!Array.isArray(e)||e.length===0)continue;let t=$h(f,e);t.changed&&(f=t.next)}let p=hg(f),m=JSON.stringify(p,null,2).trimEnd().concat(`
|
|
12
12
|
`),h=Gh(m),g=eg(o),_=c?.size,v=typeof o.raw==`string`?Buffer.byteLength(o.raw,`utf-8`):null,ee=Buffer.byteLength(m,`utf-8`),te=ng(o.parsed),y=ng(p),b=rg(o.resolved),x=rg(p),ne=fg({existsBefore:o.exists,previousBytes:v,nextBytes:ee,hasMetaBefore:te,gatewayModeBefore:b,gatewayModeAfter:x}),re=()=>{if(!o.exists)return;let e=t.env.VITEST===`true`,n=t.env.OPENCLAW_TEST_CONFIG_OVERWRITE_LOG===`1`;if(e&&!n)return;let i=typeof _==`number`?`, changedPaths=${_}`:``;t.logger.warn(`Config overwrite: ${r} (sha256 ${g??`unknown`} -> ${h}, backup=${r}.bak${i})`)},ie=()=>{if(ne.length===0)return;let e=t.env.VITEST===`true`,n=t.env.OPENCLAW_TEST_CONFIG_WRITE_ANOMALY_LOG===`1`;e&&!n||t.logger.warn(`Config write anomaly: ${r} (${ne.join(`, `)})`)},ae={ts:new Date().toISOString(),source:`config-io`,event:`config.write`,configPath:r,pid:process.pid,ppid:process.ppid,cwd:process.cwd(),argv:process.argv.slice(0,8),execArgv:process.execArgv.slice(0,8),watchMode:t.env.OPENCLAW_WATCH_MODE===`1`,watchSession:typeof t.env.OPENCLAW_WATCH_SESSION==`string`&&t.env.OPENCLAW_WATCH_SESSION.trim().length>0?t.env.OPENCLAW_WATCH_SESSION.trim():null,watchCommand:typeof t.env.OPENCLAW_WATCH_COMMAND==`string`&&t.env.OPENCLAW_WATCH_COMMAND.trim().length>0?t.env.OPENCLAW_WATCH_COMMAND.trim():null,existsBefore:o.exists,previousHash:g??null,nextHash:h,previousBytes:v,nextBytes:ee,changedPathCount:typeof _==`number`?_:null,hasMetaBefore:te,hasMetaAfter:y,gatewayModeBefore:b,gatewayModeAfter:x,suspicious:ne},oe=async(e,n)=>{let r=n&&typeof n==`object`&&`code`in n&&typeof n.code==`string`?n.code:void 0,i=n&&typeof n==`object`&&`message`in n&&typeof n.message==`string`?n.message:void 0;await pg(t,{...ae,result:e,nextHash:e===`failed`?null:ae.nextHash,nextBytes:e===`failed`?null:ae.nextBytes,errorCode:r,errorMessage:i})},S=E.join(d,`${E.basename(r)}.${process.pid}.${Te.randomUUID()}.tmp`);try{await t.fs.promises.writeFile(S,m,{encoding:`utf-8`,mode:384}),t.fs.existsSync(r)&&await En(r,t.fs.promises);try{await t.fs.promises.rename(S,r)}catch(e){let n=e.code;if(n===`EPERM`||n===`EEXIST`){await t.fs.promises.copyFile(S,r),await t.fs.promises.chmod(r,384).catch(()=>{}),await t.fs.promises.unlink(S).catch(()=>{}),re(),ie(),await oe(`copy-fallback`);return}throw await t.fs.promises.unlink(S).catch(()=>{}),e}re(),ie(),await oe(`rename`)}catch(e){throw await oe(`failed`,e),e}}return{configPath:r,loadConfig:i,readConfigFileSnapshot:o,readConfigFileSnapshotForWrite:s,writeConfigFile:c}}const wg=new Map,Tg=new Set,Eg=new Set;let Dg=null,$=null,Og=null;function kg(e){let t=e.OPENCLAW_CONFIG_CACHE_MS?.trim();if(t===``||t===`0`)return 0;if(!t)return 200;let n=Number.parseInt(t,10);return Number.isFinite(n)?Math.max(0,n):200}function Ag(e){return e.OPENCLAW_DISABLE_CONFIG_CACHE?.trim()?!1:kg(e)>0}function jg(){Dg=null}function Mg(e,t){$=e,Og=t??null,jg()}function Ng(){$=null,Og=null,jg()}function Pg(){if($)return $;let e=Cg(),t=e.configPath,n=Date.now();if(Ag(process.env)){let e=Dg;if(e&&e.configPath===t&&e.expiresAt>n)return e.config}let r=e.loadConfig();if(Ag(process.env)){let e=kg(process.env);e>0&&(Dg={configPath:t,expiresAt:n+e,config:r})}return r}async function Fg(){return await Cg().readConfigFileSnapshotForWrite()}async function Ig(e,t={}){let n=Cg(),r=e,i=!!$,a=!!($&&Og);if(a){let t=ag($,e);r=tg(mu(Og,t))}let o=t.expectedConfigPath===void 0||t.expectedConfigPath===n.configPath;if(await n.writeConfigFile(r,{envSnapshotForRestore:o?t.envSnapshotForRestore:void 0,unsetPaths:t.unsetPaths}),a){Mg(n.loadConfig(),r);return}i&&Ng()}export{Ye as $,Po as A,Hr as B,ns as C,j as D,Yo as E,No as F,Nt as G,gn as H,Mo as I,it as J,Dt as K,jo as L,Ro as M,Fo as N,Ho as O,ho as P,Qe as Q,pa as R,rs as S,Qo as T,Ot as U,Ar as V,kt as W,at as X,et as Y,ot as Z,cs as _,Rp as a,ls as b,nc as c,qs as d,We as et,ec as f,ys as g,Ts as h,Np as i,Le as it,Lo as j,Io as k,Qs as l,Es as m,Fg as n,Ue as nt,gc as o,$s as p,tt as q,Ig as r,Ge as rt,vc as s,Pg as t,Ke as tt,tc as u,as as v,os as w,ts as x,is as y,yi as z};
|
|
13
|
-
//# sourceMappingURL=config-Cji73to5.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
1
|
import{A as e,E as t,p as n,v as r,y as i}from"./subsystem-BLbY429l.js";import{t as a}from"./paths-BjD3T_xq.js";import"./boolean-D15s2V33.js";import{Bo as o,Fo as s}from"./auth-profiles-C8rZRS0X.js";import{t as c}from"./command-format-CLxIPuLR.js";import"./agent-scope-DAWJwFfl.js";import{y as l}from"./session-key-C7F_iqYg.js";import{x as u}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"./paths-BfjJY2VL.js";import"./chat-envelope-Bznn2SoS.js";import{t as d}from"./links-CBnmRP9D.js";import{n as f,r as p}from"./issue-format-CN9PHzXY.js";import m from"json5";const h=[`models`,`providers`,`ollama`,`apiKey`],g=[`models`,`providers`,`ollama`];function _(e){return/^[0-9]+$/.test(e)}function v(e){let t=e.trim();if(!t)return[];let n=[],r=``,i=0;for(;i<t.length;){let a=t[i];if(a===`\\`){let e=t[i+1];e&&(r+=e),i+=2;continue}if(a===`.`){r&&n.push(r),r=``,i+=1;continue}if(a===`[`){r&&n.push(r),r=``;let a=t.indexOf(`]`,i);if(a===-1)throw Error(`Invalid path (missing "]"): ${e}`);let o=t.slice(i+1,a).trim();if(!o)throw Error(`Invalid path (empty "[]"): ${e}`);n.push(o),i=a+1;continue}r+=a,i+=1}return r&&n.push(r),n.map(e=>e.trim()).filter(Boolean)}function y(e,t){let n=e.trim();if(t.strictJson)try{return m.parse(n)}catch(e){throw Error(`Failed to parse JSON5 value: ${String(e)}`,{cause:e})}try{return m.parse(n)}catch{return e}}function b(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function x(e){return`Run \`${c(`openclaw doctor`)}\` ${e}`}function S(e){for(let t of e)if(!_(t)&&l(t))throw Error(`Invalid path segment: ${t}`)}function C(e,t){let n=e;for(let e of t){if(!n||typeof n!=`object`)return{found:!1};if(Array.isArray(n)){if(!_(e))return{found:!1};let t=Number.parseInt(e,10);if(!Number.isFinite(t)||t<0||t>=n.length)return{found:!1};n=n[t];continue}let t=n;if(!b(t,e))return{found:!1};n=t[e]}return{found:!0,value:n}}function w(e,t,n){let r=e;for(let e=0;e<t.length-1;e+=1){let n=t[e],i=t[e+1],a=!!(i&&_(i));if(Array.isArray(r)){if(!_(n))throw Error(`Expected numeric index for array segment "${n}"`);let e=Number.parseInt(n,10),t=r[e];(!t||typeof t!=`object`)&&(r[e]=a?[]:{}),r=r[e];continue}if(!r||typeof r!=`object`)throw Error(`Cannot traverse into "${n}" (not an object)`);let o=r,s=b(o,n)?o[n]:void 0;(!s||typeof s!=`object`)&&(o[n]=a?[]:{}),r=o[n]}let i=t[t.length-1];if(Array.isArray(r)){if(!_(i))throw Error(`Expected numeric index for array segment "${i}"`);let e=Number.parseInt(i,10);r[e]=n;return}if(!r||typeof r!=`object`)throw Error(`Cannot set "${i}" (parent is not an object)`);r[i]=n}function T(e,t){let n=e;for(let e=0;e<t.length-1;e+=1){let r=t[e];if(!n||typeof n!=`object`)return!1;if(Array.isArray(n)){if(!_(r))return!1;let e=Number.parseInt(r,10);if(!Number.isFinite(e)||e<0||e>=n.length)return!1;n=n[e];continue}let i=n;if(!b(i,r))return!1;n=i[r]}let r=t[t.length-1];if(Array.isArray(n)){if(!_(r))return!1;let e=Number.parseInt(r,10);return!Number.isFinite(e)||e<0||e>=n.length?!1:(n.splice(e,1),!0)}if(!n||typeof n!=`object`)return!1;let i=n;return b(i,r)?(delete i[r],!0):!1}async function E(e=n){let t=await s();if(t.valid)return t;e.error(`Config invalid at ${u(t.path)}.`);for(let n of f(t.issues,`-`,{normalizeRoot:!0}))e.error(n);return e.error(x(`to repair, then retry.`)),e.exit(1),t}function D(e){let t=v(e);if(t.length===0)throw Error(`Path is empty.`);return S(t),t}function O(e,t){return e.length===t.length&&e.every((e,n)=>e===t[n])}function k(e,t){O(t,h)&&(C(e,g).found||w(e,g,{baseUrl:`http://127.0.0.1:11434`,api:`ollama`,models:[]}))}async function A(e){let t=e.runtime??n;try{let n=D(e.path),i=(await E(t)).config,a=C(i,n);if(!a.found){t.error(r(`Config path not found: ${e.path}`)),t.exit(1);return}if(e.json){t.log(JSON.stringify(a.value??null,null,2));return}if(typeof a.value==`string`||typeof a.value==`number`||typeof a.value==`boolean`){t.log(String(a.value));return}t.log(JSON.stringify(a.value??null,null,2))}catch(e){t.error(r(String(e))),t.exit(1)}}async function j(e){let t=e.runtime??n;try{let n=D(e.path),a=await E(t),s=structuredClone(a.resolved);if(!T(s,n)){t.error(r(`Config path not found: ${e.path}`)),t.exit(1);return}await o(s,{unsetPaths:[n]}),t.log(i(`Removed ${e.path}. Restart the gateway to apply.`))}catch(e){t.error(r(String(e))),t.exit(1)}}async function M(e){let t=e.runtime??n;try{let e=await s();t.log(u(e.path))}catch(e){t.error(r(String(e))),t.exit(1)}}async function N(e={}){let i=e.runtime??n,o=a??`openclaw.json`;try{let n=await s();o=n.path;let a=u(o);if(!n.exists){e.json?i.log(JSON.stringify({valid:!1,path:o,error:`file not found`})):i.error(r(`Config file not found: ${a}`)),i.exit(1);return}if(!n.valid){let t=p(n.issues);if(e.json)i.log(JSON.stringify({valid:!1,path:o,issues:t},null,2));else{i.error(r(`Config invalid at ${a}:`));for(let e of f(t,r(`×`),{normalizeRoot:!0}))i.error(` ${e}`);i.error(``),i.error(x(`to repair, or fix the keys above manually.`))}i.exit(1);return}e.json?i.log(JSON.stringify({valid:!0,path:o})):i.log(t(`Config valid: ${a}`))}catch(t){e.json?i.log(JSON.stringify({valid:!1,path:o,error:String(t)})):i.error(r(`Config validation error: ${String(t)}`)),i.exit(1)}}function P(t){let a=t.command(`config`).description(`Non-interactive config helpers (get/set/unset/file/validate). Run without subcommand for the setup wizard.`).addHelpText(`after`,()=>`\n${e.muted(`Docs:`)} ${d(`/cli/config`,`docs.openclaw.ai/cli/config`)}\n`).option(`--section <section>`,`Configure wizard sections (repeatable). Use with no subcommand.`,(e,t)=>[...t,e],[]).action(async e=>{let{configureCommandFromSectionsArg:t}=await import(`./configure-DFlnM_zh.js`);await t(e.section,n)});a.command(`get`).description(`Get a config value by dot path`).argument(`<path>`,`Config path (dot or bracket notation)`).option(`--json`,`Output JSON`,!1).action(async(e,t)=>{await A({path:e,json:!!t.json})}),a.command(`set`).description(`Set a config value by dot path`).argument(`<path>`,`Config path (dot or bracket notation)`).argument(`<value>`,`Value (JSON5 or raw string)`).option(`--strict-json`,`Strict JSON5 parsing (error instead of raw string fallback)`,!1).option(`--json`,`Legacy alias for --strict-json`,!1).action(async(e,t,a)=>{try{let r=D(e),s=y(t,{strictJson:!!(a.strictJson||a.json)}),c=await E(),l=structuredClone(c.resolved);k(l,r),w(l,r,s),await o(l),n.log(i(`Updated ${e}. Restart the gateway to apply.`))}catch(e){n.error(r(String(e))),n.exit(1)}}),a.command(`unset`).description(`Remove a config value by dot path`).argument(`<path>`,`Config path (dot or bracket notation)`).action(async e=>{await j({path:e})}),a.command(`file`).description(`Print the active config file path`).action(async()=>{await M({})}),a.command(`validate`).description(`Validate the current config against the schema without starting the gateway`).option(`--json`,`Output validation result as JSON`,!1).action(async e=>{await N({json:!!e.json})})}export{P as registerConfigCli,A as runConfigGet,j as runConfigUnset};
|
|
2
|
-
//# sourceMappingURL=config-cli-CwW76_j_.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
1
|
import{t as e}from"./paths-B4IRk3wi.js";import{A as t,E as n,p as r,v as i,y as a}from"./subsystem-C5XF2Fy5.js";import{S as o}from"./utils-UGOV_184.js";import{Zs as s,nc as c}from"./model-selection-BLbnMb5E.js";import"./agent-scope-DXZc3eNT.js";import{y as l}from"./session-key-D3P0tf5P.js";import"./openclaw-root-D_0Q6--h.js";import"./github-copilot-token-DGYAlOmV.js";import{t as u}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"./paths-yLEk_25I.js";import"./chat-envelope-HVpKusFc.js";import{t as d}from"./links-CySwdMcF.js";import{n as f,r as p}from"./issue-format-BtMzMXtZ.js";import m from"json5";const h=[`models`,`providers`,`ollama`,`apiKey`],g=[`models`,`providers`,`ollama`];function _(e){return/^[0-9]+$/.test(e)}function v(e){let t=e.trim();if(!t)return[];let n=[],r=``,i=0;for(;i<t.length;){let a=t[i];if(a===`\\`){let e=t[i+1];e&&(r+=e),i+=2;continue}if(a===`.`){r&&n.push(r),r=``,i+=1;continue}if(a===`[`){r&&n.push(r),r=``;let a=t.indexOf(`]`,i);if(a===-1)throw Error(`Invalid path (missing "]"): ${e}`);let o=t.slice(i+1,a).trim();if(!o)throw Error(`Invalid path (empty "[]"): ${e}`);n.push(o),i=a+1;continue}r+=a,i+=1}return r&&n.push(r),n.map(e=>e.trim()).filter(Boolean)}function y(e,t){let n=e.trim();if(t.strictJson)try{return m.parse(n)}catch(e){throw Error(`Failed to parse JSON5 value: ${String(e)}`,{cause:e})}try{return m.parse(n)}catch{return e}}function b(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function x(e){return`Run \`${u(`openclaw doctor`)}\` ${e}`}function S(e){for(let t of e)if(!_(t)&&l(t))throw Error(`Invalid path segment: ${t}`)}function C(e,t){let n=e;for(let e of t){if(!n||typeof n!=`object`)return{found:!1};if(Array.isArray(n)){if(!_(e))return{found:!1};let t=Number.parseInt(e,10);if(!Number.isFinite(t)||t<0||t>=n.length)return{found:!1};n=n[t];continue}let t=n;if(!b(t,e))return{found:!1};n=t[e]}return{found:!0,value:n}}function w(e,t,n){let r=e;for(let e=0;e<t.length-1;e+=1){let n=t[e],i=t[e+1],a=!!(i&&_(i));if(Array.isArray(r)){if(!_(n))throw Error(`Expected numeric index for array segment "${n}"`);let e=Number.parseInt(n,10),t=r[e];(!t||typeof t!=`object`)&&(r[e]=a?[]:{}),r=r[e];continue}if(!r||typeof r!=`object`)throw Error(`Cannot traverse into "${n}" (not an object)`);let o=r,s=b(o,n)?o[n]:void 0;(!s||typeof s!=`object`)&&(o[n]=a?[]:{}),r=o[n]}let i=t[t.length-1];if(Array.isArray(r)){if(!_(i))throw Error(`Expected numeric index for array segment "${i}"`);let e=Number.parseInt(i,10);r[e]=n;return}if(!r||typeof r!=`object`)throw Error(`Cannot set "${i}" (parent is not an object)`);r[i]=n}function T(e,t){let n=e;for(let e=0;e<t.length-1;e+=1){let r=t[e];if(!n||typeof n!=`object`)return!1;if(Array.isArray(n)){if(!_(r))return!1;let e=Number.parseInt(r,10);if(!Number.isFinite(e)||e<0||e>=n.length)return!1;n=n[e];continue}let i=n;if(!b(i,r))return!1;n=i[r]}let r=t[t.length-1];if(Array.isArray(n)){if(!_(r))return!1;let e=Number.parseInt(r,10);return!Number.isFinite(e)||e<0||e>=n.length?!1:(n.splice(e,1),!0)}if(!n||typeof n!=`object`)return!1;let i=n;return b(i,r)?(delete i[r],!0):!1}async function E(e=r){let t=await s();if(t.valid)return t;e.error(`Config invalid at ${o(t.path)}.`);for(let n of f(t.issues,`-`,{normalizeRoot:!0}))e.error(n);return e.error(x(`to repair, then retry.`)),e.exit(1),t}function D(e){let t=v(e);if(t.length===0)throw Error(`Path is empty.`);return S(t),t}function O(e,t){return e.length===t.length&&e.every((e,n)=>e===t[n])}function k(e,t){O(t,h)&&(C(e,g).found||w(e,g,{baseUrl:`http://127.0.0.1:11434`,api:`ollama`,models:[]}))}async function A(e){let t=e.runtime??r;try{let n=D(e.path),r=(await E(t)).config,a=C(r,n);if(!a.found){t.error(i(`Config path not found: ${e.path}`)),t.exit(1);return}if(e.json){t.log(JSON.stringify(a.value??null,null,2));return}if(typeof a.value==`string`||typeof a.value==`number`||typeof a.value==`boolean`){t.log(String(a.value));return}t.log(JSON.stringify(a.value??null,null,2))}catch(e){t.error(i(String(e))),t.exit(1)}}async function j(e){let t=e.runtime??r;try{let n=D(e.path),r=await E(t),o=structuredClone(r.resolved);if(!T(o,n)){t.error(i(`Config path not found: ${e.path}`)),t.exit(1);return}await c(o,{unsetPaths:[n]}),t.log(a(`Removed ${e.path}. Restart the gateway to apply.`))}catch(e){t.error(i(String(e))),t.exit(1)}}async function M(e){let t=e.runtime??r;try{let e=await s();t.log(o(e.path))}catch(e){t.error(i(String(e))),t.exit(1)}}async function N(t={}){let a=t.runtime??r,c=e??`openclaw.json`;try{let e=await s();c=e.path;let r=o(c);if(!e.exists){t.json?a.log(JSON.stringify({valid:!1,path:c,error:`file not found`})):a.error(i(`Config file not found: ${r}`)),a.exit(1);return}if(!e.valid){let n=p(e.issues);if(t.json)a.log(JSON.stringify({valid:!1,path:c,issues:n},null,2));else{a.error(i(`Config invalid at ${r}:`));for(let e of f(n,i(`×`),{normalizeRoot:!0}))a.error(` ${e}`);a.error(``),a.error(x(`to repair, or fix the keys above manually.`))}a.exit(1);return}t.json?a.log(JSON.stringify({valid:!0,path:c})):a.log(n(`Config valid: ${r}`))}catch(e){t.json?a.log(JSON.stringify({valid:!1,path:c,error:String(e)})):a.error(i(`Config validation error: ${String(e)}`)),a.exit(1)}}function P(e){let n=e.command(`config`).description(`Non-interactive config helpers (get/set/unset/file/validate). Run without subcommand for the setup wizard.`).addHelpText(`after`,()=>`\n${t.muted(`Docs:`)} ${d(`/cli/config`,`docs.openclaw.ai/cli/config`)}\n`).option(`--section <section>`,`Configure wizard sections (repeatable). Use with no subcommand.`,(e,t)=>[...t,e],[]).action(async e=>{let{configureCommandFromSectionsArg:t}=await import(`./configure--c4tTVPz.js`);await t(e.section,r)});n.command(`get`).description(`Get a config value by dot path`).argument(`<path>`,`Config path (dot or bracket notation)`).option(`--json`,`Output JSON`,!1).action(async(e,t)=>{await A({path:e,json:!!t.json})}),n.command(`set`).description(`Set a config value by dot path`).argument(`<path>`,`Config path (dot or bracket notation)`).argument(`<value>`,`Value (JSON5 or raw string)`).option(`--strict-json`,`Strict JSON5 parsing (error instead of raw string fallback)`,!1).option(`--json`,`Legacy alias for --strict-json`,!1).action(async(e,t,n)=>{try{let i=D(e),o=y(t,{strictJson:!!(n.strictJson||n.json)}),s=await E(),l=structuredClone(s.resolved);k(l,i),w(l,i,o),await c(l),r.log(a(`Updated ${e}. Restart the gateway to apply.`))}catch(e){r.error(i(String(e))),r.exit(1)}}),n.command(`unset`).description(`Remove a config value by dot path`).argument(`<path>`,`Config path (dot or bracket notation)`).action(async e=>{await j({path:e})}),n.command(`file`).description(`Print the active config file path`).action(async()=>{await M({})}),n.command(`validate`).description(`Validate the current config against the schema without starting the gateway`).option(`--json`,`Output validation result as JSON`,!1).action(async e=>{await N({json:!!e.json})})}export{P as registerConfigCli};
|
|
2
|
-
//# sourceMappingURL=config-cli-F-lkPjjz.js.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import"./paths-B4IRk3wi.js";import{A as e,O as t,X as n,k as r}from"./subsystem-C5XF2Fy5.js";import{S as i}from"./utils-UGOV_184.js";import{Zs as a}from"./model-selection-BLbnMb5E.js";import"./agent-scope-DXZc3eNT.js";import"./openclaw-root-D_0Q6--h.js";import"./github-copilot-token-DGYAlOmV.js";import{t as o}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"./paths-yLEk_25I.js";import"./chat-envelope-HVpKusFc.js";import"./pairing-store-EmfFQVcs.js";import"./call-JB-cGR9n.js";import"./exec-approvals-allowlist-B-Yf6RsU.js";import"./exec-safe-bin-runtime-policy-CRPHdPbF.js";import"./plugin-auto-enable-CTgkkJK7.js";import"./runtime-web-tools-C4F6aaRh.js";import"./command-secret-targets-CfXtLkLF.js";import"./prompt-style-CXKekIBY.js";import"./note-D4GAwgha.js";import{n as s}from"./issue-format-BtMzMXtZ.js";import{t as c}from"./doctor-config-flow-BVpr8-q9.js";const l=new Set([`doctor`,`logs`,`health`,`help`,`status`]),u=new Set([`status`,`probe`,`health`,`discover`,`call`,`install`,`uninstall`,`start`,`stop`,`restart`]);let d=!1,f=null;function p(){d=!1,f=null}async function m(){return process.env.VITEST===`true`?a():(f??=a(),f)}async function h(a){let f=a.commandPath??[];if(!d&&n(f)){d=!0;let e=async()=>c({options:{nonInteractive:!0},confirm:async()=>!1});if(!a.suppressDoctorStdout)await e();else{let t=process.stdout.write.bind(process.stdout),n=process.env.OPENCLAW_SUPPRESS_NOTES;process.stdout.write=(()=>!0),process.env.OPENCLAW_SUPPRESS_NOTES=`1`;try{await e()}finally{process.stdout.write=t,n===void 0?delete process.env.OPENCLAW_SUPPRESS_NOTES:process.env.OPENCLAW_SUPPRESS_NOTES=n}}}let p=await m(),h=f[0],g=f[1],_=h?l.has(h)||h===`gateway`&&g&&u.has(g):!1,v=p.exists&&!p.valid?s(p.issues,`-`,{normalizeRoot:!0}):[],y=p.legacyIssues.length>0?s(p.legacyIssues,`-`):[];if(!(p.exists&&!p.valid))return;let b=r(),x=n=>t(b,e.muted,n),S=n=>t(b,e.error,n);a.runtime.error((n=>t(b,e.heading,n))(`Config invalid`)),a.runtime.error(`${x(`File:`)} ${x(i(p.path))}`),v.length>0&&(a.runtime.error(x(`Problem:`)),a.runtime.error(v.map(e=>` ${S(e)}`).join(`
|
|
2
2
|
`))),y.length>0&&(a.runtime.error(x(`Legacy config keys detected:`)),a.runtime.error(y.map(e=>` ${S(e)}`).join(`
|
|
3
3
|
`))),a.runtime.error(``),a.runtime.error(`${x(`Run:`)} ${(n=>t(b,e.command,n))(o(`openclaw doctor --fix`))}`),_||a.runtime.exit(1)}const g={resetConfigGuardStateForTests:p};export{g as __test__,h as ensureConfigReady};
|
|
4
|
-
//# sourceMappingURL=config-guard-0_afzaJz.js.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
import{t as e}from"./rolldown-runtime-CNxR59P3.js";import{A as t,O as n,k as r,tt as i}from"./subsystem-BLbY429l.js";import{Fo as a}from"./auth-profiles-C8rZRS0X.js";import{t as o}from"./command-format-CLxIPuLR.js";import{x as s}from"./utils-CGdo13HV.js";import{n as c}from"./issue-format-CN9PHzXY.js";import{t as l}from"./doctor-config-flow-Dio3s4x6.js";var u=e({__test__:()=>v,ensureConfigReady:()=>_});const d=new Set([`doctor`,`logs`,`health`,`help`,`status`]),f=new Set([`status`,`probe`,`health`,`discover`,`call`,`install`,`uninstall`,`start`,`stop`,`restart`]);let p=!1,m=null;function h(){p=!1,m=null}async function g(){return process.env.VITEST===`true`?a():(m??=a(),m)}async function _(e){let a=e.commandPath??[];if(!p&&i(a)){p=!0;let t=async()=>l({options:{nonInteractive:!0},confirm:async()=>!1});if(!e.suppressDoctorStdout)await t();else{let e=process.stdout.write.bind(process.stdout),n=process.env.OPENCLAW_SUPPRESS_NOTES;process.stdout.write=(()=>!0),process.env.OPENCLAW_SUPPRESS_NOTES=`1`;try{await t()}finally{process.stdout.write=e,n===void 0?delete process.env.OPENCLAW_SUPPRESS_NOTES:process.env.OPENCLAW_SUPPRESS_NOTES=n}}}let u=await g(),m=a[0],h=a[1],_=m?d.has(m)||m===`gateway`&&h&&f.has(h):!1,v=u.exists&&!u.valid?c(u.issues,`-`,{normalizeRoot:!0}):[],y=u.legacyIssues.length>0?c(u.legacyIssues,`-`):[];if(!(u.exists&&!u.valid))return;let b=r(),x=e=>n(b,t.muted,e),S=e=>n(b,t.error,e);e.runtime.error((e=>n(b,t.heading,e))(`Config invalid`)),e.runtime.error(`${x(`File:`)} ${x(s(u.path))}`),v.length>0&&(e.runtime.error(x(`Problem:`)),e.runtime.error(v.map(e=>` ${S(e)}`).join(`
|
|
2
2
|
`))),y.length>0&&(e.runtime.error(x(`Legacy config keys detected:`)),e.runtime.error(y.map(e=>` ${S(e)}`).join(`
|
|
3
3
|
`))),e.runtime.error(``),e.runtime.error(`${x(`Run:`)} ${(e=>n(b,t.command,e))(o(`openclaw doctor --fix`))}`),_||e.runtime.exit(1)}const v={resetConfigGuardStateForTests:h};export{_ as n,u as t};
|
|
4
|
-
//# sourceMappingURL=config-guard-CqUJ8uaF.js.map
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import{Fo as e}from"./auth-profiles-C8rZRS0X.js";import{t}from"./command-format-CLxIPuLR.js";import{c as n,g as r}from"./session-key-C7F_iqYg.js";import{lt as i,r as a,t as o,x as s,y as c}from"./plugins-DNlgeTTc.js";import{n as l}from"./issue-format-CN9PHzXY.js";function u(e){let t=e.accountId?.trim()||`default`;return[d(e),t].join(`|`)}function d(e){let t=Array.isArray(e.roles)?Array.from(new Set(e.roles.map(e=>e.trim()).filter(Boolean).toSorted())):[];return[e.channel,e.peer?.kind??``,e.peer?.id??``,e.guildId??``,e.teamId??``,t.join(`,`)].join(`|`)}function f(e){return!e.incoming.match.accountId?.trim()||e.existing.match.accountId?.trim()||n(e.existing.agentId)!==e.normalizedIncomingAgentId?!1:d(e.existing.match)===d(e.incoming.match)}function p(e){let t=e.match,n=[t.channel];return t.accountId&&n.push(`accountId=${t.accountId}`),t.peer&&n.push(`peer=${t.peer.kind}:${t.peer.id}`),t.guildId&&n.push(`guild=${t.guildId}`),t.teamId&&n.push(`team=${t.teamId}`),n.join(` `)}function m(e,t){let r=[...s(e)],i=(e.bindings??[]).filter(e=>!c(e)),a=new Map;for(let e of r){let t=u(e.match);a.has(t)||a.set(t,n(e.agentId))}let o=[],l=[],d=[],p=[];for(let e of t){let t=n(e.agentId),i=u(e.match),s=a.get(i);if(s){s===t?d.push(e):p.push({binding:e,existingAgentId:s});continue}let c=r.findIndex(n=>f({existing:n,incoming:e,normalizedIncomingAgentId:t}));if(c>=0){let n=r[c];if(!n)continue;let i=u(n.match),o={...n,agentId:t,match:{...n.match,accountId:e.match.accountId?.trim()}};r[c]=o,a.delete(i),a.set(u(o.match),t),l.push(o);continue}a.set(i,t),o.push({...e,agentId:t})}return o.length===0&&l.length===0?{config:e,added:o,updated:l,skipped:d,conflicts:p}:{config:{...e,bindings:[...r,...o,...i]},added:o,updated:l,skipped:d,conflicts:p}}function h(e,t){let r=s(e),i=(e.bindings??[]).filter(e=>!c(e)),a=new Set,o=[],l=[],d=[];for(let e of t){let t=n(e.agentId),i=u(e.match),s=-1,c=null;for(let e=0;e<r.length;e+=1){if(a.has(e))continue;let o=r[e];if(!o||u(o.match)!==i)continue;let l=n(o.agentId);if(l===t){s=e;break}c=l}if(s>=0){let e=r[s];e&&(a.add(s),o.push(e));continue}if(c){d.push({binding:e,existingAgentId:c});continue}l.push(e)}if(a.size===0)return{config:e,removed:o,missing:l,conflicts:d};let f=[...r.filter((e,t)=>!a.has(t)),...i];return{config:{...e,bindings:f.length>0?f:void 0},removed:o,missing:l,conflicts:d}}function g(e,t){let n=o(t);return n?i({plugin:n,cfg:e}):r}function _(e){let t=e.explicitAccountId?.trim();if(t)return t;let n=o(e.channel),r=n?.setup?.resolveBindingAccountId?.({cfg:e.config,agentId:e.agentId});if(r?.trim())return r.trim();if(n?.meta.forceAccountBinding)return g(e.config,e.channel)}function v(e){let t=[],r=n(e.agentId);for(let n of e.selection){let i={channel:n},a=_({channel:n,config:e.config,agentId:r,explicitAccountId:e.accountIds?.[n]});a&&(i.accountId=a),t.push({type:`route`,agentId:r,match:i})}return t}function y(e){let t=[],r=[],i=e.specs??[],o=n(e.agentId);for(let n of i){let i=n?.trim();if(!i)continue;let[s,c]=i.split(`:`,2),l=a(s);if(!l){r.push(`Unknown channel "${s}".`);continue}let u=c?.trim();if(c!==void 0&&!u){r.push(`Invalid binding "${i}" (empty account id).`);continue}u=_({channel:l,config:e.config,agentId:o,explicitAccountId:u});let d={channel:l};u&&(d.accountId=u),t.push({type:`route`,agentId:o,match:d})}return{bindings:t,errors:r}}async function b(n){let r=await e();if(r.exists&&!r.valid){let e=r.issues.length>0?l(r.issues,`-`).join(`
|
|
2
2
|
`):`Unknown validation issue.`;return n.error(`Config invalid:\n${e}`),n.error(`Fix the config or run ${t(`openclaw doctor`)}.`),n.exit(1),null}return r.config}export{y as a,p as i,m as n,h as o,v as r,b as t};
|
|
3
|
-
//# sourceMappingURL=config-validation-6hk_fxD8.js.map
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import{Zs as e}from"./model-selection-BLbnMb5E.js";import{c as t,g as n}from"./session-key-D3P0tf5P.js";import{t as r}from"./command-format-BbDT1tlm.js";import{lt as i,r as a,t as o,x as s,y as c}from"./plugins-CYLrFT4h.js";import{n as l}from"./issue-format-BtMzMXtZ.js";function u(e){let t=e.accountId?.trim()||`default`;return[d(e),t].join(`|`)}function d(e){let t=Array.isArray(e.roles)?Array.from(new Set(e.roles.map(e=>e.trim()).filter(Boolean).toSorted())):[];return[e.channel,e.peer?.kind??``,e.peer?.id??``,e.guildId??``,e.teamId??``,t.join(`,`)].join(`|`)}function f(e){return!e.incoming.match.accountId?.trim()||e.existing.match.accountId?.trim()||t(e.existing.agentId)!==e.normalizedIncomingAgentId?!1:d(e.existing.match)===d(e.incoming.match)}function p(e){let t=e.match,n=[t.channel];return t.accountId&&n.push(`accountId=${t.accountId}`),t.peer&&n.push(`peer=${t.peer.kind}:${t.peer.id}`),t.guildId&&n.push(`guild=${t.guildId}`),t.teamId&&n.push(`team=${t.teamId}`),n.join(` `)}function m(e,n){let r=[...s(e)],i=(e.bindings??[]).filter(e=>!c(e)),a=new Map;for(let e of r){let n=u(e.match);a.has(n)||a.set(n,t(e.agentId))}let o=[],l=[],d=[],p=[];for(let e of n){let n=t(e.agentId),i=u(e.match),s=a.get(i);if(s){s===n?d.push(e):p.push({binding:e,existingAgentId:s});continue}let c=r.findIndex(t=>f({existing:t,incoming:e,normalizedIncomingAgentId:n}));if(c>=0){let t=r[c];if(!t)continue;let i=u(t.match),o={...t,agentId:n,match:{...t.match,accountId:e.match.accountId?.trim()}};r[c]=o,a.delete(i),a.set(u(o.match),n),l.push(o);continue}a.set(i,n),o.push({...e,agentId:n})}return o.length===0&&l.length===0?{config:e,added:o,updated:l,skipped:d,conflicts:p}:{config:{...e,bindings:[...r,...o,...i]},added:o,updated:l,skipped:d,conflicts:p}}function h(e,n){let r=s(e),i=(e.bindings??[]).filter(e=>!c(e)),a=new Set,o=[],l=[],d=[];for(let e of n){let n=t(e.agentId),i=u(e.match),s=-1,c=null;for(let e=0;e<r.length;e+=1){if(a.has(e))continue;let o=r[e];if(!o||u(o.match)!==i)continue;let l=t(o.agentId);if(l===n){s=e;break}c=l}if(s>=0){let e=r[s];e&&(a.add(s),o.push(e));continue}if(c){d.push({binding:e,existingAgentId:c});continue}l.push(e)}if(a.size===0)return{config:e,removed:o,missing:l,conflicts:d};let f=[...r.filter((e,t)=>!a.has(t)),...i];return{config:{...e,bindings:f.length>0?f:void 0},removed:o,missing:l,conflicts:d}}function g(e,t){let r=o(t);return r?i({plugin:r,cfg:e}):n}function _(e){let t=e.explicitAccountId?.trim();if(t)return t;let n=o(e.channel),r=n?.setup?.resolveBindingAccountId?.({cfg:e.config,agentId:e.agentId});if(r?.trim())return r.trim();if(n?.meta.forceAccountBinding)return g(e.config,e.channel)}function v(e){let n=[],r=t(e.agentId);for(let t of e.selection){let i={channel:t},a=_({channel:t,config:e.config,agentId:r,explicitAccountId:e.accountIds?.[t]});a&&(i.accountId=a),n.push({type:`route`,agentId:r,match:i})}return n}function y(e){let n=[],r=[],i=e.specs??[],o=t(e.agentId);for(let t of i){let i=t?.trim();if(!i)continue;let[s,c]=i.split(`:`,2),l=a(s);if(!l){r.push(`Unknown channel "${s}".`);continue}let u=c?.trim();if(c!==void 0&&!u){r.push(`Invalid binding "${i}" (empty account id).`);continue}u=_({channel:l,config:e.config,agentId:o,explicitAccountId:u});let d={channel:l};u&&(d.accountId=u),n.push({type:`route`,agentId:o,match:d})}return{bindings:n,errors:r}}async function b(t){let n=await e();if(n.exists&&!n.valid){let e=n.issues.length>0?l(n.issues,`-`).join(`
|
|
2
2
|
`):`Unknown validation issue.`;return t.error(`Config invalid:\n${e}`),t.error(`Fix the config or run ${r(`openclaw doctor`)}.`),t.exit(1),null}return n.config}export{y as a,p as i,m as n,h as o,v as r,b as t};
|
|
3
|
-
//# sourceMappingURL=config-validation-BAmmD9p4.js.map
|
|
@@ -10,4 +10,3 @@ import{t as e,u as t}from"./paths-B4IRk3wi.js";import{p as n}from"./subsystem-C5
|
|
|
10
10
|
`),`Config issues`),!a.valid){W(`Config invalid. Run \`${f(`openclaw doctor`)}\` to repair it, then re-run configure.`),r.exit(1);return}}let l=`ws://127.0.0.1:18789`,u=await Z({cfg:o,value:o.gateway?.auth?.token,path:`gateway.auth.token`}),d=await Z({cfg:o,value:o.gateway?.auth?.password,path:`gateway.auth.password`}),p=await b({url:l,token:process.env.OPENCLAW_GATEWAY_TOKEN??process.env.CLAWDBOT_GATEWAY_TOKEN??u,password:process.env.OPENCLAW_GATEWAY_PASSWORD??process.env.CLAWDBOT_GATEWAY_PASSWORD??d}),m=o.gateway?.remote?.url?.trim()??``,h=await Z({cfg:o,value:o.gateway?.remote?.token,path:`gateway.remote.token`}),_=m?await b({url:m,token:h}):null,y=S(await q({message:`Where will the Gateway run?`,options:[{value:`local`,label:`Local (this machine)`,hint:p.ok?`Gateway reachable (${l})`:`No gateway detected (${l})`},{value:`remote`,label:`Remote (info-only)`,hint:m?_?.ok?`Gateway reachable (${m})`:`Configured but unreachable (${m})`:`No remote URL configured yet`}]}),r);if(y===`remote`){let t=await we(o,n);t=x(t,{command:e.command,mode:y}),await c(t),B(r),W(`Remote gateway configured.`);return}let w={...o},T=!1;w.gateway?.mode!==`local`&&(w={...w,gateway:{...w.gateway,mode:`local`}},T=!0);let E=w.agents?.defaults?.workspace??o.agents?.defaults?.workspace??C,D=t(o),O=async()=>{w=x(w,{command:e.command,mode:y}),await c(w),B(r)},k=async()=>{let e=S(await G({message:`Workspace directory`,initialValue:E}),r);if(E=i(String(e??``).trim()||C),!a.exists){let e=[`MEMORY.md`,`memory`,`.git`].map(e=>Te.join(E,e));(await Promise.all(e.map(async e=>{try{return await Ee.access(e),!0}catch{return!1}}))).some(Boolean)&&A([`Existing workspace detected at ${E}`,`Existing files are preserved. Missing templates may be created, never overwritten.`].join(`
|
|
11
11
|
`),`Existing workspace`)}w={...w,agents:{...w.agents,defaults:{...w.agents?.defaults,workspace:E}}},await g(E,r)},j=async()=>{await ie({cfg:w,prompter:n}),w=await ze(r)===`configure`?await re(w,r,n,{allowDisable:!0,allowSignalInstall:!0,skipConfirm:!0,skipStatusNote:!0}):await Pe(w,r)},M=async()=>{let e=S(await G({message:`Gateway port for service install`,initialValue:String(D),validate:e=>Number.isFinite(Number(e))?void 0:`Invalid port`}),r);D=Number.parseInt(String(e),10)};if(e.sections){let t=e.sections;if(!t||t.length===0){W(`No changes selected.`);return}if(t.includes(`workspace`)&&await k(),t.includes(`model`)&&(w=await Y(w,r,n)),t.includes(`web`)&&(w=await $(w,r)),t.includes(`gateway`)){let e=await X(w,r);w=e.config,D=e.port}if(t.includes(`channels`)&&await j(),t.includes(`skills`)){let e=i(E);w=await V(w,e,r,n)}await O(),t.includes(`daemon`)&&(t.includes(`gateway`)||await M(),await J({runtime:r,port:D})),t.includes(`health`)&&await Q({cfg:w,runtime:r,port:D})}else{let e=!1,t=!1;for(;;){let a=await Re(r,e);if(a===`__continue`)break;if(e=!0,a===`workspace`&&(await k(),await O()),a===`model`&&(w=await Y(w,r,n),await O()),a===`web`&&(w=await $(w,r),await O()),a===`gateway`){let e=await X(w,r);w=e.config,D=e.port,t=!0,await O()}if(a===`channels`&&(await j(),await O()),a===`skills`){let e=i(E);w=await V(w,e,r,n),await O()}a===`daemon`&&(t||await M(),await J({runtime:r,port:D})),a===`health`&&await Q({cfg:w,runtime:r,port:D})}if(!e){if(T){await O(),W(`Gateway mode set to local.`);return}W(`No changes selected.`);return}}let N=await oe(r);!N.ok&&N.message&&r.error(N.message);let P=v({bind:w.gateway?.bind??`loopback`,port:D,customBindHost:w.gateway?.customBindHost,basePath:w.gateway?.controlUi?.basePath}),F=process.env.OPENCLAW_GATEWAY_PASSWORD??process.env.CLAWDBOT_GATEWAY_PASSWORD??await Z({cfg:w,value:w.gateway?.auth?.password,path:`gateway.auth.password`}),I=process.env.OPENCLAW_GATEWAY_PASSWORD??process.env.CLAWDBOT_GATEWAY_PASSWORD??await Z({cfg:o,value:o.gateway?.auth?.password,path:`gateway.auth.password`}),L=process.env.OPENCLAW_GATEWAY_TOKEN??process.env.CLAWDBOT_GATEWAY_TOKEN??await Z({cfg:w,value:w.gateway?.auth?.token,path:`gateway.auth.token`}),R=await b({url:P.wsUrl,token:L,password:F});!R.ok&&F!==I&&I&&(R=await b({url:P.wsUrl,token:L,password:I}));let z=R.ok?`Gateway: reachable`:`Gateway: not detected${R.detail?` (${R.detail})`:``}`;A([`Web UI: ${P.httpUrl}`,`Gateway WS: ${P.wsUrl}`,z,`Docs: https://docs.openclaw.ai/web/control-ui`].join(`
|
|
12
12
|
`),`Control UI`),W(`Configure complete.`)}catch(e){if(e instanceof j){r.exit(1);return}throw e}}async function Ve(e=n){await Be({command:`configure`},e)}async function He(e,t=n){await Be({command:`configure`,sections:e},t)}async function Ue(e,t=n){let{sections:r,invalid:i}=Me(e);if(r.length===0){await Ve(t);return}if(i.length>0){t.error(`Invalid --section: ${i.join(`, `)}. Expected one of: ${H.join(`, `)}.`),t.exit(1);return}await He(r,t)}export{Ue as configureCommandFromSectionsArg,H as t};
|
|
13
|
-
//# sourceMappingURL=configure--c4tTVPz.js.map
|
|
@@ -10,4 +10,3 @@ import{p as e}from"./subsystem-BLbY429l.js";import{t,u as n}from"./paths-BjD3T_x
|
|
|
10
10
|
`),`Config issues`),!o.valid){W(`Config invalid. Run \`${c(`openclaw doctor`)}\` to repair it, then re-run configure.`),a.exit(1);return}}let u=`ws://127.0.0.1:18789`,d=await Z({cfg:s,value:s.gateway?.auth?.token,path:`gateway.auth.token`}),f=await Z({cfg:s,value:s.gateway?.auth?.password,path:`gateway.auth.password`}),p=await b({url:u,token:process.env.OPENCLAW_GATEWAY_TOKEN??process.env.CLAWDBOT_GATEWAY_TOKEN??d,password:process.env.OPENCLAW_GATEWAY_PASSWORD??process.env.CLAWDBOT_GATEWAY_PASSWORD??f}),m=s.gateway?.remote?.url?.trim()??``,h=await Z({cfg:s,value:s.gateway?.remote?.token,path:`gateway.remote.token`}),_=m?await b({url:m,token:h}):null,y=S(await q({message:`Where will the Gateway run?`,options:[{value:`local`,label:`Local (this machine)`,hint:p.ok?`Gateway reachable (${u})`:`No gateway detected (${u})`},{value:`remote`,label:`Remote (info-only)`,hint:m?_?.ok?`Gateway reachable (${m})`:`Configured but unreachable (${m})`:`No remote URL configured yet`}]}),a);if(y===`remote`){let n=await we(s,e);n=x(n,{command:t.command,mode:y}),await r(n),B(a),W(`Remote gateway configured.`);return}let w={...s},T=!1;w.gateway?.mode!==`local`&&(w={...w,gateway:{...w.gateway,mode:`local`}},T=!0);let E=w.agents?.defaults?.workspace??s.agents?.defaults?.workspace??C,D=n(s),O=async()=>{w=x(w,{command:t.command,mode:y}),await r(w),B(a)},k=async()=>{let e=S(await G({message:`Workspace directory`,initialValue:E}),a);if(E=l(String(e??``).trim()||C),!o.exists){let e=[`MEMORY.md`,`memory`,`.git`].map(e=>Te.join(E,e));(await Promise.all(e.map(async e=>{try{return await Ee.access(e),!0}catch{return!1}}))).some(Boolean)&&A([`Existing workspace detected at ${E}`,`Existing files are preserved. Missing templates may be created, never overwritten.`].join(`
|
|
11
11
|
`),`Existing workspace`)}w={...w,agents:{...w.agents,defaults:{...w.agents?.defaults,workspace:E}}},await g(E,a)},j=async()=>{await ie({cfg:w,prompter:e}),w=await ze(a)===`configure`?await re(w,a,e,{allowDisable:!0,allowSignalInstall:!0,skipConfirm:!0,skipStatusNote:!0}):await Pe(w,a)},M=async()=>{let e=S(await G({message:`Gateway port for service install`,initialValue:String(D),validate:e=>Number.isFinite(Number(e))?void 0:`Invalid port`}),a);D=Number.parseInt(String(e),10)};if(t.sections){let n=t.sections;if(!n||n.length===0){W(`No changes selected.`);return}if(n.includes(`workspace`)&&await k(),n.includes(`model`)&&(w=await Y(w,a,e)),n.includes(`web`)&&(w=await $(w,a)),n.includes(`gateway`)){let e=await X(w,a);w=e.config,D=e.port}if(n.includes(`channels`)&&await j(),n.includes(`skills`)){let t=l(E);w=await V(w,t,a,e)}await O(),n.includes(`daemon`)&&(n.includes(`gateway`)||await M(),await J({runtime:a,port:D})),n.includes(`health`)&&await Q({cfg:w,runtime:a,port:D})}else{let t=!1,n=!1;for(;;){let r=await Re(a,t);if(r===`__continue`)break;if(t=!0,r===`workspace`&&(await k(),await O()),r===`model`&&(w=await Y(w,a,e),await O()),r===`web`&&(w=await $(w,a),await O()),r===`gateway`){let e=await X(w,a);w=e.config,D=e.port,n=!0,await O()}if(r===`channels`&&(await j(),await O()),r===`skills`){let t=l(E);w=await V(w,t,a,e),await O()}r===`daemon`&&(n||await M(),await J({runtime:a,port:D})),r===`health`&&await Q({cfg:w,runtime:a,port:D})}if(!t){if(T){await O(),W(`Gateway mode set to local.`);return}W(`No changes selected.`);return}}let N=await oe(a);!N.ok&&N.message&&a.error(N.message);let P=v({bind:w.gateway?.bind??`loopback`,port:D,customBindHost:w.gateway?.customBindHost,basePath:w.gateway?.controlUi?.basePath}),F=process.env.OPENCLAW_GATEWAY_PASSWORD??process.env.CLAWDBOT_GATEWAY_PASSWORD??await Z({cfg:w,value:w.gateway?.auth?.password,path:`gateway.auth.password`}),I=process.env.OPENCLAW_GATEWAY_PASSWORD??process.env.CLAWDBOT_GATEWAY_PASSWORD??await Z({cfg:s,value:s.gateway?.auth?.password,path:`gateway.auth.password`}),L=process.env.OPENCLAW_GATEWAY_TOKEN??process.env.CLAWDBOT_GATEWAY_TOKEN??await Z({cfg:w,value:w.gateway?.auth?.token,path:`gateway.auth.token`}),R=await b({url:P.wsUrl,token:L,password:F});!R.ok&&F!==I&&I&&(R=await b({url:P.wsUrl,token:L,password:I}));let z=R.ok?`Gateway: reachable`:`Gateway: not detected${R.detail?` (${R.detail})`:``}`;A([`Web UI: ${P.httpUrl}`,`Gateway WS: ${P.wsUrl}`,z,`Docs: https://docs.openclaw.ai/web/control-ui`].join(`
|
|
12
12
|
`),`Control UI`),W(`Configure complete.`)}catch(e){if(e instanceof j){a.exit(1);return}throw e}}async function Ve(t=e){await Be({command:`configure`},t)}async function He(t,n=e){await Be({command:`configure`,sections:t},n)}async function Ue(t,n=e){let{sections:r,invalid:i}=Me(t);if(r.length===0){await Ve(n);return}if(i.length>0){n.error(`Invalid --section: ${i.join(`, `)}. Expected one of: ${H.join(`, `)}.`),n.exit(1);return}await He(r,n)}export{Ue as configureCommandFromSectionsArg,H as t};
|
|
13
|
-
//# sourceMappingURL=configure-DFlnM_zh.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
1
|
import{s as e}from"./call-BWx7hNtl.js";async function t(t){return await e({config:t.config,env:t.env,explicitAuth:t.explicitAuth,urlOverride:t.urlOverride,urlOverrideSource:t.urlOverrideSource,modeOverride:t.modeOverride,includeLegacyEnv:t.includeLegacyEnv,localTokenPrecedence:t.localTokenPrecedence,localPasswordPrecedence:t.localPasswordPrecedence,remoteTokenPrecedence:t.remoteTokenPrecedence,remotePasswordPrecedence:t.remotePasswordPrecedence,remoteTokenFallback:t.remoteTokenFallback,remotePasswordFallback:t.remotePasswordFallback})}export{t};
|
|
2
|
-
//# sourceMappingURL=connection-auth-CjaeEu5D.js.map
|