@visorcraft/idlehands 4.4.0 → 4.4.2
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-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-DvLTdMBj.js → agent-via-gateway-B82avysM.js} +1 -1
- package/dist/{agent-via-gateway-CPvgY5VA.js → agent-via-gateway-BLv_oSL5.js} +1 -1
- package/dist/{agent-via-gateway-OzQZlQpB.js → agent-via-gateway-BZBYIS74.js} +2 -2
- package/dist/{agent-via-gateway-CTti0dK7.js → agent-via-gateway-spHKNacF.js} +60 -60
- package/dist/{agents-BEuHL8Zr.js → agents-DFsifqti.js} +4 -4
- package/dist/{agents.config-BjMP6yqX.js → agents.config-B-HneNqt.js} +1 -1
- package/dist/{agents.config-BDQ4Bu0B.js → agents.config-LJG8mKGJ.js} +1 -1
- package/dist/{anton-Dwp3KlQs.js → anton-BHVfJEmp.js} +1 -1
- package/dist/{anton-C8SARtai.js → anton-CH-O1fKX.js} +5 -5
- package/dist/{anton-DCJl8crN.js → anton-DDY9C7_9.js} +1 -1
- package/dist/{anton-F-OwKPyb.js → anton-DYkdgFjS.js} +1 -1
- package/dist/{audio-preflight-DdYPJah_.js → audio-preflight-CwOVlM_o.js} +35 -35
- package/dist/{auth-choice-BHISFUGz.js → auth-choice-BwuBROMy.js} +1 -1
- package/dist/{auth-choice-Dam79K-y.js → auth-choice-tTRqUPHJ.js} +1 -1
- package/dist/{auth-store-DXT-l7fO.js → auth-store-Bb4aajHu.js} +12 -12
- package/dist/{banner-ascZEgmt.js → banner-DUYqUnZh.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-CAfv1NVr.js → channel-options-DgE4bKnZ.js} +1 -1
- package/dist/{channel-options-BdjtX9_O.js → channel-options-w859WR9f.js} +1 -1
- package/dist/{channel-web-BZe8v7Di.js → channel-web-6DakWPLw.js} +2 -2
- package/dist/{channel-web-B23k1s4A.js → channel-web-DRFHkK-t.js} +2 -2
- package/dist/{channels-cli-v8qMY1yM.js → channels-cli-3a9CzVGj.js} +7 -7
- package/dist/{channels-cli-Bfz9P0IR.js → channels-cli-DTM2c23f.js} +7 -7
- package/dist/{chrome-RZ6-DZcL.js → chrome-CrBtckYY.js} +17 -17
- package/dist/{chunk-CMpX7Jaz.js → chunk-Djk-9JeT.js} +1 -1
- package/dist/{cli-HkluaDt1.js → cli-BYiKVK4i.js} +2 -2
- package/dist/{cli-DyId4irC.js → cli-C7BI3Wn6.js} +2 -2
- package/dist/{command-registry-Bs5y1F2v.js → command-registry-BtbFeRGU.js} +10 -10
- package/dist/{commands-registry-C_zNi-Ou.js → commands-registry-Cy_UQS_3.js} +5 -5
- package/dist/{completion-cli-CGXtQf6t.js → completion-cli-BB2Y8nfx.js} +1 -1
- package/dist/{completion-cli-BmHAqqY4.js → completion-cli-BGz3hkuH.js} +2 -2
- package/dist/{config-cli-BdJDJv0a.js → config-cli-DOmnPiGC.js} +1 -1
- package/dist/{config-cli-CEehCZa0.js → config-cli-b1s6P-RG.js} +1 -1
- package/dist/{configure-C5087mSP.js → configure-BQsgmT59.js} +3 -3
- package/dist/{configure-C44gmCt3.js → configure-D4tLHdxZ.js} +3 -3
- package/dist/daemon-cli.js +6 -6
- package/dist/{deliver-BQeDhZSa.js → deliver-DReSDWa4.js} +20 -20
- package/dist/{deps-CchkM1ea.js → deps-1S6DoURA.js} +1 -1
- package/dist/{deps-SgroTRjf.js → deps-BZOU70bs.js} +1 -1
- package/dist/{deps-UTcCCmJ6.js → deps-D0XOoTym.js} +6 -6
- package/dist/{deps-CfQJK6WP.js → deps-D3ku734-.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-DsaJMlSu.js → doctor-completion-BfAWZyFl.js} +1 -1
- package/dist/{doctor-completion-Cgl5S3K0.js → doctor-completion-DOFXmBLZ.js} +1 -1
- package/dist/{emergency-stop-B2KUQyt8.js → emergency-stop-3LJcS7w-.js} +2 -2
- package/dist/emergency-stop-BXmSbO38.js +113 -0
- package/dist/{emergency-stop-DjURYr3Z.js → emergency-stop-DXwma2EI.js} +2 -2
- package/dist/{emergency-stop-BCRW03p2.js → emergency-stop-Dpdosd7y.js} +2 -2
- 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 +2 -2
- 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-BmwR5tHy.js → gateway-cli-B2CLa9rg.js} +9 -9
- package/dist/{gateway-cli-Cx3sGYvO.js → gateway-cli-CzXEYocw.js} +9 -9
- package/dist/{gemini-auth-DwwgHLvI.js → gemini-auth-DnP8lfQK.js} +2 -2
- package/dist/{github-copilot-token-Dgt6cnsM.js → github-copilot-token-BjmEQcmi.js} +7 -7
- package/dist/{health-DXbufVL-.js → health-C2A5ilGU.js} +1 -1
- package/dist/{health-F0lUmHT3.js → health-Dn7CVhrN.js} +1 -1
- package/dist/{hooks-cli-6t3DpWin.js → hooks-cli-BxGuMBUi.js} +3 -3
- package/dist/{hooks-cli-CsWYWkar.js → hooks-cli-CT8pLj_8.js} +3 -3
- package/dist/{image-4HTajysw.js → image-DBhgEUm0.js} +6 -6
- package/dist/{image-ops-D1KtygWz.js → image-ops-J8P5zOFm.js} +1 -1
- package/dist/index.js +7 -7
- package/dist/{ir-B7IBoKLy.js → ir-BT5aAdU9.js} +5 -5
- package/dist/llm-slug-generator.js +60 -60
- package/dist/{local-roots-KN4Hp1yZ.js → local-roots-d4y0lvs2.js} +5 -5
- package/dist/{login-B8EuUm6R.js → login-CtL3gtbh.js} +6 -6
- package/dist/{login-qr-DS_9MrMo.js → login-qr-D090cMcd.js} +11 -11
- package/dist/{manager-CaFxh6F8.js → manager-1TS0xG0C.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-D5g8tXIY.js → model-selection-C5BhfuPa.js} +41 -41
- package/dist/{models-awPyoUpk.js → models-CGtrW3AC.js} +2 -2
- package/dist/{models-cli-D_PfTekq.js → models-cli-0TPj_c8R.js} +4 -4
- package/dist/{models-cli-CsA9GN5G.js → models-cli-BvUKtS_w.js} +3 -3
- package/dist/{npm-resolution-BKPKKKLt.js → npm-resolution-Anabxb6_.js} +1 -1
- package/dist/{npm-resolution-BpQ2o-Eh.js → npm-resolution-Ox7X74-Z.js} +1 -1
- package/dist/{onboard-C9KRYbrH.js → onboard-B3m0Seri.js} +2 -2
- package/dist/{onboard-BiT3YReS.js → onboard-DsqTjPex.js} +2 -2
- package/dist/{onboard-channels-C6b-o1TK.js → onboard-channels-14qYfbpr.js} +1 -1
- package/dist/{onboard-channels-_XLjSBKm.js → onboard-channels-DFXKCp3G.js} +1 -1
- package/dist/{onboarding-BfAhtIYl.js → onboarding-BJYyNWSX.js} +3 -3
- package/dist/{onboarding-By12Oyni.js → onboarding-nIZFJ6yX.js} +3 -3
- package/dist/{onboarding.finalize-yL217Gdr.js → onboarding.finalize-B1qxBzUX.js} +6 -6
- package/dist/{onboarding.finalize-CAgcobAs.js → onboarding.finalize-Bi1nDMyy.js} +7 -7
- package/dist/{outbound-Dq9yoBDJ.js → outbound-D3dHUVkO.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-BfPWx2YM.js → pi-embedded-D-vbVu50.js} +67 -37
- package/dist/{pi-embedded-helpers-DBkYJKhY.js → pi-embedded-helpers-BcRw0T_g.js} +24 -24
- package/dist/{pi-embedded-tWfE4dVB.js → pi-embedded-wUyn4Zjf.js} +235 -205
- package/dist/{pi-model-discovery-BMRRgVlz.js → pi-model-discovery-DMEzBdm5.js} +7 -7
- package/dist/{plugin-registry-ZgC7HA0z.js → plugin-registry-DHavGgu-.js} +1 -1
- package/dist/{plugin-registry-7DC8-ZZJ.js → plugin-registry-ReGTT2Qn.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-C9v2r0O2.js → agent-via-gateway-BaZViUVq.js} +55 -55
- package/dist/plugin-sdk/agents/tool-stubs.d.ts +2 -1
- package/dist/plugin-sdk/{anton-7I_gkw4v.js → anton-y9DWQk_X.js} +4 -4
- package/dist/plugin-sdk/{api-key-rotation-BUIqfXnG.js → api-key-rotation-DPA6ftN7.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-URcQAxhH.js → audio-preflight-DL4zZ6SH.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-B7qyJbrs.js → channel-web-CLQ55z3e.js} +24 -24
- package/dist/plugin-sdk/{chrome-CPVAOm0b.js → chrome-CaJve-Gp.js} +6 -6
- package/dist/plugin-sdk/{chunk-PW4MBmaN.js → chunk-DZr5xuqv.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-DQCQbF8W.js → commands-registry-DWTMC5Bl.js} +5 -5
- package/dist/plugin-sdk/{config-04otsq-i.js → config-DXRuYZaI.js} +10 -10
- package/dist/plugin-sdk/{deliver-DfopPK17.js → deliver-DbtR2D87.js} +10 -10
- package/dist/plugin-sdk/{deps-Gj9jRY77.js → deps-DNbYvt5g.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-B7_VgSkO.js → emergency-stop-DQXrdDYX.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-B-gM6mxU.js → image-D-9PH0zg.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/plugin-sdk/{ir-kdDGpPMq.js → ir-Bv0Zbp2E.js} +5 -5
- package/dist/plugin-sdk/{local-roots-DjB6DYeI.js → local-roots-bHCsSVt_.js} +4 -4
- package/dist/plugin-sdk/{login-Bpe2s20d.js → login-B8HpBurd.js} +6 -6
- package/dist/plugin-sdk/{login-qr-C9ndp3tg.js → login-qr-DQnS-xlm.js} +8 -8
- package/dist/plugin-sdk/{manager-CBBlTnh3.js → manager-CKed0ZZE.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-D6g6crrp.js → outbound-DNK06gip.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-D48bhP-9.js → pi-embedded-helpers-BoeRlyoL.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-DCBTaRzI.js → pi-model-discovery-BLPN0Tzs.js} +1 -1
- package/dist/plugin-sdk/{plugins-NTjIvHYk.js → plugins-DRPlVBr_.js} +5 -5
- package/dist/plugin-sdk/{pw-ai-YGZXROMl.js → pw-ai-V3n0xLn-.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-DXdzWcMN.js → replies-CzsaFa8u.js} +3 -3
- package/dist/plugin-sdk/{reply-nvcQV3Q_.js → reply-DWcAkFIT.js} +151 -121
- 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/{retry-BeB9WenR.js → plugin-sdk/retry-2OVzZJMZ.js} +1 -1
- package/dist/plugin-sdk/{runner-C2xaoYAR.js → runner-C_iZbSwz.js} +10 -10
- package/dist/plugin-sdk/{send-CKQ89Lq9.js → send-BUYJmPie.js} +6 -6
- package/dist/plugin-sdk/{send-CFkuTXvq.js → send-BsxSmaWa.js} +7 -7
- package/dist/plugin-sdk/{send-BgTqMJLI.js → send-CBYbDScb.js} +10 -10
- package/dist/plugin-sdk/{send-dmYAtUT5.js → send-D-cZm1Y5.js} +7 -7
- package/dist/plugin-sdk/{send-CRhcec-_.js → send-Dt8bXHE8.js} +13 -13
- package/dist/plugin-sdk/{session-OpE6SSAs.js → session-C9uqVmuk.js} +3 -3
- package/dist/plugin-sdk/{sessions-CG-k8Acv.js → sessions-B4ApxPY1.js} +6 -6
- package/dist/plugin-sdk/{skill-commands-BHBpmuX9.js → skill-commands-B8suoqwn.js} +5 -5
- package/dist/plugin-sdk/{skills-33Wy6_4b.js → skills-Dl2nq6QI.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-CNw6-P_B.js +71 -0
- package/dist/plugin-sdk/{whatsapp-actions-Cp6vXAA8.js → whatsapp-actions-CEAXpexT.js} +23 -23
- package/dist/{plugins-CRB60mCJ.js → plugins-DYr-HHj0.js} +10 -10
- package/dist/{plugins-cli-DACLE21S.js → plugins-cli-C13WMPnF.js} +3 -3
- package/dist/{plugins-cli-kePQvJ9L.js → plugins-cli-CO4FVaiO.js} +3 -3
- package/dist/{program-VV9u5uPU.js → program-B_vfCOU2.js} +8 -8
- package/dist/{program-context-j94K3IXR.js → program-context-BmSQ_Sf4.js} +18 -18
- package/dist/{prompt-select-styled-BSqCn36X.js → prompt-select-styled-B5ZwrfX0.js} +4 -4
- package/dist/{prompt-select-styled-BH51ROGD.js → prompt-select-styled-BC7OSZ1q.js} +4 -4
- package/dist/{provider-auth-helpers-BAB3PaaB.js → provider-auth-helpers-CDu8gosd.js} +1 -1
- package/dist/{provider-auth-helpers-DMSF8Mhq.js → provider-auth-helpers-D0A6E5jr.js} +1 -1
- package/dist/{push-apns-Cou7KeCj.js → push-apns-BofP21zS.js} +1 -1
- package/dist/{push-apns-CGUwMKT-.js → push-apns-Dc8RVDXC.js} +1 -1
- package/dist/{pw-ai-5GRjEp4v.js → pw-ai-D3GtQQoU.js} +13 -13
- 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-YCGBKv-d.js → register.agent-CMlS5uBQ.js} +9 -9
- package/dist/{register.agent-ColbJEk3.js → register.agent-CV7M3tu9.js} +8 -8
- package/dist/{register.configure-C5g7670Q.js → register.configure-BnNziB2G.js} +8 -8
- package/dist/{register.configure-CfUo6nvs.js → register.configure-CMB0aDJp.js} +8 -8
- package/dist/{register.maintenance-53FGiO0K.js → register.maintenance-BdWGNtkz.js} +8 -8
- package/dist/{register.maintenance-CBNoQia-.js → register.maintenance-X6asZwHw.js} +9 -9
- package/dist/{register.message-0nKlUSrH.js → register.message-BuggdGjG.js} +3 -3
- package/dist/{register.message-CaFp4DAP.js → register.message-DnOPNIGk.js} +3 -3
- package/dist/{register.onboard-B3NgvEwe.js → register.onboard-BDhpm8TD.js} +2 -2
- package/dist/{register.onboard-B9IJ3wUe.js → register.onboard-CHHu9Skd.js} +2 -2
- package/dist/{register.orchestrator-anton-Cxnh52UP.js → register.orchestrator-anton-B-tuZR0z.js} +2 -2
- package/dist/{register.orchestrator-anton-HIi6nBvo.js → register.orchestrator-anton-SlFmmH1n.js} +2 -2
- package/dist/{register.setup-y7C2w79N.js → register.setup-A8U_6S1I.js} +2 -2
- package/dist/{register.setup-DyxAeyO2.js → register.setup-D7mmwdPD.js} +2 -2
- package/dist/{register.status-health-sessions-5wREP3Tq.js → register.status-health-sessions-DVocz8ib.js} +4 -4
- package/dist/{register.status-health-sessions-DbzCxLhd.js → register.status-health-sessions-haba-O-6.js} +4 -4
- package/dist/{register.subclis-BEDdoF6M.js → register.subclis-B-zDlWeV.js} +9 -9
- package/dist/{replies-uBXwI7WM.js → replies-BxRl_2Nq.js} +3 -3
- package/dist/{reply-vDM22Gez.js → reply-7AXQ38dZ.js} +67 -37
- 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/{plugin-sdk/retry-Bh7jveNm.js → retry-CG6cMRDQ.js} +1 -1
- package/dist/{run-main-BKjpcqq8.js → run-main-Cy6gYOh3.js} +15 -15
- package/dist/{runner-Cy6GWdoL.js → runner-BZBK277H.js} +11 -11
- package/dist/{send-Ce_lAnef.js → send-B7Fzlmlo.js} +7 -7
- package/dist/{send-BskvGZej.js → send-BGyVbnFP.js} +7 -7
- package/dist/{send-DvjrOg1z.js → send-DcN-QeVO.js} +6 -6
- package/dist/{send-rp8dzIy4.js → send-n1vT5TEb.js} +24 -24
- package/dist/{send-C4z2HAbE.js → send-qNmymshG.js} +10 -10
- package/dist/{server-node-events-B7IQ1nzZ.js → server-node-events-ChBhFPg3.js} +3 -3
- package/dist/{server-node-events-CraqSZJR.js → server-node-events-Dbr2WR-0.js} +3 -3
- package/dist/{session-BbwP0jac.js → session-BMqBZ_fq.js} +7 -7
- package/dist/{sessions-DA2oWrdb.js → sessions-BA3_G98W.js} +41 -41
- package/dist/{skill-commands-AySApC-2.js → skill-commands-DnTjl_m1.js} +9 -9
- package/dist/{skills-B3wf7ZnA.js → skills-DRGt1G_o.js} +22 -22
- package/dist/{status-ZUnD4Pgf.js → status-BompBfRg.js} +2 -2
- package/dist/{status-D9fTji6b.js → status-Cy7Zcfzv.js} +2 -2
- package/dist/{store-CvMgrKWx.js → store-D-ZicQeo.js} +2 -2
- package/dist/{subagent-registry-l7V3IoLe.js → subagent-registry-DDIoRVFV.js} +67 -37
- 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-CMn89gww.js → update-cli-1s_O26hF.js} +8 -8
- package/dist/{update-cli-D02DhEE9.js → update-cli-DywvLvxF.js} +9 -9
- package/dist/{update-runner-C44em-38.js → update-runner-2yf_p333.js} +1 -1
- package/dist/{update-runner-BSsZSlwa.js → update-runner-DfTjwukX.js} +1 -1
- package/dist/{utils-CTFLl_ji.js → utils-D9wGoiU9.js} +18 -18
- package/dist/{web-CiVRDtta.js → web-59hB8x7z.js} +3 -3
- package/dist/{web-DLIXLq_L.js → web-C4vEw_Lp.js} +3 -3
- package/dist/{web-Dkl33QN0.js → web-DxQjSHSJ.js} +66 -66
- package/dist/{web-bCfwH31U.js → web-WBETd448.js} +3 -3
- package/dist/{whatsapp-actions-C_BWc4tJ.js → whatsapp-actions-DmI59VQd.js} +25 -25
- package/dist/{workspace-DBFSzT6O.js → workspace-tAtkoD_r.js} +18 -18
- package/package.json +1 -1
- package/dist/emergency-stop-CjVqAFw-.js +0 -113
- package/dist/plugin-sdk/web-BzOC1x6m.js +0 -71
|
@@ -109,7 +109,7 @@ import { a as resolveSubagentToolPolicy, c as readStoreAllowFromForDmPolicy, d a
|
|
|
109
109
|
import { t as makeProxyFetch } from "./proxy-GJkoUC6V.js";
|
|
110
110
|
import { n as isDangerousNameMatchingEnabled } from "./dangerous-name-matching-DhuP2lHs.js";
|
|
111
111
|
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-CmTF3tWU.js";
|
|
112
|
-
import { i as createOutboundSendDepsFromCliSource, t as createDefaultDeps } from "./deps-
|
|
112
|
+
import { i as createOutboundSendDepsFromCliSource, t as createDefaultDeps } from "./deps-D3ku734-.js";
|
|
113
113
|
import { r as detectBinary } from "./onboard-helpers-_Uk9P3FF.js";
|
|
114
114
|
import { t as resolvePairingIdLabel } from "./pairing-labels-CLdV_RlM.js";
|
|
115
115
|
import { createRequire } from "node:module";
|
|
@@ -16870,7 +16870,7 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
16870
16870
|
};
|
|
16871
16871
|
const arg = body.slice(6).trim();
|
|
16872
16872
|
if (arg === "status" || arg === "") {
|
|
16873
|
-
const { antonStatus } = await import("./anton-
|
|
16873
|
+
const { antonStatus } = await import("./anton-DYkdgFjS.js").then((n) => n.r);
|
|
16874
16874
|
const lines = [];
|
|
16875
16875
|
await antonStatus({
|
|
16876
16876
|
log: (msg) => lines.push(msg),
|
|
@@ -16886,7 +16886,7 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
16886
16886
|
return { shouldContinue: false };
|
|
16887
16887
|
}
|
|
16888
16888
|
if (arg === "stop") {
|
|
16889
|
-
const { antonStop } = await import("./anton-
|
|
16889
|
+
const { antonStop } = await import("./anton-DYkdgFjS.js").then((n) => n.r);
|
|
16890
16890
|
const lines = [];
|
|
16891
16891
|
await antonStop({
|
|
16892
16892
|
log: (msg) => lines.push(msg),
|
|
@@ -16924,8 +16924,8 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
16924
16924
|
await sendProgress(replyCtx, text);
|
|
16925
16925
|
return { shouldContinue: false };
|
|
16926
16926
|
}
|
|
16927
|
-
const { runAnton, formatProgressMessage } = await import("./anton-
|
|
16928
|
-
const { createDefaultDeps } = await import("./deps-
|
|
16927
|
+
const { runAnton, formatProgressMessage } = await import("./anton-DYkdgFjS.js").then((n) => n.r);
|
|
16928
|
+
const { createDefaultDeps } = await import("./deps-D3ku734-.js").then((n) => n.r);
|
|
16929
16929
|
const { createNonExitingRuntime } = await import("./runtime-CgcH_FLo.js").then((n) => n.r);
|
|
16930
16930
|
const runtime = createNonExitingRuntime();
|
|
16931
16931
|
const deps = createDefaultDeps();
|
|
@@ -49595,7 +49595,7 @@ function createDiscordMessageHandler(params) {
|
|
|
49595
49595
|
try {
|
|
49596
49596
|
const messageText = resolveDiscordMessageText(data.message)?.trim();
|
|
49597
49597
|
if (messageText) {
|
|
49598
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
49598
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-Dpdosd7y.js");
|
|
49599
49599
|
if (isAbortRequestText(messageText)) {
|
|
49600
49600
|
const { resolveAgentRoute } = await import("./resolve-route-VUTvr63H.js").then((n) => n.r);
|
|
49601
49601
|
const channelId = resolveDiscordMessageChannelId({
|
|
@@ -57068,7 +57068,7 @@ async function monitorIMessageProvider(opts = {}) {
|
|
|
57068
57068
|
}
|
|
57069
57069
|
const msgText = (message.text ?? "").trim();
|
|
57070
57070
|
if (msgText) {
|
|
57071
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
57071
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-Dpdosd7y.js");
|
|
57072
57072
|
if (isAbortRequestText(msgText)) {
|
|
57073
57073
|
const { resolveAgentRoute } = await import("./resolve-route-VUTvr63H.js").then((n) => n.r);
|
|
57074
57074
|
const route = resolveAgentRoute({
|
|
@@ -59673,7 +59673,7 @@ function createSignalEventHandler(deps) {
|
|
|
59673
59673
|
const senderName = envelope.sourceName ?? senderDisplay;
|
|
59674
59674
|
const messageId = typeof envelope.timestamp === "number" ? String(envelope.timestamp) : void 0;
|
|
59675
59675
|
if (bodyText) {
|
|
59676
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
59676
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-Dpdosd7y.js");
|
|
59677
59677
|
if (isAbortRequestText(bodyText)) {
|
|
59678
59678
|
const { resolveAgentRoute } = await import("./resolve-route-VUTvr63H.js").then((n) => n.r);
|
|
59679
59679
|
const route = resolveAgentRoute({
|
|
@@ -63062,7 +63062,7 @@ function createSlackMessageHandler(params) {
|
|
|
63062
63062
|
if (ctx.markMessageSeen(message.channel, message.ts)) return;
|
|
63063
63063
|
const rawText = (message.text ?? "").trim();
|
|
63064
63064
|
if (rawText) {
|
|
63065
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
63065
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-Dpdosd7y.js");
|
|
63066
63066
|
if (isAbortRequestText(rawText)) {
|
|
63067
63067
|
const { resolveAgentRoute } = await import("./resolve-route-VUTvr63H.js").then((n) => n.r);
|
|
63068
63068
|
const route = resolveAgentRoute({
|
|
@@ -65256,7 +65256,7 @@ const registerTelegramHandlers = ({ cfg, accountId, bot, opts, runtime, mediaMax
|
|
|
65256
65256
|
const { ctx, msg, chatId, resolvedThreadId, storeAllowFrom, sendOversizeWarning, oversizeLogMessage } = params;
|
|
65257
65257
|
const text = typeof msg.text === "string" ? msg.text : void 0;
|
|
65258
65258
|
if (text) {
|
|
65259
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
65259
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-Dpdosd7y.js");
|
|
65260
65260
|
if (isAbortRequestText(text)) {
|
|
65261
65261
|
const senderId = msg.from?.id ? String(msg.from.id) : "";
|
|
65262
65262
|
if (!senderId || !allowFrom?.length || allowFrom.includes(senderId)) {
|
|
@@ -68750,7 +68750,7 @@ function loadWebLoginQr() {
|
|
|
68750
68750
|
return webLoginQrPromise;
|
|
68751
68751
|
}
|
|
68752
68752
|
function loadWebChannel() {
|
|
68753
|
-
webChannelPromise ??= import("./web-
|
|
68753
|
+
webChannelPromise ??= import("./web-WBETd448.js");
|
|
68754
68754
|
return webChannelPromise;
|
|
68755
68755
|
}
|
|
68756
68756
|
function loadWhatsAppActions() {
|
|
@@ -75512,6 +75512,20 @@ function resolveSilentReplyFallbackText(params) {
|
|
|
75512
75512
|
if (!fallback) return params.text;
|
|
75513
75513
|
return fallback;
|
|
75514
75514
|
}
|
|
75515
|
+
function hasAssistantToolCallBlock(message) {
|
|
75516
|
+
const content = message.content;
|
|
75517
|
+
if (!Array.isArray(content)) return false;
|
|
75518
|
+
return content.some((block) => {
|
|
75519
|
+
if (!block || typeof block !== "object") return false;
|
|
75520
|
+
const type = block.type;
|
|
75521
|
+
return type === "toolCall" || type === "tool_call";
|
|
75522
|
+
});
|
|
75523
|
+
}
|
|
75524
|
+
function isAssistantToolPlanningMessage(message) {
|
|
75525
|
+
const stopReason = message.stopReason;
|
|
75526
|
+
if (stopReason === "toolUse" || stopReason === "tool_use") return true;
|
|
75527
|
+
return hasAssistantToolCallBlock(message);
|
|
75528
|
+
}
|
|
75515
75529
|
function handleMessageStart(ctx, evt) {
|
|
75516
75530
|
if (evt.message?.role !== "assistant") return;
|
|
75517
75531
|
ctx.resetAssistantMessageState(ctx.state.assistantTexts.length);
|
|
@@ -75665,6 +75679,7 @@ function handleMessageEnd(ctx, evt) {
|
|
|
75665
75679
|
}),
|
|
75666
75680
|
messagingToolSentTexts: ctx.state.messagingToolSentTexts
|
|
75667
75681
|
});
|
|
75682
|
+
const suppressToolPlanningOutput = isAssistantToolPlanningMessage(assistantMessage);
|
|
75668
75683
|
const rawThinking = ctx.state.includeReasoning || ctx.state.streamReasoning ? extractAssistantThinking(assistantMessage) || extractThinkingFromTaggedText(rawText) : "";
|
|
75669
75684
|
const formattedReasoning = rawThinking ? formatReasoningMessage(rawThinking) : "";
|
|
75670
75685
|
const trimmedText = text.trim();
|
|
@@ -75682,7 +75697,7 @@ function handleMessageEnd(ctx, evt) {
|
|
|
75682
75697
|
hasMedia = Boolean(mediaUrls && mediaUrls.length > 0);
|
|
75683
75698
|
}
|
|
75684
75699
|
}
|
|
75685
|
-
if (!ctx.state.emittedAssistantUpdate && (cleanedText || hasMedia)) {
|
|
75700
|
+
if (!ctx.state.emittedAssistantUpdate && !suppressToolPlanningOutput && (cleanedText || hasMedia)) {
|
|
75686
75701
|
emitAgentEvent({
|
|
75687
75702
|
runId: ctx.params.runId,
|
|
75688
75703
|
stream: "assistant",
|
|
@@ -75705,12 +75720,12 @@ function handleMessageEnd(ctx, evt) {
|
|
|
75705
75720
|
const addedDuringMessage = ctx.state.assistantTexts.length > ctx.state.assistantTextBaseline;
|
|
75706
75721
|
const chunkerHasBuffered = ctx.blockChunker?.hasBuffered() ?? false;
|
|
75707
75722
|
ctx.finalizeAssistantTexts({
|
|
75708
|
-
text,
|
|
75723
|
+
text: suppressToolPlanningOutput ? "" : text,
|
|
75709
75724
|
addedDuringMessage,
|
|
75710
75725
|
chunkerHasBuffered
|
|
75711
75726
|
});
|
|
75712
75727
|
const onBlockReply = ctx.params.onBlockReply;
|
|
75713
|
-
const shouldEmitReasoning = Boolean(ctx.state.includeReasoning && formattedReasoning && onBlockReply && formattedReasoning !== ctx.state.lastReasoningSent);
|
|
75728
|
+
const shouldEmitReasoning = Boolean(!suppressToolPlanningOutput && ctx.state.includeReasoning && formattedReasoning && onBlockReply && formattedReasoning !== ctx.state.lastReasoningSent);
|
|
75714
75729
|
const shouldEmitReasoningBeforeAnswer = shouldEmitReasoning && ctx.state.blockReplyBreak === "message_end" && !addedDuringMessage;
|
|
75715
75730
|
const maybeEmitReasoning = () => {
|
|
75716
75731
|
if (!shouldEmitReasoning || !formattedReasoning) return;
|
|
@@ -75721,7 +75736,7 @@ function handleMessageEnd(ctx, evt) {
|
|
|
75721
75736
|
});
|
|
75722
75737
|
};
|
|
75723
75738
|
if (shouldEmitReasoningBeforeAnswer) maybeEmitReasoning();
|
|
75724
|
-
if ((ctx.state.blockReplyBreak === "message_end" || (ctx.blockChunker ? ctx.blockChunker.hasBuffered() : ctx.state.blockBuffer.length > 0)) && text && onBlockReply) {
|
|
75739
|
+
if ((ctx.state.blockReplyBreak === "message_end" || (ctx.blockChunker ? ctx.blockChunker.hasBuffered() : ctx.state.blockBuffer.length > 0)) && !suppressToolPlanningOutput && text && onBlockReply) {
|
|
75725
75740
|
if (ctx.blockChunker?.hasBuffered()) {
|
|
75726
75741
|
ctx.blockChunker.drain({
|
|
75727
75742
|
force: true,
|
|
@@ -75746,8 +75761,8 @@ function handleMessageEnd(ctx, evt) {
|
|
|
75746
75761
|
}
|
|
75747
75762
|
}
|
|
75748
75763
|
if (!shouldEmitReasoningBeforeAnswer) maybeEmitReasoning();
|
|
75749
|
-
if (ctx.state.streamReasoning && rawThinking) ctx.emitReasoningStream(rawThinking);
|
|
75750
|
-
if (ctx.state.blockReplyBreak === "text_end" && onBlockReply) {
|
|
75764
|
+
if (!suppressToolPlanningOutput && ctx.state.streamReasoning && rawThinking) ctx.emitReasoningStream(rawThinking);
|
|
75765
|
+
if (!suppressToolPlanningOutput && ctx.state.blockReplyBreak === "text_end" && onBlockReply) {
|
|
75751
75766
|
const tailResult = ctx.consumeReplyDirectives("", { final: true });
|
|
75752
75767
|
if (tailResult) {
|
|
75753
75768
|
const { text: cleanedText, mediaUrls, audioAsVoice, replyToId, replyToTag, replyToCurrent } = tailResult;
|
|
@@ -77155,36 +77170,51 @@ function extractParameterSummary(tool) {
|
|
|
77155
77170
|
/**
|
|
77156
77171
|
* Build compact tool guidance for common coding tools.
|
|
77157
77172
|
* This is optimized for local models with limited context.
|
|
77173
|
+
* @param excludeTools - Tool names to exclude (e.g., tools with full schemas)
|
|
77158
77174
|
*/
|
|
77159
|
-
function buildCompactToolGuidance() {
|
|
77160
|
-
|
|
77161
|
-
|
|
77162
|
-
|
|
77163
|
-
|
|
77164
|
-
|
|
77175
|
+
function buildCompactToolGuidance(excludeTools) {
|
|
77176
|
+
const excludeSet = new Set((excludeTools ?? []).map((name) => name.toLowerCase()));
|
|
77177
|
+
const includedTools = [
|
|
77178
|
+
{
|
|
77179
|
+
name: "exec",
|
|
77180
|
+
def: `**exec** - Run shell commands
|
|
77165
77181
|
command (required): Shell command to execute
|
|
77166
77182
|
workdir: Working directory
|
|
77167
77183
|
timeout: Timeout in seconds
|
|
77168
|
-
background: Run in background (true/false)
|
|
77169
|
-
|
|
77170
|
-
|
|
77184
|
+
background: Run in background (true/false)`
|
|
77185
|
+
},
|
|
77186
|
+
{
|
|
77187
|
+
name: "read",
|
|
77188
|
+
def: `**read** - Read file contents
|
|
77171
77189
|
path (required): File path to read
|
|
77172
77190
|
offset: Start line (1-indexed)
|
|
77173
|
-
limit: Max lines to read
|
|
77174
|
-
|
|
77175
|
-
|
|
77191
|
+
limit: Max lines to read`
|
|
77192
|
+
},
|
|
77193
|
+
{
|
|
77194
|
+
name: "write",
|
|
77195
|
+
def: `**write** - Create/overwrite files
|
|
77176
77196
|
path (required): File path to write
|
|
77177
|
-
content (required): Content to write
|
|
77178
|
-
|
|
77179
|
-
|
|
77197
|
+
content (required): Content to write`
|
|
77198
|
+
},
|
|
77199
|
+
{
|
|
77200
|
+
name: "edit",
|
|
77201
|
+
def: `**edit** - Precise text replacement
|
|
77180
77202
|
path (required): File path to edit
|
|
77181
77203
|
old_string (required): Exact text to find
|
|
77182
|
-
new_string (required): Replacement text
|
|
77183
|
-
|
|
77184
|
-
|
|
77204
|
+
new_string (required): Replacement text`
|
|
77205
|
+
},
|
|
77206
|
+
{
|
|
77207
|
+
name: "process",
|
|
77208
|
+
def: `**process** - Manage background processes
|
|
77185
77209
|
action (required): list|poll|kill|log
|
|
77186
77210
|
sessionId: Session ID for poll/kill/log
|
|
77187
|
-
timeout: Poll timeout in ms
|
|
77211
|
+
timeout: Poll timeout in ms`
|
|
77212
|
+
}
|
|
77213
|
+
].filter(({ name }) => !excludeSet.has(name)).map(({ def }) => def);
|
|
77214
|
+
if (includedTools.length === 0) return "";
|
|
77215
|
+
return `## Tools
|
|
77216
|
+
|
|
77217
|
+
${includedTools.join("\n\n")}`;
|
|
77188
77218
|
}
|
|
77189
77219
|
|
|
77190
77220
|
//#endregion
|
|
@@ -78027,7 +78057,7 @@ async function runEmbeddedAttempt(params) {
|
|
|
78027
78057
|
});
|
|
78028
78058
|
const stubModeConfig = params.config?.tools?.stubMode;
|
|
78029
78059
|
const tools = applyStubMode(toolsSanitized, stubModeConfig);
|
|
78030
|
-
const toolStubGuidance = stubModeConfig?.enabled ? stubModeConfig.guidance ?? (stubModeConfig.compactGuidance ? buildCompactToolGuidance() : generateToolStubGuidance(toolsRaw)) : void 0;
|
|
78060
|
+
const toolStubGuidance = stubModeConfig?.enabled ? stubModeConfig.guidance ?? (stubModeConfig.compactGuidance ? buildCompactToolGuidance(stubModeConfig.fullSchemaTools) : generateToolStubGuidance(toolsRaw)) : void 0;
|
|
78031
78061
|
const allowedToolNames = collectAllowedToolNames({
|
|
78032
78062
|
tools,
|
|
78033
78063
|
clientTools: params.clientTools
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as resolveNodeRequireFromMeta, D as logVerbose, E as isVerbose, G as readLoggingConfig, H as loggingState, I as getChildLogger, R as isFileLogLevelEnabled, U as levelToMinLevel, V as resolveEnvLogLevelOverride, W as normalizeLogLevel, h as resolveUserPath } from "./utils-
|
|
1
|
+
import { B as resolveNodeRequireFromMeta, D as logVerbose, E as isVerbose, G as readLoggingConfig, H as loggingState, I as getChildLogger, R as isFileLogLevelEnabled, U as levelToMinLevel, V as resolveEnvLogLevelOverride, W as normalizeLogLevel, h as resolveUserPath } from "./utils-D9wGoiU9.js";
|
|
2
2
|
import { i as clearActiveProgressLine } from "./runtime-8mi3mpYB.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import { Chalk } from "chalk";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as detectMime } from "./image-ops-
|
|
2
|
-
import { r as sanitizeToolResultImages } from "./tool-images-
|
|
1
|
+
import { c as detectMime } from "./image-ops-J8P5zOFm.js";
|
|
2
|
+
import { r as sanitizeToolResultImages } from "./tool-images-Duuqr4bN.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/tools/common.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
2
|
-
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-
|
|
1
|
+
import { t as createSubsystemLogger } from "./subsystem-D7ZepYT1.js";
|
|
2
|
+
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-J8P5zOFm.js";
|
|
3
3
|
|
|
4
4
|
//#region src/media/base64.ts
|
|
5
5
|
function estimateBase64DecodedBytes(base64) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { C as isPlainObject } from "./utils-
|
|
1
|
+
import "./paths-DQpv9a3Q.js";
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-D7ZepYT1.js";
|
|
3
|
+
import { C as isPlainObject } from "./utils-D9wGoiU9.js";
|
|
4
4
|
import "./runtime-8mi3mpYB.js";
|
|
5
5
|
import { createHash } from "node:crypto";
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { g as resolveStateDir, u as resolveGatewayPort } from "./paths-Cn44w-EB.js";
|
|
2
2
|
import { B as theme, h as pathExists } from "./utils-CXzXXV2o.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import { q as trimLogTail } from "./reply-
|
|
4
|
+
import { q as trimLogTail } from "./reply-7AXQ38dZ.js";
|
|
5
5
|
import "./agent-scope-RA0zXRpu.js";
|
|
6
6
|
import "./subsystem-CGZX2PBV.js";
|
|
7
7
|
import { n as defaultRuntime } from "./runtime-44j_X4Y6.js";
|
|
@@ -104,7 +104,7 @@ import "./resolve-route-D_AbcmD6.js";
|
|
|
104
104
|
import "./replies-Bt95GAew.js";
|
|
105
105
|
import "./skill-commands-23SP2OFQ.js";
|
|
106
106
|
import "./workspace-dirs-SsExQ3Bz.js";
|
|
107
|
-
import "./deps-
|
|
107
|
+
import "./deps-BZOU70bs.js";
|
|
108
108
|
import "./plugin-auto-enable-DyNeRjEL.js";
|
|
109
109
|
import "./channel-selection-ZxRkxpuF.js";
|
|
110
110
|
import "./outbound-attachment-Bot3bRnK.js";
|
|
@@ -119,7 +119,7 @@ import "./stagger-rQoQSWkz.js";
|
|
|
119
119
|
import { f as resolveGatewaySystemdServiceName, l as resolveGatewayLaunchAgentLabel, p as resolveGatewayWindowsTaskName } from "./constants-Z_TnY4pX.js";
|
|
120
120
|
import "./system-run-command-P86Xjnl8.js";
|
|
121
121
|
import { r as parseSemver } from "./runtime-guard-X6f4YmTM.js";
|
|
122
|
-
import "./program-context-
|
|
122
|
+
import "./program-context-BmSQ_Sf4.js";
|
|
123
123
|
import "./skills-status-qjQ8XP0h.js";
|
|
124
124
|
import { n as inheritOptionFromParent } from "./command-options-D4MmqoOd.js";
|
|
125
125
|
import "./note-69EfBEU-.js";
|
|
@@ -128,7 +128,7 @@ import "./npm-registry-spec-BCbbfIhX.js";
|
|
|
128
128
|
import "./skill-scanner-D7mzXRXd.js";
|
|
129
129
|
import "./installs-CNubze2L.js";
|
|
130
130
|
import "./channels-status-issues-CDpWjdI3.js";
|
|
131
|
-
import { r as installCompletion } from "./completion-cli-
|
|
131
|
+
import { r as installCompletion } from "./completion-cli-BB2Y8nfx.js";
|
|
132
132
|
import "./daemon-install-helpers-BZY9-jNW.js";
|
|
133
133
|
import "./systemd-CaCR5CyM.js";
|
|
134
134
|
import { t as resolveGatewayService } from "./service-C8NMS3m_.js";
|
|
@@ -137,18 +137,18 @@ import "./systemd-hints-DHu-HVFx.js";
|
|
|
137
137
|
import { a as terminateStaleGatewayPids, i as renderRestartDiagnostics, o as waitForGatewayHealthyRestart, r as runDaemonRestart, s as runDaemonInstall } from "./daemon-cli-Bcl3Y7NQ.js";
|
|
138
138
|
import "./diagnostics-DmZbQ8Nc.js";
|
|
139
139
|
import { t as renderTable } from "./table-B9AmL3M1.js";
|
|
140
|
-
import "./health-
|
|
140
|
+
import "./health-C2A5ilGU.js";
|
|
141
141
|
import "./control-ui-assets-C7ZpN9hN.js";
|
|
142
142
|
import { _ as resolveUpdateChannelDisplay, c as DEFAULT_GIT_CHANNEL, d as channelToNpmTag, f as formatUpdateChannelLabel, g as resolveEffectiveUpdateChannel, h as normalizeUpdateChannel, i as fetchNpmTagVersion, l as DEFAULT_PACKAGE_CHANNEL, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channel-account-context-CDbY5AIr.js";
|
|
143
143
|
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-CTi6vuWj.js";
|
|
144
|
-
import { a as globalInstallArgs, c as readPackageVersion, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as readPackageName, t as runGatewayUpdate } from "./update-runner-
|
|
144
|
+
import { a as globalInstallArgs, c as readPackageVersion, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as readPackageName, t as runGatewayUpdate } from "./update-runner-2yf_p333.js";
|
|
145
145
|
import "./logging-B0-9lotb.js";
|
|
146
146
|
import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-D79ppbMQ.js";
|
|
147
147
|
import "./doctor-config-flow-DTOp7CF2.js";
|
|
148
148
|
import "./systemd-linger-B7XlUHk_.js";
|
|
149
149
|
import "./health-format-Ba_hOaT2.js";
|
|
150
|
-
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-
|
|
151
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
150
|
+
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-BC7OSZ1q.js";
|
|
151
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-BfAWZyFl.js";
|
|
152
152
|
import os from "node:os";
|
|
153
153
|
import path from "node:path";
|
|
154
154
|
import fs from "node:fs/promises";
|
|
@@ -27,7 +27,7 @@ import "./logging-Bgrm4o7g.js";
|
|
|
27
27
|
import "./auth-store-D9BmR4S6.js";
|
|
28
28
|
import "./send-CuXAB8LA.js";
|
|
29
29
|
import "./send-lf9ld4To.js";
|
|
30
|
-
import { Ot as trimLogTail } from "./subagent-registry-
|
|
30
|
+
import { Ot as trimLogTail } from "./subagent-registry-DDIoRVFV.js";
|
|
31
31
|
import "./paths-CC17i2eK.js";
|
|
32
32
|
import "./chat-envelope-Dedaetiq.js";
|
|
33
33
|
import "./client-udFMSDes.js";
|
|
@@ -112,7 +112,7 @@ import "./cli-utils-BfsDuRZS.js";
|
|
|
112
112
|
import { t as formatHelpExamples } from "./help-format-CldHB7lS.js";
|
|
113
113
|
import "./progress-B76RkFx7.js";
|
|
114
114
|
import "./replies-CmTF3tWU.js";
|
|
115
|
-
import "./deps-
|
|
115
|
+
import "./deps-D3ku734-.js";
|
|
116
116
|
import "./onboard-helpers-_Uk9P3FF.js";
|
|
117
117
|
import { n as stylePromptMessage } from "./prompt-style-XmK49QYK.js";
|
|
118
118
|
import "./pairing-labels-CLdV_RlM.js";
|
|
@@ -123,9 +123,9 @@ import "./npm-registry-spec-BlFqJFsA.js";
|
|
|
123
123
|
import "./skill-scanner-CdLElD51.js";
|
|
124
124
|
import "./installs-8aQVDSI0.js";
|
|
125
125
|
import "./channels-status-issues-Bi00z1aP.js";
|
|
126
|
-
import { r as installCompletion } from "./completion-cli-
|
|
127
|
-
import "./register.subclis-
|
|
128
|
-
import "./command-registry-
|
|
126
|
+
import { r as installCompletion } from "./completion-cli-BGz3hkuH.js";
|
|
127
|
+
import "./register.subclis-B-zDlWeV.js";
|
|
128
|
+
import "./command-registry-BtbFeRGU.js";
|
|
129
129
|
import "./program-context-BrqeiWcA.js";
|
|
130
130
|
import "./daemon-install-helpers-DUHqeg5Y.js";
|
|
131
131
|
import { r as parseSemver } from "./runtime-guard-DTSD0F6o.js";
|
|
@@ -136,18 +136,18 @@ import "./systemd-hints-D7r4FWhK.js";
|
|
|
136
136
|
import { a as terminateStaleGatewayPids, i as renderRestartDiagnostics, o as waitForGatewayHealthyRestart, r as runDaemonRestart, s as runDaemonInstall } from "./daemon-cli-D-vzzB6U.js";
|
|
137
137
|
import "./diagnostics-BzCL1AMI.js";
|
|
138
138
|
import { t as renderTable } from "./table-aJzHv5Oe.js";
|
|
139
|
-
import "./health-
|
|
139
|
+
import "./health-Dn7CVhrN.js";
|
|
140
140
|
import "./control-ui-assets-B5haX6bT.js";
|
|
141
141
|
import { _ as resolveUpdateChannelDisplay, c as DEFAULT_GIT_CHANNEL, d as channelToNpmTag, f as formatUpdateChannelLabel, g as resolveEffectiveUpdateChannel, h as normalizeUpdateChannel, i as fetchNpmTagVersion, l as DEFAULT_PACKAGE_CHANNEL, n as checkUpdateStatus, o as resolveNpmChannelTag, r as compareSemverStrings } from "./channel-account-context-ofowt_yq.js";
|
|
142
142
|
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, t as formatUpdateAvailableHint } from "./status.update-BzUu2M5c.js";
|
|
143
|
-
import { a as globalInstallArgs, c as readPackageVersion, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as readPackageName, t as runGatewayUpdate } from "./update-runner-
|
|
143
|
+
import { a as globalInstallArgs, c as readPackageVersion, i as detectGlobalInstallManagerForRoot, n as cleanupGlobalRenameDirs, o as resolveGlobalPackageRoot, r as detectGlobalInstallManagerByPresence, s as readPackageName, t as runGatewayUpdate } from "./update-runner-DfTjwukX.js";
|
|
144
144
|
import "./logging-MF6Thoxk.js";
|
|
145
145
|
import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from "./update-If9iCjgB.js";
|
|
146
146
|
import "./doctor-config-flow-PE4yVE_b.js";
|
|
147
147
|
import "./systemd-linger-Dx928sEF.js";
|
|
148
148
|
import "./health-format-wax5NzZB.js";
|
|
149
|
-
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-
|
|
150
|
-
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-
|
|
149
|
+
import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-B5ZwrfX0.js";
|
|
150
|
+
import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-DOFXmBLZ.js";
|
|
151
151
|
import { spawn, spawnSync } from "node:child_process";
|
|
152
152
|
import os from "node:os";
|
|
153
153
|
import path from "node:path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as pathExists } from "./utils-CXzXXV2o.js";
|
|
2
|
-
import { q as trimLogTail } from "./reply-
|
|
2
|
+
import { q as trimLogTail } from "./reply-7AXQ38dZ.js";
|
|
3
3
|
import { t as runCommandWithTimeout } from "./exec-CKHMT0tZ.js";
|
|
4
4
|
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-C7ZpN9hN.js";
|
|
5
5
|
import { d as channelToNpmTag, l as DEFAULT_PACKAGE_CHANNEL, m as isStableTag, p as isBetaTag, r as compareSemverStrings, s as detectPackageManager$1, u as DEV_BRANCH } from "./channel-account-context-CDbY5AIr.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Z as pathExists } from "./entry.js";
|
|
2
2
|
import { t as runCommandWithTimeout } from "./exec-BrP9AmCw.js";
|
|
3
|
-
import { Ot as trimLogTail } from "./subagent-registry-
|
|
3
|
+
import { Ot as trimLogTail } from "./subagent-registry-DDIoRVFV.js";
|
|
4
4
|
import { n as resolveControlUiDistIndexHealth, r as resolveControlUiDistIndexPathForRoot } from "./control-ui-assets-B5haX6bT.js";
|
|
5
5
|
import { d as channelToNpmTag, l as DEFAULT_PACKAGE_CHANNEL, m as isStableTag, p as isBetaTag, r as compareSemverStrings, s as detectPackageManager$1, u as DEV_BRANCH } from "./channel-account-context-ofowt_yq.js";
|
|
6
6
|
import os from "node:os";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { f as expandHomePrefix, i as resolveConfigPath, l as resolveOAuthDir, m as resolveRequiredHomeDir, p as resolveEffectiveHomeDir } from "./paths-
|
|
1
|
+
import { f as expandHomePrefix, i as resolveConfigPath, l as resolveOAuthDir, m as resolveRequiredHomeDir, p as resolveEffectiveHomeDir } from "./paths-DQpv9a3Q.js";
|
|
2
2
|
import os from "node:os";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import fs from "node:fs";
|
|
5
5
|
import chalk, { Chalk } from "chalk";
|
|
6
6
|
import { Logger } from "tslog";
|
|
7
7
|
import JSON5 from "json5";
|
|
8
8
|
|
|
9
9
|
//#region src/infra/tmp-idlehands-dir.ts
|
|
10
10
|
const POSIX_IDLEHANDS_TMP_DIR = "/tmp/idlehands";
|
|
11
|
-
const TMP_DIR_ACCESS_MODE =
|
|
11
|
+
const TMP_DIR_ACCESS_MODE = fs.constants.W_OK | fs.constants.X_OK;
|
|
12
12
|
function isNodeErrorWithCode(err, code) {
|
|
13
13
|
return typeof err === "object" && err !== null && "code" in err && err.code === code;
|
|
14
14
|
}
|
|
15
15
|
function resolvePreferredIdleHandsTmpDir(options = {}) {
|
|
16
|
-
const accessSync = options.accessSync ??
|
|
17
|
-
const chmodSync = options.chmodSync ??
|
|
18
|
-
const lstatSync = options.lstatSync ??
|
|
19
|
-
const mkdirSync = options.mkdirSync ??
|
|
16
|
+
const accessSync = options.accessSync ?? fs.accessSync;
|
|
17
|
+
const chmodSync = options.chmodSync ?? fs.chmodSync;
|
|
18
|
+
const lstatSync = options.lstatSync ?? fs.lstatSync;
|
|
19
|
+
const mkdirSync = options.mkdirSync ?? fs.mkdirSync;
|
|
20
20
|
const warn = options.warn ?? ((message) => console.warn(message));
|
|
21
21
|
const getuid = options.getuid ?? (() => {
|
|
22
22
|
try {
|
|
@@ -109,8 +109,8 @@ function resolvePreferredIdleHandsTmpDir(options = {}) {
|
|
|
109
109
|
function readLoggingConfig() {
|
|
110
110
|
const configPath = resolveConfigPath();
|
|
111
111
|
try {
|
|
112
|
-
if (!
|
|
113
|
-
const raw =
|
|
112
|
+
if (!fs.existsSync(configPath)) return;
|
|
113
|
+
const raw = fs.readFileSync(configPath, "utf-8");
|
|
114
114
|
const logging = JSON5.parse(raw)?.logging;
|
|
115
115
|
if (!logging || typeof logging !== "object" || Array.isArray(logging)) return;
|
|
116
116
|
return logging;
|
|
@@ -245,7 +245,7 @@ function isFileLogLevelEnabled(level) {
|
|
|
245
245
|
return levelToMinLevel(level) <= levelToMinLevel(settings.level);
|
|
246
246
|
}
|
|
247
247
|
function buildLogger(settings) {
|
|
248
|
-
|
|
248
|
+
fs.mkdirSync(path.dirname(settings.file), { recursive: true });
|
|
249
249
|
if (isRollingPath(settings.file)) pruneOldRollingLogs(path.dirname(settings.file));
|
|
250
250
|
let currentFileBytes = getCurrentLogFileBytes(settings.file);
|
|
251
251
|
let warnedAboutSizeCap = false;
|
|
@@ -289,14 +289,14 @@ function resolveMaxLogFileBytes(raw) {
|
|
|
289
289
|
}
|
|
290
290
|
function getCurrentLogFileBytes(file) {
|
|
291
291
|
try {
|
|
292
|
-
return
|
|
292
|
+
return fs.statSync(file).size;
|
|
293
293
|
} catch {
|
|
294
294
|
return 0;
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
297
|
function appendLogLine(file, line) {
|
|
298
298
|
try {
|
|
299
|
-
|
|
299
|
+
fs.appendFileSync(file, line, { encoding: "utf8" });
|
|
300
300
|
return true;
|
|
301
301
|
} catch {
|
|
302
302
|
return false;
|
|
@@ -348,14 +348,14 @@ function isRollingPath(file) {
|
|
|
348
348
|
}
|
|
349
349
|
function pruneOldRollingLogs(dir) {
|
|
350
350
|
try {
|
|
351
|
-
const entries =
|
|
351
|
+
const entries = fs.readdirSync(dir, { withFileTypes: true });
|
|
352
352
|
const cutoff = Date.now() - MAX_LOG_AGE_MS;
|
|
353
353
|
for (const entry of entries) {
|
|
354
354
|
if (!entry.isFile()) continue;
|
|
355
355
|
if (!entry.name.startsWith(`${LOG_PREFIX}-`) || !entry.name.endsWith(LOG_SUFFIX)) continue;
|
|
356
356
|
const fullPath = path.join(dir, entry.name);
|
|
357
357
|
try {
|
|
358
|
-
if (
|
|
358
|
+
if (fs.statSync(fullPath).mtimeMs < cutoff) fs.rmSync(fullPath, { force: true });
|
|
359
359
|
} catch {}
|
|
360
360
|
}
|
|
361
361
|
} catch {}
|
|
@@ -436,14 +436,14 @@ function isPlainObject(value) {
|
|
|
436
436
|
//#endregion
|
|
437
437
|
//#region src/utils.ts
|
|
438
438
|
async function ensureDir(dir) {
|
|
439
|
-
await
|
|
439
|
+
await fs.promises.mkdir(dir, { recursive: true });
|
|
440
440
|
}
|
|
441
441
|
/**
|
|
442
442
|
* Check if a file or directory exists at the given path.
|
|
443
443
|
*/
|
|
444
444
|
async function pathExists(targetPath) {
|
|
445
445
|
try {
|
|
446
|
-
await
|
|
446
|
+
await fs.promises.access(targetPath);
|
|
447
447
|
return true;
|
|
448
448
|
} catch {
|
|
449
449
|
return false;
|
|
@@ -526,7 +526,7 @@ function readLidReverseMapping(lid, opts) {
|
|
|
526
526
|
for (const dir of mappingDirs) {
|
|
527
527
|
const mappingPath = path.join(dir, mappingFilename);
|
|
528
528
|
try {
|
|
529
|
-
const data =
|
|
529
|
+
const data = fs.readFileSync(mappingPath, "utf8");
|
|
530
530
|
const phone = JSON.parse(data);
|
|
531
531
|
if (phone === null || phone === void 0) continue;
|
|
532
532
|
return normalizeE164(String(phone));
|
|
@@ -611,7 +611,7 @@ function resolveConfigDir(env = process.env, homedir = os.homedir) {
|
|
|
611
611
|
if (override) return resolveUserPath(override);
|
|
612
612
|
const newDir = path.join(resolveRequiredHomeDir(env, homedir), ".idlehands");
|
|
613
613
|
try {
|
|
614
|
-
if (
|
|
614
|
+
if (fs.existsSync(newDir)) return newDir;
|
|
615
615
|
} catch {}
|
|
616
616
|
return newDir;
|
|
617
617
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./paths-Cn44w-EB.js";
|
|
2
2
|
import "./utils-CXzXXV2o.js";
|
|
3
3
|
import "./thinking-EAliFiVK.js";
|
|
4
|
-
import "./reply-
|
|
4
|
+
import "./reply-7AXQ38dZ.js";
|
|
5
5
|
import "./agent-scope-RA0zXRpu.js";
|
|
6
6
|
import "./subsystem-CGZX2PBV.js";
|
|
7
7
|
import "./runtime-44j_X4Y6.js";
|
|
@@ -102,7 +102,7 @@ import "./resolve-route-D_AbcmD6.js";
|
|
|
102
102
|
import "./replies-Bt95GAew.js";
|
|
103
103
|
import "./skill-commands-23SP2OFQ.js";
|
|
104
104
|
import "./workspace-dirs-SsExQ3Bz.js";
|
|
105
|
-
import "./deps-
|
|
105
|
+
import "./deps-BZOU70bs.js";
|
|
106
106
|
import "./plugin-auto-enable-DyNeRjEL.js";
|
|
107
107
|
import "./channel-selection-ZxRkxpuF.js";
|
|
108
108
|
import "./outbound-attachment-Bot3bRnK.js";
|
|
@@ -115,7 +115,7 @@ import "./pairing-labels-DWdqhnXA.js";
|
|
|
115
115
|
import "./server-lifecycle-DMOhxIYC.js";
|
|
116
116
|
import "./stagger-rQoQSWkz.js";
|
|
117
117
|
import "./system-run-command-P86Xjnl8.js";
|
|
118
|
-
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-
|
|
118
|
+
import { n as monitorWebInbox, t as monitorWebChannel } from "./channel-web-DRFHkK-t.js";
|
|
119
119
|
import { n as sendMessageWhatsApp } from "./outbound-ND4beS15.js";
|
|
120
120
|
import { i as waitForWaConnection, t as createWaSocket } from "./session-CdnrRhb4.js";
|
|
121
121
|
import { t as loginWeb } from "./login-DR5g-xWe.js";
|
|
@@ -11,7 +11,7 @@ import { t as formatCliCommand } from "./command-format-BAxx4PW5.js";
|
|
|
11
11
|
import "./env-BpvqFD5n.js";
|
|
12
12
|
import { a as resolveChannelGroupRequireMention, i as resolveChannelGroupPolicy } from "./dock-QcCdS4qA.js";
|
|
13
13
|
import "./tokens-Cg4XNE3H.js";
|
|
14
|
-
import { A as formatDurationPrecise, C as resolveInboundDebounceMs, D as getReplyFromConfig, E as createDedupeCache, L as buildMentionRegexes, M as hasControlCommand, N as shouldComputeCommandAuthorized, O as normalizeGroupActivation, R as normalizeMentionText, S as createInboundDebouncer, T as resolveEnvelopeFormatOptions, _ as resolveDmGroupAccessWithLists, b as dispatchReplyWithBufferedBlockDispatcher, c as resolveMentionGating, d as recordPendingHistoryEntryIfEnabled, f as resolveDefaultGroupPolicy, g as resolveDmGroupAccessWithCommandGate, h as readStoreAllowFromForDmPolicy, i as sleepWithAbort, j as enqueueSystemEvent, k as parseActivationCommand, l as DEFAULT_GROUP_HISTORY_LIMIT, m as warnMissingProviderGroupPolicyFallbackOnce, p as resolveOpenProviderRuntimeGroupPolicy, r as computeBackoff, s as buildPairingReply, u as buildHistoryContextFromEntries, w as formatInboundEnvelope, y as shouldAckReactionForWhatsApp } from "./pi-embedded-
|
|
14
|
+
import { A as formatDurationPrecise, C as resolveInboundDebounceMs, D as getReplyFromConfig, E as createDedupeCache, L as buildMentionRegexes, M as hasControlCommand, N as shouldComputeCommandAuthorized, O as normalizeGroupActivation, R as normalizeMentionText, S as createInboundDebouncer, T as resolveEnvelopeFormatOptions, _ as resolveDmGroupAccessWithLists, b as dispatchReplyWithBufferedBlockDispatcher, c as resolveMentionGating, d as recordPendingHistoryEntryIfEnabled, f as resolveDefaultGroupPolicy, g as resolveDmGroupAccessWithCommandGate, h as readStoreAllowFromForDmPolicy, i as sleepWithAbort, j as enqueueSystemEvent, k as parseActivationCommand, l as DEFAULT_GROUP_HISTORY_LIMIT, m as warnMissingProviderGroupPolicyFallbackOnce, p as resolveOpenProviderRuntimeGroupPolicy, r as computeBackoff, s as buildPairingReply, u as buildHistoryContextFromEntries, w as formatInboundEnvelope, y as shouldAckReactionForWhatsApp } from "./pi-embedded-D-vbVu50.js";
|
|
15
15
|
import "./plugins-D-_jp4FO.js";
|
|
16
16
|
import { n as resolveWhatsAppAccount } from "./accounts-BwrguHMw.js";
|
|
17
17
|
import "./bindings-hT7SPhiA.js";
|
|
@@ -66,7 +66,7 @@ import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-rou
|
|
|
66
66
|
import { r as setActiveWebListener } from "./active-listener-BnWIC6Jc.js";
|
|
67
67
|
import "./proxy-CNZpb4NE.js";
|
|
68
68
|
import "./replies-B7WhS1HA.js";
|
|
69
|
-
import "./deps-
|
|
69
|
+
import "./deps-1S6DoURA.js";
|
|
70
70
|
import { i as markdownToWhatsApp, n as sendMessageWhatsApp, r as sendReactionWhatsApp } from "./outbound-DCyvX0Zh.js";
|
|
71
71
|
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-BsR-Pdqr.js";
|
|
72
72
|
import { t as loginWeb } from "./login-DOM8Tu1s.js";
|
|
@@ -861,7 +861,7 @@ async function monitorWebInbox(options) {
|
|
|
861
861
|
};
|
|
862
862
|
const stopText = (inboundMessage.body ?? "").trim();
|
|
863
863
|
if (stopText) {
|
|
864
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
864
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-3LJcS7w-.js");
|
|
865
865
|
if (isAbortRequestText(stopText)) {
|
|
866
866
|
const { loadConfig: loadCfg } = await import("./model-selection-BCfCq125.js").then((n) => n.F);
|
|
867
867
|
const { resolveAgentRoute } = await import("./resolve-route-BI3VjtwE.js").then((n) => n.r);
|