@qqbrowser/openclaw-qbot 0.0.127 → 0.0.129
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 -1
- package/dist/acp-cli-01SGjPGi.js +1 -1
- package/dist/acp-cli-uxN405XG.js +1 -1
- package/dist/active-listener-BZ6loNaF.js +1 -1
- package/dist/active-listener-D8VOdVx3.js +1 -1
- package/dist/active-listener-DB5mhDuO.js +1 -1
- package/dist/active-listener-DeKRt_UV.js +1 -1
- package/dist/agent-scope-DAWJwFfl.js +1 -1
- package/dist/agent-scope-DXZc3eNT.js +1 -1
- package/dist/agents-BMh3ZeoB.js +1 -1
- package/dist/agents.config-B-0lZSmb.js +1 -1
- package/dist/agents.config-BDEN2Eph.js +1 -1
- package/dist/allow-from-B6dI7oz8.js +1 -1
- package/dist/allow-from-DEeVIPKS.js +1 -1
- package/dist/api-BeG0ObSq.js +1 -1
- package/dist/api-Dx8x1KTs.js +1 -1
- package/dist/api-key-rotation-C_MG2y1D.js +1 -1
- package/dist/api-key-rotation-D8WsZ43x.js +1 -1
- package/dist/api-key-rotation-DYYvcqSG.js +1 -1
- package/dist/api-key-rotation-dNu0GxPN.js +1 -1
- package/dist/arg-split-BOqSMBuf.js +1 -1
- package/dist/arg-split-DE5RqDHq.js +1 -1
- package/dist/audio-preflight--K4-eUVY.js +1 -1
- package/dist/audio-preflight-BKIm58PG.js +1 -1
- package/dist/audio-preflight-CAfi10dl.js +1 -1
- package/dist/audio-preflight-Xm0NL5JA.js +1 -1
- package/dist/audio-transcription-runner-BJNP7vB8.js +1 -1
- package/dist/audio-transcription-runner-BUsb6cqv.js +1 -1
- package/dist/audio-transcription-runner-C_31Yoq0.js +1 -1
- package/dist/audio-transcription-runner-CjKLRVPo.js +1 -1
- package/dist/audit-7DFnKINd.js +1 -1
- package/dist/audit-B6LsW3Ai.js +1 -1
- package/dist/audit-membership-runtime-BpRsMj5-.js +1 -1
- package/dist/audit-membership-runtime-BsfLZNBj.js +1 -1
- package/dist/audit-membership-runtime-DRHirRmx.js +1 -1
- package/dist/audit-membership-runtime-g0dEWJTp.js +1 -1
- package/dist/audit-membership-runtime-kdyToskD.js +1 -1
- package/dist/auth-choice-BNd2SNjJ.js +1 -1
- package/dist/auth-choice-C3aUWXx9.js +1 -1
- package/dist/auth-choice-DViEjgMg.js +1 -1
- package/dist/auth-choice-edozMf7r.js +1 -1
- package/dist/auth-choice-options-B3WQyS7I.js +1 -1
- package/dist/auth-choice-options-Dw14noox.js +1 -1
- package/dist/auth-choice-prompt-uegl56cf.js +1 -1
- package/dist/auth-choice-prompt-xYj13czb.js +1 -1
- package/dist/auth-choice.apply-helpers-CNLYnRxx.js +1 -1
- package/dist/auth-choice.apply-helpers-DCe5nTyP.js +1 -1
- package/dist/auth-profiles-BhXA8Jy2.js +1 -1
- package/dist/auth-token-C75IOb_K.js +1 -1
- package/dist/auth-token-CzgZf-ta.js +1 -1
- package/dist/banner-mIDEloRy.js +1 -1
- package/dist/bonjour-discovery-CpvzLjyB.js +1 -1
- package/dist/bonjour-discovery-wsh3Si1Q.js +1 -1
- package/dist/boolean-Ch3DfXPy.js +1 -1
- package/dist/boolean-D15s2V33.js +1 -1
- package/dist/boolean-DypnRoRK.js +1 -1
- package/dist/brew-COcDl8CB.js +1 -1
- package/dist/brew-DDPm_HfE.js +1 -1
- package/dist/browser-cli-BjzNbvF9.js +1 -1
- package/dist/browser-cli-CgHkgtgV.js +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +1 -1
- package/dist/bundled/bootstrap-extra-files/handler.js +1 -1
- package/dist/bundled/command-logger/handler.js +1 -1
- package/dist/bundled/session-memory/handler.js +1 -1
- package/dist/call-BA3O_Qpl.js +1 -1
- package/dist/call-BQT0zCgv.js +1 -1
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/channel-account-context-BMPAMZEv.js +1 -1
- package/dist/channel-account-context-DAcarnqW.js +1 -1
- package/dist/channel-activity-B04WbrrK.js +1 -1
- package/dist/channel-activity-BPRCQpI6.js +1 -1
- package/dist/channel-activity-D2VTmenR.js +1 -1
- package/dist/channel-activity-DHY5wAyl.js +1 -1
- package/dist/channel-activity-DYpm-0Cz.js +1 -1
- package/dist/channel-options-BYmHreMn.js +1 -1
- package/dist/channel-options-Cbv7VETu.js +1 -1
- package/dist/channel-selection-Ddyykqxv.js +1 -1
- package/dist/channel-selection-oRONo9z3.js +1 -1
- package/dist/channel-web-CK4RqVCH.js +1 -1
- package/dist/channel-web-Xw89Exy3.js +1 -1
- package/dist/channels/plugins/actions/discord.js +1 -1
- package/dist/channels/plugins/actions/signal.js +1 -1
- package/dist/channels/plugins/actions/telegram.js +1 -1
- package/dist/channels/plugins/agent-tools/whatsapp-login.js +1 -1
- package/dist/channels-cli-D2y5Xk5i.js +1 -1
- package/dist/channels-cli-cwFjBXcP.js +1 -1
- package/dist/channels-status-issues-8eFrGKyf.js +1 -1
- package/dist/channels-status-issues-PRgOT90w.js +1 -1
- package/dist/chat-envelope-Bznn2SoS.js +1 -1
- package/dist/chat-envelope-HVpKusFc.js +1 -1
- package/dist/clack-prompter-DBPdGdqp.js +1 -1
- package/dist/clack-prompter-Dq0aY6iM.js +1 -1
- package/dist/clawbot-cli-BwG1-8A9.js +1 -1
- package/dist/clawbot-cli-CaNu5A0G.js +1 -1
- package/dist/cleanup-utils-BWm70DoD.js +1 -1
- package/dist/cleanup-utils-D-RhEX6F.js +1 -1
- package/dist/cli-CQKA38bc.js +1 -1
- package/dist/cli-i7P4bYBg.js +1 -1
- package/dist/cli-utils-BY7dLMFy.js +1 -1
- package/dist/cli-utils-BleB1eys.js +1 -1
- package/dist/clipboard-Bk8cviBt.js +1 -1
- package/dist/clipboard-CKT_VIkG.js +1 -1
- package/dist/cmd-argv-BBT5l8AV.js +1 -1
- package/dist/cmd-argv-Bh-KpaZ0.js +1 -1
- package/dist/command-format-BbDT1tlm.js +1 -1
- package/dist/command-format-CLxIPuLR.js +1 -1
- package/dist/command-options-BpOUDl2S.js +1 -1
- package/dist/command-options-Bq5nQxz6.js +1 -1
- package/dist/command-poll-backoff-BZLHYB2k.js +1 -1
- package/dist/command-poll-backoff-Cww_r-24.js +1 -1
- package/dist/command-poll-backoff-Df6cOQrX.js +1 -1
- package/dist/command-poll-backoff-endAPdwn.js +1 -1
- package/dist/command-registry-BYk36N_R.js +1 -1
- package/dist/command-secret-targets-BBTiqQKa.js +1 -1
- package/dist/command-secret-targets-KM3OecbM.js +1 -1
- package/dist/commands-CGpM84iR.js +1 -1
- package/dist/commands-Dy7duWlt.js +1 -1
- package/dist/commands-registry-B3FI6TSl.js +1 -1
- package/dist/commands-registry-CxDVU5s9.js +1 -1
- package/dist/commands-registry-Dn2uuNuy.js +1 -1
- package/dist/commands-registry-Du79fdAL.js +1 -1
- package/dist/compact-CuBCVnVS.js +1 -1
- package/dist/completion-cli-CRNTbZlR.js +1 -1
- package/dist/completion-cli-DbGDCoiM.js +1 -1
- package/dist/config-BqW5S1xL.js +1 -1
- package/dist/config-DAQjvwZw.js +1 -1
- package/dist/config-cli-D_coAWd9.js +1 -1
- package/dist/config-cli-EKXoNzLf.js +1 -1
- package/dist/config-guard-U0wlYLUN.js +1 -1
- package/dist/config-guard-XayIkveC.js +1 -1
- package/dist/config-validation-B0nN9egx.js +1 -1
- package/dist/config-validation-CAHnpjrk.js +1 -1
- package/dist/configure-DNnQRKy8.js +1 -1
- package/dist/configure-NCNskZPe.js +1 -1
- package/dist/connection-auth-BcPbGyxw.js +1 -1
- package/dist/connection-auth-DZ-3Svr_.js +1 -1
- package/dist/context-window-guard-7crlatf9.js +1 -1
- package/dist/context-window-guard-CPChk363.js +1 -1
- package/dist/control-ui/apple-touch-icon.png +0 -0
- package/dist/control-ui/assets/de-DuUYLvt1.js +1 -0
- package/dist/control-ui/assets/es-DHtyqUQZ.js +1 -0
- package/dist/control-ui/assets/index-CYbiPp9k.js +8383 -0
- package/dist/control-ui/assets/index-C_GaJ8wS.css +1 -0
- package/dist/control-ui/assets/pt-BR-D2dJb9G8.js +1 -0
- package/dist/control-ui/assets/zh-CN-BgJ8_lE3.js +1 -0
- package/dist/control-ui/assets/zh-TW-cW5xB87I.js +1 -0
- package/dist/control-ui/favicon-32.png +0 -0
- package/dist/control-ui/favicon.ico +0 -0
- package/dist/control-ui/favicon.svg +22 -0
- package/dist/control-ui/index.html +17 -0
- package/dist/control-ui-assets-BIa0GGDg.js +1 -1
- package/dist/control-ui-assets-CTHGGgaX.js +1 -1
- package/dist/cron-cli-Cro66JtU.js +1 -1
- package/dist/cron-cli-DIeBukvk.js +1 -1
- package/dist/daemon-cli-Cw_fxNgE.js +1 -1
- package/dist/daemon-cli-DQsKS3pT.js +1 -1
- package/dist/daemon-cli.js +1 -1
- package/dist/daemon-install-C_DmJEkV.js +1 -1
- package/dist/daemon-install-D1DacLbM.js +1 -1
- package/dist/daemon-install-plan.shared-BSDdwWjB.js +1 -1
- package/dist/daemon-install-plan.shared-Dx3DBXCG.js +1 -1
- package/dist/daemon-runtime-DHiDbRuC.js +1 -1
- package/dist/daemon-runtime-VcpeBRJV.js +1 -1
- package/dist/dangerous-name-matching-BOmvAibz.js +1 -1
- package/dist/dangerous-name-matching-DtllRqBD.js +1 -1
- package/dist/dangerous-tools-CFRYQJ6V.js +1 -1
- package/dist/dangerous-tools-oYCu5wfC.js +1 -1
- package/dist/deliver-2c-EsQ_W.js +1 -1
- package/dist/deliver-BudDnEIb.js +1 -1
- package/dist/deliver-COKdxPmA.js +1 -1
- package/dist/deliver-DHP2vHKB.js +1 -1
- package/dist/delivery-queue-CKbauSFq.js +1 -1
- package/dist/delivery-queue-nkPJu0fY.js +1 -1
- package/dist/device-pairing-4eDo43Kk.js +1 -1
- package/dist/device-pairing-B7ZXiXp3.js +1 -1
- package/dist/devices-cli-BXUIb_UN.js +1 -1
- package/dist/devices-cli-D7PkbnHO.js +1 -1
- package/dist/diagnostic-Bzd5vlKH.js +1 -1
- package/dist/diagnostic-CFmHdXHP.js +1 -1
- package/dist/diagnostic-CW_Jv5UM.js +1 -1
- package/dist/diagnostic-Dza7-pMC.js +1 -1
- package/dist/diagnostics-BgbeL9KE.js +1 -1
- package/dist/diagnostics-Cdctg9K_.js +1 -1
- package/dist/directory-cli-CxeuNJcC.js +1 -1
- package/dist/directory-cli-DFlYCB5L.js +1 -1
- package/dist/dns-cli-BDbHznhi.js +1 -1
- package/dist/dns-cli-OuwliJ60.js +1 -1
- package/dist/docs-cli-Cdw9Iz9a.js +1 -1
- package/dist/docs-cli-ClD2UyX1.js +1 -1
- package/dist/doctor-completion-BSOX-LSq.js +1 -1
- package/dist/doctor-completion-DXqdpdlo.js +1 -1
- package/dist/doctor-config-flow-DHB8N7tT.js +1 -1
- package/dist/doctor-config-flow-MjfHBDlw.js +1 -1
- package/dist/enable-DVuqWT2a.js +1 -1
- package/dist/enable-DWaSH1HY.js +1 -1
- package/dist/entry-status-CCwwKO43.js +1 -1
- package/dist/entry-status-CoXkbJcX.js +1 -1
- package/dist/entry.js +1 -1
- package/dist/env-D7wNuBx1.js +1 -1
- package/dist/env-overrides-DHtB4kK3.js +1 -1
- package/dist/env-overrides-DXJbFrwI.js +1 -1
- package/dist/errors-6SQWM9dj.js +1 -1
- package/dist/errors-Bunti32V.js +1 -1
- package/dist/exec-B3eleY5O.js +1 -1
- package/dist/exec-DHqLtFYt.js +1 -1
- package/dist/exec-approvals-BXO9Cezj.js +1 -1
- package/dist/exec-approvals-BpBNEy6i.js +1 -1
- package/dist/exec-approvals-allowlist-BKFaHvA5.js +1 -1
- package/dist/exec-approvals-allowlist-DBh9Pm77.js +1 -1
- package/dist/exec-approvals-cli-0neCwpk-.js +1 -1
- package/dist/exec-approvals-cli-BuHSw09B.js +1 -1
- package/dist/exec-safe-bin-runtime-policy-Ck3GO5AB.js +1 -1
- package/dist/exec-safe-bin-runtime-policy-D2WexijZ.js +1 -1
- package/dist/fetch-BI3CnKE3.js +1 -1
- package/dist/fetch-BJT3BrkJ.js +1 -1
- package/dist/fetch-Bn0mWg6a.js +1 -1
- package/dist/fetch-CY5G3PDq.js +1 -1
- package/dist/fetch-Ce-scEU-.js +1 -1
- package/dist/fetch-D0rZDHKO.js +1 -1
- package/dist/fetch-DHo17YmK.js +1 -1
- package/dist/fetch-Dh-apy46.js +1 -1
- package/dist/fetch-Dikjvc5M.js +1 -1
- package/dist/fetch-DsjPfQlp.js +1 -1
- package/dist/fetch-_g8lZ8K8.js +1 -1
- package/dist/fetch-guard-BaRbr_V6.js +1 -1
- package/dist/fetch-guard-BmNIhXP-.js +1 -1
- package/dist/fetch-guard-ChVqc0HF.js +1 -1
- package/dist/fetch-guard-Cji70DJW.js +1 -1
- package/dist/fetch-hy0JKSsm.js +1 -1
- package/dist/fetch-timeout-CdYxWG9w.js +1 -1
- package/dist/fetch-timeout-Cj8_oAls.js +1 -1
- package/dist/fetch-timeout-DoOI_izT.js +1 -1
- package/dist/fetch-timeout-u8g99Ax0.js +1 -1
- package/dist/fetch-xT2jRpqs.js +1 -1
- package/dist/format-Bn1bwJKX.js +1 -1
- package/dist/format-Ce7I7s-k.js +1 -1
- package/dist/format-duration-C8AzNqKh.js +1 -1
- package/dist/format-duration-D5AMtmHa.js +1 -1
- package/dist/format-relative-B9pSIdGe.js +1 -1
- package/dist/format-relative-DkMjYy7z.js +1 -1
- package/dist/frontmatter-BkZkwkVO.js +1 -1
- package/dist/frontmatter-C7mzDNxd.js +1 -1
- package/dist/frontmatter-CzpfPBFl.js +1 -1
- package/dist/gateway-cli-Bj-BYgGN.js +1 -1
- package/dist/gateway-cli-DP65otLl.js +1 -1
- package/dist/gateway-install-token-BIqlEgy0.js +1 -1
- package/dist/gateway-install-token-CtUJl3A3.js +1 -1
- package/dist/gateway-rpc-DJHjmEZz.js +1 -1
- package/dist/gateway-rpc-XRAMeV67.js +1 -1
- package/dist/github-copilot-token-C79yeDKS.js +1 -1
- package/dist/github-copilot-token-DGYAlOmV.js +1 -1
- package/dist/github-copilot-token-DePP-lIf.js +1 -1
- package/dist/github-copilot-token-wm6mbypz.js +1 -1
- package/dist/gmail-setup-utils-CYOH3zzx.js +1 -1
- package/dist/gmail-setup-utils-S-MyEGuj.js +1 -1
- package/dist/group-access-BHKVOhrj.js +1 -1
- package/dist/group-access-D2DOYMfr.js +1 -1
- package/dist/health-Bedsiigi.js +1 -1
- package/dist/health-Cy_CvKbX.js +1 -1
- package/dist/health-format-B1nj3Wfn.js +1 -1
- package/dist/health-format-VBr6LEpt.js +1 -1
- package/dist/heartbeat-visibility-BQ_esv2m.js +1 -1
- package/dist/heartbeat-visibility-q74UdY8O.js +1 -1
- package/dist/help-format-B4aEI7V9.js +1 -1
- package/dist/help-format-BRbF_INg.js +1 -1
- package/dist/helpers-COz1ghcB.js +1 -1
- package/dist/helpers-Cp8gcO6u.js +1 -1
- package/dist/hooks-cli-DrnH2iDk.js +1 -1
- package/dist/hooks-cli-DvfZKyZl.js +1 -1
- package/dist/hooks-status-BHt-Xvh4.js +1 -1
- package/dist/hooks-status-CRJ4J0ZW.js +1 -1
- package/dist/image-BJC11A7e.js +1 -1
- package/dist/image-BKPxWO_2.js +1 -1
- package/dist/image-Ba-mOMMV.js +1 -1
- package/dist/image-D-R3N1it.js +1 -1
- package/dist/index.js +1 -1
- package/dist/inspect-BKV-I1UE.js +1 -1
- package/dist/inspect-z59cgmYc.js +1 -1
- package/dist/install-safe-path-C6kc_8NW.js +1 -1
- package/dist/install-safe-path-iesxijn2.js +1 -1
- package/dist/installs-BNeI_oML.js +1 -1
- package/dist/installs-C1xQLuby.js +1 -1
- package/dist/ipv4-BXZDlz5C.js +1 -1
- package/dist/ipv4-BnPLbv6y.js +1 -1
- package/dist/ir-BYCrFFZ9.js +1 -1
- package/dist/ir-CH7YvSi9.js +1 -1
- package/dist/ir-CSysIkNU.js +1 -1
- package/dist/ir-CZdZsdnI.js +1 -1
- package/dist/is-main-DG5ueqhF.js +1 -1
- package/dist/issue-format-CpTuk_rQ.js +1 -1
- package/dist/issue-format-kj7FXHhi.js +1 -1
- package/dist/kill-tree-DBJW8_Q-.js +1 -1
- package/dist/lifecycle-core-B72WHNHV.js +1 -1
- package/dist/lifecycle-core-dhkH_Nux.js +1 -1
- package/dist/line/accounts.js +1 -1
- package/dist/line/send.js +1 -1
- package/dist/line/template-messages.js +1 -1
- package/dist/links-CBnmRP9D.js +1 -1
- package/dist/links-CySwdMcF.js +1 -1
- package/dist/llm-slug-generator.js +1 -1
- package/dist/load-options-BsOW74dp.js +1 -1
- package/dist/load-options-C7dLuybp.js +1 -1
- package/dist/load-options-DV4j6Aqb.js +1 -1
- package/dist/load-options-Dwt0CeEg.js +1 -1
- package/dist/local-roots-Dxioh0C2.js +1 -1
- package/dist/logger-5W0OocJW.js +1 -1
- package/dist/logger-Bl8URnrW.js +1 -1
- package/dist/logger-DwWqfo66.js +1 -1
- package/dist/logger-kQAOe3qp.js +1 -1
- package/dist/logging-Dz4Qg6th.js +1 -1
- package/dist/logging-KiJmOmw4.js +1 -1
- package/dist/login-BMZxDYaU.js +1 -1
- package/dist/login-BdzP8F8J.js +1 -1
- package/dist/login-BzU0cMck.js +1 -1
- package/dist/login-Cb1A6qwM.js +1 -1
- package/dist/login-qr-BgsmAwKm.js +1 -1
- package/dist/login-qr-Bux8gWTO.js +1 -1
- package/dist/login-qr-COr_25Hx.js +1 -1
- package/dist/login-qr-CxBPOOAK.js +1 -1
- package/dist/login-qr-DnQm7bM4.js +1 -1
- package/dist/logs-cli-BM2XCmrH.js +1 -1
- package/dist/logs-cli-HKhyxaUs.js +1 -1
- package/dist/manager-B6zZuJEB.js +1 -1
- package/dist/manager-BwrZfep3.js +1 -1
- package/dist/manager-C5SBozw4.js +1 -1
- package/dist/manager-CjihRbGa.js +1 -1
- package/dist/memory-cli-CnruTL1h.js +1 -1
- package/dist/memory-cli-DHvscp7X.js +1 -1
- package/dist/model-catalog-BLdaFmIo.js +1 -1
- package/dist/model-catalog-vNCcsy4h.js +1 -1
- package/dist/model-param-b-B0r2cPDw.js +1 -1
- package/dist/model-param-b-BqIr5rY5.js +1 -1
- package/dist/model-picker-BaeW3tiV.js +1 -1
- package/dist/model-picker-DN0czUYS.js +1 -1
- package/dist/model-selection-C2QwHmXT.js +1 -1
- package/dist/model-selection-I1ctjFOB.js +1 -1
- package/dist/model-selection-qkByRv5A.js +1 -1
- package/dist/models-UTdl0vXO.js +1 -1
- package/dist/models-cli-QRONP7EL.js +1 -1
- package/dist/models-cli-vRoB_gfX.js +1 -1
- package/dist/models-config-CWIlroKT.js +1 -1
- package/dist/models-config-DN2Q51fC.js +1 -1
- package/dist/mutable-allowlist-detectors-C4rNVag8.js +1 -1
- package/dist/mutable-allowlist-detectors-CL0qe54J.js +1 -1
- package/dist/node-cli-2-E4-83G.js +1 -1
- package/dist/node-cli-DUI7Zctj.js +1 -1
- package/dist/node-command-policy-Bbmnc16l.js +1 -1
- package/dist/node-command-policy-DgkwfoCs.js +1 -1
- package/dist/node-commands-8GBOiktk.js +1 -1
- package/dist/node-commands-DdkziOTx.js +1 -1
- package/dist/node-resolve-B3BJbmQX.js +1 -1
- package/dist/node-resolve-DLZf3-1V.js +1 -1
- package/dist/node-service-BRfrNp8l.js +1 -1
- package/dist/node-service-C0bl7jcZ.js +1 -1
- package/dist/node-shell-dXp4vk-i.js +1 -1
- package/dist/nodes-cli-DU13-dCL.js +1 -1
- package/dist/nodes-cli-rPeIRj_f.js +1 -1
- package/dist/nodes-screen-C7-5RrbN.js +1 -1
- package/dist/note-D4GAwgha.js +1 -1
- package/dist/note-Dp-d_utk.js +1 -1
- package/dist/npm-pack-install-B23L-AtF.js +1 -1
- package/dist/npm-pack-install-C0te3Oap.js +1 -1
- package/dist/npm-resolution-BCXCw93f.js +1 -1
- package/dist/npm-resolution-Cmm82lui.js +1 -1
- package/dist/oauth-env-DAamJ1oz.js +1 -1
- package/dist/oauth-env-DSLBTWb1.js +1 -1
- package/dist/oauth-tls-preflight-BSBRDIfC.js +1 -1
- package/dist/oauth-tls-preflight-ByNjbUR5.js +1 -1
- package/dist/ollama-setup-CKt3tF-S.js +1 -1
- package/dist/ollama-setup-I8lghdX1.js +1 -1
- package/dist/onboard-B3WSjKCu.js +1 -1
- package/dist/onboard-C65vdb94.js +1 -1
- package/dist/onboard-channels-9CmG3Jgn.js +1 -1
- package/dist/onboard-channels-CV1AK9jY.js +1 -1
- package/dist/onboard-config-B7U20YRw.js +1 -1
- package/dist/onboard-config-DS9dUv8M.js +1 -1
- package/dist/onboard-custom-CwHYUB0T.js +1 -1
- package/dist/onboard-custom-uwufXtQf.js +1 -1
- package/dist/onboard-helpers-CGJLUoxR.js +1 -1
- package/dist/onboard-helpers-DbpWQoiB.js +1 -1
- package/dist/onboard-hooks-CERzXObm.js +1 -1
- package/dist/onboard-hooks-gQ3sxBNi.js +1 -1
- package/dist/onboard-provider-auth-flags-CqbipO7D.js +1 -1
- package/dist/onboard-provider-auth-flags-Dvwzdz37.js +1 -1
- package/dist/onboard-remote-BeDZ_gbH.js +1 -1
- package/dist/onboard-remote-KTUx-3G1.js +1 -1
- package/dist/onboard-search-f2tJD4hg.js +1 -1
- package/dist/onboard-search-fslKKhyg.js +1 -1
- package/dist/onboard-skills-BoS_oVdm.js +1 -1
- package/dist/onboard-skills-C4omGWoD.js +1 -1
- package/dist/onboarding-B8icigkk.js +1 -1
- package/dist/onboarding-BJRqNsZ8.js +1 -1
- package/dist/onboarding.finalize-D0qISqn-.js +1 -1
- package/dist/onboarding.finalize-Ds9NwPBL.js +1 -1
- package/dist/onboarding.gateway-config-F8n_QFUR.js +1 -1
- package/dist/onboarding.gateway-config-eno73eHw.js +1 -1
- package/dist/onboarding.secret-input-B6fzeucQ.js +1 -1
- package/dist/onboarding.secret-input-CBuD3c32.js +1 -1
- package/dist/openai-codex-model-default-Df2T3foI.js +1 -1
- package/dist/openai-codex-model-default-DtIeKJm0.js +1 -1
- package/dist/openai-model-default-DIE55yBt.js +1 -1
- package/dist/openai-model-default-sqvWk4kB.js +1 -1
- package/dist/openclaw-exec-env-BWbOu_YC.js +1 -1
- package/dist/openclaw-root-CnsBf6ZU.js +1 -1
- package/dist/openclaw-root-D_0Q6--h.js +1 -1
- package/dist/outbound-B88MLJN3.js +1 -1
- package/dist/outbound-C-4qToKv.js +1 -1
- package/dist/outbound-CSk4oF0g.js +1 -1
- package/dist/outbound-DKMI_4xm.js +1 -1
- package/dist/outbound-attachment-BOax42-M.js +1 -1
- package/dist/outbound-attachment-DBNxdLYh.js +1 -1
- package/dist/outbound-attachment-DVjJQ3V6.js +1 -1
- package/dist/outbound-attachment-aZWcoZ-N.js +1 -1
- package/dist/pairing-cli-Cby6Ww8F.js +1 -1
- package/dist/pairing-cli-DiJb_a0V.js +1 -1
- package/dist/pairing-labels-BP1h0iHy.js +1 -1
- package/dist/pairing-labels-ryOnuOFA.js +1 -1
- package/dist/pairing-store-Bv4KSELv.js +1 -1
- package/dist/pairing-store-CjTPxq0X.js +1 -1
- package/dist/pairing-token-CKX1ds78.js +1 -1
- package/dist/pairing-token-CX0SUJsB.js +1 -1
- package/dist/parse-duration-XTjMKl8s.js +1 -1
- package/dist/parse-finite-number-DqzUM-_s.js +1 -1
- package/dist/parse-finite-number-dBmDLLKL.js +1 -1
- package/dist/parse-log-line-CsYLg7Qu.js +1 -1
- package/dist/parse-log-line-NV-cipB_.js +1 -1
- package/dist/parse-port-Bv1Y9Wk5.js +1 -1
- package/dist/parse-port-JVwkxcZ8.js +1 -1
- package/dist/parse-timeout-DWSGfCkQ.js +1 -1
- package/dist/parse-timeout-Dx4QnVzo.js +1 -1
- package/dist/path-alias-guards-kY_ZbWs-.js +1 -1
- package/dist/path-alias-guards-mvyLCPlN.js +1 -1
- package/dist/path-env-BPd1Yd-i.js +1 -1
- package/dist/path-env-emdAQejM.js +1 -1
- package/dist/path-safety-BukYK8Kd.js +1 -1
- package/dist/path-safety-DaaMJFdt.js +1 -1
- package/dist/paths-B4IRk3wi.js +1 -1
- package/dist/paths-BfjJY2VL.js +1 -1
- package/dist/paths-BjD3T_xq.js +1 -1
- package/dist/paths-BpQOWYiT.js +1 -1
- package/dist/paths-CChBdtE8.js +1 -1
- package/dist/paths-CrCoPIVK.js +1 -1
- package/dist/paths-piJASC5k.js +1 -1
- package/dist/paths-yLEk_25I.js +1 -1
- package/dist/pi-embedded-ZEWNj7P5.js +1 -1
- package/dist/pi-embedded-bqE4EmdD.js +1 -1
- package/dist/pi-model-discovery-6myCPEJE.js +1 -1
- package/dist/pi-model-discovery-AiV9h8k6.js +1 -1
- package/dist/pi-model-discovery-BzqdozHB.js +1 -1
- package/dist/pi-model-discovery-C8YBu6D4.js +1 -1
- package/dist/pi-tools.before-tool-call.runtime-CPAJMO7J.js +1 -1
- package/dist/pi-tools.before-tool-call.runtime-CYmLHod0.js +1 -1
- package/dist/pi-tools.before-tool-call.runtime-CfVqI0Ng.js +1 -1
- package/dist/pi-tools.before-tool-call.runtime-D9FlPJ_v.js +1 -1
- package/dist/pi-tools.policy-CeSKHaKa.js +1 -1
- package/dist/plugin-auto-enable-Cp7L8ko8.js +1 -1
- package/dist/plugin-auto-enable-DCOxqfDQ.js +1 -1
- package/dist/plugin-install-plan-BobX0y9S.js +1 -1
- package/dist/plugin-install-plan-NvDGp0d8.js +1 -1
- package/dist/plugin-registry-Fg000e4I.js +1 -1
- package/dist/plugin-registry-fm5tDUbE.js +1 -1
- package/dist/plugin-sdk/account-id.cjs +1 -1
- package/dist/plugin-sdk/account-id.js +1 -1
- package/dist/plugin-sdk/acpx.cjs +1 -1
- package/dist/plugin-sdk/acpx.js +1 -1
- package/dist/plugin-sdk/active-listener-BFeaYGID.js +1 -1
- package/dist/plugin-sdk/active-listener-BszCM2Au.cjs +1 -1
- package/dist/plugin-sdk/active-listener-CIcleJgU.cjs +1 -1
- package/dist/plugin-sdk/active-listener-Cqgd7xVh.cjs +1 -1
- package/dist/plugin-sdk/active-listener-D578zEtk.cjs +1 -1
- package/dist/plugin-sdk/active-listener-D6gGPLq-.js +1 -1
- package/dist/plugin-sdk/active-listener-DKSZRn4x.cjs +1 -1
- package/dist/plugin-sdk/active-listener-DNO10F1L.js +1 -1
- package/dist/plugin-sdk/active-listener-DQq07Aar.js +1 -1
- package/dist/plugin-sdk/active-listener-Dle_kYqb.js +1 -1
- package/dist/plugin-sdk/active-listener-DmJcHkMC.js +1 -1
- package/dist/plugin-sdk/active-listener-UmFpcYFY.cjs +1 -1
- package/dist/plugin-sdk/api-key-rotation-39TRXDEA.cjs +1 -1
- package/dist/plugin-sdk/api-key-rotation-7qlqJ_ou.js +1 -1
- package/dist/plugin-sdk/api-key-rotation-BY7fLi9z.js +1 -1
- package/dist/plugin-sdk/api-key-rotation-CF9_CKS-.cjs +1 -1
- package/dist/plugin-sdk/api-key-rotation-CWylhFOt.cjs +1 -1
- package/dist/plugin-sdk/api-key-rotation-ClZmonv2.js +1 -1
- package/dist/plugin-sdk/api-key-rotation-CmesQWXP.cjs +1 -1
- package/dist/plugin-sdk/api-key-rotation-Cs6II2__.js +1 -1
- package/dist/plugin-sdk/api-key-rotation-CxaiMcI1.js +1 -1
- package/dist/plugin-sdk/api-key-rotation-D5cfmg7E.cjs +1 -1
- package/dist/plugin-sdk/api-key-rotation-DkP7KnSm.cjs +1 -1
- package/dist/plugin-sdk/api-key-rotation-mDqgBFMG.js +1 -1
- package/dist/plugin-sdk/audio-preflight-B-HrF5Oc.js +1 -1
- package/dist/plugin-sdk/audio-preflight-B2MGeSoT.js +1 -1
- package/dist/plugin-sdk/audio-preflight-BVjiz_Qk.cjs +1 -1
- package/dist/plugin-sdk/audio-preflight-Behqe7F3.cjs +1 -1
- package/dist/plugin-sdk/audio-preflight-C0ncOCbK.cjs +1 -1
- package/dist/plugin-sdk/audio-preflight-C1o1n-KK.js +1 -1
- package/dist/plugin-sdk/audio-preflight-CzLYTZ5P.cjs +1 -1
- package/dist/plugin-sdk/audio-preflight-DDiBwIB9.js +1 -1
- package/dist/plugin-sdk/audio-preflight-DQyh-XSn.cjs +1 -1
- package/dist/plugin-sdk/audio-preflight-WH9WDR81.cjs +1 -1
- package/dist/plugin-sdk/audio-preflight-ZPLO3G1S.js +1 -1
- package/dist/plugin-sdk/audio-preflight-s3BAID12.js +1 -1
- package/dist/plugin-sdk/audio-transcription-runner-2-ZQ5Md-.cjs +1 -1
- package/dist/plugin-sdk/audio-transcription-runner-BO7T_SzP.cjs +1 -1
- package/dist/plugin-sdk/audio-transcription-runner-CRYJlAeP.js +1 -1
- package/dist/plugin-sdk/audio-transcription-runner-CmW24oVR.js +1 -1
- package/dist/plugin-sdk/audio-transcription-runner-CmYuWS0_.cjs +1 -1
- package/dist/plugin-sdk/audio-transcription-runner-CslXJs5c.js +1 -1
- package/dist/plugin-sdk/audio-transcription-runner-DE1tKTQV.cjs +1 -1
- package/dist/plugin-sdk/audio-transcription-runner-DZR84B28.js +1 -1
- package/dist/plugin-sdk/audio-transcription-runner-DoR-NOcV.cjs +1 -1
- package/dist/plugin-sdk/audio-transcription-runner-IE4olXkd.cjs +1 -1
- package/dist/plugin-sdk/audio-transcription-runner-YiDQM_Rb.js +1 -1
- package/dist/plugin-sdk/audio-transcription-runner-kAVM4YFR.js +1 -1
- package/dist/plugin-sdk/audit-membership-runtime-7LqcvqFo.js +1 -1
- package/dist/plugin-sdk/audit-membership-runtime-BQFUzFc0.cjs +1 -1
- package/dist/plugin-sdk/audit-membership-runtime-BYtdDX9G.cjs +1 -1
- package/dist/plugin-sdk/audit-membership-runtime-BzEtBUX6.cjs +1 -1
- package/dist/plugin-sdk/audit-membership-runtime-CBUmGrl4.js +1 -1
- package/dist/plugin-sdk/audit-membership-runtime-ChlVgt2y.js +1 -1
- package/dist/plugin-sdk/audit-membership-runtime-DLRX7LR0.js +1 -1
- package/dist/plugin-sdk/audit-membership-runtime-DbJW5X3L.cjs +1 -1
- package/dist/plugin-sdk/audit-membership-runtime-Du9LAxDa.cjs +1 -1
- package/dist/plugin-sdk/audit-membership-runtime-DylNnj1m.js +1 -1
- package/dist/plugin-sdk/audit-membership-runtime-voi5sPwF.js +1 -1
- package/dist/plugin-sdk/audit-membership-runtime-yWYvSpgZ.cjs +1 -1
- package/dist/plugin-sdk/bluebubbles.cjs +1 -1
- package/dist/plugin-sdk/bluebubbles.js +1 -1
- package/dist/plugin-sdk/channel-activity-Bed876M5.js +1 -1
- package/dist/plugin-sdk/channel-activity-Bu8tAmGa.cjs +1 -1
- package/dist/plugin-sdk/channel-activity-C01Im_o1.js +1 -1
- package/dist/plugin-sdk/channel-activity-CIycjzUC.js +1 -1
- package/dist/plugin-sdk/channel-activity-Cdkn3O_i.js +1 -1
- package/dist/plugin-sdk/channel-activity-Cia2G3v5.js +1 -1
- package/dist/plugin-sdk/channel-activity-D6d2wU8H.cjs +1 -1
- package/dist/plugin-sdk/channel-activity-DNv7JLBx.cjs +1 -1
- package/dist/plugin-sdk/channel-activity-Df3DfYyZ.cjs +1 -1
- package/dist/plugin-sdk/channel-activity-Rut-HCfT.cjs +1 -1
- package/dist/plugin-sdk/channel-activity-mffNSQrX.cjs +1 -1
- package/dist/plugin-sdk/channel-activity-qjwFifkE.js +1 -1
- package/dist/plugin-sdk/channel-web-Ces_xx2T.js +1 -1
- package/dist/plugin-sdk/channel-web-CsmEnYD8.cjs +1 -1
- package/dist/plugin-sdk/channel-web-DtzNv49H.cjs +1 -1
- package/dist/plugin-sdk/channel-web-VEZVrMYU.js +1 -1
- package/dist/plugin-sdk/command-poll-backoff-4910Mpwp.js +1 -1
- package/dist/plugin-sdk/command-poll-backoff-BLJZzV5W.cjs +1 -1
- package/dist/plugin-sdk/command-poll-backoff-CUNcN0dv.cjs +1 -1
- package/dist/plugin-sdk/command-poll-backoff-Cww_r-24.js +1 -1
- package/dist/plugin-sdk/command-poll-backoff-D0lJhquZ.js +1 -1
- package/dist/plugin-sdk/command-poll-backoff-Glwt3wHa.cjs +1 -1
- package/dist/plugin-sdk/commands-registry-33H8WYTk.cjs +1 -1
- package/dist/plugin-sdk/commands-registry-BGdm1KdC.js +1 -1
- package/dist/plugin-sdk/commands-registry-BgV9i-bj.cjs +1 -1
- package/dist/plugin-sdk/commands-registry-BifdCfty.cjs +1 -1
- package/dist/plugin-sdk/commands-registry-CJLBIIIp.js +1 -1
- package/dist/plugin-sdk/commands-registry-CWK9ARbc.js +1 -1
- package/dist/plugin-sdk/commands-registry-CfVD1h8L.cjs +1 -1
- package/dist/plugin-sdk/commands-registry-CpG4pxrA.js +1 -1
- package/dist/plugin-sdk/commands-registry-D-AnIQWz.cjs +1 -1
- package/dist/plugin-sdk/commands-registry-DBI4cPqT.cjs +1 -1
- package/dist/plugin-sdk/commands-registry-DOBe9cWq.js +1 -1
- package/dist/plugin-sdk/commands-registry-DqemUyiv.js +1 -1
- package/dist/plugin-sdk/common-CEe87dmX.js +1 -1
- package/dist/plugin-sdk/common-CjMKHm2Z.cjs +1 -1
- package/dist/plugin-sdk/compat.cjs +1 -1
- package/dist/plugin-sdk/compat.js +1 -1
- package/dist/plugin-sdk/config-DT_csBcZ.cjs +1 -1
- package/dist/plugin-sdk/config-LR8GH3Ws.js +1 -1
- package/dist/plugin-sdk/copilot-proxy.cjs +1 -1
- package/dist/plugin-sdk/copilot-proxy.js +1 -1
- package/dist/plugin-sdk/core.cjs +1 -1
- package/dist/plugin-sdk/core.js +1 -1
- package/dist/plugin-sdk/deliver-AORlkcbD.cjs +1 -1
- package/dist/plugin-sdk/deliver-BiBFW5fm.cjs +1 -1
- package/dist/plugin-sdk/deliver-BpqEPwLO.cjs +1 -1
- package/dist/plugin-sdk/deliver-BvC6aUKM.js +1 -1
- package/dist/plugin-sdk/deliver-CT0AIuK1.cjs +1 -1
- package/dist/plugin-sdk/deliver-CmddcjtG.cjs +1 -1
- package/dist/plugin-sdk/deliver-DFz5N1Eh.js +1 -1
- package/dist/plugin-sdk/deliver-DcJWpoqf.cjs +1 -1
- package/dist/plugin-sdk/deliver-ILim6ANU.js +1 -1
- package/dist/plugin-sdk/deliver-QgxW9IxV.js +1 -1
- package/dist/plugin-sdk/deliver-cT-Q8v0h.js +1 -1
- package/dist/plugin-sdk/deliver-cu_NQTmb.js +1 -1
- package/dist/plugin-sdk/device-pair.cjs +1 -1
- package/dist/plugin-sdk/device-pair.js +1 -1
- package/dist/plugin-sdk/diagnostic-BCyE1aYH.cjs +1 -1
- package/dist/plugin-sdk/diagnostic-BFea3l_a.js +1 -1
- package/dist/plugin-sdk/diagnostic-BvR96WdC.js +1 -1
- package/dist/plugin-sdk/diagnostic-C0xDsk89.cjs +1 -1
- package/dist/plugin-sdk/diagnostic-CEPhLgsW.cjs +1 -1
- package/dist/plugin-sdk/diagnostic-CbLwUqTE.cjs +1 -1
- package/dist/plugin-sdk/diagnostic-CbfxoqI_.cjs +1 -1
- package/dist/plugin-sdk/diagnostic-DDwUPG1m.js +1 -1
- package/dist/plugin-sdk/diagnostic-DS_mKKOu.js +1 -1
- package/dist/plugin-sdk/diagnostic-DYpehqHU.cjs +1 -1
- package/dist/plugin-sdk/diagnostic-DkncnZ3G.js +1 -1
- package/dist/plugin-sdk/diagnostic-Dz8HPEDe.js +1 -1
- package/dist/plugin-sdk/diagnostics-otel.cjs +1 -1
- package/dist/plugin-sdk/diagnostics-otel.js +1 -1
- package/dist/plugin-sdk/diffs.cjs +1 -1
- package/dist/plugin-sdk/diffs.js +1 -1
- package/dist/plugin-sdk/discord.cjs +1 -1
- package/dist/plugin-sdk/discord.js +1 -1
- package/dist/plugin-sdk/dispatch-6m3206FH.js +1 -1
- package/dist/plugin-sdk/dispatch-BYZNaz0n.cjs +1 -1
- package/dist/plugin-sdk/dispatch-BahZCe-D.js +1 -1
- package/dist/plugin-sdk/dispatch-Bi3yeWxb.cjs +1 -1
- package/dist/plugin-sdk/dispatch-BjB_TqWy.cjs +1 -1
- package/dist/plugin-sdk/dispatch-CNR186B3.js +1 -1
- package/dist/plugin-sdk/dispatch-CStT30wi.cjs +1 -1
- package/dist/plugin-sdk/dispatch-CdZAW9dg.cjs +1 -1
- package/dist/plugin-sdk/dispatch-Ewg2Jgw9.js +1 -1
- package/dist/plugin-sdk/dispatch-HRTsdeCV.js +1 -1
- package/dist/plugin-sdk/feishu.cjs +1 -1
- package/dist/plugin-sdk/feishu.js +1 -1
- package/dist/plugin-sdk/fetch-7Iq9POda.js +1 -1
- package/dist/plugin-sdk/fetch-B1GR6-u4.js +1 -1
- package/dist/plugin-sdk/fetch-B27H-XCf.js +1 -1
- package/dist/plugin-sdk/fetch-BMYDLRWo.js +1 -1
- package/dist/plugin-sdk/fetch-BN9y3kTg.cjs +1 -1
- package/dist/plugin-sdk/fetch-BVEVk5YF.js +1 -1
- package/dist/plugin-sdk/fetch-BY6lVRlY.cjs +1 -1
- package/dist/plugin-sdk/fetch-Bi8krAaT.cjs +1 -1
- package/dist/plugin-sdk/fetch-BjXhwqrE.cjs +1 -1
- package/dist/plugin-sdk/fetch-BtZY623f.js +1 -1
- package/dist/plugin-sdk/fetch-C-HRWp5R.js +1 -1
- package/dist/plugin-sdk/fetch-C3LEMysf.js +1 -1
- package/dist/plugin-sdk/fetch-CCLWsYaQ.js +1 -1
- package/dist/plugin-sdk/fetch-CZewCAvu.cjs +1 -1
- package/dist/plugin-sdk/fetch-ClKErpni.cjs +1 -1
- package/dist/plugin-sdk/fetch-DBRI0sKI.js +1 -1
- package/dist/plugin-sdk/fetch-DQxuOB8o.cjs +1 -1
- package/dist/plugin-sdk/fetch-DUMEaqum.cjs +1 -1
- package/dist/plugin-sdk/fetch-DpwR_cJU.cjs +1 -1
- package/dist/plugin-sdk/fetch-J0IzopiJ.js +1 -1
- package/dist/plugin-sdk/fetch-guard-D8TdhTHU.js +1 -1
- package/dist/plugin-sdk/fetch-guard-DC_pFJEy.js +1 -1
- package/dist/plugin-sdk/fetch-guard-DDkd30BG.js +1 -1
- package/dist/plugin-sdk/fetch-guard-DELiFG5g.js +1 -1
- package/dist/plugin-sdk/fetch-guard-DIYjBRpq.cjs +1 -1
- package/dist/plugin-sdk/fetch-guard-DPVfELS7.js +1 -1
- package/dist/plugin-sdk/fetch-guard-Dpz6CnJY.cjs +1 -1
- package/dist/plugin-sdk/fetch-guard-DqNKwgHP.cjs +1 -1
- package/dist/plugin-sdk/fetch-guard-DqTxZ3G8.cjs +1 -1
- package/dist/plugin-sdk/fetch-guard-EoAitPe9.cjs +1 -1
- package/dist/plugin-sdk/fetch-guard-qfU6iTvp.js +1 -1
- package/dist/plugin-sdk/fetch-guard-u2Dt6P9i.cjs +1 -1
- package/dist/plugin-sdk/fetch-lw-aF17e.cjs +1 -1
- package/dist/plugin-sdk/fetch-timeout-6oZsqWxA.js +1 -1
- package/dist/plugin-sdk/fetch-timeout-BygUD0rd.cjs +1 -1
- package/dist/plugin-sdk/fetch-timeout-CLw1U7VS.js +1 -1
- package/dist/plugin-sdk/fetch-timeout-CX1w-9p4.cjs +1 -1
- package/dist/plugin-sdk/fetch-timeout-Coc9xyC3.cjs +1 -1
- package/dist/plugin-sdk/fetch-timeout-Cz6GuU_c.js +1 -1
- package/dist/plugin-sdk/fetch-timeout-DC8T2JCr.js +1 -1
- package/dist/plugin-sdk/fetch-timeout-DFDmks9T.cjs +1 -1
- package/dist/plugin-sdk/fetch-timeout-DkYpp08Q.js +1 -1
- package/dist/plugin-sdk/github-copilot-token-BHdMLLqf.cjs +1 -1
- package/dist/plugin-sdk/github-copilot-token-Bt4PduRB.js +1 -1
- package/dist/plugin-sdk/github-copilot-token-C1O2cBqk.cjs +1 -1
- package/dist/plugin-sdk/github-copilot-token-C1hiDugd.js +1 -1
- package/dist/plugin-sdk/github-copilot-token-C8j8_NjX.js +1 -1
- package/dist/plugin-sdk/github-copilot-token-CCrgp2py.cjs +1 -1
- package/dist/plugin-sdk/github-copilot-token-DoHgkI2r.cjs +1 -1
- package/dist/plugin-sdk/github-copilot-token-N8vnLZPw.js +1 -1
- package/dist/plugin-sdk/github-copilot-token-TMkfxxD2.cjs +1 -1
- package/dist/plugin-sdk/github-copilot-token-vKAKX6iE.js +1 -1
- package/dist/plugin-sdk/github-copilot-token-ylX_gawo.js +1 -1
- package/dist/plugin-sdk/github-copilot-token-zskwAEpd.cjs +1 -1
- package/dist/plugin-sdk/google-gemini-cli-auth.cjs +1 -1
- package/dist/plugin-sdk/google-gemini-cli-auth.js +1 -1
- package/dist/plugin-sdk/googlechat.cjs +1 -1
- package/dist/plugin-sdk/googlechat.js +1 -1
- package/dist/plugin-sdk/image-0OHO98b9.cjs +1 -1
- package/dist/plugin-sdk/image-B9SLKAOs.cjs +1 -1
- package/dist/plugin-sdk/image-BVnZq5Y4.js +1 -1
- package/dist/plugin-sdk/image-CKLAyhco.js +1 -1
- package/dist/plugin-sdk/image-DUHEJeBF.js +1 -1
- package/dist/plugin-sdk/image-DngxW2Nh.cjs +1 -1
- package/dist/plugin-sdk/image-DrPh2689.cjs +1 -1
- package/dist/plugin-sdk/image-ISWO0Dwt.js +1 -1
- package/dist/plugin-sdk/image-KfZYW6Lh.cjs +1 -1
- package/dist/plugin-sdk/image-YVlw68CK.js +1 -1
- package/dist/plugin-sdk/image-gehqJnV6.js +1 -1
- package/dist/plugin-sdk/image-jUYo-0eT.cjs +1 -1
- package/dist/plugin-sdk/imessage.cjs +1 -1
- package/dist/plugin-sdk/imessage.js +1 -1
- package/dist/plugin-sdk/index.cjs +1 -1
- package/dist/plugin-sdk/index.js +1 -1
- package/dist/plugin-sdk/ir-78toXVqC.cjs +1 -1
- package/dist/plugin-sdk/ir-A_TqKaXP.cjs +1 -1
- package/dist/plugin-sdk/ir-B0_rUT7m.js +1 -1
- package/dist/plugin-sdk/ir-B7agH4cQ.cjs +1 -1
- package/dist/plugin-sdk/ir-B9ap_YNW.cjs +1 -1
- package/dist/plugin-sdk/ir-BxKSHYao.cjs +1 -1
- package/dist/plugin-sdk/ir-BzZArF6l.js +1 -1
- package/dist/plugin-sdk/ir-CpkEWZD6.js +1 -1
- package/dist/plugin-sdk/ir-D4Dz-giw.cjs +1 -1
- package/dist/plugin-sdk/ir-DJ08DSkk.js +1 -1
- package/dist/plugin-sdk/ir-L2vhtuGx.js +1 -1
- package/dist/plugin-sdk/ir-ntSck5Kp.js +1 -1
- package/dist/plugin-sdk/irc.cjs +1 -1
- package/dist/plugin-sdk/irc.js +1 -1
- package/dist/plugin-sdk/keyed-async-queue.cjs +1 -1
- package/dist/plugin-sdk/keyed-async-queue.js +1 -1
- package/dist/plugin-sdk/line.cjs +1 -1
- package/dist/plugin-sdk/line.js +1 -1
- package/dist/plugin-sdk/llm-task.cjs +1 -1
- package/dist/plugin-sdk/llm-task.js +1 -1
- package/dist/plugin-sdk/load-options-B9Ss5YOO.js +1 -1
- package/dist/plugin-sdk/load-options-BOfn6Zgo.cjs +1 -1
- package/dist/plugin-sdk/load-options-BXvm8HVv.js +1 -1
- package/dist/plugin-sdk/load-options-Bb7u8yZz.cjs +1 -1
- package/dist/plugin-sdk/load-options-BcSg1ODN.js +1 -1
- package/dist/plugin-sdk/load-options-NqnXJ-Nh.cjs +1 -1
- package/dist/plugin-sdk/lobster.cjs +1 -1
- package/dist/plugin-sdk/lobster.js +1 -1
- package/dist/plugin-sdk/local-roots-B0zm186S.js +1 -1
- package/dist/plugin-sdk/local-roots-B4Uy4kG3.cjs +1 -1
- package/dist/plugin-sdk/local-roots-CM1R1Ncr.cjs +1 -1
- package/dist/plugin-sdk/local-roots-CW78ZeZV.js +1 -1
- package/dist/plugin-sdk/local-roots-CnsaE7a_.js +1 -1
- package/dist/plugin-sdk/local-roots-D1k-fAlE.cjs +1 -1
- package/dist/plugin-sdk/local-roots-DQ_vfJPK.js +1 -1
- package/dist/plugin-sdk/local-roots-DYlB1au6.cjs +1 -1
- package/dist/plugin-sdk/local-roots-H4-t0qG_.js +1 -1
- package/dist/plugin-sdk/local-roots-SCyeUfM3.cjs +1 -1
- package/dist/plugin-sdk/local-roots-l4PqCmiU.js +1 -1
- package/dist/plugin-sdk/local-roots-xHoEq1Fq.cjs +1 -1
- package/dist/plugin-sdk/logger-6O6OsYBL.cjs +1 -1
- package/dist/plugin-sdk/logger-BlddiV_d.cjs +1 -1
- package/dist/plugin-sdk/logger-Bm93ZKOk.cjs +1 -1
- package/dist/plugin-sdk/logger-BtrWb0dj.js +1 -1
- package/dist/plugin-sdk/logger-C210xuWx.js +1 -1
- package/dist/plugin-sdk/logger-DJGHvDbX.js +1 -1
- package/dist/plugin-sdk/logger-DPlqYkRm.cjs +1 -1
- package/dist/plugin-sdk/logger-DUYnS-W3.cjs +1 -1
- package/dist/plugin-sdk/logger-DwWqfo66.js +1 -1
- package/dist/plugin-sdk/logger-vBDTZWl3.js +1 -1
- package/dist/plugin-sdk/login-BN1TsFp4.cjs +1 -1
- package/dist/plugin-sdk/login-BXUtcSnB.cjs +1 -1
- package/dist/plugin-sdk/login-BoMH2iJT.js +1 -1
- package/dist/plugin-sdk/login-BtT7yRJO.js +1 -1
- package/dist/plugin-sdk/login-COzybMRK.js +1 -1
- package/dist/plugin-sdk/login-Cw1jFbel.cjs +1 -1
- package/dist/plugin-sdk/login-DEmpr5YK.js +1 -1
- package/dist/plugin-sdk/login-Dln00cFs.cjs +1 -1
- package/dist/plugin-sdk/login-S2Fe5n5K.cjs +1 -1
- package/dist/plugin-sdk/login-TieaF0ts.cjs +1 -1
- package/dist/plugin-sdk/login-ZQK4uJLw.js +1 -1
- package/dist/plugin-sdk/login-fKxJv0_F.js +1 -1
- package/dist/plugin-sdk/login-qr-1ilmySGx.js +1 -1
- package/dist/plugin-sdk/login-qr-B0ZSZaNI.js +1 -1
- package/dist/plugin-sdk/login-qr-B2P2Ky4j.js +1 -1
- package/dist/plugin-sdk/login-qr-B2U87iU8.js +1 -1
- package/dist/plugin-sdk/login-qr-B4x_eWI_.js +1 -1
- package/dist/plugin-sdk/login-qr-BIaJB24t.cjs +1 -1
- package/dist/plugin-sdk/login-qr-BMl5Beq2.cjs +1 -1
- package/dist/plugin-sdk/login-qr-Bkm3QorK.cjs +1 -1
- package/dist/plugin-sdk/login-qr-ClL8FMAJ.cjs +1 -1
- package/dist/plugin-sdk/login-qr-DFVK1lg-.js +1 -1
- package/dist/plugin-sdk/login-qr-DhieI9fL.cjs +1 -1
- package/dist/plugin-sdk/login-qr-DyQT1QnE.cjs +1 -1
- package/dist/plugin-sdk/manager-0tvX3Z_N.cjs +1 -1
- package/dist/plugin-sdk/manager-8uylP7PH.cjs +1 -1
- package/dist/plugin-sdk/manager-B6hWglXe.js +1 -1
- package/dist/plugin-sdk/manager-BGoKN9ur.js +1 -1
- package/dist/plugin-sdk/manager-BRP1lzb6.js +1 -1
- package/dist/plugin-sdk/manager-BeLNhsXC.cjs +1 -1
- package/dist/plugin-sdk/manager-BnytMgmq.js +1 -1
- package/dist/plugin-sdk/manager-BoMQeM1I.cjs +1 -1
- package/dist/plugin-sdk/manager-CYZY9vcM.js +1 -1
- package/dist/plugin-sdk/manager-DCDy2V1U.cjs +1 -1
- package/dist/plugin-sdk/manager-DE7sDip8.cjs +1 -1
- package/dist/plugin-sdk/manager-PwgQZNK1.js +1 -1
- package/dist/plugin-sdk/matrix.cjs +1 -1
- package/dist/plugin-sdk/matrix.js +1 -1
- package/dist/plugin-sdk/mattermost.cjs +1 -1
- package/dist/plugin-sdk/mattermost.js +1 -1
- package/dist/plugin-sdk/memory-core.cjs +1 -1
- package/dist/plugin-sdk/memory-core.js +1 -1
- package/dist/plugin-sdk/minimax-portal-auth.cjs +1 -1
- package/dist/plugin-sdk/minimax-portal-auth.js +1 -1
- package/dist/plugin-sdk/model-auth-BgS7ynQw.cjs +1 -1
- package/dist/plugin-sdk/model-auth-CKlA2xRB.cjs +1 -1
- package/dist/plugin-sdk/model-auth-CLnFIqcf.cjs +1 -1
- package/dist/plugin-sdk/model-auth-D7YupJDS.js +1 -1
- package/dist/plugin-sdk/model-auth-eNVBeC-B.js +1 -1
- package/dist/plugin-sdk/model-auth-fJrNIbke.cjs +1 -1
- package/dist/plugin-sdk/model-auth-g6eGgTwR.js +1 -1
- package/dist/plugin-sdk/model-auth-wcxJptQX.js +1 -1
- package/dist/plugin-sdk/model-selection-4ExiFkaW.js +1 -1
- package/dist/plugin-sdk/model-selection-CZY_x2-a.cjs +1 -1
- package/dist/plugin-sdk/msteams.cjs +1 -1
- package/dist/plugin-sdk/msteams.js +1 -1
- package/dist/plugin-sdk/nextcloud-talk.cjs +1 -1
- package/dist/plugin-sdk/nextcloud-talk.js +1 -1
- package/dist/plugin-sdk/nostr.cjs +1 -1
- package/dist/plugin-sdk/nostr.js +1 -1
- package/dist/plugin-sdk/outbound-2VVSR_d4.js +1 -1
- package/dist/plugin-sdk/outbound-B03BQa7T.cjs +1 -1
- package/dist/plugin-sdk/outbound-BE8CJ9c_.js +1 -1
- package/dist/plugin-sdk/outbound-BWtGs0dn.cjs +1 -1
- package/dist/plugin-sdk/outbound-BrD0UsX0.js +1 -1
- package/dist/plugin-sdk/outbound-Bvu4LbQx.js +1 -1
- package/dist/plugin-sdk/outbound-C5rNt-8z.cjs +1 -1
- package/dist/plugin-sdk/outbound-C6BJCoYf.cjs +1 -1
- package/dist/plugin-sdk/outbound-Cgc0JJtB.js +1 -1
- package/dist/plugin-sdk/outbound-DAHIkpiA.cjs +1 -1
- package/dist/plugin-sdk/outbound-DnO_udAm.cjs +1 -1
- package/dist/plugin-sdk/outbound-UAHsCNyW.js +1 -1
- package/dist/plugin-sdk/outbound-attachment-0QahtSQB.cjs +1 -1
- package/dist/plugin-sdk/outbound-attachment-8qvAj1MK.js +1 -1
- package/dist/plugin-sdk/outbound-attachment-B6SJy_CG.js +1 -1
- package/dist/plugin-sdk/outbound-attachment-BVdSGifg.js +1 -1
- package/dist/plugin-sdk/outbound-attachment-C-QqSQ79.cjs +1 -1
- package/dist/plugin-sdk/outbound-attachment-CYGrnygD.cjs +1 -1
- package/dist/plugin-sdk/outbound-attachment-CtA5eBgj.cjs +1 -1
- package/dist/plugin-sdk/outbound-attachment-D8Ng5uVX.cjs +1 -1
- package/dist/plugin-sdk/outbound-attachment-DS0S0NLK.js +1 -1
- package/dist/plugin-sdk/outbound-attachment-Ds2XsjQl.js +1 -1
- package/dist/plugin-sdk/outbound-attachment-acB4qID1.js +1 -1
- package/dist/plugin-sdk/outbound-attachment-x4Q2SVIA.cjs +1 -1
- package/dist/plugin-sdk/paths-BPlgbwrb.cjs +1 -1
- package/dist/plugin-sdk/paths-Bcdg3ma0.cjs +1 -1
- package/dist/plugin-sdk/paths-BpQOWYiT.js +1 -1
- package/dist/plugin-sdk/paths-BvlJvmRS.cjs +1 -1
- package/dist/plugin-sdk/paths-CIcxeNL-.cjs +1 -1
- package/dist/plugin-sdk/paths-CXgWvWAM.js +1 -1
- package/dist/plugin-sdk/paths-Chp3zwtq.cjs +1 -1
- package/dist/plugin-sdk/paths-CnHSNSeR.js +1 -1
- package/dist/plugin-sdk/paths-Cqca1YmF.cjs +1 -1
- package/dist/plugin-sdk/paths-CtrEseGU.js +1 -1
- package/dist/plugin-sdk/paths-D55o_j8-.js +1 -1
- package/dist/plugin-sdk/paths-D90l3h_o.cjs +1 -1
- package/dist/plugin-sdk/paths-DaRoqzBQ.js +1 -1
- package/dist/plugin-sdk/paths-Dd7r1qlB.cjs +1 -1
- package/dist/plugin-sdk/paths-DhSjTRMz.js +1 -1
- package/dist/plugin-sdk/paths-Do0djuaj.js +1 -1
- package/dist/plugin-sdk/paths-J4JUiRsa.js +1 -1
- package/dist/plugin-sdk/paths-cBAF6Bj0.js +1 -1
- package/dist/plugin-sdk/paths-piJASC5k.js +1 -1
- package/dist/plugin-sdk/paths-rO4ehkyU.js +1 -1
- package/dist/plugin-sdk/pi-model-discovery--UcCzdQg.js +1 -1
- package/dist/plugin-sdk/pi-model-discovery-Bi4dKtW0.cjs +1 -1
- package/dist/plugin-sdk/pi-model-discovery-CCK2Ppj9.js +1 -1
- package/dist/plugin-sdk/pi-model-discovery-CRSZ0OFi.js +1 -1
- package/dist/plugin-sdk/pi-model-discovery-Cx_r4FGY.js +1 -1
- package/dist/plugin-sdk/pi-model-discovery-D3JQMjAa.cjs +1 -1
- package/dist/plugin-sdk/pi-model-discovery-DN1RHetG.cjs +1 -1
- package/dist/plugin-sdk/pi-model-discovery-DVFSU0-f.cjs +1 -1
- package/dist/plugin-sdk/pi-model-discovery-DWMAAhA-.cjs +1 -1
- package/dist/plugin-sdk/pi-model-discovery-DYOHzCjs.js +1 -1
- package/dist/plugin-sdk/pi-model-discovery-DdSVvbQ5.cjs +1 -1
- package/dist/plugin-sdk/pi-model-discovery-DejkxBol.js +1 -1
- package/dist/plugin-sdk/pi-model-discovery-SmVAFMj_.cjs +1 -1
- package/dist/plugin-sdk/pi-model-discovery-ma8st1Ek.js +1 -1
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-B2WodYBY.cjs +1 -1
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-BC114tUb.js +1 -1
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-BF6jP1nM.js +1 -1
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-Beg-U7Z-.cjs +1 -1
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-BkEYsSLL.js +1 -1
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-C21sWtkh.js +1 -1
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-CKkgBGIj.cjs +1 -1
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-CNun__L-.js +1 -1
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-Clulhv2X.cjs +1 -1
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-DvwL5in9.cjs +1 -1
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-FnzjmZqP.js +1 -1
- package/dist/plugin-sdk/pi-tools.before-tool-call.runtime-Rq5y0QJ2.cjs +1 -1
- package/dist/plugin-sdk/polls-BuaJuIpV.cjs +1 -1
- package/dist/plugin-sdk/polls-CBAGZuJ6.js +1 -1
- package/dist/plugin-sdk/polls-CSKMbBIS.js +1 -1
- package/dist/plugin-sdk/polls-D0wY0FvT.cjs +1 -1
- package/dist/plugin-sdk/polls-PGxiE05J.js +1 -1
- package/dist/plugin-sdk/polls-yWqSCEP0.cjs +1 -1
- package/dist/plugin-sdk/proxy-env-B765haXA.js +1 -1
- package/dist/plugin-sdk/proxy-env-Bcl14j2_.cjs +1 -1
- package/dist/plugin-sdk/proxy-env-BlrHtJWH.js +1 -1
- package/dist/plugin-sdk/proxy-env-D48qBPAr.cjs +1 -1
- package/dist/plugin-sdk/proxy-env-DGzNnnJh.js +1 -1
- package/dist/plugin-sdk/proxy-env-DQoJjkWE.cjs +1 -1
- package/dist/plugin-sdk/proxy-env-DWw9TnOj.cjs +1 -1
- package/dist/plugin-sdk/proxy-env-MEjSyzTr.js +1 -1
- package/dist/plugin-sdk/proxy-env-a590sPAz.cjs +1 -1
- package/dist/plugin-sdk/proxy-env-k93igu7v.cjs +1 -1
- package/dist/plugin-sdk/proxy-env-m9eG3uZN.js +1 -1
- package/dist/plugin-sdk/proxy-env-t6hcaFqC.js +1 -1
- package/dist/plugin-sdk/proxy-fetch-B9aXJVe-.js +1 -1
- package/dist/plugin-sdk/proxy-fetch-BaA3JYgW.cjs +1 -1
- package/dist/plugin-sdk/proxy-fetch-BwXFVsHE.cjs +1 -1
- package/dist/plugin-sdk/proxy-fetch-BzcKzknk.cjs +1 -1
- package/dist/plugin-sdk/proxy-fetch-CYVChsKE.js +1 -1
- package/dist/plugin-sdk/proxy-fetch-ClOb2LUH.js +1 -1
- package/dist/plugin-sdk/proxy-fetch-DH7VIiBH.cjs +1 -1
- package/dist/plugin-sdk/proxy-fetch-DPOhfrou.cjs +1 -1
- package/dist/plugin-sdk/proxy-fetch-DXt2R_Z5.js +1 -1
- package/dist/plugin-sdk/proxy-fetch-Del551nu.js +1 -1
- package/dist/plugin-sdk/proxy-fetch-YCVHz7Rl.js +1 -1
- package/dist/plugin-sdk/proxy-fetch-qbrYAz8k.cjs +1 -1
- package/dist/plugin-sdk/pw-ai-3piACPqP.cjs +1 -1
- package/dist/plugin-sdk/pw-ai-8dajXBkZ.js +1 -1
- package/dist/plugin-sdk/pw-ai-B7mrBDW5.js +1 -1
- package/dist/plugin-sdk/pw-ai-BLD7x-3a.js +1 -1
- package/dist/plugin-sdk/pw-ai-BYmANcaC.cjs +1 -1
- package/dist/plugin-sdk/pw-ai-C1rVW06B.cjs +1 -1
- package/dist/plugin-sdk/pw-ai-CCDvaBUm.cjs +1 -1
- package/dist/plugin-sdk/pw-ai-CVYUOcKM.js +1 -1
- package/dist/plugin-sdk/pw-ai-DBg5CCXp.cjs +1 -1
- package/dist/plugin-sdk/pw-ai-DY11CCd3.cjs +1 -1
- package/dist/plugin-sdk/pw-ai-Kf2RyA25.js +1 -1
- package/dist/plugin-sdk/pw-ai-f5yF3n3t.js +1 -1
- package/dist/plugin-sdk/qmd-manager-B3xNbdye.cjs +1 -1
- package/dist/plugin-sdk/qmd-manager-BMyDNBPi.js +1 -1
- package/dist/plugin-sdk/qmd-manager-BZhiv_zq.cjs +1 -1
- package/dist/plugin-sdk/qmd-manager-C3uVDbhW.js +1 -1
- package/dist/plugin-sdk/qmd-manager-CW46NrS-.cjs +1 -1
- package/dist/plugin-sdk/qmd-manager-C_e04BNg.js +1 -1
- package/dist/plugin-sdk/qmd-manager-CczVoslK.cjs +1 -1
- package/dist/plugin-sdk/qmd-manager-CzLKqPmR.js +1 -1
- package/dist/plugin-sdk/qmd-manager-DFh8b5N-.cjs +1 -1
- package/dist/plugin-sdk/qmd-manager-DXLfZZMI.js +1 -1
- package/dist/plugin-sdk/qmd-manager-FL9fAfNo.cjs +1 -1
- package/dist/plugin-sdk/qmd-manager-fWxbGqzk.js +1 -1
- package/dist/plugin-sdk/query-expansion-0zYzKrrd.cjs +1 -1
- package/dist/plugin-sdk/query-expansion-BYSjmpkV.cjs +1 -1
- package/dist/plugin-sdk/query-expansion-CAboqtWr.js +1 -1
- package/dist/plugin-sdk/query-expansion-C_DnhmUy.js +1 -1
- package/dist/plugin-sdk/query-expansion-Cb2vnF6y.js +1 -1
- package/dist/plugin-sdk/query-expansion-DCeqywxh.cjs +1 -1
- package/dist/plugin-sdk/query-expansion-DF4LMxRQ.js +1 -1
- package/dist/plugin-sdk/query-expansion-DKJkqmNM.cjs +1 -1
- package/dist/plugin-sdk/query-expansion-DO2CFW4z.cjs +1 -1
- package/dist/plugin-sdk/query-expansion-DyCDaZbL.js +1 -1
- package/dist/plugin-sdk/query-expansion-cpXCyoDy.cjs +1 -1
- package/dist/plugin-sdk/query-expansion-r_iXkNzt.js +1 -1
- package/dist/plugin-sdk/qwen-portal-auth.cjs +1 -1
- package/dist/plugin-sdk/qwen-portal-auth.js +1 -1
- package/dist/plugin-sdk/render-6fCdtAr6.cjs +1 -1
- package/dist/plugin-sdk/render-CBsnn-2A.js +1 -1
- package/dist/plugin-sdk/render-CzHaQB0d.cjs +1 -1
- package/dist/plugin-sdk/render-DGmfCIRG.js +1 -1
- package/dist/plugin-sdk/render-DhTJXP1U.js +1 -1
- package/dist/plugin-sdk/render-Djx15dPh.js +1 -1
- package/dist/plugin-sdk/render-DxBO2Blp.cjs +1 -1
- package/dist/plugin-sdk/render-g5VlmgpF.cjs +1 -1
- package/dist/plugin-sdk/reply-BrHB7v5V.cjs +1 -1
- package/dist/plugin-sdk/reply-Clex4c2R.js +1 -1
- package/dist/plugin-sdk/resolve-outbound-target-BHLQMMp-.cjs +1 -1
- package/dist/plugin-sdk/resolve-outbound-target-Cvz2WXAk.cjs +1 -1
- package/dist/plugin-sdk/resolve-outbound-target-DDqGniMw.js +1 -1
- package/dist/plugin-sdk/resolve-outbound-target-DEpmpEep.js +1 -1
- package/dist/plugin-sdk/send--HeMLLzj.js +1 -1
- package/dist/plugin-sdk/send-2IhtEEzb.js +1 -1
- package/dist/plugin-sdk/send-9tPLnqkc.js +1 -1
- package/dist/plugin-sdk/send-B-exJfkg.js +1 -1
- package/dist/plugin-sdk/send-B4kzPtcN.js +1 -1
- package/dist/plugin-sdk/send-BCSkdYN6.cjs +1 -1
- package/dist/plugin-sdk/send-BEmZxBcF.js +1 -1
- package/dist/plugin-sdk/send-BHvZIrbJ.cjs +1 -1
- package/dist/plugin-sdk/send-BLbCBxeF.js +1 -1
- package/dist/plugin-sdk/send-BOkABdQu.cjs +1 -1
- package/dist/plugin-sdk/send-BPNd63Qs.js +1 -1
- package/dist/plugin-sdk/send-BVAm6Zbr.cjs +1 -1
- package/dist/plugin-sdk/send-B_619b3s.js +1 -1
- package/dist/plugin-sdk/send-BcuylzbX.js +1 -1
- package/dist/plugin-sdk/send-BdFvK9Wc2.js +1 -1
- package/dist/plugin-sdk/send-Bh-J7XWZ.cjs +1 -1
- package/dist/plugin-sdk/send-BkREPc90.cjs +1 -1
- package/dist/plugin-sdk/send-Bp4f-KJu.cjs +1 -1
- package/dist/plugin-sdk/send-BtF36kYb.js +1 -1
- package/dist/plugin-sdk/send-C6S8tkTA.cjs +1 -1
- package/dist/plugin-sdk/send-CDQF_izk.js +1 -1
- package/dist/plugin-sdk/send-CF3qas-K.js +1 -1
- package/dist/plugin-sdk/send-CFKQX2Wo.js +1 -1
- package/dist/plugin-sdk/send-CIP1u5a-.js +1 -1
- package/dist/plugin-sdk/send-CIxh7PV0.cjs +1 -1
- package/dist/plugin-sdk/send-CJJdcDHX.js +1 -1
- package/dist/plugin-sdk/send-COtvydDt.cjs +1 -1
- package/dist/plugin-sdk/send-CPwh7tRu.js +1 -1
- package/dist/plugin-sdk/send-CRnIqXN9.cjs +1 -1
- package/dist/plugin-sdk/send-CSqipUeV.cjs +1 -1
- package/dist/plugin-sdk/send-Chfe8tPY.js +1 -1
- package/dist/plugin-sdk/send-ClMvdjfg.js +1 -1
- package/dist/plugin-sdk/send-CmoJSYhT.js +1 -1
- package/dist/plugin-sdk/send-Cs5jSTw0.cjs +1 -1
- package/dist/plugin-sdk/send-D-6Et_9H.js +1 -1
- package/dist/plugin-sdk/send-D13uFnzH.cjs +1 -1
- package/dist/plugin-sdk/send-D3eT0F4N.cjs +1 -1
- package/dist/plugin-sdk/send-DAtg_VHa.js +1 -1
- package/dist/plugin-sdk/send-DCF59ijQ.cjs +1 -1
- package/dist/plugin-sdk/send-DN2xic3w.cjs +1 -1
- package/dist/plugin-sdk/send-DOjSTB6D.cjs +1 -1
- package/dist/plugin-sdk/send-DavwL7cF.js +1 -1
- package/dist/plugin-sdk/send-Dbmn1rgD.cjs +1 -1
- package/dist/plugin-sdk/send-DhfDqcwc.cjs +1 -1
- package/dist/plugin-sdk/send-DsDCrJWq.js +1 -1
- package/dist/plugin-sdk/send-DyR5Lpl-.js +1 -1
- package/dist/plugin-sdk/send-DyzuwDjE.js +1 -1
- package/dist/plugin-sdk/send-GtphEa1b.cjs +1 -1
- package/dist/plugin-sdk/send-HZNY_u3L.cjs +1 -1
- package/dist/plugin-sdk/send-IM-76QZu.js +1 -1
- package/dist/plugin-sdk/send-IqcgAO8b.cjs +1 -1
- package/dist/plugin-sdk/send-OQcuL9tP.js +1 -1
- package/dist/plugin-sdk/send-_92aOzWU.cjs +1 -1
- package/dist/plugin-sdk/send-h_kE-cAK.js +1 -1
- package/dist/plugin-sdk/send-jOMdGt0L.cjs +1 -1
- package/dist/plugin-sdk/send-mZ_d-t_3.cjs +1 -1
- package/dist/plugin-sdk/send-puyUta4_.cjs +1 -1
- package/dist/plugin-sdk/send-t5U34FhY.cjs +1 -1
- package/dist/plugin-sdk/send-tvw8j-Se.cjs +1 -1
- package/dist/plugin-sdk/send-z1vaCgF3.cjs +1 -1
- package/dist/plugin-sdk/session--K1m5v7m.js +1 -1
- package/dist/plugin-sdk/session-B1DJ45om.js +1 -1
- package/dist/plugin-sdk/session-B80NWO1m.js +1 -1
- package/dist/plugin-sdk/session-BKPBr445.js +1 -1
- package/dist/plugin-sdk/session-BQLjsBwL.cjs +1 -1
- package/dist/plugin-sdk/session-BZHltxdM.js +1 -1
- package/dist/plugin-sdk/session-Bt5yI-VW.cjs +1 -1
- package/dist/plugin-sdk/session-CC1GqwiM.cjs +1 -1
- package/dist/plugin-sdk/session-C_yqyp3P.cjs +1 -1
- package/dist/plugin-sdk/session-ClISxvtJ.js +1 -1
- package/dist/plugin-sdk/session-D4nn-nXX.cjs +1 -1
- package/dist/plugin-sdk/session-DOA4CJgj.cjs +1 -1
- package/dist/plugin-sdk/sessions-BwTjGneU.js +1 -1
- package/dist/plugin-sdk/sessions-CJbvfO6m.cjs +1 -1
- package/dist/plugin-sdk/signal.cjs +1 -1
- package/dist/plugin-sdk/signal.js +1 -1
- package/dist/plugin-sdk/skill-commands-5WGHyr3h.cjs +1 -1
- package/dist/plugin-sdk/skill-commands-BZlF3g3o.js +1 -1
- package/dist/plugin-sdk/skill-commands-BmBQSmNH.js +1 -1
- package/dist/plugin-sdk/skill-commands-CD4GQXTR.cjs +1 -1
- package/dist/plugin-sdk/skill-commands-CGOPOT-r.js +1 -1
- package/dist/plugin-sdk/skill-commands-CM9ziCQY.cjs +1 -1
- package/dist/plugin-sdk/skill-commands-CVsU5rEy.js +1 -1
- package/dist/plugin-sdk/skill-commands-DNPxE-kc.cjs +1 -1
- package/dist/plugin-sdk/skill-commands-DcgKCVDt.js +1 -1
- package/dist/plugin-sdk/skill-commands-IAwkVeOe.js +1 -1
- package/dist/plugin-sdk/skill-commands-ZyLkXbR_.cjs +1 -1
- package/dist/plugin-sdk/skill-commands-xJWQthd5.cjs +1 -1
- package/dist/plugin-sdk/slack.cjs +1 -1
- package/dist/plugin-sdk/slack.js +1 -1
- package/dist/plugin-sdk/synology-chat.cjs +1 -1
- package/dist/plugin-sdk/synology-chat.js +1 -1
- package/dist/plugin-sdk/tables-BZUVdTR-.cjs +1 -1
- package/dist/plugin-sdk/tables-Bbodvj_s.cjs +1 -1
- package/dist/plugin-sdk/tables-C5b2CtNw.cjs +1 -1
- package/dist/plugin-sdk/tables-C6TX2QvW.js +1 -1
- package/dist/plugin-sdk/tables-Cz5osenc.js +1 -1
- package/dist/plugin-sdk/tables-DBSeZ07-.cjs +1 -1
- package/dist/plugin-sdk/tables-DLSXY2-Q.js +1 -1
- package/dist/plugin-sdk/tables-DQad-z2Z.cjs +1 -1
- package/dist/plugin-sdk/tables-DYuLwL1d.js +1 -1
- package/dist/plugin-sdk/tables-D_J655yN.js +1 -1
- package/dist/plugin-sdk/tables-_vqK8P0T.js +1 -1
- package/dist/plugin-sdk/tables-bSgb8OzP.cjs +1 -1
- package/dist/plugin-sdk/target-errors-B-mJ4s4b.cjs +1 -1
- package/dist/plugin-sdk/target-errors-BAHAHc8f.js +1 -1
- package/dist/plugin-sdk/target-errors-BKruhz8r.js +1 -1
- package/dist/plugin-sdk/target-errors-BbQBR5da.js +1 -1
- package/dist/plugin-sdk/target-errors-BjgLCOTm.cjs +1 -1
- package/dist/plugin-sdk/target-errors-CQbFkOae.js +1 -1
- package/dist/plugin-sdk/target-errors-C_HYvghh.cjs +1 -1
- package/dist/plugin-sdk/target-errors-CaaKhU6m.js +1 -1
- package/dist/plugin-sdk/target-errors-QWTCk98R.cjs +1 -1
- package/dist/plugin-sdk/target-errors-oh0u5K2w.cjs +1 -1
- package/dist/plugin-sdk/targets-BSc11Uk8.cjs +1 -1
- package/dist/plugin-sdk/targets-BSkiizml.js +1 -1
- package/dist/plugin-sdk/targets-CBI0xqve.cjs +1 -1
- package/dist/plugin-sdk/targets-CL5fYQi7.js +1 -1
- package/dist/plugin-sdk/targets-CUZWrFrm.cjs +1 -1
- package/dist/plugin-sdk/targets-CVEYTFPQ.js +1 -1
- package/dist/plugin-sdk/targets-Co2R6K14.cjs +1 -1
- package/dist/plugin-sdk/targets-CrkJkzil.js +1 -1
- package/dist/plugin-sdk/targets-D-m7SV9x.cjs +1 -1
- package/dist/plugin-sdk/targets-D8HTxbo4.js +1 -1
- package/dist/plugin-sdk/targets-DcGNB9nk.cjs +1 -1
- package/dist/plugin-sdk/targets-Dn9gDiEw.js +1 -1
- package/dist/plugin-sdk/targets-X28mff4s.cjs +1 -1
- package/dist/plugin-sdk/targets-uycXZ8vQ.js +1 -1
- package/dist/plugin-sdk/telegram.cjs +1 -1
- package/dist/plugin-sdk/telegram.js +1 -1
- package/dist/plugin-sdk/test-utils.cjs +1 -1
- package/dist/plugin-sdk/test-utils.js +1 -1
- package/dist/plugin-sdk/tlon.cjs +1 -1
- package/dist/plugin-sdk/tlon.js +1 -1
- package/dist/plugin-sdk/tokens-AAdZjj0M.js +1 -1
- package/dist/plugin-sdk/tokens-B20KNIDD.js +1 -1
- package/dist/plugin-sdk/tokens-B8ys7Q2e.js +1 -1
- package/dist/plugin-sdk/tokens-BPc1fcZ3.js +1 -1
- package/dist/plugin-sdk/tokens-BqABmXSe.js +1 -1
- package/dist/plugin-sdk/tokens-CXsPDJTr.cjs +1 -1
- package/dist/plugin-sdk/tokens-CnB4dJmp.cjs +1 -1
- package/dist/plugin-sdk/tokens-CytSl1X8.cjs +1 -1
- package/dist/plugin-sdk/tokens-DgPZk2Uu.js +1 -1
- package/dist/plugin-sdk/tokens-Dq2wDF3_.cjs +1 -1
- package/dist/plugin-sdk/tokens-DtrljGtQ.cjs +1 -1
- package/dist/plugin-sdk/tokens-g5KWvWhD.cjs +1 -1
- package/dist/plugin-sdk/twitch.cjs +1 -1
- package/dist/plugin-sdk/twitch.js +1 -1
- package/dist/plugin-sdk/utils-BJtJR72k.js +1 -1
- package/dist/plugin-sdk/utils-PPIvU9qw.cjs +1 -1
- package/dist/plugin-sdk/voice-call.cjs +1 -1
- package/dist/plugin-sdk/voice-call.js +1 -1
- package/dist/plugin-sdk/web-B4A8zBP9.cjs +1 -1
- package/dist/plugin-sdk/web-BKKx3jqf.cjs +1 -1
- package/dist/plugin-sdk/web-BTBgpaEi.js +1 -1
- package/dist/plugin-sdk/web-BfjArU7g.js +1 -1
- package/dist/plugin-sdk/web-C7KhecaH.cjs +1 -1
- package/dist/plugin-sdk/web-CFMrBQv7.js +1 -1
- package/dist/plugin-sdk/web-CS0AvKLx.js +1 -1
- package/dist/plugin-sdk/web-EfgEjg15.cjs +1 -1
- package/dist/plugin-sdk/weixin.cjs +1 -1
- package/dist/plugin-sdk/weixin.js +1 -1
- package/dist/plugin-sdk/whatsapp-actions-6N2LIWVD.js +1 -1
- package/dist/plugin-sdk/whatsapp-actions-BGEghean.js +1 -1
- package/dist/plugin-sdk/whatsapp-actions-BP_fSzB9.cjs +1 -1
- package/dist/plugin-sdk/whatsapp-actions-BSx6-Onq.cjs +1 -1
- package/dist/plugin-sdk/whatsapp-actions-BZAMGDn8.cjs +1 -1
- package/dist/plugin-sdk/whatsapp-actions-BvZMduqd.js +1 -1
- package/dist/plugin-sdk/whatsapp-actions-CDUbwNdp.cjs +1 -1
- package/dist/plugin-sdk/whatsapp-actions-DNVIKnqz.cjs +1 -1
- package/dist/plugin-sdk/whatsapp-actions-DTVbVkOo.js +1 -1
- package/dist/plugin-sdk/whatsapp-actions-DjMYqpSS.js +1 -1
- package/dist/plugin-sdk/whatsapp-actions-P1DVqKhD.cjs +1 -1
- package/dist/plugin-sdk/whatsapp-actions-shElOKKX.js +1 -1
- package/dist/plugin-sdk/whatsapp.cjs +1 -1
- package/dist/plugin-sdk/whatsapp.js +1 -1
- package/dist/plugin-sdk/zalo.cjs +1 -1
- package/dist/plugin-sdk/zalo.js +1 -1
- package/dist/plugin-sdk/zalouser.cjs +1 -1
- package/dist/plugin-sdk/zalouser.js +1 -1
- package/dist/plugins-CYLrFT4h.js +1 -1
- package/dist/plugins-DNlgeTTc.js +1 -1
- package/dist/plugins-cli-BiV4FaGs.js +1 -1
- package/dist/plugins-cli-C0PLRxT0.js +1 -1
- package/dist/polls-BIVz6a4F.js +1 -1
- package/dist/polls-Bh5wc9-6.js +1 -1
- package/dist/polls-C_XSFz3d.js +1 -1
- package/dist/polls-DKJOFSzJ.js +1 -1
- package/dist/ports-Bjc9q__g.js +1 -1
- package/dist/ports-Di2_MOUb.js +1 -1
- package/dist/probe-auth-9RrZOStc.js +1 -1
- package/dist/probe-auth-Cg6SAov9.js +1 -1
- package/dist/profile-utils-CWmra1aY.js +1 -1
- package/dist/program-CI--7377.js +1 -1
- package/dist/program-context-CH9p6anW.js +1 -1
- package/dist/program-context-Cu8fVR-O.js +1 -1
- package/dist/progress-LNttnI-y.js +1 -1
- package/dist/progress-d1m2sqR1.js +1 -1
- package/dist/prompt-select-styled-CbTtKeIC.js +1 -1
- package/dist/prompt-select-styled-sYEl0gMg.js +1 -1
- package/dist/prompt-style-BThRSQJR.js +1 -1
- package/dist/prompt-style-CXKekIBY.js +1 -1
- package/dist/prompts-CMzglboN.js +1 -1
- package/dist/prompts-wv-lfVrJ.js +1 -1
- package/dist/provider-auth-helpers-C3OaF218.js +1 -1
- package/dist/provider-auth-helpers-CZyb7LUg.js +1 -1
- package/dist/provider-env-vars-D8p6Ohpj.js +1 -1
- package/dist/provider-env-vars-Dt0Q29Su.js +1 -1
- package/dist/proxy-env-BNhTHkd_.js +1 -1
- package/dist/proxy-env-DcmW_urA.js +1 -1
- package/dist/proxy-env-DrC3TIGh.js +1 -1
- package/dist/proxy-env-FJr5nlvs.js +1 -1
- package/dist/proxy-fetch-BADsUK4d.js +1 -1
- package/dist/proxy-fetch-BZ9O8Dvj.js +1 -1
- package/dist/proxy-fetch-DnjU1fEB.js +1 -1
- package/dist/proxy-fetch-gWETR3cl.js +1 -1
- package/dist/push-apns-kySzOiJr.js +1 -1
- package/dist/push-apns-tM6G9LLm.js +1 -1
- package/dist/pw-ai-B7YMA_4Q.js +1 -1
- package/dist/pw-ai-C7peCONw.js +1 -1
- package/dist/pw-ai-CojtT9WR.js +1 -1
- package/dist/pw-ai-DWJWFzTA.js +1 -1
- package/dist/qmd-manager-C_e04BNg.js +1 -1
- package/dist/qmd-manager-DSQ_mDCl.js +1 -1
- package/dist/qmd-manager-DcBYbt_V.js +1 -1
- package/dist/qmd-manager-NLI0R6kp.js +1 -1
- package/dist/qr-cli-DUR7oW0_.js +1 -1
- package/dist/qr-cli-kb3ygh9I.js +1 -1
- package/dist/query-expansion-0OxEb1Io.js +1 -1
- package/dist/query-expansion-BUUx_oWg.js +1 -1
- package/dist/query-expansion-r_iXkNzt.js +1 -1
- package/dist/reaction-level-DVPHL14p.js +1 -1
- package/dist/reaction-message-id-BEEe7X3D.js +1 -1
- package/dist/read-only-account-inspect-DEnPVHTo.js +1 -1
- package/dist/redact-3_CiXMY6.js +1 -1
- package/dist/redact-CnRxK70G.js +1 -1
- package/dist/register.agent-BwmE1VD-.js +1 -1
- package/dist/register.agent-D1hQi_68.js +1 -1
- package/dist/register.backup-8s5jgnHQ.js +1 -1
- package/dist/register.backup-CAiwLaIW.js +1 -1
- package/dist/register.configure-BsTw4XfK.js +1 -1
- package/dist/register.configure-DxR84Ot6.js +1 -1
- package/dist/register.maintenance-3nzWAo_a.js +1 -1
- package/dist/register.maintenance-DxKGQ9Jo.js +1 -1
- package/dist/register.message-Bk1pHVSK.js +1 -1
- package/dist/register.message-PcFtBR0-.js +1 -1
- package/dist/register.onboard-AWxbhU7j.js +1 -1
- package/dist/register.onboard-BTOZN8ro.js +1 -1
- package/dist/register.setup-B-e1qIbc.js +1 -1
- package/dist/register.setup-CweJJdt8.js +1 -1
- package/dist/register.status-health-sessions-B1R_nl6P.js +1 -1
- package/dist/register.status-health-sessions-CWNLXpAn.js +1 -1
- package/dist/register.subclis-C0VQ_HfZ.js +1 -1
- package/dist/registry-BptzrW8D.js +1 -1
- package/dist/registry-hFAtCSWG.js +1 -1
- package/dist/render-BXEUPIHe.js +1 -1
- package/dist/render-CBsnn-2A.js +1 -1
- package/dist/render-D8OWO2hT.js +1 -1
- package/dist/render-DrrPmnMI.js +1 -1
- package/dist/reply-r9KtzgpM.js +1 -1
- package/dist/restart-CTfuVGfA.js +1 -1
- package/dist/rpc-BQXfCyCw.js +1 -1
- package/dist/rpc-CcrILVsV.js +1 -1
- package/dist/run-main-CuQQyoU3.js +1 -1
- package/dist/runtime-BlsMYeaw.js +1 -1
- package/dist/runtime-DLxfCs7F.js +1 -1
- package/dist/runtime-guard-DFYBaYZS.js +1 -1
- package/dist/runtime-guard-DX2Ie4ri.js +1 -1
- package/dist/runtime-status-CqFBmdRd.js +1 -1
- package/dist/runtime-status-DszMjvJK.js +1 -1
- package/dist/runtime-web-tools-BWv0X5qp.js +1 -1
- package/dist/runtime-web-tools-CCIXUISf.js +1 -1
- package/dist/sandbox-cli-CxluKLFV.js +1 -1
- package/dist/sandbox-cli-xCX6FV4Z.js +1 -1
- package/dist/scan-paths-C13EseXp.js +1 -1
- package/dist/scan-paths-CWtvWW40.js +1 -1
- package/dist/search-manager-KMRzwyPH.js +1 -1
- package/dist/secret-file-C7JffiM_.js +1 -1
- package/dist/secret-file-D60EFEOe.js +1 -1
- package/dist/secret-file-DuWm26jS.js +1 -1
- package/dist/secrets-cli-Be6OBr6Q.js +1 -1
- package/dist/secrets-cli-DmDZiX17.js +1 -1
- package/dist/secure-random-D7JQgiK-.js +1 -1
- package/dist/security-cli-CllLwpQ-.js +1 -1
- package/dist/security-cli-DcA9keUK.js +1 -1
- package/dist/send-8rJCpsDu.js +1 -1
- package/dist/send-BJjoLBo3.js +1 -1
- package/dist/send-BOxuQt9L.js +1 -1
- package/dist/send-BPfl_1It.js +1 -1
- package/dist/send-BdS6jUBa.js +1 -1
- package/dist/send-BeZJ1zbp.js +1 -1
- package/dist/send-BkZ8dWQV2.js +1 -1
- package/dist/send-CDAeI9xB2.js +1 -1
- package/dist/send-CgeRzkWS.js +1 -1
- package/dist/send-CiTZ4p2t.js +1 -1
- package/dist/send-D0y-r_hg2.js +1 -1
- package/dist/send-DIw8ExHc.js +1 -1
- package/dist/send-DRm6AFp-.js +1 -1
- package/dist/send-DS5Quwb7.js +1 -1
- package/dist/send-DVmPgxm7.js +1 -1
- package/dist/send-Ds5sy22D.js +1 -1
- package/dist/send-DvGzdoKK.js +1 -1
- package/dist/send-OVet2uKx.js +1 -1
- package/dist/send-YPQFx-fV.js +1 -1
- package/dist/send-e2ppdA_R.js +1 -1
- package/dist/server-Dzqb5Tau.js +1 -1
- package/dist/server-node-events-B2irOUJ_.js +1 -1
- package/dist/server-node-events-DSr6P0VG.js +1 -1
- package/dist/server-w7sUBJEA.js +1 -1
- package/dist/service-BtB9epJk.js +1 -1
- package/dist/service-DZ9EbS15.js +1 -1
- package/dist/session-BYYOduc1.js +1 -1
- package/dist/session-B_qrXLsR.js +1 -1
- package/dist/session-Be0RV2V1.js +1 -1
- package/dist/session-bk3gFwO4.js +1 -1
- package/dist/session-cost-usage-BgqKixv0.js +1 -1
- package/dist/session-cost-usage-CHtVgnE8.js +1 -1
- package/dist/session-key-C7F_iqYg.js +1 -1
- package/dist/session-key-D3P0tf5P.js +1 -1
- package/dist/session-utils-CrR0wD3W.js +1 -1
- package/dist/sessions-BvTGb3rW.js +1 -1
- package/dist/shared-9x5sqYRb.js +1 -1
- package/dist/shared-BKWhOp64.js +1 -1
- package/dist/shared-BV-hfJ3h.js +1 -1
- package/dist/skill-commands-C59b8Yso.js +1 -1
- package/dist/skill-commands-CqIEajsA.js +1 -1
- package/dist/skill-commands-F5NFH0NR.js +1 -1
- package/dist/skill-commands-O39uSj-k.js +1 -1
- package/dist/skill-scanner-CUUF3Fvo.js +1 -1
- package/dist/skill-scanner-CkxXNioD.js +1 -1
- package/dist/skills-CKTicUKS.js +1 -1
- package/dist/skills-DHbOKEGc.js +1 -1
- package/dist/skills-cli-CZD1Ng18.js +1 -1
- package/dist/skills-cli-nj0w4fe0.js +1 -1
- package/dist/skills-install-D0I6c17J.js +1 -1
- package/dist/skills-install-XHpqMBWl.js +1 -1
- package/dist/skills-status-BWIugRCz.js +1 -1
- package/dist/skills-status-DswSl5aD.js +1 -1
- package/dist/sqlite-CILF3z9U.js +1 -1
- package/dist/stagger-DmFYysrJ.js +1 -1
- package/dist/stagger-DxzgG2jd.js +1 -1
- package/dist/status-DKB9gdSp.js +1 -1
- package/dist/status-DgRrUxyg.js +1 -1
- package/dist/status-YZD9V9xi.js +1 -1
- package/dist/status-isxcm8Xz.js +1 -1
- package/dist/status.update-B_8Gumuc.js +1 -1
- package/dist/status.update-Cf2e-l9d.js +1 -1
- package/dist/string-normalization-BrUPaXaM.js +1 -1
- package/dist/string-normalization-DJT5zuUF.js +1 -1
- package/dist/subsystem-BLbY429l.js +1 -1
- package/dist/subsystem-Bc2XrjUz.js +1 -1
- package/dist/subsystem-C5XF2Fy5.js +1 -1
- package/dist/system-cli-CRs3TOTw.js +1 -1
- package/dist/system-cli-GyoLZQpj.js +1 -1
- package/dist/system-run-command-DCzdgYyb.js +1 -1
- package/dist/system-run-command-FCk9hSMO.js +1 -1
- package/dist/systemd-D7odsu4K.js +1 -1
- package/dist/systemd-DbevZh65.js +1 -1
- package/dist/systemd-hints-lXpMy-kY.js +1 -1
- package/dist/systemd-hints-x1lJAOxS.js +1 -1
- package/dist/systemd-linger-C2MJD6KG.js +1 -1
- package/dist/systemd-linger-cWKbFNpu.js +1 -1
- package/dist/table-CR7TFMew.js +1 -1
- package/dist/table-CY440fI1.js +1 -1
- package/dist/tables-3Rjt6nwZ.js +1 -1
- package/dist/tables-B9wFKQvT.js +1 -1
- package/dist/tables-D1pcaye7.js +1 -1
- package/dist/tables-h7y1Jhf4.js +1 -1
- package/dist/target-errors-CUQcIty1.js +1 -1
- package/dist/target-errors-D55sWZ4E.js +1 -1
- package/dist/target-errors-DH0aw-m5.js +1 -1
- package/dist/target-errors-LuLROpta.js +1 -1
- package/dist/targets-4EaxWBal.js +1 -1
- package/dist/targets-BJTo7bqu.js +1 -1
- package/dist/targets-BYVMrXDf.js +1 -1
- package/dist/targets-Bq6rS6-Z.js +1 -1
- package/dist/targets-CL5fYQi7.js +1 -1
- package/dist/targets-fozeWOOg.js +1 -1
- package/dist/targets-m_41k_Mv.js +1 -1
- package/dist/telegram/audit.js +1 -1
- package/dist/text-format-CvrvBBre.js +1 -1
- package/dist/text-format-DEWK6oCT.js +1 -1
- package/dist/token-DnTmiyJu.js +1 -1
- package/dist/tokens-B2fq-rL6.js +1 -1
- package/dist/tokens-CL2fSjGl.js +1 -1
- package/dist/tokens-DRM8vzJx.js +1 -1
- package/dist/tokens-XGbQGn67.js +1 -1
- package/dist/tool-display-DJDtttQg.js +1 -1
- package/dist/tool-display-DjuSUUbH.js +1 -1
- package/dist/tui-CqEb9hrT.js +1 -1
- package/dist/tui-DdZ8SpNW.js +1 -1
- package/dist/tui-cli-Bj0okLCf.js +1 -1
- package/dist/tui-cli-CYvBshyB.js +1 -1
- package/dist/types.secrets-C-5U96pc.js +1 -1
- package/dist/types.secrets-D4tbc3Wq.js +1 -1
- package/dist/update-BGrxUIyz.js +1 -1
- package/dist/update-CwTy5DPl.js +1 -1
- package/dist/update-cli-lciKU8_L.js +1 -1
- package/dist/update-cli-xb0jHjE8.js +1 -1
- package/dist/update-runner-8Hto6X-M.js +1 -1
- package/dist/update-runner-LVJcy569.js +1 -1
- package/dist/usage-format-BWD8FJFL.js +1 -1
- package/dist/usage-format-yPwal8Iz.js +1 -1
- package/dist/utils-CGdo13HV.js +1 -1
- package/dist/utils-D3t-vPka.js +1 -1
- package/dist/utils-R-mFyVJi.js +1 -1
- package/dist/utils-UGOV_184.js +1 -1
- package/dist/version-q3SkUw2K.js +1 -1
- package/dist/warning-filter.js +1 -1
- package/dist/web-Bfz_qlYe.js +1 -1
- package/dist/web-ClbIohhf.js +1 -1
- package/dist/webhooks-cli-DKfKihmJ.js +1 -1
- package/dist/webhooks-cli-LU2ADRQp.js +1 -1
- package/dist/whatsapp-actions-1TJ8dlv0.js +1 -1
- package/dist/whatsapp-actions-CuDiuPGa.js +1 -1
- package/dist/whatsapp-actions-DkLDOIk1.js +1 -1
- package/dist/whatsapp-actions-EnduXWui.js +1 -1
- package/dist/widearea-dns-BDx7vkV2.js +1 -1
- package/dist/widearea-dns-BFjqKXu_.js +1 -1
- package/dist/windows-spawn-7oINn5ao.js +1 -1
- package/dist/windows-spawn-AB7ItGAE.js +1 -1
- package/dist/with-timeout-WveKxvFV.js +1 -1
- package/dist/with-timeout-c1CzdShT.js +1 -1
- package/dist/workspace-B0ZQeHXg.js +1 -1
- package/dist/workspace-C45T1Cxg.js +1 -1
- package/dist/workspace-dirs-A8Vib9_B.js +1 -1
- package/dist/workspace-dirs-BhF1Dzxt.js +1 -1
- package/dist/workspace-xNEpaJvu.js +1 -1
- package/dist/wsl-DHxB2Ew_.js +1 -1
- package/dist/wsl-Ok7GaSJ6.js +1 -1
- package/extensions/memory-core/index.js +1 -0
- package/extensions/memory-core/package.json +1 -1
- package/extensions/openclaw-telemetry-galileo-embedded/index.js +4 -0
- package/extensions/openclaw-telemetry-galileo-embedded/package.json +2 -2
- package/extensions/openclaw-telemetry-galileo-embedded/src/service.js +13 -0
- package/extensions/openclaw-weixin/index.js +1 -0
- package/extensions/openclaw-weixin/package.json +3 -3
- package/extensions/openclaw-weixin/src/api/api.js +1 -0
- package/extensions/openclaw-weixin/src/api/config-cache.js +1 -0
- package/extensions/openclaw-weixin/src/api/session-guard.js +1 -0
- package/extensions/openclaw-weixin/src/api/types.js +1 -0
- package/extensions/openclaw-weixin/src/auth/accounts.js +1 -0
- package/extensions/openclaw-weixin/src/auth/login-qr.js +11 -0
- package/extensions/openclaw-weixin/src/auth/pairing.js +1 -0
- package/extensions/openclaw-weixin/src/cdn/aes-ecb.js +1 -0
- package/extensions/openclaw-weixin/src/cdn/cdn-upload.js +1 -0
- package/extensions/openclaw-weixin/src/cdn/cdn-url.js +1 -0
- package/extensions/openclaw-weixin/src/cdn/pic-decrypt.js +1 -0
- package/extensions/openclaw-weixin/src/cdn/upload.js +1 -0
- package/extensions/openclaw-weixin/src/channel.js +6 -0
- package/extensions/openclaw-weixin/src/config/config-schema.js +1 -0
- package/extensions/openclaw-weixin/src/log-upload.js +4 -0
- package/extensions/openclaw-weixin/src/media/media-download.js +1 -0
- package/extensions/openclaw-weixin/src/media/mime.js +1 -0
- package/extensions/openclaw-weixin/src/media/silk-transcode.js +1 -0
- package/extensions/openclaw-weixin/src/messaging/debug-mode.js +1 -0
- package/extensions/openclaw-weixin/src/messaging/error-notice.js +1 -0
- package/extensions/openclaw-weixin/src/messaging/inbound.js +2 -0
- package/extensions/openclaw-weixin/src/messaging/process-message.js +3 -0
- package/extensions/openclaw-weixin/src/messaging/send-media.js +1 -0
- package/extensions/openclaw-weixin/src/messaging/send.js +1 -0
- package/extensions/openclaw-weixin/src/messaging/slash-commands.js +2 -0
- package/extensions/openclaw-weixin/src/monitor/monitor.js +1 -0
- package/extensions/openclaw-weixin/src/runtime.js +1 -0
- package/extensions/openclaw-weixin/src/storage/state-dir.js +1 -0
- package/extensions/openclaw-weixin/src/storage/sync-buf.js +1 -0
- package/extensions/openclaw-weixin/src/util/logger.js +2 -0
- package/extensions/openclaw-weixin/src/util/random.js +1 -0
- package/extensions/openclaw-weixin/src/util/redact.js +1 -0
- package/extensions/qbagent-mcp-server-x5uselocal-node/index.js +1 -0
- package/extensions/qbagent-mcp-server-x5uselocal-node/package.json +1 -1
- package/extensions/qbagent-mcp-server-x5uselocal-node/src/browser-use-tool.js +1 -0
- package/extensions/qbagent-mcp-server-x5uselocal-node/src/server.js +1 -0
- package/extensions/qbagent-mcp-server-x5uselocal-node/src/tools.js +1 -0
- package/extensions/qbagent-mcp-server-x5uselocal-node/src/websocket-manager.js +1 -0
- package/package.json +1 -1
- package/extensions/memory-core/index.ts +0 -38
- package/extensions/openclaw-telemetry-galileo-embedded/index.ts +0 -663
- package/extensions/openclaw-telemetry-galileo-embedded/src/service.ts +0 -1590
- package/extensions/openclaw-weixin/index.ts +0 -26
- package/extensions/openclaw-weixin/src/api/api.ts +0 -238
- package/extensions/openclaw-weixin/src/api/config-cache.ts +0 -79
- package/extensions/openclaw-weixin/src/api/session-guard.ts +0 -58
- package/extensions/openclaw-weixin/src/api/types.ts +0 -222
- package/extensions/openclaw-weixin/src/auth/accounts.ts +0 -363
- package/extensions/openclaw-weixin/src/auth/login-qr.ts +0 -344
- package/extensions/openclaw-weixin/src/auth/pairing.ts +0 -120
- package/extensions/openclaw-weixin/src/cdn/aes-ecb.ts +0 -21
- package/extensions/openclaw-weixin/src/cdn/cdn-upload.ts +0 -75
- package/extensions/openclaw-weixin/src/cdn/cdn-url.ts +0 -17
- package/extensions/openclaw-weixin/src/cdn/pic-decrypt.ts +0 -85
- package/extensions/openclaw-weixin/src/cdn/upload.ts +0 -154
- package/extensions/openclaw-weixin/src/channel.ts +0 -483
- package/extensions/openclaw-weixin/src/config/config-schema.ts +0 -21
- package/extensions/openclaw-weixin/src/log-upload.ts +0 -129
- package/extensions/openclaw-weixin/src/media/media-download.ts +0 -138
- package/extensions/openclaw-weixin/src/media/mime.ts +0 -76
- package/extensions/openclaw-weixin/src/media/silk-transcode.ts +0 -74
- package/extensions/openclaw-weixin/src/messaging/debug-mode.ts +0 -68
- package/extensions/openclaw-weixin/src/messaging/error-notice.ts +0 -36
- package/extensions/openclaw-weixin/src/messaging/inbound.ts +0 -283
- package/extensions/openclaw-weixin/src/messaging/process-message.ts +0 -488
- package/extensions/openclaw-weixin/src/messaging/send-media.ts +0 -76
- package/extensions/openclaw-weixin/src/messaging/send.ts +0 -267
- package/extensions/openclaw-weixin/src/messaging/slash-commands.ts +0 -105
- package/extensions/openclaw-weixin/src/monitor/monitor.ts +0 -225
- package/extensions/openclaw-weixin/src/runtime.ts +0 -67
- package/extensions/openclaw-weixin/src/storage/state-dir.ts +0 -11
- package/extensions/openclaw-weixin/src/storage/sync-buf.ts +0 -79
- package/extensions/openclaw-weixin/src/util/logger.ts +0 -146
- package/extensions/openclaw-weixin/src/util/random.ts +0 -17
- package/extensions/openclaw-weixin/src/util/redact.ts +0 -57
- package/extensions/openclaw-weixin/src/vendor.d.ts +0 -21
- package/extensions/qbagent-mcp-server-x5uselocal-node/index.ts +0 -140
- package/extensions/qbagent-mcp-server-x5uselocal-node/src/browser-use-tool.ts +0 -157
- package/extensions/qbagent-mcp-server-x5uselocal-node/src/server.ts +0 -135
- package/extensions/qbagent-mcp-server-x5uselocal-node/src/tools.ts +0 -205
- package/extensions/qbagent-mcp-server-x5uselocal-node/src/websocket-manager.ts +0 -351
package/dist/render-BXEUPIHe.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=new Map([`blockquote`,`code_block`,`code`,`bold`,`italic`,`strikethrough`,`spoiler`].map((e,t)=>[e,t]));function t(t){return[...t].toSorted((t,n)=>t.start===n.start?t.end===n.end?(e.get(t.style)??0)-(e.get(n.style)??0):n.end-t.end:t.start-n.start)}function n(n,r){let i=n.text??``;if(!i)return``;let a=r.styleMarkers,o=t(n.styles.filter(e=>!!a[e.style])),s=new Set;s.add(0),s.add(i.length);let c=new Map;for(let e of o){if(e.start===e.end)continue;s.add(e.start),s.add(e.end);let t=c.get(e.start);t?t.push(e):c.set(e.start,[e])}for(let t of c.values())t.sort((t,n)=>t.end===n.end?(e.get(t.style)??0)-(e.get(n.style)??0):n.end-t.end);let l=new Map;if(r.buildLink)for(let e of n.links){if(e.start===e.end)continue;let t=r.buildLink(e,i);if(!t)continue;s.add(t.start),s.add(t.end);let n=l.get(t.start);n?n.push(t):l.set(t.start,[t])}let u=[...s].toSorted((e,t)=>e-t),d=[],f=``;for(let t=0;t<u.length;t+=1){let n=u[t];for(;d.length&&d[d.length-1]?.end===n;){let e=d.pop();e&&(f+=e.close)}let o=[],s=l.get(n);if(s&&s.length>0)for(let[e,t]of s.entries())o.push({end:t.end,open:t.open,close:t.close,kind:`link`,index:e});let p=c.get(n);if(p)for(let[e,t]of p.entries()){let n=a[t.style];n&&o.push({end:t.end,open:n.open,close:n.close,kind:`style`,style:t.style,index:e})}if(o.length>0){o.sort((t,n)=>t.end===n.end?t.kind===n.kind?t.kind===`style`&&n.kind===`style`?(e.get(t.style)??0)-(e.get(n.style)??0):t.index-n.index:t.kind===`link`?-1:1:n.end-t.end);for(let e of o)f+=e.open,d.push({close:e.close,end:e.end})}let m=u[t+1];if(m===void 0)break;m>n&&(f+=r.escapeText(i.slice(n,m)))}return f}export{n as t};
|
|
1
|
+
const e=new Map([`blockquote`,`code_block`,`code`,`bold`,`italic`,`strikethrough`,`spoiler`].map((e,t)=>[e,t]));function t(t){return[...t].toSorted((t,n)=>t.start===n.start?t.end===n.end?(e.get(t.style)??0)-(e.get(n.style)??0):n.end-t.end:t.start-n.start)}function n(n,r){let i=n.text??``;if(!i)return``;let a=r.styleMarkers,o=t(n.styles.filter(e=>!!a[e.style])),s=new Set;s.add(0),s.add(i.length);let c=new Map;for(let e of o){if(e.start===e.end)continue;s.add(e.start),s.add(e.end);let t=c.get(e.start);t?t.push(e):c.set(e.start,[e])}for(let t of c.values())t.sort((t,n)=>t.end===n.end?(e.get(t.style)??0)-(e.get(n.style)??0):n.end-t.end);let l=new Map;if(r.buildLink)for(let e of n.links){if(e.start===e.end)continue;let t=r.buildLink(e,i);if(!t)continue;s.add(t.start),s.add(t.end);let n=l.get(t.start);n?n.push(t):l.set(t.start,[t])}let u=[...s].toSorted((e,t)=>e-t),d=[],f=``;for(let t=0;t<u.length;t+=1){let n=u[t];for(;d.length&&d[d.length-1]?.end===n;){let e=d.pop();e&&(f+=e.close)}let o=[],s=l.get(n);if(s&&s.length>0)for(let[e,t]of s.entries())o.push({end:t.end,open:t.open,close:t.close,kind:`link`,index:e});let p=c.get(n);if(p)for(let[e,t]of p.entries()){let n=a[t.style];n&&o.push({end:t.end,open:n.open,close:n.close,kind:`style`,style:t.style,index:e})}if(o.length>0){o.sort((t,n)=>t.end===n.end?t.kind===n.kind?t.kind===`style`&&n.kind===`style`?(e.get(t.style)??0)-(e.get(n.style)??0):t.index-n.index:t.kind===`link`?-1:1:n.end-t.end);for(let e of o)f+=e.open,d.push({close:e.close,end:e.end})}let m=u[t+1];if(m===void 0)break;m>n&&(f+=r.escapeText(i.slice(n,m)))}return f}export{n as t};
|
package/dist/render-CBsnn-2A.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=new Map([`blockquote`,`code_block`,`code`,`bold`,`italic`,`strikethrough`,`spoiler`].map((e,t)=>[e,t]));function t(t){return[...t].toSorted((t,n)=>t.start===n.start?t.end===n.end?(e.get(t.style)??0)-(e.get(n.style)??0):n.end-t.end:t.start-n.start)}function n(n,r){let i=n.text??``;if(!i)return``;let a=r.styleMarkers,o=t(n.styles.filter(e=>!!a[e.style])),s=new Set;s.add(0),s.add(i.length);let c=new Map;for(let e of o){if(e.start===e.end)continue;s.add(e.start),s.add(e.end);let t=c.get(e.start);t?t.push(e):c.set(e.start,[e])}for(let t of c.values())t.sort((t,n)=>t.end===n.end?(e.get(t.style)??0)-(e.get(n.style)??0):n.end-t.end);let l=new Map;if(r.buildLink)for(let e of n.links){if(e.start===e.end)continue;let t=r.buildLink(e,i);if(!t)continue;s.add(t.start),s.add(t.end);let n=l.get(t.start);n?n.push(t):l.set(t.start,[t])}let u=[...s].toSorted((e,t)=>e-t),d=[],f=``;for(let t=0;t<u.length;t+=1){let n=u[t];for(;d.length&&d[d.length-1]?.end===n;){let e=d.pop();e&&(f+=e.close)}let o=[],s=l.get(n);if(s&&s.length>0)for(let[e,t]of s.entries())o.push({end:t.end,open:t.open,close:t.close,kind:`link`,index:e});let p=c.get(n);if(p)for(let[e,t]of p.entries()){let n=a[t.style];n&&o.push({end:t.end,open:n.open,close:n.close,kind:`style`,style:t.style,index:e})}if(o.length>0){o.sort((t,n)=>t.end===n.end?t.kind===n.kind?t.kind===`style`&&n.kind===`style`?(e.get(t.style)??0)-(e.get(n.style)??0):t.index-n.index:t.kind===`link`?-1:1:n.end-t.end);for(let e of o)f+=e.open,d.push({close:e.close,end:e.end})}let m=u[t+1];if(m===void 0)break;m>n&&(f+=r.escapeText(i.slice(n,m)))}return f}export{n as t};
|
|
1
|
+
const e=new Map([`blockquote`,`code_block`,`code`,`bold`,`italic`,`strikethrough`,`spoiler`].map((e,t)=>[e,t]));function t(t){return[...t].toSorted((t,n)=>t.start===n.start?t.end===n.end?(e.get(t.style)??0)-(e.get(n.style)??0):n.end-t.end:t.start-n.start)}function n(n,r){let i=n.text??``;if(!i)return``;let a=r.styleMarkers,o=t(n.styles.filter(e=>!!a[e.style])),s=new Set;s.add(0),s.add(i.length);let c=new Map;for(let e of o){if(e.start===e.end)continue;s.add(e.start),s.add(e.end);let t=c.get(e.start);t?t.push(e):c.set(e.start,[e])}for(let t of c.values())t.sort((t,n)=>t.end===n.end?(e.get(t.style)??0)-(e.get(n.style)??0):n.end-t.end);let l=new Map;if(r.buildLink)for(let e of n.links){if(e.start===e.end)continue;let t=r.buildLink(e,i);if(!t)continue;s.add(t.start),s.add(t.end);let n=l.get(t.start);n?n.push(t):l.set(t.start,[t])}let u=[...s].toSorted((e,t)=>e-t),d=[],f=``;for(let t=0;t<u.length;t+=1){let n=u[t];for(;d.length&&d[d.length-1]?.end===n;){let e=d.pop();e&&(f+=e.close)}let o=[],s=l.get(n);if(s&&s.length>0)for(let[e,t]of s.entries())o.push({end:t.end,open:t.open,close:t.close,kind:`link`,index:e});let p=c.get(n);if(p)for(let[e,t]of p.entries()){let n=a[t.style];n&&o.push({end:t.end,open:n.open,close:n.close,kind:`style`,style:t.style,index:e})}if(o.length>0){o.sort((t,n)=>t.end===n.end?t.kind===n.kind?t.kind===`style`&&n.kind===`style`?(e.get(t.style)??0)-(e.get(n.style)??0):t.index-n.index:t.kind===`link`?-1:1:n.end-t.end);for(let e of o)f+=e.open,d.push({close:e.close,end:e.end})}let m=u[t+1];if(m===void 0)break;m>n&&(f+=r.escapeText(i.slice(n,m)))}return f}export{n as t};
|
package/dist/render-D8OWO2hT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=new Map([`blockquote`,`code_block`,`code`,`bold`,`italic`,`strikethrough`,`spoiler`].map((e,t)=>[e,t]));function t(t){return[...t].toSorted((t,n)=>t.start===n.start?t.end===n.end?(e.get(t.style)??0)-(e.get(n.style)??0):n.end-t.end:t.start-n.start)}function n(n,r){let i=n.text??``;if(!i)return``;let a=r.styleMarkers,o=t(n.styles.filter(e=>!!a[e.style])),s=new Set;s.add(0),s.add(i.length);let c=new Map;for(let e of o){if(e.start===e.end)continue;s.add(e.start),s.add(e.end);let t=c.get(e.start);t?t.push(e):c.set(e.start,[e])}for(let t of c.values())t.sort((t,n)=>t.end===n.end?(e.get(t.style)??0)-(e.get(n.style)??0):n.end-t.end);let l=new Map;if(r.buildLink)for(let e of n.links){if(e.start===e.end)continue;let t=r.buildLink(e,i);if(!t)continue;s.add(t.start),s.add(t.end);let n=l.get(t.start);n?n.push(t):l.set(t.start,[t])}let u=[...s].toSorted((e,t)=>e-t),d=[],f=``;for(let t=0;t<u.length;t+=1){let n=u[t];for(;d.length&&d[d.length-1]?.end===n;){let e=d.pop();e&&(f+=e.close)}let o=[],s=l.get(n);if(s&&s.length>0)for(let[e,t]of s.entries())o.push({end:t.end,open:t.open,close:t.close,kind:`link`,index:e});let p=c.get(n);if(p)for(let[e,t]of p.entries()){let n=a[t.style];n&&o.push({end:t.end,open:n.open,close:n.close,kind:`style`,style:t.style,index:e})}if(o.length>0){o.sort((t,n)=>t.end===n.end?t.kind===n.kind?t.kind===`style`&&n.kind===`style`?(e.get(t.style)??0)-(e.get(n.style)??0):t.index-n.index:t.kind===`link`?-1:1:n.end-t.end);for(let e of o)f+=e.open,d.push({close:e.close,end:e.end})}let m=u[t+1];if(m===void 0)break;m>n&&(f+=r.escapeText(i.slice(n,m)))}return f}export{n as t};
|
|
1
|
+
const e=new Map([`blockquote`,`code_block`,`code`,`bold`,`italic`,`strikethrough`,`spoiler`].map((e,t)=>[e,t]));function t(t){return[...t].toSorted((t,n)=>t.start===n.start?t.end===n.end?(e.get(t.style)??0)-(e.get(n.style)??0):n.end-t.end:t.start-n.start)}function n(n,r){let i=n.text??``;if(!i)return``;let a=r.styleMarkers,o=t(n.styles.filter(e=>!!a[e.style])),s=new Set;s.add(0),s.add(i.length);let c=new Map;for(let e of o){if(e.start===e.end)continue;s.add(e.start),s.add(e.end);let t=c.get(e.start);t?t.push(e):c.set(e.start,[e])}for(let t of c.values())t.sort((t,n)=>t.end===n.end?(e.get(t.style)??0)-(e.get(n.style)??0):n.end-t.end);let l=new Map;if(r.buildLink)for(let e of n.links){if(e.start===e.end)continue;let t=r.buildLink(e,i);if(!t)continue;s.add(t.start),s.add(t.end);let n=l.get(t.start);n?n.push(t):l.set(t.start,[t])}let u=[...s].toSorted((e,t)=>e-t),d=[],f=``;for(let t=0;t<u.length;t+=1){let n=u[t];for(;d.length&&d[d.length-1]?.end===n;){let e=d.pop();e&&(f+=e.close)}let o=[],s=l.get(n);if(s&&s.length>0)for(let[e,t]of s.entries())o.push({end:t.end,open:t.open,close:t.close,kind:`link`,index:e});let p=c.get(n);if(p)for(let[e,t]of p.entries()){let n=a[t.style];n&&o.push({end:t.end,open:n.open,close:n.close,kind:`style`,style:t.style,index:e})}if(o.length>0){o.sort((t,n)=>t.end===n.end?t.kind===n.kind?t.kind===`style`&&n.kind===`style`?(e.get(t.style)??0)-(e.get(n.style)??0):t.index-n.index:t.kind===`link`?-1:1:n.end-t.end);for(let e of o)f+=e.open,d.push({close:e.close,end:e.end})}let m=u[t+1];if(m===void 0)break;m>n&&(f+=r.escapeText(i.slice(n,m)))}return f}export{n as t};
|
package/dist/render-DrrPmnMI.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=new Map([`blockquote`,`code_block`,`code`,`bold`,`italic`,`strikethrough`,`spoiler`].map((e,t)=>[e,t]));function t(t){return[...t].toSorted((t,n)=>t.start===n.start?t.end===n.end?(e.get(t.style)??0)-(e.get(n.style)??0):n.end-t.end:t.start-n.start)}function n(n,r){let i=n.text??``;if(!i)return``;let a=r.styleMarkers,o=t(n.styles.filter(e=>!!a[e.style])),s=new Set;s.add(0),s.add(i.length);let c=new Map;for(let e of o){if(e.start===e.end)continue;s.add(e.start),s.add(e.end);let t=c.get(e.start);t?t.push(e):c.set(e.start,[e])}for(let t of c.values())t.sort((t,n)=>t.end===n.end?(e.get(t.style)??0)-(e.get(n.style)??0):n.end-t.end);let l=new Map;if(r.buildLink)for(let e of n.links){if(e.start===e.end)continue;let t=r.buildLink(e,i);if(!t)continue;s.add(t.start),s.add(t.end);let n=l.get(t.start);n?n.push(t):l.set(t.start,[t])}let u=[...s].toSorted((e,t)=>e-t),d=[],f=``;for(let t=0;t<u.length;t+=1){let n=u[t];for(;d.length&&d[d.length-1]?.end===n;){let e=d.pop();e&&(f+=e.close)}let o=[],s=l.get(n);if(s&&s.length>0)for(let[e,t]of s.entries())o.push({end:t.end,open:t.open,close:t.close,kind:`link`,index:e});let p=c.get(n);if(p)for(let[e,t]of p.entries()){let n=a[t.style];n&&o.push({end:t.end,open:n.open,close:n.close,kind:`style`,style:t.style,index:e})}if(o.length>0){o.sort((t,n)=>t.end===n.end?t.kind===n.kind?t.kind===`style`&&n.kind===`style`?(e.get(t.style)??0)-(e.get(n.style)??0):t.index-n.index:t.kind===`link`?-1:1:n.end-t.end);for(let e of o)f+=e.open,d.push({close:e.close,end:e.end})}let m=u[t+1];if(m===void 0)break;m>n&&(f+=r.escapeText(i.slice(n,m)))}return f}export{n as t};
|
|
1
|
+
const e=new Map([`blockquote`,`code_block`,`code`,`bold`,`italic`,`strikethrough`,`spoiler`].map((e,t)=>[e,t]));function t(t){return[...t].toSorted((t,n)=>t.start===n.start?t.end===n.end?(e.get(t.style)??0)-(e.get(n.style)??0):n.end-t.end:t.start-n.start)}function n(n,r){let i=n.text??``;if(!i)return``;let a=r.styleMarkers,o=t(n.styles.filter(e=>!!a[e.style])),s=new Set;s.add(0),s.add(i.length);let c=new Map;for(let e of o){if(e.start===e.end)continue;s.add(e.start),s.add(e.end);let t=c.get(e.start);t?t.push(e):c.set(e.start,[e])}for(let t of c.values())t.sort((t,n)=>t.end===n.end?(e.get(t.style)??0)-(e.get(n.style)??0):n.end-t.end);let l=new Map;if(r.buildLink)for(let e of n.links){if(e.start===e.end)continue;let t=r.buildLink(e,i);if(!t)continue;s.add(t.start),s.add(t.end);let n=l.get(t.start);n?n.push(t):l.set(t.start,[t])}let u=[...s].toSorted((e,t)=>e-t),d=[],f=``;for(let t=0;t<u.length;t+=1){let n=u[t];for(;d.length&&d[d.length-1]?.end===n;){let e=d.pop();e&&(f+=e.close)}let o=[],s=l.get(n);if(s&&s.length>0)for(let[e,t]of s.entries())o.push({end:t.end,open:t.open,close:t.close,kind:`link`,index:e});let p=c.get(n);if(p)for(let[e,t]of p.entries()){let n=a[t.style];n&&o.push({end:t.end,open:n.open,close:n.close,kind:`style`,style:t.style,index:e})}if(o.length>0){o.sort((t,n)=>t.end===n.end?t.kind===n.kind?t.kind===`style`&&n.kind===`style`?(e.get(t.style)??0)-(e.get(n.style)??0):t.index-n.index:t.kind===`link`?-1:1:n.end-t.end);for(let e of o)f+=e.open,d.push({close:e.close,end:e.end})}let m=u[t+1];if(m===void 0)break;m>n&&(f+=r.escapeText(i.slice(n,m)))}return f}export{n as t};
|
package/dist/reply-r9KtzgpM.js
CHANGED
|
@@ -532,4 +532,4 @@ To prevent this, increase your compaction buffer by setting \`agents.defaults.co
|
|
|
532
532
|
`),Re=Me?[Me,Ne,Le].filter(Boolean).join(`
|
|
533
533
|
`).trim():Le,ze=rC({cfg:r,channel:n.Provider,sessionEntry:R,inlineMode:C,inlineOptions:w}),Be=e8(N??Fe),Ve=r_(Be);ze.mode===`interrupt`&&Ve>0&&s(`Interrupting ${Be} (cleared ${i_(Be)}, aborted=${P5(Fe)})`);let He=N??Fe,Ue=F5(Fe),We=MAe(Fe),Ge=ze.mode===`steer`||ze.mode===`steer-backlog`,Ke=ze.mode===`followup`||ze.mode===`collect`||ze.mode===`steer-backlog`,qe=await oP({cfg:r,provider:x,agentDir:a,sessionEntry:R,sessionStore:L,sessionKey:N,storePath:F,isNewSession:A}),Je=R?.authProfileOverrideSource;return uPe({commandBody:Pe,followupRun:{prompt:Re,messageId:n.MessageSidFull??n.MessageSid,summaryLine:de,enqueuedAt:Date.now(),originatingChannel:t.OriginatingChannel,originatingTo:t.OriginatingTo,originatingAccountId:t.AccountId,originatingThreadId:t.MessageThreadId,originatingChatType:t.ChatType,run:{agentId:i,agentDir:a,sessionId:Fe,sessionKey:N,messageProvider:c9({originatingChannel:t.OriginatingChannel??n.OriginatingChannel,provider:t.Provider??t.Surface??n.Provider}),agentAccountId:n.AccountId,groupId:hr(n)?.id??void 0,groupChannel:n.GroupChannel?.trim()??n.GroupSubject?.trim(),groupSpace:n.GroupSpace?.trim()??void 0,senderId:n.SenderId?.trim()||void 0,senderName:n.SenderName?.trim()||void 0,senderUsername:n.SenderUsername?.trim()||void 0,senderE164:n.SenderE164?.trim()||void 0,senderIsOwner:u.senderIsOwner,sessionFile:Ie,workspaceDir:I,config:r,skillsSnapshot:Ae,provider:x,model:S,authProfileId:qe,authProfileIdSource:Je,thinkLevel:z,verboseLevel:B,reasoningLevel:V,elevatedLevel:H,execOverrides:U,bashElevated:{enabled:h,allowed:g,defaultLevel:H??`off`},timeoutMs:k,blockReplyBreak:y,ownerNumbers:u.ownerList.length>0?u.ownerList:void 0,inputProvenance:t.InputProvenance??n.InputProvenance,extraSystemPrompt:ce.join(`
|
|
534
534
|
|
|
535
|
-
`)||void 0,...Tv(x)?{enforceFinalTag:!0}:{}}},queueKey:He,resolvedQueue:ze,shouldSteer:Ge,shouldFollowup:Ke,isActive:Ue,isStreaming:We,opts:E,typing:T,sessionEntry:R,sessionStore:L,sessionKey:N,storePath:F,defaultModel:O,agentCfgContextTokens:o?.contextTokens,resolvedVerboseLevel:B??`off`,isNewSession:A,blockStreamingEnabled:_,blockReplyChunking:v,resolvedBlockStreamingBreak:y,sessionCtx:n,shouldInjectGroupIntro:ie,typingMode:re})}function bPe(e){if(e.isFastTestEnv)return;let t=e.ctx.SessionKey?.trim();if(!t)return;let n=Qc(e.ctx);n.transcript&&gl(ji(Fi(`message`,`transcribed`,t,tl(n,e.cfg))),`get-reply: message:transcribed internal hook failed`),gl(ji(Fi(`message`,`preprocessed`,t,$c(n,e.cfg))),`get-reply: message:preprocessed internal hook failed`)}function xPe(e){let t=e.split(/\s+/).filter(Boolean);return{tokens:t,first:t[0],second:t[1],rest:t.slice(2)}}function SPe(e){let t=wr({raw:e.raw,defaultProvider:e.defaultProvider,aliasIndex:e.aliasIndex});if(!t)return;let n=qt(t.ref.provider,t.ref.model);if(e.allowedModelKeys.size>0&&!e.allowedModelKeys.has(n))return;let r=t.ref.provider===e.defaultProvider&&t.ref.model===e.defaultModel;return{provider:t.ref.provider,model:t.ref.model,isDefault:r,...t.alias?{alias:t.alias}:void 0}}function CPe(e){let{selection:t,sessionEntry:n,sessionStore:r,sessionKey:i,storePath:a}=e;if(!n||!r||!i)return;let{updated:o}=DP({entry:n,selection:t});o&&(r[i]=n,a&&De(a,e=>{e[i]=n}).catch(()=>{}))}async function wPe(e){if(!e.resetTriggered)return{};let t=e.bodyStripped?.trim();if(!t)return{};let{tokens:n,first:r,second:i}=xPe(t);if(!r)return{};let a=await kc({config:e.cfg}),o=_r({cfg:e.cfg,catalog:a,defaultProvider:e.defaultProvider,defaultModel:e.defaultModel}).allowedKeys;if(o.size===0)return{};let s=new Set;for(let e of o){let t=e.indexOf(`/`);t<=0||s.add(Xt(e.slice(0,t)))}let c=t=>FP({raw:t,defaultProvider:e.defaultProvider,defaultModel:e.defaultModel,aliasIndex:e.aliasIndex,allowedModelKeys:o}),l,u=0;if(s.has(Xt(r))&&i){let e=c(`${Xt(r)}/${i}`);e.selection&&(l=e.selection,u=2)}if(l||(l=SPe({raw:r,defaultProvider:e.defaultProvider,defaultModel:e.defaultModel,aliasIndex:e.aliasIndex,allowedModelKeys:o}),l&&(u=1)),!l){let e=c(r);(s.has(Xt(r))||r.trim().length>=6)&&(l=e.selection,l&&(u=1))}if(!l)return{};let d=n.slice(u).join(` `).trim();return e.sessionCtx.BodyStripped=d,e.sessionCtx.BodyForCommands=d,CPe({selection:l,sessionEntry:e.sessionEntry,sessionStore:e.sessionStore,sessionKey:e.sessionKey,storePath:e.storePath}),{selection:l,cleanedBody:d}}const R9=new Map,TPe=m(`session-maintenance-warning`);let z9=null;function EPe(){return z9??=import(`./deliver-runtime-DSW1f6UL.js`),z9}function DPe(){return!process.env.VITEST&&!0}function OPe(e){let{warning:t}=e;return[t.activeSessionKey,t.pruneAfterMs,t.maxEntries,t.wouldPrune?`prune`:``,t.wouldCap?`cap`:``].filter(Boolean).join(`|`)}function kPe(e){if(e>=864e5){let t=Math.round(e/864e5);return`${t} day${t===1?``:`s`}`}if(e>=36e5){let t=Math.round(e/36e5);return`${t} hour${t===1?``:`s`}`}if(e>=6e4){let t=Math.round(e/6e4);return`${t} minute${t===1?``:`s`}`}let t=Math.round(e/1e3);return`${t} second${t===1?``:`s`}`}function APe(e){let t=[];return e.wouldPrune&&t.push(`older than ${kPe(e.pruneAfterMs)}`),e.wouldCap&&t.push(`not in the most recent ${e.maxEntries} sessions`),`⚠️ Session maintenance warning: this active session would be evicted (${t.length>0?t.join(` and `):`over maintenance limits`}). Maintenance is set to warn-only, so nothing was reset. To enforce cleanup, set \`session.maintenance.mode: "enforce"\` or increase the limits.`}async function jPe(e){if(!DPe())return;let t=OPe(e);if(R9.get(e.sessionKey)===t)return;R9.set(e.sessionKey,t);let n=APe(e.warning),r=_O({entry:e.entry,requestedChannel:`last`});if(!r.channel||!r.to){CA(n,{sessionKey:e.sessionKey});return}let i=pn(r.channel)??r.channel;if(!Fn(i)){CA(n,{sessionKey:e.sessionKey});return}try{let{deliverOutboundPayloads:t}=await EPe(),a=TS({cfg:e.cfg,sessionKey:e.sessionKey});await t({cfg:e.cfg,channel:i,to:r.to,accountId:r.accountId,threadId:r.threadId,payloads:[{text:n}],session:a})}catch(t){TPe.warn(`Failed to deliver session maintenance warning: ${String(t)}`),CA(n,{sessionKey:e.sessionKey})}}function B9(e){return e?.trim()??``}function MPe(e){let t=B9(e.activeSessionKey),n=t&&ei(t)?t:void 0,r=!!t&&!n,i=B9(e.channel).toLowerCase(),a=B9(e.conversationId);if(!i||!a)return n;let o=B9(e.accountId)||`default`,s=B9(e.parentConversationId)||void 0,c=!!e.allowNonAcpBindingSessionKey,l=bC().resolveByConversation({channel:i,accountId:o,conversationId:a,parentConversationId:s}),u=l?.targetKind===`session`?l.targetSessionKey.trim():``;if(u)return c||ei(u)?u:void 0;if(r&&e.skipConfiguredFallbackWhenActiveSessionNonAcp)return;let d=WM({cfg:e.cfg,channel:i,accountId:o,conversationId:a,parentConversationId:s}),f=d?.record.targetKind===`session`?d.record.targetSessionKey.trim():``;if(f)return c||ei(f)?f:void 0;if(e.fallbackToActiveAcpWhenUnbound!==!1)return n}function V9(e){let t=$r(e);if(!t?.rest)return;let n=t.rest.split(`:`)[0]?.trim().toLowerCase();if(!(!n||n===`main`||n===`cron`||n===`subagent`||n===`acp`))return pn(n)}function H9(e){let t=$r(e);return t?t.rest.trim().toLowerCase()===`main`:(e??``).trim().toLowerCase()===`main`}const U9=new Set([`direct`,`dm`]),NPe=new Set([`thread`,`topic`]);function W9(e,t){if(!e[t+1]?.trim())return!1;let n=e.slice(t+2);return n.length===0?!0:n.length===2&&NPe.has(n[0]??``)&&!!n[1]?.trim()}function G9(e){let t=(e??``).trim().toLowerCase();if(!t)return!1;let n=($r(t)?.rest??t).split(`:`).filter(Boolean);if(n.length<2)return!1;if(U9.has(n[0]??``))return W9(n,0);let r=pn(n[0]);return!r||!Fn(r)?!1:U9.has(n[1]??``)?W9(n,1):n[1]?.trim()&&U9.has(n[2]??``)?W9(n,2):!1}function K9(e){return!!(e&&e!==`webchat`&&Fn(e))}function PPe(e){let t=pn(e.originatingChannelRaw);if(t===`webchat`&&(H9(e.sessionKey)||G9(e.sessionKey)))return e.originatingChannelRaw;let n=pn(e.persistedLastChannel),r=V9(e.sessionKey),i=e.originatingChannelRaw||e.persistedLastChannel;return K9(t)||(K9(n)?i=n:K9(r)&&(i=r)),i}function FPe(e){let t=pn(e.originatingChannelRaw);if(t===`webchat`&&(H9(e.sessionKey)||G9(e.sessionKey)))return e.originatingToRaw||e.toRaw;let n=pn(e.persistedLastChannel),r=V9(e.sessionKey);return!K9(t)&&(K9(n)||K9(r))&&e.persistedLastTo?e.persistedLastTo:e.originatingToRaw||e.toRaw||e.persistedLastTo}function IPe(e){if((e.sessionCfg?.dmScope??`main`)===`main`||e.isGroup)return;let t=fi({agentId:e.agentId,mainKey:e.mainKey}).toLowerCase();if(e.sessionKey===t)return;let n=e.sessionStore[t];if(!n)return;let r=pr(Wn(n));if(!r)return;let i=pr(Vt({channel:e.ctx.OriginatingChannel,to:e.ctx.OriginatingTo||e.ctx.To,accountId:e.ctx.AccountId,threadId:e.ctx.MessageThreadId}));if(!(!i||i!==r)&&!(n.deliveryContext===void 0&&n.lastChannel===void 0&&n.lastTo===void 0&&n.lastAccountId===void 0&&n.lastThreadId===void 0))return{key:t,entry:{...n,deliveryContext:void 0,lastChannel:void 0,lastTo:void 0,lastAccountId:void 0,lastThreadId:void 0}}}function LPe(e){let t=e.session?.parentForkMaxTokens;return typeof t==`number`&&Number.isFinite(t)&&t>=0?Math.floor(t):1e5}function RPe(e){let t=ws(e.parentEntry.sessionId,e.parentEntry,{agentId:e.agentId,sessionsDir:e.sessionsDir});if(!t||!op.existsSync(t))return null;try{let e=Pp.open(t),n=e.getLeafId();if(n){let t=e.createBranchedSession(n)??e.getSessionFile(),r=e.getSessionId();if(t&&r)return{sessionId:r,sessionFile:t}}let r=Ep.randomUUID(),i=new Date().toISOString(),a=i.replace(/[:.]/g,`-`),o=Z.join(e.getSessionDir(),`${a}_${r}.jsonl`),s={type:`session`,version:Mp,id:r,timestamp:i,cwd:e.getCwd(),parentSession:t};return op.writeFileSync(o,`${JSON.stringify(s)}\n`,`utf-8`),{sessionId:r,sessionFile:o}}catch{return null}}function q9(e){return{sessionId:e.sessionId,sessionKey:e.sessionKey,agentId:Hr({sessionKey:e.sessionKey,config:e.cfg})}}function zPe(e){return{event:{sessionId:e.sessionId,sessionKey:e.sessionKey,resumedFrom:e.resumedFrom},context:q9({sessionId:e.sessionId,sessionKey:e.sessionKey,cfg:e.cfg})}}function BPe(e){return{event:{sessionId:e.sessionId,sessionKey:e.sessionKey,messageCount:e.messageCount??0},context:q9({sessionId:e.sessionId,sessionKey:e.sessionKey,cfg:e.cfg})}}const J9=m(`session-init`);function Y9(e){return typeof e==`string`?e.trim():typeof e==`number`||typeof e==`bigint`||typeof e==`boolean`?`${e}`.trim():``}function VPe(e){let t=Y9(e);if(!t)return;let n=($r(t)?.rest??t.toLowerCase()).match(/(?:^|:)channel:([^:]+)$/);if(n?.[1])return n[1]}function HPe(e){let t=Y9(e.OriginatingChannel??e.Surface??e.Provider??``).toLowerCase();if(!t)return null;let n=Y9(e.AccountId)||`default`,r=e.MessageThreadId==null?``:Y9(String(e.MessageThreadId));if(t===`telegram`){let i=IM(e.OriginatingTo)??IM(e.To),a=h2({threadId:r||void 0,targets:[e.OriginatingTo,e.To]})??``;return r&&i&&(a=LM({chatId:i,topicId:r})??a),a?{channel:t,accountId:n,conversationId:a,...i?{parentConversationId:i}:{}}:null}let i=h2({threadId:r||void 0,targets:[e.OriginatingTo,e.To]});if(!i)return null;let a;if(t===`discord`&&r){let t=Y9(e.ThreadParentId);if(t&&t!==i)a=t;else{let t=VPe(e.ParentSessionKey);if(t&&t!==i)a=t;else{let t=h2({targets:[e.OriginatingTo,e.To]});t&&t!==i&&(a=t)}}}return{channel:t,accountId:n,conversationId:i,...a?{parentConversationId:a}:{}}}function UPe(e){let t=Y9(e.ctx.SessionKey),n=HPe(e.ctx);return MPe({cfg:e.cfg,channel:n?.channel,accountId:n?.accountId,conversationId:n?.conversationId,parentConversationId:n?.parentConversationId,activeSessionKey:t,allowNonAcpBindingSessionKey:!1,skipConfiguredFallbackWhenActiveSessionNonAcp:!0,fallbackToActiveAcpWhenUnbound:!1})}async function WPe(e){let{ctx:t,cfg:n,commandAuthorized:r}=e,i=t.CommandSource===`native`?t.CommandTargetSessionKey?.trim():void 0,a=i&&i!==t.SessionKey?{...t,SessionKey:i}:t,o=n.session,s=li(o?.mainKey),c=Hr({sessionKey:a.SessionKey,config:n}),l=hr(a)??void 0,u=o?.resetTriggers?.length?o.resetTriggers:Je,d=LPe(n),f=o?.scope??`per-sender`,p=Ss(o?.store,{agentId:c}),m=_e(p,{skipCache:!0}),h,g,_,v=!1,y,b=!1,x=!1,S=!1,C,w,T,E,D,O,k,A=Da(t.ChatType),j=A!=null&&A!==`direct`?!0:!!l,M=t.BodyForCommands??t.CommandBody??t.RawBody??t.Body??``,N=YE(M).trim(),P=M.trim(),F=ig({ctx:t,cfg:n,commandAuthorized:r}).isAuthorizedSender,L=j?XE(N,t,n,c):N,R=!!UPe({cfg:n,ctx:a}),z=e=>R&&Je.some(t=>t.toLowerCase()===e),B=P.toLowerCase(),V=L.toLowerCase();for(let e of u){if(!e)continue;if(!F)break;let t=e.toLowerCase();if(B===t||V===t){if(z(t))break;v=!0,y=``,S=!0;break}let n=`${t} `;if(B.startsWith(n)||V.startsWith(n)){if(z(t))break;v=!0,y=L.slice(e.length).trimStart(),S=!0;break}}h=te(f,a,s);let H=IPe({sessionCfg:o,sessionKey:h,sessionStore:m,agentId:c,mainKey:s,isGroup:j,ctx:t});H&&(m[H.key]=H.entry);let U=m[h],W=Date.now(),G=Ue({sessionKey:h,messageThreadId:t.MessageThreadId,threadLabel:t.ThreadLabel,threadStarterBody:t.ThreadStarterBody,parentSessionKey:t.ParentSessionKey}),K=I({sessionCfg:o,resetType:kn({sessionKey:h,isGroup:j,isThread:G}),resetOverride:Mn({sessionCfg:o,channel:l?.channel??t.OriginatingChannel??t.Surface??t.Provider})}),q=U?Qe({updatedAt:U.updatedAt,now:W,policy:K}).fresh:!1,ee=(S||!q)&&U?{...U}:void 0;kv({sessionKey:h,previousSessionId:ee?.sessionId}),!v&&q?(_=U.sessionId,b=U.systemSent??!1,x=U.abortedLastRun??!1,C=U.thinkingLevel,w=U.verboseLevel,T=U.reasoningLevel,E=U.ttsAuto,D=U.modelOverride,O=U.providerOverride,k=U.label):(_=Ep.randomUUID(),v=!0,b=!1,x=!1,S&&U&&(C=U.thinkingLevel,w=U.verboseLevel,T=U.reasoningLevel,E=U.ttsAuto,D=U.modelOverride,O=U.providerOverride,k=U.label));let J=!v&&q?U:void 0,ne=t.OriginatingChannel,re=PPe({originatingChannelRaw:ne,persistedLastChannel:J?.lastChannel,sessionKey:h}),ie=FPe({originatingChannelRaw:ne,originatingToRaw:t.OriginatingTo,toRaw:t.To,persistedLastTo:J?.lastTo,persistedLastChannel:J?.lastChannel,sessionKey:h}),ae=t.AccountId||J?.lastAccountId,oe=t.MessageThreadId||(G?J?.lastThreadId:void 0),se=Zn({deliveryContext:{channel:re,to:ie,accountId:ae,threadId:oe}}),ce=se.lastChannel??re,le=se.lastTo??ie,ue=se.lastAccountId??ae,de=se.lastThreadId??oe;g={...J,sessionId:_,updatedAt:Date.now(),systemSent:b,abortedLastRun:x,thinkingLevel:C??J?.thinkingLevel,verboseLevel:w??J?.verboseLevel,reasoningLevel:T??J?.reasoningLevel,ttsAuto:E??J?.ttsAuto,responseUsage:J?.responseUsage,modelOverride:D??J?.modelOverride,providerOverride:O??J?.providerOverride,label:k??J?.label,sendPolicy:J?.sendPolicy,queueMode:J?.queueMode,queueDebounceMs:J?.queueDebounceMs,queueCap:J?.queueCap,queueDrop:J?.queueDrop,displayName:J?.displayName,chatType:J?.chatType,channel:J?.channel,groupId:J?.groupId,subject:J?.subject,groupChannel:J?.groupChannel,space:J?.space,deliveryContext:se.deliveryContext,lastChannel:ce,lastTo:le,lastAccountId:ue,lastThreadId:de};let fe=ye({ctx:a,sessionKey:h,existing:g,groupResolution:l});fe&&(g={...g,...fe}),g.chatType||=`direct`;let pe=t.ThreadLabel?.trim();pe&&(g.displayName=pe);let me=t.ParentSessionKey?.trim(),he=g.forkedFromParent===!0;if(me&&me!==h&&m[me]&&!he){let e=m[me].totalTokens??0;if(d>0&&e>d)J9.warn(`skipping parent fork (parent too large): parentKey=${me} → sessionKey=${h} parentTokens=${e} maxTokens=${d}`),g.forkedFromParent=!0;else{J9.warn(`forking from parent session: parentKey=${me} → sessionKey=${h} parentTokens=${e}`);let t=RPe({parentEntry:m[me],agentId:c,sessionsDir:Z.dirname(p)});t&&(_=t.sessionId,g.sessionId=t.sessionId,g.sessionFile=t.sessionFile,g.forkedFromParent=!0,J9.warn(`forked session created: file=${t.sessionFile}`))}}let ge=g.sessionFile?void 0:Cs(g.sessionId,c,t.MessageThreadId);g=(await Ce({sessionId:g.sessionId,sessionKey:h,sessionStore:m,storePath:p,sessionEntry:g,agentId:c,sessionsDir:Z.dirname(p),fallbackSessionFile:ge,activeSessionKey:h})).sessionEntry,v&&(g.compactionCount=0,g.memoryFlushCompactionCount=void 0,g.memoryFlushAt=void 0,g.totalTokens=void 0,g.inputTokens=void 0,g.outputTokens=void 0,g.contextTokens=void 0),m[h]={...m[h],...g},await De(p,e=>{e[h]={...e[h],...g},H&&(e[H.key]=H.entry)},{activeSessionKey:h,onWarn:e=>jPe({cfg:n,sessionKey:h,entry:g,warning:e})}),ee?.sessionId&&mee({sessionId:ee.sessionId,storePath:p,sessionFile:ee.sessionFile,agentId:c,reason:`reset`});let ve={...t,BodyStripped:Oh(y??t.BodyForAgent??t.Body??t.CommandBody??t.RawBody??t.BodyForCommands??``),SessionId:_,IsNewSession:v?`true`:`false`},be=Uc();if(be&&v){let e=_??``;if(ee?.sessionId&&ee.sessionId!==e&&be.hasHooks(`session_end`)){let e=BPe({sessionId:ee.sessionId,sessionKey:h,cfg:n});be.runSessionEnd(e.event,e.context).catch(()=>{})}if(be.hasHooks(`session_start`)){let t=zPe({sessionId:e,sessionKey:h,cfg:n,resumedFrom:ee?.sessionId});be.runSessionStart(t.event,t.context).catch(()=>{})}}return{sessionCtx:ve,sessionEntry:g,previousSessionEntry:ee,sessionStore:m,sessionKey:h,sessionId:_??Ep.randomUUID(),isNewSession:v,resetTriggered:S,systemSent:b,abortedLastRun:x,storePath:p,sessionScope:f,groupResolution:l,isGroup:j,bodyStripped:y,triggerBodyNormalized:N}}const X9=Lt;async function GPe(e){let{ctx:t,sessionCtx:n,cfg:r,sessionKey:i,workspaceDir:a}=e,o=Array.isArray(t.MediaPaths)&&t.MediaPaths.length>0,c=qPe(t);if(c.length===0||!i)return;let l=await J({config:r,sessionKey:i,workspaceDir:a}),u=t.MediaRemoteHost?Z.join(w,`media`,`remote-cache`,i):null,d=l?.workspaceDir??u;if(!d)return;await xp.mkdir(d,{recursive:!0});let f=cn({cfg:r,accountId:t.AccountId}),p=new Set,m=new Map;for(let e of c){let n=Q9(e);if(!n||m.has(n)||!await JPe({source:n,mediaRemoteHost:t.MediaRemoteHost,remoteAttachmentRoots:f}))continue;let r=YPe(n,p);if(!r)continue;let i=l?Z.join(`media`,`inbound`,r):r,a=Z.join(d,i);try{t.MediaRemoteHost?await KPe({remoteHost:t.MediaRemoteHost,remotePath:n,rootDir:d,relativeDestPath:i,maxBytes:X9}):await Z9({sourcePath:n,rootDir:d,relativeDestPath:i,maxBytes:X9})}catch(e){e instanceof Ga&&e.code===`too-large`?s(`Blocking inbound media staging above ${X9} bytes: ${n}`):s(`Failed to stage inbound media path ${n}: ${String(e)}`);continue}let o=l?Z.posix.join(`media`,`inbound`,r):a;m.set(n,o)}XPe({ctx:t,sessionCtx:n,rawPaths:c,staged:m,hasPathsArray:o})}async function Z9(e){await Va({sourcePath:e.sourcePath,rootDir:e.rootDir,relativePath:e.relativeDestPath,maxBytes:e.maxBytes})}async function KPe(e){let t=o();await xp.mkdir(t,{recursive:!0});let n=await xp.mkdtemp(Z.join(t,`stage-sandbox-media-`)),r=Z.join(n,`download`);try{await ZPe(e.remoteHost,e.remotePath,r),await Z9({sourcePath:r,rootDir:e.rootDir,relativeDestPath:e.relativeDestPath,maxBytes:e.maxBytes})}finally{await xp.rm(n,{recursive:!0,force:!0}).catch(()=>{})}}function qPe(e){let t=Array.isArray(e.MediaPaths)?e.MediaPaths:void 0;return t&&t.length>0?t:e.MediaPath?.trim()?[e.MediaPath.trim()]:[]}function Q9(e){let t=e.trim();if(!t)return null;if(t.startsWith(`file://`))try{t=ap(t)}catch{return null}return Z.isAbsolute(t)?t:null}async function JPe(e){if(e.mediaRemoteHost)return Pn({filePath:e.source,roots:e.remoteAttachmentRoots})?!0:(s(`Blocking remote media staging from disallowed attachment path: ${e.source}`),!1);let t=Iee();if(!Pn({filePath:e.source,roots:[t]}))return s(`Blocking attempt to stage media from outside media directory: ${e.source}`),!1;try{return await Ji({filePath:e.source,cwd:t,root:t}),!0}catch{return s(`Blocking attempt to stage media from outside media directory: ${e.source}`),!1}}function YPe(e,t){let n=Z.basename(e);if(!n)return null;let r=Z.parse(n),i=n,a=1;for(;t.has(i);)i=`${r.name}-${a}${r.ext}`,a+=1;return t.add(i),i}function XPe(e){let t=t=>{let n=t?.trim();if(!n)return t;let r=Q9(n);return r?e.staged.get(r)??t:t},n=e.hasPathsArray?e.rawPaths.map(e=>t(e)??e):void 0;if(n)e.ctx.MediaPaths=n,e.sessionCtx.MediaPaths=n,e.ctx.MediaPath=n[0],e.sessionCtx.MediaPath=n[0];else{let n=t(e.ctx.MediaPath);n&&n!==e.ctx.MediaPath&&(e.ctx.MediaPath=n,e.sessionCtx.MediaPath=n)}if(Array.isArray(e.ctx.MediaUrls)&&e.ctx.MediaUrls.length>0){let n=e.ctx.MediaUrls.map(e=>t(e)??e);e.ctx.MediaUrls=n,e.sessionCtx.MediaUrls=n}let r=t(e.ctx.MediaUrl);r&&r!==e.ctx.MediaUrl&&(e.ctx.MediaUrl=r,e.sessionCtx.MediaUrl=r)}async function ZPe(e,t,n){let r=$n(e);if(!r)throw Error(`invalid remote host for SCP`);return new Promise((e,i)=>{let a=Tp(`/usr/bin/scp`,[`-o`,`BatchMode=yes`,`-o`,`StrictHostKeyChecking=yes`,`--`,`${r}:${t}`,n],{stdio:[`ignore`,`ignore`,`pipe`]}),o=``;a.stderr?.setEncoding(`utf8`),a.stderr?.on(`data`,e=>{o+=e}),a.once(`error`,i),a.once(`exit`,t=>{t===0?e():i(Error(`scp failed (${t}): ${o.trim()}`))})})}function QPe(e){let{onReplyStart:t,onCleanup:n,typingIntervalSeconds:r=6,typingTtlMs:i=2*6e4,silentToken:a=Fc,log:o}=e,s=!1,c=!1,l=!1,u=!1,d=!1,f,p=r*1e3,m=e=>e%6e4==0?`${e/6e4}m`:`${Math.round(e/1e3)}s`,h=()=>{s=!1,c=!1,l=!1,u=!1},g=()=>{d||=(f&&=(clearTimeout(f),void 0),E&&=(clearTimeout(E),void 0),x.stop(),c&&n?.(),h(),!0)},_=()=>{d||!p||p<=0||i<=0||(f&&clearTimeout(f),f=setTimeout(()=>{x.isRunning()&&(o?.(`typing TTL reached (${m(i)}); stopping typing indicator`),g())},i))},v=()=>c&&!d,y=$j({isSealed:()=>d,shouldBlock:()=>l,rethrowOnError:!0}),b=async()=>{await y.run(async()=>{await t?.()})},x=Qj({intervalMs:p,onTick:b}),S=async()=>{d||l||(c||=!0,!s&&(s=!0,await b()))},C=()=>{c&&l&&u&&g()},w=async()=>{d||l||(_(),t&&(x.isRunning()||(await S(),x.start())))},T=async e=>{if(d)return;let t=e?.trim();t&&(a&&(Pc(t,a)||Ic(t,a))||(_(),await w()))},E;return{onReplyStart:S,startTypingLoop:w,startTypingOnText:T,refreshTypingTtl:_,isActive:v,markRunComplete:()=>{l=!0,C(),!d&&!u&&(E=setTimeout(()=>{!d&&!u&&(o?.(`typing: dispatch idle not received after run complete; forcing cleanup`),g())},1e4))},markDispatchIdle:()=>{u=!0,E&&=(clearTimeout(E),void 0),C()},cleanup:g}}function $Pe(e,t){let n=e=>{if(Array.isArray(e))return _i(e)},r=n(e),i=n(t);if(!r&&!i)return;if(!r)return i;if(!i)return r;if(r.length===0||i.length===0)return[];let a=new Set(i);return r.filter(e=>a.has(e))}async function $9(e,t,n){let r=process.env.OPENCLAW_TEST_FAST===`1`,i=n??cr(),a=Hr({sessionKey:(e.CommandSource===`native`?e.CommandTargetSessionKey?.trim():void 0)||e.SessionKey,config:i}),o=$Pe(t?.skillFilter,Jr(i,a)),s=o===void 0?t:{...t,skillFilter:o},c=i.agents?.defaults,l=i.session,{defaultProvider:u,defaultModel:d,aliasIndex:f}=FMe({cfg:i,agentId:a}),m=u,h=d,g=!1;if(t?.isHeartbeat){let e=t.heartbeatModelOverride?.trim()??c?.heartbeat?.model?.trim()??``,n=e?wr({raw:e,defaultProvider:u,aliasIndex:f}):null;n&&(m=n.ref.provider,h=n.ref.model,g=!0)}let _=(await Nr({dir:zr(i,a)??Yr,ensureBootstrapFiles:!c?.skipBootstrap&&!r})).dir,v=Rr(i,a),y=wh({cfg:i,overrideSeconds:t?.timeoutOverrideSeconds}),b=c?.typingIntervalSeconds??l?.typingIntervalSeconds,x=typeof b==`number`?b:6,S=QPe({onReplyStart:t?.onReplyStart,onCleanup:t?.onTypingCleanup,typingIntervalSeconds:x,silentToken:Fc,log:p.log});t?.onTypingController?.(S);let C=Nh(e);r||(await eg({ctx:C,cfg:i,agentDir:v,activeModel:{provider:m,model:h}}),await _re({ctx:C,cfg:i})),bPe({ctx:C,cfg:i,isFastTestEnv:r});let w=C.CommandAuthorized;ig({ctx:C,cfg:i,commandAuthorized:w});let{sessionCtx:T,sessionEntry:E,previousSessionEntry:D,sessionStore:O,sessionKey:k,sessionId:A,isNewSession:j,resetTriggered:M,systemSent:N,abortedLastRun:P,storePath:F,sessionScope:I,groupResolution:L,isGroup:R,triggerBodyNormalized:z,bodyStripped:B}=await WPe({ctx:C,cfg:i,commandAuthorized:w});await wPe({cfg:i,resetTriggered:M,bodyStripped:B,sessionCtx:T,ctx:C,sessionEntry:E,sessionStore:O,sessionKey:k,storePath:F,defaultProvider:u,defaultModel:d,aliasIndex:f});let V=Dh({cfg:i,channel:L?.channel??E.channel??E.origin?.provider??(typeof C.OriginatingChannel==`string`?C.OriginatingChannel:void 0)??C.Provider,groupId:L?.id??E.groupId,groupChannel:E.groupChannel??T.GroupChannel??C.GroupChannel,groupSubject:E.subject??T.GroupSubject??C.GroupSubject,parentSessionKey:T.ParentSessionKey}),H=!!(E.modelOverride?.trim()||E.providerOverride?.trim());if(!g&&!H&&V){let e=wr({raw:V.model,defaultProvider:u,aliasIndex:f});e&&(m=e.ref.provider,h=e.ref.model)}let U=await oNe({ctx:C,cfg:i,agentId:a,agentDir:v,workspaceDir:_,agentCfg:c,sessionCtx:T,sessionEntry:E,sessionStore:O,sessionKey:k,storePath:F,sessionScope:I,groupResolution:L,isGroup:R,triggerBodyNormalized:z,commandAuthorized:w,defaultProvider:u,defaultModel:d,aliasIndex:f,provider:m,model:h,hasResolvedHeartbeatModelOverride:g,typing:S,opts:s,skillFilter:o});if(U.kind===`reply`){let e=hMe(z);return e?(S.cleanup(),{text:e}):U.reply}let{commandSource:W,command:G,allowTextCommands:K,skillCommands:q,directives:ee,cleanedBody:J,elevatedEnabled:te,elevatedAllowed:ne,elevatedFailures:re,defaultActivation:ie,resolvedThinkLevel:ae,resolvedVerboseLevel:oe,resolvedReasoningLevel:se,resolvedElevatedLevel:ce,execOverrides:le,blockStreamingEnabled:ue,blockReplyChunking:de,resolvedBlockStreamingBreak:fe,provider:pe,model:me,modelState:he,contextTokens:ge,inlineStatusRequested:_e,directiveAck:ve,perMessageQueueMode:ye,perMessageQueueOptions:be}=U.result;m=pe,h=me;let xe=async()=>{if(!M||!G.isAuthorizedSender||G.resetHookTriggered)return;let t=G.commandBodyNormalized.match(/^\/(new|reset)(?:\s|$)/);t&&await j7({action:t[1]===`reset`?`reset`:`new`,ctx:e,cfg:i,command:G,sessionKey:k,sessionEntry:E,previousSessionEntry:D,workspaceDir:_})},Se=await uNe({ctx:e,sessionCtx:T,cfg:i,agentId:a,agentDir:v,sessionEntry:E,previousSessionEntry:D,sessionStore:O,sessionKey:k,storePath:F,sessionScope:I,workspaceDir:_,isGroup:R,opts:s,typing:S,allowTextCommands:K,inlineStatusRequested:_e,command:G,skillCommands:q,directives:ee,cleanedBody:J,elevatedEnabled:te,elevatedAllowed:ne,elevatedFailures:re,defaultActivation:()=>ie,resolvedThinkLevel:ae,resolvedVerboseLevel:oe,resolvedReasoningLevel:se,resolvedElevatedLevel:ce,resolveDefaultThinkingLevel:he.resolveDefaultThinkingLevel,provider:m,model:h,contextTokens:ge,directiveAck:ve,abortedLastRun:P,skillFilter:o});return Se.kind===`reply`?(await xe(),Se.reply):(await xe(),ee=Se.directives,P=Se.abortedLastRun??P,await GPe({ctx:e,sessionCtx:T,cfg:i,sessionKey:k,workspaceDir:_}),yPe({ctx:e,sessionCtx:T,cfg:i,agentId:a,agentDir:v,agentCfg:c,sessionCfg:l,commandAuthorized:w,command:G,commandSource:W,allowTextCommands:K,directives:ee,defaultActivation:ie,resolvedThinkLevel:ae,resolvedVerboseLevel:oe,resolvedReasoningLevel:se,resolvedElevatedLevel:ce,execOverrides:le,elevatedEnabled:te,elevatedAllowed:ne,blockStreamingEnabled:ue,blockReplyChunking:de,resolvedBlockStreamingBreak:fe,modelState:he,provider:m,model:h,perMessageQueueMode:ye,perMessageQueueOptions:be,typing:S,opts:s,defaultProvider:u,defaultModel:d,timeoutMs:y,isNewSession:j,resetTriggered:M,systemSent:N,sessionEntry:E,sessionStore:O,sessionKey:k,sessionId:A,storePath:F,workspaceDir:_,abortedLastRun:P}))}export{c0 as $,oD as $n,Kie as $r,FI as $t,o2 as A,Bk as An,py as Ar,_B as At,C0 as B,TO as Bn,rv as Br,xz as Bt,X4 as C,Wue as Cn,qx as Cr,mK as Ct,Q0 as D,Hk as Dn,kx as Dr,zB as Dt,i2 as E,iue as En,Hx as Er,pH as Et,z0 as F,Yle as Fn,kv as Fr,fB as Ft,g0 as G,vO as Gn,uv as Gr,hL as Gt,x0 as H,EO as Hn,nv as Hr,bz as Ht,Uye as I,gk as In,lv as Ir,pB as It,yye as J,oO as Jn,W_ as Jr,mL as Jt,p0 as K,_O as Kn,Sv as Kr,NL as Kt,y0 as L,fk as Ln,sv as Lr,Yz as Lt,fxe as M,Mk as Mn,Uv as Mr,gB as Mt,_xe as N,Dk as Nn,Fv as Nr,hB as Nt,gxe as O,Uk as On,dy as Or,BB as Ot,s2 as P,wk as Pn,Ov as Pr,mB as Pt,d0 as Q,jse as Qn,r_ as Qr,nL as Qt,Wye as R,dk as Rn,yv as Rr,Qz as Rt,T3 as S,CA as Sn,Yx as Sr,vK as St,B4 as T,Kue as Tn,Kx as Tr,QH as Tt,_0 as U,gce as Un,vv as Ur,lz as Ut,Gye as V,HO as Vn,tv as Vr,Sz as Vt,h0 as W,Ece as Wn,cv as Wr,cz as Wt,bye as X,tce as Xn,n_ as Xr,iL as Xt,_ye as Y,nO as Yn,j_ as Yr,dL as Yt,gye as Z,Mse as Zn,Jie as Zr,rL as Zt,NDe as _,Tre as _i,Jj as _n,NC as _r,nX as _t,bMe as a,Iie as ai,oP as an,Eoe as ar,p$ as at,D3 as b,Nh as bi,kj as bn,TS as br,Sq as bt,d7 as c,Pg as ci,YM as cn,koe as cr,yhe as ct,m7 as d,ag as di,hM as dn,NE as dr,Epe as dt,Wie as ei,DP as en,cD as er,Nve as et,u7 as f,cg as fi,pM as fn,kE as fr,jZ as ft,I5 as g,Kh as gi,_fe as gn,pw as gr,CX as gt,PAe as h,Cre as hi,vfe as hn,_w as hr,dZ as ht,_Me as i,Xg as ii,cP as in,KE as ir,_$ as it,uxe as j,Lk as jn,hy as jr,vB as jt,bxe as k,Vk as kn,vy as kr,EB as kt,f7 as l,yg as li,vM as ln,Coe as lr,wQ as lt,NAe as m,bre as mi,sfe as mn,woe as mr,mZ as mt,L9 as n,Gie as ni,EP as nn,aD as nr,q1 as nt,M7 as o,Ug as oi,KN as on,FE as or,f$ as ot,P5 as p,Sre as pi,gfe as pn,Soe as pr,rpe as pt,vye as q,gO as qn,H_ as qr,ML as qt,P7 as r,Yie as ri,sP as rn,GE as rr,g$ as rt,_7 as s,Gg as si,rN as sn,Doe as sr,n$ as st,$9 as t,qie as ti,SP as tn,tD as tr,J1 as tt,h7 as u,hg as ui,mM as un,Ooe as ur,MZ as ut,$3 as v,Vh as vi,Wj as vn,JS as vr,zJ as vt,Y4 as w,wA as wn,Xx as wr,NW as wt,E3 as x,wh as xi,Oj as xn,Jx as xr,vq as xt,Q3 as y,Hh as yi,Vj as yn,KS as yr,wJ as yt,S0 as z,kO as zn,gv as zr,Gz as zt};
|
|
535
|
+
`)||void 0,...Tv(x)?{enforceFinalTag:!0}:{}}},queueKey:He,resolvedQueue:ze,shouldSteer:Ge,shouldFollowup:Ke,isActive:Ue,isStreaming:We,opts:E,typing:T,sessionEntry:R,sessionStore:L,sessionKey:N,storePath:F,defaultModel:O,agentCfgContextTokens:o?.contextTokens,resolvedVerboseLevel:B??`off`,isNewSession:A,blockStreamingEnabled:_,blockReplyChunking:v,resolvedBlockStreamingBreak:y,sessionCtx:n,shouldInjectGroupIntro:ie,typingMode:re})}function bPe(e){if(e.isFastTestEnv)return;let t=e.ctx.SessionKey?.trim();if(!t)return;let n=Qc(e.ctx);n.transcript&&gl(ji(Fi(`message`,`transcribed`,t,tl(n,e.cfg))),`get-reply: message:transcribed internal hook failed`),gl(ji(Fi(`message`,`preprocessed`,t,$c(n,e.cfg))),`get-reply: message:preprocessed internal hook failed`)}function xPe(e){let t=e.split(/\s+/).filter(Boolean);return{tokens:t,first:t[0],second:t[1],rest:t.slice(2)}}function SPe(e){let t=wr({raw:e.raw,defaultProvider:e.defaultProvider,aliasIndex:e.aliasIndex});if(!t)return;let n=qt(t.ref.provider,t.ref.model);if(e.allowedModelKeys.size>0&&!e.allowedModelKeys.has(n))return;let r=t.ref.provider===e.defaultProvider&&t.ref.model===e.defaultModel;return{provider:t.ref.provider,model:t.ref.model,isDefault:r,...t.alias?{alias:t.alias}:void 0}}function CPe(e){let{selection:t,sessionEntry:n,sessionStore:r,sessionKey:i,storePath:a}=e;if(!n||!r||!i)return;let{updated:o}=DP({entry:n,selection:t});o&&(r[i]=n,a&&De(a,e=>{e[i]=n}).catch(()=>{}))}async function wPe(e){if(!e.resetTriggered)return{};let t=e.bodyStripped?.trim();if(!t)return{};let{tokens:n,first:r,second:i}=xPe(t);if(!r)return{};let a=await kc({config:e.cfg}),o=_r({cfg:e.cfg,catalog:a,defaultProvider:e.defaultProvider,defaultModel:e.defaultModel}).allowedKeys;if(o.size===0)return{};let s=new Set;for(let e of o){let t=e.indexOf(`/`);t<=0||s.add(Xt(e.slice(0,t)))}let c=t=>FP({raw:t,defaultProvider:e.defaultProvider,defaultModel:e.defaultModel,aliasIndex:e.aliasIndex,allowedModelKeys:o}),l,u=0;if(s.has(Xt(r))&&i){let e=c(`${Xt(r)}/${i}`);e.selection&&(l=e.selection,u=2)}if(l||(l=SPe({raw:r,defaultProvider:e.defaultProvider,defaultModel:e.defaultModel,aliasIndex:e.aliasIndex,allowedModelKeys:o}),l&&(u=1)),!l){let e=c(r);(s.has(Xt(r))||r.trim().length>=6)&&(l=e.selection,l&&(u=1))}if(!l)return{};let d=n.slice(u).join(` `).trim();return e.sessionCtx.BodyStripped=d,e.sessionCtx.BodyForCommands=d,CPe({selection:l,sessionEntry:e.sessionEntry,sessionStore:e.sessionStore,sessionKey:e.sessionKey,storePath:e.storePath}),{selection:l,cleanedBody:d}}const R9=new Map,TPe=m(`session-maintenance-warning`);let z9=null;function EPe(){return z9??=import(`./deliver-runtime-DSW1f6UL.js`),z9}function DPe(){return!process.env.VITEST&&!0}function OPe(e){let{warning:t}=e;return[t.activeSessionKey,t.pruneAfterMs,t.maxEntries,t.wouldPrune?`prune`:``,t.wouldCap?`cap`:``].filter(Boolean).join(`|`)}function kPe(e){if(e>=864e5){let t=Math.round(e/864e5);return`${t} day${t===1?``:`s`}`}if(e>=36e5){let t=Math.round(e/36e5);return`${t} hour${t===1?``:`s`}`}if(e>=6e4){let t=Math.round(e/6e4);return`${t} minute${t===1?``:`s`}`}let t=Math.round(e/1e3);return`${t} second${t===1?``:`s`}`}function APe(e){let t=[];return e.wouldPrune&&t.push(`older than ${kPe(e.pruneAfterMs)}`),e.wouldCap&&t.push(`not in the most recent ${e.maxEntries} sessions`),`⚠️ Session maintenance warning: this active session would be evicted (${t.length>0?t.join(` and `):`over maintenance limits`}). Maintenance is set to warn-only, so nothing was reset. To enforce cleanup, set \`session.maintenance.mode: "enforce"\` or increase the limits.`}async function jPe(e){if(!DPe())return;let t=OPe(e);if(R9.get(e.sessionKey)===t)return;R9.set(e.sessionKey,t);let n=APe(e.warning),r=_O({entry:e.entry,requestedChannel:`last`});if(!r.channel||!r.to){CA(n,{sessionKey:e.sessionKey});return}let i=pn(r.channel)??r.channel;if(!Fn(i)){CA(n,{sessionKey:e.sessionKey});return}try{let{deliverOutboundPayloads:t}=await EPe(),a=TS({cfg:e.cfg,sessionKey:e.sessionKey});await t({cfg:e.cfg,channel:i,to:r.to,accountId:r.accountId,threadId:r.threadId,payloads:[{text:n}],session:a})}catch(t){TPe.warn(`Failed to deliver session maintenance warning: ${String(t)}`),CA(n,{sessionKey:e.sessionKey})}}function B9(e){return e?.trim()??``}function MPe(e){let t=B9(e.activeSessionKey),n=t&&ei(t)?t:void 0,r=!!t&&!n,i=B9(e.channel).toLowerCase(),a=B9(e.conversationId);if(!i||!a)return n;let o=B9(e.accountId)||`default`,s=B9(e.parentConversationId)||void 0,c=!!e.allowNonAcpBindingSessionKey,l=bC().resolveByConversation({channel:i,accountId:o,conversationId:a,parentConversationId:s}),u=l?.targetKind===`session`?l.targetSessionKey.trim():``;if(u)return c||ei(u)?u:void 0;if(r&&e.skipConfiguredFallbackWhenActiveSessionNonAcp)return;let d=WM({cfg:e.cfg,channel:i,accountId:o,conversationId:a,parentConversationId:s}),f=d?.record.targetKind===`session`?d.record.targetSessionKey.trim():``;if(f)return c||ei(f)?f:void 0;if(e.fallbackToActiveAcpWhenUnbound!==!1)return n}function V9(e){let t=$r(e);if(!t?.rest)return;let n=t.rest.split(`:`)[0]?.trim().toLowerCase();if(!(!n||n===`main`||n===`cron`||n===`subagent`||n===`acp`))return pn(n)}function H9(e){let t=$r(e);return t?t.rest.trim().toLowerCase()===`main`:(e??``).trim().toLowerCase()===`main`}const U9=new Set([`direct`,`dm`]),NPe=new Set([`thread`,`topic`]);function W9(e,t){if(!e[t+1]?.trim())return!1;let n=e.slice(t+2);return n.length===0?!0:n.length===2&&NPe.has(n[0]??``)&&!!n[1]?.trim()}function G9(e){let t=(e??``).trim().toLowerCase();if(!t)return!1;let n=($r(t)?.rest??t).split(`:`).filter(Boolean);if(n.length<2)return!1;if(U9.has(n[0]??``))return W9(n,0);let r=pn(n[0]);return!r||!Fn(r)?!1:U9.has(n[1]??``)?W9(n,1):n[1]?.trim()&&U9.has(n[2]??``)?W9(n,2):!1}function K9(e){return!!(e&&e!==`webchat`&&Fn(e))}function PPe(e){let t=pn(e.originatingChannelRaw);if(t===`webchat`&&(H9(e.sessionKey)||G9(e.sessionKey)))return e.originatingChannelRaw;let n=pn(e.persistedLastChannel),r=V9(e.sessionKey),i=e.originatingChannelRaw||e.persistedLastChannel;return K9(t)||(K9(n)?i=n:K9(r)&&(i=r)),i}function FPe(e){let t=pn(e.originatingChannelRaw);if(t===`webchat`&&(H9(e.sessionKey)||G9(e.sessionKey)))return e.originatingToRaw||e.toRaw;let n=pn(e.persistedLastChannel),r=V9(e.sessionKey);return!K9(t)&&(K9(n)||K9(r))&&e.persistedLastTo?e.persistedLastTo:e.originatingToRaw||e.toRaw||e.persistedLastTo}function IPe(e){if((e.sessionCfg?.dmScope??`main`)===`main`||e.isGroup)return;let t=fi({agentId:e.agentId,mainKey:e.mainKey}).toLowerCase();if(e.sessionKey===t)return;let n=e.sessionStore[t];if(!n)return;let r=pr(Wn(n));if(!r)return;let i=pr(Vt({channel:e.ctx.OriginatingChannel,to:e.ctx.OriginatingTo||e.ctx.To,accountId:e.ctx.AccountId,threadId:e.ctx.MessageThreadId}));if(!(!i||i!==r)&&!(n.deliveryContext===void 0&&n.lastChannel===void 0&&n.lastTo===void 0&&n.lastAccountId===void 0&&n.lastThreadId===void 0))return{key:t,entry:{...n,deliveryContext:void 0,lastChannel:void 0,lastTo:void 0,lastAccountId:void 0,lastThreadId:void 0}}}function LPe(e){let t=e.session?.parentForkMaxTokens;return typeof t==`number`&&Number.isFinite(t)&&t>=0?Math.floor(t):1e5}function RPe(e){let t=ws(e.parentEntry.sessionId,e.parentEntry,{agentId:e.agentId,sessionsDir:e.sessionsDir});if(!t||!op.existsSync(t))return null;try{let e=Pp.open(t),n=e.getLeafId();if(n){let t=e.createBranchedSession(n)??e.getSessionFile(),r=e.getSessionId();if(t&&r)return{sessionId:r,sessionFile:t}}let r=Ep.randomUUID(),i=new Date().toISOString(),a=i.replace(/[:.]/g,`-`),o=Z.join(e.getSessionDir(),`${a}_${r}.jsonl`),s={type:`session`,version:Mp,id:r,timestamp:i,cwd:e.getCwd(),parentSession:t};return op.writeFileSync(o,`${JSON.stringify(s)}\n`,`utf-8`),{sessionId:r,sessionFile:o}}catch{return null}}function q9(e){return{sessionId:e.sessionId,sessionKey:e.sessionKey,agentId:Hr({sessionKey:e.sessionKey,config:e.cfg})}}function zPe(e){return{event:{sessionId:e.sessionId,sessionKey:e.sessionKey,resumedFrom:e.resumedFrom},context:q9({sessionId:e.sessionId,sessionKey:e.sessionKey,cfg:e.cfg})}}function BPe(e){return{event:{sessionId:e.sessionId,sessionKey:e.sessionKey,messageCount:e.messageCount??0},context:q9({sessionId:e.sessionId,sessionKey:e.sessionKey,cfg:e.cfg})}}const J9=m(`session-init`);function Y9(e){return typeof e==`string`?e.trim():typeof e==`number`||typeof e==`bigint`||typeof e==`boolean`?`${e}`.trim():``}function VPe(e){let t=Y9(e);if(!t)return;let n=($r(t)?.rest??t.toLowerCase()).match(/(?:^|:)channel:([^:]+)$/);if(n?.[1])return n[1]}function HPe(e){let t=Y9(e.OriginatingChannel??e.Surface??e.Provider??``).toLowerCase();if(!t)return null;let n=Y9(e.AccountId)||`default`,r=e.MessageThreadId==null?``:Y9(String(e.MessageThreadId));if(t===`telegram`){let i=IM(e.OriginatingTo)??IM(e.To),a=h2({threadId:r||void 0,targets:[e.OriginatingTo,e.To]})??``;return r&&i&&(a=LM({chatId:i,topicId:r})??a),a?{channel:t,accountId:n,conversationId:a,...i?{parentConversationId:i}:{}}:null}let i=h2({threadId:r||void 0,targets:[e.OriginatingTo,e.To]});if(!i)return null;let a;if(t===`discord`&&r){let t=Y9(e.ThreadParentId);if(t&&t!==i)a=t;else{let t=VPe(e.ParentSessionKey);if(t&&t!==i)a=t;else{let t=h2({targets:[e.OriginatingTo,e.To]});t&&t!==i&&(a=t)}}}return{channel:t,accountId:n,conversationId:i,...a?{parentConversationId:a}:{}}}function UPe(e){let t=Y9(e.ctx.SessionKey),n=HPe(e.ctx);return MPe({cfg:e.cfg,channel:n?.channel,accountId:n?.accountId,conversationId:n?.conversationId,parentConversationId:n?.parentConversationId,activeSessionKey:t,allowNonAcpBindingSessionKey:!1,skipConfiguredFallbackWhenActiveSessionNonAcp:!0,fallbackToActiveAcpWhenUnbound:!1})}async function WPe(e){let{ctx:t,cfg:n,commandAuthorized:r}=e,i=t.CommandSource===`native`?t.CommandTargetSessionKey?.trim():void 0,a=i&&i!==t.SessionKey?{...t,SessionKey:i}:t,o=n.session,s=li(o?.mainKey),c=Hr({sessionKey:a.SessionKey,config:n}),l=hr(a)??void 0,u=o?.resetTriggers?.length?o.resetTriggers:Je,d=LPe(n),f=o?.scope??`per-sender`,p=Ss(o?.store,{agentId:c}),m=_e(p,{skipCache:!0}),h,g,_,v=!1,y,b=!1,x=!1,S=!1,C,w,T,E,D,O,k,A=Da(t.ChatType),j=A!=null&&A!==`direct`?!0:!!l,M=t.BodyForCommands??t.CommandBody??t.RawBody??t.Body??``,N=YE(M).trim(),P=M.trim(),F=ig({ctx:t,cfg:n,commandAuthorized:r}).isAuthorizedSender,L=j?XE(N,t,n,c):N,R=!!UPe({cfg:n,ctx:a}),z=e=>R&&Je.some(t=>t.toLowerCase()===e),B=P.toLowerCase(),V=L.toLowerCase();for(let e of u){if(!e)continue;if(!F)break;let t=e.toLowerCase();if(B===t||V===t){if(z(t))break;v=!0,y=``,S=!0;break}let n=`${t} `;if(B.startsWith(n)||V.startsWith(n)){if(z(t))break;v=!0,y=L.slice(e.length).trimStart(),S=!0;break}}h=te(f,a,s);let H=IPe({sessionCfg:o,sessionKey:h,sessionStore:m,agentId:c,mainKey:s,isGroup:j,ctx:t});H&&(m[H.key]=H.entry);let U=m[h],W=Date.now(),G=Ue({sessionKey:h,messageThreadId:t.MessageThreadId,threadLabel:t.ThreadLabel,threadStarterBody:t.ThreadStarterBody,parentSessionKey:t.ParentSessionKey}),K=I({sessionCfg:o,resetType:kn({sessionKey:h,isGroup:j,isThread:G}),resetOverride:Mn({sessionCfg:o,channel:l?.channel??t.OriginatingChannel??t.Surface??t.Provider})}),q=U?Qe({updatedAt:U.updatedAt,now:W,policy:K}).fresh:!1,ee=(S||!q)&&U?{...U}:void 0;kv({sessionKey:h,previousSessionId:ee?.sessionId}),!v&&q?(_=U.sessionId,b=U.systemSent??!1,x=U.abortedLastRun??!1,C=U.thinkingLevel,w=U.verboseLevel,T=U.reasoningLevel,E=U.ttsAuto,D=U.modelOverride,O=U.providerOverride,k=U.label):(_=Ep.randomUUID(),v=!0,b=!1,x=!1,S&&U&&(C=U.thinkingLevel,w=U.verboseLevel,T=U.reasoningLevel,E=U.ttsAuto,D=U.modelOverride,O=U.providerOverride,k=U.label));let J=!v&&q?U:void 0,ne=t.OriginatingChannel,re=PPe({originatingChannelRaw:ne,persistedLastChannel:J?.lastChannel,sessionKey:h}),ie=FPe({originatingChannelRaw:ne,originatingToRaw:t.OriginatingTo,toRaw:t.To,persistedLastTo:J?.lastTo,persistedLastChannel:J?.lastChannel,sessionKey:h}),ae=t.AccountId||J?.lastAccountId,oe=t.MessageThreadId||(G?J?.lastThreadId:void 0),se=Zn({deliveryContext:{channel:re,to:ie,accountId:ae,threadId:oe}}),ce=se.lastChannel??re,le=se.lastTo??ie,ue=se.lastAccountId??ae,de=se.lastThreadId??oe;g={...J,sessionId:_,updatedAt:Date.now(),systemSent:b,abortedLastRun:x,thinkingLevel:C??J?.thinkingLevel,verboseLevel:w??J?.verboseLevel,reasoningLevel:T??J?.reasoningLevel,ttsAuto:E??J?.ttsAuto,responseUsage:J?.responseUsage,modelOverride:D??J?.modelOverride,providerOverride:O??J?.providerOverride,label:k??J?.label,sendPolicy:J?.sendPolicy,queueMode:J?.queueMode,queueDebounceMs:J?.queueDebounceMs,queueCap:J?.queueCap,queueDrop:J?.queueDrop,displayName:J?.displayName,chatType:J?.chatType,channel:J?.channel,groupId:J?.groupId,subject:J?.subject,groupChannel:J?.groupChannel,space:J?.space,deliveryContext:se.deliveryContext,lastChannel:ce,lastTo:le,lastAccountId:ue,lastThreadId:de};let fe=ye({ctx:a,sessionKey:h,existing:g,groupResolution:l});fe&&(g={...g,...fe}),g.chatType||=`direct`;let pe=t.ThreadLabel?.trim();pe&&(g.displayName=pe);let me=t.ParentSessionKey?.trim(),he=g.forkedFromParent===!0;if(me&&me!==h&&m[me]&&!he){let e=m[me].totalTokens??0;if(d>0&&e>d)J9.warn(`skipping parent fork (parent too large): parentKey=${me} → sessionKey=${h} parentTokens=${e} maxTokens=${d}`),g.forkedFromParent=!0;else{J9.warn(`forking from parent session: parentKey=${me} → sessionKey=${h} parentTokens=${e}`);let t=RPe({parentEntry:m[me],agentId:c,sessionsDir:Z.dirname(p)});t&&(_=t.sessionId,g.sessionId=t.sessionId,g.sessionFile=t.sessionFile,g.forkedFromParent=!0,J9.warn(`forked session created: file=${t.sessionFile}`))}}let ge=g.sessionFile?void 0:Cs(g.sessionId,c,t.MessageThreadId);g=(await Ce({sessionId:g.sessionId,sessionKey:h,sessionStore:m,storePath:p,sessionEntry:g,agentId:c,sessionsDir:Z.dirname(p),fallbackSessionFile:ge,activeSessionKey:h})).sessionEntry,v&&(g.compactionCount=0,g.memoryFlushCompactionCount=void 0,g.memoryFlushAt=void 0,g.totalTokens=void 0,g.inputTokens=void 0,g.outputTokens=void 0,g.contextTokens=void 0),m[h]={...m[h],...g},await De(p,e=>{e[h]={...e[h],...g},H&&(e[H.key]=H.entry)},{activeSessionKey:h,onWarn:e=>jPe({cfg:n,sessionKey:h,entry:g,warning:e})}),ee?.sessionId&&mee({sessionId:ee.sessionId,storePath:p,sessionFile:ee.sessionFile,agentId:c,reason:`reset`});let ve={...t,BodyStripped:Oh(y??t.BodyForAgent??t.Body??t.CommandBody??t.RawBody??t.BodyForCommands??``),SessionId:_,IsNewSession:v?`true`:`false`},be=Uc();if(be&&v){let e=_??``;if(ee?.sessionId&&ee.sessionId!==e&&be.hasHooks(`session_end`)){let e=BPe({sessionId:ee.sessionId,sessionKey:h,cfg:n});be.runSessionEnd(e.event,e.context).catch(()=>{})}if(be.hasHooks(`session_start`)){let t=zPe({sessionId:e,sessionKey:h,cfg:n,resumedFrom:ee?.sessionId});be.runSessionStart(t.event,t.context).catch(()=>{})}}return{sessionCtx:ve,sessionEntry:g,previousSessionEntry:ee,sessionStore:m,sessionKey:h,sessionId:_??Ep.randomUUID(),isNewSession:v,resetTriggered:S,systemSent:b,abortedLastRun:x,storePath:p,sessionScope:f,groupResolution:l,isGroup:j,bodyStripped:y,triggerBodyNormalized:N}}const X9=Lt;async function GPe(e){let{ctx:t,sessionCtx:n,cfg:r,sessionKey:i,workspaceDir:a}=e,o=Array.isArray(t.MediaPaths)&&t.MediaPaths.length>0,c=qPe(t);if(c.length===0||!i)return;let l=await J({config:r,sessionKey:i,workspaceDir:a}),u=t.MediaRemoteHost?Z.join(w,`media`,`remote-cache`,i):null,d=l?.workspaceDir??u;if(!d)return;await xp.mkdir(d,{recursive:!0});let f=cn({cfg:r,accountId:t.AccountId}),p=new Set,m=new Map;for(let e of c){let n=Q9(e);if(!n||m.has(n)||!await JPe({source:n,mediaRemoteHost:t.MediaRemoteHost,remoteAttachmentRoots:f}))continue;let r=YPe(n,p);if(!r)continue;let i=l?Z.join(`media`,`inbound`,r):r,a=Z.join(d,i);try{t.MediaRemoteHost?await KPe({remoteHost:t.MediaRemoteHost,remotePath:n,rootDir:d,relativeDestPath:i,maxBytes:X9}):await Z9({sourcePath:n,rootDir:d,relativeDestPath:i,maxBytes:X9})}catch(e){e instanceof Ga&&e.code===`too-large`?s(`Blocking inbound media staging above ${X9} bytes: ${n}`):s(`Failed to stage inbound media path ${n}: ${String(e)}`);continue}let o=l?Z.posix.join(`media`,`inbound`,r):a;m.set(n,o)}XPe({ctx:t,sessionCtx:n,rawPaths:c,staged:m,hasPathsArray:o})}async function Z9(e){await Va({sourcePath:e.sourcePath,rootDir:e.rootDir,relativePath:e.relativeDestPath,maxBytes:e.maxBytes})}async function KPe(e){let t=o();await xp.mkdir(t,{recursive:!0});let n=await xp.mkdtemp(Z.join(t,`stage-sandbox-media-`)),r=Z.join(n,`download`);try{await ZPe(e.remoteHost,e.remotePath,r),await Z9({sourcePath:r,rootDir:e.rootDir,relativeDestPath:e.relativeDestPath,maxBytes:e.maxBytes})}finally{await xp.rm(n,{recursive:!0,force:!0}).catch(()=>{})}}function qPe(e){let t=Array.isArray(e.MediaPaths)?e.MediaPaths:void 0;return t&&t.length>0?t:e.MediaPath?.trim()?[e.MediaPath.trim()]:[]}function Q9(e){let t=e.trim();if(!t)return null;if(t.startsWith(`file://`))try{t=ap(t)}catch{return null}return Z.isAbsolute(t)?t:null}async function JPe(e){if(e.mediaRemoteHost)return Pn({filePath:e.source,roots:e.remoteAttachmentRoots})?!0:(s(`Blocking remote media staging from disallowed attachment path: ${e.source}`),!1);let t=Iee();if(!Pn({filePath:e.source,roots:[t]}))return s(`Blocking attempt to stage media from outside media directory: ${e.source}`),!1;try{return await Ji({filePath:e.source,cwd:t,root:t}),!0}catch{return s(`Blocking attempt to stage media from outside media directory: ${e.source}`),!1}}function YPe(e,t){let n=Z.basename(e);if(!n)return null;let r=Z.parse(n),i=n,a=1;for(;t.has(i);)i=`${r.name}-${a}${r.ext}`,a+=1;return t.add(i),i}function XPe(e){let t=t=>{let n=t?.trim();if(!n)return t;let r=Q9(n);return r?e.staged.get(r)??t:t},n=e.hasPathsArray?e.rawPaths.map(e=>t(e)??e):void 0;if(n)e.ctx.MediaPaths=n,e.sessionCtx.MediaPaths=n,e.ctx.MediaPath=n[0],e.sessionCtx.MediaPath=n[0];else{let n=t(e.ctx.MediaPath);n&&n!==e.ctx.MediaPath&&(e.ctx.MediaPath=n,e.sessionCtx.MediaPath=n)}if(Array.isArray(e.ctx.MediaUrls)&&e.ctx.MediaUrls.length>0){let n=e.ctx.MediaUrls.map(e=>t(e)??e);e.ctx.MediaUrls=n,e.sessionCtx.MediaUrls=n}let r=t(e.ctx.MediaUrl);r&&r!==e.ctx.MediaUrl&&(e.ctx.MediaUrl=r,e.sessionCtx.MediaUrl=r)}async function ZPe(e,t,n){let r=$n(e);if(!r)throw Error(`invalid remote host for SCP`);return new Promise((e,i)=>{let a=Tp(`/usr/bin/scp`,[`-o`,`BatchMode=yes`,`-o`,`StrictHostKeyChecking=yes`,`--`,`${r}:${t}`,n],{stdio:[`ignore`,`ignore`,`pipe`]}),o=``;a.stderr?.setEncoding(`utf8`),a.stderr?.on(`data`,e=>{o+=e}),a.once(`error`,i),a.once(`exit`,t=>{t===0?e():i(Error(`scp failed (${t}): ${o.trim()}`))})})}function QPe(e){let{onReplyStart:t,onCleanup:n,typingIntervalSeconds:r=6,typingTtlMs:i=2*6e4,silentToken:a=Fc,log:o}=e,s=!1,c=!1,l=!1,u=!1,d=!1,f,p=r*1e3,m=e=>e%6e4==0?`${e/6e4}m`:`${Math.round(e/1e3)}s`,h=()=>{s=!1,c=!1,l=!1,u=!1},g=()=>{d||=(f&&=(clearTimeout(f),void 0),E&&=(clearTimeout(E),void 0),x.stop(),c&&n?.(),h(),!0)},_=()=>{d||!p||p<=0||i<=0||(f&&clearTimeout(f),f=setTimeout(()=>{x.isRunning()&&(o?.(`typing TTL reached (${m(i)}); stopping typing indicator`),g())},i))},v=()=>c&&!d,y=$j({isSealed:()=>d,shouldBlock:()=>l,rethrowOnError:!0}),b=async()=>{await y.run(async()=>{await t?.()})},x=Qj({intervalMs:p,onTick:b}),S=async()=>{d||l||(c||=!0,!s&&(s=!0,await b()))},C=()=>{c&&l&&u&&g()},w=async()=>{d||l||(_(),t&&(x.isRunning()||(await S(),x.start())))},T=async e=>{if(d)return;let t=e?.trim();t&&(a&&(Pc(t,a)||Ic(t,a))||(_(),await w()))},E;return{onReplyStart:S,startTypingLoop:w,startTypingOnText:T,refreshTypingTtl:_,isActive:v,markRunComplete:()=>{l=!0,C(),!d&&!u&&(E=setTimeout(()=>{!d&&!u&&(o?.(`typing: dispatch idle not received after run complete; forcing cleanup`),g())},1e4))},markDispatchIdle:()=>{u=!0,E&&=(clearTimeout(E),void 0),C()},cleanup:g}}function $Pe(e,t){let n=e=>{if(Array.isArray(e))return _i(e)},r=n(e),i=n(t);if(!r&&!i)return;if(!r)return i;if(!i)return r;if(r.length===0||i.length===0)return[];let a=new Set(i);return r.filter(e=>a.has(e))}async function $9(e,t,n){let r=process.env.OPENCLAW_TEST_FAST===`1`,i=n??cr(),a=Hr({sessionKey:(e.CommandSource===`native`?e.CommandTargetSessionKey?.trim():void 0)||e.SessionKey,config:i}),o=$Pe(t?.skillFilter,Jr(i,a)),s=o===void 0?t:{...t,skillFilter:o},c=i.agents?.defaults,l=i.session,{defaultProvider:u,defaultModel:d,aliasIndex:f}=FMe({cfg:i,agentId:a}),m=u,h=d,g=!1;if(t?.isHeartbeat){let e=t.heartbeatModelOverride?.trim()??c?.heartbeat?.model?.trim()??``,n=e?wr({raw:e,defaultProvider:u,aliasIndex:f}):null;n&&(m=n.ref.provider,h=n.ref.model,g=!0)}let _=(await Nr({dir:zr(i,a)??Yr,ensureBootstrapFiles:!c?.skipBootstrap&&!r})).dir,v=Rr(i,a),y=wh({cfg:i,overrideSeconds:t?.timeoutOverrideSeconds}),b=c?.typingIntervalSeconds??l?.typingIntervalSeconds,x=typeof b==`number`?b:6,S=QPe({onReplyStart:t?.onReplyStart,onCleanup:t?.onTypingCleanup,typingIntervalSeconds:x,silentToken:Fc,log:p.log});t?.onTypingController?.(S);let C=Nh(e);r||(await eg({ctx:C,cfg:i,agentDir:v,activeModel:{provider:m,model:h}}),await _re({ctx:C,cfg:i})),bPe({ctx:C,cfg:i,isFastTestEnv:r});let w=C.CommandAuthorized;ig({ctx:C,cfg:i,commandAuthorized:w});let{sessionCtx:T,sessionEntry:E,previousSessionEntry:D,sessionStore:O,sessionKey:k,sessionId:A,isNewSession:j,resetTriggered:M,systemSent:N,abortedLastRun:P,storePath:F,sessionScope:I,groupResolution:L,isGroup:R,triggerBodyNormalized:z,bodyStripped:B}=await WPe({ctx:C,cfg:i,commandAuthorized:w});await wPe({cfg:i,resetTriggered:M,bodyStripped:B,sessionCtx:T,ctx:C,sessionEntry:E,sessionStore:O,sessionKey:k,storePath:F,defaultProvider:u,defaultModel:d,aliasIndex:f});let V=Dh({cfg:i,channel:L?.channel??E.channel??E.origin?.provider??(typeof C.OriginatingChannel==`string`?C.OriginatingChannel:void 0)??C.Provider,groupId:L?.id??E.groupId,groupChannel:E.groupChannel??T.GroupChannel??C.GroupChannel,groupSubject:E.subject??T.GroupSubject??C.GroupSubject,parentSessionKey:T.ParentSessionKey}),H=!!(E.modelOverride?.trim()||E.providerOverride?.trim());if(!g&&!H&&V){let e=wr({raw:V.model,defaultProvider:u,aliasIndex:f});e&&(m=e.ref.provider,h=e.ref.model)}let U=await oNe({ctx:C,cfg:i,agentId:a,agentDir:v,workspaceDir:_,agentCfg:c,sessionCtx:T,sessionEntry:E,sessionStore:O,sessionKey:k,storePath:F,sessionScope:I,groupResolution:L,isGroup:R,triggerBodyNormalized:z,commandAuthorized:w,defaultProvider:u,defaultModel:d,aliasIndex:f,provider:m,model:h,hasResolvedHeartbeatModelOverride:g,typing:S,opts:s,skillFilter:o});if(U.kind===`reply`){let e=hMe(z);return e?(S.cleanup(),{text:e}):U.reply}let{commandSource:W,command:G,allowTextCommands:K,skillCommands:q,directives:ee,cleanedBody:J,elevatedEnabled:te,elevatedAllowed:ne,elevatedFailures:re,defaultActivation:ie,resolvedThinkLevel:ae,resolvedVerboseLevel:oe,resolvedReasoningLevel:se,resolvedElevatedLevel:ce,execOverrides:le,blockStreamingEnabled:ue,blockReplyChunking:de,resolvedBlockStreamingBreak:fe,provider:pe,model:me,modelState:he,contextTokens:ge,inlineStatusRequested:_e,directiveAck:ve,perMessageQueueMode:ye,perMessageQueueOptions:be}=U.result;m=pe,h=me;let xe=async()=>{if(!M||!G.isAuthorizedSender||G.resetHookTriggered)return;let t=G.commandBodyNormalized.match(/^\/(new|reset)(?:\s|$)/);t&&await j7({action:t[1]===`reset`?`reset`:`new`,ctx:e,cfg:i,command:G,sessionKey:k,sessionEntry:E,previousSessionEntry:D,workspaceDir:_})},Se=await uNe({ctx:e,sessionCtx:T,cfg:i,agentId:a,agentDir:v,sessionEntry:E,previousSessionEntry:D,sessionStore:O,sessionKey:k,storePath:F,sessionScope:I,workspaceDir:_,isGroup:R,opts:s,typing:S,allowTextCommands:K,inlineStatusRequested:_e,command:G,skillCommands:q,directives:ee,cleanedBody:J,elevatedEnabled:te,elevatedAllowed:ne,elevatedFailures:re,defaultActivation:()=>ie,resolvedThinkLevel:ae,resolvedVerboseLevel:oe,resolvedReasoningLevel:se,resolvedElevatedLevel:ce,resolveDefaultThinkingLevel:he.resolveDefaultThinkingLevel,provider:m,model:h,contextTokens:ge,directiveAck:ve,abortedLastRun:P,skillFilter:o});return Se.kind===`reply`?(await xe(),Se.reply):(await xe(),ee=Se.directives,P=Se.abortedLastRun??P,await GPe({ctx:e,sessionCtx:T,cfg:i,sessionKey:k,workspaceDir:_}),yPe({ctx:e,sessionCtx:T,cfg:i,agentId:a,agentDir:v,agentCfg:c,sessionCfg:l,commandAuthorized:w,command:G,commandSource:W,allowTextCommands:K,directives:ee,defaultActivation:ie,resolvedThinkLevel:ae,resolvedVerboseLevel:oe,resolvedReasoningLevel:se,resolvedElevatedLevel:ce,execOverrides:le,elevatedEnabled:te,elevatedAllowed:ne,blockStreamingEnabled:ue,blockReplyChunking:de,resolvedBlockStreamingBreak:fe,modelState:he,provider:m,model:h,perMessageQueueMode:ye,perMessageQueueOptions:be,typing:S,opts:s,defaultProvider:u,defaultModel:d,timeoutMs:y,isNewSession:j,resetTriggered:M,systemSent:N,sessionEntry:E,sessionStore:O,sessionKey:k,sessionId:A,storePath:F,workspaceDir:_,abortedLastRun:P}))}export{c0 as $,oD as $n,Kie as $r,FI as $t,o2 as A,Bk as An,py as Ar,_B as At,C0 as B,TO as Bn,rv as Br,xz as Bt,X4 as C,Wue as Cn,qx as Cr,mK as Ct,Q0 as D,Hk as Dn,kx as Dr,zB as Dt,i2 as E,iue as En,Hx as Er,pH as Et,z0 as F,Yle as Fn,kv as Fr,fB as Ft,g0 as G,vO as Gn,uv as Gr,hL as Gt,x0 as H,EO as Hn,nv as Hr,bz as Ht,Uye as I,gk as In,lv as Ir,pB as It,yye as J,oO as Jn,W_ as Jr,mL as Jt,p0 as K,_O as Kn,Sv as Kr,NL as Kt,y0 as L,fk as Ln,sv as Lr,Yz as Lt,fxe as M,Mk as Mn,Uv as Mr,gB as Mt,_xe as N,Dk as Nn,Fv as Nr,hB as Nt,gxe as O,Uk as On,dy as Or,BB as Ot,s2 as P,wk as Pn,Ov as Pr,mB as Pt,d0 as Q,jse as Qn,r_ as Qr,nL as Qt,Wye as R,dk as Rn,yv as Rr,Qz as Rt,T3 as S,CA as Sn,Yx as Sr,vK as St,B4 as T,Kue as Tn,Kx as Tr,QH as Tt,_0 as U,gce as Un,vv as Ur,lz as Ut,Gye as V,HO as Vn,tv as Vr,Sz as Vt,h0 as W,Ece as Wn,cv as Wr,cz as Wt,bye as X,tce as Xn,n_ as Xr,iL as Xt,_ye as Y,nO as Yn,j_ as Yr,dL as Yt,gye as Z,Mse as Zn,Jie as Zr,rL as Zt,NDe as _,Tre as _i,Jj as _n,NC as _r,nX as _t,bMe as a,Iie as ai,oP as an,Eoe as ar,p$ as at,D3 as b,Nh as bi,kj as bn,TS as br,Sq as bt,d7 as c,Pg as ci,YM as cn,koe as cr,yhe as ct,m7 as d,ag as di,hM as dn,NE as dr,Epe as dt,Wie as ei,DP as en,cD as er,Nve as et,u7 as f,cg as fi,pM as fn,kE as fr,jZ as ft,I5 as g,Kh as gi,_fe as gn,pw as gr,CX as gt,PAe as h,Cre as hi,vfe as hn,_w as hr,dZ as ht,_Me as i,Xg as ii,cP as in,KE as ir,_$ as it,uxe as j,Lk as jn,hy as jr,vB as jt,bxe as k,Vk as kn,vy as kr,EB as kt,f7 as l,yg as li,vM as ln,Coe as lr,wQ as lt,NAe as m,bre as mi,sfe as mn,woe as mr,mZ as mt,L9 as n,Gie as ni,EP as nn,aD as nr,q1 as nt,M7 as o,Ug as oi,KN as on,FE as or,f$ as ot,P5 as p,Sre as pi,gfe as pn,Soe as pr,rpe as pt,vye as q,gO as qn,H_ as qr,ML as qt,P7 as r,Yie as ri,sP as rn,GE as rr,g$ as rt,_7 as s,Gg as si,rN as sn,Doe as sr,n$ as st,$9 as t,qie as ti,SP as tn,tD as tr,J1 as tt,h7 as u,hg as ui,mM as un,Ooe as ur,MZ as ut,$3 as v,Vh as vi,Wj as vn,JS as vr,zJ as vt,Y4 as w,wA as wn,Xx as wr,NW as wt,E3 as x,wh as xi,Oj as xn,Jx as xr,vq as xt,Q3 as y,Hh as yi,Vj as yn,KS as yr,wJ as yt,S0 as z,kO as zn,gv as zr,Gz as zt};
|
package/dist/restart-CTfuVGfA.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import{u as e}from"./paths-B4IRk3wi.js";import{H as t,t as n}from"./subsystem-C5XF2Fy5.js";import{la as r}from"./model-selection-I1ctjFOB.js";import{m as i,p as a,u as o}from"./arg-split-DE5RqDHq.js";import{n as s}from"./cmd-argv-BBT5l8AV.js";import c from"node:fs";import l from"node:os";import u from"node:path";import{spawn as d,spawnSync as f}from"node:child_process";import{randomUUID as p}from"node:crypto";function m(e,t){if(!Number.isFinite(e)||e<=0)return;let n=h(t?.graceMs);if(process.platform===`win32`){y(e,n);return}_(e,n)}function h(e){return typeof e!=`number`||!Number.isFinite(e)?3e3:Math.max(0,Math.min(6e4,Math.floor(e)))}function g(e){try{return process.kill(e,0),!0}catch{return!1}}function _(e,t){try{process.kill(-e,`SIGTERM`)}catch{try{process.kill(e,`SIGTERM`)}catch{return}}setTimeout(()=>{if(g(-e))try{process.kill(-e,`SIGKILL`);return}catch{}if(g(e))try{process.kill(e,`SIGKILL`)}catch{}},t).unref()}function v(e){try{d(`taskkill`,e,{stdio:`ignore`,detached:!0})}catch{}}function y(e,t){v([`/T`,`/PID`,String(e)]),setTimeout(()=>{g(e)&&v([`/F`,`/T`,`/PID`,String(e)])},t).unref()}const b=2e3,x=n(`restart`);function S(){return Date.now()}function C(e){let t=Math.max(0,Math.floor(e));if(!(t<=0))try{let e=new Int32Array(new SharedArrayBuffer(4));Atomics.wait(e,0,0,t)}catch{let e=Date.now();for(;Date.now()-e<t;);}}function w(e){let t=[],n,r;for(let i of e.split(/\r?\n/).filter(Boolean))if(i.startsWith(`p`)){n!=null&&r&&r.toLowerCase().includes(`openclaw`)&&t.push(n);let e=Number.parseInt(i.slice(1),10);n=Number.isFinite(e)&&e>0?e:void 0,r=void 0}else i.startsWith(`c`)&&(r=i.slice(1));return n!=null&&r&&r.toLowerCase().includes(`openclaw`)&&t.push(n),[...new Set(t)].filter(e=>e!==process.pid)}function T(e,t=2e3){if(process.platform===`win32`)return[];let n=f(r(),[`-nP`,`-iTCP:${e}`,`-sTCP:LISTEN`,`-Fpc`],{encoding:`utf8`,timeout:t});if(n.error){let t=n.error.code,r=t&&t.trim().length>0?t:n.error instanceof Error?n.error.message:`unknown error`;return x.warn(`lsof failed during initial stale-pid scan for port ${e}: ${r}`),[]}return n.status===1?[]:n.status===0?w(n.stdout):(x.warn(`lsof exited with status ${n.status} during initial stale-pid scan for port ${e}; skipping stale pid check`),[])}function E(e){try{let t=f(r(),[`-nP`,`-iTCP:${e}`,`-sTCP:LISTEN`,`-Fpc`],{encoding:`utf8`,timeout:400});if(t.error){let e=t.error.code;return{free:null,permanent:e===`ENOENT`||e===`EACCES`||e===`EPERM`}}return t.status===1?t.stdout?w(t.stdout).length===0?{free:!0}:{free:!1}:{free:!0}:t.status===0?w(t.stdout).length===0?{free:!0}:{free:!1}:{free:null,permanent:!1}}catch{return{free:null,permanent:!1}}}function D(e){let t=[];for(let n of e)try{process.kill(n,`SIGTERM`),t.push(n)}catch{}if(t.length===0)return t;C(600);for(let e of t)try{process.kill(e,0),process.kill(e,`SIGKILL`)}catch{}return C(400),t}function O(e){let t=S()+b;for(;S()<t;){let t=E(e);if(t.free===!0||t.free===null&&t.permanent)return;C(50)}x.warn(`port ${e} still in use after ${b}ms; proceeding anyway`)}function k(t){try{let n=typeof t==`number`&&Number.isFinite(t)&&t>0?Math.floor(t):e(void 0,process.env),r=T(n);if(r.length===0)return[];x.warn(`killing ${r.length} stale gateway process(es) before restart: ${r.join(`, `)}`);let i=D(r);return O(n),i}catch{return[]}}function A(e){return e.OPENCLAW_WINDOWS_TASK_NAME?.trim()||i(e.OPENCLAW_PROFILE)}function j(e){return[`@echo off`,`setlocal`,`set /a attempts=0`,`:retry`,`timeout /t 1 /nobreak >nul`,`set /a attempts+=1`,`schtasks /Run /TN ${s(e)} >nul 2>&1`,`if not errorlevel 1 goto cleanup`,`if %attempts% GEQ 12 goto cleanup`,`goto retry`,`:cleanup`,`del "%~f0" >nul 2>&1`].join(`\r
|
|
2
|
-
`)}function ee(e=process.env){let n=A(e),r=u.join(t(),`openclaw-schtasks-restart-${p()}.cmd`),i=s(r);try{return c.writeFileSync(r,`${j(n)}\r\n`,`utf8`),d(`cmd.exe`,[`/d`,`/s`,`/c`,i],{detached:!0,stdio:`ignore`,windowsHide:!0}).unref(),{ok:!0,method:`schtasks`,tried:[`schtasks /Run /TN "${n}"`,`cmd.exe /d /s /c ${i}`]}}catch(e){try{c.unlinkSync(r)}catch{}return{ok:!1,method:`schtasks`,detail:e instanceof Error?e.message:String(e),tried:[`schtasks /Run /TN "${n}"`]}}}const M=2e3,N=n(`restart`);let P=0,F=0,I=!1,L=null,R=0,z=0,B=0,V=0,H=null,U=0,W;function G(){return z>B}function K(){H&&clearTimeout(H),H=null,U=0,W=void 0}function q(e,t=6){return!Array.isArray(e)||e.length===0?null:e.length<=t?e.join(`,`):`${e.slice(0,t).join(`,`)},+${e.length-t} more`}function J(e){let t=typeof e?.actor==`string`&&e.actor.trim()?e.actor.trim():null,n=typeof e?.deviceId==`string`&&e.deviceId.trim()?e.deviceId.trim():null,r=typeof e?.clientIp==`string`&&e.clientIp.trim()?e.clientIp.trim():null,i=q(e?.changedPaths),a=[];return t&&a.push(`actor=${t}`),n&&a.push(`device=${n}`),r&&a.push(`ip=${r}`),i&&a.push(`changedPaths=${i}`),a.length>0?a.join(` `):`actor=<unknown>`}function Y(e){L=e}function X(){if(G())return K(),!1;K(),z=++R,re();try{process.listenerCount(`SIGUSR1`)>0?process.emit(`SIGUSR1`):process.kill(process.pid,`SIGUSR1`)}catch{return z=B,!1}return V=Date.now(),!0}function Z(e=Date.now()){P<=0||e<=F||(P=0,F=0)}function te(e){I=e?.allowExternal===!0}function ne(){return I}function re(e=0){let t=Math.max(0,Math.floor(e)),n=Date.now()+t+5e3;P+=1,n>F&&(F=n)}function ie(){return Z(),P<=0?!1:(--P,P<=0&&(F=0),!0)}function ae(){G()&&(B=z)}function Q(e){let t=e.pollMs??500,n=Math.max(10,Math.floor(t)),r=e.maxWaitMs??9e4,i=Math.max(n,Math.floor(r)),a;try{a=e.getPendingCount()}catch(t){e.hooks?.onCheckError?.(t),X();return}if(a<=0){e.hooks?.onReady?.(),X();return}e.hooks?.onDeferring?.(a);let o=Date.now(),s=setInterval(()=>{let t;try{t=e.getPendingCount()}catch(t){clearInterval(s),e.hooks?.onCheckError?.(t),X();return}if(t<=0){clearInterval(s),e.hooks?.onReady?.(),X();return}let n=Date.now()-o;n>=i&&(clearInterval(s),e.hooks?.onTimeout?.(t,n),X())},n)}function $(e){let t=e=>(typeof e==`string`?e:e?e.toString():``).replace(/\s+/g,` `).trim();if(e.error){if(e.error instanceof Error)return e.error.message;if(typeof e.error==`string`)return e.error;try{return JSON.stringify(e.error)}catch{return`unknown error`}}return t(e.stderr)||t(e.stdout)||(typeof e.status==`number`?`exit ${e.status}`:`unknown error`)}function oe(e,t){let n=e?.trim();return n?n.endsWith(`.service`)?n:`${n}.service`:`${a(t)}.service`}function se(){if(process.env.VITEST)return{ok:!0,method:`supervisor`,detail:`test mode`};k();let e=[];if(process.platform===`linux`){let t=oe(process.env.OPENCLAW_SYSTEMD_UNIT,process.env.OPENCLAW_PROFILE),n=[`--user`,`restart`,t];e.push(`systemctl ${n.join(` `)}`);let r=f(`systemctl`,n,{encoding:`utf8`,timeout:M});if(!r.error&&r.status===0)return{ok:!0,method:`systemd`,tried:e};let i=[`restart`,t];e.push(`systemctl ${i.join(` `)}`);let a=f(`systemctl`,i,{encoding:`utf8`,timeout:M});return!a.error&&a.status===0?{ok:!0,method:`systemd`,tried:e}:{ok:!1,method:`systemd`,detail:[`user: ${$(r)}`,`system: ${$(a)}`].join(`; `),tried:e}}if(process.platform===`win32`)return ee(process.env);if(process.platform!==`darwin`)return{ok:!1,method:`supervisor`,detail:`unsupported platform restart`};let t=process.env.OPENCLAW_LAUNCHD_LABEL||o(process.env.OPENCLAW_PROFILE),n=typeof process.getuid==`function`?process.getuid():void 0,r=n===void 0?`gui/501`:`gui/${n}`,i=`${r}/${t}`,a=[`kickstart`,`-k`,i];e.push(`launchctl ${a.join(` `)}`);let s=f(`launchctl`,a,{encoding:`utf8`,timeout:M});if(!s.error&&s.status===0)return{ok:!0,method:`launchctl`,tried:e};let c=process.env.HOME?.trim()||l.homedir(),d=[`bootstrap`,r,u.join(c,`Library`,`LaunchAgents`,`${t}.plist`)];e.push(`launchctl ${d.join(` `)}`);let p=f(`launchctl`,d,{encoding:`utf8`,timeout:M});if(p.error||p.status!==0&&p.status!==null)return{ok:!1,method:`launchctl`,detail:$(p),tried:e};let m=[`kickstart`,`-k`,i];e.push(`launchctl ${m.join(` `)}`);let h=f(`launchctl`,m,{encoding:`utf8`,timeout:M});return!h.error&&h.status===0?{ok:!0,method:`launchctl`,tried:e}:{ok:!1,method:`launchctl`,detail:$(h),tried:e}}function ce(e){let t=typeof e?.delayMs==`number`&&Number.isFinite(e.delayMs)?Math.floor(e.delayMs):2e3,n=Math.min(Math.max(t,0),6e4),r=typeof e?.reason==`string`&&e.reason.trim()?e.reason.trim().slice(0,200):void 0,i=process.listenerCount(`SIGUSR1`)>0?`emit`:`signal`,a=Date.now(),o=Math.max(0,V+3e4-a),s=a+n+o;if(G())return N.warn(`restart request coalesced (already in-flight) reason=${r??`unspecified`} ${J(e?.audit)}`),{ok:!0,pid:process.pid,signal:`SIGUSR1`,delayMs:0,reason:r,mode:i,coalesced:!0,cooldownMsApplied:o};if(H){let t=Math.max(0,U-a);if(s<U)N.warn(`restart request rescheduled earlier reason=${r??`unspecified`} pendingReason=${W??`unspecified`} oldDelayMs=${t} newDelayMs=${Math.max(0,s-a)} ${J(e?.audit)}`),K();else return N.warn(`restart request coalesced (already scheduled) reason=${r??`unspecified`} pendingReason=${W??`unspecified`} delayMs=${t} ${J(e?.audit)}`),{ok:!0,pid:process.pid,signal:`SIGUSR1`,delayMs:t,reason:r,mode:i,coalesced:!0,cooldownMsApplied:o}}return U=s,W=r,H=setTimeout(()=>{H=null,U=0,W=void 0;let e=L;if(!e){X();return}Q({getPendingCount:e})},Math.max(0,s-a)),{ok:!0,pid:process.pid,signal:`SIGUSR1`,delayMs:Math.max(0,s-a),reason:r,mode:i,coalesced:!1,cooldownMsApplied:o}}export{ae as a,Y as c,T as d,m as f,ne as i,se as l,Q as n,ce as o,X as r,te as s,ie as t,k as u};
|
|
2
|
+
`)}function ee(e=process.env){let n=A(e),r=u.join(t(),`openclaw-schtasks-restart-${p()}.cmd`),i=s(r);try{return c.writeFileSync(r,`${j(n)}\r\n`,`utf8`),d(`cmd.exe`,[`/d`,`/s`,`/c`,i],{detached:!0,stdio:`ignore`,windowsHide:!0}).unref(),{ok:!0,method:`schtasks`,tried:[`schtasks /Run /TN "${n}"`,`cmd.exe /d /s /c ${i}`]}}catch(e){try{c.unlinkSync(r)}catch{}return{ok:!1,method:`schtasks`,detail:e instanceof Error?e.message:String(e),tried:[`schtasks /Run /TN "${n}"`]}}}const M=2e3,N=n(`restart`);let P=0,F=0,I=!1,L=null,R=0,z=0,B=0,V=0,H=null,U=0,W;function G(){return z>B}function K(){H&&clearTimeout(H),H=null,U=0,W=void 0}function q(e,t=6){return!Array.isArray(e)||e.length===0?null:e.length<=t?e.join(`,`):`${e.slice(0,t).join(`,`)},+${e.length-t} more`}function J(e){let t=typeof e?.actor==`string`&&e.actor.trim()?e.actor.trim():null,n=typeof e?.deviceId==`string`&&e.deviceId.trim()?e.deviceId.trim():null,r=typeof e?.clientIp==`string`&&e.clientIp.trim()?e.clientIp.trim():null,i=q(e?.changedPaths),a=[];return t&&a.push(`actor=${t}`),n&&a.push(`device=${n}`),r&&a.push(`ip=${r}`),i&&a.push(`changedPaths=${i}`),a.length>0?a.join(` `):`actor=<unknown>`}function Y(e){L=e}function X(){if(G())return K(),!1;K(),z=++R,re();try{process.listenerCount(`SIGUSR1`)>0?process.emit(`SIGUSR1`):process.kill(process.pid,`SIGUSR1`)}catch{return z=B,!1}return V=Date.now(),!0}function Z(e=Date.now()){P<=0||e<=F||(P=0,F=0)}function te(e){I=e?.allowExternal===!0}function ne(){return I}function re(e=0){let t=Math.max(0,Math.floor(e)),n=Date.now()+t+5e3;P+=1,n>F&&(F=n)}function ie(){return Z(),P<=0?!1:(--P,P<=0&&(F=0),!0)}function ae(){G()&&(B=z)}function Q(e){let t=e.pollMs??500,n=Math.max(10,Math.floor(t)),r=e.maxWaitMs??9e4,i=Math.max(n,Math.floor(r)),a;try{a=e.getPendingCount()}catch(t){e.hooks?.onCheckError?.(t),X();return}if(a<=0){e.hooks?.onReady?.(),X();return}e.hooks?.onDeferring?.(a);let o=Date.now(),s=setInterval(()=>{let t;try{t=e.getPendingCount()}catch(t){clearInterval(s),e.hooks?.onCheckError?.(t),X();return}if(t<=0){clearInterval(s),e.hooks?.onReady?.(),X();return}let n=Date.now()-o;n>=i&&(clearInterval(s),e.hooks?.onTimeout?.(t,n),X())},n)}function $(e){let t=e=>(typeof e==`string`?e:e?e.toString():``).replace(/\s+/g,` `).trim();if(e.error){if(e.error instanceof Error)return e.error.message;if(typeof e.error==`string`)return e.error;try{return JSON.stringify(e.error)}catch{return`unknown error`}}return t(e.stderr)||t(e.stdout)||(typeof e.status==`number`?`exit ${e.status}`:`unknown error`)}function oe(e,t){let n=e?.trim();return n?n.endsWith(`.service`)?n:`${n}.service`:`${a(t)}.service`}function se(){if(process.env.VITEST)return{ok:!0,method:`supervisor`,detail:`test mode`};k();let e=[];if(process.platform===`linux`){let t=oe(process.env.OPENCLAW_SYSTEMD_UNIT,process.env.OPENCLAW_PROFILE),n=[`--user`,`restart`,t];e.push(`systemctl ${n.join(` `)}`);let r=f(`systemctl`,n,{encoding:`utf8`,timeout:M});if(!r.error&&r.status===0)return{ok:!0,method:`systemd`,tried:e};let i=[`restart`,t];e.push(`systemctl ${i.join(` `)}`);let a=f(`systemctl`,i,{encoding:`utf8`,timeout:M});return!a.error&&a.status===0?{ok:!0,method:`systemd`,tried:e}:{ok:!1,method:`systemd`,detail:[`user: ${$(r)}`,`system: ${$(a)}`].join(`; `),tried:e}}if(process.platform===`win32`)return ee(process.env);if(process.platform!==`darwin`)return{ok:!1,method:`supervisor`,detail:`unsupported platform restart`};let t=process.env.OPENCLAW_LAUNCHD_LABEL||o(process.env.OPENCLAW_PROFILE),n=typeof process.getuid==`function`?process.getuid():void 0,r=n===void 0?`gui/501`:`gui/${n}`,i=`${r}/${t}`,a=[`kickstart`,`-k`,i];e.push(`launchctl ${a.join(` `)}`);let s=f(`launchctl`,a,{encoding:`utf8`,timeout:M});if(!s.error&&s.status===0)return{ok:!0,method:`launchctl`,tried:e};let c=process.env.HOME?.trim()||l.homedir(),d=[`bootstrap`,r,u.join(c,`Library`,`LaunchAgents`,`${t}.plist`)];e.push(`launchctl ${d.join(` `)}`);let p=f(`launchctl`,d,{encoding:`utf8`,timeout:M});if(p.error||p.status!==0&&p.status!==null)return{ok:!1,method:`launchctl`,detail:$(p),tried:e};let m=[`kickstart`,`-k`,i];e.push(`launchctl ${m.join(` `)}`);let h=f(`launchctl`,m,{encoding:`utf8`,timeout:M});return!h.error&&h.status===0?{ok:!0,method:`launchctl`,tried:e}:{ok:!1,method:`launchctl`,detail:$(h),tried:e}}function ce(e){let t=typeof e?.delayMs==`number`&&Number.isFinite(e.delayMs)?Math.floor(e.delayMs):2e3,n=Math.min(Math.max(t,0),6e4),r=typeof e?.reason==`string`&&e.reason.trim()?e.reason.trim().slice(0,200):void 0,i=process.listenerCount(`SIGUSR1`)>0?`emit`:`signal`,a=Date.now(),o=Math.max(0,V+3e4-a),s=a+n+o;if(G())return N.warn(`restart request coalesced (already in-flight) reason=${r??`unspecified`} ${J(e?.audit)}`),{ok:!0,pid:process.pid,signal:`SIGUSR1`,delayMs:0,reason:r,mode:i,coalesced:!0,cooldownMsApplied:o};if(H){let t=Math.max(0,U-a);if(s<U)N.warn(`restart request rescheduled earlier reason=${r??`unspecified`} pendingReason=${W??`unspecified`} oldDelayMs=${t} newDelayMs=${Math.max(0,s-a)} ${J(e?.audit)}`),K();else return N.warn(`restart request coalesced (already scheduled) reason=${r??`unspecified`} pendingReason=${W??`unspecified`} delayMs=${t} ${J(e?.audit)}`),{ok:!0,pid:process.pid,signal:`SIGUSR1`,delayMs:t,reason:r,mode:i,coalesced:!0,cooldownMsApplied:o}}return U=s,W=r,H=setTimeout(()=>{H=null,U=0,W=void 0;let e=L;if(!e){X();return}Q({getPendingCount:e})},Math.max(0,s-a)),{ok:!0,pid:process.pid,signal:`SIGUSR1`,delayMs:Math.max(0,s-a),reason:r,mode:i,coalesced:!1,cooldownMsApplied:o}}export{ae as a,Y as c,T as d,m as f,ne as i,se as l,Q as n,ce as o,X as r,te as s,ie as t,k as u};
|
package/dist/rpc-BQXfCyCw.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Si as e,xi as t}from"./model-selection-I1ctjFOB.js";import{a as n,n as r}from"./call-BA3O_Qpl.js";import{n as i}from"./progress-LNttnI-y.js";import{i as a,r as o,t as s}from"./node-resolve-B3BJbmQX.js";function c(e){if(!e||typeof e!=`object`||Array.isArray(e))return null;let t=Object.entries(e).map(([e,t])=>[String(e).trim(),t===!0]).filter(([e])=>e.length>0).toSorted((e,t)=>e[0].localeCompare(t[0]));return t.length===0?null:`[${t.map(([e,t])=>`${e}=${t?`yes`:`no`}`).join(`, `)}]`}const l=(e,t)=>e.option(`--url <url>`,`Gateway WebSocket URL (defaults to gateway.remote.url when configured)`).option(`--token <token>`,`Gateway token (if required)`).option(`--timeout <ms>`,`Timeout in ms`,String(t?.timeoutMs??1e4)).option(`--json`,`Output JSON`,!1),u=async(n,a,o,s)=>i({label:`Nodes ${n}`,indeterminate:!0,enabled:a.json!==!0},async()=>await r({url:a.url,token:a.token,method:n,params:o,timeoutMs:s?.transportTimeoutMs??Number(a.timeout??1e4),clientName:e.CLI,mode:t.CLI}));function d(e){let t={nodeId:e.nodeId,command:e.command,params:e.params,idempotencyKey:e.idempotencyKey??n()};return typeof e.timeoutMs==`number`&&Number.isFinite(e.timeoutMs)&&(t.timeoutMs=e.timeoutMs),t}function f(e){let t=e.toLowerCase();return t.includes(`unauthorizedclient`)||t.includes(`bridge client is not authorized`)||t.includes(`unsigned bridge clients are not allowed`)?[`peekaboo bridge rejected the client.`,`sign the peekaboo CLI (TeamID Y5PE65HELJ) or launch the host with`,`PEEKABOO_ALLOW_UNSIGNED_SOCKET_CLIENTS=1 for local dev.`].join(` `):null}async function p(e,t){return(await m(e,t)).nodeId}async function m(e,t){let n=[];try{n=o(await u(`node.list`,e,{}))}catch{let{paired:t}=a(await u(`node.pair.list`,e,{}));n=t.map(e=>({nodeId:e.nodeId,displayName:e.displayName,platform:e.platform,version:e.version,remoteIp:e.remoteIp}))}return s(n,t)}export{p as a,m as i,u as n,f as o,l as r,c as s,d as t};
|
|
1
|
+
import{Si as e,xi as t}from"./model-selection-I1ctjFOB.js";import{a as n,n as r}from"./call-BA3O_Qpl.js";import{n as i}from"./progress-LNttnI-y.js";import{i as a,r as o,t as s}from"./node-resolve-B3BJbmQX.js";function c(e){if(!e||typeof e!=`object`||Array.isArray(e))return null;let t=Object.entries(e).map(([e,t])=>[String(e).trim(),t===!0]).filter(([e])=>e.length>0).toSorted((e,t)=>e[0].localeCompare(t[0]));return t.length===0?null:`[${t.map(([e,t])=>`${e}=${t?`yes`:`no`}`).join(`, `)}]`}const l=(e,t)=>e.option(`--url <url>`,`Gateway WebSocket URL (defaults to gateway.remote.url when configured)`).option(`--token <token>`,`Gateway token (if required)`).option(`--timeout <ms>`,`Timeout in ms`,String(t?.timeoutMs??1e4)).option(`--json`,`Output JSON`,!1),u=async(n,a,o,s)=>i({label:`Nodes ${n}`,indeterminate:!0,enabled:a.json!==!0},async()=>await r({url:a.url,token:a.token,method:n,params:o,timeoutMs:s?.transportTimeoutMs??Number(a.timeout??1e4),clientName:e.CLI,mode:t.CLI}));function d(e){let t={nodeId:e.nodeId,command:e.command,params:e.params,idempotencyKey:e.idempotencyKey??n()};return typeof e.timeoutMs==`number`&&Number.isFinite(e.timeoutMs)&&(t.timeoutMs=e.timeoutMs),t}function f(e){let t=e.toLowerCase();return t.includes(`unauthorizedclient`)||t.includes(`bridge client is not authorized`)||t.includes(`unsigned bridge clients are not allowed`)?[`peekaboo bridge rejected the client.`,`sign the peekaboo CLI (TeamID Y5PE65HELJ) or launch the host with`,`PEEKABOO_ALLOW_UNSIGNED_SOCKET_CLIENTS=1 for local dev.`].join(` `):null}async function p(e,t){return(await m(e,t)).nodeId}async function m(e,t){let n=[];try{n=o(await u(`node.list`,e,{}))}catch{let{paired:t}=a(await u(`node.pair.list`,e,{}));n=t.map(e=>({nodeId:e.nodeId,displayName:e.displayName,platform:e.platform,version:e.version,remoteIp:e.remoteIp}))}return s(n,t)}export{p as a,m as i,u as n,f as o,l as r,c as s,d as t};
|
package/dist/rpc-CcrILVsV.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{lr as e,ur as t}from"./auth-profiles-BhXA8Jy2.js";import{a as n,n as r}from"./call-BQT0zCgv.js";import{i,r as a,t as o}from"./node-resolve-DLZf3-1V.js";import{n as s}from"./progress-d1m2sqR1.js";function c(e){if(!e||typeof e!=`object`||Array.isArray(e))return null;let t=Object.entries(e).map(([e,t])=>[String(e).trim(),t===!0]).filter(([e])=>e.length>0).toSorted((e,t)=>e[0].localeCompare(t[0]));return t.length===0?null:`[${t.map(([e,t])=>`${e}=${t?`yes`:`no`}`).join(`, `)}]`}const l=(e,t)=>e.option(`--url <url>`,`Gateway WebSocket URL (defaults to gateway.remote.url when configured)`).option(`--token <token>`,`Gateway token (if required)`).option(`--timeout <ms>`,`Timeout in ms`,String(t?.timeoutMs??1e4)).option(`--json`,`Output JSON`,!1),u=async(n,i,a,o)=>s({label:`Nodes ${n}`,indeterminate:!0,enabled:i.json!==!0},async()=>await r({url:i.url,token:i.token,method:n,params:a,timeoutMs:o?.transportTimeoutMs??Number(i.timeout??1e4),clientName:t.CLI,mode:e.CLI}));function d(e){let t={nodeId:e.nodeId,command:e.command,params:e.params,idempotencyKey:e.idempotencyKey??n()};return typeof e.timeoutMs==`number`&&Number.isFinite(e.timeoutMs)&&(t.timeoutMs=e.timeoutMs),t}function f(e){let t=e.toLowerCase();return t.includes(`unauthorizedclient`)||t.includes(`bridge client is not authorized`)||t.includes(`unsigned bridge clients are not allowed`)?[`peekaboo bridge rejected the client.`,`sign the peekaboo CLI (TeamID Y5PE65HELJ) or launch the host with`,`PEEKABOO_ALLOW_UNSIGNED_SOCKET_CLIENTS=1 for local dev.`].join(` `):null}async function p(e,t){return(await m(e,t)).nodeId}async function m(e,t){let n=[];try{n=a(await u(`node.list`,e,{}))}catch{let{paired:t}=i(await u(`node.pair.list`,e,{}));n=t.map(e=>({nodeId:e.nodeId,displayName:e.displayName,platform:e.platform,version:e.version,remoteIp:e.remoteIp}))}return o(n,t)}export{p as a,m as i,u as n,f as o,l as r,c as s,d as t};
|
|
1
|
+
import{lr as e,ur as t}from"./auth-profiles-BhXA8Jy2.js";import{a as n,n as r}from"./call-BQT0zCgv.js";import{i,r as a,t as o}from"./node-resolve-DLZf3-1V.js";import{n as s}from"./progress-d1m2sqR1.js";function c(e){if(!e||typeof e!=`object`||Array.isArray(e))return null;let t=Object.entries(e).map(([e,t])=>[String(e).trim(),t===!0]).filter(([e])=>e.length>0).toSorted((e,t)=>e[0].localeCompare(t[0]));return t.length===0?null:`[${t.map(([e,t])=>`${e}=${t?`yes`:`no`}`).join(`, `)}]`}const l=(e,t)=>e.option(`--url <url>`,`Gateway WebSocket URL (defaults to gateway.remote.url when configured)`).option(`--token <token>`,`Gateway token (if required)`).option(`--timeout <ms>`,`Timeout in ms`,String(t?.timeoutMs??1e4)).option(`--json`,`Output JSON`,!1),u=async(n,i,a,o)=>s({label:`Nodes ${n}`,indeterminate:!0,enabled:i.json!==!0},async()=>await r({url:i.url,token:i.token,method:n,params:a,timeoutMs:o?.transportTimeoutMs??Number(i.timeout??1e4),clientName:t.CLI,mode:e.CLI}));function d(e){let t={nodeId:e.nodeId,command:e.command,params:e.params,idempotencyKey:e.idempotencyKey??n()};return typeof e.timeoutMs==`number`&&Number.isFinite(e.timeoutMs)&&(t.timeoutMs=e.timeoutMs),t}function f(e){let t=e.toLowerCase();return t.includes(`unauthorizedclient`)||t.includes(`bridge client is not authorized`)||t.includes(`unsigned bridge clients are not allowed`)?[`peekaboo bridge rejected the client.`,`sign the peekaboo CLI (TeamID Y5PE65HELJ) or launch the host with`,`PEEKABOO_ALLOW_UNSIGNED_SOCKET_CLIENTS=1 for local dev.`].join(` `):null}async function p(e,t){return(await m(e,t)).nodeId}async function m(e,t){let n=[];try{n=a(await u(`node.list`,e,{}))}catch{let{paired:t}=i(await u(`node.pair.list`,e,{}));n=t.map(e=>({nodeId:e.nodeId,displayName:e.displayName,platform:e.platform,version:e.version,remoteIp:e.remoteIp}))}return o(n,t)}export{p as a,m as i,u as n,f as o,l as r,c as s,d as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{G as e,J as t,K as n,W as r,X as i,Y as a,Z as o,p as s,q as c,r as l,rt as u}from"./subsystem-BLbY429l.js";import"./paths-BjD3T_xq.js";import"./boolean-D15s2V33.js";import{c as d,i as f,l as p,o as m,s as h}from"./entry.js";import{hc as g}from"./auth-profiles-BhXA8Jy2.js";import"./agent-scope-DAWJwFfl.js";import"./utils-CGdo13HV.js";import"./openclaw-root-CnsBf6ZU.js";import"./github-copilot-token-C79yeDKS.js";import"./env-overrides-DHtB4kK3.js";import{t as _}from"./version-q3SkUw2K.js";import"./registry-BptzrW8D.js";import"./skills-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{i as v}from"./errors-6SQWM9dj.js";import"./send-DS5Quwb7.js";import"./send-BeZJ1zbp.js";import"./compact-CuBCVnVS.js";import"./paths-BfjJY2VL.js";import"./chat-envelope-Bznn2SoS.js";import"./models-config-DN2Q51fC.js";import"./tokens-DRM8vzJx.js";import"./with-timeout-c1CzdShT.js";import"./deliver-COKdxPmA.js";import"./diagnostic-CW_Jv5UM.js";import"./send-DRm6AFp-.js";import"./pi-model-discovery-AiV9h8k6.js";import"./exec-approvals-allowlist-DBh9Pm77.js";import"./exec-safe-bin-runtime-policy-Ck3GO5AB.js";import"./model-catalog-BLdaFmIo.js";import"./fetch-CY5G3PDq.js";import{_ as y}from"./audio-transcription-runner-BUsb6cqv.js";import"./fetch-guard-BaRbr_V6.js";import"./image-D-R3N1it.js";import"./tool-display-DJDtttQg.js";import"./api-key-rotation-D8WsZ43x.js";import"./proxy-fetch-gWETR3cl.js";import"./ir-CH7YvSi9.js";import"./render-DrrPmnMI.js";import"./target-errors-D55sWZ4E.js";import"./commands-Dy7duWlt.js";import"./commands-registry-Dn2uuNuy.js";import"./session-cost-usage-CHtVgnE8.js";import"./session-utils-CrR0wD3W.js";import"./sqlite-CILF3z9U.js";import"./call-BQT0zCgv.js";import"./pi-tools.policy-CeSKHaKa.js";import"./pairing-store-CjTPxq0X.js";import"./fetch-Dh-apy46.js";import"./skill-commands-C59b8Yso.js";import"./workspace-dirs-A8Vib9_B.js";import"./pairing-token-CX0SUJsB.js";import"./channel-activity-DYpm-0Cz.js";import"./tables-D1pcaye7.js";import"./kill-tree-DBJW8_Q-.js";import"./runtime-web-tools-BWv0X5qp.js";import"./runtime-BlsMYeaw.js";import"./node-shell-dXp4vk-i.js";import"./stagger-DxzgG2jd.js";import"./channel-selection-Ddyykqxv.js";import"./plugin-auto-enable-DCOxqfDQ.js";import"./send-8rJCpsDu.js";import"./outbound-attachment-DBNxdLYh.js";import"./delivery-queue-nkPJu0fY.js";import"./send-BPfl_1It.js";import"./system-run-command-FCk9hSMO.js";import"./fetch-Ce-scEU-.js";import"./command-secret-targets-KM3OecbM.js";import"./connection-auth-BcPbGyxw.js";import"./onboard-helpers-DbpWQoiB.js";import"./prompt-style-BThRSQJR.js";import"./pairing-labels-BP1h0iHy.js";import"./search-manager-KMRzwyPH.js";import"./manager-C5SBozw4.js";import"./memory-cli-CnruTL1h.js";import"./links-CBnmRP9D.js";import"./cli-utils-BleB1eys.js";import"./help-format-B4aEI7V9.js";import"./progress-d1m2sqR1.js";import"./exec-approvals-BXO9Cezj.js";import{t as b}from"./path-env-emdAQejM.js";import"./note-Dp-d_utk.js";import"./issue-format-CpTuk_rQ.js";import{t as x}from"./plugin-registry-Fg000e4I.js";import{t as S}from"./runtime-guard-DX2Ie4ri.js";import{t as C}from"./banner-mIDEloRy.js";import"./doctor-config-flow-MjfHBDlw.js";import{n as w}from"./config-guard-XayIkveC.js";import T from"node:process";import"node:url";const E={match:e=>e[0]===`health`,loadPlugins:e=>!i(e,`--json`),run:async e=>{let t=i(e,`--json`),n=a(e,{includeDebug:!0}),r=c(e,`--timeout`);if(r===null)return!1;let{healthCommand:o}=await import(`./health-Bedsiigi.js`).then(e=>e.i);return await o({json:t,timeoutMs:r,verbose:n},s),!0}},D={match:e=>e[0]===`status`,loadPlugins:!0,run:async e=>{let t=i(e,`--json`),n=i(e,`--deep`),r=i(e,`--all`),o=i(e,`--usage`),l=a(e,{includeDebug:!0}),u=c(e,`--timeout`);if(u===null)return!1;let{statusCommand:d}=await import(`./status-DgRrUxyg.js`).then(e=>e.t);return await d({json:t,deep:n,all:r,usage:o,timeoutMs:u,verbose:l},s),!0}},O={match:e=>e[0]===`sessions`&&!e[1],run:async e=>{let t=i(e,`--json`),r=i(e,`--all-agents`),a=n(e,`--agent`);if(a===null)return!1;let o=n(e,`--store`);if(o===null)return!1;let c=n(e,`--active`);if(c===null)return!1;let{sessionsCommand:l}=await import(`./sessions-BvTGb3rW.js`);return await l({json:t,store:o,agent:a,allAgents:r,active:c},s),!0}},k={match:e=>e[0]===`agents`&&e[1]===`list`,run:async e=>{let t=i(e,`--json`),n=i(e,`--bindings`),{agentsListCommand:r}=await import(`./agents-BMh3ZeoB.js`);return await r({json:t,bindings:n},s),!0}},A={match:e=>e[0]===`memory`&&e[1]===`status`,run:async e=>{let t=n(e,`--agent`);if(t===null)return!1;let r=i(e,`--json`),a=i(e,`--deep`),o=i(e,`--index`),s=i(e,`--verbose`),{runMemoryStatus:c}=await import(`./memory-cli-CnruTL1h.js`).then(e=>e.t);return await c({agent:t,json:r,deep:a,index:o,verbose:s}),!0}};function j(e,t){let n=[],r=e.slice(2);for(let e=0;e<r.length;e+=1){let i=r[e];if(!i||i===`--`)break;if(i===t){let t=r[e+1];if(!u(t))return null;n.push(t),e+=1;continue}if(i.startsWith(`${t}=`)){let e=i.slice(t.length+1).trim();if(!e)return null;n.push(e)}}return n}const M=[E,D,O,k,A,{match:e=>e[0]===`config`&&e[1]===`get`,run:async t=>{let n=e(t,{commandPath:[`config`,`get`],booleanFlags:[`--json`]});if(!n||n.length!==1)return!1;let r=n[0];if(!r)return!1;let a=i(t,`--json`),{runConfigGet:o}=await import(`./config-cli-D_coAWd9.js`);return await o({path:r,json:a}),!0}},{match:e=>e[0]===`config`&&e[1]===`unset`,run:async t=>{let n=e(t,{commandPath:[`config`,`unset`]});if(!n||n.length!==1)return!1;let r=n[0];if(!r)return!1;let{runConfigUnset:i}=await import(`./config-cli-D_coAWd9.js`);return await i({path:r}),!0}},{match:e=>e[0]===`models`&&e[1]===`list`,run:async e=>{let t=n(e,`--provider`);if(t===null)return!1;let r=i(e,`--all`),a=i(e,`--local`),o=i(e,`--json`),c=i(e,`--plain`),{modelsListCommand:l}=await import(`./models-UTdl0vXO.js`);return await l({all:r,local:a,provider:t,json:o,plain:c},s),!0}},{match:e=>e[0]===`models`&&e[1]===`status`,run:async e=>{let t=n(e,`--probe-provider`);if(t===null)return!1;let r=n(e,`--probe-timeout`);if(r===null)return!1;let a=n(e,`--probe-concurrency`);if(a===null)return!1;let o=n(e,`--probe-max-tokens`);if(o===null)return!1;let c=n(e,`--agent`);if(c===null)return!1;let l=j(e,`--probe-profile`);if(l===null)return!1;let u=l.length===0?void 0:l.length===1?l[0]:l,d=i(e,`--json`),f=i(e,`--plain`),p=i(e,`--check`),m=i(e,`--probe`),{modelsStatusCommand:h}=await import(`./models-UTdl0vXO.js`);return await h({json:d,plain:f,check:p,probe:m,probeProvider:t,probeProfile:u,probeTimeout:r,probeConcurrency:a,probeMaxTokens:o,agent:c},s),!0}}];function N(e){for(let t of M)if(t.match(e))return t;return null}async function P(e){let t=i(e.argv,`--json`);C(_,{argv:e.argv}),await w({runtime:s,commandPath:e.commandPath,...t?{suppressDoctorStdout:!0}:{}}),(typeof e.loadPlugins==`function`?e.loadPlugins(e.argv):e.loadPlugins)&&x()}async function F(e){if(f(process.env.OPENCLAW_DISABLE_ROUTE_FIRST)||o(e))return!1;let t=r(e,2);if(!t[0])return!1;let n=N(t);return n?(await P({argv:e,commandPath:t,loadPlugins:n.loadPlugins}),n.run(e)):!1}async function I(){try{let{closeAllMemorySearchManagers:e}=await import(`./search-manager-KMRzwyPH.js`).then(e=>e.n);await e()}catch{}}function L(e){let t=e.indexOf(`--update`);if(t===-1)return e;let n=[...e];return n.splice(t,1,`update`),n}function R(e){return e.hasBuiltinPrimary?!0:e.primary?!1:o(e.argv)}function z(e){if(o(e))return!1;let[t,n]=r(e,2);return t?!(t===`status`||t===`health`||t===`sessions`||t===`config`&&(n===`get`||n===`unset`)||t===`models`&&(n===`list`||n===`status`)):!0}async function B(e=T.argv){let n=h(e),r=p(n);if(!r.ok)throw Error(r.error);r.profile&&d({profile:r.profile}),n=r.argv,g({quiet:!0}),m(),z(n)&&b(),S();try{if(await F(n))return;l();let{buildProgram:e}=await import(`./program-CI--7377.js`),r=e();y(),T.on(`uncaughtException`,e=>{console.error(`[openclaw] Uncaught exception:`,v(e)),T.exit(1)});let i=L(n),a=t(i);if(a){let{getProgramContext:e}=await import(`./program-context-CH9p6anW.js`).then(e=>e.n),t=e(r);if(t){let{registerCoreCliByName:e}=await import(`./command-registry-BYk36N_R.js`).then(e=>e.t);await e(r,t,a,i)}let{registerSubCliByName:n}=await import(`./register.subclis-C0VQ_HfZ.js`).then(e=>e.a);await n(r,a)}if(!R({argv:i,primary:a,hasBuiltinPrimary:a!==null&&r.commands.some(e=>e.name()===a)})){let{registerPluginCliCommands:e}=await import(`./cli-i7P4bYBg.js`),{loadValidatedConfigForPluginRegistration:t}=await import(`./register.subclis-C0VQ_HfZ.js`).then(e=>e.a),n=await t();n&&e(r,n)}await r.parseAsync(i)}finally{await I()}}export{B as runCli};
|
|
1
|
+
import{G as e,J as t,K as n,W as r,X as i,Y as a,Z as o,p as s,q as c,r as l,rt as u}from"./subsystem-BLbY429l.js";import"./paths-BjD3T_xq.js";import"./boolean-D15s2V33.js";import{c as d,i as f,l as p,o as m,s as h}from"./entry.js";import{hc as g}from"./auth-profiles-BhXA8Jy2.js";import"./agent-scope-DAWJwFfl.js";import"./utils-CGdo13HV.js";import"./openclaw-root-CnsBf6ZU.js";import"./github-copilot-token-C79yeDKS.js";import"./env-overrides-DHtB4kK3.js";import{t as _}from"./version-q3SkUw2K.js";import"./registry-BptzrW8D.js";import"./skills-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{i as v}from"./errors-6SQWM9dj.js";import"./send-DS5Quwb7.js";import"./send-BeZJ1zbp.js";import"./compact-CuBCVnVS.js";import"./paths-BfjJY2VL.js";import"./chat-envelope-Bznn2SoS.js";import"./models-config-DN2Q51fC.js";import"./tokens-DRM8vzJx.js";import"./with-timeout-c1CzdShT.js";import"./deliver-COKdxPmA.js";import"./diagnostic-CW_Jv5UM.js";import"./send-DRm6AFp-.js";import"./pi-model-discovery-AiV9h8k6.js";import"./exec-approvals-allowlist-DBh9Pm77.js";import"./exec-safe-bin-runtime-policy-Ck3GO5AB.js";import"./model-catalog-BLdaFmIo.js";import"./fetch-CY5G3PDq.js";import{_ as y}from"./audio-transcription-runner-BUsb6cqv.js";import"./fetch-guard-BaRbr_V6.js";import"./image-D-R3N1it.js";import"./tool-display-DJDtttQg.js";import"./api-key-rotation-D8WsZ43x.js";import"./proxy-fetch-gWETR3cl.js";import"./ir-CH7YvSi9.js";import"./render-DrrPmnMI.js";import"./target-errors-D55sWZ4E.js";import"./commands-Dy7duWlt.js";import"./commands-registry-Dn2uuNuy.js";import"./session-cost-usage-CHtVgnE8.js";import"./session-utils-CrR0wD3W.js";import"./sqlite-CILF3z9U.js";import"./call-BQT0zCgv.js";import"./pi-tools.policy-CeSKHaKa.js";import"./pairing-store-CjTPxq0X.js";import"./fetch-Dh-apy46.js";import"./skill-commands-C59b8Yso.js";import"./workspace-dirs-A8Vib9_B.js";import"./pairing-token-CX0SUJsB.js";import"./channel-activity-DYpm-0Cz.js";import"./tables-D1pcaye7.js";import"./kill-tree-DBJW8_Q-.js";import"./runtime-web-tools-BWv0X5qp.js";import"./runtime-BlsMYeaw.js";import"./node-shell-dXp4vk-i.js";import"./stagger-DxzgG2jd.js";import"./channel-selection-Ddyykqxv.js";import"./plugin-auto-enable-DCOxqfDQ.js";import"./send-8rJCpsDu.js";import"./outbound-attachment-DBNxdLYh.js";import"./delivery-queue-nkPJu0fY.js";import"./send-BPfl_1It.js";import"./system-run-command-FCk9hSMO.js";import"./fetch-Ce-scEU-.js";import"./command-secret-targets-KM3OecbM.js";import"./connection-auth-BcPbGyxw.js";import"./onboard-helpers-DbpWQoiB.js";import"./prompt-style-BThRSQJR.js";import"./pairing-labels-BP1h0iHy.js";import"./search-manager-KMRzwyPH.js";import"./manager-C5SBozw4.js";import"./memory-cli-CnruTL1h.js";import"./links-CBnmRP9D.js";import"./cli-utils-BleB1eys.js";import"./help-format-B4aEI7V9.js";import"./progress-d1m2sqR1.js";import"./exec-approvals-BXO9Cezj.js";import{t as b}from"./path-env-emdAQejM.js";import"./note-Dp-d_utk.js";import"./issue-format-CpTuk_rQ.js";import{t as x}from"./plugin-registry-Fg000e4I.js";import{t as S}from"./runtime-guard-DX2Ie4ri.js";import{t as C}from"./banner-mIDEloRy.js";import"./doctor-config-flow-MjfHBDlw.js";import{n as w}from"./config-guard-XayIkveC.js";import T from"node:process";import"node:url";const E={match:e=>e[0]===`health`,loadPlugins:e=>!i(e,`--json`),run:async e=>{let t=i(e,`--json`),n=a(e,{includeDebug:!0}),r=c(e,`--timeout`);if(r===null)return!1;let{healthCommand:o}=await import(`./health-Bedsiigi.js`).then(e=>e.i);return await o({json:t,timeoutMs:r,verbose:n},s),!0}},D={match:e=>e[0]===`status`,loadPlugins:!0,run:async e=>{let t=i(e,`--json`),n=i(e,`--deep`),r=i(e,`--all`),o=i(e,`--usage`),l=a(e,{includeDebug:!0}),u=c(e,`--timeout`);if(u===null)return!1;let{statusCommand:d}=await import(`./status-DgRrUxyg.js`).then(e=>e.t);return await d({json:t,deep:n,all:r,usage:o,timeoutMs:u,verbose:l},s),!0}},O={match:e=>e[0]===`sessions`&&!e[1],run:async e=>{let t=i(e,`--json`),r=i(e,`--all-agents`),a=n(e,`--agent`);if(a===null)return!1;let o=n(e,`--store`);if(o===null)return!1;let c=n(e,`--active`);if(c===null)return!1;let{sessionsCommand:l}=await import(`./sessions-BvTGb3rW.js`);return await l({json:t,store:o,agent:a,allAgents:r,active:c},s),!0}},k={match:e=>e[0]===`agents`&&e[1]===`list`,run:async e=>{let t=i(e,`--json`),n=i(e,`--bindings`),{agentsListCommand:r}=await import(`./agents-BMh3ZeoB.js`);return await r({json:t,bindings:n},s),!0}},A={match:e=>e[0]===`memory`&&e[1]===`status`,run:async e=>{let t=n(e,`--agent`);if(t===null)return!1;let r=i(e,`--json`),a=i(e,`--deep`),o=i(e,`--index`),s=i(e,`--verbose`),{runMemoryStatus:c}=await import(`./memory-cli-CnruTL1h.js`).then(e=>e.t);return await c({agent:t,json:r,deep:a,index:o,verbose:s}),!0}};function j(e,t){let n=[],r=e.slice(2);for(let e=0;e<r.length;e+=1){let i=r[e];if(!i||i===`--`)break;if(i===t){let t=r[e+1];if(!u(t))return null;n.push(t),e+=1;continue}if(i.startsWith(`${t}=`)){let e=i.slice(t.length+1).trim();if(!e)return null;n.push(e)}}return n}const M=[E,D,O,k,A,{match:e=>e[0]===`config`&&e[1]===`get`,run:async t=>{let n=e(t,{commandPath:[`config`,`get`],booleanFlags:[`--json`]});if(!n||n.length!==1)return!1;let r=n[0];if(!r)return!1;let a=i(t,`--json`),{runConfigGet:o}=await import(`./config-cli-D_coAWd9.js`);return await o({path:r,json:a}),!0}},{match:e=>e[0]===`config`&&e[1]===`unset`,run:async t=>{let n=e(t,{commandPath:[`config`,`unset`]});if(!n||n.length!==1)return!1;let r=n[0];if(!r)return!1;let{runConfigUnset:i}=await import(`./config-cli-D_coAWd9.js`);return await i({path:r}),!0}},{match:e=>e[0]===`models`&&e[1]===`list`,run:async e=>{let t=n(e,`--provider`);if(t===null)return!1;let r=i(e,`--all`),a=i(e,`--local`),o=i(e,`--json`),c=i(e,`--plain`),{modelsListCommand:l}=await import(`./models-UTdl0vXO.js`);return await l({all:r,local:a,provider:t,json:o,plain:c},s),!0}},{match:e=>e[0]===`models`&&e[1]===`status`,run:async e=>{let t=n(e,`--probe-provider`);if(t===null)return!1;let r=n(e,`--probe-timeout`);if(r===null)return!1;let a=n(e,`--probe-concurrency`);if(a===null)return!1;let o=n(e,`--probe-max-tokens`);if(o===null)return!1;let c=n(e,`--agent`);if(c===null)return!1;let l=j(e,`--probe-profile`);if(l===null)return!1;let u=l.length===0?void 0:l.length===1?l[0]:l,d=i(e,`--json`),f=i(e,`--plain`),p=i(e,`--check`),m=i(e,`--probe`),{modelsStatusCommand:h}=await import(`./models-UTdl0vXO.js`);return await h({json:d,plain:f,check:p,probe:m,probeProvider:t,probeProfile:u,probeTimeout:r,probeConcurrency:a,probeMaxTokens:o,agent:c},s),!0}}];function N(e){for(let t of M)if(t.match(e))return t;return null}async function P(e){let t=i(e.argv,`--json`);C(_,{argv:e.argv}),await w({runtime:s,commandPath:e.commandPath,...t?{suppressDoctorStdout:!0}:{}}),(typeof e.loadPlugins==`function`?e.loadPlugins(e.argv):e.loadPlugins)&&x()}async function F(e){if(f(process.env.OPENCLAW_DISABLE_ROUTE_FIRST)||o(e))return!1;let t=r(e,2);if(!t[0])return!1;let n=N(t);return n?(await P({argv:e,commandPath:t,loadPlugins:n.loadPlugins}),n.run(e)):!1}async function I(){try{let{closeAllMemorySearchManagers:e}=await import(`./search-manager-KMRzwyPH.js`).then(e=>e.n);await e()}catch{}}function L(e){let t=e.indexOf(`--update`);if(t===-1)return e;let n=[...e];return n.splice(t,1,`update`),n}function R(e){return e.hasBuiltinPrimary?!0:e.primary?!1:o(e.argv)}function z(e){if(o(e))return!1;let[t,n]=r(e,2);return t?!(t===`status`||t===`health`||t===`sessions`||t===`config`&&(n===`get`||n===`unset`)||t===`models`&&(n===`list`||n===`status`)):!0}async function B(e=T.argv){let n=h(e),r=p(n);if(!r.ok)throw Error(r.error);r.profile&&d({profile:r.profile}),n=r.argv,g({quiet:!0}),m(),z(n)&&b(),S();try{if(await F(n))return;l();let{buildProgram:e}=await import(`./program-CI--7377.js`),r=e();y(),T.on(`uncaughtException`,e=>{console.error(`[openclaw] Uncaught exception:`,v(e)),T.exit(1)});let i=L(n),a=t(i);if(a){let{getProgramContext:e}=await import(`./program-context-CH9p6anW.js`).then(e=>e.n),t=e(r);if(t){let{registerCoreCliByName:e}=await import(`./command-registry-BYk36N_R.js`).then(e=>e.t);await e(r,t,a,i)}let{registerSubCliByName:n}=await import(`./register.subclis-C0VQ_HfZ.js`).then(e=>e.a);await n(r,a)}if(!R({argv:i,primary:a,hasBuiltinPrimary:a!==null&&r.commands.some(e=>e.name()===a)})){let{registerPluginCliCommands:e}=await import(`./cli-i7P4bYBg.js`),{loadValidatedConfigForPluginRegistration:t}=await import(`./register.subclis-C0VQ_HfZ.js`).then(e=>e.a),n=await t();n&&e(r,n)}await r.parseAsync(i)}finally{await I()}}export{B as runCli};
|
package/dist/runtime-BlsMYeaw.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Dc as e,Do as t,Mc as n,Oc as r,Ro as i,do as a,lo as o,wc as s,zo as c}from"./auth-profiles-BhXA8Jy2.js";import{a as l,r as u}from"./agent-scope-DAWJwFfl.js";import{v as d}from"./utils-CGdo13HV.js";import{d as f}from"./types.secrets-D4tbc3Wq.js";import{a as p,c as m,n as h,o as g,s as _,t as v,u as y}from"./runtime-web-tools-BWv0X5qp.js";function b(e){let{explicitRef:t,inlineRef:n,ref:r}=f({value:e.profile.key,refValue:e.profile.keyRef,defaults:e.defaults});r&&(!t&&n&&(e.profile.keyRef=n),t&&a(e.profile.key)&&m(e.context,{code:`SECRETS_REF_OVERRIDES_PLAINTEXT`,path:`${e.agentDir}.auth-profiles.${e.profileId}.key`,message:`auth-profiles ${e.profileId}: keyRef is set; runtime will ignore plaintext key.`}),_(e.context,{ref:r,path:`${e.agentDir}.auth-profiles.${e.profileId}.key`,expected:`string`,apply:t=>{e.profile.key=String(t)}}))}function x(e){let{explicitRef:t,inlineRef:n,ref:r}=f({value:e.profile.token,refValue:e.profile.tokenRef,defaults:e.defaults});r&&(!t&&n&&(e.profile.tokenRef=n),t&&a(e.profile.token)&&m(e.context,{code:`SECRETS_REF_OVERRIDES_PLAINTEXT`,path:`${e.agentDir}.auth-profiles.${e.profileId}.token`,message:`auth-profiles ${e.profileId}: tokenRef is set; runtime will ignore plaintext token.`}),_(e.context,{ref:r,path:`${e.agentDir}.auth-profiles.${e.profileId}.token`,expected:`string`,apply:t=>{e.profile.token=String(t)}}))}function S(e){let t=e.context.sourceConfig.secrets?.defaults;for(let[n,r]of Object.entries(e.store.profiles)){if(r.type===`api_key`){b({profile:r,profileId:n,agentDir:e.agentDir,defaults:t,context:e.context});continue}r.type===`token`&&x({profile:r,profileId:n,agentDir:e.agentDir,defaults:t,context:e.context})}}let C=null,w=null;const T=new WeakMap;function E(e){return{sourceConfig:structuredClone(e.sourceConfig),config:structuredClone(e.config),authStores:e.authStores.map(e=>({agentDir:e.agentDir,store:structuredClone(e.store)})),warnings:e.warnings.map(e=>({...e})),webTools:structuredClone(e.webTools)}}function D(e){return{env:{...e.env},explicitAgentDirs:e.explicitAgentDirs?[...e.explicitAgentDirs]:null,loadAuthStore:e.loadAuthStore}}function O(){C=null,w=null,c(null),t(),s()}function k(e){let t=new Set;t.add(d(n()));for(let n of u(e))t.add(d(l(e,n)));return[...t]}function A(e,t){let n=k(e);return!t.explicitAgentDirs||t.explicitAgentDirs.length===0?n:[...new Set([...t.explicitAgentDirs,...n])]}async function j(t){let n=structuredClone(t.config),r=structuredClone(t.config),i=g({sourceConfig:n,env:t.env??process.env});h({config:r,context:i});let a=t.loadAuthStore??e,s=t.agentDirs?.length?[...new Set(t.agentDirs.map(e=>d(e)))]:k(r),c=[];for(let e of s){let t=structuredClone(a(e));S({store:t,context:i,agentDir:e}),c.push({agentDir:e,store:t})}if(i.assignments.length>0){let e=await o(i.assignments.map(e=>e.ref),{config:n,env:i.env,cache:i.cache});p({assignments:i.assignments,resolved:e})}let l={sourceConfig:n,config:r,authStores:c,warnings:i.warnings,webTools:await v({sourceConfig:n,resolvedConfig:r,context:i})};return T.set(l,{env:{...t.env??process.env},explicitAgentDirs:t.agentDirs?.length?[...s]:null,loadAuthStore:a}),l}function M(t){let n=E(t),a=T.get(t)??w??{env:{...process.env},explicitAgentDirs:null,loadAuthStore:e};i(n.config,n.sourceConfig),r(n.authStores),C=n,w=D(a),c({refresh:async({sourceConfig:e})=>!C||!w?!1:(M(await j({config:e,env:w.env,agentDirs:A(e,w),loadAuthStore:w.loadAuthStore})),!0)})}function N(){if(!C)return null;let e=E(C);return w&&T.set(e,D(w)),e}function P(){return C?structuredClone(C.webTools):null}function F(e){if(!C)throw Error(`Secrets runtime snapshot is not active.`);if(e.targetIds.size===0)return{assignments:[],diagnostics:[],inactiveRefPaths:[]};let t=[...new Set(C.warnings.filter(e=>e.code===`SECRETS_REF_IGNORED_INACTIVE_SURFACE`).map(e=>e.path))],n=y({sourceConfig:C.sourceConfig,resolvedConfig:C.config,commandName:e.commandName,targetIds:e.targetIds,inactiveRefPaths:new Set(t)});return{assignments:n.assignments,diagnostics:n.diagnostics,inactiveRefPaths:t}}function I(){O()}export{j as a,N as i,I as n,F as o,P as r,M as t};
|
|
1
|
+
import{Dc as e,Do as t,Mc as n,Oc as r,Ro as i,do as a,lo as o,wc as s,zo as c}from"./auth-profiles-BhXA8Jy2.js";import{a as l,r as u}from"./agent-scope-DAWJwFfl.js";import{v as d}from"./utils-CGdo13HV.js";import{d as f}from"./types.secrets-D4tbc3Wq.js";import{a as p,c as m,n as h,o as g,s as _,t as v,u as y}from"./runtime-web-tools-BWv0X5qp.js";function b(e){let{explicitRef:t,inlineRef:n,ref:r}=f({value:e.profile.key,refValue:e.profile.keyRef,defaults:e.defaults});r&&(!t&&n&&(e.profile.keyRef=n),t&&a(e.profile.key)&&m(e.context,{code:`SECRETS_REF_OVERRIDES_PLAINTEXT`,path:`${e.agentDir}.auth-profiles.${e.profileId}.key`,message:`auth-profiles ${e.profileId}: keyRef is set; runtime will ignore plaintext key.`}),_(e.context,{ref:r,path:`${e.agentDir}.auth-profiles.${e.profileId}.key`,expected:`string`,apply:t=>{e.profile.key=String(t)}}))}function x(e){let{explicitRef:t,inlineRef:n,ref:r}=f({value:e.profile.token,refValue:e.profile.tokenRef,defaults:e.defaults});r&&(!t&&n&&(e.profile.tokenRef=n),t&&a(e.profile.token)&&m(e.context,{code:`SECRETS_REF_OVERRIDES_PLAINTEXT`,path:`${e.agentDir}.auth-profiles.${e.profileId}.token`,message:`auth-profiles ${e.profileId}: tokenRef is set; runtime will ignore plaintext token.`}),_(e.context,{ref:r,path:`${e.agentDir}.auth-profiles.${e.profileId}.token`,expected:`string`,apply:t=>{e.profile.token=String(t)}}))}function S(e){let t=e.context.sourceConfig.secrets?.defaults;for(let[n,r]of Object.entries(e.store.profiles)){if(r.type===`api_key`){b({profile:r,profileId:n,agentDir:e.agentDir,defaults:t,context:e.context});continue}r.type===`token`&&x({profile:r,profileId:n,agentDir:e.agentDir,defaults:t,context:e.context})}}let C=null,w=null;const T=new WeakMap;function E(e){return{sourceConfig:structuredClone(e.sourceConfig),config:structuredClone(e.config),authStores:e.authStores.map(e=>({agentDir:e.agentDir,store:structuredClone(e.store)})),warnings:e.warnings.map(e=>({...e})),webTools:structuredClone(e.webTools)}}function D(e){return{env:{...e.env},explicitAgentDirs:e.explicitAgentDirs?[...e.explicitAgentDirs]:null,loadAuthStore:e.loadAuthStore}}function O(){C=null,w=null,c(null),t(),s()}function k(e){let t=new Set;t.add(d(n()));for(let n of u(e))t.add(d(l(e,n)));return[...t]}function A(e,t){let n=k(e);return!t.explicitAgentDirs||t.explicitAgentDirs.length===0?n:[...new Set([...t.explicitAgentDirs,...n])]}async function j(t){let n=structuredClone(t.config),r=structuredClone(t.config),i=g({sourceConfig:n,env:t.env??process.env});h({config:r,context:i});let a=t.loadAuthStore??e,s=t.agentDirs?.length?[...new Set(t.agentDirs.map(e=>d(e)))]:k(r),c=[];for(let e of s){let t=structuredClone(a(e));S({store:t,context:i,agentDir:e}),c.push({agentDir:e,store:t})}if(i.assignments.length>0){let e=await o(i.assignments.map(e=>e.ref),{config:n,env:i.env,cache:i.cache});p({assignments:i.assignments,resolved:e})}let l={sourceConfig:n,config:r,authStores:c,warnings:i.warnings,webTools:await v({sourceConfig:n,resolvedConfig:r,context:i})};return T.set(l,{env:{...t.env??process.env},explicitAgentDirs:t.agentDirs?.length?[...s]:null,loadAuthStore:a}),l}function M(t){let n=E(t),a=T.get(t)??w??{env:{...process.env},explicitAgentDirs:null,loadAuthStore:e};i(n.config,n.sourceConfig),r(n.authStores),C=n,w=D(a),c({refresh:async({sourceConfig:e})=>!C||!w?!1:(M(await j({config:e,env:w.env,agentDirs:A(e,w),loadAuthStore:w.loadAuthStore})),!0)})}function N(){if(!C)return null;let e=E(C);return w&&T.set(e,D(w)),e}function P(){return C?structuredClone(C.webTools):null}function F(e){if(!C)throw Error(`Secrets runtime snapshot is not active.`);if(e.targetIds.size===0)return{assignments:[],diagnostics:[],inactiveRefPaths:[]};let t=[...new Set(C.warnings.filter(e=>e.code===`SECRETS_REF_IGNORED_INACTIVE_SURFACE`).map(e=>e.path))],n=y({sourceConfig:C.sourceConfig,resolvedConfig:C.config,commandName:e.commandName,targetIds:e.targetIds,inactiveRefPaths:new Set(t)});return{assignments:n.assignments,diagnostics:n.diagnostics,inactiveRefPaths:t}}function I(){O()}export{j as a,N as i,I as n,F as o,P as r,M as t};
|
package/dist/runtime-DLxfCs7F.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{y as e}from"./utils-UGOV_184.js";import{Ds as t,Jl as n,Ql as r,Ts as i,Us as a,Zl as o,ec as s,nu as c,tc as l}from"./model-selection-I1ctjFOB.js";import{a as u,r as d}from"./agent-scope-DXZc3eNT.js";import{d as f}from"./types.secrets-C-5U96pc.js";import{a as p,c as m,n as h,o as g,s as _,t as v,u as y}from"./runtime-web-tools-CCIXUISf.js";function b(e){let{explicitRef:n,inlineRef:r,ref:i}=f({value:e.profile.key,refValue:e.profile.keyRef,defaults:e.defaults});i&&(!n&&r&&(e.profile.keyRef=r),n&&t(e.profile.key)&&m(e.context,{code:`SECRETS_REF_OVERRIDES_PLAINTEXT`,path:`${e.agentDir}.auth-profiles.${e.profileId}.key`,message:`auth-profiles ${e.profileId}: keyRef is set; runtime will ignore plaintext key.`}),_(e.context,{ref:i,path:`${e.agentDir}.auth-profiles.${e.profileId}.key`,expected:`string`,apply:t=>{e.profile.key=String(t)}}))}function x(e){let{explicitRef:n,inlineRef:r,ref:i}=f({value:e.profile.token,refValue:e.profile.tokenRef,defaults:e.defaults});i&&(!n&&r&&(e.profile.tokenRef=r),n&&t(e.profile.token)&&m(e.context,{code:`SECRETS_REF_OVERRIDES_PLAINTEXT`,path:`${e.agentDir}.auth-profiles.${e.profileId}.token`,message:`auth-profiles ${e.profileId}: tokenRef is set; runtime will ignore plaintext token.`}),_(e.context,{ref:i,path:`${e.agentDir}.auth-profiles.${e.profileId}.token`,expected:`string`,apply:t=>{e.profile.token=String(t)}}))}function S(e){let t=e.context.sourceConfig.secrets?.defaults;for(let[n,r]of Object.entries(e.store.profiles)){if(r.type===`api_key`){b({profile:r,profileId:n,agentDir:e.agentDir,defaults:t,context:e.context});continue}r.type===`token`&&x({profile:r,profileId:n,agentDir:e.agentDir,defaults:t,context:e.context})}}let C=null,w=null;const T=new WeakMap;function E(e){return{sourceConfig:structuredClone(e.sourceConfig),config:structuredClone(e.config),authStores:e.authStores.map(e=>({agentDir:e.agentDir,store:structuredClone(e.store)})),warnings:e.warnings.map(e=>({...e})),webTools:structuredClone(e.webTools)}}function D(e){return{env:{...e.env},explicitAgentDirs:e.explicitAgentDirs?[...e.explicitAgentDirs]:null,loadAuthStore:e.loadAuthStore}}function O(){C=null,w=null,l(null),a(),n()}function k(t){let n=new Set;n.add(e(c()));for(let r of d(t))n.add(e(u(t,r)));return[...n]}function A(e,t){let n=k(e);return!t.explicitAgentDirs||t.explicitAgentDirs.length===0?n:[...new Set([...t.explicitAgentDirs,...n])]}async function j(t){let n=structuredClone(t.config),r=structuredClone(t.config),a=g({sourceConfig:n,env:t.env??process.env});h({config:r,context:a});let s=t.loadAuthStore??o,c=t.agentDirs?.length?[...new Set(t.agentDirs.map(t=>e(t)))]:k(r),l=[];for(let e of c){let t=structuredClone(s(e));S({store:t,context:a,agentDir:e}),l.push({agentDir:e,store:t})}if(a.assignments.length>0){let e=await i(a.assignments.map(e=>e.ref),{config:n,env:a.env,cache:a.cache});p({assignments:a.assignments,resolved:e})}let u={sourceConfig:n,config:r,authStores:l,warnings:a.warnings,webTools:await v({sourceConfig:n,resolvedConfig:r,context:a})};return T.set(u,{env:{...t.env??process.env},explicitAgentDirs:t.agentDirs?.length?[...c]:null,loadAuthStore:s}),u}function M(e){let t=E(e),n=T.get(e)??w??{env:{...process.env},explicitAgentDirs:null,loadAuthStore:o};s(t.config,t.sourceConfig),r(t.authStores),C=t,w=D(n),l({refresh:async({sourceConfig:e})=>!C||!w?!1:(M(await j({config:e,env:w.env,agentDirs:A(e,w),loadAuthStore:w.loadAuthStore})),!0)})}function N(){if(!C)return null;let e=E(C);return w&&T.set(e,D(w)),e}function P(){return C?structuredClone(C.webTools):null}function F(e){if(!C)throw Error(`Secrets runtime snapshot is not active.`);if(e.targetIds.size===0)return{assignments:[],diagnostics:[],inactiveRefPaths:[]};let t=[...new Set(C.warnings.filter(e=>e.code===`SECRETS_REF_IGNORED_INACTIVE_SURFACE`).map(e=>e.path))],n=y({sourceConfig:C.sourceConfig,resolvedConfig:C.config,commandName:e.commandName,targetIds:e.targetIds,inactiveRefPaths:new Set(t)});return{assignments:n.assignments,diagnostics:n.diagnostics,inactiveRefPaths:t}}function I(){O()}export{j as a,N as i,I as n,F as o,P as r,M as t};
|
|
1
|
+
import{y as e}from"./utils-UGOV_184.js";import{Ds as t,Jl as n,Ql as r,Ts as i,Us as a,Zl as o,ec as s,nu as c,tc as l}from"./model-selection-I1ctjFOB.js";import{a as u,r as d}from"./agent-scope-DXZc3eNT.js";import{d as f}from"./types.secrets-C-5U96pc.js";import{a as p,c as m,n as h,o as g,s as _,t as v,u as y}from"./runtime-web-tools-CCIXUISf.js";function b(e){let{explicitRef:n,inlineRef:r,ref:i}=f({value:e.profile.key,refValue:e.profile.keyRef,defaults:e.defaults});i&&(!n&&r&&(e.profile.keyRef=r),n&&t(e.profile.key)&&m(e.context,{code:`SECRETS_REF_OVERRIDES_PLAINTEXT`,path:`${e.agentDir}.auth-profiles.${e.profileId}.key`,message:`auth-profiles ${e.profileId}: keyRef is set; runtime will ignore plaintext key.`}),_(e.context,{ref:i,path:`${e.agentDir}.auth-profiles.${e.profileId}.key`,expected:`string`,apply:t=>{e.profile.key=String(t)}}))}function x(e){let{explicitRef:n,inlineRef:r,ref:i}=f({value:e.profile.token,refValue:e.profile.tokenRef,defaults:e.defaults});i&&(!n&&r&&(e.profile.tokenRef=r),n&&t(e.profile.token)&&m(e.context,{code:`SECRETS_REF_OVERRIDES_PLAINTEXT`,path:`${e.agentDir}.auth-profiles.${e.profileId}.token`,message:`auth-profiles ${e.profileId}: tokenRef is set; runtime will ignore plaintext token.`}),_(e.context,{ref:i,path:`${e.agentDir}.auth-profiles.${e.profileId}.token`,expected:`string`,apply:t=>{e.profile.token=String(t)}}))}function S(e){let t=e.context.sourceConfig.secrets?.defaults;for(let[n,r]of Object.entries(e.store.profiles)){if(r.type===`api_key`){b({profile:r,profileId:n,agentDir:e.agentDir,defaults:t,context:e.context});continue}r.type===`token`&&x({profile:r,profileId:n,agentDir:e.agentDir,defaults:t,context:e.context})}}let C=null,w=null;const T=new WeakMap;function E(e){return{sourceConfig:structuredClone(e.sourceConfig),config:structuredClone(e.config),authStores:e.authStores.map(e=>({agentDir:e.agentDir,store:structuredClone(e.store)})),warnings:e.warnings.map(e=>({...e})),webTools:structuredClone(e.webTools)}}function D(e){return{env:{...e.env},explicitAgentDirs:e.explicitAgentDirs?[...e.explicitAgentDirs]:null,loadAuthStore:e.loadAuthStore}}function O(){C=null,w=null,l(null),a(),n()}function k(t){let n=new Set;n.add(e(c()));for(let r of d(t))n.add(e(u(t,r)));return[...n]}function A(e,t){let n=k(e);return!t.explicitAgentDirs||t.explicitAgentDirs.length===0?n:[...new Set([...t.explicitAgentDirs,...n])]}async function j(t){let n=structuredClone(t.config),r=structuredClone(t.config),a=g({sourceConfig:n,env:t.env??process.env});h({config:r,context:a});let s=t.loadAuthStore??o,c=t.agentDirs?.length?[...new Set(t.agentDirs.map(t=>e(t)))]:k(r),l=[];for(let e of c){let t=structuredClone(s(e));S({store:t,context:a,agentDir:e}),l.push({agentDir:e,store:t})}if(a.assignments.length>0){let e=await i(a.assignments.map(e=>e.ref),{config:n,env:a.env,cache:a.cache});p({assignments:a.assignments,resolved:e})}let u={sourceConfig:n,config:r,authStores:l,warnings:a.warnings,webTools:await v({sourceConfig:n,resolvedConfig:r,context:a})};return T.set(u,{env:{...t.env??process.env},explicitAgentDirs:t.agentDirs?.length?[...c]:null,loadAuthStore:s}),u}function M(e){let t=E(e),n=T.get(e)??w??{env:{...process.env},explicitAgentDirs:null,loadAuthStore:o};s(t.config,t.sourceConfig),r(t.authStores),C=t,w=D(n),l({refresh:async({sourceConfig:e})=>!C||!w?!1:(M(await j({config:e,env:w.env,agentDirs:A(e,w),loadAuthStore:w.loadAuthStore})),!0)})}function N(){if(!C)return null;let e=E(C);return w&&T.set(e,D(w)),e}function P(){return C?structuredClone(C.webTools):null}function F(e){if(!C)throw Error(`Secrets runtime snapshot is not active.`);if(e.targetIds.size===0)return{assignments:[],diagnostics:[],inactiveRefPaths:[]};let t=[...new Set(C.warnings.filter(e=>e.code===`SECRETS_REF_IGNORED_INACTIVE_SURFACE`).map(e=>e.path))],n=y({sourceConfig:C.sourceConfig,resolvedConfig:C.config,commandName:e.commandName,targetIds:e.targetIds,inactiveRefPaths:new Set(t)});return{assignments:n.assignments,diagnostics:n.diagnostics,inactiveRefPaths:t}}function I(){O()}export{j as a,N as i,I as n,F as o,P as r,M as t};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import{p as e}from"./subsystem-C5XF2Fy5.js";import t from"node:process";const n={major:22,minor:12,patch:0},r=/(\d+)\.(\d+)\.(\d+)/;function i(e){if(!e)return null;let t=e.match(r);if(!t)return null;let[,n,i,a]=t;return{major:Number.parseInt(n,10),minor:Number.parseInt(i,10),patch:Number.parseInt(a,10)}}function a(e,t){return e?e.major===t.major?e.minor===t.minor?e.patch>=t.patch:e.minor>t.minor:e.major>t.major:!1}function o(){return{kind:t.versions?.node?`node`:`unknown`,version:t.versions?.node??null,execPath:t.execPath??null,pathEnv:t.env.PATH??`(not set)`}}function s(e){let t=i(e.version);return e.kind===`node`?a(t,n):!1}function c(e){return a(i(e),n)}function l(t=e,n=o()){if(s(n))return;let r=n.version??`unknown`,i=n.kind===`unknown`?`unknown runtime`:`${n.kind} ${r}`,a=n.execPath??`unknown`;t.error([`openclaw requires Node >=22.12.0.`,`Detected: ${i} (exec: ${a}).`,`PATH searched: ${n.pathEnv}`,`Install Node: https://nodejs.org/en/download`,`Upgrade Node and re-run openclaw.`].join(`
|
|
2
|
-
`)),t.exit(1)}export{c as n,i as r,l as t};
|
|
2
|
+
`)),t.exit(1)}export{c as n,i as r,l as t};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import{p as e}from"./subsystem-BLbY429l.js";import t from"node:process";const n={major:22,minor:12,patch:0},r=/(\d+)\.(\d+)\.(\d+)/;function i(e){if(!e)return null;let t=e.match(r);if(!t)return null;let[,n,i,a]=t;return{major:Number.parseInt(n,10),minor:Number.parseInt(i,10),patch:Number.parseInt(a,10)}}function a(e,t){return e?e.major===t.major?e.minor===t.minor?e.patch>=t.patch:e.minor>t.minor:e.major>t.major:!1}function o(){return{kind:t.versions?.node?`node`:`unknown`,version:t.versions?.node??null,execPath:t.execPath??null,pathEnv:t.env.PATH??`(not set)`}}function s(e){let t=i(e.version);return e.kind===`node`?a(t,n):!1}function c(e){return a(i(e),n)}function l(t=e,n=o()){if(s(n))return;let r=n.version??`unknown`,i=n.kind===`unknown`?`unknown runtime`:`${n.kind} ${r}`,a=n.execPath??`unknown`;t.error([`openclaw requires Node >=22.12.0.`,`Detected: ${i} (exec: ${a}).`,`PATH searched: ${n.pathEnv}`,`Install Node: https://nodejs.org/en/download`,`Upgrade Node and re-run openclaw.`].join(`
|
|
2
|
-
`)),t.exit(1)}export{c as n,i as r,l as t};
|
|
2
|
+
`)),t.exit(1)}export{c as n,i as r,l as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function e({status:e,pid:t,state:n,details:r=[]}){let i=e??`unknown`,a=[];t&&a.push(`pid ${t}`),n&&n.toLowerCase()!==i&&a.push(`state ${n}`);for(let e of r)e&&a.push(e);return a.length>0?`${i} (${a.join(`, `)})`:i}export{e as t};
|
|
1
|
+
function e({status:e,pid:t,state:n,details:r=[]}){let i=e??`unknown`,a=[];t&&a.push(`pid ${t}`),n&&n.toLowerCase()!==i&&a.push(`state ${n}`);for(let e of r)e&&a.push(e);return a.length>0?`${i} (${a.join(`, `)})`:i}export{e as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function e({status:e,pid:t,state:n,details:r=[]}){let i=e??`unknown`,a=[];t&&a.push(`pid ${t}`),n&&n.toLowerCase()!==i&&a.push(`state ${n}`);for(let e of r)e&&a.push(e);return a.length>0?`${i} (${a.join(`, `)})`:i}export{e as t};
|
|
1
|
+
function e({status:e,pid:t,state:n,details:r=[]}){let i=e??`unknown`,a=[];t&&a.push(`pid ${t}`),n&&n.toLowerCase()!==i&&a.push(`state ${n}`);for(let e of r)e&&a.push(e);return a.length>0?`${i} (${a.join(`, `)})`:i}export{e as t};
|