@qqbrowser/openclaw-qbot 0.0.139 → 0.0.142
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 +1 -0
- package/dist/acp-cli-BaslDuk6.js +1 -0
- package/dist/acp-cli-f5-uI85a.js +1 -0
- package/dist/active-listener-Cce5tcPa.js +1 -0
- package/dist/active-listener-D8VOdVx3.js +1 -0
- package/dist/active-listener-DeKRt_UV.js +1 -0
- package/dist/active-listener-Dle9QX40.js +1 -0
- package/dist/agent-scope-DAWJwFfl.js +1 -0
- package/dist/agent-scope-DXZc3eNT.js +1 -0
- package/dist/agents-Bpp_F5In.js +1 -0
- package/dist/agents.config-B6LRG9eP.js +1 -0
- package/dist/agents.config-DfIJAGcd.js +1 -0
- package/dist/allow-from-B6dI7oz8.js +1 -0
- package/dist/allow-from-DEeVIPKS.js +1 -0
- package/dist/api-BeG0ObSq.js +1 -0
- package/dist/api-Dx8x1KTs.js +1 -0
- package/dist/api-key-rotation-BRt-vnRV.js +1 -0
- package/dist/api-key-rotation-CCH1wYVU.js +1 -0
- package/dist/api-key-rotation-D0QU-kQ9.js +1 -0
- package/dist/api-key-rotation-Di6QgXx7.js +1 -0
- package/dist/arg-split-BOqSMBuf.js +1 -0
- package/dist/arg-split-DE5RqDHq.js +1 -0
- package/dist/audio-preflight-B5o7P9qi.js +1 -0
- package/dist/audio-preflight-CxD7VCHW.js +1 -0
- package/dist/audio-preflight-DKSCBKRb.js +1 -0
- package/dist/audio-preflight-Dpk8-Bmk.js +1 -0
- package/dist/audio-transcription-runner-Bd1OZC6K.js +1 -0
- package/dist/audio-transcription-runner-D4Bp6MM7.js +1 -0
- package/dist/audio-transcription-runner-DPwmBYQj.js +1 -0
- package/dist/audio-transcription-runner-DSr6OIz1.js +1 -0
- package/dist/audit-C7RP7G_g.js +1 -0
- package/dist/audit-jkdcAUep.js +1 -0
- package/dist/audit-membership-runtime-BpRsMj5-.js +1 -0
- package/dist/audit-membership-runtime-BsfLZNBj.js +1 -0
- package/dist/audit-membership-runtime-DRHirRmx.js +1 -0
- package/dist/audit-membership-runtime-g0dEWJTp.js +1 -0
- package/dist/audit-membership-runtime-kdyToskD.js +1 -0
- package/dist/auth-choice-B7LSoXZ_.js +1 -0
- package/dist/auth-choice-CxMH4c-u.js +1 -0
- package/dist/auth-choice-DvTApGhx.js +1 -0
- package/dist/auth-choice-EQdNd7jO.js +1 -0
- package/dist/auth-choice-options-B3WQyS7I.js +1 -0
- package/dist/auth-choice-options-Dw14noox.js +1 -0
- package/dist/auth-choice-prompt-uegl56cf.js +1 -0
- package/dist/auth-choice-prompt-xYj13czb.js +1 -0
- package/dist/auth-choice.apply-helpers-B7S-PcH_.js +1 -0
- package/dist/auth-choice.apply-helpers-gaL-oSft.js +1 -0
- package/dist/auth-profiles-T8DuH3ax.js +1 -0
- package/dist/auth-token-9OTF1FmL.js +1 -0
- package/dist/auth-token-kGltuM6S.js +1 -0
- package/dist/banner-9u45RL26.js +1 -0
- package/dist/bonjour-discovery-CFZXPega.js +1 -0
- package/dist/bonjour-discovery-CjivQOxi.js +1 -0
- package/dist/boolean-Ch3DfXPy.js +1 -0
- package/dist/boolean-D15s2V33.js +1 -0
- package/dist/boolean-DypnRoRK.js +1 -0
- package/dist/brew-COcDl8CB.js +1 -0
- package/dist/brew-DDPm_HfE.js +1 -0
- package/dist/browser-cli-DQHE2iPY.js +1 -0
- package/dist/browser-cli-Dt0ds-an.js +1 -0
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +1 -0
- package/dist/bundled/bootstrap-extra-files/handler.js +1 -0
- package/dist/bundled/command-logger/handler.js +1 -0
- package/dist/bundled/session-memory/handler.js +1 -0
- package/dist/call-B8Fb4_oh.js +1 -0
- package/dist/call-CqoMqP5b.js +1 -0
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/canvas-host/a2ui/a2ui.bundle.js +1705 -2
- package/dist/channel-account-context-BMPAMZEv.js +1 -0
- package/dist/channel-account-context-DAcarnqW.js +1 -0
- package/dist/channel-activity-B04WbrrK.js +1 -0
- package/dist/channel-activity-BBrgoad1.js +1 -0
- package/dist/channel-activity-CgbOWaay.js +1 -0
- package/dist/channel-activity-YIMhOAUo.js +1 -0
- package/dist/channel-activity-YjYNzCpJ.js +1 -0
- package/dist/channel-options-CEIzjOno.js +1 -0
- package/dist/channel-options-D2syI791.js +1 -0
- package/dist/channel-selection-BBeE1TmB.js +1 -0
- package/dist/channel-selection-CbNtbAEf.js +1 -0
- package/dist/channel-web-BrElpZAc.js +1 -0
- package/dist/channel-web-CxHbET4B.js +1 -0
- package/dist/channels/plugins/actions/discord.js +1 -0
- package/dist/channels/plugins/actions/signal.js +1 -0
- package/dist/channels/plugins/actions/telegram.js +1 -0
- package/dist/channels/plugins/agent-tools/whatsapp-login.js +1 -0
- package/dist/channels-cli-BmAJuuRs.js +1 -0
- package/dist/channels-cli-Dgosczr6.js +1 -0
- package/dist/channels-status-issues-8eFrGKyf.js +1 -0
- package/dist/channels-status-issues-PRgOT90w.js +1 -0
- package/dist/chat-envelope-Bznn2SoS.js +1 -0
- package/dist/chat-envelope-HVpKusFc.js +1 -0
- package/dist/clack-prompter-DBPdGdqp.js +1 -0
- package/dist/clack-prompter-Dq0aY6iM.js +1 -0
- package/dist/clawbot-cli-CgS7TkEx.js +1 -0
- package/dist/clawbot-cli-DZ2K0OTk.js +1 -0
- package/dist/cleanup-utils-BWm70DoD.js +1 -0
- package/dist/cleanup-utils-D-RhEX6F.js +1 -0
- package/dist/cli-BcnoCo4z.js +1 -0
- package/dist/cli-D8T2tphD.js +1 -0
- package/dist/cli-utils-BY7dLMFy.js +1 -0
- package/dist/cli-utils-BleB1eys.js +1 -0
- package/dist/clipboard-Bk8cviBt.js +1 -0
- package/dist/clipboard-CKT_VIkG.js +1 -0
- package/dist/cmd-argv-BBT5l8AV.js +1 -0
- package/dist/cmd-argv-Bh-KpaZ0.js +1 -0
- package/dist/command-format-BbDT1tlm.js +1 -0
- package/dist/command-format-CLxIPuLR.js +1 -0
- package/dist/command-options-BpOUDl2S.js +1 -0
- package/dist/command-options-Bq5nQxz6.js +1 -0
- package/dist/command-poll-backoff-BZLHYB2k.js +1 -0
- package/dist/command-poll-backoff-Cww_r-24.js +1 -0
- package/dist/command-poll-backoff-Df6cOQrX.js +1 -0
- package/dist/command-poll-backoff-endAPdwn.js +1 -0
- package/dist/command-registry-CfuXCRwV.js +1 -0
- package/dist/command-secret-targets-BVN3kiT9.js +1 -0
- package/dist/command-secret-targets-BlN-J_fA.js +1 -0
- package/dist/commands-CGpM84iR.js +1 -0
- package/dist/commands-Dy7duWlt.js +1 -0
- package/dist/commands-registry-B1x54ukc.js +1 -0
- package/dist/commands-registry-Cpl4QnG4.js +1 -0
- package/dist/commands-registry-D40KqYOm.js +1 -0
- package/dist/commands-registry-SeddSmFK.js +1 -0
- package/dist/compact-Dg66DXx_.js +1 -0
- package/dist/completion-cli-BZi4nuQb.js +1 -0
- package/dist/completion-cli-C40TWdsv.js +1 -0
- package/dist/config-BqW5S1xL.js +1 -0
- package/dist/config-D12ZLKqh.js +1 -0
- package/dist/config-cli-1ojSLwAj.js +1 -0
- package/dist/config-cli-CBte2b1h.js +1 -0
- package/dist/config-guard-BTNXbWoO.js +1 -0
- package/dist/config-guard-sYYx9zEF.js +1 -0
- package/dist/config-validation-C1La_IZU.js +1 -0
- package/dist/config-validation-DviYxW8Y.js +1 -0
- package/dist/configure-DJrNDEpR.js +1 -0
- package/dist/configure-kod4tmZa.js +1 -0
- package/dist/connection-auth-B_Uk6Vk8.js +1 -0
- package/dist/connection-auth-C8iru0UB.js +1 -0
- package/dist/context-window-guard-7crlatf9.js +1 -0
- package/dist/context-window-guard-CPChk363.js +1 -0
- package/dist/control-ui-assets-BIa0GGDg.js +1 -0
- package/dist/control-ui-assets-CTHGGgaX.js +1 -0
- package/dist/cron-cli-Dha16Lo-.js +1 -0
- package/dist/cron-cli-QHS2pKZ_.js +1 -0
- package/dist/daemon-cli-BuXTzSnU.js +1 -0
- package/dist/daemon-cli-DOTKuS7d.js +1 -0
- package/dist/daemon-cli.js +1 -0
- package/dist/daemon-install-C30rBssi.js +1 -0
- package/dist/daemon-install-HrqlOCrc.js +1 -0
- package/dist/daemon-install-plan.shared-CfA37Ut_.js +1 -0
- package/dist/daemon-install-plan.shared-Dx3DBXCG.js +1 -0
- package/dist/daemon-runtime-DHiDbRuC.js +1 -0
- package/dist/daemon-runtime-VcpeBRJV.js +1 -0
- package/dist/dangerous-name-matching-BOmvAibz.js +1 -0
- package/dist/dangerous-name-matching-DtllRqBD.js +1 -0
- package/dist/dangerous-tools-CFRYQJ6V.js +1 -0
- package/dist/dangerous-tools-oYCu5wfC.js +1 -0
- package/dist/deliver-56mQkDw3.js +1 -0
- package/dist/deliver-BFQ4Zx9z.js +1 -0
- package/dist/deliver-BHuhHfkH.js +1 -0
- package/dist/deliver-ClBkV2eD.js +1 -0
- package/dist/delivery-queue-CKbauSFq.js +1 -0
- package/dist/delivery-queue-nkPJu0fY.js +1 -0
- package/dist/device-pairing-CTFpaTrD.js +1 -0
- package/dist/device-pairing-QTK0dod3.js +1 -0
- package/dist/devices-cli-Ckxd0k0I.js +1 -0
- package/dist/devices-cli-Db36mBHq.js +1 -0
- package/dist/diagnostic-BrE4lMIf.js +1 -0
- package/dist/diagnostic-CDxNevIQ.js +1 -0
- package/dist/diagnostic-DOzHPnht.js +1 -0
- package/dist/diagnostic-DQq4Bwrs.js +1 -0
- package/dist/diagnostics-BgbeL9KE.js +1 -0
- package/dist/diagnostics-Cdctg9K_.js +1 -0
- package/dist/directory-cli-DDTaUkjW.js +1 -0
- package/dist/directory-cli-_gTFSHMW.js +1 -0
- package/dist/dns-cli--4PwtR2Y.js +1 -0
- package/dist/dns-cli-C4DwKquN.js +1 -0
- package/dist/docs-cli-Cdw9Iz9a.js +1 -0
- package/dist/docs-cli-ClD2UyX1.js +1 -0
- package/dist/doctor-completion-BJ6steqx.js +1 -0
- package/dist/doctor-completion-DMJhfrtC.js +1 -0
- package/dist/doctor-config-flow-D4F3mz4h.js +1 -0
- package/dist/doctor-config-flow-DnOyVZhQ.js +1 -0
- package/dist/enable-BhD84GhD.js +1 -0
- package/dist/enable-Ccf9wSM8.js +1 -0
- package/dist/entry-status-CCwwKO43.js +1 -0
- package/dist/entry-status-CoXkbJcX.js +1 -0
- package/dist/entry.js +1 -0
- package/dist/env-D7wNuBx1.js +1 -0
- package/dist/env-overrides-DHtB4kK3.js +1 -0
- package/dist/env-overrides-DXJbFrwI.js +1 -0
- package/dist/errors-6SQWM9dj.js +1 -0
- package/dist/errors-Bunti32V.js +1 -0
- package/dist/exec-B3eleY5O.js +1 -0
- package/dist/exec-DHqLtFYt.js +1 -0
- package/dist/exec-approvals-BXO9Cezj.js +1 -0
- package/dist/exec-approvals-BpBNEy6i.js +1 -0
- package/dist/exec-approvals-allowlist-CE3nYh0K.js +1 -0
- package/dist/exec-approvals-allowlist-D8mN7nxV.js +1 -0
- package/dist/exec-approvals-cli-CUcuN63y.js +1 -0
- package/dist/exec-approvals-cli-CxUGD08t.js +1 -0
- package/dist/exec-safe-bin-runtime-policy-Dt0GchLp.js +1 -0
- package/dist/exec-safe-bin-runtime-policy-dcCS_Adf.js +1 -0
- package/dist/fetch-B9tORjG8.js +1 -0
- package/dist/fetch-BJT3BrkJ.js +1 -0
- package/dist/fetch-B_wRifvZ.js +1 -0
- package/dist/fetch-Bn0mWg6a.js +1 -0
- package/dist/fetch-CQaNr5J1.js +1 -0
- package/dist/fetch-Ce-scEU-.js +1 -0
- package/dist/fetch-D0rZDHKO.js +1 -0
- package/dist/fetch-DHo17YmK.js +1 -0
- package/dist/fetch-Dh-apy46.js +1 -0
- package/dist/fetch-Dikjvc5M.js +1 -0
- package/dist/fetch-DsjPfQlp.js +1 -0
- package/dist/fetch-_g8lZ8K8.js +1 -0
- package/dist/fetch-guard-BrTtJw7h.js +1 -0
- package/dist/fetch-guard-D10s0raB.js +1 -0
- package/dist/fetch-guard-DPdY0NXR.js +1 -0
- package/dist/fetch-guard-cu7DGSRF.js +1 -0
- package/dist/fetch-hy0JKSsm.js +1 -0
- package/dist/fetch-timeout-CdYxWG9w.js +1 -0
- package/dist/fetch-timeout-Cj8_oAls.js +1 -0
- package/dist/fetch-timeout-DoOI_izT.js +1 -0
- package/dist/fetch-timeout-u8g99Ax0.js +1 -0
- package/dist/format-Bn1bwJKX.js +1 -0
- package/dist/format-Ce7I7s-k.js +1 -0
- package/dist/format-duration-C8AzNqKh.js +1 -0
- package/dist/format-duration-D5AMtmHa.js +1 -0
- package/dist/format-relative-B9pSIdGe.js +1 -0
- package/dist/format-relative-DkMjYy7z.js +1 -0
- package/dist/frontmatter-BkZkwkVO.js +1 -0
- package/dist/frontmatter-C7mzDNxd.js +1 -0
- package/dist/frontmatter-CzpfPBFl.js +1 -0
- package/dist/gateway-cli-CKu0FA7D.js +1 -0
- package/dist/gateway-cli-C_s9eMlC.js +1 -0
- package/dist/gateway-install-token-BCnuZeh1.js +1 -0
- package/dist/gateway-install-token-DiDvDPJQ.js +1 -0
- package/dist/gateway-rpc-iFvDyHYd.js +1 -0
- package/dist/gateway-rpc-tEEvY0kH.js +1 -0
- package/dist/github-copilot-token-C79yeDKS.js +1 -0
- package/dist/github-copilot-token-DGYAlOmV.js +1 -0
- package/dist/github-copilot-token-DePP-lIf.js +1 -0
- package/dist/github-copilot-token-wm6mbypz.js +1 -0
- package/dist/gmail-setup-utils-CYOH3zzx.js +1 -0
- package/dist/gmail-setup-utils-S-MyEGuj.js +1 -0
- package/dist/group-access-BHKVOhrj.js +1 -0
- package/dist/group-access-D2DOYMfr.js +1 -0
- package/dist/health-BgOggK9k.js +1 -0
- package/dist/health-PaRHFItm.js +1 -0
- package/dist/health-format-B1nj3Wfn.js +1 -0
- package/dist/health-format-VBr6LEpt.js +1 -0
- package/dist/heartbeat-visibility-BQ_esv2m.js +1 -0
- package/dist/heartbeat-visibility-q74UdY8O.js +1 -0
- package/dist/help-format-B4aEI7V9.js +1 -0
- package/dist/help-format-BRbF_INg.js +1 -0
- package/dist/helpers-COz1ghcB.js +1 -0
- package/dist/helpers-Cp8gcO6u.js +1 -0
- package/dist/hooks-cli-BzyzTNBx.js +1 -0
- package/dist/hooks-cli-CsBrScq0.js +1 -0
- package/dist/hooks-status-BHt-Xvh4.js +1 -0
- package/dist/hooks-status-CRJ4J0ZW.js +1 -0
- package/dist/image-BkWwI54C.js +1 -0
- package/dist/image-CcVQg-YN.js +1 -0
- package/dist/image-Cm1RUBqD.js +1 -0
- package/dist/image-DsoO5VP5.js +1 -0
- package/dist/index.js +1 -0
- package/dist/inspect-BKV-I1UE.js +1 -0
- package/dist/inspect-z59cgmYc.js +1 -0
- package/dist/install-safe-path-C6kc_8NW.js +1 -0
- package/dist/install-safe-path-iesxijn2.js +1 -0
- package/dist/installs-BNeI_oML.js +1 -0
- package/dist/installs-C1xQLuby.js +1 -0
- package/dist/ipv4-BOuNtoGn.js +1 -0
- package/dist/ipv4-CWdaEiVH.js +1 -0
- package/dist/ir-BF0M2kGp.js +1 -0
- package/dist/ir-D8Hh84ab.js +1 -0
- package/dist/ir-DBWscfBd.js +1 -0
- package/dist/ir-Dk7OQ4bA.js +1 -0
- package/dist/is-main-DG5ueqhF.js +1 -0
- package/dist/issue-format-BT7cQEt3.js +1 -0
- package/dist/issue-format-C_lNzrKa.js +1 -0
- package/dist/kill-tree-B3g7HrAO.js +1 -0
- package/dist/lifecycle-core-D9KNCvxY.js +1 -0
- package/dist/lifecycle-core-LM5UUUB1.js +1 -0
- package/dist/line/accounts.js +1 -0
- package/dist/line/send.js +1 -0
- package/dist/line/template-messages.js +1 -0
- package/dist/links-CBnmRP9D.js +1 -0
- package/dist/links-CySwdMcF.js +1 -0
- package/dist/llm-slug-generator.js +1 -0
- package/dist/load-options-BsOW74dp.js +1 -0
- package/dist/load-options-C7dLuybp.js +1 -0
- package/dist/load-options-DV4j6Aqb.js +1 -0
- package/dist/load-options-Dwt0CeEg.js +1 -0
- package/dist/local-roots-6waH0SZ0.js +1 -0
- package/dist/logger-5W0OocJW.js +1 -0
- package/dist/logger-Bl8URnrW.js +1 -0
- package/dist/logger-DwWqfo66.js +1 -0
- package/dist/logger-kQAOe3qp.js +1 -0
- package/dist/logging-Dqe9dxSX.js +1 -0
- package/dist/logging-tYw1NbJd.js +1 -0
- package/dist/login-BOlqRyr0.js +1 -0
- package/dist/login-CkWesqf_.js +1 -0
- package/dist/login-Do_NA1Je.js +1 -0
- package/dist/login-op9S8yqv.js +1 -0
- package/dist/login-qr-B6rxvoTS.js +1 -0
- package/dist/login-qr-BGH9zmhw.js +1 -0
- package/dist/login-qr-CiENvgog.js +1 -0
- package/dist/login-qr-DsV-lxFd.js +1 -0
- package/dist/login-qr-QcDMg23y.js +1 -0
- package/dist/logs-cli-B4eUg_87.js +1 -0
- package/dist/logs-cli-BA3Aso8a.js +1 -0
- package/dist/manager-4Y9fRgdw.js +1 -0
- package/dist/manager-C2YW7Hkq.js +1 -0
- package/dist/manager-Dtd_loL8.js +1 -0
- package/dist/manager-M1GKhLUC.js +1 -0
- package/dist/memory-cli-XaxtBQm1.js +1 -0
- package/dist/memory-cli-jhzJ3as7.js +1 -0
- package/dist/model-catalog-C1kpjR75.js +1 -0
- package/dist/model-catalog-COVzoZD9.js +1 -0
- package/dist/model-param-b-B0r2cPDw.js +1 -0
- package/dist/model-param-b-BqIr5rY5.js +1 -0
- package/dist/model-picker-D3ZSpr0i.js +1 -0
- package/dist/model-picker-bZNuI66U.js +1 -0
- package/dist/model-selection-B5JsBS9D.js +1 -0
- package/dist/model-selection-BlC_rXAN.js +1 -0
- package/dist/model-selection-vfhBuN9O.js +1 -0
- package/dist/models-C_Vg3Cty.js +1 -0
- package/dist/models-cli-CDZliTXq.js +1 -0
- package/dist/models-cli-bGr8jwAb.js +1 -0
- package/dist/models-config-CdMhNxKV.js +1 -0
- package/dist/models-config-_htt7eY5.js +1 -0
- package/dist/mutable-allowlist-detectors-C4rNVag8.js +1 -0
- package/dist/mutable-allowlist-detectors-CL0qe54J.js +1 -0
- package/dist/node-cli-5lYbDZ70.js +1 -0
- package/dist/node-cli-Br04Qmqo.js +1 -0
- package/dist/node-command-policy-CejeQemH.js +1 -0
- package/dist/node-command-policy-CqXhdnHh.js +1 -0
- package/dist/node-commands-8GBOiktk.js +1 -0
- package/dist/node-commands-DdkziOTx.js +1 -0
- package/dist/node-resolve-B3BJbmQX.js +1 -0
- package/dist/node-resolve-DLZf3-1V.js +1 -0
- package/dist/node-service-BRfrNp8l.js +1 -0
- package/dist/node-service-C0bl7jcZ.js +1 -0
- package/dist/node-shell-DyOfwHrh.js +1 -0
- package/dist/nodes-cli-8By8--bW.js +1 -0
- package/dist/nodes-cli-zq41EwJN.js +1 -0
- package/dist/nodes-screen-DECgxo6A.js +1 -0
- package/dist/note-D4GAwgha.js +1 -0
- package/dist/note-Dp-d_utk.js +1 -0
- package/dist/npm-pack-install-B23L-AtF.js +1 -0
- package/dist/npm-pack-install-C0te3Oap.js +1 -0
- package/dist/npm-resolution-BnJGLwhi.js +1 -0
- package/dist/npm-resolution-DWPloph4.js +1 -0
- package/dist/oauth-env-DAamJ1oz.js +1 -0
- package/dist/oauth-env-DSLBTWb1.js +1 -0
- package/dist/oauth-tls-preflight-BSBRDIfC.js +1 -0
- package/dist/oauth-tls-preflight-ByNjbUR5.js +1 -0
- package/dist/ollama-setup-BMEKWyIE.js +1 -0
- package/dist/ollama-setup-DlwS6Gl-.js +1 -0
- package/dist/onboard-B0BNCQaO.js +1 -0
- package/dist/onboard-CjVhdaiR.js +1 -0
- package/dist/onboard-channels-BMIOddLN.js +1 -0
- package/dist/onboard-channels-CZK_7xMR.js +1 -0
- package/dist/onboard-config-B7U20YRw.js +1 -0
- package/dist/onboard-config-DS9dUv8M.js +1 -0
- package/dist/onboard-custom-B03SlEHB.js +1 -0
- package/dist/onboard-custom-Bl0y8c-g.js +1 -0
- package/dist/onboard-helpers-PGl5bVPE.js +1 -0
- package/dist/onboard-helpers-zwybUJWu.js +1 -0
- package/dist/onboard-hooks-CERzXObm.js +1 -0
- package/dist/onboard-hooks-gQ3sxBNi.js +1 -0
- package/dist/onboard-provider-auth-flags-CqbipO7D.js +1 -0
- package/dist/onboard-provider-auth-flags-Dvwzdz37.js +1 -0
- package/dist/onboard-remote-BOpIRdDu.js +1 -0
- package/dist/onboard-remote-DPU-H_2O.js +1 -0
- package/dist/onboard-search-f2tJD4hg.js +1 -0
- package/dist/onboard-search-fslKKhyg.js +1 -0
- package/dist/onboard-skills-BMAJs6ly.js +1 -0
- package/dist/onboard-skills-CMSQc2Mm.js +1 -0
- package/dist/onboarding-B6ixWwgp.js +1 -0
- package/dist/onboarding-ouEqUuUr.js +1 -0
- package/dist/onboarding.finalize-Bgat5Npc.js +1 -0
- package/dist/onboarding.finalize-DsMVlTcH.js +1 -0
- package/dist/onboarding.gateway-config-BtLDJWJ2.js +1 -0
- package/dist/onboarding.gateway-config-y3pqsL9i.js +1 -0
- package/dist/onboarding.secret-input-BsBgh8Tc.js +1 -0
- package/dist/onboarding.secret-input-kO5OzYC7.js +1 -0
- package/dist/openai-codex-model-default-DuE2_wN7.js +1 -0
- package/dist/openai-codex-model-default-yVfRw-Mm.js +1 -0
- package/dist/openai-model-default-Bl8MHPb6.js +1 -0
- package/dist/openai-model-default-DJObMvLJ.js +1 -0
- package/dist/openclaw-exec-env-BWbOu_YC.js +1 -0
- package/dist/openclaw-root-CnsBf6ZU.js +1 -0
- package/dist/openclaw-root-D_0Q6--h.js +1 -0
- package/dist/outbound-BOSIEiEY.js +1 -0
- package/dist/outbound-BtUeDLjU.js +1 -0
- package/dist/outbound-Bx2Z2aYK.js +1 -0
- package/dist/outbound-Bz8bbrMI.js +1 -0
- package/dist/outbound-attachment-B7wMxwj6.js +1 -0
- package/dist/outbound-attachment-BgAe99RM.js +1 -0
- package/dist/outbound-attachment-Dds8xirj.js +1 -0
- package/dist/outbound-attachment-DqEKghQp.js +1 -0
- package/dist/pairing-cli-Bya9M-I_.js +1 -0
- package/dist/pairing-cli-D2JEhufv.js +1 -0
- package/dist/pairing-labels-BUU_-70B.js +1 -0
- package/dist/pairing-labels-D-kzQEL2.js +1 -0
- package/dist/pairing-store-BH-FTYkn.js +1 -0
- package/dist/pairing-store-Cg2UxreQ.js +1 -0
- package/dist/pairing-token-BjYBuREl.js +1 -0
- package/dist/pairing-token-DAR7V7FJ.js +1 -0
- package/dist/parse-duration-XTjMKl8s.js +1 -0
- package/dist/parse-finite-number-DqzUM-_s.js +1 -0
- package/dist/parse-finite-number-dBmDLLKL.js +1 -0
- package/dist/parse-log-line-CsYLg7Qu.js +1 -0
- package/dist/parse-log-line-NV-cipB_.js +1 -0
- package/dist/parse-port-Bv1Y9Wk5.js +1 -0
- package/dist/parse-port-JVwkxcZ8.js +1 -0
- package/dist/parse-timeout-DWSGfCkQ.js +1 -0
- package/dist/parse-timeout-Dx4QnVzo.js +1 -0
- package/dist/path-alias-guards-kY_ZbWs-.js +1 -0
- package/dist/path-alias-guards-mvyLCPlN.js +1 -0
- package/dist/path-env-BPd1Yd-i.js +1 -0
- package/dist/path-env-emdAQejM.js +1 -0
- package/dist/path-safety-BukYK8Kd.js +1 -0
- package/dist/path-safety-DaaMJFdt.js +1 -0
- package/dist/paths-B4IRk3wi.js +1 -0
- package/dist/paths-BfjJY2VL.js +1 -0
- package/dist/paths-BjD3T_xq.js +1 -0
- package/dist/paths-BpQOWYiT.js +1 -0
- package/dist/paths-CChBdtE8.js +1 -0
- package/dist/paths-CrCoPIVK.js +1 -0
- package/dist/paths-piJASC5k.js +1 -0
- package/dist/paths-yLEk_25I.js +1 -0
- package/dist/pi-embedded-BZSn84Bh.js +1 -0
- package/dist/pi-embedded-Dsz7p3MF.js +1 -0
- package/dist/pi-model-discovery-BbD1YJNx.js +1 -0
- package/dist/pi-model-discovery-CpjYoBQf.js +1 -0
- package/dist/pi-model-discovery-DeQdHV8O.js +1 -0
- package/dist/pi-model-discovery-Dps1PPWz.js +1 -0
- package/dist/pi-tools.before-tool-call.runtime-DseAq0gm.js +1 -0
- package/dist/pi-tools.before-tool-call.runtime-KKGILAuK.js +1 -0
- package/dist/pi-tools.before-tool-call.runtime-Pck2WdIO.js +1 -0
- package/dist/pi-tools.before-tool-call.runtime-ZzMJQ1BP.js +1 -0
- package/dist/pi-tools.policy-D40r0HmD.js +1 -0
- package/dist/plugin-auto-enable-DpVL6-ES.js +1 -0
- package/dist/plugin-auto-enable-NzmNh4oU.js +1 -0
- package/dist/plugin-install-plan-BobX0y9S.js +1 -0
- package/dist/plugin-install-plan-NvDGp0d8.js +1 -0
- package/dist/plugin-registry-C6dY-Et7.js +1 -0
- package/dist/plugin-registry-CIBiHZH1.js +1 -0
- package/dist/plugin-sdk/account-id.cjs +1 -0
- package/dist/plugin-sdk/account-id.js +1 -0
- package/dist/plugin-sdk/acpx.cjs +1 -0
- package/dist/plugin-sdk/acpx.js +1 -0
- package/dist/plugin-sdk/active-listener-BApFQlQn.js +1 -0
- package/dist/plugin-sdk/active-listener-BETopzG5.cjs +1 -0
- package/dist/plugin-sdk/active-listener-BEcmvyxh.cjs +1 -0
- package/dist/plugin-sdk/active-listener-BZPPbsNy.cjs +1 -0
- package/dist/plugin-sdk/active-listener-B_Mxemq7.cjs +1 -0
- package/dist/plugin-sdk/active-listener-BgW_qfd3.js +1 -0
- package/dist/plugin-sdk/active-listener-Coet66pF.cjs +1 -0
- package/dist/plugin-sdk/active-listener-CvML9qVF.js +1 -0
- package/dist/plugin-sdk/active-listener-DuO6KMXJ.js +1 -0
- package/dist/plugin-sdk/active-listener-DymzfmOG.cjs +1 -0
- package/dist/plugin-sdk/active-listener-ILBdBHMv.js +1 -0
- package/dist/plugin-sdk/active-listener-gRRIfN1q.js +1 -0
- package/dist/plugin-sdk/api-key-rotation-Bj1A9Slo.cjs +1 -0
- package/dist/plugin-sdk/api-key-rotation-CFPNzksf.cjs +1 -0
- package/dist/plugin-sdk/api-key-rotation-CXY0AyM1.js +1 -0
- package/dist/plugin-sdk/api-key-rotation-ClIwV8yq.js +1 -0
- package/dist/plugin-sdk/api-key-rotation-D5Nr1xl3.js +1 -0
- package/dist/plugin-sdk/api-key-rotation-DDCwA0KM.cjs +1 -0
- package/dist/plugin-sdk/api-key-rotation-DHMvXm70.cjs +1 -0
- package/dist/plugin-sdk/api-key-rotation-DaFFZfk5.js +1 -0
- package/dist/plugin-sdk/api-key-rotation-DcREl_0x.js +1 -0
- package/dist/plugin-sdk/api-key-rotation-X-5Fb7av.cjs +1 -0
- package/dist/plugin-sdk/api-key-rotation-_VfXYfHS.js +1 -0
- package/dist/plugin-sdk/api-key-rotation-wFUVOOfM.cjs +1 -0
- package/dist/plugin-sdk/audio-preflight-B1MP5_bc.cjs +1 -0
- package/dist/plugin-sdk/audio-preflight-BETx142T.cjs +1 -0
- package/dist/plugin-sdk/audio-preflight-BGRLhCLc.cjs +1 -0
- package/dist/plugin-sdk/audio-preflight-BNICfOY5.cjs +1 -0
- package/dist/plugin-sdk/audio-preflight-BV3Cav8M.js +1 -0
- package/dist/plugin-sdk/audio-preflight-BmO72Cqr.cjs +1 -0
- package/dist/plugin-sdk/audio-preflight-BpE8wFQc.js +1 -0
- package/dist/plugin-sdk/audio-preflight-CTAafaiH.js +1 -0
- package/dist/plugin-sdk/audio-preflight-D82aewIt.js +1 -0
- package/dist/plugin-sdk/audio-preflight-DmzxEaq3.cjs +1 -0
- package/dist/plugin-sdk/audio-preflight-DrSIYRnD.js +1 -0
- package/dist/plugin-sdk/audio-preflight-SZZoA2Ff.js +1 -0
- package/dist/plugin-sdk/audio-transcription-runner-B54MyF1_.js +1 -0
- package/dist/plugin-sdk/audio-transcription-runner-BIqM5H5q.js +1 -0
- package/dist/plugin-sdk/audio-transcription-runner-BLAxZL-U.js +1 -0
- package/dist/plugin-sdk/audio-transcription-runner-BVmaaA2k.js +1 -0
- package/dist/plugin-sdk/audio-transcription-runner-BdY-TMcc.js +1 -0
- package/dist/plugin-sdk/audio-transcription-runner-By3lSLub.cjs +1 -0
- package/dist/plugin-sdk/audio-transcription-runner-CH5CoZrF.cjs +1 -0
- package/dist/plugin-sdk/audio-transcription-runner-CMsp7bhn.cjs +1 -0
- package/dist/plugin-sdk/audio-transcription-runner-ClGibmMi.cjs +1 -0
- package/dist/plugin-sdk/audio-transcription-runner-QfEC19vE.cjs +1 -0
- package/dist/plugin-sdk/audio-transcription-runner-g7L0m-Z5.cjs +1 -0
- package/dist/plugin-sdk/audio-transcription-runner-pVTD93vq.js +1 -0
- package/dist/plugin-sdk/audit-membership-runtime-7LqcvqFo.js +1 -0
- package/dist/plugin-sdk/audit-membership-runtime-BQFUzFc0.cjs +1 -0
- package/dist/plugin-sdk/audit-membership-runtime-BYtdDX9G.cjs +1 -0
- package/dist/plugin-sdk/audit-membership-runtime-BzEtBUX6.cjs +1 -0
- package/dist/plugin-sdk/audit-membership-runtime-CBUmGrl4.js +1 -0
- package/dist/plugin-sdk/audit-membership-runtime-ChlVgt2y.js +1 -0
- package/dist/plugin-sdk/audit-membership-runtime-DLRX7LR0.js +1 -0
- package/dist/plugin-sdk/audit-membership-runtime-DbJW5X3L.cjs +1 -0
- package/dist/plugin-sdk/audit-membership-runtime-Du9LAxDa.cjs +1 -0
- package/dist/plugin-sdk/audit-membership-runtime-DylNnj1m.js +1 -0
- package/dist/plugin-sdk/audit-membership-runtime-voi5sPwF.js +1 -0
- package/dist/plugin-sdk/audit-membership-runtime-yWYvSpgZ.cjs +1 -0
- package/dist/plugin-sdk/bluebubbles.cjs +1 -0
- package/dist/plugin-sdk/bluebubbles.js +1 -0
- package/dist/plugin-sdk/channel-activity-BGK-Bj2_.cjs +1 -0
- package/dist/plugin-sdk/channel-activity-BRHvpV0C.js +1 -0
- package/dist/plugin-sdk/channel-activity-CKfWFchu.js +1 -0
- package/dist/plugin-sdk/channel-activity-CLUi31fX.cjs +1 -0
- package/dist/plugin-sdk/channel-activity-CVOp-PL4.cjs +1 -0
- package/dist/plugin-sdk/channel-activity-CgXnZ0GC.cjs +1 -0
- package/dist/plugin-sdk/channel-activity-CmYpOPAn.js +1 -0
- package/dist/plugin-sdk/channel-activity-CwaMf9qT.cjs +1 -0
- package/dist/plugin-sdk/channel-activity-D5D5tBWf.cjs +1 -0
- package/dist/plugin-sdk/channel-activity-D7tpmatp.js +1 -0
- package/dist/plugin-sdk/channel-activity-DpxSOlXF.js +1 -0
- package/dist/plugin-sdk/channel-activity-spvDzlTl.js +1 -0
- package/dist/plugin-sdk/channel-web-4ZQVqsrt.js +1 -0
- package/dist/plugin-sdk/channel-web-9zn1Itpg.cjs +1 -0
- package/dist/plugin-sdk/channel-web-BrB00HKH.js +1 -0
- package/dist/plugin-sdk/channel-web-DN5La-Ol.cjs +1 -0
- package/dist/plugin-sdk/command-poll-backoff-4910Mpwp.js +1 -0
- package/dist/plugin-sdk/command-poll-backoff-BLJZzV5W.cjs +1 -0
- package/dist/plugin-sdk/command-poll-backoff-CUNcN0dv.cjs +1 -0
- package/dist/plugin-sdk/command-poll-backoff-Cww_r-24.js +1 -0
- package/dist/plugin-sdk/command-poll-backoff-D0lJhquZ.js +1 -0
- package/dist/plugin-sdk/command-poll-backoff-Glwt3wHa.cjs +1 -0
- package/dist/plugin-sdk/commands-registry-5lStNoKW.cjs +1 -0
- package/dist/plugin-sdk/commands-registry-C8wnXqNa.cjs +1 -0
- package/dist/plugin-sdk/commands-registry-Cnr6PvIw.js +1 -0
- package/dist/plugin-sdk/commands-registry-CtYCWfuM.cjs +1 -0
- package/dist/plugin-sdk/commands-registry-D2gv242l.js +1 -0
- package/dist/plugin-sdk/commands-registry-DI2vPscP.js +1 -0
- package/dist/plugin-sdk/commands-registry-DcBvmwSU.js +1 -0
- package/dist/plugin-sdk/commands-registry-DkUhCIDk.cjs +1 -0
- package/dist/plugin-sdk/commands-registry-DsMbmie-.cjs +1 -0
- package/dist/plugin-sdk/commands-registry-MCsWR5Vf.js +1 -0
- package/dist/plugin-sdk/commands-registry-SHZVq_qf.cjs +1 -0
- package/dist/plugin-sdk/commands-registry-kRjFifgj.js +1 -0
- package/dist/plugin-sdk/common-B4iFXuoZ.cjs +1 -0
- package/dist/plugin-sdk/common-B6fDMl_i.js +1 -0
- package/dist/plugin-sdk/compat.cjs +1 -0
- package/dist/plugin-sdk/compat.js +1 -0
- package/dist/plugin-sdk/config-ByA2hluR.js +1 -0
- package/dist/plugin-sdk/config-rBz8C_Hi.cjs +1 -0
- package/dist/plugin-sdk/copilot-proxy.cjs +1 -0
- package/dist/plugin-sdk/copilot-proxy.js +1 -0
- package/dist/plugin-sdk/core.cjs +1 -0
- package/dist/plugin-sdk/core.js +1 -0
- package/dist/plugin-sdk/deliver-B0fB4hAV.js +1 -0
- package/dist/plugin-sdk/deliver-BOLmjIJ3.js +1 -0
- package/dist/plugin-sdk/deliver-BrfVwkYz.cjs +1 -0
- package/dist/plugin-sdk/deliver-C-tChWTI.cjs +1 -0
- package/dist/plugin-sdk/deliver-CjQPkWS-.cjs +1 -0
- package/dist/plugin-sdk/deliver-D1P0FNTu.js +1 -0
- package/dist/plugin-sdk/deliver-DCrO9mvv.cjs +1 -0
- package/dist/plugin-sdk/deliver-DQLekoj2.cjs +1 -0
- package/dist/plugin-sdk/deliver-DkfCVM78.js +1 -0
- package/dist/plugin-sdk/deliver-Dkh3lqXR.js +1 -0
- package/dist/plugin-sdk/deliver-DsFtXFyr.cjs +1 -0
- package/dist/plugin-sdk/deliver-vYe_sYOL.js +1 -0
- package/dist/plugin-sdk/device-pair.cjs +1 -0
- package/dist/plugin-sdk/device-pair.js +1 -0
- package/dist/plugin-sdk/diagnostic-8iX73nz_.cjs +1 -0
- package/dist/plugin-sdk/diagnostic-CLUtpxAp.js +1 -0
- package/dist/plugin-sdk/diagnostic-CVS4k9hh.cjs +1 -0
- package/dist/plugin-sdk/diagnostic-CkePwN5F.js +1 -0
- package/dist/plugin-sdk/diagnostic-Cu1PGj0E.cjs +1 -0
- package/dist/plugin-sdk/diagnostic-D0oCfBju.cjs +1 -0
- package/dist/plugin-sdk/diagnostic-D7A9cQYf.cjs +1 -0
- package/dist/plugin-sdk/diagnostic-DGLX0zXU.js +1 -0
- package/dist/plugin-sdk/diagnostic-DXscFT8t.cjs +1 -0
- package/dist/plugin-sdk/diagnostic-Efe4b81B.js +1 -0
- package/dist/plugin-sdk/diagnostic-EqHqw9xo.js +1 -0
- package/dist/plugin-sdk/diagnostic-vsjHZ_fY.js +1 -0
- package/dist/plugin-sdk/diagnostics-otel.cjs +1 -0
- package/dist/plugin-sdk/diagnostics-otel.js +1 -0
- package/dist/plugin-sdk/diffs.cjs +1 -0
- package/dist/plugin-sdk/diffs.js +1 -0
- package/dist/plugin-sdk/discord.cjs +1 -0
- package/dist/plugin-sdk/discord.js +1 -0
- package/dist/plugin-sdk/dispatch-5v3v8zzA.js +1 -0
- package/dist/plugin-sdk/dispatch-B6UbZCpL.cjs +1 -0
- package/dist/plugin-sdk/dispatch-BYlcmJ9u.js +1 -0
- package/dist/plugin-sdk/dispatch-C2YTqGlf.js +1 -0
- package/dist/plugin-sdk/dispatch-CNy3g9ma.cjs +1 -0
- package/dist/plugin-sdk/dispatch-DCSwqteL.js +1 -0
- package/dist/plugin-sdk/dispatch-DHbSBeFJ.js +1 -0
- package/dist/plugin-sdk/dispatch-DK5ub8qa.cjs +1 -0
- package/dist/plugin-sdk/dispatch-SWyfAZT0.cjs +1 -0
- package/dist/plugin-sdk/dispatch-mR2vLkGa.cjs +1 -0
- package/dist/plugin-sdk/feishu.cjs +1 -0
- package/dist/plugin-sdk/feishu.js +1 -0
- package/dist/plugin-sdk/fetch-7Iq9POda.js +1 -0
- package/dist/plugin-sdk/fetch-B1GR6-u4.js +1 -0
- package/dist/plugin-sdk/fetch-B27H-XCf.js +1 -0
- package/dist/plugin-sdk/fetch-BMYDLRWo.js +1 -0
- package/dist/plugin-sdk/fetch-BN9y3kTg.cjs +1 -0
- package/dist/plugin-sdk/fetch-BVEVk5YF.js +1 -0
- package/dist/plugin-sdk/fetch-BY6lVRlY.cjs +1 -0
- package/dist/plugin-sdk/fetch-Bi8krAaT.cjs +1 -0
- package/dist/plugin-sdk/fetch-BjXhwqrE.cjs +1 -0
- package/dist/plugin-sdk/fetch-BtZY623f.js +1 -0
- package/dist/plugin-sdk/fetch-C-HRWp5R.js +1 -0
- package/dist/plugin-sdk/fetch-C3LEMysf.js +1 -0
- package/dist/plugin-sdk/fetch-CCLWsYaQ.js +1 -0
- package/dist/plugin-sdk/fetch-CZewCAvu.cjs +1 -0
- package/dist/plugin-sdk/fetch-ClKErpni.cjs +1 -0
- package/dist/plugin-sdk/fetch-DBRI0sKI.js +1 -0
- package/dist/plugin-sdk/fetch-DQxuOB8o.cjs +1 -0
- package/dist/plugin-sdk/fetch-DUMEaqum.cjs +1 -0
- package/dist/plugin-sdk/fetch-DpwR_cJU.cjs +1 -0
- package/dist/plugin-sdk/fetch-J0IzopiJ.js +1 -0
- package/dist/plugin-sdk/fetch-guard-8I7EHbDM.cjs +1 -0
- package/dist/plugin-sdk/fetch-guard-CIJUkBIL.cjs +1 -0
- package/dist/plugin-sdk/fetch-guard-CY03i4gu.js +1 -0
- package/dist/plugin-sdk/fetch-guard-Cz-cgYmR.cjs +1 -0
- package/dist/plugin-sdk/fetch-guard-DB85MORy.cjs +1 -0
- package/dist/plugin-sdk/fetch-guard-DE9BslxX.js +1 -0
- package/dist/plugin-sdk/fetch-guard-DLNzldn9.cjs +1 -0
- package/dist/plugin-sdk/fetch-guard-DSvAbvSx.js +1 -0
- package/dist/plugin-sdk/fetch-guard-DXe8oqEE.js +1 -0
- package/dist/plugin-sdk/fetch-guard-DY9jpsXo.cjs +1 -0
- package/dist/plugin-sdk/fetch-guard-DbOZYxyN.js +1 -0
- package/dist/plugin-sdk/fetch-guard-_fifU0fX.js +1 -0
- package/dist/plugin-sdk/fetch-lw-aF17e.cjs +1 -0
- package/dist/plugin-sdk/fetch-timeout-6oZsqWxA.js +1 -0
- package/dist/plugin-sdk/fetch-timeout-BygUD0rd.cjs +1 -0
- package/dist/plugin-sdk/fetch-timeout-CLw1U7VS.js +1 -0
- package/dist/plugin-sdk/fetch-timeout-CX1w-9p4.cjs +1 -0
- package/dist/plugin-sdk/fetch-timeout-Coc9xyC3.cjs +1 -0
- package/dist/plugin-sdk/fetch-timeout-Cz6GuU_c.js +1 -0
- package/dist/plugin-sdk/fetch-timeout-DC8T2JCr.js +1 -0
- package/dist/plugin-sdk/fetch-timeout-DFDmks9T.cjs +1 -0
- package/dist/plugin-sdk/fetch-timeout-DkYpp08Q.js +1 -0
- package/dist/plugin-sdk/github-copilot-token-BHdMLLqf.cjs +1 -0
- package/dist/plugin-sdk/github-copilot-token-Bt4PduRB.js +1 -0
- package/dist/plugin-sdk/github-copilot-token-C1O2cBqk.cjs +1 -0
- package/dist/plugin-sdk/github-copilot-token-C1hiDugd.js +1 -0
- package/dist/plugin-sdk/github-copilot-token-C8j8_NjX.js +1 -0
- package/dist/plugin-sdk/github-copilot-token-CCrgp2py.cjs +1 -0
- package/dist/plugin-sdk/github-copilot-token-DoHgkI2r.cjs +1 -0
- package/dist/plugin-sdk/github-copilot-token-N8vnLZPw.js +1 -0
- package/dist/plugin-sdk/github-copilot-token-TMkfxxD2.cjs +1 -0
- package/dist/plugin-sdk/github-copilot-token-vKAKX6iE.js +1 -0
- package/dist/plugin-sdk/github-copilot-token-ylX_gawo.js +1 -0
- package/dist/plugin-sdk/github-copilot-token-zskwAEpd.cjs +1 -0
- package/dist/plugin-sdk/google-gemini-cli-auth.cjs +1 -0
- package/dist/plugin-sdk/google-gemini-cli-auth.js +1 -0
- package/dist/plugin-sdk/googlechat.cjs +1 -0
- package/dist/plugin-sdk/googlechat.js +1 -0
- package/dist/plugin-sdk/image-B6HEHWlJ.js +1 -0
- package/dist/plugin-sdk/image-Bte8cr4F.js +1 -0
- package/dist/plugin-sdk/image-BxafJgQ6.cjs +1 -0
- package/dist/plugin-sdk/image-CDI5SqeR.js +1 -0
- package/dist/plugin-sdk/image-CTgwucug.cjs +1 -0
- package/dist/plugin-sdk/image-CWnsS03L.js +1 -0
- package/dist/plugin-sdk/image-CoksjGBL.cjs +1 -0
- package/dist/plugin-sdk/image-CuOIoxl2.cjs +1 -0
- package/dist/plugin-sdk/image-DJyEMzkq.cjs +1 -0
- package/dist/plugin-sdk/image-DegWnAZU.cjs +1 -0
- package/dist/plugin-sdk/image-TCSQZpr6.js +1 -0
- package/dist/plugin-sdk/image-aG-5S1vd.js +1 -0
- package/dist/plugin-sdk/imessage.cjs +1 -0
- package/dist/plugin-sdk/imessage.js +1 -0
- package/dist/plugin-sdk/index.cjs +1 -0
- package/dist/plugin-sdk/index.js +1 -0
- package/dist/plugin-sdk/ir-8rDh7div.js +1 -0
- package/dist/plugin-sdk/ir-Bh6lKGdS.js +1 -0
- package/dist/plugin-sdk/ir-C3VNqnc2.cjs +1 -0
- package/dist/plugin-sdk/ir-CZOtKajq.cjs +1 -0
- package/dist/plugin-sdk/ir-CveCWs8q.cjs +1 -0
- package/dist/plugin-sdk/ir-DAxY-7c1.cjs +1 -0
- package/dist/plugin-sdk/ir-DSuLr2UE.cjs +1 -0
- package/dist/plugin-sdk/ir-DanxCjD-.cjs +1 -0
- package/dist/plugin-sdk/ir-Dgc6qZMX.js +1 -0
- package/dist/plugin-sdk/ir-OBi5zaEW.js +1 -0
- package/dist/plugin-sdk/ir-hQ6EW92h.js +1 -0
- package/dist/plugin-sdk/ir-ynWQeZD9.js +1 -0
- package/dist/plugin-sdk/irc.cjs +1 -0
- package/dist/plugin-sdk/irc.js +1 -0
- package/dist/plugin-sdk/keyed-async-queue.cjs +1 -0
- package/dist/plugin-sdk/keyed-async-queue.js +1 -0
- package/dist/plugin-sdk/line.cjs +1 -0
- package/dist/plugin-sdk/line.js +1 -0
- package/dist/plugin-sdk/llm-task.cjs +1 -0
- package/dist/plugin-sdk/llm-task.js +1 -0
- package/dist/plugin-sdk/load-options-B9Ss5YOO.js +1 -0
- package/dist/plugin-sdk/load-options-BOfn6Zgo.cjs +1 -0
- package/dist/plugin-sdk/load-options-BXvm8HVv.js +1 -0
- package/dist/plugin-sdk/load-options-Bb7u8yZz.cjs +1 -0
- package/dist/plugin-sdk/load-options-BcSg1ODN.js +1 -0
- package/dist/plugin-sdk/load-options-NqnXJ-Nh.cjs +1 -0
- package/dist/plugin-sdk/lobster.cjs +1 -0
- package/dist/plugin-sdk/lobster.js +1 -0
- package/dist/plugin-sdk/local-roots-5udQUs81.js +1 -0
- package/dist/plugin-sdk/local-roots-BmhNPIJm.cjs +1 -0
- package/dist/plugin-sdk/local-roots-C5UoE741.cjs +1 -0
- package/dist/plugin-sdk/local-roots-Ca8KoAAp.js +1 -0
- package/dist/plugin-sdk/local-roots-CeAYfmPb.cjs +1 -0
- package/dist/plugin-sdk/local-roots-Cu7YCpql.cjs +1 -0
- package/dist/plugin-sdk/local-roots-D0yN794S.js +1 -0
- package/dist/plugin-sdk/local-roots-D4i3H0UG.cjs +1 -0
- package/dist/plugin-sdk/local-roots-DGe-SRNu.js +1 -0
- package/dist/plugin-sdk/local-roots-bWA2msT0.js +1 -0
- package/dist/plugin-sdk/local-roots-tee85Q-1.js +1 -0
- package/dist/plugin-sdk/local-roots-wTkpE7go.cjs +1 -0
- package/dist/plugin-sdk/logger-6O6OsYBL.cjs +1 -0
- package/dist/plugin-sdk/logger-BlddiV_d.cjs +1 -0
- package/dist/plugin-sdk/logger-Bm93ZKOk.cjs +1 -0
- package/dist/plugin-sdk/logger-BtrWb0dj.js +1 -0
- package/dist/plugin-sdk/logger-C210xuWx.js +1 -0
- package/dist/plugin-sdk/logger-DJGHvDbX.js +1 -0
- package/dist/plugin-sdk/logger-DPlqYkRm.cjs +1 -0
- package/dist/plugin-sdk/logger-DUYnS-W3.cjs +1 -0
- package/dist/plugin-sdk/logger-DwWqfo66.js +1 -0
- package/dist/plugin-sdk/logger-vBDTZWl3.js +1 -0
- package/dist/plugin-sdk/login-B5IwNcl4.cjs +1 -0
- package/dist/plugin-sdk/login-BIbt7ZL_.js +1 -0
- package/dist/plugin-sdk/login-CxnDKwXC.js +1 -0
- package/dist/plugin-sdk/login-D5iTWowo.cjs +1 -0
- package/dist/plugin-sdk/login-DHE1rzB1.js +1 -0
- package/dist/plugin-sdk/login-DIPBcPQc.cjs +1 -0
- package/dist/plugin-sdk/login-DtDOozuU.js +1 -0
- package/dist/plugin-sdk/login-UrWNtI80.cjs +1 -0
- package/dist/plugin-sdk/login-VviMkBU2.js +1 -0
- package/dist/plugin-sdk/login-jQwwt6C-.js +1 -0
- package/dist/plugin-sdk/login-mGjCzJzb.cjs +1 -0
- package/dist/plugin-sdk/login-pZnnpj38.cjs +1 -0
- package/dist/plugin-sdk/login-qr-BexuTIDJ.cjs +1 -0
- package/dist/plugin-sdk/login-qr-C366Qlh-.cjs +1 -0
- package/dist/plugin-sdk/login-qr-CQY4ty0o.js +1 -0
- package/dist/plugin-sdk/login-qr-CSabEb-n.cjs +1 -0
- package/dist/plugin-sdk/login-qr-CUgNKijx.js +1 -0
- package/dist/plugin-sdk/login-qr-C_LEw1Bi.js +1 -0
- package/dist/plugin-sdk/login-qr-CcPvldsG.js +1 -0
- package/dist/plugin-sdk/login-qr-CnNGKwDR.cjs +1 -0
- package/dist/plugin-sdk/login-qr-DQm50pXk.js +1 -0
- package/dist/plugin-sdk/login-qr-DayvAWkx.js +1 -0
- package/dist/plugin-sdk/login-qr-eodIsL9V.cjs +1 -0
- package/dist/plugin-sdk/login-qr-yIJE7MmY.cjs +1 -0
- package/dist/plugin-sdk/manager-932XljTT.js +1 -0
- package/dist/plugin-sdk/manager-CGHd5p2T.js +1 -0
- package/dist/plugin-sdk/manager-CbGA_JDa.js +1 -0
- package/dist/plugin-sdk/manager-CdD7HaGW.cjs +1 -0
- package/dist/plugin-sdk/manager-CmAH_a7A.cjs +1 -0
- package/dist/plugin-sdk/manager-DIS4ywpb.cjs +1 -0
- package/dist/plugin-sdk/manager-DQ2C-2IU.cjs +1 -0
- package/dist/plugin-sdk/manager-DdvFnsT7.cjs +1 -0
- package/dist/plugin-sdk/manager-DfdDglld.js +1 -0
- package/dist/plugin-sdk/manager-MR9stU_p.js +1 -0
- package/dist/plugin-sdk/manager-WwW37IUu.js +1 -0
- package/dist/plugin-sdk/manager-gE9187gu.cjs +1 -0
- package/dist/plugin-sdk/matrix.cjs +1 -0
- package/dist/plugin-sdk/matrix.js +1 -0
- package/dist/plugin-sdk/mattermost.cjs +1 -0
- package/dist/plugin-sdk/mattermost.js +1 -0
- package/dist/plugin-sdk/memory-core.cjs +1 -0
- package/dist/plugin-sdk/memory-core.js +1 -0
- package/dist/plugin-sdk/minimax-portal-auth.cjs +1 -0
- package/dist/plugin-sdk/minimax-portal-auth.js +1 -0
- package/dist/plugin-sdk/model-auth-BpS4IWDi.cjs +1 -0
- package/dist/plugin-sdk/model-auth-BwajGuoF.cjs +1 -0
- package/dist/plugin-sdk/model-auth-C1YL9HcW.js +1 -0
- package/dist/plugin-sdk/model-auth-Cc-8H6Cu.js +1 -0
- package/dist/plugin-sdk/model-auth-Cw3fuhm_.js +1 -0
- package/dist/plugin-sdk/model-auth-CycDtQl-.js +1 -0
- package/dist/plugin-sdk/model-auth-D-7xiXhK.cjs +1 -0
- package/dist/plugin-sdk/model-auth-TFUxaK0f.cjs +1 -0
- package/dist/plugin-sdk/model-selection-BADTZM9n.cjs +1 -0
- package/dist/plugin-sdk/model-selection-DUAudCtL.js +1 -0
- package/dist/plugin-sdk/msteams.cjs +1 -0
- package/dist/plugin-sdk/msteams.js +1 -0
- package/dist/plugin-sdk/nextcloud-talk.cjs +1 -0
- package/dist/plugin-sdk/nextcloud-talk.js +1 -0
- package/dist/plugin-sdk/nostr.cjs +1 -0
- package/dist/plugin-sdk/nostr.js +1 -0
- package/dist/plugin-sdk/outbound-2Lo6mZEY.js +1 -0
- package/dist/plugin-sdk/outbound-9XFlZzaF.cjs +1 -0
- package/dist/plugin-sdk/outbound-BlWsUmjQ.js +1 -0
- package/dist/plugin-sdk/outbound-Bs2rUcWZ.cjs +1 -0
- package/dist/plugin-sdk/outbound-C18nEOFP.js +1 -0
- package/dist/plugin-sdk/outbound-CW3o4Eng.cjs +1 -0
- package/dist/plugin-sdk/outbound-CzsdW5sy.js +1 -0
- package/dist/plugin-sdk/outbound-DcP22VOo.cjs +1 -0
- package/dist/plugin-sdk/outbound-QhOJAEO8.cjs +1 -0
- package/dist/plugin-sdk/outbound-attachment-1pf06Oiu.cjs +1 -0
- package/dist/plugin-sdk/outbound-attachment-B8-ZVX2i.cjs +1 -0
- package/dist/plugin-sdk/outbound-attachment-BDwI_tn0.cjs +1 -0
- package/dist/plugin-sdk/outbound-attachment-BXhbJils.js +1 -0
- package/dist/plugin-sdk/outbound-attachment-Bgf1pCh8.js +1 -0
- package/dist/plugin-sdk/outbound-attachment-COgf85S8.cjs +1 -0
- package/dist/plugin-sdk/outbound-attachment-CfN9OvMC.js +1 -0
- package/dist/plugin-sdk/outbound-attachment-CftilZWd.js +1 -0
- package/dist/plugin-sdk/outbound-attachment-Cujprd6T.cjs +1 -0
- package/dist/plugin-sdk/outbound-attachment-CvSHb9ci.js +1 -0
- package/dist/plugin-sdk/outbound-attachment-DQYtdTUw.js +1 -0
- package/dist/plugin-sdk/outbound-attachment-FqWC0WJx.cjs +1 -0
- package/dist/plugin-sdk/outbound-dTvIiFIZ.js +1 -0
- package/dist/plugin-sdk/outbound-fZ1WJGfe.cjs +1 -0
- package/dist/plugin-sdk/outbound-oHoWYWxf.js +1 -0
- package/dist/plugin-sdk/paths-BPlgbwrb.cjs +1 -0
- package/dist/plugin-sdk/paths-Bcdg3ma0.cjs +1 -0
- package/dist/plugin-sdk/paths-BpQOWYiT.js +1 -0
- package/dist/plugin-sdk/paths-BvlJvmRS.cjs +1 -0
- package/dist/plugin-sdk/paths-CIcxeNL-.cjs +1 -0
- package/dist/plugin-sdk/paths-CXgWvWAM.js +1 -0
- package/dist/plugin-sdk/paths-Chp3zwtq.cjs +1 -0
- package/dist/plugin-sdk/paths-CnHSNSeR.js +1 -0
- package/dist/plugin-sdk/paths-Cqca1YmF.cjs +1 -0
- package/dist/plugin-sdk/paths-CtrEseGU.js +1 -0
- package/dist/plugin-sdk/paths-D55o_j8-.js +1 -0
- package/dist/plugin-sdk/paths-D90l3h_o.cjs +1 -0
- package/dist/plugin-sdk/paths-DaRoqzBQ.js +1 -0
- package/dist/plugin-sdk/paths-Dd7r1qlB.cjs +1 -0
- package/dist/plugin-sdk/paths-DhSjTRMz.js +1 -0
- package/dist/plugin-sdk/paths-Do0djuaj.js +1 -0
- package/dist/plugin-sdk/paths-J4JUiRsa.js +1 -0
- package/dist/plugin-sdk/paths-cBAF6Bj0.js +1 -0
- package/dist/plugin-sdk/paths-piJASC5k.js +1 -0
- package/dist/plugin-sdk/paths-rO4ehkyU.js +1 -0
- package/dist/plugin-sdk/pi-model-discovery-B9boErNZ.cjs +1 -0
- package/dist/plugin-sdk/pi-model-discovery-BJ8wTgFH.cjs +1 -0
- package/dist/plugin-sdk/pi-model-discovery-Bb2vCP6M.js +1 -0
- package/dist/plugin-sdk/pi-model-discovery-Bor7jHYd.js +1 -0
- package/dist/plugin-sdk/pi-model-discovery-BrTw1qE2.cjs +1 -0
- package/dist/plugin-sdk/pi-model-discovery-BuEMyAsU.js +1 -0
- package/dist/plugin-sdk/pi-model-discovery-CV9NTjC4.js +1 -0
- package/dist/plugin-sdk/pi-model-discovery-D5tLf04u.js +1 -0
- package/dist/plugin-sdk/pi-model-discovery-D5xlUS2J.cjs +1 -0
- package/dist/plugin-sdk/pi-model-discovery-DGoPUzBj.cjs +1 -0
- package/dist/plugin-sdk/pi-model-discovery-DMrqvV1O.cjs +1 -0
- package/dist/plugin-sdk/pi-model-discovery-DoY7qnlI.cjs +1 -0
- package/dist/plugin-sdk/pi-model-discovery-Dqq9Vm8o.js +1 -0
- package/dist/plugin-sdk/pi-model-discovery-zCuISPPq.js +1 -0
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-4238P8NF.js +1 -0
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-BEoqzgFe.cjs +1 -0
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-BGPjibRD.js +1 -0
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-BJ_amISU.cjs +1 -0
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-BX2r_qPT.cjs +1 -0
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-CGLHFxSr.js +1 -0
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-CsNn_Lv8.js +1 -0
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-CsiKBTHg.cjs +1 -0
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-CuXQQk4F.cjs +1 -0
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-DNatrz-3.cjs +1 -0
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-PApjB0tY.js +1 -0
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-xsXDBYNq.js +1 -0
- package/dist/plugin-sdk/polls-BuaJuIpV.cjs +1 -0
- package/dist/plugin-sdk/polls-CBAGZuJ6.js +1 -0
- package/dist/plugin-sdk/polls-CSKMbBIS.js +1 -0
- package/dist/plugin-sdk/polls-D0wY0FvT.cjs +1 -0
- package/dist/plugin-sdk/polls-PGxiE05J.js +1 -0
- package/dist/plugin-sdk/polls-yWqSCEP0.cjs +1 -0
- package/dist/plugin-sdk/proxy-env-B765haXA.js +1 -0
- package/dist/plugin-sdk/proxy-env-Bcl14j2_.cjs +1 -0
- package/dist/plugin-sdk/proxy-env-BlrHtJWH.js +1 -0
- package/dist/plugin-sdk/proxy-env-D48qBPAr.cjs +1 -0
- package/dist/plugin-sdk/proxy-env-DGzNnnJh.js +1 -0
- package/dist/plugin-sdk/proxy-env-DQoJjkWE.cjs +1 -0
- package/dist/plugin-sdk/proxy-env-DWw9TnOj.cjs +1 -0
- package/dist/plugin-sdk/proxy-env-MEjSyzTr.js +1 -0
- package/dist/plugin-sdk/proxy-env-a590sPAz.cjs +1 -0
- package/dist/plugin-sdk/proxy-env-k93igu7v.cjs +1 -0
- package/dist/plugin-sdk/proxy-env-m9eG3uZN.js +1 -0
- package/dist/plugin-sdk/proxy-env-t6hcaFqC.js +1 -0
- package/dist/plugin-sdk/proxy-fetch-B9aXJVe-.js +1 -0
- package/dist/plugin-sdk/proxy-fetch-BaA3JYgW.cjs +1 -0
- package/dist/plugin-sdk/proxy-fetch-BwXFVsHE.cjs +1 -0
- package/dist/plugin-sdk/proxy-fetch-BzcKzknk.cjs +1 -0
- package/dist/plugin-sdk/proxy-fetch-CYVChsKE.js +1 -0
- package/dist/plugin-sdk/proxy-fetch-ClOb2LUH.js +1 -0
- package/dist/plugin-sdk/proxy-fetch-DH7VIiBH.cjs +1 -0
- package/dist/plugin-sdk/proxy-fetch-DPOhfrou.cjs +1 -0
- package/dist/plugin-sdk/proxy-fetch-DXt2R_Z5.js +1 -0
- package/dist/plugin-sdk/proxy-fetch-Del551nu.js +1 -0
- package/dist/plugin-sdk/proxy-fetch-YCVHz7Rl.js +1 -0
- package/dist/plugin-sdk/proxy-fetch-qbrYAz8k.cjs +1 -0
- package/dist/plugin-sdk/pw-ai-B0_rvdfF.js +1 -0
- package/dist/plugin-sdk/pw-ai-BqdrA15F.js +1 -0
- package/dist/plugin-sdk/pw-ai-CDzxu5B3.js +1 -0
- package/dist/plugin-sdk/pw-ai-CJIogpwF.cjs +1 -0
- package/dist/plugin-sdk/pw-ai-CL_gU5PJ.cjs +1 -0
- package/dist/plugin-sdk/pw-ai-Ca4aZTaG.cjs +1 -0
- package/dist/plugin-sdk/pw-ai-CrfYxLI8.cjs +1 -0
- package/dist/plugin-sdk/pw-ai-DCiFlwP8.js +1 -0
- package/dist/plugin-sdk/pw-ai-DSqXNmNZ.js +1 -0
- package/dist/plugin-sdk/pw-ai-Dh55xTz1.cjs +1 -0
- package/dist/plugin-sdk/pw-ai-DxAvipyK.cjs +1 -0
- package/dist/plugin-sdk/pw-ai-U9nPHH-0.js +1 -0
- package/dist/plugin-sdk/qmd-manager-B3xNbdye.cjs +1 -0
- package/dist/plugin-sdk/qmd-manager-BMyDNBPi.js +1 -0
- package/dist/plugin-sdk/qmd-manager-BZhiv_zq.cjs +1 -0
- package/dist/plugin-sdk/qmd-manager-C3uVDbhW.js +1 -0
- package/dist/plugin-sdk/qmd-manager-CW46NrS-.cjs +1 -0
- package/dist/plugin-sdk/qmd-manager-C_e04BNg.js +1 -0
- package/dist/plugin-sdk/qmd-manager-CczVoslK.cjs +1 -0
- package/dist/plugin-sdk/qmd-manager-CzLKqPmR.js +1 -0
- package/dist/plugin-sdk/qmd-manager-DFh8b5N-.cjs +1 -0
- package/dist/plugin-sdk/qmd-manager-DXLfZZMI.js +1 -0
- package/dist/plugin-sdk/qmd-manager-FL9fAfNo.cjs +1 -0
- package/dist/plugin-sdk/qmd-manager-fWxbGqzk.js +1 -0
- package/dist/plugin-sdk/query-expansion-0zYzKrrd.cjs +1 -0
- package/dist/plugin-sdk/query-expansion-BYSjmpkV.cjs +1 -0
- package/dist/plugin-sdk/query-expansion-CAboqtWr.js +1 -0
- package/dist/plugin-sdk/query-expansion-C_DnhmUy.js +1 -0
- package/dist/plugin-sdk/query-expansion-Cb2vnF6y.js +1 -0
- package/dist/plugin-sdk/query-expansion-DCeqywxh.cjs +1 -0
- package/dist/plugin-sdk/query-expansion-DF4LMxRQ.js +1 -0
- package/dist/plugin-sdk/query-expansion-DKJkqmNM.cjs +1 -0
- package/dist/plugin-sdk/query-expansion-DO2CFW4z.cjs +1 -0
- package/dist/plugin-sdk/query-expansion-DyCDaZbL.js +1 -0
- package/dist/plugin-sdk/query-expansion-cpXCyoDy.cjs +1 -0
- package/dist/plugin-sdk/query-expansion-r_iXkNzt.js +1 -0
- package/dist/plugin-sdk/qwen-portal-auth.cjs +1 -0
- package/dist/plugin-sdk/qwen-portal-auth.js +1 -0
- package/dist/plugin-sdk/render-6fCdtAr6.cjs +1 -0
- package/dist/plugin-sdk/render-CBsnn-2A.js +1 -0
- package/dist/plugin-sdk/render-CzHaQB0d.cjs +1 -0
- package/dist/plugin-sdk/render-DGmfCIRG.js +1 -0
- package/dist/plugin-sdk/render-DhTJXP1U.js +1 -0
- package/dist/plugin-sdk/render-Djx15dPh.js +1 -0
- package/dist/plugin-sdk/render-DxBO2Blp.cjs +1 -0
- package/dist/plugin-sdk/render-g5VlmgpF.cjs +1 -0
- package/dist/plugin-sdk/reply-0zCEbT4w.cjs +1 -0
- package/dist/plugin-sdk/reply-D-f2bbXy.js +1 -0
- package/dist/plugin-sdk/resolve-outbound-target-CrQGbaua.js +1 -0
- package/dist/plugin-sdk/resolve-outbound-target-H7Q9HcfW.js +1 -0
- package/dist/plugin-sdk/resolve-outbound-target-MS6Xpp17.cjs +1 -0
- package/dist/plugin-sdk/resolve-outbound-target-cDxjy3TL.cjs +1 -0
- package/dist/plugin-sdk/send-3VNTSIhr.js +1 -0
- package/dist/plugin-sdk/send-61GHLNYP.cjs +1 -0
- package/dist/plugin-sdk/send-6q4owAw0.js +1 -0
- package/dist/plugin-sdk/send-A2s5sPTd.js +1 -0
- package/dist/plugin-sdk/send-B2qa7CSk.js +1 -0
- package/dist/plugin-sdk/send-B3aEYvqG.cjs +1 -0
- package/dist/plugin-sdk/send-BAoqP09M.cjs +1 -0
- package/dist/plugin-sdk/send-BNBJ4CF8.js +1 -0
- package/dist/plugin-sdk/send-BTE2rI1E.js +1 -0
- package/dist/plugin-sdk/send-BlWuQHYB.js +1 -0
- package/dist/plugin-sdk/send-Bnvt7ZUE.cjs +1 -0
- package/dist/plugin-sdk/send-Bq6Mqs9G.cjs +1 -0
- package/dist/plugin-sdk/send-Bq787fi_.js +1 -0
- package/dist/plugin-sdk/send-BrAHLYBR.js +1 -0
- package/dist/plugin-sdk/send-Bt2eFBk2.js +1 -0
- package/dist/plugin-sdk/send-C4ZFbUux.js +1 -0
- package/dist/plugin-sdk/send-C4cyMW4S.cjs +1 -0
- package/dist/plugin-sdk/send-C8f5H4XV.cjs +1 -0
- package/dist/plugin-sdk/send-CDwTrbgT.cjs +1 -0
- package/dist/plugin-sdk/send-CEfs0Fsr.js +1 -0
- package/dist/plugin-sdk/send-CFuJjCNB.cjs +1 -0
- package/dist/plugin-sdk/send-CJGLeSJ8.cjs +1 -0
- package/dist/plugin-sdk/send-CL0W7jLW.js +1 -0
- package/dist/plugin-sdk/send-CLl490Gb.cjs +1 -0
- package/dist/plugin-sdk/send-CQtITZ7k.cjs +1 -0
- package/dist/plugin-sdk/send-CSGh_GVr.cjs +1 -0
- package/dist/plugin-sdk/send-CicLiXB4.js +1 -0
- package/dist/plugin-sdk/send-Cm7bEwx-.cjs +1 -0
- package/dist/plugin-sdk/send-CmO9z2-b.js +1 -0
- package/dist/plugin-sdk/send-Co_Wy2kT.cjs +1 -0
- package/dist/plugin-sdk/send-Cox_iyYB.cjs +1 -0
- package/dist/plugin-sdk/send-CuX4LcJ3.cjs +1 -0
- package/dist/plugin-sdk/send-CxMiTtxI.cjs +1 -0
- package/dist/plugin-sdk/send-CyyzWwDr.js +1 -0
- package/dist/plugin-sdk/send-D-HZnehy.cjs +1 -0
- package/dist/plugin-sdk/send-D-qD7BCb.js +1 -0
- package/dist/plugin-sdk/send-D3imkSlz.cjs +1 -0
- package/dist/plugin-sdk/send-D5UwpCoU.cjs +1 -0
- package/dist/plugin-sdk/send-D75OGJco.js +1 -0
- package/dist/plugin-sdk/send-DB4i1kUy.cjs +1 -0
- package/dist/plugin-sdk/send-DBjzdBda.cjs +1 -0
- package/dist/plugin-sdk/send-DPgRTM8s.js +1 -0
- package/dist/plugin-sdk/send-DPpBLiL4.js +1 -0
- package/dist/plugin-sdk/send-DV_afQnj.cjs +1 -0
- package/dist/plugin-sdk/send-DWuChr46.js +1 -0
- package/dist/plugin-sdk/send-DZ4szmEa.cjs +1 -0
- package/dist/plugin-sdk/send-DZr98eqE.cjs +1 -0
- package/dist/plugin-sdk/send-D_1K0zmx.cjs +1 -0
- package/dist/plugin-sdk/send-DaLB9Lca.js +1 -0
- package/dist/plugin-sdk/send-De4qiprb.js +1 -0
- package/dist/plugin-sdk/send-DeU-T5ps.js +1 -0
- package/dist/plugin-sdk/send-DtjJM0LO.js +1 -0
- package/dist/plugin-sdk/send-DvDCmTQf.js +1 -0
- package/dist/plugin-sdk/send-EvcsiFBC.cjs +1 -0
- package/dist/plugin-sdk/send-GuISe9C82.js +1 -0
- package/dist/plugin-sdk/send-IoGcE0w2.js +1 -0
- package/dist/plugin-sdk/send-JVdUTsN1.cjs +1 -0
- package/dist/plugin-sdk/send-NpNVFRmY.js +1 -0
- package/dist/plugin-sdk/send-XMOZsJcs.js +1 -0
- package/dist/plugin-sdk/send-h--iKoQE.cjs +1 -0
- package/dist/plugin-sdk/session-8BcB905y.cjs +1 -0
- package/dist/plugin-sdk/session-B2oURX5K.js +1 -0
- package/dist/plugin-sdk/session-BJhNqIOi.js +1 -0
- package/dist/plugin-sdk/session-BRgGsw96.cjs +1 -0
- package/dist/plugin-sdk/session-Be_7rXAz.js +1 -0
- package/dist/plugin-sdk/session-C66IXbE-.js +1 -0
- package/dist/plugin-sdk/session-CCYDbcyV.js +1 -0
- package/dist/plugin-sdk/session-CHu3C2m0.cjs +1 -0
- package/dist/plugin-sdk/session-DUlmK2IL.cjs +1 -0
- package/dist/plugin-sdk/session-DxTRZTnu.js +1 -0
- package/dist/plugin-sdk/session-DzhI0nj-.cjs +1 -0
- package/dist/plugin-sdk/session-WRCBgAzG.cjs +1 -0
- package/dist/plugin-sdk/sessions-DxXXAfdI.js +1 -0
- package/dist/plugin-sdk/sessions-Dz5JUL8j.cjs +1 -0
- package/dist/plugin-sdk/signal.cjs +1 -0
- package/dist/plugin-sdk/signal.js +1 -0
- package/dist/plugin-sdk/skill-commands-B4wI8ETo.cjs +1 -0
- package/dist/plugin-sdk/skill-commands-BoTeA376.cjs +1 -0
- package/dist/plugin-sdk/skill-commands-BwrYJu7Z.js +1 -0
- package/dist/plugin-sdk/skill-commands-BzkMuA58.cjs +1 -0
- package/dist/plugin-sdk/skill-commands-CIAf9cWN.cjs +1 -0
- package/dist/plugin-sdk/skill-commands-CKc7JO_c.cjs +1 -0
- package/dist/plugin-sdk/skill-commands-Cvb6oXym.js +1 -0
- package/dist/plugin-sdk/skill-commands-DWDtyCtB.js +1 -0
- package/dist/plugin-sdk/skill-commands-Hmuw0PPK.js +1 -0
- package/dist/plugin-sdk/skill-commands-KyN0FGaC.cjs +1 -0
- package/dist/plugin-sdk/skill-commands-KzwEqk5p.js +1 -0
- package/dist/plugin-sdk/skill-commands-Ny38ZFIC.js +1 -0
- package/dist/plugin-sdk/slack.cjs +1 -0
- package/dist/plugin-sdk/slack.js +1 -0
- package/dist/plugin-sdk/synology-chat.cjs +1 -0
- package/dist/plugin-sdk/synology-chat.js +1 -0
- package/dist/plugin-sdk/tables-BIDWwpX8.js +1 -0
- package/dist/plugin-sdk/tables-Bk8lHaPx.cjs +1 -0
- package/dist/plugin-sdk/tables-BlNIkMV8.js +1 -0
- package/dist/plugin-sdk/tables-Bp0a2WRP.cjs +1 -0
- package/dist/plugin-sdk/tables-BtVUf77b.cjs +1 -0
- package/dist/plugin-sdk/tables-C4j5Bar_.js +1 -0
- package/dist/plugin-sdk/tables-CZGtYzDC.cjs +1 -0
- package/dist/plugin-sdk/tables-CnrHab5d.cjs +1 -0
- package/dist/plugin-sdk/tables-DtslIPYw.js +1 -0
- package/dist/plugin-sdk/tables-NrdtIJGp.cjs +1 -0
- package/dist/plugin-sdk/tables-XYb3T-vE.js +1 -0
- package/dist/plugin-sdk/tables-lbv-0tl3.js +1 -0
- package/dist/plugin-sdk/target-errors-9cdJA1L2.cjs +1 -0
- package/dist/plugin-sdk/target-errors-BEkhKWCq.cjs +1 -0
- package/dist/plugin-sdk/target-errors-BZRN-lPd.js +1 -0
- package/dist/plugin-sdk/target-errors-BrwqillR.cjs +1 -0
- package/dist/plugin-sdk/target-errors-Buo5pfom.js +1 -0
- package/dist/plugin-sdk/target-errors-CFzzcffg.js +1 -0
- package/dist/plugin-sdk/target-errors-DFmK5loi.js +1 -0
- package/dist/plugin-sdk/target-errors-DXqwykNX.js +1 -0
- package/dist/plugin-sdk/target-errors-Dd6CopYF.cjs +1 -0
- package/dist/plugin-sdk/target-errors-DeNJ10ks.cjs +1 -0
- package/dist/plugin-sdk/targets-BSc11Uk8.cjs +1 -0
- package/dist/plugin-sdk/targets-BSkiizml.js +1 -0
- package/dist/plugin-sdk/targets-CBI0xqve.cjs +1 -0
- package/dist/plugin-sdk/targets-CL5fYQi7.js +1 -0
- package/dist/plugin-sdk/targets-CUZWrFrm.cjs +1 -0
- package/dist/plugin-sdk/targets-CVEYTFPQ.js +1 -0
- package/dist/plugin-sdk/targets-Co2R6K14.cjs +1 -0
- package/dist/plugin-sdk/targets-CrkJkzil.js +1 -0
- package/dist/plugin-sdk/targets-D-m7SV9x.cjs +1 -0
- package/dist/plugin-sdk/targets-D8HTxbo4.js +1 -0
- package/dist/plugin-sdk/targets-DcGNB9nk.cjs +1 -0
- package/dist/plugin-sdk/targets-Dn9gDiEw.js +1 -0
- package/dist/plugin-sdk/targets-X28mff4s.cjs +1 -0
- package/dist/plugin-sdk/targets-uycXZ8vQ.js +1 -0
- package/dist/plugin-sdk/telegram.cjs +1 -0
- package/dist/plugin-sdk/telegram.js +1 -0
- package/dist/plugin-sdk/test-utils.cjs +1 -0
- package/dist/plugin-sdk/test-utils.js +1 -0
- package/dist/plugin-sdk/tlon.cjs +1 -0
- package/dist/plugin-sdk/tlon.js +1 -0
- package/dist/plugin-sdk/tokens-AAdZjj0M.js +1 -0
- package/dist/plugin-sdk/tokens-B20KNIDD.js +1 -0
- package/dist/plugin-sdk/tokens-B8ys7Q2e.js +1 -0
- package/dist/plugin-sdk/tokens-BPc1fcZ3.js +1 -0
- package/dist/plugin-sdk/tokens-BqABmXSe.js +1 -0
- package/dist/plugin-sdk/tokens-CXsPDJTr.cjs +1 -0
- package/dist/plugin-sdk/tokens-CnB4dJmp.cjs +1 -0
- package/dist/plugin-sdk/tokens-CytSl1X8.cjs +1 -0
- package/dist/plugin-sdk/tokens-DgPZk2Uu.js +1 -0
- package/dist/plugin-sdk/tokens-Dq2wDF3_.cjs +1 -0
- package/dist/plugin-sdk/tokens-DtrljGtQ.cjs +1 -0
- package/dist/plugin-sdk/tokens-g5KWvWhD.cjs +1 -0
- package/dist/plugin-sdk/twitch.cjs +1 -0
- package/dist/plugin-sdk/twitch.js +1 -0
- package/dist/plugin-sdk/utils-BJtJR72k.js +1 -0
- package/dist/plugin-sdk/utils-PPIvU9qw.cjs +1 -0
- package/dist/plugin-sdk/voice-call.cjs +1 -0
- package/dist/plugin-sdk/voice-call.js +1 -0
- package/dist/plugin-sdk/web-B-QDcVRv.cjs +1 -0
- package/dist/plugin-sdk/web-B2PwjHsu.cjs +1 -0
- package/dist/plugin-sdk/web-BdnQzLgF.js +1 -0
- package/dist/plugin-sdk/web-C9T7tf6w.js +1 -0
- package/dist/plugin-sdk/web-CODD4ksc.cjs +1 -0
- package/dist/plugin-sdk/web-CkdCvvR-.js +1 -0
- package/dist/plugin-sdk/web-_tj8xNZE.js +1 -0
- package/dist/plugin-sdk/web-pcTha_l7.cjs +1 -0
- package/dist/plugin-sdk/weixin.cjs +1 -0
- package/dist/plugin-sdk/weixin.js +1 -0
- package/dist/plugin-sdk/whatsapp-actions-Bhz2j1uz.cjs +1 -0
- package/dist/plugin-sdk/whatsapp-actions-Bm2UyRYg.cjs +1 -0
- package/dist/plugin-sdk/whatsapp-actions-Bolz0jl5.js +1 -0
- package/dist/plugin-sdk/whatsapp-actions-CJ3LDpaG.js +1 -0
- package/dist/plugin-sdk/whatsapp-actions-CL1Gmkb0.js +1 -0
- package/dist/plugin-sdk/whatsapp-actions-D-bZRT7s.js +1 -0
- package/dist/plugin-sdk/whatsapp-actions-DSGTTE8M.cjs +1 -0
- package/dist/plugin-sdk/whatsapp-actions-DjQxgMpW.cjs +1 -0
- package/dist/plugin-sdk/whatsapp-actions-DrPBBi5t.cjs +1 -0
- package/dist/plugin-sdk/whatsapp-actions-DtK657CZ.cjs +1 -0
- package/dist/plugin-sdk/whatsapp-actions-Xwev51_N.js +1 -0
- package/dist/plugin-sdk/whatsapp-actions-m7vLtNAA.js +1 -0
- package/dist/plugin-sdk/whatsapp.cjs +1 -0
- package/dist/plugin-sdk/whatsapp.js +1 -0
- package/dist/plugin-sdk/zalo.cjs +1 -0
- package/dist/plugin-sdk/zalo.js +1 -0
- package/dist/plugin-sdk/zalouser.cjs +1 -0
- package/dist/plugin-sdk/zalouser.js +1 -0
- package/dist/plugins-CYLrFT4h.js +1 -0
- package/dist/plugins-DNlgeTTc.js +1 -0
- package/dist/plugins-cli-BbjMbzJU.js +1 -0
- package/dist/plugins-cli-BiVMAr5T.js +1 -0
- package/dist/polls-BIVz6a4F.js +1 -0
- package/dist/polls-Bh5wc9-6.js +1 -0
- package/dist/polls-C_XSFz3d.js +1 -0
- package/dist/polls-DKJOFSzJ.js +1 -0
- package/dist/ports-B0XdGTfS.js +1 -0
- package/dist/ports-BR0PLRtq.js +1 -0
- package/dist/probe-auth-BMA0yM94.js +1 -0
- package/dist/probe-auth-VI96zmTK.js +1 -0
- package/dist/profile-utils-CWmra1aY.js +1 -0
- package/dist/program-BrAZTwFr.js +1 -0
- package/dist/program-context-B9ydtPje.js +1 -0
- package/dist/program-context-CH9p6anW.js +1 -0
- package/dist/progress-LNttnI-y.js +1 -0
- package/dist/progress-d1m2sqR1.js +1 -0
- package/dist/prompt-select-styled-BeJNbzSa.js +1 -0
- package/dist/prompt-select-styled-DIOWLjl0.js +1 -0
- package/dist/prompt-style-BThRSQJR.js +1 -0
- package/dist/prompt-style-CXKekIBY.js +1 -0
- package/dist/prompts-CMzglboN.js +1 -0
- package/dist/prompts-wv-lfVrJ.js +1 -0
- package/dist/provider-auth-helpers-1lU43eTW.js +1 -0
- package/dist/provider-auth-helpers-pBVCjBj9.js +1 -0
- package/dist/provider-env-vars-D8p6Ohpj.js +1 -0
- package/dist/provider-env-vars-Dt0Q29Su.js +1 -0
- package/dist/proxy-env-BNhTHkd_.js +1 -0
- package/dist/proxy-env-DcmW_urA.js +1 -0
- package/dist/proxy-env-DrC3TIGh.js +1 -0
- package/dist/proxy-env-FJr5nlvs.js +1 -0
- package/dist/proxy-fetch-BADsUK4d.js +1 -0
- package/dist/proxy-fetch-BZ9O8Dvj.js +1 -0
- package/dist/proxy-fetch-DnjU1fEB.js +1 -0
- package/dist/proxy-fetch-gWETR3cl.js +1 -0
- package/dist/push-apns-BGUOmD5M.js +1 -0
- package/dist/push-apns-B_a2MBJ4.js +1 -0
- package/dist/pw-ai-C-Ffkwai.js +1 -0
- package/dist/pw-ai-CV1H1Vrs.js +1 -0
- package/dist/pw-ai-D_MB1lrR.js +1 -0
- package/dist/pw-ai-_l9lVice.js +1 -0
- package/dist/qmd-manager-C_e04BNg.js +1 -0
- package/dist/qmd-manager-DSQ_mDCl.js +1 -0
- package/dist/qmd-manager-DcBYbt_V.js +1 -0
- package/dist/qmd-manager-NLI0R6kp.js +1 -0
- package/dist/qr-cli-3aG6CB6K.js +1 -0
- package/dist/qr-cli-fiJxD5M4.js +1 -0
- package/dist/query-expansion-0OxEb1Io.js +1 -0
- package/dist/query-expansion-BUUx_oWg.js +1 -0
- package/dist/query-expansion-r_iXkNzt.js +1 -0
- package/dist/reaction-level-DVPHL14p.js +1 -0
- package/dist/reaction-message-id-BEEe7X3D.js +1 -0
- package/dist/read-only-account-inspect-DBwAwB3_.js +1 -0
- package/dist/redact-3_CiXMY6.js +1 -0
- package/dist/redact-CnRxK70G.js +1 -0
- package/dist/register.agent-CX78s_X9.js +1 -0
- package/dist/register.agent-DLDKQENq.js +1 -0
- package/dist/register.backup-DkFoTcuT.js +1 -0
- package/dist/register.backup-PzF5rmeU.js +1 -0
- package/dist/register.configure-BA5u9hT3.js +1 -0
- package/dist/register.configure-BhPtf3Qo.js +1 -0
- package/dist/register.maintenance-BhsBepKS.js +1 -0
- package/dist/register.maintenance-r_MzNK3-.js +1 -0
- package/dist/register.message-CTF--Z2a.js +1 -0
- package/dist/register.message-jcZ875be.js +1 -0
- package/dist/register.onboard-C3yL50_c.js +1 -0
- package/dist/register.onboard-CNwnStUk.js +1 -0
- package/dist/register.setup-BRJMzgfU.js +1 -0
- package/dist/register.setup-BvsS-zgm.js +1 -0
- package/dist/register.status-health-sessions-DVc__2pc.js +1 -0
- package/dist/register.status-health-sessions-Dqmkw820.js +1 -0
- package/dist/register.subclis-D-24j83X.js +1 -0
- package/dist/registry-BptzrW8D.js +1 -0
- package/dist/registry-hFAtCSWG.js +1 -0
- package/dist/render-BXEUPIHe.js +1 -0
- package/dist/render-CBsnn-2A.js +1 -0
- package/dist/render-D8OWO2hT.js +1 -0
- package/dist/render-DrrPmnMI.js +1 -0
- package/dist/reply-l-Y47HP4.js +1 -0
- package/dist/restart-CHXEHdSC.js +1 -0
- package/dist/rpc-B3ReBNXG.js +1 -0
- package/dist/rpc-DumDLalJ.js +1 -0
- package/dist/run-main-B_YBE_TN.js +1 -0
- package/dist/runtime-BC5Ep2pJ.js +1 -0
- package/dist/runtime-Dlg2-Omq.js +1 -0
- package/dist/runtime-guard-DFYBaYZS.js +1 -0
- package/dist/runtime-guard-DX2Ie4ri.js +1 -0
- package/dist/runtime-status-CqFBmdRd.js +1 -0
- package/dist/runtime-status-DszMjvJK.js +1 -0
- package/dist/runtime-web-tools-D8fms06-.js +1 -0
- package/dist/runtime-web-tools-bz76ZaRc.js +1 -0
- package/dist/sandbox-cli-BDorUBm-.js +1 -0
- package/dist/sandbox-cli-Bq40R5Vs.js +1 -0
- package/dist/scan-paths-C13EseXp.js +1 -0
- package/dist/scan-paths-CWtvWW40.js +1 -0
- package/dist/search-manager-Bp9x20r6.js +1 -0
- package/dist/secret-file-C7JffiM_.js +1 -0
- package/dist/secret-file-D60EFEOe.js +1 -0
- package/dist/secret-file-DuWm26jS.js +1 -0
- package/dist/secrets-cli-Bo6PC32U.js +1 -0
- package/dist/secrets-cli-CoXJv3Jp.js +1 -0
- package/dist/secure-random-D7JQgiK-.js +1 -0
- package/dist/security-cli-CgZL2KKh.js +1 -0
- package/dist/security-cli-DVOfhwAP.js +1 -0
- package/dist/send-B7sHR38c2.js +1 -0
- package/dist/send-Bx2Qr7VH.js +1 -0
- package/dist/send-C-AP01PR.js +1 -0
- package/dist/send-C1CJ-GHU.js +1 -0
- package/dist/send-C48Y9SAq.js +1 -0
- package/dist/send-CVplsJpw.js +1 -0
- package/dist/send-CW81y5Wz.js +1 -0
- package/dist/send-CYgHok1p.js +1 -0
- package/dist/send-Cgd_VJHR.js +1 -0
- package/dist/send-Chz0YMoJ.js +1 -0
- package/dist/send-D9hVVn7p2.js +1 -0
- package/dist/send-DKrzj_Ts.js +1 -0
- package/dist/send-DRLSCwCk.js +1 -0
- package/dist/send-DavpkzhH.js +1 -0
- package/dist/send-DbeEC2a3.js +1 -0
- package/dist/send-DkiKKUkt.js +1 -0
- package/dist/send-DlfVd5mL.js +1 -0
- package/dist/send-JYgM9Sm-2.js +1 -0
- package/dist/send-hZFDcGLM.js +1 -0
- package/dist/send-vthbs31u.js +1 -0
- package/dist/server-DpyBukwA.js +1 -0
- package/dist/server-IgiSKzXH.js +1 -0
- package/dist/server-node-events-CFSY_-4t.js +1 -0
- package/dist/server-node-events-ZFwmPwQ-.js +1 -0
- package/dist/service-BtB9epJk.js +1 -0
- package/dist/service-DZ9EbS15.js +1 -0
- package/dist/session-C9TDmUS7.js +1 -0
- package/dist/session-CUUGjiV3.js +1 -0
- package/dist/session-DA-i5xQ-.js +1 -0
- package/dist/session-bk3gFwO4.js +1 -0
- package/dist/session-cost-usage-BgqKixv0.js +1 -0
- package/dist/session-cost-usage-CHtVgnE8.js +1 -0
- package/dist/session-key-C7F_iqYg.js +1 -0
- package/dist/session-key-D3P0tf5P.js +1 -0
- package/dist/session-utils-8acNlxwP.js +1 -0
- package/dist/sessions-BsxT0V2m.js +1 -0
- package/dist/shared-9x5sqYRb.js +1 -0
- package/dist/shared-BKWhOp64.js +1 -0
- package/dist/shared-GesXrZzd.js +1 -0
- package/dist/skill-commands-BWW6mc6t.js +1 -0
- package/dist/skill-commands-CSF6wVPU.js +1 -0
- package/dist/skill-commands-Db232ZRp.js +1 -0
- package/dist/skill-commands-HJHHZqt6.js +1 -0
- package/dist/skill-scanner-CUUF3Fvo.js +1 -0
- package/dist/skill-scanner-CkxXNioD.js +1 -0
- package/dist/skills-CKTicUKS.js +1 -0
- package/dist/skills-DHbOKEGc.js +1 -0
- package/dist/skills-cli-9Ls94z5H.js +1 -0
- package/dist/skills-cli-BY7OhJzj.js +1 -0
- package/dist/skills-install-CIdGCXSy.js +1 -0
- package/dist/skills-install-DIdiVt9Y.js +1 -0
- package/dist/skills-status-BWIugRCz.js +1 -0
- package/dist/skills-status-DswSl5aD.js +1 -0
- package/dist/sqlite-CILF3z9U.js +1 -0
- package/dist/stagger-DmFYysrJ.js +1 -0
- package/dist/stagger-DxzgG2jd.js +1 -0
- package/dist/status-C-9fSiMn.js +1 -0
- package/dist/status-CeBGmSAz.js +1 -0
- package/dist/status-DYqPF0rB.js +1 -0
- package/dist/status-JIPeVrsc.js +1 -0
- package/dist/status.update-B_8Gumuc.js +1 -0
- package/dist/status.update-DoSzHu2F.js +1 -0
- package/dist/string-normalization-BrUPaXaM.js +1 -0
- package/dist/string-normalization-DJT5zuUF.js +1 -0
- package/dist/subsystem-BLbY429l.js +1 -0
- package/dist/subsystem-Bc2XrjUz.js +1 -0
- package/dist/subsystem-C5XF2Fy5.js +1 -0
- package/dist/system-cli-CeZfoVPN.js +1 -0
- package/dist/system-cli-DZkTYB9d.js +1 -0
- package/dist/system-run-command-BKfMiqQM.js +1 -0
- package/dist/system-run-command-DEWnZE0r.js +1 -0
- package/dist/systemd-D7odsu4K.js +1 -0
- package/dist/systemd-DbevZh65.js +1 -0
- package/dist/systemd-hints-C0DKDl35.js +1 -0
- package/dist/systemd-hints-lXpMy-kY.js +1 -0
- package/dist/systemd-linger-C2MJD6KG.js +1 -0
- package/dist/systemd-linger-cWKbFNpu.js +1 -0
- package/dist/table-CR7TFMew.js +1 -0
- package/dist/table-CY440fI1.js +1 -0
- package/dist/tables-Brc2lNcB.js +1 -0
- package/dist/tables-CrXdLc_6.js +1 -0
- package/dist/tables-Oieq7UbT.js +1 -0
- package/dist/tables-btcG3yFT.js +1 -0
- package/dist/target-errors-CRlevJJ5.js +1 -0
- package/dist/target-errors-CgWAJOam.js +1 -0
- package/dist/target-errors-CpKXh2RS.js +1 -0
- package/dist/target-errors-a35Md15n.js +1 -0
- package/dist/targets-4EaxWBal.js +1 -0
- package/dist/targets-BJTo7bqu.js +1 -0
- package/dist/targets-BYVMrXDf.js +1 -0
- package/dist/targets-Bq6rS6-Z.js +1 -0
- package/dist/targets-CL5fYQi7.js +1 -0
- package/dist/targets-fozeWOOg.js +1 -0
- package/dist/targets-m_41k_Mv.js +1 -0
- package/dist/telegram/audit.js +1 -0
- package/dist/text-format-CvrvBBre.js +1 -0
- package/dist/text-format-DEWK6oCT.js +1 -0
- package/dist/token-DnTmiyJu.js +1 -0
- package/dist/tokens-B2fq-rL6.js +1 -0
- package/dist/tokens-CL2fSjGl.js +1 -0
- package/dist/tokens-DRM8vzJx.js +1 -0
- package/dist/tokens-XGbQGn67.js +1 -0
- package/dist/tool-display-DJDtttQg.js +1 -0
- package/dist/tool-display-DjuSUUbH.js +1 -0
- package/dist/tui-B506apla.js +1 -0
- package/dist/tui-CJUkUxHb.js +1 -0
- package/dist/tui-cli-BEdGHmhc.js +1 -0
- package/dist/tui-cli-Cq_eXDAV.js +1 -0
- package/dist/types.secrets-C-5U96pc.js +1 -0
- package/dist/types.secrets-D4tbc3Wq.js +1 -0
- package/dist/update-BGrxUIyz.js +1 -0
- package/dist/update-CwTy5DPl.js +1 -0
- package/dist/update-cli-BwBMOeP0.js +1 -0
- package/dist/update-cli-YrBbmw4f.js +1 -0
- package/dist/update-runner-BvtyRBD2.js +1 -0
- package/dist/update-runner-DYamgo1V.js +1 -0
- package/dist/usage-format-BWD8FJFL.js +1 -0
- package/dist/usage-format-yPwal8Iz.js +1 -0
- package/dist/utils-CGdo13HV.js +1 -0
- package/dist/utils-D3t-vPka.js +1 -0
- package/dist/utils-R-mFyVJi.js +1 -0
- package/dist/utils-UGOV_184.js +1 -0
- package/dist/version-q3SkUw2K.js +1 -0
- package/dist/warning-filter.js +1 -0
- package/dist/web-Cq3xWCaD.js +1 -0
- package/dist/web-DwcxsgH0.js +1 -0
- package/dist/webhooks-cli-CIeyainW.js +1 -0
- package/dist/webhooks-cli-DSNAve_D.js +1 -0
- package/dist/whatsapp-actions-B6gt1KeB.js +1 -0
- package/dist/whatsapp-actions-DACoH7qd.js +1 -0
- package/dist/whatsapp-actions-iQhIeMya.js +1 -0
- package/dist/whatsapp-actions-tmjID75a.js +1 -0
- package/dist/widearea-dns-BDx7vkV2.js +1 -0
- package/dist/widearea-dns-BFjqKXu_.js +1 -0
- package/dist/windows-spawn-7oINn5ao.js +1 -0
- package/dist/windows-spawn-AB7ItGAE.js +1 -0
- package/dist/with-timeout-WveKxvFV.js +1 -0
- package/dist/with-timeout-c1CzdShT.js +1 -0
- package/dist/workspace-B0ZQeHXg.js +1 -0
- package/dist/workspace-C45T1Cxg.js +1 -0
- package/dist/workspace-dirs-A8Vib9_B.js +1 -0
- package/dist/workspace-dirs-BhF1Dzxt.js +1 -0
- package/dist/workspace-xNEpaJvu.js +1 -0
- package/dist/wsl-DHxB2Ew_.js +1 -0
- package/dist/wsl-Ok7GaSJ6.js +1 -0
- 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/@grammyjs/types/package.json +1 -1
- package/node_modules/@line/bot-sdk/dist/channel-access-token/api/channelAccessTokenClient.js +49 -3
- package/node_modules/@line/bot-sdk/dist/cjs/channel-access-token/api/channelAccessTokenClient.js +49 -3
- package/node_modules/@line/bot-sdk/dist/cjs/client.js +636 -0
- package/node_modules/@line/bot-sdk/dist/cjs/endpoints.js +7 -0
- package/node_modules/@line/bot-sdk/dist/cjs/exceptions.js +15 -1
- package/node_modules/@line/bot-sdk/dist/cjs/http-axios.js +2 -6
- package/node_modules/@line/bot-sdk/dist/cjs/http-fetch.js +5 -13
- package/node_modules/@line/bot-sdk/dist/cjs/index.js +3 -1
- package/node_modules/@line/bot-sdk/dist/cjs/insight/api/insightClient.js +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/liff/api/liffClient.js +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/line-bot-client.factory.generated.js +66 -0
- package/node_modules/@line/bot-sdk/dist/cjs/line-bot-client.generated.js +1999 -0
- package/node_modules/@line/bot-sdk/dist/cjs/line-bot-client.js +61 -0
- package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/api/manageAudienceBlobClient.js +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/manage-audience/api/manageAudienceClient.js +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/api/messagingApiBlobClient.js +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/messaging-api/api/messagingApiClient.js +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/module/api/lineModuleClient.js +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/module-attach/api/lineModuleAttachClient.js +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/shop/api/shopClient.js +3 -0
- package/node_modules/@line/bot-sdk/dist/cjs/utils.js +10 -0
- package/node_modules/@line/bot-sdk/dist/cjs/version.js +1 -1
- package/node_modules/@line/bot-sdk/dist/client.js +636 -0
- package/node_modules/@line/bot-sdk/dist/endpoints.js +7 -0
- package/node_modules/@line/bot-sdk/dist/exceptions.js +15 -1
- package/node_modules/@line/bot-sdk/dist/http-axios.js +2 -6
- package/node_modules/@line/bot-sdk/dist/http-fetch.js +5 -13
- package/node_modules/@line/bot-sdk/dist/index.js +1 -0
- package/node_modules/@line/bot-sdk/dist/insight/api/insightClient.js +3 -0
- package/node_modules/@line/bot-sdk/dist/liff/api/liffClient.js +3 -0
- package/node_modules/@line/bot-sdk/dist/line-bot-client.factory.generated.js +63 -0
- package/node_modules/@line/bot-sdk/dist/line-bot-client.generated.js +1995 -0
- package/node_modules/@line/bot-sdk/dist/line-bot-client.js +58 -0
- package/node_modules/@line/bot-sdk/dist/manage-audience/api/manageAudienceBlobClient.js +3 -0
- package/node_modules/@line/bot-sdk/dist/manage-audience/api/manageAudienceClient.js +3 -0
- package/node_modules/@line/bot-sdk/dist/messaging-api/api/messagingApiBlobClient.js +3 -0
- package/node_modules/@line/bot-sdk/dist/messaging-api/api/messagingApiClient.js +3 -0
- package/node_modules/@line/bot-sdk/dist/module/api/lineModuleClient.js +3 -0
- package/node_modules/@line/bot-sdk/dist/module-attach/api/lineModuleAttachClient.js +3 -0
- package/node_modules/@line/bot-sdk/dist/shop/api/shopClient.js +3 -0
- package/node_modules/@line/bot-sdk/dist/utils.js +9 -0
- package/node_modules/@line/bot-sdk/dist/version.js +1 -1
- package/node_modules/@line/bot-sdk/package.json +10 -7
- package/node_modules/@mariozechner/clipboard-linux-x64-gnu/clipboard.linux-x64-gnu.node +0 -0
- package/node_modules/@mariozechner/clipboard-linux-x64-gnu/package.json +25 -0
- package/node_modules/@mariozechner/clipboard-linux-x64-musl/clipboard.linux-x64-musl.node +0 -0
- package/node_modules/@mariozechner/clipboard-linux-x64-musl/package.json +25 -0
- package/node_modules/@slack/bolt/dist/App.js +22 -30
- package/node_modules/@slack/bolt/dist/Assistant.js +21 -37
- package/node_modules/@slack/bolt/dist/CustomFunction.js +1 -43
- package/node_modules/@slack/bolt/dist/context/create-function-complete.js +23 -0
- package/node_modules/@slack/bolt/dist/context/create-function-fail.js +23 -0
- package/node_modules/@slack/bolt/dist/context/create-respond.js +11 -0
- package/node_modules/@slack/bolt/dist/context/create-say-stream.js +16 -0
- package/node_modules/@slack/bolt/dist/context/create-say.js +17 -0
- package/node_modules/@slack/bolt/dist/context/create-set-status.js +21 -0
- package/node_modules/@slack/bolt/dist/context/index.js +16 -0
- package/node_modules/@slack/bolt/dist/helpers.js +79 -3
- package/node_modules/@slack/bolt/dist/index.js +10 -8
- package/node_modules/@slack/bolt/dist/receivers/SocketModeReceiver.js +5 -1
- package/node_modules/@slack/bolt/dist/types/events/index.js +0 -4
- package/node_modules/@slack/bolt/package.json +7 -7
- package/node_modules/@smithy/config-resolver/package.json +10 -11
- package/node_modules/@smithy/core/dist-cjs/getSmithyContext.js +6 -0
- package/node_modules/@smithy/core/dist-cjs/index.js +1 -1
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.js +21 -0
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/getHttpAuthSchemePlugin.js +21 -0
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/httpAuthSchemeMiddleware.js +46 -0
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/index.js +6 -0
- package/node_modules/@smithy/core/dist-cjs/middleware-http-auth-scheme/resolveAuthOptions.js +24 -0
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/getHttpSigningMiddleware.js +19 -0
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/httpSigningMiddleware.js +27 -0
- package/node_modules/@smithy/core/dist-cjs/middleware-http-signing/index.js +5 -0
- package/node_modules/@smithy/core/dist-cjs/normalizeProvider.js +10 -0
- package/node_modules/@smithy/core/dist-cjs/pagination/createPaginator.js +44 -0
- package/node_modules/@smithy/core/dist-cjs/request-builder/requestBuilder.js +5 -0
- package/node_modules/@smithy/core/dist-cjs/setFeature.js +14 -0
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/DefaultIdentityProviderConfig.js +17 -0
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js +38 -0
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.js +15 -0
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/index.js +6 -0
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/httpAuthSchemes/noAuth.js +9 -0
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/index.js +6 -0
- package/node_modules/@smithy/core/dist-cjs/util-identity-and-auth/memoizeIdentityProvider.js +61 -0
- package/node_modules/@smithy/core/package.json +15 -16
- package/node_modules/@smithy/credential-provider-imds/package.json +9 -10
- package/node_modules/@smithy/eventstream-codec/dist-cjs/index.js +13 -0
- package/node_modules/@smithy/eventstream-codec/package.json +6 -7
- package/node_modules/@smithy/eventstream-serde-browser/package.json +7 -8
- package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +7 -8
- package/node_modules/@smithy/eventstream-serde-node/package.json +7 -8
- package/node_modules/@smithy/eventstream-serde-universal/package.json +9 -10
- package/node_modules/@smithy/fetch-http-handler/package.json +12 -13
- package/node_modules/@smithy/hash-node/package.json +6 -7
- package/node_modules/@smithy/invalid-dependency/package.json +6 -7
- package/node_modules/@smithy/middleware-content-length/package.json +7 -8
- package/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js +2 -2
- package/node_modules/@smithy/middleware-endpoint/package.json +13 -14
- package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +70 -29
- package/node_modules/@smithy/middleware-retry/dist-es/index.js +5 -4
- package/node_modules/@smithy/middleware-retry/dist-es/longPollMiddleware.js +15 -0
- package/node_modules/@smithy/middleware-retry/dist-es/parseRetryAfterHeader.js +49 -0
- package/node_modules/@smithy/middleware-retry/dist-es/{StandardRetryStrategy.js → retry-pre-sra-deprecated/StandardRetryStrategy.js} +1 -1
- package/node_modules/@smithy/middleware-retry/dist-es/retryMiddleware.js +13 -20
- package/node_modules/@smithy/middleware-retry/package.json +16 -16
- package/node_modules/@smithy/middleware-serde/package.json +10 -11
- package/node_modules/@smithy/middleware-stack/package.json +7 -8
- package/node_modules/@smithy/node-config-provider/package.json +8 -9
- package/node_modules/@smithy/node-http-handler/package.json +10 -11
- package/node_modules/@smithy/property-provider/package.json +6 -7
- package/node_modules/@smithy/protocol-http/package.json +6 -7
- package/node_modules/@smithy/querystring-builder/package.json +6 -7
- package/node_modules/@smithy/querystring-parser/package.json +6 -7
- package/node_modules/@smithy/service-error-classification/package.json +6 -7
- package/node_modules/@smithy/shared-ini-file-loader/package.json +7 -8
- package/node_modules/@smithy/signature-v4/dist-cjs/index.js +13 -0
- package/node_modules/@smithy/signature-v4/package.json +9 -10
- package/node_modules/@smithy/smithy-client/dist-cjs/index.js +1 -1
- package/node_modules/@smithy/smithy-client/package.json +14 -15
- package/node_modules/@smithy/types/package.json +7 -8
- package/node_modules/@smithy/url-parser/package.json +7 -8
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +8 -9
- package/node_modules/@smithy/util-defaults-mode-node/package.json +11 -12
- package/node_modules/@smithy/util-endpoints/package.json +9 -10
- package/node_modules/@smithy/util-middleware/package.json +6 -7
- package/node_modules/@smithy/util-retry/dist-cjs/index.js +123 -76
- package/node_modules/@smithy/util-retry/dist-es/AdaptiveRetryStrategy.js +7 -4
- package/node_modules/@smithy/util-retry/dist-es/ConfiguredRetryStrategy.js +2 -2
- package/node_modules/@smithy/util-retry/dist-es/DefaultRateLimiter.js +24 -25
- package/node_modules/@smithy/util-retry/dist-es/DefaultRetryBackoffStrategy.js +14 -0
- package/node_modules/@smithy/util-retry/dist-es/DefaultRetryToken.js +25 -0
- package/node_modules/@smithy/util-retry/dist-es/StandardRetryStrategy.js +39 -26
- package/node_modules/@smithy/util-retry/dist-es/index.js +1 -0
- package/node_modules/@smithy/util-retry/dist-es/retries-2026-config.js +18 -0
- package/node_modules/@smithy/util-retry/package.json +10 -11
- package/node_modules/@smithy/util-stream/package.json +12 -13
- package/node_modules/@snazzah/davey-linux-x64-gnu/davey.linux-x64-gnu.node +0 -0
- package/node_modules/@snazzah/davey-linux-x64-gnu/package.json +43 -0
- package/node_modules/@snazzah/davey-linux-x64-musl/davey.linux-x64-musl.node +0 -0
- package/node_modules/@snazzah/davey-linux-x64-musl/package.json +43 -0
- package/node_modules/dotenv/lib/main.js +1 -1
- package/node_modules/dotenv/package.json +1 -1
- package/node_modules/dotenv/skills/dotenv/SKILL.md +32 -52
- package/node_modules/dotenv/skills/dotenvx/SKILL.md +57 -273
- package/node_modules/grammy/out/bot.js +1 -0
- package/node_modules/grammy/out/context.js +35 -0
- package/node_modules/grammy/out/convenience/keyboard.js +30 -2
- package/node_modules/grammy/out/core/api.js +34 -0
- package/node_modules/grammy/out/filter.js +6 -2
- package/node_modules/grammy/out/web.mjs +58 -10
- package/node_modules/grammy/package.json +2 -2
- package/node_modules/lru-cache/dist/commonjs/diagnostics-channel.js +12 -0
- package/node_modules/lru-cache/dist/commonjs/index.js +227 -130
- package/node_modules/lru-cache/dist/commonjs/index.min.js +1 -1
- package/node_modules/lru-cache/dist/esm/diagnostics-channel-esm.d.mts.map +1 -0
- package/node_modules/lru-cache/dist/esm/diagnostics-channel.js +17 -0
- package/node_modules/lru-cache/dist/esm/index.js +227 -130
- package/node_modules/lru-cache/dist/esm/index.min.js +1 -1
- package/node_modules/lru-cache/dist/esm/node/diagnostics-channel-node.d.mts.map +1 -0
- package/node_modules/lru-cache/dist/esm/node/diagnostics-channel.js +8 -0
- package/node_modules/lru-cache/dist/esm/node/index.js +1688 -0
- package/node_modules/lru-cache/dist/esm/node/index.min.js +2 -0
- package/node_modules/lru-cache/package.json +29 -9
- package/node_modules/netmask/dist/netmask.js +58 -0
- package/node_modules/netmask/dist/netmask4.js +189 -0
- package/node_modules/netmask/dist/netmask6.js +187 -0
- package/node_modules/netmask/package.json +15 -6
- package/node_modules/path-expression-matcher/lib/pem.cjs +1 -1
- package/node_modules/path-expression-matcher/lib/pem.d.cts +93 -0
- package/node_modules/path-expression-matcher/lib/pem.min.js +1 -1
- package/node_modules/path-expression-matcher/package.json +1 -1
- package/node_modules/path-expression-matcher/src/ExpressionSet.js +189 -0
- package/node_modules/path-expression-matcher/src/Matcher.js +50 -20
- package/node_modules/path-expression-matcher/src/index.js +3 -2
- package/node_modules/strnum/package.json +1 -1
- package/package.json +1 -1
- package/preset-config.json +12 -0
- package/node_modules/@smithy/util-retry/dist-es/defaultRetryBackoffStrategy.js +0 -14
- package/node_modules/@smithy/util-retry/dist-es/defaultRetryToken.js +0 -11
- package/node_modules/netmask/CREDITS.md +0 -30
- package/node_modules/netmask/lib/netmask.coffee +0 -167
- package/node_modules/netmask/lib/netmask.js +0 -208
- package/node_modules/strnum/.github/SECURITY.md +0 -5
- package/node_modules/strnum/.vscode/launch.json +0 -25
- package/node_modules/strnum/algo.stflow +0 -84
- package/skills/sherpa-onnx-tts/bin/sherpa-onnx-tts +0 -178
- /package/node_modules/@smithy/middleware-retry/dist-es/{AdaptiveRetryStrategy.js → retry-pre-sra-deprecated/AdaptiveRetryStrategy.js} +0 -0
- /package/node_modules/@smithy/middleware-retry/dist-es/{defaultRetryQuota.js → retry-pre-sra-deprecated/defaultRetryQuota.js} +0 -0
- /package/node_modules/@smithy/middleware-retry/dist-es/{delayDecider.js → retry-pre-sra-deprecated/delayDecider.js} +0 -0
- /package/node_modules/@smithy/middleware-retry/dist-es/{retryDecider.js → retry-pre-sra-deprecated/retryDecider.js} +0 -0
- /package/node_modules/@smithy/middleware-retry/dist-es/{types.js → retry-pre-sra-deprecated/types.js} +0 -0
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import{Type as e}from"@sinclair/typebox";function t(){return{label:`WhatsApp Login`,name:`whatsapp_login`,ownerOnly:!0,description:`Generate a WhatsApp QR code for linking, or wait for the scan to complete.`,parameters:e.Object({action:e.Unsafe({type:`string`,enum:[`start`,`wait`]}),timeoutMs:e.Optional(e.Number()),force:e.Optional(e.Boolean())}),execute:async(e,t)=>{let{startWebLoginWithQr:n,waitForWebLogin:r}=await import(`../../../login-qr-CiENvgog.js`);if((t?.action??`start`)===`wait`){let e=await r({timeoutMs:typeof t.timeoutMs==`number`?t.timeoutMs:void 0});return{content:[{type:`text`,text:e.message}],details:{connected:e.connected}}}let i=await n({timeoutMs:typeof t.timeoutMs==`number`?t.timeoutMs:void 0,force:typeof t.force==`boolean`?t.force:!1});return i.qrDataUrl?{content:[{type:`text`,text:[i.message,``,`Open WhatsApp → Linked Devices and scan:`,``,``].join(`
|
|
2
2
|
`)}],details:{qr:!0}}:{content:[{type:`text`,text:i.message}],details:{qr:!1}}}}}export{t as createWhatsAppLoginTool};
|
|
3
|
+
//# sourceMappingURL=whatsapp-login.js.map
|
|
@@ -7,3 +7,4 @@ import{A as e,N as t,p as n,v as r,w as i}from"./subsystem-BLbY429l.js";import".
|
|
|
7
7
|
`);return i>0&&(s=s.slice(1)),s.length&&s[s.length-1]===``&&(s=s.slice(0,-1)),s.length>t&&(s=s.slice(s.length-t)),s}finally{await a.close()}}async function We(r,i=n){let a=Ve(r.channel),o=typeof r.lines==`string`?Number(r.lines):r.lines,s=typeof o==`number`&&Number.isFinite(o)&&o>0?Math.floor(o):200,c=t().file,l=(await Ue(c,s*4)).map(de).filter(e=>!!e).filter(e=>He(e,a)),u=l.slice(Math.max(0,l.length-s));if(r.json){i.log(JSON.stringify({file:c,channel:a,lines:u},null,2));return}if(i.log(e.info(`Log file: ${c}`)),a!==`all`&&i.log(e.info(`Channel: ${a}`)),u.length===0){i.log(e.muted(`No matching log lines.`));return}for(let e of u){let t=e.time?`${e.time} `:``,n=e.level?`${e.level.toLowerCase()} `:``;i.log(`${t}${n}${e.message}`.trim())}}function Ge(e,t){let n=y(t);return n?n.config.listAccountIds(e):[]}async function Ke(e,t=n,r){let i=await H(t);if(!i)return;let o=G(r),s=o?I():null,c=v(e.channel),l=m(e.account),u=!!e.delete;if(o&&s){await s.intro(`Remove channel account`);let e=await s.select({message:`Channel`,options:_().map(e=>({value:e.id,label:e.meta.label}))});if(c=e,l=await(async()=>{let t=Ge(i,e);return m(await s.select({message:`Account`,options:t.map(e=>({value:e,label:e===`default`?`default (primary)`:e})),initialValue:t[0]??`default`}))})(),!await s.confirm({message:`Disable ${U(e)} account "${l}"? (keeps config)`,initialValue:!0})){await s.outro(`Cancelled.`);return}}else{if(!c){t.error(`Channel is required. Use --channel <name>.`),t.exit(1);return}if(!u&&!await I().confirm({message:`Disable ${U(c)} account "${l}"? (keeps config)`,initialValue:!0}))return}let d=y(c);if(!d){t.error(`Unknown channel: ${c}`),t.exit(1);return}let f=m(l)??g({plugin:d,cfg:i}),p=f||`default`,h={...i};if(u){if(!d.config.deleteAccount){t.error(`Channel ${c} does not support delete.`),t.exit(1);return}h=d.config.deleteAccount({cfg:h,accountId:f}),c===`telegram`&&await w({accountId:f})}else{if(!d.config.setAccountEnabled){t.error(`Channel ${c} does not support disable.`),t.exit(1);return}h=d.config.setAccountEnabled({cfg:h,accountId:f,enabled:!1})}await a(h),o&&s?await s.outro(u?`Deleted ${U(c)} account "${p}".`:`Disabled ${U(c)} account "${p}".`):t.log(u?`Deleted ${U(c)} account "${p}".`:`Disabled ${U(c)} account "${p}".`)}function qe(e){if(!(!e||e===`auto`))return e===`user`?`user`:`group`}function Je(e){let t=e.trim();return t&&(t.startsWith(`@`)||/^<@!?/.test(t)||/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t)||/^(user|discord|slack|matrix|msteams|teams|zalo|zalouser|googlechat|google-chat|gchat):/i.test(t))?`user`:`group`}function Ye(e){if(!e.resolved||!e.id)return`${e.input} -> unresolved`;let t=e.name?` (${e.name})`:``,n=e.note?` [${e.note}]`:``;return`${e.input} -> ${e.id}${t}${n}`}async function Xe(e,t){let{resolvedConfig:n,diagnostics:i}=await j({config:c(),commandName:`channels resolve`,targetIds:A(),mode:`operational_readonly`});for(let e of i)t.log(`[secrets] ${e}`);let a=(e.entries??[]).map(e=>e.trim()).filter(Boolean);if(a.length===0)throw Error(`At least one entry is required.`);let o=await k({cfg:n,channel:e.channel??null}),s=y(o.channel);if(!s?.resolver?.resolveTargets)throw Error(`Channel ${o.channel} does not support resolve.`);let l=qe(e.kind),u=[];if(l)u=(await s.resolver.resolveTargets({cfg:n,accountId:e.account??null,inputs:a,kind:l,runtime:t})).map(e=>({input:e.input,resolved:e.resolved,id:e.id,name:e.name,note:e.note}));else{let r=new Map;for(let e of a){let t=Je(e);r.set(t,[...r.get(t)??[],e])}let i=[];for(let[a,o]of r.entries()){let r=await s.resolver.resolveTargets({cfg:n,accountId:e.account??null,inputs:o,kind:a,runtime:t});i.push(...r)}let o=new Map(i.map(e=>[e.input,e]));u=a.map(e=>{let t=o.get(e);return{input:e,resolved:t?.resolved??!1,id:t?.id,name:t?.name,note:t?.note}})}if(e.json){t.log(JSON.stringify(u,null,2));return}for(let e of u)e.resolved&&e.id?t.log(Ye(e)):t.error(r(`${e.input} -> unresolved${e.error?` (${e.error})`:e.note?` (${e.note})`:``}`))}function Z(e,t){typeof t.enabled==`boolean`&&e.push(t.enabled?`enabled`:`disabled`),typeof t.configured==`boolean`&&(t.configured?(e.push(`configured`),D(t)&&e.push(`secret unavailable in this command path`)):e.push(`not configured`)),typeof t.linked==`boolean`&&e.push(t.linked?`linked`:`not linked`)}function Ze(e,t){typeof t.mode==`string`&&t.mode.length>0&&e.push(`mode:${t.mode}`)}function Qe(e,t){let n=(n,r,i)=>{let a=t[r];if(typeof a!=`string`||!a||a===`none`)return;let o=t[i]===`configured_unavailable`?` (unavailable)`:``;e.push(`${n}:${a}${o}`)};n(`token`,`tokenSource`,`tokenStatus`),n(`bot`,`botTokenSource`,`botTokenStatus`),n(`app`,`appTokenSource`,`appTokenStatus`),n(`signing`,`signingSecretSource`,`signingSecretStatus`)}function $e(e,t){typeof t.baseUrl==`string`&&t.baseUrl&&e.push(`url:${t.baseUrl}`)}function et(e,t,n){return`- ${W({channel:e,accountId:typeof t.accountId==`string`?t.accountId:`default`,name:(typeof t.name==`string`?t.name.trim():``)||void 0})}: ${n.join(`, `)}`}function tt(t){let n=[];n.push(e.success(`Gateway reachable.`));let r=(e,t)=>t.map(t=>{let n=[];Z(n,t),typeof t.running==`boolean`&&n.push(t.running?`running`:`stopped`),typeof t.connected==`boolean`&&n.push(t.connected?`connected`:`disconnected`);let r=typeof t.lastInboundAt==`number`&&Number.isFinite(t.lastInboundAt)?t.lastInboundAt:null,i=typeof t.lastOutboundAt==`number`&&Number.isFinite(t.lastOutboundAt)?t.lastOutboundAt:null;r&&n.push(`in:${O(Date.now()-r)}`),i&&n.push(`out:${O(Date.now()-i)}`),Ze(n,t);let a=(()=>{let e=t.bot,n=t.probe?.bot,r=e?.username??n?.username??``;if(typeof r!=`string`)return``;let i=r.trim();return i?i.startsWith(`@`)?i:`@${i}`:``})();a&&n.push(`bot:${a}`),typeof t.dmPolicy==`string`&&t.dmPolicy.length>0&&n.push(`dm:${t.dmPolicy}`),Array.isArray(t.allowFrom)&&t.allowFrom.length>0&&n.push(`allow:${t.allowFrom.slice(0,2).join(`,`)}`),Qe(n,t);let o=t.application?.intents?.messageContent;typeof o==`string`&&o.length>0&&o!==`enabled`&&n.push(`intents:content=${o}`),t.allowUnmentionedGroups===!0&&n.push(`groups:unmentioned`),$e(n,t);let s=t.probe;s&&typeof s.ok==`boolean`&&n.push(s.ok?`works`:`probe failed`);let c=t.audit;return c&&typeof c.ok==`boolean`&&n.push(c.ok?`audit ok`:`audit failed`),typeof t.lastError==`string`&&t.lastError&&n.push(`error:${t.lastError}`),et(e,t,n)}),i=_(),a=t.channelAccounts,o={};for(let e of i){let t=a?.[e.id];Array.isArray(t)&&(o[e.id]=t)}for(let e of i){let t=o[e.id];t&&t.length>0&&n.push(...r(e.id,t))}n.push(``);let s=fe(t);if(s.length>0){n.push(e.warn(`Warnings:`));for(let e of s)n.push(`- ${e.channel} ${e.accountId}: ${e.message}${e.fix?` (${e.fix})`:``}`);n.push(`- Run: ${d(`openclaw doctor`)}`),n.push(``)}return n.push(`Tip: ${M(`/cli#status`,`status --deep`)} adds gateway health probes to status output (requires a reachable gateway).`),n}async function nt(t,n,r){let i=[];i.push(e.warn(`Gateway not reachable; showing config-only status.`)),n.path&&i.push(`Config: ${n.path}`),n.mode&&i.push(`Mode: ${n.mode}`),(n.path||n.mode)&&i.push(``);let a=(e,t)=>t.map(t=>{let n=[];return Z(n,t),Ze(n,t),Qe(n,t),$e(n,t),et(e,t,n)}),o=_(),s=r?.sourceConfig??t;for(let e of o){let n=e.config.listAccountIds(t);if(!n.length)continue;let r=[];for(let i of n){let n=await ue({plugin:e,cfg:s,accountId:i}),a=await z({plugin:e,cfg:t,accountId:i});r.push(n&&D(n)&&(!te(a)||n.configured===!0&&a.configured===!1)?n:a)}r.length>0&&i.push(...a(e.id,r))}return i.push(``),i.push(`Tip: ${M(`/cli#status`,`status --deep`)} adds gateway health probes to status output (requires a reachable gateway).`),i}async function rt(e,t=n){let r=Number(e.timeout??1e4),i=e.probe?`Checking channel status (probe)…`:`Checking channel status…`;e.json!==!0&&!process.stderr.isTTY&&t.log(i);try{let n=await P({label:i,indeterminate:!0,enabled:e.json!==!0},async()=>await E({method:`channels.status`,params:{probe:!!e.probe,timeoutMs:r},timeoutMs:r}));if(e.json){t.log(JSON.stringify(n,null,2));return}t.log(tt(n).join(`
|
|
8
8
|
`))}catch(e){t.error(`Gateway not reachable: ${String(e)}`);let n=await R(t);if(!n)return;let{resolvedConfig:r,diagnostics:i}=await j({config:n,commandName:`channels status`,targetIds:A(),mode:`summary`});for(let e of i)t.log(`[secrets] ${e}`);let a=await s(),o=n.gateway?.mode===`remote`?`remote`:`local`;t.log((await nt(r,{path:a.path,mode:o},{sourceConfig:n})).join(`
|
|
9
9
|
`))}}async function it(e,t,n){let r=e.channel?.trim()||(await k({cfg:n})).channel,i=v(r);if(!i)throw Error(`Unsupported channel: ${r}`);let a=y(i);if(!(t===`login`?a?.auth?.login:a?.gateway?.logoutAccount))throw Error(`Channel ${i} does not support ${t}`);return{channelInput:r,channelId:i,plugin:a}}function at(e,t,n){return{accountId:t.account?.trim()||g({plugin:e,cfg:n})}}async function ot(e,t=n){let r=c(),{channelInput:a,plugin:o}=await it(e,`login`,r),s=o.auth?.login;if(!s)throw Error(`Channel ${a} does not support login`);i(!!e.verbose);let{accountId:l}=at(o,e,r);await s({cfg:r,accountId:l,runtime:t,verbose:!!e.verbose,channelInput:a})}async function st(e,t=n){let r=c(),{channelInput:i,channelId:a,plugin:o}=await it(e,`logout`,r),s=o.gateway?.logoutAccount;if(!s)throw Error(`Channel ${i} does not support logout`);let{accountId:d}=at(o,e,r);try{await E({method:`channels.logout`,params:{channel:a,accountId:d},timeoutMs:15e3,clientName:u.CLI,mode:l.CLI});return}catch{}await s({cfg:r,accountId:d,account:o.config.resolveAccount(r,d),runtime:t})}const ct=`channel.account.name.token.tokenFile.botToken.appToken.signalNumber.cliPath.dbPath.service.region.authDir.httpUrl.httpHost.httpPort.webhookPath.webhookUrl.audienceType.audience.useEnv.homeserver.userId.accessToken.password.deviceName.initialSyncLimit.ship.url.code.groupChannels.dmAllowlist.autoDiscoverChannels`.split(`.`),lt=[`channel`,`account`,`delete`];function Q(e){return N(n,e)}function $(e,t){return N(n,e,e=>{n.error(r(`${t}: ${String(e)}`)),n.exit(1)})}function ut(t){let r=B(),i=t.command(`channels`).description(`Manage connected chat channels and accounts`).addHelpText(`after`,()=>`\n${e.heading(`Examples:`)}\n${re([[`openclaw channels list`,`List configured channels and auth profiles.`],[`openclaw channels status --probe`,`Run channel status checks and probes.`],[`openclaw channels add --channel telegram --token <token>`,`Add or update a channel account non-interactively.`],[`openclaw channels login --channel whatsapp`,`Link a WhatsApp Web account.`]])}\n\n${e.muted(`Docs:`)} ${M(`/cli/channels`,`docs.openclaw.ai/cli/channels`)}\n`);i.command(`list`).description(`List configured channels + auth profiles`).option(`--no-usage`,`Skip model provider usage/quota snapshots`).option(`--json`,`Output JSON`,!1).action(async e=>{await Q(async()=>{await ze(e,n)})}),i.command(`status`).description(`Show gateway channel status (use status --deep for local)`).option(`--probe`,`Probe channel credentials`,!1).option(`--timeout <ms>`,`Timeout in ms`,`10000`).option(`--json`,`Output JSON`,!1).action(async e=>{await Q(async()=>{await rt(e,n)})}),i.command(`capabilities`).description(`Show provider capabilities (intents/scopes + supported features)`).option(`--channel <name>`,`Channel (${B([`all`])})`).option(`--account <id>`,`Account id (only with --channel)`).option(`--target <dest>`,`Channel target for permission audit (Discord channel:<id>)`).option(`--timeout <ms>`,`Timeout in ms`,`10000`).option(`--json`,`Output JSON`,!1).action(async e=>{await Q(async()=>{await je(e,n)})}),i.command(`resolve`).description(`Resolve channel/user names to IDs`).argument(`<entries...>`,`Entries to resolve (names or ids)`).option(`--channel <name>`,`Channel (${r})`).option(`--account <id>`,`Account id (accountId)`).option(`--kind <kind>`,`Target kind (auto|user|group)`,`auto`).option(`--json`,`Output JSON`,!1).action(async(e,t)=>{await Q(async()=>{await Xe({channel:t.channel,account:t.account,kind:t.kind,json:!!t.json,entries:Array.isArray(e)?e:[String(e)]},n)})}),i.command(`logs`).description(`Show recent channel logs from the gateway log file`).option(`--channel <name>`,`Channel (${B([`all`])})`,`all`).option(`--lines <n>`,`Number of lines (default: 200)`,`200`).option(`--json`,`Output JSON`,!1).action(async e=>{await Q(async()=>{await We(e,n)})}),i.command(`add`).description(`Add or update a channel account`).option(`--channel <name>`,`Channel (${r})`).option(`--account <id>`,`Account id (default when omitted)`).option(`--name <name>`,`Display name for this account`).option(`--token <token>`,`Bot token (Telegram/Discord)`).option(`--token-file <path>`,`Bot token file (Telegram)`).option(`--bot-token <token>`,`Slack bot token (xoxb-...)`).option(`--app-token <token>`,`Slack app token (xapp-...)`).option(`--signal-number <e164>`,`Signal account number (E.164)`).option(`--cli-path <path>`,`CLI path (signal-cli or imsg)`).option(`--db-path <path>`,`iMessage database path`).option(`--service <service>`,`iMessage service (imessage|sms|auto)`).option(`--region <region>`,`iMessage region (for SMS)`).option(`--auth-dir <path>`,`WhatsApp auth directory override`).option(`--http-url <url>`,`Signal HTTP daemon base URL`).option(`--http-host <host>`,`Signal HTTP host`).option(`--http-port <port>`,`Signal HTTP port`).option(`--webhook-path <path>`,`Webhook path (Google Chat/BlueBubbles)`).option(`--webhook-url <url>`,`Google Chat webhook URL`).option(`--audience-type <type>`,`Google Chat audience type (app-url|project-number)`).option(`--audience <value>`,`Google Chat audience value (app URL or project number)`).option(`--homeserver <url>`,`Matrix homeserver URL`).option(`--user-id <id>`,`Matrix user ID`).option(`--access-token <token>`,`Matrix access token`).option(`--password <password>`,`Matrix password`).option(`--device-name <name>`,`Matrix device name`).option(`--initial-sync-limit <n>`,`Matrix initial sync limit`).option(`--ship <ship>`,`Tlon ship name (~sampel-palnet)`).option(`--url <url>`,`Tlon ship URL`).option(`--code <code>`,`Tlon login code`).option(`--group-channels <list>`,`Tlon group channels (comma-separated)`).option(`--dm-allowlist <list>`,`Tlon DM allowlist (comma-separated ships)`).option(`--auto-discover-channels`,`Tlon auto-discover group channels`).option(`--no-auto-discover-channels`,`Disable Tlon auto-discovery`).option(`--use-env`,`Use env token (default account only)`,!1).action(async(e,t)=>{await Q(async()=>{await _e(e,n,{hasFlags:F(t,ct)})})}),i.command(`remove`).description(`Disable or delete a channel account`).option(`--channel <name>`,`Channel (${r})`).option(`--account <id>`,`Account id (default when omitted)`).option(`--delete`,`Delete config entries (no prompt)`,!1).action(async(e,t)=>{await Q(async()=>{await Ke(e,n,{hasFlags:F(t,lt)})})}),i.command(`login`).description(`Link a channel account (if supported)`).option(`--channel <channel>`,`Channel alias (auto when only one is configured)`).option(`--account <id>`,`Account id (accountId)`).option(`--verbose`,`Verbose connection logs`,!1).action(async e=>{await $(async()=>{await ot({channel:e.channel,account:e.account,verbose:!!e.verbose},n)},`Channel login failed`)}),i.command(`logout`).description(`Log out of a channel session (if supported)`).option(`--channel <channel>`,`Channel alias (auto when only one is configured)`).option(`--account <id>`,`Account id (accountId)`).action(async e=>{await $(async()=>{await st({channel:e.channel,account:e.account},n)},`Channel logout failed`)})}export{ut as registerChannelsCli};
|
|
10
|
+
//# sourceMappingURL=channels-cli-BmAJuuRs.js.map
|
|
@@ -7,3 +7,4 @@ import"./paths-B4IRk3wi.js";import{A as e,N as t,p as n,v as r,w as i}from"./sub
|
|
|
7
7
|
`);return i>0&&(s=s.slice(1)),s.length&&s[s.length-1]===``&&(s=s.slice(0,-1)),s.length>t&&(s=s.slice(s.length-t)),s}finally{await a.close()}}async function Ke(r,i=n){let a=Ue(r.channel),o=typeof r.lines==`string`?Number(r.lines):r.lines,s=typeof o==`number`&&Number.isFinite(o)&&o>0?Math.floor(o):200,c=t().file,l=(await Ge(c,s*4)).map(pe).filter(e=>!!e).filter(e=>We(e,a)),u=l.slice(Math.max(0,l.length-s));if(r.json){i.log(JSON.stringify({file:c,channel:a,lines:u},null,2));return}if(i.log(e.info(`Log file: ${c}`)),a!==`all`&&i.log(e.info(`Channel: ${a}`)),u.length===0){i.log(e.muted(`No matching log lines.`));return}for(let e of u){let t=e.time?`${e.time} `:``,n=e.level?`${e.level.toLowerCase()} `:``;i.log(`${t}${n}${e.message}`.trim())}}function qe(e,t){let n=x(t);return n?n.config.listAccountIds(e):[]}async function Je(e,t=n,r){let i=await B(t);if(!i)return;let a=U(r),o=a?F():null,s=b(e.channel),c=_(e.account),u=!!e.delete;if(a&&o){await o.intro(`Remove channel account`);let e=await o.select({message:`Channel`,options:y().map(e=>({value:e.id,label:e.meta.label}))});if(s=e,c=await(async()=>{let t=qe(i,e);return _(await o.select({message:`Account`,options:t.map(e=>({value:e,label:e===`default`?`default (primary)`:e})),initialValue:t[0]??`default`}))})(),!await o.confirm({message:`Disable ${V(e)} account "${c}"? (keeps config)`,initialValue:!0})){await o.outro(`Cancelled.`);return}}else{if(!s){t.error(`Channel is required. Use --channel <name>.`),t.exit(1);return}if(!u&&!await F().confirm({message:`Disable ${V(s)} account "${c}"? (keeps config)`,initialValue:!0}))return}let d=x(s);if(!d){t.error(`Unknown channel: ${s}`),t.exit(1);return}let p=_(c)??v({plugin:d,cfg:i}),m=p||`default`,h={...i};if(u){if(!d.config.deleteAccount){t.error(`Channel ${s} does not support delete.`),t.exit(1);return}h=d.config.deleteAccount({cfg:h,accountId:p}),s===`telegram`&&await f({accountId:p})}else{if(!d.config.setAccountEnabled){t.error(`Channel ${s} does not support disable.`),t.exit(1);return}h=d.config.setAccountEnabled({cfg:h,accountId:p,enabled:!1})}await l(h),a&&o?await o.outro(u?`Deleted ${V(s)} account "${m}".`:`Disabled ${V(s)} account "${m}".`):t.log(u?`Deleted ${V(s)} account "${m}".`:`Disabled ${V(s)} account "${m}".`)}function Ye(e){if(!(!e||e===`auto`))return e===`user`?`user`:`group`}function Xe(e){let t=e.trim();return t&&(t.startsWith(`@`)||/^<@!?/.test(t)||/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t)||/^(user|discord|slack|matrix|msteams|teams|zalo|zalouser|googlechat|google-chat|gchat):/i.test(t))?`user`:`group`}function Ze(e){if(!e.resolved||!e.id)return`${e.input} -> unresolved`;let t=e.name?` (${e.name})`:``,n=e.note?` [${e.note}]`:``;return`${e.input} -> ${e.id}${t}${n}`}async function Qe(e,t){let{resolvedConfig:n,diagnostics:i}=await k({config:u(),commandName:`channels resolve`,targetIds:O(),mode:`operational_readonly`});for(let e of i)t.log(`[secrets] ${e}`);let a=(e.entries??[]).map(e=>e.trim()).filter(Boolean);if(a.length===0)throw Error(`At least one entry is required.`);let o=await E({cfg:n,channel:e.channel??null}),s=x(o.channel);if(!s?.resolver?.resolveTargets)throw Error(`Channel ${o.channel} does not support resolve.`);let c=Ye(e.kind),l=[];if(c)l=(await s.resolver.resolveTargets({cfg:n,accountId:e.account??null,inputs:a,kind:c,runtime:t})).map(e=>({input:e.input,resolved:e.resolved,id:e.id,name:e.name,note:e.note}));else{let r=new Map;for(let e of a){let t=Xe(e);r.set(t,[...r.get(t)??[],e])}let i=[];for(let[a,o]of r.entries()){let r=await s.resolver.resolveTargets({cfg:n,accountId:e.account??null,inputs:o,kind:a,runtime:t});i.push(...r)}let o=new Map(i.map(e=>[e.input,e]));l=a.map(e=>{let t=o.get(e);return{input:e,resolved:t?.resolved??!1,id:t?.id,name:t?.name,note:t?.note}})}if(e.json){t.log(JSON.stringify(l,null,2));return}for(let e of l)e.resolved&&e.id?t.log(Ze(e)):t.error(r(`${e.input} -> unresolved${e.error?` (${e.error})`:e.note?` (${e.note})`:``}`))}function Y(e,t){typeof t.enabled==`boolean`&&e.push(t.enabled?`enabled`:`disabled`),typeof t.configured==`boolean`&&(t.configured?(e.push(`configured`),T(t)&&e.push(`secret unavailable in this command path`)):e.push(`not configured`)),typeof t.linked==`boolean`&&e.push(t.linked?`linked`:`not linked`)}function X(e,t){typeof t.mode==`string`&&t.mode.length>0&&e.push(`mode:${t.mode}`)}function Z(e,t){let n=(n,r,i)=>{let a=t[r];if(typeof a!=`string`||!a||a===`none`)return;let o=t[i]===`configured_unavailable`?` (unavailable)`:``;e.push(`${n}:${a}${o}`)};n(`token`,`tokenSource`,`tokenStatus`),n(`bot`,`botTokenSource`,`botTokenStatus`),n(`app`,`appTokenSource`,`appTokenStatus`),n(`signing`,`signingSecretSource`,`signingSecretStatus`)}function Q(e,t){typeof t.baseUrl==`string`&&t.baseUrl&&e.push(`url:${t.baseUrl}`)}function $e(e,t,n){return`- ${H({channel:e,accountId:typeof t.accountId==`string`?t.accountId:`default`,name:(typeof t.name==`string`?t.name.trim():``)||void 0})}: ${n.join(`, `)}`}function et(t){let n=[];n.push(e.success(`Gateway reachable.`));let r=(e,t)=>t.map(t=>{let n=[];Y(n,t),typeof t.running==`boolean`&&n.push(t.running?`running`:`stopped`),typeof t.connected==`boolean`&&n.push(t.connected?`connected`:`disconnected`);let r=typeof t.lastInboundAt==`number`&&Number.isFinite(t.lastInboundAt)?t.lastInboundAt:null,i=typeof t.lastOutboundAt==`number`&&Number.isFinite(t.lastOutboundAt)?t.lastOutboundAt:null;r&&n.push(`in:${D(Date.now()-r)}`),i&&n.push(`out:${D(Date.now()-i)}`),X(n,t);let a=(()=>{let e=t.bot,n=t.probe?.bot,r=e?.username??n?.username??``;if(typeof r!=`string`)return``;let i=r.trim();return i?i.startsWith(`@`)?i:`@${i}`:``})();a&&n.push(`bot:${a}`),typeof t.dmPolicy==`string`&&t.dmPolicy.length>0&&n.push(`dm:${t.dmPolicy}`),Array.isArray(t.allowFrom)&&t.allowFrom.length>0&&n.push(`allow:${t.allowFrom.slice(0,2).join(`,`)}`),Z(n,t);let o=t.application?.intents?.messageContent;typeof o==`string`&&o.length>0&&o!==`enabled`&&n.push(`intents:content=${o}`),t.allowUnmentionedGroups===!0&&n.push(`groups:unmentioned`),Q(n,t);let s=t.probe;s&&typeof s.ok==`boolean`&&n.push(s.ok?`works`:`probe failed`);let c=t.audit;return c&&typeof c.ok==`boolean`&&n.push(c.ok?`audit ok`:`audit failed`),typeof t.lastError==`string`&&t.lastError&&n.push(`error:${t.lastError}`),$e(e,t,n)}),i=y(),a=t.channelAccounts,o={};for(let e of i){let t=a?.[e.id];Array.isArray(t)&&(o[e.id]=t)}for(let e of i){let t=o[e.id];t&&t.length>0&&n.push(...r(e.id,t))}n.push(``);let s=me(t);if(s.length>0){n.push(e.warn(`Warnings:`));for(let e of s)n.push(`- ${e.channel} ${e.accountId}: ${e.message}${e.fix?` (${e.fix})`:``}`);n.push(`- Run: ${ee(`openclaw doctor`)}`),n.push(``)}return n.push(`Tip: ${A(`/cli#status`,`status --deep`)} adds gateway health probes to status output (requires a reachable gateway).`),n}async function tt(t,n,r){let i=[];i.push(e.warn(`Gateway not reachable; showing config-only status.`)),n.path&&i.push(`Config: ${n.path}`),n.mode&&i.push(`Mode: ${n.mode}`),(n.path||n.mode)&&i.push(``);let a=(e,t)=>t.map(t=>{let n=[];return Y(n,t),X(n,t),Z(n,t),Q(n,t),$e(e,t,n)}),o=y(),s=r?.sourceConfig??t;for(let e of o){let n=e.config.listAccountIds(t);if(!n.length)continue;let r=[];for(let i of n){let n=await fe({plugin:e,cfg:s,accountId:i}),a=await R({plugin:e,cfg:t,accountId:i});r.push(n&&T(n)&&(!re(a)||n.configured===!0&&a.configured===!1)?n:a)}r.length>0&&i.push(...a(e.id,r))}return i.push(``),i.push(`Tip: ${A(`/cli#status`,`status --deep`)} adds gateway health probes to status output (requires a reachable gateway).`),i}async function nt(e,t=n){let r=Number(e.timeout??1e4),i=e.probe?`Checking channel status (probe)…`:`Checking channel status…`;e.json!==!0&&!process.stderr.isTTY&&t.log(i);try{let n=await M({label:i,indeterminate:!0,enabled:e.json!==!0},async()=>await w({method:`channels.status`,params:{probe:!!e.probe,timeoutMs:r},timeoutMs:r}));if(e.json){t.log(JSON.stringify(n,null,2));return}t.log(et(n).join(`
|
|
8
8
|
`))}catch(e){t.error(`Gateway not reachable: ${String(e)}`);let n=await L(t);if(!n)return;let{resolvedConfig:r,diagnostics:i}=await k({config:n,commandName:`channels status`,targetIds:O(),mode:`summary`});for(let e of i)t.log(`[secrets] ${e}`);let a=await c(),o=n.gateway?.mode===`remote`?`remote`:`local`;t.log((await tt(r,{path:a.path,mode:o},{sourceConfig:n})).join(`
|
|
9
9
|
`))}}async function rt(e,t,n){let r=e.channel?.trim()||(await E({cfg:n})).channel,i=b(r);if(!i)throw Error(`Unsupported channel: ${r}`);let a=x(i);if(!(t===`login`?a?.auth?.login:a?.gateway?.logoutAccount))throw Error(`Channel ${i} does not support ${t}`);return{channelInput:r,channelId:i,plugin:a}}function it(e,t,n){return{accountId:t.account?.trim()||v({plugin:e,cfg:n})}}async function at(e,t=n){let r=u(),{channelInput:a,plugin:o}=await rt(e,`login`,r),s=o.auth?.login;if(!s)throw Error(`Channel ${a} does not support login`);i(!!e.verbose);let{accountId:c}=it(o,e,r);await s({cfg:r,accountId:c,runtime:t,verbose:!!e.verbose,channelInput:a})}async function ot(e,t=n){let r=u(),{channelInput:i,channelId:a,plugin:s}=await rt(e,`logout`,r),c=s.gateway?.logoutAccount;if(!c)throw Error(`Channel ${i} does not support logout`);let{accountId:l}=it(s,e,r);try{await w({method:`channels.logout`,params:{channel:a,accountId:l},timeoutMs:15e3,clientName:o.CLI,mode:d.CLI});return}catch{}await c({cfg:r,accountId:l,account:s.config.resolveAccount(r,l),runtime:t})}const st=`channel.account.name.token.tokenFile.botToken.appToken.signalNumber.cliPath.dbPath.service.region.authDir.httpUrl.httpHost.httpPort.webhookPath.webhookUrl.audienceType.audience.useEnv.homeserver.userId.accessToken.password.deviceName.initialSyncLimit.ship.url.code.groupChannels.dmAllowlist.autoDiscoverChannels`.split(`.`),ct=[`channel`,`account`,`delete`];function $(e){return j(n,e)}function lt(e,t){return j(n,e,e=>{n.error(r(`${t}: ${String(e)}`)),n.exit(1)})}function ut(t){let r=N(),i=t.command(`channels`).description(`Manage connected chat channels and accounts`).addHelpText(`after`,()=>`\n${e.heading(`Examples:`)}\n${ae([[`openclaw channels list`,`List configured channels and auth profiles.`],[`openclaw channels status --probe`,`Run channel status checks and probes.`],[`openclaw channels add --channel telegram --token <token>`,`Add or update a channel account non-interactively.`],[`openclaw channels login --channel whatsapp`,`Link a WhatsApp Web account.`]])}\n\n${e.muted(`Docs:`)} ${A(`/cli/channels`,`docs.openclaw.ai/cli/channels`)}\n`);i.command(`list`).description(`List configured channels + auth profiles`).option(`--no-usage`,`Skip model provider usage/quota snapshots`).option(`--json`,`Output JSON`,!1).action(async e=>{await $(async()=>{await Ve(e,n)})}),i.command(`status`).description(`Show gateway channel status (use status --deep for local)`).option(`--probe`,`Probe channel credentials`,!1).option(`--timeout <ms>`,`Timeout in ms`,`10000`).option(`--json`,`Output JSON`,!1).action(async e=>{await $(async()=>{await nt(e,n)})}),i.command(`capabilities`).description(`Show provider capabilities (intents/scopes + supported features)`).option(`--channel <name>`,`Channel (${N([`all`])})`).option(`--account <id>`,`Account id (only with --channel)`).option(`--target <dest>`,`Channel target for permission audit (Discord channel:<id>)`).option(`--timeout <ms>`,`Timeout in ms`,`10000`).option(`--json`,`Output JSON`,!1).action(async e=>{await $(async()=>{await Ne(e,n)})}),i.command(`resolve`).description(`Resolve channel/user names to IDs`).argument(`<entries...>`,`Entries to resolve (names or ids)`).option(`--channel <name>`,`Channel (${r})`).option(`--account <id>`,`Account id (accountId)`).option(`--kind <kind>`,`Target kind (auto|user|group)`,`auto`).option(`--json`,`Output JSON`,!1).action(async(e,t)=>{await $(async()=>{await Qe({channel:t.channel,account:t.account,kind:t.kind,json:!!t.json,entries:Array.isArray(e)?e:[String(e)]},n)})}),i.command(`logs`).description(`Show recent channel logs from the gateway log file`).option(`--channel <name>`,`Channel (${N([`all`])})`,`all`).option(`--lines <n>`,`Number of lines (default: 200)`,`200`).option(`--json`,`Output JSON`,!1).action(async e=>{await $(async()=>{await Ke(e,n)})}),i.command(`add`).description(`Add or update a channel account`).option(`--channel <name>`,`Channel (${r})`).option(`--account <id>`,`Account id (default when omitted)`).option(`--name <name>`,`Display name for this account`).option(`--token <token>`,`Bot token (Telegram/Discord)`).option(`--token-file <path>`,`Bot token file (Telegram)`).option(`--bot-token <token>`,`Slack bot token (xoxb-...)`).option(`--app-token <token>`,`Slack app token (xapp-...)`).option(`--signal-number <e164>`,`Signal account number (E.164)`).option(`--cli-path <path>`,`CLI path (signal-cli or imsg)`).option(`--db-path <path>`,`iMessage database path`).option(`--service <service>`,`iMessage service (imessage|sms|auto)`).option(`--region <region>`,`iMessage region (for SMS)`).option(`--auth-dir <path>`,`WhatsApp auth directory override`).option(`--http-url <url>`,`Signal HTTP daemon base URL`).option(`--http-host <host>`,`Signal HTTP host`).option(`--http-port <port>`,`Signal HTTP port`).option(`--webhook-path <path>`,`Webhook path (Google Chat/BlueBubbles)`).option(`--webhook-url <url>`,`Google Chat webhook URL`).option(`--audience-type <type>`,`Google Chat audience type (app-url|project-number)`).option(`--audience <value>`,`Google Chat audience value (app URL or project number)`).option(`--homeserver <url>`,`Matrix homeserver URL`).option(`--user-id <id>`,`Matrix user ID`).option(`--access-token <token>`,`Matrix access token`).option(`--password <password>`,`Matrix password`).option(`--device-name <name>`,`Matrix device name`).option(`--initial-sync-limit <n>`,`Matrix initial sync limit`).option(`--ship <ship>`,`Tlon ship name (~sampel-palnet)`).option(`--url <url>`,`Tlon ship URL`).option(`--code <code>`,`Tlon login code`).option(`--group-channels <list>`,`Tlon group channels (comma-separated)`).option(`--dm-allowlist <list>`,`Tlon DM allowlist (comma-separated ships)`).option(`--auto-discover-channels`,`Tlon auto-discover group channels`).option(`--no-auto-discover-channels`,`Disable Tlon auto-discovery`).option(`--use-env`,`Use env token (default account only)`,!1).action(async(e,t)=>{await $(async()=>{await ye(e,n,{hasFlags:P(t,st)})})}),i.command(`remove`).description(`Disable or delete a channel account`).option(`--channel <name>`,`Channel (${r})`).option(`--account <id>`,`Account id (default when omitted)`).option(`--delete`,`Delete config entries (no prompt)`,!1).action(async(e,t)=>{await $(async()=>{await Je(e,n,{hasFlags:P(t,ct)})})}),i.command(`login`).description(`Link a channel account (if supported)`).option(`--channel <channel>`,`Channel alias (auto when only one is configured)`).option(`--account <id>`,`Account id (accountId)`).option(`--verbose`,`Verbose connection logs`,!1).action(async e=>{await lt(async()=>{await at({channel:e.channel,account:e.account,verbose:!!e.verbose},n)},`Channel login failed`)}),i.command(`logout`).description(`Log out of a channel session (if supported)`).option(`--channel <channel>`,`Channel alias (auto when only one is configured)`).option(`--account <id>`,`Account id (accountId)`).action(async e=>{await lt(async()=>{await ot({channel:e.channel,account:e.account},n)},`Channel logout failed`)})}export{ut as registerChannelsCli};
|
|
10
|
+
//# sourceMappingURL=channels-cli-Dgosczr6.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
import{n as e}from"./plugins-DNlgeTTc.js";function t(t){let n=[],r=t.channelAccounts;for(let t of e()){let e=t.status?.collectStatusIssues;if(!e)continue;let i=r?.[t.id];Array.isArray(i)&&n.push(...e(i))}return n}export{t};
|
|
2
|
+
//# sourceMappingURL=channels-status-issues-8eFrGKyf.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
import{n as e}from"./plugins-CYLrFT4h.js";function t(t){let n=[],r=t.channelAccounts;for(let t of e()){let e=t.status?.collectStatusIssues;if(!e)continue;let i=r?.[t.id];Array.isArray(i)&&n.push(...e(i))}return n}export{t};
|
|
2
|
+
//# sourceMappingURL=channels-status-issues-PRgOT90w.js.map
|
|
@@ -8,3 +8,4 @@ const e=new Set([`tool_use`,`toolcall`,`tool_call`]),t=new Set([`tool_result`,`t
|
|
|
8
8
|
`)}function v(e){if(!e||!u.test(e))return null;let t=e.split(`
|
|
9
9
|
`),n=f(t,l),r=f(t,c);return p(n?.label,n?.name,n?.username,n?.e164,n?.id,r?.sender)}const y=/^\[([^\]]+)\]\s*/,b=[`WebChat`,`WhatsApp`,`Telegram`,`Signal`,`Slack`,`Discord`,`Google Chat`,`iMessage`,`Teams`,`Matrix`,`Zalo`,`Zalo Personal`,`BlueBubbles`],x=/^\s*\[message_id:\s*[^\]]+\]\s*$/i;function S(e){return/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}Z\b/.test(e)||/\d{4}-\d{2}-\d{2} \d{2}:\d{2}\b/.test(e)?!0:b.some(t=>e.startsWith(`${t} `))}function C(e){let t=e.match(y);return!t||!S(t[1]??``)?e:e.slice(t[0].length)}function w(e){if(!e.includes(`[message_id:`))return e;let t=e.split(/\r?\n/),n=t.filter(e=>!x.test(e));return n.length===t.length?e:n.join(`
|
|
10
10
|
`)}export{_ as a,i as c,g as i,w as n,a as o,v as r,r as s,C as t};
|
|
11
|
+
//# sourceMappingURL=chat-envelope-Bznn2SoS.js.map
|
|
@@ -8,3 +8,4 @@ const e=new Set([`tool_use`,`toolcall`,`tool_call`]),t=new Set([`tool_result`,`t
|
|
|
8
8
|
`)}function v(e){if(!e||!u.test(e))return null;let t=e.split(`
|
|
9
9
|
`),n=f(t,l),r=f(t,c);return p(n?.label,n?.name,n?.username,n?.e164,n?.id,r?.sender)}const y=/^\[([^\]]+)\]\s*/,b=[`WebChat`,`WhatsApp`,`Telegram`,`Signal`,`Slack`,`Discord`,`Google Chat`,`iMessage`,`Teams`,`Matrix`,`Zalo`,`Zalo Personal`,`BlueBubbles`],x=/^\s*\[message_id:\s*[^\]]+\]\s*$/i;function S(e){return/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}Z\b/.test(e)||/\d{4}-\d{2}-\d{2} \d{2}:\d{2}\b/.test(e)?!0:b.some(t=>e.startsWith(`${t} `))}function C(e){let t=e.match(y);return!t||!S(t[1]??``)?e:e.slice(t[0].length)}function w(e){if(!e.includes(`[message_id:`))return e;let t=e.split(/\r?\n/),n=t.filter(e=>!x.test(e));return n.length===t.length?e:n.join(`
|
|
10
10
|
`)}export{_ as a,i as c,g as i,w as n,a as o,v as r,r as s,C as t};
|
|
11
|
+
//# sourceMappingURL=chat-envelope-HVpKusFc.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
import{A as e,u as t}from"./subsystem-BLbY429l.js";import{n,r,t as i}from"./prompt-style-BThRSQJR.js";import{t as a}from"./progress-d1m2sqR1.js";import{t as o}from"./note-Dp-d_utk.js";import{t as s}from"./prompts-CMzglboN.js";import{autocompleteMultiselect as c,cancel as l,confirm as u,intro as d,isCancel as f,multiselect as p,outro as m,select as h,spinner as g,text as _}from"@clack/prompts";function v(e){if(f(e))throw l(r(`Setup cancelled.`)??`Setup cancelled.`),new s;return e}function y(e){return e.toLowerCase().split(/\s+/).map(e=>e.trim()).filter(e=>e.length>0)}function b(e){return`${t(e.label??``)} ${t(e.hint??``)} ${String(e.value??``)}`.toLowerCase()}function x(e,t){let n=y(e);if(n.length===0)return!0;let r=b(t);return n.every(e=>r.includes(e))}function S(){return{intro:async e=>{d(r(e)??e)},outro:async e=>{m(r(e)??e)},note:async(e,t)=>{o(e,t)},select:async e=>v(await h({message:n(e.message),options:e.options.map(e=>{let t={value:e.value,label:e.label};return e.hint===void 0?t:{...t,hint:i(e.hint)}}),initialValue:e.initialValue})),multiselect:async e=>{let t=e.options.map(e=>{let t={value:e.value,label:e.label};return e.hint===void 0?t:{...t,hint:i(e.hint)}});return e.searchable?v(await c({message:n(e.message),options:t,initialValues:e.initialValues,filter:x})):v(await p({message:n(e.message),options:t,initialValues:e.initialValues}))},text:async e=>{let t=e.validate;return v(await _({message:n(e.message),initialValue:e.initialValue,placeholder:e.placeholder,validate:t?e=>t(e??``):void 0}))},confirm:async e=>v(await u({message:n(e.message),initialValue:e.initialValue})),progress:t=>{let n=g();n.start(e.accent(t));let r=a({label:t,indeterminate:!0,enabled:!0,fallback:`none`});return{update:t=>{n.message(e.accent(t)),r.setLabel(t)},stop:e=>{r.done(),n.stop(e)}}}}}export{S as t};
|
|
2
|
+
//# sourceMappingURL=clack-prompter-DBPdGdqp.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
import{A as e,u as t}from"./subsystem-C5XF2Fy5.js";import{n,r,t as i}from"./prompt-style-CXKekIBY.js";import{t as a}from"./progress-LNttnI-y.js";import{t as o}from"./note-D4GAwgha.js";import{t as s}from"./prompts-wv-lfVrJ.js";import{autocompleteMultiselect as c,cancel as l,confirm as u,intro as d,isCancel as f,multiselect as p,outro as m,select as h,spinner as g,text as _}from"@clack/prompts";function v(e){if(f(e))throw l(r(`Setup cancelled.`)??`Setup cancelled.`),new s;return e}function y(e){return e.toLowerCase().split(/\s+/).map(e=>e.trim()).filter(e=>e.length>0)}function b(e){return`${t(e.label??``)} ${t(e.hint??``)} ${String(e.value??``)}`.toLowerCase()}function x(e,t){let n=y(e);if(n.length===0)return!0;let r=b(t);return n.every(e=>r.includes(e))}function S(){return{intro:async e=>{d(r(e)??e)},outro:async e=>{m(r(e)??e)},note:async(e,t)=>{o(e,t)},select:async e=>v(await h({message:n(e.message),options:e.options.map(e=>{let t={value:e.value,label:e.label};return e.hint===void 0?t:{...t,hint:i(e.hint)}}),initialValue:e.initialValue})),multiselect:async e=>{let t=e.options.map(e=>{let t={value:e.value,label:e.label};return e.hint===void 0?t:{...t,hint:i(e.hint)}});return e.searchable?v(await c({message:n(e.message),options:t,initialValues:e.initialValues,filter:x})):v(await p({message:n(e.message),options:t,initialValues:e.initialValues}))},text:async e=>{let t=e.validate;return v(await _({message:n(e.message),initialValue:e.initialValue,placeholder:e.placeholder,validate:t?e=>t(e??``):void 0}))},confirm:async e=>v(await u({message:n(e.message),initialValue:e.initialValue})),progress:t=>{let n=g();n.start(e.accent(t));let r=a({label:t,indeterminate:!0,enabled:!0,fallback:`none`});return{update:t=>{n.message(e.accent(t)),r.setLabel(t)},stop:e=>{r.done(),n.stop(e)}}}}}export{S as t};
|
|
2
|
+
//# sourceMappingURL=clack-prompter-Dq0aY6iM.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
import{A as e}from"./subsystem-BLbY429l.js";import"./paths-BjD3T_xq.js";import"./boolean-D15s2V33.js";import"./auth-profiles-T8DuH3ax.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-CKTicUKS.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-B8Fb4_oh.js";import"./runtime-web-tools-D8fms06-.js";import"./command-secret-targets-BlN-J_fA.js";import{t}from"./links-CBnmRP9D.js";import{registerQrCli as n}from"./qr-cli-3aG6CB6K.js";function r(r){n(r.command(`clawbot`).description(`Legacy clawbot command aliases`).addHelpText(`after`,()=>`\n${e.muted(`Docs:`)} ${t(`/cli/clawbot`,`docs.openclaw.ai/cli/clawbot`)}\n`))}export{r as registerClawbotCli};
|
|
2
|
+
//# sourceMappingURL=clawbot-cli-CgS7TkEx.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
import"./paths-B4IRk3wi.js";import{A as e}from"./subsystem-C5XF2Fy5.js";import"./utils-UGOV_184.js";import"./model-selection-BlC_rXAN.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-DHbOKEGc.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-CqoMqP5b.js";import"./runtime-web-tools-bz76ZaRc.js";import"./command-secret-targets-BVN3kiT9.js";import{t}from"./links-CySwdMcF.js";import{registerQrCli as n}from"./qr-cli-fiJxD5M4.js";function r(r){n(r.command(`clawbot`).description(`Legacy clawbot command aliases`).addHelpText(`after`,()=>`\n${e.muted(`Docs:`)} ${t(`/cli/clawbot`,`docs.openclaw.ai/cli/clawbot`)}\n`))}export{r as registerClawbotCli};
|
|
2
|
+
//# sourceMappingURL=clawbot-cli-DZ2K0OTk.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
import{j as e}from"./agent-scope-DAWJwFfl.js";import{b as t,g as n,v as r}from"./utils-CGdo13HV.js";import i from"node:path";import a from"node:fs/promises";function o(t){let n=new Set,i=t?.agents?.defaults;typeof i?.workspace==`string`&&i.workspace.trim()&&n.add(r(i.workspace));let a=Array.isArray(t?.agents?.list)?t?.agents?.list:[];for(let e of a){let t=e.workspace;typeof t==`string`&&t.trim()&&n.add(r(t))}return n.size===0&&n.add(e()),[...n]}function s(e){return{configInsideState:c(e.configPath,e.stateDir),oauthInsideState:c(e.oauthDir,e.stateDir),workspaceDirs:o(e.cfg)}}function c(e,t){let n=i.relative(t,e);return n===``||!n.startsWith(`..`)&&!i.isAbsolute(n)}function l(e){if(!e.trim())return!0;let t=i.resolve(e);if(t===i.parse(t).root)return!0;let r=n();return!!(r&&t===i.resolve(r))}async function u(e,n,r){if(!e?.trim())return{ok:!1,skipped:!0};let o=i.resolve(e),s=t(r?.label??o);if(l(o))return n.error(`Refusing to remove unsafe path: ${s}`),{ok:!1};if(r?.dryRun)return n.log(`[dry-run] remove ${s}`),{ok:!0,skipped:!0};try{return await a.rm(o,{recursive:!0,force:!0}),n.log(`Removed ${s}`),{ok:!0}}catch(e){return n.error(`Failed to remove ${s}: ${String(e)}`),{ok:!1}}}async function d(e,t,n){await u(e.stateDir,t,{dryRun:n?.dryRun,label:e.stateDir}),e.configInsideState||await u(e.configPath,t,{dryRun:n?.dryRun,label:e.configPath}),e.oauthInsideState||await u(e.oauthDir,t,{dryRun:n?.dryRun,label:e.oauthDir})}async function f(e,t,n){for(let r of e)await u(r,t,{dryRun:n?.dryRun,label:r})}async function p(e){let t=i.join(e,`agents`);try{return(await a.readdir(t,{withFileTypes:!0})).filter(e=>e.isDirectory()).map(e=>i.join(t,e.name,`sessions`))}catch{return[]}}export{d as a,u as i,c as n,f as o,p as r,s as t};
|
|
2
|
+
//# sourceMappingURL=cleanup-utils-BWm70DoD.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
import{_ as e,x as t,y as n}from"./utils-UGOV_184.js";import{j as r}from"./agent-scope-DXZc3eNT.js";import i from"node:path";import a from"node:fs/promises";function o(e){let t=new Set,i=e?.agents?.defaults;typeof i?.workspace==`string`&&i.workspace.trim()&&t.add(n(i.workspace));let a=Array.isArray(e?.agents?.list)?e?.agents?.list:[];for(let e of a){let r=e.workspace;typeof r==`string`&&r.trim()&&t.add(n(r))}return t.size===0&&t.add(r()),[...t]}function s(e){return{configInsideState:c(e.configPath,e.stateDir),oauthInsideState:c(e.oauthDir,e.stateDir),workspaceDirs:o(e.cfg)}}function c(e,t){let n=i.relative(t,e);return n===``||!n.startsWith(`..`)&&!i.isAbsolute(n)}function l(t){if(!t.trim())return!0;let n=i.resolve(t);if(n===i.parse(n).root)return!0;let r=e();return!!(r&&n===i.resolve(r))}async function u(e,n,r){if(!e?.trim())return{ok:!1,skipped:!0};let o=i.resolve(e),s=t(r?.label??o);if(l(o))return n.error(`Refusing to remove unsafe path: ${s}`),{ok:!1};if(r?.dryRun)return n.log(`[dry-run] remove ${s}`),{ok:!0,skipped:!0};try{return await a.rm(o,{recursive:!0,force:!0}),n.log(`Removed ${s}`),{ok:!0}}catch(e){return n.error(`Failed to remove ${s}: ${String(e)}`),{ok:!1}}}async function d(e,t,n){await u(e.stateDir,t,{dryRun:n?.dryRun,label:e.stateDir}),e.configInsideState||await u(e.configPath,t,{dryRun:n?.dryRun,label:e.configPath}),e.oauthInsideState||await u(e.oauthDir,t,{dryRun:n?.dryRun,label:e.oauthDir})}async function f(e,t,n){for(let r of e)await u(r,t,{dryRun:n?.dryRun,label:r})}async function p(e){let t=i.join(e,`agents`);try{return(await a.readdir(t,{withFileTypes:!0})).filter(e=>e.isDirectory()).map(e=>i.join(t,e.name,`sessions`))}catch{return[]}}export{d as a,u as i,c as n,f as o,p as r,s as t};
|
|
2
|
+
//# sourceMappingURL=cleanup-utils-D-RhEX6F.js.map
|
package/dist/cli-BcnoCo4z.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
1
|
import"./paths-B4IRk3wi.js";import{t as e}from"./subsystem-C5XF2Fy5.js";import"./utils-UGOV_184.js";import{qs as t}from"./model-selection-BlC_rXAN.js";import{ot as n}from"./reply-l-Y47HP4.js";import{d as r,f as i}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-DHbOKEGc.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-Cgd_VJHR.js";import"./send-hZFDcGLM.js";import"./paths-yLEk_25I.js";import"./chat-envelope-HVpKusFc.js";import"./audio-transcription-runner-D4Bp6MM7.js";import"./image-DsoO5VP5.js";import"./models-config-CdMhNxKV.js";import"./tool-display-DjuSUUbH.js";import"./fetch-guard-DPdY0NXR.js";import"./api-key-rotation-BRt-vnRV.js";import"./local-roots-6waH0SZ0.js";import"./model-catalog-C1kpjR75.js";import"./proxy-fetch-BADsUK4d.js";import"./tokens-XGbQGn67.js";import"./deliver-ClBkV2eD.js";import"./commands-CGpM84iR.js";import"./commands-registry-B1x54ukc.js";import"./pairing-store-Cg2UxreQ.js";import"./fetch-Dikjvc5M.js";import"./call-CqoMqP5b.js";import"./with-timeout-WveKxvFV.js";import"./diagnostic-DOzHPnht.js";import"./send-B7sHR38c2.js";import"./pi-model-discovery-Dps1PPWz.js";import"./exec-approvals-allowlist-CE3nYh0K.js";import"./exec-safe-bin-runtime-policy-Dt0GchLp.js";import"./ir-Dk7OQ4bA.js";import"./render-D8OWO2hT.js";import"./target-errors-a35Md15n.js";import"./read-only-account-inspect-DBwAwB3_.js";import"./channel-selection-CbNtbAEf.js";import"./plugin-auto-enable-DpVL6-ES.js";import"./send-C-AP01PR.js";import"./outbound-attachment-B7wMxwj6.js";import"./delivery-queue-CKbauSFq.js";import"./send-DbeEC2a3.js";import"./channel-activity-YjYNzCpJ.js";import"./tables-Oieq7UbT.js";import"./fetch-Bn0mWg6a.js";import"./skill-commands-HJHHZqt6.js";import"./workspace-dirs-BhF1Dzxt.js";import"./pairing-token-BjYBuREl.js";import"./restart-CHXEHdSC.js";import"./runtime-web-tools-bz76ZaRc.js";import"./command-secret-targets-BVN3kiT9.js";import"./session-cost-usage-BgqKixv0.js";import"./connection-auth-C8iru0UB.js";import"./onboard-helpers-zwybUJWu.js";import"./prompt-style-CXKekIBY.js";import"./pairing-labels-BUU_-70B.js";import"./memory-cli-jhzJ3as7.js";import"./query-expansion-0OxEb1Io.js";import"./manager-M1GKhLUC.js";import"./links-CySwdMcF.js";import"./cli-utils-BY7dLMFy.js";import"./help-format-BRbF_INg.js";import"./progress-LNttnI-y.js";import"./exec-approvals-BpBNEy6i.js";import"./nodes-screen-DECgxo6A.js";import"./system-run-command-DEWnZE0r.js";import"./runtime-BC5Ep2pJ.js";import"./stagger-DmFYysrJ.js";const a=e(`plugins`);function o(e,o){let s=o??t(),c=r(s,i(s)),l={info:e=>a.info(e),warn:e=>a.warn(e),error:e=>a.error(e),debug:e=>a.debug(e)},u=n({config:s,workspaceDir:c,logger:l}),d=new Set(e.commands.map(e=>e.name()));for(let t of u.cliRegistrars){if(t.commands.length>0){let e=t.commands.filter(e=>d.has(e));if(e.length>0){a.debug(`plugin CLI register skipped (${t.pluginId}): command already registered (${e.join(`, `)})`);continue}}try{let n=t.register({program:e,config:s,workspaceDir:c,logger:l});n&&typeof n.then==`function`&&n.catch(e=>{a.warn(`plugin CLI register failed (${t.pluginId}): ${String(e)}`)});for(let e of t.commands)d.add(e)}catch(e){a.warn(`plugin CLI register failed (${t.pluginId}): ${String(e)}`)}}}export{o as registerPluginCliCommands};
|
|
2
|
+
//# sourceMappingURL=cli-BcnoCo4z.js.map
|
package/dist/cli-D8T2tphD.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
1
|
import{t as e}from"./subsystem-BLbY429l.js";import"./paths-BjD3T_xq.js";import"./boolean-D15s2V33.js";import{jo as t}from"./auth-profiles-T8DuH3ax.js";import{d as n,f as r}from"./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-CKTicUKS.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-CW81y5Wz.js";import"./send-DavpkzhH.js";import{l as i}from"./compact-Dg66DXx_.js";import"./paths-BfjJY2VL.js";import"./chat-envelope-Bznn2SoS.js";import"./models-config-_htt7eY5.js";import"./tokens-DRM8vzJx.js";import"./with-timeout-c1CzdShT.js";import"./deliver-BHuhHfkH.js";import"./diagnostic-DQq4Bwrs.js";import"./send-DkiKKUkt.js";import"./pi-model-discovery-CpjYoBQf.js";import"./exec-approvals-allowlist-D8mN7nxV.js";import"./exec-safe-bin-runtime-policy-dcCS_Adf.js";import"./model-catalog-COVzoZD9.js";import"./fetch-CQaNr5J1.js";import"./audio-transcription-runner-Bd1OZC6K.js";import"./fetch-guard-BrTtJw7h.js";import"./image-BkWwI54C.js";import"./tool-display-DJDtttQg.js";import"./api-key-rotation-D0QU-kQ9.js";import"./proxy-fetch-gWETR3cl.js";import"./ir-D8Hh84ab.js";import"./render-DrrPmnMI.js";import"./target-errors-CgWAJOam.js";import"./commands-Dy7duWlt.js";import"./commands-registry-Cpl4QnG4.js";import"./session-cost-usage-CHtVgnE8.js";import"./session-utils-8acNlxwP.js";import"./sqlite-CILF3z9U.js";import"./call-B8Fb4_oh.js";import"./pi-tools.policy-D40r0HmD.js";import"./pairing-store-BH-FTYkn.js";import"./fetch-Dh-apy46.js";import"./skill-commands-CSF6wVPU.js";import"./workspace-dirs-A8Vib9_B.js";import"./pairing-token-DAR7V7FJ.js";import"./channel-activity-BBrgoad1.js";import"./tables-Brc2lNcB.js";import"./kill-tree-B3g7HrAO.js";import"./runtime-web-tools-D8fms06-.js";import"./runtime-Dlg2-Omq.js";import"./node-shell-DyOfwHrh.js";import"./stagger-DxzgG2jd.js";import"./channel-selection-BBeE1TmB.js";import"./plugin-auto-enable-NzmNh4oU.js";import"./send-CVplsJpw.js";import"./outbound-attachment-BgAe99RM.js";import"./delivery-queue-nkPJu0fY.js";import"./send-C48Y9SAq.js";import"./system-run-command-BKfMiqQM.js";import"./fetch-Ce-scEU-.js";import"./command-secret-targets-BlN-J_fA.js";import"./connection-auth-B_Uk6Vk8.js";import"./onboard-helpers-PGl5bVPE.js";import"./prompt-style-BThRSQJR.js";import"./pairing-labels-D-kzQEL2.js";import"./search-manager-Bp9x20r6.js";import"./manager-C2YW7Hkq.js";import"./memory-cli-XaxtBQm1.js";import"./links-CBnmRP9D.js";import"./cli-utils-BleB1eys.js";import"./help-format-B4aEI7V9.js";import"./progress-d1m2sqR1.js";import"./exec-approvals-BXO9Cezj.js";const a=e(`plugins`);function o(e,o){let s=o??t(),c=n(s,r(s)),l={info:e=>a.info(e),warn:e=>a.warn(e),error:e=>a.error(e),debug:e=>a.debug(e)},u=i({config:s,workspaceDir:c,logger:l}),d=new Set(e.commands.map(e=>e.name()));for(let t of u.cliRegistrars){if(t.commands.length>0){let e=t.commands.filter(e=>d.has(e));if(e.length>0){a.debug(`plugin CLI register skipped (${t.pluginId}): command already registered (${e.join(`, `)})`);continue}}try{let n=t.register({program:e,config:s,workspaceDir:c,logger:l});n&&typeof n.then==`function`&&n.catch(e=>{a.warn(`plugin CLI register failed (${t.pluginId}): ${String(e)}`)});for(let e of t.commands)d.add(e)}catch(e){a.warn(`plugin CLI register failed (${t.pluginId}): ${String(e)}`)}}}export{o as registerPluginCliCommands};
|
|
2
|
+
//# sourceMappingURL=cli-D8T2tphD.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
async function e(e){let{manager:t,error:n}=await e.getManager();if(!t){e.onMissing(n);return}try{await e.run(t)}finally{try{await e.close(t)}catch(t){e.onCloseError?.(t)}}}async function t(e,t,n){try{await t()}catch(t){if(n){n(t);return}e.error(String(t)),e.exit(1)}}function n(e,t){let n=e;for(;n;){let e=n.opts?.()??{};if(e[t]!==void 0)return e[t];n=n.parent??void 0}}export{t as n,e as r,n as t};
|
|
2
|
+
//# sourceMappingURL=cli-utils-BY7dLMFy.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
async function e(e){let{manager:t,error:n}=await e.getManager();if(!t){e.onMissing(n);return}try{await e.run(t)}finally{try{await e.close(t)}catch(t){e.onCloseError?.(t)}}}async function t(e,t,n){try{await t()}catch(t){if(n){n(t);return}e.error(String(t)),e.exit(1)}}function n(e,t){let n=e;for(;n;){let e=n.opts?.()??{};if(e[t]!==void 0)return e[t];n=n.parent??void 0}}export{t as n,e as r,n as t};
|
|
2
|
+
//# sourceMappingURL=cli-utils-BleB1eys.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
import{t as e}from"./exec-B3eleY5O.js";async function t(t){for(let n of[{argv:[`pbcopy`]},{argv:[`xclip`,`-selection`,`clipboard`]},{argv:[`wl-copy`]},{argv:[`clip.exe`]},{argv:[`powershell`,`-NoProfile`,`-Command`,`Set-Clipboard`]}])try{let r=await e(n.argv,{timeoutMs:3e3,input:t});if(r.code===0&&!r.killed)return!0}catch{}return!1}export{t};
|
|
2
|
+
//# sourceMappingURL=clipboard-Bk8cviBt.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
import{t as e}from"./exec-DHqLtFYt.js";async function t(t){for(let n of[{argv:[`pbcopy`]},{argv:[`xclip`,`-selection`,`clipboard`]},{argv:[`wl-copy`]},{argv:[`clip.exe`]},{argv:[`powershell`,`-NoProfile`,`-Command`,`Set-Clipboard`]}])try{let r=await e(n.argv,{timeoutMs:3e3,input:t});if(r.code===0&&!r.killed)return!0}catch{}return!1}export{t};
|
|
2
|
+
//# sourceMappingURL=clipboard-CKT_VIkG.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
import{t as e}from"./arg-split-DE5RqDHq.js";function t(e,t){if(/[\r\n]/.test(e))throw Error(`${t} cannot contain CR or LF in Windows task scripts.`)}function n(e){return e.replace(/\^/g,`^^`).replace(/%/g,`%%`).replace(/!/g,`^!`).replace(/"/g,`^"`)}function r(e){let t=``;for(let n=0;n<e.length;n+=1){let r=e[n],i=e[n+1];if(r===`^`&&(i===`^`||i===`"`||i===`!`)){t+=i,n+=1;continue}if(r===`%`&&i===`%`){t+=`%`,n+=1;continue}t+=r}return t}function i(e){let t=e.trim();if(!t)return null;let n=t.startsWith(`"`)&&t.endsWith(`"`)&&t.length>=2,i=n?t.slice(1,-1):t,a=i.indexOf(`=`);if(a<=0)return null;let o=i.slice(0,a).trim(),s=i.slice(a+1).trim();return o?n?{key:r(o),value:r(s)}:{key:o,value:s}:null}function a(e,r){return t(e,`Environment variable name`),t(r,`Environment variable value`),`set "${n(e)}=${n(r)}"`}function o(e){if(t(e,`Command argument`),!e)return`""`;let n=e.replace(/"/g,`\\"`).replace(/%/g,`%%`).replace(/!/g,`^!`);return/[ \t"&|<>^()%!]/g.test(e)?`"${n}"`:n}function s(e){return e.replace(/\^!/g,`!`).replace(/%%/g,`%`)}function c(t){return e(t,{escapeMode:`backslash-quote-only`}).map(s)}export{a,i,o as n,t as r,c as t};
|
|
2
|
+
//# sourceMappingURL=cmd-argv-BBT5l8AV.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
import{t as e}from"./arg-split-BOqSMBuf.js";function t(e,t){if(/[\r\n]/.test(e))throw Error(`${t} cannot contain CR or LF in Windows task scripts.`)}function n(e){return e.replace(/\^/g,`^^`).replace(/%/g,`%%`).replace(/!/g,`^!`).replace(/"/g,`^"`)}function r(e){let t=``;for(let n=0;n<e.length;n+=1){let r=e[n],i=e[n+1];if(r===`^`&&(i===`^`||i===`"`||i===`!`)){t+=i,n+=1;continue}if(r===`%`&&i===`%`){t+=`%`,n+=1;continue}t+=r}return t}function i(e){let t=e.trim();if(!t)return null;let n=t.startsWith(`"`)&&t.endsWith(`"`)&&t.length>=2,i=n?t.slice(1,-1):t,a=i.indexOf(`=`);if(a<=0)return null;let o=i.slice(0,a).trim(),s=i.slice(a+1).trim();return o?n?{key:r(o),value:r(s)}:{key:o,value:s}:null}function a(e,r){return t(e,`Environment variable name`),t(r,`Environment variable value`),`set "${n(e)}=${n(r)}"`}function o(e){if(t(e,`Command argument`),!e)return`""`;let n=e.replace(/"/g,`\\"`).replace(/%/g,`%%`).replace(/!/g,`^!`);return/[ \t"&|<>^()%!]/g.test(e)?`"${n}"`:n}function s(e){return e.replace(/\^!/g,`!`).replace(/%%/g,`%`)}function c(t){return e(t,{escapeMode:`backslash-quote-only`}).map(s)}export{a,i,o as n,t as r,c as t};
|
|
2
|
+
//# sourceMappingURL=cmd-argv-Bh-KpaZ0.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
import e from"node:path";const t=`openclaw`,n=new Set([t]),r=/^(?:((?:pnpm|npm|bunx|npx)\s+))?(openclaw)\b/;function i(r=process.argv){let i=r[1];if(!i)return t;let a=e.basename(i).trim();return n.has(a)?a:t}function a(e,t=i()){return!e.trim()||!r.test(e)?e:e.replace(r,(e,n)=>`${n??``}${t}`)}const o=/^[a-z0-9][a-z0-9_-]{0,63}$/i;function s(e){return e?o.test(e):!1}function c(e){let t=e?.trim();return!t||t.toLowerCase()===`default`||!s(t)?null:t}const l=/^(?:pnpm|npm|bunx|npx)\s+openclaw\b|^openclaw\b/,u=/(?:^|\s)--profile(?:\s|=|$)/,d=/(?:^|\s)--dev(?:\s|$)/;function f(e,t=process.env){let n=a(e,i()),r=c(t.OPENCLAW_PROFILE);return!r||!l.test(n)||u.test(n)||d.test(n)?n:n.replace(l,e=>`${e} --profile ${r}`)}export{a as n,i as r,f as t};
|
|
2
|
+
//# sourceMappingURL=command-format-BbDT1tlm.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
import{n as e}from"./profile-utils-CWmra1aY.js";import t from"node:path";const n=`openclaw`,r=new Set([n]),i=/^(?:((?:pnpm|npm|bunx|npx)\s+))?(openclaw)\b/;function a(e=process.argv){let i=e[1];if(!i)return n;let a=t.basename(i).trim();return r.has(a)?a:n}function o(e,t=a()){return!e.trim()||!i.test(e)?e:e.replace(i,(e,n)=>`${n??``}${t}`)}const s=/^(?:pnpm|npm|bunx|npx)\s+openclaw\b|^openclaw\b/,c=/(?:^|\s)--profile(?:\s|=|$)/,l=/(?:^|\s)--dev(?:\s|$)/;function u(t,n=process.env){let r=o(t,a()),i=e(n.OPENCLAW_PROFILE);return!i||!s.test(r)||c.test(r)||l.test(r)?r:r.replace(s,e=>`${e} --profile ${i}`)}export{o as n,a as r,u as t};
|
|
2
|
+
//# sourceMappingURL=command-format-CLxIPuLR.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
function e(e,t){return typeof e.getOptionValueSource==`function`?t.some(t=>e.getOptionValueSource(t)===`cli`):!1}function t(e,t){if(typeof e.getOptionValueSource==`function`)return e.getOptionValueSource(t)}function n(e,n){if(!e)return;let r=t(e,n);if(r&&r!==`default`)return;let i=0,a=e.parent;for(;a&&i<2;){let e=t(a,n);if(e&&e!==`default`)return a.opts()[n];i+=1,a=a.parent}}export{n,e as t};
|
|
2
|
+
//# sourceMappingURL=command-options-BpOUDl2S.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
function e(e,t){return typeof e.getOptionValueSource==`function`?t.some(t=>e.getOptionValueSource(t)===`cli`):!1}function t(e,t){if(typeof e.getOptionValueSource==`function`)return e.getOptionValueSource(t)}function n(e,n){if(!e)return;let r=t(e,n);if(r&&r!==`default`)return;let i=0,a=e.parent;for(;a&&i<2;){let e=t(a,n);if(e&&e!==`default`)return a.opts()[n];i+=1,a=a.parent}}export{n,e as t};
|
|
2
|
+
//# sourceMappingURL=command-options-Bq5nQxz6.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
const e=[5e3,1e4,3e4,6e4];function t(t){return e[Math.min(t,e.length-1)]??6e4}function n(n,r,i){n.commandPollCounts||=new Map;let a=n.commandPollCounts.get(r),o=Date.now();if(i)return n.commandPollCounts.set(r,{count:0,lastPollAt:o}),e[0]??5e3;let s=(a?.count??-1)+1;return n.commandPollCounts.set(r,{count:s,lastPollAt:o}),t(s)}function r(e,t){e.commandPollCounts?.delete(t)}function i(e,t=36e5){if(!e.commandPollCounts)return;let n=Date.now();for(let[r,i]of e.commandPollCounts.entries())n-i.lastPollAt>t&&e.commandPollCounts.delete(r)}export{n,r,i as t};
|
|
2
|
+
//# sourceMappingURL=command-poll-backoff-BZLHYB2k.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
const e=[5e3,1e4,3e4,6e4];function t(t){return e[Math.min(t,e.length-1)]??6e4}function n(n,r,i){n.commandPollCounts||=new Map;let a=n.commandPollCounts.get(r),o=Date.now();if(i)return n.commandPollCounts.set(r,{count:0,lastPollAt:o}),e[0]??5e3;let s=(a?.count??-1)+1;return n.commandPollCounts.set(r,{count:s,lastPollAt:o}),t(s)}function r(e,t){e.commandPollCounts?.delete(t)}function i(e,t=36e5){if(!e.commandPollCounts)return;let n=Date.now();for(let[r,i]of e.commandPollCounts.entries())n-i.lastPollAt>t&&e.commandPollCounts.delete(r)}export{n,r,i as t};
|
|
2
|
+
//# sourceMappingURL=command-poll-backoff-Cww_r-24.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
const e=[5e3,1e4,3e4,6e4];function t(t){return e[Math.min(t,e.length-1)]??6e4}function n(n,r,i){n.commandPollCounts||=new Map;let a=n.commandPollCounts.get(r),o=Date.now();if(i)return n.commandPollCounts.set(r,{count:0,lastPollAt:o}),e[0]??5e3;let s=(a?.count??-1)+1;return n.commandPollCounts.set(r,{count:s,lastPollAt:o}),t(s)}function r(e,t){e.commandPollCounts?.delete(t)}function i(e,t=36e5){if(!e.commandPollCounts)return;let n=Date.now();for(let[r,i]of e.commandPollCounts.entries())n-i.lastPollAt>t&&e.commandPollCounts.delete(r)}export{n,r,i as t};
|
|
2
|
+
//# sourceMappingURL=command-poll-backoff-Df6cOQrX.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
const e=[5e3,1e4,3e4,6e4];function t(t){return e[Math.min(t,e.length-1)]??6e4}function n(n,r,i){n.commandPollCounts||=new Map;let a=n.commandPollCounts.get(r),o=Date.now();if(i)return n.commandPollCounts.set(r,{count:0,lastPollAt:o}),e[0]??5e3;let s=(a?.count??-1)+1;return n.commandPollCounts.set(r,{count:s,lastPollAt:o}),t(s)}function r(e,t){e.commandPollCounts?.delete(t)}function i(e,t=36e5){if(!e.commandPollCounts)return;let n=Date.now();for(let[r,i]of e.commandPollCounts.entries())n-i.lastPollAt>t&&e.commandPollCounts.delete(r)}export{n,r,i as t};
|
|
2
|
+
//# sourceMappingURL=command-poll-backoff-endAPdwn.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
import{t as e}from"./rolldown-runtime-CNxR59P3.js";import{J as t,Z as n}from"./subsystem-BLbY429l.js";import{i as r,o as i,s as a}from"./register.subclis-D-24j83X.js";var o=e({getCoreCliCommandNames:()=>u,getCoreCliCommandsWithSubcommands:()=>d,registerCoreCliByName:()=>m,registerCoreCliCommands:()=>h,registerProgramCommands:()=>g});const s=e=>!n(e),c=[{commands:[{name:`setup`,description:`Initialize local config and agent workspace`,hasSubcommands:!1}],register:async({program:e})=>{(await import(`./register.setup-BvsS-zgm.js`)).registerSetupCommand(e)}},{commands:[{name:`onboard`,description:`Interactive onboarding wizard for gateway, workspace, and skills`,hasSubcommands:!1}],register:async({program:e})=>{(await import(`./register.onboard-C3yL50_c.js`)).registerOnboardCommand(e)}},{commands:[{name:`configure`,description:`Interactive setup wizard for credentials, channels, gateway, and agent defaults`,hasSubcommands:!1}],register:async({program:e})=>{(await import(`./register.configure-BA5u9hT3.js`)).registerConfigureCommand(e)}},{commands:[{name:`config`,description:`Non-interactive config helpers (get/set/unset/file/validate). Default: starts setup wizard.`,hasSubcommands:!0}],register:async({program:e})=>{(await import(`./config-cli-CBte2b1h.js`)).registerConfigCli(e)}},{commands:[{name:`backup`,description:`Create and verify local backup archives for OpenClaw state`,hasSubcommands:!0}],register:async({program:e})=>{(await import(`./register.backup-PzF5rmeU.js`)).registerBackupCommand(e)}},{commands:[{name:`doctor`,description:`Health checks + quick fixes for the gateway and channels`,hasSubcommands:!1},{name:`dashboard`,description:`Open the Control UI with your current token`,hasSubcommands:!1},{name:`reset`,description:`Reset local config/state (keeps the CLI installed)`,hasSubcommands:!1},{name:`uninstall`,description:`Uninstall the gateway service + local data (CLI remains)`,hasSubcommands:!1}],register:async({program:e})=>{(await import(`./register.maintenance-r_MzNK3-.js`)).registerMaintenanceCommands(e)}},{commands:[{name:`message`,description:`Send, read, and manage messages`,hasSubcommands:!0}],register:async({program:e,ctx:t})=>{(await import(`./register.message-jcZ875be.js`)).registerMessageCommands(e,t)}},{commands:[{name:`memory`,description:`Search and reindex memory files`,hasSubcommands:!0}],register:async({program:e})=>{(await import(`./memory-cli-XaxtBQm1.js`).then(e=>e.t)).registerMemoryCli(e)}},{commands:[{name:`agent`,description:`Run one agent turn via the Gateway`,hasSubcommands:!1},{name:`agents`,description:`Manage isolated agents (workspaces, auth, routing)`,hasSubcommands:!0}],register:async({program:e,ctx:t})=>{(await import(`./register.agent-CX78s_X9.js`)).registerAgentCommands(e,{agentChannelOptions:t.agentChannelOptions})}},{commands:[{name:`status`,description:`Show channel health and recent session recipients`,hasSubcommands:!1},{name:`health`,description:`Fetch health from the running gateway`,hasSubcommands:!1},{name:`sessions`,description:`List stored conversation sessions`,hasSubcommands:!0}],register:async({program:e})=>{(await import(`./register.status-health-sessions-Dqmkw820.js`)).registerStatusHealthSessionsCommands(e)}},{commands:[{name:`browser`,description:`Manage OpenClaw's dedicated browser (Chrome/Chromium)`,hasSubcommands:!0}],register:async({program:e})=>{(await import(`./browser-cli-Dt0ds-an.js`)).registerBrowserCli(e)}}];function l(e){let t=new Set,n=[];for(let r of c)for(let i of r.commands)e&&!e(i)||t.has(i.name)||(t.add(i.name),n.push(i.name));return n}function u(){return l()}function d(){return l(e=>e.hasSubcommands)}function f(e,t){for(let n of t.commands)i(e,n.name)}function p(e,t,n,r){let i=e.command(r.name).description(r.description);i.allowUnknownOption(!0),i.allowExcessArguments(!0),i.action(async(...r)=>{f(e,n),await n.register({program:e,ctx:t,argv:process.argv}),await a(e,r)})}async function m(e,t,n,r=process.argv){let i=c.find(e=>e.commands.some(e=>e.name===n));return i?(f(e,i),await i.register({program:e,ctx:t,argv:r}),!0):!1}function h(e,n,r){let i=t(r);if(i&&s(r)){let t=c.find(e=>e.commands.some(e=>e.name===i));if(t){let r=t.commands.find(e=>e.name===i);r&&p(e,n,t,r);return}}for(let t of c)for(let r of t.commands)p(e,n,t,r)}function g(e,t,n=process.argv){h(e,t,n),r(e,n)}export{g as a,m as i,u as n,d as r,o as t};
|
|
2
|
+
//# sourceMappingURL=command-registry-CfuXCRwV.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
import{Es as e,Si as t,ws as n,xi as r}from"./model-selection-BlC_rXAN.js";import{d as i}from"./types.secrets-C-5U96pc.js";import{Dt as a,n as o}from"./call-CqoMqP5b.js";import{C as s,T as c,_ as l,l as u,n as d,o as f,p,t as m,y as h}from"./runtime-web-tools-bz76ZaRc.js";const g=[`tools.web.search`,`tools.web.fetch.firecrawl`],_=[`tools.web.search.`,`tools.web.fetch.firecrawl.`];function v(e){let t=new Set,n=[];for(let r of e){let e=r.trim();!e||t.has(e)||(t.add(e),n.push(e))}return n}function y(e){return _.some(t=>e.startsWith(t))}function b(e){if(e.allowedPaths){for(let t of e.allowedPaths)if(y(t))return!0;return!1}for(let t of e.targetIds)if(g.some(e=>t.startsWith(e)))return!0;return!1}function x(e){let t=e.config.secrets?.defaults,n=new Set;for(let r of p(e.config,e.targetIds)){let{ref:e}=i({value:r.value,refValue:r.refValue,defaults:t});e&&n.add(r.path)}return n}function S(e){if(e.configuredTargetRefPaths.size===0)return{hasActiveConfiguredRef:!1,hasUnknownConfiguredRef:!1,diagnostics:[]};let t=f({sourceConfig:e.config,env:process.env});d({config:structuredClone(e.config),context:t});let n=new Set(t.assignments.map(e=>e.path)),r=new Map;for(let e of t.warnings)e.code===`SECRETS_REF_IGNORED_INACTIVE_SURFACE`&&r.set(e.path,e.message);let i=new Set,a=!1,o=!1;for(let t of e.configuredTargetRefPaths){if(n.has(t)){a=!0;continue}let e=r.get(t);if(e){i.add(e);continue}o=!0}return{hasActiveConfiguredRef:a,hasUnknownConfiguredRef:o,diagnostics:[...i]}}function C(e){if(!a(e))throw Error(`gateway returned invalid secrets.resolve payload.`);let t=e;return{assignments:t.assignments??[],diagnostics:(t.diagnostics??[]).filter(e=>e.trim().length>0),inactiveRefPaths:(t.inactiveRefPaths??[]).filter(e=>e.trim().length>0)}}function w(e){let t=new Set;for(let n of e){let e=n.indexOf(`: secret ref is configured on an inactive surface;`);if(e<=0)continue;let r=n.slice(0,e).trim();r.length>0&&t.add(r)}return t}function T(t){let n=e(t).toLowerCase();return n.includes(`secrets.resolve`)?n.includes(`does not support required method`)||n.includes(`unknown method`)||n.includes(`method not found`)||n.includes(`invalid request`):!1}async function E(t){let n=t.config,r=structuredClone(t.config),i=f({sourceConfig:n,env:process.env}),a=[];if(d({config:structuredClone(t.config),context:i}),b({targetIds:t.targetIds,allowedPaths:t.allowedPaths}))try{await m({sourceConfig:n,resolvedConfig:r,context:i})}catch(n){if(t.mode===`strict`)throw n;a.push(`${t.commandName}: failed to resolve web tool secrets locally (${e(n)}).`)}let o=new Set(i.warnings.filter(e=>e.code===`SECRETS_REF_IGNORED_INACTIVE_SURFACE`).filter(e=>!t.allowedPaths||t.allowedPaths.has(e.path)).map(e=>e.path)),s=i.warnings.filter(e=>e.code===`SECRETS_REF_IGNORED_INACTIVE_SURFACE`).filter(e=>!t.allowedPaths||t.allowedPaths.has(e.path)).map(e=>e.message),c=new Set(i.assignments.map(e=>e.path));for(let e of p(n,t.targetIds))t.allowedPaths&&!t.allowedPaths.has(e.path)||await j({target:e,sourceConfig:n,resolvedConfig:r,env:i.env,cache:i.cache,activePaths:c,inactiveRefPaths:o,mode:t.mode,commandName:t.commandName,localResolutionDiagnostics:a});let l=u({sourceConfig:n,resolvedConfig:r,targetIds:t.targetIds,inactiveRefPaths:o,...t.allowedPaths?{allowedPaths:t.allowedPaths}:{}}),h=D({analyzed:l,resolvedState:`resolved_local`});if(t.mode!==`strict`&&l.unresolved.length>0)k(r,l.unresolved);else if(l.unresolved.length>0)throw Error(`${t.commandName}: ${l.unresolved[0]?.path??`target`} is unresolved in the active runtime snapshot.`);return{resolvedConfig:r,diagnostics:v([...t.preflightDiagnostics,...s,...A({diagnostics:l.diagnostics,inactiveRefPaths:o}),...a,...O(t.commandName,l.unresolved,t.mode)]),targetStatesByPath:h,hadUnresolvedTargets:l.unresolved.length>0}}function D(e){let t={};for(let n of e.analyzed.assignments)t[n.path]=e.resolvedState;for(let n of e.analyzed.inactive)t[n.path]=`inactive_surface`;for(let n of e.analyzed.unresolved)t[n.path]=`unresolved`;return t}function O(e,t,n){return n===`strict`?[]:t.map(t=>`${e}: ${t.path} is unavailable in this command path; continuing with degraded read-only config.`)}function k(e,t){for(let n of t)c(e,n.pathSegments,void 0)}function A(e){return e.diagnostics.filter(t=>{let n=t.indexOf(`: secret ref is configured on an inactive surface;`);if(n<=0)return!0;let r=t.slice(0,n).trim();return!e.inactiveRefPaths.has(r)})}async function j(t){let r=t.sourceConfig.secrets?.defaults,{ref:a}=i({value:t.target.value,refValue:t.target.refValue,defaults:r});if(!(!a||t.inactiveRefPaths.has(t.target.path)||!t.activePaths.has(t.target.path)))try{let e=await n(a,{config:t.sourceConfig,env:t.env,cache:t.cache});h({value:e,expected:t.target.entry.expectedResolvedValue,errorMessage:t.target.entry.expectedResolvedValue===`string`?`${t.target.path} resolved to a non-string or empty value.`:`${t.target.path} resolved to an unsupported value type.`}),c(t.resolvedConfig,t.target.pathSegments,e)}catch(n){t.mode!==`strict`&&t.localResolutionDiagnostics.push(`${t.commandName}: failed to resolve ${t.target.path} locally (${e(n)}).`)}}async function M(n){let i=n.mode??`strict`,a=x({config:n.config,targetIds:n.targetIds});if(a.size===0)return{resolvedConfig:n.config,diagnostics:[],targetStatesByPath:{},hadUnresolvedTargets:!1};let l=S({config:n.config,configuredTargetRefPaths:a});if(!l.hasActiveConfiguredRef&&!l.hasUnknownConfiguredRef)return{resolvedConfig:n.config,diagnostics:l.diagnostics,targetStatesByPath:{},hadUnresolvedTargets:!1};let d;try{d=await o({config:n.config,method:`secrets.resolve`,requiredMethods:[`secrets.resolve`],params:{commandName:n.commandName,targetIds:[...n.targetIds]},timeoutMs:3e4,clientName:t.CLI,mode:r.CLI})}catch(t){try{let r=await E({config:n.config,commandName:n.commandName,targetIds:n.targetIds,preflightDiagnostics:l.diagnostics,mode:i}),a=Object.values(r.targetStatesByPath).some(e=>e===`resolved_local`)&&!r.hadUnresolvedTargets?`resolved command secrets locally.`:`attempted local command-secret resolution.`;return{resolvedConfig:r.resolvedConfig,diagnostics:v([...r.diagnostics,`${n.commandName}: gateway secrets.resolve unavailable (${e(t)}); ${a}`]),targetStatesByPath:r.targetStatesByPath,hadUnresolvedTargets:r.hadUnresolvedTargets}}catch{}throw T(t)?Error(`${n.commandName}: active gateway does not support secrets.resolve (${e(t)}). Update the gateway or run without SecretRefs.`,{cause:t}):Error(`${n.commandName}: failed to resolve secrets from the active gateway snapshot (${e(t)}). Start the gateway and retry.`,{cause:t})}let f=C(d),p=structuredClone(n.config);for(let t of f.assignments){let r=t.pathSegments.filter(e=>e.length>0);if(r.length!==0)try{c(p,r,t.value)}catch(t){let i=r.join(`.`);throw Error(`${n.commandName}: failed to apply resolved secret assignment at ${i} (${e(t)}).`,{cause:t})}}let m=f.inactiveRefPaths.length>0?new Set(f.inactiveRefPaths):w(f.diagnostics),h=u({sourceConfig:n.config,resolvedConfig:p,targetIds:n.targetIds,inactiveRefPaths:m}),g=v(f.diagnostics),_=D({analyzed:h,resolvedState:`resolved_gateway`});if(h.unresolved.length>0)try{let e=await E({config:n.config,commandName:n.commandName,targetIds:n.targetIds,preflightDiagnostics:[],mode:i,allowedPaths:new Set(h.unresolved.map(e=>e.path))});for(let t of h.unresolved)e.targetStatesByPath[t.path]===`resolved_local`&&(c(p,t.pathSegments,s(e.resolvedConfig,t.pathSegments)),_[t.path]=`resolved_local`);let t=new Set(Object.entries(e.targetStatesByPath).filter(([,e])=>e===`resolved_local`).map(([e])=>e)),r=h.unresolved.filter(e=>!t.has(e.path));if(r.length>0){if(i===`strict`)throw Error(`${n.commandName}: ${r[0]?.path??`target`} is unresolved in the active runtime snapshot.`);k(p,r),g=v([...g,...e.diagnostics,...O(n.commandName,r,i)]);for(let e of r)_[e.path]=`unresolved`}else t.size>0&&(g=v([...g,`${n.commandName}: resolved ${t.size} secret ${t.size===1?`path`:`paths`} locally after the gateway snapshot was incomplete.`]))}catch(t){if(i===`strict`)throw t;k(p,h.unresolved),g=v([...g,`${n.commandName}: local fallback after incomplete gateway snapshot failed (${e(t)}).`,...O(n.commandName,h.unresolved,i)])}return{resolvedConfig:p,diagnostics:g,targetStatesByPath:_,hadUnresolvedTargets:Object.values(_).includes(`unresolved`)}}function N(e){return l().map(e=>e.id).filter(t=>e.some(e=>t.startsWith(e))).toSorted()}const P={memory:[`agents.defaults.memorySearch.remote.apiKey`,`agents.list[].memorySearch.remote.apiKey`],qrRemote:[`gateway.remote.token`,`gateway.remote.password`],channels:N([`channels.`]),models:N([`models.providers.`]),agentRuntime:N([`channels.`,`models.providers.`,`agents.defaults.memorySearch.remote.`,`agents.list[].memorySearch.remote.`,`skills.entries.`,`messages.tts.`,`tools.web.search`,`tools.web.fetch.firecrawl.`]),status:N([`channels.`,`agents.defaults.memorySearch.remote.`,`agents.list[].memorySearch.remote.`])};function F(e){return new Set(e)}function I(){return F(P.memory)}function L(){return F(P.qrRemote)}function R(){return F(P.channels)}function z(){return F(P.models)}function B(){return F(P.agentRuntime)}function V(){return F(P.status)}export{L as a,z as i,R as n,V as o,I as r,M as s,B as t};
|
|
2
|
+
//# sourceMappingURL=command-secret-targets-BVN3kiT9.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
import{co as e,lr as t,uo as n,ur as r}from"./auth-profiles-T8DuH3ax.js";import{d as i}from"./types.secrets-D4tbc3Wq.js";import{Dt as a,n as o}from"./call-B8Fb4_oh.js";import{C as s,T as c,_ as l,l as u,n as d,o as f,p,t as m,y as h}from"./runtime-web-tools-D8fms06-.js";const g=[`tools.web.search`,`tools.web.fetch.firecrawl`],_=[`tools.web.search.`,`tools.web.fetch.firecrawl.`];function v(e){let t=new Set,n=[];for(let r of e){let e=r.trim();!e||t.has(e)||(t.add(e),n.push(e))}return n}function y(e){return _.some(t=>e.startsWith(t))}function b(e){if(e.allowedPaths){for(let t of e.allowedPaths)if(y(t))return!0;return!1}for(let t of e.targetIds)if(g.some(e=>t.startsWith(e)))return!0;return!1}function x(e){let t=e.config.secrets?.defaults,n=new Set;for(let r of p(e.config,e.targetIds)){let{ref:e}=i({value:r.value,refValue:r.refValue,defaults:t});e&&n.add(r.path)}return n}function S(e){if(e.configuredTargetRefPaths.size===0)return{hasActiveConfiguredRef:!1,hasUnknownConfiguredRef:!1,diagnostics:[]};let t=f({sourceConfig:e.config,env:process.env});d({config:structuredClone(e.config),context:t});let n=new Set(t.assignments.map(e=>e.path)),r=new Map;for(let e of t.warnings)e.code===`SECRETS_REF_IGNORED_INACTIVE_SURFACE`&&r.set(e.path,e.message);let i=new Set,a=!1,o=!1;for(let t of e.configuredTargetRefPaths){if(n.has(t)){a=!0;continue}let e=r.get(t);if(e){i.add(e);continue}o=!0}return{hasActiveConfiguredRef:a,hasUnknownConfiguredRef:o,diagnostics:[...i]}}function C(e){if(!a(e))throw Error(`gateway returned invalid secrets.resolve payload.`);let t=e;return{assignments:t.assignments??[],diagnostics:(t.diagnostics??[]).filter(e=>e.trim().length>0),inactiveRefPaths:(t.inactiveRefPaths??[]).filter(e=>e.trim().length>0)}}function w(e){let t=new Set;for(let n of e){let e=n.indexOf(`: secret ref is configured on an inactive surface;`);if(e<=0)continue;let r=n.slice(0,e).trim();r.length>0&&t.add(r)}return t}function T(e){let t=n(e).toLowerCase();return t.includes(`secrets.resolve`)?t.includes(`does not support required method`)||t.includes(`unknown method`)||t.includes(`method not found`)||t.includes(`invalid request`):!1}async function E(e){let t=e.config,r=structuredClone(e.config),i=f({sourceConfig:t,env:process.env}),a=[];if(d({config:structuredClone(e.config),context:i}),b({targetIds:e.targetIds,allowedPaths:e.allowedPaths}))try{await m({sourceConfig:t,resolvedConfig:r,context:i})}catch(t){if(e.mode===`strict`)throw t;a.push(`${e.commandName}: failed to resolve web tool secrets locally (${n(t)}).`)}let o=new Set(i.warnings.filter(e=>e.code===`SECRETS_REF_IGNORED_INACTIVE_SURFACE`).filter(t=>!e.allowedPaths||e.allowedPaths.has(t.path)).map(e=>e.path)),s=i.warnings.filter(e=>e.code===`SECRETS_REF_IGNORED_INACTIVE_SURFACE`).filter(t=>!e.allowedPaths||e.allowedPaths.has(t.path)).map(e=>e.message),c=new Set(i.assignments.map(e=>e.path));for(let n of p(t,e.targetIds))e.allowedPaths&&!e.allowedPaths.has(n.path)||await j({target:n,sourceConfig:t,resolvedConfig:r,env:i.env,cache:i.cache,activePaths:c,inactiveRefPaths:o,mode:e.mode,commandName:e.commandName,localResolutionDiagnostics:a});let l=u({sourceConfig:t,resolvedConfig:r,targetIds:e.targetIds,inactiveRefPaths:o,...e.allowedPaths?{allowedPaths:e.allowedPaths}:{}}),h=D({analyzed:l,resolvedState:`resolved_local`});if(e.mode!==`strict`&&l.unresolved.length>0)k(r,l.unresolved);else if(l.unresolved.length>0)throw Error(`${e.commandName}: ${l.unresolved[0]?.path??`target`} is unresolved in the active runtime snapshot.`);return{resolvedConfig:r,diagnostics:v([...e.preflightDiagnostics,...s,...A({diagnostics:l.diagnostics,inactiveRefPaths:o}),...a,...O(e.commandName,l.unresolved,e.mode)]),targetStatesByPath:h,hadUnresolvedTargets:l.unresolved.length>0}}function D(e){let t={};for(let n of e.analyzed.assignments)t[n.path]=e.resolvedState;for(let n of e.analyzed.inactive)t[n.path]=`inactive_surface`;for(let n of e.analyzed.unresolved)t[n.path]=`unresolved`;return t}function O(e,t,n){return n===`strict`?[]:t.map(t=>`${e}: ${t.path} is unavailable in this command path; continuing with degraded read-only config.`)}function k(e,t){for(let n of t)c(e,n.pathSegments,void 0)}function A(e){return e.diagnostics.filter(t=>{let n=t.indexOf(`: secret ref is configured on an inactive surface;`);if(n<=0)return!0;let r=t.slice(0,n).trim();return!e.inactiveRefPaths.has(r)})}async function j(t){let r=t.sourceConfig.secrets?.defaults,{ref:a}=i({value:t.target.value,refValue:t.target.refValue,defaults:r});if(!(!a||t.inactiveRefPaths.has(t.target.path)||!t.activePaths.has(t.target.path)))try{let n=await e(a,{config:t.sourceConfig,env:t.env,cache:t.cache});h({value:n,expected:t.target.entry.expectedResolvedValue,errorMessage:t.target.entry.expectedResolvedValue===`string`?`${t.target.path} resolved to a non-string or empty value.`:`${t.target.path} resolved to an unsupported value type.`}),c(t.resolvedConfig,t.target.pathSegments,n)}catch(e){t.mode!==`strict`&&t.localResolutionDiagnostics.push(`${t.commandName}: failed to resolve ${t.target.path} locally (${n(e)}).`)}}async function M(e){let i=e.mode??`strict`,a=x({config:e.config,targetIds:e.targetIds});if(a.size===0)return{resolvedConfig:e.config,diagnostics:[],targetStatesByPath:{},hadUnresolvedTargets:!1};let l=S({config:e.config,configuredTargetRefPaths:a});if(!l.hasActiveConfiguredRef&&!l.hasUnknownConfiguredRef)return{resolvedConfig:e.config,diagnostics:l.diagnostics,targetStatesByPath:{},hadUnresolvedTargets:!1};let d;try{d=await o({config:e.config,method:`secrets.resolve`,requiredMethods:[`secrets.resolve`],params:{commandName:e.commandName,targetIds:[...e.targetIds]},timeoutMs:3e4,clientName:r.CLI,mode:t.CLI})}catch(t){try{let r=await E({config:e.config,commandName:e.commandName,targetIds:e.targetIds,preflightDiagnostics:l.diagnostics,mode:i}),a=Object.values(r.targetStatesByPath).some(e=>e===`resolved_local`)&&!r.hadUnresolvedTargets?`resolved command secrets locally.`:`attempted local command-secret resolution.`;return{resolvedConfig:r.resolvedConfig,diagnostics:v([...r.diagnostics,`${e.commandName}: gateway secrets.resolve unavailable (${n(t)}); ${a}`]),targetStatesByPath:r.targetStatesByPath,hadUnresolvedTargets:r.hadUnresolvedTargets}}catch{}throw T(t)?Error(`${e.commandName}: active gateway does not support secrets.resolve (${n(t)}). Update the gateway or run without SecretRefs.`,{cause:t}):Error(`${e.commandName}: failed to resolve secrets from the active gateway snapshot (${n(t)}). Start the gateway and retry.`,{cause:t})}let f=C(d),p=structuredClone(e.config);for(let t of f.assignments){let r=t.pathSegments.filter(e=>e.length>0);if(r.length!==0)try{c(p,r,t.value)}catch(t){let i=r.join(`.`);throw Error(`${e.commandName}: failed to apply resolved secret assignment at ${i} (${n(t)}).`,{cause:t})}}let m=f.inactiveRefPaths.length>0?new Set(f.inactiveRefPaths):w(f.diagnostics),h=u({sourceConfig:e.config,resolvedConfig:p,targetIds:e.targetIds,inactiveRefPaths:m}),g=v(f.diagnostics),_=D({analyzed:h,resolvedState:`resolved_gateway`});if(h.unresolved.length>0)try{let t=await E({config:e.config,commandName:e.commandName,targetIds:e.targetIds,preflightDiagnostics:[],mode:i,allowedPaths:new Set(h.unresolved.map(e=>e.path))});for(let e of h.unresolved)t.targetStatesByPath[e.path]===`resolved_local`&&(c(p,e.pathSegments,s(t.resolvedConfig,e.pathSegments)),_[e.path]=`resolved_local`);let n=new Set(Object.entries(t.targetStatesByPath).filter(([,e])=>e===`resolved_local`).map(([e])=>e)),r=h.unresolved.filter(e=>!n.has(e.path));if(r.length>0){if(i===`strict`)throw Error(`${e.commandName}: ${r[0]?.path??`target`} is unresolved in the active runtime snapshot.`);k(p,r),g=v([...g,...t.diagnostics,...O(e.commandName,r,i)]);for(let e of r)_[e.path]=`unresolved`}else n.size>0&&(g=v([...g,`${e.commandName}: resolved ${n.size} secret ${n.size===1?`path`:`paths`} locally after the gateway snapshot was incomplete.`]))}catch(t){if(i===`strict`)throw t;k(p,h.unresolved),g=v([...g,`${e.commandName}: local fallback after incomplete gateway snapshot failed (${n(t)}).`,...O(e.commandName,h.unresolved,i)])}return{resolvedConfig:p,diagnostics:g,targetStatesByPath:_,hadUnresolvedTargets:Object.values(_).includes(`unresolved`)}}function N(e){return l().map(e=>e.id).filter(t=>e.some(e=>t.startsWith(e))).toSorted()}const P={memory:[`agents.defaults.memorySearch.remote.apiKey`,`agents.list[].memorySearch.remote.apiKey`],qrRemote:[`gateway.remote.token`,`gateway.remote.password`],channels:N([`channels.`]),models:N([`models.providers.`]),agentRuntime:N([`channels.`,`models.providers.`,`agents.defaults.memorySearch.remote.`,`agents.list[].memorySearch.remote.`,`skills.entries.`,`messages.tts.`,`tools.web.search`,`tools.web.fetch.firecrawl.`]),status:N([`channels.`,`agents.defaults.memorySearch.remote.`,`agents.list[].memorySearch.remote.`])};function F(e){return new Set(e)}function I(){return F(P.memory)}function L(){return F(P.qrRemote)}function R(){return F(P.channels)}function z(){return F(P.models)}function B(){return F(P.agentRuntime)}function V(){return F(P.status)}export{L as a,z as i,R as n,V as o,I as r,M as s,B as t};
|
|
2
|
+
//# sourceMappingURL=command-secret-targets-BlN-J_fA.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
import{D as e}from"./utils-UGOV_184.js";import{r as t}from"./plugins-CYLrFT4h.js";function n(e){let n=t(e);return n?n===`discord`||n===`telegram`:!1}function r(e){return a(e)}function i(e){return a(e)}function a(e){let{providerId:t,providerSetting:r,globalSetting:i}=e,a=r===void 0?i:r;return a===!0?!0:a===!1?!1:n(t)}function o(e){let{providerSetting:t,globalSetting:n}=e;return t===!1?!0:t===void 0?n===!1:!1}function s(t,n){let{commands:r}=t??{};if(!(!e(r)||!Object.hasOwn(r,n)))return r[n]}function c(e,t){return s(e,t)===!0}function l(e){return s(e,`restart`)!==!1}export{r as a,i,o as n,l as r,c as t};
|
|
2
|
+
//# sourceMappingURL=commands-CGpM84iR.js.map
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
import{E as e}from"./utils-CGdo13HV.js";import{r as t}from"./plugins-DNlgeTTc.js";function n(e){let n=t(e);return n?n===`discord`||n===`telegram`:!1}function r(e){return a(e)}function i(e){return a(e)}function a(e){let{providerId:t,providerSetting:r,globalSetting:i}=e,a=r===void 0?i:r;return a===!0?!0:a===!1?!1:n(t)}function o(e){let{providerSetting:t,globalSetting:n}=e;return t===!1?!0:t===void 0?n===!1:!1}function s(t,n){let{commands:r}=t??{};if(!(!e(r)||!Object.hasOwn(r,n)))return r[n]}function c(e,t){return s(e,t)===!0}function l(e){return s(e,`restart`)!==!1}export{r as a,i,o as n,l as r,c as t};
|
|
2
|
+
//# sourceMappingURL=commands-Dy7duWlt.js.map
|
|
@@ -8,3 +8,4 @@ import{l as e}from"./utils-UGOV_184.js";import{Gr as t,_u as n,fu as r,h as i,pu
|
|
|
8
8
|
• Audio – Generate TTS from custom text
|
|
9
9
|
• Help – Show usage guide`}}),m({key:`whoami`,nativeName:`whoami`,description:`Show your sender id.`,textAlias:`/whoami`,category:`status`}),m({key:`session`,nativeName:`session`,description:`Manage session-level settings (for example /session idle).`,textAlias:`/session`,category:`session`,args:[{name:`action`,description:`idle | max-age`,type:`string`,choices:[`idle`,`max-age`]},{name:`value`,description:`Duration (24h, 90m) or off`,type:`string`,captureRemaining:!0}],argsMenu:`auto`}),m({key:`subagents`,nativeName:`subagents`,description:`List, kill, log, spawn, or steer subagent runs for this session.`,textAlias:`/subagents`,category:`management`,args:[{name:`action`,description:`list | kill | log | info | send | steer | spawn`,type:`string`,choices:[`list`,`kill`,`log`,`info`,`send`,`steer`,`spawn`]},{name:`target`,description:`Run id, index, or session key`,type:`string`},{name:`value`,description:`Additional input (limit/message)`,type:`string`,captureRemaining:!0}],argsMenu:`auto`}),m({key:`acp`,nativeName:`acp`,description:`Manage ACP sessions and runtime options.`,textAlias:`/acp`,category:`management`,args:[{name:`action`,description:`Action to run`,type:`string`,preferAutocomplete:!0,choices:[`spawn`,`cancel`,`steer`,`close`,`sessions`,`status`,`set-mode`,`set`,`cwd`,`permissions`,`timeout`,`model`,`reset-options`,`doctor`,`install`,`help`]},{name:`value`,description:`Action arguments`,type:`string`,captureRemaining:!0}],argsMenu:`auto`}),m({key:`focus`,nativeName:`focus`,description:`Bind this thread (Discord) or topic/conversation (Telegram) to a session target.`,textAlias:`/focus`,category:`management`,args:[{name:`target`,description:`Subagent label/index or session key/id/label`,type:`string`,captureRemaining:!0}]}),m({key:`unfocus`,nativeName:`unfocus`,description:`Remove the current thread (Discord) or topic/conversation (Telegram) binding.`,textAlias:`/unfocus`,category:`management`}),m({key:`agents`,nativeName:`agents`,description:`List thread-bound agents for this session.`,textAlias:`/agents`,category:`management`}),m({key:`kill`,nativeName:`kill`,description:`Kill a running subagent (or all).`,textAlias:`/kill`,category:`management`,args:[{name:`target`,description:`Label, run id, index, or all`,type:`string`}],argsMenu:`auto`}),m({key:`steer`,nativeName:`steer`,description:`Send guidance to a running subagent.`,textAlias:`/steer`,category:`management`,args:[{name:`target`,description:`Label, run id, or index`,type:`string`},{name:`message`,description:`Steering message`,type:`string`,captureRemaining:!0}]}),m({key:`config`,nativeName:`config`,description:`Show or set config values.`,textAlias:`/config`,category:`management`,args:[{name:`action`,description:`show | get | set | unset`,type:`string`,choices:[`show`,`get`,`set`,`unset`]},{name:`path`,description:`Config path`,type:`string`},{name:`value`,description:`Value for set`,type:`string`,captureRemaining:!0}],argsParsing:`none`,formatArgs:p.config}),m({key:`debug`,nativeName:`debug`,description:`Set runtime debug overrides.`,textAlias:`/debug`,category:`management`,args:[{name:`action`,description:`show | reset | set | unset`,type:`string`,choices:[`show`,`reset`,`set`,`unset`]},{name:`path`,description:`Debug path`,type:`string`},{name:`value`,description:`Value for set`,type:`string`,captureRemaining:!0}],argsParsing:`none`,formatArgs:p.debug}),m({key:`usage`,nativeName:`usage`,description:`Usage footer or cost summary.`,textAlias:`/usage`,category:`options`,args:[{name:`mode`,description:`off, tokens, full, or cost`,type:`string`,choices:[`off`,`tokens`,`full`,`cost`]}],argsMenu:`auto`}),m({key:`stop`,nativeName:`stop`,description:`Stop the current run.`,textAlias:`/stop`,category:`session`}),m({key:`restart`,nativeName:`restart`,description:`Restart OpenClaw.`,textAlias:`/restart`,category:`tools`}),m({key:`activation`,nativeName:`activation`,description:`Set group activation mode.`,textAlias:`/activation`,category:`management`,args:[{name:`mode`,description:`mention or always`,type:`string`,choices:[`mention`,`always`]}],argsMenu:`auto`}),m({key:`send`,nativeName:`send`,description:`Set send policy.`,textAlias:`/send`,category:`management`,args:[{name:`mode`,description:`on, off, or inherit`,type:`string`,choices:[`on`,`off`,`inherit`]}],argsMenu:`auto`}),m({key:`reset`,nativeName:`reset`,description:`Reset the current session.`,textAlias:`/reset`,acceptsArgs:!0,category:`session`}),m({key:`new`,nativeName:`new`,description:`Start a new session.`,textAlias:`/new`,acceptsArgs:!0,category:`session`}),m({key:`compact`,nativeName:`compact`,description:`Compact the session context.`,textAlias:`/compact`,category:`session`,args:[{name:`instructions`,description:`Extra compaction instructions`,type:`string`,captureRemaining:!0}]}),m({key:`think`,nativeName:`think`,description:`Set thinking level.`,textAlias:`/think`,category:`options`,args:[{name:`level`,description:`off, minimal, low, medium, high, xhigh`,type:`string`,choices:({provider:e,model:t})=>n(e,t)}],argsMenu:`auto`}),m({key:`verbose`,nativeName:`verbose`,description:`Toggle verbose mode.`,textAlias:`/verbose`,category:`options`,args:[{name:`mode`,description:`on or off`,type:`string`,choices:[`on`,`off`]}],argsMenu:`auto`}),m({key:`reasoning`,nativeName:`reasoning`,description:`Toggle reasoning visibility.`,textAlias:`/reasoning`,category:`options`,args:[{name:`mode`,description:`on, off, or stream`,type:`string`,choices:[`on`,`off`,`stream`]}],argsMenu:`auto`}),m({key:`elevated`,nativeName:`elevated`,description:`Toggle elevated mode.`,textAlias:`/elevated`,category:`options`,args:[{name:`mode`,description:`on, off, ask, or full`,type:`string`,choices:[`on`,`off`,`ask`,`full`]}],argsMenu:`auto`}),m({key:`exec`,nativeName:`exec`,description:`Set exec defaults for this session.`,textAlias:`/exec`,category:`options`,args:[{name:`host`,description:`sandbox, gateway, or node`,type:`string`,choices:[`sandbox`,`gateway`,`node`]},{name:`security`,description:`deny, allowlist, or full`,type:`string`,choices:[`deny`,`allowlist`,`full`]},{name:`ask`,description:`off, on-miss, or always`,type:`string`,choices:[`off`,`on-miss`,`always`]},{name:`node`,description:`Node id or name`,type:`string`}],argsParsing:`none`,formatArgs:p.exec}),m({key:`model`,nativeName:`model`,description:`Show or set the model.`,textAlias:`/model`,category:`options`,args:[{name:`model`,description:`Model id (provider/model or id)`,type:`string`}]}),m({key:`models`,nativeName:`models`,description:`List model providers or provider models.`,textAlias:`/models`,argsParsing:`none`,acceptsArgs:!0,category:`options`}),m({key:`queue`,nativeName:`queue`,description:`Adjust queue settings.`,textAlias:`/queue`,category:`options`,args:[{name:`mode`,description:`queue mode`,type:`string`,choices:[`steer`,`interrupt`,`followup`,`collect`,`steer-backlog`]},{name:`debounce`,description:`debounce duration (e.g. 500ms, 2s)`,type:`string`},{name:`cap`,description:`queue cap`,type:`number`},{name:`drop`,description:`drop policy`,type:`string`,choices:[`old`,`new`,`summarize`]}],argsParsing:`none`,formatArgs:p.queue}),m({key:`bash`,description:`Run host shell commands (host-only).`,textAlias:`/bash`,scope:`text`,category:`tools`,args:[{name:`command`,description:`Shell command`,type:`string`,captureRemaining:!0}]}),...t().filter(e=>e.capabilities.nativeCommands).map(e=>h(e))];return g(e,`whoami`,`/id`),g(e,`think`,`/thinking`,`/t`),g(e,`verbose`,`/v`),g(e,`reasoning`,`/reason`),g(e,`elevated`,`/elev`),g(e,`steer`,`/tell`),_(e),e}function C(){let e=o();if(v&&e===y)return v;let t=S();return v=t,y=e,b=null,t}function w(){let e=o();return b&&e===x?b:(b=new Set(t().filter(e=>e.capabilities.nativeCommands).map(e=>e.id)),x=e,b)}let T=null,E=null,D,O=null;function k(){let e=C();if(T&&E===e)return T;let t=new Map;for(let n of e){let e=n.textAliases[0]?.trim()||`/${n.key}`,r=!!n.acceptsArgs;for(let i of n.textAliases){let a=i.trim().toLowerCase();a&&(t.has(a)||t.set(a,{key:n.key,canonical:e,acceptsArgs:r}))}}return T=t,E=e,t}function A(e){return!e||e.length===0?[]:e.map(e=>({key:`skill:${e.skillName}`,nativeName:e.name,description:e.description,textAliases:[`/${e.name}`],acceptsArgs:!0,argsParsing:`none`,scope:`both`}))}function j(e){let t=C();return e?.skillCommands?.length?[...t,...A(e.skillCommands)]:[...t]}function M(e,t){return t===`config`?s(e,`config`):t===`debug`?s(e,`debug`):t===`bash`?s(e,`bash`):!0}function N(e,t){let n=C().filter(t=>M(e,t.key));return t?.skillCommands?.length?[...n,...A(t.skillCommands)]:n}const P={discord:{tts:`voice`},slack:{status:`agentstatus`}};function F(e,t){if(e.nativeName){if(t){let n=P[t]?.[e.key];if(n)return n}return e.nativeName}}function I(e,t){return{name:F(e,t)??e.key,description:e.description,acceptsArgs:!!e.acceptsArgs,args:e.args}}function L(e,t){return e.filter(e=>e.scope!==`text`&&e.nativeName).map(e=>I(e,t))}function R(e){return L(j({skillCommands:e?.skillCommands}),e?.provider)}function z(e,t){return L(N(e,t),t?.provider)}function B(e,t){let n=e.trim().toLowerCase();return C().find(e=>e.scope!==`text`&&F(e,t)?.toLowerCase()===n)}function V(e,t){let n=t?.trim();return n?`/${e} ${n}`:`/${e}`}function H(e,t){let n={},r=t.trim();if(!r)return n;let i=r.split(/\s+/).filter(Boolean),a=0;for(let t of e){if(a>=i.length)break;if(t.captureRemaining){n[t.name]=i.slice(a).join(` `),a=i.length;break}n[t.name]=i[a],a+=1}return n}function U(e,t){let n=[];for(let r of e){let e=t[r.name];if(e==null)continue;let i;if(i=typeof e==`string`?e.trim():String(e),i&&(n.push(i),r.captureRemaining))break}return n.length>0?n.join(` `):void 0}function W(e,t){let n=t?.trim();if(n)return!e.args||e.argsParsing===`none`?{raw:n}:{raw:n,values:H(e.args,n)}}function G(e,t){if(!t)return;let n=t.raw?.trim();if(n)return n;if(!(!t.values||!e.args))return e.formatArgs?e.formatArgs(t.values):U(e.args,t.values)}function K(e,t){return V(e.nativeName??e.key,G(e,t))}function q(e){let t=i({cfg:e??{},defaultProvider:a,defaultModel:r});return{provider:t.provider??`anthropic`,model:t.model??`claude-opus-4-6`}}function J(e){let{command:t,arg:n,cfg:r}=e;if(!n.choices)return[];let i=n.choices;return(Array.isArray(i)?i:(()=>{let a=q(r);return i({cfg:r,provider:e.provider??a.provider,model:e.model??a.model,command:t,arg:n})})()).map(e=>typeof e==`string`?{value:e,label:e}:e)}function Y(e){let{command:t,args:n,cfg:r}=e;if(!t.args||!t.argsMenu||t.argsParsing===`none`)return null;let i=t.argsMenu,a=i===`auto`?t.args.find(e=>J({command:t,arg:e,cfg:r}).length>0)?.name:i.arg;if(!a||n?.values&&n.values[a]!=null||n?.raw&&!n.values)return null;let o=t.args.find(e=>e.name===a);if(!o)return null;let s=J({command:t,arg:o,cfg:r});return s.length===0?null:{arg:o,choices:s,title:i===`auto`?void 0:i.title}}function X(e,t){let n=e.trim();if(!n.startsWith(`/`))return n;let r=n.indexOf(`
|
|
10
10
|
`),i=r===-1?n:n.slice(0,r).trim(),a=i.match(/^\/([^\s:]+)\s*:(.*)$/),o=a?(()=>{let[,e,t]=a,n=t.trimStart();return n?`/${e} ${n}`:`/${e}`})():i,s=t?.botUsername?.trim().toLowerCase(),c=s?o.match(/^\/([^\s@]+)@([^\s]+)(.*)$/):null,l=c&&c[2].toLowerCase()===s?`/${c[1]}${c[3]??``}`:o,u=l.toLowerCase(),d=k(),f=d.get(u);if(f)return f.canonical;let p=l.match(/^\/([^\s]+)(?:\s+([\s\S]+))?$/);if(!p)return l;let[,m,h]=p,g=`/${m.toLowerCase()}`,_=d.get(g);if(!_||h&&!_.acceptsArgs)return l;let v=h?.trimStart();return v?`${_.canonical} ${v}`:_.canonical}function Z(t){let n=C();if(D&&O===n)return D;let r=new Set,i=[];for(let t of n)for(let n of t.textAliases){let a=n.trim().toLowerCase();if(!a)continue;r.add(a);let o=e(a);o&&(t.acceptsArgs?i.push(`${o}(?:\\s+.+|\\s*:\\s*.*)?`):i.push(`${o}(?:\\s*:\\s*)?`))}return D={exact:r,regex:i.length?RegExp(`^(?:${i.join(`|`)})$`,`i`):/$^/},O=n,D}function Q(e,t){let n=X(e).trim();if(!n.startsWith(`/`))return null;let r=Z(t),i=n.toLowerCase();if(r.exact.has(i))return i;if(!r.regex.test(i))return null;let a=i.match(/^\/([^\s:]+)(?:\s|$)/);if(!a)return null;let o=`/${a[1]}`;return k().has(o)?o:null}function $(e){return e?w().has(e.toLowerCase()):!1}function ee(e){return e.commandSource===`native`||e.cfg.commands?.text!==!1?!0:!$(e.surface)}export{N as a,Q as c,J as d,Y as f,j as i,X as l,ee as m,B as n,R as o,G as p,M as r,z as s,K as t,W as u};
|
|
11
|
+
//# sourceMappingURL=commands-registry-B1x54ukc.js.map
|
|
@@ -8,3 +8,4 @@ import{Nn as e,Yc as t,b as n,du as r,fu as i}from"./auth-profiles-T8DuH3ax.js";
|
|
|
8
8
|
• Audio – Generate TTS from custom text
|
|
9
9
|
• Help – Show usage guide`}}),m({key:`whoami`,nativeName:`whoami`,description:`Show your sender id.`,textAlias:`/whoami`,category:`status`}),m({key:`session`,nativeName:`session`,description:`Manage session-level settings (for example /session idle).`,textAlias:`/session`,category:`session`,args:[{name:`action`,description:`idle | max-age`,type:`string`,choices:[`idle`,`max-age`]},{name:`value`,description:`Duration (24h, 90m) or off`,type:`string`,captureRemaining:!0}],argsMenu:`auto`}),m({key:`subagents`,nativeName:`subagents`,description:`List, kill, log, spawn, or steer subagent runs for this session.`,textAlias:`/subagents`,category:`management`,args:[{name:`action`,description:`list | kill | log | info | send | steer | spawn`,type:`string`,choices:[`list`,`kill`,`log`,`info`,`send`,`steer`,`spawn`]},{name:`target`,description:`Run id, index, or session key`,type:`string`},{name:`value`,description:`Additional input (limit/message)`,type:`string`,captureRemaining:!0}],argsMenu:`auto`}),m({key:`acp`,nativeName:`acp`,description:`Manage ACP sessions and runtime options.`,textAlias:`/acp`,category:`management`,args:[{name:`action`,description:`Action to run`,type:`string`,preferAutocomplete:!0,choices:[`spawn`,`cancel`,`steer`,`close`,`sessions`,`status`,`set-mode`,`set`,`cwd`,`permissions`,`timeout`,`model`,`reset-options`,`doctor`,`install`,`help`]},{name:`value`,description:`Action arguments`,type:`string`,captureRemaining:!0}],argsMenu:`auto`}),m({key:`focus`,nativeName:`focus`,description:`Bind this thread (Discord) or topic/conversation (Telegram) to a session target.`,textAlias:`/focus`,category:`management`,args:[{name:`target`,description:`Subagent label/index or session key/id/label`,type:`string`,captureRemaining:!0}]}),m({key:`unfocus`,nativeName:`unfocus`,description:`Remove the current thread (Discord) or topic/conversation (Telegram) binding.`,textAlias:`/unfocus`,category:`management`}),m({key:`agents`,nativeName:`agents`,description:`List thread-bound agents for this session.`,textAlias:`/agents`,category:`management`}),m({key:`kill`,nativeName:`kill`,description:`Kill a running subagent (or all).`,textAlias:`/kill`,category:`management`,args:[{name:`target`,description:`Label, run id, index, or all`,type:`string`}],argsMenu:`auto`}),m({key:`steer`,nativeName:`steer`,description:`Send guidance to a running subagent.`,textAlias:`/steer`,category:`management`,args:[{name:`target`,description:`Label, run id, or index`,type:`string`},{name:`message`,description:`Steering message`,type:`string`,captureRemaining:!0}]}),m({key:`config`,nativeName:`config`,description:`Show or set config values.`,textAlias:`/config`,category:`management`,args:[{name:`action`,description:`show | get | set | unset`,type:`string`,choices:[`show`,`get`,`set`,`unset`]},{name:`path`,description:`Config path`,type:`string`},{name:`value`,description:`Value for set`,type:`string`,captureRemaining:!0}],argsParsing:`none`,formatArgs:p.config}),m({key:`debug`,nativeName:`debug`,description:`Set runtime debug overrides.`,textAlias:`/debug`,category:`management`,args:[{name:`action`,description:`show | reset | set | unset`,type:`string`,choices:[`show`,`reset`,`set`,`unset`]},{name:`path`,description:`Debug path`,type:`string`},{name:`value`,description:`Value for set`,type:`string`,captureRemaining:!0}],argsParsing:`none`,formatArgs:p.debug}),m({key:`usage`,nativeName:`usage`,description:`Usage footer or cost summary.`,textAlias:`/usage`,category:`options`,args:[{name:`mode`,description:`off, tokens, full, or cost`,type:`string`,choices:[`off`,`tokens`,`full`,`cost`]}],argsMenu:`auto`}),m({key:`stop`,nativeName:`stop`,description:`Stop the current run.`,textAlias:`/stop`,category:`session`}),m({key:`restart`,nativeName:`restart`,description:`Restart OpenClaw.`,textAlias:`/restart`,category:`tools`}),m({key:`activation`,nativeName:`activation`,description:`Set group activation mode.`,textAlias:`/activation`,category:`management`,args:[{name:`mode`,description:`mention or always`,type:`string`,choices:[`mention`,`always`]}],argsMenu:`auto`}),m({key:`send`,nativeName:`send`,description:`Set send policy.`,textAlias:`/send`,category:`management`,args:[{name:`mode`,description:`on, off, or inherit`,type:`string`,choices:[`on`,`off`,`inherit`]}],argsMenu:`auto`}),m({key:`reset`,nativeName:`reset`,description:`Reset the current session.`,textAlias:`/reset`,acceptsArgs:!0,category:`session`}),m({key:`new`,nativeName:`new`,description:`Start a new session.`,textAlias:`/new`,acceptsArgs:!0,category:`session`}),m({key:`compact`,nativeName:`compact`,description:`Compact the session context.`,textAlias:`/compact`,category:`session`,args:[{name:`instructions`,description:`Extra compaction instructions`,type:`string`,captureRemaining:!0}]}),m({key:`think`,nativeName:`think`,description:`Set thinking level.`,textAlias:`/think`,category:`options`,args:[{name:`level`,description:`off, minimal, low, medium, high, xhigh`,type:`string`,choices:({provider:e,model:t})=>n(e,t)}],argsMenu:`auto`}),m({key:`verbose`,nativeName:`verbose`,description:`Toggle verbose mode.`,textAlias:`/verbose`,category:`options`,args:[{name:`mode`,description:`on or off`,type:`string`,choices:[`on`,`off`]}],argsMenu:`auto`}),m({key:`reasoning`,nativeName:`reasoning`,description:`Toggle reasoning visibility.`,textAlias:`/reasoning`,category:`options`,args:[{name:`mode`,description:`on, off, or stream`,type:`string`,choices:[`on`,`off`,`stream`]}],argsMenu:`auto`}),m({key:`elevated`,nativeName:`elevated`,description:`Toggle elevated mode.`,textAlias:`/elevated`,category:`options`,args:[{name:`mode`,description:`on, off, ask, or full`,type:`string`,choices:[`on`,`off`,`ask`,`full`]}],argsMenu:`auto`}),m({key:`exec`,nativeName:`exec`,description:`Set exec defaults for this session.`,textAlias:`/exec`,category:`options`,args:[{name:`host`,description:`sandbox, gateway, or node`,type:`string`,choices:[`sandbox`,`gateway`,`node`]},{name:`security`,description:`deny, allowlist, or full`,type:`string`,choices:[`deny`,`allowlist`,`full`]},{name:`ask`,description:`off, on-miss, or always`,type:`string`,choices:[`off`,`on-miss`,`always`]},{name:`node`,description:`Node id or name`,type:`string`}],argsParsing:`none`,formatArgs:p.exec}),m({key:`model`,nativeName:`model`,description:`Show or set the model.`,textAlias:`/model`,category:`options`,args:[{name:`model`,description:`Model id (provider/model or id)`,type:`string`}]}),m({key:`models`,nativeName:`models`,description:`List model providers or provider models.`,textAlias:`/models`,argsParsing:`none`,acceptsArgs:!0,category:`options`}),m({key:`queue`,nativeName:`queue`,description:`Adjust queue settings.`,textAlias:`/queue`,category:`options`,args:[{name:`mode`,description:`queue mode`,type:`string`,choices:[`steer`,`interrupt`,`followup`,`collect`,`steer-backlog`]},{name:`debounce`,description:`debounce duration (e.g. 500ms, 2s)`,type:`string`},{name:`cap`,description:`queue cap`,type:`number`},{name:`drop`,description:`drop policy`,type:`string`,choices:[`old`,`new`,`summarize`]}],argsParsing:`none`,formatArgs:p.queue}),m({key:`bash`,description:`Run host shell commands (host-only).`,textAlias:`/bash`,scope:`text`,category:`tools`,args:[{name:`command`,description:`Shell command`,type:`string`,captureRemaining:!0}]}),...e().filter(e=>e.capabilities.nativeCommands).map(e=>h(e))];return g(t,`whoami`,`/id`),g(t,`think`,`/thinking`,`/t`),g(t,`verbose`,`/v`),g(t,`reasoning`,`/reason`),g(t,`elevated`,`/elev`),g(t,`steer`,`/tell`),_(t),t}function C(){let e=o();if(v&&e===y)return v;let t=S();return v=t,y=e,b=null,t}function w(){let t=o();return b&&t===x?b:(b=new Set(e().filter(e=>e.capabilities.nativeCommands).map(e=>e.id)),x=t,b)}let T=null,E=null,D,O=null;function k(){let e=C();if(T&&E===e)return T;let t=new Map;for(let n of e){let e=n.textAliases[0]?.trim()||`/${n.key}`,r=!!n.acceptsArgs;for(let i of n.textAliases){let a=i.trim().toLowerCase();a&&(t.has(a)||t.set(a,{key:n.key,canonical:e,acceptsArgs:r}))}}return T=t,E=e,t}function A(e){return!e||e.length===0?[]:e.map(e=>({key:`skill:${e.skillName}`,nativeName:e.name,description:e.description,textAliases:[`/${e.name}`],acceptsArgs:!0,argsParsing:`none`,scope:`both`}))}function j(e){let t=C();return e?.skillCommands?.length?[...t,...A(e.skillCommands)]:[...t]}function M(e,t){return t===`config`?s(e,`config`):t===`debug`?s(e,`debug`):t===`bash`?s(e,`bash`):!0}function N(e,t){let n=C().filter(t=>M(e,t.key));return t?.skillCommands?.length?[...n,...A(t.skillCommands)]:n}const P={discord:{tts:`voice`},slack:{status:`agentstatus`}};function F(e,t){if(e.nativeName){if(t){let n=P[t]?.[e.key];if(n)return n}return e.nativeName}}function I(e,t){return{name:F(e,t)??e.key,description:e.description,acceptsArgs:!!e.acceptsArgs,args:e.args}}function L(e,t){return e.filter(e=>e.scope!==`text`&&e.nativeName).map(e=>I(e,t))}function R(e){return L(j({skillCommands:e?.skillCommands}),e?.provider)}function z(e,t){return L(N(e,t),t?.provider)}function B(e,t){let n=e.trim().toLowerCase();return C().find(e=>e.scope!==`text`&&F(e,t)?.toLowerCase()===n)}function V(e,t){let n=t?.trim();return n?`/${e} ${n}`:`/${e}`}function H(e,t){let n={},r=t.trim();if(!r)return n;let i=r.split(/\s+/).filter(Boolean),a=0;for(let t of e){if(a>=i.length)break;if(t.captureRemaining){n[t.name]=i.slice(a).join(` `),a=i.length;break}n[t.name]=i[a],a+=1}return n}function U(e,t){let n=[];for(let r of e){let e=t[r.name];if(e==null)continue;let i;if(i=typeof e==`string`?e.trim():String(e),i&&(n.push(i),r.captureRemaining))break}return n.length>0?n.join(` `):void 0}function W(e,t){let n=t?.trim();if(n)return!e.args||e.argsParsing===`none`?{raw:n}:{raw:n,values:H(e.args,n)}}function G(e,t){if(!t)return;let n=t.raw?.trim();if(n)return n;if(!(!t.values||!e.args))return e.formatArgs?e.formatArgs(t.values):U(e.args,t.values)}function K(e,t){return V(e.nativeName??e.key,G(e,t))}function q(e){let n=t({cfg:e??{},defaultProvider:i,defaultModel:r});return{provider:n.provider??`anthropic`,model:n.model??`claude-opus-4-6`}}function J(e){let{command:t,arg:n,cfg:r}=e;if(!n.choices)return[];let i=n.choices;return(Array.isArray(i)?i:(()=>{let a=q(r);return i({cfg:r,provider:e.provider??a.provider,model:e.model??a.model,command:t,arg:n})})()).map(e=>typeof e==`string`?{value:e,label:e}:e)}function Y(e){let{command:t,args:n,cfg:r}=e;if(!t.args||!t.argsMenu||t.argsParsing===`none`)return null;let i=t.argsMenu,a=i===`auto`?t.args.find(e=>J({command:t,arg:e,cfg:r}).length>0)?.name:i.arg;if(!a||n?.values&&n.values[a]!=null||n?.raw&&!n.values)return null;let o=t.args.find(e=>e.name===a);if(!o)return null;let s=J({command:t,arg:o,cfg:r});return s.length===0?null:{arg:o,choices:s,title:i===`auto`?void 0:i.title}}function X(e,t){let n=e.trim();if(!n.startsWith(`/`))return n;let r=n.indexOf(`
|
|
10
10
|
`),i=r===-1?n:n.slice(0,r).trim(),a=i.match(/^\/([^\s:]+)\s*:(.*)$/),o=a?(()=>{let[,e,t]=a,n=t.trimStart();return n?`/${e} ${n}`:`/${e}`})():i,s=t?.botUsername?.trim().toLowerCase(),c=s?o.match(/^\/([^\s@]+)@([^\s]+)(.*)$/):null,l=c&&c[2].toLowerCase()===s?`/${c[1]}${c[3]??``}`:o,u=l.toLowerCase(),d=k(),f=d.get(u);if(f)return f.canonical;let p=l.match(/^\/([^\s]+)(?:\s+([\s\S]+))?$/);if(!p)return l;let[,m,h]=p,g=`/${m.toLowerCase()}`,_=d.get(g);if(!_||h&&!_.acceptsArgs)return l;let v=h?.trimStart();return v?`${_.canonical} ${v}`:_.canonical}function Z(e){let t=C();if(D&&O===t)return D;let n=new Set,r=[];for(let e of t)for(let t of e.textAliases){let i=t.trim().toLowerCase();if(!i)continue;n.add(i);let o=a(i);o&&(e.acceptsArgs?r.push(`${o}(?:\\s+.+|\\s*:\\s*.*)?`):r.push(`${o}(?:\\s*:\\s*)?`))}return D={exact:n,regex:r.length?RegExp(`^(?:${r.join(`|`)})$`,`i`):/$^/},O=t,D}function Q(e,t){let n=X(e).trim();if(!n.startsWith(`/`))return null;let r=Z(t),i=n.toLowerCase();if(r.exact.has(i))return i;if(!r.regex.test(i))return null;let a=i.match(/^\/([^\s:]+)(?:\s|$)/);if(!a)return null;let o=`/${a[1]}`;return k().has(o)?o:null}function $(e){return e?w().has(e.toLowerCase()):!1}function ee(e){return e.commandSource===`native`||e.cfg.commands?.text!==!1?!0:!$(e.surface)}export{N as a,Q as c,J as d,Y as f,j as i,X as l,ee as m,B as n,R as o,G as p,M as r,z as s,K as t,W as u};
|
|
11
|
+
//# sourceMappingURL=commands-registry-Cpl4QnG4.js.map
|
|
@@ -8,3 +8,4 @@ import{D as e,u as t}from"./logger-DwWqfo66.js";import{Kn as n,Vo as r,Wn as i,X
|
|
|
8
8
|
• Audio – Generate TTS from custom text
|
|
9
9
|
• Help – Show usage guide`}}),S({key:`whoami`,nativeName:`whoami`,description:`Show your sender id.`,textAlias:`/whoami`,category:`status`}),S({key:`session`,nativeName:`session`,description:`Manage session-level settings (for example /session idle).`,textAlias:`/session`,category:`session`,args:[{name:`action`,description:`idle | max-age`,type:`string`,choices:[`idle`,`max-age`]},{name:`value`,description:`Duration (24h, 90m) or off`,type:`string`,captureRemaining:!0}],argsMenu:`auto`}),S({key:`subagents`,nativeName:`subagents`,description:`List, kill, log, spawn, or steer subagent runs for this session.`,textAlias:`/subagents`,category:`management`,args:[{name:`action`,description:`list | kill | log | info | send | steer | spawn`,type:`string`,choices:[`list`,`kill`,`log`,`info`,`send`,`steer`,`spawn`]},{name:`target`,description:`Run id, index, or session key`,type:`string`},{name:`value`,description:`Additional input (limit/message)`,type:`string`,captureRemaining:!0}],argsMenu:`auto`}),S({key:`acp`,nativeName:`acp`,description:`Manage ACP sessions and runtime options.`,textAlias:`/acp`,category:`management`,args:[{name:`action`,description:`Action to run`,type:`string`,preferAutocomplete:!0,choices:[`spawn`,`cancel`,`steer`,`close`,`sessions`,`status`,`set-mode`,`set`,`cwd`,`permissions`,`timeout`,`model`,`reset-options`,`doctor`,`install`,`help`]},{name:`value`,description:`Action arguments`,type:`string`,captureRemaining:!0}],argsMenu:`auto`}),S({key:`focus`,nativeName:`focus`,description:`Bind this thread (Discord) or topic/conversation (Telegram) to a session target.`,textAlias:`/focus`,category:`management`,args:[{name:`target`,description:`Subagent label/index or session key/id/label`,type:`string`,captureRemaining:!0}]}),S({key:`unfocus`,nativeName:`unfocus`,description:`Remove the current thread (Discord) or topic/conversation (Telegram) binding.`,textAlias:`/unfocus`,category:`management`}),S({key:`agents`,nativeName:`agents`,description:`List thread-bound agents for this session.`,textAlias:`/agents`,category:`management`}),S({key:`kill`,nativeName:`kill`,description:`Kill a running subagent (or all).`,textAlias:`/kill`,category:`management`,args:[{name:`target`,description:`Label, run id, index, or all`,type:`string`}],argsMenu:`auto`}),S({key:`steer`,nativeName:`steer`,description:`Send guidance to a running subagent.`,textAlias:`/steer`,category:`management`,args:[{name:`target`,description:`Label, run id, or index`,type:`string`},{name:`message`,description:`Steering message`,type:`string`,captureRemaining:!0}]}),S({key:`config`,nativeName:`config`,description:`Show or set config values.`,textAlias:`/config`,category:`management`,args:[{name:`action`,description:`show | get | set | unset`,type:`string`,choices:[`show`,`get`,`set`,`unset`]},{name:`path`,description:`Config path`,type:`string`},{name:`value`,description:`Value for set`,type:`string`,captureRemaining:!0}],argsParsing:`none`,formatArgs:x.config}),S({key:`debug`,nativeName:`debug`,description:`Set runtime debug overrides.`,textAlias:`/debug`,category:`management`,args:[{name:`action`,description:`show | reset | set | unset`,type:`string`,choices:[`show`,`reset`,`set`,`unset`]},{name:`path`,description:`Debug path`,type:`string`},{name:`value`,description:`Value for set`,type:`string`,captureRemaining:!0}],argsParsing:`none`,formatArgs:x.debug}),S({key:`usage`,nativeName:`usage`,description:`Usage footer or cost summary.`,textAlias:`/usage`,category:`options`,args:[{name:`mode`,description:`off, tokens, full, or cost`,type:`string`,choices:[`off`,`tokens`,`full`,`cost`]}],argsMenu:`auto`}),S({key:`stop`,nativeName:`stop`,description:`Stop the current run.`,textAlias:`/stop`,category:`session`}),S({key:`restart`,nativeName:`restart`,description:`Restart OpenClaw.`,textAlias:`/restart`,category:`tools`}),S({key:`activation`,nativeName:`activation`,description:`Set group activation mode.`,textAlias:`/activation`,category:`management`,args:[{name:`mode`,description:`mention or always`,type:`string`,choices:[`mention`,`always`]}],argsMenu:`auto`}),S({key:`send`,nativeName:`send`,description:`Set send policy.`,textAlias:`/send`,category:`management`,args:[{name:`mode`,description:`on, off, or inherit`,type:`string`,choices:[`on`,`off`,`inherit`]}],argsMenu:`auto`}),S({key:`reset`,nativeName:`reset`,description:`Reset the current session.`,textAlias:`/reset`,acceptsArgs:!0,category:`session`}),S({key:`new`,nativeName:`new`,description:`Start a new session.`,textAlias:`/new`,acceptsArgs:!0,category:`session`}),S({key:`compact`,nativeName:`compact`,description:`Compact the session context.`,textAlias:`/compact`,category:`session`,args:[{name:`instructions`,description:`Extra compaction instructions`,type:`string`,captureRemaining:!0}]}),S({key:`think`,nativeName:`think`,description:`Set thinking level.`,textAlias:`/think`,category:`options`,args:[{name:`level`,description:`off, minimal, low, medium, high, xhigh`,type:`string`,choices:({provider:e,model:t})=>a(e,t)}],argsMenu:`auto`}),S({key:`verbose`,nativeName:`verbose`,description:`Toggle verbose mode.`,textAlias:`/verbose`,category:`options`,args:[{name:`mode`,description:`on or off`,type:`string`,choices:[`on`,`off`]}],argsMenu:`auto`}),S({key:`reasoning`,nativeName:`reasoning`,description:`Toggle reasoning visibility.`,textAlias:`/reasoning`,category:`options`,args:[{name:`mode`,description:`on, off, or stream`,type:`string`,choices:[`on`,`off`,`stream`]}],argsMenu:`auto`}),S({key:`elevated`,nativeName:`elevated`,description:`Toggle elevated mode.`,textAlias:`/elevated`,category:`options`,args:[{name:`mode`,description:`on, off, ask, or full`,type:`string`,choices:[`on`,`off`,`ask`,`full`]}],argsMenu:`auto`}),S({key:`exec`,nativeName:`exec`,description:`Set exec defaults for this session.`,textAlias:`/exec`,category:`options`,args:[{name:`host`,description:`sandbox, gateway, or node`,type:`string`,choices:[`sandbox`,`gateway`,`node`]},{name:`security`,description:`deny, allowlist, or full`,type:`string`,choices:[`deny`,`allowlist`,`full`]},{name:`ask`,description:`off, on-miss, or always`,type:`string`,choices:[`off`,`on-miss`,`always`]},{name:`node`,description:`Node id or name`,type:`string`}],argsParsing:`none`,formatArgs:x.exec}),S({key:`model`,nativeName:`model`,description:`Show or set the model.`,textAlias:`/model`,category:`options`,args:[{name:`model`,description:`Model id (provider/model or id)`,type:`string`}]}),S({key:`models`,nativeName:`models`,description:`List model providers or provider models.`,textAlias:`/models`,argsParsing:`none`,acceptsArgs:!0,category:`options`}),S({key:`queue`,nativeName:`queue`,description:`Adjust queue settings.`,textAlias:`/queue`,category:`options`,args:[{name:`mode`,description:`queue mode`,type:`string`,choices:[`steer`,`interrupt`,`followup`,`collect`,`steer-backlog`]},{name:`debounce`,description:`debounce duration (e.g. 500ms, 2s)`,type:`string`},{name:`cap`,description:`queue cap`,type:`number`},{name:`drop`,description:`drop policy`,type:`string`,choices:[`old`,`new`,`summarize`]}],argsParsing:`none`,formatArgs:x.queue}),S({key:`bash`,description:`Run host shell commands (host-only).`,textAlias:`/bash`,scope:`text`,category:`tools`,args:[{name:`command`,description:`Shell command`,type:`string`,captureRemaining:!0}]}),...n().filter(e=>e.capabilities.nativeCommands).map(e=>C(e))];return w(e,`whoami`,`/id`),w(e,`think`,`/thinking`,`/t`),w(e,`verbose`,`/v`),w(e,`reasoning`,`/reason`),w(e,`elevated`,`/elev`),w(e,`steer`,`/tell`),te(e),e}function k(){let e=r();if(T&&e===E)return T;let t=ne();return T=t,E=e,D=null,t}function A(){let e=r();return D&&e===O?D:(D=new Set(n().filter(e=>e.capabilities.nativeCommands).map(e=>e.id)),O=e,D)}let j=null,M=null,N,P=null;function F(){let e=k();if(j&&M===e)return j;let t=new Map;for(let n of e){let e=n.textAliases[0]?.trim()||`/${n.key}`,r=!!n.acceptsArgs;for(let i of n.textAliases){let a=i.trim().toLowerCase();a&&(t.has(a)||t.set(a,{key:n.key,canonical:e,acceptsArgs:r}))}}return j=t,M=e,t}function I(e){return!e||e.length===0?[]:e.map(e=>({key:`skill:${e.skillName}`,nativeName:e.name,description:e.description,textAliases:[`/${e.name}`],acceptsArgs:!0,argsParsing:`none`,scope:`both`}))}function L(e){let t=k();return e?.skillCommands?.length?[...t,...I(e.skillCommands)]:[...t]}function R(e,t){return t===`config`?h(e,`config`):t===`debug`?h(e,`debug`):t===`bash`?h(e,`bash`):!0}function z(e,t){let n=k().filter(t=>R(e,t.key));return t?.skillCommands?.length?[...n,...I(t.skillCommands)]:n}const B={discord:{tts:`voice`},slack:{status:`agentstatus`}};function V(e,t){if(e.nativeName){if(t){let n=B[t]?.[e.key];if(n)return n}return e.nativeName}}function H(e,t){return{name:V(e,t)??e.key,description:e.description,acceptsArgs:!!e.acceptsArgs,args:e.args}}function U(e,t){return e.filter(e=>e.scope!==`text`&&e.nativeName).map(e=>H(e,t))}function W(e){return U(L({skillCommands:e?.skillCommands}),e?.provider)}function G(e,t){return U(z(e,t),t?.provider)}function K(e,t){let n=e.trim().toLowerCase();return k().find(e=>e.scope!==`text`&&V(e,t)?.toLowerCase()===n)}function q(e,t){let n=t?.trim();return n?`/${e} ${n}`:`/${e}`}function J(e,t){let n={},r=t.trim();if(!r)return n;let i=r.split(/\s+/).filter(Boolean),a=0;for(let t of e){if(a>=i.length)break;if(t.captureRemaining){n[t.name]=i.slice(a).join(` `),a=i.length;break}n[t.name]=i[a],a+=1}return n}function Y(e,t){let n=[];for(let r of e){let e=t[r.name];if(e==null)continue;let i;if(i=typeof e==`string`?e.trim():String(e),i&&(n.push(i),r.captureRemaining))break}return n.length>0?n.join(` `):void 0}function X(e,t){let n=t?.trim();if(n)return!e.args||e.argsParsing===`none`?{raw:n}:{raw:n,values:J(e.args,n)}}function Z(e,t){if(!t)return;let n=t.raw?.trim();if(n)return n;if(!(!t.values||!e.args))return e.formatArgs?e.formatArgs(t.values):Y(e.args,t.values)}function re(e,t){return q(e.nativeName??e.key,Z(e,t))}function ie(e){let t=s({cfg:e??{},defaultProvider:c,defaultModel:o});return{provider:t.provider??`anthropic`,model:t.model??`claude-opus-4-6`}}function Q(e){let{command:t,arg:n,cfg:r}=e;if(!n.choices)return[];let i=n.choices;return(Array.isArray(i)?i:(()=>{let a=ie(r);return i({cfg:r,provider:e.provider??a.provider,model:e.model??a.model,command:t,arg:n})})()).map(e=>typeof e==`string`?{value:e,label:e}:e)}function ae(e){let{command:t,args:n,cfg:r}=e;if(!t.args||!t.argsMenu||t.argsParsing===`none`)return null;let i=t.argsMenu,a=i===`auto`?t.args.find(e=>Q({command:t,arg:e,cfg:r}).length>0)?.name:i.arg;if(!a||n?.values&&n.values[a]!=null||n?.raw&&!n.values)return null;let o=t.args.find(e=>e.name===a);if(!o)return null;let s=Q({command:t,arg:o,cfg:r});return s.length===0?null:{arg:o,choices:s,title:i===`auto`?void 0:i.title}}function $(e,t){let n=e.trim();if(!n.startsWith(`/`))return n;let r=n.indexOf(`
|
|
10
10
|
`),i=r===-1?n:n.slice(0,r).trim(),a=i.match(/^\/([^\s:]+)\s*:(.*)$/),o=a?(()=>{let[,e,t]=a,n=t.trimStart();return n?`/${e} ${n}`:`/${e}`})():i,s=t?.botUsername?.trim().toLowerCase(),c=s?o.match(/^\/([^\s@]+)@([^\s]+)(.*)$/):null,l=c&&c[2].toLowerCase()===s?`/${c[1]}${c[3]??``}`:o,u=l.toLowerCase(),d=F(),f=d.get(u);if(f)return f.canonical;let p=l.match(/^\/([^\s]+)(?:\s+([\s\S]+))?$/);if(!p)return l;let[,m,h]=p,g=`/${m.toLowerCase()}`,_=d.get(g);if(!_||h&&!_.acceptsArgs)return l;let v=h?.trimStart();return v?`${_.canonical} ${v}`:_.canonical}function oe(e){let n=k();if(N&&P===n)return N;let r=new Set,i=[];for(let e of n)for(let n of e.textAliases){let a=n.trim().toLowerCase();if(!a)continue;r.add(a);let o=t(a);o&&(e.acceptsArgs?i.push(`${o}(?:\\s+.+|\\s*:\\s*.*)?`):i.push(`${o}(?:\\s*:\\s*)?`))}return N={exact:r,regex:i.length?RegExp(`^(?:${i.join(`|`)})$`,`i`):/$^/},P=n,N}function se(e,t){let n=$(e).trim();if(!n.startsWith(`/`))return null;let r=oe(t),i=n.toLowerCase();if(r.exact.has(i))return i;if(!r.regex.test(i))return null;let a=i.match(/^\/([^\s:]+)(?:\s|$)/);if(!a)return null;let o=`/${a[1]}`;return F().has(o)?o:null}function ce(e){return e?A().has(e.toLowerCase()):!1}function le(e){return e.commandSource===`native`||e.cfg.commands?.text!==!1?!0:!ce(e.surface)}export{g as _,z as a,se as c,Q as d,ae as f,p as g,h,L as i,$ as l,le as m,K as n,W as o,Z as p,R as r,G as s,re as t,X as u,d as v,u as y};
|
|
11
|
+
//# sourceMappingURL=commands-registry-D40KqYOm.js.map
|
|
@@ -8,3 +8,4 @@ import{C as e,o as t}from"./utils-D3t-vPka.js";import{Bo as n,Kn as r,Wn as i,Z
|
|
|
8
8
|
• Audio – Generate TTS from custom text
|
|
9
9
|
• Help – Show usage guide`}}),S({key:`whoami`,nativeName:`whoami`,description:`Show your sender id.`,textAlias:`/whoami`,category:`status`}),S({key:`session`,nativeName:`session`,description:`Manage session-level settings (for example /session idle).`,textAlias:`/session`,category:`session`,args:[{name:`action`,description:`idle | max-age`,type:`string`,choices:[`idle`,`max-age`]},{name:`value`,description:`Duration (24h, 90m) or off`,type:`string`,captureRemaining:!0}],argsMenu:`auto`}),S({key:`subagents`,nativeName:`subagents`,description:`List, kill, log, spawn, or steer subagent runs for this session.`,textAlias:`/subagents`,category:`management`,args:[{name:`action`,description:`list | kill | log | info | send | steer | spawn`,type:`string`,choices:[`list`,`kill`,`log`,`info`,`send`,`steer`,`spawn`]},{name:`target`,description:`Run id, index, or session key`,type:`string`},{name:`value`,description:`Additional input (limit/message)`,type:`string`,captureRemaining:!0}],argsMenu:`auto`}),S({key:`acp`,nativeName:`acp`,description:`Manage ACP sessions and runtime options.`,textAlias:`/acp`,category:`management`,args:[{name:`action`,description:`Action to run`,type:`string`,preferAutocomplete:!0,choices:[`spawn`,`cancel`,`steer`,`close`,`sessions`,`status`,`set-mode`,`set`,`cwd`,`permissions`,`timeout`,`model`,`reset-options`,`doctor`,`install`,`help`]},{name:`value`,description:`Action arguments`,type:`string`,captureRemaining:!0}],argsMenu:`auto`}),S({key:`focus`,nativeName:`focus`,description:`Bind this thread (Discord) or topic/conversation (Telegram) to a session target.`,textAlias:`/focus`,category:`management`,args:[{name:`target`,description:`Subagent label/index or session key/id/label`,type:`string`,captureRemaining:!0}]}),S({key:`unfocus`,nativeName:`unfocus`,description:`Remove the current thread (Discord) or topic/conversation (Telegram) binding.`,textAlias:`/unfocus`,category:`management`}),S({key:`agents`,nativeName:`agents`,description:`List thread-bound agents for this session.`,textAlias:`/agents`,category:`management`}),S({key:`kill`,nativeName:`kill`,description:`Kill a running subagent (or all).`,textAlias:`/kill`,category:`management`,args:[{name:`target`,description:`Label, run id, index, or all`,type:`string`}],argsMenu:`auto`}),S({key:`steer`,nativeName:`steer`,description:`Send guidance to a running subagent.`,textAlias:`/steer`,category:`management`,args:[{name:`target`,description:`Label, run id, or index`,type:`string`},{name:`message`,description:`Steering message`,type:`string`,captureRemaining:!0}]}),S({key:`config`,nativeName:`config`,description:`Show or set config values.`,textAlias:`/config`,category:`management`,args:[{name:`action`,description:`show | get | set | unset`,type:`string`,choices:[`show`,`get`,`set`,`unset`]},{name:`path`,description:`Config path`,type:`string`},{name:`value`,description:`Value for set`,type:`string`,captureRemaining:!0}],argsParsing:`none`,formatArgs:x.config}),S({key:`debug`,nativeName:`debug`,description:`Set runtime debug overrides.`,textAlias:`/debug`,category:`management`,args:[{name:`action`,description:`show | reset | set | unset`,type:`string`,choices:[`show`,`reset`,`set`,`unset`]},{name:`path`,description:`Debug path`,type:`string`},{name:`value`,description:`Value for set`,type:`string`,captureRemaining:!0}],argsParsing:`none`,formatArgs:x.debug}),S({key:`usage`,nativeName:`usage`,description:`Usage footer or cost summary.`,textAlias:`/usage`,category:`options`,args:[{name:`mode`,description:`off, tokens, full, or cost`,type:`string`,choices:[`off`,`tokens`,`full`,`cost`]}],argsMenu:`auto`}),S({key:`stop`,nativeName:`stop`,description:`Stop the current run.`,textAlias:`/stop`,category:`session`}),S({key:`restart`,nativeName:`restart`,description:`Restart OpenClaw.`,textAlias:`/restart`,category:`tools`}),S({key:`activation`,nativeName:`activation`,description:`Set group activation mode.`,textAlias:`/activation`,category:`management`,args:[{name:`mode`,description:`mention or always`,type:`string`,choices:[`mention`,`always`]}],argsMenu:`auto`}),S({key:`send`,nativeName:`send`,description:`Set send policy.`,textAlias:`/send`,category:`management`,args:[{name:`mode`,description:`on, off, or inherit`,type:`string`,choices:[`on`,`off`,`inherit`]}],argsMenu:`auto`}),S({key:`reset`,nativeName:`reset`,description:`Reset the current session.`,textAlias:`/reset`,acceptsArgs:!0,category:`session`}),S({key:`new`,nativeName:`new`,description:`Start a new session.`,textAlias:`/new`,acceptsArgs:!0,category:`session`}),S({key:`compact`,nativeName:`compact`,description:`Compact the session context.`,textAlias:`/compact`,category:`session`,args:[{name:`instructions`,description:`Extra compaction instructions`,type:`string`,captureRemaining:!0}]}),S({key:`think`,nativeName:`think`,description:`Set thinking level.`,textAlias:`/think`,category:`options`,args:[{name:`level`,description:`off, minimal, low, medium, high, xhigh`,type:`string`,choices:({provider:e,model:t})=>a(e,t)}],argsMenu:`auto`}),S({key:`verbose`,nativeName:`verbose`,description:`Toggle verbose mode.`,textAlias:`/verbose`,category:`options`,args:[{name:`mode`,description:`on or off`,type:`string`,choices:[`on`,`off`]}],argsMenu:`auto`}),S({key:`reasoning`,nativeName:`reasoning`,description:`Toggle reasoning visibility.`,textAlias:`/reasoning`,category:`options`,args:[{name:`mode`,description:`on, off, or stream`,type:`string`,choices:[`on`,`off`,`stream`]}],argsMenu:`auto`}),S({key:`elevated`,nativeName:`elevated`,description:`Toggle elevated mode.`,textAlias:`/elevated`,category:`options`,args:[{name:`mode`,description:`on, off, ask, or full`,type:`string`,choices:[`on`,`off`,`ask`,`full`]}],argsMenu:`auto`}),S({key:`exec`,nativeName:`exec`,description:`Set exec defaults for this session.`,textAlias:`/exec`,category:`options`,args:[{name:`host`,description:`sandbox, gateway, or node`,type:`string`,choices:[`sandbox`,`gateway`,`node`]},{name:`security`,description:`deny, allowlist, or full`,type:`string`,choices:[`deny`,`allowlist`,`full`]},{name:`ask`,description:`off, on-miss, or always`,type:`string`,choices:[`off`,`on-miss`,`always`]},{name:`node`,description:`Node id or name`,type:`string`}],argsParsing:`none`,formatArgs:x.exec}),S({key:`model`,nativeName:`model`,description:`Show or set the model.`,textAlias:`/model`,category:`options`,args:[{name:`model`,description:`Model id (provider/model or id)`,type:`string`}]}),S({key:`models`,nativeName:`models`,description:`List model providers or provider models.`,textAlias:`/models`,argsParsing:`none`,acceptsArgs:!0,category:`options`}),S({key:`queue`,nativeName:`queue`,description:`Adjust queue settings.`,textAlias:`/queue`,category:`options`,args:[{name:`mode`,description:`queue mode`,type:`string`,choices:[`steer`,`interrupt`,`followup`,`collect`,`steer-backlog`]},{name:`debounce`,description:`debounce duration (e.g. 500ms, 2s)`,type:`string`},{name:`cap`,description:`queue cap`,type:`number`},{name:`drop`,description:`drop policy`,type:`string`,choices:[`old`,`new`,`summarize`]}],argsParsing:`none`,formatArgs:x.queue}),S({key:`bash`,description:`Run host shell commands (host-only).`,textAlias:`/bash`,scope:`text`,category:`tools`,args:[{name:`command`,description:`Shell command`,type:`string`,captureRemaining:!0}]}),...r().filter(e=>e.capabilities.nativeCommands).map(e=>C(e))];return w(e,`whoami`,`/id`),w(e,`think`,`/thinking`,`/t`),w(e,`verbose`,`/v`),w(e,`reasoning`,`/reason`),w(e,`elevated`,`/elev`),w(e,`steer`,`/tell`),te(e),e}function k(){let e=n();if(T&&e===E)return T;let t=ne();return T=t,E=e,D=null,t}function A(){let e=n();return D&&e===O?D:(D=new Set(r().filter(e=>e.capabilities.nativeCommands).map(e=>e.id)),O=e,D)}let j=null,M=null,N,P=null;function F(){let e=k();if(j&&M===e)return j;let t=new Map;for(let n of e){let e=n.textAliases[0]?.trim()||`/${n.key}`,r=!!n.acceptsArgs;for(let i of n.textAliases){let a=i.trim().toLowerCase();a&&(t.has(a)||t.set(a,{key:n.key,canonical:e,acceptsArgs:r}))}}return j=t,M=e,t}function I(e){return!e||e.length===0?[]:e.map(e=>({key:`skill:${e.skillName}`,nativeName:e.name,description:e.description,textAliases:[`/${e.name}`],acceptsArgs:!0,argsParsing:`none`,scope:`both`}))}function L(e){let t=k();return e?.skillCommands?.length?[...t,...I(e.skillCommands)]:[...t]}function R(e,t){return t===`config`?h(e,`config`):t===`debug`?h(e,`debug`):t===`bash`?h(e,`bash`):!0}function z(e,t){let n=k().filter(t=>R(e,t.key));return t?.skillCommands?.length?[...n,...I(t.skillCommands)]:n}const B={discord:{tts:`voice`},slack:{status:`agentstatus`}};function V(e,t){if(e.nativeName){if(t){let n=B[t]?.[e.key];if(n)return n}return e.nativeName}}function H(e,t){return{name:V(e,t)??e.key,description:e.description,acceptsArgs:!!e.acceptsArgs,args:e.args}}function U(e,t){return e.filter(e=>e.scope!==`text`&&e.nativeName).map(e=>H(e,t))}function W(e){return U(L({skillCommands:e?.skillCommands}),e?.provider)}function G(e,t){return U(z(e,t),t?.provider)}function K(e,t){let n=e.trim().toLowerCase();return k().find(e=>e.scope!==`text`&&V(e,t)?.toLowerCase()===n)}function q(e,t){let n=t?.trim();return n?`/${e} ${n}`:`/${e}`}function J(e,t){let n={},r=t.trim();if(!r)return n;let i=r.split(/\s+/).filter(Boolean),a=0;for(let t of e){if(a>=i.length)break;if(t.captureRemaining){n[t.name]=i.slice(a).join(` `),a=i.length;break}n[t.name]=i[a],a+=1}return n}function Y(e,t){let n=[];for(let r of e){let e=t[r.name];if(e==null)continue;let i;if(i=typeof e==`string`?e.trim():String(e),i&&(n.push(i),r.captureRemaining))break}return n.length>0?n.join(` `):void 0}function X(e,t){let n=t?.trim();if(n)return!e.args||e.argsParsing===`none`?{raw:n}:{raw:n,values:J(e.args,n)}}function Z(e,t){if(!t)return;let n=t.raw?.trim();if(n)return n;if(!(!t.values||!e.args))return e.formatArgs?e.formatArgs(t.values):Y(e.args,t.values)}function re(e,t){return q(e.nativeName??e.key,Z(e,t))}function ie(e){let t=c({cfg:e??{},defaultProvider:s,defaultModel:o});return{provider:t.provider??`anthropic`,model:t.model??`claude-opus-4-6`}}function Q(e){let{command:t,arg:n,cfg:r}=e;if(!n.choices)return[];let i=n.choices;return(Array.isArray(i)?i:(()=>{let a=ie(r);return i({cfg:r,provider:e.provider??a.provider,model:e.model??a.model,command:t,arg:n})})()).map(e=>typeof e==`string`?{value:e,label:e}:e)}function ae(e){let{command:t,args:n,cfg:r}=e;if(!t.args||!t.argsMenu||t.argsParsing===`none`)return null;let i=t.argsMenu,a=i===`auto`?t.args.find(e=>Q({command:t,arg:e,cfg:r}).length>0)?.name:i.arg;if(!a||n?.values&&n.values[a]!=null||n?.raw&&!n.values)return null;let o=t.args.find(e=>e.name===a);if(!o)return null;let s=Q({command:t,arg:o,cfg:r});return s.length===0?null:{arg:o,choices:s,title:i===`auto`?void 0:i.title}}function $(e,t){let n=e.trim();if(!n.startsWith(`/`))return n;let r=n.indexOf(`
|
|
10
10
|
`),i=r===-1?n:n.slice(0,r).trim(),a=i.match(/^\/([^\s:]+)\s*:(.*)$/),o=a?(()=>{let[,e,t]=a,n=t.trimStart();return n?`/${e} ${n}`:`/${e}`})():i,s=t?.botUsername?.trim().toLowerCase(),c=s?o.match(/^\/([^\s@]+)@([^\s]+)(.*)$/):null,l=c&&c[2].toLowerCase()===s?`/${c[1]}${c[3]??``}`:o,u=l.toLowerCase(),d=F(),f=d.get(u);if(f)return f.canonical;let p=l.match(/^\/([^\s]+)(?:\s+([\s\S]+))?$/);if(!p)return l;let[,m,h]=p,g=`/${m.toLowerCase()}`,_=d.get(g);if(!_||h&&!_.acceptsArgs)return l;let v=h?.trimStart();return v?`${_.canonical} ${v}`:_.canonical}function oe(e){let n=k();if(N&&P===n)return N;let r=new Set,i=[];for(let e of n)for(let n of e.textAliases){let a=n.trim().toLowerCase();if(!a)continue;r.add(a);let o=t(a);o&&(e.acceptsArgs?i.push(`${o}(?:\\s+.+|\\s*:\\s*.*)?`):i.push(`${o}(?:\\s*:\\s*)?`))}return N={exact:r,regex:i.length?RegExp(`^(?:${i.join(`|`)})$`,`i`):/$^/},P=n,N}function se(e,t){let n=$(e).trim();if(!n.startsWith(`/`))return null;let r=oe(t),i=n.toLowerCase();if(r.exact.has(i))return i;if(!r.regex.test(i))return null;let a=i.match(/^\/([^\s:]+)(?:\s|$)/);if(!a)return null;let o=`/${a[1]}`;return F().has(o)?o:null}function ce(e){return e?A().has(e.toLowerCase()):!1}function le(e){return e.commandSource===`native`||e.cfg.commands?.text!==!1?!0:!ce(e.surface)}export{g as _,z as a,se as c,Q as d,ae as f,p as g,h,L as i,$ as l,le as m,K as n,W as o,Z as p,R as r,G as s,re as t,X as u,d as v,u as y};
|
|
11
|
+
//# sourceMappingURL=commands-registry-SeddSmFK.js.map
|
package/dist/compact-Dg66DXx_.js
CHANGED
|
@@ -536,3 +536,4 @@ Process still running.`)}],details:{status:o,sessionId:s.sessionId,exitCode:r?i:
|
|
|
536
536
|
`)&&!e.content.startsWith(`
|
|
537
537
|
`)?`
|
|
538
538
|
`:``}${e.content}`;if(e.sandbox){let t=Z.posix.dirname(e.relativePath);t&&t!==`.`&&await e.sandbox.bridge.mkdirp({filePath:t,cwd:e.sandbox.root,signal:e.signal}),await e.sandbox.bridge.writeFile({filePath:e.relativePath,cwd:e.sandbox.root,data:n,mkdir:!0,signal:e.signal});return}await up.mkdir(Z.dirname(e.absolutePath),{recursive:!0}),await up.writeFile(e.absolutePath,n,`utf-8`)}function kNe(e,t){let n=Z.resolve(t.root,t.relativePath);return{...e,description:`${e.description} During memory flush, this tool may only append to ${t.relativePath}.`,execute:async(r,i,a,o)=>{let s=P9(i),c=s??(i&&typeof i==`object`?i:void 0);I9(c,j9.write,e.name);let l=typeof c?.path==`string`&&c.path.trim()?c.path:void 0,u=typeof c?.content==`string`?c.content:void 0;if(!l||u===void 0)return e.execute(r,s??i,a,o);if(ENe({filePath:l,root:t.root,containerWorkdir:t.containerWorkdir})!==n)throw Error(`Memory flush writes are restricted to ${t.relativePath}; use that path only.`);return await ONe({absolutePath:n,root:t.root,relativePath:t.relativePath,content:u,sandbox:t.sandbox,signal:a}),{content:[{type:`text`,text:`Appended content to ${t.relativePath}.`}],details:{path:t.relativePath,appendOnly:!0}}}}}function H9(e,t,n){return{...e,execute:async(r,i,a,o)=>{let s=P9(i),c=(s??(i&&typeof i==`object`?i:void 0))?.path;return typeof c==`string`&&c.trim()&&await Ri({filePath:V9({filePath:c,root:t,containerWorkdir:n?.containerWorkdir}),cwd:t,root:t}),e.execute(r,s??i,a,o)}}}function ANe(e){return G9(Mp(e.root,{operations:NNe(e)}),{modelContextWindowTokens:e.modelContextWindowTokens,imageSanitization:e.imageSanitization})}function U9(e){return L9(Np(e.root,{operations:PNe(e)}),j9.write)}function W9(e){return L9(jp(e.root,{operations:FNe(e)}),j9.edit)}function jNe(e,t){return L9(Np(e,{operations:INe(e,t)}),j9.write)}function MNe(e,t){return L9(mNe(jp(e,{operations:LNe(e,t)}),e),j9.edit)}function G9(e,t){return{...F9(e),execute:async(n,r,i)=>{let a=P9(r),o=a??(r&&typeof r==`object`?r:void 0);I9(o,j9.read,e.name);let s=await CNe({base:e,toolCallId:n,args:a??r??{},signal:i,maxBytes:_Ne(t)}),c=typeof o?.path==`string`?String(o.path):`<unknown>`;return De(await TNe(SNe(s),c),`read:${c}`,t?.imageSanitization)}}}function NNe(e){return{readFile:t=>e.bridge.readFile({filePath:t,cwd:e.root}),access:async t=>{if(!await e.bridge.stat({filePath:t,cwd:e.root}))throw q9(`ENOENT`,t)},detectImageMimeType:async t=>{let n=await Ra({buffer:await e.bridge.readFile({filePath:t,cwd:e.root}),filePath:t});return n&&n.startsWith(`image/`)?n:void 0}}}function PNe(e){return{mkdir:async t=>{await e.bridge.mkdirp({filePath:t,cwd:e.root})},writeFile:async(t,n)=>{await e.bridge.writeFile({filePath:t,cwd:e.root,data:n})}}}function FNe(e){return{readFile:t=>e.bridge.readFile({filePath:t,cwd:e.root}),writeFile:(t,n)=>e.bridge.writeFile({filePath:t,cwd:e.root,data:n}),access:async t=>{if(!await e.bridge.stat({filePath:t,cwd:e.root}))throw q9(`ENOENT`,t)}}}async function K9(e,t){let n=Z.resolve(e);await up.mkdir(Z.dirname(n),{recursive:!0}),await up.writeFile(n,t,`utf-8`)}function INe(e,t){return t?.workspaceOnly??!1?{mkdir:async t=>{let n=EQ(e,t,{allowRoot:!0}),r=n?Z.resolve(e,n):Z.resolve(e);await Ri({filePath:r,cwd:e,root:e}),await up.mkdir(r,{recursive:!0})},writeFile:async(t,n)=>{await Ea({rootDir:e,relativePath:EQ(e,t),data:n,mkdir:!0})}}:{mkdir:async e=>{let t=Z.resolve(e);await up.mkdir(t,{recursive:!0})},writeFile:K9}}function LNe(e,t){return t?.workspaceOnly??!1?{readFile:async t=>(await Oa({rootDir:e,relativePath:EQ(e,t)})).buffer,writeFile:async(t,n)=>{await Ea({rootDir:e,relativePath:EQ(e,t),data:n,mkdir:!0})},access:async t=>{let n;try{n=EQ(e,t)}catch{return}try{await(await Ba({rootDir:e,relativePath:n})).handle.close().catch(()=>{})}catch(e){if(e instanceof Fa&&e.code===`not-found`)throw q9(`ENOENT`,t);if(e instanceof Fa&&e.code===`outside-workspace`)return;throw e}}}:{readFile:async e=>{let t=Z.resolve(e);return await up.readFile(t)},writeFile:K9,access:async e=>{let t=Z.resolve(e);await up.access(t)}}}function q9(e,t){let n=Error(`Sandbox FS error (${e}): ${t}`);return n.code=e,n}function J9(e){let t=e.agentId?.trim(),n=e.profile?.trim(),r=e.providerProfile?.trim();return[{policy:e.profilePolicy,label:n?`tools.profile (${n})`:`tools.profile`,stripPluginOnlyAllowlist:!0},{policy:e.providerProfilePolicy,label:r?`tools.byProvider.profile (${r})`:`tools.byProvider.profile`,stripPluginOnlyAllowlist:!0},{policy:e.globalPolicy,label:`tools.allow`,stripPluginOnlyAllowlist:!0},{policy:e.globalProviderPolicy,label:`tools.byProvider.allow`,stripPluginOnlyAllowlist:!0},{policy:e.agentPolicy,label:t?`agents.${t}.tools.allow`:`agent tools.allow`,stripPluginOnlyAllowlist:!0},{policy:e.agentProviderPolicy,label:t?`agents.${t}.tools.byProvider.allow`:`agent tools.byProvider.allow`,stripPluginOnlyAllowlist:!0},{policy:e.groupPolicy,label:`group tools.allow`,stripPluginOnlyAllowlist:!0}]}function Y9(e){let t=new Set(e.tools.filter(t=>!e.toolMeta(t)).map(e=>Oe(e.name)).filter(Boolean)),n=F({tools:e.tools,toolMeta:e.toolMeta}),r=e.tools;for(let i of e.steps){if(!i.policy)continue;let a=i.policy;if(i.stripPluginOnlyAllowlist){let r=fee(a,n,t);if(r.unknownAllowlist.length>0){let t=r.unknownAllowlist.join(`, `),n=r.strippedAllowlist?`Ignoring allowlist so core tools remain available. Use tools.alsoAllow for additive plugin tool enablement.`:`These entries won't match any tool unless the plugin is enabled.`;e.warn(`tools: ${i.label} allowlist contains unknown entries (${t}). ${n}`)}a=r.policy}let o=pee(a,n);r=o?zu(r,o):r}return r}function RNe(e){let t=e?.trim().toLowerCase();return t===`openai`||t===`openai-codex`}const zNe={voice:[`tts`]},BNe=new Set([`web_search`]),VNe=new Set([`read`,`write`]);function HNe(e){let t=e?.trim().toLowerCase();return t&&t.length>0?t:void 0}function UNe(e,t){let n=HNe(t);if(!n)return e;let r=zNe[n];if(!r||r.length===0)return e;let i=new Set(r);return e.filter(e=>!i.has(e.name))}function WNe(e,t){return nb(t?.modelProvider,t?.modelId)?e.filter(e=>!BNe.has(e.name)):e}function GNe(e){let t=Array.isArray(e.allowModels)?e.allowModels:[];if(t.length===0)return!0;let n=e.modelId?.trim();if(!n)return!1;let r=n.toLowerCase(),i=e.modelProvider?.trim().toLowerCase(),a=i&&!r.includes(`/`)?`${i}/${r}`:r;return t.some(e=>{let t=e.trim().toLowerCase();return t?t===r||t===a:!1})}function KNe(e){let t=e.cfg,n=t?.tools?.exec,r=t&&e.agentId?Tr(t,e.agentId)?.tools?.exec:void 0;return{host:r?.host??n?.host,security:r?.security??n?.security,ask:r?.ask??n?.ask,node:r?.node??n?.node,pathPrepend:r?.pathPrepend??n?.pathPrepend,safeBins:r?.safeBins??n?.safeBins,safeBinTrustedDirs:r?.safeBinTrustedDirs??n?.safeBinTrustedDirs,safeBinProfiles:Zte({global:n,local:r}),backgroundMs:r?.backgroundMs??n?.backgroundMs,timeoutSec:r?.timeoutSec??n?.timeoutSec,approvalRunningNoticeMs:r?.approvalRunningNoticeMs??n?.approvalRunningNoticeMs,cleanupMs:r?.cleanupMs??n?.cleanupMs,notifyOnExit:r?.notifyOnExit??n?.notifyOnExit,notifyOnExitEmptySuccess:r?.notifyOnExitEmptySuccess??n?.notifyOnExitEmptySuccess,applyPatch:r?.applyPatch??n?.applyPatch}}function X9(e){let t=e.cfg?.tools?.loopDetection,n=e.agentId&&e.cfg?Tr(e.cfg,e.agentId)?.tools?.loopDetection:void 0;return n?t?{...t,...n,detectors:{...t.detectors,...n.detectors}}:n:t}function Z9(e){let t=e?.sandbox?.enabled?e.sandbox:void 0,n=e?.trigger===`memory`;if(n&&!e?.memoryFlushWritePath)throw Error(`memoryFlushWritePath required for memory-triggered tool runs`);let r=n?e.memoryFlushWritePath:void 0,{agentId:i,globalPolicy:a,globalProviderPolicy:o,agentPolicy:s,agentProviderPolicy:c,profile:l,providerProfile:u,profileAlsoAllow:d,providerProfileAlsoAllow:f}=Ru({config:e?.config,sessionKey:e?.sessionKey,agentId:e?.agentId,modelProvider:e?.modelProvider,modelId:e?.modelId}),p=Mu({config:e?.config,sessionKey:e?.sessionKey,spawnedBy:e?.spawnedBy,messageProvider:e?.messageProvider,groupId:e?.groupId,groupChannel:e?.groupChannel,groupSpace:e?.groupSpace,accountId:e?.agentAccountId,senderId:e?.senderId,senderName:e?.senderName,senderUsername:e?.senderUsername,senderE164:e?.senderE164}),m=Le(l),h=Le(u),g=T(m,d),_=T(h,f),v=e?.exec?.scopeKey??e?.sessionKey??(i?`agent:${i}`:void 0),y=Ir(e?.sessionKey)&&e?.sessionKey?Iu(e.config,e.sessionKey):void 0,b=Fu(`process`,[g,_,a,o,s,c,p,t?.tools,y]),x=KNe({cfg:e?.config,agentId:i}),S=jT({cfg:e?.config,agentId:i}),C=Eoe({workspaceOnly:n||S.workspaceOnly}),w=t?.workspaceDir,E=t?.fsBridge,D=t?.workspaceAccess!==`ro`,O=jU(e?.workspaceDir),k=C.workspaceOnly,A=x.applyPatch,j=k||A?.workspaceOnly!==!1,M=!!A?.enabled&&RNe(e?.modelProvider)&&GNe({modelProvider:e?.modelProvider,modelId:e?.modelId,allowModels:A?.allowModels});if(w&&!E)throw Error(`Sandbox filesystem bridge is unavailable.`);let N=Ie(e?.config),P=kp.flatMap(n=>{if(n.name===Ip.name){if(w){let n=ANe({root:w,bridge:E,modelContextWindowTokens:e?.modelContextWindowTokens,imageSanitization:N});return[k?H9(n,w,{containerWorkdir:t.containerWorkdir}):n]}let n=G9(Mp(O),{modelContextWindowTokens:e?.modelContextWindowTokens,imageSanitization:N});return[k?B9(n,O):n]}if(n.name===`bash`||n.name===`exec`)return[];if(n.name===`write`){if(w)return[];let e=jNe(O,{workspaceOnly:k});return[k?B9(e,O):e]}if(n.name===`edit`){if(w)return[];let e=MNe(O,{workspaceOnly:k});return[k?B9(e,O):e]}return[n]}),{cleanupMs:F,...I}=e?.exec??{},L=b9({...I,host:e?.exec?.host??x.host,security:e?.exec?.security??x.security,ask:e?.exec?.ask??x.ask,node:e?.exec?.node??x.node,pathPrepend:e?.exec?.pathPrepend??x.pathPrepend,safeBins:e?.exec?.safeBins??x.safeBins,safeBinTrustedDirs:e?.exec?.safeBinTrustedDirs??x.safeBinTrustedDirs,safeBinProfiles:e?.exec?.safeBinProfiles??x.safeBinProfiles,agentId:i,cwd:O,allowBackground:b,scopeKey:v,sessionKey:e?.sessionKey,messageProvider:e?.messageProvider,currentChannelId:e?.currentChannelId,currentThreadTs:e?.currentThreadTs,accountId:e?.agentAccountId,backgroundMs:e?.exec?.backgroundMs??x.backgroundMs,timeoutSec:e?.exec?.timeoutSec??x.timeoutSec,approvalRunningNoticeMs:e?.exec?.approvalRunningNoticeMs??x.approvalRunningNoticeMs,notifyOnExit:e?.exec?.notifyOnExit??x.notifyOnExit,notifyOnExitEmptySuccess:e?.exec?.notifyOnExitEmptySuccess??x.notifyOnExitEmptySuccess,sandbox:t?{containerName:t.containerName,workspaceDir:t.workspaceDir,containerWorkdir:t.containerWorkdir,env:t.docker.env}:void 0}),z=D9({cleanupMs:F??x.cleanupMs,scopeKey:v}),B=!M||w&&!D?null:Rje({cwd:w??O,sandbox:w&&D?{root:w,bridge:E}:void 0,workspaceOnly:j}),V=[...P,...w&&D?[k?H9(W9({root:w,bridge:E}),w,{containerWorkdir:t.containerWorkdir}):W9({root:w,bridge:E}),k?H9(U9({root:w,bridge:E}),w,{containerWorkdir:t.containerWorkdir}):U9({root:w,bridge:E})]:[],...B?[B]:[],L,z,...hae({cfg:e?.config}),...UZ({sandboxBrowserBridgeUrl:t?.browser?.bridgeUrl,allowHostBrowserControl:t?t.browserAllowHostControl:!0,agentSessionKey:e?.sessionKey,agentChannel:Ht(e?.messageProvider),agentAccountId:e?.agentAccountId,agentTo:e?.messageTo,agentThreadId:e?.messageThreadId,agentGroupId:e?.groupId??null,agentGroupChannel:e?.groupChannel??null,agentGroupSpace:e?.groupSpace??null,agentDir:e?.agentDir,sandboxRoot:w,sandboxFsBridge:E,fsPolicy:C,workspaceDir:O,spawnWorkspaceDir:e?.spawnWorkspaceDir?jU(e.spawnWorkspaceDir):void 0,sandboxed:!!t,config:e?.config,pluginToolAllowlist:Me([m,h,a,o,s,c,p,t?.tools,y]),currentChannelId:e?.currentChannelId,currentThreadTs:e?.currentThreadTs,currentMessageId:e?.currentMessageId,replyToMode:e?.replyToMode,hasRepliedRef:e?.hasRepliedRef,modelHasVision:e?.modelHasVision,requireExplicitMessageTarget:e?.requireExplicitMessageTarget,disableMessageTool:e?.disableMessageTool,requesterAgentIdOverride:i,requesterSenderId:e?.senderId,senderIsOwner:e?.senderIsOwner,sessionId:e?.sessionId})],H=Y9({tools:R(WNe(UNe(n&&r?V.flatMap(e=>VNe.has(e.name)?e.name===`write`?[kNe(e,{root:w??O,relativePath:r,containerWorkdir:t?.containerWorkdir,sandbox:w&&E?{root:w,bridge:E}:void 0})]:[e]:[]):V,e?.messageProvider),{modelProvider:e?.modelProvider,modelId:e?.modelId}),e?.senderIsOwner===!0),toolMeta:e=>x7(e),warn:va,steps:[...J9({profilePolicy:g,profile:l,providerProfilePolicy:_,providerProfile:u,globalPolicy:a,globalProviderPolicy:o,agentPolicy:s,agentProviderPolicy:c,groupPolicy:p,agentId:i}),{policy:t?.tools,label:`sandbox tools.allow`},{policy:y,label:`subagent tools.allow`}]}).map(t=>ab(t,{modelProvider:e?.modelProvider,modelId:e?.modelId})).map(t=>Sw(t,{agentId:i,sessionKey:e?.sessionKey,sessionId:e?.sessionId,runId:e?.runId,loopDetection:X9({cfg:e?.config,agentId:i})}));return e?.abortSignal?H.map(t=>fNe(t,e.abortSignal)):H}const Q9=3e5;async function qNe(e,t=Q9){return await Es(()=>e(),t,`Compaction`)}function JNe(e){return e.role===`user`||e.role===`assistant`||e.role===`toolResult`}function YNe(){return`cmp-${Date.now().toString(36)}-${Ya(4)}`}function XNe(e){let t=e.content;if(typeof t==`string`)return t.length;if(!Array.isArray(t))return 0;let n=0;for(let e of t){if(!e||typeof e!=`object`)continue;let t=e.text;typeof t==`string`&&(n+=t.length)}return n}function ZNe(e){let t=e.toolName??e.name??e.tool;return typeof t==`string`&&t.trim().length>0?t:void 0}function $9(e){let t=0,n=0,r=[],i=0,a=!1;for(let o of e){let e=typeof o.role==`string`?o.role:`unknown`,s=XNe(o);if(t+=s,e===`toolResult`&&(n+=s),r.push({role:e,chars:s,tool:ZNe(o)}),!a)try{i+=Pp(o)}catch{a=!0}}return{messages:e.length,historyTextChars:t,toolResultChars:n,estTokens:a?void 0:i,contributors:r.toSorted((e,t)=>t.chars-e.chars).slice(0,3)}}function QNe(e){let t=(e??``).trim().toLowerCase();return t?t.includes(`nothing to compact`)?`no_compactable_entries`:t.includes(`below threshold`)?`below_threshold`:t.includes(`already compacted`)?`already_compacted_recently`:t.includes(`guard`)?`guard_blocked`:t.includes(`summary`)?`summary_failed`:t.includes(`timed out`)||t.includes(`timeout`)?`timeout`:t.includes(`400`)||t.includes(`401`)||t.includes(`403`)||t.includes(`429`)?`provider_error_4xx`:t.includes(`500`)||t.includes(`502`)||t.includes(`503`)||t.includes(`504`)?`provider_error_5xx`:`unknown`:`unknown`}async function $Ne(e){let t=Date.now(),n=e.diagId?.trim()||YNe(),r=e.trigger??`manual`,i=e.attempt??1,a=e.maxAttempts??1,o=e.runId??e.sessionId,s=ci(e.workspaceDir);Sx({config:e.config,workspaceDir:s});let c=process.cwd(),l=e.config?.agents?.defaults?.compaction?.model?.trim(),u,d,f=e.authProfileId;if(l){let t=l.indexOf(`/`);t>0?(u=l.slice(0,t).trim(),d=l.slice(t+1).trim()||`claude-opus-4-6`,u!==(e.provider??``).trim()&&(f=void 0)):(u=(e.provider??`anthropic`).trim()||`anthropic`,d=l)}else u=(e.provider??`anthropic`).trim()||`anthropic`,d=(e.model??`claude-opus-4-6`).trim()||`claude-opus-4-6`;let p=s=>($.warn(`[compaction-diag] end runId=${o} sessionKey=${e.sessionKey??e.sessionId} diagId=${n} trigger=${r} provider=${u}/${d} attempt=${i} maxAttempts=${a} outcome=failed reason=${QNe(s)} durationMs=${Date.now()-t}`),{ok:!1,compacted:!1,reason:s}),m=e.agentDir??we();await ys(e.config,m);let{model:h,error:g,authStorage:_,modelRegistry:v}=fh(u,d,m,e.config);if(!h)return p(g??`Unknown model: ${u}/${d}`);try{let t=await In({model:h,cfg:e.config,profileId:f,agentDir:m});if(!t.apiKey){if(t.mode!==`aws-sdk`)throw Error(`No API key resolved for provider "${h.provider}" (auth mode: ${t.mode}).`)}else if(h.provider===`github-copilot`){let{resolveCopilotApiToken:e}=await import(`./github-copilot-token-C79yeDKS.js`).then(e=>e.n),n=await e({githubToken:t.apiKey});_.setRuntimeApiKey(h.provider,n.token)}else _.setRuntimeApiKey(h.provider,t.apiKey)}catch(e){return p(Mb(e))}await up.mkdir(s,{recursive:!0});let y=e.sessionKey?.trim()||e.sessionId,b=await Bt({config:e.config,sessionKey:y,workspaceDir:s}),x=b?.enabled?b.workspaceAccess===`rw`?s:b.workspaceDir:s;await up.mkdir(x,{recursive:!0}),await he({sessionFile:e.sessionFile,sessionId:e.sessionId,cwd:x});let S;process.chdir(x);try{let{shouldLoadSkillEntries:t,skillEntries:c}=RE({workspaceDir:x,config:e.config,skillsSnapshot:e.skillsSnapshot});S=e.skillsSnapshot?_i({snapshot:e.skillsSnapshot,config:e.config}):vi({skills:c??[],config:e.config});let l=Ni({skillsSnapshot:e.skillsSnapshot,entries:t?c:void 0,config:e.config,workspaceDir:x}),f=e.sessionKey??e.sessionId,p=e.messageChannel??e.messageProvider,{contextFiles:g}=await cg({workspaceDir:x,config:e.config,sessionKey:e.sessionKey,sessionId:e.sessionId,warn:sg({sessionLabel:f,warn:e=>$.warn(e)})}),C=ul({cfg:e.config,provider:u,modelId:d,modelContextWindow:h.contextWindow,defaultTokens:or}),w=C.tokens<(h.contextWindow??1/0)?{...h,contextWindow:C.tokens}:h,T=new AbortController,E=Z9({exec:{elevated:e.bashElevated},sandbox:b,messageProvider:p,agentAccountId:e.agentAccountId,sessionKey:y,sessionId:e.sessionId,runId:e.runId,groupId:e.groupId,groupChannel:e.groupChannel,groupSpace:e.groupSpace,spawnedBy:e.spawnedBy,senderIsOwner:e.senderIsOwner,agentDir:m,workspaceDir:x,config:e.config,abortSignal:T.signal,modelProvider:h.provider,modelId:d,modelContextWindowTokens:C.tokens,modelAuthMode:Bn(h.provider,e.config)}),D=Gb({tools:vg(h)?E:[],provider:u}),O=GE({tools:D});Kb({tools:D,provider:u});let k=await Ts(),A=xn(e.messageChannel??e.messageProvider),j=A?Dm({cfg:e.config,channel:A,accountId:e.agentAccountId})??[]:void 0;A===`telegram`&&e.config&&Hm({cfg:e.config,accountId:e.agentAccountId??void 0})!==`off`&&(j||=[],j.some(e=>String(e).trim().toLowerCase()===`inlinebuttons`)||j.push(`inlineButtons`));let M=A&&e.config?(()=>{if(A===`telegram`){let t=Um({cfg:e.config,accountId:e.agentAccountId??void 0}).agentReactionGuidance;return t?{level:t,channel:`Telegram`}:void 0}if(A===`signal`){let t=Bm({cfg:e.config,accountId:e.agentAccountId??void 0}).agentReactionGuidance;return t?{level:t,channel:`Signal`}:void 0}})():void 0,N=A?lg({cfg:e.config,channel:A}):void 0,P=A?ug({cfg:e.config,channel:A,accountId:e.agentAccountId}):void 0,F={host:k,os:`${Yf.type()} ${Yf.release()}`,arch:Yf.arch(),node:process.version,model:`${u}/${d}`,shell:TT(),channel:A,capabilities:j,channelActions:N},I=jE(b,e.bashElevated),L=rg(u),R=pg(e.config?.agents?.defaults?.userTimezone),z=mg(e.config?.agents?.defaults?.timeFormat),B=gg(new Date,R,z),{defaultAgentId:V,sessionAgentId:H}=Cr({sessionKey:e.sessionKey,config:e.config}),U=H===V,W=Ir(e.sessionKey)||$r(e.sessionKey)?`minimal`:`full`,G=await _g({workspaceDir:x,argv1:process.argv[1],cwd:process.cwd(),moduleUrl:import.meta.url}),K=e.config?Rh(e.config):void 0,q=un(e.config),ee=HE(VE({workspaceDir:x,defaultThinkLevel:e.thinkLevel,reasoningLevel:e.reasoningLevel??`off`,extraSystemPrompt:e.extraSystemPrompt,ownerNumbers:e.ownerNumbers,ownerDisplay:q.ownerDisplay,ownerDisplaySecret:q.ownerDisplaySecret,reasoningTagHint:L,heartbeatPrompt:U?Cm(e.config?.agents?.defaults?.heartbeat?.prompt):void 0,skillsPrompt:l,docsPath:G??void 0,ttsHint:K,promptMode:W,acpEnabled:e.config?.acp?.enabled!==!1,runtimeInfo:F,reactionGuidance:M,messageToolHints:P,sandboxInfo:I,tools:D,modelAliasLines:eh(e.config),userTimezone:R,userTime:B,userTimeFormat:z,contextFiles:g,memoryCitationsMode:e.config?.memory?.citations})),J=await _n({sessionFile:e.sessionFile,maxHoldMs:zt({timeoutMs:Q9})});try{await dT({sessionFile:e.sessionFile,warn:e=>$.warn(e)}),await IE(e.sessionFile);let t=Ob({modelApi:h.api,provider:u,modelId:d}),c=xT(Dp.open(e.sessionFile),{agentId:H,sessionKey:e.sessionKey,allowSyntheticToolResults:t.allowSyntheticToolResults,allowedToolNames:O});FE(e.sessionFile);let l=yg({cwd:x,agentDir:m,cfg:e.config}),f=wE({cfg:e.config,sessionManager:c,provider:u,modelId:d,model:h}),g;f.length>0&&(g=new Ep({cwd:s,agentDir:m,settingsManager:l,extensionFactories:f}),await g.reload());let{builtInTools:y,customTools:S}=iD({tools:D,sandboxEnabled:!!b?.enabled}),{session:C}=await Ap({cwd:x,agentDir:m,authStorage:_,modelRegistry:v,model:w,thinkingLevel:jb(e.thinkLevel),tools:y,customTools:S,sessionManager:c,settingsManager:l,resourceLoader:g});if(UE(C,ee()),h.api===`ollama`){let t=typeof e.config?.models?.providers?.[h.provider]?.baseUrl==`string`?e.config.models.providers[h.provider]?.baseUrl:void 0;$m(h.api,Ot({model:h,providerBaseUrl:t}))}try{let s=await tx({messages:C.messages,modelApi:h.api,modelId:d,provider:u,allowedToolNames:O,config:e.config,sessionManager:c,sessionId:e.sessionId,policy:t}),l=t.validateGeminiTurns?mn(s):s,f=t.validateAnthropicTurns?kn(l):l;C.agent.replaceMessages(f);let m=C.messages.slice(),g=ix(C.messages,ox(e.sessionKey,e.config)),_=t.repairToolUseResultPairing?Sb(g):g;_.length>0&&C.agent.replaceMessages(_);let v=!e.sessionKey||!e.sessionKey.trim(),y=e.sessionKey?.trim()||e.sessionId,b=Ms(),S=m.length,w;try{w=0;for(let e of m)w+=Pp(e)}catch{w=void 0}let T=C.messages.length,E;try{E=0;for(let e of C.messages)E+=Pp(e)}catch{E=void 0}try{await xi(Ti(`session`,`compact:before`,y,{sessionId:e.sessionId,missingSessionKey:v,messageCount:T,tokenCount:E,messageCountOriginal:S,tokenCountOriginal:w}))}catch(e){$.warn(`session:compact:before hook failed`,{errorMessage:e instanceof Error?e.message:String(e),errorStack:e instanceof Error?e.stack:void 0})}if(b?.hasHooks(`before_compaction`))try{await b.runBeforeCompaction({messageCount:T,tokenCount:E},{sessionId:e.sessionId,agentId:H,sessionKey:y,workspaceDir:x,messageProvider:p})}catch(e){$.warn(`before_compaction hook failed`,{errorMessage:e instanceof Error?e.message:String(e),errorStack:e instanceof Error?e.stack:void 0})}let D=$.isEnabled(`debug`),k=D?$9(C.messages):void 0;if(D&&k&&($.debug(`[compaction-diag] start runId=${o} sessionKey=${e.sessionKey??e.sessionId} diagId=${n} trigger=${r} provider=${u}/${d} attempt=${i} maxAttempts=${a} pre.messages=${k.messages} pre.historyTextChars=${k.historyTextChars} pre.toolResultChars=${k.toolResultChars} pre.estTokens=${k.estTokens??`unknown`}`),$.debug(`[compaction-diag] contributors diagId=${n} top=${JSON.stringify(k.contributors)}`)),!C.messages.some(JNe))return $.info(`[compaction] skipping — no real conversation messages (sessionKey=${e.sessionKey??e.sessionId})`),{ok:!0,compacted:!1,reason:`no real conversation messages`};let A=Date.now(),j=S,M=await qNe(()=>C.compact(e.customInstructions)),N;try{N=0;for(let e of C.messages)N+=Pp(e);N>M.tokensBefore&&(N=void 0)}catch{N=void 0}let P=C.messages.length,F=Math.max(0,j-P),I=D?$9(C.messages):void 0;D&&k&&I&&$.debug(`[compaction-diag] end runId=${o} sessionKey=${e.sessionKey??e.sessionId} diagId=${n} trigger=${r} provider=${u}/${d} attempt=${i} maxAttempts=${a} outcome=compacted reason=none durationMs=${Date.now()-A} retrying=false post.messages=${I.messages} post.historyTextChars=${I.historyTextChars} post.toolResultChars=${I.toolResultChars} post.estTokens=${I.estTokens??`unknown`} delta.messages=${I.messages-k.messages} delta.historyTextChars=${I.historyTextChars-k.historyTextChars} delta.toolResultChars=${I.toolResultChars-k.toolResultChars} delta.estTokens=${typeof k.estTokens==`number`&&typeof I.estTokens==`number`?I.estTokens-k.estTokens:`unknown`}`);try{await xi(Ti(`session`,`compact:after`,y,{sessionId:e.sessionId,missingSessionKey:v,messageCount:P,tokenCount:N,compactedCount:F,summaryLength:typeof M.summary==`string`?M.summary.length:void 0,tokensBefore:M.tokensBefore,tokensAfter:N,firstKeptEntryId:M.firstKeptEntryId}))}catch(e){$.warn(`session:compact:after hook failed`,{errorMessage:e instanceof Error?e.message:String(e),errorStack:e instanceof Error?e.stack:void 0})}if(b?.hasHooks(`after_compaction`))try{await b.runAfterCompaction({messageCount:P,tokenCount:N,compactedCount:F},{sessionId:e.sessionId,agentId:H,sessionKey:y,workspaceDir:x,messageProvider:p})}catch(e){$.warn(`after_compaction hook failed`,{errorMessage:e instanceof Error?e.message:String(e),errorStack:e instanceof Error?e.stack:void 0})}return{ok:!0,compacted:!0,result:{summary:M.summary,firstKeptEntryId:M.firstKeptEntryId,tokensBefore:M.tokensBefore,tokensAfter:N,details:M.details}}}finally{await aD({agent:C?.agent,sessionManager:c,clearPendingOnTimeout:!0}),C.dispose()}}finally{await J.release()}}catch(e){return p(Mb(e))}finally{S?.(),process.chdir(c)}}async function ePe(e){let t=sx(e.sessionKey?.trim()||e.sessionId),n=cx(e.lane),r=e.enqueue??((e,t)=>Im(n,e,t));return Im(t,()=>r(async()=>{Sx({config:e.config,workspaceDir:e.workspaceDir}),km();let t=await wi(e.config);try{let n=(e.provider??`anthropic`).trim()||`anthropic`,r=(e.model??`claude-opus-4-6`).trim()||`claude-opus-4-6`,{model:i}=fh(n,r,e.agentDir??we(),e.config),a=ul({cfg:e.config,provider:n,modelId:r,modelContextWindow:i?.contextWindow,defaultTokens:or}),o=t.info.ownsCompaction===!0?Ms():null,s=e.sessionKey?.trim()||e.sessionId,{sessionAgentId:c}=Cr({sessionKey:e.sessionKey,config:e.config}),l=e.messageChannel??e.messageProvider,u={sessionId:e.sessionId,agentId:c,sessionKey:s,workspaceDir:ci(e.workspaceDir),messageProvider:l};if(o?.hasHooks(`before_compaction`))try{await o.runBeforeCompaction({messageCount:-1,sessionFile:e.sessionFile},u)}catch(e){$.warn(`before_compaction hook failed`,{errorMessage:e instanceof Error?e.message:String(e)})}let d=await t.compact({sessionId:e.sessionId,sessionFile:e.sessionFile,tokenBudget:a.tokens,customInstructions:e.customInstructions,force:e.trigger===`manual`,runtimeContext:e});if(d.ok&&d.compacted&&o?.hasHooks(`after_compaction`))try{await o.runAfterCompaction({messageCount:-1,compactedCount:-1,tokenCount:d.result?.tokensAfter,sessionFile:e.sessionFile},u)}catch(e){$.warn(`after_compaction hook failed`,{errorMessage:e instanceof Error?e.message:String(e)})}return{ok:d.ok,compacted:d.compacted,reason:d.reason,result:d.result?{summary:d.result.summary??``,firstKeptEntryId:d.result.firstKeptEntryId??``,tokensBefore:d.result.tokensBefore,tokensAfter:d.result.tokensAfter,details:d.result.details}:void 0}}finally{await t.dispose?.()}}))}export{XQ as $,jde as $n,Lm as $r,CB as $t,PSe as A,zfe as An,Tg as Ar,$H as At,u0 as B,RA as Bn,Xh as Br,vH as Bt,XSe as C,CM as Cn,iS as Cr,JW as Ct,y4 as D,Fj as Dn,yv as Dr,OU as Dt,v4 as E,EM as En,yx as Er,cW as Et,N0 as F,cj as Fn,ag as Fr,FH as Ft,t1 as G,Fde as Gn,Hh as Gr,lH as Gt,Z1 as H,FA as Hn,Fh as Hr,bH as Ht,P0 as I,$A as In,og as Ir,MH as It,Y$ as J,Rde as Jn,Sh as Jr,KB as Jt,$$ as K,sA as Kn,Wh as Kr,uV as Kt,M0 as L,BA as Ln,Uh as Lr,NH as Lt,t2 as M,fj as Mn,Cg as Mr,eU as Mt,X0 as N,Wfe as Nn,pg as Nr,tU as Nt,_4 as O,Dj as On,ov as Or,QH as Ot,L0 as P,sj as Pn,cg as Pr,XH as Pt,D$ as Q,tA as Qn,Hre as Qr,PB as Qt,_0 as R,UA as Rn,Vh as Rr,yH as Rt,n3 as S,zM as Sn,aS as Sr,vG as St,x4 as T,TM as Tn,bx as Tr,GW as Tt,sye as U,xA as Un,Ih as Ur,mH as Ut,Q1 as V,jA as Vn,Lh as Vr,hH as Vt,e1 as W,SA as Wn,Zh as Wr,pH as Wt,V$ as X,Lde as Xn,dh as Xr,JB as Xt,W$ as Y,Mde as Yn,wh as Yr,IB as Yt,$ve as Z,aA as Zn,Im as Zr,qB as Zt,cDe as _,jN as _n,uC as _r,WG as _t,k9 as a,Am as ai,_R as an,ZD as ar,DX as at,K3 as b,TN as bn,fC as br,bG as bt,v7 as c,Tm as ci,XL as cn,SD as cr,KY as ct,wAe as d,WP as dn,Qse as dr,jq as dt,Bre as ei,SB as en,Nde as er,lQ as et,R5 as f,HP as fn,AE as fr,yq as ft,K6 as g,PN as gn,WC as gr,bK as gt,v8 as h,ZN as hn,xw as hr,UG as ht,J9 as i,Ure as ii,bR as in,aue as ir,wX as it,t4 as j,Hfe as jn,Sg as jr,ZH as jt,g4 as k,Vfe as kn,bg as kr,JH as kt,_7 as l,WI as ln,OE as lr,OY as lt,$De as m,nP as mn,VT as mr,qG as mt,X9 as n,Vre as ni,xR as nn,zO as nr,cQ as nt,x7 as o,Are as oi,QL as on,YD as or,kY as ot,Y8 as p,rP as pn,HT as pr,vq as pt,Q$ as q,Ide as qn,tg as qr,lV as qt,Y9 as r,zre as ri,hR as rn,FO as rr,UZ as rt,S7 as s,Cm as si,ZL as sn,BD as sr,qY as st,$Ne as t,Rre as ti,kR as tn,xk as tr,uQ as tt,s7 as u,UP as un,Zse as ur,TY as ut,k6 as v,xN as vn,dC as vr,xG as vt,T4 as w,SM as wn,rS as wr,UW as wt,y3 as x,wN as xn,cC as xr,yG as xt,T6 as y,SN as yn,lC as yr,MG as yt,p0 as z,IA as zn,Qh as zr,_H as zt};
|
|
539
|
+
//# sourceMappingURL=compact-Dg66DXx_.js.map
|
|
@@ -116,3 +116,4 @@ Register-ArgumentCompleter -Native -CommandName ${t} -ScriptBlock {
|
|
|
116
116
|
${r}
|
|
117
117
|
}
|
|
118
118
|
`}function K(e){let t=e.name(),n=``,r=(e,i)=>{let a=e.name(),o=[...i];if(i.length>0&&o.push(a),i.length===0){for(let r of e.commands)n+=_({rootCmd:t,condition:`__fish_use_subcommand`,name:r.name(),description:r.description()});for(let r of e.options)n+=v({rootCmd:t,condition:`__fish_use_subcommand`,flags:r.flags,description:r.description})}else{for(let r of e.commands)n+=_({rootCmd:t,condition:`__fish_seen_subcommand_from ${a}`,name:r.name(),description:r.description()});for(let r of e.options)n+=v({rootCmd:t,condition:`__fish_seen_subcommand_from ${a}`,flags:r.flags,description:r.description})}for(let t of e.commands)r(t,[...i,a])};return r(e,[]),n}export{T as a,F as i,y as n,S as o,R as r,I as s,E as t};
|
|
119
|
+
//# sourceMappingURL=completion-cli-BZi4nuQb.js.map
|
|
@@ -116,3 +116,4 @@ Register-ArgumentCompleter -Native -CommandName ${t} -ScriptBlock {
|
|
|
116
116
|
${r}
|
|
117
117
|
}
|
|
118
118
|
`}function K(e){let t=e.name(),n=``,r=(e,i)=>{let a=e.name(),o=[...i];if(i.length>0&&o.push(a),i.length===0){for(let r of e.commands)n+=_({rootCmd:t,condition:`__fish_use_subcommand`,name:r.name(),description:r.description()});for(let r of e.options)n+=v({rootCmd:t,condition:`__fish_use_subcommand`,flags:r.flags,description:r.description})}else{for(let r of e.commands)n+=_({rootCmd:t,condition:`__fish_seen_subcommand_from ${a}`,name:r.name(),description:r.description()});for(let r of e.options)n+=v({rootCmd:t,condition:`__fish_seen_subcommand_from ${a}`,flags:r.flags,description:r.description})}for(let t of e.commands)r(t,[...i,a])};return r(e,[]),n}export{T as a,F as i,y as n,S as o,R as r,I as s,E as t};
|
|
119
|
+
//# sourceMappingURL=completion-cli-C40TWdsv.js.map
|
package/dist/config-BqW5S1xL.js
CHANGED