remoteclaw 0.1.0-next.8eea450 → 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/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/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 +15 -15
- 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-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-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/control-auth-B8nvayUT.js +397 -0
- package/dist/control-auth-uxEJvI8K.js +397 -0
- package/dist/control-ui-assets-DO1L6M0S.js +186 -0
- package/dist/control-ui-assets-S_TLo6Fs.js +186 -0
- package/dist/conversation-label-CDH4rKMG.js +36 -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 +85 -980
- 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 +2 -6
- package/dist/env-DyyqmxSM.js +60 -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 +160 -984
- 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/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/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-BLy-G2Eq.js +68 -0
- package/dist/inbound-context-a5bzQvRt.js +68 -0
- package/dist/index.js +106 -105
- 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/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/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/auto-reply/reply/agent-runner-utils.d.ts +0 -11
- package/dist/plugin-sdk/auto-reply/reply/commands-status.d.ts +1 -2
- 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 -13
- package/dist/plugin-sdk/auto-reply/reply.d.ts +1 -1
- package/dist/plugin-sdk/auto-reply/status.d.ts +1 -2
- 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.d.ts +1 -1
- package/dist/plugin-sdk/channels/plugins/types.plugin.d.ts +1 -2
- package/dist/plugin-sdk/commands/onboard-helpers.d.ts +0 -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 -7
- 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.tools.d.ts +0 -15
- 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 -20
- package/dist/plugin-sdk/config/zod-schema.agents.d.ts +2 -10
- package/dist/plugin-sdk/config/zod-schema.core.d.ts +4 -4
- package/dist/plugin-sdk/config/zod-schema.d.ts +95 -109
- package/dist/plugin-sdk/config/zod-schema.providers-core.d.ts +145 -145
- package/dist/plugin-sdk/config/zod-schema.providers-whatsapp.d.ts +12 -12
- package/dist/plugin-sdk/config/zod-schema.providers.d.ts +86 -86
- package/dist/plugin-sdk/config/zod-schema.session.d.ts +3 -5
- package/dist/plugin-sdk/gateway/protocol/index.d.ts +5 -10
- package/dist/plugin-sdk/gateway/protocol/schema/sessions.d.ts +0 -5
- package/dist/plugin-sdk/gateway/session-utils.types.d.ts +0 -1
- package/dist/plugin-sdk/index.js +85 -993
- 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/runtimes/codex.d.ts +2 -2
- package/dist/plugin-sdk/middleware/runtimes/gemini.d.ts +8 -1
- package/dist/plugin-sdk/plugin-sdk/index.d.ts +1 -1
- 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-Dar_7pCv.js +77 -0
- package/dist/run-main-PBArg9R5.js +308 -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-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/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-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/package.json +1 -1
- package/dist/accounts-BZ2kR_Ij.js +0 -47
- package/dist/accounts-Bi4rFQG5.js +0 -272
- package/dist/accounts-Bpk-loA6.js +0 -47
- package/dist/accounts-D1CBpsaa.js +0 -32
- package/dist/accounts-DAdUdbPk.js +0 -36
- package/dist/accounts-WYyfAiie.js +0 -270
- package/dist/accounts-zQKMwnvt.js +0 -36
- package/dist/ack-reactions-B8XmfkhT.js +0 -621
- package/dist/ack-reactions-DlVzIQd8.js +0 -621
- package/dist/acp-cli-Btx71t69.js +0 -1319
- package/dist/acp-cli-DVQMjl0p.js +0 -1324
- package/dist/active-listener-BfN4RKlA.js +0 -37
- package/dist/active-listener-Bq7ckjOV.js +0 -37
- package/dist/agent-Cgto4vj5.js +0 -688
- package/dist/agent-DW2PQnwu.js +0 -687
- package/dist/agent-helpers-BcaiJFiG.js +0 -400
- package/dist/agent-scope-CJW7vnF8.js +0 -114
- package/dist/agent-scope-DVvX_nkQ.js +0 -116
- package/dist/agents-B85lvwwE.js +0 -760
- package/dist/agents.config-BPe_hkMn.js +0 -116
- package/dist/agents.config-Dorm30BQ.js +0 -116
- package/dist/audio-B1lTyRqS.js +0 -43
- package/dist/audio-e0dFnrn8.js +0 -43
- package/dist/audit-DZvqycbG.js +0 -3150
- package/dist/audit-Mit73dYD.js +0 -3150
- package/dist/auth-C-XX0Tdt.js +0 -314
- package/dist/auth-D8--b01l.js +0 -315
- package/dist/auth-DJ7XEBDO.js +0 -448
- package/dist/auth-otyjXf9l.js +0 -448
- package/dist/banner-BhRjRCSa.js +0 -294
- package/dist/binaries-BSjilwX-.js +0 -13
- package/dist/bindings-BpL4pISF.js +0 -69
- package/dist/bindings-DFTxQj8x.js +0 -69
- package/dist/bonjour-discovery-BnxTMHRd.js +0 -378
- package/dist/bonjour-discovery-CVJYHT3g.js +0 -378
- package/dist/browser-cli-BR2pZWTC.js +0 -1694
- package/dist/browser-cli-I0kfR7FV.js +0 -1690
- package/dist/call-Ck7ysmEl.js +0 -517
- package/dist/call-MN6mCJEB.js +0 -518
- package/dist/catalog-Bt9EM4sK.js +0 -185
- package/dist/catalog-BtUvWKd9.js +0 -185
- package/dist/channel-account-context-BLQq9NKz.js +0 -133
- package/dist/channel-account-context-CaCzVa76.js +0 -133
- package/dist/channel-activity-DHVMMb2x.js +0 -94
- package/dist/channel-activity-DtRx3b0W.js +0 -94
- package/dist/channel-options-Bo7L_fD8.js +0 -33
- package/dist/channel-options-D74lCk4V.js +0 -32
- package/dist/channel-selection-CzbrpDPd.js +0 -51
- package/dist/channel-selection-Xv5UFxOx.js +0 -51
- package/dist/channel-web-BBCa-U8D.js +0 -2134
- package/dist/channel-web-DhYA2rZl.js +0 -2132
- package/dist/channels-cli-D1gwo-9a.js +0 -1439
- package/dist/channels-cli-LJ7w3-TM.js +0 -1435
- package/dist/channels-status-issues-B77y-TLr.js +0 -18
- package/dist/channels-status-issues-COECL8nx.js +0 -18
- package/dist/chat-envelope-CY1yvCc-.js +0 -248
- package/dist/chat-envelope-DUMcMMB2.js +0 -248
- package/dist/chrome-Cr5wmMk8.js +0 -1733
- package/dist/chrome-YBrnJN-g.js +0 -1732
- package/dist/chunk-CrfQ_O--.js +0 -341
- package/dist/chunk-DFBUmlXU.js +0 -341
- package/dist/clack-prompter-CFNKgQXx.js +0 -122
- package/dist/clack-prompter-DDlR2e34.js +0 -121
- package/dist/cleanup-utils-365rf8YN.js +0 -94
- package/dist/cli-BHHSda8K.js +0 -130
- package/dist/cli-BpiEmhWn.js +0 -134
- package/dist/client-BZeatr3g.js +0 -2316
- package/dist/client-Bc9JFAwL.js +0 -2316
- package/dist/clipboard-Com-8GBg.js +0 -31
- package/dist/clipboard-J_9AABIu.js +0 -31
- package/dist/command-format-CMAQa4dB.js +0 -32
- package/dist/command-format-KkslAzwV.js +0 -18
- package/dist/command-registry-TFLtq8uy.js +0 -215
- package/dist/commands-ijxtne0J.js +0 -41
- package/dist/commands-kZtQfqDl.js +0 -41
- package/dist/commands-registry-BrBtH2_B.js +0 -891
- package/dist/commands-registry-xZoSouba.js +0 -892
- package/dist/common-6D7nhDP-.js +0 -156
- package/dist/common-B4cjsvqP.js +0 -156
- package/dist/completion-cli-3Z3sh0WH.js +0 -452
- package/dist/completion-cli-CdSmsXk5.js +0 -452
- package/dist/config-C_WcTz_O.js +0 -4231
- package/dist/config-DfcqHTH-.js +0 -4229
- package/dist/config-cli-BZG3cvMA.js +0 -243
- package/dist/config-cli-C4OaM4tg.js +0 -247
- package/dist/config-guard-BlAcGEao.js +0 -75
- package/dist/config-guard-C-h_KIeI.js +0 -99
- package/dist/config-validation-C0YXR2dY.js +0 -18
- package/dist/config-validation-DDYBTmxT.js +0 -18
- package/dist/configure-B-BtvHhJ.js +0 -891
- package/dist/configure-B5_LpTKV.js +0 -889
- package/dist/control-auth-DK6cIBzl.js +0 -397
- package/dist/control-auth-DQ8bfDMk.js +0 -397
- package/dist/control-ui-assets-DLEWfed6.js +0 -186
- package/dist/control-ui-assets-DVhkAyhv.js +0 -186
- package/dist/conversation-label-HuHoShPF.js +0 -36
- package/dist/conversation-label-L0QTtKji.js +0 -36
- package/dist/cron-cli-DnxnTi83.js +0 -498
- package/dist/cron-cli-yqcBkqZT.js +0 -494
- package/dist/daemon-cli-CmQYq8uO.js +0 -735
- package/dist/daemon-cli-_OIRoswC.js +0 -737
- package/dist/daemon-install-BEgffqDj.js +0 -56
- package/dist/daemon-install-DAorzotp.js +0 -60
- package/dist/daemon-install-helpers-B82uvJjJ.js +0 -504
- package/dist/daemon-install-helpers-BhL2Gh4l.js +0 -504
- package/dist/deliver-CCvDBk5c.js +0 -481
- package/dist/deliver-CqKw0wFi.js +0 -481
- package/dist/delivery-queue-CK7VnUJf.js +0 -244
- package/dist/delivery-queue-DMeQchpT.js +0 -244
- package/dist/devices-cli-C6UAfRV_.js +0 -323
- package/dist/devices-cli-Le-isdZB.js +0 -319
- package/dist/diagnostics-BhFwk6F3.js +0 -35
- package/dist/diagnostics-BtaQtaVR.js +0 -35
- package/dist/directory-cli-BqMfX5og.js +0 -220
- package/dist/directory-cli-DD72TTD4.js +0 -224
- package/dist/dispatcher-BLC2WYZv.js +0 -173
- package/dist/dispatcher-Cm2FAG_D.js +0 -174
- package/dist/dm-policy-shared-DOzpxMHC.js +0 -22
- package/dist/dm-policy-shared-DZY0f1bR.js +0 -22
- package/dist/dns-cli-BgsNg-bn.js +0 -203
- package/dist/dns-cli-CdMU5yuG.js +0 -199
- package/dist/dock-ByrYnLiz.js +0 -929
- package/dist/dock-CpNmmysM.js +0 -928
- package/dist/doctor-completion-BCmfYrsJ.js +0 -92
- package/dist/doctor-completion-DsfKWp_7.js +0 -92
- package/dist/doctor-config-flow-DMyTycn7.js +0 -1935
- package/dist/doctor-config-flow-DoMu-pTm.js +0 -1934
- package/dist/enable-D5KetMo7.js +0 -59
- package/dist/enable-DzXMQJ-o.js +0 -59
- package/dist/env-BJ36dSrx.js +0 -60
- package/dist/errors-BfONuT95.js +0 -35
- package/dist/errors-_DSePI1C.js +0 -35
- package/dist/exec-DkFE7lqU.js +0 -164
- package/dist/exec-mY96dhIg.js +0 -164
- package/dist/fetch-B3EQXbTa.js +0 -67
- package/dist/fetch-BPeSHPvr.js +0 -281
- package/dist/fetch-BQ7HvRwe.js +0 -67
- package/dist/fetch-CbGTzJ8L.js +0 -281
- package/dist/fetch-CfIaWynF.js +0 -67
- package/dist/file-lock-BHfqppLm.js +0 -107
- package/dist/file-lock-CCBpdPM_.js +0 -107
- package/dist/fs-safe-BcEpbVjc.js +0 -88
- package/dist/fs-safe-S3Zvbabd.js +0 -98
- package/dist/gateway-cli-BUwQ8ZQa.js +0 -24606
- package/dist/gateway-cli-CWdJxXy2.js +0 -24602
- package/dist/gateway-rpc-BHnd7P1q.js +0 -28
- package/dist/gateway-rpc-COEQDswS.js +0 -28
- package/dist/gmail-setup-utils-BpdKFe3P.js +0 -423
- package/dist/gmail-setup-utils-CqbWr0Kq.js +0 -422
- package/dist/health-D0CzZYgf.js +0 -1417
- package/dist/health-format-CycFH5Sj.js +0 -28
- package/dist/health-unkJjj1i.js +0 -1414
- package/dist/heartbeat-visibility-BdLnqnbS.js +0 -125
- package/dist/heartbeat-visibility-CP_C6jQC.js +0 -125
- package/dist/help-format-B0YIbosn.js +0 -17
- package/dist/hook-runner-global-BztoD8lu.js +0 -527
- package/dist/hooks-cli-CUYjD0Nv.js +0 -1226
- package/dist/hooks-cli-DPk8A5xr.js +0 -1222
- package/dist/image-ops-Cx1ym2Hi.js +0 -354
- package/dist/image-ops-DWytvdh_.js +0 -354
- package/dist/import-CTUBsy7D.js +0 -604
- package/dist/import-cBp4f62k.js +0 -606
- package/dist/inbound-context-COwswi8z.js +0 -68
- package/dist/inbound-context-ChcNR30g.js +0 -68
- package/dist/inspect-BsS3_z-x.js +0 -286
- package/dist/inspect-drfsUSIW.js +0 -286
- package/dist/installs-BFmmM5Zd.js +0 -325
- package/dist/installs-DA7SG0Tx.js +0 -325
- package/dist/ipv4-BZGSwnH4.js +0 -46
- package/dist/ipv4-DsOgHE0B.js +0 -46
- package/dist/ir-R3Pk8Cv8.js +0 -972
- package/dist/lifecycle-core-BZMeOT7u.js +0 -474
- package/dist/lifecycle-core-C6-_Gts0.js +0 -476
- package/dist/links-BNjLUJ9U.js +0 -15
- package/dist/loader-8qC99yjz.js +0 -22414
- package/dist/loader-DepRJ53G.js +0 -22411
- package/dist/logger-9I2fg5mr.js +0 -49
- package/dist/logging-CtbzyUjs.js +0 -20
- package/dist/login-D9uJTyEv.js +0 -62
- package/dist/login-DTh702_w.js +0 -61
- package/dist/login-qr-BKsmW6XI.js +0 -325
- package/dist/login-qr-SOXdIR58.js +0 -329
- package/dist/logs-cli-BshJBHZQ.js +0 -236
- package/dist/logs-cli-Ckh-BBTT.js +0 -240
- package/dist/markdown-tables-Cfz7zDXI.js +0 -29
- package/dist/markdown-tables-DeFSK6aY.js +0 -29
- package/dist/media-BD2cZGXT.js +0 -971
- package/dist/media-CjvpnJmQ.js +0 -10388
- package/dist/message-action-names-BA7H4SfT.js +0 -2520
- package/dist/message-action-names-kiTQcN93.js +0 -2520
- package/dist/message-channel-EMCYRaxk.js +0 -91
- package/dist/net-Cg8AQeke.js +0 -225
- package/dist/net-DMh1m8AZ.js +0 -225
- package/dist/node-cli-BJ5CCbqx.js +0 -1462
- package/dist/node-cli-wYYhAs8x.js +0 -1458
- package/dist/node-service-CkwVlcey.js +0 -67
- package/dist/node-service-DTVW9YJh.js +0 -67
- package/dist/nodes-cli-CMFYLD1o.js +0 -1346
- package/dist/nodes-cli-DC2zUx3f.js +0 -1350
- package/dist/nodes-screen-6pXv1lYa.js +0 -250
- package/dist/nodes-screen-CTIZKksn.js +0 -250
- package/dist/note-CMELkPJN.js +0 -92
- package/dist/note-DHUJACHE.js +0 -92
- package/dist/npm-registry-spec-BiJI7Rkr.js +0 -786
- package/dist/npm-registry-spec-Dza35Ig4.js +0 -786
- package/dist/npm-resolution-Bc8mfDfj.js +0 -86
- package/dist/npm-resolution-iJkqMnZ0.js +0 -86
- package/dist/onboard-BSp7I19y.js +0 -649
- package/dist/onboard-CxgsEi6d.js +0 -647
- package/dist/onboard-auth-BUzYDEqf.js +0 -211
- package/dist/onboard-auth-DcVXyd-Z.js +0 -207
- package/dist/onboard-channels-DgR371y-.js +0 -2548
- package/dist/onboard-channels-DpNIhyIa.js +0 -2547
- package/dist/onboard-helpers-B-bBSsyR.js +0 -363
- package/dist/onboard-helpers-YsCa-sAt.js +0 -364
- package/dist/onboard-remote-BWFcuEOD.js +0 -127
- package/dist/onboard-remote-C0THuDTK.js +0 -127
- package/dist/onboarding-BOi6zQMj.js +0 -588
- package/dist/onboarding-DR4G2CiN.js +0 -586
- package/dist/onboarding.finalize-CAkcCPio.js +0 -402
- package/dist/onboarding.finalize-DogOvvft.js +0 -404
- package/dist/onboarding.gateway-config-BaeIuA62.js +0 -195
- package/dist/onboarding.gateway-config-DMV2Odzr.js +0 -201
- package/dist/outbound-BdxBHDax.js +0 -220
- package/dist/outbound-D-Y9rMgB.js +0 -221
- package/dist/outbound-attachment-CvZ04r5k.js +0 -18
- package/dist/outbound-attachment-DYa1asB5.js +0 -18
- package/dist/outbound-attachment-DgUpk7Uh.js +0 -18
- package/dist/pairing-cli-BxTv78V7.js +0 -125
- package/dist/pairing-cli-CxUCzNUc.js +0 -129
- package/dist/pairing-labels-DVO6NJr0.js +0 -9
- package/dist/pairing-labels-D_pD8Cag.js +0 -9
- package/dist/pairing-store-Bu9pVlkO.js +0 -459
- package/dist/pairing-store-CWaGbAGi.js +0 -460
- package/dist/path-env-RsuO6yO-.js +0 -89
- package/dist/path-env-_my-d_iR.js +0 -89
- package/dist/path-guards-DJteVA0d.js +0 -31
- package/dist/path-guards-DVRUJZVN.js +0 -31
- package/dist/path-safety-CfiVyVz7.js +0 -14
- package/dist/path-safety-D-wLK4pV.js +0 -14
- package/dist/paths-BTaH3rLn.js +0 -232
- package/dist/plugin-auto-enable-CW01H36W.js +0 -301
- package/dist/plugin-auto-enable-CeHhBLCU.js +0 -302
- package/dist/plugin-registry-CRnCL53Y.js +0 -33
- package/dist/plugin-registry-DOkAXgso.js +0 -33
- 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/plugins-DExsdlTp.js +0 -455
- package/dist/plugins-DdMgSc_b.js +0 -453
- package/dist/plugins-cli-B6kwFLyZ.js +0 -806
- package/dist/plugins-cli-C71exe0D.js +0 -802
- package/dist/ports-CL0pXAXO.js +0 -96
- package/dist/ports-CRI-HSZx.js +0 -370
- package/dist/ports-DiQFcKUB.js +0 -316
- package/dist/ports-HRurfPIr.js +0 -96
- package/dist/preflight-6QRqxWh7.js +0 -667
- package/dist/preflight-DDZjr5KD.js +0 -667
- package/dist/program-BKnB8Goj.js +0 -249
- package/dist/program-context-BFQenCu2.js +0 -474
- package/dist/progress-ChmZpgvt.js +0 -124
- package/dist/prompt-BXeXEH0o.js +0 -21
- package/dist/prompt-select-styled-Brr0EE5E.js +0 -1669
- package/dist/prompt-select-styled-CQ9z10ZW.js +0 -1672
- package/dist/prompt-style-BcM-VSMx.js +0 -9
- package/dist/provider-auth-CfdnLqh3.js +0 -187
- package/dist/provider-auth-gpHOMUBP.js +0 -187
- package/dist/provider-dispatcher-8ohn9fbs.js +0 -660
- package/dist/provider-dispatcher-lcKvKQiV.js +0 -659
- package/dist/push-apns-BNwVMXX9.js +0 -713
- package/dist/push-apns-BszVkcZK.js +0 -711
- package/dist/pw-ai-Bdb3zrBM.js +0 -1911
- package/dist/pw-ai-BvcvEdGs.js +0 -1908
- package/dist/qr-cli-BBgk2ci1.js +0 -349
- package/dist/qr-cli-BLzVrhia.js +0 -353
- package/dist/redact-D975G-N6.js +0 -191
- package/dist/redact-snapshot-CyBDcb_a.js +0 -1966
- package/dist/redact-snapshot-D9oPMqA-.js +0 -1966
- package/dist/register.agent-BibBTLpE.js +0 -291
- package/dist/register.agent-R2vjuXJf.js +0 -1019
- package/dist/register.configure-Cm7vMOdP.js +0 -134
- package/dist/register.configure-HCFG-zfM.js +0 -129
- package/dist/register.import-CRLOolHv.js +0 -31
- package/dist/register.import-dhDEj7Om.js +0 -29
- package/dist/register.maintenance-BWs7YpdY.js +0 -502
- package/dist/register.maintenance-Czo5jGjm.js +0 -500
- package/dist/register.message-Bt6g9HtO.js +0 -686
- package/dist/register.message-DxSLgH5h.js +0 -690
- package/dist/register.onboard-BAJsTvx0.js +0 -97
- package/dist/register.onboard-BISldKPx.js +0 -93
- package/dist/register.setup-Detw7QHd.js +0 -113
- package/dist/register.setup-zkuXWoI6.js +0 -117
- package/dist/register.status-health-sessions-7Xwhuci1.js +0 -668
- package/dist/register.status-health-sessions-DMek-3uI.js +0 -428
- package/dist/register.subclis-vuYLMzbj.js +0 -267
- package/dist/replies-BTC1z8j0.js +0 -136
- package/dist/replies-BhlnuFp0.js +0 -136
- package/dist/reply-CYmFOfwm.js +0 -12877
- package/dist/reply-DyDLXlAu.js +0 -12880
- package/dist/reply-directives-C0-hYyAt.js +0 -182
- package/dist/reply-directives-C_CGXLBJ.js +0 -182
- package/dist/reply-payloads-BospFSPI.js +0 -527
- package/dist/reply-prefix-DDgh77yy.js +0 -37
- package/dist/reply-prefix-DwKZPZyG.js +0 -37
- package/dist/resolve-route-B73QhBIl.js +0 -249
- package/dist/resolve-route-DckdRbW8.js +0 -249
- package/dist/response-prefix-template-DDvbVpx6.js +0 -134
- package/dist/response-prefix-template-x5RBQnEy.js +0 -134
- package/dist/retry-oNE3cBeG.js +0 -77
- package/dist/run-main-DGyJb6uU.js +0 -307
- package/dist/secure-random-CxzxAnMS.js +0 -44
- package/dist/security-cli-CfqosyUf.js +0 -487
- package/dist/security-cli-DMZun6gO.js +0 -482
- package/dist/send-3wvngctD.js +0 -547
- package/dist/send-AY7Fs5ky.js +0 -374
- package/dist/send-BSWD4Kr_.js +0 -2245
- package/dist/send-BT4HhTLm.js +0 -349
- package/dist/send-BvuxToC8.js +0 -2245
- package/dist/send-CaUxFvu0.js +0 -492
- package/dist/send-CiBRE4OY.js +0 -1178
- package/dist/send-Cq_Db9wG.js +0 -1779
- package/dist/send-DBFcxDPm.js +0 -1776
- package/dist/send-DUha0nIz.js +0 -492
- package/dist/send-DUzdNOgv.js +0 -11
- package/dist/send-DgYBI05s.js +0 -332
- package/dist/send-Dnf5bISH.js +0 -426
- package/dist/send-NcQk6UH1.js +0 -547
- package/dist/send-Og0-IMee.js +0 -29
- package/dist/send-oCN80Pl2.js +0 -349
- package/dist/server-DoGGLeP3.js +0 -202
- package/dist/server-V7G9FG2A.js +0 -206
- package/dist/server-lifecycle-CSWpSlvn.js +0 -2437
- package/dist/server-lifecycle-Cal8hBP1.js +0 -2437
- package/dist/server-node-events-Papt9Q0p.js +0 -390
- package/dist/server-node-events-QCZmSAEy.js +0 -394
- package/dist/service-Duw0xMJX.js +0 -670
- package/dist/service-SRcnA1Am.js +0 -670
- package/dist/session-BLcfWX5_.js +0 -170
- package/dist/session-CQwkaAs-.js +0 -170
- package/dist/session-cost-usage-C-UcrvL4.js +0 -627
- package/dist/session-cost-usage-Dg3dzS0E.js +0 -627
- package/dist/session-dirs-D6mFEF90.js +0 -318
- package/dist/session-dirs-DVsG6e7L.js +0 -318
- package/dist/session-utils-C6522g3D.js +0 -622
- package/dist/session-utils-Dq2BJyVy.js +0 -622
- package/dist/sessions-CNkj4Eq8.js +0 -247
- package/dist/sessions-DDIoP7Rl.js +0 -2569
- package/dist/shell-env-D8nXPDbP.js +0 -163
- package/dist/ssrf-7I3FUHpm.js +0 -183
- package/dist/ssrf-DZi4qw5c.js +0 -183
- package/dist/status-DPxlEjLh.js +0 -1979
- package/dist/status-F4OrdD3e.js +0 -1983
- package/dist/status.update-DquSK3p7.js +0 -449
- package/dist/status.update-iABAY3iW.js +0 -449
- package/dist/store-Bnm6zwaq.js +0 -2571
- package/dist/store-CVkGKjWm.js +0 -64
- package/dist/store-D_gpBpAW.js +0 -64
- package/dist/store-mxh63FBa.js +0 -53
- package/dist/subagent-registry-DNAz7Heu.js +0 -4856
- package/dist/subagent-registry-Dhz6HC4Z.js +0 -4854
- package/dist/subsystem-m7RSGQoR.js +0 -1196
- package/dist/system-cli-ByVDF6p8.js +0 -77
- package/dist/system-cli-CERb89Bl.js +0 -73
- package/dist/systemd-CSUtfsJx.js +0 -547
- package/dist/systemd-hints-BCxkQemJ.js +0 -278
- package/dist/systemd-hints-ef7m-7ZH.js +0 -278
- package/dist/systemd-linger-CWLgT0Wr.js +0 -75
- package/dist/systemd-linger-DT0E7YET.js +0 -75
- package/dist/systemd-tS61V4ao.js +0 -547
- package/dist/table-j8Ayarot.js +0 -279
- package/dist/tables-DED01JNI.js +0 -55
- package/dist/tables-K3rOiGaJ.js +0 -55
- package/dist/tables-NcsXz3r_.js +0 -55
- package/dist/tailnet-CEudzG0i.js +0 -40
- package/dist/tailnet-D66Y5zC7.js +0 -40
- package/dist/tailscale-DjSRjPA-.js +0 -230
- package/dist/tailscale-DngZHD9L.js +0 -230
- package/dist/targets-BVsxzQh1.js +0 -220
- package/dist/targets-BjDGj6lB.js +0 -2540
- package/dist/targets-CA4zx5G4.js +0 -650
- package/dist/targets-CG97MrXh.js +0 -2541
- package/dist/targets-DpmQjetK.js +0 -53
- package/dist/targets-Q-YGeAqu.js +0 -650
- package/dist/targets-rdWlC6Y-.js +0 -53
- package/dist/thinking-B171Rc3-.js +0 -88
- package/dist/thinking-l-rrvZwu.js +0 -88
- package/dist/tokens-kTLGxaAF.js +0 -21
- package/dist/tool-display-Br6mwaJc.js +0 -785
- package/dist/tool-display-CLBf5cRa.js +0 -785
- package/dist/tool-images-DB4f57XK.js +0 -263
- package/dist/tool-images-kloBqxqK.js +0 -263
- package/dist/trash-B32LfX0l.js +0 -125
- package/dist/trash-SlUJxKO7.js +0 -125
- package/dist/tui-CHOtFK6k.js +0 -3282
- package/dist/tui-D4yiSpop.js +0 -3282
- package/dist/tui-cli-CzrjmAMZ.js +0 -66
- package/dist/tui-cli-Dpbs2QW_.js +0 -62
- package/dist/update-B5nYVxpc.js +0 -349
- package/dist/update-Bs3HhSnE.js +0 -349
- package/dist/update-cli-5Qdi6F6K.js +0 -1149
- package/dist/update-cli-ByrqWtVo.js +0 -1147
- package/dist/usage-B2KRMMRb.js +0 -5417
- package/dist/utils-C5daYcFn.js +0 -631
- package/dist/voice-credentials-Bjehm88K.js +0 -46
- package/dist/voice-credentials-CNDOVz00.js +0 -46
- package/dist/web-CwSncZX7.js +0 -74
- package/dist/web-DF_Y6Q3V.js +0 -79
- package/dist/web-Dtat68iY.js +0 -3067
- package/dist/webhooks-cli-BDPcBkZL.js +0 -330
- package/dist/webhooks-cli-sRfsNesg.js +0 -334
- package/dist/whatsapp-actions-BGZXdWiP.js +0 -125
- package/dist/whatsapp-actions-HdmZu8oU.js +0 -130
- package/dist/widearea-dns-BOgHvO4O.js +0 -127
- package/dist/workspace-D5LAl41l.js +0 -449
- package/dist/workspace-DRYGbrDM.js +0 -447
- package/dist/zod-schema-C8gEV0uz.js +0 -2739
- package/dist/zod-schema-CCUbW_Si.js +0 -2739
- /package/dist/{account-lookup-DGscKBsr.js → account-lookup-C0ndrpt-.js} +0 -0
- /package/dist/{agent-helpers-D83kfcF9.js → agent-helpers-Bs2nBXeI.js} +0 -0
- /package/dist/{api-D8QQo5bc.js → api-BE4ZCWWB.js} +0 -0
- /package/dist/{api-GywrnwRm.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-Clw9vXhE.js → brew-V4lMBeE3.js} +0 -0
- /package/dist/{chat-type-BKe459rw.js → chat-type-BP9akbag.js} +0 -0
- /package/dist/{chat-type-CE6cJOyt.js → chat-type-CH3W-zKy.js} +0 -0
- /package/dist/{cleanup-utils-rqUXvR3Z.js → cleanup-utils-ZC2zvntc.js} +0 -0
- /package/dist/{cli-name-7Gb97Vyl.js → cli-name-BZsYSp9l.js} +0 -0
- /package/dist/{cli-name-Yv30OygA.js → cli-name-CRe5Ow_t.js} +0 -0
- /package/dist/{cli-utils-5W6ugvN5.js → cli-utils-BUOtyfnU.js} +0 -0
- /package/dist/{cli-utils-CZJacPS2.js → cli-utils-CGB3cBZm.js} +0 -0
- /package/dist/{client-DQ-Nh-rV.js → client-9dK56xly.js} +0 -0
- /package/dist/{client-Fi2k2G9Z.js → client-D-R1YdRD.js} +0 -0
- /package/dist/{command-options-CXHYeogR.js → command-options-CnHA4TzR.js} +0 -0
- /package/dist/{command-options-Cx6evn0x.js → command-options-D2nN4AXX.js} +0 -0
- /package/dist/{config-eval-V26Gl6eZ.js → config-eval-BQIR-wSg.js} +0 -0
- /package/dist/{config-eval-DU_v_3lY.js → config-eval-Bh82JoXK.js} +0 -0
- /package/dist/{constants-DAiBiWlI.js → constants-BBVTjb1j.js} +0 -0
- /package/dist/{constants-C7gkSGRE.js → constants-C7j1VA2S.js} +0 -0
- /package/dist/{constants-DOnQraOP.js → constants-DoYLsBmv.js} +0 -0
- /package/dist/{constants-DQxqJVLu.js → constants-PMRtHBHU.js} +0 -0
- /package/dist/{credentials-BHWUBHMd.js → credentials-C_RoJFmK.js} +0 -0
- /package/dist/{credentials-DG0tD6-e.js → credentials-DM_Dj0m8.js} +0 -0
- /package/dist/{daemon-runtime-B7Tmba31.js → daemon-runtime-9oDBR7YW.js} +0 -0
- /package/dist/{daemon-runtime-KyXiP2ib.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-BCaPvXy_.js → dangerous-name-matching-CSq9sJDG.js} +0 -0
- /package/dist/{dangerous-tools-CIPZZJoN.js → dangerous-tools-BRmbBvRf.js} +0 -0
- /package/dist/{dangerous-tools-D-GNbdpV.js → dangerous-tools-D4jtl72G.js} +0 -0
- /package/dist/{fetch-timeout-CPe2rPLq.js → fetch-timeout-CytN1wiO.js} +0 -0
- /package/dist/{fetch-timeout-DkT3EnRA.js → fetch-timeout-DBRRPNBi.js} +0 -0
- /package/dist/{file-identity-C8MIb5lb.js → file-identity-CeRK5CJC.js} +0 -0
- /package/dist/{format-duration-Cd7SCued.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-BMNeqaxW.js → format-relative-zwkkXJvs.js} +0 -0
- /package/dist/{health-format-CwLlmYSK.js → health-format-DF54wvUU.js} +0 -0
- /package/dist/{heartbeat-wake-D6Lt5YUk.js → heartbeat-wake-CvHncCjP.js} +0 -0
- /package/dist/{heartbeat-wake-uZkAP-tP.js → heartbeat-wake-DLxQm6-U.js} +0 -0
- /package/dist/{help-format-GeOPYD_A.js → help-format-CJQ7APRn.js} +0 -0
- /package/dist/{helpers-6_MYSJEW.js → helpers-BER76F_2.js} +0 -0
- /package/dist/{helpers-p_u0Gnj_.js → helpers-DAEoFkbn.js} +0 -0
- /package/dist/{helpers-703bXVlF.js → helpers-n2CtWpm9.js} +0 -0
- /package/dist/{helpers-CRrn7Err.js → helpers-ndPQWl6m.js} +0 -0
- /package/dist/{input-provenance-C4nlFv5Y.js → input-provenance-gIfDn1ki.js} +0 -0
- /package/dist/{input-provenance-duDehu0D.js → input-provenance-wkso1o5V.js} +0 -0
- /package/dist/{ip-BFJnbRh9.js → ip-D4VG5EJO.js} +0 -0
- /package/dist/{ip-D0zgNmBV.js → ip-MwCwRA7c.js} +0 -0
- /package/dist/{is-main-BE1Jih91.js → is-main-BmHYGRhd.js} +0 -0
- /package/dist/{json-file-CtQKYRLl.js → json-file-BW22hGtf.js} +0 -0
- /package/dist/{json-file-CsV03dh-.js → json-file-DwRAfAAy.js} +0 -0
- /package/dist/{json-files-BYH8U7Mx.js → json-files-BI20PLIm.js} +0 -0
- /package/dist/{json-files-B2yMsppu.js → json-files-Dy52honG.js} +0 -0
- /package/dist/{lanes-BWL_LwXG.js → lanes-1CBKdsiR.js} +0 -0
- /package/dist/{lanes-cHJ5arWg.js → lanes-DqVYfPRG.js} +0 -0
- /package/dist/{links-BFtUmGLH.js → links-CwTlzaPe.js} +0 -0
- /package/dist/{location-BC45kOxc.js → location-50gaJF5Z.js} +0 -0
- /package/dist/{location-BUhzov-a.js → location-Qo8Ii1zo.js} +0 -0
- /package/dist/{logger-1QWMF9Hc.js → logger-B8BE0PyS.js} +0 -0
- /package/dist/{logger-BWMPnILd.js → logger-CPvz-aPM.js} +0 -0
- /package/dist/{logger-Liu31nEU.js → logger-cL0D2DCr.js} +0 -0
- /package/dist/{logging-DJFQvfGD.js → logging-DRwtiLIS.js} +0 -0
- /package/dist/{logging-JiRrQn2_.js → logging-DTEoeoa3.js} +0 -0
- /package/dist/{logging-kuFzZMsG.js → logging-fywhKCmE.js} +0 -0
- /package/dist/{message-channel-DOyKgFu8.js → message-channel-tuc9CdEw.js} +0 -0
- /package/dist/{mime-1E7nn9IU.js → mime-CAqaK3kp.js} +0 -0
- /package/dist/{mime-mSgQeDnC.js → mime-ViuhRuMM.js} +0 -0
- /package/dist/{mutable-allowlist-detectors-4m-Kc8Kn.js → mutable-allowlist-detectors-BXE7Hr7F.js} +0 -0
- /package/dist/{mutable-allowlist-detectors-BECxOoKX.js → mutable-allowlist-detectors-CtKavajp.js} +0 -0
- /package/dist/{onboard-config-C9so5ggC.js → onboard-config-DOmXYEvJ.js} +0 -0
- /package/dist/{onboard-config-oXID97rS.js → onboard-config-JmR21VYa.js} +0 -0
- /package/dist/{parse-log-line-BtFI563v.js → parse-log-line-GisaZn5H.js} +0 -0
- /package/dist/{parse-log-line-COptqka7.js → parse-log-line-ZsbwG_u7.js} +0 -0
- /package/dist/{parse-timeout-CxYHsZWc.js → parse-timeout-CE6BjmGU.js} +0 -0
- /package/dist/{plugins-allowlist-Clt6dsY6.js → plugins-allowlist-A38nxBRG.js} +0 -0
- /package/dist/{plugins-allowlist-ptAp-oPY.js → plugins-allowlist-D2tS9tcu.js} +0 -0
- /package/dist/{polls-C5xr-8pM.js → polls-BLyT08ZI.js} +0 -0
- /package/dist/{polls-DXd67TD8.js → polls-BmymsJEe.js} +0 -0
- /package/dist/{ports-lsof-xWMTWvMQ.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-CQ1C5MbT.js → process-scoped-map-Cb1EHPyN.js} +0 -0
- /package/dist/{program-context-LuBAPt4y.js → program-context-DlXnmuB7.js} +0 -0
- /package/dist/{progress-C-hTn2yV.js → progress-DRLmcFiG.js} +0 -0
- /package/dist/{prompt-C31r0R5I.js → prompt-BRGfic91.js} +0 -0
- /package/dist/{prompt-style-B1740PBl.js → prompt-style-CUuA6OCy.js} +0 -0
- /package/dist/{proxy-BdjLhNln.js → proxy-BMJL0Qog.js} +0 -0
- /package/dist/{proxy-dRhp8Ykw.js → proxy-D-qGA1vm.js} +0 -0
- /package/dist/{pw-ai-state-CjfcKQoO.js → pw-ai-state--TxTVwRW.js} +0 -0
- /package/dist/{pw-ai-state-DfjyEttO.js → pw-ai-state-CwXeO5d0.js} +0 -0
- /package/dist/{redact-Dx1Fue21.js → redact-BW8tobyp.js} +0 -0
- /package/dist/{redact-identifier-Bqj_YiPd.js → redact-identifier-BJOQDEj0.js} +0 -0
- /package/dist/{redact-identifier-HyK89Sod.js → redact-identifier-Bv5SUUw-.js} +0 -0
- /package/dist/{remoteclaw-root-BmYwCzQN.js → remoteclaw-root-BfPjgewe.js} +0 -0
- /package/dist/{remoteclaw-root-B1iQBmbi.js → remoteclaw-root-E4-hmb4E.js} +0 -0
- /package/dist/{render-BvFSFJZW.js → render-BhKzKdV0.js} +0 -0
- /package/dist/{render-flG67HhW.js → render-e7fENCYH.js} +0 -0
- /package/dist/{retry-CByUYDAZ.js → retry-BWv_fy4u.js} +0 -0
- /package/dist/{runtime-guard-CqNug-FG.js → runtime-guard-Bhx-pb8_.js} +0 -0
- /package/dist/{runtime-guard-DAHXelsb.js → runtime-guard-CK80eucm.js} +0 -0
- /package/dist/{runtime-status-CM4rzyfO.js → runtime-status-CR9445g5.js} +0 -0
- /package/dist/{runtime-status-DJYthOLz.js → runtime-status-hFVEC3wO.js} +0 -0
- /package/dist/{secret-equal-1-dwi8DL.js → secret-equal-D6AoXne1.js} +0 -0
- /package/dist/{secret-equal-CXJEZiWb.js → secret-equal-DLnUuWM3.js} +0 -0
- /package/dist/{secure-random-Ba4Y5xG5.js → secure-random-CJtykx_p.js} +0 -0
- /package/dist/{secure-random-C6AVByhV.js → secure-random-CRVHgtmO.js} +0 -0
- /package/dist/{stagger-CjeisVRF.js → stagger--wvODnNe.js} +0 -0
- /package/dist/{stagger-vkvpUmOz.js → stagger-BLmTO4cK.js} +0 -0
- /package/dist/{status-DNLnVQZ4.js → status-1zVD-Clq.js} +0 -0
- /package/dist/{status-DZhl73dM.js → status-BtRY0nXQ.js} +0 -0
- /package/dist/{strip-inbound-meta-C3Cwe_ZO.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-B9zSN_7D.js → table-On3hkCqi.js} +0 -0
- /package/dist/{target-errors-ChjvOMuV.js → target-errors-DJVRKFcU.js} +0 -0
- /package/dist/{target-errors-Dn4aykSV.js → target-errors-GZXDqlUu.js} +0 -0
- /package/dist/{targets-CE4AYRI9.js → targets-B46m7u5J.js} +0 -0
- /package/dist/{targets-BtGRUQMa.js → targets-B_d_1z3N.js} +0 -0
- /package/dist/{targets-DlufWCmy.js → targets-D01MJGnh.js} +0 -0
- /package/dist/{targets-akvAerZF.js → targets-D7PT_rdO.js} +0 -0
- /package/dist/{text-format-VSogn9Yq.js → text-format-DarxU3JH.js} +0 -0
- /package/dist/{text-format-xeHt9ywT.js → text-format-Ds92M9UT.js} +0 -0
- /package/dist/{tokens-B-jmvNR9.js → tokens-Dw7ZdYwT.js} +0 -0
- /package/dist/{usage-CRJFqYf8.js → usage-BIzKZ5dT.js} +0 -0
- /package/dist/{usage-Txvb0Iq2.js → usage-BvZOzIC7.js} +0 -0
- /package/dist/{usage-format-70DvrseE.js → usage-format-CmniSPCG.js} +0 -0
- /package/dist/{usage-format-Bs8DkQtr.js → usage-format-D_KQYQ-w.js} +0 -0
- /package/dist/{widearea-dns-CGhfClCr.js → widearea-dns-D01FFYZ8.js} +0 -0
- /package/dist/{workspace-DhUqtMK_.js → workspace-BJCKO8Ns.js} +0 -0
- /package/dist/{wsl-D28w2jQC.js → wsl-PDLKeX04.js} +0 -0
- /package/dist/{wsl-Cs-gowFJ.js → wsl-kFaeW76c.js} +0 -0
|
@@ -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 };
|