@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
|
-
import{A as e,p as t}from"./subsystem-BLbY429l.js";import"./paths-BjD3T_xq.js";import"./boolean-D15s2V33.js";import"./auth-profiles-C8rZRS0X.js";import"./agent-scope-DAWJwFfl.js";import"./utils-CGdo13HV.js";import"./openclaw-root-CnsBf6ZU.js";import"./github-copilot-token-C79yeDKS.js";import"./env-overrides-DHtB4kK3.js";import"./version-q3SkUw2K.js";import"./registry-BptzrW8D.js";import"./skills-Bz_S4lPh.js";import"./frontmatter-C7mzDNxd.js";import"./plugins-DNlgeTTc.js";import"./logger-kQAOe3qp.js";import"./exec-B3eleY5O.js";import"./windows-spawn-7oINn5ao.js";import"./redact-CnRxK70G.js";import"./path-alias-guards-kY_ZbWs-.js";import"./errors-6SQWM9dj.js";import"./paths-BfjJY2VL.js";import"./chat-envelope-Bznn2SoS.js";import"./call-BWx7hNtl.js";import"./onboard-helpers-DOlI17Ac.js";import"./prompt-style-BThRSQJR.js";import{t as n}from"./links-CBnmRP9D.js";import{n as r}from"./cli-utils-BleB1eys.js";import"./progress-d1m2sqR1.js";import"./note-Dp-d_utk.js";import"./clack-prompter-DBPdGdqp.js";import"./runtime-guard-DX2Ie4ri.js";import"./onboarding.secret-input-CUD0t7Pk.js";import"./onboarding-
|
|
2
|
-
//# sourceMappingURL=register.onboard-AjrSlfCb.js.map
|
|
1
|
+
import{A as e,p as t}from"./subsystem-BLbY429l.js";import"./paths-BjD3T_xq.js";import"./boolean-D15s2V33.js";import"./auth-profiles-C8rZRS0X.js";import"./agent-scope-DAWJwFfl.js";import"./utils-CGdo13HV.js";import"./openclaw-root-CnsBf6ZU.js";import"./github-copilot-token-C79yeDKS.js";import"./env-overrides-DHtB4kK3.js";import"./version-q3SkUw2K.js";import"./registry-BptzrW8D.js";import"./skills-Bz_S4lPh.js";import"./frontmatter-C7mzDNxd.js";import"./plugins-DNlgeTTc.js";import"./logger-kQAOe3qp.js";import"./exec-B3eleY5O.js";import"./windows-spawn-7oINn5ao.js";import"./redact-CnRxK70G.js";import"./path-alias-guards-kY_ZbWs-.js";import"./errors-6SQWM9dj.js";import"./paths-BfjJY2VL.js";import"./chat-envelope-Bznn2SoS.js";import"./call-BWx7hNtl.js";import"./onboard-helpers-DOlI17Ac.js";import"./prompt-style-BThRSQJR.js";import{t as n}from"./links-CBnmRP9D.js";import{n as r}from"./cli-utils-BleB1eys.js";import"./progress-d1m2sqR1.js";import"./note-Dp-d_utk.js";import"./clack-prompter-DBPdGdqp.js";import"./runtime-guard-DX2Ie4ri.js";import"./onboarding.secret-input-CUD0t7Pk.js";import"./onboarding-CxRTJCBM.js";import"./logging-B7XHbCNn.js";import{t as i}from"./onboard-provider-auth-flags-CqbipO7D.js";import{n as a}from"./auth-choice-options-B3WQyS7I.js";import{t as o}from"./onboard-DZG0HnuP.js";function s(e,t){if(!e||typeof e!=`object`)return;let n=`getOptionValueSource`in e?e.getOptionValueSource:void 0;if(typeof n==`function`){if(n.call(e,`skipDaemon`)===`cli`)return!1;if(n.call(e,`installDaemon`)===`cli`)return!!t.installDaemon}}const c=a({includeLegacyAliases:!0,includeSkip:!0});function l(a){let l=a.command(`onboard`).description(`Interactive wizard to set up the gateway, workspace, and skills`).addHelpText(`after`,()=>`\n${e.muted(`Docs:`)} ${n(`/cli/onboard`,`docs.openclaw.ai/cli/onboard`)}\n`).option(`--workspace <dir>`,`Agent workspace directory (default: ~/.qbotclaw/workspace)`).option(`--reset`,`Reset config + credentials + sessions before running wizard (workspace only with --reset-scope full)`).option(`--reset-scope <scope>`,`Reset scope: config|config+creds+sessions|full`).option(`--non-interactive`,`Run without prompts`,!1).option(`--accept-risk`,`Acknowledge that agents are powerful and full system access is risky (required for --non-interactive)`,!1).option(`--flow <flow>`,`Wizard flow: quickstart|advanced|manual`).option(`--mode <mode>`,`Wizard mode: local|remote`).option(`--auth-choice <choice>`,`Auth: ${c}`).option(`--token-provider <id>`,`Token provider id (non-interactive; used with --auth-choice token)`).option(`--token <token>`,`Token value (non-interactive; used with --auth-choice token)`).option(`--token-profile-id <id>`,`Auth profile id (non-interactive; default: <provider>:manual)`).option(`--token-expires-in <duration>`,`Optional token expiry duration (e.g. 365d, 12h)`).option(`--secret-input-mode <mode>`,`API key persistence mode: plaintext|ref (default: plaintext)`).option(`--cloudflare-ai-gateway-account-id <id>`,`Cloudflare Account ID`).option(`--cloudflare-ai-gateway-gateway-id <id>`,`Cloudflare AI Gateway ID`);for(let e of i)l.option(e.cliOption,e.description);l.option(`--custom-base-url <url>`,`Custom provider base URL`).option(`--custom-api-key <key>`,`Custom provider API key (optional)`).option(`--custom-model-id <id>`,`Custom provider model ID`).option(`--custom-provider-id <id>`,`Custom provider ID (optional; auto-derived by default)`).option(`--custom-compatibility <mode>`,`Custom provider API compatibility: openai|anthropic (default: openai)`).option(`--gateway-port <port>`,`Gateway port`).option(`--gateway-bind <mode>`,`Gateway bind: loopback|tailnet|lan|auto|custom`).option(`--gateway-auth <mode>`,`Gateway auth: token|password`).option(`--gateway-token <token>`,`Gateway token (token auth)`).option(`--gateway-token-ref-env <name>`,`Gateway token SecretRef env var name (token auth; e.g. OPENCLAW_GATEWAY_TOKEN)`).option(`--gateway-password <password>`,`Gateway password (password auth)`).option(`--remote-url <url>`,`Remote Gateway WebSocket URL`).option(`--remote-token <token>`,`Remote Gateway token (optional)`).option(`--tailscale <mode>`,`Tailscale: off|serve|funnel`).option(`--tailscale-reset-on-exit`,`Reset tailscale serve/funnel on exit`).option(`--install-daemon`,`Install gateway service`).option(`--no-install-daemon`,`Skip gateway service install`).option(`--skip-daemon`,`Skip gateway service install`).option(`--daemon-runtime <runtime>`,`Daemon runtime: node|bun`).option(`--skip-channels`,`Skip channel setup`).option(`--skip-skills`,`Skip skills setup`).option(`--skip-search`,`Skip search provider setup`).option(`--skip-health`,`Skip health check`).option(`--skip-ui`,`Skip Control UI/TUI prompts`).option(`--node-manager <name>`,`Node manager for skills: npm|pnpm|bun`).option(`--json`,`Output JSON summary`,!1),l.action(async(e,n)=>{await r(t,async()=>{let r=s(n,{installDaemon:!!e.installDaemon}),i=typeof e.gatewayPort==`string`?Number.parseInt(e.gatewayPort,10):void 0;await o({workspace:e.workspace,nonInteractive:!!e.nonInteractive,acceptRisk:!!e.acceptRisk,flow:e.flow,mode:e.mode,authChoice:e.authChoice,tokenProvider:e.tokenProvider,token:e.token,tokenProfileId:e.tokenProfileId,tokenExpiresIn:e.tokenExpiresIn,secretInputMode:e.secretInputMode,anthropicApiKey:e.anthropicApiKey,openaiApiKey:e.openaiApiKey,mistralApiKey:e.mistralApiKey,openrouterApiKey:e.openrouterApiKey,kilocodeApiKey:e.kilocodeApiKey,aiGatewayApiKey:e.aiGatewayApiKey,cloudflareAiGatewayAccountId:e.cloudflareAiGatewayAccountId,cloudflareAiGatewayGatewayId:e.cloudflareAiGatewayGatewayId,cloudflareAiGatewayApiKey:e.cloudflareAiGatewayApiKey,moonshotApiKey:e.moonshotApiKey,kimiCodeApiKey:e.kimiCodeApiKey,geminiApiKey:e.geminiApiKey,zaiApiKey:e.zaiApiKey,xiaomiApiKey:e.xiaomiApiKey,qianfanApiKey:e.qianfanApiKey,modelstudioApiKeyCn:e.modelstudioApiKeyCn,modelstudioApiKey:e.modelstudioApiKey,minimaxApiKey:e.minimaxApiKey,syntheticApiKey:e.syntheticApiKey,veniceApiKey:e.veniceApiKey,togetherApiKey:e.togetherApiKey,huggingfaceApiKey:e.huggingfaceApiKey,opencodeZenApiKey:e.opencodeZenApiKey,opencodeGoApiKey:e.opencodeGoApiKey,xaiApiKey:e.xaiApiKey,litellmApiKey:e.litellmApiKey,volcengineApiKey:e.volcengineApiKey,byteplusApiKey:e.byteplusApiKey,customBaseUrl:e.customBaseUrl,customApiKey:e.customApiKey,customModelId:e.customModelId,customProviderId:e.customProviderId,customCompatibility:e.customCompatibility,gatewayPort:typeof i==`number`&&Number.isFinite(i)?i:void 0,gatewayBind:e.gatewayBind,gatewayAuth:e.gatewayAuth,gatewayToken:e.gatewayToken,gatewayTokenRefEnv:e.gatewayTokenRefEnv,gatewayPassword:e.gatewayPassword,remoteUrl:e.remoteUrl,remoteToken:e.remoteToken,tailscale:e.tailscale,tailscaleResetOnExit:!!e.tailscaleResetOnExit,reset:!!e.reset,resetScope:e.resetScope,installDaemon:r,daemonRuntime:e.daemonRuntime,skipChannels:!!e.skipChannels,skipSkills:!!e.skipSkills,skipSearch:!!e.skipSearch,skipHealth:!!e.skipHealth,skipUi:!!e.skipUi,nodeManager:e.nodeManager,json:!!e.json},t)})})}export{l as registerOnboardCommand};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import"./paths-B4IRk3wi.js";import{A as e,p as t}from"./subsystem-C5XF2Fy5.js";import"./utils-UGOV_184.js";import"./model-selection-BLbnMb5E.js";import"./agent-scope-DXZc3eNT.js";import"./openclaw-root-D_0Q6--h.js";import"./github-copilot-token-DGYAlOmV.js";import"./boolean-Ch3DfXPy.js";import"./env-D7wNuBx1.js";import"./env-overrides-DXJbFrwI.js";import"./registry-hFAtCSWG.js";import"./skills-CzUpDbU-.js";import"./frontmatter-BkZkwkVO.js";import"./plugins-CYLrFT4h.js";import"./logger-Bl8URnrW.js";import"./exec-DHqLtFYt.js";import"./windows-spawn-AB7ItGAE.js";import"./redact-3_CiXMY6.js";import"./path-alias-guards-mvyLCPlN.js";import"./errors-Bunti32V.js";import"./paths-yLEk_25I.js";import"./chat-envelope-HVpKusFc.js";import"./call-JB-cGR9n.js";import"./onboard-helpers-D90u4wVK.js";import"./prompt-style-CXKekIBY.js";import{t as n}from"./links-CySwdMcF.js";import{n as r}from"./cli-utils-BY7dLMFy.js";import"./progress-LNttnI-y.js";import"./runtime-guard-DFYBaYZS.js";import"./note-D4GAwgha.js";import"./clack-prompter-Dq0aY6iM.js";import"./onboarding.secret-input-BSmFS1Px.js";import"./onboarding-
|
|
2
|
-
//# sourceMappingURL=register.onboard-zCG1PNWc.js.map
|
|
1
|
+
import"./paths-B4IRk3wi.js";import{A as e,p as t}from"./subsystem-C5XF2Fy5.js";import"./utils-UGOV_184.js";import"./model-selection-BLbnMb5E.js";import"./agent-scope-DXZc3eNT.js";import"./openclaw-root-D_0Q6--h.js";import"./github-copilot-token-DGYAlOmV.js";import"./boolean-Ch3DfXPy.js";import"./env-D7wNuBx1.js";import"./env-overrides-DXJbFrwI.js";import"./registry-hFAtCSWG.js";import"./skills-CzUpDbU-.js";import"./frontmatter-BkZkwkVO.js";import"./plugins-CYLrFT4h.js";import"./logger-Bl8URnrW.js";import"./exec-DHqLtFYt.js";import"./windows-spawn-AB7ItGAE.js";import"./redact-3_CiXMY6.js";import"./path-alias-guards-mvyLCPlN.js";import"./errors-Bunti32V.js";import"./paths-yLEk_25I.js";import"./chat-envelope-HVpKusFc.js";import"./call-JB-cGR9n.js";import"./onboard-helpers-D90u4wVK.js";import"./prompt-style-CXKekIBY.js";import{t as n}from"./links-CySwdMcF.js";import{n as r}from"./cli-utils-BY7dLMFy.js";import"./progress-LNttnI-y.js";import"./runtime-guard-DFYBaYZS.js";import"./note-D4GAwgha.js";import"./clack-prompter-Dq0aY6iM.js";import"./onboarding.secret-input-BSmFS1Px.js";import"./onboarding-m-m__16h.js";import"./logging-CbMVr2MA.js";import{t as i}from"./onboard-provider-auth-flags-Dvwzdz37.js";import{n as a}from"./auth-choice-options-Dw14noox.js";import{t as o}from"./onboard-DlCEww7K.js";function s(e,t){if(!e||typeof e!=`object`)return;let n=`getOptionValueSource`in e?e.getOptionValueSource:void 0;if(typeof n==`function`){if(n.call(e,`skipDaemon`)===`cli`)return!1;if(n.call(e,`installDaemon`)===`cli`)return!!t.installDaemon}}const c=a({includeLegacyAliases:!0,includeSkip:!0});function l(a){let l=a.command(`onboard`).description(`Interactive wizard to set up the gateway, workspace, and skills`).addHelpText(`after`,()=>`\n${e.muted(`Docs:`)} ${n(`/cli/onboard`,`docs.openclaw.ai/cli/onboard`)}\n`).option(`--workspace <dir>`,`Agent workspace directory (default: ~/.qbotclaw/workspace)`).option(`--reset`,`Reset config + credentials + sessions before running wizard (workspace only with --reset-scope full)`).option(`--reset-scope <scope>`,`Reset scope: config|config+creds+sessions|full`).option(`--non-interactive`,`Run without prompts`,!1).option(`--accept-risk`,`Acknowledge that agents are powerful and full system access is risky (required for --non-interactive)`,!1).option(`--flow <flow>`,`Wizard flow: quickstart|advanced|manual`).option(`--mode <mode>`,`Wizard mode: local|remote`).option(`--auth-choice <choice>`,`Auth: ${c}`).option(`--token-provider <id>`,`Token provider id (non-interactive; used with --auth-choice token)`).option(`--token <token>`,`Token value (non-interactive; used with --auth-choice token)`).option(`--token-profile-id <id>`,`Auth profile id (non-interactive; default: <provider>:manual)`).option(`--token-expires-in <duration>`,`Optional token expiry duration (e.g. 365d, 12h)`).option(`--secret-input-mode <mode>`,`API key persistence mode: plaintext|ref (default: plaintext)`).option(`--cloudflare-ai-gateway-account-id <id>`,`Cloudflare Account ID`).option(`--cloudflare-ai-gateway-gateway-id <id>`,`Cloudflare AI Gateway ID`);for(let e of i)l.option(e.cliOption,e.description);l.option(`--custom-base-url <url>`,`Custom provider base URL`).option(`--custom-api-key <key>`,`Custom provider API key (optional)`).option(`--custom-model-id <id>`,`Custom provider model ID`).option(`--custom-provider-id <id>`,`Custom provider ID (optional; auto-derived by default)`).option(`--custom-compatibility <mode>`,`Custom provider API compatibility: openai|anthropic (default: openai)`).option(`--gateway-port <port>`,`Gateway port`).option(`--gateway-bind <mode>`,`Gateway bind: loopback|tailnet|lan|auto|custom`).option(`--gateway-auth <mode>`,`Gateway auth: token|password`).option(`--gateway-token <token>`,`Gateway token (token auth)`).option(`--gateway-token-ref-env <name>`,`Gateway token SecretRef env var name (token auth; e.g. OPENCLAW_GATEWAY_TOKEN)`).option(`--gateway-password <password>`,`Gateway password (password auth)`).option(`--remote-url <url>`,`Remote Gateway WebSocket URL`).option(`--remote-token <token>`,`Remote Gateway token (optional)`).option(`--tailscale <mode>`,`Tailscale: off|serve|funnel`).option(`--tailscale-reset-on-exit`,`Reset tailscale serve/funnel on exit`).option(`--install-daemon`,`Install gateway service`).option(`--no-install-daemon`,`Skip gateway service install`).option(`--skip-daemon`,`Skip gateway service install`).option(`--daemon-runtime <runtime>`,`Daemon runtime: node|bun`).option(`--skip-channels`,`Skip channel setup`).option(`--skip-skills`,`Skip skills setup`).option(`--skip-search`,`Skip search provider setup`).option(`--skip-health`,`Skip health check`).option(`--skip-ui`,`Skip Control UI/TUI prompts`).option(`--node-manager <name>`,`Node manager for skills: npm|pnpm|bun`).option(`--json`,`Output JSON summary`,!1),l.action(async(e,n)=>{await r(t,async()=>{let r=s(n,{installDaemon:!!e.installDaemon}),i=typeof e.gatewayPort==`string`?Number.parseInt(e.gatewayPort,10):void 0;await o({workspace:e.workspace,nonInteractive:!!e.nonInteractive,acceptRisk:!!e.acceptRisk,flow:e.flow,mode:e.mode,authChoice:e.authChoice,tokenProvider:e.tokenProvider,token:e.token,tokenProfileId:e.tokenProfileId,tokenExpiresIn:e.tokenExpiresIn,secretInputMode:e.secretInputMode,anthropicApiKey:e.anthropicApiKey,openaiApiKey:e.openaiApiKey,mistralApiKey:e.mistralApiKey,openrouterApiKey:e.openrouterApiKey,kilocodeApiKey:e.kilocodeApiKey,aiGatewayApiKey:e.aiGatewayApiKey,cloudflareAiGatewayAccountId:e.cloudflareAiGatewayAccountId,cloudflareAiGatewayGatewayId:e.cloudflareAiGatewayGatewayId,cloudflareAiGatewayApiKey:e.cloudflareAiGatewayApiKey,moonshotApiKey:e.moonshotApiKey,kimiCodeApiKey:e.kimiCodeApiKey,geminiApiKey:e.geminiApiKey,zaiApiKey:e.zaiApiKey,xiaomiApiKey:e.xiaomiApiKey,qianfanApiKey:e.qianfanApiKey,modelstudioApiKeyCn:e.modelstudioApiKeyCn,modelstudioApiKey:e.modelstudioApiKey,minimaxApiKey:e.minimaxApiKey,syntheticApiKey:e.syntheticApiKey,veniceApiKey:e.veniceApiKey,togetherApiKey:e.togetherApiKey,huggingfaceApiKey:e.huggingfaceApiKey,opencodeZenApiKey:e.opencodeZenApiKey,opencodeGoApiKey:e.opencodeGoApiKey,xaiApiKey:e.xaiApiKey,litellmApiKey:e.litellmApiKey,volcengineApiKey:e.volcengineApiKey,byteplusApiKey:e.byteplusApiKey,customBaseUrl:e.customBaseUrl,customApiKey:e.customApiKey,customModelId:e.customModelId,customProviderId:e.customProviderId,customCompatibility:e.customCompatibility,gatewayPort:typeof i==`number`&&Number.isFinite(i)?i:void 0,gatewayBind:e.gatewayBind,gatewayAuth:e.gatewayAuth,gatewayToken:e.gatewayToken,gatewayTokenRefEnv:e.gatewayTokenRefEnv,gatewayPassword:e.gatewayPassword,remoteUrl:e.remoteUrl,remoteToken:e.remoteToken,tailscale:e.tailscale,tailscaleResetOnExit:!!e.tailscaleResetOnExit,reset:!!e.reset,resetScope:e.resetScope,installDaemon:r,daemonRuntime:e.daemonRuntime,skipChannels:!!e.skipChannels,skipSkills:!!e.skipSkills,skipSearch:!!e.skipSearch,skipHealth:!!e.skipHealth,skipUi:!!e.skipUi,nodeManager:e.nodeManager,json:!!e.json},t)})})}export{l as registerOnboardCommand};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import"./paths-B4IRk3wi.js";import{A as e,p as t}from"./subsystem-C5XF2Fy5.js";import{S as n}from"./utils-UGOV_184.js";import{Ws as r,nc as i}from"./model-selection-BLbnMb5E.js";import{D as a,v as o}from"./agent-scope-DXZc3eNT.js";import"./openclaw-root-D_0Q6--h.js";import"./github-copilot-token-DGYAlOmV.js";import"./boolean-Ch3DfXPy.js";import"./env-D7wNuBx1.js";import"./env-overrides-DXJbFrwI.js";import"./registry-hFAtCSWG.js";import"./skills-CzUpDbU-.js";import"./frontmatter-BkZkwkVO.js";import"./plugins-CYLrFT4h.js";import"./logger-Bl8URnrW.js";import"./exec-DHqLtFYt.js";import"./windows-spawn-AB7ItGAE.js";import"./redact-3_CiXMY6.js";import"./path-alias-guards-mvyLCPlN.js";import"./errors-Bunti32V.js";import{o as s}from"./paths-yLEk_25I.js";import"./chat-envelope-HVpKusFc.js";import"./call-JB-cGR9n.js";import"./onboard-helpers-D90u4wVK.js";import"./prompt-style-CXKekIBY.js";import{t as c}from"./links-CySwdMcF.js";import{n as l}from"./cli-utils-BY7dLMFy.js";import"./progress-LNttnI-y.js";import"./runtime-guard-DFYBaYZS.js";import{t as u}from"./command-options-Bq5nQxz6.js";import"./note-D4GAwgha.js";import"./clack-prompter-Dq0aY6iM.js";import"./onboarding.secret-input-BSmFS1Px.js";import"./onboarding-
|
|
2
|
-
//# sourceMappingURL=register.setup-DN0y_pth.js.map
|
|
1
|
+
import"./paths-B4IRk3wi.js";import{A as e,p as t}from"./subsystem-C5XF2Fy5.js";import{S as n}from"./utils-UGOV_184.js";import{Ws as r,nc as i}from"./model-selection-BLbnMb5E.js";import{D as a,v as o}from"./agent-scope-DXZc3eNT.js";import"./openclaw-root-D_0Q6--h.js";import"./github-copilot-token-DGYAlOmV.js";import"./boolean-Ch3DfXPy.js";import"./env-D7wNuBx1.js";import"./env-overrides-DXJbFrwI.js";import"./registry-hFAtCSWG.js";import"./skills-CzUpDbU-.js";import"./frontmatter-BkZkwkVO.js";import"./plugins-CYLrFT4h.js";import"./logger-Bl8URnrW.js";import"./exec-DHqLtFYt.js";import"./windows-spawn-AB7ItGAE.js";import"./redact-3_CiXMY6.js";import"./path-alias-guards-mvyLCPlN.js";import"./errors-Bunti32V.js";import{o as s}from"./paths-yLEk_25I.js";import"./chat-envelope-HVpKusFc.js";import"./call-JB-cGR9n.js";import"./onboard-helpers-D90u4wVK.js";import"./prompt-style-CXKekIBY.js";import{t as c}from"./links-CySwdMcF.js";import{n as l}from"./cli-utils-BY7dLMFy.js";import"./progress-LNttnI-y.js";import"./runtime-guard-DFYBaYZS.js";import{t as u}from"./command-options-Bq5nQxz6.js";import"./note-D4GAwgha.js";import"./clack-prompter-Dq0aY6iM.js";import"./onboarding.secret-input-BSmFS1Px.js";import"./onboarding-m-m__16h.js";import{n as d,t as f}from"./logging-CbMVr2MA.js";import{t as p}from"./onboard-DlCEww7K.js";import m from"json5";import h from"node:fs/promises";async function g(e){try{let t=await h.readFile(e,`utf-8`),n=m.parse(t);return n&&typeof n==`object`?{exists:!0,parsed:n}:{exists:!0,parsed:{}}}catch{return{exists:!1,parsed:{}}}}async function _(e,c=t){let l=typeof e?.workspace==`string`&&e.workspace.trim()?e.workspace.trim():void 0,u=r().configPath,p=await g(u),m=p.parsed,_=m.agents?.defaults??{},v=l??_.workspace??o,y={...m,agents:{...m.agents,defaults:{..._,workspace:v}},gateway:{...m.gateway,mode:m.gateway?.mode??`local`}};if(!p.exists||_.workspace!==v||m.gateway?.mode!==y.gateway?.mode)if(await i(y),!p.exists)c.log(`Wrote ${f(u)}`);else{let e=[];_.workspace!==v&&e.push(`set agents.defaults.workspace`),m.gateway?.mode!==y.gateway?.mode&&e.push(`set gateway.mode`),d(c,{path:u,suffix:e.length>0?`(${e.join(`, `)})`:void 0})}else c.log(`Config OK: ${f(u)}`);let b=await a({dir:v,ensureBootstrapFiles:!y.agents?.defaults?.skipBootstrap});c.log(`Workspace OK: ${n(b.dir)}`);let x=s();await h.mkdir(x,{recursive:!0}),c.log(`Sessions OK: ${n(x)}`)}function v(n){n.command(`setup`).description(`Initialize ~/.qbotclaw/openclaw.json and the agent workspace`).addHelpText(`after`,()=>`\n${e.muted(`Docs:`)} ${c(`/cli/setup`,`docs.openclaw.ai/cli/setup`)}\n`).option(`--workspace <dir>`,`Agent workspace directory (default: ~/.qbotclaw/workspace; stored as agents.defaults.workspace)`).option(`--wizard`,`Run the interactive onboarding wizard`,!1).option(`--non-interactive`,`Run the wizard without prompts`,!1).option(`--mode <mode>`,`Wizard mode: local|remote`).option(`--remote-url <url>`,`Remote Gateway WebSocket URL`).option(`--remote-token <token>`,`Remote Gateway token (optional)`).action(async(e,n)=>{await l(t,async()=>{let r=u(n,[`wizard`,`nonInteractive`,`mode`,`remoteUrl`,`remoteToken`]);if(e.wizard||r){await p({workspace:e.workspace,nonInteractive:!!e.nonInteractive,mode:e.mode,remoteUrl:e.remoteUrl,remoteToken:e.remoteToken},t);return}await _({workspace:e.workspace},t)})})}export{v as registerSetupCommand};
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import{A as e,p as t}from"./subsystem-BLbY429l.js";import"./paths-BjD3T_xq.js";import"./boolean-D15s2V33.js";import{Bo as n,Oo as r}from"./auth-profiles-C8rZRS0X.js";import{D as i,v as a}from"./agent-scope-DAWJwFfl.js";import{x as o}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{o as s}from"./paths-BfjJY2VL.js";import"./chat-envelope-Bznn2SoS.js";import"./call-BWx7hNtl.js";import"./onboard-helpers-DOlI17Ac.js";import"./prompt-style-BThRSQJR.js";import{t as c}from"./links-CBnmRP9D.js";import{n as l}from"./cli-utils-BleB1eys.js";import"./progress-d1m2sqR1.js";import{t as u}from"./command-options-BpOUDl2S.js";import"./note-Dp-d_utk.js";import"./clack-prompter-DBPdGdqp.js";import"./runtime-guard-DX2Ie4ri.js";import"./onboarding.secret-input-CUD0t7Pk.js";import"./onboarding-
|
|
2
|
-
//# sourceMappingURL=register.setup-Blyl_QsK.js.map
|
|
1
|
+
import{A as e,p as t}from"./subsystem-BLbY429l.js";import"./paths-BjD3T_xq.js";import"./boolean-D15s2V33.js";import{Bo as n,Oo as r}from"./auth-profiles-C8rZRS0X.js";import{D as i,v as a}from"./agent-scope-DAWJwFfl.js";import{x as o}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{o as s}from"./paths-BfjJY2VL.js";import"./chat-envelope-Bznn2SoS.js";import"./call-BWx7hNtl.js";import"./onboard-helpers-DOlI17Ac.js";import"./prompt-style-BThRSQJR.js";import{t as c}from"./links-CBnmRP9D.js";import{n as l}from"./cli-utils-BleB1eys.js";import"./progress-d1m2sqR1.js";import{t as u}from"./command-options-BpOUDl2S.js";import"./note-Dp-d_utk.js";import"./clack-prompter-DBPdGdqp.js";import"./runtime-guard-DX2Ie4ri.js";import"./onboarding.secret-input-CUD0t7Pk.js";import"./onboarding-CxRTJCBM.js";import{n as d,t as f}from"./logging-B7XHbCNn.js";import{t as p}from"./onboard-DZG0HnuP.js";import m from"json5";import h from"node:fs/promises";async function g(e){try{let t=await h.readFile(e,`utf-8`),n=m.parse(t);return n&&typeof n==`object`?{exists:!0,parsed:n}:{exists:!0,parsed:{}}}catch{return{exists:!1,parsed:{}}}}async function _(e,c=t){let l=typeof e?.workspace==`string`&&e.workspace.trim()?e.workspace.trim():void 0,u=r().configPath,p=await g(u),m=p.parsed,_=m.agents?.defaults??{},v=l??_.workspace??a,y={...m,agents:{...m.agents,defaults:{..._,workspace:v}},gateway:{...m.gateway,mode:m.gateway?.mode??`local`}};if(!p.exists||_.workspace!==v||m.gateway?.mode!==y.gateway?.mode)if(await n(y),!p.exists)c.log(`Wrote ${f(u)}`);else{let e=[];_.workspace!==v&&e.push(`set agents.defaults.workspace`),m.gateway?.mode!==y.gateway?.mode&&e.push(`set gateway.mode`),d(c,{path:u,suffix:e.length>0?`(${e.join(`, `)})`:void 0})}else c.log(`Config OK: ${f(u)}`);let b=await i({dir:v,ensureBootstrapFiles:!y.agents?.defaults?.skipBootstrap});c.log(`Workspace OK: ${o(b.dir)}`);let x=s();await h.mkdir(x,{recursive:!0}),c.log(`Sessions OK: ${o(x)}`)}function v(n){n.command(`setup`).description(`Initialize ~/.qbotclaw/openclaw.json and the agent workspace`).addHelpText(`after`,()=>`\n${e.muted(`Docs:`)} ${c(`/cli/setup`,`docs.openclaw.ai/cli/setup`)}\n`).option(`--workspace <dir>`,`Agent workspace directory (default: ~/.qbotclaw/workspace; stored as agents.defaults.workspace)`).option(`--wizard`,`Run the interactive onboarding wizard`,!1).option(`--non-interactive`,`Run the wizard without prompts`,!1).option(`--mode <mode>`,`Wizard mode: local|remote`).option(`--remote-url <url>`,`Remote Gateway WebSocket URL`).option(`--remote-token <token>`,`Remote Gateway token (optional)`).action(async(e,n)=>{await l(t,async()=>{let r=u(n,[`wizard`,`nonInteractive`,`mode`,`remoteUrl`,`remoteToken`]);if(e.wizard||r){await p({workspace:e.workspace,nonInteractive:!!e.nonInteractive,mode:e.mode,remoteUrl:e.remoteUrl,remoteToken:e.remoteToken},t);return}await _({workspace:e.workspace},t)})})}export{v as registerSetupCommand};
|
|
@@ -1,2 +1 @@
|
|
|
1
1
|
import"./paths-B4IRk3wi.js";import{A as e,k as t,p as n,w as r,y as i}from"./subsystem-C5XF2Fy5.js";import"./utils-UGOV_184.js";import{$n as a,Fr as o,Hn as s,Jn as c,Qn as l,Xn as u,Zn as d,h as f,qs as p}from"./model-selection-BLbnMb5E.js";import{D as m,P as h,tn as g}from"./reply-DwfVhea1.js";import{f as _,r as v}from"./agent-scope-DXZc3eNT.js";import{E as y,c as b}from"./session-key-D3P0tf5P.js";import"./openclaw-root-D_0Q6--h.js";import"./github-copilot-token-DGYAlOmV.js";import"./boolean-Ch3DfXPy.js";import"./env-D7wNuBx1.js";import"./env-overrides-DXJbFrwI.js";import"./registry-hFAtCSWG.js";import"./skills-CzUpDbU-.js";import"./frontmatter-BkZkwkVO.js";import"./plugins-CYLrFT4h.js";import"./logger-Bl8URnrW.js";import"./exec-DHqLtFYt.js";import"./windows-spawn-AB7ItGAE.js";import"./redact-3_CiXMY6.js";import"./path-alias-guards-mvyLCPlN.js";import"./errors-Bunti32V.js";import"./send-C7rOdjPO.js";import"./send-BwblpWbK.js";import{c as x,n as S,r as C}from"./paths-yLEk_25I.js";import"./chat-envelope-HVpKusFc.js";import"./audio-transcription-runner-BwjMhAUa.js";import"./image-BP1cfEh1.js";import"./models-config-BlQ39qlq.js";import"./tool-display-DjuSUUbH.js";import"./fetch-guard-7BAwnP4a.js";import"./api-key-rotation-Rz2ESQSA.js";import"./local-roots-aA-4ohTq.js";import"./model-catalog-D-hkNWin.js";import"./proxy-fetch-BADsUK4d.js";import"./tokens-XGbQGn67.js";import"./deliver-DUNkj4hy.js";import"./commands-CGpM84iR.js";import"./commands-registry-DlvNUkXz.js";import"./pairing-store-EmfFQVcs.js";import"./fetch-Dikjvc5M.js";import"./call-JB-cGR9n.js";import"./with-timeout-WveKxvFV.js";import"./diagnostic-BEZszppF.js";import"./send-NbU9-scF2.js";import"./pi-model-discovery-DnJkNRc-.js";import"./exec-approvals-allowlist-B-Yf6RsU.js";import"./exec-safe-bin-runtime-policy-CRPHdPbF.js";import"./ir-CNTx85qV.js";import"./render-D8OWO2hT.js";import"./target-errors-CoEHv_2r.js";import"./read-only-account-inspect-B0cm8yrv.js";import"./channel-selection-si1OzWyQ.js";import"./plugin-auto-enable-CTgkkJK7.js";import"./send-DmHpf5Fz.js";import"./outbound-attachment-9-8VNvRG.js";import"./delivery-queue-CKbauSFq.js";import"./send-AQ3CJLpI.js";import{n as ee}from"./format-relative-B9pSIdGe.js";import"./channel-activity-Dw6F-ehJ.js";import"./tables-fl9iXahm.js";import"./fetch-Bn0mWg6a.js";import"./skill-commands-DlHVddAk.js";import"./workspace-dirs-BhF1Dzxt.js";import"./pairing-token-B8RdfK2y.js";import"./restart-BeJuoXCx.js";import"./runtime-web-tools-C4F6aaRh.js";import"./command-secret-targets-CfXtLkLF.js";import"./session-cost-usage-BgqKixv0.js";import"./connection-auth-smZlFWxD.js";import"./onboard-helpers-D90u4wVK.js";import"./prompt-style-CXKekIBY.js";import"./pairing-labels-PIuZfthz.js";import"./memory-cli-BouV_wyL.js";import"./query-expansion-0OxEb1Io.js";import"./manager-CI6O4QH6.js";import{t as w}from"./links-CySwdMcF.js";import{n as T}from"./cli-utils-BY7dLMFy.js";import{t as E}from"./help-format-BRbF_INg.js";import"./progress-LNttnI-y.js";import"./exec-approvals-BpBNEy6i.js";import"./nodes-screen-8nRBsfID.js";import"./system-run-command-E8ymBXHh.js";import"./runtime-DYttInEE.js";import"./stagger-DmFYysrJ.js";import{n as D}from"./helpers-Cp8gcO6u.js";import"./skills-status-D4Y1BJYL.js";import"./dangerous-tools-oYCu5wfC.js";import"./skill-scanner-CUUF3Fvo.js";import"./issue-format-BtMzMXtZ.js";import"./channels-status-issues-PRgOT90w.js";import"./systemd-D7odsu4K.js";import"./service-BtB9epJk.js";import"./probe-auth-x4OHS_wa.js";import"./diagnostics-BgbeL9KE.js";import"./table-CY440fI1.js";import{t as O}from"./status-BSHWBrg0.js";import{r as k}from"./health-B_-ZE5FK.js";import"./channel-account-context-BMPAMZEv.js";import"./node-command-policy-D9yZu9zq.js";import"./audit-BGsUfJzD.js";import"./node-service-BRfrNp8l.js";import"./status.update-_2r0S6Re.js";import A from"node:fs";function j(e){let t=new Map;for(let n of e)t.has(n.storePath)||t.set(n.storePath,n);return[...t.values()]}function M(e,t){let n=_(e),r=!!t.agent?.trim(),i=t.allAgents===!0;if(r&&i)throw Error(`--agent and --all-agents cannot be used together`);if(t.store&&(r||i))throw Error(`--store cannot be combined with --agent or --all-agents`);if(t.store)return[{agentId:n,storePath:x(t.store,{agentId:n})}];if(i)return j(v(e).map(t=>({agentId:t,storePath:x(e.session?.store,{agentId:t})})));if(r){let n=v(e),r=b(t.agent??``);if(!n.includes(r))throw Error(`Unknown agent id "${t.agent}". Use "openclaw agents list" to see configured agents.`);return[{agentId:r,storePath:x(e.session?.store,{agentId:r})}]}return[{agentId:n,storePath:x(e.session?.store,{agentId:n})}]}function N(e){try{return M(e.cfg,e.opts)}catch(t){return e.runtime.error(t instanceof Error?t.message:String(t)),e.runtime.exit(1),null}}function P(e){return Object.entries(e).map(([e,t])=>{let n=t?.updatedAt??null;return{key:e,updatedAt:n,ageMs:n?Date.now()-n:null,sessionId:t?.sessionId,systemSent:t?.systemSent,abortedLastRun:t?.abortedLastRun,thinkingLevel:t?.thinkingLevel,verboseLevel:t?.verboseLevel,reasoningLevel:t?.reasoningLevel,elevatedLevel:t?.elevatedLevel,responseUsage:t?.responseUsage,groupActivation:t?.groupActivation,inputTokens:t?.inputTokens,outputTokens:t?.outputTokens,totalTokens:t?.totalTokens,totalTokensFresh:t?.totalTokensFresh,model:t?.model,modelProvider:t?.modelProvider,providerOverride:t?.providerOverride,modelOverride:t?.modelOverride,contextTokens:t?.contextTokens}}).toSorted((e,t)=>(t.updatedAt??0)-(e.updatedAt??0))}function F(e){return{model:f({cfg:e,defaultProvider:`anthropic`,defaultModel:`claude-opus-4-6`}).model??`claude-opus-4-6`}}function I(e,t,n){return h(e,t,y(t.key)?.agentId).model??n.model}function L(e){return e.length<=26?e:`${e.slice(0,16)}...${e.slice(-6)}`}function R(t,n){let r=L(t).padEnd(26);return n?e.accent(r):r}function z(t,n){let r=(t?ee(Date.now()-t):`unknown`).padEnd(9);return n?e.muted(r):r}function B(t,n){let r=(t??`unknown`).padEnd(14);return n?e.info(r):r}function V(t,n){let r=[t.thinkingLevel?`think:${t.thinkingLevel}`:null,t.verboseLevel?`verbose:${t.verboseLevel}`:null,t.reasoningLevel?`reasoning:${t.reasoningLevel}`:null,t.elevatedLevel?`elev:${t.elevatedLevel}`:null,t.responseUsage?`usage:${t.responseUsage}`:null,t.groupActivation?`activation:${t.groupActivation}`:null,t.systemSent?`system`:null,t.abortedLastRun?`aborted`:null,t.sessionId?`id:${t.sessionId}`:null].filter(Boolean).join(` `);return r.length===0?``:n?e.muted(r):r}function H(e){return e.missingKeys.has(e.key)?`prune-missing`:e.staleKeys.has(e.key)?`prune-stale`:e.cappedKeys.has(e.key)?`cap-overflow`:e.budgetEvictedKeys.has(e.key)?`evict-budget`:`keep`}function U(t,n){let r=t.padEnd(12);return n?t===`keep`?e.muted(r):t===`prune-missing`?e.error(r):t===`prune-stale`?e.warn(r):t===`cap-overflow`?e.accentBright(r):e.error(r):r}function W(e){return P(e.beforeStore).map(t=>({...t,action:H({key:t.key,missingKeys:e.missingKeys,staleKeys:e.staleKeys,cappedKeys:e.cappedKeys,budgetEvictedKeys:e.budgetEvictedKeys})}))}function G(e){let t=C({storePath:e.storePath}),n=0;for(let[r,i]of Object.entries(e.store)){if(!i?.sessionId)continue;let a=S(i.sessionId,i,t);A.existsSync(a)||(delete e.store[r],n+=1,e.onPruned?.(r))}return n}async function K(e){let t=l(),n=s(e.target.storePath,{skipCache:!0}),r=structuredClone(n),i=new Set,o=new Set,c=new Set,f=e.fixMissing===!0?G({store:r,storePath:e.target.storePath,onPruned:e=>{c.add(e)}}):0,p=d(r,t.pruneAfterMs,{log:!1,onPruned:({key:e})=>{i.add(e)}}),m=u(r,t.maxEntries,{log:!1,onCapped:({key:e})=>{o.add(e)}}),h=structuredClone(r),g=await a({store:r,storePath:e.target.storePath,activeSessionKey:e.activeKey,maintenance:t,warnOnly:!1,dryRun:!0}),_=new Set;for(let e of Object.keys(h))Object.hasOwn(r,e)||_.add(e);let v=Object.keys(n).length,y=Object.keys(r).length,b=f>0||p>0||m>0||(g?.removedEntries??0)>0||(g?.removedFiles??0)>0;return{summary:{agentId:e.target.agentId,storePath:e.target.storePath,mode:e.mode,dryRun:e.dryRun,beforeCount:v,afterCount:y,missing:f,pruned:p,capped:m,diskBudget:g,wouldMutate:b},actionRows:W({beforeStore:n,staleKeys:i,cappedKeys:o,budgetEvictedKeys:_,missingKeys:c})}}function q(n){let r=t();if(n.showAgentHeader&&n.runtime.log(`Agent: ${n.summary.agentId}`),n.runtime.log(`Session store: ${n.summary.storePath}`),n.runtime.log(`Maintenance mode: ${n.summary.mode}`),n.runtime.log(`Entries: ${n.summary.beforeCount} -> ${n.summary.afterCount} (remove ${n.summary.beforeCount-n.summary.afterCount})`),n.runtime.log(`Would prune missing transcripts: ${n.summary.missing}`),n.runtime.log(`Would prune stale: ${n.summary.pruned}`),n.runtime.log(`Would cap overflow: ${n.summary.capped}`),n.summary.diskBudget&&n.runtime.log(`Would enforce disk budget: ${n.summary.diskBudget.totalBytesBefore} -> ${n.summary.diskBudget.totalBytesAfter} bytes (files ${n.summary.diskBudget.removedFiles}, entries ${n.summary.diskBudget.removedEntries})`),n.actionRows.length===0)return;n.runtime.log(``),n.runtime.log(`Planned session actions:`);let i=[`Action`.padEnd(12),`Key`.padEnd(26),`Age`.padEnd(9),`Model`.padEnd(14),`Flags`].join(` `);n.runtime.log(r?e.heading(i):i);for(let e of n.actionRows){let t=I(n.cfg,e,n.displayDefaults),i=[U(e.action,r),R(e.key,r),z(e.updatedAt,r),B(t,r),V(e,r)].join(` `);n.runtime.log(i.trimEnd())}}async function J(e,t){let n=p(),r=F(n),i=e.enforce?`enforce`:l().mode,a=N({cfg:n,opts:{store:e.store,agent:e.agent,allAgents:e.allAgents},runtime:t});if(!a)return;let o=[];for(let t of a){let n=await K({target:t,mode:i,dryRun:!!e.dryRun,activeKey:e.activeKey,fixMissing:!!e.fixMissing});o.push(n)}if(e.dryRun){if(e.json){if(o.length===1){t.log(JSON.stringify(o[0]?.summary??{},null,2));return}t.log(JSON.stringify({allAgents:!0,mode:i,dryRun:!0,stores:o.map(e=>e.summary)},null,2));return}for(let e=0;e<o.length;e+=1){let i=o[e];e>0&&t.log(``),q({cfg:n,summary:i.summary,actionRows:i.actionRows,displayDefaults:r,runtime:t,showAgentHeader:o.length>1})}return}let u=[];for(let t of a){let n={current:null},r=await c(t.storePath,async n=>e.fixMissing?G({store:n,storePath:t.storePath}):0,{activeSessionKey:e.activeKey,maintenanceOverride:{mode:i},onMaintenanceApplied:e=>{n.current=e}}),a=s(t.storePath,{skipCache:!0}),l=o.find(e=>e.summary.storePath===t.storePath),d=n.current,f=d===null?{...l?.summary??{agentId:t.agentId,storePath:t.storePath,mode:i,dryRun:!1,beforeCount:0,afterCount:0,missing:0,pruned:0,capped:0,diskBudget:null,wouldMutate:!1},dryRun:!1,applied:!0,appliedCount:Object.keys(a).length}:{agentId:t.agentId,storePath:t.storePath,mode:d.mode,dryRun:!1,beforeCount:d.beforeCount,afterCount:d.afterCount,missing:r,pruned:d.pruned,capped:d.capped,diskBudget:d.diskBudget,wouldMutate:r>0||d.pruned>0||d.capped>0||(d.diskBudget?.removedEntries??0)>0||(d.diskBudget?.removedFiles??0)>0,applied:!0,appliedCount:Object.keys(a).length};u.push(f)}if(e.json){if(u.length===1){t.log(JSON.stringify(u[0]??{},null,2));return}t.log(JSON.stringify({allAgents:!0,mode:i,dryRun:!1,stores:u},null,2));return}for(let e=0;e<u.length;e+=1){let n=u[e];e>0&&t.log(``),u.length>1&&t.log(`Agent: ${n.agentId}`),t.log(`Session store: ${n.storePath}`),t.log(`Applied maintenance. Current entries: ${n.appliedCount??0}`)}}const Y=e=>`${(e/1e3).toFixed(e>=1e4?0:1)}k`,X=(t,n,r)=>!r||n===null?t:n>=95?e.error(t):n>=80?e.warn(t):n>=60?e.success(t):e.muted(t),Z=(t,n,r)=>{if(t===void 0){let t=`unknown/${n?Y(n):`?`} (?%)`;return r?e.muted(t.padEnd(20)):t.padEnd(20)}let i=Y(t),a=n?Y(n):`?`,o=n?Math.min(999,Math.round(t/n*100)):null;return X(`${i}/${a} (${o??`?`}%)`.padEnd(20),o,r)},Q=(t,n)=>{let r=t.padEnd(6);return n?t===`group`?e.accentBright(r):t===`global`?e.warn(r):t===`direct`?e.accent(r):e.muted(r):r};async function te(n,r){let a=n.allAgents===!0,c=p(),l=F(c),u=c.agents?.defaults?.contextTokens??g(l.model)??2e5,d=N({cfg:c,opts:{store:n.store,agent:n.agent,allAgents:n.allAgents},runtime:r});if(!d)return;let f;if(n.active!==void 0){let e=Number.parseInt(String(n.active),10);if(Number.isNaN(e)||e<=0){r.error(`--active must be a positive integer (minutes)`),r.exit(1);return}f=e}let h=d.flatMap(e=>{let t=s(e.storePath);return P(t).map(n=>({...n,agentId:y(n.key)?.agentId??e.agentId,kind:m(n.key,t[n.key])}))}).filter(e=>f===void 0?!0:e.updatedAt?Date.now()-e.updatedAt<=f*6e4:!1).toSorted((e,t)=>(t.updatedAt??0)-(e.updatedAt??0));if(n.json){let e=d.length>1,t=a||e;r.log(JSON.stringify({path:t?null:d[0]?.storePath??null,stores:t?d.map(e=>({agentId:e.agentId,path:e.storePath})):void 0,allAgents:a?!0:void 0,count:h.length,activeMinutes:f??null,sessions:h.map(e=>{let t=I(c,e,l);return{...e,totalTokens:o(e)??null,totalTokensFresh:typeof e.totalTokens==`number`?e.totalTokensFresh!==!1:!1,contextTokens:e.contextTokens??g(t)??u??null,model:t}})},null,2));return}if(d.length===1&&!a?r.log(i(`Session store: ${d[0]?.storePath}`)):r.log(i(`Session stores: ${d.length} (${d.map(e=>e.agentId).join(`, `)})`)),r.log(i(`Sessions listed: ${h.length}`)),f&&r.log(i(`Filtered to last ${f} minute(s)`)),h.length===0){r.log(`No sessions found.`);return}let _=t(),v=a||d.length>1,b=[...v?[`Agent`.padEnd(10)]:[],`Kind`.padEnd(6),`Key`.padEnd(26),`Age`.padEnd(9),`Model`.padEnd(14),`Tokens (ctx %)`.padEnd(20),`Flags`].join(` `);r.log(_?e.heading(b):b);for(let t of h){let n=I(c,t,l),i=t.contextTokens??g(n)??u,a=o(t),s=[...v?[_?e.accentBright(t.agentId.padEnd(10)):t.agentId.padEnd(10)]:[],Q(t.kind,_),R(t.key,_),z(t.updatedAt,_),B(n,_),Z(a,i??null,_),V(t,_)].join(` `);r.log(s.trimEnd())}}function ne(e){return!!(e.verbose||e.debug)}function re(e){let t=D(e);return e!==void 0&&t===void 0?(n.error(`--timeout must be a positive integer (milliseconds)`),n.exit(1),null):t}async function $(e,t){let i=ne(e);r(i);let a=re(e.timeout);a!==null&&await T(n,async()=>{await t({verbose:i,timeoutMs:a})})}function ie(t){t.command(`status`).description(`Show channel health and recent session recipients`).option(`--json`,`Output JSON instead of text`,!1).option(`--all`,`Full diagnosis (read-only, pasteable)`,!1).option(`--usage`,`Show model provider usage/quota snapshots`,!1).option(`--deep`,`Probe channels (WhatsApp Web + Telegram + Discord + Slack + Signal)`,!1).option(`--timeout <ms>`,`Probe timeout in milliseconds`,`10000`).option(`--verbose`,`Verbose logging`,!1).option(`--debug`,`Alias for --verbose`,!1).addHelpText(`after`,()=>`\n${e.heading(`Examples:`)}\n${E([[`openclaw status`,`Show channel health + session summary.`],[`openclaw status --all`,`Full diagnosis (read-only).`],[`openclaw status --json`,`Machine-readable output.`],[`openclaw status --usage`,`Show model provider usage/quota snapshots.`],[`openclaw status --deep`,`Run channel probes (WA + Telegram + Discord + Slack + Signal).`],[`openclaw status --deep --timeout 5000`,`Tighten probe timeout.`]])}`).addHelpText(`after`,()=>`\n${e.muted(`Docs:`)} ${w(`/cli/status`,`docs.openclaw.ai/cli/status`)}\n`).action(async e=>{await $(e,async({verbose:t,timeoutMs:r})=>{await O({json:!!e.json,all:!!e.all,deep:!!e.deep,usage:!!e.usage,timeoutMs:r,verbose:t},n)})}),t.command(`health`).description(`Fetch health from the running gateway`).option(`--json`,`Output JSON instead of text`,!1).option(`--timeout <ms>`,`Connection timeout in milliseconds`,`10000`).option(`--verbose`,`Verbose logging`,!1).option(`--debug`,`Alias for --verbose`,!1).addHelpText(`after`,()=>`\n${e.muted(`Docs:`)} ${w(`/cli/health`,`docs.openclaw.ai/cli/health`)}\n`).action(async e=>{await $(e,async({verbose:t,timeoutMs:r})=>{await k({json:!!e.json,timeoutMs:r,verbose:t},n)})});let i=t.command(`sessions`).description(`List stored conversation sessions`).option(`--json`,`Output as JSON`,!1).option(`--verbose`,`Verbose logging`,!1).option(`--store <path>`,`Path to session store (default: resolved from config)`).option(`--agent <id>`,`Agent id to inspect (default: configured default agent)`).option(`--all-agents`,`Aggregate sessions across all configured agents`,!1).option(`--active <minutes>`,`Only show sessions updated within the past N minutes`).addHelpText(`after`,()=>`\n${e.heading(`Examples:`)}\n${E([[`openclaw sessions`,`List all sessions.`],[`openclaw sessions --agent work`,`List sessions for one agent.`],[`openclaw sessions --all-agents`,`Aggregate sessions across agents.`],[`openclaw sessions --active 120`,`Only last 2 hours.`],[`openclaw sessions --json`,`Machine-readable output.`],[`openclaw sessions --store ./tmp/sessions.json`,`Use a specific session store.`]])}\n\n${e.muted(`Shows token usage per session when the agent reports it; set agents.defaults.contextTokens to cap the window and show %.`)}`).addHelpText(`after`,()=>`\n${e.muted(`Docs:`)} ${w(`/cli/sessions`,`docs.openclaw.ai/cli/sessions`)}\n`).action(async e=>{r(!!e.verbose),await te({json:!!e.json,store:e.store,agent:e.agent,allAgents:!!e.allAgents,active:e.active},n)});i.enablePositionalOptions(),i.command(`cleanup`).description(`Run session-store maintenance now`).option(`--store <path>`,`Path to session store (default: resolved from config)`).option(`--agent <id>`,`Agent id to maintain (default: configured default agent)`).option(`--all-agents`,`Run maintenance across all configured agents`,!1).option(`--dry-run`,`Preview maintenance actions without writing`,!1).option(`--enforce`,`Apply maintenance even when configured mode is warn`,!1).option(`--fix-missing`,`Remove store entries whose transcript files are missing (bypasses age/count retention)`,!1).option(`--active-key <key>`,`Protect this session key from budget-eviction`).option(`--json`,`Output JSON`,!1).addHelpText(`after`,()=>`\n${e.heading(`Examples:`)}\n${E([[`openclaw sessions cleanup --dry-run`,`Preview stale/cap cleanup.`],[`openclaw sessions cleanup --dry-run --fix-missing`,`Also preview pruning entries with missing transcript files.`],[`openclaw sessions cleanup --enforce`,`Apply maintenance now.`],[`openclaw sessions cleanup --agent work --dry-run`,`Preview one agent store.`],[`openclaw sessions cleanup --all-agents --dry-run`,`Preview all agent stores.`],[`openclaw sessions cleanup --enforce --store ./tmp/sessions.json`,`Use a specific store.`]])}`).action(async(e,t)=>{let r=t.parent?.opts();await T(n,async()=>{await J({store:e.store??r?.store,agent:e.agent??r?.agent,allAgents:!!(e.allAgents||r?.allAgents),dryRun:!!e.dryRun,enforce:!!e.enforce,fixMissing:!!e.fixMissing,activeKey:e.activeKey,json:!!(e.json||r?.json)},n)})})}export{ie as registerStatusHealthSessionsCommands};
|
|
2
|
-
//# sourceMappingURL=register.status-health-sessions-Dtpd1P2M.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
1
|
import{A as e,k as t,p as n,w as r}from"./subsystem-BLbY429l.js";import"./paths-BjD3T_xq.js";import"./boolean-D15s2V33.js";import{Bt as i,Ht as a,Lt as o,Vt as s,jo as c,jt as l,zt as u}from"./auth-profiles-C8rZRS0X.js";import"./agent-scope-DAWJwFfl.js";import"./utils-CGdo13HV.js";import"./openclaw-root-CnsBf6ZU.js";import"./github-copilot-token-C79yeDKS.js";import"./env-overrides-DHtB4kK3.js";import"./version-q3SkUw2K.js";import"./registry-BptzrW8D.js";import"./skills-Bz_S4lPh.js";import"./frontmatter-C7mzDNxd.js";import"./plugins-DNlgeTTc.js";import"./logger-kQAOe3qp.js";import"./exec-B3eleY5O.js";import"./windows-spawn-7oINn5ao.js";import"./redact-CnRxK70G.js";import"./path-alias-guards-kY_ZbWs-.js";import"./errors-6SQWM9dj.js";import"./send-vNcod64S.js";import"./send-CyarIb2w.js";import"./compact-CYbPi7_-.js";import{n as d,r as f}from"./paths-BfjJY2VL.js";import"./chat-envelope-Bznn2SoS.js";import"./models-config-DZzS67GS.js";import"./tokens-DRM8vzJx.js";import"./with-timeout-c1CzdShT.js";import"./deliver-SqSusZP3.js";import"./diagnostic-D1H7_8QG.js";import"./send-Dj7NBAWg.js";import"./pi-model-discovery-BPkhPDMr.js";import"./exec-approvals-allowlist-CGjRWREs.js";import"./exec-safe-bin-runtime-policy-v44u39fl.js";import"./model-catalog-mt0IcDfR.js";import"./fetch-B4bz67_N.js";import"./audio-transcription-runner-BIKj1CBU.js";import"./fetch-guard-DaZmvp-L.js";import"./image-BVbOr9yV.js";import"./tool-display-DJDtttQg.js";import"./api-key-rotation-BpEL4aeX.js";import"./proxy-fetch-gWETR3cl.js";import"./ir-DdjufzKF.js";import"./render-DrrPmnMI.js";import"./target-errors-D6wejRd6.js";import"./commands-Dy7duWlt.js";import"./commands-registry-DT6FDUev.js";import"./session-cost-usage-CHtVgnE8.js";import"./session-utils-Bpdyx2A2.js";import"./sqlite-CILF3z9U.js";import"./call-BWx7hNtl.js";import"./pi-tools.policy-B6q8YOfg.js";import"./pairing-store-BaaVy1zB.js";import"./fetch-Dh-apy46.js";import"./skill-commands-DCqPy_Aa.js";import"./workspace-dirs-A8Vib9_B.js";import"./pairing-token-zdbQ951y.js";import"./channel-activity-BhiLsKvM.js";import"./tables-DENKrP-W.js";import"./kill-tree-D6nPx1_o.js";import"./runtime-web-tools-BYhCkBV8.js";import"./runtime-CK7gqwEF.js";import"./node-shell-BVZylVP6.js";import"./stagger-DxzgG2jd.js";import"./channel-selection-BPxE8JR7.js";import"./plugin-auto-enable-adba5Evb.js";import"./send-ChILboDj.js";import"./outbound-attachment-CVcDBkAD.js";import"./delivery-queue-nkPJu0fY.js";import"./send-COpehmAB.js";import"./system-run-command-DsWBVvSK.js";import"./fetch-Ce-scEU-.js";import"./command-secret-targets-BEjtBf5Z.js";import"./connection-auth-CjaeEu5D.js";import"./onboard-helpers-DOlI17Ac.js";import"./prompt-style-BThRSQJR.js";import"./pairing-labels-CZ-aX-up.js";import"./search-manager-CV2YsAym.js";import"./manager-CxZRoQkE.js";import"./memory-cli-C8fBBPgv.js";import{t as p}from"./links-CBnmRP9D.js";import{n as m}from"./cli-utils-BleB1eys.js";import{t as h}from"./help-format-B4aEI7V9.js";import"./progress-d1m2sqR1.js";import"./exec-approvals-BXO9Cezj.js";import"./skills-status-DpSboPY1.js";import"./dangerous-tools-CFRYQJ6V.js";import"./skill-scanner-CkxXNioD.js";import"./issue-format-CN9PHzXY.js";import"./channels-status-issues-8eFrGKyf.js";import{n as g}from"./helpers-COz1ghcB.js";import"./systemd-DbevZh65.js";import"./service-DZ9EbS15.js";import"./probe-auth-C5nWfMS9.js";import"./diagnostics-Cdctg9K_.js";import"./table-CR7TFMew.js";import{n as _}from"./status-o3Gfr-6l.js";import{r as v}from"./health-CIZFVJEG.js";import"./channel-account-context-DAcarnqW.js";import"./node-command-policy-DyWp3Bjz.js";import"./audit-9I53EvMQ.js";import"./node-service-C0bl7jcZ.js";import"./status.update-B_8Gumuc.js";import{a as y,c as b,i as x,n as S,o as C,r as w,s as T,sessionsCommand as E,t as D}from"./sessions-Ca6ozRCQ.js";import O from"node:fs";function k(e){return e.missingKeys.has(e.key)?`prune-missing`:e.staleKeys.has(e.key)?`prune-stale`:e.cappedKeys.has(e.key)?`cap-overflow`:e.budgetEvictedKeys.has(e.key)?`evict-budget`:`keep`}function A(t,n){let r=t.padEnd(12);return n?t===`keep`?e.muted(r):t===`prune-missing`?e.error(r):t===`prune-stale`?e.warn(r):t===`cap-overflow`?e.accentBright(r):e.error(r):r}function j(e){return T(e.beforeStore).map(t=>({...t,action:k({key:t.key,missingKeys:e.missingKeys,staleKeys:e.staleKeys,cappedKeys:e.cappedKeys,budgetEvictedKeys:e.budgetEvictedKeys})}))}function M(e){let t=f({storePath:e.storePath}),n=0;for(let[r,i]of Object.entries(e.store)){if(!i?.sessionId)continue;let a=d(i.sessionId,i,t);O.existsSync(a)||(delete e.store[r],n+=1,e.onPruned?.(r))}return n}async function N(e){let t=s(),n=l(e.target.storePath,{skipCache:!0}),r=structuredClone(n),o=new Set,c=new Set,d=new Set,f=e.fixMissing===!0?M({store:r,storePath:e.target.storePath,onPruned:e=>{d.add(e)}}):0,p=i(r,t.pruneAfterMs,{log:!1,onPruned:({key:e})=>{o.add(e)}}),m=u(r,t.maxEntries,{log:!1,onCapped:({key:e})=>{c.add(e)}}),h=structuredClone(r),g=await a({store:r,storePath:e.target.storePath,activeSessionKey:e.activeKey,maintenance:t,warnOnly:!1,dryRun:!0}),_=new Set;for(let e of Object.keys(h))Object.hasOwn(r,e)||_.add(e);let v=Object.keys(n).length,y=Object.keys(r).length,b=f>0||p>0||m>0||(g?.removedEntries??0)>0||(g?.removedFiles??0)>0;return{summary:{agentId:e.target.agentId,storePath:e.target.storePath,mode:e.mode,dryRun:e.dryRun,beforeCount:v,afterCount:y,missing:f,pruned:p,capped:m,diskBudget:g,wouldMutate:b},actionRows:j({beforeStore:n,staleKeys:o,cappedKeys:c,budgetEvictedKeys:_,missingKeys:d})}}function P(n){let r=t();if(n.showAgentHeader&&n.runtime.log(`Agent: ${n.summary.agentId}`),n.runtime.log(`Session store: ${n.summary.storePath}`),n.runtime.log(`Maintenance mode: ${n.summary.mode}`),n.runtime.log(`Entries: ${n.summary.beforeCount} -> ${n.summary.afterCount} (remove ${n.summary.beforeCount-n.summary.afterCount})`),n.runtime.log(`Would prune missing transcripts: ${n.summary.missing}`),n.runtime.log(`Would prune stale: ${n.summary.pruned}`),n.runtime.log(`Would cap overflow: ${n.summary.capped}`),n.summary.diskBudget&&n.runtime.log(`Would enforce disk budget: ${n.summary.diskBudget.totalBytesBefore} -> ${n.summary.diskBudget.totalBytesAfter} bytes (files ${n.summary.diskBudget.removedFiles}, entries ${n.summary.diskBudget.removedEntries})`),n.actionRows.length===0)return;n.runtime.log(``),n.runtime.log(`Planned session actions:`);let i=[`Action`.padEnd(12),`Key`.padEnd(26),`Age`.padEnd(9),`Model`.padEnd(14),`Flags`].join(` `);n.runtime.log(r?e.heading(i):i);for(let e of n.actionRows){let t=C(n.cfg,e,n.displayDefaults),i=[A(e.action,r),w(e.key,r),D(e.updatedAt,r),x(t,r),S(e,r)].join(` `);n.runtime.log(i.trimEnd())}}async function F(e,t){let n=c(),r=y(n),i=e.enforce?`enforce`:s().mode,a=b({cfg:n,opts:{store:e.store,agent:e.agent,allAgents:e.allAgents},runtime:t});if(!a)return;let u=[];for(let t of a){let n=await N({target:t,mode:i,dryRun:!!e.dryRun,activeKey:e.activeKey,fixMissing:!!e.fixMissing});u.push(n)}if(e.dryRun){if(e.json){if(u.length===1){t.log(JSON.stringify(u[0]?.summary??{},null,2));return}t.log(JSON.stringify({allAgents:!0,mode:i,dryRun:!0,stores:u.map(e=>e.summary)},null,2));return}for(let e=0;e<u.length;e+=1){let i=u[e];e>0&&t.log(``),P({cfg:n,summary:i.summary,actionRows:i.actionRows,displayDefaults:r,runtime:t,showAgentHeader:u.length>1})}return}let d=[];for(let t of a){let n={current:null},r=await o(t.storePath,async n=>e.fixMissing?M({store:n,storePath:t.storePath}):0,{activeSessionKey:e.activeKey,maintenanceOverride:{mode:i},onMaintenanceApplied:e=>{n.current=e}}),a=l(t.storePath,{skipCache:!0}),s=u.find(e=>e.summary.storePath===t.storePath),c=n.current,f=c===null?{...s?.summary??{agentId:t.agentId,storePath:t.storePath,mode:i,dryRun:!1,beforeCount:0,afterCount:0,missing:0,pruned:0,capped:0,diskBudget:null,wouldMutate:!1},dryRun:!1,applied:!0,appliedCount:Object.keys(a).length}:{agentId:t.agentId,storePath:t.storePath,mode:c.mode,dryRun:!1,beforeCount:c.beforeCount,afterCount:c.afterCount,missing:r,pruned:c.pruned,capped:c.capped,diskBudget:c.diskBudget,wouldMutate:r>0||c.pruned>0||c.capped>0||(c.diskBudget?.removedEntries??0)>0||(c.diskBudget?.removedFiles??0)>0,applied:!0,appliedCount:Object.keys(a).length};d.push(f)}if(e.json){if(d.length===1){t.log(JSON.stringify(d[0]??{},null,2));return}t.log(JSON.stringify({allAgents:!0,mode:i,dryRun:!1,stores:d},null,2));return}for(let e=0;e<d.length;e+=1){let n=d[e];e>0&&t.log(``),d.length>1&&t.log(`Agent: ${n.agentId}`),t.log(`Session store: ${n.storePath}`),t.log(`Applied maintenance. Current entries: ${n.appliedCount??0}`)}}function I(e){return!!(e.verbose||e.debug)}function L(e){let t=g(e);return e!==void 0&&t===void 0?(n.error(`--timeout must be a positive integer (milliseconds)`),n.exit(1),null):t}async function R(e,t){let i=I(e);r(i);let a=L(e.timeout);a!==null&&await m(n,async()=>{await t({verbose:i,timeoutMs:a})})}function z(t){t.command(`status`).description(`Show channel health and recent session recipients`).option(`--json`,`Output JSON instead of text`,!1).option(`--all`,`Full diagnosis (read-only, pasteable)`,!1).option(`--usage`,`Show model provider usage/quota snapshots`,!1).option(`--deep`,`Probe channels (WhatsApp Web + Telegram + Discord + Slack + Signal)`,!1).option(`--timeout <ms>`,`Probe timeout in milliseconds`,`10000`).option(`--verbose`,`Verbose logging`,!1).option(`--debug`,`Alias for --verbose`,!1).addHelpText(`after`,()=>`\n${e.heading(`Examples:`)}\n${h([[`openclaw status`,`Show channel health + session summary.`],[`openclaw status --all`,`Full diagnosis (read-only).`],[`openclaw status --json`,`Machine-readable output.`],[`openclaw status --usage`,`Show model provider usage/quota snapshots.`],[`openclaw status --deep`,`Run channel probes (WA + Telegram + Discord + Slack + Signal).`],[`openclaw status --deep --timeout 5000`,`Tighten probe timeout.`]])}`).addHelpText(`after`,()=>`\n${e.muted(`Docs:`)} ${p(`/cli/status`,`docs.openclaw.ai/cli/status`)}\n`).action(async e=>{await R(e,async({verbose:t,timeoutMs:r})=>{await _({json:!!e.json,all:!!e.all,deep:!!e.deep,usage:!!e.usage,timeoutMs:r,verbose:t},n)})}),t.command(`health`).description(`Fetch health from the running gateway`).option(`--json`,`Output JSON instead of text`,!1).option(`--timeout <ms>`,`Connection timeout in milliseconds`,`10000`).option(`--verbose`,`Verbose logging`,!1).option(`--debug`,`Alias for --verbose`,!1).addHelpText(`after`,()=>`\n${e.muted(`Docs:`)} ${p(`/cli/health`,`docs.openclaw.ai/cli/health`)}\n`).action(async e=>{await R(e,async({verbose:t,timeoutMs:r})=>{await v({json:!!e.json,timeoutMs:r,verbose:t},n)})});let i=t.command(`sessions`).description(`List stored conversation sessions`).option(`--json`,`Output as JSON`,!1).option(`--verbose`,`Verbose logging`,!1).option(`--store <path>`,`Path to session store (default: resolved from config)`).option(`--agent <id>`,`Agent id to inspect (default: configured default agent)`).option(`--all-agents`,`Aggregate sessions across all configured agents`,!1).option(`--active <minutes>`,`Only show sessions updated within the past N minutes`).addHelpText(`after`,()=>`\n${e.heading(`Examples:`)}\n${h([[`openclaw sessions`,`List all sessions.`],[`openclaw sessions --agent work`,`List sessions for one agent.`],[`openclaw sessions --all-agents`,`Aggregate sessions across agents.`],[`openclaw sessions --active 120`,`Only last 2 hours.`],[`openclaw sessions --json`,`Machine-readable output.`],[`openclaw sessions --store ./tmp/sessions.json`,`Use a specific session store.`]])}\n\n${e.muted(`Shows token usage per session when the agent reports it; set agents.defaults.contextTokens to cap the window and show %.`)}`).addHelpText(`after`,()=>`\n${e.muted(`Docs:`)} ${p(`/cli/sessions`,`docs.openclaw.ai/cli/sessions`)}\n`).action(async e=>{r(!!e.verbose),await E({json:!!e.json,store:e.store,agent:e.agent,allAgents:!!e.allAgents,active:e.active},n)});i.enablePositionalOptions(),i.command(`cleanup`).description(`Run session-store maintenance now`).option(`--store <path>`,`Path to session store (default: resolved from config)`).option(`--agent <id>`,`Agent id to maintain (default: configured default agent)`).option(`--all-agents`,`Run maintenance across all configured agents`,!1).option(`--dry-run`,`Preview maintenance actions without writing`,!1).option(`--enforce`,`Apply maintenance even when configured mode is warn`,!1).option(`--fix-missing`,`Remove store entries whose transcript files are missing (bypasses age/count retention)`,!1).option(`--active-key <key>`,`Protect this session key from budget-eviction`).option(`--json`,`Output JSON`,!1).addHelpText(`after`,()=>`\n${e.heading(`Examples:`)}\n${h([[`openclaw sessions cleanup --dry-run`,`Preview stale/cap cleanup.`],[`openclaw sessions cleanup --dry-run --fix-missing`,`Also preview pruning entries with missing transcript files.`],[`openclaw sessions cleanup --enforce`,`Apply maintenance now.`],[`openclaw sessions cleanup --agent work --dry-run`,`Preview one agent store.`],[`openclaw sessions cleanup --all-agents --dry-run`,`Preview all agent stores.`],[`openclaw sessions cleanup --enforce --store ./tmp/sessions.json`,`Use a specific store.`]])}`).action(async(e,t)=>{let r=t.parent?.opts();await m(n,async()=>{await F({store:e.store??r?.store,agent:e.agent??r?.agent,allAgents:!!(e.allAgents||r?.allAgents),dryRun:!!e.dryRun,enforce:!!e.enforce,fixMissing:!!e.fixMissing,activeKey:e.activeKey,json:!!(e.json||r?.json)},n)})})}export{z as registerStatusHealthSessionsCommands};
|
|
2
|
-
//# sourceMappingURL=register.status-health-sessions-mPGKFjIz.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import{t as e}from"./rolldown-runtime-CNxR59P3.js";import{J as t,U as n,Z as r}from"./subsystem-BLbY429l.js";import{i}from"./entry.js";import{r as a}from"./helpers-COz1ghcB.js";async function o(e,t){let r=t.at(-1),i=(r?.parent??e).rawArgs,o=a(r),s=r?.name()?[r.name(),...o]:o,c=n({programName:e.name(),rawArgs:i,fallbackArgv:s});await e.parseAsync(c)}function s(e,t){let n=e.commands,r=n.indexOf(t);return r<0?!1:(n.splice(r,1),!0)}function c(e,t){let n=e.commands.find(e=>e.name()===t);return n?s(e,n):!1}var l=e({getSubCliCommandsWithSubcommands:()=>h,getSubCliEntries:()=>m,loadValidatedConfigForPluginRegistration:()=>f,registerSubCliByName:()=>g,registerSubCliCommands:()=>v});const u=e=>!(i(process.env.OPENCLAW_DISABLE_LAZY_SUBCOMMANDS)||r(e)),d=e=>i(process.env.OPENCLAW_DISABLE_LAZY_SUBCOMMANDS),f=async()=>{let e=await import(`./auth-profiles-C8rZRS0X.js`).then(e=>e.wo);return(await e.readConfigFileSnapshot()).valid?e.loadConfig():null},p=[{name:`acp`,description:`Agent Control Protocol tools`,hasSubcommands:!0,register:async e=>{(await import(`./acp-cli-BHsTg1ac.js`)).registerAcpCli(e)}},{name:`gateway`,description:`Run, inspect, and query the WebSocket Gateway`,hasSubcommands:!0,register:async e=>{(await import(`./gateway-cli-
|
|
2
|
-
//# sourceMappingURL=register.subclis-5Pb-uEHk.js.map
|
|
1
|
+
import{t as e}from"./rolldown-runtime-CNxR59P3.js";import{J as t,U as n,Z as r}from"./subsystem-BLbY429l.js";import{i}from"./entry.js";import{r as a}from"./helpers-COz1ghcB.js";async function o(e,t){let r=t.at(-1),i=(r?.parent??e).rawArgs,o=a(r),s=r?.name()?[r.name(),...o]:o,c=n({programName:e.name(),rawArgs:i,fallbackArgv:s});await e.parseAsync(c)}function s(e,t){let n=e.commands,r=n.indexOf(t);return r<0?!1:(n.splice(r,1),!0)}function c(e,t){let n=e.commands.find(e=>e.name()===t);return n?s(e,n):!1}var l=e({getSubCliCommandsWithSubcommands:()=>h,getSubCliEntries:()=>m,loadValidatedConfigForPluginRegistration:()=>f,registerSubCliByName:()=>g,registerSubCliCommands:()=>v});const u=e=>!(i(process.env.OPENCLAW_DISABLE_LAZY_SUBCOMMANDS)||r(e)),d=e=>i(process.env.OPENCLAW_DISABLE_LAZY_SUBCOMMANDS),f=async()=>{let e=await import(`./auth-profiles-C8rZRS0X.js`).then(e=>e.wo);return(await e.readConfigFileSnapshot()).valid?e.loadConfig():null},p=[{name:`acp`,description:`Agent Control Protocol tools`,hasSubcommands:!0,register:async e=>{(await import(`./acp-cli-BHsTg1ac.js`)).registerAcpCli(e)}},{name:`gateway`,description:`Run, inspect, and query the WebSocket Gateway`,hasSubcommands:!0,register:async e=>{(await import(`./gateway-cli-BMmU2dsG.js`)).registerGatewayCli(e)}},{name:`daemon`,description:`Gateway service (legacy alias)`,hasSubcommands:!0,register:async e=>{(await import(`./daemon-cli-CEHkT-54.js`).then(e=>e.t)).registerDaemonCli(e)}},{name:`logs`,description:`Tail gateway file logs via RPC`,hasSubcommands:!1,register:async e=>{(await import(`./logs-cli-Ch50TE-J.js`)).registerLogsCli(e)}},{name:`system`,description:`System events, heartbeat, and presence`,hasSubcommands:!0,register:async e=>{(await import(`./system-cli-NAH97F2s.js`)).registerSystemCli(e)}},{name:`models`,description:`Discover, scan, and configure models`,hasSubcommands:!0,register:async e=>{(await import(`./models-cli-CqbDyDn2.js`)).registerModelsCli(e)}},{name:`approvals`,description:`Manage exec approvals (gateway or node host)`,hasSubcommands:!0,register:async e=>{(await import(`./exec-approvals-cli-BokGzWFo.js`)).registerExecApprovalsCli(e)}},{name:`nodes`,description:`Manage gateway-owned node pairing and node commands`,hasSubcommands:!0,register:async e=>{(await import(`./nodes-cli-DzO6PSFw.js`)).registerNodesCli(e)}},{name:`devices`,description:`Device pairing + token management`,hasSubcommands:!0,register:async e=>{(await import(`./devices-cli-BYD6Sq88.js`)).registerDevicesCli(e)}},{name:`node`,description:`Run and manage the headless node host service`,hasSubcommands:!0,register:async e=>{(await import(`./node-cli-Dv-Eib4o.js`)).registerNodeCli(e)}},{name:`sandbox`,description:`Manage sandbox containers for agent isolation`,hasSubcommands:!0,register:async e=>{(await import(`./sandbox-cli-BR0Lsru-.js`)).registerSandboxCli(e)}},{name:`tui`,description:`Open a terminal UI connected to the Gateway`,hasSubcommands:!1,register:async e=>{(await import(`./tui-cli-C9QPsw50.js`)).registerTuiCli(e)}},{name:`cron`,description:`Manage cron jobs via the Gateway scheduler`,hasSubcommands:!0,register:async e=>{(await import(`./cron-cli-BKS4L-uW.js`)).registerCronCli(e)}},{name:`dns`,description:`DNS helpers for wide-area discovery (Tailscale + CoreDNS)`,hasSubcommands:!0,register:async e=>{(await import(`./dns-cli-wKg6nn6f.js`)).registerDnsCli(e)}},{name:`docs`,description:`Search the live OpenClaw docs`,hasSubcommands:!1,register:async e=>{(await import(`./docs-cli-CwW4sqbC.js`)).registerDocsCli(e)}},{name:`hooks`,description:`Manage internal agent hooks`,hasSubcommands:!0,register:async e=>{(await import(`./hooks-cli-BoxAnC-E.js`)).registerHooksCli(e)}},{name:`webhooks`,description:`Webhook helpers and integrations`,hasSubcommands:!0,register:async e=>{(await import(`./webhooks-cli-DMTzhfTv.js`)).registerWebhooksCli(e)}},{name:`qr`,description:`Generate iOS pairing QR/setup code`,hasSubcommands:!1,register:async e=>{(await import(`./qr-cli-D06YZurm.js`)).registerQrCli(e)}},{name:`clawbot`,description:`Legacy clawbot command aliases`,hasSubcommands:!0,register:async e=>{(await import(`./clawbot-cli-BcEtQbFY.js`)).registerClawbotCli(e)}},{name:`pairing`,description:`Secure DM pairing (approve inbound requests)`,hasSubcommands:!0,register:async e=>{let{registerPluginCliCommands:t}=await import(`./cli-Bt--1dhL.js`),n=await f();n&&t(e,n),(await import(`./pairing-cli-ByPhOBWo.js`)).registerPairingCli(e)}},{name:`plugins`,description:`Manage OpenClaw plugins and extensions`,hasSubcommands:!0,register:async e=>{(await import(`./plugins-cli-CnXgwZzI.js`)).registerPluginsCli(e);let{registerPluginCliCommands:t}=await import(`./cli-Bt--1dhL.js`),n=await f();n&&t(e,n)}},{name:`channels`,description:`Manage connected chat channels (Telegram, Discord, etc.)`,hasSubcommands:!0,register:async e=>{(await import(`./channels-cli-BfgVv5jH.js`)).registerChannelsCli(e)}},{name:`directory`,description:`Lookup contact and group IDs (self, peers, groups) for supported chat channels`,hasSubcommands:!0,register:async e=>{(await import(`./directory-cli-b_l3qJI_.js`)).registerDirectoryCli(e)}},{name:`security`,description:`Security tools and local config audits`,hasSubcommands:!0,register:async e=>{(await import(`./security-cli-C6t8OxaE.js`)).registerSecurityCli(e)}},{name:`secrets`,description:`Secrets runtime reload controls`,hasSubcommands:!0,register:async e=>{(await import(`./secrets-cli-B8kwyZFo.js`)).registerSecretsCli(e)}},{name:`skills`,description:`List and inspect available skills`,hasSubcommands:!0,register:async e=>{(await import(`./skills-cli-DK0QDfln.js`)).registerSkillsCli(e)}},{name:`update`,description:`Update OpenClaw and inspect update channel status`,hasSubcommands:!0,register:async e=>{(await import(`./update-cli-CL_cUjuq.js`)).registerUpdateCli(e)}},{name:`completion`,description:`Generate shell completion script`,hasSubcommands:!1,register:async e=>{(await import(`./completion-cli-BVbT_aR2.js`).then(e=>e.n)).registerCompletionCli(e)}}];function m(){return p}function h(){return p.filter(e=>e.hasSubcommands).map(e=>e.name)}async function g(e,t){let n=p.find(e=>e.name===t);return n?(c(e,n.name),await n.register(e),!0):!1}function _(e,t){let n=e.command(t.name).description(t.description);n.allowUnknownOption(!0),n.allowExcessArguments(!0),n.action(async(...r)=>{s(e,n),await t.register(e),await o(e,r)})}function v(e,n=process.argv){if(d(n)){for(let t of p)t.register(e);return}let r=t(n);if(r&&u(n)){let t=p.find(e=>e.name===r);if(t){_(e,t);return}}for(let t of p)_(e,t)}export{l as a,v as i,m as n,c as o,g as r,o as s,h as t};
|
|
@@ -1,2 +1 @@
|
|
|
1
1
|
import{S as e,t}from"./subsystem-BLbY429l.js";import{v as n}from"./utils-CGdo13HV.js";import r from"node:path";const i={memory:`memory`,"context-engine":`contextEngine`},a={memory:`memory-core`,contextEngine:`legacy`};function o(e){return e?i[e]??null:null}function s(e){return a[e]}function c(e){let t=o(e.selectedKind);if(!t)return{config:e.config,warnings:[],changed:!1};let n=[],r=e.config.plugins??{},i=r.slots?.[t],a={...r.slots,[t]:e.selectedId},c=i??s(t);c&&c!==e.selectedId&&n.push(`Exclusive slot "${t}" switched from "${c}" to "${e.selectedId}".`);let l={...r.entries},u=[];if(e.registry)for(let t of e.registry.plugins){if(t.id===e.selectedId||t.kind!==e.selectedKind)continue;let n=l[t.id];(!n||n.enabled!==!1)&&(l[t.id]={...n,enabled:!1},u.push(t.id))}return u.length>0&&n.push(`Disabled other "${t}" slot plugins: ${u.toSorted().join(`, `)}.`),i!==e.selectedId||u.length>0?{config:{...e.config,plugins:{...r,slots:a,entries:l}},warnings:n,changed:!0}:{config:e.config,warnings:[],changed:!1}}const l=Symbol.for(`openclaw.contextEngineRegistryState`);function u(){let e=globalThis;return e[l]||(e[l]={engines:new Map}),e[l]}function d(e,t){u().engines.set(e,t)}function f(){return[...u().engines.keys()]}async function p(e){let t=e?.plugins?.slots?.contextEngine,n=typeof t==`string`&&t.trim()?t.trim():s(`contextEngine`),r=u().engines.get(n);if(!r)throw Error(`Context engine "${n}" is not registered. Available engines: ${f().join(`, `)||`(none)`}`);return r()}const m=globalThis,h=m.__openclaw_internal_hook_handlers__??=new Map,g=t(`internal-hooks`);function _(e,t){h.has(e)||h.set(e,[]),h.get(e).push(t)}function v(){h.clear()}async function y(e){let t=h.get(e.type)??[],n=h.get(`${e.type}:${e.action}`)??[],r=[...t,...n];if(r.length!==0)for(let t of r)try{await t(e)}catch(t){let n=t instanceof Error?t.message:String(t);g.error(`Hook error [${e.type}:${e.action}]: ${n}`)}}function b(e,t,n,r={}){return{type:e,action:t,sessionKey:n,context:r,timestamp:new Date,messages:[]}}const x=new Map;let S=!1;const C=4096,ee=new Set([`help`,`commands`,`status`,`whoami`,`context`,`stop`,`reset`,`new`,`compact`,`session`,`allowlist`,`approve`,`skill`,`verbose`,`reasoning`,`usage`,`tts`]);function te(e){let t=e.trim().toLowerCase();return t?/^[a-z][a-z0-9_-]*$/.test(t)?ee.has(t)?`Command name "${t}" is reserved by a built-in command`:null:`Command name must start with a letter and contain only letters, numbers, hyphens, and underscores`:`Command name cannot be empty`}function ne(t,n){if(S)return{ok:!1,error:`Cannot register commands while processing is in progress`};if(typeof n.handler!=`function`)return{ok:!1,error:`Command handler must be a function`};if(typeof n.name!=`string`)return{ok:!1,error:`Command name must be a string`};if(typeof n.description!=`string`)return{ok:!1,error:`Command description must be a string`};let r=n.name.trim(),i=n.description.trim();if(!i)return{ok:!1,error:`Command description cannot be empty`};let a=te(r);if(a)return{ok:!1,error:a};let o=`/${r.toLowerCase()}`;return x.has(o)?{ok:!1,error:`Command "${r}" already registered by plugin "${x.get(o).pluginId}"`}:(x.set(o,{...n,name:r,description:i,pluginId:t}),e(`Registered plugin command: ${o} (plugin: ${t})`),{ok:!0})}function re(){x.clear()}function ie(e){let t=e.trim();if(!t.startsWith(`/`))return null;let n=t.indexOf(` `),r=n===-1?t:t.slice(0,n),i=n===-1?void 0:t.slice(n+1).trim(),a=r.toLowerCase(),o=x.get(a);return!o||i&&!o.acceptsArgs?null:{command:o,args:i||void 0}}function w(e){if(!e)return;if(e.length>C)return e.slice(0,C);let t=``;for(let n of e){let e=n.charCodeAt(0);e<=31&&e!==9&&e!==10||e===127||(t+=n)}return t}async function T(t){let{command:n,args:r,senderId:i,channel:a,isAuthorizedSender:o,commandBody:s,config:c}=t;if(n.requireAuth!==!1&&!o)return e(`Plugin command /${n.name} blocked: unauthorized sender ${i||`<unknown>`}`),{text:`⚠️ This command requires authorization.`};let l=w(r),u={senderId:i,channel:a,channelId:t.channelId,isAuthorizedSender:o,args:l,commandBody:s,config:c,from:t.from,to:t.to,accountId:t.accountId,messageThreadId:t.messageThreadId};S=!0;try{let t=await n.handler(u);return e(`Plugin command /${n.name} executed successfully for ${i||`unknown`}`),t}catch(t){let r=t;return e(`Plugin command /${n.name} error: ${r.message}`),{text:`⚠️ Command failed. Please try again later.`}}finally{S=!1}}function E(){return Array.from(x.values()).map(e=>({name:e.name,description:e.description,pluginId:e.pluginId}))}function D(e,t){let n=t?.trim().toLowerCase(),r=n?e.nativeNames?.[n]:void 0;if(typeof r==`string`&&r.trim())return r.trim();let i=e.nativeNames?.default;return typeof i==`string`&&i.trim()?i.trim():e.name}function ae(e){return Array.from(x.values()).map(t=>({name:D(t,e),description:t.description,acceptsArgs:t.acceptsArgs??!1}))}function O(e,t){let n=e?.trim();if(!n){let e=t?.trim();return e?e.startsWith(`/`)?e:`/${e}`:null}return n.startsWith(`/`)?n:`/${n}`}function k(e){let t=e.replace(/\/{2,}/g,`/`);return t.length<=1?t:t.replace(/\/+$/,``)}function oe(e){try{return new URL(e,`http://localhost`).pathname}catch{return e}}function se(e){return k(oe(e).toLowerCase())||`/`}function A(e,t,n){let r=se(n);t.has(r)||(t.add(r),e.push(r))}function j(e,t=32){let n=[],r=new Set;A(n,r,e);let i=e,a=!1,o=0;for(let e=0;e<t;e++){let e=i;try{e=decodeURIComponent(i)}catch{a=!0;break}if(e===i)break;o+=1,i=e,A(n,r,i)}let s=!1;if(!a)try{s=decodeURIComponent(i)!==i}catch{a=!0}return{candidates:n,decodePasses:o,decodePassLimitReached:s,malformedEncoding:a}}function M(e){let{candidates:t}=j(e);return t[t.length-1]??`/`}function N(e){let{candidates:t,decodePasses:n,decodePassLimitReached:r,malformedEncoding:i}=j(e);return{canonicalPath:t[t.length-1]??`/`,candidates:t,decodePasses:n,decodePassLimitReached:r,malformedEncoding:i,rawNormalizedPath:k(e.toLowerCase())||`/`}}const P=[`/api/channels`];function F(e,t){return e===t||e.startsWith(`${t}/`)||e.startsWith(`${t}%`)}function I(e,t){let n=M(e.path),r=M(t.path);if(e.match===`exact`&&t.match===`exact`)return n===r;if(e.match===`prefix`&&t.match===`prefix`)return F(n,r)||F(r,n);let i=e.match===`prefix`?e:t;return F(M((e.match===`exact`?e:t).path),M(i.path))}function L(e,t){return e.find(e=>I(e,t))}const R=new Set([`before_model_resolve`,`before_prompt_build`,`before_agent_start`,`llm_input`,`llm_output`,`agent_end`,`before_compaction`,`after_compaction`,`before_reset`,`message_received`,`message_sending`,`message_sent`,`before_tool_call`,`after_tool_call`,`tool_result_persist`,`before_message_write`,`session_start`,`session_end`,`subagent_spawning`,`subagent_delivery_target`,`subagent_spawned`,`subagent_ended`,`gateway_start`,`gateway_stop`]),z=e=>typeof e==`string`&&R.has(e),B=new Set([`before_prompt_build`,`before_agent_start`]),V=e=>B.has(e),H=[`systemPrompt`,`prependContext`,`prependSystemContext`,`appendSystemContext`],U=e=>{if(!e||typeof e!=`object`)return e;let t={...e};for(let e of H)delete t[e];return Object.keys(t).length>0?t:void 0},W=e=>(t,n)=>{let r=e(t,n);return r&&typeof r==`object`&&`then`in r?Promise.resolve(r).then(e=>U(e)):U(r)};function G(){return{plugins:[],tools:[],hooks:[],typedHooks:[],channels:[],providers:[],gatewayHandlers:{},httpRoutes:[],cliRegistrars:[],services:[],commands:[],diagnostics:[]}}function K(e){let t=G(),i=new Set(Object.keys(e.coreGatewayHandlers??{})),a=e=>{t.diagnostics.push(e)},o=(e,n,r)=>{let i=r?.names??(r?.name?[r.name]:[]),a=r?.optional===!0,o=typeof n==`function`?n:e=>n;typeof n!=`function`&&i.push(n.name);let s=i.map(e=>e.trim()).filter(Boolean);s.length>0&&e.toolNames.push(...s),t.tools.push({pluginId:e.id,factory:o,names:s,optional:a,source:e.source})},s=(e,n,i,o,s)=>{let c=(Array.isArray(n)?n:[n]).map(e=>e.trim()).filter(Boolean),l=o?.entry??null,u=l?.hook.name??o?.name?.trim();if(!u){a({level:`warn`,pluginId:e.id,source:e.source,message:`hook registration missing name`});return}let d=l?.hook.description??o?.description??``,f=l?{...l,hook:{...l.hook,name:u,description:d,source:`openclaw-plugin`,pluginId:e.id},metadata:{...l.metadata,events:c}}:{hook:{name:u,description:d,source:`openclaw-plugin`,pluginId:e.id,filePath:e.source,baseDir:r.dirname(e.source),handlerPath:e.source},frontmatter:{},metadata:{events:c},invocation:{enabled:!0}};if(e.hookNames.push(u),t.hooks.push({pluginId:e.id,entry:f,events:c,source:e.source}),!(s?.hooks?.internal?.enabled!==!0||o?.register===!1))for(let e of c)_(e,i)},c=(e,n,r)=>{let o=n.trim();if(o){if(i.has(o)||t.gatewayHandlers[o]){a({level:`error`,pluginId:e.id,source:e.source,message:`gateway method already registered: ${o}`});return}t.gatewayHandlers[o]=r,e.gatewayMethods.push(o)}},l=e=>`${e.pluginId?.trim()||`unknown-plugin`} (${e.source?.trim()||`unknown-source`})`,u=(e,n)=>{let r=O(n.path);if(!r){a({level:`warn`,pluginId:e.id,source:e.source,message:`http route registration missing path`});return}if(n.auth!==`gateway`&&n.auth!==`plugin`){a({level:`error`,pluginId:e.id,source:e.source,message:`http route registration missing or invalid auth: ${r}`});return}let i=n.match??`exact`,o=L(t.httpRoutes,{path:r,match:i});if(o&&o.auth!==n.auth){a({level:`error`,pluginId:e.id,source:e.source,message:`http route overlap rejected: ${r} (${i}, ${n.auth}) overlaps ${o.path} (${o.match}, ${o.auth}) owned by ${l(o)}`});return}let s=t.httpRoutes.findIndex(e=>e.path===r&&e.match===i);if(s>=0){let o=t.httpRoutes[s];if(!o)return;if(!n.replaceExisting){a({level:`error`,pluginId:e.id,source:e.source,message:`http route already registered: ${r} (${i}) by ${l(o)}`});return}if(o.pluginId&&o.pluginId!==e.id){a({level:`error`,pluginId:e.id,source:e.source,message:`http route replacement rejected: ${r} (${i}) owned by ${l(o)}`});return}t.httpRoutes[s]={pluginId:e.id,path:r,handler:n.handler,auth:n.auth,match:i,source:e.source};return}e.httpRoutes+=1,t.httpRoutes.push({pluginId:e.id,path:r,handler:n.handler,auth:n.auth,match:i,source:e.source})},f=(e,n)=>{let r=typeof n.plugin==`object`?n:{plugin:n},i=r.plugin,o=typeof i?.id==`string`?i.id.trim():String(i?.id??``).trim();if(!o){a({level:`error`,pluginId:e.id,source:e.source,message:`channel registration missing id`});return}e.channelIds.push(o),t.channels.push({pluginId:e.id,plugin:i,dock:r.dock,source:e.source})},p=(e,n)=>{let r=typeof n?.id==`string`?n.id.trim():``;if(!r){a({level:`error`,pluginId:e.id,source:e.source,message:`provider registration missing id`});return}let i=t.providers.find(e=>e.provider.id===r);if(i){a({level:`error`,pluginId:e.id,source:e.source,message:`provider already registered: ${r} (${i.pluginId})`});return}e.providerIds.push(r),t.providers.push({pluginId:e.id,provider:n,source:e.source})},m=(e,n,r)=>{let i=(r?.commands??[]).map(e=>e.trim()).filter(Boolean);e.cliCommands.push(...i),t.cliRegistrars.push({pluginId:e.id,register:n,commands:i,source:e.source})},h=(e,n)=>{let r=n.id.trim();r&&(e.services.push(r),t.services.push({pluginId:e.id,service:n,source:e.source}))},g=(e,n)=>{let r=n.name.trim();if(!r){a({level:`error`,pluginId:e.id,source:e.source,message:`command registration missing name`});return}let i=ne(e.id,n);if(!i.ok){a({level:`error`,pluginId:e.id,source:e.source,message:`command registration failed: ${i.error}`});return}e.commands.push(r),t.commands.push({pluginId:e.id,command:n,source:e.source})},v=(e,n,r,i,o)=>{if(!z(n)){a({level:`warn`,pluginId:e.id,source:e.source,message:`unknown typed hook "${String(n)}" ignored`});return}let s=r;if(o?.allowPromptInjection===!1&&V(n)){if(n===`before_prompt_build`){a({level:`warn`,pluginId:e.id,source:e.source,message:`typed hook "${n}" blocked by plugins.entries.${e.id}.hooks.allowPromptInjection=false`});return}n===`before_agent_start`&&(a({level:`warn`,pluginId:e.id,source:e.source,message:`typed hook "${n}" prompt fields constrained by plugins.entries.${e.id}.hooks.allowPromptInjection=false`}),s=W(r))}e.hookCount+=1,t.typedHooks.push({pluginId:e.id,hookName:n,handler:s,priority:i?.priority,source:e.source})},y=e=>({info:e.info,warn:e.warn,error:e.error,debug:e.debug});return{registry:t,createApi:(t,r)=>({id:t.id,name:t.name,version:t.version,description:t.description,source:t.source,config:r.config,pluginConfig:r.pluginConfig,runtime:e.runtime,logger:y(e.logger),registerTool:(e,n)=>o(t,e,n),registerHook:(e,n,i)=>s(t,e,n,i,r.config),registerHttpRoute:e=>u(t,e),registerChannel:e=>f(t,e),registerProvider:e=>p(t,e),registerGatewayMethod:(e,n)=>c(t,e,n),registerCli:(e,n)=>m(t,e,n),registerService:e=>h(t,e),registerCommand:e=>g(t,e),registerContextEngine:(e,t)=>d(e,t),resolvePath:e=>n(e),on:(e,n,i)=>v(t,e,n,i,r.hookPolicy)}),pushDiagnostic:a,registerTool:o,registerChannel:f,registerProvider:p,registerGatewayMethod:c,registerCli:m,registerService:h,registerCommand:g,registerHook:s,registerTypedHook:v}}const q=Symbol.for(`openclaw.pluginRegistryState`),J=(()=>{let e=globalThis;return e[q]||(e[q]={registry:G(),key:null,version:0}),e[q]})();function ce(e,t){J.registry=e,J.key=t??null,J.version+=1}function le(){return J.registry}function Y(){return J.registry||(J.registry=G(),J.version+=1),J.registry}function ue(){return J.key}function de(){return J.version}const X=[`telegram`,`whatsapp`,`discord`,`irc`,`googlechat`,`slack`,`signal`,`imessage`,`line`],fe=[...X],Z={telegram:{id:`telegram`,label:`Telegram`,selectionLabel:`Telegram (Bot API)`,detailLabel:`Telegram Bot`,docsPath:`/channels/telegram`,docsLabel:`telegram`,blurb:`simplest way to get started — register a bot with @BotFather and get going.`,systemImage:`paperplane`,selectionDocsPrefix:``,selectionDocsOmitLabel:!0,selectionExtras:[`https://openclaw.ai`]},whatsapp:{id:`whatsapp`,label:`WhatsApp`,selectionLabel:`WhatsApp (QR link)`,detailLabel:`WhatsApp Web`,docsPath:`/channels/whatsapp`,docsLabel:`whatsapp`,blurb:`works with your own number; recommend a separate phone + eSIM.`,systemImage:`message`},discord:{id:`discord`,label:`Discord`,selectionLabel:`Discord (Bot API)`,detailLabel:`Discord Bot`,docsPath:`/channels/discord`,docsLabel:`discord`,blurb:`very well supported right now.`,systemImage:`bubble.left.and.bubble.right`},irc:{id:`irc`,label:`IRC`,selectionLabel:`IRC (Server + Nick)`,detailLabel:`IRC`,docsPath:`/channels/irc`,docsLabel:`irc`,blurb:`classic IRC networks with DM/channel routing and pairing controls.`,systemImage:`network`},googlechat:{id:`googlechat`,label:`Google Chat`,selectionLabel:`Google Chat (Chat API)`,detailLabel:`Google Chat`,docsPath:`/channels/googlechat`,docsLabel:`googlechat`,blurb:`Google Workspace Chat app with HTTP webhook.`,systemImage:`message.badge`},slack:{id:`slack`,label:`Slack`,selectionLabel:`Slack (Socket Mode)`,detailLabel:`Slack Bot`,docsPath:`/channels/slack`,docsLabel:`slack`,blurb:`supported (Socket Mode).`,systemImage:`number`},signal:{id:`signal`,label:`Signal`,selectionLabel:`Signal (signal-cli)`,detailLabel:`Signal REST`,docsPath:`/channels/signal`,docsLabel:`signal`,blurb:`signal-cli linked device; more setup (David Reagans: "Hop on Discord.").`,systemImage:`antenna.radiowaves.left.and.right`},imessage:{id:`imessage`,label:`iMessage`,selectionLabel:`iMessage (imsg)`,detailLabel:`iMessage`,docsPath:`/channels/imessage`,docsLabel:`imessage`,blurb:`this is still a work in progress.`,systemImage:`message.fill`},line:{id:`line`,label:`LINE`,selectionLabel:`LINE (Messaging API)`,detailLabel:`LINE Bot`,docsPath:`/channels/line`,docsLabel:`line`,blurb:`LINE Messaging API webhook bot.`,systemImage:`message`}},pe={imsg:`imessage`,"internet-relay-chat":`irc`,"google-chat":`googlechat`,gchat:`googlechat`},Q=e=>e?.trim().toLowerCase()||void 0;function me(){return X.map(e=>Z[e])}function he(e){return Z[e]}function $(e){let t=Q(e);if(!t)return null;let n=pe[t]??t;return X.includes(n)?n:null}function ge(e){return $(e)}function _e(e){let t=Q(e);return t?Y().channels.find(e=>{let n=String(e.plugin.id??``).trim().toLowerCase();return n&&n===t?!0:(e.plugin.meta.aliases??[]).some(e=>e.trim().toLowerCase()===t)})?.plugin.id??null:null}function ve(e){return`${e.label}: ${e.blurb}`}function ye(e,t){let n=e.selectionDocsPrefix??`Docs:`,r=e.docsLabel??e.id,i=e.selectionDocsOmitLabel?t(e.docsPath):t(e.docsPath,r),a=(e.selectionExtras??[]).filter(Boolean).join(` `);return`${e.label} — ${e.blurb} ${n?`${n} `:``}${i}${a?` ${a}`:``}`}export{y as A,T as C,v as D,ie as E,p as M,c as N,b as O,s as P,re as S,E as T,L as _,he as a,M as b,ge as c,ue as d,de as f,K as g,G as h,ye as i,d as j,_ as k,$ as l,ce as m,X as n,me as o,Y as p,ve as r,_e as s,fe as t,le as u,P as v,ae as w,O as x,N as y};
|
|
2
|
-
//# sourceMappingURL=registry-BptzrW8D.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
1
|
import{S as e,t}from"./subsystem-C5XF2Fy5.js";import{y as n}from"./utils-UGOV_184.js";import r from"node:path";const i={memory:`memory`,"context-engine":`contextEngine`},a={memory:`memory-core`,contextEngine:`legacy`};function o(e){return e?i[e]??null:null}function s(e){return a[e]}function c(e){let t=o(e.selectedKind);if(!t)return{config:e.config,warnings:[],changed:!1};let n=[],r=e.config.plugins??{},i=r.slots?.[t],a={...r.slots,[t]:e.selectedId},c=i??s(t);c&&c!==e.selectedId&&n.push(`Exclusive slot "${t}" switched from "${c}" to "${e.selectedId}".`);let l={...r.entries},u=[];if(e.registry)for(let t of e.registry.plugins){if(t.id===e.selectedId||t.kind!==e.selectedKind)continue;let n=l[t.id];(!n||n.enabled!==!1)&&(l[t.id]={...n,enabled:!1},u.push(t.id))}return u.length>0&&n.push(`Disabled other "${t}" slot plugins: ${u.toSorted().join(`, `)}.`),i!==e.selectedId||u.length>0?{config:{...e.config,plugins:{...r,slots:a,entries:l}},warnings:n,changed:!0}:{config:e.config,warnings:[],changed:!1}}const l=Symbol.for(`openclaw.contextEngineRegistryState`);function u(){let e=globalThis;return e[l]||(e[l]={engines:new Map}),e[l]}function d(e,t){u().engines.set(e,t)}function f(){return[...u().engines.keys()]}async function p(e){let t=e?.plugins?.slots?.contextEngine,n=typeof t==`string`&&t.trim()?t.trim():s(`contextEngine`),r=u().engines.get(n);if(!r)throw Error(`Context engine "${n}" is not registered. Available engines: ${f().join(`, `)||`(none)`}`);return r()}const m=globalThis,h=m.__openclaw_internal_hook_handlers__??=new Map,g=t(`internal-hooks`);function _(e,t){h.has(e)||h.set(e,[]),h.get(e).push(t)}function v(){h.clear()}async function y(e){let t=h.get(e.type)??[],n=h.get(`${e.type}:${e.action}`)??[],r=[...t,...n];if(r.length!==0)for(let t of r)try{await t(e)}catch(t){let n=t instanceof Error?t.message:String(t);g.error(`Hook error [${e.type}:${e.action}]: ${n}`)}}function b(e,t,n,r={}){return{type:e,action:t,sessionKey:n,context:r,timestamp:new Date,messages:[]}}const x=new Map;let S=!1;const C=4096,ee=new Set([`help`,`commands`,`status`,`whoami`,`context`,`stop`,`reset`,`new`,`compact`,`session`,`allowlist`,`approve`,`skill`,`verbose`,`reasoning`,`usage`,`tts`]);function te(e){let t=e.trim().toLowerCase();return t?/^[a-z][a-z0-9_-]*$/.test(t)?ee.has(t)?`Command name "${t}" is reserved by a built-in command`:null:`Command name must start with a letter and contain only letters, numbers, hyphens, and underscores`:`Command name cannot be empty`}function ne(t,n){if(S)return{ok:!1,error:`Cannot register commands while processing is in progress`};if(typeof n.handler!=`function`)return{ok:!1,error:`Command handler must be a function`};if(typeof n.name!=`string`)return{ok:!1,error:`Command name must be a string`};if(typeof n.description!=`string`)return{ok:!1,error:`Command description must be a string`};let r=n.name.trim(),i=n.description.trim();if(!i)return{ok:!1,error:`Command description cannot be empty`};let a=te(r);if(a)return{ok:!1,error:a};let o=`/${r.toLowerCase()}`;return x.has(o)?{ok:!1,error:`Command "${r}" already registered by plugin "${x.get(o).pluginId}"`}:(x.set(o,{...n,name:r,description:i,pluginId:t}),e(`Registered plugin command: ${o} (plugin: ${t})`),{ok:!0})}function re(){x.clear()}function ie(e){let t=e.trim();if(!t.startsWith(`/`))return null;let n=t.indexOf(` `),r=n===-1?t:t.slice(0,n),i=n===-1?void 0:t.slice(n+1).trim(),a=r.toLowerCase(),o=x.get(a);return!o||i&&!o.acceptsArgs?null:{command:o,args:i||void 0}}function w(e){if(!e)return;if(e.length>C)return e.slice(0,C);let t=``;for(let n of e){let e=n.charCodeAt(0);e<=31&&e!==9&&e!==10||e===127||(t+=n)}return t}async function T(t){let{command:n,args:r,senderId:i,channel:a,isAuthorizedSender:o,commandBody:s,config:c}=t;if(n.requireAuth!==!1&&!o)return e(`Plugin command /${n.name} blocked: unauthorized sender ${i||`<unknown>`}`),{text:`⚠️ This command requires authorization.`};let l=w(r),u={senderId:i,channel:a,channelId:t.channelId,isAuthorizedSender:o,args:l,commandBody:s,config:c,from:t.from,to:t.to,accountId:t.accountId,messageThreadId:t.messageThreadId};S=!0;try{let t=await n.handler(u);return e(`Plugin command /${n.name} executed successfully for ${i||`unknown`}`),t}catch(t){let r=t;return e(`Plugin command /${n.name} error: ${r.message}`),{text:`⚠️ Command failed. Please try again later.`}}finally{S=!1}}function E(){return Array.from(x.values()).map(e=>({name:e.name,description:e.description,pluginId:e.pluginId}))}function D(e,t){let n=t?.trim().toLowerCase(),r=n?e.nativeNames?.[n]:void 0;if(typeof r==`string`&&r.trim())return r.trim();let i=e.nativeNames?.default;return typeof i==`string`&&i.trim()?i.trim():e.name}function ae(e){return Array.from(x.values()).map(t=>({name:D(t,e),description:t.description,acceptsArgs:t.acceptsArgs??!1}))}function O(e,t){let n=e?.trim();if(!n){let e=t?.trim();return e?e.startsWith(`/`)?e:`/${e}`:null}return n.startsWith(`/`)?n:`/${n}`}function k(e){let t=e.replace(/\/{2,}/g,`/`);return t.length<=1?t:t.replace(/\/+$/,``)}function oe(e){try{return new URL(e,`http://localhost`).pathname}catch{return e}}function se(e){return k(oe(e).toLowerCase())||`/`}function A(e,t,n){let r=se(n);t.has(r)||(t.add(r),e.push(r))}function j(e,t=32){let n=[],r=new Set;A(n,r,e);let i=e,a=!1,o=0;for(let e=0;e<t;e++){let e=i;try{e=decodeURIComponent(i)}catch{a=!0;break}if(e===i)break;o+=1,i=e,A(n,r,i)}let s=!1;if(!a)try{s=decodeURIComponent(i)!==i}catch{a=!0}return{candidates:n,decodePasses:o,decodePassLimitReached:s,malformedEncoding:a}}function M(e){let{candidates:t}=j(e);return t[t.length-1]??`/`}function N(e){let{candidates:t,decodePasses:n,decodePassLimitReached:r,malformedEncoding:i}=j(e);return{canonicalPath:t[t.length-1]??`/`,candidates:t,decodePasses:n,decodePassLimitReached:r,malformedEncoding:i,rawNormalizedPath:k(e.toLowerCase())||`/`}}const P=[`/api/channels`];function F(e,t){return e===t||e.startsWith(`${t}/`)||e.startsWith(`${t}%`)}function I(e,t){let n=M(e.path),r=M(t.path);if(e.match===`exact`&&t.match===`exact`)return n===r;if(e.match===`prefix`&&t.match===`prefix`)return F(n,r)||F(r,n);let i=e.match===`prefix`?e:t;return F(M((e.match===`exact`?e:t).path),M(i.path))}function L(e,t){return e.find(e=>I(e,t))}const R=new Set([`before_model_resolve`,`before_prompt_build`,`before_agent_start`,`llm_input`,`llm_output`,`agent_end`,`before_compaction`,`after_compaction`,`before_reset`,`message_received`,`message_sending`,`message_sent`,`before_tool_call`,`after_tool_call`,`tool_result_persist`,`before_message_write`,`session_start`,`session_end`,`subagent_spawning`,`subagent_delivery_target`,`subagent_spawned`,`subagent_ended`,`gateway_start`,`gateway_stop`]),z=e=>typeof e==`string`&&R.has(e),B=new Set([`before_prompt_build`,`before_agent_start`]),V=e=>B.has(e),H=[`systemPrompt`,`prependContext`,`prependSystemContext`,`appendSystemContext`],U=e=>{if(!e||typeof e!=`object`)return e;let t={...e};for(let e of H)delete t[e];return Object.keys(t).length>0?t:void 0},W=e=>(t,n)=>{let r=e(t,n);return r&&typeof r==`object`&&`then`in r?Promise.resolve(r).then(e=>U(e)):U(r)};function G(){return{plugins:[],tools:[],hooks:[],typedHooks:[],channels:[],providers:[],gatewayHandlers:{},httpRoutes:[],cliRegistrars:[],services:[],commands:[],diagnostics:[]}}function K(e){let t=G(),i=new Set(Object.keys(e.coreGatewayHandlers??{})),a=e=>{t.diagnostics.push(e)},o=(e,n,r)=>{let i=r?.names??(r?.name?[r.name]:[]),a=r?.optional===!0,o=typeof n==`function`?n:e=>n;typeof n!=`function`&&i.push(n.name);let s=i.map(e=>e.trim()).filter(Boolean);s.length>0&&e.toolNames.push(...s),t.tools.push({pluginId:e.id,factory:o,names:s,optional:a,source:e.source})},s=(e,n,i,o,s)=>{let c=(Array.isArray(n)?n:[n]).map(e=>e.trim()).filter(Boolean),l=o?.entry??null,u=l?.hook.name??o?.name?.trim();if(!u){a({level:`warn`,pluginId:e.id,source:e.source,message:`hook registration missing name`});return}let d=l?.hook.description??o?.description??``,f=l?{...l,hook:{...l.hook,name:u,description:d,source:`openclaw-plugin`,pluginId:e.id},metadata:{...l.metadata,events:c}}:{hook:{name:u,description:d,source:`openclaw-plugin`,pluginId:e.id,filePath:e.source,baseDir:r.dirname(e.source),handlerPath:e.source},frontmatter:{},metadata:{events:c},invocation:{enabled:!0}};if(e.hookNames.push(u),t.hooks.push({pluginId:e.id,entry:f,events:c,source:e.source}),!(s?.hooks?.internal?.enabled!==!0||o?.register===!1))for(let e of c)_(e,i)},c=(e,n,r)=>{let o=n.trim();if(o){if(i.has(o)||t.gatewayHandlers[o]){a({level:`error`,pluginId:e.id,source:e.source,message:`gateway method already registered: ${o}`});return}t.gatewayHandlers[o]=r,e.gatewayMethods.push(o)}},l=e=>`${e.pluginId?.trim()||`unknown-plugin`} (${e.source?.trim()||`unknown-source`})`,u=(e,n)=>{let r=O(n.path);if(!r){a({level:`warn`,pluginId:e.id,source:e.source,message:`http route registration missing path`});return}if(n.auth!==`gateway`&&n.auth!==`plugin`){a({level:`error`,pluginId:e.id,source:e.source,message:`http route registration missing or invalid auth: ${r}`});return}let i=n.match??`exact`,o=L(t.httpRoutes,{path:r,match:i});if(o&&o.auth!==n.auth){a({level:`error`,pluginId:e.id,source:e.source,message:`http route overlap rejected: ${r} (${i}, ${n.auth}) overlaps ${o.path} (${o.match}, ${o.auth}) owned by ${l(o)}`});return}let s=t.httpRoutes.findIndex(e=>e.path===r&&e.match===i);if(s>=0){let o=t.httpRoutes[s];if(!o)return;if(!n.replaceExisting){a({level:`error`,pluginId:e.id,source:e.source,message:`http route already registered: ${r} (${i}) by ${l(o)}`});return}if(o.pluginId&&o.pluginId!==e.id){a({level:`error`,pluginId:e.id,source:e.source,message:`http route replacement rejected: ${r} (${i}) owned by ${l(o)}`});return}t.httpRoutes[s]={pluginId:e.id,path:r,handler:n.handler,auth:n.auth,match:i,source:e.source};return}e.httpRoutes+=1,t.httpRoutes.push({pluginId:e.id,path:r,handler:n.handler,auth:n.auth,match:i,source:e.source})},f=(e,n)=>{let r=typeof n.plugin==`object`?n:{plugin:n},i=r.plugin,o=typeof i?.id==`string`?i.id.trim():String(i?.id??``).trim();if(!o){a({level:`error`,pluginId:e.id,source:e.source,message:`channel registration missing id`});return}e.channelIds.push(o),t.channels.push({pluginId:e.id,plugin:i,dock:r.dock,source:e.source})},p=(e,n)=>{let r=typeof n?.id==`string`?n.id.trim():``;if(!r){a({level:`error`,pluginId:e.id,source:e.source,message:`provider registration missing id`});return}let i=t.providers.find(e=>e.provider.id===r);if(i){a({level:`error`,pluginId:e.id,source:e.source,message:`provider already registered: ${r} (${i.pluginId})`});return}e.providerIds.push(r),t.providers.push({pluginId:e.id,provider:n,source:e.source})},m=(e,n,r)=>{let i=(r?.commands??[]).map(e=>e.trim()).filter(Boolean);e.cliCommands.push(...i),t.cliRegistrars.push({pluginId:e.id,register:n,commands:i,source:e.source})},h=(e,n)=>{let r=n.id.trim();r&&(e.services.push(r),t.services.push({pluginId:e.id,service:n,source:e.source}))},g=(e,n)=>{let r=n.name.trim();if(!r){a({level:`error`,pluginId:e.id,source:e.source,message:`command registration missing name`});return}let i=ne(e.id,n);if(!i.ok){a({level:`error`,pluginId:e.id,source:e.source,message:`command registration failed: ${i.error}`});return}e.commands.push(r),t.commands.push({pluginId:e.id,command:n,source:e.source})},v=(e,n,r,i,o)=>{if(!z(n)){a({level:`warn`,pluginId:e.id,source:e.source,message:`unknown typed hook "${String(n)}" ignored`});return}let s=r;if(o?.allowPromptInjection===!1&&V(n)){if(n===`before_prompt_build`){a({level:`warn`,pluginId:e.id,source:e.source,message:`typed hook "${n}" blocked by plugins.entries.${e.id}.hooks.allowPromptInjection=false`});return}n===`before_agent_start`&&(a({level:`warn`,pluginId:e.id,source:e.source,message:`typed hook "${n}" prompt fields constrained by plugins.entries.${e.id}.hooks.allowPromptInjection=false`}),s=W(r))}e.hookCount+=1,t.typedHooks.push({pluginId:e.id,hookName:n,handler:s,priority:i?.priority,source:e.source})},y=e=>({info:e.info,warn:e.warn,error:e.error,debug:e.debug});return{registry:t,createApi:(t,r)=>({id:t.id,name:t.name,version:t.version,description:t.description,source:t.source,config:r.config,pluginConfig:r.pluginConfig,runtime:e.runtime,logger:y(e.logger),registerTool:(e,n)=>o(t,e,n),registerHook:(e,n,i)=>s(t,e,n,i,r.config),registerHttpRoute:e=>u(t,e),registerChannel:e=>f(t,e),registerProvider:e=>p(t,e),registerGatewayMethod:(e,n)=>c(t,e,n),registerCli:(e,n)=>m(t,e,n),registerService:e=>h(t,e),registerCommand:e=>g(t,e),registerContextEngine:(e,t)=>d(e,t),resolvePath:e=>n(e),on:(e,n,i)=>v(t,e,n,i,r.hookPolicy)}),pushDiagnostic:a,registerTool:o,registerChannel:f,registerProvider:p,registerGatewayMethod:c,registerCli:m,registerService:h,registerCommand:g,registerHook:s,registerTypedHook:v}}const q=Symbol.for(`openclaw.pluginRegistryState`),J=(()=>{let e=globalThis;return e[q]||(e[q]={registry:G(),key:null,version:0}),e[q]})();function ce(e,t){J.registry=e,J.key=t??null,J.version+=1}function le(){return J.registry}function Y(){return J.registry||(J.registry=G(),J.version+=1),J.registry}function ue(){return J.key}function de(){return J.version}const X=[`telegram`,`whatsapp`,`discord`,`irc`,`googlechat`,`slack`,`signal`,`imessage`,`line`],fe=[...X],Z={telegram:{id:`telegram`,label:`Telegram`,selectionLabel:`Telegram (Bot API)`,detailLabel:`Telegram Bot`,docsPath:`/channels/telegram`,docsLabel:`telegram`,blurb:`simplest way to get started — register a bot with @BotFather and get going.`,systemImage:`paperplane`,selectionDocsPrefix:``,selectionDocsOmitLabel:!0,selectionExtras:[`https://openclaw.ai`]},whatsapp:{id:`whatsapp`,label:`WhatsApp`,selectionLabel:`WhatsApp (QR link)`,detailLabel:`WhatsApp Web`,docsPath:`/channels/whatsapp`,docsLabel:`whatsapp`,blurb:`works with your own number; recommend a separate phone + eSIM.`,systemImage:`message`},discord:{id:`discord`,label:`Discord`,selectionLabel:`Discord (Bot API)`,detailLabel:`Discord Bot`,docsPath:`/channels/discord`,docsLabel:`discord`,blurb:`very well supported right now.`,systemImage:`bubble.left.and.bubble.right`},irc:{id:`irc`,label:`IRC`,selectionLabel:`IRC (Server + Nick)`,detailLabel:`IRC`,docsPath:`/channels/irc`,docsLabel:`irc`,blurb:`classic IRC networks with DM/channel routing and pairing controls.`,systemImage:`network`},googlechat:{id:`googlechat`,label:`Google Chat`,selectionLabel:`Google Chat (Chat API)`,detailLabel:`Google Chat`,docsPath:`/channels/googlechat`,docsLabel:`googlechat`,blurb:`Google Workspace Chat app with HTTP webhook.`,systemImage:`message.badge`},slack:{id:`slack`,label:`Slack`,selectionLabel:`Slack (Socket Mode)`,detailLabel:`Slack Bot`,docsPath:`/channels/slack`,docsLabel:`slack`,blurb:`supported (Socket Mode).`,systemImage:`number`},signal:{id:`signal`,label:`Signal`,selectionLabel:`Signal (signal-cli)`,detailLabel:`Signal REST`,docsPath:`/channels/signal`,docsLabel:`signal`,blurb:`signal-cli linked device; more setup (David Reagans: "Hop on Discord.").`,systemImage:`antenna.radiowaves.left.and.right`},imessage:{id:`imessage`,label:`iMessage`,selectionLabel:`iMessage (imsg)`,detailLabel:`iMessage`,docsPath:`/channels/imessage`,docsLabel:`imessage`,blurb:`this is still a work in progress.`,systemImage:`message.fill`},line:{id:`line`,label:`LINE`,selectionLabel:`LINE (Messaging API)`,detailLabel:`LINE Bot`,docsPath:`/channels/line`,docsLabel:`line`,blurb:`LINE Messaging API webhook bot.`,systemImage:`message`}},pe={imsg:`imessage`,"internet-relay-chat":`irc`,"google-chat":`googlechat`,gchat:`googlechat`},Q=e=>e?.trim().toLowerCase()||void 0;function me(){return X.map(e=>Z[e])}function he(e){return Z[e]}function $(e){let t=Q(e);if(!t)return null;let n=pe[t]??t;return X.includes(n)?n:null}function ge(e){return $(e)}function _e(e){let t=Q(e);return t?Y().channels.find(e=>{let n=String(e.plugin.id??``).trim().toLowerCase();return n&&n===t?!0:(e.plugin.meta.aliases??[]).some(e=>e.trim().toLowerCase()===t)})?.plugin.id??null:null}function ve(e){return`${e.label}: ${e.blurb}`}function ye(e,t){let n=e.selectionDocsPrefix??`Docs:`,r=e.docsLabel??e.id,i=e.selectionDocsOmitLabel?t(e.docsPath):t(e.docsPath,r),a=(e.selectionExtras??[]).filter(Boolean).join(` `);return`${e.label} — ${e.blurb} ${n?`${n} `:``}${i}${a?` ${a}`:``}`}export{y as A,T as C,v as D,ie as E,p as M,c as N,b as O,s as P,re as S,E as T,L as _,he as a,M as b,ge as c,ue as d,de as f,K as g,G as h,ye as i,d as j,_ as k,$ as l,ce as m,X as n,me as o,Y as p,ve as r,_e as s,fe as t,le as u,P as v,ae as w,O as x,N as y};
|
|
2
|
-
//# sourceMappingURL=registry-hFAtCSWG.js.map
|
package/dist/render-BXEUPIHe.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
1
|
const e=new Map([`blockquote`,`code_block`,`code`,`bold`,`italic`,`strikethrough`,`spoiler`].map((e,t)=>[e,t]));function t(t){return[...t].toSorted((t,n)=>t.start===n.start?t.end===n.end?(e.get(t.style)??0)-(e.get(n.style)??0):n.end-t.end:t.start-n.start)}function n(n,r){let i=n.text??``;if(!i)return``;let a=r.styleMarkers,o=t(n.styles.filter(e=>!!a[e.style])),s=new Set;s.add(0),s.add(i.length);let c=new Map;for(let e of o){if(e.start===e.end)continue;s.add(e.start),s.add(e.end);let t=c.get(e.start);t?t.push(e):c.set(e.start,[e])}for(let t of c.values())t.sort((t,n)=>t.end===n.end?(e.get(t.style)??0)-(e.get(n.style)??0):n.end-t.end);let l=new Map;if(r.buildLink)for(let e of n.links){if(e.start===e.end)continue;let t=r.buildLink(e,i);if(!t)continue;s.add(t.start),s.add(t.end);let n=l.get(t.start);n?n.push(t):l.set(t.start,[t])}let u=[...s].toSorted((e,t)=>e-t),d=[],f=``;for(let t=0;t<u.length;t+=1){let n=u[t];for(;d.length&&d[d.length-1]?.end===n;){let e=d.pop();e&&(f+=e.close)}let o=[],s=l.get(n);if(s&&s.length>0)for(let[e,t]of s.entries())o.push({end:t.end,open:t.open,close:t.close,kind:`link`,index:e});let p=c.get(n);if(p)for(let[e,t]of p.entries()){let n=a[t.style];n&&o.push({end:t.end,open:n.open,close:n.close,kind:`style`,style:t.style,index:e})}if(o.length>0){o.sort((t,n)=>t.end===n.end?t.kind===n.kind?t.kind===`style`&&n.kind===`style`?(e.get(t.style)??0)-(e.get(n.style)??0):t.index-n.index:t.kind===`link`?-1:1:n.end-t.end);for(let e of o)f+=e.open,d.push({close:e.close,end:e.end})}let m=u[t+1];if(m===void 0)break;m>n&&(f+=r.escapeText(i.slice(n,m)))}return f}export{n as t};
|
|
2
|
-
//# sourceMappingURL=render-BXEUPIHe.js.map
|
package/dist/render-CBsnn-2A.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
1
|
const e=new Map([`blockquote`,`code_block`,`code`,`bold`,`italic`,`strikethrough`,`spoiler`].map((e,t)=>[e,t]));function t(t){return[...t].toSorted((t,n)=>t.start===n.start?t.end===n.end?(e.get(t.style)??0)-(e.get(n.style)??0):n.end-t.end:t.start-n.start)}function n(n,r){let i=n.text??``;if(!i)return``;let a=r.styleMarkers,o=t(n.styles.filter(e=>!!a[e.style])),s=new Set;s.add(0),s.add(i.length);let c=new Map;for(let e of o){if(e.start===e.end)continue;s.add(e.start),s.add(e.end);let t=c.get(e.start);t?t.push(e):c.set(e.start,[e])}for(let t of c.values())t.sort((t,n)=>t.end===n.end?(e.get(t.style)??0)-(e.get(n.style)??0):n.end-t.end);let l=new Map;if(r.buildLink)for(let e of n.links){if(e.start===e.end)continue;let t=r.buildLink(e,i);if(!t)continue;s.add(t.start),s.add(t.end);let n=l.get(t.start);n?n.push(t):l.set(t.start,[t])}let u=[...s].toSorted((e,t)=>e-t),d=[],f=``;for(let t=0;t<u.length;t+=1){let n=u[t];for(;d.length&&d[d.length-1]?.end===n;){let e=d.pop();e&&(f+=e.close)}let o=[],s=l.get(n);if(s&&s.length>0)for(let[e,t]of s.entries())o.push({end:t.end,open:t.open,close:t.close,kind:`link`,index:e});let p=c.get(n);if(p)for(let[e,t]of p.entries()){let n=a[t.style];n&&o.push({end:t.end,open:n.open,close:n.close,kind:`style`,style:t.style,index:e})}if(o.length>0){o.sort((t,n)=>t.end===n.end?t.kind===n.kind?t.kind===`style`&&n.kind===`style`?(e.get(t.style)??0)-(e.get(n.style)??0):t.index-n.index:t.kind===`link`?-1:1:n.end-t.end);for(let e of o)f+=e.open,d.push({close:e.close,end:e.end})}let m=u[t+1];if(m===void 0)break;m>n&&(f+=r.escapeText(i.slice(n,m)))}return f}export{n as t};
|
|
2
|
-
//# sourceMappingURL=render-CBsnn-2A.js.map
|
package/dist/render-D8OWO2hT.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
1
|
const e=new Map([`blockquote`,`code_block`,`code`,`bold`,`italic`,`strikethrough`,`spoiler`].map((e,t)=>[e,t]));function t(t){return[...t].toSorted((t,n)=>t.start===n.start?t.end===n.end?(e.get(t.style)??0)-(e.get(n.style)??0):n.end-t.end:t.start-n.start)}function n(n,r){let i=n.text??``;if(!i)return``;let a=r.styleMarkers,o=t(n.styles.filter(e=>!!a[e.style])),s=new Set;s.add(0),s.add(i.length);let c=new Map;for(let e of o){if(e.start===e.end)continue;s.add(e.start),s.add(e.end);let t=c.get(e.start);t?t.push(e):c.set(e.start,[e])}for(let t of c.values())t.sort((t,n)=>t.end===n.end?(e.get(t.style)??0)-(e.get(n.style)??0):n.end-t.end);let l=new Map;if(r.buildLink)for(let e of n.links){if(e.start===e.end)continue;let t=r.buildLink(e,i);if(!t)continue;s.add(t.start),s.add(t.end);let n=l.get(t.start);n?n.push(t):l.set(t.start,[t])}let u=[...s].toSorted((e,t)=>e-t),d=[],f=``;for(let t=0;t<u.length;t+=1){let n=u[t];for(;d.length&&d[d.length-1]?.end===n;){let e=d.pop();e&&(f+=e.close)}let o=[],s=l.get(n);if(s&&s.length>0)for(let[e,t]of s.entries())o.push({end:t.end,open:t.open,close:t.close,kind:`link`,index:e});let p=c.get(n);if(p)for(let[e,t]of p.entries()){let n=a[t.style];n&&o.push({end:t.end,open:n.open,close:n.close,kind:`style`,style:t.style,index:e})}if(o.length>0){o.sort((t,n)=>t.end===n.end?t.kind===n.kind?t.kind===`style`&&n.kind===`style`?(e.get(t.style)??0)-(e.get(n.style)??0):t.index-n.index:t.kind===`link`?-1:1:n.end-t.end);for(let e of o)f+=e.open,d.push({close:e.close,end:e.end})}let m=u[t+1];if(m===void 0)break;m>n&&(f+=r.escapeText(i.slice(n,m)))}return f}export{n as t};
|
|
2
|
-
//# sourceMappingURL=render-D8OWO2hT.js.map
|
package/dist/render-DrrPmnMI.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
1
|
const e=new Map([`blockquote`,`code_block`,`code`,`bold`,`italic`,`strikethrough`,`spoiler`].map((e,t)=>[e,t]));function t(t){return[...t].toSorted((t,n)=>t.start===n.start?t.end===n.end?(e.get(t.style)??0)-(e.get(n.style)??0):n.end-t.end:t.start-n.start)}function n(n,r){let i=n.text??``;if(!i)return``;let a=r.styleMarkers,o=t(n.styles.filter(e=>!!a[e.style])),s=new Set;s.add(0),s.add(i.length);let c=new Map;for(let e of o){if(e.start===e.end)continue;s.add(e.start),s.add(e.end);let t=c.get(e.start);t?t.push(e):c.set(e.start,[e])}for(let t of c.values())t.sort((t,n)=>t.end===n.end?(e.get(t.style)??0)-(e.get(n.style)??0):n.end-t.end);let l=new Map;if(r.buildLink)for(let e of n.links){if(e.start===e.end)continue;let t=r.buildLink(e,i);if(!t)continue;s.add(t.start),s.add(t.end);let n=l.get(t.start);n?n.push(t):l.set(t.start,[t])}let u=[...s].toSorted((e,t)=>e-t),d=[],f=``;for(let t=0;t<u.length;t+=1){let n=u[t];for(;d.length&&d[d.length-1]?.end===n;){let e=d.pop();e&&(f+=e.close)}let o=[],s=l.get(n);if(s&&s.length>0)for(let[e,t]of s.entries())o.push({end:t.end,open:t.open,close:t.close,kind:`link`,index:e});let p=c.get(n);if(p)for(let[e,t]of p.entries()){let n=a[t.style];n&&o.push({end:t.end,open:n.open,close:n.close,kind:`style`,style:t.style,index:e})}if(o.length>0){o.sort((t,n)=>t.end===n.end?t.kind===n.kind?t.kind===`style`&&n.kind===`style`?(e.get(t.style)??0)-(e.get(n.style)??0):t.index-n.index:t.kind===`link`?-1:1:n.end-t.end);for(let e of o)f+=e.open,d.push({close:e.close,end:e.end})}let m=u[t+1];if(m===void 0)break;m>n&&(f+=r.escapeText(i.slice(n,m)))}return f}export{n as t};
|
|
2
|
-
//# sourceMappingURL=render-DrrPmnMI.js.map
|
package/dist/reply-DwfVhea1.js
CHANGED
|
@@ -547,4 +547,3 @@ To prevent this, increase your compaction buffer by setting \`agents.defaults.co
|
|
|
547
547
|
`).trim():Le,ze=aC({cfg:r,channel:n.Provider,sessionEntry:R,inlineMode:C,inlineOptions:w}),Be=r8(N??Fe),Ve=i_(Be);ze.mode===`interrupt`&&Ve>0&&s(`Interrupting ${Be} (cleared ${a_(Be)}, aborted=${P5(Fe)})`);let He=N??Fe,Ue=F5(Fe),We=kAe(Fe),Ge=ze.mode===`steer`||ze.mode===`steer-backlog`,Ke=ze.mode===`followup`||ze.mode===`collect`||ze.mode===`steer-backlog`,qe=await lP({cfg:r,provider:x,agentDir:a,sessionEntry:R,sessionStore:L,sessionKey:N,storePath:F,isNewSession:A}),Je=R?.authProfileOverrideSource;return sPe({commandBody:Pe,followupRun:{prompt:Re,messageId:n.MessageSidFull??n.MessageSid,summaryLine:de,enqueuedAt:Date.now(),originatingChannel:t.OriginatingChannel,originatingTo:t.OriginatingTo,originatingAccountId:t.AccountId,originatingThreadId:t.MessageThreadId,originatingChatType:t.ChatType,run:{agentId:i,agentDir:a,sessionId:Fe,sessionKey:N,messageProvider:c9({originatingChannel:t.OriginatingChannel??n.OriginatingChannel,provider:t.Provider??t.Surface??n.Provider}),agentAccountId:n.AccountId,groupId:hr(n)?.id??void 0,groupChannel:n.GroupChannel?.trim()??n.GroupSubject?.trim(),groupSpace:n.GroupSpace?.trim()??void 0,senderId:n.SenderId?.trim()||void 0,senderName:n.SenderName?.trim()||void 0,senderUsername:n.SenderUsername?.trim()||void 0,senderE164:n.SenderE164?.trim()||void 0,senderIsOwner:u.senderIsOwner,sessionFile:Ie,workspaceDir:I,config:r,skillsSnapshot:Ae,provider:x,model:S,authProfileId:qe,authProfileIdSource:Je,thinkLevel:z,verboseLevel:B,reasoningLevel:V,elevatedLevel:H,execOverrides:U,bashElevated:{enabled:h,allowed:g,defaultLevel:H??`off`},timeoutMs:k,blockReplyBreak:y,ownerNumbers:u.ownerList.length>0?u.ownerList:void 0,inputProvenance:t.InputProvenance??n.InputProvenance,extraSystemPrompt:ce.join(`
|
|
548
548
|
|
|
549
549
|
`)||void 0,...Dv(x)?{enforceFinalTag:!0}:{}}},queueKey:He,resolvedQueue:ze,shouldSteer:Ge,shouldFollowup:Ke,isActive:Ue,isStreaming:We,opts:E,typing:T,sessionEntry:R,sessionStore:L,sessionKey:N,storePath:F,defaultModel:O,agentCfgContextTokens:o?.contextTokens,resolvedVerboseLevel:B??`off`,isNewSession:A,blockStreamingEnabled:_,blockReplyChunking:v,resolvedBlockStreamingBreak:y,sessionCtx:n,shouldInjectGroupIntro:ie,typingMode:re})}function _Pe(e){if(e.isFastTestEnv)return;let t=e.ctx.SessionKey?.trim();if(!t)return;let n=Qc(e.ctx);n.transcript&&gl(ji(Fi(`message`,`transcribed`,t,tl(n,e.cfg))),`get-reply: message:transcribed internal hook failed`),gl(ji(Fi(`message`,`preprocessed`,t,$c(n,e.cfg))),`get-reply: message:preprocessed internal hook failed`)}function vPe(e){let t=e.split(/\s+/).filter(Boolean);return{tokens:t,first:t[0],second:t[1],rest:t.slice(2)}}function yPe(e){let t=wr({raw:e.raw,defaultProvider:e.defaultProvider,aliasIndex:e.aliasIndex});if(!t)return;let n=qt(t.ref.provider,t.ref.model);if(e.allowedModelKeys.size>0&&!e.allowedModelKeys.has(n))return;let r=t.ref.provider===e.defaultProvider&&t.ref.model===e.defaultModel;return{provider:t.ref.provider,model:t.ref.model,isDefault:r,...t.alias?{alias:t.alias}:void 0}}function bPe(e){let{selection:t,sessionEntry:n,sessionStore:r,sessionKey:i,storePath:a}=e;if(!n||!r||!i)return;let{updated:o}=AP({entry:n,selection:t});o&&(r[i]=n,a&&De(a,e=>{e[i]=n}).catch(()=>{}))}async function xPe(e){if(!e.resetTriggered)return{};let t=e.bodyStripped?.trim();if(!t)return{};let{tokens:n,first:r,second:i}=vPe(t);if(!r)return{};let a=await kc({config:e.cfg}),o=_r({cfg:e.cfg,catalog:a,defaultProvider:e.defaultProvider,defaultModel:e.defaultModel}).allowedKeys;if(o.size===0)return{};let s=new Set;for(let e of o){let t=e.indexOf(`/`);t<=0||s.add(Xt(e.slice(0,t)))}let c=t=>RP({raw:t,defaultProvider:e.defaultProvider,defaultModel:e.defaultModel,aliasIndex:e.aliasIndex,allowedModelKeys:o}),l,u=0;if(s.has(Xt(r))&&i){let e=c(`${Xt(r)}/${i}`);e.selection&&(l=e.selection,u=2)}if(l||(l=yPe({raw:r,defaultProvider:e.defaultProvider,defaultModel:e.defaultModel,aliasIndex:e.aliasIndex,allowedModelKeys:o}),l&&(u=1)),!l){let e=c(r);(s.has(Xt(r))||r.trim().length>=6)&&(l=e.selection,l&&(u=1))}if(!l)return{};let d=n.slice(u).join(` `).trim();return e.sessionCtx.BodyStripped=d,e.sessionCtx.BodyForCommands=d,bPe({selection:l,sessionEntry:e.sessionEntry,sessionStore:e.sessionStore,sessionKey:e.sessionKey,storePath:e.storePath}),{selection:l,cleanedBody:d}}const R9=new Map,SPe=m(`session-maintenance-warning`);let z9=null;function CPe(){return z9??=import(`./deliver-runtime-DXqU2rdq.js`),z9}function wPe(){return!process.env.VITEST&&!0}function TPe(e){let{warning:t}=e;return[t.activeSessionKey,t.pruneAfterMs,t.maxEntries,t.wouldPrune?`prune`:``,t.wouldCap?`cap`:``].filter(Boolean).join(`|`)}function EPe(e){if(e>=864e5){let t=Math.round(e/864e5);return`${t} day${t===1?``:`s`}`}if(e>=36e5){let t=Math.round(e/36e5);return`${t} hour${t===1?``:`s`}`}if(e>=6e4){let t=Math.round(e/6e4);return`${t} minute${t===1?``:`s`}`}let t=Math.round(e/1e3);return`${t} second${t===1?``:`s`}`}function DPe(e){let t=[];return e.wouldPrune&&t.push(`older than ${EPe(e.pruneAfterMs)}`),e.wouldCap&&t.push(`not in the most recent ${e.maxEntries} sessions`),`⚠️ Session maintenance warning: this active session would be evicted (${t.length>0?t.join(` and `):`over maintenance limits`}). Maintenance is set to warn-only, so nothing was reset. To enforce cleanup, set \`session.maintenance.mode: "enforce"\` or increase the limits.`}async function OPe(e){if(!wPe())return;let t=TPe(e);if(R9.get(e.sessionKey)===t)return;R9.set(e.sessionKey,t);let n=DPe(e.warning),r=yO({entry:e.entry,requestedChannel:`last`});if(!r.channel||!r.to){TA(n,{sessionKey:e.sessionKey});return}let i=pn(r.channel)??r.channel;if(!Fn(i)){TA(n,{sessionKey:e.sessionKey});return}try{let{deliverOutboundPayloads:t}=await CPe(),a=DS({cfg:e.cfg,sessionKey:e.sessionKey});await t({cfg:e.cfg,channel:i,to:r.to,accountId:r.accountId,threadId:r.threadId,payloads:[{text:n}],session:a})}catch(t){SPe.warn(`Failed to deliver session maintenance warning: ${String(t)}`),TA(n,{sessionKey:e.sessionKey})}}function B9(e){return e?.trim()??``}function kPe(e){let t=B9(e.activeSessionKey),n=t&&ei(t)?t:void 0,r=!!t&&!n,i=B9(e.channel).toLowerCase(),a=B9(e.conversationId);if(!i||!a)return n;let o=B9(e.accountId)||`default`,s=B9(e.parentConversationId)||void 0,c=!!e.allowNonAcpBindingSessionKey,l=SC().resolveByConversation({channel:i,accountId:o,conversationId:a,parentConversationId:s}),u=l?.targetKind===`session`?l.targetSessionKey.trim():``;if(u)return c||ei(u)?u:void 0;if(r&&e.skipConfiguredFallbackWhenActiveSessionNonAcp)return;let d=qM({cfg:e.cfg,channel:i,accountId:o,conversationId:a,parentConversationId:s}),f=d?.record.targetKind===`session`?d.record.targetSessionKey.trim():``;if(f)return c||ei(f)?f:void 0;if(e.fallbackToActiveAcpWhenUnbound!==!1)return n}function V9(e){let t=$r(e);if(!t?.rest)return;let n=t.rest.split(`:`)[0]?.trim().toLowerCase();if(!(!n||n===`main`||n===`cron`||n===`subagent`||n===`acp`))return pn(n)}function H9(e){let t=$r(e);return t?t.rest.trim().toLowerCase()===`main`:(e??``).trim().toLowerCase()===`main`}const U9=new Set([`direct`,`dm`]),APe=new Set([`thread`,`topic`]);function W9(e,t){if(!e[t+1]?.trim())return!1;let n=e.slice(t+2);return n.length===0?!0:n.length===2&&APe.has(n[0]??``)&&!!n[1]?.trim()}function G9(e){let t=(e??``).trim().toLowerCase();if(!t)return!1;let n=($r(t)?.rest??t).split(`:`).filter(Boolean);if(n.length<2)return!1;if(U9.has(n[0]??``))return W9(n,0);let r=pn(n[0]);return!r||!Fn(r)?!1:U9.has(n[1]??``)?W9(n,1):n[1]?.trim()&&U9.has(n[2]??``)?W9(n,2):!1}function K9(e){return!!(e&&e!==`webchat`&&Fn(e))}function jPe(e){let t=pn(e.originatingChannelRaw);if(t===`webchat`&&(H9(e.sessionKey)||G9(e.sessionKey)))return e.originatingChannelRaw;let n=pn(e.persistedLastChannel),r=V9(e.sessionKey),i=e.originatingChannelRaw||e.persistedLastChannel;return K9(t)||(K9(n)?i=n:K9(r)&&(i=r)),i}function MPe(e){let t=pn(e.originatingChannelRaw);if(t===`webchat`&&(H9(e.sessionKey)||G9(e.sessionKey)))return e.originatingToRaw||e.toRaw;let n=pn(e.persistedLastChannel),r=V9(e.sessionKey);return!K9(t)&&(K9(n)||K9(r))&&e.persistedLastTo?e.persistedLastTo:e.originatingToRaw||e.toRaw||e.persistedLastTo}function NPe(e){if((e.sessionCfg?.dmScope??`main`)===`main`||e.isGroup)return;let t=fi({agentId:e.agentId,mainKey:e.mainKey}).toLowerCase();if(e.sessionKey===t)return;let n=e.sessionStore[t];if(!n)return;let r=pr(Wn(n));if(!r)return;let i=pr(Vt({channel:e.ctx.OriginatingChannel,to:e.ctx.OriginatingTo||e.ctx.To,accountId:e.ctx.AccountId,threadId:e.ctx.MessageThreadId}));if(!(!i||i!==r)&&!(n.deliveryContext===void 0&&n.lastChannel===void 0&&n.lastTo===void 0&&n.lastAccountId===void 0&&n.lastThreadId===void 0))return{key:t,entry:{...n,deliveryContext:void 0,lastChannel:void 0,lastTo:void 0,lastAccountId:void 0,lastThreadId:void 0}}}function PPe(e){let t=e.session?.parentForkMaxTokens;return typeof t==`number`&&Number.isFinite(t)&&t>=0?Math.floor(t):1e5}function FPe(e){let t=ws(e.parentEntry.sessionId,e.parentEntry,{agentId:e.agentId,sessionsDir:e.sessionsDir});if(!t||!sp.existsSync(t))return null;try{let e=Fp.open(t),n=e.getLeafId();if(n){let t=e.createBranchedSession(n)??e.getSessionFile(),r=e.getSessionId();if(t&&r)return{sessionId:r,sessionFile:t}}let r=Dp.randomUUID(),i=new Date().toISOString(),a=i.replace(/[:.]/g,`-`),o=Z.join(e.getSessionDir(),`${a}_${r}.jsonl`),s={type:`session`,version:Np,id:r,timestamp:i,cwd:e.getCwd(),parentSession:t};return sp.writeFileSync(o,`${JSON.stringify(s)}\n`,`utf-8`),{sessionId:r,sessionFile:o}}catch{return null}}function q9(e){return{sessionId:e.sessionId,sessionKey:e.sessionKey,agentId:Hr({sessionKey:e.sessionKey,config:e.cfg})}}function IPe(e){return{event:{sessionId:e.sessionId,sessionKey:e.sessionKey,resumedFrom:e.resumedFrom},context:q9({sessionId:e.sessionId,sessionKey:e.sessionKey,cfg:e.cfg})}}function LPe(e){return{event:{sessionId:e.sessionId,sessionKey:e.sessionKey,messageCount:e.messageCount??0},context:q9({sessionId:e.sessionId,sessionKey:e.sessionKey,cfg:e.cfg})}}const J9=m(`session-init`);function Y9(e){return typeof e==`string`?e.trim():typeof e==`number`||typeof e==`bigint`||typeof e==`boolean`?`${e}`.trim():``}function RPe(e){let t=Y9(e);if(!t)return;let n=($r(t)?.rest??t.toLowerCase()).match(/(?:^|:)channel:([^:]+)$/);if(n?.[1])return n[1]}function zPe(e){let t=Y9(e.OriginatingChannel??e.Surface??e.Provider??``).toLowerCase();if(!t)return null;let n=Y9(e.AccountId)||`default`,r=e.MessageThreadId==null?``:Y9(String(e.MessageThreadId));if(t===`telegram`){let i=zM(e.OriginatingTo)??zM(e.To),a=v2({threadId:r||void 0,targets:[e.OriginatingTo,e.To]})??``;return r&&i&&(a=BM({chatId:i,topicId:r})??a),a?{channel:t,accountId:n,conversationId:a,...i?{parentConversationId:i}:{}}:null}let i=v2({threadId:r||void 0,targets:[e.OriginatingTo,e.To]});if(!i)return null;let a;if(t===`discord`&&r){let t=Y9(e.ThreadParentId);if(t&&t!==i)a=t;else{let t=RPe(e.ParentSessionKey);if(t&&t!==i)a=t;else{let t=v2({targets:[e.OriginatingTo,e.To]});t&&t!==i&&(a=t)}}}return{channel:t,accountId:n,conversationId:i,...a?{parentConversationId:a}:{}}}function BPe(e){let t=Y9(e.ctx.SessionKey),n=zPe(e.ctx);return kPe({cfg:e.cfg,channel:n?.channel,accountId:n?.accountId,conversationId:n?.conversationId,parentConversationId:n?.parentConversationId,activeSessionKey:t,allowNonAcpBindingSessionKey:!1,skipConfiguredFallbackWhenActiveSessionNonAcp:!0,fallbackToActiveAcpWhenUnbound:!1})}async function VPe(e){let{ctx:t,cfg:n,commandAuthorized:r}=e,i=t.CommandSource===`native`?t.CommandTargetSessionKey?.trim():void 0,a=i&&i!==t.SessionKey?{...t,SessionKey:i}:t,o=n.session,s=li(o?.mainKey),c=Hr({sessionKey:a.SessionKey,config:n}),l=hr(a)??void 0,u=o?.resetTriggers?.length?o.resetTriggers:Je,d=PPe(n),f=o?.scope??`per-sender`,p=Ss(o?.store,{agentId:c}),m=_e(p,{skipCache:!0}),h,g,_,v=!1,y,b=!1,x=!1,S=!1,C,w,T,E,D,O,k,A=Da(t.ChatType),j=A!=null&&A!==`direct`?!0:!!l,M=t.BodyForCommands??t.CommandBody??t.RawBody??t.Body??``,N=ZE(M).trim(),P=M.trim(),F=ag({ctx:t,cfg:n,commandAuthorized:r}).isAuthorizedSender,L=j?QE(N,t,n,c):N,R=!!BPe({cfg:n,ctx:a}),z=e=>R&&Je.some(t=>t.toLowerCase()===e),B=P.toLowerCase(),V=L.toLowerCase();for(let e of u){if(!e)continue;if(!F)break;let t=e.toLowerCase();if(B===t||V===t){if(z(t))break;v=!0,y=``,S=!0;break}let n=`${t} `;if(B.startsWith(n)||V.startsWith(n)){if(z(t))break;v=!0,y=L.slice(e.length).trimStart(),S=!0;break}}h=te(f,a,s);let H=NPe({sessionCfg:o,sessionKey:h,sessionStore:m,agentId:c,mainKey:s,isGroup:j,ctx:t});H&&(m[H.key]=H.entry);let U=m[h],W=Date.now(),G=Ue({sessionKey:h,messageThreadId:t.MessageThreadId,threadLabel:t.ThreadLabel,threadStarterBody:t.ThreadStarterBody,parentSessionKey:t.ParentSessionKey}),K=I({sessionCfg:o,resetType:kn({sessionKey:h,isGroup:j,isThread:G}),resetOverride:Mn({sessionCfg:o,channel:l?.channel??t.OriginatingChannel??t.Surface??t.Provider})}),q=U?Qe({updatedAt:U.updatedAt,now:W,policy:K}).fresh:!1,ee=(S||!q)&&U?{...U}:void 0;jv({sessionKey:h,previousSessionId:ee?.sessionId}),!v&&q?(_=U.sessionId,b=U.systemSent??!1,x=U.abortedLastRun??!1,C=U.thinkingLevel,w=U.verboseLevel,T=U.reasoningLevel,E=U.ttsAuto,D=U.modelOverride,O=U.providerOverride,k=U.label):(_=Dp.randomUUID(),v=!0,b=!1,x=!1,S&&U&&(C=U.thinkingLevel,w=U.verboseLevel,T=U.reasoningLevel,E=U.ttsAuto,D=U.modelOverride,O=U.providerOverride,k=U.label));let J=!v&&q?U:void 0,ne=t.OriginatingChannel,re=jPe({originatingChannelRaw:ne,persistedLastChannel:J?.lastChannel,sessionKey:h}),ie=MPe({originatingChannelRaw:ne,originatingToRaw:t.OriginatingTo,toRaw:t.To,persistedLastTo:J?.lastTo,persistedLastChannel:J?.lastChannel,sessionKey:h}),ae=t.AccountId||J?.lastAccountId,oe=t.MessageThreadId||(G?J?.lastThreadId:void 0),se=Zn({deliveryContext:{channel:re,to:ie,accountId:ae,threadId:oe}}),ce=se.lastChannel??re,le=se.lastTo??ie,ue=se.lastAccountId??ae,de=se.lastThreadId??oe;g={...J,sessionId:_,updatedAt:Date.now(),systemSent:b,abortedLastRun:x,thinkingLevel:C??J?.thinkingLevel,verboseLevel:w??J?.verboseLevel,reasoningLevel:T??J?.reasoningLevel,ttsAuto:E??J?.ttsAuto,responseUsage:J?.responseUsage,modelOverride:D??J?.modelOverride,providerOverride:O??J?.providerOverride,label:k??J?.label,sendPolicy:J?.sendPolicy,queueMode:J?.queueMode,queueDebounceMs:J?.queueDebounceMs,queueCap:J?.queueCap,queueDrop:J?.queueDrop,displayName:J?.displayName,chatType:J?.chatType,channel:J?.channel,groupId:J?.groupId,subject:J?.subject,groupChannel:J?.groupChannel,space:J?.space,deliveryContext:se.deliveryContext,lastChannel:ce,lastTo:le,lastAccountId:ue,lastThreadId:de};let fe=ye({ctx:a,sessionKey:h,existing:g,groupResolution:l});fe&&(g={...g,...fe}),g.chatType||=`direct`;let pe=t.ThreadLabel?.trim();pe&&(g.displayName=pe);let me=t.ParentSessionKey?.trim(),he=g.forkedFromParent===!0;if(me&&me!==h&&m[me]&&!he){let e=m[me].totalTokens??0;if(d>0&&e>d)J9.warn(`skipping parent fork (parent too large): parentKey=${me} → sessionKey=${h} parentTokens=${e} maxTokens=${d}`),g.forkedFromParent=!0;else{J9.warn(`forking from parent session: parentKey=${me} → sessionKey=${h} parentTokens=${e}`);let t=FPe({parentEntry:m[me],agentId:c,sessionsDir:Z.dirname(p)});t&&(_=t.sessionId,g.sessionId=t.sessionId,g.sessionFile=t.sessionFile,g.forkedFromParent=!0,J9.warn(`forked session created: file=${t.sessionFile}`))}}let ge=g.sessionFile?void 0:Cs(g.sessionId,c,t.MessageThreadId);g=(await Ce({sessionId:g.sessionId,sessionKey:h,sessionStore:m,storePath:p,sessionEntry:g,agentId:c,sessionsDir:Z.dirname(p),fallbackSessionFile:ge,activeSessionKey:h})).sessionEntry,v&&(g.compactionCount=0,g.memoryFlushCompactionCount=void 0,g.memoryFlushAt=void 0,g.totalTokens=void 0,g.inputTokens=void 0,g.outputTokens=void 0,g.contextTokens=void 0),m[h]={...m[h],...g},await De(p,e=>{e[h]={...e[h],...g},H&&(e[H.key]=H.entry)},{activeSessionKey:h,onWarn:e=>OPe({cfg:n,sessionKey:h,entry:g,warning:e})}),ee?.sessionId&&mee({sessionId:ee.sessionId,storePath:p,sessionFile:ee.sessionFile,agentId:c,reason:`reset`});let ve={...t,BodyStripped:kh(y??t.BodyForAgent??t.Body??t.CommandBody??t.RawBody??t.BodyForCommands??``),SessionId:_,IsNewSession:v?`true`:`false`},be=Uc();if(be&&v){let e=_??``;if(ee?.sessionId&&ee.sessionId!==e&&be.hasHooks(`session_end`)){let e=LPe({sessionId:ee.sessionId,sessionKey:h,cfg:n});be.runSessionEnd(e.event,e.context).catch(()=>{})}if(be.hasHooks(`session_start`)){let t=IPe({sessionId:e,sessionKey:h,cfg:n,resumedFrom:ee?.sessionId});be.runSessionStart(t.event,t.context).catch(()=>{})}}return{sessionCtx:ve,sessionEntry:g,previousSessionEntry:ee,sessionStore:m,sessionKey:h,sessionId:_??Dp.randomUUID(),isNewSession:v,resetTriggered:S,systemSent:b,abortedLastRun:x,storePath:p,sessionScope:f,groupResolution:l,isGroup:j,bodyStripped:y,triggerBodyNormalized:N}}const X9=Lt;async function HPe(e){let{ctx:t,sessionCtx:n,cfg:r,sessionKey:i,workspaceDir:a}=e,o=Array.isArray(t.MediaPaths)&&t.MediaPaths.length>0,c=WPe(t);if(c.length===0||!i)return;let l=await J({config:r,sessionKey:i,workspaceDir:a}),u=t.MediaRemoteHost?Z.join(w,`media`,`remote-cache`,i):null,d=l?.workspaceDir??u;if(!d)return;await Sp.mkdir(d,{recursive:!0});let f=cn({cfg:r,accountId:t.AccountId}),p=new Set,m=new Map;for(let e of c){let n=Q9(e);if(!n||m.has(n)||!await GPe({source:n,mediaRemoteHost:t.MediaRemoteHost,remoteAttachmentRoots:f}))continue;let r=KPe(n,p);if(!r)continue;let i=l?Z.join(`media`,`inbound`,r):r,a=Z.join(d,i);try{t.MediaRemoteHost?await UPe({remoteHost:t.MediaRemoteHost,remotePath:n,rootDir:d,relativeDestPath:i,maxBytes:X9}):await Z9({sourcePath:n,rootDir:d,relativeDestPath:i,maxBytes:X9})}catch(e){e instanceof Ga&&e.code===`too-large`?s(`Blocking inbound media staging above ${X9} bytes: ${n}`):s(`Failed to stage inbound media path ${n}: ${String(e)}`);continue}let o=l?Z.posix.join(`media`,`inbound`,r):a;m.set(n,o)}qPe({ctx:t,sessionCtx:n,rawPaths:c,staged:m,hasPathsArray:o})}async function Z9(e){await Va({sourcePath:e.sourcePath,rootDir:e.rootDir,relativePath:e.relativeDestPath,maxBytes:e.maxBytes})}async function UPe(e){let t=o();await Sp.mkdir(t,{recursive:!0});let n=await Sp.mkdtemp(Z.join(t,`stage-sandbox-media-`)),r=Z.join(n,`download`);try{await JPe(e.remoteHost,e.remotePath,r),await Z9({sourcePath:r,rootDir:e.rootDir,relativeDestPath:e.relativeDestPath,maxBytes:e.maxBytes})}finally{await Sp.rm(n,{recursive:!0,force:!0}).catch(()=>{})}}function WPe(e){let t=Array.isArray(e.MediaPaths)?e.MediaPaths:void 0;return t&&t.length>0?t:e.MediaPath?.trim()?[e.MediaPath.trim()]:[]}function Q9(e){let t=e.trim();if(!t)return null;if(t.startsWith(`file://`))try{t=op(t)}catch{return null}return Z.isAbsolute(t)?t:null}async function GPe(e){if(e.mediaRemoteHost)return Pn({filePath:e.source,roots:e.remoteAttachmentRoots})?!0:(s(`Blocking remote media staging from disallowed attachment path: ${e.source}`),!1);let t=Iee();if(!Pn({filePath:e.source,roots:[t]}))return s(`Blocking attempt to stage media from outside media directory: ${e.source}`),!1;try{return await Ji({filePath:e.source,cwd:t,root:t}),!0}catch{return s(`Blocking attempt to stage media from outside media directory: ${e.source}`),!1}}function KPe(e,t){let n=Z.basename(e);if(!n)return null;let r=Z.parse(n),i=n,a=1;for(;t.has(i);)i=`${r.name}-${a}${r.ext}`,a+=1;return t.add(i),i}function qPe(e){let t=t=>{let n=t?.trim();if(!n)return t;let r=Q9(n);return r?e.staged.get(r)??t:t},n=e.hasPathsArray?e.rawPaths.map(e=>t(e)??e):void 0;if(n)e.ctx.MediaPaths=n,e.sessionCtx.MediaPaths=n,e.ctx.MediaPath=n[0],e.sessionCtx.MediaPath=n[0];else{let n=t(e.ctx.MediaPath);n&&n!==e.ctx.MediaPath&&(e.ctx.MediaPath=n,e.sessionCtx.MediaPath=n)}if(Array.isArray(e.ctx.MediaUrls)&&e.ctx.MediaUrls.length>0){let n=e.ctx.MediaUrls.map(e=>t(e)??e);e.ctx.MediaUrls=n,e.sessionCtx.MediaUrls=n}let r=t(e.ctx.MediaUrl);r&&r!==e.ctx.MediaUrl&&(e.ctx.MediaUrl=r,e.sessionCtx.MediaUrl=r)}async function JPe(e,t,n){let r=$n(e);if(!r)throw Error(`invalid remote host for SCP`);return new Promise((e,i)=>{let a=Ep(`/usr/bin/scp`,[`-o`,`BatchMode=yes`,`-o`,`StrictHostKeyChecking=yes`,`--`,`${r}:${t}`,n],{stdio:[`ignore`,`ignore`,`pipe`]}),o=``;a.stderr?.setEncoding(`utf8`),a.stderr?.on(`data`,e=>{o+=e}),a.once(`error`,i),a.once(`exit`,t=>{t===0?e():i(Error(`scp failed (${t}): ${o.trim()}`))})})}function YPe(e){let{onReplyStart:t,onCleanup:n,typingIntervalSeconds:r=6,typingTtlMs:i=2*6e4,silentToken:a=Fc,log:o}=e,s=!1,c=!1,l=!1,u=!1,d=!1,f,p=r*1e3,m=e=>e%6e4==0?`${e/6e4}m`:`${Math.round(e/1e3)}s`,h=()=>{s=!1,c=!1,l=!1,u=!1},g=()=>{d||=(f&&=(clearTimeout(f),void 0),E&&=(clearTimeout(E),void 0),x.stop(),c&&n?.(),h(),!0)},_=()=>{d||!p||p<=0||i<=0||(f&&clearTimeout(f),f=setTimeout(()=>{x.isRunning()&&(o?.(`typing TTL reached (${m(i)}); stopping typing indicator`),g())},i))},v=()=>c&&!d,y=tM({isSealed:()=>d,shouldBlock:()=>l,rethrowOnError:!0}),b=async()=>{await y.run(async()=>{await t?.()})},x=eM({intervalMs:p,onTick:b}),S=async()=>{d||l||(c||=!0,!s&&(s=!0,await b()))},C=()=>{c&&l&&u&&g()},w=async()=>{d||l||(_(),t&&(x.isRunning()||(await S(),x.start())))},T=async e=>{if(d)return;let t=e?.trim();t&&(a&&(Pc(t,a)||Ic(t,a))||(_(),await w()))},E;return{onReplyStart:S,startTypingLoop:w,startTypingOnText:T,refreshTypingTtl:_,isActive:v,markRunComplete:()=>{l=!0,C(),!d&&!u&&(E=setTimeout(()=>{!d&&!u&&(o?.(`typing: dispatch idle not received after run complete; forcing cleanup`),g())},1e4))},markDispatchIdle:()=>{u=!0,E&&=(clearTimeout(E),void 0),C()},cleanup:g}}function XPe(e,t){let n=e=>{if(Array.isArray(e))return _i(e)},r=n(e),i=n(t);if(!r&&!i)return;if(!r)return i;if(!i)return r;if(r.length===0||i.length===0)return[];let a=new Set(i);return r.filter(e=>a.has(e))}async function $9(e,t,n){let r=process.env.OPENCLAW_TEST_FAST===`1`,i=n??cr(),a=Hr({sessionKey:(e.CommandSource===`native`?e.CommandTargetSessionKey?.trim():void 0)||e.SessionKey,config:i}),o=XPe(t?.skillFilter,Jr(i,a)),s=o===void 0?t:{...t,skillFilter:o},c=i.agents?.defaults,l=i.session,{defaultProvider:u,defaultModel:d,aliasIndex:f}=MMe({cfg:i,agentId:a}),m=u,h=d,g=!1;if(t?.isHeartbeat){let e=t.heartbeatModelOverride?.trim()??c?.heartbeat?.model?.trim()??``,n=e?wr({raw:e,defaultProvider:u,aliasIndex:f}):null;n&&(m=n.ref.provider,h=n.ref.model,g=!0)}let _=(await Nr({dir:zr(i,a)??Yr,ensureBootstrapFiles:!c?.skipBootstrap&&!r})).dir,v=Rr(i,a),y=Th({cfg:i,overrideSeconds:t?.timeoutOverrideSeconds}),b=c?.typingIntervalSeconds??l?.typingIntervalSeconds,x=typeof b==`number`?b:6,S=YPe({onReplyStart:t?.onReplyStart,onCleanup:t?.onTypingCleanup,typingIntervalSeconds:x,silentToken:Fc,log:p.log});t?.onTypingController?.(S);let C=Ph(e);r||(await tg({ctx:C,cfg:i,agentDir:v,activeModel:{provider:m,model:h}}),await gre({ctx:C,cfg:i})),_Pe({ctx:C,cfg:i,isFastTestEnv:r});let w=C.CommandAuthorized;ag({ctx:C,cfg:i,commandAuthorized:w});let{sessionCtx:T,sessionEntry:E,previousSessionEntry:D,sessionStore:O,sessionKey:k,sessionId:A,isNewSession:j,resetTriggered:M,systemSent:N,abortedLastRun:P,storePath:F,sessionScope:I,groupResolution:L,isGroup:R,triggerBodyNormalized:z,bodyStripped:B}=await VPe({ctx:C,cfg:i,commandAuthorized:w});await xPe({cfg:i,resetTriggered:M,bodyStripped:B,sessionCtx:T,ctx:C,sessionEntry:E,sessionStore:O,sessionKey:k,storePath:F,defaultProvider:u,defaultModel:d,aliasIndex:f});let V=Oh({cfg:i,channel:L?.channel??E.channel??E.origin?.provider??(typeof C.OriginatingChannel==`string`?C.OriginatingChannel:void 0)??C.Provider,groupId:L?.id??E.groupId,groupChannel:E.groupChannel??T.GroupChannel??C.GroupChannel,groupSubject:E.subject??T.GroupSubject??C.GroupSubject,parentSessionKey:T.ParentSessionKey}),H=!!(E.modelOverride?.trim()||E.providerOverride?.trim());if(!g&&!H&&V){let e=wr({raw:V.model,defaultProvider:u,aliasIndex:f});e&&(m=e.ref.provider,h=e.ref.model)}let U=await rNe({ctx:C,cfg:i,agentId:a,agentDir:v,workspaceDir:_,agentCfg:c,sessionCtx:T,sessionEntry:E,sessionStore:O,sessionKey:k,storePath:F,sessionScope:I,groupResolution:L,isGroup:R,triggerBodyNormalized:z,commandAuthorized:w,defaultProvider:u,defaultModel:d,aliasIndex:f,provider:m,model:h,hasResolvedHeartbeatModelOverride:g,typing:S,opts:s,skillFilter:o});if(U.kind===`reply`){let e=fMe(z);return e?(S.cleanup(),{text:e}):U.reply}let{commandSource:W,command:G,allowTextCommands:K,skillCommands:q,directives:ee,cleanedBody:J,elevatedEnabled:te,elevatedAllowed:ne,elevatedFailures:re,defaultActivation:ie,resolvedThinkLevel:ae,resolvedVerboseLevel:oe,resolvedReasoningLevel:se,resolvedElevatedLevel:ce,execOverrides:le,blockStreamingEnabled:ue,blockReplyChunking:de,resolvedBlockStreamingBreak:fe,provider:pe,model:me,modelState:he,contextTokens:ge,inlineStatusRequested:_e,directiveAck:ve,perMessageQueueMode:ye,perMessageQueueOptions:be}=U.result;m=pe,h=me;let xe=async()=>{if(!M||!G.isAuthorizedSender||G.resetHookTriggered)return;let t=G.commandBodyNormalized.match(/^\/(new|reset)(?:\s|$)/);t&&await j7({action:t[1]===`reset`?`reset`:`new`,ctx:e,cfg:i,command:G,sessionKey:k,sessionEntry:E,previousSessionEntry:D,workspaceDir:_})},Se=await sNe({ctx:e,sessionCtx:T,cfg:i,agentId:a,agentDir:v,sessionEntry:E,previousSessionEntry:D,sessionStore:O,sessionKey:k,storePath:F,sessionScope:I,workspaceDir:_,isGroup:R,opts:s,typing:S,allowTextCommands:K,inlineStatusRequested:_e,command:G,skillCommands:q,directives:ee,cleanedBody:J,elevatedEnabled:te,elevatedAllowed:ne,elevatedFailures:re,defaultActivation:()=>ie,resolvedThinkLevel:ae,resolvedVerboseLevel:oe,resolvedReasoningLevel:se,resolvedElevatedLevel:ce,resolveDefaultThinkingLevel:he.resolveDefaultThinkingLevel,provider:m,model:h,contextTokens:ge,directiveAck:ve,abortedLastRun:P,skillFilter:o});return Se.kind===`reply`?(await xe(),Se.reply):(await xe(),ee=Se.directives,P=Se.abortedLastRun??P,await HPe({ctx:e,sessionCtx:T,cfg:i,sessionKey:k,workspaceDir:_}),gPe({ctx:e,sessionCtx:T,cfg:i,agentId:a,agentDir:v,agentCfg:c,sessionCfg:l,commandAuthorized:w,command:G,commandSource:W,allowTextCommands:K,directives:ee,defaultActivation:ie,resolvedThinkLevel:ae,resolvedVerboseLevel:oe,resolvedReasoningLevel:se,resolvedElevatedLevel:ce,execOverrides:le,elevatedEnabled:te,elevatedAllowed:ne,blockStreamingEnabled:ue,blockReplyChunking:de,resolvedBlockStreamingBreak:fe,modelState:he,provider:m,model:h,perMessageQueueMode:ye,perMessageQueueOptions:be,typing:S,opts:s,defaultProvider:u,defaultModel:d,timeoutMs:y,isNewSession:j,resetTriggered:M,systemSent:N,sessionEntry:E,sessionStore:O,sessionKey:k,sessionId:A,storePath:F,workspaceDir:_,abortedLastRun:P}))}export{d0 as $,cD as $n,Gie as $r,RI as $t,l2 as A,Hk as An,hy as Ar,bB as At,E0 as B,DO as Bn,iv as Br,wz as Bt,$4 as C,Hue as Cn,Yx as Cr,_K as Ct,t2 as D,Wk as Dn,jx as Dr,HB as Dt,s2 as E,nue as En,Wx as Er,gH as Et,H0 as F,qle as Fn,jv as Fr,hB as Ft,y0 as G,bO as Gn,dv as Gr,vL as Gt,w0 as H,OO as Hn,rv as Hr,Cz as Ht,Bye as I,vk as In,uv as Ir,gB as It,gye as J,cO as Jn,G_ as Jr,_L as Jt,g0 as K,yO as Kn,wv as Kr,IL as Kt,S0 as L,mk as Ln,cv as Lr,Qz as Lt,lxe as M,Pk as Mn,Gv as Mr,yB as Mt,mxe as N,kk as Nn,Lv as Nr,vB as Nt,pxe as O,Gk as On,py as Or,UB as Ot,u2 as P,Ek as Pn,Av as Pr,_B as Pt,m0 as Q,kse as Qn,i_ as Qr,aL as Qt,Vye as R,pk as Rn,xv as Rr,tB as Rt,O3 as S,TA as Sn,Zx as Sr,xK as St,U4 as T,Wue as Tn,Jx as Tr,tU as Tt,b0 as U,mce as Un,bv as Ur,fz as Ut,Hye as V,WO as Vn,nv as Vr,Tz as Vt,v0 as W,wce as Wn,lv as Wr,dz as Wt,_ye as X,$se as Xn,r_ as Xr,sL as Xt,mye as Y,iO as Yn,M_ as Yr,mL as Yt,pye as Z,Ase as Zn,qie as Zr,oL as Zt,ADe as _,wre as _i,Xj as _n,FC as _r,aX as _t,_Me as a,Fie as ai,lP as an,woe as ar,g$ as at,A3 as b,Ph as bi,jj as bn,DS as br,Tq as bt,d7 as c,Fg as ci,QM as cn,Doe as cr,ghe as ct,m7 as d,og as di,_M as dn,FE as dr,Cpe as dt,Uie as ei,AP as en,uD as er,Ave as et,u7 as f,lg as fi,hM as fn,jE as fr,PZ as ft,I5 as g,qh as gi,hfe as gn,hw as gr,EX as gt,jAe as h,Sre as hi,gfe as hn,yw as hr,mZ as ht,mMe as i,Zg as ii,dP as in,JE as ir,b$ as it,sxe as j,zk as jn,_y as jr,xB as jt,_xe as k,Uk as kn,by as kr,kB as kt,f7 as l,bg as li,bM as ln,xoe as lr,DQ as lt,AAe as m,yre as mi,afe as mn,Soe as mr,_Z as mt,L9 as n,Wie as ni,kP as nn,sD as nr,X1 as nt,M7 as o,Wg as oi,YN as on,LE as or,h$ as ot,P5 as p,xre as pi,mfe as pn,boe as pr,epe as pt,hye as q,vO as qn,U_ as qr,FL as qt,P7 as r,Jie as ri,uP as rn,qE as rr,y$ as rt,_7 as s,Kg as si,oN as sn,Toe as sr,a$ as st,$9 as t,Kie as ti,TP as tn,rD as tr,Z1 as tt,h7 as u,gg as ui,gM as un,Eoe as ur,FZ as ut,n6 as v,Hh as vi,Kj as vn,XS as vr,HJ as vt,Q4 as w,EA as wn,Qx as wr,IW as wt,k3 as x,Th as xi,Aj as xn,Xx as xr,xq as xt,t6 as y,Uh as yi,Uj as yn,JS as yr,DJ as yt,T0 as z,jO as zn,vv as zr,Jz as zt};
|
|
550
|
-
//# sourceMappingURL=reply-DwfVhea1.js.map
|
package/dist/restart-BeJuoXCx.js
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import{u as e}from"./paths-B4IRk3wi.js";import{H as t,t as n}from"./subsystem-C5XF2Fy5.js";import{la as r}from"./model-selection-BLbnMb5E.js";import{m as i,p as a,u as o}from"./arg-split-DE5RqDHq.js";import{n as s}from"./cmd-argv-BBT5l8AV.js";import c from"node:fs";import l from"node:os";import u from"node:path";import{spawn as d,spawnSync as f}from"node:child_process";import{randomUUID as p}from"node:crypto";function m(e,t){if(!Number.isFinite(e)||e<=0)return;let n=h(t?.graceMs);if(process.platform===`win32`){y(e,n);return}_(e,n)}function h(e){return typeof e!=`number`||!Number.isFinite(e)?3e3:Math.max(0,Math.min(6e4,Math.floor(e)))}function g(e){try{return process.kill(e,0),!0}catch{return!1}}function _(e,t){try{process.kill(-e,`SIGTERM`)}catch{try{process.kill(e,`SIGTERM`)}catch{return}}setTimeout(()=>{if(g(-e))try{process.kill(-e,`SIGKILL`);return}catch{}if(g(e))try{process.kill(e,`SIGKILL`)}catch{}},t).unref()}function v(e){try{d(`taskkill`,e,{stdio:`ignore`,detached:!0})}catch{}}function y(e,t){v([`/T`,`/PID`,String(e)]),setTimeout(()=>{g(e)&&v([`/F`,`/T`,`/PID`,String(e)])},t).unref()}const b=2e3,x=n(`restart`);function S(){return Date.now()}function C(e){let t=Math.max(0,Math.floor(e));if(!(t<=0))try{let e=new Int32Array(new SharedArrayBuffer(4));Atomics.wait(e,0,0,t)}catch{let e=Date.now();for(;Date.now()-e<t;);}}function w(e){let t=[],n,r;for(let i of e.split(/\r?\n/).filter(Boolean))if(i.startsWith(`p`)){n!=null&&r&&r.toLowerCase().includes(`openclaw`)&&t.push(n);let e=Number.parseInt(i.slice(1),10);n=Number.isFinite(e)&&e>0?e:void 0,r=void 0}else i.startsWith(`c`)&&(r=i.slice(1));return n!=null&&r&&r.toLowerCase().includes(`openclaw`)&&t.push(n),[...new Set(t)].filter(e=>e!==process.pid)}function T(e,t=2e3){if(process.platform===`win32`)return[];let n=f(r(),[`-nP`,`-iTCP:${e}`,`-sTCP:LISTEN`,`-Fpc`],{encoding:`utf8`,timeout:t});if(n.error){let t=n.error.code,r=t&&t.trim().length>0?t:n.error instanceof Error?n.error.message:`unknown error`;return x.warn(`lsof failed during initial stale-pid scan for port ${e}: ${r}`),[]}return n.status===1?[]:n.status===0?w(n.stdout):(x.warn(`lsof exited with status ${n.status} during initial stale-pid scan for port ${e}; skipping stale pid check`),[])}function E(e){try{let t=f(r(),[`-nP`,`-iTCP:${e}`,`-sTCP:LISTEN`,`-Fpc`],{encoding:`utf8`,timeout:400});if(t.error){let e=t.error.code;return{free:null,permanent:e===`ENOENT`||e===`EACCES`||e===`EPERM`}}return t.status===1?t.stdout?w(t.stdout).length===0?{free:!0}:{free:!1}:{free:!0}:t.status===0?w(t.stdout).length===0?{free:!0}:{free:!1}:{free:null,permanent:!1}}catch{return{free:null,permanent:!1}}}function D(e){let t=[];for(let n of e)try{process.kill(n,`SIGTERM`),t.push(n)}catch{}if(t.length===0)return t;C(600);for(let e of t)try{process.kill(e,0),process.kill(e,`SIGKILL`)}catch{}return C(400),t}function O(e){let t=S()+b;for(;S()<t;){let t=E(e);if(t.free===!0||t.free===null&&t.permanent)return;C(50)}x.warn(`port ${e} still in use after ${b}ms; proceeding anyway`)}function k(t){try{let n=typeof t==`number`&&Number.isFinite(t)&&t>0?Math.floor(t):e(void 0,process.env),r=T(n);if(r.length===0)return[];x.warn(`killing ${r.length} stale gateway process(es) before restart: ${r.join(`, `)}`);let i=D(r);return O(n),i}catch{return[]}}function A(e){return e.OPENCLAW_WINDOWS_TASK_NAME?.trim()||i(e.OPENCLAW_PROFILE)}function j(e){return[`@echo off`,`setlocal`,`set /a attempts=0`,`:retry`,`timeout /t 1 /nobreak >nul`,`set /a attempts+=1`,`schtasks /Run /TN ${s(e)} >nul 2>&1`,`if not errorlevel 1 goto cleanup`,`if %attempts% GEQ 12 goto cleanup`,`goto retry`,`:cleanup`,`del "%~f0" >nul 2>&1`].join(`\r
|
|
2
2
|
`)}function ee(e=process.env){let n=A(e),r=u.join(t(),`openclaw-schtasks-restart-${p()}.cmd`),i=s(r);try{return c.writeFileSync(r,`${j(n)}\r\n`,`utf8`),d(`cmd.exe`,[`/d`,`/s`,`/c`,i],{detached:!0,stdio:`ignore`,windowsHide:!0}).unref(),{ok:!0,method:`schtasks`,tried:[`schtasks /Run /TN "${n}"`,`cmd.exe /d /s /c ${i}`]}}catch(e){try{c.unlinkSync(r)}catch{}return{ok:!1,method:`schtasks`,detail:e instanceof Error?e.message:String(e),tried:[`schtasks /Run /TN "${n}"`]}}}const M=2e3,N=n(`restart`);let P=0,F=0,I=!1,L=null,R=0,z=0,B=0,V=0,H=null,U=0,W;function G(){return z>B}function K(){H&&clearTimeout(H),H=null,U=0,W=void 0}function q(e,t=6){return!Array.isArray(e)||e.length===0?null:e.length<=t?e.join(`,`):`${e.slice(0,t).join(`,`)},+${e.length-t} more`}function J(e){let t=typeof e?.actor==`string`&&e.actor.trim()?e.actor.trim():null,n=typeof e?.deviceId==`string`&&e.deviceId.trim()?e.deviceId.trim():null,r=typeof e?.clientIp==`string`&&e.clientIp.trim()?e.clientIp.trim():null,i=q(e?.changedPaths),a=[];return t&&a.push(`actor=${t}`),n&&a.push(`device=${n}`),r&&a.push(`ip=${r}`),i&&a.push(`changedPaths=${i}`),a.length>0?a.join(` `):`actor=<unknown>`}function Y(e){L=e}function X(){if(G())return K(),!1;K(),z=++R,re();try{process.listenerCount(`SIGUSR1`)>0?process.emit(`SIGUSR1`):process.kill(process.pid,`SIGUSR1`)}catch{return z=B,!1}return V=Date.now(),!0}function Z(e=Date.now()){P<=0||e<=F||(P=0,F=0)}function te(e){I=e?.allowExternal===!0}function ne(){return I}function re(e=0){let t=Math.max(0,Math.floor(e)),n=Date.now()+t+5e3;P+=1,n>F&&(F=n)}function ie(){return Z(),P<=0?!1:(--P,P<=0&&(F=0),!0)}function ae(){G()&&(B=z)}function Q(e){let t=e.pollMs??500,n=Math.max(10,Math.floor(t)),r=e.maxWaitMs??9e4,i=Math.max(n,Math.floor(r)),a;try{a=e.getPendingCount()}catch(t){e.hooks?.onCheckError?.(t),X();return}if(a<=0){e.hooks?.onReady?.(),X();return}e.hooks?.onDeferring?.(a);let o=Date.now(),s=setInterval(()=>{let t;try{t=e.getPendingCount()}catch(t){clearInterval(s),e.hooks?.onCheckError?.(t),X();return}if(t<=0){clearInterval(s),e.hooks?.onReady?.(),X();return}let n=Date.now()-o;n>=i&&(clearInterval(s),e.hooks?.onTimeout?.(t,n),X())},n)}function $(e){let t=e=>(typeof e==`string`?e:e?e.toString():``).replace(/\s+/g,` `).trim();if(e.error){if(e.error instanceof Error)return e.error.message;if(typeof e.error==`string`)return e.error;try{return JSON.stringify(e.error)}catch{return`unknown error`}}return t(e.stderr)||t(e.stdout)||(typeof e.status==`number`?`exit ${e.status}`:`unknown error`)}function oe(e,t){let n=e?.trim();return n?n.endsWith(`.service`)?n:`${n}.service`:`${a(t)}.service`}function se(){if(process.env.VITEST)return{ok:!0,method:`supervisor`,detail:`test mode`};k();let e=[];if(process.platform===`linux`){let t=oe(process.env.OPENCLAW_SYSTEMD_UNIT,process.env.OPENCLAW_PROFILE),n=[`--user`,`restart`,t];e.push(`systemctl ${n.join(` `)}`);let r=f(`systemctl`,n,{encoding:`utf8`,timeout:M});if(!r.error&&r.status===0)return{ok:!0,method:`systemd`,tried:e};let i=[`restart`,t];e.push(`systemctl ${i.join(` `)}`);let a=f(`systemctl`,i,{encoding:`utf8`,timeout:M});return!a.error&&a.status===0?{ok:!0,method:`systemd`,tried:e}:{ok:!1,method:`systemd`,detail:[`user: ${$(r)}`,`system: ${$(a)}`].join(`; `),tried:e}}if(process.platform===`win32`)return ee(process.env);if(process.platform!==`darwin`)return{ok:!1,method:`supervisor`,detail:`unsupported platform restart`};let t=process.env.OPENCLAW_LAUNCHD_LABEL||o(process.env.OPENCLAW_PROFILE),n=typeof process.getuid==`function`?process.getuid():void 0,r=n===void 0?`gui/501`:`gui/${n}`,i=`${r}/${t}`,a=[`kickstart`,`-k`,i];e.push(`launchctl ${a.join(` `)}`);let s=f(`launchctl`,a,{encoding:`utf8`,timeout:M});if(!s.error&&s.status===0)return{ok:!0,method:`launchctl`,tried:e};let c=process.env.HOME?.trim()||l.homedir(),d=[`bootstrap`,r,u.join(c,`Library`,`LaunchAgents`,`${t}.plist`)];e.push(`launchctl ${d.join(` `)}`);let p=f(`launchctl`,d,{encoding:`utf8`,timeout:M});if(p.error||p.status!==0&&p.status!==null)return{ok:!1,method:`launchctl`,detail:$(p),tried:e};let m=[`kickstart`,`-k`,i];e.push(`launchctl ${m.join(` `)}`);let h=f(`launchctl`,m,{encoding:`utf8`,timeout:M});return!h.error&&h.status===0?{ok:!0,method:`launchctl`,tried:e}:{ok:!1,method:`launchctl`,detail:$(h),tried:e}}function ce(e){let t=typeof e?.delayMs==`number`&&Number.isFinite(e.delayMs)?Math.floor(e.delayMs):2e3,n=Math.min(Math.max(t,0),6e4),r=typeof e?.reason==`string`&&e.reason.trim()?e.reason.trim().slice(0,200):void 0,i=process.listenerCount(`SIGUSR1`)>0?`emit`:`signal`,a=Date.now(),o=Math.max(0,V+3e4-a),s=a+n+o;if(G())return N.warn(`restart request coalesced (already in-flight) reason=${r??`unspecified`} ${J(e?.audit)}`),{ok:!0,pid:process.pid,signal:`SIGUSR1`,delayMs:0,reason:r,mode:i,coalesced:!0,cooldownMsApplied:o};if(H){let t=Math.max(0,U-a);if(s<U)N.warn(`restart request rescheduled earlier reason=${r??`unspecified`} pendingReason=${W??`unspecified`} oldDelayMs=${t} newDelayMs=${Math.max(0,s-a)} ${J(e?.audit)}`),K();else return N.warn(`restart request coalesced (already scheduled) reason=${r??`unspecified`} pendingReason=${W??`unspecified`} delayMs=${t} ${J(e?.audit)}`),{ok:!0,pid:process.pid,signal:`SIGUSR1`,delayMs:t,reason:r,mode:i,coalesced:!0,cooldownMsApplied:o}}return U=s,W=r,H=setTimeout(()=>{H=null,U=0,W=void 0;let e=L;if(!e){X();return}Q({getPendingCount:e})},Math.max(0,s-a)),{ok:!0,pid:process.pid,signal:`SIGUSR1`,delayMs:Math.max(0,s-a),reason:r,mode:i,coalesced:!1,cooldownMsApplied:o}}export{ae as a,Y as c,T as d,m as f,ne as i,se as l,Q as n,ce as o,X as r,te as s,ie as t,k as u};
|
|
3
|
-
//# sourceMappingURL=restart-BeJuoXCx.js.map
|
package/dist/rpc-BBdeIvn0.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
1
|
import{Si as e,xi as t}from"./model-selection-BLbnMb5E.js";import{a as n,n as r}from"./call-JB-cGR9n.js";import{n as i}from"./progress-LNttnI-y.js";import{i as a,r as o,t as s}from"./node-resolve-B3BJbmQX.js";function c(e){if(!e||typeof e!=`object`||Array.isArray(e))return null;let t=Object.entries(e).map(([e,t])=>[String(e).trim(),t===!0]).filter(([e])=>e.length>0).toSorted((e,t)=>e[0].localeCompare(t[0]));return t.length===0?null:`[${t.map(([e,t])=>`${e}=${t?`yes`:`no`}`).join(`, `)}]`}const l=(e,t)=>e.option(`--url <url>`,`Gateway WebSocket URL (defaults to gateway.remote.url when configured)`).option(`--token <token>`,`Gateway token (if required)`).option(`--timeout <ms>`,`Timeout in ms`,String(t?.timeoutMs??1e4)).option(`--json`,`Output JSON`,!1),u=async(n,a,o,s)=>i({label:`Nodes ${n}`,indeterminate:!0,enabled:a.json!==!0},async()=>await r({url:a.url,token:a.token,method:n,params:o,timeoutMs:s?.transportTimeoutMs??Number(a.timeout??1e4),clientName:e.CLI,mode:t.CLI}));function d(e){let t={nodeId:e.nodeId,command:e.command,params:e.params,idempotencyKey:e.idempotencyKey??n()};return typeof e.timeoutMs==`number`&&Number.isFinite(e.timeoutMs)&&(t.timeoutMs=e.timeoutMs),t}function f(e){let t=e.toLowerCase();return t.includes(`unauthorizedclient`)||t.includes(`bridge client is not authorized`)||t.includes(`unsigned bridge clients are not allowed`)?[`peekaboo bridge rejected the client.`,`sign the peekaboo CLI (TeamID Y5PE65HELJ) or launch the host with`,`PEEKABOO_ALLOW_UNSIGNED_SOCKET_CLIENTS=1 for local dev.`].join(` `):null}async function p(e,t){return(await m(e,t)).nodeId}async function m(e,t){let n=[];try{n=o(await u(`node.list`,e,{}))}catch{let{paired:t}=a(await u(`node.pair.list`,e,{}));n=t.map(e=>({nodeId:e.nodeId,displayName:e.displayName,platform:e.platform,version:e.version,remoteIp:e.remoteIp}))}return s(n,t)}export{p as a,m as i,u as n,f as o,l as r,c as s,d as t};
|
|
2
|
-
//# sourceMappingURL=rpc-BBdeIvn0.js.map
|
package/dist/rpc-f85A4Ib_.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
1
|
import{lr as e,ur as t}from"./auth-profiles-C8rZRS0X.js";import{a as n,n as r}from"./call-BWx7hNtl.js";import{i,r as a,t as o}from"./node-resolve-DLZf3-1V.js";import{n as s}from"./progress-d1m2sqR1.js";function c(e){if(!e||typeof e!=`object`||Array.isArray(e))return null;let t=Object.entries(e).map(([e,t])=>[String(e).trim(),t===!0]).filter(([e])=>e.length>0).toSorted((e,t)=>e[0].localeCompare(t[0]));return t.length===0?null:`[${t.map(([e,t])=>`${e}=${t?`yes`:`no`}`).join(`, `)}]`}const l=(e,t)=>e.option(`--url <url>`,`Gateway WebSocket URL (defaults to gateway.remote.url when configured)`).option(`--token <token>`,`Gateway token (if required)`).option(`--timeout <ms>`,`Timeout in ms`,String(t?.timeoutMs??1e4)).option(`--json`,`Output JSON`,!1),u=async(n,i,a,o)=>s({label:`Nodes ${n}`,indeterminate:!0,enabled:i.json!==!0},async()=>await r({url:i.url,token:i.token,method:n,params:a,timeoutMs:o?.transportTimeoutMs??Number(i.timeout??1e4),clientName:t.CLI,mode:e.CLI}));function d(e){let t={nodeId:e.nodeId,command:e.command,params:e.params,idempotencyKey:e.idempotencyKey??n()};return typeof e.timeoutMs==`number`&&Number.isFinite(e.timeoutMs)&&(t.timeoutMs=e.timeoutMs),t}function f(e){let t=e.toLowerCase();return t.includes(`unauthorizedclient`)||t.includes(`bridge client is not authorized`)||t.includes(`unsigned bridge clients are not allowed`)?[`peekaboo bridge rejected the client.`,`sign the peekaboo CLI (TeamID Y5PE65HELJ) or launch the host with`,`PEEKABOO_ALLOW_UNSIGNED_SOCKET_CLIENTS=1 for local dev.`].join(` `):null}async function p(e,t){return(await m(e,t)).nodeId}async function m(e,t){let n=[];try{n=a(await u(`node.list`,e,{}))}catch{let{paired:t}=i(await u(`node.pair.list`,e,{}));n=t.map(e=>({nodeId:e.nodeId,displayName:e.displayName,platform:e.platform,version:e.version,remoteIp:e.remoteIp}))}return o(n,t)}export{p as a,m as i,u as n,f as o,l as r,c as s,d as t};
|
|
2
|
-
//# sourceMappingURL=rpc-f85A4Ib_.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import{G as e,J as t,K as n,W as r,X as i,Y as a,Z as o,p as s,q as c,r as l,rt as u}from"./subsystem-BLbY429l.js";import"./paths-BjD3T_xq.js";import"./boolean-D15s2V33.js";import{c as d,i as f,l as p,o as m,s as h}from"./entry.js";import{hc as g}from"./auth-profiles-C8rZRS0X.js";import"./agent-scope-DAWJwFfl.js";import"./utils-CGdo13HV.js";import"./openclaw-root-CnsBf6ZU.js";import"./github-copilot-token-C79yeDKS.js";import"./env-overrides-DHtB4kK3.js";import{t as _}from"./version-q3SkUw2K.js";import"./registry-BptzrW8D.js";import"./skills-Bz_S4lPh.js";import"./frontmatter-C7mzDNxd.js";import"./plugins-DNlgeTTc.js";import"./logger-kQAOe3qp.js";import"./exec-B3eleY5O.js";import"./windows-spawn-7oINn5ao.js";import"./redact-CnRxK70G.js";import"./path-alias-guards-kY_ZbWs-.js";import{i as v}from"./errors-6SQWM9dj.js";import"./send-vNcod64S.js";import"./send-CyarIb2w.js";import"./compact-CYbPi7_-.js";import"./paths-BfjJY2VL.js";import"./chat-envelope-Bznn2SoS.js";import"./models-config-DZzS67GS.js";import"./tokens-DRM8vzJx.js";import"./with-timeout-c1CzdShT.js";import"./deliver-SqSusZP3.js";import"./diagnostic-D1H7_8QG.js";import"./send-Dj7NBAWg.js";import"./pi-model-discovery-BPkhPDMr.js";import"./exec-approvals-allowlist-CGjRWREs.js";import"./exec-safe-bin-runtime-policy-v44u39fl.js";import"./model-catalog-mt0IcDfR.js";import"./fetch-B4bz67_N.js";import{_ as y}from"./audio-transcription-runner-BIKj1CBU.js";import"./fetch-guard-DaZmvp-L.js";import"./image-BVbOr9yV.js";import"./tool-display-DJDtttQg.js";import"./api-key-rotation-BpEL4aeX.js";import"./proxy-fetch-gWETR3cl.js";import"./ir-DdjufzKF.js";import"./render-DrrPmnMI.js";import"./target-errors-D6wejRd6.js";import"./commands-Dy7duWlt.js";import"./commands-registry-DT6FDUev.js";import"./session-cost-usage-CHtVgnE8.js";import"./session-utils-Bpdyx2A2.js";import"./sqlite-CILF3z9U.js";import"./call-BWx7hNtl.js";import"./pi-tools.policy-B6q8YOfg.js";import"./pairing-store-BaaVy1zB.js";import"./fetch-Dh-apy46.js";import"./skill-commands-DCqPy_Aa.js";import"./workspace-dirs-A8Vib9_B.js";import"./pairing-token-zdbQ951y.js";import"./channel-activity-BhiLsKvM.js";import"./tables-DENKrP-W.js";import"./kill-tree-D6nPx1_o.js";import"./runtime-web-tools-BYhCkBV8.js";import"./runtime-CK7gqwEF.js";import"./node-shell-BVZylVP6.js";import"./stagger-DxzgG2jd.js";import"./channel-selection-BPxE8JR7.js";import"./plugin-auto-enable-adba5Evb.js";import"./send-ChILboDj.js";import"./outbound-attachment-CVcDBkAD.js";import"./delivery-queue-nkPJu0fY.js";import"./send-COpehmAB.js";import"./system-run-command-DsWBVvSK.js";import"./fetch-Ce-scEU-.js";import"./command-secret-targets-BEjtBf5Z.js";import"./connection-auth-CjaeEu5D.js";import"./onboard-helpers-DOlI17Ac.js";import"./prompt-style-BThRSQJR.js";import"./pairing-labels-CZ-aX-up.js";import"./search-manager-CV2YsAym.js";import"./manager-CxZRoQkE.js";import"./memory-cli-C8fBBPgv.js";import"./links-CBnmRP9D.js";import"./cli-utils-BleB1eys.js";import"./help-format-B4aEI7V9.js";import"./progress-d1m2sqR1.js";import"./exec-approvals-BXO9Cezj.js";import{t as b}from"./path-env-emdAQejM.js";import"./note-Dp-d_utk.js";import"./issue-format-CN9PHzXY.js";import{t as x}from"./plugin-registry-DYwEy5eM.js";import{t as S}from"./runtime-guard-DX2Ie4ri.js";import{t as C}from"./banner-CAtilyXr.js";import"./doctor-config-flow-Dio3s4x6.js";import{n as w}from"./config-guard-CqUJ8uaF.js";import T from"node:process";import"node:url";const E={match:e=>e[0]===`health`,loadPlugins:e=>!i(e,`--json`),run:async e=>{let t=i(e,`--json`),n=a(e,{includeDebug:!0}),r=c(e,`--timeout`);if(r===null)return!1;let{healthCommand:o}=await import(`./health-CIZFVJEG.js`).then(e=>e.i);return await o({json:t,timeoutMs:r,verbose:n},s),!0}},D={match:e=>e[0]===`status`,loadPlugins:!0,run:async e=>{let t=i(e,`--json`),n=i(e,`--deep`),r=i(e,`--all`),o=i(e,`--usage`),l=a(e,{includeDebug:!0}),u=c(e,`--timeout`);if(u===null)return!1;let{statusCommand:d}=await import(`./status-o3Gfr-6l.js`).then(e=>e.t);return await d({json:t,deep:n,all:r,usage:o,timeoutMs:u,verbose:l},s),!0}},O={match:e=>e[0]===`sessions`&&!e[1],run:async e=>{let t=i(e,`--json`),r=i(e,`--all-agents`),a=n(e,`--agent`);if(a===null)return!1;let o=n(e,`--store`);if(o===null)return!1;let c=n(e,`--active`);if(c===null)return!1;let{sessionsCommand:l}=await import(`./sessions-Ca6ozRCQ.js`);return await l({json:t,store:o,agent:a,allAgents:r,active:c},s),!0}},k={match:e=>e[0]===`agents`&&e[1]===`list`,run:async e=>{let t=i(e,`--json`),n=i(e,`--bindings`),{agentsListCommand:r}=await import(`./agents-Cd1yL8fG.js`);return await r({json:t,bindings:n},s),!0}},A={match:e=>e[0]===`memory`&&e[1]===`status`,run:async e=>{let t=n(e,`--agent`);if(t===null)return!1;let r=i(e,`--json`),a=i(e,`--deep`),o=i(e,`--index`),s=i(e,`--verbose`),{runMemoryStatus:c}=await import(`./memory-cli-C8fBBPgv.js`).then(e=>e.t);return await c({agent:t,json:r,deep:a,index:o,verbose:s}),!0}};function j(e,t){let n=[],r=e.slice(2);for(let e=0;e<r.length;e+=1){let i=r[e];if(!i||i===`--`)break;if(i===t){let t=r[e+1];if(!u(t))return null;n.push(t),e+=1;continue}if(i.startsWith(`${t}=`)){let e=i.slice(t.length+1).trim();if(!e)return null;n.push(e)}}return n}const M=[E,D,O,k,A,{match:e=>e[0]===`config`&&e[1]===`get`,run:async t=>{let n=e(t,{commandPath:[`config`,`get`],booleanFlags:[`--json`]});if(!n||n.length!==1)return!1;let r=n[0];if(!r)return!1;let a=i(t,`--json`),{runConfigGet:o}=await import(`./config-cli-CwW76_j_.js`);return await o({path:r,json:a}),!0}},{match:e=>e[0]===`config`&&e[1]===`unset`,run:async t=>{let n=e(t,{commandPath:[`config`,`unset`]});if(!n||n.length!==1)return!1;let r=n[0];if(!r)return!1;let{runConfigUnset:i}=await import(`./config-cli-CwW76_j_.js`);return await i({path:r}),!0}},{match:e=>e[0]===`models`&&e[1]===`list`,run:async e=>{let t=n(e,`--provider`);if(t===null)return!1;let r=i(e,`--all`),a=i(e,`--local`),o=i(e,`--json`),c=i(e,`--plain`),{modelsListCommand:l}=await import(`./models-BBYqej07.js`);return await l({all:r,local:a,provider:t,json:o,plain:c},s),!0}},{match:e=>e[0]===`models`&&e[1]===`status`,run:async e=>{let t=n(e,`--probe-provider`);if(t===null)return!1;let r=n(e,`--probe-timeout`);if(r===null)return!1;let a=n(e,`--probe-concurrency`);if(a===null)return!1;let o=n(e,`--probe-max-tokens`);if(o===null)return!1;let c=n(e,`--agent`);if(c===null)return!1;let l=j(e,`--probe-profile`);if(l===null)return!1;let u=l.length===0?void 0:l.length===1?l[0]:l,d=i(e,`--json`),f=i(e,`--plain`),p=i(e,`--check`),m=i(e,`--probe`),{modelsStatusCommand:h}=await import(`./models-BBYqej07.js`);return await h({json:d,plain:f,check:p,probe:m,probeProvider:t,probeProfile:u,probeTimeout:r,probeConcurrency:a,probeMaxTokens:o,agent:c},s),!0}}];function N(e){for(let t of M)if(t.match(e))return t;return null}async function P(e){let t=i(e.argv,`--json`);C(_,{argv:e.argv}),await w({runtime:s,commandPath:e.commandPath,...t?{suppressDoctorStdout:!0}:{}}),(typeof e.loadPlugins==`function`?e.loadPlugins(e.argv):e.loadPlugins)&&x()}async function F(e){if(f(process.env.OPENCLAW_DISABLE_ROUTE_FIRST)||o(e))return!1;let t=r(e,2);if(!t[0])return!1;let n=N(t);return n?(await P({argv:e,commandPath:t,loadPlugins:n.loadPlugins}),n.run(e)):!1}async function I(){try{let{closeAllMemorySearchManagers:e}=await import(`./search-manager-CV2YsAym.js`).then(e=>e.n);await e()}catch{}}function L(e){let t=e.indexOf(`--update`);if(t===-1)return e;let n=[...e];return n.splice(t,1,`update`),n}function R(e){return e.hasBuiltinPrimary?!0:e.primary?!1:o(e.argv)}function z(e){if(o(e))return!1;let[t,n]=r(e,2);return t?!(t===`status`||t===`health`||t===`sessions`||t===`config`&&(n===`get`||n===`unset`)||t===`models`&&(n===`list`||n===`status`)):!0}async function B(e=T.argv){let n=h(e),r=p(n);if(!r.ok)throw Error(r.error);r.profile&&d({profile:r.profile}),n=r.argv,g({quiet:!0}),m(),z(n)&&b(),S();try{if(await F(n))return;l();let{buildProgram:e}=await import(`./program-
|
|
2
|
-
//# sourceMappingURL=run-main-DGwq5DIc.js.map
|
|
1
|
+
import{G as e,J as t,K as n,W as r,X as i,Y as a,Z as o,p as s,q as c,r as l,rt as u}from"./subsystem-BLbY429l.js";import"./paths-BjD3T_xq.js";import"./boolean-D15s2V33.js";import{c as d,i as f,l as p,o as m,s as h}from"./entry.js";import{hc as g}from"./auth-profiles-C8rZRS0X.js";import"./agent-scope-DAWJwFfl.js";import"./utils-CGdo13HV.js";import"./openclaw-root-CnsBf6ZU.js";import"./github-copilot-token-C79yeDKS.js";import"./env-overrides-DHtB4kK3.js";import{t as _}from"./version-q3SkUw2K.js";import"./registry-BptzrW8D.js";import"./skills-Bz_S4lPh.js";import"./frontmatter-C7mzDNxd.js";import"./plugins-DNlgeTTc.js";import"./logger-kQAOe3qp.js";import"./exec-B3eleY5O.js";import"./windows-spawn-7oINn5ao.js";import"./redact-CnRxK70G.js";import"./path-alias-guards-kY_ZbWs-.js";import{i as v}from"./errors-6SQWM9dj.js";import"./send-vNcod64S.js";import"./send-CyarIb2w.js";import"./compact-CYbPi7_-.js";import"./paths-BfjJY2VL.js";import"./chat-envelope-Bznn2SoS.js";import"./models-config-DZzS67GS.js";import"./tokens-DRM8vzJx.js";import"./with-timeout-c1CzdShT.js";import"./deliver-SqSusZP3.js";import"./diagnostic-D1H7_8QG.js";import"./send-Dj7NBAWg.js";import"./pi-model-discovery-BPkhPDMr.js";import"./exec-approvals-allowlist-CGjRWREs.js";import"./exec-safe-bin-runtime-policy-v44u39fl.js";import"./model-catalog-mt0IcDfR.js";import"./fetch-B4bz67_N.js";import{_ as y}from"./audio-transcription-runner-BIKj1CBU.js";import"./fetch-guard-DaZmvp-L.js";import"./image-BVbOr9yV.js";import"./tool-display-DJDtttQg.js";import"./api-key-rotation-BpEL4aeX.js";import"./proxy-fetch-gWETR3cl.js";import"./ir-DdjufzKF.js";import"./render-DrrPmnMI.js";import"./target-errors-D6wejRd6.js";import"./commands-Dy7duWlt.js";import"./commands-registry-DT6FDUev.js";import"./session-cost-usage-CHtVgnE8.js";import"./session-utils-Bpdyx2A2.js";import"./sqlite-CILF3z9U.js";import"./call-BWx7hNtl.js";import"./pi-tools.policy-B6q8YOfg.js";import"./pairing-store-BaaVy1zB.js";import"./fetch-Dh-apy46.js";import"./skill-commands-DCqPy_Aa.js";import"./workspace-dirs-A8Vib9_B.js";import"./pairing-token-zdbQ951y.js";import"./channel-activity-BhiLsKvM.js";import"./tables-DENKrP-W.js";import"./kill-tree-D6nPx1_o.js";import"./runtime-web-tools-BYhCkBV8.js";import"./runtime-CK7gqwEF.js";import"./node-shell-BVZylVP6.js";import"./stagger-DxzgG2jd.js";import"./channel-selection-BPxE8JR7.js";import"./plugin-auto-enable-adba5Evb.js";import"./send-ChILboDj.js";import"./outbound-attachment-CVcDBkAD.js";import"./delivery-queue-nkPJu0fY.js";import"./send-COpehmAB.js";import"./system-run-command-DsWBVvSK.js";import"./fetch-Ce-scEU-.js";import"./command-secret-targets-BEjtBf5Z.js";import"./connection-auth-CjaeEu5D.js";import"./onboard-helpers-DOlI17Ac.js";import"./prompt-style-BThRSQJR.js";import"./pairing-labels-CZ-aX-up.js";import"./search-manager-CV2YsAym.js";import"./manager-CxZRoQkE.js";import"./memory-cli-C8fBBPgv.js";import"./links-CBnmRP9D.js";import"./cli-utils-BleB1eys.js";import"./help-format-B4aEI7V9.js";import"./progress-d1m2sqR1.js";import"./exec-approvals-BXO9Cezj.js";import{t as b}from"./path-env-emdAQejM.js";import"./note-Dp-d_utk.js";import"./issue-format-CN9PHzXY.js";import{t as x}from"./plugin-registry-DYwEy5eM.js";import{t as S}from"./runtime-guard-DX2Ie4ri.js";import{t as C}from"./banner-CAtilyXr.js";import"./doctor-config-flow-Dio3s4x6.js";import{n as w}from"./config-guard-CqUJ8uaF.js";import T from"node:process";import"node:url";const E={match:e=>e[0]===`health`,loadPlugins:e=>!i(e,`--json`),run:async e=>{let t=i(e,`--json`),n=a(e,{includeDebug:!0}),r=c(e,`--timeout`);if(r===null)return!1;let{healthCommand:o}=await import(`./health-CIZFVJEG.js`).then(e=>e.i);return await o({json:t,timeoutMs:r,verbose:n},s),!0}},D={match:e=>e[0]===`status`,loadPlugins:!0,run:async e=>{let t=i(e,`--json`),n=i(e,`--deep`),r=i(e,`--all`),o=i(e,`--usage`),l=a(e,{includeDebug:!0}),u=c(e,`--timeout`);if(u===null)return!1;let{statusCommand:d}=await import(`./status-o3Gfr-6l.js`).then(e=>e.t);return await d({json:t,deep:n,all:r,usage:o,timeoutMs:u,verbose:l},s),!0}},O={match:e=>e[0]===`sessions`&&!e[1],run:async e=>{let t=i(e,`--json`),r=i(e,`--all-agents`),a=n(e,`--agent`);if(a===null)return!1;let o=n(e,`--store`);if(o===null)return!1;let c=n(e,`--active`);if(c===null)return!1;let{sessionsCommand:l}=await import(`./sessions-Ca6ozRCQ.js`);return await l({json:t,store:o,agent:a,allAgents:r,active:c},s),!0}},k={match:e=>e[0]===`agents`&&e[1]===`list`,run:async e=>{let t=i(e,`--json`),n=i(e,`--bindings`),{agentsListCommand:r}=await import(`./agents-Cd1yL8fG.js`);return await r({json:t,bindings:n},s),!0}},A={match:e=>e[0]===`memory`&&e[1]===`status`,run:async e=>{let t=n(e,`--agent`);if(t===null)return!1;let r=i(e,`--json`),a=i(e,`--deep`),o=i(e,`--index`),s=i(e,`--verbose`),{runMemoryStatus:c}=await import(`./memory-cli-C8fBBPgv.js`).then(e=>e.t);return await c({agent:t,json:r,deep:a,index:o,verbose:s}),!0}};function j(e,t){let n=[],r=e.slice(2);for(let e=0;e<r.length;e+=1){let i=r[e];if(!i||i===`--`)break;if(i===t){let t=r[e+1];if(!u(t))return null;n.push(t),e+=1;continue}if(i.startsWith(`${t}=`)){let e=i.slice(t.length+1).trim();if(!e)return null;n.push(e)}}return n}const M=[E,D,O,k,A,{match:e=>e[0]===`config`&&e[1]===`get`,run:async t=>{let n=e(t,{commandPath:[`config`,`get`],booleanFlags:[`--json`]});if(!n||n.length!==1)return!1;let r=n[0];if(!r)return!1;let a=i(t,`--json`),{runConfigGet:o}=await import(`./config-cli-CwW76_j_.js`);return await o({path:r,json:a}),!0}},{match:e=>e[0]===`config`&&e[1]===`unset`,run:async t=>{let n=e(t,{commandPath:[`config`,`unset`]});if(!n||n.length!==1)return!1;let r=n[0];if(!r)return!1;let{runConfigUnset:i}=await import(`./config-cli-CwW76_j_.js`);return await i({path:r}),!0}},{match:e=>e[0]===`models`&&e[1]===`list`,run:async e=>{let t=n(e,`--provider`);if(t===null)return!1;let r=i(e,`--all`),a=i(e,`--local`),o=i(e,`--json`),c=i(e,`--plain`),{modelsListCommand:l}=await import(`./models-BBYqej07.js`);return await l({all:r,local:a,provider:t,json:o,plain:c},s),!0}},{match:e=>e[0]===`models`&&e[1]===`status`,run:async e=>{let t=n(e,`--probe-provider`);if(t===null)return!1;let r=n(e,`--probe-timeout`);if(r===null)return!1;let a=n(e,`--probe-concurrency`);if(a===null)return!1;let o=n(e,`--probe-max-tokens`);if(o===null)return!1;let c=n(e,`--agent`);if(c===null)return!1;let l=j(e,`--probe-profile`);if(l===null)return!1;let u=l.length===0?void 0:l.length===1?l[0]:l,d=i(e,`--json`),f=i(e,`--plain`),p=i(e,`--check`),m=i(e,`--probe`),{modelsStatusCommand:h}=await import(`./models-BBYqej07.js`);return await h({json:d,plain:f,check:p,probe:m,probeProvider:t,probeProfile:u,probeTimeout:r,probeConcurrency:a,probeMaxTokens:o,agent:c},s),!0}}];function N(e){for(let t of M)if(t.match(e))return t;return null}async function P(e){let t=i(e.argv,`--json`);C(_,{argv:e.argv}),await w({runtime:s,commandPath:e.commandPath,...t?{suppressDoctorStdout:!0}:{}}),(typeof e.loadPlugins==`function`?e.loadPlugins(e.argv):e.loadPlugins)&&x()}async function F(e){if(f(process.env.OPENCLAW_DISABLE_ROUTE_FIRST)||o(e))return!1;let t=r(e,2);if(!t[0])return!1;let n=N(t);return n?(await P({argv:e,commandPath:t,loadPlugins:n.loadPlugins}),n.run(e)):!1}async function I(){try{let{closeAllMemorySearchManagers:e}=await import(`./search-manager-CV2YsAym.js`).then(e=>e.n);await e()}catch{}}function L(e){let t=e.indexOf(`--update`);if(t===-1)return e;let n=[...e];return n.splice(t,1,`update`),n}function R(e){return e.hasBuiltinPrimary?!0:e.primary?!1:o(e.argv)}function z(e){if(o(e))return!1;let[t,n]=r(e,2);return t?!(t===`status`||t===`health`||t===`sessions`||t===`config`&&(n===`get`||n===`unset`)||t===`models`&&(n===`list`||n===`status`)):!0}async function B(e=T.argv){let n=h(e),r=p(n);if(!r.ok)throw Error(r.error);r.profile&&d({profile:r.profile}),n=r.argv,g({quiet:!0}),m(),z(n)&&b(),S();try{if(await F(n))return;l();let{buildProgram:e}=await import(`./program-D53eGuSf.js`),r=e();y(),T.on(`uncaughtException`,e=>{console.error(`[openclaw] Uncaught exception:`,v(e)),T.exit(1)});let i=L(n),a=t(i);if(a){let{getProgramContext:e}=await import(`./program-context-CH9p6anW.js`).then(e=>e.n),t=e(r);if(t){let{registerCoreCliByName:e}=await import(`./command-registry-D_jtBegA.js`).then(e=>e.t);await e(r,t,a,i)}let{registerSubCliByName:n}=await import(`./register.subclis-Drp2dGBe.js`).then(e=>e.a);await n(r,a)}if(!R({argv:i,primary:a,hasBuiltinPrimary:a!==null&&r.commands.some(e=>e.name()===a)})){let{registerPluginCliCommands:e}=await import(`./cli-Bt--1dhL.js`),{loadValidatedConfigForPluginRegistration:t}=await import(`./register.subclis-Drp2dGBe.js`).then(e=>e.a),n=await t();n&&e(r,n)}await r.parseAsync(i)}finally{await I()}}export{B as runCli};
|
package/dist/runtime-CK7gqwEF.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
1
|
import{Dc as e,Do as t,Mc as n,Oc as r,Ro as i,do as a,lo as o,wc as s,zo as c}from"./auth-profiles-C8rZRS0X.js";import{a as l,r as u}from"./agent-scope-DAWJwFfl.js";import{v as d}from"./utils-CGdo13HV.js";import{d as f}from"./types.secrets-D4tbc3Wq.js";import{a as p,c as m,n as h,o as g,s as _,t as v,u as y}from"./runtime-web-tools-BYhCkBV8.js";function b(e){let{explicitRef:t,inlineRef:n,ref:r}=f({value:e.profile.key,refValue:e.profile.keyRef,defaults:e.defaults});r&&(!t&&n&&(e.profile.keyRef=n),t&&a(e.profile.key)&&m(e.context,{code:`SECRETS_REF_OVERRIDES_PLAINTEXT`,path:`${e.agentDir}.auth-profiles.${e.profileId}.key`,message:`auth-profiles ${e.profileId}: keyRef is set; runtime will ignore plaintext key.`}),_(e.context,{ref:r,path:`${e.agentDir}.auth-profiles.${e.profileId}.key`,expected:`string`,apply:t=>{e.profile.key=String(t)}}))}function x(e){let{explicitRef:t,inlineRef:n,ref:r}=f({value:e.profile.token,refValue:e.profile.tokenRef,defaults:e.defaults});r&&(!t&&n&&(e.profile.tokenRef=n),t&&a(e.profile.token)&&m(e.context,{code:`SECRETS_REF_OVERRIDES_PLAINTEXT`,path:`${e.agentDir}.auth-profiles.${e.profileId}.token`,message:`auth-profiles ${e.profileId}: tokenRef is set; runtime will ignore plaintext token.`}),_(e.context,{ref:r,path:`${e.agentDir}.auth-profiles.${e.profileId}.token`,expected:`string`,apply:t=>{e.profile.token=String(t)}}))}function S(e){let t=e.context.sourceConfig.secrets?.defaults;for(let[n,r]of Object.entries(e.store.profiles)){if(r.type===`api_key`){b({profile:r,profileId:n,agentDir:e.agentDir,defaults:t,context:e.context});continue}r.type===`token`&&x({profile:r,profileId:n,agentDir:e.agentDir,defaults:t,context:e.context})}}let C=null,w=null;const T=new WeakMap;function E(e){return{sourceConfig:structuredClone(e.sourceConfig),config:structuredClone(e.config),authStores:e.authStores.map(e=>({agentDir:e.agentDir,store:structuredClone(e.store)})),warnings:e.warnings.map(e=>({...e})),webTools:structuredClone(e.webTools)}}function D(e){return{env:{...e.env},explicitAgentDirs:e.explicitAgentDirs?[...e.explicitAgentDirs]:null,loadAuthStore:e.loadAuthStore}}function O(){C=null,w=null,c(null),t(),s()}function k(e){let t=new Set;t.add(d(n()));for(let n of u(e))t.add(d(l(e,n)));return[...t]}function A(e,t){let n=k(e);return!t.explicitAgentDirs||t.explicitAgentDirs.length===0?n:[...new Set([...t.explicitAgentDirs,...n])]}async function j(t){let n=structuredClone(t.config),r=structuredClone(t.config),i=g({sourceConfig:n,env:t.env??process.env});h({config:r,context:i});let a=t.loadAuthStore??e,s=t.agentDirs?.length?[...new Set(t.agentDirs.map(e=>d(e)))]:k(r),c=[];for(let e of s){let t=structuredClone(a(e));S({store:t,context:i,agentDir:e}),c.push({agentDir:e,store:t})}if(i.assignments.length>0){let e=await o(i.assignments.map(e=>e.ref),{config:n,env:i.env,cache:i.cache});p({assignments:i.assignments,resolved:e})}let l={sourceConfig:n,config:r,authStores:c,warnings:i.warnings,webTools:await v({sourceConfig:n,resolvedConfig:r,context:i})};return T.set(l,{env:{...t.env??process.env},explicitAgentDirs:t.agentDirs?.length?[...s]:null,loadAuthStore:a}),l}function M(t){let n=E(t),a=T.get(t)??w??{env:{...process.env},explicitAgentDirs:null,loadAuthStore:e};i(n.config,n.sourceConfig),r(n.authStores),C=n,w=D(a),c({refresh:async({sourceConfig:e})=>!C||!w?!1:(M(await j({config:e,env:w.env,agentDirs:A(e,w),loadAuthStore:w.loadAuthStore})),!0)})}function N(){if(!C)return null;let e=E(C);return w&&T.set(e,D(w)),e}function P(){return C?structuredClone(C.webTools):null}function F(e){if(!C)throw Error(`Secrets runtime snapshot is not active.`);if(e.targetIds.size===0)return{assignments:[],diagnostics:[],inactiveRefPaths:[]};let t=[...new Set(C.warnings.filter(e=>e.code===`SECRETS_REF_IGNORED_INACTIVE_SURFACE`).map(e=>e.path))],n=y({sourceConfig:C.sourceConfig,resolvedConfig:C.config,commandName:e.commandName,targetIds:e.targetIds,inactiveRefPaths:new Set(t)});return{assignments:n.assignments,diagnostics:n.diagnostics,inactiveRefPaths:t}}function I(){O()}export{j as a,N as i,I as n,F as o,P as r,M as t};
|
|
2
|
-
//# sourceMappingURL=runtime-CK7gqwEF.js.map
|
package/dist/runtime-DYttInEE.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
1
|
import{y as e}from"./utils-UGOV_184.js";import{Ds as t,Jl as n,Ql as r,Ts as i,Us as a,Zl as o,ec as s,nu as c,tc as l}from"./model-selection-BLbnMb5E.js";import{a as u,r as d}from"./agent-scope-DXZc3eNT.js";import{d as f}from"./types.secrets-C-5U96pc.js";import{a as p,c as m,n as h,o as g,s as _,t as v,u as y}from"./runtime-web-tools-C4F6aaRh.js";function b(e){let{explicitRef:n,inlineRef:r,ref:i}=f({value:e.profile.key,refValue:e.profile.keyRef,defaults:e.defaults});i&&(!n&&r&&(e.profile.keyRef=r),n&&t(e.profile.key)&&m(e.context,{code:`SECRETS_REF_OVERRIDES_PLAINTEXT`,path:`${e.agentDir}.auth-profiles.${e.profileId}.key`,message:`auth-profiles ${e.profileId}: keyRef is set; runtime will ignore plaintext key.`}),_(e.context,{ref:i,path:`${e.agentDir}.auth-profiles.${e.profileId}.key`,expected:`string`,apply:t=>{e.profile.key=String(t)}}))}function x(e){let{explicitRef:n,inlineRef:r,ref:i}=f({value:e.profile.token,refValue:e.profile.tokenRef,defaults:e.defaults});i&&(!n&&r&&(e.profile.tokenRef=r),n&&t(e.profile.token)&&m(e.context,{code:`SECRETS_REF_OVERRIDES_PLAINTEXT`,path:`${e.agentDir}.auth-profiles.${e.profileId}.token`,message:`auth-profiles ${e.profileId}: tokenRef is set; runtime will ignore plaintext token.`}),_(e.context,{ref:i,path:`${e.agentDir}.auth-profiles.${e.profileId}.token`,expected:`string`,apply:t=>{e.profile.token=String(t)}}))}function S(e){let t=e.context.sourceConfig.secrets?.defaults;for(let[n,r]of Object.entries(e.store.profiles)){if(r.type===`api_key`){b({profile:r,profileId:n,agentDir:e.agentDir,defaults:t,context:e.context});continue}r.type===`token`&&x({profile:r,profileId:n,agentDir:e.agentDir,defaults:t,context:e.context})}}let C=null,w=null;const T=new WeakMap;function E(e){return{sourceConfig:structuredClone(e.sourceConfig),config:structuredClone(e.config),authStores:e.authStores.map(e=>({agentDir:e.agentDir,store:structuredClone(e.store)})),warnings:e.warnings.map(e=>({...e})),webTools:structuredClone(e.webTools)}}function D(e){return{env:{...e.env},explicitAgentDirs:e.explicitAgentDirs?[...e.explicitAgentDirs]:null,loadAuthStore:e.loadAuthStore}}function O(){C=null,w=null,l(null),a(),n()}function k(t){let n=new Set;n.add(e(c()));for(let r of d(t))n.add(e(u(t,r)));return[...n]}function A(e,t){let n=k(e);return!t.explicitAgentDirs||t.explicitAgentDirs.length===0?n:[...new Set([...t.explicitAgentDirs,...n])]}async function j(t){let n=structuredClone(t.config),r=structuredClone(t.config),a=g({sourceConfig:n,env:t.env??process.env});h({config:r,context:a});let s=t.loadAuthStore??o,c=t.agentDirs?.length?[...new Set(t.agentDirs.map(t=>e(t)))]:k(r),l=[];for(let e of c){let t=structuredClone(s(e));S({store:t,context:a,agentDir:e}),l.push({agentDir:e,store:t})}if(a.assignments.length>0){let e=await i(a.assignments.map(e=>e.ref),{config:n,env:a.env,cache:a.cache});p({assignments:a.assignments,resolved:e})}let u={sourceConfig:n,config:r,authStores:l,warnings:a.warnings,webTools:await v({sourceConfig:n,resolvedConfig:r,context:a})};return T.set(u,{env:{...t.env??process.env},explicitAgentDirs:t.agentDirs?.length?[...c]:null,loadAuthStore:s}),u}function M(e){let t=E(e),n=T.get(e)??w??{env:{...process.env},explicitAgentDirs:null,loadAuthStore:o};s(t.config,t.sourceConfig),r(t.authStores),C=t,w=D(n),l({refresh:async({sourceConfig:e})=>!C||!w?!1:(M(await j({config:e,env:w.env,agentDirs:A(e,w),loadAuthStore:w.loadAuthStore})),!0)})}function N(){if(!C)return null;let e=E(C);return w&&T.set(e,D(w)),e}function P(){return C?structuredClone(C.webTools):null}function F(e){if(!C)throw Error(`Secrets runtime snapshot is not active.`);if(e.targetIds.size===0)return{assignments:[],diagnostics:[],inactiveRefPaths:[]};let t=[...new Set(C.warnings.filter(e=>e.code===`SECRETS_REF_IGNORED_INACTIVE_SURFACE`).map(e=>e.path))],n=y({sourceConfig:C.sourceConfig,resolvedConfig:C.config,commandName:e.commandName,targetIds:e.targetIds,inactiveRefPaths:new Set(t)});return{assignments:n.assignments,diagnostics:n.diagnostics,inactiveRefPaths:t}}function I(){O()}export{j as a,N as i,I as n,F as o,P as r,M as t};
|
|
2
|
-
//# sourceMappingURL=runtime-DYttInEE.js.map
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import{p as e}from"./subsystem-C5XF2Fy5.js";import t from"node:process";const n={major:22,minor:12,patch:0},r=/(\d+)\.(\d+)\.(\d+)/;function i(e){if(!e)return null;let t=e.match(r);if(!t)return null;let[,n,i,a]=t;return{major:Number.parseInt(n,10),minor:Number.parseInt(i,10),patch:Number.parseInt(a,10)}}function a(e,t){return e?e.major===t.major?e.minor===t.minor?e.patch>=t.patch:e.minor>t.minor:e.major>t.major:!1}function o(){return{kind:t.versions?.node?`node`:`unknown`,version:t.versions?.node??null,execPath:t.execPath??null,pathEnv:t.env.PATH??`(not set)`}}function s(e){let t=i(e.version);return e.kind===`node`?a(t,n):!1}function c(e){return a(i(e),n)}function l(t=e,n=o()){if(s(n))return;let r=n.version??`unknown`,i=n.kind===`unknown`?`unknown runtime`:`${n.kind} ${r}`,a=n.execPath??`unknown`;t.error([`openclaw requires Node >=22.12.0.`,`Detected: ${i} (exec: ${a}).`,`PATH searched: ${n.pathEnv}`,`Install Node: https://nodejs.org/en/download`,`Upgrade Node and re-run openclaw.`].join(`
|
|
2
2
|
`)),t.exit(1)}export{c as n,i as r,l as t};
|
|
3
|
-
//# sourceMappingURL=runtime-guard-DFYBaYZS.js.map
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import{p as e}from"./subsystem-BLbY429l.js";import t from"node:process";const n={major:22,minor:12,patch:0},r=/(\d+)\.(\d+)\.(\d+)/;function i(e){if(!e)return null;let t=e.match(r);if(!t)return null;let[,n,i,a]=t;return{major:Number.parseInt(n,10),minor:Number.parseInt(i,10),patch:Number.parseInt(a,10)}}function a(e,t){return e?e.major===t.major?e.minor===t.minor?e.patch>=t.patch:e.minor>t.minor:e.major>t.major:!1}function o(){return{kind:t.versions?.node?`node`:`unknown`,version:t.versions?.node??null,execPath:t.execPath??null,pathEnv:t.env.PATH??`(not set)`}}function s(e){let t=i(e.version);return e.kind===`node`?a(t,n):!1}function c(e){return a(i(e),n)}function l(t=e,n=o()){if(s(n))return;let r=n.version??`unknown`,i=n.kind===`unknown`?`unknown runtime`:`${n.kind} ${r}`,a=n.execPath??`unknown`;t.error([`openclaw requires Node >=22.12.0.`,`Detected: ${i} (exec: ${a}).`,`PATH searched: ${n.pathEnv}`,`Install Node: https://nodejs.org/en/download`,`Upgrade Node and re-run openclaw.`].join(`
|
|
2
2
|
`)),t.exit(1)}export{c as n,i as r,l as t};
|
|
3
|
-
//# sourceMappingURL=runtime-guard-DX2Ie4ri.js.map
|
|
@@ -1,2 +1 @@
|
|
|
1
1
|
function e({status:e,pid:t,state:n,details:r=[]}){let i=e??`unknown`,a=[];t&&a.push(`pid ${t}`),n&&n.toLowerCase()!==i&&a.push(`state ${n}`);for(let e of r)e&&a.push(e);return a.length>0?`${i} (${a.join(`, `)})`:i}export{e as t};
|
|
2
|
-
//# sourceMappingURL=runtime-status-CqFBmdRd.js.map
|