remoteclaw 0.1.0-next.900e1cc → 0.1.0-next.99116da
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/README.md +2 -2
- package/dist/accounts-B1M3fOxL.js +272 -0
- package/dist/accounts-BwbvnKsW.js +205 -0
- package/dist/accounts-C1fHLuIi.js +32 -0
- package/dist/accounts-CIVjmTg9.js +270 -0
- package/dist/accounts-D1awQXKu.js +36 -0
- package/dist/accounts-DHkGVGUR.js +36 -0
- package/dist/accounts-P7cmIXUM.js +206 -0
- package/dist/accounts-XFgBY644.js +47 -0
- package/dist/accounts-_ZuNC5bz.js +47 -0
- package/dist/ack-reactions-D4QTvZL2.js +621 -0
- package/dist/ack-reactions-Dp7g1Niw.js +621 -0
- package/dist/acp-cli-Cbp2x_Sm.js +1316 -0
- package/dist/acp-cli-CnvFDuww.js +1311 -0
- package/dist/active-listener--jrUO-8L.js +37 -0
- package/dist/active-listener-C7SyMcNY.js +37 -0
- package/dist/agent-B2C40NTB.js +688 -0
- package/dist/agent-CefsH1ki.js +687 -0
- package/dist/agent-helpers-5F0tdxud.js +400 -0
- package/dist/agent-scope-BA1HP4K6.js +114 -0
- package/dist/agent-scope-CAQLm3LP.js +116 -0
- package/dist/agents-Bt5v-thf.js +754 -0
- package/dist/agents.config-CmyzLYqW.js +116 -0
- package/dist/agents.config-DerBqRzk.js +116 -0
- package/dist/ansi-DtaiOnt1.js +107 -0
- package/dist/audio-ClIuKwkl.js +43 -0
- package/dist/audio-DqlIYYTb.js +43 -0
- package/dist/audit-CgA4TS_c.js +3113 -0
- package/dist/audit-Cu_MLhXm.js +3113 -0
- package/dist/auth-B-QK8JhI.js +315 -0
- package/dist/auth-C1zx1O24.js +314 -0
- package/dist/auth-DDmNYVMW.js +448 -0
- package/dist/auth-DH1wEw0w.js +448 -0
- package/dist/banner-C6LjPbe8.js +294 -0
- package/dist/binaries-CYwLdubd.js +13 -0
- package/dist/bindings-DFAFatwT.js +69 -0
- package/dist/bindings-GUKIzFCp.js +69 -0
- package/dist/bonjour-discovery-AQMJqY4V.js +378 -0
- package/dist/bonjour-discovery-BLcPWHFJ.js +378 -0
- package/dist/boot/handler.js +17 -33
- package/dist/browser-cli-6pygAIbo.js +1690 -0
- package/dist/browser-cli-KuroK1E5.js +1694 -0
- package/dist/build-info.json +3 -3
- package/dist/call-CJ5-iBVV.js +518 -0
- package/dist/call-qbLIz0Cu.js +517 -0
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/catalog-BQfZa5b5.js +185 -0
- package/dist/catalog-DpoBPRsH.js +185 -0
- package/dist/channel-account-context-BHIy71Yh.js +133 -0
- package/dist/channel-account-context-DXU_-EkJ.js +133 -0
- package/dist/channel-activity-BatlvP_U.js +292 -0
- package/dist/channel-activity-BhT7NQ_v.js +94 -0
- package/dist/channel-activity-CvjEwpJz.js +94 -0
- package/dist/channel-options-Cqxjeypa.js +32 -0
- package/dist/channel-options-DAJvNbnd.js +33 -0
- package/dist/channel-selection-AH6_y6RS.js +51 -0
- package/dist/channel-selection-ovohyJQZ.js +51 -0
- package/dist/channel-web-CU5oW4Vd.js +2132 -0
- package/dist/channel-web-DnZy7U46.js +2134 -0
- package/dist/channels-cli-BDj-IZ-y.js +1440 -0
- package/dist/channels-cli-Dg0_neP0.js +1436 -0
- package/dist/channels-status-issues-BbYNzwLp.js +18 -0
- package/dist/channels-status-issues-DRybAijg.js +18 -0
- package/dist/chat-envelope-AJFUAuBM.js +248 -0
- package/dist/chat-envelope-BrfcPlDM.js +248 -0
- package/dist/chrome-CMVcAfCe.js +1733 -0
- package/dist/chrome-DyUT6h5T.js +1732 -0
- package/dist/chunk-BAMyFYtF.js +341 -0
- package/dist/chunk-BzVoFUZL.js +341 -0
- package/dist/clack-prompter-C6mBTOzE.js +122 -0
- package/dist/clack-prompter-DKcYqv3o.js +121 -0
- package/dist/cleanup-utils-Cb-leJcy.js +94 -0
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/cli-21ob8_WY.js +135 -0
- package/dist/cli-iTfz_Aso.js +131 -0
- package/dist/client-B6h7bgbF.js +2311 -0
- package/dist/client-CMtdm9Ii.js +2311 -0
- package/dist/clipboard-A06eV_5C.js +31 -0
- package/dist/clipboard-DQBl3coj.js +31 -0
- package/dist/command-format-BiiNHkWG.js +18 -0
- package/dist/command-format-Dntg_tnC.js +32 -0
- package/dist/command-logger/handler.js +1 -1
- package/dist/command-registry-Dv60piIF.js +215 -0
- package/dist/commands-D93TXYhv.js +41 -0
- package/dist/commands-UD7V7QC9.js +41 -0
- package/dist/commands-registry-CCbTtSSK.js +891 -0
- package/dist/commands-registry-De8JhZLG.js +890 -0
- package/dist/common-D4fL3S2m.js +156 -0
- package/dist/common-DXNisGxw.js +156 -0
- package/dist/completion-cli-CdF4hc7L.js +452 -0
- package/dist/completion-cli-m3tAhA4Q.js +452 -0
- package/dist/config-BCc84jV8.js +3364 -0
- package/dist/config-DY1-9v9H.js +3362 -0
- package/dist/config-cli-BNnzPvVH.js +243 -0
- package/dist/config-cli-ay40IhEN.js +247 -0
- package/dist/config-guard-CQ_ABznX.js +92 -0
- package/dist/config-guard-D4lztN0N.js +75 -0
- package/dist/config-validation-DLgRG0e-.js +18 -0
- package/dist/config-validation-v9BAFXXU.js +18 -0
- package/dist/configure-CBBpZugy.js +889 -0
- package/dist/configure-DtZScSTu.js +891 -0
- package/dist/constants-BBVTjb1j.js +75 -0
- package/dist/constants-PMRtHBHU.js +75 -0
- package/dist/control-auth-B8nvayUT.js +397 -0
- package/dist/control-auth-uxEJvI8K.js +397 -0
- package/dist/control-ui/assets/index-DdiU_ccM.css +1 -0
- package/dist/control-ui/assets/index-kVUYi64u.js +7723 -0
- package/dist/control-ui/assets/index-kVUYi64u.js.map +1 -0
- package/dist/control-ui/index.html +2 -2
- package/dist/control-ui-assets-DO1L6M0S.js +186 -0
- package/dist/control-ui-assets-S_TLo6Fs.js +186 -0
- package/dist/conversation-label-CMOfgCVl.js +36 -0
- package/dist/cron-cli-CQKPDkb_.js +495 -0
- package/dist/cron-cli-DkIcuzyL.js +499 -0
- package/dist/daemon-cli-B1-DiFPk.js +735 -0
- package/dist/daemon-cli-DK6E2ygy.js +737 -0
- package/dist/daemon-cli.js +117 -1048
- package/dist/daemon-install-BbBLuLWg.js +60 -0
- package/dist/daemon-install-WEBvqVOj.js +56 -0
- package/dist/daemon-install-helpers-BVtPC2TK.js +504 -0
- package/dist/daemon-install-helpers-DVr51zvE.js +504 -0
- package/dist/deliver-1D50BKwP.js +481 -0
- package/dist/deliver-BgP7R56X.js +481 -0
- package/dist/delivery-queue-BDvalA10.js +244 -0
- package/dist/delivery-queue-BimvYz5E.js +244 -0
- package/dist/devices-cli-CcIDfvIH.js +323 -0
- package/dist/devices-cli-DnsOovSZ.js +319 -0
- package/dist/diagnostics-BzzhTQzK.js +35 -0
- package/dist/diagnostics-DILtxtcE.js +35 -0
- package/dist/directory-cli-Cqq3h4HM.js +225 -0
- package/dist/directory-cli-DaO0MYWG.js +221 -0
- package/dist/dispatcher-Cu97kd2k.js +173 -0
- package/dist/dispatcher-DS-nhxIT.js +174 -0
- package/dist/dm-policy-shared-BCp9_z3w.js +22 -0
- package/dist/dm-policy-shared-DgeKqjOu.js +22 -0
- package/dist/dns-cli-B5jHH4ZD.js +199 -0
- package/dist/dns-cli-bQz_PxEd.js +203 -0
- package/dist/dock-B0bIIDS3.js +906 -0
- package/dist/dock-C3PzQ6CS.js +907 -0
- package/dist/doctor-completion-DHt9F3MN.js +92 -0
- package/dist/doctor-completion-DtDvILaX.js +92 -0
- package/dist/doctor-config-flow-CjXJ_RRV.js +978 -0
- package/dist/doctor-config-flow-DVLrrgQx.js +979 -0
- package/dist/enable-C3I9dWel.js +59 -0
- package/dist/enable-DnwKeWnR.js +59 -0
- package/dist/entry.js +62 -6
- package/dist/env-DyyqmxSM.js +60 -0
- package/dist/env-vars-CD2_baIP.js +43 -0
- package/dist/env-vars-a7S70ba7.js +43 -0
- package/dist/errors-0dfGxeYQ.js +35 -0
- package/dist/errors-C1kDByVU.js +35 -0
- package/dist/exec-CAk1dxq_.js +164 -0
- package/dist/exec-epNpA1aU.js +164 -0
- package/dist/extensionAPI.js +350 -1055
- package/dist/fetch-9XVG80I1.js +67 -0
- package/dist/fetch-BMQq41sB.js +281 -0
- package/dist/fetch-Cky99wYB.js +281 -0
- package/dist/fetch-D3tw4B4n.js +67 -0
- package/dist/fetch-DTsU2XnC.js +67 -0
- package/dist/file-lock-DWH0TfVu.js +107 -0
- package/dist/file-lock-DXW9h9ek.js +107 -0
- package/dist/fs-safe-BjSd07M4.js +115 -0
- package/dist/fs-safe-aWIhCWlb.js +125 -0
- package/dist/gateway-cli-1EgSlzFw.js +24550 -0
- package/dist/gateway-cli-gAbm2WYy.js +24546 -0
- package/dist/gateway-rpc-BWXdoSnd.js +28 -0
- package/dist/gateway-rpc-CZ8rv2TD.js +28 -0
- package/dist/gmail-setup-utils-CKyh29_R.js +422 -0
- package/dist/gmail-setup-utils-DquflkMR.js +423 -0
- package/dist/health-BPmPwqCI.js +1414 -0
- package/dist/health-BduyUPpt.js +1417 -0
- package/dist/health-format-BE5TK5bs.js +28 -0
- package/dist/heartbeat-visibility-B0EYYnVz.js +125 -0
- package/dist/heartbeat-visibility-CpkIrf1E.js +125 -0
- package/dist/help-format-D3JhWp1E.js +17 -0
- package/dist/helpers-DAEoFkbn.js +10 -0
- package/dist/hook-runner-global-CskB1Y2C.js +527 -0
- package/dist/hooks-cli-BIHb00ud.js +1223 -0
- package/dist/hooks-cli-Cb3ceXCs.js +1227 -0
- package/dist/host-env-security-BGibnCbS.js +106 -0
- package/dist/host-env-security-axRnIi8d.js +106 -0
- package/dist/image-ops-CX41n0v5.js +354 -0
- package/dist/image-ops-DSL3eFfQ.js +354 -0
- package/dist/import-BSFgt760.js +604 -0
- package/dist/import-Da1CHJJg.js +606 -0
- package/dist/inbound-context-a5bzQvRt.js +68 -0
- package/dist/index.js +134 -107
- package/dist/inspect-BEpFbi0c.js +286 -0
- package/dist/inspect-BeNNpWna.js +286 -0
- package/dist/installs-BNUa3Lew.js +325 -0
- package/dist/installs-CutG0bXQ.js +325 -0
- package/dist/ipv4-DNo9AFDu.js +46 -0
- package/dist/ipv4-VfoVR5uR.js +46 -0
- package/dist/ir-BPwP8hIc.js +972 -0
- package/dist/lifecycle-core-5y2rwdfb.js +476 -0
- package/dist/lifecycle-core-CPaUZ7av.js +474 -0
- package/dist/links-CtGBIrG8.js +15 -0
- package/dist/loader-AIE5GrUR.js +22414 -0
- package/dist/loader-BQ5kRhN2.js +22411 -0
- package/dist/logger-ASsO5Nz-.js +49 -0
- package/dist/logging-Cd9y2AdQ.js +20 -0
- package/dist/logging-DRwtiLIS.js +1 -0
- package/dist/logging-fywhKCmE.js +1 -0
- package/dist/login-CxiZ06b_.js +61 -0
- package/dist/login-fRmKXvHe.js +62 -0
- package/dist/login-qr-B_CCeLLM.js +329 -0
- package/dist/login-qr-Bb2VfdMl.js +325 -0
- package/dist/logs-cli-BGVtAPxq.js +236 -0
- package/dist/logs-cli-pBJQPEH6.js +240 -0
- package/dist/markdown-tables-BBNUZp4n.js +29 -0
- package/dist/markdown-tables-NgPcfXoF.js +29 -0
- package/dist/media-0B2NFAdq.js +9498 -0
- package/dist/media-4-qOIjO-.js +971 -0
- package/dist/message-action-names-Dy7ZvEdv.js +2520 -0
- package/dist/message-action-names-m8DQYFWP.js +2520 -0
- package/dist/message-channel-CtcVHawF.js +91 -0
- package/dist/message-channel-tuc9CdEw.js +91 -0
- package/dist/mime-CAqaK3kp.js +146 -0
- package/dist/mime-ViuhRuMM.js +146 -0
- package/dist/net-DSkFMHJ8.js +225 -0
- package/dist/net-DTqfFYzt.js +225 -0
- package/dist/node-cli-DA_Vie6b.js +1458 -0
- package/dist/node-cli-DaIcL7BC.js +1462 -0
- package/dist/node-service-RyMlWp8N.js +67 -0
- package/dist/node-service-TL9b6Qfz.js +67 -0
- package/dist/nodes-cli-C1vEy8aX.js +1346 -0
- package/dist/nodes-cli-DMvsoe6q.js +1350 -0
- package/dist/nodes-screen-B7HJugJ0.js +250 -0
- package/dist/nodes-screen-nCRd71Mk.js +250 -0
- package/dist/note-B6142LyJ.js +92 -0
- package/dist/note-D-EI0czq.js +92 -0
- package/dist/npm-registry-spec-PPyRXSpx.js +786 -0
- package/dist/npm-registry-spec-uUmDWe6v.js +786 -0
- package/dist/npm-resolution-871eaLT5.js +86 -0
- package/dist/npm-resolution-DhYXcW97.js +86 -0
- package/dist/onboard-BleFzoNS.js +649 -0
- package/dist/onboard-DAgShk5Y.js +647 -0
- package/dist/onboard-auth-cNtb3FTP.js +211 -0
- package/dist/onboard-auth-gwz-0mZ6.js +207 -0
- package/dist/onboard-channels-CfxPKibb.js +2548 -0
- package/dist/onboard-channels-D2mYwhZY.js +2549 -0
- package/dist/onboard-helpers-6k5H0W3b.js +363 -0
- package/dist/onboard-helpers-DHtLcsOq.js +364 -0
- package/dist/onboard-remote-COaNuceH.js +127 -0
- package/dist/onboard-remote-MjZrF5NV.js +127 -0
- package/dist/onboarding-CN82o6_A.js +588 -0
- package/dist/onboarding-zxkR4bxy.js +586 -0
- package/dist/onboarding.finalize-lVNpMVTO.js +405 -0
- package/dist/onboarding.finalize-mbsTUwoI.js +403 -0
- package/dist/onboarding.gateway-config-2-cqTvTm.js +196 -0
- package/dist/onboarding.gateway-config-CZxoKrnE.js +202 -0
- package/dist/outbound-AbUGXBJi.js +221 -0
- package/dist/outbound-attachment-CZbYFK6x.js +18 -0
- package/dist/outbound-attachment-CqZ7Qc_o.js +18 -0
- package/dist/outbound-attachment-CuqWdsdV.js +18 -0
- package/dist/outbound-gxk-Mbou.js +220 -0
- package/dist/pairing-cli-GATB1wsU.js +130 -0
- package/dist/pairing-cli-paiAvQeM.js +126 -0
- package/dist/pairing-labels-CBmGQ31P.js +9 -0
- package/dist/pairing-labels-D0xwC7Xb.js +9 -0
- package/dist/pairing-store-BoF0g-iN.js +459 -0
- package/dist/pairing-store-CseXj-5p.js +460 -0
- package/dist/path-env-CPZbb7me.js +89 -0
- package/dist/path-env-GTM4HXCN.js +89 -0
- package/dist/path-safety-BFE0XmGC.js +14 -0
- package/dist/path-safety-BJ8ge6Ho.js +14 -0
- package/dist/paths-DHuXVC00.js +229 -0
- package/dist/plugin-auto-enable-CX6sOkDE.js +301 -0
- package/dist/plugin-auto-enable-M5OeIBIm.js +302 -0
- package/dist/plugin-registry-BurTWX4b.js +33 -0
- package/dist/plugin-registry-rXk63oNt.js +33 -0
- package/dist/plugin-sdk/auth/env-injection.d.ts +8 -10
- package/dist/plugin-sdk/auth/index.d.ts +4 -2
- package/dist/plugin-sdk/auth/order.d.ts +8 -0
- package/dist/plugin-sdk/auth/profiles.d.ts +1 -0
- package/dist/plugin-sdk/auth/provider-auth.d.ts +0 -6
- package/dist/plugin-sdk/auth/types.d.ts +33 -1
- package/dist/plugin-sdk/auth/usage.d.ts +80 -0
- package/dist/plugin-sdk/auto-reply/reply/agent-runner-utils.d.ts +3 -34
- package/dist/plugin-sdk/auto-reply/reply/commands-status.d.ts +1 -4
- package/dist/plugin-sdk/auto-reply/reply/commands-subagents/shared.d.ts +1 -1
- package/dist/plugin-sdk/auto-reply/reply/commands-types.d.ts +1 -10
- package/dist/plugin-sdk/auto-reply/reply/directive-handling.levels.d.ts +1 -4
- package/dist/plugin-sdk/auto-reply/reply/directive-handling.params.d.ts +1 -8
- package/dist/plugin-sdk/auto-reply/reply/directive-handling.parse.d.ts +1 -23
- package/dist/plugin-sdk/auto-reply/reply/directive-handling.persist.d.ts +0 -2
- package/dist/plugin-sdk/auto-reply/reply/directive-handling.shared.d.ts +0 -22
- package/dist/plugin-sdk/auto-reply/reply/directives.d.ts +2 -29
- package/dist/plugin-sdk/auto-reply/reply/get-reply-directives-apply.d.ts +0 -8
- package/dist/plugin-sdk/auto-reply/reply/get-reply-directives-utils.d.ts +0 -1
- package/dist/plugin-sdk/auto-reply/reply/get-reply-directives.d.ts +1 -15
- package/dist/plugin-sdk/auto-reply/reply/get-reply-inline-actions.d.ts +1 -8
- package/dist/plugin-sdk/auto-reply/reply/get-reply-run.d.ts +1 -11
- package/dist/plugin-sdk/auto-reply/reply/queue/types.d.ts +1 -15
- package/dist/plugin-sdk/auto-reply/reply.d.ts +1 -1
- package/dist/plugin-sdk/auto-reply/status.d.ts +2 -7
- package/dist/plugin-sdk/auto-reply/templating.d.ts +0 -4
- package/dist/plugin-sdk/auto-reply/thinking.d.ts +0 -4
- package/dist/plugin-sdk/channels/dock.d.ts +1 -2
- package/dist/plugin-sdk/channels/plugins/types.adapters.d.ts +0 -6
- package/dist/plugin-sdk/channels/plugins/types.core.d.ts +1 -0
- package/dist/plugin-sdk/channels/plugins/types.d.ts +1 -1
- package/dist/plugin-sdk/channels/plugins/types.plugin.d.ts +1 -2
- package/dist/plugin-sdk/channels/voice-credentials.d.ts +26 -0
- package/dist/plugin-sdk/commands/onboard-helpers.d.ts +0 -1
- package/dist/plugin-sdk/commands/onboard-types.d.ts +2 -1
- package/dist/plugin-sdk/config/legacy.migrations.d.ts +2 -1
- package/dist/plugin-sdk/config/legacy.shared.d.ts +0 -9
- package/dist/plugin-sdk/config/sessions/types.d.ts +0 -9
- package/dist/plugin-sdk/config/types.agent-defaults.d.ts +0 -8
- package/dist/plugin-sdk/config/types.base.d.ts +0 -1
- package/dist/plugin-sdk/config/types.messages.d.ts +0 -4
- package/dist/plugin-sdk/config/types.remoteclaw.d.ts +2 -2
- package/dist/plugin-sdk/config/types.tools.d.ts +0 -73
- package/dist/plugin-sdk/config/types.tts.d.ts +2 -1
- package/dist/plugin-sdk/config/zod-schema.agent-defaults.d.ts +0 -4
- package/dist/plugin-sdk/config/zod-schema.agent-runtime.d.ts +7 -197
- package/dist/plugin-sdk/config/zod-schema.agents.d.ts +2 -10
- package/dist/plugin-sdk/config/zod-schema.core.d.ts +6 -234
- package/dist/plugin-sdk/config/zod-schema.d.ts +99 -302
- package/dist/plugin-sdk/config/zod-schema.providers-core.d.ts +148 -160
- package/dist/plugin-sdk/config/zod-schema.providers-whatsapp.d.ts +12 -12
- package/dist/plugin-sdk/config/zod-schema.providers.d.ts +88 -96
- package/dist/plugin-sdk/config/zod-schema.session.d.ts +4 -10
- package/dist/plugin-sdk/gateway/protocol/index.d.ts +10 -15
- package/dist/plugin-sdk/gateway/protocol/schema/sessions.d.ts +0 -5
- package/dist/plugin-sdk/gateway/server/ws-types.d.ts +2 -0
- package/dist/plugin-sdk/gateway/session-utils.types.d.ts +0 -1
- package/dist/plugin-sdk/index.js +618 -1119
- package/dist/plugin-sdk/line/config-schema.d.ts +4 -4
- package/dist/plugin-sdk/logging/levels.d.ts +1 -1
- package/dist/plugin-sdk/middleware/cli-runtime-base.d.ts +6 -0
- package/dist/plugin-sdk/middleware/media-capability.d.ts +21 -0
- package/dist/plugin-sdk/middleware/runtimes/claude.d.ts +10 -0
- package/dist/plugin-sdk/middleware/runtimes/codex.d.ts +4 -0
- package/dist/plugin-sdk/middleware/runtimes/gemini.d.ts +11 -0
- package/dist/plugin-sdk/middleware/runtimes/opencode.d.ts +4 -0
- package/dist/plugin-sdk/middleware/types.d.ts +1 -1
- package/dist/plugin-sdk/plugin-sdk/index.d.ts +5 -1
- package/dist/plugin-sdk/plugins/manifest-registry.d.ts +2 -0
- package/dist/plugin-sdk/plugins/manifest.d.ts +2 -0
- package/dist/plugin-sdk/plugins/registry.d.ts +18 -0
- package/dist/plugin-sdk/plugins/types.d.ts +4 -0
- package/dist/plugin-sdk/stt/defaults.d.ts +2 -0
- package/dist/plugin-sdk/stt/preflight.d.ts +14 -0
- package/dist/plugin-sdk/stt/providers/deepgram/index.d.ts +2 -0
- package/dist/plugin-sdk/stt/providers/google/index.d.ts +2 -0
- package/dist/plugin-sdk/stt/providers/groq/index.d.ts +2 -0
- package/dist/plugin-sdk/stt/providers/index.d.ts +4 -0
- package/dist/plugin-sdk/stt/providers/mistral/index.d.ts +2 -0
- package/dist/plugin-sdk/stt/providers/openai/index.d.ts +2 -0
- package/dist/plugin-sdk/stt/stt.d.ts +27 -0
- package/dist/plugin-sdk/stt/types.d.ts +22 -0
- package/dist/plugin-sdk/tts/providers/edge.d.ts +2 -0
- package/dist/plugin-sdk/tts/providers/elevenlabs.d.ts +2 -0
- package/dist/plugin-sdk/tts/providers/index.d.ts +4 -0
- package/dist/plugin-sdk/tts/providers/openai.d.ts +2 -0
- package/dist/plugin-sdk/tts/tts.d.ts +13 -5
- package/dist/plugin-sdk/tts/types.d.ts +21 -0
- package/dist/plugins-BviLFPLV.js +255 -0
- package/dist/plugins-CaudBUbl.js +254 -0
- package/dist/plugins-cli-BmA5gt44.js +803 -0
- package/dist/plugins-cli-XXdH1X0L.js +807 -0
- package/dist/ports-BtuzUQHl.js +370 -0
- package/dist/ports-CMcHia07.js +96 -0
- package/dist/ports-DALdfBQy.js +96 -0
- package/dist/ports-gRBeuUtp.js +316 -0
- package/dist/preflight-Bq8rimP-.js +667 -0
- package/dist/preflight-DyYbEp9X.js +667 -0
- package/dist/program-Bw49Q-el.js +250 -0
- package/dist/program-context-Bf2ZknF5.js +474 -0
- package/dist/progress-BcwxtM9Q.js +124 -0
- package/dist/prompt-DtWGd43j.js +21 -0
- package/dist/prompt-select-styled-DIKAPxA-.js +1672 -0
- package/dist/prompt-select-styled-rpBpORma.js +1669 -0
- package/dist/prompt-style-BpUMhEHC.js +9 -0
- package/dist/provider-auth-B7QgxlKt.js +187 -0
- package/dist/provider-auth-j-EQvvIk.js +187 -0
- package/dist/provider-dispatcher-BGWPnKFZ.js +659 -0
- package/dist/provider-dispatcher-DCBVDegA.js +660 -0
- package/dist/push-apns--nEiZmEN.js +711 -0
- package/dist/push-apns-BtS6B6lb.js +713 -0
- package/dist/pw-ai-De_YOy7a.js +1908 -0
- package/dist/pw-ai-Dk7jIJv1.js +1911 -0
- package/dist/qr-cli-DSxXTYN2.js +353 -0
- package/dist/qr-cli-Dn5knnFe.js +349 -0
- package/dist/redact-Ci96Gj0O.js +191 -0
- package/dist/redact-snapshot-B9nof-Pb.js +1952 -0
- package/dist/redact-snapshot-BKiS91Mj.js +1952 -0
- package/dist/register.agent-BgQ-rWtf.js +292 -0
- package/dist/register.agent-tPRrRfND.js +1014 -0
- package/dist/register.configure-CEoVOpw5.js +130 -0
- package/dist/register.configure-CF88etaz.js +135 -0
- package/dist/register.import-B83Dn36B.js +29 -0
- package/dist/register.import-wIYU2cVW.js +31 -0
- package/dist/register.maintenance-Bodw9-yc.js +501 -0
- package/dist/register.maintenance-DVPKFhHd.js +503 -0
- package/dist/register.message-Bbhxqw4M.js +691 -0
- package/dist/register.message-FXGJ-Fvw.js +687 -0
- package/dist/register.onboard-BFWeMHzB.js +98 -0
- package/dist/register.onboard-DJXjOT8l.js +94 -0
- package/dist/register.setup-BYZrxVW3.js +118 -0
- package/dist/register.setup-D6Np6-FZ.js +114 -0
- package/dist/register.status-health-sessions-DPkBbvjs.js +667 -0
- package/dist/register.status-health-sessions-M8ehgKti.js +429 -0
- package/dist/register.subclis-D5RM3kKe.js +267 -0
- package/dist/replies-Py25tIXG.js +136 -0
- package/dist/replies-RF2dcW2J.js +136 -0
- package/dist/reply-B7uhFts6.js +12375 -0
- package/dist/reply-Cj87_pap.js +12372 -0
- package/dist/reply-directives-DXK-I5o-.js +182 -0
- package/dist/reply-directives-aedkptKK.js +182 -0
- package/dist/reply-payloads-CCx97kQn.js +527 -0
- package/dist/reply-prefix-BSf3PC0x.js +37 -0
- package/dist/reply-prefix-DBTlMHLK.js +37 -0
- package/dist/resolve-route-B-_IgETc.js +249 -0
- package/dist/resolve-route-C8ZsgWDQ.js +249 -0
- package/dist/response-prefix-template-3LeqJx2X.js +134 -0
- package/dist/response-prefix-template-DBrUVx5V.js +134 -0
- package/dist/retry-CDrH81GP.js +77 -0
- package/dist/retry-Dar_7pCv.js +77 -0
- package/dist/run-main-PBArg9R5.js +308 -0
- package/dist/runtime-guard-CK80eucm.js +60 -0
- package/dist/runtime-status-CR9445g5.js +12 -0
- package/dist/runtime-status-hFVEC3wO.js +12 -0
- package/dist/secure-random-A29D9lUM.js +44 -0
- package/dist/security-cli-DMQVMQ5q.js +488 -0
- package/dist/security-cli-JDcayB4A.js +483 -0
- package/dist/send-1N6QyVjn.js +332 -0
- package/dist/send-B9xVmndL.js +547 -0
- package/dist/send-BA6Mu-W3.js +29 -0
- package/dist/send-BJLUsy2t.js +492 -0
- package/dist/send-Bm9rpiP2.js +1779 -0
- package/dist/send-CBRoSsry.js +2245 -0
- package/dist/send-CHC56W1s.js +349 -0
- package/dist/send-Cn0b7k8h.js +374 -0
- package/dist/send-CnmGYw92.js +11 -0
- package/dist/send-CobD1w7f.js +349 -0
- package/dist/send-D6Ww-F9h.js +492 -0
- package/dist/send-DXAFFQYp.js +2245 -0
- package/dist/send-DmhJkhev.js +1178 -0
- package/dist/send-DsHIG0G1.js +547 -0
- package/dist/send-FlYnjngc.js +1776 -0
- package/dist/send-G6Fc81rK.js +426 -0
- package/dist/server-D0FgpmxU.js +202 -0
- package/dist/server-lifecycle-BOYzbH-E.js +2437 -0
- package/dist/server-lifecycle-D5SBHMVK.js +2437 -0
- package/dist/server-node-events-CdtU7Rc5.js +395 -0
- package/dist/server-node-events-Dmy3qN5b.js +391 -0
- package/dist/server-vF8ge3mr.js +206 -0
- package/dist/service-C2j81L86.js +670 -0
- package/dist/service-C8a0SXHD.js +670 -0
- package/dist/session-AulYhqOb.js +170 -0
- package/dist/session-C6VKWvx6.js +170 -0
- package/dist/session-cost-usage-0Vs4hgMe.js +627 -0
- package/dist/session-cost-usage-C-DsaOfN.js +627 -0
- package/dist/session-dirs-CO1f2ArM.js +318 -0
- package/dist/session-dirs-DoboH7Oy.js +318 -0
- package/dist/session-utils-DBulsht6.js +621 -0
- package/dist/session-utils-T5q3fRa8.js +621 -0
- package/dist/sessions-CVwczXXi.js +245 -0
- package/dist/sessions-CtyYgBNo.js +2569 -0
- package/dist/shell-env-DBS5su07.js +163 -0
- package/dist/shell-env-c3j5zcU9.js +163 -0
- package/dist/ssrf-8wNqPNzN.js +183 -0
- package/dist/ssrf-CJIdPXuS.js +183 -0
- package/dist/status-B3qdI8Di.js +1943 -0
- package/dist/status-DIMiapzD.js +1947 -0
- package/dist/status.update-BmuDZ7E7.js +449 -0
- package/dist/status.update-Mf6HSRvU.js +449 -0
- package/dist/store-C3Qw638o.js +2571 -0
- package/dist/store-CzhBjUCN.js +64 -0
- package/dist/store-ZNeFv2Q7.js +64 -0
- package/dist/store-rFhJJizy.js +53 -0
- package/dist/subagent-registry-Byq-lB4C.js +4856 -0
- package/dist/subagent-registry-CuJaQ1xK.js +4854 -0
- package/dist/subsystem-BAW_f3DI.js +1195 -0
- package/dist/subsystem-DGSHVL8I.js +1081 -0
- package/dist/system-cli-CjSLlOFT.js +73 -0
- package/dist/system-cli-fv7tCGm-.js +77 -0
- package/dist/systemd-40Rij3QR.js +547 -0
- package/dist/systemd-5C97CSzd.js +547 -0
- package/dist/systemd-hints-3iQteJw-.js +278 -0
- package/dist/systemd-hints-CyQqHq1i.js +278 -0
- package/dist/systemd-linger-B2rPbnAi.js +75 -0
- package/dist/systemd-linger-DDvkfxH-.js +75 -0
- package/dist/table-DFx25vNb.js +279 -0
- package/dist/tables-C5fI0PmT.js +55 -0
- package/dist/tables-Cm9qvQ9D.js +55 -0
- package/dist/tables-D-cd2K_u.js +55 -0
- package/dist/tailnet-Da-_9e8E.js +40 -0
- package/dist/tailnet-xt92Yaop.js +40 -0
- package/dist/tailscale-CnV0JWca.js +230 -0
- package/dist/tailscale-VkEC8dzj.js +230 -0
- package/dist/targets-BG_8PWUb.js +2607 -0
- package/dist/targets-C99szk_e.js +114 -0
- package/dist/targets-CmC5m7Ey.js +53 -0
- package/dist/targets-D-p4rJVS.js +650 -0
- package/dist/targets-D2OQt8-7.js +650 -0
- package/dist/targets-DIWHUy-P.js +220 -0
- package/dist/targets-Kg9seYGM.js +2606 -0
- package/dist/targets-_UWmnyI9.js +53 -0
- package/dist/thinking-4nOZPunr.js +60 -0
- package/dist/thinking-ZfH2V9Os.js +60 -0
- package/dist/tokens-TtJJxzRr.js +21 -0
- package/dist/tool-display-Bxs_1jIn.js +785 -0
- package/dist/tool-display-D9p_Ttkq.js +785 -0
- package/dist/tool-images-9Ron321Q.js +263 -0
- package/dist/tool-images-BWhy6WRN.js +263 -0
- package/dist/trash-B5xyvBDf.js +125 -0
- package/dist/trash-BpB96kHe.js +125 -0
- package/dist/tui-BHho4s2u.js +3237 -0
- package/dist/tui-DkyKw2eF.js +3237 -0
- package/dist/tui-cli-BKCFNGKb.js +67 -0
- package/dist/tui-cli-vyHcIhuv.js +63 -0
- package/dist/types.tools-BBb2rl3g.js +23 -0
- package/dist/types.tools-BDJw1yFx.js +23 -0
- package/dist/update-BSirvsRn.js +349 -0
- package/dist/update-cli-BRQbNBDe.js +1148 -0
- package/dist/update-cli-UZ2s7nw_.js +1150 -0
- package/dist/update-zdtu9Afq.js +349 -0
- package/dist/usage-DBeQW0aF.js +5481 -0
- package/dist/utils-DPoNpP7D.js +631 -0
- package/dist/voice-credentials-RtqXuQFI.js +46 -0
- package/dist/voice-credentials-lct_LZ5n.js +46 -0
- package/dist/web-BoG7a9Un.js +3051 -0
- package/dist/web-DpN1V6MU.js +75 -0
- package/dist/web-Tah48PqO.js +80 -0
- package/dist/webhooks-cli-D0qTqcfA.js +334 -0
- package/dist/webhooks-cli-DyHpiN3W.js +330 -0
- package/dist/whatsapp-actions-B3GFn-C5.js +126 -0
- package/dist/whatsapp-actions-CmTJ99Yc.js +131 -0
- package/dist/widearea-dns-CQqZIeu8.js +127 -0
- package/dist/workspace-Bmt-ZdQO.js +449 -0
- package/dist/workspace-DTXrBLPO.js +447 -0
- package/dist/zod-schema-CvFqwpNE.js +2719 -0
- package/dist/zod-schema-Y5SQgJLm.js +2719 -0
- package/extensions/voice-call/index.ts +18 -1
- package/package.json +1 -2
- package/dist/accounts-Aqbb2_Fn.js +0 -270
- package/dist/accounts-CYi-JUU1.js +0 -272
- package/dist/accounts-CvHzFyp1.js +0 -36
- package/dist/accounts-D3fAPVzU.js +0 -36
- package/dist/accounts-DZmv4bXS.js +0 -47
- package/dist/accounts-Dde0z8df.js +0 -32
- package/dist/accounts-yC-Ql9rZ.js +0 -47
- package/dist/ack-reactions-D0rHiWIj.js +0 -446
- package/dist/ack-reactions-FeaFDjTY.js +0 -446
- package/dist/acp-cli-CE4tzu4O.js +0 -1324
- package/dist/acp-cli-_cks_Lvs.js +0 -1318
- package/dist/active-listener-DKYgax8D.js +0 -37
- package/dist/active-listener-K-gHEsyV.js +0 -37
- package/dist/agent-ChcyT80V.js +0 -704
- package/dist/agent-Cno0E2vO.js +0 -703
- package/dist/agent-helpers-D7NhvM9Z.js +0 -400
- package/dist/agent-scope-BrDeaWWf.js +0 -116
- package/dist/agent-scope-CJW7vnF8.js +0 -114
- package/dist/agents-CB6qRJ_-.js +0 -760
- package/dist/agents.config-Dg9ZQl-w.js +0 -116
- package/dist/agents.config-THRuzfs5.js +0 -116
- package/dist/ansi-aRwLYlzD.js +0 -14
- package/dist/audio-BZvgJdlv.js +0 -43
- package/dist/audio-CgwsD4uc.js +0 -43
- package/dist/audio-preflight-CSxDYOk4.js +0 -69
- package/dist/audio-preflight-jt9fs20r.js +0 -64
- package/dist/audit-DN4K5QzN.js +0 -3149
- package/dist/audit-DQft5ak_.js +0 -3149
- package/dist/auth-BYtRHj--.js +0 -448
- package/dist/auth-CfNgYSQF.js +0 -180
- package/dist/auth-DQBj_DA7.js +0 -448
- package/dist/auth-EwcWsPDt.js +0 -181
- package/dist/banner-DSXqH9zp.js +0 -294
- package/dist/binaries-DPlY0cvi.js +0 -13
- package/dist/bindings-Cr-mXPiq.js +0 -69
- package/dist/bindings-Dr0bGRst.js +0 -69
- package/dist/bonjour-discovery-BKHQWWQn.js +0 -378
- package/dist/bonjour-discovery-D4g8uh38.js +0 -378
- package/dist/browser-cli-BMGShNyH.js +0 -1689
- package/dist/browser-cli-D1CuRU5T.js +0 -1694
- package/dist/call-DLhrOAO5.js +0 -2827
- package/dist/call-OUZMy2rk.js +0 -2826
- package/dist/catalog-CMicVL2I.js +0 -185
- package/dist/catalog-CTjf0roq.js +0 -185
- package/dist/channel-account-context-5hI72gYX.js +0 -550
- package/dist/channel-account-context-rFlv9fcH.js +0 -550
- package/dist/channel-activity-C1EIGNu1.js +0 -94
- package/dist/channel-activity-CEM5YJQs.js +0 -94
- package/dist/channel-activity-hL4KZrCz.js +0 -292
- package/dist/channel-options-BjzJIaz2.js +0 -33
- package/dist/channel-options-WnbOqY6C.js +0 -32
- package/dist/channel-selection-ByShtuhp.js +0 -51
- package/dist/channel-selection-DRNp47md.js +0 -51
- package/dist/channel-web-BOTo8rxq.js +0 -2136
- package/dist/channel-web-ByzL55Dq.js +0 -2134
- package/dist/channels-cli-C0cQD-2U.js +0 -1428
- package/dist/channels-cli-DxKQXFhk.js +0 -1423
- package/dist/channels-status-issues-C-aMtk-n.js +0 -18
- package/dist/channels-status-issues-Pz2omjVp.js +0 -18
- package/dist/chat-envelope-CQkxqiAp.js +0 -248
- package/dist/chat-envelope-CY1yvCc-.js +0 -248
- package/dist/chrome-DDFOlPEf.js +0 -1733
- package/dist/chrome-DNikl4VQ.js +0 -1732
- package/dist/chunk-B7Qk7ACV.js +0 -341
- package/dist/chunk-C2vxqDKb.js +0 -341
- package/dist/clack-prompter-DxWF9EMV.js +0 -122
- package/dist/clack-prompter-UsUyNqRE.js +0 -121
- package/dist/cleanup-utils-yPa4b4YC.js +0 -94
- package/dist/cli-CkLlqB_E.js +0 -127
- package/dist/cli-DhG9D-Md.js +0 -132
- package/dist/clipboard-DrMbwy6W.js +0 -31
- package/dist/clipboard-DuI4jJgy.js +0 -31
- package/dist/command-format-5Mm4OX03.js +0 -32
- package/dist/command-format-LFmgWzKJ.js +0 -18
- package/dist/command-registry-CgsvscuN.js +0 -215
- package/dist/commands-BSutwoQ9.js +0 -41
- package/dist/commands-CuX98AIv.js +0 -41
- package/dist/commands-registry-D8LoaUeU.js +0 -892
- package/dist/commands-registry-datKw4NJ.js +0 -891
- package/dist/common-0pVkAEMe.js +0 -156
- package/dist/common-nSRorWd3.js +0 -156
- package/dist/completion-cli-B7a95QTn.js +0 -452
- package/dist/completion-cli-niJGarCK.js +0 -452
- package/dist/config-CSkWl_q0.js +0 -4225
- package/dist/config-Z5vhysno.js +0 -4223
- package/dist/config-cli-CJppTZyQ.js +0 -243
- package/dist/config-cli-ChAgnw6Y.js +0 -248
- package/dist/config-guard-D2pPfuWT.js +0 -75
- package/dist/config-guard-DSMdtqh5.js +0 -99
- package/dist/config-validation-B_f7GMXB.js +0 -18
- package/dist/config-validation-Bgrd2M7q.js +0 -18
- package/dist/configure-CDzY1plT.js +0 -891
- package/dist/configure-DSkm6E6G.js +0 -889
- package/dist/constants-DNKY4Ei3.js +0 -70
- package/dist/constants-QiF_zDC2.js +0 -70
- package/dist/control-auth-ByLWpGmj.js +0 -397
- package/dist/control-auth-CMgYC6bI.js +0 -397
- package/dist/control-ui/assets/index-CuY3pfh1.js +0 -7716
- package/dist/control-ui/assets/index-CuY3pfh1.js.map +0 -1
- package/dist/control-ui/assets/index-D_fjkN3g.css +0 -1
- package/dist/control-ui-assets-Be7wYtPV.js +0 -186
- package/dist/control-ui-assets-x-FU54VZ.js +0 -186
- package/dist/conversation-label-tLwAlqLf.js +0 -36
- package/dist/cron-cli-BGvauKOQ.js +0 -497
- package/dist/cron-cli-UdG8AdsF.js +0 -492
- package/dist/daemon-cli-KNMfdVj-.js +0 -1197
- package/dist/daemon-cli-SZBvZblt.js +0 -1199
- package/dist/daemon-install-BTH9Hr-r.js +0 -56
- package/dist/daemon-install-CnUT0dtr.js +0 -61
- package/dist/daemon-install-helpers-C3AdCemv.js +0 -463
- package/dist/daemon-install-helpers-DsBl9bBo.js +0 -463
- package/dist/deliver-CiN6VwcX.js +0 -481
- package/dist/deliver-D07D18kt.js +0 -481
- package/dist/delivery-queue-1d--YXgK.js +0 -244
- package/dist/delivery-queue-CZOATijD.js +0 -244
- package/dist/devices-cli-COmVGO94.js +0 -323
- package/dist/devices-cli-c9Wz_pzF.js +0 -318
- package/dist/diagnostics-Bwm27ePU.js +0 -46
- package/dist/diagnostics-CIPDL1bH.js +0 -46
- package/dist/directory-cli-CV8H71eb.js +0 -224
- package/dist/directory-cli-Ck10mXCz.js +0 -219
- package/dist/dm-policy-shared-CUJow99p.js +0 -22
- package/dist/dm-policy-shared-cQeANZBI.js +0 -22
- package/dist/dns-cli-CRoAvkaQ.js +0 -199
- package/dist/dns-cli-U8TKnutF.js +0 -204
- package/dist/dock-CVCmU_Yv.js +0 -929
- package/dist/dock-Cj4PKiUh.js +0 -928
- package/dist/doctor-completion-CdevBv2E.js +0 -92
- package/dist/doctor-completion-inA4vFeO.js +0 -92
- package/dist/doctor-config-flow-B89ZE4Bk.js +0 -1935
- package/dist/doctor-config-flow-iPzjMVUg.js +0 -1934
- package/dist/enable-CqdyoDNA.js +0 -59
- package/dist/enable-DpHVKtoJ.js +0 -59
- package/dist/env-DUb5GiQe.js +0 -60
- package/dist/env-vars-CDr9IXFl.js +0 -43
- package/dist/env-vars-CLX_DBNR.js +0 -43
- package/dist/errors-24e316-U.js +0 -35
- package/dist/errors-CgC58q_F.js +0 -35
- package/dist/exec-D7Bp9Kzi.js +0 -164
- package/dist/exec-DLgyrvcf.js +0 -164
- package/dist/fetch-CYi6j9LI.js +0 -67
- package/dist/fetch-Cw0TofAa.js +0 -67
- package/dist/fetch-DNEsm4Ur.js +0 -67
- package/dist/file-lock-CkrYG1r7.js +0 -107
- package/dist/file-lock-DFd595E7.js +0 -107
- package/dist/fs-safe-DSwT85uK.js +0 -88
- package/dist/fs-safe-Du75CIw7.js +0 -98
- package/dist/gateway-cli-CXtNIS0I.js +0 -23734
- package/dist/gateway-cli-CpwHWzY9.js +0 -23739
- package/dist/gateway-rpc-C3ziRxqz.js +0 -28
- package/dist/gateway-rpc-R1PZJva3.js +0 -28
- package/dist/gmail-setup-utils-CUTCdGWa.js +0 -423
- package/dist/gmail-setup-utils-uqZ7m5TH.js +0 -422
- package/dist/health-DwdaafZg.js +0 -1417
- package/dist/health-format-DsqB_lOC.js +0 -28
- package/dist/health-k9Uyail6.js +0 -1414
- package/dist/heartbeat-visibility-BIl8Riqu.js +0 -125
- package/dist/heartbeat-visibility-BLSzfpF1.js +0 -125
- package/dist/help-format-D-X9bY8s.js +0 -17
- package/dist/helpers-D1ViXWK0.js +0 -10
- package/dist/hook-runner-global-DVKhou29.js +0 -527
- package/dist/hooks-cli-BRfeaDRR.js +0 -1219
- package/dist/hooks-cli-C_MV_mgF.js +0 -1224
- package/dist/host-env-security-Bms2_EMV.js +0 -92
- package/dist/host-env-security-CbiODGvQ.js +0 -92
- package/dist/image-ops-Brp1SxLh.js +0 -354
- package/dist/image-ops-kUTMt_X-.js +0 -354
- package/dist/import-BOEhw_un.js +0 -601
- package/dist/import-sFDcR1JL.js +0 -603
- package/dist/inbound-context-CXKhKQz4.js +0 -68
- package/dist/inbound-path-policy-BurOAu44.js +0 -90
- package/dist/inbound-path-policy-Bv1SSBX0.js +0 -90
- package/dist/inspect-BiW5KWS-.js +0 -559
- package/dist/inspect-DXr8ki5k.js +0 -559
- package/dist/installs-C83NIvWN.js +0 -325
- package/dist/installs-Cjh7Aon0.js +0 -325
- package/dist/ipv4-D1oXJaNu.js +0 -46
- package/dist/ipv4-D83xJ7X5.js +0 -46
- package/dist/ir-DSRvbFiq.js +0 -940
- package/dist/links-CPYVK7l1.js +0 -15
- package/dist/loader-BJfGTU_k.js +0 -22401
- package/dist/loader-DQg3uo_2.js +0 -22404
- package/dist/local-roots-09zAPZxt.js +0 -314
- package/dist/local-roots-CJVCfYzc.js +0 -313
- package/dist/logger-ANaZk_PW.js +0 -49
- package/dist/logging-DEDs-xX7.js +0 -20
- package/dist/login-BASSFCd8.js +0 -61
- package/dist/login-Diwrffhg.js +0 -62
- package/dist/login-qr-D62uNqK8.js +0 -324
- package/dist/login-qr-DMz0a5fd.js +0 -329
- package/dist/logs-cli-DDQs2cBR.js +0 -240
- package/dist/logs-cli-DOfyh2Yi.js +0 -235
- package/dist/markdown-tables--ARiu9Y1.js +0 -29
- package/dist/markdown-tables-CMPFjRFj.js +0 -29
- package/dist/media-DyXncdbb.js +0 -940
- package/dist/media-DyiZapYY.js +0 -10452
- package/dist/message-action-names-BnfElqpi.js +0 -2521
- package/dist/message-action-names-C_TV9lyY.js +0 -2521
- package/dist/message-channel-BHrK-j5D.js +0 -91
- package/dist/message-channel-DF4I2vOK.js +0 -91
- package/dist/mime-C4zhIbPz.js +0 -149
- package/dist/mime-Cxh_64P6.js +0 -149
- package/dist/net-B7tLlwbU.js +0 -225
- package/dist/net-DE2kzvsY.js +0 -225
- package/dist/node-cli-BJEaXcTB.js +0 -24
- package/dist/node-cli-BcYDUwDf.js +0 -24
- package/dist/nodes-cli-BOmTbFgD.js +0 -1345
- package/dist/nodes-cli-hqGTA4OO.js +0 -1350
- package/dist/nodes-screen-BbGQN2wt.js +0 -250
- package/dist/nodes-screen-id-Bb6Id.js +0 -250
- package/dist/note-BzfrQZI0.js +0 -92
- package/dist/note-xaYg6Lfa.js +0 -92
- package/dist/npm-registry-spec-V7j5Uas_.js +0 -786
- package/dist/npm-registry-spec-ja6-spul.js +0 -786
- package/dist/npm-resolution-DE1W1t6v.js +0 -86
- package/dist/npm-resolution-XRDZ0053.js +0 -86
- package/dist/onboard-B7x8JCXG.js +0 -438
- package/dist/onboard-BYTgC_5s.js +0 -436
- package/dist/onboard-channels-35YMU2Pp.js +0 -2548
- package/dist/onboard-channels-DzChgDkT.js +0 -2547
- package/dist/onboard-helpers-9_TBwBli.js +0 -364
- package/dist/onboard-helpers-DzoT97o-.js +0 -363
- package/dist/onboard-remote-BFU2wKgI.js +0 -127
- package/dist/onboard-remote-D2J_cv5n.js +0 -127
- package/dist/onboarding-BUG7enEb.js +0 -586
- package/dist/onboarding-ChOnGb8T.js +0 -588
- package/dist/onboarding.finalize-CNpdhW5E.js +0 -403
- package/dist/onboarding.finalize-U_eCxI9a.js +0 -400
- package/dist/onboarding.gateway-config-BaVZugTI.js +0 -193
- package/dist/onboarding.gateway-config-Bs6e-5-h.js +0 -200
- package/dist/outbound-6vgCW1Bp.js +0 -220
- package/dist/outbound-B34AeKpd.js +0 -221
- package/dist/outbound-attachment-9eMFwFrm.js +0 -18
- package/dist/outbound-attachment-D2QJXHUK.js +0 -18
- package/dist/outbound-attachment-e72S5Wk3.js +0 -18
- package/dist/pairing-cli-DDYb9ulI.js +0 -129
- package/dist/pairing-cli-KUiTqdZ_.js +0 -124
- package/dist/pairing-labels-B3ymC59s.js +0 -9
- package/dist/pairing-labels-_ahX1Iwx.js +0 -9
- package/dist/pairing-store-DAdsH-_X.js +0 -459
- package/dist/pairing-store-hEFX87_3.js +0 -460
- package/dist/path-env-DvGXF1PK.js +0 -89
- package/dist/path-env-nhpk9bHU.js +0 -89
- package/dist/path-guards-CIx4hURU.js +0 -31
- package/dist/path-guards-lL3tZoxY.js +0 -31
- package/dist/path-safety-Bm08v8w8.js +0 -14
- package/dist/path-safety-CphcstYi.js +0 -14
- package/dist/paths-BTaH3rLn.js +0 -232
- package/dist/plugin-auto-enable-B-ZbQJGk.js +0 -301
- package/dist/plugin-auto-enable-BlO7PQGZ.js +0 -302
- package/dist/plugin-registry-BVJ8V2ZN.js +0 -33
- package/dist/plugin-registry-Bto_z6NU.js +0 -33
- package/dist/plugin-sdk/auth/session-override.d.ts +0 -17
- package/dist/plugin-sdk/auto-reply/reply/directive-handling.auth.d.ts +0 -18
- package/dist/plugin-sdk/auto-reply/reply/elevated-allowlist-matcher.d.ts +0 -20
- package/dist/plugin-sdk/auto-reply/reply/elevated-unavailable.d.ts +0 -8
- package/dist/plugin-sdk/auto-reply/reply/reply-elevated.d.ts +0 -16
- package/dist/plugin-sdk/config/legacy.migrations.part-1.d.ts +0 -2
- package/dist/plugin-sdk/config/legacy.migrations.part-2.d.ts +0 -2
- package/dist/plugin-sdk/config/legacy.migrations.part-3.d.ts +0 -2
- package/dist/plugin-sdk/link-understanding/apply.d.ts +0 -10
- package/dist/plugin-sdk/link-understanding/defaults.d.ts +0 -2
- package/dist/plugin-sdk/link-understanding/detect.d.ts +0 -3
- package/dist/plugin-sdk/link-understanding/format.d.ts +0 -4
- package/dist/plugin-sdk/link-understanding/runner.d.ts +0 -11
- package/dist/plugin-sdk/media/input-files.d.ts +0 -95
- package/dist/plugin-sdk/media-understanding/apply.d.ts +0 -19
- package/dist/plugin-sdk/media-understanding/attachments.d.ts +0 -49
- package/dist/plugin-sdk/media-understanding/audio-preflight.d.ts +0 -16
- package/dist/plugin-sdk/media-understanding/concurrency.d.ts +0 -1
- package/dist/plugin-sdk/media-understanding/defaults.d.ts +0 -12
- package/dist/plugin-sdk/media-understanding/errors.d.ts +0 -6
- package/dist/plugin-sdk/media-understanding/format.d.ts +0 -7
- package/dist/plugin-sdk/media-understanding/fs.d.ts +0 -1
- package/dist/plugin-sdk/media-understanding/output-extract.d.ts +0 -2
- package/dist/plugin-sdk/media-understanding/providers/anthropic/index.d.ts +0 -2
- package/dist/plugin-sdk/media-understanding/providers/deepgram/index.d.ts +0 -2
- package/dist/plugin-sdk/media-understanding/providers/google/index.d.ts +0 -2
- package/dist/plugin-sdk/media-understanding/providers/google/video.d.ts +0 -3
- package/dist/plugin-sdk/media-understanding/providers/groq/index.d.ts +0 -2
- package/dist/plugin-sdk/media-understanding/providers/index.d.ts +0 -4
- package/dist/plugin-sdk/media-understanding/providers/minimax/index.d.ts +0 -2
- package/dist/plugin-sdk/media-understanding/providers/mistral/index.d.ts +0 -2
- package/dist/plugin-sdk/media-understanding/providers/moonshot/index.d.ts +0 -2
- package/dist/plugin-sdk/media-understanding/providers/moonshot/video.d.ts +0 -3
- package/dist/plugin-sdk/media-understanding/providers/openai/index.d.ts +0 -2
- package/dist/plugin-sdk/media-understanding/providers/zai/index.d.ts +0 -2
- package/dist/plugin-sdk/media-understanding/resolve.d.ts +0 -44
- package/dist/plugin-sdk/media-understanding/runner.d.ts +0 -34
- package/dist/plugin-sdk/media-understanding/runner.entries.d.ts +0 -33
- package/dist/plugin-sdk/media-understanding/scope.d.ts +0 -9
- package/dist/plugin-sdk/media-understanding/types.d.ts +0 -74
- package/dist/plugin-sdk/media-understanding/video.d.ts +0 -2
- package/dist/plugin-sdk/utils/mask-api-key.d.ts +0 -1
- package/dist/plugin-sdk/utils/run-with-concurrency.d.ts +0 -11
- package/dist/plugins-7B167wIj.js +0 -453
- package/dist/plugins-C3RTS5Jy.js +0 -455
- package/dist/plugins-cli-CHbhuxR7.js +0 -795
- package/dist/plugins-cli-GUPk8IuX.js +0 -800
- package/dist/ports-B_lYgIyN.js +0 -316
- package/dist/ports-BrGekhfF.js +0 -96
- package/dist/ports-CU98RMVJ.js +0 -96
- package/dist/ports-C_5EshUM.js +0 -370
- package/dist/program-D8r3mFrH.js +0 -246
- package/dist/program-context-CSlz7kzp.js +0 -474
- package/dist/progress-gsZJl831.js +0 -124
- package/dist/prompt-BXeXEH0o.js +0 -21
- package/dist/prompt-select-styled-CuS4G72n.js +0 -1650
- package/dist/prompt-select-styled-DqtdYPll.js +0 -1647
- package/dist/prompt-style-BzXtlA1Y.js +0 -9
- package/dist/provider-dispatcher-BsOoa4z4.js +0 -660
- package/dist/provider-dispatcher-Cn4VcFH5.js +0 -659
- package/dist/push-apns-EUvNahMw.js +0 -713
- package/dist/push-apns-xD9poCq1.js +0 -711
- package/dist/pw-ai-CQ_ErGyT.js +0 -1908
- package/dist/pw-ai-TvoT7tly.js +0 -1912
- package/dist/qr-cli-CserVCUj.js +0 -349
- package/dist/qr-cli-dSY8Jcjr.js +0 -354
- package/dist/redact-Cj9LoKIG.js +0 -191
- package/dist/redact-snapshot-C4RWjjs9.js +0 -2016
- package/dist/redact-snapshot-aZAJCPqx.js +0 -2016
- package/dist/register.agent-BwE2aFO7.js +0 -1017
- package/dist/register.agent-DwOgnYym.js +0 -288
- package/dist/register.configure-Ba8xQCRb.js +0 -132
- package/dist/register.configure-_tlAjnFW.js +0 -126
- package/dist/register.import-C--nBTJu.js +0 -29
- package/dist/register.import-CUqdK9cP.js +0 -32
- package/dist/register.maintenance-Ch7oCQ2l.js +0 -496
- package/dist/register.maintenance-Cw4IBMTp.js +0 -499
- package/dist/register.message-BXz6BEed.js +0 -688
- package/dist/register.message-DJ5PcBzu.js +0 -683
- package/dist/register.onboard-CTyhP6g0.js +0 -259
- package/dist/register.onboard-DguoyjHb.js +0 -264
- package/dist/register.setup-CNk7kQ44.js +0 -116
- package/dist/register.setup-DyYwwbK0.js +0 -111
- package/dist/register.status-health-sessions-7Wpl3o3c.js +0 -666
- package/dist/register.status-health-sessions-CSpCwMy1.js +0 -425
- package/dist/register.subclis-CrNdP6ot.js +0 -267
- package/dist/replies-10JzBkPW.js +0 -136
- package/dist/replies-BQusKLeB.js +0 -136
- package/dist/reply-C6vqeNRk.js +0 -13681
- package/dist/reply-D941sRe2.js +0 -13678
- package/dist/reply-directives-8s8hoVAG.js +0 -182
- package/dist/reply-directives-CmPgo60i.js +0 -182
- package/dist/reply-payloads-NlHsO4JU.js +0 -527
- package/dist/reply-prefix-Bto_wLwa.js +0 -37
- package/dist/reply-prefix-Dej_5SDE.js +0 -37
- package/dist/resolve-route-CKycdke1.js +0 -249
- package/dist/resolve-route-DlJHHITX.js +0 -249
- package/dist/response-prefix-template-CBr9RICF.js +0 -134
- package/dist/response-prefix-template-SN9HSK00.js +0 -134
- package/dist/retry-B19gMxS7.js +0 -77
- package/dist/retry-BMUvSHT-.js +0 -77
- package/dist/run-main-F7fA8Aky.js +0 -304
- package/dist/runner-DHV1DbSV.js +0 -2289
- package/dist/runner-GAXv51HH.js +0 -2289
- package/dist/runtime-Ds3E9SqF.js +0 -94
- package/dist/runtime-guard-BMa-MbRw.js +0 -60
- package/dist/secure-random-B22q_Bpm.js +0 -44
- package/dist/security-cli-Dx0UYbhj.js +0 -486
- package/dist/security-cli-SZoU0VXF.js +0 -480
- package/dist/send-2UWyzHA4.js +0 -492
- package/dist/send-BD7xe6fW.js +0 -2245
- package/dist/send-BPZSuv8R.js +0 -547
- package/dist/send-BdbDK7Gm.js +0 -1776
- package/dist/send-C0a60RHn.js +0 -349
- package/dist/send-CVy5b1Z3.js +0 -349
- package/dist/send-CYI3ZSbp.js +0 -29
- package/dist/send-CpcI6kqW.js +0 -11
- package/dist/send-D64qEY1N.js +0 -1779
- package/dist/send-DHQ_PjNs.js +0 -492
- package/dist/send-DZR-_UV3.js +0 -547
- package/dist/send-DbkjaWxS.js +0 -1174
- package/dist/send-FePh9AL3.js +0 -426
- package/dist/send-Tc6nYSJQ.js +0 -2245
- package/dist/send-WsTzM5wz.js +0 -332
- package/dist/send-t33E5qpm.js +0 -374
- package/dist/server-BBFfC210.js +0 -202
- package/dist/server-DGtv7y52.js +0 -207
- package/dist/server-lifecycle-D8RSrfzE.js +0 -2437
- package/dist/server-lifecycle-_gBPCxJ8.js +0 -2437
- package/dist/server-node-events-BGCJK_yD.js +0 -396
- package/dist/server-node-events-DMudyzAr.js +0 -391
- package/dist/service-DZNs7x-w.js +0 -670
- package/dist/service-r8kPiYnQ.js +0 -670
- package/dist/session-DkLYlMBm.js +0 -170
- package/dist/session-assFIC3H.js +0 -170
- package/dist/session-cost-usage-Dtm3t6lF.js +0 -627
- package/dist/session-cost-usage-bMbCS0Yv.js +0 -627
- package/dist/session-dirs-C81oNyFN.js +0 -947
- package/dist/session-dirs-D0KbSK3q.js +0 -947
- package/dist/session-utils-BVFN0nL4.js +0 -622
- package/dist/session-utils-ZhX2v-OC.js +0 -622
- package/dist/sessions-3glPunYr.js +0 -2569
- package/dist/sessions-CkGvMwES.js +0 -247
- package/dist/shell-env-CsV_IkJj.js +0 -163
- package/dist/shell-env-hZW9j-Uc.js +0 -163
- package/dist/ssrf-DC0zFdz4.js +0 -183
- package/dist/ssrf-UNL0fUGf.js +0 -183
- package/dist/status-BAZ_MHrX.js +0 -2061
- package/dist/status-DSs2TLg8.js +0 -2065
- package/dist/status.update-954Fhbjr.js +0 -79
- package/dist/status.update-B2umkV3j.js +0 -79
- package/dist/store-BSc6aGZT.js +0 -2571
- package/dist/store-BhG9XHsF.js +0 -64
- package/dist/store-C2dbfXzu.js +0 -53
- package/dist/store-CzdZLRld.js +0 -64
- package/dist/subagent-registry-Cgqw7fX_.js +0 -4856
- package/dist/subagent-registry-DuM_Lj5f.js +0 -4854
- package/dist/subsystem-BgxIzx7w.js +0 -1137
- package/dist/subsystem-SgROXN1v.js +0 -1079
- package/dist/system-cli-ChDx6W4P.js +0 -72
- package/dist/system-cli-DqtPt-83.js +0 -77
- package/dist/systemd-B_f-wDxc.js +0 -547
- package/dist/systemd-DXNd4qOC.js +0 -547
- package/dist/systemd-linger-1B4ULj46.js +0 -75
- package/dist/systemd-linger-BNoRZo8N.js +0 -75
- package/dist/table-CU9MUMy2.js +0 -279
- package/dist/tables-361UXJ4C.js +0 -55
- package/dist/tables-DK0bS_Of.js +0 -55
- package/dist/tables-DKUrXUwR.js +0 -55
- package/dist/tailnet-CB_Y1J-4.js +0 -40
- package/dist/tailnet-CIjiTkjf.js +0 -40
- package/dist/tailscale-CVH3JEAh.js +0 -230
- package/dist/tailscale-D9tfMGNs.js +0 -230
- package/dist/targets-B4rMyQFJ.js +0 -53
- package/dist/targets-BX9_lbJ2.js +0 -220
- package/dist/targets-BaPJE3_B.js +0 -2448
- package/dist/targets-BzeP3ZHj.js +0 -650
- package/dist/targets-D3WkRcT8.js +0 -120
- package/dist/targets-m9B7js6g.js +0 -2447
- package/dist/targets-rdWlC6Y-.js +0 -53
- package/dist/targets-vYAaa-34.js +0 -650
- package/dist/thinking-dksVQLY3.js +0 -88
- package/dist/thinking-l-rrvZwu.js +0 -88
- package/dist/tokens-DAFBx5qr.js +0 -21
- package/dist/tool-display-DPxFoqpo.js +0 -785
- package/dist/tool-display-Kb0G4otf.js +0 -785
- package/dist/tool-images-CmLjncli.js +0 -263
- package/dist/tool-images-DFd3tVJP.js +0 -263
- package/dist/trash-B5GquK_R.js +0 -125
- package/dist/trash-CmkALnFO.js +0 -125
- package/dist/tui-BIcG2bzZ.js +0 -3326
- package/dist/tui-CC7CRvvX.js +0 -3326
- package/dist/tui-cli-HnK7v6FE.js +0 -60
- package/dist/tui-cli-TBlcCL9v.js +0 -65
- package/dist/update-Bemi0zlX.js +0 -349
- package/dist/update-CHtOiEVf.js +0 -349
- package/dist/update-cli--Vi9jWtP.js +0 -1375
- package/dist/update-cli-C-DC8AbE.js +0 -1372
- package/dist/usage-44NjC-BK.js +0 -5336
- package/dist/utils-C5daYcFn.js +0 -631
- package/dist/web-Beg93X-5.js +0 -3071
- package/dist/web-C6vR1QMc.js +0 -72
- package/dist/web-uI1xGRV-.js +0 -78
- package/dist/webhooks-cli-CyTfI18g.js +0 -330
- package/dist/webhooks-cli-DW8P9jL_.js +0 -335
- package/dist/whatsapp-actions-CANxWPbG.js +0 -130
- package/dist/whatsapp-actions-DX_8e1lY.js +0 -124
- package/dist/widearea-dns-fETWNpyh.js +0 -127
- package/dist/workspace-BxtrYz-g.js +0 -449
- package/dist/workspace-QdYobHCO.js +0 -447
- package/dist/zod-schema-C1zZtGYm.js +0 -2696
- package/dist/zod-schema-CR7FaEW2.js +0 -2696
- /package/dist/{account-lookup-R1ParPyR.js → account-lookup-CIY_RKhi.js} +0 -0
- /package/dist/{agent-helpers-Bzz_tiPK.js → agent-helpers-Bs2nBXeI.js} +0 -0
- /package/dist/{api-DSIfHPts.js → api-BE4ZCWWB.js} +0 -0
- /package/dist/{api-DTwcrkBE.js → api-wsk9zRVi.js} +0 -0
- /package/dist/{argv-DW4MYBdJ.js → argv-BY8EVMTP.js} +0 -0
- /package/dist/{brew-CBsS-Vq1.js → brew-CmTYeZk1.js} +0 -0
- /package/dist/{brew-DJvEvRfG.js → brew-V4lMBeE3.js} +0 -0
- /package/dist/{chat-type-BPBtOjer.js → chat-type-BP9akbag.js} +0 -0
- /package/dist/{cleanup-utils-zWAqOnW8.js → cleanup-utils-ZC2zvntc.js} +0 -0
- /package/dist/{cli-name-3MdfbvIR.js → cli-name-BZsYSp9l.js} +0 -0
- /package/dist/{cli-name-CpSGz3mA.js → cli-name-CRe5Ow_t.js} +0 -0
- /package/dist/{cli-utils-DLQmX9d8.js → cli-utils-BUOtyfnU.js} +0 -0
- /package/dist/{cli-utils-DVWIt9Ob.js → cli-utils-CGB3cBZm.js} +0 -0
- /package/dist/{client-D5m46AuY.js → client-9dK56xly.js} +0 -0
- /package/dist/{client-Fi2k2G9Z.js → client-D-R1YdRD.js} +0 -0
- /package/dist/{command-options-Eo_ESfC0.js → command-options-CnHA4TzR.js} +0 -0
- /package/dist/{command-options-criepGrH.js → command-options-D2nN4AXX.js} +0 -0
- /package/dist/{config-eval-DbGlbDlp.js → config-eval-BQIR-wSg.js} +0 -0
- /package/dist/{config-eval-Yxi-wJPE.js → config-eval-Bh82JoXK.js} +0 -0
- /package/dist/{constants-BlFnttWm.js → constants-C7j1VA2S.js} +0 -0
- /package/dist/{constants-wpkIJk8U.js → constants-DoYLsBmv.js} +0 -0
- /package/dist/{credentials-Bqu9Xdfz.js → credentials-C_RoJFmK.js} +0 -0
- /package/dist/{credentials-DQ28n4lc.js → credentials-DM_Dj0m8.js} +0 -0
- /package/dist/{daemon-runtime-CMnbwryP.js → daemon-runtime-9oDBR7YW.js} +0 -0
- /package/dist/{daemon-runtime-aQhinwSL.js → daemon-runtime-CzFI2dPw.js} +0 -0
- /package/dist/{dangerous-name-matching-B4MRPcn-.js → dangerous-name-matching-BlTBBZns.js} +0 -0
- /package/dist/{dangerous-name-matching-UV0YfXlV.js → dangerous-name-matching-CSq9sJDG.js} +0 -0
- /package/dist/{dangerous-tools-BU0t3SUd.js → dangerous-tools-BRmbBvRf.js} +0 -0
- /package/dist/{dangerous-tools-Ce1dELvv.js → dangerous-tools-D4jtl72G.js} +0 -0
- /package/dist/{fetch-timeout-DoySHqfO.js → fetch-timeout-CytN1wiO.js} +0 -0
- /package/dist/{fetch-timeout-jOIu9Xud.js → fetch-timeout-DBRRPNBi.js} +0 -0
- /package/dist/{file-identity-BxlKD8Ys.js → file-identity-CeRK5CJC.js} +0 -0
- /package/dist/{format-duration-DQ1Dl3YB.js → format-duration-B-Uv5nOi.js} +0 -0
- /package/dist/{format-duration-Oj8pTbYL.js → format-duration-D1M3Zxu6.js} +0 -0
- /package/dist/{format-relative-8dpVUfzZ.js → format-relative-Czf5fUjn.js} +0 -0
- /package/dist/{format-relative-Cywx6ldk.js → format-relative-zwkkXJvs.js} +0 -0
- /package/dist/{health-format-FHquW42d.js → health-format-DF54wvUU.js} +0 -0
- /package/dist/{heartbeat-wake-AkM9ZRL2.js → heartbeat-wake-CvHncCjP.js} +0 -0
- /package/dist/{heartbeat-wake-Y97geucO.js → heartbeat-wake-DLxQm6-U.js} +0 -0
- /package/dist/{help-format-Ca9FzlcN.js → help-format-CJQ7APRn.js} +0 -0
- /package/dist/{helpers-703bXVlF.js → helpers-BER76F_2.js} +0 -0
- /package/dist/{helpers-CpIyUra4.js → helpers-n2CtWpm9.js} +0 -0
- /package/dist/{helpers-BPOeGmd1.js → helpers-ndPQWl6m.js} +0 -0
- /package/dist/{inbound-context-BtA228jl.js → inbound-context-BLy-G2Eq.js} +0 -0
- /package/dist/{input-provenance-BgfeDgck.js → input-provenance-gIfDn1ki.js} +0 -0
- /package/dist/{input-provenance-duDehu0D.js → input-provenance-wkso1o5V.js} +0 -0
- /package/dist/{ip-kVgrMfw-.js → ip-D4VG5EJO.js} +0 -0
- /package/dist/{ip-o-YLqTzQ.js → ip-MwCwRA7c.js} +0 -0
- /package/dist/{is-main-BE1Jih91.js → is-main-BmHYGRhd.js} +0 -0
- /package/dist/{json-file-DY96R8LK.js → json-file-BW22hGtf.js} +0 -0
- /package/dist/{json-file-DNead8D_.js → json-file-DwRAfAAy.js} +0 -0
- /package/dist/{json-files-DW71C3QC.js → json-files-BI20PLIm.js} +0 -0
- /package/dist/{json-files-CjOU2Hds.js → json-files-Dy52honG.js} +0 -0
- /package/dist/{lanes-3Hy9dOzA.js → lanes-1CBKdsiR.js} +0 -0
- /package/dist/{lanes-BmSbfjW9.js → lanes-DqVYfPRG.js} +0 -0
- /package/dist/{links-NSE5DGnq.js → links-CwTlzaPe.js} +0 -0
- /package/dist/{location-BUhzov-a.js → location-50gaJF5Z.js} +0 -0
- /package/dist/{location-C8XO7UyG.js → location-Qo8Ii1zo.js} +0 -0
- /package/dist/{logger-DWcHNtdK.js → logger-B8BE0PyS.js} +0 -0
- /package/dist/{logger-DsFoLpk4.js → logger-CPvz-aPM.js} +0 -0
- /package/dist/{logger-n5cQNuVr.js → logger-cL0D2DCr.js} +0 -0
- /package/dist/{logging-BEw3xi9W.js → logging-DTEoeoa3.js} +0 -0
- /package/dist/{mutable-allowlist-detectors-DbdlW-cX.js → mutable-allowlist-detectors-BXE7Hr7F.js} +0 -0
- /package/dist/{mutable-allowlist-detectors-U5ThQr9V.js → mutable-allowlist-detectors-CtKavajp.js} +0 -0
- /package/dist/{onboard-config-BeFaSbOY.js → onboard-config-DOmXYEvJ.js} +0 -0
- /package/dist/{onboard-config-x054Cod3.js → onboard-config-JmR21VYa.js} +0 -0
- /package/dist/{parse-log-line-DTl9swsB.js → parse-log-line-GisaZn5H.js} +0 -0
- /package/dist/{parse-log-line-LEXRMnqc.js → parse-log-line-ZsbwG_u7.js} +0 -0
- /package/dist/{parse-timeout-C7ggYYiO.js → parse-timeout-BpphuwYl.js} +0 -0
- /package/dist/{parse-timeout-o1QTe1VR.js → parse-timeout-CE6BjmGU.js} +0 -0
- /package/dist/plugin-sdk/{media-understanding → stt}/providers/deepgram/audio.d.ts +0 -0
- /package/dist/plugin-sdk/{media-understanding → stt}/providers/google/audio.d.ts +0 -0
- /package/dist/plugin-sdk/{media-understanding → stt}/providers/google/inline-data.d.ts +0 -0
- /package/dist/plugin-sdk/{media-understanding → stt}/providers/openai/audio.d.ts +0 -0
- /package/dist/plugin-sdk/{media-understanding → stt}/providers/shared.d.ts +0 -0
- /package/dist/{plugins-allowlist-Cf3EjAjw.js → plugins-allowlist-A38nxBRG.js} +0 -0
- /package/dist/{plugins-allowlist-Dml1TRY5.js → plugins-allowlist-D2tS9tcu.js} +0 -0
- /package/dist/{polls-CwwHzYBM.js → polls-BLyT08ZI.js} +0 -0
- /package/dist/{polls-DdY_LCOM.js → polls-BmymsJEe.js} +0 -0
- /package/dist/{ports-lsof-Dv4WDRbi.js → ports-lsof-CDyv5GJd.js} +0 -0
- /package/dist/{process-scoped-map-C7KeadUK.js → process-scoped-map-BCJR56ZB.js} +0 -0
- /package/dist/{process-scoped-map-CuVgan0a.js → process-scoped-map-Cb1EHPyN.js} +0 -0
- /package/dist/{program-context-Bqg7MHJh.js → program-context-DlXnmuB7.js} +0 -0
- /package/dist/{progress-DSHP8RB4.js → progress-DRLmcFiG.js} +0 -0
- /package/dist/{prompt-B2SgjtOJ.js → prompt-BRGfic91.js} +0 -0
- /package/dist/{prompt-style-D-ViRLW_.js → prompt-style-CUuA6OCy.js} +0 -0
- /package/dist/{provider-utils-FaBmofiq.js → provider-utils-C9kBVF1f.js} +0 -0
- /package/dist/{proxy-BUoQO1tr.js → proxy-BMJL0Qog.js} +0 -0
- /package/dist/{proxy-dRhp8Ykw.js → proxy-D-qGA1vm.js} +0 -0
- /package/dist/{pw-ai-state-Cg1RrEiW.js → pw-ai-state--TxTVwRW.js} +0 -0
- /package/dist/{pw-ai-state-DidjiYBK.js → pw-ai-state-CwXeO5d0.js} +0 -0
- /package/dist/{redact-BlqmrEU3.js → redact-BW8tobyp.js} +0 -0
- /package/dist/{redact-identifier-BTIWtaa-.js → redact-identifier-BJOQDEj0.js} +0 -0
- /package/dist/{redact-identifier-HyK89Sod.js → redact-identifier-Bv5SUUw-.js} +0 -0
- /package/dist/{remoteclaw-root-CtzHY_u8.js → remoteclaw-root-BfPjgewe.js} +0 -0
- /package/dist/{remoteclaw-root-bO85B6Kq.js → remoteclaw-root-E4-hmb4E.js} +0 -0
- /package/dist/{render-DrBfVs0u.js → render-BhKzKdV0.js} +0 -0
- /package/dist/{render-uf6PvGMV.js → render-e7fENCYH.js} +0 -0
- /package/dist/{retry-CByUYDAZ.js → retry-BWv_fy4u.js} +0 -0
- /package/dist/{runtime-guard-D-cp6ZAE.js → runtime-guard-Bhx-pb8_.js} +0 -0
- /package/dist/{secret-equal-CF39pFqv.js → secret-equal-D6AoXne1.js} +0 -0
- /package/dist/{secret-equal-D7A3Bol7.js → secret-equal-DLnUuWM3.js} +0 -0
- /package/dist/{secure-random-BOP0UuZY.js → secure-random-CJtykx_p.js} +0 -0
- /package/dist/{secure-random-_dzDDlFo.js → secure-random-CRVHgtmO.js} +0 -0
- /package/dist/{session-key-C2n-VILA.js → session-key-CgKWfjoZ.js} +0 -0
- /package/dist/{stagger-CjeisVRF.js → stagger--wvODnNe.js} +0 -0
- /package/dist/{stagger-Cu9_3JD_.js → stagger-BLmTO4cK.js} +0 -0
- /package/dist/{status-DaSGMHlt.js → status-1zVD-Clq.js} +0 -0
- /package/dist/{status-bTdQW3Mt.js → status-BtRY0nXQ.js} +0 -0
- /package/dist/{strip-inbound-meta-0cvL6itU.js → strip-inbound-meta-zmUXypSS.js} +0 -0
- /package/dist/{strip-inbound-meta-DuDjnGjC.js → strip-inbound-meta-zqtN9FTK.js} +0 -0
- /package/dist/{table-iXOQchYB.js → table-On3hkCqi.js} +0 -0
- /package/dist/{target-errors-ChjvOMuV.js → target-errors-DJVRKFcU.js} +0 -0
- /package/dist/{target-errors-DdIAPcMM.js → target-errors-GZXDqlUu.js} +0 -0
- /package/dist/{targets-CE4AYRI9.js → targets-B46m7u5J.js} +0 -0
- /package/dist/{targets-BtGRUQMa.js → targets-D01MJGnh.js} +0 -0
- /package/dist/{targets-WSwPflb6.js → targets-D7PT_rdO.js} +0 -0
- /package/dist/{text-format-BQ3z_OXA.js → text-format-DarxU3JH.js} +0 -0
- /package/dist/{text-format-CahQpVRb.js → text-format-Ds92M9UT.js} +0 -0
- /package/dist/{tokens-gcZ7MOvD.js → tokens-Dw7ZdYwT.js} +0 -0
- /package/dist/{usage-C1lHaofV.js → usage-BIzKZ5dT.js} +0 -0
- /package/dist/{usage-CRJFqYf8.js → usage-BvZOzIC7.js} +0 -0
- /package/dist/{usage-format-Bs8DkQtr.js → usage-format-CmniSPCG.js} +0 -0
- /package/dist/{usage-format-CRVpDVj1.js → usage-format-D_KQYQ-w.js} +0 -0
- /package/dist/{version-Ba6dSSl9.js → version-CVMnqdzu.js} +0 -0
- /package/dist/{widearea-dns-C5Fr8Rr1.js → widearea-dns-D01FFYZ8.js} +0 -0
- /package/dist/{workspace-BIiYRjA3.js → workspace-BJCKO8Ns.js} +0 -0
- /package/dist/{workspace-DkGLVfOl.js → workspace-BisvA9oA.js} +0 -0
- /package/dist/{wsl-mFuShVrc.js → wsl-PDLKeX04.js} +0 -0
- /package/dist/{wsl-Cs-gowFJ.js → wsl-kFaeW76c.js} +0 -0
package/README.md
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
<p align="center">
|
|
4
4
|
<picture>
|
|
5
|
-
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/remoteclaw/remoteclaw/main/docs/assets/remoteclaw-logo-text.png">
|
|
6
|
-
<img src="https://raw.githubusercontent.com/remoteclaw/remoteclaw/main/docs/assets/remoteclaw-logo-text-dark.png" alt="RemoteClaw" width="500">
|
|
5
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/remoteclaw/remoteclaw/main/docs/public/assets/remoteclaw-logo-text.png">
|
|
6
|
+
<img src="https://raw.githubusercontent.com/remoteclaw/remoteclaw/main/docs/public/assets/remoteclaw-logo-text-dark.png" alt="RemoteClaw" width="500">
|
|
7
7
|
</picture>
|
|
8
8
|
</p>
|
|
9
9
|
|
|
@@ -0,0 +1,272 @@
|
|
|
1
|
+
import { p as resolveOAuthDir } from "./paths-DHuXVC00.js";
|
|
2
|
+
import { E as info, N as success, R as getChildLogger, _ as resolveUserPath, d as jidToE164 } from "./utils-DPoNpP7D.js";
|
|
3
|
+
import { i as defaultRuntime } from "./ansi-DtaiOnt1.js";
|
|
4
|
+
import { h as normalizeAccountId, m as DEFAULT_ACCOUNT_ID } from "./session-key-CgKWfjoZ.js";
|
|
5
|
+
import { t as resolveAccountEntry } from "./account-lookup-CIY_RKhi.js";
|
|
6
|
+
import { t as formatCliCommand } from "./command-format-Dntg_tnC.js";
|
|
7
|
+
import fs from "node:fs";
|
|
8
|
+
import path from "node:path";
|
|
9
|
+
import fs$1 from "node:fs/promises";
|
|
10
|
+
|
|
11
|
+
//#region src/channels/plugins/account-helpers.ts
|
|
12
|
+
function createAccountListHelpers(channelKey) {
|
|
13
|
+
function listConfiguredAccountIds(cfg) {
|
|
14
|
+
const accounts = (cfg.channels?.[channelKey])?.accounts;
|
|
15
|
+
if (!accounts || typeof accounts !== "object") return [];
|
|
16
|
+
return Object.keys(accounts).filter(Boolean);
|
|
17
|
+
}
|
|
18
|
+
function listAccountIds(cfg) {
|
|
19
|
+
const ids = listConfiguredAccountIds(cfg);
|
|
20
|
+
if (ids.length === 0) return [DEFAULT_ACCOUNT_ID];
|
|
21
|
+
return ids.toSorted((a, b) => a.localeCompare(b));
|
|
22
|
+
}
|
|
23
|
+
function resolveDefaultAccountId(cfg) {
|
|
24
|
+
const ids = listAccountIds(cfg);
|
|
25
|
+
if (ids.includes(DEFAULT_ACCOUNT_ID)) return DEFAULT_ACCOUNT_ID;
|
|
26
|
+
return ids[0] ?? DEFAULT_ACCOUNT_ID;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
listConfiguredAccountIds,
|
|
30
|
+
listAccountIds,
|
|
31
|
+
resolveDefaultAccountId
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
//#endregion
|
|
36
|
+
//#region src/web/auth-store.ts
|
|
37
|
+
function resolveDefaultWebAuthDir() {
|
|
38
|
+
return path.join(resolveOAuthDir(), "whatsapp", DEFAULT_ACCOUNT_ID);
|
|
39
|
+
}
|
|
40
|
+
const WA_WEB_AUTH_DIR = resolveDefaultWebAuthDir();
|
|
41
|
+
function resolveWebCredsPath(authDir) {
|
|
42
|
+
return path.join(authDir, "creds.json");
|
|
43
|
+
}
|
|
44
|
+
function resolveWebCredsBackupPath(authDir) {
|
|
45
|
+
return path.join(authDir, "creds.json.bak");
|
|
46
|
+
}
|
|
47
|
+
function hasWebCredsSync(authDir) {
|
|
48
|
+
try {
|
|
49
|
+
const stats = fs.statSync(resolveWebCredsPath(authDir));
|
|
50
|
+
return stats.isFile() && stats.size > 1;
|
|
51
|
+
} catch {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
function readCredsJsonRaw(filePath) {
|
|
56
|
+
try {
|
|
57
|
+
if (!fs.existsSync(filePath)) return null;
|
|
58
|
+
const stats = fs.statSync(filePath);
|
|
59
|
+
if (!stats.isFile() || stats.size <= 1) return null;
|
|
60
|
+
return fs.readFileSync(filePath, "utf-8");
|
|
61
|
+
} catch {
|
|
62
|
+
return null;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
function maybeRestoreCredsFromBackup(authDir) {
|
|
66
|
+
const logger = getChildLogger({ module: "web-session" });
|
|
67
|
+
try {
|
|
68
|
+
const credsPath = resolveWebCredsPath(authDir);
|
|
69
|
+
const backupPath = resolveWebCredsBackupPath(authDir);
|
|
70
|
+
const raw = readCredsJsonRaw(credsPath);
|
|
71
|
+
if (raw) {
|
|
72
|
+
JSON.parse(raw);
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
const backupRaw = readCredsJsonRaw(backupPath);
|
|
76
|
+
if (!backupRaw) return;
|
|
77
|
+
JSON.parse(backupRaw);
|
|
78
|
+
fs.copyFileSync(backupPath, credsPath);
|
|
79
|
+
try {
|
|
80
|
+
fs.chmodSync(credsPath, 384);
|
|
81
|
+
} catch {}
|
|
82
|
+
logger.warn({ credsPath }, "restored corrupted WhatsApp creds.json from backup");
|
|
83
|
+
} catch {}
|
|
84
|
+
}
|
|
85
|
+
async function webAuthExists(authDir = resolveDefaultWebAuthDir()) {
|
|
86
|
+
const resolvedAuthDir = resolveUserPath(authDir);
|
|
87
|
+
maybeRestoreCredsFromBackup(resolvedAuthDir);
|
|
88
|
+
const credsPath = resolveWebCredsPath(resolvedAuthDir);
|
|
89
|
+
try {
|
|
90
|
+
await fs$1.access(resolvedAuthDir);
|
|
91
|
+
} catch {
|
|
92
|
+
return false;
|
|
93
|
+
}
|
|
94
|
+
try {
|
|
95
|
+
const stats = await fs$1.stat(credsPath);
|
|
96
|
+
if (!stats.isFile() || stats.size <= 1) return false;
|
|
97
|
+
const raw = await fs$1.readFile(credsPath, "utf-8");
|
|
98
|
+
JSON.parse(raw);
|
|
99
|
+
return true;
|
|
100
|
+
} catch {
|
|
101
|
+
return false;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
async function clearLegacyBaileysAuthState(authDir) {
|
|
105
|
+
const entries = await fs$1.readdir(authDir, { withFileTypes: true });
|
|
106
|
+
const shouldDelete = (name) => {
|
|
107
|
+
if (name === "oauth.json") return false;
|
|
108
|
+
if (name === "creds.json" || name === "creds.json.bak") return true;
|
|
109
|
+
if (!name.endsWith(".json")) return false;
|
|
110
|
+
return /^(app-state-sync|session|sender-key|pre-key)-/.test(name);
|
|
111
|
+
};
|
|
112
|
+
await Promise.all(entries.map(async (entry) => {
|
|
113
|
+
if (!entry.isFile()) return;
|
|
114
|
+
if (!shouldDelete(entry.name)) return;
|
|
115
|
+
await fs$1.rm(path.join(authDir, entry.name), { force: true });
|
|
116
|
+
}));
|
|
117
|
+
}
|
|
118
|
+
async function logoutWeb(params) {
|
|
119
|
+
const runtime = params.runtime ?? defaultRuntime;
|
|
120
|
+
const resolvedAuthDir = resolveUserPath(params.authDir ?? resolveDefaultWebAuthDir());
|
|
121
|
+
if (!await webAuthExists(resolvedAuthDir)) {
|
|
122
|
+
runtime.log(info("No WhatsApp Web session found; nothing to delete."));
|
|
123
|
+
return false;
|
|
124
|
+
}
|
|
125
|
+
if (params.isLegacyAuthDir) await clearLegacyBaileysAuthState(resolvedAuthDir);
|
|
126
|
+
else await fs$1.rm(resolvedAuthDir, {
|
|
127
|
+
recursive: true,
|
|
128
|
+
force: true
|
|
129
|
+
});
|
|
130
|
+
runtime.log(success("Cleared WhatsApp Web credentials."));
|
|
131
|
+
return true;
|
|
132
|
+
}
|
|
133
|
+
function readWebSelfId(authDir = resolveDefaultWebAuthDir()) {
|
|
134
|
+
try {
|
|
135
|
+
const credsPath = resolveWebCredsPath(resolveUserPath(authDir));
|
|
136
|
+
if (!fs.existsSync(credsPath)) return {
|
|
137
|
+
e164: null,
|
|
138
|
+
jid: null
|
|
139
|
+
};
|
|
140
|
+
const raw = fs.readFileSync(credsPath, "utf-8");
|
|
141
|
+
const jid = JSON.parse(raw)?.me?.id ?? null;
|
|
142
|
+
return {
|
|
143
|
+
e164: jid ? jidToE164(jid, { authDir }) : null,
|
|
144
|
+
jid
|
|
145
|
+
};
|
|
146
|
+
} catch {
|
|
147
|
+
return {
|
|
148
|
+
e164: null,
|
|
149
|
+
jid: null
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Return the age (in milliseconds) of the cached WhatsApp web auth state, or null when missing.
|
|
155
|
+
* Helpful for heartbeats/observability to spot stale credentials.
|
|
156
|
+
*/
|
|
157
|
+
function getWebAuthAgeMs(authDir = resolveDefaultWebAuthDir()) {
|
|
158
|
+
try {
|
|
159
|
+
const stats = fs.statSync(resolveWebCredsPath(resolveUserPath(authDir)));
|
|
160
|
+
return Date.now() - stats.mtimeMs;
|
|
161
|
+
} catch {
|
|
162
|
+
return null;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
function logWebSelfId(authDir = resolveDefaultWebAuthDir(), runtime = defaultRuntime, includeChannelPrefix = false) {
|
|
166
|
+
const { e164, jid } = readWebSelfId(authDir);
|
|
167
|
+
const details = e164 || jid ? `${e164 ?? "unknown"}${jid ? ` (jid ${jid})` : ""}` : "unknown";
|
|
168
|
+
const prefix = includeChannelPrefix ? "Web Channel: " : "";
|
|
169
|
+
runtime.log(info(`${prefix}${details}`));
|
|
170
|
+
}
|
|
171
|
+
async function pickWebChannel(pref, authDir = resolveDefaultWebAuthDir()) {
|
|
172
|
+
const choice = pref === "auto" ? "web" : pref;
|
|
173
|
+
if (!await webAuthExists(authDir)) throw new Error(`No WhatsApp Web session found. Run \`${formatCliCommand("remoteclaw channels login --channel whatsapp --verbose")}\` to link.`);
|
|
174
|
+
return choice;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
//#endregion
|
|
178
|
+
//#region src/web/accounts.ts
|
|
179
|
+
const { listConfiguredAccountIds, listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("whatsapp");
|
|
180
|
+
const listWhatsAppAccountIds = listAccountIds;
|
|
181
|
+
const resolveDefaultWhatsAppAccountId = resolveDefaultAccountId;
|
|
182
|
+
function listWhatsAppAuthDirs(cfg) {
|
|
183
|
+
const oauthDir = resolveOAuthDir();
|
|
184
|
+
const whatsappDir = path.join(oauthDir, "whatsapp");
|
|
185
|
+
const authDirs = new Set([oauthDir, path.join(whatsappDir, DEFAULT_ACCOUNT_ID)]);
|
|
186
|
+
const accountIds = listConfiguredAccountIds(cfg);
|
|
187
|
+
for (const accountId of accountIds) authDirs.add(resolveWhatsAppAuthDir({
|
|
188
|
+
cfg,
|
|
189
|
+
accountId
|
|
190
|
+
}).authDir);
|
|
191
|
+
try {
|
|
192
|
+
const entries = fs.readdirSync(whatsappDir, { withFileTypes: true });
|
|
193
|
+
for (const entry of entries) {
|
|
194
|
+
if (!entry.isDirectory()) continue;
|
|
195
|
+
authDirs.add(path.join(whatsappDir, entry.name));
|
|
196
|
+
}
|
|
197
|
+
} catch {}
|
|
198
|
+
return Array.from(authDirs);
|
|
199
|
+
}
|
|
200
|
+
function hasAnyWhatsAppAuth(cfg) {
|
|
201
|
+
return listWhatsAppAuthDirs(cfg).some((authDir) => hasWebCredsSync(authDir));
|
|
202
|
+
}
|
|
203
|
+
function resolveAccountConfig(cfg, accountId) {
|
|
204
|
+
return resolveAccountEntry(cfg.channels?.whatsapp?.accounts, accountId);
|
|
205
|
+
}
|
|
206
|
+
function resolveDefaultAuthDir(accountId) {
|
|
207
|
+
return path.join(resolveOAuthDir(), "whatsapp", normalizeAccountId(accountId));
|
|
208
|
+
}
|
|
209
|
+
function resolveLegacyAuthDir() {
|
|
210
|
+
return resolveOAuthDir();
|
|
211
|
+
}
|
|
212
|
+
function legacyAuthExists(authDir) {
|
|
213
|
+
try {
|
|
214
|
+
return fs.existsSync(path.join(authDir, "creds.json"));
|
|
215
|
+
} catch {
|
|
216
|
+
return false;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
function resolveWhatsAppAuthDir(params) {
|
|
220
|
+
const accountId = params.accountId.trim() || DEFAULT_ACCOUNT_ID;
|
|
221
|
+
const configured = resolveAccountConfig(params.cfg, accountId)?.authDir?.trim();
|
|
222
|
+
if (configured) return {
|
|
223
|
+
authDir: resolveUserPath(configured),
|
|
224
|
+
isLegacy: false
|
|
225
|
+
};
|
|
226
|
+
const defaultDir = resolveDefaultAuthDir(accountId);
|
|
227
|
+
if (accountId === DEFAULT_ACCOUNT_ID) {
|
|
228
|
+
const legacyDir = resolveLegacyAuthDir();
|
|
229
|
+
if (legacyAuthExists(legacyDir) && !legacyAuthExists(defaultDir)) return {
|
|
230
|
+
authDir: legacyDir,
|
|
231
|
+
isLegacy: true
|
|
232
|
+
};
|
|
233
|
+
}
|
|
234
|
+
return {
|
|
235
|
+
authDir: defaultDir,
|
|
236
|
+
isLegacy: false
|
|
237
|
+
};
|
|
238
|
+
}
|
|
239
|
+
function resolveWhatsAppAccount(params) {
|
|
240
|
+
const rootCfg = params.cfg.channels?.whatsapp;
|
|
241
|
+
const accountId = params.accountId?.trim() || resolveDefaultWhatsAppAccountId(params.cfg);
|
|
242
|
+
const accountCfg = resolveAccountConfig(params.cfg, accountId);
|
|
243
|
+
const enabled = accountCfg?.enabled !== false;
|
|
244
|
+
const { authDir, isLegacy } = resolveWhatsAppAuthDir({
|
|
245
|
+
cfg: params.cfg,
|
|
246
|
+
accountId
|
|
247
|
+
});
|
|
248
|
+
return {
|
|
249
|
+
accountId,
|
|
250
|
+
name: accountCfg?.name?.trim() || void 0,
|
|
251
|
+
enabled,
|
|
252
|
+
sendReadReceipts: accountCfg?.sendReadReceipts ?? rootCfg?.sendReadReceipts ?? true,
|
|
253
|
+
messagePrefix: accountCfg?.messagePrefix ?? rootCfg?.messagePrefix ?? params.cfg.messages?.messagePrefix,
|
|
254
|
+
authDir,
|
|
255
|
+
isLegacyAuthDir: isLegacy,
|
|
256
|
+
selfChatMode: accountCfg?.selfChatMode ?? rootCfg?.selfChatMode,
|
|
257
|
+
dmPolicy: accountCfg?.dmPolicy ?? rootCfg?.dmPolicy,
|
|
258
|
+
allowFrom: accountCfg?.allowFrom ?? rootCfg?.allowFrom,
|
|
259
|
+
groupAllowFrom: accountCfg?.groupAllowFrom ?? rootCfg?.groupAllowFrom,
|
|
260
|
+
groupPolicy: accountCfg?.groupPolicy ?? rootCfg?.groupPolicy,
|
|
261
|
+
textChunkLimit: accountCfg?.textChunkLimit ?? rootCfg?.textChunkLimit,
|
|
262
|
+
chunkMode: accountCfg?.chunkMode ?? rootCfg?.chunkMode,
|
|
263
|
+
mediaMaxMb: accountCfg?.mediaMaxMb ?? rootCfg?.mediaMaxMb,
|
|
264
|
+
blockStreaming: accountCfg?.blockStreaming ?? rootCfg?.blockStreaming,
|
|
265
|
+
ackReaction: accountCfg?.ackReaction ?? rootCfg?.ackReaction,
|
|
266
|
+
groups: accountCfg?.groups ?? rootCfg?.groups,
|
|
267
|
+
debounceMs: accountCfg?.debounceMs ?? rootCfg?.debounceMs
|
|
268
|
+
};
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
//#endregion
|
|
272
|
+
export { webAuthExists as _, resolveWhatsAppAuthDir as a, logWebSelfId as c, pickWebChannel as d, readCredsJsonRaw as f, resolveWebCredsPath as g, resolveWebCredsBackupPath as h, resolveWhatsAppAccount as i, logoutWeb as l, resolveDefaultWebAuthDir as m, listWhatsAppAccountIds as n, WA_WEB_AUTH_DIR as o, readWebSelfId as p, resolveDefaultWhatsAppAccountId as r, getWebAuthAgeMs as s, hasAnyWhatsAppAuth as t, maybeRestoreCredsFromBackup as u, createAccountListHelpers as v };
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
import { n as isTruthyEnvValue, o as createSubsystemLogger } from "./entry.js";
|
|
2
|
+
import { h as normalizeAccountId, m as DEFAULT_ACCOUNT_ID } from "./session-key-BF-9YzxC.js";
|
|
3
|
+
import { t as resolveAccountEntry } from "./account-lookup-C0ndrpt-.js";
|
|
4
|
+
import { i as resolveDefaultAgentBoundAccountId, r as listBoundAccountIds } from "./bindings-DFAFatwT.js";
|
|
5
|
+
import fs from "node:fs";
|
|
6
|
+
import util from "node:util";
|
|
7
|
+
|
|
8
|
+
//#region src/channels/plugins/account-action-gate.ts
|
|
9
|
+
function createAccountActionGate(params) {
|
|
10
|
+
return (key, defaultValue = true) => {
|
|
11
|
+
const accountValue = params.accountActions?.[key];
|
|
12
|
+
if (accountValue !== void 0) return accountValue;
|
|
13
|
+
const baseValue = params.baseActions?.[key];
|
|
14
|
+
if (baseValue !== void 0) return baseValue;
|
|
15
|
+
return defaultValue;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
//#endregion
|
|
20
|
+
//#region src/telegram/token.ts
|
|
21
|
+
function resolveTelegramToken(cfg, opts = {}) {
|
|
22
|
+
const accountId = normalizeAccountId(opts.accountId);
|
|
23
|
+
const telegramCfg = cfg?.channels?.telegram;
|
|
24
|
+
const resolveAccountCfg = (id) => {
|
|
25
|
+
const accounts = telegramCfg?.accounts;
|
|
26
|
+
if (!accounts || typeof accounts !== "object" || Array.isArray(accounts)) return;
|
|
27
|
+
const direct = accounts[id];
|
|
28
|
+
if (direct) return direct;
|
|
29
|
+
const matchKey = Object.keys(accounts).find((key) => normalizeAccountId(key) === id);
|
|
30
|
+
return matchKey ? accounts[matchKey] : void 0;
|
|
31
|
+
};
|
|
32
|
+
const accountCfg = resolveAccountCfg(accountId !== DEFAULT_ACCOUNT_ID ? accountId : DEFAULT_ACCOUNT_ID);
|
|
33
|
+
const accountTokenFile = accountCfg?.tokenFile?.trim();
|
|
34
|
+
if (accountTokenFile) {
|
|
35
|
+
if (!fs.existsSync(accountTokenFile)) {
|
|
36
|
+
opts.logMissingFile?.(`channels.telegram.accounts.${accountId}.tokenFile not found: ${accountTokenFile}`);
|
|
37
|
+
return {
|
|
38
|
+
token: "",
|
|
39
|
+
source: "none"
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
try {
|
|
43
|
+
const token = fs.readFileSync(accountTokenFile, "utf-8").trim();
|
|
44
|
+
if (token) return {
|
|
45
|
+
token,
|
|
46
|
+
source: "tokenFile"
|
|
47
|
+
};
|
|
48
|
+
} catch (err) {
|
|
49
|
+
opts.logMissingFile?.(`channels.telegram.accounts.${accountId}.tokenFile read failed: ${String(err)}`);
|
|
50
|
+
return {
|
|
51
|
+
token: "",
|
|
52
|
+
source: "none"
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
token: "",
|
|
57
|
+
source: "none"
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
const accountToken = accountCfg?.botToken?.trim();
|
|
61
|
+
if (accountToken) return {
|
|
62
|
+
token: accountToken,
|
|
63
|
+
source: "config"
|
|
64
|
+
};
|
|
65
|
+
const allowEnv = accountId === DEFAULT_ACCOUNT_ID;
|
|
66
|
+
const tokenFile = telegramCfg?.tokenFile?.trim();
|
|
67
|
+
if (tokenFile && allowEnv) {
|
|
68
|
+
if (!fs.existsSync(tokenFile)) {
|
|
69
|
+
opts.logMissingFile?.(`channels.telegram.tokenFile not found: ${tokenFile}`);
|
|
70
|
+
return {
|
|
71
|
+
token: "",
|
|
72
|
+
source: "none"
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
try {
|
|
76
|
+
const token = fs.readFileSync(tokenFile, "utf-8").trim();
|
|
77
|
+
if (token) return {
|
|
78
|
+
token,
|
|
79
|
+
source: "tokenFile"
|
|
80
|
+
};
|
|
81
|
+
} catch (err) {
|
|
82
|
+
opts.logMissingFile?.(`channels.telegram.tokenFile read failed: ${String(err)}`);
|
|
83
|
+
return {
|
|
84
|
+
token: "",
|
|
85
|
+
source: "none"
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
const configToken = telegramCfg?.botToken?.trim();
|
|
90
|
+
if (configToken && allowEnv) return {
|
|
91
|
+
token: configToken,
|
|
92
|
+
source: "config"
|
|
93
|
+
};
|
|
94
|
+
const envToken = allowEnv ? (opts.envToken ?? process.env.TELEGRAM_BOT_TOKEN)?.trim() : "";
|
|
95
|
+
if (envToken) return {
|
|
96
|
+
token: envToken,
|
|
97
|
+
source: "env"
|
|
98
|
+
};
|
|
99
|
+
return {
|
|
100
|
+
token: "",
|
|
101
|
+
source: "none"
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
//#endregion
|
|
106
|
+
//#region src/telegram/accounts.ts
|
|
107
|
+
const log = createSubsystemLogger("telegram/accounts");
|
|
108
|
+
function formatDebugArg(value) {
|
|
109
|
+
if (typeof value === "string") return value;
|
|
110
|
+
if (value instanceof Error) return value.stack ?? value.message;
|
|
111
|
+
return util.inspect(value, {
|
|
112
|
+
colors: false,
|
|
113
|
+
depth: null,
|
|
114
|
+
compact: true,
|
|
115
|
+
breakLength: Infinity
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
const debugAccounts = (...args) => {
|
|
119
|
+
if (isTruthyEnvValue(process.env.REMOTECLAW_DEBUG_TELEGRAM_ACCOUNTS)) {
|
|
120
|
+
const parts = args.map((arg) => formatDebugArg(arg));
|
|
121
|
+
log.warn(parts.join(" ").trim());
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
function listConfiguredAccountIds(cfg) {
|
|
125
|
+
const accounts = cfg.channels?.telegram?.accounts;
|
|
126
|
+
if (!accounts || typeof accounts !== "object") return [];
|
|
127
|
+
const ids = /* @__PURE__ */ new Set();
|
|
128
|
+
for (const key of Object.keys(accounts)) {
|
|
129
|
+
if (!key) continue;
|
|
130
|
+
ids.add(normalizeAccountId(key));
|
|
131
|
+
}
|
|
132
|
+
return [...ids];
|
|
133
|
+
}
|
|
134
|
+
function listTelegramAccountIds(cfg) {
|
|
135
|
+
const ids = Array.from(new Set([...listConfiguredAccountIds(cfg), ...listBoundAccountIds(cfg, "telegram")]));
|
|
136
|
+
debugAccounts("listTelegramAccountIds", ids);
|
|
137
|
+
if (ids.length === 0) return [DEFAULT_ACCOUNT_ID];
|
|
138
|
+
return ids.toSorted((a, b) => a.localeCompare(b));
|
|
139
|
+
}
|
|
140
|
+
function resolveDefaultTelegramAccountId(cfg) {
|
|
141
|
+
const boundDefault = resolveDefaultAgentBoundAccountId(cfg, "telegram");
|
|
142
|
+
if (boundDefault) return boundDefault;
|
|
143
|
+
const ids = listTelegramAccountIds(cfg);
|
|
144
|
+
if (ids.includes(DEFAULT_ACCOUNT_ID)) return DEFAULT_ACCOUNT_ID;
|
|
145
|
+
return ids[0] ?? DEFAULT_ACCOUNT_ID;
|
|
146
|
+
}
|
|
147
|
+
function resolveAccountConfig(cfg, accountId) {
|
|
148
|
+
const normalized = normalizeAccountId(accountId);
|
|
149
|
+
return resolveAccountEntry(cfg.channels?.telegram?.accounts, normalized);
|
|
150
|
+
}
|
|
151
|
+
function mergeTelegramAccountConfig(cfg, accountId) {
|
|
152
|
+
const { accounts: _ignored, ...base } = cfg.channels?.telegram ?? {};
|
|
153
|
+
const account = resolveAccountConfig(cfg, accountId) ?? {};
|
|
154
|
+
return {
|
|
155
|
+
...base,
|
|
156
|
+
...account
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
function createTelegramActionGate(params) {
|
|
160
|
+
const accountId = normalizeAccountId(params.accountId);
|
|
161
|
+
return createAccountActionGate({
|
|
162
|
+
baseActions: params.cfg.channels?.telegram?.actions,
|
|
163
|
+
accountActions: resolveAccountConfig(params.cfg, accountId)?.actions
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
function resolveTelegramAccount(params) {
|
|
167
|
+
const hasExplicitAccountId = Boolean(params.accountId?.trim());
|
|
168
|
+
const baseEnabled = params.cfg.channels?.telegram?.enabled !== false;
|
|
169
|
+
const resolve = (accountId) => {
|
|
170
|
+
const merged = mergeTelegramAccountConfig(params.cfg, accountId);
|
|
171
|
+
const accountEnabled = merged.enabled !== false;
|
|
172
|
+
const enabled = baseEnabled && accountEnabled;
|
|
173
|
+
const tokenResolution = resolveTelegramToken(params.cfg, { accountId });
|
|
174
|
+
debugAccounts("resolve", {
|
|
175
|
+
accountId,
|
|
176
|
+
enabled,
|
|
177
|
+
tokenSource: tokenResolution.source
|
|
178
|
+
});
|
|
179
|
+
return {
|
|
180
|
+
accountId,
|
|
181
|
+
enabled,
|
|
182
|
+
name: merged.name?.trim() || void 0,
|
|
183
|
+
token: tokenResolution.token,
|
|
184
|
+
tokenSource: tokenResolution.source,
|
|
185
|
+
config: merged
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
const primary = resolve(normalizeAccountId(params.accountId));
|
|
189
|
+
if (hasExplicitAccountId) return primary;
|
|
190
|
+
if (primary.tokenSource !== "none") return primary;
|
|
191
|
+
const fallbackId = resolveDefaultTelegramAccountId(params.cfg);
|
|
192
|
+
if (fallbackId === primary.accountId) return primary;
|
|
193
|
+
const fallback = resolve(fallbackId);
|
|
194
|
+
if (fallback.tokenSource === "none") return primary;
|
|
195
|
+
return fallback;
|
|
196
|
+
}
|
|
197
|
+
function listEnabledTelegramAccounts(cfg) {
|
|
198
|
+
return listTelegramAccountIds(cfg).map((accountId) => resolveTelegramAccount({
|
|
199
|
+
cfg,
|
|
200
|
+
accountId
|
|
201
|
+
})).filter((account) => account.enabled);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
//#endregion
|
|
205
|
+
export { resolveTelegramAccount as a, resolveDefaultTelegramAccountId as i, listEnabledTelegramAccounts as n, resolveTelegramToken as o, listTelegramAccountIds as r, createAccountActionGate as s, createTelegramActionGate as t };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { $ as resolveAccountEntry, Q as createAccountListHelpers, dt as normalizeAccountId } from "./media-0B2NFAdq.js";
|
|
2
|
+
|
|
3
|
+
//#region src/imessage/accounts.ts
|
|
4
|
+
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
|
|
5
|
+
function resolveAccountConfig(cfg, accountId) {
|
|
6
|
+
return resolveAccountEntry(cfg.channels?.imessage?.accounts, accountId);
|
|
7
|
+
}
|
|
8
|
+
function mergeIMessageAccountConfig(cfg, accountId) {
|
|
9
|
+
const { accounts: _ignored, ...base } = cfg.channels?.imessage ?? {};
|
|
10
|
+
const account = resolveAccountConfig(cfg, accountId) ?? {};
|
|
11
|
+
return {
|
|
12
|
+
...base,
|
|
13
|
+
...account
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function resolveIMessageAccount(params) {
|
|
17
|
+
const accountId = normalizeAccountId(params.accountId);
|
|
18
|
+
const baseEnabled = params.cfg.channels?.imessage?.enabled !== false;
|
|
19
|
+
const merged = mergeIMessageAccountConfig(params.cfg, accountId);
|
|
20
|
+
const accountEnabled = merged.enabled !== false;
|
|
21
|
+
const configured = Boolean(merged.cliPath?.trim() || merged.dbPath?.trim() || merged.service || merged.region?.trim() || merged.allowFrom && merged.allowFrom.length > 0 || merged.groupAllowFrom && merged.groupAllowFrom.length > 0 || merged.dmPolicy || merged.groupPolicy || typeof merged.includeAttachments === "boolean" || merged.attachmentRoots && merged.attachmentRoots.length > 0 || merged.remoteAttachmentRoots && merged.remoteAttachmentRoots.length > 0 || typeof merged.mediaMaxMb === "number" || typeof merged.textChunkLimit === "number" || merged.groups && Object.keys(merged.groups).length > 0);
|
|
22
|
+
return {
|
|
23
|
+
accountId,
|
|
24
|
+
enabled: baseEnabled && accountEnabled,
|
|
25
|
+
name: merged.name?.trim() || void 0,
|
|
26
|
+
config: merged,
|
|
27
|
+
configured
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
//#endregion
|
|
32
|
+
export { resolveIMessageAccount as t };
|