@visorcraft/idlehands 4.2.6 → 4.3.0
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-B8cGzkjD.js → accounts-BDVs8LTu.js} +1 -1
- package/dist/{accounts-D5tB_lO0.js → accounts-CIvVRRHb.js} +1 -1
- package/dist/{accounts-BQC_GRUB.js → accounts-Dk8mJIrQ.js} +6 -6
- package/dist/{agent-scope-Bxq1eWbA.js → agent-scope-DyP_tr7s.js} +4 -4
- package/dist/{agent-via-gateway-BTaqOj5m.js → agent-via-gateway-5HMmToLM.js} +60 -60
- package/dist/{agent-via-gateway-B_XqJoXa.js → agent-via-gateway-DK7QU0ZB.js} +2 -2
- package/dist/{agent-via-gateway-D8QBXTZL.js → agent-via-gateway-DuSua_3v.js} +1 -1
- package/dist/{agent-via-gateway-CZLe7Ijx.js → agent-via-gateway-Ih08lAge.js} +1 -1
- package/dist/{agents-C1x5jDIo.js → agents-8uPgUCg3.js} +4 -4
- package/dist/{agents.config-B_McnvK1.js → agents.config-BY5PHIXx.js} +1 -1
- package/dist/{agents.config-4ilUlWts.js → agents.config-Cu9n1FMm.js} +1 -1
- package/dist/{anton-0pF0zqOs.js → anton-BaqnItPF.js} +7 -2
- package/dist/{anton-QvQ90n78.js → anton-Bjc-IcaK.js} +11 -6
- package/dist/{anton-BvT9_aWG.js → anton-Bt6ydJCr.js} +7 -2
- package/dist/{anton-D4a5lMjo.js → anton-C_wi0iYv.js} +7 -2
- package/dist/{audio-preflight-qkU2lsDn.js → audio-preflight-BSlR2jEq.js} +35 -35
- package/dist/{auth-choice-JcCIJBlD.js → auth-choice-BoUnFAMl.js} +1 -1
- package/dist/{auth-choice-BhfFkY6h.js → auth-choice-D42CcQbk.js} +1 -1
- package/dist/{auth-store-Bb4aajHu.js → auth-store-DXT-l7fO.js} +12 -12
- package/dist/{banner-DfFhVf3q.js → banner-CAJFhe0V.js} +1 -1
- package/dist/{bindings-CLZIJ0Eo.js → bindings-D3b5Fmc9.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/{channel-activity-DdL3RAv_.js → channel-activity-D_TMOGQ0.js} +3 -3
- package/dist/{channel-options-9SPtt4MW.js → channel-options-QLsqu186.js} +1 -1
- package/dist/{channel-options-CUviKu-7.js → channel-options-RDfj2qi-.js} +1 -1
- package/dist/{channel-web-C6dFy-1o.js → channel-web-BvrfLtDO.js} +2 -2
- package/dist/{channel-web-CFn6Nsja.js → channel-web-DvYjLJh2.js} +2 -2
- package/dist/{channels-cli-DGfqgSUL.js → channels-cli-CYqk8Loa.js} +7 -7
- package/dist/{channels-cli-B2da56zV.js → channels-cli-DVn5Wbfs.js} +7 -7
- package/dist/{chrome-CT_a9OgI.js → chrome-_2tzVjVl.js} +26 -26
- package/dist/{chunk-Djk-9JeT.js → chunk-CMpX7Jaz.js} +1 -1
- package/dist/{cli-FOBK-XcZ.js → cli-B4pRZl5k.js} +2 -2
- package/dist/{cli-DmnwiKz9.js → cli-DR1Zb2OI.js} +2 -2
- package/dist/{command-registry-DacWRRgz.js → command-registry-Dqwv1YG5.js} +10 -10
- package/dist/{commands-registry-_TBHHpvt.js → commands-registry-j4vAzcF2.js} +5 -5
- package/dist/{completion-cli-NMyMglwl.js → completion-cli-CAyvr4IW.js} +1 -1
- package/dist/{completion-cli-DydUIkNr.js → completion-cli-CQ0-FJEw.js} +2 -2
- package/dist/{config-cli-C_DUmmo_.js → config-cli-D8dwxw4Z.js} +1 -1
- package/dist/{config-cli-B4fFlFK0.js → config-cli-De18kDZ_.js} +1 -1
- package/dist/{configure-BRK8DqNR.js → configure-D1TVK9Qv.js} +3 -3
- package/dist/{configure-k0XQkt_5.js → configure-Dsvr7YAc.js} +3 -3
- package/dist/{deliver-Db2xqgLg.js → deliver-CVTXl0Cv.js} +20 -20
- package/dist/{deps-BO1TSzg3.js → deps-Bskg_V0q.js} +1 -1
- package/dist/{deps-C8gMsatU.js → deps-CtU2Pokt.js} +1 -1
- package/dist/{plugin-sdk/deps-DHns5FkJ.js → deps-DZro-zkP.js} +6 -6
- package/dist/{deps-CC9rj6VE.js → deps-aEUIKhtw.js} +1 -1
- package/dist/{diagnostic-BvlZ0Sot.js → diagnostic-4owMk4vH.js} +1 -1
- package/dist/{dock-ejUetwTC.js → dock-BgOmHcbh.js} +6 -6
- package/dist/{doctor-completion-T65otQPW.js → doctor-completion-BPRo3jvp.js} +1 -1
- package/dist/{doctor-completion-CtkKGYq1.js → doctor-completion-C80MEGkY.js} +1 -1
- package/dist/emergency-stop-BZerYBmV.js +113 -0
- package/dist/{emergency-stop-C_7XuwW8.js → emergency-stop-C6ouCWSC.js} +2 -2
- package/dist/{emergency-stop-B1WGLPIl.js → emergency-stop-DFDofFHA.js} +2 -2
- package/dist/{emergency-stop-C0olMHR9.js → emergency-stop-taOrr160.js} +2 -2
- package/dist/entry.js +1 -1
- package/dist/{env-q-PhWbb_.js → env-B5G1qwGc.js} +1 -1
- package/dist/{plugin-sdk/errors-UqLewZJL.js → errors-C_0nm4TJ.js} +1 -1
- package/dist/extensionAPI.js +2 -2
- package/dist/{fetch-guard-CcfDZXe9.js → fetch-guard-iuQsIjqN.js} +1 -1
- package/dist/{frontmatter-pTUG4Sx_.js → frontmatter-BOudmHMS.js} +2 -2
- package/dist/{fs-safe-2l05hI1Y.js → fs-safe-CYUaAFO9.js} +2 -2
- package/dist/{gateway-cli-LuvH-d8m.js → gateway-cli-BaZbmOxF.js} +9 -9
- package/dist/{gateway-cli-B4fOuxUC.js → gateway-cli-CQmvl7sG.js} +9 -9
- package/dist/{gemini-auth-DLSGffQK.js → gemini-auth-CIyaa44H.js} +2 -2
- package/dist/{github-copilot-token-BjmEQcmi.js → github-copilot-token-Dgt6cnsM.js} +7 -7
- package/dist/{health-BFXk0LFk.js → health-DydHrawb.js} +1 -1
- package/dist/{health-CpPRbWHn.js → health-j-IZ4-9x.js} +1 -1
- package/dist/{hooks-cli-q_ukCmeC.js → hooks-cli-BY3Ws0Y6.js} +3 -3
- package/dist/{hooks-cli-RL3GbGUT.js → hooks-cli-uldIB0Gg.js} +3 -3
- package/dist/{image-Dlu13Ebx.js → image-COw__ACq.js} +6 -6
- package/dist/{image-ops-J8P5zOFm.js → image-ops-D1KtygWz.js} +1 -1
- package/dist/index.js +7 -7
- package/dist/{plugin-sdk/ir-Bv0Zbp2E.js → ir-B7IBoKLy.js} +6 -6
- package/dist/llm-slug-generator.js +60 -60
- package/dist/{local-roots-d4y0lvs2.js → local-roots-KN4Hp1yZ.js} +5 -5
- package/dist/{login-C2X0In6m.js → login-CFr5vJmR.js} +6 -6
- package/dist/{login-qr-C17PY0rr.js → login-qr-CFFFOjOl.js} +11 -11
- package/dist/{manager-CgzA1hKo.js → manager-BE_76jWB.js} +15 -15
- package/dist/{markdown-tables-R8VTpfE9.js → markdown-tables-CzsockiZ.js} +1 -1
- package/dist/{message-channel-ZdI1-uUh.js → message-channel-C8QtrwEU.js} +1 -1
- package/dist/{model-selection-C5hI1dum.js → model-selection-1MMYqY6M.js} +41 -41
- package/dist/{models-DToiZ2jp.js → models-2nPE3Det.js} +2 -2
- package/dist/{models-cli-C8tnFvU6.js → models-cli-BFU-p0aB.js} +4 -4
- package/dist/{models-cli-8wuQnOxc.js → models-cli-BuM5uWMi.js} +3 -3
- package/dist/{npm-resolution-CPEoaDTw.js → npm-resolution-CjsmlVY6.js} +1 -1
- package/dist/{npm-resolution-Dz95V6fj.js → npm-resolution-Dl636Mf7.js} +1 -1
- package/dist/{onboard-DnGowokw.js → onboard-BX33pzc1.js} +2 -2
- package/dist/{onboard-Dx-J8Bes.js → onboard-BgwjeUOg.js} +2 -2
- package/dist/{onboard-channels-CU5VwTMC.js → onboard-channels-Ber55DUK.js} +1 -1
- package/dist/{onboard-channels-rnRb5koA.js → onboard-channels-DtU2SSQ4.js} +1 -1
- package/dist/{onboarding-5FnIgrWy.js → onboarding-DH5sux_u.js} +3 -3
- package/dist/{onboarding-ztl5snrV.js → onboarding-KoIrYKty.js} +3 -3
- package/dist/{onboarding.finalize-CvJCdPZc.js → onboarding.finalize-D3EFovPs.js} +6 -6
- package/dist/{onboarding.finalize-DpwZIBVH.js → onboarding.finalize-KbhTSwlL.js} +7 -7
- package/dist/{outbound-CdY_AskB.js → outbound-BNh6PpQb.js} +6 -6
- package/dist/{outbound-attachment-IfeZJAKk.js → outbound-attachment-3I6GzwDe.js} +2 -2
- package/dist/{path-alias-guards-BZmt6hFb.js → path-alias-guards-Cu1nXNMM.js} +1 -1
- package/dist/{paths-DQpv9a3Q.js → paths-BYNVLNi_.js} +5 -5
- package/dist/{paths-D3p7ZvM6.js → paths-D_qUel1T.js} +3 -3
- package/dist/{pi-embedded-Cfe7sfXp.js → pi-embedded-CK-jSu4T.js} +11 -11
- package/dist/{pi-embedded-CQoT3WaM.js → pi-embedded-PsA_MErm.js} +184 -184
- package/dist/{pi-embedded-helpers-B3ceCcxm.js → pi-embedded-helpers-CyTpDKo5.js} +24 -24
- package/dist/{pi-model-discovery-Dlx4RLWo.js → pi-model-discovery-Bb__OY-j.js} +7 -7
- package/dist/{plugin-registry-BCBZDFZm.js → plugin-registry-BVOVWX9b.js} +1 -1
- package/dist/{plugin-registry-CY9YBaxv.js → plugin-registry-CgGd-8sR.js} +1 -1
- package/dist/plugin-sdk/{accounts-Kt6ygPsC.js → accounts-BLYMokxV.js} +2 -2
- package/dist/plugin-sdk/{accounts-mjFAny5F.js → accounts-C5tHm1UI.js} +1 -1
- package/dist/plugin-sdk/{accounts-B9nfRzyn.js → accounts-CBVAw5_G.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-CU41EMlR.js → agent-scope-jl80I5G9.js} +2 -2
- package/dist/plugin-sdk/{agent-via-gateway-DgS1tFFD.js → agent-via-gateway-xY1dCxZI.js} +55 -55
- package/dist/plugin-sdk/{anton-CNaMAyWx.js → anton-H8HwVBdI.js} +10 -5
- package/dist/plugin-sdk/{api-key-rotation-CZhCWd61.js → api-key-rotation-D6nK54XH.js} +2 -2
- package/dist/plugin-sdk/{audio-preflight-CRgDehfO.js → audio-preflight-CKqqN8ty.js} +30 -30
- package/dist/plugin-sdk/{auth-store-DycBvVqL.js → auth-store-DaPWgQTx.js} +1 -1
- package/dist/plugin-sdk/{bindings-BDKKHGv-.js → bindings-xXgmJGxj.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-TcS_VfJk.js → channel-activity-loOg1DRw.js} +3 -3
- package/dist/plugin-sdk/{channel-web-DwpLcf95.js → channel-web-BQhRtgZf.js} +24 -24
- package/dist/plugin-sdk/{chrome-BCTizrZD.js → chrome-Cb9FgiCI.js} +6 -6
- package/dist/plugin-sdk/{chunk-DZr5xuqv.js → chunk-PW4MBmaN.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-BqJLwZYh.js → commands-registry-B5m2EsHz.js} +5 -5
- package/dist/plugin-sdk/{config-BzPMtEKA.js → config-CEgzwk0J.js} +10 -10
- package/dist/plugin-sdk/{deliver-Cfc1UCre.js → deliver-BNfMF0Nb.js} +10 -10
- package/dist/{deps-BQsD8-_C.js → plugin-sdk/deps-BBg-c9uJ.js} +6 -6
- package/dist/plugin-sdk/{diagnostic-B8VzcqLf.js → diagnostic-ByA6zvzu.js} +1 -1
- package/dist/plugin-sdk/{dock-CMURqoee.js → dock-DKQYtT6-.js} +6 -6
- package/dist/plugin-sdk/{emergency-stop-BV2NiRit.js → emergency-stop-DbWWdmqc.js} +55 -55
- package/dist/plugin-sdk/{env-qurSiOO2.js → env-5XecRTLs.js} +1 -1
- package/dist/{errors-C4SHjIZK.js → plugin-sdk/errors-CMcD8Lhh.js} +1 -1
- package/dist/plugin-sdk/{fetch-guard-C174s8ZV.js → fetch-guard-DwdUEdmT.js} +1 -1
- package/dist/plugin-sdk/{fs-safe-CCXTOK7j.js → fs-safe-qsx2_8-o.js} +2 -2
- package/dist/plugin-sdk/{image-DDuK8tyO.js → image-C_1tftC8.js} +6 -6
- package/dist/plugin-sdk/{image-ops-BRYGGDwL.js → image-ops-CXSUo-AM.js} +1 -1
- package/dist/plugin-sdk/index.js +60 -60
- package/dist/{ir-BT5aAdU9.js → plugin-sdk/ir-kdDGpPMq.js} +6 -6
- package/dist/plugin-sdk/{local-roots-bHCsSVt_.js → local-roots-DjB6DYeI.js} +4 -4
- package/dist/plugin-sdk/{login-CkQrnY2G.js → login-DIwO5D5Y.js} +6 -6
- package/dist/plugin-sdk/{login-qr-DAeHibH_.js → login-qr-CpCAJuvT.js} +8 -8
- package/dist/plugin-sdk/{manager-CTC1S_c9.js → manager-Dox9r7og.js} +10 -10
- package/dist/plugin-sdk/{markdown-tables-DfUQHRZY.js → markdown-tables-Drtwd4J5.js} +1 -1
- package/dist/plugin-sdk/{message-channel-DiMXmQeQ.js → message-channel-CQ0qkGHj.js} +1 -1
- package/dist/plugin-sdk/{outbound-B1twcfz5.js → outbound-Dx_q6JAI.js} +6 -6
- package/dist/plugin-sdk/{outbound-attachment-Bs7fNaqv.js → outbound-attachment-BisU5Vji.js} +2 -2
- package/dist/plugin-sdk/{path-alias-guards-yyy61qHh.js → path-alias-guards-C_uBEYb4.js} +1 -1
- package/dist/plugin-sdk/{pi-embedded-helpers-BAm9cWol.js → pi-embedded-helpers-B68z4sHq.js} +16 -16
- package/dist/plugin-sdk/{pi-model-discovery-Bt6JtUFr.js → pi-model-discovery-Dt6899be.js} +1 -1
- package/dist/plugin-sdk/{plugins-DRPlVBr_.js → plugins-NTjIvHYk.js} +5 -5
- package/dist/plugin-sdk/{pw-ai-CY0evCZ2.js → pw-ai-Dk2PTZzq.js} +10 -10
- package/dist/plugin-sdk/{qmd-manager-BckPBwZX.js → qmd-manager-juzrnopq.js} +5 -5
- package/dist/plugin-sdk/{query-expansion-CPqK-tTR.js → query-expansion-xBXvzdkL.js} +2 -2
- package/dist/plugin-sdk/{redact-Ub8sMBBC.js → redact-B6VQH3UQ.js} +1 -1
- package/dist/plugin-sdk/{replies-DwTNZJgi.js → replies-ZovJp-3F.js} +3 -3
- package/dist/plugin-sdk/{reply-B_cEB9MH.js → reply-DrJONWCw.js} +95 -95
- package/dist/plugin-sdk/{reply-prefix-BqV0o7_7.js → reply-prefix--mxmTL7A.js} +1 -1
- package/dist/plugin-sdk/{resolve-outbound-target-DAdNGEqG.js → resolve-outbound-target-CnUtsDch.js} +2 -2
- package/dist/plugin-sdk/{resolve-route-C5mAwY-o.js → resolve-route-BZABUE4J.js} +3 -3
- package/dist/plugin-sdk/{retry-2OVzZJMZ.js → retry-Bh7jveNm.js} +1 -1
- package/dist/plugin-sdk/{runner-Ck0w3rcz.js → runner-CZz1tOIR.js} +10 -10
- package/dist/plugin-sdk/{send-BBD-m-nM.js → send-0EVlThEG.js} +10 -10
- package/dist/plugin-sdk/{send-CaPoBwby.js → send-B26cNPqY.js} +6 -6
- package/dist/plugin-sdk/{send-CPeuqOlq.js → send-BCjVQhp3.js} +13 -13
- package/dist/plugin-sdk/{send-SsqudCMv.js → send-CHUGIZs9.js} +7 -7
- package/dist/plugin-sdk/{send-A4Lv5nrg.js → send-Cb5NIN8s.js} +7 -7
- package/dist/plugin-sdk/{session-DpL4uk1J.js → session-DdJj6_DW.js} +3 -3
- package/dist/plugin-sdk/{sessions-CQ5iD4Uq.js → sessions-DNx9c2O2.js} +6 -6
- package/dist/plugin-sdk/{skill-commands-C_O9I71g.js → skill-commands-DorIK8kn.js} +5 -5
- package/dist/plugin-sdk/{skills-DmiIiX4l.js → skills-Dh_Cf2PA.js} +8 -8
- package/dist/plugin-sdk/{store-BI3rLJdW.js → store-CCCXwngh.js} +2 -2
- package/dist/plugin-sdk/{subsystem-lJo9gqAK.js → subsystem-DWPzKeZ0.js} +1 -1
- package/dist/plugin-sdk/{tables-C4X_nAUQ.js → tables-CF9W23Rd.js} +1 -1
- package/dist/plugin-sdk/{target-errors-CXh6e9ZE.js → target-errors-DaH0qYtL.js} +2 -2
- package/dist/plugin-sdk/{tokens-CU9S3S7t.js → tokens-Y97UKh4C.js} +1 -1
- package/dist/{tool-images-Duuqr4bN.js → plugin-sdk/tool-images-BMRkn_yk.js} +2 -2
- package/dist/plugin-sdk/{tool-loop-detection-DuwkSqZL.js → tool-loop-detection-Cv8wyfAi.js} +2 -2
- package/dist/plugin-sdk/{utils-dP-FpIgu.js → utils-Dyj2wV4e.js} +2 -2
- package/dist/plugin-sdk/web-BknW_M58.js +71 -0
- package/dist/plugin-sdk/{whatsapp-actions-Bcknq6EZ.js → whatsapp-actions-B5g-Rywy.js} +23 -23
- package/dist/{plugins-DYr-HHj0.js → plugins-CRB60mCJ.js} +10 -10
- package/dist/{plugins-cli-BLcXY9sR.js → plugins-cli-3FP5PzJN.js} +3 -3
- package/dist/{plugins-cli-c-YfMlpn.js → plugins-cli-yBP6Z5vo.js} +3 -3
- package/dist/{program-IXAxx4y-.js → program-Dx-tntwb.js} +8 -8
- package/dist/{program-context-lbXboD45.js → program-context-DNGnEncX.js} +18 -18
- package/dist/{prompt-select-styled-D1foahBO.js → prompt-select-styled-BEfacfzJ.js} +4 -4
- package/dist/{prompt-select-styled-C9ZBkTHU.js → prompt-select-styled-CZ5tVK0d.js} +4 -4
- package/dist/{provider-auth-helpers-CKJG35W4.js → provider-auth-helpers-9KbSl6wC.js} +1 -1
- package/dist/{provider-auth-helpers-Q2ZCYpBX.js → provider-auth-helpers-BjhDlZPy.js} +1 -1
- package/dist/{push-apns-DbZAasNF.js → push-apns-DKEkqP3i.js} +1 -1
- package/dist/{push-apns-DM5pSWEU.js → push-apns-DQ2zaRjy.js} +1 -1
- package/dist/{pw-ai-DIV4PcIo.js → pw-ai-CowTfhOG.js} +13 -13
- package/dist/{qmd-manager-BRvg3Rx2.js → qmd-manager-B_GgyQQ0.js} +8 -8
- package/dist/{query-expansion-DHuNyU-_.js → query-expansion-DEq020GG.js} +5 -5
- package/dist/{redact-1Y0KPNtr.js → redact-Bvpf-ATQ.js} +1 -1
- package/dist/{register.agent-BObt1WS1.js → register.agent-CHq9Q2Z8.js} +8 -8
- package/dist/{register.agent-CMgUOruT.js → register.agent-DwAHrjFg.js} +9 -9
- package/dist/{register.configure-BSoAZhfz.js → register.configure-1UTeGz1q.js} +8 -8
- package/dist/{register.configure-B3lElmGa.js → register.configure-CN1cT56c.js} +8 -8
- package/dist/{register.maintenance-mxkecZ9A.js → register.maintenance-D9bJRVwH.js} +9 -9
- package/dist/{register.maintenance-0PNfXeOc.js → register.maintenance-DZedYvuG.js} +8 -8
- package/dist/{register.message-Dr4UBjNt.js → register.message-D1Ik7PHN.js} +3 -3
- package/dist/{register.message-D7VHunA0.js → register.message-D6xDTLi2.js} +3 -3
- package/dist/{register.onboard-Xh9xW0hH.js → register.onboard-CrxqSKpx.js} +2 -2
- package/dist/{register.onboard-BvDwJMC5.js → register.onboard-CvfydQEo.js} +2 -2
- package/dist/{register.orchestrator-anton-CObXxmuY.js → register.orchestrator-anton-CT6MrNmP.js} +2 -2
- package/dist/{register.orchestrator-anton-DShH4ce_.js → register.orchestrator-anton-NJ6Ar5xd.js} +2 -2
- package/dist/{register.setup-BxsKZdfB.js → register.setup-DlCW2QXX.js} +2 -2
- package/dist/{register.setup-d2XyhTY9.js → register.setup-TO__GMMH.js} +2 -2
- package/dist/{register.status-health-sessions-wyNUhSbK.js → register.status-health-sessions-7SBSa4mh.js} +4 -4
- package/dist/{register.status-health-sessions-CADZZQMe.js → register.status-health-sessions-B3DKk0EE.js} +4 -4
- package/dist/{register.subclis-Bh3Lakik.js → register.subclis-BW98Fvgs.js} +9 -9
- package/dist/{replies-2C16fnBP.js → replies-6_GxvQYe.js} +3 -3
- package/dist/{reply-AI4n5V-o.js → reply-FU1dcyha.js} +11 -11
- package/dist/{reply-prefix-DCljZiIB.js → reply-prefix-BUgeSN2R.js} +1 -1
- package/dist/{resolve-route-ClcifpKn.js → resolve-route-DuttYY7A.js} +4 -4
- package/dist/{retry-CG6cMRDQ.js → retry-BeB9WenR.js} +1 -1
- package/dist/{run-main-DNLZvSB0.js → run-main-CdkhxjJp.js} +15 -15
- package/dist/{runner-BkCU-kqs.js → runner-BzNdfqDz.js} +11 -11
- package/dist/{send-DZa8fWSm.js → send-BeIZJuy4.js} +7 -7
- package/dist/{send-Y1hD4tQ1.js → send-C1hvd3bt.js} +6 -6
- package/dist/{send-BOxJ4QXF.js → send-D4bMycQu.js} +7 -7
- package/dist/{send-FLdrx-oF.js → send-Dfa3sn6r.js} +24 -24
- package/dist/{send-IlPMLAH-.js → send-DmLC7aEF.js} +10 -10
- package/dist/{server-node-events-DPeIs1oo.js → server-node-events-D67Czp49.js} +3 -3
- package/dist/{server-node-events-B9rufyZR.js → server-node-events-Ds9lI_7v.js} +3 -3
- package/dist/{session-nUPBXeEa.js → session-F_YDS_1V.js} +7 -7
- package/dist/{sessions-DRA4oaxz.js → sessions-3ioSeOA1.js} +41 -41
- package/dist/{skill-commands-BHTBXXVn.js → skill-commands-Ck3flWX7.js} +9 -9
- package/dist/{skills-umlGvChF.js → skills-CnAPWfca.js} +22 -22
- package/dist/{status-rvywYmZR.js → status-C80KAfkh.js} +2 -2
- package/dist/{status-CvtDDIW9.js → status-Dej3rSxN.js} +2 -2
- package/dist/{store-D-ZicQeo.js → store-CvMgrKWx.js} +2 -2
- package/dist/{subagent-registry-D7Dwl-dH.js → subagent-registry-dBsIIN3w.js} +11 -11
- package/dist/{subsystem-D7ZepYT1.js → subsystem-tzu-rIAJ.js} +1 -1
- package/dist/{tables-Co_R_WKs.js → tables-5k-zOZ-s.js} +1 -1
- package/dist/{target-errors-B1mcM4WR.js → target-errors-BPfQrPim.js} +2 -2
- package/dist/{tokens-DGajj8M9.js → tokens-BRLyURxW.js} +1 -1
- package/dist/{plugin-sdk/tool-images-Cf9aWlVu.js → tool-images-CcGZpzmq.js} +2 -2
- package/dist/{tool-loop-detection-CjWRg_4q.js → tool-loop-detection-BNGetx3Z.js} +3 -3
- package/dist/{update-cli-DaGTiqso.js → update-cli-C56OuDKi.js} +9 -9
- package/dist/{update-cli-Bofvelva.js → update-cli-Da33HUfk.js} +8 -8
- package/dist/{update-runner-4txNUERu.js → update-runner-BNnvswc6.js} +1 -1
- package/dist/{update-runner-B9mGXrK4.js → update-runner-ba7IRoZC.js} +1 -1
- package/dist/{utils-D9wGoiU9.js → utils-CTFLl_ji.js} +18 -18
- package/dist/{web-D3gOCfby.js → web--lehtsgF.js} +3 -3
- package/dist/{web-D3gEaA39.js → web-6k8rkBnj.js} +3 -3
- package/dist/{web-D7J5iB9K.js → web-CLdGEolQ.js} +66 -66
- package/dist/{web-DhiwmDh8.js → web-PGsByQEq.js} +3 -3
- package/dist/{whatsapp-actions-BJ6kVDXi.js → whatsapp-actions-DbPcN6JQ.js} +25 -25
- package/dist/{workspace-tAtkoD_r.js → workspace-DBFSzT6O.js} +18 -18
- package/package.json +1 -1
- package/dist/emergency-stop-DVyGxgzf.js +0 -113
- package/dist/plugin-sdk/web-B-hYOnMb.js +0 -71
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as normalizeAccountId } from "./session-key-CuLPSMu_.js";
|
|
2
|
-
import { r as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { r as createAccountListHelpers } from "./accounts-Dk8mJIrQ.js";
|
|
3
3
|
import { t as resolveAccountEntry } from "./account-lookup-DlMshWZ_.js";
|
|
4
4
|
|
|
5
5
|
//#region src/signal/accounts.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as normalizeAccountId } from "./session-key-CuLPSMu_.js";
|
|
2
|
-
import { r as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { r as createAccountListHelpers } from "./accounts-Dk8mJIrQ.js";
|
|
3
3
|
import { t as resolveAccountEntry } from "./account-lookup-DlMshWZ_.js";
|
|
4
4
|
|
|
5
5
|
//#region src/imessage/accounts.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { l as resolveOAuthDir } from "./paths-
|
|
2
|
-
import { h as resolveUserPath } from "./utils-
|
|
1
|
+
import { l as resolveOAuthDir } from "./paths-BYNVLNi_.js";
|
|
2
|
+
import { h as resolveUserPath } from "./utils-CTFLl_ji.js";
|
|
3
3
|
import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-CuLPSMu_.js";
|
|
4
4
|
import { t as resolveAccountEntry } from "./account-lookup-DlMshWZ_.js";
|
|
5
|
-
import { r as hasWebCredsSync } from "./auth-store-
|
|
5
|
+
import { r as hasWebCredsSync } from "./auth-store-DXT-l7fO.js";
|
|
6
6
|
import path from "node:path";
|
|
7
|
-
import
|
|
7
|
+
import syncFs from "node:fs";
|
|
8
8
|
|
|
9
9
|
//#region src/channels/plugins/account-helpers.ts
|
|
10
10
|
function createAccountListHelpers(channelKey) {
|
|
@@ -44,7 +44,7 @@ function listWhatsAppAuthDirs(cfg) {
|
|
|
44
44
|
accountId
|
|
45
45
|
}).authDir);
|
|
46
46
|
try {
|
|
47
|
-
const entries =
|
|
47
|
+
const entries = syncFs.readdirSync(whatsappDir, { withFileTypes: true });
|
|
48
48
|
for (const entry of entries) {
|
|
49
49
|
if (!entry.isDirectory()) continue;
|
|
50
50
|
authDirs.add(path.join(whatsappDir, entry.name));
|
|
@@ -66,7 +66,7 @@ function resolveLegacyAuthDir() {
|
|
|
66
66
|
}
|
|
67
67
|
function legacyAuthExists(authDir) {
|
|
68
68
|
try {
|
|
69
|
-
return
|
|
69
|
+
return syncFs.existsSync(path.join(authDir, "creds.json"));
|
|
70
70
|
} catch {
|
|
71
71
|
return false;
|
|
72
72
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as resolveStateDir } from "./paths-
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { h as resolveUserPath } from "./utils-
|
|
1
|
+
import { d as resolveStateDir } from "./paths-BYNVLNi_.js";
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-tzu-rIAJ.js";
|
|
3
|
+
import { h as resolveUserPath } from "./utils-CTFLl_ji.js";
|
|
4
4
|
import { l as resolveAgentIdFromSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID, x as parseAgentSessionKey } from "./session-key-CuLPSMu_.js";
|
|
5
|
-
import { p as resolveDefaultAgentWorkspaceDir } from "./workspace-
|
|
5
|
+
import { p as resolveDefaultAgentWorkspaceDir } from "./workspace-DBFSzT6O.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
8
8
|
//#region src/config/model-input.ts
|
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
import { n as listAgentIds } from "./agent-scope-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import "./subsystem-
|
|
4
|
-
import "./utils-
|
|
1
|
+
import { n as listAgentIds } from "./agent-scope-DyP_tr7s.js";
|
|
2
|
+
import "./paths-BYNVLNi_.js";
|
|
3
|
+
import "./subsystem-tzu-rIAJ.js";
|
|
4
|
+
import "./utils-CTFLl_ji.js";
|
|
5
5
|
import "./runtime-8mi3mpYB.js";
|
|
6
6
|
import { s as normalizeAgentId } from "./session-key-CuLPSMu_.js";
|
|
7
|
-
import "./workspace-
|
|
8
|
-
import { R as loadConfig } from "./model-selection-
|
|
9
|
-
import "./github-copilot-token-
|
|
7
|
+
import "./workspace-DBFSzT6O.js";
|
|
8
|
+
import { R as loadConfig } from "./model-selection-1MMYqY6M.js";
|
|
9
|
+
import "./github-copilot-token-Dgt6cnsM.js";
|
|
10
10
|
import { t as formatCliCommand } from "./command-format-BAxx4PW5.js";
|
|
11
11
|
import "./boolean-CE7i9tBR.js";
|
|
12
|
-
import "./env-
|
|
13
|
-
import "./dock-
|
|
14
|
-
import "./tokens-
|
|
15
|
-
import { H as randomIdempotencyKey, V as callGateway, a as agentCommand, o as resolveSessionKeyForRequest, v as withProgress } from "./pi-embedded-
|
|
16
|
-
import "./plugins-
|
|
17
|
-
import "./accounts-
|
|
18
|
-
import "./bindings-
|
|
19
|
-
import "./auth-store-
|
|
20
|
-
import "./send-
|
|
21
|
-
import "./send-
|
|
22
|
-
import "./deliver-
|
|
23
|
-
import "./diagnostic-
|
|
12
|
+
import "./env-B5G1qwGc.js";
|
|
13
|
+
import "./dock-BgOmHcbh.js";
|
|
14
|
+
import "./tokens-BRLyURxW.js";
|
|
15
|
+
import { H as randomIdempotencyKey, V as callGateway, a as agentCommand, o as resolveSessionKeyForRequest, v as withProgress } from "./pi-embedded-PsA_MErm.js";
|
|
16
|
+
import "./plugins-CRB60mCJ.js";
|
|
17
|
+
import "./accounts-Dk8mJIrQ.js";
|
|
18
|
+
import "./bindings-D3b5Fmc9.js";
|
|
19
|
+
import "./auth-store-DXT-l7fO.js";
|
|
20
|
+
import "./send-BeIZJuy4.js";
|
|
21
|
+
import "./send-DmLC7aEF.js";
|
|
22
|
+
import "./deliver-CVTXl0Cv.js";
|
|
23
|
+
import "./diagnostic-4owMk4vH.js";
|
|
24
24
|
import "./diagnostic-session-state-BGF2r-kt.js";
|
|
25
|
-
import "./accounts-
|
|
26
|
-
import "./send-
|
|
27
|
-
import "./image-ops-
|
|
28
|
-
import "./pi-model-discovery-
|
|
29
|
-
import { d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, s as normalizeMessageChannel } from "./message-channel-
|
|
30
|
-
import "./pi-embedded-helpers-
|
|
31
|
-
import "./chrome-
|
|
25
|
+
import "./accounts-BDVs8LTu.js";
|
|
26
|
+
import "./send-Dfa3sn6r.js";
|
|
27
|
+
import "./image-ops-D1KtygWz.js";
|
|
28
|
+
import "./pi-model-discovery-Bb__OY-j.js";
|
|
29
|
+
import { d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, s as normalizeMessageChannel } from "./message-channel-C8QtrwEU.js";
|
|
30
|
+
import "./pi-embedded-helpers-CyTpDKo5.js";
|
|
31
|
+
import "./chrome-_2tzVjVl.js";
|
|
32
32
|
import "./ssrf-CZeHDwVZ.js";
|
|
33
|
-
import "./frontmatter-
|
|
34
|
-
import "./skills-
|
|
35
|
-
import "./path-alias-guards-
|
|
36
|
-
import "./redact-
|
|
37
|
-
import "./errors-
|
|
38
|
-
import "./fs-safe-
|
|
39
|
-
import "./store-
|
|
40
|
-
import "./sessions-
|
|
41
|
-
import "./accounts-
|
|
42
|
-
import "./paths-
|
|
43
|
-
import "./tool-images-
|
|
33
|
+
import "./frontmatter-BOudmHMS.js";
|
|
34
|
+
import "./skills-CnAPWfca.js";
|
|
35
|
+
import "./path-alias-guards-Cu1nXNMM.js";
|
|
36
|
+
import "./redact-Bvpf-ATQ.js";
|
|
37
|
+
import "./errors-C_0nm4TJ.js";
|
|
38
|
+
import "./fs-safe-CYUaAFO9.js";
|
|
39
|
+
import "./store-CvMgrKWx.js";
|
|
40
|
+
import "./sessions-3ioSeOA1.js";
|
|
41
|
+
import "./accounts-CIvVRRHb.js";
|
|
42
|
+
import "./paths-D_qUel1T.js";
|
|
43
|
+
import "./tool-images-CcGZpzmq.js";
|
|
44
44
|
import "./thinking-z4_linel.js";
|
|
45
|
-
import "./image-
|
|
46
|
-
import "./reply-prefix-
|
|
47
|
-
import "./manager-
|
|
48
|
-
import "./gemini-auth-
|
|
49
|
-
import "./fetch-guard-
|
|
50
|
-
import "./query-expansion-
|
|
51
|
-
import "./retry-
|
|
52
|
-
import "./target-errors-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./markdown-tables-
|
|
55
|
-
import "./local-roots-
|
|
56
|
-
import "./ir-
|
|
45
|
+
import "./image-COw__ACq.js";
|
|
46
|
+
import "./reply-prefix-BUgeSN2R.js";
|
|
47
|
+
import "./manager-BE_76jWB.js";
|
|
48
|
+
import "./gemini-auth-CIyaa44H.js";
|
|
49
|
+
import "./fetch-guard-iuQsIjqN.js";
|
|
50
|
+
import "./query-expansion-DEq020GG.js";
|
|
51
|
+
import "./retry-BeB9WenR.js";
|
|
52
|
+
import "./target-errors-BPfQrPim.js";
|
|
53
|
+
import "./chunk-CMpX7Jaz.js";
|
|
54
|
+
import "./markdown-tables-CzsockiZ.js";
|
|
55
|
+
import "./local-roots-KN4Hp1yZ.js";
|
|
56
|
+
import "./ir-B7IBoKLy.js";
|
|
57
57
|
import "./render-MTSxc7LK.js";
|
|
58
|
-
import "./commands-registry-
|
|
59
|
-
import "./skill-commands-
|
|
60
|
-
import "./runner-
|
|
58
|
+
import "./commands-registry-j4vAzcF2.js";
|
|
59
|
+
import "./skill-commands-Ck3flWX7.js";
|
|
60
|
+
import "./runner-BzNdfqDz.js";
|
|
61
61
|
import "./fetch-CsfR_943.js";
|
|
62
|
-
import "./channel-activity-
|
|
63
|
-
import "./tables-
|
|
64
|
-
import "./send-
|
|
65
|
-
import "./outbound-attachment-
|
|
66
|
-
import "./send-
|
|
67
|
-
import "./resolve-route-
|
|
62
|
+
import "./channel-activity-D_TMOGQ0.js";
|
|
63
|
+
import "./tables-5k-zOZ-s.js";
|
|
64
|
+
import "./send-C1hvd3bt.js";
|
|
65
|
+
import "./outbound-attachment-3I6GzwDe.js";
|
|
66
|
+
import "./send-D4bMycQu.js";
|
|
67
|
+
import "./resolve-route-DuttYY7A.js";
|
|
68
68
|
import "./proxy-CRB9oCP5.js";
|
|
69
|
-
import "./replies-
|
|
70
|
-
import "./deps-
|
|
69
|
+
import "./replies-6_GxvQYe.js";
|
|
70
|
+
import "./deps-DZro-zkP.js";
|
|
71
71
|
|
|
72
72
|
//#region src/commands/agent-via-gateway.ts
|
|
73
73
|
const NO_GATEWAY_TIMEOUT_MS = 2147e6;
|
|
@@ -11,7 +11,7 @@ import { t as formatCliCommand } from "./command-format-BAxx4PW5.js";
|
|
|
11
11
|
import "./env-BpvqFD5n.js";
|
|
12
12
|
import "./dock-QcCdS4qA.js";
|
|
13
13
|
import "./tokens-Cg4XNE3H.js";
|
|
14
|
-
import { H as callGateway, U as randomIdempotencyKey, a as agentCommand, o as resolveSessionKeyForRequest, v as withProgress } from "./pi-embedded-
|
|
14
|
+
import { H as callGateway, U as randomIdempotencyKey, a as agentCommand, o as resolveSessionKeyForRequest, v as withProgress } from "./pi-embedded-CK-jSu4T.js";
|
|
15
15
|
import "./plugins-D-_jp4FO.js";
|
|
16
16
|
import "./accounts-BwrguHMw.js";
|
|
17
17
|
import "./bindings-hT7SPhiA.js";
|
|
@@ -64,7 +64,7 @@ import "./send-Cn2wvd3W.js";
|
|
|
64
64
|
import "./resolve-route-BI3VjtwE.js";
|
|
65
65
|
import "./proxy-CNZpb4NE.js";
|
|
66
66
|
import "./replies-CqYEEgmA.js";
|
|
67
|
-
import "./deps-
|
|
67
|
+
import "./deps-Bskg_V0q.js";
|
|
68
68
|
|
|
69
69
|
//#region src/commands/agent-via-gateway.ts
|
|
70
70
|
const NO_GATEWAY_TIMEOUT_MS = 2147e6;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Mt as resolveSessionKeyForRequest, jt as agentCommand } from "./reply-
|
|
2
|
+
import { Mt as resolveSessionKeyForRequest, jt as agentCommand } from "./reply-FU1dcyha.js";
|
|
3
3
|
import { r as listAgentIds } from "./agent-scope-RA0zXRpu.js";
|
|
4
4
|
import { s as normalizeAgentId } from "./session-key-Cuihcz_O.js";
|
|
5
5
|
import { It as loadConfig } from "./model-selection-0dGxYGp8.js";
|
|
@@ -4,7 +4,7 @@ import { t as formatCliCommand } from "./command-format-CPa5ksO_.js";
|
|
|
4
4
|
import { r as listAgentIds } from "./agent-scope-mLXQGQde.js";
|
|
5
5
|
import { s as normalizeAgentId } from "./session-key-B9ePuoPx.js";
|
|
6
6
|
import { h as GATEWAY_CLIENT_NAMES, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES } from "./message-channel-Qpj4ExtQ.js";
|
|
7
|
-
import { D as resolveSessionKeyForRequest, E as agentCommand } from "./subagent-registry-
|
|
7
|
+
import { D as resolveSessionKeyForRequest, E as agentCommand } from "./subagent-registry-dBsIIN3w.js";
|
|
8
8
|
import { a as randomIdempotencyKey, n as callGateway } from "./call-C82rD2Wn.js";
|
|
9
9
|
import { n as withProgress } from "./progress-B76RkFx7.js";
|
|
10
10
|
|
|
@@ -6,18 +6,18 @@ import { t as formatCliCommand } from "./command-format-CPa5ksO_.js";
|
|
|
6
6
|
import { a as resolveAgentDir, b as DEFAULT_IDENTITY_FILENAME, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-mLXQGQde.js";
|
|
7
7
|
import { m as DEFAULT_ACCOUNT_ID, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-B9ePuoPx.js";
|
|
8
8
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CCrfZ49T.js";
|
|
9
|
-
import { M as identityHasValues, P as parseIdentityMarkdown } from "./subagent-registry-
|
|
9
|
+
import { M as identityHasValues, P as parseIdentityMarkdown } from "./subagent-registry-dBsIIN3w.js";
|
|
10
10
|
import { l as resolveSessionTranscriptsDirForAgent } from "./paths-CC17i2eK.js";
|
|
11
11
|
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-DWivfzcc.js";
|
|
12
12
|
import { t as WizardCancelledError } from "./prompts-D3HHe1ZZ.js";
|
|
13
13
|
import { t as createClackPrompter } from "./clack-prompter-Bo7vS5xP.js";
|
|
14
14
|
import { t as resolveChannelDefaultAccountId } from "./helpers-CIyuenBU.js";
|
|
15
15
|
import { a as parseBindingSpecs, i as describeBinding, n as applyAgentBindings, o as removeAgentBindings, r as buildChannelBindings, t as requireValidConfigSnapshot } from "./config-validation-BgKexeQb.js";
|
|
16
|
-
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
17
|
-
import { r as setupChannels } from "./onboard-channels-
|
|
16
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-Cu9n1FMm.js";
|
|
17
|
+
import { r as setupChannels } from "./onboard-channels-DtU2SSQ4.js";
|
|
18
18
|
import { n as logConfigUpdated } from "./logging-MF6Thoxk.js";
|
|
19
19
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-kycZqH8q.js";
|
|
20
|
-
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-
|
|
20
|
+
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-BoUnFAMl.js";
|
|
21
21
|
import path from "node:path";
|
|
22
22
|
import fs from "node:fs/promises";
|
|
23
23
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { en as identityHasValues, tn as loadAgentIdentityFromWorkspace } from "./reply-
|
|
1
|
+
import { en as identityHasValues, tn as loadAgentIdentityFromWorkspace } from "./reply-FU1dcyha.js";
|
|
2
2
|
import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-RA0zXRpu.js";
|
|
3
3
|
import { s as normalizeAgentId } from "./session-key-Cuihcz_O.js";
|
|
4
4
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-mLXQGQde.js";
|
|
2
2
|
import { s as normalizeAgentId } from "./session-key-B9ePuoPx.js";
|
|
3
|
-
import { M as identityHasValues, N as loadAgentIdentityFromWorkspace } from "./subagent-registry-
|
|
3
|
+
import { M as identityHasValues, N as loadAgentIdentityFromWorkspace } from "./subagent-registry-dBsIIN3w.js";
|
|
4
4
|
|
|
5
5
|
//#region src/commands/agents.config.ts
|
|
6
6
|
function findAgentEntryIndex(list, agentId) {
|
|
@@ -149,7 +149,12 @@ function parsePendingTasksFromJson(jsonText) {
|
|
|
149
149
|
jsonPath
|
|
150
150
|
});
|
|
151
151
|
};
|
|
152
|
-
if (data
|
|
152
|
+
if (Array.isArray(data)) for (let i = 0; i < data.length; i++) {
|
|
153
|
+
const task = data[i];
|
|
154
|
+
if (!task || typeof task !== "object") continue;
|
|
155
|
+
pushTask([i], task);
|
|
156
|
+
}
|
|
157
|
+
else if (data && typeof data === "object") {
|
|
153
158
|
const root = data;
|
|
154
159
|
const tasks = root.tasks;
|
|
155
160
|
if (Array.isArray(tasks)) for (let i = 0; i < tasks.length; i++) {
|
|
@@ -402,7 +407,7 @@ async function loadAntonConfig() {
|
|
|
402
407
|
}
|
|
403
408
|
}
|
|
404
409
|
async function runAgentTask(args) {
|
|
405
|
-
const { agentCliCommand } = await import("./agent-via-gateway-
|
|
410
|
+
const { agentCliCommand } = await import("./agent-via-gateway-Ih08lAge.js").then((n) => n.n);
|
|
406
411
|
const extraSystemPrompt = args.workspaceDir ? `Your working directory is: ${args.workspaceDir}\nAll file paths are relative to this directory. Use this as your cwd for all operations.` : void 0;
|
|
407
412
|
const result = await agentCliCommand({
|
|
408
413
|
message: args.message,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import { t as CONFIG_DIR } from "./utils-
|
|
1
|
+
import "./paths-BYNVLNi_.js";
|
|
2
|
+
import { t as CONFIG_DIR } from "./utils-CTFLl_ji.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import { promisify } from "node:util";
|
|
@@ -142,7 +142,12 @@ function parsePendingTasksFromJson(jsonText) {
|
|
|
142
142
|
jsonPath
|
|
143
143
|
});
|
|
144
144
|
};
|
|
145
|
-
if (data
|
|
145
|
+
if (Array.isArray(data)) for (let i = 0; i < data.length; i++) {
|
|
146
|
+
const task = data[i];
|
|
147
|
+
if (!task || typeof task !== "object") continue;
|
|
148
|
+
pushTask([i], task);
|
|
149
|
+
}
|
|
150
|
+
else if (data && typeof data === "object") {
|
|
146
151
|
const root = data;
|
|
147
152
|
const tasks = root.tasks;
|
|
148
153
|
if (Array.isArray(tasks)) for (let i = 0; i < tasks.length; i++) {
|
|
@@ -388,14 +393,14 @@ async function antonStop(runtime) {
|
|
|
388
393
|
/** Load Anton config from the IdleHands config file. */
|
|
389
394
|
async function loadAntonConfig() {
|
|
390
395
|
try {
|
|
391
|
-
const { loadConfig } = await import("./model-selection-
|
|
396
|
+
const { loadConfig } = await import("./model-selection-1MMYqY6M.js").then((n) => n.I);
|
|
392
397
|
return loadConfig().anton ?? {};
|
|
393
398
|
} catch {
|
|
394
399
|
return {};
|
|
395
400
|
}
|
|
396
401
|
}
|
|
397
402
|
async function runAgentTask(args) {
|
|
398
|
-
const { agentCliCommand } = await import("./agent-via-gateway-
|
|
403
|
+
const { agentCliCommand } = await import("./agent-via-gateway-5HMmToLM.js");
|
|
399
404
|
const extraSystemPrompt = args.workspaceDir ? `Your working directory is: ${args.workspaceDir}\nAll file paths are relative to this directory. Use this as your cwd for all operations.` : void 0;
|
|
400
405
|
const result = await agentCliCommand({
|
|
401
406
|
message: args.message,
|
|
@@ -814,7 +819,7 @@ async function runAnton(args) {
|
|
|
814
819
|
const reviewTimeout = execution.reviewTimeoutSec;
|
|
815
820
|
const preflightMaxRetries = execution.preflightMaxRetries;
|
|
816
821
|
const planDir = antonCfg.planDir ? path.resolve(antonCfg.planDir) : path.resolve(path.dirname(filePath), ".agents", "tasks");
|
|
817
|
-
const { loadConfig } = await import("./model-selection-
|
|
822
|
+
const { loadConfig } = await import("./model-selection-1MMYqY6M.js").then((n) => n.I);
|
|
818
823
|
const cfg = loadConfig();
|
|
819
824
|
const defaultTimeout = String(Number.isFinite(args.timeoutSec) && (args.timeoutSec ?? 0) > 0 ? args.timeoutSec : cfg.agents?.defaults?.timeoutSeconds ?? taskTimeout);
|
|
820
825
|
const repoCwd = args.workspaceDir ? path.resolve(args.workspaceDir) : path.dirname(filePath);
|
|
@@ -142,7 +142,12 @@ function parsePendingTasksFromJson(jsonText) {
|
|
|
142
142
|
jsonPath
|
|
143
143
|
});
|
|
144
144
|
};
|
|
145
|
-
if (data
|
|
145
|
+
if (Array.isArray(data)) for (let i = 0; i < data.length; i++) {
|
|
146
|
+
const task = data[i];
|
|
147
|
+
if (!task || typeof task !== "object") continue;
|
|
148
|
+
pushTask([i], task);
|
|
149
|
+
}
|
|
150
|
+
else if (data && typeof data === "object") {
|
|
146
151
|
const root = data;
|
|
147
152
|
const tasks = root.tasks;
|
|
148
153
|
if (Array.isArray(tasks)) for (let i = 0; i < tasks.length; i++) {
|
|
@@ -395,7 +400,7 @@ async function loadAntonConfig() {
|
|
|
395
400
|
}
|
|
396
401
|
}
|
|
397
402
|
async function runAgentTask(args) {
|
|
398
|
-
const { agentCliCommand } = await import("./agent-via-gateway-
|
|
403
|
+
const { agentCliCommand } = await import("./agent-via-gateway-DK7QU0ZB.js");
|
|
399
404
|
const extraSystemPrompt = args.workspaceDir ? `Your working directory is: ${args.workspaceDir}\nAll file paths are relative to this directory. Use this as your cwd for all operations.` : void 0;
|
|
400
405
|
const result = await agentCliCommand({
|
|
401
406
|
message: args.message,
|
|
@@ -149,7 +149,12 @@ function parsePendingTasksFromJson(jsonText) {
|
|
|
149
149
|
jsonPath
|
|
150
150
|
});
|
|
151
151
|
};
|
|
152
|
-
if (data
|
|
152
|
+
if (Array.isArray(data)) for (let i = 0; i < data.length; i++) {
|
|
153
|
+
const task = data[i];
|
|
154
|
+
if (!task || typeof task !== "object") continue;
|
|
155
|
+
pushTask([i], task);
|
|
156
|
+
}
|
|
157
|
+
else if (data && typeof data === "object") {
|
|
153
158
|
const root = data;
|
|
154
159
|
const tasks = root.tasks;
|
|
155
160
|
if (Array.isArray(tasks)) for (let i = 0; i < tasks.length; i++) {
|
|
@@ -402,7 +407,7 @@ async function loadAntonConfig() {
|
|
|
402
407
|
}
|
|
403
408
|
}
|
|
404
409
|
async function runAgentTask(args) {
|
|
405
|
-
const { agentCliCommand } = await import("./agent-via-gateway-
|
|
410
|
+
const { agentCliCommand } = await import("./agent-via-gateway-DuSua_3v.js").then((n) => n.n);
|
|
406
411
|
const extraSystemPrompt = args.workspaceDir ? `Your working directory is: ${args.workspaceDir}\nAll file paths are relative to this directory. Use this as your cwd for all operations.` : void 0;
|
|
407
412
|
const result = await agentCliCommand({
|
|
408
413
|
message: args.message,
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import "./agent-scope-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import "./subsystem-
|
|
4
|
-
import { A as shouldLogVerbose, D as logVerbose } from "./utils-
|
|
1
|
+
import "./agent-scope-DyP_tr7s.js";
|
|
2
|
+
import "./paths-BYNVLNi_.js";
|
|
3
|
+
import "./subsystem-tzu-rIAJ.js";
|
|
4
|
+
import { A as shouldLogVerbose, D as logVerbose } from "./utils-CTFLl_ji.js";
|
|
5
5
|
import "./runtime-8mi3mpYB.js";
|
|
6
|
-
import "./workspace-
|
|
7
|
-
import "./model-selection-
|
|
8
|
-
import "./github-copilot-token-
|
|
6
|
+
import "./workspace-DBFSzT6O.js";
|
|
7
|
+
import "./model-selection-1MMYqY6M.js";
|
|
8
|
+
import "./github-copilot-token-Dgt6cnsM.js";
|
|
9
9
|
import "./boolean-CE7i9tBR.js";
|
|
10
|
-
import "./env-
|
|
11
|
-
import "./dock-
|
|
12
|
-
import "./plugins-
|
|
13
|
-
import "./accounts-
|
|
14
|
-
import "./bindings-
|
|
15
|
-
import "./auth-store-
|
|
16
|
-
import "./accounts-
|
|
17
|
-
import "./image-ops-
|
|
18
|
-
import "./pi-model-discovery-
|
|
19
|
-
import "./message-channel-
|
|
20
|
-
import "./pi-embedded-helpers-
|
|
21
|
-
import "./chrome-
|
|
10
|
+
import "./env-B5G1qwGc.js";
|
|
11
|
+
import "./dock-BgOmHcbh.js";
|
|
12
|
+
import "./plugins-CRB60mCJ.js";
|
|
13
|
+
import "./accounts-Dk8mJIrQ.js";
|
|
14
|
+
import "./bindings-D3b5Fmc9.js";
|
|
15
|
+
import "./auth-store-DXT-l7fO.js";
|
|
16
|
+
import "./accounts-BDVs8LTu.js";
|
|
17
|
+
import "./image-ops-D1KtygWz.js";
|
|
18
|
+
import "./pi-model-discovery-Bb__OY-j.js";
|
|
19
|
+
import "./message-channel-C8QtrwEU.js";
|
|
20
|
+
import "./pi-embedded-helpers-CyTpDKo5.js";
|
|
21
|
+
import "./chrome-_2tzVjVl.js";
|
|
22
22
|
import "./ssrf-CZeHDwVZ.js";
|
|
23
|
-
import "./frontmatter-
|
|
24
|
-
import "./skills-
|
|
25
|
-
import "./path-alias-guards-
|
|
26
|
-
import "./redact-
|
|
27
|
-
import "./errors-
|
|
28
|
-
import "./fs-safe-
|
|
29
|
-
import "./store-
|
|
30
|
-
import "./sessions-
|
|
31
|
-
import "./accounts-
|
|
32
|
-
import "./paths-
|
|
33
|
-
import "./tool-images-
|
|
23
|
+
import "./frontmatter-BOudmHMS.js";
|
|
24
|
+
import "./skills-CnAPWfca.js";
|
|
25
|
+
import "./path-alias-guards-Cu1nXNMM.js";
|
|
26
|
+
import "./redact-Bvpf-ATQ.js";
|
|
27
|
+
import "./errors-C_0nm4TJ.js";
|
|
28
|
+
import "./fs-safe-CYUaAFO9.js";
|
|
29
|
+
import "./store-CvMgrKWx.js";
|
|
30
|
+
import "./sessions-3ioSeOA1.js";
|
|
31
|
+
import "./accounts-CIvVRRHb.js";
|
|
32
|
+
import "./paths-D_qUel1T.js";
|
|
33
|
+
import "./tool-images-CcGZpzmq.js";
|
|
34
34
|
import "./thinking-z4_linel.js";
|
|
35
|
-
import "./image-
|
|
36
|
-
import "./gemini-auth-
|
|
37
|
-
import "./fetch-guard-
|
|
38
|
-
import "./local-roots-
|
|
39
|
-
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-
|
|
35
|
+
import "./image-COw__ACq.js";
|
|
36
|
+
import "./gemini-auth-CIyaa44H.js";
|
|
37
|
+
import "./fetch-guard-iuQsIjqN.js";
|
|
38
|
+
import "./local-roots-KN4Hp1yZ.js";
|
|
39
|
+
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-BzNdfqDz.js";
|
|
40
40
|
|
|
41
41
|
//#region src/media-understanding/audio-preflight.ts
|
|
42
42
|
/**
|
|
@@ -6,7 +6,7 @@ import { n as loadModelCatalog } from "./model-catalog-DYWymzg_.js";
|
|
|
6
6
|
import { f as openUrl } from "./onboard-helpers-DWivfzcc.js";
|
|
7
7
|
import { t as enablePluginInConfig } from "./enable-CMXupNXl.js";
|
|
8
8
|
import { $ as ZAI_DEFAULT_MODEL_REF, A as applyTogetherConfig, B as applyLitellmConfig, C as applyMoonshotProviderConfigCn, Ct as writeOAuthCredentials, D as applyQianfanProviderConfig, Dt as QIANFAN_DEFAULT_MODEL_REF, E as applyQianfanConfig, Et as MOONSHOT_DEFAULT_MODEL_REF, F as applyXaiProviderConfig, G as applyVercelAiGatewayProviderConfig, H as applyCloudflareAiGatewayConfig, I as applyXiaomiConfig, J as LITELLM_DEFAULT_MODEL_REF, K as applyAgentDefaultModelPrimary, L as applyXiaomiProviderConfig, M as applyVeniceConfig, N as applyVeniceProviderConfig, O as applySyntheticConfig, Ot as XAI_DEFAULT_MODEL_REF, P as applyXaiConfig, Q as XIAOMI_DEFAULT_MODEL_REF, R as applyZaiConfig, S as applyMoonshotProviderConfig, St as setZaiApiKey, T as applyOpenrouterProviderConfig, Tt as MISTRAL_DEFAULT_MODEL_REF, U as applyCloudflareAiGatewayProviderConfig, V as applyLitellmProviderConfig, W as applyVercelAiGatewayConfig, X as TOGETHER_DEFAULT_MODEL_REF, Y as OPENROUTER_DEFAULT_MODEL_REF, Z as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, _ as applyKimiCodeProviderConfig, _t as setVeniceApiKey, a as applyMinimaxApiConfig, at as setKilocodeApiKey, b as applyMoonshotConfig, bt as setXaiApiKey, c as applyMinimaxApiProviderConfigCn, ct as setMinimaxApiKey, d as applyAuthProfileConfig, dt as setOpenaiApiKey, et as setAnthropicApiKey, ft as setOpencodeZenApiKey, g as applyKimiCodeConfig, gt as setTogetherApiKey, h as applyKilocodeProviderConfig, ht as setSyntheticApiKey, i as applyOpencodeZenProviderConfig, it as setHuggingfaceApiKey, j as applyTogetherProviderConfig, k as applySyntheticProviderConfig, l as applyMinimaxConfig, lt as setMistralApiKey, m as applyKilocodeConfig, mt as setQianfanApiKey, n as validateAnthropicSetupToken, nt as setCloudflareAiGatewayConfig, o as applyMinimaxApiConfigCn, ot as setKimiCodingApiKey, p as applyHuggingfaceProviderConfig, pt as setOpenrouterApiKey, q as HUGGINGFACE_DEFAULT_MODEL_REF, r as applyOpencodeZenConfig, rt as setGeminiApiKey, s as applyMinimaxApiProviderConfig, st as setLitellmApiKey, t as buildTokenProfileId, tt as setByteplusApiKey, u as applyMinimaxProviderConfig, ut as setMoonshotApiKey, v as applyMistralConfig, vt as setVercelAiGatewayApiKey, w as applyOpenrouterConfig, wt as KIMI_CODING_MODEL_REF, x as applyMoonshotConfigCn, xt as setXiaomiApiKey, y as applyMistralProviderConfig, yt as setVolcengineApiKey, z as applyZaiProviderConfig } from "./auth-token-BQ_ECwH7.js";
|
|
9
|
-
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
9
|
+
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-9KbSl6wC.js";
|
|
10
10
|
import { a as ensureApiKeyFromOptionEnvOrPrompt, c as applyDefaultModelChoice, d as validateApiKeyInput, l as ensureModelAllowlistEntry, n as createAuthChoiceDefaultModelApplier, o as normalizeSecretInputModeInput, r as createAuthChoiceModelStateBridge, s as normalizeTokenProviderInput, t as createAuthChoiceAgentModelNoter, u as normalizeApiKeyInput } from "./auth-choice.apply-helpers-Bj-Y-Sar.js";
|
|
11
11
|
import { a as GOOGLE_GEMINI_DEFAULT_MODEL, i as detectZaiEndpoint, n as applyOpenAIConfig, o as applyGoogleGeminiModelDefault, r as applyOpenAIProviderConfig, t as OPENAI_DEFAULT_MODEL } from "./openai-model-default-DTIibBxa.js";
|
|
12
12
|
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-D_yngXMe.js";
|
|
@@ -6,7 +6,7 @@ import { n as loadModelCatalog } from "./model-catalog-D9no0CH2.js";
|
|
|
6
6
|
import { f as openUrl } from "./onboard-helpers-mzy38DiC.js";
|
|
7
7
|
import { t as enablePluginInConfig } from "./enable-o_s6PBsC.js";
|
|
8
8
|
import { $ as ZAI_DEFAULT_MODEL_REF, A as applyTogetherConfig, B as applyLitellmConfig, C as applyMoonshotProviderConfigCn, Ct as writeOAuthCredentials, D as applyQianfanProviderConfig, Dt as QIANFAN_DEFAULT_MODEL_REF, E as applyQianfanConfig, Et as MOONSHOT_DEFAULT_MODEL_REF, F as applyXaiProviderConfig, G as applyVercelAiGatewayProviderConfig, H as applyCloudflareAiGatewayConfig, I as applyXiaomiConfig, J as LITELLM_DEFAULT_MODEL_REF, K as applyAgentDefaultModelPrimary, L as applyXiaomiProviderConfig, M as applyVeniceConfig, N as applyVeniceProviderConfig, O as applySyntheticConfig, Ot as XAI_DEFAULT_MODEL_REF, P as applyXaiConfig, Q as XIAOMI_DEFAULT_MODEL_REF, R as applyZaiConfig, S as applyMoonshotProviderConfig, St as setZaiApiKey, T as applyOpenrouterProviderConfig, Tt as MISTRAL_DEFAULT_MODEL_REF, U as applyCloudflareAiGatewayProviderConfig, V as applyLitellmProviderConfig, W as applyVercelAiGatewayConfig, X as TOGETHER_DEFAULT_MODEL_REF, Y as OPENROUTER_DEFAULT_MODEL_REF, Z as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, _ as applyKimiCodeProviderConfig, _t as setVeniceApiKey, a as applyMinimaxApiConfig, at as setKilocodeApiKey, b as applyMoonshotConfig, bt as setXaiApiKey, c as applyMinimaxApiProviderConfigCn, ct as setMinimaxApiKey, d as applyAuthProfileConfig, dt as setOpenaiApiKey, et as setAnthropicApiKey, ft as setOpencodeZenApiKey, g as applyKimiCodeConfig, gt as setTogetherApiKey, h as applyKilocodeProviderConfig, ht as setSyntheticApiKey, i as applyOpencodeZenProviderConfig, it as setHuggingfaceApiKey, j as applyTogetherProviderConfig, k as applySyntheticProviderConfig, l as applyMinimaxConfig, lt as setMistralApiKey, m as applyKilocodeConfig, mt as setQianfanApiKey, n as validateAnthropicSetupToken, nt as setCloudflareAiGatewayConfig, o as applyMinimaxApiConfigCn, ot as setKimiCodingApiKey, p as applyHuggingfaceProviderConfig, pt as setOpenrouterApiKey, q as HUGGINGFACE_DEFAULT_MODEL_REF, r as applyOpencodeZenConfig, rt as setGeminiApiKey, s as applyMinimaxApiProviderConfig, st as setLitellmApiKey, t as buildTokenProfileId, tt as setByteplusApiKey, u as applyMinimaxProviderConfig, ut as setMoonshotApiKey, v as applyMistralConfig, vt as setVercelAiGatewayApiKey, w as applyOpenrouterConfig, wt as KIMI_CODING_MODEL_REF, x as applyMoonshotConfigCn, xt as setXiaomiApiKey, y as applyMistralProviderConfig, yt as setVolcengineApiKey, z as applyZaiProviderConfig } from "./auth-token-BJq87X3o.js";
|
|
9
|
-
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
9
|
+
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-BjhDlZPy.js";
|
|
10
10
|
import { a as ensureApiKeyFromOptionEnvOrPrompt, c as applyDefaultModelChoice, d as validateApiKeyInput, l as ensureModelAllowlistEntry, n as createAuthChoiceDefaultModelApplier, o as normalizeSecretInputModeInput, r as createAuthChoiceModelStateBridge, s as normalizeTokenProviderInput, t as createAuthChoiceAgentModelNoter, u as normalizeApiKeyInput } from "./auth-choice.apply-helpers-CGcniL1T.js";
|
|
11
11
|
import { a as GOOGLE_GEMINI_DEFAULT_MODEL, i as detectZaiEndpoint, n as applyOpenAIConfig, o as applyGoogleGeminiModelDefault, r as applyOpenAIProviderConfig, t as OPENAI_DEFAULT_MODEL } from "./openai-model-default-7J6cw1rA.js";
|
|
12
12
|
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-BkXoTOiA.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { l as resolveOAuthDir } from "./paths-
|
|
2
|
-
import { I as getChildLogger, T as info, h as resolveUserPath, j as success, u as jidToE164 } from "./utils-
|
|
1
|
+
import { l as resolveOAuthDir } from "./paths-BYNVLNi_.js";
|
|
2
|
+
import { I as getChildLogger, T as info, h as resolveUserPath, j as success, u as jidToE164 } from "./utils-CTFLl_ji.js";
|
|
3
3
|
import { n as defaultRuntime } from "./runtime-8mi3mpYB.js";
|
|
4
4
|
import { f as DEFAULT_ACCOUNT_ID } from "./session-key-CuLPSMu_.js";
|
|
5
5
|
import { t as formatCliCommand } from "./command-format-BAxx4PW5.js";
|
|
6
6
|
import fs from "node:fs/promises";
|
|
7
7
|
import path from "node:path";
|
|
8
|
-
import
|
|
8
|
+
import syncFs from "node:fs";
|
|
9
9
|
|
|
10
10
|
//#region src/web/auth-store.ts
|
|
11
11
|
function resolveDefaultWebAuthDir() {
|
|
@@ -20,7 +20,7 @@ function resolveWebCredsBackupPath(authDir) {
|
|
|
20
20
|
}
|
|
21
21
|
function hasWebCredsSync(authDir) {
|
|
22
22
|
try {
|
|
23
|
-
const stats =
|
|
23
|
+
const stats = syncFs.statSync(resolveWebCredsPath(authDir));
|
|
24
24
|
return stats.isFile() && stats.size > 1;
|
|
25
25
|
} catch {
|
|
26
26
|
return false;
|
|
@@ -28,10 +28,10 @@ function hasWebCredsSync(authDir) {
|
|
|
28
28
|
}
|
|
29
29
|
function readCredsJsonRaw(filePath) {
|
|
30
30
|
try {
|
|
31
|
-
if (!
|
|
32
|
-
const stats =
|
|
31
|
+
if (!syncFs.existsSync(filePath)) return null;
|
|
32
|
+
const stats = syncFs.statSync(filePath);
|
|
33
33
|
if (!stats.isFile() || stats.size <= 1) return null;
|
|
34
|
-
return
|
|
34
|
+
return syncFs.readFileSync(filePath, "utf-8");
|
|
35
35
|
} catch {
|
|
36
36
|
return null;
|
|
37
37
|
}
|
|
@@ -49,9 +49,9 @@ function maybeRestoreCredsFromBackup(authDir) {
|
|
|
49
49
|
const backupRaw = readCredsJsonRaw(backupPath);
|
|
50
50
|
if (!backupRaw) return;
|
|
51
51
|
JSON.parse(backupRaw);
|
|
52
|
-
|
|
52
|
+
syncFs.copyFileSync(backupPath, credsPath);
|
|
53
53
|
try {
|
|
54
|
-
|
|
54
|
+
syncFs.chmodSync(credsPath, 384);
|
|
55
55
|
} catch {}
|
|
56
56
|
logger.warn({ credsPath }, "restored corrupted WhatsApp creds.json from backup");
|
|
57
57
|
} catch {}
|
|
@@ -107,11 +107,11 @@ async function logoutWeb(params) {
|
|
|
107
107
|
function readWebSelfId(authDir = resolveDefaultWebAuthDir()) {
|
|
108
108
|
try {
|
|
109
109
|
const credsPath = resolveWebCredsPath(resolveUserPath(authDir));
|
|
110
|
-
if (!
|
|
110
|
+
if (!syncFs.existsSync(credsPath)) return {
|
|
111
111
|
e164: null,
|
|
112
112
|
jid: null
|
|
113
113
|
};
|
|
114
|
-
const raw =
|
|
114
|
+
const raw = syncFs.readFileSync(credsPath, "utf-8");
|
|
115
115
|
const jid = JSON.parse(raw)?.me?.id ?? null;
|
|
116
116
|
return {
|
|
117
117
|
e164: jid ? jidToE164(jid, { authDir }) : null,
|
|
@@ -130,7 +130,7 @@ function readWebSelfId(authDir = resolveDefaultWebAuthDir()) {
|
|
|
130
130
|
*/
|
|
131
131
|
function getWebAuthAgeMs(authDir = resolveDefaultWebAuthDir()) {
|
|
132
132
|
try {
|
|
133
|
-
const stats =
|
|
133
|
+
const stats = syncFs.statSync(resolveWebCredsPath(resolveUserPath(authDir)));
|
|
134
134
|
return Date.now() - stats.mtimeMs;
|
|
135
135
|
} catch {
|
|
136
136
|
return null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { St as theme, g as visibleWidth, sn as hasRootVersionAlias, xt as isRich } from "./entry.js";
|
|
2
|
-
import { Tn as resolveCommitHash } from "./subagent-registry-
|
|
2
|
+
import { Tn as resolveCommitHash } from "./subagent-registry-dBsIIN3w.js";
|
|
3
3
|
|
|
4
4
|
//#region src/cli/tagline.ts
|
|
5
5
|
const DEFAULT_TAGLINE = "All your chats, one IdleHands.";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as resolveDefaultAgentId } from "./agent-scope-
|
|
2
|
-
import { c as normalizeChatChannelId } from "./subsystem-
|
|
1
|
+
import { c as resolveDefaultAgentId } from "./agent-scope-DyP_tr7s.js";
|
|
2
|
+
import { c as normalizeChatChannelId } from "./subsystem-tzu-rIAJ.js";
|
|
3
3
|
import { p as normalizeAccountId, s as normalizeAgentId } from "./session-key-CuLPSMu_.js";
|
|
4
4
|
|
|
5
5
|
//#region src/routing/bindings.ts
|
package/dist/build-info.json
CHANGED