@visorcraft/idlehands 4.2.5 → 4.2.6
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 +1 -0
- package/dist/{accounts-BDVs8LTu.js → accounts-B8cGzkjD.js} +1 -1
- package/dist/{accounts-Dk8mJIrQ.js → accounts-BQC_GRUB.js} +6 -6
- package/dist/{accounts-CIvVRRHb.js → accounts-D5tB_lO0.js} +1 -1
- package/dist/{agent-scope-DyP_tr7s.js → agent-scope-Bxq1eWbA.js} +4 -4
- package/dist/{agent-via-gateway-DVTkXwmI.js → agent-via-gateway-BTaqOj5m.js} +60 -60
- package/dist/{agent-via-gateway-Bhon8XVm.js → agent-via-gateway-B_XqJoXa.js} +7 -7
- package/dist/{agent-via-gateway-CS-8ChjV.js → agent-via-gateway-CZLe7Ijx.js} +1 -1
- package/dist/{agent-via-gateway-Drygi4ty.js → agent-via-gateway-D8QBXTZL.js} +1 -1
- package/dist/{agents-dNuQ9qUa.js → agents-C1x5jDIo.js} +4 -4
- package/dist/{agents.config-B_6rOTVW.js → agents.config-4ilUlWts.js} +1 -1
- package/dist/{agents.config-DCNsF8yj.js → agents.config-B_McnvK1.js} +1 -1
- package/dist/{anton-D375-ufL.js → anton-0pF0zqOs.js} +88 -22
- package/dist/{anton-BmSsFmSP.js → anton-BvT9_aWG.js} +88 -22
- package/dist/{anton-Di5VPZiI.js → anton-D4a5lMjo.js} +88 -22
- package/dist/{plugin-sdk/anton-CkJKOeKT.js → anton-QvQ90n78.js} +93 -27
- package/dist/{audio-preflight-vD3mDc6w.js → audio-preflight-CSSlgO89.js} +4 -4
- package/dist/{audio-preflight-CW8IH1lU.js → audio-preflight-qkU2lsDn.js} +35 -35
- package/dist/{auth-choice-C8Tj46gd.js → auth-choice-BhfFkY6h.js} +1 -1
- package/dist/{auth-choice-CYV4KLt7.js → auth-choice-JcCIJBlD.js} +1 -1
- package/dist/{auth-store-DXT-l7fO.js → auth-store-Bb4aajHu.js} +12 -12
- package/dist/{banner-B7_rwm3P.js → banner-DfFhVf3q.js} +1 -1
- package/dist/{bindings-D3b5Fmc9.js → bindings-CLZIJ0Eo.js} +2 -2
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +60 -60
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +3 -3
- package/dist/bundled/session-memory/handler.js +60 -60
- package/dist/{plugin-sdk/channel-activity-loOg1DRw.js → channel-activity-DdL3RAv_.js} +3 -3
- package/dist/{channel-options-Dxc1A5iC.js → channel-options-9SPtt4MW.js} +1 -1
- package/dist/{channel-options-DTqGMcYU.js → channel-options-CUviKu-7.js} +1 -1
- package/dist/{channel-web-CgvDCMru.js → channel-web-C6dFy-1o.js} +2 -2
- package/dist/{channel-web-BPlapQS3.js → channel-web-CFn6Nsja.js} +2 -2
- package/dist/{channels-cli-BfUIc52d.js → channels-cli-B2da56zV.js} +7 -7
- package/dist/{channels-cli-k45uGu5k.js → channels-cli-DGfqgSUL.js} +7 -7
- package/dist/{chrome-DEnkfZ9p.js → chrome-CT_a9OgI.js} +29 -29
- package/dist/{chrome-BcJB6PcM.js → chrome-Do5potHV.js} +9 -9
- package/dist/{chunk-CMpX7Jaz.js → chunk-Djk-9JeT.js} +1 -1
- package/dist/{cli-C6GCCnET.js → cli-DmnwiKz9.js} +2 -2
- package/dist/{cli-BapK2rdH.js → cli-FOBK-XcZ.js} +2 -2
- package/dist/{command-registry-DJb9jSNL.js → command-registry-DacWRRgz.js} +10 -10
- package/dist/{commands-registry-j4vAzcF2.js → commands-registry-_TBHHpvt.js} +5 -5
- package/dist/{completion-cli-BXA0UZAn.js → completion-cli-DydUIkNr.js} +2 -2
- package/dist/{completion-cli-DqJEZMJt.js → completion-cli-NMyMglwl.js} +1 -1
- package/dist/{config-cli-BfaVUsj-.js → config-cli-B4fFlFK0.js} +1 -1
- package/dist/{config-cli-97SkUuuT.js → config-cli-C_DUmmo_.js} +1 -1
- package/dist/{configure-DpswIHZC.js → configure-BRK8DqNR.js} +3 -3
- package/dist/{configure-CmTKkn3M.js → configure-k0XQkt_5.js} +3 -3
- package/dist/{deliver-BUiQ-9fE.js → deliver-Db2xqgLg.js} +20 -20
- package/dist/{deliver-5FLCa6tB.js → deliver-whAbSPLk.js} +1 -1
- package/dist/{deps-CDLYb9a7.js → deps-BO1TSzg3.js} +1 -1
- package/dist/{plugin-sdk/deps-FuyQakmK.js → deps-BQsD8-_C.js} +6 -6
- package/dist/{deps-BV_-fxNb.js → deps-C8gMsatU.js} +1 -1
- package/dist/{deps-IpeS3x5O.js → deps-CC9rj6VE.js} +1 -1
- package/dist/{diagnostic-4owMk4vH.js → diagnostic-BvlZ0Sot.js} +1 -1
- package/dist/{dock-BgOmHcbh.js → dock-ejUetwTC.js} +6 -6
- package/dist/{doctor-completion-WFEPRjgs.js → doctor-completion-CtkKGYq1.js} +1 -1
- package/dist/{doctor-completion-BkS6Phs6.js → doctor-completion-T65otQPW.js} +1 -1
- package/dist/{emergency-stop-DMTHxdvC.js → emergency-stop-B1WGLPIl.js} +2 -2
- package/dist/{emergency-stop-zy54uJoE.js → emergency-stop-C0olMHR9.js} +2 -2
- package/dist/{emergency-stop-DKLc7AmD.js → emergency-stop-C_7XuwW8.js} +7 -7
- package/dist/emergency-stop-DVyGxgzf.js +113 -0
- package/dist/entry.js +1 -1
- package/dist/{env-B5G1qwGc.js → env-q-PhWbb_.js} +1 -1
- package/dist/{plugin-sdk/errors-CMcD8Lhh.js → errors-C4SHjIZK.js} +1 -1
- package/dist/extensionAPI.js +7 -7
- package/dist/{fetch-guard-iuQsIjqN.js → fetch-guard-CcfDZXe9.js} +1 -1
- package/dist/{frontmatter-BOudmHMS.js → frontmatter-pTUG4Sx_.js} +2 -2
- package/dist/{fs-safe-CYUaAFO9.js → fs-safe-2l05hI1Y.js} +2 -2
- package/dist/{gateway-cli-FNbwxOiN.js → gateway-cli-B4fOuxUC.js} +9 -9
- package/dist/{gateway-cli-E6DUzxEX.js → gateway-cli-LuvH-d8m.js} +9 -9
- package/dist/{gemini-auth-CIyaa44H.js → gemini-auth-DLSGffQK.js} +2 -2
- package/dist/{github-copilot-token-Dgt6cnsM.js → github-copilot-token-BjmEQcmi.js} +7 -7
- package/dist/{health-CGW71CVV.js → health-BFXk0LFk.js} +1 -1
- package/dist/{health-D60h_a2w.js → health-CpPRbWHn.js} +1 -1
- package/dist/{hooks-cli-BnVSeWIo.js → hooks-cli-RL3GbGUT.js} +3 -3
- package/dist/{hooks-cli-DaWPRdgZ.js → hooks-cli-q_ukCmeC.js} +3 -3
- package/dist/{image-C_aN5P6-.js → image-BAsQlUqT.js} +1 -1
- package/dist/{image-D8b_rlQC.js → image-Dlu13Ebx.js} +6 -6
- package/dist/{image-ops-D1KtygWz.js → image-ops-J8P5zOFm.js} +1 -1
- package/dist/index.js +7 -7
- package/dist/{plugin-sdk/ir-kdDGpPMq.js → ir-BT5aAdU9.js} +6 -6
- package/dist/llm-slug-generator.js +60 -60
- package/dist/{local-roots-KN4Hp1yZ.js → local-roots-d4y0lvs2.js} +5 -5
- package/dist/{login-CFr5vJmR.js → login-C2X0In6m.js} +6 -6
- package/dist/{login-qr-CFFFOjOl.js → login-qr-C17PY0rr.js} +11 -11
- package/dist/{manager-BE_76jWB.js → manager-CgzA1hKo.js} +15 -15
- package/dist/{markdown-tables-CzsockiZ.js → markdown-tables-R8VTpfE9.js} +1 -1
- package/dist/{message-channel-C8QtrwEU.js → message-channel-ZdI1-uUh.js} +1 -1
- package/dist/{model-selection-1MMYqY6M.js → model-selection-C5hI1dum.js} +41 -41
- package/dist/{models-C1ouQF8k.js → models-DToiZ2jp.js} +2 -2
- package/dist/{models-cli-CxEFLoMt.js → models-cli-8wuQnOxc.js} +3 -3
- package/dist/{models-cli-BhFUh61j.js → models-cli-C8tnFvU6.js} +4 -4
- package/dist/{npm-resolution-Ds0qg1EX.js → npm-resolution-CPEoaDTw.js} +1 -1
- package/dist/{npm-resolution-D30nzRfu.js → npm-resolution-Dz95V6fj.js} +1 -1
- package/dist/{onboard-NcA_odSQ.js → onboard-DnGowokw.js} +2 -2
- package/dist/{onboard-Cv6q6Usf.js → onboard-Dx-J8Bes.js} +2 -2
- package/dist/{onboard-channels-C1E5DpTR.js → onboard-channels-CU5VwTMC.js} +1 -1
- package/dist/{onboard-channels-bfoS7x6P.js → onboard-channels-rnRb5koA.js} +1 -1
- package/dist/{onboarding-CX8a934a.js → onboarding-5FnIgrWy.js} +3 -3
- package/dist/{onboarding-CpGBbVTj.js → onboarding-ztl5snrV.js} +3 -3
- package/dist/{onboarding.finalize-CRgpFQIz.js → onboarding.finalize-CvJCdPZc.js} +6 -6
- package/dist/{onboarding.finalize-BnKQeFN8.js → onboarding.finalize-DpwZIBVH.js} +7 -7
- package/dist/{outbound-BNh6PpQb.js → outbound-CdY_AskB.js} +6 -6
- package/dist/{outbound-attachment-3I6GzwDe.js → outbound-attachment-IfeZJAKk.js} +2 -2
- package/dist/{path-alias-guards-Cu1nXNMM.js → path-alias-guards-BZmt6hFb.js} +1 -1
- package/dist/{paths-D_qUel1T.js → paths-D3p7ZvM6.js} +3 -3
- package/dist/{paths-BYNVLNi_.js → paths-DQpv9a3Q.js} +5 -5
- package/dist/{pi-embedded-BO8wzB4O.js → pi-embedded-CQoT3WaM.js} +179 -179
- package/dist/{pi-embedded-0YMQWOc5.js → pi-embedded-Cfe7sfXp.js} +26 -26
- package/dist/{pi-embedded-helpers-CghCLoPo.js → pi-embedded-helpers-B3ceCcxm.js} +24 -24
- package/dist/{pi-embedded-helpers-C2j0LfJC.js → pi-embedded-helpers-Ct2rwp-P.js} +4 -4
- package/dist/{pi-model-discovery-Bb__OY-j.js → pi-model-discovery-Dlx4RLWo.js} +7 -7
- package/dist/{plugin-registry-Cp2q0pVP.js → plugin-registry-BCBZDFZm.js} +1 -1
- package/dist/{plugin-registry-DceNUcJc.js → plugin-registry-CY9YBaxv.js} +1 -1
- package/dist/plugin-sdk/{accounts-CBVAw5_G.js → accounts-B9nfRzyn.js} +1 -1
- package/dist/plugin-sdk/{accounts-BLYMokxV.js → accounts-Kt6ygPsC.js} +2 -2
- package/dist/plugin-sdk/{accounts-C5tHm1UI.js → accounts-mjFAny5F.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-jl80I5G9.js → agent-scope-CU41EMlR.js} +2 -2
- package/dist/plugin-sdk/{agent-via-gateway-MuDsrNW6.js → agent-via-gateway-DgS1tFFD.js} +55 -55
- package/dist/{anton-Cw4-BgtA.js → plugin-sdk/anton-CNaMAyWx.js} +93 -27
- package/dist/plugin-sdk/{api-key-rotation-D6nK54XH.js → api-key-rotation-CZhCWd61.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-CKqqN8ty.js → audio-preflight-CRgDehfO.js} +30 -30
- package/dist/plugin-sdk/{auth-store-DaPWgQTx.js → auth-store-DycBvVqL.js} +1 -1
- package/dist/plugin-sdk/{bindings-xXgmJGxj.js → bindings-BDKKHGv-.js} +2 -2
- package/dist/{channel-activity-D_TMOGQ0.js → plugin-sdk/channel-activity-TcS_VfJk.js} +3 -3
- package/dist/plugin-sdk/{channel-web-B6pGyJpM.js → channel-web-DwpLcf95.js} +24 -24
- package/dist/plugin-sdk/{chrome-Cb9FgiCI.js → chrome-BCTizrZD.js} +6 -6
- package/dist/plugin-sdk/{chunk-PW4MBmaN.js → chunk-DZr5xuqv.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-B5m2EsHz.js → commands-registry-BqJLwZYh.js} +5 -5
- package/dist/plugin-sdk/{config-CEgzwk0J.js → config-BzPMtEKA.js} +10 -10
- package/dist/plugin-sdk/{deliver-BNfMF0Nb.js → deliver-Cfc1UCre.js} +10 -10
- package/dist/{deps-Bc5yBM-U.js → plugin-sdk/deps-DHns5FkJ.js} +6 -6
- package/dist/plugin-sdk/{diagnostic-ByA6zvzu.js → diagnostic-B8VzcqLf.js} +1 -1
- package/dist/plugin-sdk/{dock-DKQYtT6-.js → dock-CMURqoee.js} +6 -6
- package/dist/plugin-sdk/{emergency-stop-Ci4JC4dU.js → emergency-stop-BV2NiRit.js} +55 -55
- package/dist/plugin-sdk/{env-5XecRTLs.js → env-qurSiOO2.js} +1 -1
- package/dist/{errors-C_0nm4TJ.js → plugin-sdk/errors-UqLewZJL.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-DwdUEdmT.js → fetch-guard-C174s8ZV.js} +1 -1
- package/dist/plugin-sdk/{fs-safe-qsx2_8-o.js → fs-safe-CCXTOK7j.js} +2 -2
- package/dist/plugin-sdk/{image-C_1tftC8.js → image-DDuK8tyO.js} +6 -6
- package/dist/plugin-sdk/{image-ops-CXSUo-AM.js → image-ops-BRYGGDwL.js} +1 -1
- package/dist/plugin-sdk/index.js +60 -60
- package/dist/{ir-B7IBoKLy.js → plugin-sdk/ir-Bv0Zbp2E.js} +6 -6
- package/dist/plugin-sdk/{local-roots-DjB6DYeI.js → local-roots-bHCsSVt_.js} +4 -4
- package/dist/plugin-sdk/{login-DIwO5D5Y.js → login-CkQrnY2G.js} +6 -6
- package/dist/plugin-sdk/{login-qr-CpCAJuvT.js → login-qr-DAeHibH_.js} +8 -8
- package/dist/plugin-sdk/{manager-Dox9r7og.js → manager-CTC1S_c9.js} +10 -10
- package/dist/plugin-sdk/{markdown-tables-Drtwd4J5.js → markdown-tables-DfUQHRZY.js} +1 -1
- package/dist/plugin-sdk/{message-channel-CQ0qkGHj.js → message-channel-DiMXmQeQ.js} +1 -1
- package/dist/plugin-sdk/{outbound-Dx_q6JAI.js → outbound-B1twcfz5.js} +6 -6
- package/dist/plugin-sdk/{outbound-attachment-BisU5Vji.js → outbound-attachment-Bs7fNaqv.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-C_uBEYb4.js → path-alias-guards-yyy61qHh.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-B68z4sHq.js → pi-embedded-helpers-BAm9cWol.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-Dt6899be.js → pi-model-discovery-Bt6JtUFr.js} +1 -1
- package/dist/plugin-sdk/{plugins-NTjIvHYk.js → plugins-DRPlVBr_.js} +5 -5
- package/dist/plugin-sdk/{pw-ai-Dk2PTZzq.js → pw-ai-CY0evCZ2.js} +10 -10
- package/dist/plugin-sdk/{qmd-manager-juzrnopq.js → qmd-manager-BckPBwZX.js} +5 -5
- package/dist/plugin-sdk/{query-expansion-xBXvzdkL.js → query-expansion-CPqK-tTR.js} +2 -2
- package/dist/plugin-sdk/{redact-B6VQH3UQ.js → redact-Ub8sMBBC.js} +1 -1
- package/dist/plugin-sdk/{replies-ZovJp-3F.js → replies-DwTNZJgi.js} +3 -3
- package/dist/plugin-sdk/{reply-BTVimsoK.js → reply-B_cEB9MH.js} +95 -95
- package/dist/plugin-sdk/{reply-prefix--mxmTL7A.js → reply-prefix-BqV0o7_7.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-CnUtsDch.js → resolve-outbound-target-DAdNGEqG.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-BZABUE4J.js → resolve-route-C5mAwY-o.js} +3 -3
- package/dist/plugin-sdk/{retry-Bh7jveNm.js → retry-2OVzZJMZ.js} +1 -1
- package/dist/plugin-sdk/{runner-CZz1tOIR.js → runner-Ck0w3rcz.js} +10 -10
- package/dist/plugin-sdk/{send-Cb5NIN8s.js → send-A4Lv5nrg.js} +7 -7
- package/dist/plugin-sdk/{send-0EVlThEG.js → send-BBD-m-nM.js} +10 -10
- package/dist/plugin-sdk/{send-BCjVQhp3.js → send-CPeuqOlq.js} +13 -13
- package/dist/plugin-sdk/{send-B26cNPqY.js → send-CaPoBwby.js} +6 -6
- package/dist/plugin-sdk/{send-CHUGIZs9.js → send-SsqudCMv.js} +7 -7
- package/dist/plugin-sdk/{session-DdJj6_DW.js → session-DpL4uk1J.js} +3 -3
- package/dist/plugin-sdk/{sessions-DNx9c2O2.js → sessions-CQ5iD4Uq.js} +6 -6
- package/dist/plugin-sdk/{skill-commands-DorIK8kn.js → skill-commands-C_O9I71g.js} +5 -5
- package/dist/plugin-sdk/{skills-Dh_Cf2PA.js → skills-DmiIiX4l.js} +8 -8
- package/dist/plugin-sdk/{store-CCCXwngh.js → store-BI3rLJdW.js} +2 -2
- package/dist/plugin-sdk/{subsystem-DWPzKeZ0.js → subsystem-lJo9gqAK.js} +1 -1
- package/dist/plugin-sdk/{tables-CF9W23Rd.js → tables-C4X_nAUQ.js} +1 -1
- package/dist/plugin-sdk/{target-errors-DaH0qYtL.js → target-errors-CXh6e9ZE.js} +2 -2
- package/dist/plugin-sdk/{tokens-Y97UKh4C.js → tokens-CU9S3S7t.js} +1 -1
- package/dist/{tool-images-CcGZpzmq.js → plugin-sdk/tool-images-Cf9aWlVu.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-Cv8wyfAi.js → tool-loop-detection-DuwkSqZL.js} +2 -2
- package/dist/plugin-sdk/{utils-Dyj2wV4e.js → utils-dP-FpIgu.js} +2 -2
- package/dist/plugin-sdk/web-B-hYOnMb.js +71 -0
- package/dist/plugin-sdk/{whatsapp-actions-B5g-Rywy.js → whatsapp-actions-Bcknq6EZ.js} +23 -23
- package/dist/{plugins-CRB60mCJ.js → plugins-DYr-HHj0.js} +10 -10
- package/dist/{plugins-cli-2wK7R85Y.js → plugins-cli-BLcXY9sR.js} +3 -3
- package/dist/{plugins-cli-BaQt7jqk.js → plugins-cli-c-YfMlpn.js} +3 -3
- package/dist/{program-CbwFv75G.js → program-IXAxx4y-.js} +8 -8
- package/dist/{program-context-Ck-chzM_.js → program-context-lbXboD45.js} +18 -18
- package/dist/{prompt-select-styled-DJ5ONfKl.js → prompt-select-styled-C9ZBkTHU.js} +4 -4
- package/dist/{prompt-select-styled-DigZiJWM.js → prompt-select-styled-D1foahBO.js} +4 -4
- package/dist/{provider-auth-helpers-DGTDTeE5.js → provider-auth-helpers-CKJG35W4.js} +1 -1
- package/dist/{provider-auth-helpers-Ci_EGvif.js → provider-auth-helpers-Q2ZCYpBX.js} +1 -1
- package/dist/{push-apns-Dz4hOY07.js → push-apns-DM5pSWEU.js} +1 -1
- package/dist/{push-apns-BSYjGCn9.js → push-apns-DbZAasNF.js} +1 -1
- package/dist/{pw-ai-CfYaR1K2.js → pw-ai-DIV4PcIo.js} +13 -13
- package/dist/{pw-ai-DjmrIQle.js → pw-ai-yrIWfcWX.js} +1 -1
- package/dist/{qmd-manager-B_GgyQQ0.js → qmd-manager-BRvg3Rx2.js} +8 -8
- package/dist/{query-expansion-DEq020GG.js → query-expansion-DHuNyU-_.js} +5 -5
- package/dist/{redact-Bvpf-ATQ.js → redact-1Y0KPNtr.js} +1 -1
- package/dist/{register.agent-CTPc2Q9m.js → register.agent-BObt1WS1.js} +8 -8
- package/dist/{register.agent-BZh3UWw3.js → register.agent-CMgUOruT.js} +9 -9
- package/dist/{register.configure-vVDARCph.js → register.configure-B3lElmGa.js} +8 -8
- package/dist/{register.configure-BzTxX7SG.js → register.configure-BSoAZhfz.js} +8 -8
- package/dist/{register.maintenance-DTXn32on.js → register.maintenance-0PNfXeOc.js} +8 -8
- package/dist/{register.maintenance-BNHEV-po.js → register.maintenance-mxkecZ9A.js} +9 -9
- package/dist/{register.message-BYWAEsKP.js → register.message-D7VHunA0.js} +3 -3
- package/dist/{register.message-CHf51taw.js → register.message-Dr4UBjNt.js} +3 -3
- package/dist/{register.onboard-CxwDhXRS.js → register.onboard-BvDwJMC5.js} +2 -2
- package/dist/{register.onboard-vruDRZdG.js → register.onboard-Xh9xW0hH.js} +2 -2
- package/dist/{register.orchestrator-anton-qBr2ZYrk.js → register.orchestrator-anton-CObXxmuY.js} +2 -2
- package/dist/{register.orchestrator-anton-GSAFxzGa.js → register.orchestrator-anton-DShH4ce_.js} +2 -2
- package/dist/{register.setup-DlFQIXoR.js → register.setup-BxsKZdfB.js} +2 -2
- package/dist/{register.setup-B0zmlTXV.js → register.setup-d2XyhTY9.js} +2 -2
- package/dist/{register.status-health-sessions-16paRP9f.js → register.status-health-sessions-CADZZQMe.js} +4 -4
- package/dist/{register.status-health-sessions-CtXhn9Dq.js → register.status-health-sessions-wyNUhSbK.js} +4 -4
- package/dist/{register.subclis-lskGgus9.js → register.subclis-Bh3Lakik.js} +9 -9
- package/dist/{replies-6_GxvQYe.js → replies-2C16fnBP.js} +3 -3
- package/dist/{reply-DfRr_KdS.js → reply-AI4n5V-o.js} +11 -11
- package/dist/{reply-prefix-BUgeSN2R.js → reply-prefix-DCljZiIB.js} +1 -1
- package/dist/{resolve-route-DuttYY7A.js → resolve-route-ClcifpKn.js} +4 -4
- package/dist/{retry-BeB9WenR.js → retry-CG6cMRDQ.js} +1 -1
- package/dist/{run-main-Bj-8MZGb.js → run-main-DNLZvSB0.js} +15 -15
- package/dist/{runner-PgRFPYUj.js → runner-BkCU-kqs.js} +11 -11
- package/dist/{runner-CZW_eyf2.js → runner-Bv_BA3vd.js} +1 -1
- package/dist/{send-D4bMycQu.js → send-BOxJ4QXF.js} +7 -7
- package/dist/{send-BeIZJuy4.js → send-DZa8fWSm.js} +7 -7
- package/dist/{send-Dfa3sn6r.js → send-FLdrx-oF.js} +24 -24
- package/dist/{send-DmLC7aEF.js → send-IlPMLAH-.js} +10 -10
- package/dist/{send-C1hvd3bt.js → send-Y1hD4tQ1.js} +6 -6
- package/dist/{server-node-events-Benu2lR2.js → server-node-events-B9rufyZR.js} +3 -3
- package/dist/{server-node-events-B_LUFrA_.js → server-node-events-DPeIs1oo.js} +3 -3
- package/dist/{session-F_YDS_1V.js → session-nUPBXeEa.js} +7 -7
- package/dist/{sessions-3ioSeOA1.js → sessions-DRA4oaxz.js} +41 -41
- package/dist/{skill-commands-Ck3flWX7.js → skill-commands-BHTBXXVn.js} +9 -9
- package/dist/{skills-CnAPWfca.js → skills-umlGvChF.js} +22 -22
- package/dist/{status-DxcdgCyX.js → status-CvtDDIW9.js} +2 -2
- package/dist/{status-DzCllHYZ.js → status-rvywYmZR.js} +2 -2
- package/dist/{store-CvMgrKWx.js → store-D-ZicQeo.js} +2 -2
- package/dist/{subagent-registry-BcpHnckA.js → subagent-registry-D7Dwl-dH.js} +11 -11
- package/dist/{subsystem-tzu-rIAJ.js → subsystem-D7ZepYT1.js} +1 -1
- package/dist/{tables-5k-zOZ-s.js → tables-Co_R_WKs.js} +1 -1
- package/dist/{target-errors-BPfQrPim.js → target-errors-B1mcM4WR.js} +2 -2
- package/dist/{tokens-BRLyURxW.js → tokens-DGajj8M9.js} +1 -1
- package/dist/{plugin-sdk/tool-images-BMRkn_yk.js → tool-images-Duuqr4bN.js} +2 -2
- package/dist/{tool-loop-detection-BNGetx3Z.js → tool-loop-detection-CjWRg_4q.js} +3 -3
- package/dist/{update-cli-B53rJqAV.js → update-cli-Bofvelva.js} +8 -8
- package/dist/{update-cli-CTETjvrF.js → update-cli-DaGTiqso.js} +9 -9
- package/dist/{update-runner-BGAdvd0c.js → update-runner-4txNUERu.js} +1 -1
- package/dist/{update-runner-BOGIWX18.js → update-runner-B9mGXrK4.js} +1 -1
- package/dist/{utils-CTFLl_ji.js → utils-D9wGoiU9.js} +18 -18
- package/dist/{web-CqOVupWI.js → web-D3gEaA39.js} +3 -3
- package/dist/{web-C7HXffph.js → web-D3gOCfby.js} +8 -8
- package/dist/{web-Dwj9igbL.js → web-D7J5iB9K.js} +66 -66
- package/dist/{web-3nv8mK11.js → web-DhiwmDh8.js} +3 -3
- package/dist/{whatsapp-actions-DbPcN6JQ.js → whatsapp-actions-BJ6kVDXi.js} +25 -25
- package/dist/{workspace-DBFSzT6O.js → workspace-tAtkoD_r.js} +18 -18
- package/package.json +1 -1
- package/dist/emergency-stop-Dxp2e3a9.js +0 -113
- package/dist/plugin-sdk/web-HiiN5NkP.js +0 -71
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import { t as CONFIG_DIR } from "./utils-
|
|
3
|
-
import fs from "node:fs/promises";
|
|
1
|
+
import "./paths-CtGV5i8O.js";
|
|
2
|
+
import { t as CONFIG_DIR } from "./utils-dP-FpIgu.js";
|
|
4
3
|
import path from "node:path";
|
|
4
|
+
import fs from "node:fs/promises";
|
|
5
5
|
import { promisify } from "node:util";
|
|
6
6
|
import { execFile } from "node:child_process";
|
|
7
7
|
|
|
@@ -26,28 +26,53 @@ async function writeState(state) {
|
|
|
26
26
|
updatedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
27
27
|
}, null, 2)}\n`, "utf8");
|
|
28
28
|
}
|
|
29
|
+
async function isAntonLockPid(pid) {
|
|
30
|
+
try {
|
|
31
|
+
const { stdout } = await execFile$1("ps", [
|
|
32
|
+
"-p",
|
|
33
|
+
String(pid),
|
|
34
|
+
"-o",
|
|
35
|
+
"args="
|
|
36
|
+
], { encoding: "utf8" });
|
|
37
|
+
const cmd = stdout.trim().toLowerCase();
|
|
38
|
+
return cmd.includes(" anton") || cmd.endsWith("anton") || cmd.includes(" node ") && cmd.includes("anton");
|
|
39
|
+
} catch {
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
29
43
|
async function acquireLock(force = false) {
|
|
30
44
|
await ensureStateDir();
|
|
45
|
+
const payload = JSON.stringify({
|
|
46
|
+
pid: process.pid,
|
|
47
|
+
startedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
48
|
+
});
|
|
31
49
|
try {
|
|
32
|
-
await fs.writeFile(ANTON_LOCK_PATH,
|
|
33
|
-
pid: process.pid,
|
|
34
|
-
startedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
35
|
-
}), {
|
|
50
|
+
await fs.writeFile(ANTON_LOCK_PATH, payload, {
|
|
36
51
|
encoding: "utf8",
|
|
37
52
|
flag: "wx"
|
|
38
53
|
});
|
|
54
|
+
return;
|
|
55
|
+
} catch {}
|
|
56
|
+
let staleOrInvalid = false;
|
|
57
|
+
try {
|
|
58
|
+
const raw = await fs.readFile(ANTON_LOCK_PATH, "utf8");
|
|
59
|
+
const parsed = JSON.parse(raw);
|
|
60
|
+
const pid = Number(parsed?.pid);
|
|
61
|
+
if (!Number.isFinite(pid) || pid <= 0) staleOrInvalid = true;
|
|
62
|
+
else staleOrInvalid = !await isAntonLockPid(pid);
|
|
39
63
|
} catch {
|
|
40
|
-
|
|
41
|
-
await fs.rm(ANTON_LOCK_PATH, { force: true });
|
|
42
|
-
await fs.writeFile(ANTON_LOCK_PATH, JSON.stringify({
|
|
43
|
-
pid: process.pid,
|
|
44
|
-
startedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
45
|
-
force: true
|
|
46
|
-
}), {
|
|
47
|
-
encoding: "utf8",
|
|
48
|
-
flag: "wx"
|
|
49
|
-
});
|
|
64
|
+
staleOrInvalid = true;
|
|
50
65
|
}
|
|
66
|
+
if (!force && !staleOrInvalid) throw new Error("Anton is already running (lock held)");
|
|
67
|
+
await fs.rm(ANTON_LOCK_PATH, { force: true });
|
|
68
|
+
await fs.writeFile(ANTON_LOCK_PATH, JSON.stringify({
|
|
69
|
+
pid: process.pid,
|
|
70
|
+
startedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
71
|
+
force: force || staleOrInvalid
|
|
72
|
+
}), {
|
|
73
|
+
encoding: "utf8",
|
|
74
|
+
flag: "wx"
|
|
75
|
+
});
|
|
51
76
|
}
|
|
52
77
|
async function releaseLock() {
|
|
53
78
|
await fs.rm(ANTON_LOCK_PATH, { force: true });
|
|
@@ -80,6 +105,13 @@ function markTaskDone(markdown, lineNo) {
|
|
|
80
105
|
function isJsonTaskFile(taskFile) {
|
|
81
106
|
return taskFile.toLowerCase().endsWith(".json");
|
|
82
107
|
}
|
|
108
|
+
function isJsonTaskComplete(obj) {
|
|
109
|
+
if (obj.done === true) return true;
|
|
110
|
+
const status = typeof obj.status === "string" ? obj.status.trim().toLowerCase() : "";
|
|
111
|
+
if (status === "complete" || status === "completed" || status === "done") return true;
|
|
112
|
+
if (status === "incomplete" || status === "pending" || status === "todo" || status === "open") return false;
|
|
113
|
+
return false;
|
|
114
|
+
}
|
|
83
115
|
function parsePendingTasksFromJson(jsonText) {
|
|
84
116
|
const data = JSON.parse(jsonText);
|
|
85
117
|
const pending = [];
|
|
@@ -90,7 +122,7 @@ function parsePendingTasksFromJson(jsonText) {
|
|
|
90
122
|
for (const sub of subtasks) {
|
|
91
123
|
if (!sub || typeof sub !== "object") continue;
|
|
92
124
|
const subObj = sub;
|
|
93
|
-
if (subObj
|
|
125
|
+
if (isJsonTaskComplete(subObj)) continue;
|
|
94
126
|
const name = typeof subObj.name === "string" ? subObj.name.trim() : "";
|
|
95
127
|
if (!name) continue;
|
|
96
128
|
const subDetails = typeof subObj.details === "string" ? subObj.details.trim() : "";
|
|
@@ -100,7 +132,7 @@ function parsePendingTasksFromJson(jsonText) {
|
|
|
100
132
|
return details.length > 0 ? details.join("\n\n") : void 0;
|
|
101
133
|
};
|
|
102
134
|
const pushTask = (jsonPath, obj) => {
|
|
103
|
-
if (obj
|
|
135
|
+
if (isJsonTaskComplete(obj)) return;
|
|
104
136
|
const text = typeof obj.name === "string" ? obj.name.trim() : "";
|
|
105
137
|
if (!text) return;
|
|
106
138
|
const subtasks = Array.isArray(obj.subtasks) ? obj.subtasks : [];
|
|
@@ -139,6 +171,7 @@ function markJsonTaskDone(data, jsonPath) {
|
|
|
139
171
|
}
|
|
140
172
|
if (!cur || typeof cur !== "object" || Array.isArray(cur)) return;
|
|
141
173
|
cur.done = true;
|
|
174
|
+
cur.status = "complete";
|
|
142
175
|
}
|
|
143
176
|
function formatTaskForPrompt(task) {
|
|
144
177
|
if (task.details) return `${task.text}
|
|
@@ -355,14 +388,14 @@ async function antonStop(runtime) {
|
|
|
355
388
|
/** Load Anton config from the IdleHands config file. */
|
|
356
389
|
async function loadAntonConfig() {
|
|
357
390
|
try {
|
|
358
|
-
const { loadConfig } = await import("./
|
|
391
|
+
const { loadConfig } = await import("./config-BzPMtEKA.js").then((n) => n.t);
|
|
359
392
|
return loadConfig().anton ?? {};
|
|
360
393
|
} catch {
|
|
361
394
|
return {};
|
|
362
395
|
}
|
|
363
396
|
}
|
|
364
397
|
async function runAgentTask(args) {
|
|
365
|
-
const { agentCliCommand } = await import("./agent-via-gateway-
|
|
398
|
+
const { agentCliCommand } = await import("./agent-via-gateway-DgS1tFFD.js");
|
|
366
399
|
const extraSystemPrompt = args.workspaceDir ? `Your working directory is: ${args.workspaceDir}\nAll file paths are relative to this directory. Use this as your cwd for all operations.` : void 0;
|
|
367
400
|
const result = await agentCliCommand({
|
|
368
401
|
message: args.message,
|
|
@@ -425,6 +458,29 @@ async function getGitChangedFileCount(cwd, ignorePaths = []) {
|
|
|
425
458
|
return null;
|
|
426
459
|
}
|
|
427
460
|
}
|
|
461
|
+
async function getGitHeadCommit(cwd) {
|
|
462
|
+
try {
|
|
463
|
+
const { stdout } = await execFile$1("git", ["rev-parse", "HEAD"], { cwd });
|
|
464
|
+
const sha = stdout.trim();
|
|
465
|
+
return sha.length > 0 ? sha : null;
|
|
466
|
+
} catch {
|
|
467
|
+
return null;
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
async function getGitReflogTop(cwd) {
|
|
471
|
+
try {
|
|
472
|
+
const { stdout } = await execFile$1("git", [
|
|
473
|
+
"reflog",
|
|
474
|
+
"-n",
|
|
475
|
+
"1",
|
|
476
|
+
"--format=%H:%gs"
|
|
477
|
+
], { cwd });
|
|
478
|
+
const value = stdout.trim();
|
|
479
|
+
return value.length > 0 ? value : null;
|
|
480
|
+
} catch {
|
|
481
|
+
return null;
|
|
482
|
+
}
|
|
483
|
+
}
|
|
428
484
|
function extractJsonObject(text) {
|
|
429
485
|
const trimmed = text.trim();
|
|
430
486
|
if (!trimmed) return null;
|
|
@@ -720,11 +776,15 @@ async function runAnton(args) {
|
|
|
720
776
|
const raw = await fs.readFile(filePath, "utf8");
|
|
721
777
|
let pending = [];
|
|
722
778
|
let jsonData;
|
|
723
|
-
if (isJsonTaskFile(filePath)) {
|
|
779
|
+
if (isJsonTaskFile(filePath)) try {
|
|
724
780
|
const parsed = parsePendingTasksFromJson(raw);
|
|
725
781
|
pending = parsed.pending;
|
|
726
782
|
jsonData = parsed.data;
|
|
727
|
-
}
|
|
783
|
+
} catch (err) {
|
|
784
|
+
const msg = err instanceof Error ? err.message : String(err);
|
|
785
|
+
throw new Error(`Invalid JSON task file: ${filePath} (${msg})`, { cause: err });
|
|
786
|
+
}
|
|
787
|
+
else pending = parsePendingTasks(raw);
|
|
728
788
|
const notify = args.onProgress ?? (async () => {});
|
|
729
789
|
if (args.dryRun) {
|
|
730
790
|
args.runtime.log(`Dry run: ${pending.length} pending task(s)`);
|
|
@@ -754,7 +814,7 @@ async function runAnton(args) {
|
|
|
754
814
|
const reviewTimeout = execution.reviewTimeoutSec;
|
|
755
815
|
const preflightMaxRetries = execution.preflightMaxRetries;
|
|
756
816
|
const planDir = antonCfg.planDir ? path.resolve(antonCfg.planDir) : path.resolve(path.dirname(filePath), ".agents", "tasks");
|
|
757
|
-
const { loadConfig } = await import("./
|
|
817
|
+
const { loadConfig } = await import("./config-BzPMtEKA.js").then((n) => n.t);
|
|
758
818
|
const cfg = loadConfig();
|
|
759
819
|
const defaultTimeout = String(Number.isFinite(args.timeoutSec) && (args.timeoutSec ?? 0) > 0 ? args.timeoutSec : cfg.agents?.defaults?.timeoutSeconds ?? taskTimeout);
|
|
760
820
|
const repoCwd = args.workspaceDir ? path.resolve(args.workspaceDir) : path.dirname(filePath);
|
|
@@ -818,6 +878,8 @@ async function runAnton(args) {
|
|
|
818
878
|
const gitCwdForBaseline = args.workspaceDir ? path.resolve(args.workspaceDir) : path.dirname(filePath);
|
|
819
879
|
const taskFileRelForBaseline = path.relative(gitCwdForBaseline, filePath).replace(/\\/g, "/");
|
|
820
880
|
const changedBeforeTask = await getGitChangedFileCount(gitCwdForBaseline, taskFileRelForBaseline.startsWith("..") ? [] : [taskFileRelForBaseline]);
|
|
881
|
+
const headBeforeTask = await getGitHeadCommit(gitCwdForBaseline);
|
|
882
|
+
const reflogBeforeTask = await getGitReflogTop(gitCwdForBaseline);
|
|
821
883
|
if (mode === "preflight") {
|
|
822
884
|
await hardCleanRepo(repoCwd);
|
|
823
885
|
await ensureRepoCleanOrThrow(repoCwd);
|
|
@@ -913,8 +975,10 @@ async function runAnton(args) {
|
|
|
913
975
|
workspaceDir: args.workspaceDir
|
|
914
976
|
});
|
|
915
977
|
let changedAfter = await getGitChangedFileCount(gitCwd, changeIgnores);
|
|
916
|
-
|
|
917
|
-
|
|
978
|
+
let headAfterTask = await getGitHeadCommit(gitCwd);
|
|
979
|
+
let reflogAfterTask = await getGitReflogTop(gitCwd);
|
|
980
|
+
if (mode === "direct" && changedBeforeTask !== null && changedAfter !== null && changedAfter <= changedBeforeTask && headBeforeTask !== null && headAfterTask === headBeforeTask && reflogBeforeTask !== null && reflogAfterTask === reflogBeforeTask && !allowNoChanges) throw new Error("Implementation made no repository changes; refusing to mark task complete");
|
|
981
|
+
if (mode === "preflight" && changedBeforeTask !== null && changedAfter !== null && changedAfter <= changedBeforeTask && headBeforeTask !== null && headAfterTask === headBeforeTask && reflogBeforeTask !== null && reflogAfterTask === reflogBeforeTask) {
|
|
918
982
|
if (!allowNoChanges) {
|
|
919
983
|
const retrySessionId = `anton-impl-retry-${Date.now()}-${taskNum}`;
|
|
920
984
|
await notify({
|
|
@@ -937,7 +1001,9 @@ async function runAnton(args) {
|
|
|
937
1001
|
workspaceDir: args.workspaceDir
|
|
938
1002
|
});
|
|
939
1003
|
changedAfter = await getGitChangedFileCount(gitCwd, changeIgnores);
|
|
940
|
-
|
|
1004
|
+
headAfterTask = await getGitHeadCommit(gitCwd);
|
|
1005
|
+
reflogAfterTask = await getGitReflogTop(gitCwd);
|
|
1006
|
+
if (changedAfter !== null && changedAfter <= changedBeforeTask && headBeforeTask !== null && headAfterTask === headBeforeTask && reflogBeforeTask !== null && reflogAfterTask === reflogBeforeTask) throw new Error("Implementation made no repository changes after retry; refusing to mark task complete");
|
|
941
1007
|
}
|
|
942
1008
|
}
|
|
943
1009
|
const latest = await fs.readFile(filePath, "utf8");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Zt as normalizeProviderId } from "./config-
|
|
2
|
-
import { n as formatErrorMessage } from "./errors-
|
|
1
|
+
import { Zt as normalizeProviderId } from "./config-BzPMtEKA.js";
|
|
2
|
+
import { n as formatErrorMessage } from "./errors-UqLewZJL.js";
|
|
3
3
|
|
|
4
4
|
//#region src/infra/gemini-auth.ts
|
|
5
5
|
/**
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import "./accounts-
|
|
1
|
+
import "./accounts-Kt6ygPsC.js";
|
|
2
2
|
import "./paths-CtGV5i8O.js";
|
|
3
3
|
import "./github-copilot-token-CY2euW0d.js";
|
|
4
|
-
import "./config-
|
|
5
|
-
import { A as shouldLogVerbose, D as logVerbose } from "./utils-
|
|
6
|
-
import "./subsystem-
|
|
4
|
+
import "./config-BzPMtEKA.js";
|
|
5
|
+
import { A as shouldLogVerbose, D as logVerbose } from "./utils-dP-FpIgu.js";
|
|
6
|
+
import "./subsystem-lJo9gqAK.js";
|
|
7
7
|
import "./runtime-CjfcfOBD.js";
|
|
8
|
-
import "./env-
|
|
9
|
-
import "./agent-scope-
|
|
10
|
-
import "./dock-
|
|
11
|
-
import "./message-channel-
|
|
12
|
-
import "./sessions-
|
|
13
|
-
import "./plugins-
|
|
14
|
-
import "./accounts-
|
|
15
|
-
import "./accounts-
|
|
16
|
-
import "./bindings-
|
|
17
|
-
import "./auth-store-
|
|
8
|
+
import "./env-qurSiOO2.js";
|
|
9
|
+
import "./agent-scope-CU41EMlR.js";
|
|
10
|
+
import "./dock-CMURqoee.js";
|
|
11
|
+
import "./message-channel-DiMXmQeQ.js";
|
|
12
|
+
import "./sessions-CQ5iD4Uq.js";
|
|
13
|
+
import "./plugins-DRPlVBr_.js";
|
|
14
|
+
import "./accounts-B9nfRzyn.js";
|
|
15
|
+
import "./accounts-mjFAny5F.js";
|
|
16
|
+
import "./bindings-BDKKHGv-.js";
|
|
17
|
+
import "./auth-store-DycBvVqL.js";
|
|
18
18
|
import "./paths-CSpzSLh8.js";
|
|
19
|
-
import "./redact-
|
|
20
|
-
import "./errors-
|
|
21
|
-
import "./path-alias-guards-
|
|
22
|
-
import "./fs-safe-
|
|
23
|
-
import "./image-ops-
|
|
19
|
+
import "./redact-Ub8sMBBC.js";
|
|
20
|
+
import "./errors-UqLewZJL.js";
|
|
21
|
+
import "./path-alias-guards-yyy61qHh.js";
|
|
22
|
+
import "./fs-safe-CCXTOK7j.js";
|
|
23
|
+
import "./image-ops-BRYGGDwL.js";
|
|
24
24
|
import "./ssrf-C3kIyB5u.js";
|
|
25
|
-
import "./fetch-guard-
|
|
26
|
-
import "./local-roots-
|
|
27
|
-
import "./tool-images-
|
|
28
|
-
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-
|
|
29
|
-
import "./skills-
|
|
30
|
-
import "./chrome-
|
|
31
|
-
import "./store-
|
|
32
|
-
import "./pi-embedded-helpers-
|
|
25
|
+
import "./fetch-guard-C174s8ZV.js";
|
|
26
|
+
import "./local-roots-bHCsSVt_.js";
|
|
27
|
+
import "./tool-images-Cf9aWlVu.js";
|
|
28
|
+
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-Ck0w3rcz.js";
|
|
29
|
+
import "./skills-DmiIiX4l.js";
|
|
30
|
+
import "./chrome-BCTizrZD.js";
|
|
31
|
+
import "./store-BI3rLJdW.js";
|
|
32
|
+
import "./pi-embedded-helpers-BAm9cWol.js";
|
|
33
33
|
import "./thinking-g4Rrlwu4.js";
|
|
34
|
-
import "./image-
|
|
35
|
-
import "./pi-model-discovery-
|
|
36
|
-
import "./api-key-rotation-
|
|
34
|
+
import "./image-DDuK8tyO.js";
|
|
35
|
+
import "./pi-model-discovery-Bt6JtUFr.js";
|
|
36
|
+
import "./api-key-rotation-CZhCWd61.js";
|
|
37
37
|
|
|
38
38
|
//#region src/media-understanding/audio-preflight.ts
|
|
39
39
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { f as DEFAULT_ACCOUNT_ID } from "./session-key-47BV2tLd.js";
|
|
2
2
|
import { l as resolveOAuthDir } from "./paths-CtGV5i8O.js";
|
|
3
|
-
import { I as getChildLogger, T as info, h as resolveUserPath, j as success, u as jidToE164 } from "./utils-
|
|
3
|
+
import { I as getChildLogger, T as info, h as resolveUserPath, j as success, u as jidToE164 } from "./utils-dP-FpIgu.js";
|
|
4
4
|
import { n as defaultRuntime } from "./runtime-CjfcfOBD.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-DRnDl0ar.js";
|
|
6
6
|
import fs from "node:fs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as normalizeAccountId, s as normalizeAgentId } from "./session-key-47BV2tLd.js";
|
|
2
|
-
import { l as normalizeChatChannelId } from "./subsystem-
|
|
3
|
-
import { c as resolveDefaultAgentId } from "./agent-scope-
|
|
2
|
+
import { l as normalizeChatChannelId } from "./subsystem-lJo9gqAK.js";
|
|
3
|
+
import { c as resolveDefaultAgentId } from "./agent-scope-CU41EMlR.js";
|
|
4
4
|
|
|
5
5
|
//#region src/routing/bindings.ts
|
|
6
6
|
function normalizeBindingChannelId(raw) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { n as
|
|
3
|
-
import { n as
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-lJo9gqAK.js";
|
|
2
|
+
import { n as retryAsync, t as resolveRetryConfig } from "./retry-2OVzZJMZ.js";
|
|
3
|
+
import { n as formatErrorMessage } from "./errors-UqLewZJL.js";
|
|
4
4
|
import { RateLimitError } from "@buape/carbon";
|
|
5
5
|
|
|
6
6
|
//#region src/infra/retry-policy.ts
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { a as buildGroupHistoryKey, f as DEFAULT_ACCOUNT_ID, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey, s as normalizeAgentId } from "./session-key-47BV2tLd.js";
|
|
2
|
-
import { i as resolveWhatsAppAccount } from "./accounts-
|
|
3
|
-
import { A as formatDurationPrecise, Ct as formatInboundEnvelope, Gt as resolveOpenProviderRuntimeGroupPolicy, Lt as resolveDmGroupAccessWithCommandGate, Mt as buildPairingReply, Pt as readStoreAllowFromForDmPolicy, Rt as resolveDmGroupAccessWithLists, Tt as resolveEnvelopeFormatOptions, Wt as resolveDefaultGroupPolicy, X as shouldAckReactionForWhatsApp, Z as resolveMentionGating, _ as resolveInboundDebounceMs, ct as recordPendingHistoryEntryIfEnabled, g as createInboundDebouncer, i as parseActivationCommand, j as enqueueSystemEvent, l as computeBackoff, lt as buildMentionRegexes, m as dispatchReplyWithBufferedBlockDispatcher, nt as buildHistoryContextFromEntries, qt as warnMissingProviderGroupPolicyFallbackOnce, r as normalizeGroupActivation, t as getReplyFromConfig, tt as DEFAULT_GROUP_HISTORY_LIMIT, u as sleepWithAbort, ut as normalizeMentionText, v as hasControlCommand, y as shouldComputeCommandAuthorized, yt as createDedupeCache } from "./reply-
|
|
4
|
-
import { r as loadConfig } from "./config-
|
|
5
|
-
import { A as shouldLogVerbose, D as logVerbose, I as getChildLogger, d as normalizeE164, l as isSelfChatMode, m as resolveJidToE164, n as clamp, u as jidToE164, x as toWhatsappJid, y as sleep } from "./utils-
|
|
6
|
-
import { l as normalizeChatChannelId, t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { i as resolveWhatsAppAccount } from "./accounts-Kt6ygPsC.js";
|
|
3
|
+
import { A as formatDurationPrecise, Ct as formatInboundEnvelope, Gt as resolveOpenProviderRuntimeGroupPolicy, Lt as resolveDmGroupAccessWithCommandGate, Mt as buildPairingReply, Pt as readStoreAllowFromForDmPolicy, Rt as resolveDmGroupAccessWithLists, Tt as resolveEnvelopeFormatOptions, Wt as resolveDefaultGroupPolicy, X as shouldAckReactionForWhatsApp, Z as resolveMentionGating, _ as resolveInboundDebounceMs, ct as recordPendingHistoryEntryIfEnabled, g as createInboundDebouncer, i as parseActivationCommand, j as enqueueSystemEvent, l as computeBackoff, lt as buildMentionRegexes, m as dispatchReplyWithBufferedBlockDispatcher, nt as buildHistoryContextFromEntries, qt as warnMissingProviderGroupPolicyFallbackOnce, r as normalizeGroupActivation, t as getReplyFromConfig, tt as DEFAULT_GROUP_HISTORY_LIMIT, u as sleepWithAbort, ut as normalizeMentionText, v as hasControlCommand, y as shouldComputeCommandAuthorized, yt as createDedupeCache } from "./reply-B_cEB9MH.js";
|
|
4
|
+
import { r as loadConfig } from "./config-BzPMtEKA.js";
|
|
5
|
+
import { A as shouldLogVerbose, D as logVerbose, I as getChildLogger, d as normalizeE164, l as isSelfChatMode, m as resolveJidToE164, n as clamp, u as jidToE164, x as toWhatsappJid, y as sleep } from "./utils-dP-FpIgu.js";
|
|
6
|
+
import { l as normalizeChatChannelId, t as createSubsystemLogger } from "./subsystem-lJo9gqAK.js";
|
|
7
7
|
import { n as defaultRuntime } from "./runtime-CjfcfOBD.js";
|
|
8
8
|
import { t as formatCliCommand } from "./command-format-DRnDl0ar.js";
|
|
9
|
-
import { D as resolveChannelGroupPolicy, O as resolveChannelGroupRequireMention } from "./dock-
|
|
10
|
-
import { J as resolveGroupSessionKey, c as readSessionUpdatedAt, d as updateLastRoute, l as recordSessionMetaFromInbound, s as loadSessionStore } from "./sessions-
|
|
11
|
-
import { l as readWebSelfId, n as getWebAuthAgeMs } from "./auth-store-
|
|
9
|
+
import { D as resolveChannelGroupPolicy, O as resolveChannelGroupRequireMention } from "./dock-CMURqoee.js";
|
|
10
|
+
import { J as resolveGroupSessionKey, c as readSessionUpdatedAt, d as updateLastRoute, l as recordSessionMetaFromInbound, s as loadSessionStore } from "./sessions-CQ5iD4Uq.js";
|
|
11
|
+
import { l as readWebSelfId, n as getWebAuthAgeMs } from "./auth-store-DycBvVqL.js";
|
|
12
12
|
import { u as resolveStorePath } from "./paths-CSpzSLh8.js";
|
|
13
|
-
import { n as recordChannelActivity } from "./channel-activity-
|
|
14
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
15
|
-
import { a as loadWebMedia } from "./ir-
|
|
16
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-
|
|
17
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
18
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
19
|
-
import { J as toLocationContext, et as readChannelAllowFromStoreSync, nt as upsertChannelPairingRequest, q as formatLocationText } from "./send-
|
|
20
|
-
import { f as registerUnhandledRejectionHandler } from "./runner-
|
|
21
|
-
import { l as resolveIdentityNamePrefix, n as createReplyPrefixOptions, u as resolveMessagePrefix } from "./reply-prefix
|
|
22
|
-
import { i as saveMediaBuffer } from "./store-
|
|
13
|
+
import { n as recordChannelActivity } from "./channel-activity-TcS_VfJk.js";
|
|
14
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-bHCsSVt_.js";
|
|
15
|
+
import { a as loadWebMedia } from "./ir-Bv0Zbp2E.js";
|
|
16
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-DZr5xuqv.js";
|
|
17
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-DfUQHRZY.js";
|
|
18
|
+
import { t as convertMarkdownTables } from "./tables-C4X_nAUQ.js";
|
|
19
|
+
import { J as toLocationContext, et as readChannelAllowFromStoreSync, nt as upsertChannelPairingRequest, q as formatLocationText } from "./send-CPeuqOlq.js";
|
|
20
|
+
import { f as registerUnhandledRejectionHandler } from "./runner-Ck0w3rcz.js";
|
|
21
|
+
import { l as resolveIdentityNamePrefix, n as createReplyPrefixOptions, u as resolveMessagePrefix } from "./reply-prefix-BqV0o7_7.js";
|
|
22
|
+
import { i as saveMediaBuffer } from "./store-BI3rLJdW.js";
|
|
23
23
|
import { t as finalizeInboundContext } from "./inbound-context-B77_FZjf.js";
|
|
24
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
24
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-C5mAwY-o.js";
|
|
25
25
|
import { r as setActiveWebListener } from "./active-listener-WMrtFGPv.js";
|
|
26
|
-
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-
|
|
27
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
26
|
+
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-B1twcfz5.js";
|
|
27
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-DpL4uk1J.js";
|
|
28
28
|
import { randomUUID } from "node:crypto";
|
|
29
29
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
30
30
|
|
|
@@ -878,10 +878,10 @@ async function monitorWebInbox(options) {
|
|
|
878
878
|
};
|
|
879
879
|
const stopText = (inboundMessage.body ?? "").trim();
|
|
880
880
|
if (stopText) {
|
|
881
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
881
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-BV2NiRit.js");
|
|
882
882
|
if (isAbortRequestText(stopText)) {
|
|
883
|
-
const { loadConfig: loadCfg } = await import("./config-
|
|
884
|
-
const { resolveAgentRoute } = await import("./resolve-route-
|
|
883
|
+
const { loadConfig: loadCfg } = await import("./config-BzPMtEKA.js").then((n) => n.t);
|
|
884
|
+
const { resolveAgentRoute } = await import("./resolve-route-C5mAwY-o.js").then((n) => n.r);
|
|
885
885
|
const freshCfg = loadCfg();
|
|
886
886
|
const route = resolveAgentRoute({
|
|
887
887
|
cfg: freshCfg,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { r as loadConfig } from "./config-
|
|
2
|
-
import { q as resolvePreferredIdleHandsTmpDir, t as CONFIG_DIR } from "./utils-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { B as isNotFoundPathError, V as isPathInside } from "./agent-scope-
|
|
5
|
-
import { i as isErrno } from "./errors-
|
|
6
|
-
import { n as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-
|
|
1
|
+
import { r as loadConfig } from "./config-BzPMtEKA.js";
|
|
2
|
+
import { q as resolvePreferredIdleHandsTmpDir, t as CONFIG_DIR } from "./utils-dP-FpIgu.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-lJo9gqAK.js";
|
|
4
|
+
import { B as isNotFoundPathError, V as isPathInside } from "./agent-scope-CU41EMlR.js";
|
|
5
|
+
import { i as isErrno } from "./errors-UqLewZJL.js";
|
|
6
|
+
import { n as openFileWithinRoot, t as SafeOpenError } from "./fs-safe-CCXTOK7j.js";
|
|
7
7
|
import { l as isLoopbackIpAddress, s as resolvePinnedHostnameWithPolicy } from "./ssrf-C3kIyB5u.js";
|
|
8
8
|
import fs from "node:fs";
|
|
9
9
|
import path from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { p as normalizeAccountId } from "./session-key-47BV2tLd.js";
|
|
3
|
-
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-
|
|
3
|
+
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-DiMXmQeQ.js";
|
|
4
4
|
import { t as resolveAccountEntry } from "./account-lookup-DlMshWZ_.js";
|
|
5
5
|
|
|
6
6
|
//#region src/markdown/fences.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Qt as resolveConfiguredModelRef, Rn as DEFAULT_MODEL, zn as DEFAULT_PROVIDER } from "./config-
|
|
3
|
-
import { C as isPlainObject, o as escapeRegExp } from "./utils-
|
|
4
|
-
import { u as getActivePluginRegistry } from "./subsystem-
|
|
5
|
-
import { n as listChannelDocks } from "./dock-
|
|
6
|
-
import { r as normalizeChannelId } from "./plugins-
|
|
2
|
+
import { Qt as resolveConfiguredModelRef, Rn as DEFAULT_MODEL, zn as DEFAULT_PROVIDER } from "./config-BzPMtEKA.js";
|
|
3
|
+
import { C as isPlainObject, o as escapeRegExp } from "./utils-dP-FpIgu.js";
|
|
4
|
+
import { u as getActivePluginRegistry } from "./subsystem-lJo9gqAK.js";
|
|
5
|
+
import { n as listChannelDocks } from "./dock-CMURqoee.js";
|
|
6
|
+
import { r as normalizeChannelId } from "./plugins-DRPlVBr_.js";
|
|
7
7
|
import { r as listThinkingLevels } from "./thinking-g4Rrlwu4.js";
|
|
8
8
|
|
|
9
9
|
//#region src/config/commands.ts
|
|
@@ -2,13 +2,13 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { h as isBlockedObjectKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-47BV2tLd.js";
|
|
3
3
|
import { a as resolveConfigPathCandidate, c as resolveIsNixMode, d as resolveStateDir, f as expandHomePrefix, i as resolveConfigPath, l as resolveOAuthDir, m as resolveRequiredHomeDir, n as STATE_DIR, o as resolveDefaultConfigCandidates, r as resolveCanonicalConfigPath, s as resolveGatewayPort, t as DEFAULT_GATEWAY_PORT, u as resolveOAuthPath } from "./paths-CtGV5i8O.js";
|
|
4
4
|
import { a as saveJsonFile, i as loadJsonFile, r as resolveCopilotApiToken, t as DEFAULT_COPILOT_API_BASE_URL } from "./github-copilot-token-CY2euW0d.js";
|
|
5
|
-
import { C as isPlainObject$2, c as isRecord$3, h as resolveUserPath, p as resolveConfigDir } from "./utils-
|
|
6
|
-
import { l as normalizeChatChannelId, r as CHANNEL_IDS, t as createSubsystemLogger } from "./subsystem-
|
|
7
|
-
import { t as isTruthyEnvValue } from "./env-
|
|
8
|
-
import { D as runExec, F as openBoundaryFileSync, G as resolveAgentModelPrimaryValue, K as toAgentModelListLike, N as canUseBoundaryFileOpen, V as isPathInside$2, a as resolveAgentEffectiveModelPrimary, c as resolveDefaultAgentId, r as resolveAgentConfig, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
5
|
+
import { C as isPlainObject$2, c as isRecord$3, h as resolveUserPath, p as resolveConfigDir } from "./utils-dP-FpIgu.js";
|
|
6
|
+
import { l as normalizeChatChannelId, r as CHANNEL_IDS, t as createSubsystemLogger } from "./subsystem-lJo9gqAK.js";
|
|
7
|
+
import { t as isTruthyEnvValue } from "./env-qurSiOO2.js";
|
|
8
|
+
import { D as runExec, F as openBoundaryFileSync, G as resolveAgentModelPrimaryValue, K as toAgentModelListLike, N as canUseBoundaryFileOpen, V as isPathInside$2, a as resolveAgentEffectiveModelPrimary, c as resolveDefaultAgentId, r as resolveAgentConfig, s as resolveAgentWorkspaceDir } from "./agent-scope-CU41EMlR.js";
|
|
9
9
|
import { t as formatCliCommand } from "./command-format-DRnDl0ar.js";
|
|
10
10
|
import { t as runTasksWithConcurrency } from "./run-with-concurrency-DgAhR-xE.js";
|
|
11
|
-
import { F as TOOLS_BY_SENDER_KEY_TYPES, I as parseToolsBySenderTypedKey } from "./dock-
|
|
11
|
+
import { F as TOOLS_BY_SENDER_KEY_TYPES, I as parseToolsBySenderTypedKey } from "./dock-CMURqoee.js";
|
|
12
12
|
import { createRequire } from "node:module";
|
|
13
13
|
import fs from "node:fs";
|
|
14
14
|
import path from "node:path";
|
|
@@ -16,7 +16,7 @@ import os from "node:os";
|
|
|
16
16
|
import fs$1 from "node:fs/promises";
|
|
17
17
|
import crypto, { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
18
18
|
import { isDeepStrictEqual } from "node:util";
|
|
19
|
-
import
|
|
19
|
+
import JSON5 from "json5";
|
|
20
20
|
import dotenv from "dotenv";
|
|
21
21
|
import { execFileSync, execSync, spawn } from "node:child_process";
|
|
22
22
|
import { fileURLToPath } from "node:url";
|
|
@@ -6444,7 +6444,7 @@ const defaultResolver = {
|
|
|
6444
6444
|
resolvedPath,
|
|
6445
6445
|
rootRealDir
|
|
6446
6446
|
}),
|
|
6447
|
-
parseJson: (raw) =>
|
|
6447
|
+
parseJson: (raw) => JSON5.parse(raw)
|
|
6448
6448
|
};
|
|
6449
6449
|
/**
|
|
6450
6450
|
* Resolves all $include directives in a parsed config object.
|
|
@@ -14748,7 +14748,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
14748
14748
|
function normalizeDeps(overrides = {}) {
|
|
14749
14749
|
return {
|
|
14750
14750
|
fs: overrides.fs ?? fs,
|
|
14751
|
-
json5: overrides.json5 ??
|
|
14751
|
+
json5: overrides.json5 ?? JSON5,
|
|
14752
14752
|
env: overrides.env ?? process.env,
|
|
14753
14753
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
14754
14754
|
configPath: overrides.configPath ?? "",
|
|
@@ -14759,11 +14759,11 @@ function maybeLoadDotEnvForConfig(env) {
|
|
|
14759
14759
|
if (env !== process.env) return;
|
|
14760
14760
|
loadDotEnv({ quiet: true });
|
|
14761
14761
|
}
|
|
14762
|
-
function parseConfigJson5(raw, json5
|
|
14762
|
+
function parseConfigJson5(raw, json5 = JSON5) {
|
|
14763
14763
|
try {
|
|
14764
14764
|
return {
|
|
14765
14765
|
ok: true,
|
|
14766
|
-
parsed: json5
|
|
14766
|
+
parsed: json5.parse(raw)
|
|
14767
14767
|
};
|
|
14768
14768
|
} catch (err) {
|
|
14769
14769
|
return {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { m as normalizeOptionalAccountId, p as normalizeAccountId } from "./session-key-47BV2tLd.js";
|
|
3
3
|
import { d as resolveStateDir } from "./paths-CtGV5i8O.js";
|
|
4
|
-
import { S as triggerInternalHook, t as createSubsystemLogger, u as getActivePluginRegistry, x as createInternalHookEvent } from "./subsystem-
|
|
5
|
-
import { t as getChannelDock } from "./dock-
|
|
6
|
-
import { E as parseInlineDirectives, a as resolveMirroredTranscriptText, i as appendAssistantMessageToSessionTranscript } from "./sessions-
|
|
7
|
-
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-
|
|
8
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
9
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph, p as parseFenceSpans } from "./chunk-
|
|
10
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
11
|
-
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-
|
|
12
|
-
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-
|
|
4
|
+
import { S as triggerInternalHook, t as createSubsystemLogger, u as getActivePluginRegistry, x as createInternalHookEvent } from "./subsystem-lJo9gqAK.js";
|
|
5
|
+
import { t as getChannelDock } from "./dock-CMURqoee.js";
|
|
6
|
+
import { E as parseInlineDirectives, a as resolveMirroredTranscriptText, i as appendAssistantMessageToSessionTranscript } from "./sessions-CQ5iD4Uq.js";
|
|
7
|
+
import { r as normalizeChannelId, t as getChannelPlugin } from "./plugins-DRPlVBr_.js";
|
|
8
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-bHCsSVt_.js";
|
|
9
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit, n as chunkByParagraph, p as parseFenceSpans } from "./chunk-DZr5xuqv.js";
|
|
10
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-DfUQHRZY.js";
|
|
11
|
+
import { i as isSilentReplyText, n as SILENT_REPLY_TOKEN } from "./tokens-CU9S3S7t.js";
|
|
12
|
+
import { i as isMessagingToolDuplicate } from "./pi-embedded-helpers-BAm9cWol.js";
|
|
13
13
|
import { n as generateSecureUuid } from "./secure-random-B2sXEOWH.js";
|
|
14
|
-
import { a as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-
|
|
14
|
+
import { a as markdownToSignalTextChunks, t as sendMessageSignal } from "./send-CaPoBwby.js";
|
|
15
15
|
import fs from "node:fs";
|
|
16
16
|
import path from "node:path";
|
|
17
17
|
|
|
@@ -18,27 +18,27 @@ var deps_exports = /* @__PURE__ */ __exportAll({ createDefaultDeps: () => create
|
|
|
18
18
|
function createDefaultDeps() {
|
|
19
19
|
return {
|
|
20
20
|
sendMessageWhatsApp: async (...args) => {
|
|
21
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
21
|
+
const { sendMessageWhatsApp } = await import("./web-B-hYOnMb.js");
|
|
22
22
|
return await sendMessageWhatsApp(...args);
|
|
23
23
|
},
|
|
24
24
|
sendMessageTelegram: async (...args) => {
|
|
25
|
-
const { sendMessageTelegram } = await import("./send-
|
|
25
|
+
const { sendMessageTelegram } = await import("./send-CPeuqOlq.js").then((n) => n.l);
|
|
26
26
|
return await sendMessageTelegram(...args);
|
|
27
27
|
},
|
|
28
28
|
sendMessageDiscord: async (...args) => {
|
|
29
|
-
const { sendMessageDiscord } = await import("./send-
|
|
29
|
+
const { sendMessageDiscord } = await import("./send-BBD-m-nM.js").then((n) => n.t);
|
|
30
30
|
return await sendMessageDiscord(...args);
|
|
31
31
|
},
|
|
32
32
|
sendMessageSlack: async (...args) => {
|
|
33
|
-
const { sendMessageSlack } = await import("./send-
|
|
33
|
+
const { sendMessageSlack } = await import("./send-A4Lv5nrg.js").then((n) => n.n);
|
|
34
34
|
return await sendMessageSlack(...args);
|
|
35
35
|
},
|
|
36
36
|
sendMessageSignal: async (...args) => {
|
|
37
|
-
const { sendMessageSignal } = await import("./send-
|
|
37
|
+
const { sendMessageSignal } = await import("./send-CaPoBwby.js").then((n) => n.i);
|
|
38
38
|
return await sendMessageSignal(...args);
|
|
39
39
|
},
|
|
40
40
|
sendMessageIMessage: async (...args) => {
|
|
41
|
-
const { sendMessageIMessage } = await import("./send-
|
|
41
|
+
const { sendMessageIMessage } = await import("./send-SsqudCMv.js").then((n) => n.n);
|
|
42
42
|
return await sendMessageIMessage(...args);
|
|
43
43
|
}
|
|
44
44
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-lJo9gqAK.js";
|
|
3
3
|
import { i as pruneDiagnosticSessionStates, r as getDiagnosticSessionState, t as diagnosticSessionStates } from "./diagnostic-session-state-Br7SziNV.js";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/diagnostic-events.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { p as normalizeAccountId } from "./session-key-47BV2tLd.js";
|
|
2
|
-
import { i as resolveWhatsAppAccount } from "./accounts-
|
|
3
|
-
import { d as normalizeE164, o as escapeRegExp } from "./utils-
|
|
4
|
-
import { a as getChatChannelMeta, f as requireActivePluginRegistry, i as CHAT_CHANNEL_ORDER } from "./subsystem-
|
|
2
|
+
import { i as resolveWhatsAppAccount } from "./accounts-Kt6ygPsC.js";
|
|
3
|
+
import { d as normalizeE164, o as escapeRegExp } from "./utils-dP-FpIgu.js";
|
|
4
|
+
import { a as getChatChannelMeta, f as requireActivePluginRegistry, i as CHAT_CHANNEL_ORDER } from "./subsystem-lJo9gqAK.js";
|
|
5
5
|
import { t as resolveAccountEntry } from "./account-lookup-DlMshWZ_.js";
|
|
6
|
-
import { B as resolveDiscordAccount, D as resolveTelegramAccount, M as resolveSlackAccount, N as resolveSlackReplyToMode, S as normalizeWhatsAppTarget } from "./plugins-
|
|
7
|
-
import { r as resolveIMessageAccount } from "./accounts-
|
|
8
|
-
import { i as resolveSignalAccount } from "./accounts-
|
|
6
|
+
import { B as resolveDiscordAccount, D as resolveTelegramAccount, M as resolveSlackAccount, N as resolveSlackReplyToMode, S as normalizeWhatsAppTarget } from "./plugins-DRPlVBr_.js";
|
|
7
|
+
import { r as resolveIMessageAccount } from "./accounts-B9nfRzyn.js";
|
|
8
|
+
import { i as resolveSignalAccount } from "./accounts-mjFAny5F.js";
|
|
9
9
|
|
|
10
10
|
//#region src/config/types.tools.ts
|
|
11
11
|
const TOOLS_BY_SENDER_KEY_TYPES = [
|