@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
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { c as resolveDefaultAgentId } from "./agent-scope-
|
|
3
|
-
import { A as shouldLogVerbose } from "./utils-
|
|
2
|
+
import { c as resolveDefaultAgentId } from "./agent-scope-Bxq1eWbA.js";
|
|
3
|
+
import { A as shouldLogVerbose } from "./utils-D9wGoiU9.js";
|
|
4
4
|
import { d as sanitizeAgentId, f as DEFAULT_ACCOUNT_ID, i as buildAgentPeerSessionKey, n as DEFAULT_MAIN_KEY, p as normalizeAccountId, r as buildAgentMainSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-CuLPSMu_.js";
|
|
5
|
-
import { y as logDebug } from "./workspace-
|
|
5
|
+
import { y as logDebug } from "./workspace-tAtkoD_r.js";
|
|
6
6
|
import { t as normalizeChatType } from "./chat-type-BPBtOjer.js";
|
|
7
|
-
import { n as listBindings } from "./bindings-
|
|
7
|
+
import { n as listBindings } from "./bindings-CLZIJ0Eo.js";
|
|
8
8
|
|
|
9
9
|
//#region src/routing/resolve-route.ts
|
|
10
10
|
var resolve_route_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -25,7 +25,7 @@ import "./logging-Bgrm4o7g.js";
|
|
|
25
25
|
import "./auth-store-D9BmR4S6.js";
|
|
26
26
|
import "./send-CuXAB8LA.js";
|
|
27
27
|
import "./send-lf9ld4To.js";
|
|
28
|
-
import "./subagent-registry-
|
|
28
|
+
import "./subagent-registry-DDIoRVFV.js";
|
|
29
29
|
import "./paths-CC17i2eK.js";
|
|
30
30
|
import "./chat-envelope-Dedaetiq.js";
|
|
31
31
|
import "./client-udFMSDes.js";
|
|
@@ -108,15 +108,15 @@ import "./cli-utils-BfsDuRZS.js";
|
|
|
108
108
|
import "./help-format-CldHB7lS.js";
|
|
109
109
|
import "./progress-B76RkFx7.js";
|
|
110
110
|
import "./replies-CmTF3tWU.js";
|
|
111
|
-
import "./deps-
|
|
111
|
+
import "./deps-D3ku734-.js";
|
|
112
112
|
import "./onboard-helpers-_Uk9P3FF.js";
|
|
113
113
|
import "./prompt-style-XmK49QYK.js";
|
|
114
114
|
import "./pairing-labels-CLdV_RlM.js";
|
|
115
115
|
import { t as ensureIdleHandsCliOnPath } from "./path-env-cPX3lugV.js";
|
|
116
116
|
import "./note-C2HHth6G.js";
|
|
117
|
-
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-
|
|
117
|
+
import { t as ensurePluginRegistryLoaded } from "./plugin-registry-ReGTT2Qn.js";
|
|
118
118
|
import { t as assertSupportedRuntime } from "./runtime-guard-DTSD0F6o.js";
|
|
119
|
-
import { t as emitCliBanner } from "./banner-
|
|
119
|
+
import { t as emitCliBanner } from "./banner-DUYqUnZh.js";
|
|
120
120
|
import "./doctor-config-flow-PE4yVE_b.js";
|
|
121
121
|
import { n as ensureConfigReady } from "./config-guard-CWaCycDU.js";
|
|
122
122
|
import process$1 from "node:process";
|
|
@@ -131,7 +131,7 @@ const routeHealth = {
|
|
|
131
131
|
const verbose = getVerboseFlag(argv, { includeDebug: true });
|
|
132
132
|
const timeoutMs = getPositiveIntFlagValue(argv, "--timeout");
|
|
133
133
|
if (timeoutMs === null) return false;
|
|
134
|
-
const { healthCommand } = await import("./health-
|
|
134
|
+
const { healthCommand } = await import("./health-Dn7CVhrN.js").then((n) => n.i);
|
|
135
135
|
await healthCommand({
|
|
136
136
|
json,
|
|
137
137
|
timeoutMs,
|
|
@@ -151,7 +151,7 @@ const routeStatus = {
|
|
|
151
151
|
const verbose = getVerboseFlag(argv, { includeDebug: true });
|
|
152
152
|
const timeoutMs = getPositiveIntFlagValue(argv, "--timeout");
|
|
153
153
|
if (timeoutMs === null) return false;
|
|
154
|
-
const { statusCommand } = await import("./status-
|
|
154
|
+
const { statusCommand } = await import("./status-Cy7Zcfzv.js").then((n) => n.t);
|
|
155
155
|
await statusCommand({
|
|
156
156
|
json,
|
|
157
157
|
deep,
|
|
@@ -190,7 +190,7 @@ const routeAgentsList = {
|
|
|
190
190
|
run: async (argv) => {
|
|
191
191
|
const json = hasFlag(argv, "--json");
|
|
192
192
|
const bindings = hasFlag(argv, "--bindings");
|
|
193
|
-
const { agentsListCommand } = await import("./agents-
|
|
193
|
+
const { agentsListCommand } = await import("./agents-DFsifqti.js").then((n) => n.t);
|
|
194
194
|
await agentsListCommand({
|
|
195
195
|
json,
|
|
196
196
|
bindings
|
|
@@ -261,7 +261,7 @@ const routes = [
|
|
|
261
261
|
const pathArg = getCommandPositionals(argv)[2];
|
|
262
262
|
if (!pathArg) return false;
|
|
263
263
|
const json = hasFlag(argv, "--json");
|
|
264
|
-
const { runConfigGet } = await import("./config-cli-
|
|
264
|
+
const { runConfigGet } = await import("./config-cli-b1s6P-RG.js");
|
|
265
265
|
await runConfigGet({
|
|
266
266
|
path: pathArg,
|
|
267
267
|
json
|
|
@@ -274,7 +274,7 @@ const routes = [
|
|
|
274
274
|
run: async (argv) => {
|
|
275
275
|
const pathArg = getCommandPositionals(argv)[2];
|
|
276
276
|
if (!pathArg) return false;
|
|
277
|
-
const { runConfigUnset } = await import("./config-cli-
|
|
277
|
+
const { runConfigUnset } = await import("./config-cli-b1s6P-RG.js");
|
|
278
278
|
await runConfigUnset({ path: pathArg });
|
|
279
279
|
return true;
|
|
280
280
|
}
|
|
@@ -288,7 +288,7 @@ const routes = [
|
|
|
288
288
|
const local = hasFlag(argv, "--local");
|
|
289
289
|
const json = hasFlag(argv, "--json");
|
|
290
290
|
const plain = hasFlag(argv, "--plain");
|
|
291
|
-
const { modelsListCommand } = await import("./models-
|
|
291
|
+
const { modelsListCommand } = await import("./models-CGtrW3AC.js").then((n) => n.t);
|
|
292
292
|
await modelsListCommand({
|
|
293
293
|
all,
|
|
294
294
|
local,
|
|
@@ -319,7 +319,7 @@ const routes = [
|
|
|
319
319
|
const plain = hasFlag(argv, "--plain");
|
|
320
320
|
const check = hasFlag(argv, "--check");
|
|
321
321
|
const probe = hasFlag(argv, "--probe");
|
|
322
|
-
const { modelsStatusCommand } = await import("./models-
|
|
322
|
+
const { modelsStatusCommand } = await import("./models-CGtrW3AC.js").then((n) => n.t);
|
|
323
323
|
await modelsStatusCommand({
|
|
324
324
|
json,
|
|
325
325
|
plain,
|
|
@@ -397,7 +397,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
397
397
|
assertSupportedRuntime();
|
|
398
398
|
if (await tryRouteCli(normalizedArgv)) return;
|
|
399
399
|
enableConsoleCapture();
|
|
400
|
-
const { buildProgram } = await import("./program-
|
|
400
|
+
const { buildProgram } = await import("./program-B_vfCOU2.js");
|
|
401
401
|
const program = buildProgram();
|
|
402
402
|
installUnhandledRejectionHandler();
|
|
403
403
|
process$1.on("uncaughtException", (error) => {
|
|
@@ -410,10 +410,10 @@ async function runCli(argv = process$1.argv) {
|
|
|
410
410
|
const { getProgramContext } = await import("./program-context-BrqeiWcA.js").then((n) => n.n);
|
|
411
411
|
const ctx = getProgramContext(program);
|
|
412
412
|
if (ctx) {
|
|
413
|
-
const { registerCoreCliByName } = await import("./command-registry-
|
|
413
|
+
const { registerCoreCliByName } = await import("./command-registry-BtbFeRGU.js").then((n) => n.t);
|
|
414
414
|
await registerCoreCliByName(program, ctx, primary, parseArgv);
|
|
415
415
|
}
|
|
416
|
-
const { registerSubCliByName } = await import("./register.subclis-
|
|
416
|
+
const { registerSubCliByName } = await import("./register.subclis-B-zDlWeV.js").then((n) => n.a);
|
|
417
417
|
await registerSubCliByName(program, primary);
|
|
418
418
|
}
|
|
419
419
|
if (!shouldSkipPluginCommandRegistration({
|
|
@@ -421,7 +421,7 @@ async function runCli(argv = process$1.argv) {
|
|
|
421
421
|
primary,
|
|
422
422
|
hasBuiltinPrimary: primary !== null && program.commands.some((command) => command.name() === primary)
|
|
423
423
|
})) {
|
|
424
|
-
const { registerPluginCliCommands } = await import("./cli-
|
|
424
|
+
const { registerPluginCliCommands } = await import("./cli-BYiKVK4i.js");
|
|
425
425
|
const { loadConfig } = await import("./auth-profiles-02PVCKaE.js").then((n) => n.D);
|
|
426
426
|
registerPluginCliCommands(program, loadConfig());
|
|
427
427
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { h as resolveAgentModelPrimaryValue, m as resolveAgentModelFallbackValues } from "./agent-scope-
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { A as shouldLogVerbose, D as logVerbose, K as resolvePreferredIdleHandsTmpDir } from "./utils-
|
|
4
|
-
import { _ as runExec } from "./workspace-
|
|
5
|
-
import { J as isInboundPathAllowed, R as loadConfig, T as resolveApiKeyForProvider, X as resolveIMessageAttachmentRoots, Y as mergeInboundPathRoots, c as normalizeProviderId, dn as resolveIdleHandsAgentDir, g as normalizeGoogleModelId, q as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, w as requireApiKey } from "./model-selection-
|
|
1
|
+
import { h as resolveAgentModelPrimaryValue, m as resolveAgentModelFallbackValues } from "./agent-scope-Bxq1eWbA.js";
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-D7ZepYT1.js";
|
|
3
|
+
import { A as shouldLogVerbose, D as logVerbose, K as resolvePreferredIdleHandsTmpDir } from "./utils-D9wGoiU9.js";
|
|
4
|
+
import { _ as runExec } from "./workspace-tAtkoD_r.js";
|
|
5
|
+
import { J as isInboundPathAllowed, R as loadConfig, T as resolveApiKeyForProvider, X as resolveIMessageAttachmentRoots, Y as mergeInboundPathRoots, c as normalizeProviderId, dn as resolveIdleHandsAgentDir, g as normalizeGoogleModelId, q as DEFAULT_IMESSAGE_ATTACHMENT_ROOTS, w as requireApiKey } from "./model-selection-C5BhfuPa.js";
|
|
6
6
|
import { t as normalizeChatType } from "./chat-type-BPBtOjer.js";
|
|
7
|
-
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-
|
|
8
|
-
import { t as describeImageWithModel, w as ensureIdleHandsModelsJson } from "./image-
|
|
9
|
-
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-
|
|
7
|
+
import { c as detectMime, f as isAudioFileName, m as kindFromMime, u as getFileExtension } from "./image-ops-J8P5zOFm.js";
|
|
8
|
+
import { t as describeImageWithModel, w as ensureIdleHandsModelsJson } from "./image-DBhgEUm0.js";
|
|
9
|
+
import { n as collectProviderApiKeysForExecution, r as executeWithApiKeyRotation, t as parseGeminiAuth } from "./gemini-auth-DnP8lfQK.js";
|
|
10
10
|
import { n as fetchWithTimeout } from "./fetch-timeout-3YYM8QuM.js";
|
|
11
|
-
import { t as fetchWithSsrFGuard } from "./fetch-guard-
|
|
12
|
-
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-
|
|
11
|
+
import { t as fetchWithSsrFGuard } from "./fetch-guard-CcfDZXe9.js";
|
|
12
|
+
import { i as fetchRemoteMedia, n as getDefaultMediaLocalRoots, r as MediaFetchError } from "./local-roots-d4y0lvs2.js";
|
|
13
13
|
import fs from "node:fs/promises";
|
|
14
14
|
import os from "node:os";
|
|
15
15
|
import path from "node:path";
|
|
@@ -958,7 +958,7 @@ var MediaAttachmentCache = class {
|
|
|
958
958
|
const log = createSubsystemLogger("model-catalog");
|
|
959
959
|
let modelCatalogPromise = null;
|
|
960
960
|
let hasLoggedModelCatalogError = false;
|
|
961
|
-
const defaultImportPiSdk = () => import("./pi-model-discovery-
|
|
961
|
+
const defaultImportPiSdk = () => import("./pi-model-discovery-DMEzBdm5.js").then((n) => n.r);
|
|
962
962
|
let importPiSdk = defaultImportPiSdk;
|
|
963
963
|
const CODEX_PROVIDER = "openai-codex";
|
|
964
964
|
const OPENAI_CODEX_GPT53_MODEL_ID = "gpt-5.3-codex";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { d as normalizeE164, h as resolveUserPath } from "./utils-
|
|
3
|
-
import { R as loadConfig } from "./model-selection-
|
|
4
|
-
import { v as mediaKindFromMime } from "./image-ops-
|
|
5
|
-
import { t as resolveIMessageAccount } from "./accounts-
|
|
6
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
7
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
8
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
2
|
+
import { d as normalizeE164, h as resolveUserPath } from "./utils-D9wGoiU9.js";
|
|
3
|
+
import { R as loadConfig } from "./model-selection-C5BhfuPa.js";
|
|
4
|
+
import { v as mediaKindFromMime } from "./image-ops-J8P5zOFm.js";
|
|
5
|
+
import { t as resolveIMessageAccount } from "./accounts-D5tB_lO0.js";
|
|
6
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-R8VTpfE9.js";
|
|
7
|
+
import { t as convertMarkdownTables } from "./tables-Co_R_WKs.js";
|
|
8
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-IfeZJAKk.js";
|
|
9
9
|
import { spawn } from "node:child_process";
|
|
10
10
|
import { createInterface } from "node:readline";
|
|
11
11
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { D as logVerbose } from "./utils-
|
|
3
|
-
import { R as loadConfig } from "./model-selection-
|
|
4
|
-
import { i as isSilentReplyText } from "./tokens-
|
|
5
|
-
import { d as resolveSlackAccount, m as resolveSlackBotToken } from "./plugins-
|
|
2
|
+
import { D as logVerbose } from "./utils-D9wGoiU9.js";
|
|
3
|
+
import { R as loadConfig } from "./model-selection-C5BhfuPa.js";
|
|
4
|
+
import { i as isSilentReplyText } from "./tokens-DGajj8M9.js";
|
|
5
|
+
import { d as resolveSlackAccount, m as resolveSlackBotToken } from "./plugins-DYr-HHj0.js";
|
|
6
6
|
import { a as requireTargetKind, i as parseTargetPrefixes, n as ensureTargetId, r as parseTargetMention, t as buildMessagingTarget } from "./targets-D7PT_rdO.js";
|
|
7
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-
|
|
8
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
9
|
-
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
7
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-Djk-9JeT.js";
|
|
8
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-R8VTpfE9.js";
|
|
9
|
+
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-BT5aAdU9.js";
|
|
10
10
|
import { t as renderMarkdownWithMarkers } from "./render-MTSxc7LK.js";
|
|
11
11
|
import { WebClient } from "@slack/web-api";
|
|
12
12
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { R as loadConfig } from "./model-selection-
|
|
2
|
+
import { R as loadConfig } from "./model-selection-C5BhfuPa.js";
|
|
3
3
|
import { n as generateSecureUuid } from "./secure-random-B1N_MXT_.js";
|
|
4
|
-
import { n as resolveSignalAccount } from "./accounts-
|
|
5
|
-
import { v as mediaKindFromMime } from "./image-ops-
|
|
4
|
+
import { n as resolveSignalAccount } from "./accounts-B8cGzkjD.js";
|
|
5
|
+
import { v as mediaKindFromMime } from "./image-ops-J8P5zOFm.js";
|
|
6
6
|
import { n as fetchWithTimeout } from "./fetch-timeout-3YYM8QuM.js";
|
|
7
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
8
|
-
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
7
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-R8VTpfE9.js";
|
|
8
|
+
import { n as markdownToIR, t as chunkMarkdownIR } from "./ir-BT5aAdU9.js";
|
|
9
9
|
import { t as resolveFetch } from "./fetch-CsfR_943.js";
|
|
10
|
-
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-
|
|
10
|
+
import { t as resolveOutboundAttachmentFromUrl } from "./outbound-attachment-IfeZJAKk.js";
|
|
11
11
|
|
|
12
12
|
//#region src/signal/format.ts
|
|
13
13
|
function normalizeUrlForComparison(url) {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { d as resolveStateDir, f as expandHomePrefix, l as resolveOAuthDir, m as resolveRequiredHomeDir } from "./paths-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { D as logVerbose, g as safeParseJson, t as CONFIG_DIR, w as danger } from "./utils-
|
|
2
|
+
import { d as resolveStateDir, f as expandHomePrefix, l as resolveOAuthDir, m as resolveRequiredHomeDir } from "./paths-DQpv9a3Q.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-D7ZepYT1.js";
|
|
4
|
+
import { D as logVerbose, g as safeParseJson, t as CONFIG_DIR, w as danger } from "./utils-D9wGoiU9.js";
|
|
5
5
|
import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-CuLPSMu_.js";
|
|
6
|
-
import { B as readConfigFileSnapshotForWrite, H as writeConfigFile, Qt as resolveTelegramPreviewStreamMode, R as loadConfig, fn as withFileLock$1 } from "./model-selection-
|
|
7
|
-
import { t as isTruthyEnvValue } from "./env-
|
|
8
|
-
import { l as resolveTelegramAccount, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-
|
|
9
|
-
import { h as normalizeMimeType, p as isGifMedia, u as getFileExtension, v as mediaKindFromMime } from "./image-ops-
|
|
10
|
-
import { t as redactSensitiveText } from "./redact-
|
|
11
|
-
import { n as formatErrorMessage, r as formatUncaughtError, t as extractErrorCode } from "./errors-
|
|
12
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
13
|
-
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-
|
|
6
|
+
import { B as readConfigFileSnapshotForWrite, H as writeConfigFile, Qt as resolveTelegramPreviewStreamMode, R as loadConfig, fn as withFileLock$1 } from "./model-selection-C5BhfuPa.js";
|
|
7
|
+
import { t as isTruthyEnvValue } from "./env-q-PhWbb_.js";
|
|
8
|
+
import { l as resolveTelegramAccount, n as listChannelPlugins, t as getChannelPlugin } from "./plugins-DYr-HHj0.js";
|
|
9
|
+
import { h as normalizeMimeType, p as isGifMedia, u as getFileExtension, v as mediaKindFromMime } from "./image-ops-J8P5zOFm.js";
|
|
10
|
+
import { t as redactSensitiveText } from "./redact-1Y0KPNtr.js";
|
|
11
|
+
import { n as formatErrorMessage, r as formatUncaughtError, t as extractErrorCode } from "./errors-C4SHjIZK.js";
|
|
12
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-R8VTpfE9.js";
|
|
13
|
+
import { a as loadWebMedia, n as markdownToIR, t as chunkMarkdownIR } from "./ir-BT5aAdU9.js";
|
|
14
14
|
import { t as renderMarkdownWithMarkers } from "./render-MTSxc7LK.js";
|
|
15
15
|
import { t as resolveFetch } from "./fetch-CsfR_943.js";
|
|
16
|
-
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-
|
|
16
|
+
import { i as createTelegramRetryRunner, n as recordChannelActivity } from "./channel-activity-DdL3RAv_.js";
|
|
17
17
|
import { n as normalizePollInput } from "./polls-DhMjjIGW.js";
|
|
18
18
|
import { t as makeProxyFetch } from "./proxy-CRB9oCP5.js";
|
|
19
19
|
import fs from "node:fs/promises";
|
|
20
20
|
import os from "node:os";
|
|
21
21
|
import path from "node:path";
|
|
22
|
-
import
|
|
22
|
+
import fs$1, { readFileSync } from "node:fs";
|
|
23
23
|
import JSON5 from "json5";
|
|
24
24
|
import crypto from "node:crypto";
|
|
25
25
|
import process$1 from "node:process";
|
|
@@ -158,7 +158,7 @@ function getPairingAdapter(channelId) {
|
|
|
158
158
|
//#region src/plugin-sdk/json-store.ts
|
|
159
159
|
async function readJsonFileWithFallback(filePath, fallback) {
|
|
160
160
|
try {
|
|
161
|
-
const parsed = safeParseJson(await
|
|
161
|
+
const parsed = safeParseJson(await fs$1.promises.readFile(filePath, "utf-8"));
|
|
162
162
|
if (parsed == null) return {
|
|
163
163
|
value: fallback,
|
|
164
164
|
exists: true
|
|
@@ -180,14 +180,14 @@ async function readJsonFileWithFallback(filePath, fallback) {
|
|
|
180
180
|
}
|
|
181
181
|
async function writeJsonFileAtomically(filePath, value) {
|
|
182
182
|
const dir = path.dirname(filePath);
|
|
183
|
-
await
|
|
183
|
+
await fs$1.promises.mkdir(dir, {
|
|
184
184
|
recursive: true,
|
|
185
185
|
mode: 448
|
|
186
186
|
});
|
|
187
187
|
const tmp = path.join(dir, `${path.basename(filePath)}.${crypto.randomUUID()}.tmp`);
|
|
188
|
-
await
|
|
189
|
-
await
|
|
190
|
-
await
|
|
188
|
+
await fs$1.promises.writeFile(tmp, `${JSON.stringify(value, null, 2)}\n`, { encoding: "utf-8" });
|
|
189
|
+
await fs$1.promises.chmod(tmp, 384);
|
|
190
|
+
await fs$1.promises.rename(tmp, filePath);
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
//#endregion
|
|
@@ -248,7 +248,7 @@ async function readPairingRequests(filePath) {
|
|
|
248
248
|
}
|
|
249
249
|
async function ensureJsonFile(filePath, fallback) {
|
|
250
250
|
try {
|
|
251
|
-
await
|
|
251
|
+
await fs$1.promises.access(filePath);
|
|
252
252
|
} catch {
|
|
253
253
|
await writeJsonFile(filePath, fallback);
|
|
254
254
|
}
|
|
@@ -1515,7 +1515,7 @@ function resolveCronStorePath(storePath) {
|
|
|
1515
1515
|
}
|
|
1516
1516
|
async function loadCronStore(storePath) {
|
|
1517
1517
|
try {
|
|
1518
|
-
const raw = await
|
|
1518
|
+
const raw = await fs$1.promises.readFile(storePath, "utf-8");
|
|
1519
1519
|
let parsed;
|
|
1520
1520
|
try {
|
|
1521
1521
|
parsed = JSON5.parse(raw);
|
|
@@ -1536,14 +1536,14 @@ async function loadCronStore(storePath) {
|
|
|
1536
1536
|
}
|
|
1537
1537
|
}
|
|
1538
1538
|
async function saveCronStore(storePath, store) {
|
|
1539
|
-
await
|
|
1539
|
+
await fs$1.promises.mkdir(path.dirname(storePath), { recursive: true });
|
|
1540
1540
|
const { randomBytes } = await import("node:crypto");
|
|
1541
1541
|
const tmp = `${storePath}.${process.pid}.${randomBytes(8).toString("hex")}.tmp`;
|
|
1542
1542
|
const json = JSON.stringify(store, null, 2);
|
|
1543
|
-
await
|
|
1544
|
-
await
|
|
1543
|
+
await fs$1.promises.writeFile(tmp, json, "utf-8");
|
|
1544
|
+
await fs$1.promises.rename(tmp, storePath);
|
|
1545
1545
|
try {
|
|
1546
|
-
await
|
|
1546
|
+
await fs$1.promises.copyFile(storePath, `${storePath}.bak`);
|
|
1547
1547
|
} catch {}
|
|
1548
1548
|
}
|
|
1549
1549
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { K as resolvePreferredIdleHandsTmpDir } from "./utils-
|
|
3
|
-
import { R as loadConfig } from "./model-selection-
|
|
4
|
-
import { _ as resolveDiscordAccount, v as normalizeDiscordToken } from "./plugins-
|
|
2
|
+
import { K as resolvePreferredIdleHandsTmpDir } from "./utils-D9wGoiU9.js";
|
|
3
|
+
import { R as loadConfig } from "./model-selection-C5BhfuPa.js";
|
|
4
|
+
import { _ as resolveDiscordAccount, v as normalizeDiscordToken } from "./plugins-DYr-HHj0.js";
|
|
5
5
|
import { a as requireTargetKind, i as parseTargetPrefixes, n as ensureTargetId, r as parseTargetMention, t as buildMessagingTarget } from "./targets-D7PT_rdO.js";
|
|
6
|
-
import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-
|
|
7
|
-
import { n as retryAsync, t as resolveRetryConfig } from "./retry-
|
|
8
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode } from "./chunk-
|
|
9
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
10
|
-
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-
|
|
6
|
+
import { _ as maxBytesForKind, l as extensionForMime } from "./image-ops-J8P5zOFm.js";
|
|
7
|
+
import { n as retryAsync, t as resolveRetryConfig } from "./retry-CG6cMRDQ.js";
|
|
8
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode } from "./chunk-Djk-9JeT.js";
|
|
9
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-R8VTpfE9.js";
|
|
10
|
+
import { a as loadWebMedia, o as loadWebMediaRaw } from "./ir-BT5aAdU9.js";
|
|
11
11
|
import { t as resolveFetch } from "./fetch-CsfR_943.js";
|
|
12
|
-
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-
|
|
12
|
+
import { n as recordChannelActivity, r as createDiscordRetryRunner } from "./channel-activity-DdL3RAv_.js";
|
|
13
13
|
import { n as normalizePollInput, t as normalizePollDurationHours } from "./polls-DhMjjIGW.js";
|
|
14
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
14
|
+
import { t as convertMarkdownTables } from "./tables-Co_R_WKs.js";
|
|
15
15
|
import fs from "node:fs/promises";
|
|
16
16
|
import path from "node:path";
|
|
17
17
|
import { promisify } from "node:util";
|
|
@@ -25,7 +25,7 @@ import "./logging-Bgrm4o7g.js";
|
|
|
25
25
|
import "./auth-store-D9BmR4S6.js";
|
|
26
26
|
import "./send-CuXAB8LA.js";
|
|
27
27
|
import "./send-lf9ld4To.js";
|
|
28
|
-
import { A as createOutboundSendDeps, An as requestHeartbeatNow, E as agentCommand, En as enqueueSystemEvent, bn as buildOutboundSessionContext, ht as resolveOutboundTarget } from "./subagent-registry-
|
|
28
|
+
import { A as createOutboundSendDeps, An as requestHeartbeatNow, E as agentCommand, En as enqueueSystemEvent, bn as buildOutboundSessionContext, ht as resolveOutboundTarget } from "./subagent-registry-DDIoRVFV.js";
|
|
29
29
|
import "./paths-CC17i2eK.js";
|
|
30
30
|
import "./chat-envelope-Dedaetiq.js";
|
|
31
31
|
import "./client-udFMSDes.js";
|
|
@@ -108,11 +108,11 @@ import "./cli-utils-BfsDuRZS.js";
|
|
|
108
108
|
import "./help-format-CldHB7lS.js";
|
|
109
109
|
import "./progress-B76RkFx7.js";
|
|
110
110
|
import "./replies-CmTF3tWU.js";
|
|
111
|
-
import "./deps-
|
|
111
|
+
import "./deps-D3ku734-.js";
|
|
112
112
|
import "./onboard-helpers-_Uk9P3FF.js";
|
|
113
113
|
import "./prompt-style-XmK49QYK.js";
|
|
114
114
|
import "./pairing-labels-CLdV_RlM.js";
|
|
115
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
115
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-Dc8RVDXC.js";
|
|
116
116
|
import { randomUUID } from "node:crypto";
|
|
117
117
|
|
|
118
118
|
//#region src/gateway/server-node-events.ts
|
|
@@ -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 { Bn as buildOutboundSessionContext, Bt as createOutboundSendDeps, Cr as enqueueSystemEvent, Dr as requestHeartbeatNow, E as resolveGatewaySessionStoreTarget, Lt as resolveOutboundTarget, T as pruneLegacyStoreKeys, jt as agentCommand, w as loadSessionEntry } from "./reply-
|
|
4
|
+
import { Bn as buildOutboundSessionContext, Bt as createOutboundSendDeps, Cr as enqueueSystemEvent, Dr as requestHeartbeatNow, E as resolveGatewaySessionStoreTarget, Lt as resolveOutboundTarget, T as pruneLegacyStoreKeys, jt as agentCommand, w as loadSessionEntry } 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";
|
|
@@ -103,7 +103,7 @@ import "./resolve-route-D_AbcmD6.js";
|
|
|
103
103
|
import "./replies-Bt95GAew.js";
|
|
104
104
|
import "./skill-commands-23SP2OFQ.js";
|
|
105
105
|
import "./workspace-dirs-SsExQ3Bz.js";
|
|
106
|
-
import "./deps-
|
|
106
|
+
import "./deps-BZOU70bs.js";
|
|
107
107
|
import "./plugin-auto-enable-DyNeRjEL.js";
|
|
108
108
|
import "./channel-selection-ZxRkxpuF.js";
|
|
109
109
|
import "./outbound-attachment-Bot3bRnK.js";
|
|
@@ -116,7 +116,7 @@ import "./pairing-labels-DWdqhnXA.js";
|
|
|
116
116
|
import "./server-lifecycle-DMOhxIYC.js";
|
|
117
117
|
import "./stagger-rQoQSWkz.js";
|
|
118
118
|
import "./system-run-command-P86Xjnl8.js";
|
|
119
|
-
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-
|
|
119
|
+
import { c as parseMessageWithAttachments, l as formatForLog, r as registerApnsToken, s as normalizeRpcAttachmentsToChatAttachments } from "./push-apns-BofP21zS.js";
|
|
120
120
|
import { randomUUID } from "node:crypto";
|
|
121
121
|
|
|
122
122
|
//#region src/gateway/server-node-events.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { I as getChildLogger, a as ensureDir, h as resolveUserPath, j as success, w as danger, z as toPinoLikeLogger } from "./utils-
|
|
2
|
-
import { tn as VERSION } from "./model-selection-
|
|
1
|
+
import { I as getChildLogger, a as ensureDir, h as resolveUserPath, j as success, w as danger, z as toPinoLikeLogger } from "./utils-D9wGoiU9.js";
|
|
2
|
+
import { tn as VERSION } from "./model-selection-C5BhfuPa.js";
|
|
3
3
|
import { t as formatCliCommand } from "./command-format-BAxx4PW5.js";
|
|
4
|
-
import { c as readCredsJsonRaw, d as resolveWebCredsBackupPath, f as resolveWebCredsPath, o as maybeRestoreCredsFromBackup, u as resolveDefaultWebAuthDir } from "./auth-store-
|
|
5
|
-
import
|
|
4
|
+
import { c as readCredsJsonRaw, d as resolveWebCredsBackupPath, f as resolveWebCredsPath, o as maybeRestoreCredsFromBackup, u as resolveDefaultWebAuthDir } from "./auth-store-Bb4aajHu.js";
|
|
5
|
+
import fs from "node:fs";
|
|
6
6
|
import { randomUUID } from "node:crypto";
|
|
7
7
|
import { DisconnectReason, fetchLatestBaileysVersion, makeCacheableSignalKeyStore, makeWASocket, useMultiFileAuthState } from "@whiskeysockets/baileys";
|
|
8
8
|
import qrcode from "qrcode-terminal";
|
|
@@ -21,16 +21,16 @@ async function safeSaveCreds(authDir, saveCreds, logger) {
|
|
|
21
21
|
const raw = readCredsJsonRaw(credsPath);
|
|
22
22
|
if (raw) try {
|
|
23
23
|
JSON.parse(raw);
|
|
24
|
-
|
|
24
|
+
fs.copyFileSync(credsPath, backupPath);
|
|
25
25
|
try {
|
|
26
|
-
|
|
26
|
+
fs.chmodSync(backupPath, 384);
|
|
27
27
|
} catch {}
|
|
28
28
|
} catch {}
|
|
29
29
|
} catch {}
|
|
30
30
|
try {
|
|
31
31
|
await Promise.resolve(saveCreds());
|
|
32
32
|
try {
|
|
33
|
-
|
|
33
|
+
fs.chmodSync(resolveWebCredsPath(authDir), 384);
|
|
34
34
|
} catch {}
|
|
35
35
|
} catch (err) {
|
|
36
36
|
logger.warn({ error: String(err) }, "failed saving WhatsApp creds");
|