openclaw-multi-auto 1.3.6 → 1.3.8
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/{audio-preflight-5FEeDooz.js → audio-preflight-DDBLZBdb.js} +4 -4
- package/dist/{audio-transcription-runner-B-UvoDjZ.js → audio-transcription-runner-DZbSWT9E.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/{chrome-D45SyhQL.js → chrome-CMU2WVFh.js} +8 -8
- package/dist/{deliver-B9cys0EZ.js → deliver-BXVcFIHL.js} +1 -1
- package/dist/{deliver-runtime-DhaQJ0pI.js → deliver-runtime-DTaIS-1i.js} +3 -3
- package/dist/{deps-send-whatsapp.runtime-DvTL2tzN.js → deps-send-whatsapp.runtime-CIZqFAqb.js} +7 -7
- package/dist/extensionAPI.js +6 -6
- package/dist/{image-DAOPwVXi.js → image-BCVLo0qw.js} +1 -1
- package/dist/{image-runtime-wlCLVvVv.js → image-runtime-DtCKpMPZ.js} +3 -3
- package/dist/{pi-embedded-DYU79yGe.js → pi-embedded-CgQ_W6Xs.js} +24 -24
- package/dist/{pi-embedded-helpers-uTRAmQ4n.js → pi-embedded-helpers-CwuBTKza.js} +3 -3
- package/dist/plugin-sdk/{accounts-DyFCXtHv.js → accounts-BslAlVYS.js} +2 -2
- package/dist/plugin-sdk/{accounts-BJAXxY46.js → accounts-C3m65--E.js} +2 -2
- package/dist/plugin-sdk/{accounts-C1j7HSL0.js → accounts-CNCCkdEF.js} +3 -3
- package/dist/plugin-sdk/{active-listener-CftX5jLD.js → active-listener-CkPnMUkB.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-8nyyt1kx.js → api-key-rotation-BXnNsojA.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-C_aSAPR1.js → audio-preflight-CtO4fFvp.js} +26 -26
- package/dist/plugin-sdk/{audio-transcription-runner-CB53F7_7.js → audio-transcription-runner-DnxvOS1-.js} +11 -11
- package/dist/plugin-sdk/{audit-membership-runtime-BXndI4LG.js → audit-membership-runtime-BpfoSk8M.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-C5y8AgAV.js → channel-activity-WJYxcJ3S.js} +3 -3
- package/dist/plugin-sdk/{channel-web-DBTRO03V.js → channel-web-dO5k3ubM.js} +18 -18
- package/dist/plugin-sdk/{chrome-f00sZkDX.js → chrome-CjNTuJML.js} +6 -6
- package/dist/plugin-sdk/{commands-registry-BJ_NxG2F.js → commands-registry-CdYjoI0i.js} +4 -4
- package/dist/plugin-sdk/{common-Cf27Jwxu.js → common-oYc5vPFl.js} +2 -2
- package/dist/plugin-sdk/{config-CHQrpx-Q.js → config-B1z-UxQ3.js} +7 -7
- package/dist/plugin-sdk/{deliver-DNEuetST.js → deliver-D5_6T567.js} +10 -10
- package/dist/plugin-sdk/deliver-runtime-C5dgvvga.js +32 -0
- package/dist/plugin-sdk/deps-send-discord.runtime-Dg4N7PHJ.js +23 -0
- package/dist/plugin-sdk/deps-send-imessage.runtime-0OEwzMQm.js +22 -0
- package/dist/plugin-sdk/deps-send-signal.runtime-BM1jRt3G.js +21 -0
- package/dist/plugin-sdk/deps-send-slack.runtime-1E3BYRdF.js +19 -0
- package/dist/plugin-sdk/deps-send-telegram.runtime-DNCxIflA.js +24 -0
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-OLwr-9c8.js +57 -0
- package/dist/plugin-sdk/{diagnostic-LYUUmjJ5.js → diagnostic-Bxxu0ig-.js} +2 -2
- package/dist/plugin-sdk/{errors-CtMWwS2Z.js → errors-B3cHyZZA.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-CxYB5Kg6.js → fetch-guard-Dcgod0tg.js} +2 -2
- package/dist/plugin-sdk/{fs-safe-DtfhxbrI.js → fs-safe-BaKqI3G4.js} +3 -3
- package/dist/plugin-sdk/{image-BwjYjRHx.js → image-B2mQW9Rb.js} +6 -6
- package/dist/plugin-sdk/{image-ops-BnZKcbd6.js → image-ops-Cbzr4U9l.js} +2 -2
- package/dist/plugin-sdk/image-runtime-BFm45j49.js +25 -0
- package/dist/plugin-sdk/{ir-Z4hX67TJ.js → ir-ZEmrTr4J.js} +7 -7
- package/dist/plugin-sdk/{local-roots-KhjQw04O.js → local-roots-CIPRxA-4.js} +4 -4
- package/dist/plugin-sdk/{logger-DHIIvMxj.js → logger-CvPFVOgT.js} +2 -2
- package/dist/plugin-sdk/{login-C31642Ld.js → login-CCTew9bt.js} +4 -4
- package/dist/plugin-sdk/{login-qr--y2SG_Ue.js → login-qr-BI3Vi_wJ.js} +5 -5
- package/dist/plugin-sdk/{manager-2UZBMCc7.js → manager-BEoYPn7R.js} +8 -8
- package/dist/plugin-sdk/manager-runtime-DxclHQ4U.js +15 -0
- package/dist/plugin-sdk/{outbound-Ba0QUI5h.js → outbound-ByOw1K6W.js} +5 -5
- package/dist/plugin-sdk/{outbound-attachment-B1Laso-8.js → outbound-attachment-BzVhxRRw.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-C7Vm5DZ1.js → path-alias-guards-sWayacde.js} +1 -1
- package/dist/plugin-sdk/{paths-DopV9PQG.js → paths-Dpg3qxcl.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-DnA_OCzP.js → pi-embedded-helpers-DIxXkGJf.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-DdPqXk8f.js → pi-model-discovery-DM_2uFtj.js} +1 -1
- package/dist/plugin-sdk/pi-model-discovery-runtime-BuzvkvNR.js +8 -0
- package/dist/plugin-sdk/{pi-tools.before-tool-call.runtime-DxFHiLUE.js → pi-tools.before-tool-call.runtime-w1dqL_ty.js} +4 -4
- package/dist/plugin-sdk/{plugins-CbCt4osF.js → plugins-C4USiH29.js} +4 -4
- package/dist/plugin-sdk/{proxy-env-C63mMdas.js → proxy-env-ET-rp8eg.js} +1 -1
- package/dist/plugin-sdk/{proxy-fetch-Ch95c_Y2.js → proxy-fetch-uDXGKG3Z.js} +1 -1
- package/dist/plugin-sdk/{pw-ai-DpJk62D4.js → pw-ai-CyOt3RDA.js} +9 -9
- package/dist/plugin-sdk/{qmd-manager-Ca-iSfEE.js → qmd-manager-BySdoVR7.js} +7 -7
- package/dist/plugin-sdk/{query-expansion-B_Xe41Ab.js → query-expansion-C6uS-7lj.js} +4 -4
- package/dist/plugin-sdk/{redact-hp9TOulW.js → redact-Bvxt1T_Q.js} +1 -1
- package/dist/plugin-sdk/{reply-CovBlFea.js → reply-CTCSeQqW.js} +73 -73
- package/dist/plugin-sdk/{resolve-outbound-target-BbrHgyUk.js → resolve-outbound-target-Bw8YNANu.js} +2 -2
- package/dist/plugin-sdk/{run-with-concurrency-BR1DXa8T.js → run-with-concurrency-C_KCHwvf.js} +1 -1
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-BxgRDkhc.js +10 -0
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-elOqrkfg.js +19 -0
- package/dist/plugin-sdk/{send-BvAtLLPl.js → send-BZ6nYFZr.js} +5 -5
- package/dist/plugin-sdk/{send-BTztm3D2.js → send-C0w6xP2x.js} +6 -6
- package/dist/plugin-sdk/{send-CWJUuG0i.js → send-CFf-1V89.js} +8 -8
- package/dist/plugin-sdk/{send-EcglC4cG.js → send-CY-Qfwia.js} +7 -7
- package/dist/plugin-sdk/{send-BXpXBwM_.js → send-qPyNGSe4.js} +13 -13
- package/dist/plugin-sdk/{session-k256LJZT.js → session-COrvpvUQ.js} +3 -3
- package/dist/plugin-sdk/signal.js +2 -2
- package/dist/plugin-sdk/{skill-commands-DoRqLzxm.js → skill-commands-DZqhtmiv.js} +4 -4
- package/dist/plugin-sdk/{skills-QudILG6e.js → skills-Cw_vXEJb.js} +6 -6
- package/dist/plugin-sdk/slash-commands.runtime-D67JLweo.js +13 -0
- package/dist/plugin-sdk/slash-dispatch.runtime-DvcpvCJ0.js +52 -0
- package/dist/plugin-sdk/slash-skill-commands.runtime-BM1x3azR.js +16 -0
- package/dist/plugin-sdk/{store-BbDQw3g6.js → store-CMHj6IIw.js} +2 -2
- package/dist/plugin-sdk/subagent-registry-runtime-1lbDyRzz.js +52 -0
- package/dist/plugin-sdk/{tables-BhvloMKN.js → tables-CSqrHsKL.js} +1 -1
- package/dist/plugin-sdk/{thinking-URzkT-3p.js → thinking-DOnsR_A8.js} +7 -7
- package/dist/plugin-sdk/{tokens-B1PW5Ayy.js → tokens-BDr0Z9o3.js} +1 -1
- package/dist/plugin-sdk/{tool-images-xpqbP6RR.js → tool-images-eEfOVkzf.js} +2 -2
- package/dist/plugin-sdk/web-BLyT64pW.js +56 -0
- package/dist/plugin-sdk/{whatsapp-actions-RcZ6vp61.js → whatsapp-actions-xcleMoMv.js} +17 -17
- package/dist/plugin-sdk/whatsapp.js +50 -50
- package/dist/{pw-ai-GcYO6HPE.js → pw-ai-CmphSzHx.js} +1 -1
- package/dist/{slash-dispatch.runtime-Dh053pQK.js → slash-dispatch.runtime-131yup2e.js} +6 -6
- package/dist/{subagent-registry-runtime-DSi5mnCQ.js → subagent-registry-runtime-DbSf_Je6.js} +6 -6
- package/dist/{web-1hWJDzNA.js → web-MR9d7KyB.js} +6 -6
- package/package.json +5 -2
- package/scripts/create-instance.sh +44 -19
- package/scripts/install-maca.sh +39 -28
- package/scripts/npm_publish.sh +8 -6
- package/ui/index.html +16 -0
- package/ui/node_modules/.bin/jiti +21 -0
- package/ui/node_modules/.bin/lessc +21 -0
- package/ui/node_modules/.bin/marked +21 -0
- package/ui/node_modules/.bin/playwright +21 -0
- package/ui/node_modules/.bin/sass +21 -0
- package/ui/node_modules/.bin/tsx +21 -0
- package/ui/node_modules/.bin/vite +21 -0
- package/ui/node_modules/.bin/vitest +21 -0
- package/ui/node_modules/.bin/yaml +21 -0
- package/ui/package.json +27 -0
- package/ui/public/apple-touch-icon.png +0 -0
- package/ui/public/favicon-32.png +0 -0
- package/ui/public/favicon.ico +0 -0
- package/ui/public/favicon.svg +22 -0
- package/ui/src/css.d.ts +1 -0
- package/ui/src/i18n/index.ts +3 -0
- package/ui/src/i18n/lib/lit-controller.ts +22 -0
- package/ui/src/i18n/lib/registry.ts +64 -0
- package/ui/src/i18n/lib/translate.ts +123 -0
- package/ui/src/i18n/lib/types.ts +9 -0
- package/ui/src/i18n/locales/de.ts +129 -0
- package/ui/src/i18n/locales/en.ts +337 -0
- package/ui/src/i18n/locales/pt-BR.ts +128 -0
- package/ui/src/i18n/locales/zh-CN.ts +330 -0
- package/ui/src/i18n/locales/zh-TW.ts +125 -0
- package/ui/src/i18n/test/translate.test.ts +56 -0
- package/ui/src/main.ts +2 -0
- package/ui/src/styles/base.css +385 -0
- package/ui/src/styles/chat/grouped.css +300 -0
- package/ui/src/styles/chat/layout.css +481 -0
- package/ui/src/styles/chat/sidebar.css +117 -0
- package/ui/src/styles/chat/text.css +146 -0
- package/ui/src/styles/chat/tool-cards.css +202 -0
- package/ui/src/styles/chat.css +5 -0
- package/ui/src/styles/components.css +2612 -0
- package/ui/src/styles/config.css +1658 -0
- package/ui/src/styles/layout.css +621 -0
- package/ui/src/styles/layout.mobile.css +374 -0
- package/ui/src/styles.css +5 -0
- package/ui/src/ui/__screenshots__/config-form.browser.test.ts/config-form-renderer-flags-unsupported-unions-1.png +0 -0
- package/ui/src/ui/__screenshots__/config-form.browser.test.ts/config-form-renderer-renders-inputs-and-patches-values-1.png +0 -0
- package/ui/src/ui/__screenshots__/config-form.browser.test.ts/config-form-renderer-renders-union-literals-as-select-options-1.png +0 -0
- package/ui/src/ui/__screenshots__/navigation.browser.test.ts/control-UI-routing-auto-scrolls-chat-history-to-the-latest-message-1.png +0 -0
- package/ui/src/ui/app-channels.ts +279 -0
- package/ui/src/ui/app-chat.ts +266 -0
- package/ui/src/ui/app-defaults.ts +50 -0
- package/ui/src/ui/app-events.ts +5 -0
- package/ui/src/ui/app-gateway.node.test.ts +229 -0
- package/ui/src/ui/app-gateway.ts +349 -0
- package/ui/src/ui/app-lifecycle.node.test.ts +44 -0
- package/ui/src/ui/app-lifecycle.ts +109 -0
- package/ui/src/ui/app-polling.ts +69 -0
- package/ui/src/ui/app-render-usage-tab.ts +273 -0
- package/ui/src/ui/app-render.helpers.node.test.ts +286 -0
- package/ui/src/ui/app-render.helpers.ts +574 -0
- package/ui/src/ui/app-render.ts +1168 -0
- package/ui/src/ui/app-scroll.test.ts +275 -0
- package/ui/src/ui/app-scroll.ts +179 -0
- package/ui/src/ui/app-settings.test.ts +70 -0
- package/ui/src/ui/app-settings.ts +440 -0
- package/ui/src/ui/app-tool-stream.node.test.ts +139 -0
- package/ui/src/ui/app-tool-stream.ts +455 -0
- package/ui/src/ui/app-view-state.ts +321 -0
- package/ui/src/ui/app.ts +621 -0
- package/ui/src/ui/assistant-identity.ts +23 -0
- package/ui/src/ui/chat/constants.ts +12 -0
- package/ui/src/ui/chat/copy-as-markdown.ts +97 -0
- package/ui/src/ui/chat/grouped-render.ts +287 -0
- package/ui/src/ui/chat/message-extract.test.ts +64 -0
- package/ui/src/ui/chat/message-extract.ts +122 -0
- package/ui/src/ui/chat/message-normalizer.test.ts +179 -0
- package/ui/src/ui/chat/message-normalizer.ts +101 -0
- package/ui/src/ui/chat/tool-cards.ts +156 -0
- package/ui/src/ui/chat/tool-helpers.test.ts +141 -0
- package/ui/src/ui/chat/tool-helpers.ts +37 -0
- package/ui/src/ui/chat-event-reload.test.ts +47 -0
- package/ui/src/ui/chat-event-reload.ts +16 -0
- package/ui/src/ui/chat-markdown.browser.test.ts +37 -0
- package/ui/src/ui/components/resizable-divider.ts +110 -0
- package/ui/src/ui/config-form.browser.test.ts +443 -0
- package/ui/src/ui/controllers/agent-files.ts +126 -0
- package/ui/src/ui/controllers/agent-identity.ts +59 -0
- package/ui/src/ui/controllers/agent-skills.ts +33 -0
- package/ui/src/ui/controllers/agents.test.ts +61 -0
- package/ui/src/ui/controllers/agents.ts +64 -0
- package/ui/src/ui/controllers/assistant-identity.ts +34 -0
- package/ui/src/ui/controllers/channels.ts +94 -0
- package/ui/src/ui/controllers/channels.types.ts +15 -0
- package/ui/src/ui/controllers/chat.test.ts +568 -0
- package/ui/src/ui/controllers/chat.ts +318 -0
- package/ui/src/ui/controllers/config/form-coerce.ts +160 -0
- package/ui/src/ui/controllers/config/form-utils.node.test.ts +455 -0
- package/ui/src/ui/controllers/config/form-utils.ts +90 -0
- package/ui/src/ui/controllers/config.test.ts +289 -0
- package/ui/src/ui/controllers/config.ts +219 -0
- package/ui/src/ui/controllers/control-ui-bootstrap.test.ts +82 -0
- package/ui/src/ui/controllers/control-ui-bootstrap.ts +49 -0
- package/ui/src/ui/controllers/cron-filters.test.ts +81 -0
- package/ui/src/ui/controllers/cron.test.ts +1070 -0
- package/ui/src/ui/controllers/cron.ts +921 -0
- package/ui/src/ui/controllers/debug.ts +60 -0
- package/ui/src/ui/controllers/devices.ts +159 -0
- package/ui/src/ui/controllers/exec-approval.ts +100 -0
- package/ui/src/ui/controllers/exec-approvals.ts +170 -0
- package/ui/src/ui/controllers/logs.ts +147 -0
- package/ui/src/ui/controllers/nodes.ts +32 -0
- package/ui/src/ui/controllers/presence.ts +37 -0
- package/ui/src/ui/controllers/sessions.test.ts +104 -0
- package/ui/src/ui/controllers/sessions.ts +127 -0
- package/ui/src/ui/controllers/skills.ts +157 -0
- package/ui/src/ui/controllers/usage.node.test.ts +181 -0
- package/ui/src/ui/controllers/usage.ts +315 -0
- package/ui/src/ui/data/moonshot-kimi-k2.ts +45 -0
- package/ui/src/ui/device-auth.ts +73 -0
- package/ui/src/ui/device-identity.ts +112 -0
- package/ui/src/ui/external-link.test.ts +18 -0
- package/ui/src/ui/external-link.ts +19 -0
- package/ui/src/ui/focus-mode.browser.test.ts +39 -0
- package/ui/src/ui/format.test.ts +101 -0
- package/ui/src/ui/format.ts +60 -0
- package/ui/src/ui/gateway.ts +360 -0
- package/ui/src/ui/icons.ts +256 -0
- package/ui/src/ui/markdown.test.ts +85 -0
- package/ui/src/ui/markdown.ts +139 -0
- package/ui/src/ui/navigation.browser.test.ts +188 -0
- package/ui/src/ui/navigation.test.ts +189 -0
- package/ui/src/ui/navigation.ts +165 -0
- package/ui/src/ui/open-external-url.test.ts +108 -0
- package/ui/src/ui/open-external-url.ts +73 -0
- package/ui/src/ui/presenter.ts +85 -0
- package/ui/src/ui/storage.node.test.ts +63 -0
- package/ui/src/ui/storage.ts +99 -0
- package/ui/src/ui/test-helpers/app-mount.ts +27 -0
- package/ui/src/ui/text-direction.test.ts +24 -0
- package/ui/src/ui/text-direction.ts +30 -0
- package/ui/src/ui/theme-transition.ts +109 -0
- package/ui/src/ui/theme.ts +16 -0
- package/ui/src/ui/tool-display.ts +159 -0
- package/ui/src/ui/types/chat-types.ts +44 -0
- package/ui/src/ui/types.ts +627 -0
- package/ui/src/ui/ui-types.ts +54 -0
- package/ui/src/ui/usage-helpers.node.test.ts +43 -0
- package/ui/src/ui/usage-helpers.ts +321 -0
- package/ui/src/ui/usage-types.ts +22 -0
- package/ui/src/ui/uuid.test.ts +41 -0
- package/ui/src/ui/uuid.ts +57 -0
- package/ui/src/ui/views/agents-panels-status-files.ts +461 -0
- package/ui/src/ui/views/agents-panels-tools-skills.browser.test.ts +102 -0
- package/ui/src/ui/views/agents-panels-tools-skills.ts +537 -0
- package/ui/src/ui/views/agents-utils.test.ts +100 -0
- package/ui/src/ui/views/agents-utils.ts +502 -0
- package/ui/src/ui/views/agents.ts +499 -0
- package/ui/src/ui/views/channel-config-extras.ts +49 -0
- package/ui/src/ui/views/channels.config.ts +155 -0
- package/ui/src/ui/views/channels.discord.ts +65 -0
- package/ui/src/ui/views/channels.googlechat.ts +79 -0
- package/ui/src/ui/views/channels.imessage.ts +65 -0
- package/ui/src/ui/views/channels.nostr-profile-form.ts +321 -0
- package/ui/src/ui/views/channels.nostr.ts +237 -0
- package/ui/src/ui/views/channels.shared.ts +38 -0
- package/ui/src/ui/views/channels.signal.ts +69 -0
- package/ui/src/ui/views/channels.slack.ts +65 -0
- package/ui/src/ui/views/channels.telegram.ts +120 -0
- package/ui/src/ui/views/channels.ts +325 -0
- package/ui/src/ui/views/channels.types.ts +62 -0
- package/ui/src/ui/views/channels.whatsapp.ts +118 -0
- package/ui/src/ui/views/chat-image-open.browser.test.ts +70 -0
- package/ui/src/ui/views/chat.test.ts +227 -0
- package/ui/src/ui/views/chat.ts +616 -0
- package/ui/src/ui/views/config-form.analyze.ts +267 -0
- package/ui/src/ui/views/config-form.node.ts +1073 -0
- package/ui/src/ui/views/config-form.render.ts +478 -0
- package/ui/src/ui/views/config-form.search.node.test.ts +69 -0
- package/ui/src/ui/views/config-form.shared.ts +96 -0
- package/ui/src/ui/views/config-form.ts +4 -0
- package/ui/src/ui/views/config-search.node.test.ts +50 -0
- package/ui/src/ui/views/config-search.ts +92 -0
- package/ui/src/ui/views/config.browser.test.ts +233 -0
- package/ui/src/ui/views/config.ts +820 -0
- package/ui/src/ui/views/cron.test.ts +741 -0
- package/ui/src/ui/views/cron.ts +1758 -0
- package/ui/src/ui/views/debug.ts +151 -0
- package/ui/src/ui/views/exec-approval.ts +89 -0
- package/ui/src/ui/views/gateway-url-confirmation.ts +40 -0
- package/ui/src/ui/views/instances.ts +89 -0
- package/ui/src/ui/views/logs.ts +155 -0
- package/ui/src/ui/views/markdown-sidebar.ts +40 -0
- package/ui/src/ui/views/nodes-exec-approvals.ts +617 -0
- package/ui/src/ui/views/nodes-shared.ts +67 -0
- package/ui/src/ui/views/nodes.ts +485 -0
- package/ui/src/ui/views/overview-hints.ts +16 -0
- package/ui/src/ui/views/overview.node.test.ts +39 -0
- package/ui/src/ui/views/overview.ts +361 -0
- package/ui/src/ui/views/sessions.test.ts +81 -0
- package/ui/src/ui/views/sessions.ts +321 -0
- package/ui/src/ui/views/skills-grouping.ts +40 -0
- package/ui/src/ui/views/skills-shared.ts +52 -0
- package/ui/src/ui/views/skills.ts +192 -0
- package/ui/src/ui/views/usage-metrics.ts +578 -0
- package/ui/src/ui/views/usage-query.ts +277 -0
- package/ui/src/ui/views/usage-render-details.test.ts +136 -0
- package/ui/src/ui/views/usage-render-details.ts +1083 -0
- package/ui/src/ui/views/usage-render-overview.ts +796 -0
- package/ui/src/ui/views/usage-styles/usageStyles-part1.ts +701 -0
- package/ui/src/ui/views/usage-styles/usageStyles-part2.ts +702 -0
- package/ui/src/ui/views/usage-styles/usageStyles-part3.ts +551 -0
- package/ui/src/ui/views/usage.ts +836 -0
- package/ui/src/ui/views/usageStyles.ts +5 -0
- package/ui/src/ui/views/usageTypes.ts +105 -0
- package/ui/vite.config.ts +43 -0
- package/ui/vitest.config.ts +15 -0
- package/ui/vitest.node.config.ts +10 -0
- package/dist/plugin-sdk/deliver-runtime-BFdqklJM.js +0 -32
- package/dist/plugin-sdk/deps-send-discord.runtime-DuqpYwU0.js +0 -23
- package/dist/plugin-sdk/deps-send-imessage.runtime-CZ2rS8Lb.js +0 -22
- package/dist/plugin-sdk/deps-send-signal.runtime-BdqiWhIh.js +0 -21
- package/dist/plugin-sdk/deps-send-slack.runtime-04s36qiC.js +0 -19
- package/dist/plugin-sdk/deps-send-telegram.runtime-LE5tkPvr.js +0 -24
- package/dist/plugin-sdk/deps-send-whatsapp.runtime-Bz57lobC.js +0 -57
- package/dist/plugin-sdk/image-runtime-B8twoubs.js +0 -25
- package/dist/plugin-sdk/manager-runtime-CMeLwose.js +0 -15
- package/dist/plugin-sdk/pi-model-discovery-runtime-D8CJhtJY.js +0 -8
- package/dist/plugin-sdk/runtime-whatsapp-login.runtime-SkO91TZH.js +0 -10
- package/dist/plugin-sdk/runtime-whatsapp-outbound.runtime-B0VWK5hm.js +0 -19
- package/dist/plugin-sdk/slash-commands.runtime-DS6vCNSL.js +0 -13
- package/dist/plugin-sdk/slash-dispatch.runtime-BXrxb2wd.js +0 -52
- package/dist/plugin-sdk/slash-skill-commands.runtime-Bd6qQ2oT.js +0 -16
- package/dist/plugin-sdk/subagent-registry-runtime-1uwQbuXj.js +0 -52
- package/dist/plugin-sdk/web-B74yhL2N.js +0 -56
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
import { $ as normalizeAgentId, C as filterBootstrapFilesForSession, D as runCommandWithTimeout, G as toAgentModelListLike, J as buildAgentMainSessionKey, K as DEFAULT_AGENT_ID, M as openBoundaryFileSync, O as runExec, Q as isValidAgentId, S as ensureAgentWorkspace, T as resolveOpenClawPackageRoot, U as resolveAgentModelFallbackValues, V as normalizeWindowsPathForComparison, W as resolveAgentModelPrimaryValue, Y as buildAgentPeerSessionKey, Z as classifySessionKeyShape, a as resolveAgentDir, at as DEFAULT_ACCOUNT_ID, c as resolveAgentWorkspaceDir, ct as isBlockedObjectKey, d as resolveRunModelFallbacksOverride, dt as isAcpSessionKey, et as normalizeMainKey, f as resolveSessionAgentId, ft as isCronSessionKey, g as DEFAULT_BOOTSTRAP_FILENAME, h as DEFAULT_AGENT_WORKSPACE_DIR, ht as resolveThreadParentSessionKey, i as resolveAgentConfig, it as scopedHeartbeatWakeOptions, j as openBoundaryFile, k as spawnWithFallback, l as resolveDefaultAgentId, lt as deriveSessionChatType, mt as parseAgentSessionKey, n as hasConfiguredModelFallbacks, nt as resolveThreadSessionKeys, ot as normalizeAccountId$2, p as resolveSessionAgentIds, pt as isSubagentSessionKey, q as DEFAULT_MAIN_KEY, r as listAgentIds, rt as sanitizeAgentId, s as resolveAgentSkillsFilter, st as normalizeOptionalAccountId, t as runTasksWithConcurrency, tt as resolveAgentIdFromSessionKey, u as resolveEffectiveModelFallbacks, ut as getSubagentDepth, v as DEFAULT_IDENTITY_FILENAME, w as loadWorkspaceBootstrapFiles } from "./run-with-concurrency-
|
|
2
|
-
import { $ as getConfigValueAtPath, $n as parseBooleanValue$1, An as dedupeProfileIds, At as resolveSlackStreamingMode, B as discoverOpenClawPlugins, Bn as resolveAuthProfileDisplayLabel, Bt as modelKey, Cn as resolveSecretRefValues, Cr as createInternalHookEvent, Ct as normalizeSafeBinProfileFixtures, Dn as parseDotPath, Dt as mapStreamingModeToSlackLegacyDraftStreamMode, En as isRecord$1, Er as resolveCliName, Et as isSafeExecutableValue, F as isAvatarHttpUrl, Fn as resolveOpenClawAgentDir, Ft as buildAllowedModelSet, G as applyTestPluginDefaults, Gn as DEFAULT_MODEL, Gt as resolveModelRefFromString, H as safeStatSync, Hn as normalizeSecretInput, Ht as normalizeProviderId, I as isPathWithinRoot, In as withFileLock, It as buildConfiguredAllowlistKeys, J as resolveMemorySlotDecision, Jn as getShellPathFromLoginShell, Jt as resolveThinkingDefault, K as normalizePluginsConfig, Kn as DEFAULT_PROVIDER, Kt as resolveReasoningDefault, L as isSupportedLocalAvatarExtension, Lt as buildModelAliasIndex, Mn as markAuthProfileGood, N as AVATAR_MAX_BYTES, Nn as ensureAuthProfileStore, Nt as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, On as secretRefKey, Ot as resolveDiscordPreviewStreamMode, P as isAvatarDataUrl, Pn as resolveAuthStorePathForDisplay, Pt as resolveAgentMaxConcurrent, Q as unsetConfigOverride, Qn as isTruthyEnvValue, R as validateJsonSchemaValue, Rt as findNormalizedProviderValue, Sn as resolveApiKeyForProfile, Sr as matchPluginCommand, St as SAFE_BIN_PROFILES, Tn as isNonEmptyString, Tr as formatCliCommand, Tt as applyMergePatch, Un as splitTrailingAuthProfile, Ut as resolveConfiguredModelRef, V as isPathInside, Vt as normalizeModelRef$2, W as MANIFEST_KEY, Wn as DEFAULT_CONTEXT_TOKENS, Wt as resolveDefaultModelForAgent, X as resetConfigOverrides, Xn as isDangerousHostEnvVarName, Y as getConfigOverrides, Yn as resolveShellEnvFallbackTimeoutMs, Z as setConfigOverride, Zn as resolveOwnerDisplaySetting, _ as normalizeScpRemoteHost, _n as getSoonestCooldownExpiry, _r as normalizePluginHttpPath, _t as isDispatchWrapperExecutable, a as resolveConfigSnapshotHash, an as buildAssistantMessageWithZeroUsage, ar as CHAT_CHANNEL_ORDER, at as listWritableExplicitTrustedSafeBinDirs, b as parseDurationMs, bn as markAuthProfileUsed, br as getPluginCommandSpecs, bt as unwrapKnownShellMultiplexerInvocation, cn as getApiKeyForModel, cr as normalizeAnyChannelId, ct as analyzeShellCommand, d as resolveTelegramCustomCommands, dn as resolveApiKeyForProvider, dr as getActivePluginRegistry, dt as splitCommandChain, en as resolveRetryConfig, er as coerceSecretRef, et as parseConfigPath, fn as resolveEnvApiKey, fr as getActivePluginRegistryKey, ft as DEFAULT_SAFE_BINS, g as resolveIMessageRemoteAttachmentRoots, gn as clearExpiredCooldowns, gr as createPluginRegistry, gt as extractShellWrapperInlineCommand, h as resolveIMessageAttachmentRoots, hn as resolveAuthProfileOrder, hr as setActivePluginRegistry, ht as resolveCommandResolutionFromArgv, in as buildAssistantMessage, it as isTrustedSafeBinPath, jn as listProfilesForProvider, kt as resolveSlackNativeStreaming, l as TELEGRAM_COMMAND_NAME_PATTERN, ln as getCustomProviderApiKey, lr as normalizeChannelId$1, lt as buildEnforcedShellCommand, mr as requireActivePluginRegistry, mt as resolveAllowlistCandidatePath, n as loadConfig, nn as OLLAMA_NATIVE_BASE_URL, nr as normalizeResolvedSecretInputString, nt as unsetConfigValueAtPath, o as writeConfigFile, on as buildStreamErrorAssistantMessage, or as getChatChannelMeta, ot as normalizeTrustedSafeBinDirs, p as isInboundPathAllowed, pn as resolveModelAuthMode, pt as matchAllowlist, q as resolveEffectiveEnableState, qn as VERSION, qt as resolveSubagentSpawnModelSelection, r as readConfigFileSnapshot, rn as createOllamaStreamFn, rr as resolveSecretInputRef, rt as getTrustedSafeBinDirs, s as validateConfigObjectWithPlugins, sn as buildUsageWithNoCost, sr as listChatChannels, st as validateSafeBinArgv, tn as retryAsync, tr as hasConfiguredSecretInput, tt as setConfigValueAtPath, u as normalizeTelegramCommandName, un as requireApiKey, ur as normalizeChatChannelId, ut as isWindowsPlatform, v as parseNonNegativeByteSize, vn as isProfileInCooldown, vr as clearPluginCommands, vt as isShellWrapperExecutable, wn as describeUnknownError$1, wr as triggerInternalHook, wt as resolveSafeBinProfiles, xn as resolveProfilesUnavailableReason, xr as listPluginCommands, xt as splitShellArgs, yn as markAuthProfileFailure, yr as executePluginCommand, yt as unwrapKnownDispatchWrapperInvocation, z as loadPluginManifestRegistry, zt as isCliProvider } from "./config-
|
|
3
|
-
import { A as createNonExitingRuntime, C as sleep$1, D as isPlainObject, E as truncateUtf16Safe, F as danger, G as getChildLogger, H as colorize, J as normalizeLogLevel, L as logVerbose, M as clearActiveProgressLine, N as registerActiveProgressLine, O as createSubsystemLogger, P as unregisterActiveProgressLine, R as setVerbose, S as shortenHomePath, U as isRich, V as warn, W as theme, X as FLAG_TERMINATOR, Y as resolvePreferredOpenClawTmpDir, Z as consumeRootOptionToken, a as CONFIG_DIR, d as formatTerminalLink, f as isRecord$2, h as normalizeE164, i as logWarn, j as defaultRuntime, l as ensureDir$3, n as logError, r as logInfo, s as clampInt, t as logDebug, u as escapeRegExp, w as sliceUtf16Safe, x as shortenHomeInString, y as resolveUserPath, z as shouldLogVerbose } from "./logger-
|
|
1
|
+
import { $ as normalizeAgentId, C as filterBootstrapFilesForSession, D as runCommandWithTimeout, G as toAgentModelListLike, J as buildAgentMainSessionKey, K as DEFAULT_AGENT_ID, M as openBoundaryFileSync, O as runExec, Q as isValidAgentId, S as ensureAgentWorkspace, T as resolveOpenClawPackageRoot, U as resolveAgentModelFallbackValues, V as normalizeWindowsPathForComparison, W as resolveAgentModelPrimaryValue, Y as buildAgentPeerSessionKey, Z as classifySessionKeyShape, a as resolveAgentDir, at as DEFAULT_ACCOUNT_ID, c as resolveAgentWorkspaceDir, ct as isBlockedObjectKey, d as resolveRunModelFallbacksOverride, dt as isAcpSessionKey, et as normalizeMainKey, f as resolveSessionAgentId, ft as isCronSessionKey, g as DEFAULT_BOOTSTRAP_FILENAME, h as DEFAULT_AGENT_WORKSPACE_DIR, ht as resolveThreadParentSessionKey, i as resolveAgentConfig, it as scopedHeartbeatWakeOptions, j as openBoundaryFile, k as spawnWithFallback, l as resolveDefaultAgentId, lt as deriveSessionChatType, mt as parseAgentSessionKey, n as hasConfiguredModelFallbacks, nt as resolveThreadSessionKeys, ot as normalizeAccountId$2, p as resolveSessionAgentIds, pt as isSubagentSessionKey, q as DEFAULT_MAIN_KEY, r as listAgentIds, rt as sanitizeAgentId, s as resolveAgentSkillsFilter, st as normalizeOptionalAccountId, t as runTasksWithConcurrency, tt as resolveAgentIdFromSessionKey, u as resolveEffectiveModelFallbacks, ut as getSubagentDepth, v as DEFAULT_IDENTITY_FILENAME, w as loadWorkspaceBootstrapFiles } from "./run-with-concurrency-C_KCHwvf.js";
|
|
2
|
+
import { $ as getConfigValueAtPath, $n as parseBooleanValue$1, An as dedupeProfileIds, At as resolveSlackStreamingMode, B as discoverOpenClawPlugins, Bn as resolveAuthProfileDisplayLabel, Bt as modelKey, Cn as resolveSecretRefValues, Cr as createInternalHookEvent, Ct as normalizeSafeBinProfileFixtures, Dn as parseDotPath, Dt as mapStreamingModeToSlackLegacyDraftStreamMode, En as isRecord$1, Er as resolveCliName, Et as isSafeExecutableValue, F as isAvatarHttpUrl, Fn as resolveOpenClawAgentDir, Ft as buildAllowedModelSet, G as applyTestPluginDefaults, Gn as DEFAULT_MODEL, Gt as resolveModelRefFromString, H as safeStatSync, Hn as normalizeSecretInput, Ht as normalizeProviderId, I as isPathWithinRoot, In as withFileLock, It as buildConfiguredAllowlistKeys, J as resolveMemorySlotDecision, Jn as getShellPathFromLoginShell, Jt as resolveThinkingDefault, K as normalizePluginsConfig, Kn as DEFAULT_PROVIDER, Kt as resolveReasoningDefault, L as isSupportedLocalAvatarExtension, Lt as buildModelAliasIndex, Mn as markAuthProfileGood, N as AVATAR_MAX_BYTES, Nn as ensureAuthProfileStore, Nt as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH, On as secretRefKey, Ot as resolveDiscordPreviewStreamMode, P as isAvatarDataUrl, Pn as resolveAuthStorePathForDisplay, Pt as resolveAgentMaxConcurrent, Q as unsetConfigOverride, Qn as isTruthyEnvValue, R as validateJsonSchemaValue, Rt as findNormalizedProviderValue, Sn as resolveApiKeyForProfile, Sr as matchPluginCommand, St as SAFE_BIN_PROFILES, Tn as isNonEmptyString, Tr as formatCliCommand, Tt as applyMergePatch, Un as splitTrailingAuthProfile, Ut as resolveConfiguredModelRef, V as isPathInside, Vt as normalizeModelRef$2, W as MANIFEST_KEY, Wn as DEFAULT_CONTEXT_TOKENS, Wt as resolveDefaultModelForAgent, X as resetConfigOverrides, Xn as isDangerousHostEnvVarName, Y as getConfigOverrides, Yn as resolveShellEnvFallbackTimeoutMs, Z as setConfigOverride, Zn as resolveOwnerDisplaySetting, _ as normalizeScpRemoteHost, _n as getSoonestCooldownExpiry, _r as normalizePluginHttpPath, _t as isDispatchWrapperExecutable, a as resolveConfigSnapshotHash, an as buildAssistantMessageWithZeroUsage, ar as CHAT_CHANNEL_ORDER, at as listWritableExplicitTrustedSafeBinDirs, b as parseDurationMs, bn as markAuthProfileUsed, br as getPluginCommandSpecs, bt as unwrapKnownShellMultiplexerInvocation, cn as getApiKeyForModel, cr as normalizeAnyChannelId, ct as analyzeShellCommand, d as resolveTelegramCustomCommands, dn as resolveApiKeyForProvider, dr as getActivePluginRegistry, dt as splitCommandChain, en as resolveRetryConfig, er as coerceSecretRef, et as parseConfigPath, fn as resolveEnvApiKey, fr as getActivePluginRegistryKey, ft as DEFAULT_SAFE_BINS, g as resolveIMessageRemoteAttachmentRoots, gn as clearExpiredCooldowns, gr as createPluginRegistry, gt as extractShellWrapperInlineCommand, h as resolveIMessageAttachmentRoots, hn as resolveAuthProfileOrder, hr as setActivePluginRegistry, ht as resolveCommandResolutionFromArgv, in as buildAssistantMessage, it as isTrustedSafeBinPath, jn as listProfilesForProvider, kt as resolveSlackNativeStreaming, l as TELEGRAM_COMMAND_NAME_PATTERN, ln as getCustomProviderApiKey, lr as normalizeChannelId$1, lt as buildEnforcedShellCommand, mr as requireActivePluginRegistry, mt as resolveAllowlistCandidatePath, n as loadConfig, nn as OLLAMA_NATIVE_BASE_URL, nr as normalizeResolvedSecretInputString, nt as unsetConfigValueAtPath, o as writeConfigFile, on as buildStreamErrorAssistantMessage, or as getChatChannelMeta, ot as normalizeTrustedSafeBinDirs, p as isInboundPathAllowed, pn as resolveModelAuthMode, pt as matchAllowlist, q as resolveEffectiveEnableState, qn as VERSION, qt as resolveSubagentSpawnModelSelection, r as readConfigFileSnapshot, rn as createOllamaStreamFn, rr as resolveSecretInputRef, rt as getTrustedSafeBinDirs, s as validateConfigObjectWithPlugins, sn as buildUsageWithNoCost, sr as listChatChannels, st as validateSafeBinArgv, tn as retryAsync, tr as hasConfiguredSecretInput, tt as setConfigValueAtPath, u as normalizeTelegramCommandName, un as requireApiKey, ur as normalizeChatChannelId, ut as isWindowsPlatform, v as parseNonNegativeByteSize, vn as isProfileInCooldown, vr as clearPluginCommands, vt as isShellWrapperExecutable, wn as describeUnknownError$1, wr as triggerInternalHook, wt as resolveSafeBinProfiles, xn as resolveProfilesUnavailableReason, xr as listPluginCommands, xt as splitShellArgs, yn as markAuthProfileFailure, yr as executePluginCommand, yt as unwrapKnownDispatchWrapperInvocation, z as loadPluginManifestRegistry, zt as isCliProvider } from "./config-B1z-UxQ3.js";
|
|
3
|
+
import { A as createNonExitingRuntime, C as sleep$1, D as isPlainObject, E as truncateUtf16Safe, F as danger, G as getChildLogger, H as colorize, J as normalizeLogLevel, L as logVerbose, M as clearActiveProgressLine, N as registerActiveProgressLine, O as createSubsystemLogger, P as unregisterActiveProgressLine, R as setVerbose, S as shortenHomePath, U as isRich, V as warn, W as theme, X as FLAG_TERMINATOR, Y as resolvePreferredOpenClawTmpDir, Z as consumeRootOptionToken, a as CONFIG_DIR, d as formatTerminalLink, f as isRecord$2, h as normalizeE164, i as logWarn, j as defaultRuntime, l as ensureDir$3, n as logError, r as logInfo, s as clampInt, t as logDebug, u as escapeRegExp, w as sliceUtf16Safe, x as shortenHomeInString, y as resolveUserPath, z as shouldLogVerbose } from "./logger-CvPFVOgT.js";
|
|
4
4
|
import { a as resolveGatewayPort, c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, n as STATE_DIR, r as resolveConfigPath } from "./paths-0d8fBoC4.js";
|
|
5
|
-
import { _ as webAuthExists, c as logWebSelfId, i as resolveWhatsAppAccount, l as logoutWeb, p as readWebSelfId, s as getWebAuthAgeMs, t as hasAnyWhatsAppAuth, v as resolveAccountEntry } from "./accounts-
|
|
6
|
-
import { C as normalizeWhatsAppTarget, S as isWhatsAppGroupJid, _ as normalizeChatType, b as resolveDiscordAccount, c as listTelegramAccountIds, d as buildChannelAccountBindings, f as listBindings, g as resolveSlackBotToken, h as resolveSlackAppToken, l as resolveTelegramAccount, m as resolveSlackReplyToMode, n as listChannelPlugins, o as createTelegramActionGate, p as resolveSlackAccount, r as normalizeChannelId$2, s as listEnabledTelegramAccounts, t as getChannelPlugin, u as resolveTelegramToken, v as createDiscordActionGate, x as normalizeDiscordToken, y as listEnabledDiscordAccounts } from "./plugins-
|
|
7
|
-
import { C as resolveChannelGroupRequireMention, S as resolveChannelGroupPolicy, a as normalizeReasoningLevel, b as normalizeStringEntries, c as normalizeVerboseLevel, d as getChannelDock, f as listChannelDocks, i as normalizeElevatedLevel, l as resolveResponseUsageMode, n as formatXHighModelHint, o as normalizeThinkLevel, p as normalizeSignalMessagingTarget, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking, v as normalizeAtHashSlug, w as resolveChannelGroupToolsPolicy, x as normalizeStringEntriesLower, y as normalizeHyphenSlug } from "./thinking-
|
|
8
|
-
import { t as resolveIMessageAccount } from "./accounts-
|
|
9
|
-
import { a as validateSlackBlocksArray, c as resolveSlackWebClientOptions, i as parseSlackBlocksInput, l as parseSlackTarget, n as markdownToSlackMrkdwnChunks, o as buildSlackBlocksFallbackText, r as normalizeSlackOutboundText, s as createSlackWebClient, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-
|
|
10
|
-
import { a as imageResultFromFile, c as readNumberParam, d as readStringOrNumberParam, f as readStringParam, h as unknownTargetError, i as imageResult, l as readReactionParams, m as missingTargetError, n as ToolInputError, o as jsonResult, p as ambiguousTargetError, r as createActionGate, s as parseAvailableTags, u as readStringArrayParam } from "./common-
|
|
11
|
-
import { A as GATEWAY_CLIENT_NAMES, C as isMarkdownCapableMessageChannel, D as resolveMessageChannel, E as resolveGatewayMessageChannel, O as GATEWAY_CLIENT_IDS, S as isInternalMessageChannel, T as normalizeMessageChannel, b as isDeliverableMessageChannel, c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, k as GATEWAY_CLIENT_MODES, l as extensionForMime, m as kindFromMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime, w as listDeliverableMessageChannels, x as isGatewayMessageChannel, y as INTERNAL_MESSAGE_CHANNEL } from "./image-ops-
|
|
12
|
-
import { $ as mergeAlsoAllowPolicy, $t as canonicalizeMainSessionAlias, A as isTransientHttpError, At as normalizeAccountId$3, B as registerBrowserRoutes, Bt as jsonUtf8Bytes, C as isCompactionFailureError, Ct as isCacheEnabled, D as isLikelyContextOverflowError, Dt as mergeDeliveryContext, E as isFailoverErrorMessage, Et as deliveryContextKey, F as isTimeoutErrorMessage, Ft as parseInlineDirectives$1, G as resolveBrowserControlAuth, Gt as resolveChannelResetConfig, H as resolveProfile, Ht as resolveSessionLockMaxHoldFromTimeout, I as ensureSandboxWorkspaceForSession, It as INPUT_PROVENANCE_KIND_VALUES, J as resolveSandboxConfigForAgent, Jt as resolveThreadFlag, K as resolveGatewayCredentialsFromConfig, Kt as resolveSessionResetPolicy, L as resolveSandboxContext, Lt as applyInputProvenanceToUserMessage, M as parseImageSizeError, Mt as capArrayByJsonBytes, N as sanitizeUserFacingText, Nt as countToolResults, O as isRateLimitAssistantError, Ot as normalizeDeliveryContext, P as isAuthPermanentErrorMessage, Pt as extractToolCallNames, Q as expandPolicyWithPluginGroups, Qt as setSessionRuntimeModel, R as resolveSandboxRuntimeStatus, Rt as hasInterSessionUserProvenance, S as isCloudCodeAssistFormatError, St as updateSessionStoreEntry, T as isFailoverAssistantError, Tt as deliveryContextFromSession, U as getBridgeAuthForPort, Ut as resolveSessionKey, V as resolveBrowserConfig, Vt as acquireSessionWriteLock, W as ensureBrowserControlAuth, Wt as evaluateSessionFreshness, X as buildPluginToolGroups, Xt as mergeSessionEntry, Y as applyOwnerOnlyToolPolicy, Yt as DEFAULT_RESET_TRIGGERS, Z as collectExplicitAllowlist, Zt as resolveFreshSessionTotalTokens, _ as formatBillingErrorMessage, _t as loadSessionStore, a as isMessagingToolDuplicateNormalized, at as matchesAnyGlobPattern, b as isAuthAssistantError, bt as updateLastRoute, c as extractToolCallsFromAssistant, ct as resolveBootstrapMaxChars, d as downgradeOpenAIFunctionCallReasoningPairs, dt as sanitizeGoogleTurnOrdering, en as resolveExplicitAgentSessionKey, et as stripPluginOnlyAllowlist, f as downgradeOpenAIReasoningBlocks, ft as extractDeliveryInfo, g as formatAssistantErrorText, gt as resolveAndPersistSessionFile, h as classifyFailoverReason, in as resolveGroupSessionKey, it as compileGlobPatterns, j as parseImageDimensionError, jt as archiveSessionTranscripts, k as isRawApiErrorPayload, kt as normalizeSessionDeliveryFields, l as extractToolResultId, lt as resolveBootstrapPromptTruncationWarningMode, m as BILLING_ERROR_USER_MESSAGE, mt as appendAssistantMessageToSessionTranscript, n as validateGeminiTurns, nn as deriveSessionMetaPatch, nt as normalizeToolName, o as normalizeTextForComparison, ot as buildBootstrapContextFiles, p as isGoogleModelApi, pt as parseSessionThreadInfo, q as trimToUndefined$1, qt as resolveSessionResetType, r as pickFallbackThinkingLevel, rn as resolveConversationLabel, rt as resolveToolProfilePolicy, s as sanitizeSessionMessagesImages, st as ensureSessionHeader, t as validateAnthropicTurns, tn as resolveMainSessionKey, tt as expandToolGroups, u as sanitizeToolCallIdsForCloudCodeAssist, ut as resolveBootstrapTotalMaxChars, v as formatRawAssistantErrorForUi, vt as readSessionUpdatedAt, w as isContextOverflowError, wt as resolveCacheTtlMs$1, x as isBillingAssistantError, xt as updateSessionStore, y as getApiErrorPayloadFingerprint, yt as recordSessionMetaFromInbound, z as createBrowserRouteContext, zt as normalizeInputProvenance } from "./pi-embedded-helpers-
|
|
13
|
-
import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-
|
|
14
|
-
import { $ as stripUndefinedFields, A as unpinMessageDiscord, At as resolveChannelEntryMatchWithFallback, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveDiscordSystemLocation, D as pinMessageDiscord, Dt as applyChannelMatchMeta, E as listThreadsDiscord, Et as fetchDiscord, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, Ot as buildChannelKeyCandidates, P as fetchChannelInfoDiscord, Q as sendDiscordText, R as kickMemberDiscord, S as deleteMessageDiscord, St as formatDiscordUserTag, T as listPinsDiscord, Tt as DiscordApiError, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendStickerDiscord, _t as resolveDiscordOwnerAllowFrom, a as sendDiscordComponentMessage, at as parseDiscordTarget, b as formatMention, bt as shouldEmitDiscordReactionNotification, c as parseDiscordComponentCustomId, ct as listDiscordDirectoryPeersLive, d as parseDiscordModalCustomIdForCarbon, dt as normalizeDiscordSlug, et as fetchChannelPermissionsDiscord, f as readDiscordComponentSpec, ft as resolveDiscordAllowListMatch, g as sendPollDiscord, gt as resolveDiscordOwnerAccess, h as sendMessageDiscord, ht as resolveDiscordMemberAccessState, i as removeReactionDiscord, it as chunkDiscordTextWithMode, j as addRoleDiscord, k as searchMessagesDiscord, kt as normalizeChannelSlug, l as parseDiscordComponentCustomIdForCarbon, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordModalEntry, mt as resolveDiscordGuildEntry, n as reactMessageDiscord, nt as createDiscordClient, o as createDiscordFormModal, ot as resolveDiscordChannelId, p as resolveDiscordComponentEntry, pt as resolveDiscordChannelConfigWithFallback, q as deleteChannelDiscord, r as removeOwnReactionsDiscord, rt as createDiscordRestClient, s as formatDiscordComponentEventText, st as listDiscordDirectoryGroupsLive, t as fetchReactionsDiscord, tt as hasAnyGuildPermissionDiscord, u as parseDiscordModalCustomId, ut as normalizeDiscordAllowList, v as sendVoiceMessageDiscord, vt as resolveDiscordShouldRequireMention, w as fetchMessageDiscord, wt as resolveTimestampMs, x as createThreadDiscord, xt as formatDiscordReactionEmoji, y as sendWebhookMessageDiscord, yt as resolveGroupDmAllow, z as listGuildChannelsDiscord } from "./send-
|
|
5
|
+
import { _ as webAuthExists, c as logWebSelfId, i as resolveWhatsAppAccount, l as logoutWeb, p as readWebSelfId, s as getWebAuthAgeMs, t as hasAnyWhatsAppAuth, v as resolveAccountEntry } from "./accounts-CNCCkdEF.js";
|
|
6
|
+
import { C as normalizeWhatsAppTarget, S as isWhatsAppGroupJid, _ as normalizeChatType, b as resolveDiscordAccount, c as listTelegramAccountIds, d as buildChannelAccountBindings, f as listBindings, g as resolveSlackBotToken, h as resolveSlackAppToken, l as resolveTelegramAccount, m as resolveSlackReplyToMode, n as listChannelPlugins, o as createTelegramActionGate, p as resolveSlackAccount, r as normalizeChannelId$2, s as listEnabledTelegramAccounts, t as getChannelPlugin, u as resolveTelegramToken, v as createDiscordActionGate, x as normalizeDiscordToken, y as listEnabledDiscordAccounts } from "./plugins-C4USiH29.js";
|
|
7
|
+
import { C as resolveChannelGroupRequireMention, S as resolveChannelGroupPolicy, a as normalizeReasoningLevel, b as normalizeStringEntries, c as normalizeVerboseLevel, d as getChannelDock, f as listChannelDocks, i as normalizeElevatedLevel, l as resolveResponseUsageMode, n as formatXHighModelHint, o as normalizeThinkLevel, p as normalizeSignalMessagingTarget, s as normalizeUsageDisplay, t as formatThinkingLevels, u as supportsXHighThinking, v as normalizeAtHashSlug, w as resolveChannelGroupToolsPolicy, x as normalizeStringEntriesLower, y as normalizeHyphenSlug } from "./thinking-DOnsR_A8.js";
|
|
8
|
+
import { t as resolveIMessageAccount } from "./accounts-BslAlVYS.js";
|
|
9
|
+
import { a as validateSlackBlocksArray, c as resolveSlackWebClientOptions, i as parseSlackBlocksInput, l as parseSlackTarget, n as markdownToSlackMrkdwnChunks, o as buildSlackBlocksFallbackText, r as normalizeSlackOutboundText, s as createSlackWebClient, t as sendMessageSlack, u as resolveSlackChannelId } from "./send-C0w6xP2x.js";
|
|
10
|
+
import { a as imageResultFromFile, c as readNumberParam, d as readStringOrNumberParam, f as readStringParam, h as unknownTargetError, i as imageResult, l as readReactionParams, m as missingTargetError, n as ToolInputError, o as jsonResult, p as ambiguousTargetError, r as createActionGate, s as parseAvailableTags, u as readStringArrayParam } from "./common-oYc5vPFl.js";
|
|
11
|
+
import { A as GATEWAY_CLIENT_NAMES, C as isMarkdownCapableMessageChannel, D as resolveMessageChannel, E as resolveGatewayMessageChannel, O as GATEWAY_CLIENT_IDS, S as isInternalMessageChannel, T as normalizeMessageChannel, b as isDeliverableMessageChannel, c as detectMime, d as imageMimeFromFormat, f as isAudioFileName, g as MAX_IMAGE_BYTES, i as getImageMetadata, k as GATEWAY_CLIENT_MODES, l as extensionForMime, m as kindFromMime, p as isGifMedia, s as resizeToJpeg, v as mediaKindFromMime, w as listDeliverableMessageChannels, x as isGatewayMessageChannel, y as INTERNAL_MESSAGE_CHANNEL } from "./image-ops-Cbzr4U9l.js";
|
|
12
|
+
import { $ as mergeAlsoAllowPolicy, $t as canonicalizeMainSessionAlias, A as isTransientHttpError, At as normalizeAccountId$3, B as registerBrowserRoutes, Bt as jsonUtf8Bytes, C as isCompactionFailureError, Ct as isCacheEnabled, D as isLikelyContextOverflowError, Dt as mergeDeliveryContext, E as isFailoverErrorMessage, Et as deliveryContextKey, F as isTimeoutErrorMessage, Ft as parseInlineDirectives$1, G as resolveBrowserControlAuth, Gt as resolveChannelResetConfig, H as resolveProfile, Ht as resolveSessionLockMaxHoldFromTimeout, I as ensureSandboxWorkspaceForSession, It as INPUT_PROVENANCE_KIND_VALUES, J as resolveSandboxConfigForAgent, Jt as resolveThreadFlag, K as resolveGatewayCredentialsFromConfig, Kt as resolveSessionResetPolicy, L as resolveSandboxContext, Lt as applyInputProvenanceToUserMessage, M as parseImageSizeError, Mt as capArrayByJsonBytes, N as sanitizeUserFacingText, Nt as countToolResults, O as isRateLimitAssistantError, Ot as normalizeDeliveryContext, P as isAuthPermanentErrorMessage, Pt as extractToolCallNames, Q as expandPolicyWithPluginGroups, Qt as setSessionRuntimeModel, R as resolveSandboxRuntimeStatus, Rt as hasInterSessionUserProvenance, S as isCloudCodeAssistFormatError, St as updateSessionStoreEntry, T as isFailoverAssistantError, Tt as deliveryContextFromSession, U as getBridgeAuthForPort, Ut as resolveSessionKey, V as resolveBrowserConfig, Vt as acquireSessionWriteLock, W as ensureBrowserControlAuth, Wt as evaluateSessionFreshness, X as buildPluginToolGroups, Xt as mergeSessionEntry, Y as applyOwnerOnlyToolPolicy, Yt as DEFAULT_RESET_TRIGGERS, Z as collectExplicitAllowlist, Zt as resolveFreshSessionTotalTokens, _ as formatBillingErrorMessage, _t as loadSessionStore, a as isMessagingToolDuplicateNormalized, at as matchesAnyGlobPattern, b as isAuthAssistantError, bt as updateLastRoute, c as extractToolCallsFromAssistant, ct as resolveBootstrapMaxChars, d as downgradeOpenAIFunctionCallReasoningPairs, dt as sanitizeGoogleTurnOrdering, en as resolveExplicitAgentSessionKey, et as stripPluginOnlyAllowlist, f as downgradeOpenAIReasoningBlocks, ft as extractDeliveryInfo, g as formatAssistantErrorText, gt as resolveAndPersistSessionFile, h as classifyFailoverReason, in as resolveGroupSessionKey, it as compileGlobPatterns, j as parseImageDimensionError, jt as archiveSessionTranscripts, k as isRawApiErrorPayload, kt as normalizeSessionDeliveryFields, l as extractToolResultId, lt as resolveBootstrapPromptTruncationWarningMode, m as BILLING_ERROR_USER_MESSAGE, mt as appendAssistantMessageToSessionTranscript, n as validateGeminiTurns, nn as deriveSessionMetaPatch, nt as normalizeToolName, o as normalizeTextForComparison, ot as buildBootstrapContextFiles, p as isGoogleModelApi, pt as parseSessionThreadInfo, q as trimToUndefined$1, qt as resolveSessionResetType, r as pickFallbackThinkingLevel, rn as resolveConversationLabel, rt as resolveToolProfilePolicy, s as sanitizeSessionMessagesImages, st as ensureSessionHeader, t as validateAnthropicTurns, tn as resolveMainSessionKey, tt as expandToolGroups, u as sanitizeToolCallIdsForCloudCodeAssist, ut as resolveBootstrapTotalMaxChars, v as formatRawAssistantErrorForUi, vt as readSessionUpdatedAt, w as isContextOverflowError, wt as resolveCacheTtlMs$1, x as isBillingAssistantError, xt as updateSessionStore, y as getApiErrorPayloadFingerprint, yt as recordSessionMetaFromInbound, z as createBrowserRouteContext, zt as normalizeInputProvenance } from "./pi-embedded-helpers-DIxXkGJf.js";
|
|
13
|
+
import { n as resolveSignalAccount, t as listEnabledSignalAccounts } from "./accounts-C3m65--E.js";
|
|
14
|
+
import { $ as stripUndefinedFields, A as unpinMessageDiscord, At as resolveChannelEntryMatchWithFallback, B as listScheduledEventsDiscord, C as editMessageDiscord, Ct as resolveDiscordSystemLocation, D as pinMessageDiscord, Dt as applyChannelMatchMeta, E as listThreadsDiscord, Et as fetchDiscord, F as fetchMemberInfoDiscord, G as uploadStickerDiscord, H as timeoutMemberDiscord, I as fetchRoleInfoDiscord, J as editChannelDiscord, K as createChannelDiscord, L as fetchVoiceStatusDiscord, M as banMemberDiscord, N as createScheduledEventDiscord, O as readMessagesDiscord, Ot as buildChannelKeyCandidates, P as fetchChannelInfoDiscord, Q as sendDiscordText, R as kickMemberDiscord, S as deleteMessageDiscord, St as formatDiscordUserTag, T as listPinsDiscord, Tt as DiscordApiError, U as listGuildEmojisDiscord, V as removeRoleDiscord, W as uploadEmojiDiscord, X as removeChannelPermissionDiscord, Y as moveChannelDiscord, Z as setChannelPermissionDiscord, _ as sendStickerDiscord, _t as resolveDiscordOwnerAllowFrom, a as sendDiscordComponentMessage, at as parseDiscordTarget, b as formatMention, bt as shouldEmitDiscordReactionNotification, c as parseDiscordComponentCustomId, ct as listDiscordDirectoryPeersLive, d as parseDiscordModalCustomIdForCarbon, dt as normalizeDiscordSlug, et as fetchChannelPermissionsDiscord, f as readDiscordComponentSpec, ft as resolveDiscordAllowListMatch, g as sendPollDiscord, gt as resolveDiscordOwnerAccess, h as sendMessageDiscord, ht as resolveDiscordMemberAccessState, i as removeReactionDiscord, it as chunkDiscordTextWithMode, j as addRoleDiscord, k as searchMessagesDiscord, kt as normalizeChannelSlug, l as parseDiscordComponentCustomIdForCarbon, lt as isDiscordGroupAllowedByPolicy, m as resolveDiscordModalEntry, mt as resolveDiscordGuildEntry, n as reactMessageDiscord, nt as createDiscordClient, o as createDiscordFormModal, ot as resolveDiscordChannelId, p as resolveDiscordComponentEntry, pt as resolveDiscordChannelConfigWithFallback, q as deleteChannelDiscord, r as removeOwnReactionsDiscord, rt as createDiscordRestClient, s as formatDiscordComponentEventText, st as listDiscordDirectoryGroupsLive, t as fetchReactionsDiscord, tt as hasAnyGuildPermissionDiscord, u as parseDiscordModalCustomId, ut as normalizeDiscordAllowList, v as sendVoiceMessageDiscord, vt as resolveDiscordShouldRequireMention, w as fetchMessageDiscord, wt as resolveTimestampMs, x as createThreadDiscord, xt as formatDiscordReactionEmoji, y as sendWebhookMessageDiscord, yt as resolveGroupDmAllow, z as listGuildChannelsDiscord } from "./send-CFf-1V89.js";
|
|
15
15
|
import { a as saveJsonFile, i as loadJsonFile } from "./github-copilot-token-CKKBybuX.js";
|
|
16
|
-
import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-
|
|
16
|
+
import { i as resolveSessionTranscriptPath, n as resolveSessionFilePath, o as resolveSessionTranscriptsDirForAgent, r as resolveSessionFilePathOptions, s as resolveStorePath, t as resolveDefaultSessionStorePath } from "./paths-Dpg3qxcl.js";
|
|
17
17
|
import { n as readJsonFile, r as writeJsonAtomic, t as createAsyncLock } from "./json-files-DtF9ARSD.js";
|
|
18
18
|
import { n as onSessionTranscriptUpdate, t as emitSessionTranscriptUpdate } from "./transcript-events-C-Yjj9jM.js";
|
|
19
|
-
import { $ as readChannelAllowFromStore, A as expandTextLinks, B as resolveTelegramThreadSpec, C as buildSenderName, D as buildTelegramThreadParams, E as buildTelegramParentPeer, F as resolveTelegramForumThreadId, G as firstDefined$1, H as normalizeAllowFrom$2, I as resolveTelegramGroupAllowFromContext, J as resolveGroupAllowFromSources, K as isSenderIdAllowed, L as resolveTelegramMediaPlaceholder, M as hasBotMention, N as normalizeForwardedContext, O as buildTypingThreadParams, P as resolveTelegramDirectPeerId, Q as addChannelAllowFromStoreEntry, R as resolveTelegramReplyId, S as buildSenderLabel, T as buildTelegramGroupPeerId, U as normalizeDmAllowFromWithStore$1, V as isSenderAllowed$1, W as resolveSenderAllowMatch$1, X as toLocationContext, Y as formatLocationText, Z as isVoiceCompatibleAudio, _ as wrapFileReferencesInHtml, a as reactMessageTelegram, at as getPairingAdapter, b as withTelegramApiErrorLogging, c as sendStickerTelegram, d as resolveCronStorePath, f as wasSentByBot, g as renderTelegramHtmlText, h as markdownToTelegramHtml, i as editMessageTelegram, it as writeJsonFileAtomically, j as extractTelegramLocation, k as describeReplyTarget, l as resolveTelegramVoiceSend, m as markdownToTelegramChunks, n as createForumTopicTelegram, nt as upsertChannelPairingRequest, o as sendMessageTelegram, ot as listPairingChannels, p as isRecoverableTelegramNetworkError, q as mergeDmAllowFromSources, r as deleteMessageTelegram, rt as readJsonFileWithFallback, s as sendPollTelegram, t as buildInlineKeyboard, tt as removeChannelAllowFromStoreEntry, u as loadCronStore, v as resolveTelegramFetch, w as buildTelegramGroupFrom, x as buildGroupLabel, y as splitTelegramCaption, z as resolveTelegramStreamMode } from "./send-
|
|
20
|
-
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-
|
|
21
|
-
import { _ as normalizeMediaUnderstandingChatType, a as resolveAutoImageModel, b as applyTemplate, c as findModelInCatalog, d as buildRandomTempFilePath, f as registerUnhandledRejectionHandler, g as resolveTimeoutMs$2, h as resolveConcurrency, i as normalizeMediaAttachments, l as loadModelCatalog, m as resolveAttachmentKind, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as modelSupportsVision, v as resolveMediaUnderstandingScope, y as CLI_OUTPUT_MAX_BUFFER } from "./audio-transcription-runner-
|
|
22
|
-
import { C as ensureOpenClawModelsJson, S as extractTextFromChatContent, _ as formatToolSummary, a as resolveProviderVisionModelFromConfig, b as findCodeRegions, c as extractThinkingFromTaggedStream, d as inferToolMetaFromArgs, f as isAssistantMessage, g as stripThinkingTagsFromText, h as stripMinimaxToolCallXml, i as decodeDataUrl, l as extractThinkingFromTaggedText, m as stripDowngradedToolCallText, n as coerceImageAssistantText, o as extractAssistantText$1, p as promoteThinkingTagsToBlocks, r as coerceImageModelConfig, s as extractAssistantThinking, u as formatReasoningMessage, v as resolveToolDisplay, w as minimaxUnderstandImage, x as isInsideCode, y as stripReasoningTagsFromText } from "./image-
|
|
23
|
-
import { A as rawDataToString, B as isSecureWebSocketUrl, C as ensureChromeExtensionRelayServer, N as DEFAULT_UPLOAD_DIR, P as resolveExistingPathsWithinRoot, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, s as resolveLsofCommandSync, z as isLoopbackHost } from "./chrome-
|
|
24
|
-
import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-
|
|
25
|
-
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-
|
|
26
|
-
import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-
|
|
27
|
-
import { i as formatUncaughtError, o as readErrorName, r as formatErrorMessage } from "./errors-
|
|
28
|
-
import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-
|
|
29
|
-
import { a as isBlockedHostnameOrIp, c as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-
|
|
30
|
-
import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-
|
|
19
|
+
import { $ as readChannelAllowFromStore, A as expandTextLinks, B as resolveTelegramThreadSpec, C as buildSenderName, D as buildTelegramThreadParams, E as buildTelegramParentPeer, F as resolveTelegramForumThreadId, G as firstDefined$1, H as normalizeAllowFrom$2, I as resolveTelegramGroupAllowFromContext, J as resolveGroupAllowFromSources, K as isSenderIdAllowed, L as resolveTelegramMediaPlaceholder, M as hasBotMention, N as normalizeForwardedContext, O as buildTypingThreadParams, P as resolveTelegramDirectPeerId, Q as addChannelAllowFromStoreEntry, R as resolveTelegramReplyId, S as buildSenderLabel, T as buildTelegramGroupPeerId, U as normalizeDmAllowFromWithStore$1, V as isSenderAllowed$1, W as resolveSenderAllowMatch$1, X as toLocationContext, Y as formatLocationText, Z as isVoiceCompatibleAudio, _ as wrapFileReferencesInHtml, a as reactMessageTelegram, at as getPairingAdapter, b as withTelegramApiErrorLogging, c as sendStickerTelegram, d as resolveCronStorePath, f as wasSentByBot, g as renderTelegramHtmlText, h as markdownToTelegramHtml, i as editMessageTelegram, it as writeJsonFileAtomically, j as extractTelegramLocation, k as describeReplyTarget, l as resolveTelegramVoiceSend, m as markdownToTelegramChunks, n as createForumTopicTelegram, nt as upsertChannelPairingRequest, o as sendMessageTelegram, ot as listPairingChannels, p as isRecoverableTelegramNetworkError, q as mergeDmAllowFromSources, r as deleteMessageTelegram, rt as readJsonFileWithFallback, s as sendPollTelegram, t as buildInlineKeyboard, tt as removeChannelAllowFromStoreEntry, u as loadCronStore, v as resolveTelegramFetch, w as buildTelegramGroupFrom, x as buildGroupLabel, y as splitTelegramCaption, z as resolveTelegramStreamMode } from "./send-qPyNGSe4.js";
|
|
20
|
+
import { a as stripSilentToken, i as isSilentReplyText, n as SILENT_REPLY_TOKEN, r as isSilentReplyPrefixText, t as HEARTBEAT_TOKEN } from "./tokens-BDr0Z9o3.js";
|
|
21
|
+
import { _ as normalizeMediaUnderstandingChatType, a as resolveAutoImageModel, b as applyTemplate, c as findModelInCatalog, d as buildRandomTempFilePath, f as registerUnhandledRejectionHandler, g as resolveTimeoutMs$2, h as resolveConcurrency, i as normalizeMediaAttachments, l as loadModelCatalog, m as resolveAttachmentKind, n as buildProviderRegistry, o as resolveMediaAttachmentLocalRoots, r as createMediaAttachmentCache, s as runCapability, t as runAudioTranscription, u as modelSupportsVision, v as resolveMediaUnderstandingScope, y as CLI_OUTPUT_MAX_BUFFER } from "./audio-transcription-runner-DnxvOS1-.js";
|
|
22
|
+
import { C as ensureOpenClawModelsJson, S as extractTextFromChatContent, _ as formatToolSummary, a as resolveProviderVisionModelFromConfig, b as findCodeRegions, c as extractThinkingFromTaggedStream, d as inferToolMetaFromArgs, f as isAssistantMessage, g as stripThinkingTagsFromText, h as stripMinimaxToolCallXml, i as decodeDataUrl, l as extractThinkingFromTaggedText, m as stripDowngradedToolCallText, n as coerceImageAssistantText, o as extractAssistantText$1, p as promoteThinkingTagsToBlocks, r as coerceImageModelConfig, s as extractAssistantThinking, u as formatReasoningMessage, v as resolveToolDisplay, w as minimaxUnderstandImage, x as isInsideCode, y as stripReasoningTagsFromText } from "./image-B2mQW9Rb.js";
|
|
23
|
+
import { A as rawDataToString, B as isSecureWebSocketUrl, C as ensureChromeExtensionRelayServer, N as DEFAULT_UPLOAD_DIR, P as resolveExistingPathsWithinRoot, U as DEFAULT_AI_SNAPSHOT_MAX_CHARS, s as resolveLsofCommandSync, z as isLoopbackHost } from "./chrome-CjNTuJML.js";
|
|
24
|
+
import { c as assertSandboxPath, d as resolveSandboxedMediaSource, f as applySkillEnvOverrides, i as resolveSkillsPromptForRun, l as resolveSandboxInputPath, n as buildWorkspaceSkillSnapshot, p as applySkillEnvOverridesFromSnapshot, r as loadWorkspaceSkillEntries, s as assertMediaNotDataUrl } from "./skills-Cw_vXEJb.js";
|
|
25
|
+
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-sWayacde.js";
|
|
26
|
+
import { i as testRegexWithBoundedInput, r as compileSafeRegex, t as redactSensitiveText } from "./redact-Bvxt1T_Q.js";
|
|
27
|
+
import { i as formatUncaughtError, o as readErrorName, r as formatErrorMessage } from "./errors-B3cHyZZA.js";
|
|
28
|
+
import { a as readFileWithinRoot, c as writeFileWithinRoot, i as openFileWithinRoot, n as copyFileWithinRoot, r as createRootScopedReadFile, t as SafeOpenError } from "./fs-safe-BaKqI3G4.js";
|
|
29
|
+
import { a as isBlockedHostnameOrIp, c as normalizeHostname, n as SsrFBlockedError } from "./proxy-env-ET-rp8eg.js";
|
|
30
|
+
import { i as saveMediaBuffer, r as getMediaDir, t as MEDIA_MAX_BYTES } from "./store-CMHj6IIw.js";
|
|
31
31
|
import { n as generateSecureUuid, t as generateSecureToken } from "./secure-random-D2mQUJdh.js";
|
|
32
|
-
import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-
|
|
32
|
+
import { a as canonicalizeBase64, i as resolveImageSanitizationLimits, n as sanitizeImageBlocks, o as estimateBase64DecodedBytes, r as sanitizeToolResultImages } from "./tool-images-eEfOVkzf.js";
|
|
33
33
|
import { n as fetchWithTimeout, t as bindAbortRelay } from "./fetch-timeout-CR10Uz2k.js";
|
|
34
|
-
import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
35
|
-
import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError, t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
36
|
-
import { t as makeProxyFetch } from "./proxy-fetch-
|
|
37
|
-
import { C as createReplyToModeFilterForChannel, D as normalizeTargetForProvider, E as normalizeChannelTargetInput, O as getGlobalHookRunner, S as shouldSuppressReasoningPayload, T as buildTargetResolverSignature, _ as applyReplyThreading, a as normalizeReplyPayloadsForDelivery, b as isRenderablePayload, c as splitMediaFromOutput, d as toInternalMessageReceivedContext, f as toInternalMessageTranscribedContext, g as applyReplyTagsToPayload, h as fireAndForgetHook, i as normalizeOutboundPayloadsForJson, k as initializeGlobalHookRunner, l as deriveInboundMessageHookContext, m as toPluginMessageReceivedEvent, n as formatOutboundPayloadLog, o as throwIfAborted, p as toPluginMessageContext, r as normalizeOutboundPayloads, s as parseReplyDirectives, t as deliverOutboundPayloads, u as toInternalMessagePreprocessedContext, v as filterMessagingToolDuplicates, w as resolveReplyToMode, x as shouldSuppressMessagingToolReplies, y as filterMessagingToolMediaDuplicates } from "./deliver-
|
|
38
|
-
import { _ as isRestartEnabled, a as listChatCommandsForConfig, c as maybeResolveTextAlias, d as resolveCommandArgChoices, f as resolveCommandArgMenu, g as isNativeCommandsExplicitlyDisabled, h as isCommandFlagEnabled, i as listChatCommands, l as normalizeCommandBody, m as shouldHandleTextCommands, n as findCommandByNativeName, o as listNativeCommandSpecs, p as serializeCommandArgs, r as isCommandEnabled, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as parseCommandArgs, v as resolveNativeCommandsEnabled, y as resolveNativeSkillsEnabled } from "./commands-registry-
|
|
39
|
-
import { a as getRemoteSkillEligibility, c as pruneExpiredPending, i as resolveSkillCommandInvocation, l as resolvePairingPaths, n as listSkillCommandsForAgents, o as ensureSkillsWatcher, r as listSkillCommandsForWorkspace, s as getSkillsSnapshotVersion, t as listReservedChatSlashCommandNames } from "./skill-commands-
|
|
34
|
+
import { n as withStrictGuardedFetchMode, r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-Dcgod0tg.js";
|
|
35
|
+
import { a as readResponseWithLimit, i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError, t as getAgentScopedMediaLocalRoots } from "./local-roots-CIPRxA-4.js";
|
|
36
|
+
import { t as makeProxyFetch } from "./proxy-fetch-uDXGKG3Z.js";
|
|
37
|
+
import { C as createReplyToModeFilterForChannel, D as normalizeTargetForProvider, E as normalizeChannelTargetInput, O as getGlobalHookRunner, S as shouldSuppressReasoningPayload, T as buildTargetResolverSignature, _ as applyReplyThreading, a as normalizeReplyPayloadsForDelivery, b as isRenderablePayload, c as splitMediaFromOutput, d as toInternalMessageReceivedContext, f as toInternalMessageTranscribedContext, g as applyReplyTagsToPayload, h as fireAndForgetHook, i as normalizeOutboundPayloadsForJson, k as initializeGlobalHookRunner, l as deriveInboundMessageHookContext, m as toPluginMessageReceivedEvent, n as formatOutboundPayloadLog, o as throwIfAborted, p as toPluginMessageContext, r as normalizeOutboundPayloads, s as parseReplyDirectives, t as deliverOutboundPayloads, u as toInternalMessagePreprocessedContext, v as filterMessagingToolDuplicates, w as resolveReplyToMode, x as shouldSuppressMessagingToolReplies, y as filterMessagingToolMediaDuplicates } from "./deliver-D5_6T567.js";
|
|
38
|
+
import { _ as isRestartEnabled, a as listChatCommandsForConfig, c as maybeResolveTextAlias, d as resolveCommandArgChoices, f as resolveCommandArgMenu, g as isNativeCommandsExplicitlyDisabled, h as isCommandFlagEnabled, i as listChatCommands, l as normalizeCommandBody, m as shouldHandleTextCommands, n as findCommandByNativeName, o as listNativeCommandSpecs, p as serializeCommandArgs, r as isCommandEnabled, s as listNativeCommandSpecsForConfig, t as buildCommandTextFromArgs, u as parseCommandArgs, v as resolveNativeCommandsEnabled, y as resolveNativeSkillsEnabled } from "./commands-registry-CdYjoI0i.js";
|
|
39
|
+
import { a as getRemoteSkillEligibility, c as pruneExpiredPending, i as resolveSkillCommandInvocation, l as resolvePairingPaths, n as listSkillCommandsForAgents, o as ensureSkillsWatcher, r as listSkillCommandsForWorkspace, s as getSkillsSnapshotVersion, t as listReservedChatSlashCommandNames } from "./skill-commands-DZqhtmiv.js";
|
|
40
40
|
import { n as wrapFetchWithAbortSignal, t as resolveFetch } from "./fetch-O45GieZo.js";
|
|
41
|
-
import { a as logMessageQueued, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, h as getDiagnosticSessionState, i as logMessageProcessed, l as logWebhookProcessed, m as isDiagnosticsEnabled, n as logLaneDequeue, o as logSessionStateChange, p as emitDiagnosticEvent, r as logLaneEnqueue, t as diag, u as logWebhookReceived } from "./diagnostic-
|
|
41
|
+
import { a as logMessageQueued, c as logWebhookError, d as startDiagnosticHeartbeat, f as stopDiagnosticHeartbeat, h as getDiagnosticSessionState, i as logMessageProcessed, l as logWebhookProcessed, m as isDiagnosticsEnabled, n as logLaneDequeue, o as logSessionStateChange, p as emitDiagnosticEvent, r as logLaneEnqueue, t as diag, u as logWebhookReceived } from "./diagnostic-Bxxu0ig-.js";
|
|
42
42
|
import { n as recordCommandPoll, r as resetCommandPollCount } from "./command-poll-backoff-BLkab-vw.js";
|
|
43
43
|
import { i as resolveTelegramTargetChatType, r as parseTelegramTarget } from "./targets-BHZKnwxJ.js";
|
|
44
|
-
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-
|
|
45
|
-
import { _ as isSafeFenceBreak, a as loadWebMedia, c as chunkByNewline, d as chunkMarkdownTextWithMode, f as chunkText, g as findFenceSpanAt, h as resolveTextChunkLimit, i as getDefaultLocalRoots, m as resolveChunkMode, o as loadWebMediaRaw, p as chunkTextWithMode, s as resolveMarkdownTableMode, u as chunkMarkdownText, v as parseFenceSpans } from "./ir-
|
|
44
|
+
import { n as discoverModels, t as discoverAuthStorage } from "./pi-model-discovery-DM_2uFtj.js";
|
|
45
|
+
import { _ as isSafeFenceBreak, a as loadWebMedia, c as chunkByNewline, d as chunkMarkdownTextWithMode, f as chunkText, g as findFenceSpanAt, h as resolveTextChunkLimit, i as getDefaultLocalRoots, m as resolveChunkMode, o as loadWebMediaRaw, p as chunkTextWithMode, s as resolveMarkdownTableMode, u as chunkMarkdownText, v as parseFenceSpans } from "./ir-ZEmrTr4J.js";
|
|
46
46
|
import { n as normalizePollInput } from "./polls-CuwZJ8h2.js";
|
|
47
|
-
import { a as signalCheck, i as resolveSignalRpcContext, n as sendReadReceiptSignal, o as signalRpcRequest, r as sendTypingSignal, s as streamSignalEvents, t as sendMessageSignal } from "./send-
|
|
47
|
+
import { a as signalCheck, i as resolveSignalRpcContext, n as sendReadReceiptSignal, o as signalRpcRequest, r as sendTypingSignal, s as streamSignalEvents, t as sendMessageSignal } from "./send-BZ6nYFZr.js";
|
|
48
48
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-BbCcHhSJ.js";
|
|
49
|
-
import { a as isAllowedIMessageSender, i as formatIMessageChatTarget, n as createIMessageRpcClient, o as normalizeIMessageHandle, r as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, s as parseIMessageTarget, t as sendMessageIMessage } from "./send-
|
|
50
|
-
import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-
|
|
51
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
52
|
-
import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-
|
|
53
|
-
import { n as resolveMemorySearchConfig } from "./manager-
|
|
54
|
-
import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-
|
|
49
|
+
import { a as isAllowedIMessageSender, i as formatIMessageChatTarget, n as createIMessageRpcClient, o as normalizeIMessageHandle, r as DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS, s as parseIMessageTarget, t as sendMessageIMessage } from "./send-CY-Qfwia.js";
|
|
50
|
+
import { n as recordChannelActivity, r as createDiscordRetryRunner, t as getChannelActivity } from "./channel-activity-WJYxcJ3S.js";
|
|
51
|
+
import { t as convertMarkdownTables } from "./tables-CSqrHsKL.js";
|
|
52
|
+
import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-CkPnMUkB.js";
|
|
53
|
+
import { n as resolveMemorySearchConfig } from "./manager-BEoYPn7R.js";
|
|
54
|
+
import { f as listMemoryFiles, p as normalizeExtraMemoryPaths } from "./query-expansion-C6uS-7lj.js";
|
|
55
55
|
import { createRequire } from "node:module";
|
|
56
56
|
import * as path$1 from "node:path";
|
|
57
57
|
import path, { isAbsolute } from "node:path";
|
|
58
58
|
import fs, { existsSync, mkdirSync, mkdtempSync, promises, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
59
59
|
import os, { homedir } from "node:os";
|
|
60
|
-
import
|
|
60
|
+
import json5 from "json5";
|
|
61
61
|
import { inspect, isDeepStrictEqual, promisify } from "node:util";
|
|
62
62
|
import * as fs$2 from "node:fs/promises";
|
|
63
63
|
import fs$1 from "node:fs/promises";
|
|
@@ -1273,7 +1273,7 @@ async function runWithConcurrency(tasks, limit) {
|
|
|
1273
1273
|
//#region src/media-understanding/echo-transcript.ts
|
|
1274
1274
|
let deliverRuntimePromise$2 = null;
|
|
1275
1275
|
function loadDeliverRuntime$2() {
|
|
1276
|
-
deliverRuntimePromise$2 ??= import("./deliver-runtime-
|
|
1276
|
+
deliverRuntimePromise$2 ??= import("./deliver-runtime-C5dgvvga.js");
|
|
1277
1277
|
return deliverRuntimePromise$2;
|
|
1278
1278
|
}
|
|
1279
1279
|
const DEFAULT_ECHO_TRANSCRIPT_FORMAT = "📝 \"{transcript}\"";
|
|
@@ -19354,7 +19354,7 @@ function normalizeReplyPayload(payload, opts = {}) {
|
|
|
19354
19354
|
*/
|
|
19355
19355
|
let deliverRuntimePromise$1 = null;
|
|
19356
19356
|
function loadDeliverRuntime$1() {
|
|
19357
|
-
deliverRuntimePromise$1 ??= import("./deliver-runtime-
|
|
19357
|
+
deliverRuntimePromise$1 ??= import("./deliver-runtime-C5dgvvga.js");
|
|
19358
19358
|
return deliverRuntimePromise$1;
|
|
19359
19359
|
}
|
|
19360
19360
|
/**
|
|
@@ -19882,7 +19882,7 @@ function normalizeSessionKey(value) {
|
|
|
19882
19882
|
function readSessionStore(storePath) {
|
|
19883
19883
|
try {
|
|
19884
19884
|
const raw = fs.readFileSync(storePath, "utf-8");
|
|
19885
|
-
const parsed =
|
|
19885
|
+
const parsed = json5.parse(raw);
|
|
19886
19886
|
if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) return parsed;
|
|
19887
19887
|
} catch {}
|
|
19888
19888
|
return {};
|
|
@@ -20104,7 +20104,7 @@ const DEFAULT_SUBAGENT_ANNOUNCE_TIMEOUT_MS = 6e4;
|
|
|
20104
20104
|
const MAX_TIMER_SAFE_TIMEOUT_MS = 2147e6;
|
|
20105
20105
|
let subagentRegistryRuntimePromise = null;
|
|
20106
20106
|
function loadSubagentRegistryRuntime() {
|
|
20107
|
-
subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-
|
|
20107
|
+
subagentRegistryRuntimePromise ??= import("./subagent-registry-runtime-1lbDyRzz.js");
|
|
20108
20108
|
return subagentRegistryRuntimePromise;
|
|
20109
20109
|
}
|
|
20110
20110
|
const DIRECT_ANNOUNCE_TRANSIENT_RETRY_DELAYS_MS = FAST_TEST_MODE ? [
|
|
@@ -30138,7 +30138,7 @@ const VISION_PROVIDERS = [
|
|
|
30138
30138
|
];
|
|
30139
30139
|
let imageRuntimePromise = null;
|
|
30140
30140
|
function loadImageRuntime() {
|
|
30141
|
-
imageRuntimePromise ??= import("./image-runtime-
|
|
30141
|
+
imageRuntimePromise ??= import("./image-runtime-BFm45j49.js");
|
|
30142
30142
|
return imageRuntimePromise;
|
|
30143
30143
|
}
|
|
30144
30144
|
/**
|
|
@@ -32526,7 +32526,7 @@ async function resolveDiscordPreflightAudioMentionContext(params) {
|
|
|
32526
32526
|
const needsPreflightTranscription = !params.isDirectMessage && params.shouldRequireMention && hasAudioAttachment && !hasTypedText && params.mentionRegexes.length > 0;
|
|
32527
32527
|
let transcript;
|
|
32528
32528
|
if (needsPreflightTranscription) try {
|
|
32529
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
32529
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-CtO4fFvp.js");
|
|
32530
32530
|
const audioUrls = audioAttachments.map((att) => att.url).filter((url) => typeof url === "string" && url.length > 0);
|
|
32531
32531
|
if (audioUrls.length > 0) transcript = await transcribeFirstAudio({
|
|
32532
32532
|
ctx: {
|
|
@@ -36064,7 +36064,7 @@ function ensureContextWindowCacheLoaded() {
|
|
|
36064
36064
|
await ensureOpenClawModelsJson(cfg);
|
|
36065
36065
|
} catch {}
|
|
36066
36066
|
try {
|
|
36067
|
-
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-
|
|
36067
|
+
const { discoverAuthStorage, discoverModels } = await import("./pi-model-discovery-DM_2uFtj.js").then((n) => n.r);
|
|
36068
36068
|
const agentDir = resolveOpenClawAgentDir();
|
|
36069
36069
|
const modelRegistry = discoverModels(discoverAuthStorage(agentDir), agentDir);
|
|
36070
36070
|
applyDiscoveredContextWindows({
|
|
@@ -36410,7 +36410,7 @@ async function createModelSelectionState(params) {
|
|
|
36410
36410
|
}
|
|
36411
36411
|
}
|
|
36412
36412
|
if (sessionEntry && sessionStore && sessionKey && sessionEntry.authProfileOverride) {
|
|
36413
|
-
const { ensureAuthProfileStore } = await import("./config-
|
|
36413
|
+
const { ensureAuthProfileStore } = await import("./config-B1z-UxQ3.js").then((n) => n.mn);
|
|
36414
36414
|
const profile = ensureAuthProfileStore(void 0, { allowKeychainPrompt: false }).profiles[sessionEntry.authProfileOverride];
|
|
36415
36415
|
const providerKey = normalizeProviderId(provider);
|
|
36416
36416
|
if (!profile || normalizeProviderId(profile.provider) !== providerKey) await clearSessionAuthProfileOverride({
|
|
@@ -43963,27 +43963,27 @@ let slackSenderRuntimePromise = null;
|
|
|
43963
43963
|
let signalSenderRuntimePromise = null;
|
|
43964
43964
|
let imessageSenderRuntimePromise = null;
|
|
43965
43965
|
function loadWhatsAppSenderRuntime() {
|
|
43966
|
-
whatsappSenderRuntimePromise ??= import("./deps-send-whatsapp.runtime-
|
|
43966
|
+
whatsappSenderRuntimePromise ??= import("./deps-send-whatsapp.runtime-OLwr-9c8.js");
|
|
43967
43967
|
return whatsappSenderRuntimePromise;
|
|
43968
43968
|
}
|
|
43969
43969
|
function loadTelegramSenderRuntime() {
|
|
43970
|
-
telegramSenderRuntimePromise ??= import("./deps-send-telegram.runtime-
|
|
43970
|
+
telegramSenderRuntimePromise ??= import("./deps-send-telegram.runtime-DNCxIflA.js");
|
|
43971
43971
|
return telegramSenderRuntimePromise;
|
|
43972
43972
|
}
|
|
43973
43973
|
function loadDiscordSenderRuntime() {
|
|
43974
|
-
discordSenderRuntimePromise ??= import("./deps-send-discord.runtime-
|
|
43974
|
+
discordSenderRuntimePromise ??= import("./deps-send-discord.runtime-Dg4N7PHJ.js");
|
|
43975
43975
|
return discordSenderRuntimePromise;
|
|
43976
43976
|
}
|
|
43977
43977
|
function loadSlackSenderRuntime() {
|
|
43978
|
-
slackSenderRuntimePromise ??= import("./deps-send-slack.runtime-
|
|
43978
|
+
slackSenderRuntimePromise ??= import("./deps-send-slack.runtime-1E3BYRdF.js");
|
|
43979
43979
|
return slackSenderRuntimePromise;
|
|
43980
43980
|
}
|
|
43981
43981
|
function loadSignalSenderRuntime() {
|
|
43982
|
-
signalSenderRuntimePromise ??= import("./deps-send-signal.runtime-
|
|
43982
|
+
signalSenderRuntimePromise ??= import("./deps-send-signal.runtime-BM1jRt3G.js");
|
|
43983
43983
|
return signalSenderRuntimePromise;
|
|
43984
43984
|
}
|
|
43985
43985
|
function loadIMessageSenderRuntime() {
|
|
43986
|
-
imessageSenderRuntimePromise ??= import("./deps-send-imessage.runtime-
|
|
43986
|
+
imessageSenderRuntimePromise ??= import("./deps-send-imessage.runtime-0OEwzMQm.js");
|
|
43987
43987
|
return imessageSenderRuntimePromise;
|
|
43988
43988
|
}
|
|
43989
43989
|
function createDefaultDeps() {
|
|
@@ -56801,15 +56801,15 @@ let slashCommandsRuntimePromise = null;
|
|
|
56801
56801
|
let slashDispatchRuntimePromise = null;
|
|
56802
56802
|
let slashSkillCommandsRuntimePromise = null;
|
|
56803
56803
|
function loadSlashCommandsRuntime() {
|
|
56804
|
-
slashCommandsRuntimePromise ??= import("./slash-commands.runtime-
|
|
56804
|
+
slashCommandsRuntimePromise ??= import("./slash-commands.runtime-D67JLweo.js");
|
|
56805
56805
|
return slashCommandsRuntimePromise;
|
|
56806
56806
|
}
|
|
56807
56807
|
function loadSlashDispatchRuntime() {
|
|
56808
|
-
slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-
|
|
56808
|
+
slashDispatchRuntimePromise ??= import("./slash-dispatch.runtime-DvcpvCJ0.js");
|
|
56809
56809
|
return slashDispatchRuntimePromise;
|
|
56810
56810
|
}
|
|
56811
56811
|
function loadSlashSkillCommandsRuntime() {
|
|
56812
|
-
slashSkillCommandsRuntimePromise ??= import("./slash-skill-commands.runtime-
|
|
56812
|
+
slashSkillCommandsRuntimePromise ??= import("./slash-skill-commands.runtime-BM1x3azR.js");
|
|
56813
56813
|
return slashSkillCommandsRuntimePromise;
|
|
56814
56814
|
}
|
|
56815
56815
|
const slackExternalArgMenuStore = createSlackExternalArgMenuStore();
|
|
@@ -57799,7 +57799,7 @@ function collectTelegramUnmentionedGroupIds(groups) {
|
|
|
57799
57799
|
}
|
|
57800
57800
|
let auditMembershipRuntimePromise = null;
|
|
57801
57801
|
function loadAuditMembershipRuntime() {
|
|
57802
|
-
auditMembershipRuntimePromise ??= import("./audit-membership-runtime-
|
|
57802
|
+
auditMembershipRuntimePromise ??= import("./audit-membership-runtime-BpfoSk8M.js");
|
|
57803
57803
|
return auditMembershipRuntimePromise;
|
|
57804
57804
|
}
|
|
57805
57805
|
async function auditTelegramGroupMembership(params) {
|
|
@@ -62491,7 +62491,7 @@ const buildTelegramMessageContext = async ({ primaryCtx, allMedia, replyMedia =
|
|
|
62491
62491
|
const disableAudioPreflight = firstDefined$1(topicConfig?.disableAudioPreflight, groupConfig?.disableAudioPreflight) === true;
|
|
62492
62492
|
let preflightTranscript;
|
|
62493
62493
|
if (isGroup && requireMention && hasAudio && !hasUserText && mentionRegexes.length > 0 && !disableAudioPreflight) try {
|
|
62494
|
-
const { transcribeFirstAudio } = await import("./audio-preflight-
|
|
62494
|
+
const { transcribeFirstAudio } = await import("./audio-preflight-CtO4fFvp.js");
|
|
62495
62495
|
preflightTranscript = await transcribeFirstAudio({
|
|
62496
62496
|
ctx: {
|
|
62497
62497
|
MediaPaths: allMedia.length > 0 ? allMedia.map((m) => m.path) : void 0,
|
|
@@ -65304,7 +65304,7 @@ function createWhatsAppLoginTool() {
|
|
|
65304
65304
|
force: Type.Optional(Type.Boolean())
|
|
65305
65305
|
}),
|
|
65306
65306
|
execute: async (_toolCallId, args) => {
|
|
65307
|
-
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr
|
|
65307
|
+
const { startWebLoginWithQr, waitForWebLogin } = await import("./login-qr-BI3Vi_wJ.js");
|
|
65308
65308
|
if ((args?.action ?? "start") === "wait") {
|
|
65309
65309
|
const result = await waitForWebLogin({ timeoutMs: typeof args.timeoutMs === "number" ? args.timeoutMs : void 0 });
|
|
65310
65310
|
return {
|
|
@@ -65379,23 +65379,23 @@ let webOutboundPromise = null;
|
|
|
65379
65379
|
let webLoginPromise = null;
|
|
65380
65380
|
let whatsappActionsPromise = null;
|
|
65381
65381
|
function loadWebOutbound() {
|
|
65382
|
-
webOutboundPromise ??= import("./runtime-whatsapp-outbound.runtime-
|
|
65382
|
+
webOutboundPromise ??= import("./runtime-whatsapp-outbound.runtime-elOqrkfg.js");
|
|
65383
65383
|
return webOutboundPromise;
|
|
65384
65384
|
}
|
|
65385
65385
|
function loadWebLogin() {
|
|
65386
|
-
webLoginPromise ??= import("./runtime-whatsapp-login.runtime-
|
|
65386
|
+
webLoginPromise ??= import("./runtime-whatsapp-login.runtime-BxgRDkhc.js");
|
|
65387
65387
|
return webLoginPromise;
|
|
65388
65388
|
}
|
|
65389
65389
|
function loadWebLoginQr() {
|
|
65390
|
-
webLoginQrPromise ??= import("./login-qr
|
|
65390
|
+
webLoginQrPromise ??= import("./login-qr-BI3Vi_wJ.js");
|
|
65391
65391
|
return webLoginQrPromise;
|
|
65392
65392
|
}
|
|
65393
65393
|
function loadWebChannel() {
|
|
65394
|
-
webChannelPromise ??= import("./web-
|
|
65394
|
+
webChannelPromise ??= import("./web-BLyT64pW.js");
|
|
65395
65395
|
return webChannelPromise;
|
|
65396
65396
|
}
|
|
65397
65397
|
function loadWhatsAppActions() {
|
|
65398
|
-
whatsappActionsPromise ??= import("./whatsapp-actions-
|
|
65398
|
+
whatsappActionsPromise ??= import("./whatsapp-actions-xcleMoMv.js");
|
|
65399
65399
|
return whatsappActionsPromise;
|
|
65400
65400
|
}
|
|
65401
65401
|
function createRuntimeWhatsApp() {
|
|
@@ -65836,7 +65836,7 @@ const log$11 = createSubsystemLogger("memory");
|
|
|
65836
65836
|
const QMD_MANAGER_CACHE = /* @__PURE__ */ new Map();
|
|
65837
65837
|
let managerRuntimePromise = null;
|
|
65838
65838
|
function loadManagerRuntime() {
|
|
65839
|
-
managerRuntimePromise ??= import("./manager-runtime-
|
|
65839
|
+
managerRuntimePromise ??= import("./manager-runtime-DxclHQ4U.js");
|
|
65840
65840
|
return managerRuntimePromise;
|
|
65841
65841
|
}
|
|
65842
65842
|
async function getMemorySearchManager(params) {
|
|
@@ -65850,7 +65850,7 @@ async function getMemorySearchManager(params) {
|
|
|
65850
65850
|
if (cached) return { manager: cached };
|
|
65851
65851
|
}
|
|
65852
65852
|
try {
|
|
65853
|
-
const { QmdMemoryManager } = await import("./qmd-manager-
|
|
65853
|
+
const { QmdMemoryManager } = await import("./qmd-manager-BySdoVR7.js");
|
|
65854
65854
|
const primary = await QmdMemoryManager.create({
|
|
65855
65855
|
cfg: params.cfg,
|
|
65856
65856
|
agentId: params.agentId,
|
|
@@ -78140,7 +78140,7 @@ const LOOP_WARNING_BUCKET_SIZE = 10;
|
|
|
78140
78140
|
const MAX_LOOP_WARNING_KEYS = 256;
|
|
78141
78141
|
let beforeToolCallRuntimePromise = null;
|
|
78142
78142
|
function loadBeforeToolCallRuntime() {
|
|
78143
|
-
beforeToolCallRuntimePromise ??= import("./pi-tools.before-tool-call.runtime-
|
|
78143
|
+
beforeToolCallRuntimePromise ??= import("./pi-tools.before-tool-call.runtime-w1dqL_ty.js");
|
|
78144
78144
|
return beforeToolCallRuntimePromise;
|
|
78145
78145
|
}
|
|
78146
78146
|
function buildAdjustedParamsKey(params) {
|
|
@@ -96414,7 +96414,7 @@ const warnedContexts = /* @__PURE__ */ new Map();
|
|
|
96414
96414
|
const log$1 = createSubsystemLogger("session-maintenance-warning");
|
|
96415
96415
|
let deliverRuntimePromise = null;
|
|
96416
96416
|
function loadDeliverRuntime() {
|
|
96417
|
-
deliverRuntimePromise ??= import("./deliver-runtime-
|
|
96417
|
+
deliverRuntimePromise ??= import("./deliver-runtime-C5dgvvga.js");
|
|
96418
96418
|
return deliverRuntimePromise;
|
|
96419
96419
|
}
|
|
96420
96420
|
function shouldSendWarning() {
|
package/dist/plugin-sdk/{resolve-outbound-target-BbrHgyUk.js → resolve-outbound-target-Bw8YNANu.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as normalizeWhatsAppTarget, S as isWhatsAppGroupJid } from "./plugins-
|
|
2
|
-
import { m as missingTargetError } from "./common-
|
|
1
|
+
import { C as normalizeWhatsAppTarget, S as isWhatsAppGroupJid } from "./plugins-C4USiH29.js";
|
|
2
|
+
import { m as missingTargetError } from "./common-oYc5vPFl.js";
|
|
3
3
|
|
|
4
4
|
//#region src/whatsapp/resolve-outbound-target.ts
|
|
5
5
|
function resolveWhatsAppOutboundTarget(params) {
|
package/dist/plugin-sdk/{run-with-concurrency-BR1DXa8T.js → run-with-concurrency-C_KCHwvf.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as danger, O as createSubsystemLogger, g as pathExists$1, n as logError, t as logDebug, y as resolveUserPath, z as shouldLogVerbose } from "./logger-
|
|
1
|
+
import { F as danger, O as createSubsystemLogger, g as pathExists$1, n as logError, t as logDebug, y as resolveUserPath, z as shouldLogVerbose } from "./logger-CvPFVOgT.js";
|
|
2
2
|
import { c as resolveStateDir, d as resolveRequiredHomeDir } from "./paths-0d8fBoC4.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import "./run-with-concurrency-C_KCHwvf.js";
|
|
2
|
+
import "./config-B1z-UxQ3.js";
|
|
3
|
+
import "./logger-CvPFVOgT.js";
|
|
4
|
+
import "./paths-0d8fBoC4.js";
|
|
5
|
+
import "./accounts-CNCCkdEF.js";
|
|
6
|
+
import "./github-copilot-token-CKKBybuX.js";
|
|
7
|
+
import "./session-COrvpvUQ.js";
|
|
8
|
+
import { t as loginWeb } from "./login-CCTew9bt.js";
|
|
9
|
+
|
|
10
|
+
export { loginWeb };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import "./run-with-concurrency-C_KCHwvf.js";
|
|
2
|
+
import "./config-B1z-UxQ3.js";
|
|
3
|
+
import "./logger-CvPFVOgT.js";
|
|
4
|
+
import "./paths-0d8fBoC4.js";
|
|
5
|
+
import "./accounts-CNCCkdEF.js";
|
|
6
|
+
import "./plugins-C4USiH29.js";
|
|
7
|
+
import "./image-ops-Cbzr4U9l.js";
|
|
8
|
+
import "./github-copilot-token-CKKBybuX.js";
|
|
9
|
+
import "./path-alias-guards-sWayacde.js";
|
|
10
|
+
import "./fs-safe-BaKqI3G4.js";
|
|
11
|
+
import "./proxy-env-ET-rp8eg.js";
|
|
12
|
+
import "./fetch-guard-Dcgod0tg.js";
|
|
13
|
+
import "./local-roots-CIPRxA-4.js";
|
|
14
|
+
import "./ir-ZEmrTr4J.js";
|
|
15
|
+
import "./render-95l30zcf.js";
|
|
16
|
+
import "./tables-CSqrHsKL.js";
|
|
17
|
+
import { n as sendPollWhatsApp, t as sendMessageWhatsApp } from "./outbound-ByOw1K6W.js";
|
|
18
|
+
|
|
19
|
+
export { sendMessageWhatsApp, sendPollWhatsApp };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { n as loadConfig } from "./config-
|
|
2
|
-
import { m as kindFromMime } from "./image-ops-
|
|
3
|
-
import { n as resolveSignalAccount } from "./accounts-
|
|
1
|
+
import { n as loadConfig } from "./config-B1z-UxQ3.js";
|
|
2
|
+
import { m as kindFromMime } from "./image-ops-Cbzr4U9l.js";
|
|
3
|
+
import { n as resolveSignalAccount } from "./accounts-C3m65--E.js";
|
|
4
4
|
import { n as generateSecureUuid } from "./secure-random-D2mQUJdh.js";
|
|
5
5
|
import { n as fetchWithTimeout } from "./fetch-timeout-CR10Uz2k.js";
|
|
6
6
|
import { t as resolveFetch } from "./fetch-O45GieZo.js";
|
|
7
|
-
import { n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-
|
|
8
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
7
|
+
import { n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-ZEmrTr4J.js";
|
|
8
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-BzVhxRRw.js";
|
|
9
9
|
|
|
10
10
|
//#region src/signal/format.ts
|
|
11
11
|
function normalizeUrlForComparison(url) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as loadConfig } from "./config-
|
|
2
|
-
import { L as logVerbose } from "./logger-
|
|
3
|
-
import { g as resolveSlackBotToken, p as resolveSlackAccount } from "./plugins-
|
|
1
|
+
import { n as loadConfig } from "./config-B1z-UxQ3.js";
|
|
2
|
+
import { L as logVerbose } from "./logger-CvPFVOgT.js";
|
|
3
|
+
import { g as resolveSlackBotToken, p as resolveSlackAccount } from "./plugins-C4USiH29.js";
|
|
4
4
|
import { i as requireTargetKind, n as ensureTargetId, r as parseMentionPrefixOrAtUserTarget, t as buildMessagingTarget } from "./targets-CExphG7Z.js";
|
|
5
|
-
import { i as isSilentReplyText } from "./tokens-
|
|
6
|
-
import { r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
7
|
-
import { a as loadWebMedia, d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, m as resolveChunkMode, n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-
|
|
5
|
+
import { i as isSilentReplyText } from "./tokens-BDr0Z9o3.js";
|
|
6
|
+
import { r as withTrustedEnvProxyGuardedFetchMode, t as fetchWithSsrFGuard } from "./fetch-guard-Dcgod0tg.js";
|
|
7
|
+
import { a as loadWebMedia, d as chunkMarkdownTextWithMode, h as resolveTextChunkLimit, m as resolveChunkMode, n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-ZEmrTr4J.js";
|
|
8
8
|
import { t as renderMarkdownWithMarkers } from "./render-95l30zcf.js";
|
|
9
9
|
import { WebClient } from "@slack/web-api";
|
|
10
10
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId } from "./run-with-concurrency-
|
|
2
|
-
import { en as resolveRetryConfig, n as loadConfig, tn as retryAsync } from "./config-
|
|
3
|
-
import { Y as resolvePreferredOpenClawTmpDir } from "./logger-
|
|
4
|
-
import { b as resolveDiscordAccount, x as normalizeDiscordToken } from "./plugins-
|
|
1
|
+
import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId } from "./run-with-concurrency-C_KCHwvf.js";
|
|
2
|
+
import { en as resolveRetryConfig, n as loadConfig, tn as retryAsync } from "./config-B1z-UxQ3.js";
|
|
3
|
+
import { Y as resolvePreferredOpenClawTmpDir } from "./logger-CvPFVOgT.js";
|
|
4
|
+
import { b as resolveDiscordAccount, x as normalizeDiscordToken } from "./plugins-C4USiH29.js";
|
|
5
5
|
import { i as requireTargetKind, r as parseMentionPrefixOrAtUserTarget, t as buildMessagingTarget } from "./targets-CExphG7Z.js";
|
|
6
|
-
import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-
|
|
6
|
+
import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-Cbzr4U9l.js";
|
|
7
7
|
import { t as resolveFetch } from "./fetch-O45GieZo.js";
|
|
8
|
-
import { a as loadWebMedia, d as chunkMarkdownTextWithMode, m as resolveChunkMode, o as loadWebMediaRaw, s as resolveMarkdownTableMode } from "./ir-
|
|
8
|
+
import { a as loadWebMedia, d as chunkMarkdownTextWithMode, m as resolveChunkMode, o as loadWebMediaRaw, s as resolveMarkdownTableMode } from "./ir-ZEmrTr4J.js";
|
|
9
9
|
import { n as normalizePollInput, t as normalizePollDurationHours } from "./polls-CuwZJ8h2.js";
|
|
10
10
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-BbCcHhSJ.js";
|
|
11
|
-
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-
|
|
12
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
11
|
+
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-WJYxcJ3S.js";
|
|
12
|
+
import { t as convertMarkdownTables } from "./tables-CSqrHsKL.js";
|
|
13
13
|
import path from "node:path";
|
|
14
14
|
import { promisify } from "node:util";
|
|
15
15
|
import fs from "node:fs/promises";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as loadConfig } from "./config-
|
|
2
|
-
import { h as normalizeE164, y as resolveUserPath } from "./logger-
|
|
3
|
-
import { t as resolveIMessageAccount } from "./accounts-
|
|
4
|
-
import { m as kindFromMime } from "./image-ops-
|
|
5
|
-
import { s as resolveMarkdownTableMode } from "./ir-
|
|
6
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
7
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
1
|
+
import { n as loadConfig } from "./config-B1z-UxQ3.js";
|
|
2
|
+
import { h as normalizeE164, y as resolveUserPath } from "./logger-CvPFVOgT.js";
|
|
3
|
+
import { t as resolveIMessageAccount } from "./accounts-BslAlVYS.js";
|
|
4
|
+
import { m as kindFromMime } from "./image-ops-Cbzr4U9l.js";
|
|
5
|
+
import { s as resolveMarkdownTableMode } from "./ir-ZEmrTr4J.js";
|
|
6
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-BzVhxRRw.js";
|
|
7
|
+
import { t as convertMarkdownTables } from "./tables-CSqrHsKL.js";
|
|
8
8
|
import { spawn } from "node:child_process";
|
|
9
9
|
import { createInterface } from "node:readline";
|
|
10
10
|
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId } from "./run-with-concurrency-
|
|
2
|
-
import { In as withFileLock$1, Qn as isTruthyEnvValue, i as readConfigFileSnapshotForWrite, jt as resolveTelegramPreviewStreamMode, n as loadConfig, o as writeConfigFile } from "./config-
|
|
3
|
-
import { F as danger, L as logVerbose, O as createSubsystemLogger, a as CONFIG_DIR, b as safeParseJson } from "./logger-
|
|
1
|
+
import { at as DEFAULT_ACCOUNT_ID, ot as normalizeAccountId } from "./run-with-concurrency-C_KCHwvf.js";
|
|
2
|
+
import { In as withFileLock$1, Qn as isTruthyEnvValue, i as readConfigFileSnapshotForWrite, jt as resolveTelegramPreviewStreamMode, n as loadConfig, o as writeConfigFile } from "./config-B1z-UxQ3.js";
|
|
3
|
+
import { F as danger, L as logVerbose, O as createSubsystemLogger, a as CONFIG_DIR, b as safeParseJson } from "./logger-CvPFVOgT.js";
|
|
4
4
|
import { c as resolveStateDir, d as resolveRequiredHomeDir, l as expandHomePrefix, o as resolveOAuthDir } from "./paths-0d8fBoC4.js";
|
|
5
|
-
import { l as resolveTelegramAccount, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-
|
|
6
|
-
import { h as normalizeMimeType, m as kindFromMime, p as isGifMedia, u as getFileExtension } from "./image-ops-
|
|
5
|
+
import { l as resolveTelegramAccount, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-C4USiH29.js";
|
|
6
|
+
import { h as normalizeMimeType, m as kindFromMime, p as isGifMedia, u as getFileExtension } from "./image-ops-Cbzr4U9l.js";
|
|
7
7
|
import { r as writeJsonAtomic } from "./json-files-DtF9ARSD.js";
|
|
8
|
-
import { t as redactSensitiveText } from "./redact-
|
|
9
|
-
import { i as formatUncaughtError, n as extractErrorCode, o as readErrorName, r as formatErrorMessage, t as collectErrorGraphCandidates } from "./errors-
|
|
10
|
-
import { t as hasProxyEnvConfigured } from "./proxy-env-
|
|
11
|
-
import { t as makeProxyFetch } from "./proxy-fetch-
|
|
8
|
+
import { t as redactSensitiveText } from "./redact-Bvxt1T_Q.js";
|
|
9
|
+
import { i as formatUncaughtError, n as extractErrorCode, o as readErrorName, r as formatErrorMessage, t as collectErrorGraphCandidates } from "./errors-B3cHyZZA.js";
|
|
10
|
+
import { t as hasProxyEnvConfigured } from "./proxy-env-ET-rp8eg.js";
|
|
11
|
+
import { t as makeProxyFetch } from "./proxy-fetch-uDXGKG3Z.js";
|
|
12
12
|
import { t as resolveFetch } from "./fetch-O45GieZo.js";
|
|
13
13
|
import { n as normalizeTelegramLookupTarget, r as parseTelegramTarget, t as normalizeTelegramChatId } from "./targets-BHZKnwxJ.js";
|
|
14
|
-
import { a as loadWebMedia, n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-
|
|
14
|
+
import { a as loadWebMedia, n as markdownToIR, s as resolveMarkdownTableMode, t as chunkMarkdownIR } from "./ir-ZEmrTr4J.js";
|
|
15
15
|
import { t as renderMarkdownWithMarkers } from "./render-95l30zcf.js";
|
|
16
16
|
import { n as normalizePollInput } from "./polls-CuwZJ8h2.js";
|
|
17
17
|
import { t as buildOutboundMediaLoadOptions } from "./load-options-BbCcHhSJ.js";
|
|
18
|
-
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-
|
|
18
|
+
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-WJYxcJ3S.js";
|
|
19
19
|
import path from "node:path";
|
|
20
20
|
import fs, { readFileSync } from "node:fs";
|
|
21
21
|
import os from "node:os";
|
|
22
|
-
import
|
|
22
|
+
import json5 from "json5";
|
|
23
23
|
import fs$1 from "node:fs/promises";
|
|
24
24
|
import process$1 from "node:process";
|
|
25
25
|
import crypto, { randomBytes } from "node:crypto";
|
|
@@ -1720,7 +1720,7 @@ async function loadCronStore(storePath) {
|
|
|
1720
1720
|
const raw = await fs.promises.readFile(storePath, "utf-8");
|
|
1721
1721
|
let parsed;
|
|
1722
1722
|
try {
|
|
1723
|
-
parsed =
|
|
1723
|
+
parsed = json5.parse(raw);
|
|
1724
1724
|
} catch (err) {
|
|
1725
1725
|
throw new Error(`Failed to parse cron store at ${storePath}: ${String(err)}`, { cause: err });
|
|
1726
1726
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Tr as formatCliCommand, qn as VERSION } from "./config-
|
|
2
|
-
import { B as success, F as danger, G as getChildLogger, K as toPinoLikeLogger, l as ensureDir, y as resolveUserPath } from "./logger-
|
|
3
|
-
import { f as readCredsJsonRaw, g as resolveWebCredsPath, h as resolveWebCredsBackupPath, m as resolveDefaultWebAuthDir, u as maybeRestoreCredsFromBackup } from "./accounts-
|
|
1
|
+
import { Tr as formatCliCommand, qn as VERSION } from "./config-B1z-UxQ3.js";
|
|
2
|
+
import { B as success, F as danger, G as getChildLogger, K as toPinoLikeLogger, l as ensureDir, y as resolveUserPath } from "./logger-CvPFVOgT.js";
|
|
3
|
+
import { f as readCredsJsonRaw, g as resolveWebCredsPath, h as resolveWebCredsBackupPath, m as resolveDefaultWebAuthDir, u as maybeRestoreCredsFromBackup } from "./accounts-CNCCkdEF.js";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import { randomUUID } from "node:crypto";
|
|
6
6
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|