@visorcraft/idlehands 4.0.7 → 4.0.9
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-DsVN0UNw.js → accounts-3HS_UAhJ.js} +1 -1
- package/dist/{accounts-D-hQsUw-.js → accounts-DLTODa_Z.js} +1 -1
- package/dist/{accounts-D87a1Y_K.js → accounts-DgbTKQoW.js} +1 -1
- package/dist/{acp-cli-D52jj29o.js → acp-cli-B-7CXaeS.js} +7 -7
- package/dist/{agent-scope-Bn39ugK4.js → agent-scope-RA0zXRpu.js} +18 -18
- package/dist/{agent-via-gateway-DHSAoHG7.js → agent-via-gateway-C29-E0K6.js} +1 -1
- package/dist/{agent-via-gateway-DpOnWB8B.js → agent-via-gateway-C9MXMxE9.js} +4 -4
- package/dist/{agent-via-gateway-DKv0lYbJ.js → agent-via-gateway-D2lUw5_a.js} +7 -7
- package/dist/{agent-via-gateway-iOxURXfD.js → agent-via-gateway-DD6djeRE.js} +7 -7
- package/dist/{agents-lCACO44K.js → agents-BTQoPRp2.js} +4 -4
- package/dist/{agents.config-B9LFlgTL.js → agents.config-CmrYf0R9.js} +1 -1
- package/dist/{agents.config-CCY6Cz20.js → agents.config-Hj50zEpg.js} +2 -2
- package/dist/anton-Ak5zdzLn.js +579 -0
- package/dist/{anton-BBGfJxOA.js → anton-C7A24R8k.js} +1 -1
- package/dist/{anton-eVW4p18G.js → anton-CHMhMbfn.js} +1 -1
- package/dist/{anton-BAc6lLhA.js → anton-Cso65xsA.js} +1 -1
- package/dist/{api-key-rotation-nXQVJErE.js → api-key-rotation-B-FTJm5p.js} +1 -1
- package/dist/{audio-preflight-vD3mDc6w.js → audio-preflight-CSSlgO89.js} +4 -4
- package/dist/{audio-preflight-BSlR2jEq.js → audio-preflight-CW8IH1lU.js} +4 -4
- package/dist/{audio-preflight-DzjXupNO.js → audio-preflight-Dl1TO10w.js} +31 -31
- package/dist/{audit-D12wg2tV.js → audit-BmaVRZSd.js} +22 -22
- package/dist/{auth-choice-FtlZRCkf.js → auth-choice-BQUQWOPB.js} +1 -1
- package/dist/{auth-choice-CB74F1Wg.js → auth-choice-CNa4gxNm.js} +10 -10
- package/dist/{auth-choice-BDndThZZ.js → auth-choice-D12Wsf7w.js} +12 -12
- package/dist/{auth-choice.apply-helpers-pTqMTYmi.js → auth-choice.apply-helpers-CGcniL1T.js} +1 -1
- package/dist/{auth-store-CMyrmmSF.js → auth-store-DDzIMy8_.js} +7 -7
- package/dist/{auth-token-fKt_cHOj.js → auth-token-BJq87X3o.js} +1 -1
- package/dist/{banner-B_5dznlS.js → banner-C7YGM3JT.js} +1 -1
- package/dist/{bindings-DZjkLUU_.js → bindings-B59Q7nsk.js} +1 -1
- package/dist/{browser-cli-Da-0lyq2.js → browser-cli-Ny1nHwqv.js} +11 -11
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +7 -7
- package/dist/bundled/session-memory/handler.js +7 -7
- package/dist/{call-DnTBT02D.js → call-BRL23UCk.js} +9 -9
- package/dist/{channel-account-context-B4nJPU2N.js → channel-account-context-CDbY5AIr.js} +5 -5
- package/dist/{channel-options-h5L1S2Jw.js → channel-options-BKWtYjoK.js} +3 -3
- package/dist/{channel-options-DXRwdUX9.js → channel-options-DvaeKHAx.js} +1 -1
- package/dist/{channel-selection-3jUl-PyW.js → channel-selection-ZxRkxpuF.js} +1 -1
- package/dist/{channel-web-BRQth7bT.js → channel-web-CAxuafZC.js} +22 -22
- package/dist/{channel-web-DERdVSsP.js → channel-web-VN0ZgePd.js} +2 -2
- package/dist/{channels-cli-DhVgXBQN.js → channels-cli-BXaEFZn4.js} +7 -7
- package/dist/{channels-cli-tiO1k2nS.js → channels-cli-wID9mrKy.js} +88 -88
- package/dist/{channels-status-issues-hgASw9UA.js → channels-status-issues-CDpWjdI3.js} +1 -1
- package/dist/{chrome-_2tzVjVl.js → chrome-BcJB6PcM.js} +9 -9
- package/dist/{chrome-DEnkfZ9p.js → chrome-Do5potHV.js} +9 -9
- package/dist/{chrome-YguTEaLx.js → chrome-VBsQfIrt.js} +2 -2
- package/dist/{clawbot-cli-C5cDal-5.js → clawbot-cli-uFgYrysW.js} +5 -5
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/{cli-5gUCiFfL.js → cli-Bn2CZFDi.js} +70 -70
- package/dist/{cli-LY72rmrU.js → cli-BxRgr1BR.js} +2 -2
- package/dist/{client-DIckPnsi.js → client-DxH9hwLn.js} +1 -1
- package/dist/{command-registry-DiTM7FaG.js → command-registry-Dm6V5xBk.js} +10 -10
- package/dist/{commands-D3BU_t7G.js → commands-Dj5LalLo.js} +1 -1
- package/dist/{commands-registry-Cj4D_1tw.js → commands-registry-CURlRZQJ.js} +3 -3
- package/dist/{completion-cli-nnpHTGC-.js → completion-cli-BaJBGfP6.js} +2 -2
- package/dist/{completion-cli-ComrmOxR.js → completion-cli-DnvwEZHv.js} +12 -12
- package/dist/{config-cli-CyFGv1-x.js → config-cli-DTMfFEvU.js} +6 -6
- package/dist/{config-cli-eBJoaO3_.js → config-cli-DglEI40O.js} +1 -1
- package/dist/{config-guard-DnAyuF6T.js → config-guard-BdsOumqh.js} +17 -17
- package/dist/{config-validation-DIomLMwH.js → config-validation-BvKX6fPw.js} +2 -2
- package/dist/{configure-BDbf-55B.js → configure-CFDo6pK5.js} +16 -16
- package/dist/{configure-CxKJRv-R.js → configure-DYSAOrvA.js} +3 -3
- package/dist/{control-ui-assets-CiaCDBvZ.js → control-ui-assets-C7ZpN9hN.js} +1 -1
- package/dist/{cron-cli-B8uqoogS.js → cron-cli-Xml0Uww8.js} +12 -12
- package/dist/{daemon-cli-CMBNTpSS.js → daemon-cli-B1Ti51bt.js} +11 -11
- package/dist/{daemon-install-DeqQiAad.js → daemon-install-CYPo4M1M.js} +4 -4
- package/dist/{daemon-install-helpers-Bug_GYuy.js → daemon-install-helpers-BZY9-jNW.js} +9 -9
- package/dist/{deliver-yTpXc5sv.js → deliver--kttnrER.js} +7 -7
- package/dist/{deliver-CVTXl0Cv.js → deliver-BUiQ-9fE.js} +1 -1
- package/dist/{deliver-5FLCa6tB.js → deliver-whAbSPLk.js} +1 -1
- package/dist/{deps-CNuk_Lqe.js → deps-BuPPEKKU.js} +1 -1
- package/dist/{deps-DGHlGKcG.js → deps-Crf9tOgB.js} +1 -1
- package/dist/{deps-j4ERP1vX.js → deps-DHhqEEEB.js} +1 -1
- package/dist/{deps-r93HSLuk.js → deps-dk-mZVY7.js} +6 -6
- package/dist/{devices-cli-DVLF8Yvw.js → devices-cli-BNkO0Fey.js} +7 -7
- package/dist/{diagnostics-CdUgLS0N.js → diagnostics-DmZbQ8Nc.js} +5 -5
- package/dist/{directory-cli-BAMS8f9U.js → directory-cli-Dz9iXeut.js} +9 -9
- package/dist/{dns-cli-BdxBk-k_.js → dns-cli-DD6hWsdc.js} +4 -4
- package/dist/{dock-CzF5XYGd.js → dock-Y96MzKuM.js} +4 -4
- package/dist/{docs-cli-SF7es4Zs.js → docs-cli-cHkrTB2e.js} +4 -4
- package/dist/{doctor-completion-B1zfgEgx.js → doctor-completion-DA87R6kk.js} +1 -1
- package/dist/{doctor-completion-k4Y6iVow.js → doctor-completion-DHYMwPxZ.js} +2 -2
- package/dist/{doctor-config-flow-8qXzBx09.js → doctor-config-flow-Ck4oCjfl.js} +14 -14
- package/dist/{emergency-stop-rAr2AFYc.js → emergency-stop-D32_vcC_.js} +2 -2
- package/dist/{emergency-stop-CZrc3yGJ.js → emergency-stop-DSazHQ3v.js} +7 -7
- package/dist/{emergency-stop-EXYMl2Ho.js → emergency-stop-DqK6Iaxy.js} +7 -7
- package/dist/{emergency-stop-ChZeaOFx.js → emergency-stop-dQB5TH61.js} +70 -70
- package/dist/{enable-DaA_orGN.js → enable-o_s6PBsC.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/{exec-approvals-allowlist-8AkOwwIr.js → exec-approvals-allowlist-Co2tJSEo.js} +1 -1
- package/dist/{exec-approvals-cli-CtoJW2K-.js → exec-approvals-cli-CyjTnYfk.js} +15 -15
- package/dist/{exec-safe-bin-runtime-policy-DYXuBKqH.js → exec-safe-bin-runtime-policy-DaoU9-ni.js} +2 -2
- package/dist/extensionAPI.js +7 -7
- package/dist/{fs-safe-DNFrxDS-.js → fs-safe-_JQUGpZf.js} +15 -15
- package/dist/{gateway-cli-BzhusJ6G.js → gateway-cli-C4c-ntiL.js} +148 -148
- package/dist/{gateway-cli-DUEnEMPj.js → gateway-cli-NFBeo83U.js} +9 -9
- package/dist/{gateway-rpc-6vnhO4v8.js → gateway-rpc-Du-ZpDjh.js} +1 -1
- package/dist/{health-DUdnHqnW.js → health--cNlCqAN.js} +13 -13
- package/dist/{health-H258IqdH.js → health-eSKHWC16.js} +1 -1
- package/dist/{hooks-cli-BQhTkmIs.js → hooks-cli-1vbVFYX6.js} +3 -3
- package/dist/{hooks-cli-h8tcMsfo.js → hooks-cli-d-CncxOS.js} +84 -84
- package/dist/{hooks-status-CPIWc_bx.js → hooks-status-DNGo2G8Q.js} +1 -1
- package/dist/{idlehands-root-DFL2GrNW.js → idlehands-root-B8cUs-5M.js} +8 -8
- package/dist/{image-C_aN5P6-.js → image-BAsQlUqT.js} +1 -1
- package/dist/{image-COw__ACq.js → image-D8b_rlQC.js} +1 -1
- package/dist/{image-C2JZiK-6.js → image-DSDEbSiO.js} +5 -5
- package/dist/{plugin-sdk/image-ops-BRYGGDwL.js → image-ops-BU-VdLZu.js} +2 -2
- package/dist/index.js +80 -80
- package/dist/{inspect-Dg16DMLn.js → inspect-ISQZuNM5.js} +4 -4
- package/dist/{install-safe-path-CNNMzJl9.js → install-safe-path-ChNR9pl6.js} +19 -19
- package/dist/{installs-ST3UaUVJ.js → installs-CNubze2L.js} +9 -9
- package/dist/{ir-DV0Hszc8.js → ir-VncGpwA1.js} +6 -6
- package/dist/{lifecycle-core-DOScNyOv.js → lifecycle-core-B6UoqYTJ.js} +5 -5
- package/dist/llm-slug-generator.js +7 -7
- package/dist/{local-roots-Cco87A2_.js → local-roots-q0xbefkf.js} +2 -2
- package/dist/{login-Dl_lsEHS.js → login-CfUhrgWT.js} +4 -4
- package/dist/{login-qr-B68cBRH0.js → login-qr-DBMsUxgL.js} +7 -7
- package/dist/{logs-cli-BluGGq03.js → logs-cli-CH4mFhUt.js} +8 -8
- package/dist/{manager-BBeTPO2h.js → manager-BMAFgXyU.js} +13 -13
- package/dist/{manifest-registry-RfRn8HJx.js → manifest-registry-Bak1x76G.js} +1 -1
- package/dist/{markdown-tables-C5hTDqNm.js → markdown-tables-DZClqsNo.js} +1 -1
- package/dist/{memory-cli-4wfelGdK.js → memory-cli-CUGwnVIY.js} +12 -12
- package/dist/{model-Bd-05WpB.js → model-C-icShH2.js} +2 -2
- package/dist/{model-catalog-BCsDrrvq.js → model-catalog-D9no0CH2.js} +3 -3
- package/dist/{model-picker-D3U0wJCO.js → model-picker-BkXoTOiA.js} +4 -4
- package/dist/{model-selection-CSn9tUuH.js → model-selection-0dGxYGp8.js} +16 -16
- package/dist/{models-Coc4CuFb.js → models-DRQazay2.js} +2 -2
- package/dist/{models-cli-C2VBtXFK.js → models-cli-BMU7V_Gq.js} +79 -79
- package/dist/{models-cli-DBi6iuAc.js → models-cli-byvFsScd.js} +4 -4
- package/dist/{models-config-lQpqp472.js → models-config-C5A1wDWh.js} +6 -6
- package/dist/{node-cli-DhD8-NHR.js → node-cli-Ch7K7WtL.js} +32 -32
- package/dist/{node-service-GpI0jzKr.js → node-service-C3vyxHLA.js} +1 -1
- package/dist/{nodes-cli-DPzxQ0mY.js → nodes-cli-D_hUCPNt.js} +14 -14
- package/dist/{nodes-screen-CIAn0wXq.js → nodes-screen-CcpPaFxa.js} +4 -4
- package/dist/{npm-registry-spec-BfeHLbIQ.js → npm-registry-spec-BCbbfIhX.js} +16 -16
- package/dist/{npm-resolution-DaNJYnTG.js → npm-resolution-CkV9WMS7.js} +1 -1
- package/dist/{npm-resolution-B6vPFolU.js → npm-resolution-ahyNQr7N.js} +3 -3
- package/dist/{onboard-bK4jkGRa.js → onboard-3KtofxpB.js} +6 -6
- package/dist/{onboard-CM-Fu2Ee.js → onboard-5gLY4vI6.js} +2 -2
- package/dist/{onboard-channels-CWZXe89N.js → onboard-channels-BaQef_ik.js} +1 -1
- package/dist/{onboard-channels-BYRL9eyC.js → onboard-channels-CO3tBBUm.js} +20 -20
- package/dist/{onboard-custom-D2sCP3_S.js → onboard-custom-DUbzMMu7.js} +4 -4
- package/dist/{onboard-helpers-ByhJg2ST.js → onboard-helpers-BQmbMJxJ.js} +8 -8
- package/dist/{onboard-hooks-_1Jgimeu.js → onboard-hooks-D9teGxfH.js} +4 -4
- package/dist/{onboard-remote-DuhWSiAO.js → onboard-remote-CIjhaP2W.js} +1 -1
- package/dist/{onboard-skills-vFwEasAg.js → onboard-skills-BsaUIuq6.js} +4 -4
- package/dist/{onboarding-CNGvwRqq.js → onboarding-DT_a9WqK.js} +13 -13
- package/dist/{onboarding-Ds1add5x.js → onboarding-oYr_Z-MX.js} +3 -3
- package/dist/{onboarding.finalize-CBIKuTsi.js → onboarding.finalize-DI8RNUCe.js} +7 -7
- package/dist/{onboarding.finalize-B4o0pRn2.js → onboarding.finalize-DQlMXUpt.js} +82 -82
- package/dist/{onboarding.gateway-config-qVAY6x7I.js → onboarding.gateway-config-CEQMyj8l.js} +16 -16
- package/dist/{openai-model-default-OPCCNNS0.js → openai-model-default-7J6cw1rA.js} +2 -2
- package/dist/{outbound-CG19kl0w.js → outbound-DPTxwchq.js} +4 -4
- package/dist/{plugin-sdk/outbound-attachment-Bs7fNaqv.js → outbound-attachment-Bot3bRnK.js} +2 -2
- package/dist/{pairing-cli-QJYYDcIK.js → pairing-cli-jwx6hMsM.js} +10 -10
- package/dist/{pairing-labels-DuZ7ih-T.js → pairing-labels-ChQJzbS9.js} +1 -1
- package/dist/{pairing-store-qvpPoWL_.js → pairing-store-CPpEEQJO.js} +2 -2
- package/dist/{pairing-token-3hoCgQqp.js → pairing-token-lKXTMQ_M.js} +7 -7
- package/dist/{path-alias-guards-BCskHdfJ.js → path-alias-guards-FXBVVTLw.js} +3 -3
- package/dist/{path-safety-C1Y004P_.js → path-safety-DwibX65n.js} +1 -1
- package/dist/{paths-Bt0fZexW.js → paths-B-CLQ5RT.js} +9 -9
- package/dist/{pi-embedded-BnjDF31C.js → pi-embedded-B6_XaeGr.js} +99 -43
- package/dist/{pi-embedded-CxYEstRZ.js → pi-embedded-dlIKBCVy.js} +99 -43
- package/dist/{pi-embedded-helpers-BkzrQ5bZ.js → pi-embedded-helpers-BCsfqpDt.js} +6 -6
- package/dist/{pi-embedded-helpers-CyTpDKo5.js → pi-embedded-helpers-CghCLoPo.js} +4 -4
- package/dist/{pi-embedded-helpers-C2j0LfJC.js → pi-embedded-helpers-Ct2rwp-P.js} +4 -4
- package/dist/{pi-model-discovery-Bt79ifyi.js → pi-model-discovery-BIP3RjXl.js} +1 -1
- package/dist/{pi-tools.policy-B_ME3yF6.js → pi-tools.policy-DfITIKZj.js} +5 -5
- package/dist/{plugin-auto-enable-BMuSi4aV.js → plugin-auto-enable-7DUxMy6A.js} +3 -3
- package/dist/{plugin-registry-avBJMf8D.js → plugin-registry-aAygraDx.js} +3 -3
- package/dist/{plugin-registry-COLTpSWs.js → plugin-registry-yw2FGDQo.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-DruTfj9D.js → agent-via-gateway-CYQbsoKO.js} +55 -55
- package/dist/plugin-sdk/{anton-lKxGN-F2.js → anton-BhaZ-_lE.js} +4 -4
- 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-DFBbK8o7.js → channel-web-C9WxJKNF.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/plugin-sdk/{deps-C2JklbCf.js → deps-DNCcuQw6.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-DaCLgoNM.js → emergency-stop-DVA2XPoO.js} +55 -55
- package/dist/plugin-sdk/{env-qurSiOO2.js → env-5XecRTLs.js} +1 -1
- package/dist/plugin-sdk/{errors-UqLewZJL.js → 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/{image-ops-BkoEFRYH.js → plugin-sdk/image-ops-CXSUo-AM.js} +12 -12
- package/dist/plugin-sdk/index.js +60 -60
- package/dist/plugin-sdk/{ir-Bv0Zbp2E.js → ir-kdDGpPMq.js} +5 -5
- 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/{outbound-attachment-jYdMgCml.js → plugin-sdk/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-BKLT5LXW.js → reply-DBeDzICx.js} +168 -112
- 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/plugin-sdk/{tool-images-Cf9aWlVu.js → 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-BDqEqvD6.js +71 -0
- package/dist/plugin-sdk/{whatsapp-actions-Bcknq6EZ.js → whatsapp-actions-B5g-Rywy.js} +23 -23
- package/dist/{plugins-B4hASNc2.js → plugins-D46VZh7u.js} +2 -2
- package/dist/{plugins-cli-C-uo9LAy.js → plugins-cli-D5iXgZV0.js} +3 -3
- package/dist/{plugins-cli-B6_9syjW.js → plugins-cli-_X7ygx92.js} +80 -80
- package/dist/{ports-B07M55Gr.js → ports-B2o0FSFD.js} +1 -1
- package/dist/{ports-DWJO5S52.js → ports-SQy1d-RL.js} +2 -2
- package/dist/{program-CRsDka5E.js → program-DdvaYjeO.js} +8 -8
- package/dist/{program-context-BTsKVJG-.js → program-context-GHUcW_u0.js} +43 -43
- package/dist/{prompt-select-styled-DzubrMFT.js → prompt-select-styled-DsfDWex-.js} +37 -37
- package/dist/{prompt-select-styled-7hzJWrd9.js → prompt-select-styled-IsBentVx.js} +4 -4
- package/dist/{provider-auth-helpers-YtnVtfHM.js → provider-auth-helpers-DrJAeoq0.js} +1 -1
- package/dist/{provider-auth-helpers-dm-wozHr.js → provider-auth-helpers-DrbsliXm.js} +5 -5
- package/dist/{push-apns-BV7zUKu7.js → push-apns-BbrJYz07.js} +1 -1
- package/dist/{push-apns-A-7U4OK4.js → push-apns-JodkXySf.js} +5 -5
- package/dist/{pw-ai-BGALvhDi.js → pw-ai-7i9eGnLh.js} +11 -11
- package/dist/{pw-ai-CowTfhOG.js → pw-ai-CfYaR1K2.js} +1 -1
- package/dist/{pw-ai-DjmrIQle.js → pw-ai-yrIWfcWX.js} +1 -1
- package/dist/{qmd-manager-CVcPfkhL.js → qmd-manager-B-qeywfQ.js} +19 -19
- package/dist/{qr-cli-D2Oh8f0U.js → qr-cli-CSt5ihwG.js} +1 -1
- package/dist/{query-expansion-i5I3yavb.js → query-expansion-Clts_AGz.js} +12 -12
- package/dist/{redact-snapshot-CtIVs92s.js → redact-snapshot-BBNDQZIe.js} +1 -1
- package/dist/{register.agent-rHf18cUW.js → register.agent-Bv2Q4a7v.js} +9 -9
- package/dist/{register.agent-D5bvlE12.js → register.agent-CYk5RGin.js} +95 -95
- package/dist/register.configure-CKtMVkJ5.js +168 -0
- package/dist/{register.configure-9NQauTQK.js → register.configure-Cnmmqe9t.js} +8 -8
- package/dist/{register.maintenance-BIVd22Yn.js → register.maintenance-BJ18f5vw.js} +9 -9
- package/dist/{register.maintenance-QBWMAGg5.js → register.maintenance-irYQ4RHx.js} +90 -90
- package/dist/{register.message-C4xi8EEY.js → register.message-LaE57X6H.js} +3 -3
- package/dist/{register.message-SchCSbTL.js → register.message-RUihJQu2.js} +71 -71
- package/dist/{register.onboard-DV8DYRTN.js → register.onboard-5RSmUDC7.js} +18 -18
- package/dist/{register.onboard-PcPjyLxN.js → register.onboard-BbcuO62e.js} +2 -2
- package/dist/{register.orchestrator-anton-D8yY6nax.js → register.orchestrator-anton-BtAMVZTG.js} +2 -2
- package/dist/{register.orchestrator-anton-BcfMp8Cz.js → register.orchestrator-anton-DJPJSUZJ.js} +14 -14
- package/dist/{register.setup-B0CVTHFW.js → register.setup-BAjbcllf.js} +21 -21
- package/dist/{register.setup-CrajCApG.js → register.setup-B_DYnuvj.js} +2 -2
- package/dist/{register.status-health-sessions-CsrQlTwE.js → register.status-health-sessions-CyapPo53.js} +4 -4
- package/dist/{register.status-health-sessions-MOhlrdZM.js → register.status-health-sessions-DoeE4mrI.js} +82 -82
- package/dist/{register.subclis-Bsrxn7je.js → register.subclis-BHO_F5il.js} +9 -9
- package/dist/{replies-Czp4hvpS.js → replies-hSFVxL4h.js} +1 -1
- package/dist/{reply-DlbLp0Yj.js → reply-UTSsx9A5.js} +226 -170
- package/dist/{reply-prefix-BMEdvSpA.js → reply-prefix-C3y4zpTl.js} +1 -1
- package/dist/{resolve-route-Ef_Yt2Dw.js → resolve-route-D_AbcmD6.js} +2 -2
- package/dist/{rpc-DDTp_J6f.js → rpc-CCimHATv.js} +1 -1
- package/dist/{run-main-BIzE50C9.js → run-main-BcSggHco.js} +15 -15
- package/dist/{runner-CZW_eyf2.js → runner-Bv_BA3vd.js} +1 -1
- package/dist/{runner-BFG54hnb.js → runner-DzszLzI4.js} +20 -20
- package/dist/{runner-BzNdfqDz.js → runner-PgRFPYUj.js} +1 -1
- package/dist/{runtime-DEmy759r.js → runtime-XmXLaHNk.js} +2 -2
- package/dist/{sandbox-CfPbhDY_.js → sandbox-DcUw5h3p.js} +20 -20
- package/dist/{sandbox-cli-B4wLJr21.js → sandbox-cli-DGvJ7Eeq.js} +22 -22
- package/dist/{secrets-cli-CidAOBfl.js → secrets-cli-Bgp_H_bH.js} +9 -9
- package/dist/{security-cli-Ch7AhbhS.js → security-cli-MQ__Ca6v.js} +39 -39
- package/dist/{send-DDMaLJAQ.js → send--lzpNy4f.js} +7 -7
- package/dist/{send-BCPkAE2k.js → send-C4v0Leny.js} +6 -6
- package/dist/{send-CEavqqEz.js → send-DQiw_nGD.js} +6 -6
- package/dist/{send-BPwTl4-K.js → send-DuwdEkLw.js} +4 -4
- package/dist/{send-CVIXqubC.js → send-DwdHiC7_.js} +13 -13
- package/dist/{server-BpSbZAwg.js → server-D6MltJIF.js} +14 -14
- package/dist/{server-context-BxNSTpH6.js → server-context-DI0W_H7R.js} +10 -10
- package/dist/{server-lifecycle-CGKrGrhM.js → server-lifecycle-B5PlrlbG.js} +2 -2
- package/dist/{server-node-events-Ca-vBB7y.js → server-node-events-Dy9G22Jd.js} +3 -3
- package/dist/{server-node-events-CJo-LhWK.js → server-node-events-djWxYbcV.js} +71 -71
- package/dist/{service-Bj2oSfpw.js → service-C8NMS3m_.js} +15 -15
- package/dist/{session-BKVySI8q.js → session-CdnrRhb4.js} +1 -1
- package/dist/{sessions-BqWocozB.js → sessions-BtPXimXQ.js} +14 -14
- package/dist/{shared-DnQ4iyXk.js → shared-CpDPo3hJ.js} +2 -2
- package/dist/{shared-Jzrx8DfN.js → shared-DpLSpJIl.js} +1 -1
- package/dist/{skill-commands-BwIRWSCI.js → skill-commands-BFzmZAfo.js} +5 -5
- package/dist/{skill-scanner-B4Ftsbd2.js → skill-scanner-D7mzXRXd.js} +5 -5
- package/dist/{skills-TIyQDZx7.js → skills-DlvDyK8L.js} +3 -3
- package/dist/{skills-cli-5lbXi4Lh.js → skills-cli-BhKGhjbO.js} +5 -5
- package/dist/{skills-install-D0JHP5uM.js → skills-install-tr6wRWZj.js} +4 -4
- package/dist/{skills-status-Q9skQExW.js → skills-status-qjQ8XP0h.js} +1 -1
- package/dist/{status-Bq62ab72.js → status-CRW4RVm9.js} +2 -2
- package/dist/{status-Dkbgc9sr.js → status-DCTlIRAH.js} +24 -24
- package/dist/{status.update-C3uRz7W6.js → status.update-CTi6vuWj.js} +2 -2
- package/dist/{store-CLNuI8-G.js → store-kH9wHHbO.js} +5 -5
- package/dist/{subagent-registry-DdXcwxHN.js → subagent-registry-BOLFoCi4.js} +84 -28
- package/dist/{system-cli-DBp9Zmvt.js → system-cli-3T-OTIKv.js} +8 -8
- package/dist/{system-run-approval-context-xZVoE4nS.js → system-run-approval-context-CISBXlNw.js} +1 -1
- package/dist/{system-run-command-BIhrK3OI.js → system-run-command-qJdgzxLp.js} +1 -1
- package/dist/{systemd-DyrVLTI0.js → systemd-CaCR5CyM.js} +9 -9
- package/dist/{systemd-hints-BoKKzRI_.js → systemd-hints-DHu-HVFx.js} +6 -6
- package/dist/{systemd-linger-DrhGd61G.js → systemd-linger-B7XlUHk_.js} +1 -1
- package/dist/{tables-CZSD889r.js → tables-g9xkflht.js} +1 -1
- package/dist/{target-errors-BYuWhuLU.js → target-errors-bLIVFsbF.js} +4 -4
- package/dist/{tool-images-DZHrc4pq.js → tool-images-CHqepyF_.js} +1 -1
- package/dist/{tui-cli-DKyA5pZ2.js → tui-cli-BVKWJ9X7.js} +30 -30
- package/dist/{tui-DWGHGeZ3.js → tui-lalhRHve.js} +6 -6
- package/dist/{update-la2AdLf3.js → update-D79ppbMQ.js} +3 -3
- package/dist/{update-cli-DaMRO-aG.js → update-cli-Cj0Vr_B2.js} +9 -9
- package/dist/{update-cli-DazNo7rK.js → update-cli-CmbNPprw.js} +99 -99
- package/dist/{update-runner-BVkF5g4U.js → update-runner-BVl7tNUy.js} +1 -1
- package/dist/{update-runner-y0ygXgsr.js → update-runner-DaUhZyT6.js} +15 -15
- package/dist/{upgrade-command-CRivS_8q.js → upgrade-command-DP6F1cjV.js} +3 -3
- package/dist/web-3qIgCpGr.js +123 -0
- package/dist/{web-DBWzdQPi.js → web-BWvhgqLS.js} +3 -3
- package/dist/{web-CZCgCfEk.js → web-DSdRgqhB.js} +8 -8
- package/dist/{web-DeCBCsXv.js → web-HiM9F0MQ.js} +8 -8
- package/dist/{webhooks-cli-BnmVPYkU.js → webhooks-cli-2N03q0iY.js} +6 -6
- package/dist/{whatsapp-actions-D2mBFzmK.js → whatsapp-actions-Cms8wQM1.js} +18 -18
- package/dist/{with-timeout-BodPmGCY.js → with-timeout-DEdycYxq.js} +3 -3
- package/dist/{workspace-CDw87aZG.js → workspace-D3pARwoB.js} +1 -1
- package/dist/{workspace-dirs-D3bousoX.js → workspace-dirs-SsExQ3Bz.js} +1 -1
- package/dist/{wsl-CgXDjE09.js → wsl-BJW8nTyL.js} +2 -2
- package/extensions/acpx/node_modules/.bin/acpx +2 -2
- package/package.json +1 -1
- package/dist/anton-RLNAl1Wi.js +0 -579
- package/dist/plugin-sdk/web-CWWIv9mK.js +0 -71
- package/dist/register.configure-Cz-AvXU5.js +0 -168
- package/dist/web-k_Gtl1KZ.js +0 -123
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import { u as resolveGatewayPort } from "./paths-Cn44w-EB.js";
|
|
2
2
|
import { B as theme, k as info, z as isRich } from "./utils-CXzXXV2o.js";
|
|
3
|
-
import { D as resolveSessionModelRef, Er as peekSystemEvents, G as readRestartSentinel, K as summarizeRestartSentinel, Zt as resolveContextTokensForModel, b as classifySessionKey, bt as formatUsageReportLines, c as buildChannelSummary, l as buildChannelAccountSnapshot, u as formatChannelAllowFrom, x as listAgentsForGateway, yt as loadProviderUsageSummary } from "./reply-
|
|
4
|
-
import { u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
3
|
+
import { D as resolveSessionModelRef, Er as peekSystemEvents, G as readRestartSentinel, K as summarizeRestartSentinel, Zt as resolveContextTokensForModel, b as classifySessionKey, bt as formatUsageReportLines, c as buildChannelSummary, l as buildChannelAccountSnapshot, u as formatChannelAllowFrom, x as listAgentsForGateway, yt as loadProviderUsageSummary } from "./reply-UTSsx9A5.js";
|
|
4
|
+
import { u as resolveAgentWorkspaceDir } from "./agent-scope-RA0zXRpu.js";
|
|
5
5
|
import { w as parseAgentSessionKey } from "./session-key-Cuihcz_O.js";
|
|
6
|
-
import { t as resolveIdleHandsPackageRoot } from "./idlehands-root-
|
|
6
|
+
import { t as resolveIdleHandsPackageRoot } from "./idlehands-root-B8cUs-5M.js";
|
|
7
7
|
import { n as runExec } from "./exec-CKHMT0tZ.js";
|
|
8
|
-
import { $r as DEFAULT_PROVIDER, It as loadConfig, Qr as DEFAULT_MODEL, Rt as readConfigFileSnapshot, Zr as DEFAULT_CONTEXT_TOKENS, m as resolveConfiguredModelRef } from "./model-selection-
|
|
8
|
+
import { $r as DEFAULT_PROVIDER, It as loadConfig, Qr as DEFAULT_MODEL, Rt as readConfigFileSnapshot, Zr as DEFAULT_CONTEXT_TOKENS, m as resolveConfiguredModelRef } from "./model-selection-0dGxYGp8.js";
|
|
9
9
|
import { t as formatCliCommand } from "./command-format-DInZLuZ8.js";
|
|
10
10
|
import { r as VERSION } from "./env-vars-sTMVGyld.js";
|
|
11
11
|
import { o as getTailnetHostname, s as readTailscaleStatusJson } from "./tailscale-B5Irc_Bi.js";
|
|
12
|
-
import { a as inspectPortUsage, l as formatPortDiagnostics } from "./ports-
|
|
13
|
-
import { Y as resolveFreshSessionTotalTokens, c as loadSessionStore, et as resolveMainSessionKey } from "./sessions-
|
|
14
|
-
import { n as listChannelPlugins } from "./plugins-
|
|
12
|
+
import { a as inspectPortUsage, l as formatPortDiagnostics } from "./ports-SQy1d-RL.js";
|
|
13
|
+
import { Y as resolveFreshSessionTotalTokens, c as loadSessionStore, et as resolveMainSessionKey } from "./sessions-BtPXimXQ.js";
|
|
14
|
+
import { n as listChannelPlugins } from "./plugins-D46VZh7u.js";
|
|
15
15
|
import { u as resolveStorePath } from "./paths-DRz46q00.js";
|
|
16
|
-
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-
|
|
16
|
+
import { n as callGateway, t as buildGatewayConnectionDetails } from "./call-BRL23UCk.js";
|
|
17
17
|
import { n as formatTimeAgo } from "./format-relative-DcQZUAYl.js";
|
|
18
18
|
import { r as formatDurationPrecise } from "./format-duration-C9ZBnsdW.js";
|
|
19
|
-
import { r as getMemorySearchManager } from "./memory-cli-
|
|
19
|
+
import { r as getMemorySearchManager } from "./memory-cli-CUGwnVIY.js";
|
|
20
20
|
import { n as withProgress } from "./progress-BQLz1r3L.js";
|
|
21
|
-
import { o as getRemoteSkillEligibility } from "./skill-commands-
|
|
21
|
+
import { o as getRemoteSkillEligibility } from "./skill-commands-BFzmZAfo.js";
|
|
22
22
|
import { a as sha256HexPrefix } from "./active-listener-30JxwI-t.js";
|
|
23
|
-
import { C as normalizeControlUiBasePath, g as resolveControlUiLinks } from "./onboard-helpers-
|
|
24
|
-
import { t as buildWorkspaceSkillStatus } from "./skills-status-
|
|
23
|
+
import { C as normalizeControlUiBasePath, g as resolveControlUiLinks } from "./onboard-helpers-BQmbMJxJ.js";
|
|
24
|
+
import { t as buildWorkspaceSkillStatus } from "./skills-status-qjQ8XP0h.js";
|
|
25
25
|
import { t as resolveChannelDefaultAccountId } from "./helpers-C6eW1WGZ.js";
|
|
26
|
-
import { t as collectChannelStatusIssues } from "./channels-status-issues-
|
|
27
|
-
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-
|
|
26
|
+
import { t as collectChannelStatusIssues } from "./channels-status-issues-CDpWjdI3.js";
|
|
27
|
+
import { s as resolveGatewayLogPaths, t as resolveGatewayService } from "./service-C8NMS3m_.js";
|
|
28
28
|
import { t as formatRuntimeStatusWithDetails } from "./runtime-status-D7pLXkNs.js";
|
|
29
|
-
import { t as readLastGatewayErrorLine } from "./diagnostics-
|
|
29
|
+
import { t as readLastGatewayErrorLine } from "./diagnostics-DmZbQ8Nc.js";
|
|
30
30
|
import { t as renderTable } from "./table-B9AmL3M1.js";
|
|
31
|
-
import { i as resolveGatewayProbeAuth$1, s as probeGateway, t as runSecurityAudit } from "./audit-
|
|
32
|
-
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health
|
|
33
|
-
import { _ as resolveUpdateChannelDisplay, a as formatGitInstallLabel, h as normalizeUpdateChannel, n as checkUpdateStatus, t as resolveDefaultChannelAccountContext } from "./channel-account-context-
|
|
34
|
-
import { t as resolveNodeService } from "./node-service-
|
|
31
|
+
import { i as resolveGatewayProbeAuth$1, s as probeGateway, t as runSecurityAudit } from "./audit-BmaVRZSd.js";
|
|
32
|
+
import { o as resolveHeartbeatSummaryForAgent, t as formatHealthChannelLines } from "./health--cNlCqAN.js";
|
|
33
|
+
import { _ as resolveUpdateChannelDisplay, a as formatGitInstallLabel, h as normalizeUpdateChannel, n as checkUpdateStatus, t as resolveDefaultChannelAccountContext } from "./channel-account-context-CDbY5AIr.js";
|
|
34
|
+
import { t as resolveNodeService } from "./node-service-C3vyxHLA.js";
|
|
35
35
|
import { n as redactSecrets, t as formatGatewayAuthUsed } from "./format-BK5XIv_A.js";
|
|
36
|
-
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, r as getUpdateCheckResult, t as formatUpdateAvailableHint } from "./status.update-
|
|
36
|
+
import { i as resolveUpdateAvailability, n as formatUpdateOneLiner, r as getUpdateCheckResult, t as formatUpdateAvailableHint } from "./status.update-CTi6vuWj.js";
|
|
37
37
|
import { t as shortenText } from "./text-format-HY7-Cgr7.js";
|
|
38
38
|
import fs from "node:fs";
|
|
39
39
|
import os from "node:os";
|
|
40
40
|
import path from "node:path";
|
|
41
|
-
import
|
|
41
|
+
import fs$1 from "node:fs/promises";
|
|
42
42
|
import { spawnSync } from "node:child_process";
|
|
43
43
|
|
|
44
44
|
//#region src/commands/gateway-presence.ts
|
|
@@ -127,7 +127,7 @@ function resolveOsSummary() {
|
|
|
127
127
|
//#region src/commands/status-all/agents.ts
|
|
128
128
|
async function fileExists$1(p) {
|
|
129
129
|
try {
|
|
130
|
-
await
|
|
130
|
+
await fs$1.access(p);
|
|
131
131
|
return true;
|
|
132
132
|
} catch {
|
|
133
133
|
return false;
|
|
@@ -492,7 +492,7 @@ async function buildChannelsTable(cfg, opts) {
|
|
|
492
492
|
//#endregion
|
|
493
493
|
//#region src/commands/status-all/gateway.ts
|
|
494
494
|
async function readFileTailLines(filePath, maxLines) {
|
|
495
|
-
const raw = await
|
|
495
|
+
const raw = await fs$1.readFile(filePath, "utf8").catch(() => "");
|
|
496
496
|
if (!raw.trim()) return [];
|
|
497
497
|
const lines = raw.replace(/\r/g, "").split("\n");
|
|
498
498
|
return lines.slice(Math.max(0, lines.length - maxLines)).map((line) => line.trimEnd()).filter((line) => line.trim().length > 0);
|
|
@@ -1250,7 +1250,7 @@ function resolveGatewayProbeAuth(cfg) {
|
|
|
1250
1250
|
//#region src/commands/status.agent-local.ts
|
|
1251
1251
|
async function fileExists(p) {
|
|
1252
1252
|
try {
|
|
1253
|
-
await
|
|
1253
|
+
await fs$1.access(p);
|
|
1254
1254
|
return true;
|
|
1255
1255
|
} catch {
|
|
1256
1256
|
return false;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as resolveIdleHandsPackageRoot } from "./idlehands-root-
|
|
1
|
+
import { t as resolveIdleHandsPackageRoot } from "./idlehands-root-B8cUs-5M.js";
|
|
2
2
|
import { t as formatCliCommand } from "./command-format-DInZLuZ8.js";
|
|
3
3
|
import { r as VERSION } from "./env-vars-sTMVGyld.js";
|
|
4
|
-
import { n as checkUpdateStatus, r as compareSemverStrings } from "./channel-account-context-
|
|
4
|
+
import { n as checkUpdateStatus, r as compareSemverStrings } from "./channel-account-context-CDbY5AIr.js";
|
|
5
5
|
|
|
6
6
|
//#region src/commands/status.update.ts
|
|
7
7
|
async function getUpdateCheckResult(params) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { g as resolveConfigDir } from "./utils-CXzXXV2o.js";
|
|
2
|
-
import { c as detectMime, l as extensionForMime } from "./image-ops-
|
|
2
|
+
import { c as detectMime, l as extensionForMime } from "./image-ops-BU-VdLZu.js";
|
|
3
3
|
import { createWriteStream } from "node:fs";
|
|
4
4
|
import path from "node:path";
|
|
5
|
-
import
|
|
5
|
+
import fs$1 from "node:fs/promises";
|
|
6
6
|
import crypto from "node:crypto";
|
|
7
7
|
import { request } from "node:https";
|
|
8
8
|
import { pipeline } from "node:stream/promises";
|
|
@@ -27,7 +27,7 @@ function getMediaDir() {
|
|
|
27
27
|
}
|
|
28
28
|
async function ensureMediaDir() {
|
|
29
29
|
const mediaDir = resolveMediaDir();
|
|
30
|
-
await
|
|
30
|
+
await fs$1.mkdir(mediaDir, {
|
|
31
31
|
recursive: true,
|
|
32
32
|
mode: 448
|
|
33
33
|
});
|
|
@@ -36,7 +36,7 @@ async function ensureMediaDir() {
|
|
|
36
36
|
async function saveMediaBuffer(buffer, contentType, subdir = "inbound", maxBytes = MAX_BYTES, originalFilename) {
|
|
37
37
|
if (buffer.byteLength > maxBytes) throw new Error(`Media exceeds ${(maxBytes / (1024 * 1024)).toFixed(0)}MB limit`);
|
|
38
38
|
const dir = path.join(resolveMediaDir(), subdir);
|
|
39
|
-
await
|
|
39
|
+
await fs$1.mkdir(dir, {
|
|
40
40
|
recursive: true,
|
|
41
41
|
mode: 448
|
|
42
42
|
});
|
|
@@ -54,7 +54,7 @@ async function saveMediaBuffer(buffer, contentType, subdir = "inbound", maxBytes
|
|
|
54
54
|
id = sanitized ? `${sanitized}---${uuid}${ext}` : `${uuid}${ext}`;
|
|
55
55
|
} else id = ext ? `${uuid}${ext}` : uuid;
|
|
56
56
|
const dest = path.join(dir, id);
|
|
57
|
-
await
|
|
57
|
+
await fs$1.writeFile(dest, buffer, { mode: 384 });
|
|
58
58
|
return {
|
|
59
59
|
id,
|
|
60
60
|
path: dest,
|
|
@@ -109,7 +109,7 @@ import { a as resolveSubagentToolPolicy, c as readStoreAllowFromForDmPolicy, d a
|
|
|
109
109
|
import { t as makeProxyFetch } from "./proxy-GJkoUC6V.js";
|
|
110
110
|
import { n as isDangerousNameMatchingEnabled } from "./dangerous-name-matching-DhuP2lHs.js";
|
|
111
111
|
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-DSfpze17.js";
|
|
112
|
-
import { i as createOutboundSendDepsFromCliSource, t as createDefaultDeps } from "./deps-
|
|
112
|
+
import { i as createOutboundSendDepsFromCliSource, t as createDefaultDeps } from "./deps-BuPPEKKU.js";
|
|
113
113
|
import { r as detectBinary } from "./onboard-helpers-Dp6wXNs7.js";
|
|
114
114
|
import { t as resolvePairingIdLabel } from "./pairing-labels-D7xcHkxi.js";
|
|
115
115
|
import { createRequire } from "node:module";
|
|
@@ -16857,9 +16857,12 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
16857
16857
|
const body = params.command.commandBodyNormalized;
|
|
16858
16858
|
if (!body.startsWith("/anton")) return null;
|
|
16859
16859
|
if (!params.command.isAuthorizedSender) return { shouldContinue: false };
|
|
16860
|
+
const channel = params.ctx.OriginatingChannel ?? params.command.channel;
|
|
16861
|
+
const to = params.ctx.OriginatingTo ?? params.command.from ?? params.command.to ?? "";
|
|
16862
|
+
const canRoute = isRoutableChannel(channel);
|
|
16860
16863
|
const replyCtx = {
|
|
16861
|
-
channel
|
|
16862
|
-
to
|
|
16864
|
+
channel,
|
|
16865
|
+
to,
|
|
16863
16866
|
sessionKey: params.sessionKey,
|
|
16864
16867
|
accountId: params.ctx.AccountId,
|
|
16865
16868
|
threadId: params.ctx.MessageThreadId,
|
|
@@ -16867,25 +16870,35 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
16867
16870
|
};
|
|
16868
16871
|
const arg = body.slice(6).trim();
|
|
16869
16872
|
if (arg === "status" || arg === "") {
|
|
16870
|
-
const { antonStatus } = await import("./anton-
|
|
16873
|
+
const { antonStatus } = await import("./anton-C7A24R8k.js").then((n) => n.r);
|
|
16871
16874
|
const lines = [];
|
|
16872
16875
|
await antonStatus({
|
|
16873
16876
|
log: (msg) => lines.push(msg),
|
|
16874
16877
|
error: (msg) => lines.push(msg),
|
|
16875
16878
|
exit: () => {}
|
|
16876
16879
|
});
|
|
16877
|
-
|
|
16880
|
+
const text = lines.join("\n") || "Anton is idle.";
|
|
16881
|
+
if (!canRoute) return {
|
|
16882
|
+
shouldContinue: false,
|
|
16883
|
+
reply: { text }
|
|
16884
|
+
};
|
|
16885
|
+
await sendProgress(replyCtx, text);
|
|
16878
16886
|
return { shouldContinue: false };
|
|
16879
16887
|
}
|
|
16880
16888
|
if (arg === "stop") {
|
|
16881
|
-
const { antonStop } = await import("./anton-
|
|
16889
|
+
const { antonStop } = await import("./anton-C7A24R8k.js").then((n) => n.r);
|
|
16882
16890
|
const lines = [];
|
|
16883
16891
|
await antonStop({
|
|
16884
16892
|
log: (msg) => lines.push(msg),
|
|
16885
16893
|
error: (msg) => lines.push(msg),
|
|
16886
16894
|
exit: () => {}
|
|
16887
16895
|
});
|
|
16888
|
-
|
|
16896
|
+
const text = lines.join("\n") || "Stop requested.";
|
|
16897
|
+
if (!canRoute) return {
|
|
16898
|
+
shouldContinue: false,
|
|
16899
|
+
reply: { text }
|
|
16900
|
+
};
|
|
16901
|
+
await sendProgress(replyCtx, text);
|
|
16889
16902
|
return { shouldContinue: false };
|
|
16890
16903
|
}
|
|
16891
16904
|
const taskFile = arg;
|
|
@@ -16894,19 +16907,30 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
16894
16907
|
const resolvedPath = pathMod.resolve(params.workspaceDir || process.cwd(), taskFile);
|
|
16895
16908
|
try {
|
|
16896
16909
|
if (!(await fs.stat(resolvedPath)).isFile()) {
|
|
16897
|
-
|
|
16910
|
+
const text = `❌ Not a file: \`${resolvedPath}\``;
|
|
16911
|
+
if (!canRoute) return {
|
|
16912
|
+
shouldContinue: false,
|
|
16913
|
+
reply: { text }
|
|
16914
|
+
};
|
|
16915
|
+
await sendProgress(replyCtx, text);
|
|
16898
16916
|
return { shouldContinue: false };
|
|
16899
16917
|
}
|
|
16900
16918
|
} catch {
|
|
16901
|
-
|
|
16919
|
+
const text = `❌ File not found: \`${resolvedPath}\``;
|
|
16920
|
+
if (!canRoute) return {
|
|
16921
|
+
shouldContinue: false,
|
|
16922
|
+
reply: { text }
|
|
16923
|
+
};
|
|
16924
|
+
await sendProgress(replyCtx, text);
|
|
16902
16925
|
return { shouldContinue: false };
|
|
16903
16926
|
}
|
|
16904
|
-
const { runAnton, formatProgressMessage } = await import("./anton-
|
|
16905
|
-
const { createDefaultDeps } = await import("./deps-
|
|
16927
|
+
const { runAnton, formatProgressMessage } = await import("./anton-C7A24R8k.js").then((n) => n.r);
|
|
16928
|
+
const { createDefaultDeps } = await import("./deps-BuPPEKKU.js").then((n) => n.r);
|
|
16906
16929
|
const { createNonExitingRuntime } = await import("./runtime-CgcH_FLo.js").then((n) => n.r);
|
|
16907
16930
|
const runtime = createNonExitingRuntime();
|
|
16908
16931
|
const deps = createDefaultDeps();
|
|
16909
|
-
|
|
16932
|
+
const startText = `🤚 **/anton** invoked on \`${pathMod.basename(resolvedPath)}\`\nStarting orchestrator...`;
|
|
16933
|
+
if (canRoute) await sendProgress(replyCtx, startText);
|
|
16910
16934
|
(async () => {
|
|
16911
16935
|
try {
|
|
16912
16936
|
await runAnton({
|
|
@@ -16916,15 +16940,19 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
16916
16940
|
force: false,
|
|
16917
16941
|
dryRun: false,
|
|
16918
16942
|
workspaceDir: params.workspaceDir || void 0,
|
|
16919
|
-
onProgress: async (event) => {
|
|
16943
|
+
...canRoute ? { onProgress: async (event) => {
|
|
16920
16944
|
await sendProgress(replyCtx, formatProgressMessage(event));
|
|
16921
|
-
}
|
|
16945
|
+
} } : {}
|
|
16922
16946
|
});
|
|
16923
16947
|
} catch (err) {
|
|
16924
|
-
|
|
16948
|
+
const msg = err instanceof Error ? err.message : String(err);
|
|
16949
|
+
if (canRoute) await sendProgress(replyCtx, `❌ **Anton crashed**: ${msg}`);
|
|
16925
16950
|
}
|
|
16926
16951
|
})();
|
|
16927
|
-
return { shouldContinue: false }
|
|
16952
|
+
return canRoute ? { shouldContinue: false } : {
|
|
16953
|
+
shouldContinue: false,
|
|
16954
|
+
reply: { text: startText }
|
|
16955
|
+
};
|
|
16928
16956
|
};
|
|
16929
16957
|
|
|
16930
16958
|
//#endregion
|
|
@@ -16936,9 +16964,15 @@ const handleDirCommand = async (params, _allowTextCommands) => {
|
|
|
16936
16964
|
const channel = params.ctx.OriginatingChannel ?? params.command.channel;
|
|
16937
16965
|
const to = params.ctx.OriginatingTo ?? params.command.from ?? params.command.to ?? "";
|
|
16938
16966
|
const arg = body.slice(4).trim();
|
|
16967
|
+
const canRoute = isRoutableChannel(channel);
|
|
16939
16968
|
if (!arg) {
|
|
16969
|
+
const text = `📂 Current workspace: \`${params.workspaceDir || "(not set)"}\``;
|
|
16970
|
+
if (!canRoute) return {
|
|
16971
|
+
shouldContinue: false,
|
|
16972
|
+
reply: { text }
|
|
16973
|
+
};
|
|
16940
16974
|
await routeReply({
|
|
16941
|
-
payload: { text
|
|
16975
|
+
payload: { text },
|
|
16942
16976
|
channel,
|
|
16943
16977
|
to,
|
|
16944
16978
|
sessionKey: params.sessionKey,
|
|
@@ -16953,8 +16987,13 @@ const handleDirCommand = async (params, _allowTextCommands) => {
|
|
|
16953
16987
|
const resolved = (await import("node:path")).resolve(newPath);
|
|
16954
16988
|
try {
|
|
16955
16989
|
if (!(await fs.stat(resolved)).isDirectory()) {
|
|
16990
|
+
const text = `❌ Path exists but is not a directory: \`${resolved}\``;
|
|
16991
|
+
if (!canRoute) return {
|
|
16992
|
+
shouldContinue: false,
|
|
16993
|
+
reply: { text }
|
|
16994
|
+
};
|
|
16956
16995
|
await routeReply({
|
|
16957
|
-
payload: { text
|
|
16996
|
+
payload: { text },
|
|
16958
16997
|
channel,
|
|
16959
16998
|
to,
|
|
16960
16999
|
sessionKey: params.sessionKey,
|
|
@@ -16965,8 +17004,13 @@ const handleDirCommand = async (params, _allowTextCommands) => {
|
|
|
16965
17004
|
return { shouldContinue: false };
|
|
16966
17005
|
}
|
|
16967
17006
|
} catch {
|
|
17007
|
+
const text = `❌ Directory not found: \`${resolved}\``;
|
|
17008
|
+
if (!canRoute) return {
|
|
17009
|
+
shouldContinue: false,
|
|
17010
|
+
reply: { text }
|
|
17011
|
+
};
|
|
16968
17012
|
await routeReply({
|
|
16969
|
-
payload: { text
|
|
17013
|
+
payload: { text },
|
|
16970
17014
|
channel,
|
|
16971
17015
|
to,
|
|
16972
17016
|
sessionKey: params.sessionKey,
|
|
@@ -16987,8 +17031,13 @@ const handleDirCommand = async (params, _allowTextCommands) => {
|
|
|
16987
17031
|
});
|
|
16988
17032
|
}
|
|
16989
17033
|
params.workspaceDir = resolved;
|
|
17034
|
+
const text = `✅ Workspace set to: \`${resolved}\`\nActive for this session only.`;
|
|
17035
|
+
if (!canRoute) return {
|
|
17036
|
+
shouldContinue: false,
|
|
17037
|
+
reply: { text }
|
|
17038
|
+
};
|
|
16990
17039
|
await routeReply({
|
|
16991
|
-
payload: { text
|
|
17040
|
+
payload: { text },
|
|
16992
17041
|
channel,
|
|
16993
17042
|
to,
|
|
16994
17043
|
sessionKey: params.sessionKey,
|
|
@@ -16997,8 +17046,13 @@ const handleDirCommand = async (params, _allowTextCommands) => {
|
|
|
16997
17046
|
cfg: params.cfg
|
|
16998
17047
|
});
|
|
16999
17048
|
} catch (err) {
|
|
17049
|
+
const text = `❌ Failed to update workspace: ${err instanceof Error ? err.message : String(err)}`;
|
|
17050
|
+
if (!canRoute) return {
|
|
17051
|
+
shouldContinue: false,
|
|
17052
|
+
reply: { text }
|
|
17053
|
+
};
|
|
17000
17054
|
await routeReply({
|
|
17001
|
-
payload: { text
|
|
17055
|
+
payload: { text },
|
|
17002
17056
|
channel,
|
|
17003
17057
|
to,
|
|
17004
17058
|
sessionKey: params.sessionKey,
|
|
@@ -41309,7 +41363,7 @@ async function getReplyFromConfig(ctx, opts, configOverride) {
|
|
|
41309
41363
|
hasResolvedHeartbeatModelOverride = true;
|
|
41310
41364
|
}
|
|
41311
41365
|
}
|
|
41312
|
-
|
|
41366
|
+
let workspaceDir = (await ensureAgentWorkspace({
|
|
41313
41367
|
dir: resolveAgentWorkspaceDir(cfg, agentId) ?? DEFAULT_AGENT_WORKSPACE_DIR,
|
|
41314
41368
|
ensureBootstrapFiles: !agentCfg?.skipBootstrap && !isFastTestEnv
|
|
41315
41369
|
})).dir;
|
|
@@ -41355,6 +41409,8 @@ async function getReplyFromConfig(ctx, opts, configOverride) {
|
|
|
41355
41409
|
cfg,
|
|
41356
41410
|
commandAuthorized
|
|
41357
41411
|
});
|
|
41412
|
+
const sessionWorkspaceDir = sessionEntry.workspaceDir?.trim();
|
|
41413
|
+
if (sessionWorkspaceDir) workspaceDir = sessionWorkspaceDir;
|
|
41358
41414
|
await applyResetModelOverride({
|
|
41359
41415
|
cfg,
|
|
41360
41416
|
resetTriggered,
|
|
@@ -49516,7 +49572,7 @@ function createDiscordMessageHandler(params) {
|
|
|
49516
49572
|
try {
|
|
49517
49573
|
const messageText = resolveDiscordMessageText(data.message)?.trim();
|
|
49518
49574
|
if (messageText) {
|
|
49519
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
49575
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-D32_vcC_.js");
|
|
49520
49576
|
if (isAbortRequestText(messageText)) {
|
|
49521
49577
|
const { resolveAgentRoute } = await import("./resolve-route-VUTvr63H.js").then((n) => n.r);
|
|
49522
49578
|
const channelId = resolveDiscordMessageChannelId({
|
|
@@ -56989,7 +57045,7 @@ async function monitorIMessageProvider(opts = {}) {
|
|
|
56989
57045
|
}
|
|
56990
57046
|
const msgText = (message.text ?? "").trim();
|
|
56991
57047
|
if (msgText) {
|
|
56992
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
57048
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-D32_vcC_.js");
|
|
56993
57049
|
if (isAbortRequestText(msgText)) {
|
|
56994
57050
|
const { resolveAgentRoute } = await import("./resolve-route-VUTvr63H.js").then((n) => n.r);
|
|
56995
57051
|
const route = resolveAgentRoute({
|
|
@@ -59594,7 +59650,7 @@ function createSignalEventHandler(deps) {
|
|
|
59594
59650
|
const senderName = envelope.sourceName ?? senderDisplay;
|
|
59595
59651
|
const messageId = typeof envelope.timestamp === "number" ? String(envelope.timestamp) : void 0;
|
|
59596
59652
|
if (bodyText) {
|
|
59597
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
59653
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-D32_vcC_.js");
|
|
59598
59654
|
if (isAbortRequestText(bodyText)) {
|
|
59599
59655
|
const { resolveAgentRoute } = await import("./resolve-route-VUTvr63H.js").then((n) => n.r);
|
|
59600
59656
|
const route = resolveAgentRoute({
|
|
@@ -62983,7 +63039,7 @@ function createSlackMessageHandler(params) {
|
|
|
62983
63039
|
if (ctx.markMessageSeen(message.channel, message.ts)) return;
|
|
62984
63040
|
const rawText = (message.text ?? "").trim();
|
|
62985
63041
|
if (rawText) {
|
|
62986
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
63042
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-D32_vcC_.js");
|
|
62987
63043
|
if (isAbortRequestText(rawText)) {
|
|
62988
63044
|
const { resolveAgentRoute } = await import("./resolve-route-VUTvr63H.js").then((n) => n.r);
|
|
62989
63045
|
const route = resolveAgentRoute({
|
|
@@ -65177,7 +65233,7 @@ const registerTelegramHandlers = ({ cfg, accountId, bot, opts, runtime, mediaMax
|
|
|
65177
65233
|
const { ctx, msg, chatId, resolvedThreadId, storeAllowFrom, sendOversizeWarning, oversizeLogMessage } = params;
|
|
65178
65234
|
const text = typeof msg.text === "string" ? msg.text : void 0;
|
|
65179
65235
|
if (text) {
|
|
65180
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
65236
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-D32_vcC_.js");
|
|
65181
65237
|
if (isAbortRequestText(text)) {
|
|
65182
65238
|
const senderId = msg.from?.id ? String(msg.from.id) : "";
|
|
65183
65239
|
if (!senderId || !allowFrom?.length || allowFrom.includes(senderId)) {
|
|
@@ -68671,7 +68727,7 @@ function loadWebLoginQr() {
|
|
|
68671
68727
|
return webLoginQrPromise;
|
|
68672
68728
|
}
|
|
68673
68729
|
function loadWebChannel() {
|
|
68674
|
-
webChannelPromise ??= import("./web-
|
|
68730
|
+
webChannelPromise ??= import("./web-BWvhgqLS.js");
|
|
68675
68731
|
return webChannelPromise;
|
|
68676
68732
|
}
|
|
68677
68733
|
function loadWhatsAppActions() {
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import "./paths-Cn44w-EB.js";
|
|
2
2
|
import { B as theme, O as danger } from "./utils-CXzXXV2o.js";
|
|
3
|
-
import "./agent-scope-
|
|
3
|
+
import "./agent-scope-RA0zXRpu.js";
|
|
4
4
|
import "./subsystem-CGZX2PBV.js";
|
|
5
5
|
import { n as defaultRuntime } from "./runtime-44j_X4Y6.js";
|
|
6
|
-
import "./idlehands-root-
|
|
6
|
+
import "./idlehands-root-B8cUs-5M.js";
|
|
7
7
|
import "./exec-CKHMT0tZ.js";
|
|
8
|
-
import "./model-selection-
|
|
8
|
+
import "./model-selection-0dGxYGp8.js";
|
|
9
9
|
import "./github-copilot-token-D7lpquOO.js";
|
|
10
10
|
import "./boolean-BsqeuxE6.js";
|
|
11
11
|
import "./env-Bx-F45X5.js";
|
|
12
12
|
import "./host-env-security-DkAVVuaw.js";
|
|
13
13
|
import "./env-vars-sTMVGyld.js";
|
|
14
|
-
import "./manifest-registry-
|
|
14
|
+
import "./manifest-registry-Bak1x76G.js";
|
|
15
15
|
import "./message-channel-DVauVtrg.js";
|
|
16
16
|
import "./ip-DJ5wsTQn.js";
|
|
17
17
|
import "./tailnet-C9lH_YnG.js";
|
|
18
18
|
import "./ws-XBTtYpJc.js";
|
|
19
|
-
import "./client-
|
|
20
|
-
import "./call-
|
|
21
|
-
import "./pairing-token-
|
|
19
|
+
import "./client-DxH9hwLn.js";
|
|
20
|
+
import "./call-BRL23UCk.js";
|
|
21
|
+
import "./pairing-token-lKXTMQ_M.js";
|
|
22
22
|
import { t as formatDocsLink } from "./links-15764jZB.js";
|
|
23
23
|
import "./progress-BQLz1r3L.js";
|
|
24
|
-
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-
|
|
24
|
+
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "./gateway-rpc-Du-ZpDjh.js";
|
|
25
25
|
|
|
26
26
|
//#region src/cli/system-cli.ts
|
|
27
27
|
const normalizeWakeMode = (raw) => {
|
package/dist/{system-run-approval-context-xZVoE4nS.js → system-run-approval-context-CISBXlNw.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as normalizeEnvVarKey } from "./host-env-security-DkAVVuaw.js";
|
|
2
|
-
import { n as resolveSystemRunCommand, t as formatExecCommand } from "./system-run-command-
|
|
2
|
+
import { n as resolveSystemRunCommand, t as formatExecCommand } from "./system-run-command-qJdgzxLp.js";
|
|
3
3
|
import crypto from "node:crypto";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/system-run-approval-binding.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Hn as extractShellWrapperCommand, Jn as unwrapDispatchWrappersForResolution, Wn as hasEnvManipulationBeforeShellWrapper, Xn as unwrapKnownShellMultiplexerInvocation, qn as normalizeExecutableToken } from "./model-selection-
|
|
1
|
+
import { Hn as extractShellWrapperCommand, Jn as unwrapDispatchWrappersForResolution, Wn as hasEnvManipulationBeforeShellWrapper, Xn as unwrapKnownShellMultiplexerInvocation, qn as normalizeExecutableToken } from "./model-selection-0dGxYGp8.js";
|
|
2
2
|
|
|
3
3
|
//#region src/infra/system-run-command.ts
|
|
4
4
|
function formatExecCommand(argv) {
|
|
@@ -3,7 +3,7 @@ import { n as runExec, t as runCommandWithTimeout } from "./exec-CKHMT0tZ.js";
|
|
|
3
3
|
import { d as resolveGatewayServiceDescription, f as resolveGatewaySystemdServiceName, i as LEGACY_GATEWAY_SYSTEMD_SERVICE_NAMES, u as resolveGatewayProfileSuffix } from "./constants-Z_TnY4pX.js";
|
|
4
4
|
import os from "node:os";
|
|
5
5
|
import path from "node:path";
|
|
6
|
-
import
|
|
6
|
+
import fs from "node:fs/promises";
|
|
7
7
|
import { execFile } from "node:child_process";
|
|
8
8
|
|
|
9
9
|
//#region src/daemon/exec-file.ts
|
|
@@ -289,7 +289,7 @@ function resolveSystemdUserUnitPath(env) {
|
|
|
289
289
|
async function readSystemdServiceExecStart(env) {
|
|
290
290
|
const unitPath = resolveSystemdUnitPath(env);
|
|
291
291
|
try {
|
|
292
|
-
const content = await
|
|
292
|
+
const content = await fs.readFile(unitPath, "utf8");
|
|
293
293
|
let execStart = "";
|
|
294
294
|
let workingDirectory = "";
|
|
295
295
|
const environment = {};
|
|
@@ -360,12 +360,12 @@ async function assertSystemdAvailable() {
|
|
|
360
360
|
async function installSystemdService({ env, stdout, programArguments, workingDirectory, environment, description }) {
|
|
361
361
|
await assertSystemdAvailable();
|
|
362
362
|
const unitPath = resolveSystemdUnitPath(env);
|
|
363
|
-
await
|
|
363
|
+
await fs.mkdir(path.dirname(unitPath), { recursive: true });
|
|
364
364
|
let backedUp = false;
|
|
365
365
|
try {
|
|
366
|
-
await
|
|
366
|
+
await fs.access(unitPath);
|
|
367
367
|
const backupPath = `${unitPath}.bak`;
|
|
368
|
-
await
|
|
368
|
+
await fs.copyFile(unitPath, backupPath);
|
|
369
369
|
backedUp = true;
|
|
370
370
|
} catch {}
|
|
371
371
|
const unit = buildSystemdUnit({
|
|
@@ -378,7 +378,7 @@ async function installSystemdService({ env, stdout, programArguments, workingDir
|
|
|
378
378
|
workingDirectory,
|
|
379
379
|
environment
|
|
380
380
|
});
|
|
381
|
-
await
|
|
381
|
+
await fs.writeFile(unitPath, unit, "utf8");
|
|
382
382
|
const unitName = `${resolveGatewaySystemdServiceName(env.IDLEHANDS_PROFILE)}.service`;
|
|
383
383
|
const reload = await execSystemctl(["--user", "daemon-reload"]);
|
|
384
384
|
if (reload.code !== 0) throw new Error(`systemctl daemon-reload failed: ${reload.stderr || reload.stdout}`.trim());
|
|
@@ -413,7 +413,7 @@ async function uninstallSystemdService({ env, stdout }) {
|
|
|
413
413
|
]);
|
|
414
414
|
const unitPath = resolveSystemdUnitPath(env);
|
|
415
415
|
try {
|
|
416
|
-
await
|
|
416
|
+
await fs.unlink(unitPath);
|
|
417
417
|
stdout.write(`${formatLine("Removed systemd service", unitPath)}\n`);
|
|
418
418
|
} catch {
|
|
419
419
|
stdout.write(`Systemd service not found at ${unitPath}\n`);
|
|
@@ -503,7 +503,7 @@ async function findLegacySystemdUnits(env) {
|
|
|
503
503
|
const unitPath = resolveSystemdUnitPathForName(env, name);
|
|
504
504
|
let exists = false;
|
|
505
505
|
try {
|
|
506
|
-
await
|
|
506
|
+
await fs.access(unitPath);
|
|
507
507
|
exists = true;
|
|
508
508
|
} catch {}
|
|
509
509
|
let enabled = false;
|
|
@@ -534,7 +534,7 @@ async function uninstallLegacySystemdUnits({ env, stdout }) {
|
|
|
534
534
|
]);
|
|
535
535
|
else stdout.write(`systemctl unavailable; removed legacy unit file only: ${unit.name}.service\n`);
|
|
536
536
|
try {
|
|
537
|
-
await
|
|
537
|
+
await fs.unlink(unit.unitPath);
|
|
538
538
|
stdout.write(`${formatLine("Removed legacy systemd service", unit.unitPath)}\n`);
|
|
539
539
|
} catch {
|
|
540
540
|
stdout.write(`Legacy systemd unit not found at ${unit.unitPath}\n`);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as formatCliCommand } from "./command-format-DInZLuZ8.js";
|
|
2
2
|
import { n as isNodeRuntime, t as isBunRuntime } from "./runtime-binary-DXpdutvP.js";
|
|
3
|
-
import { c as isVersionManagedNodePath, f as resolveSystemNodePath, o as getMinimalServicePathPartsFromEnv, s as isSystemNodePath } from "./daemon-install-helpers-
|
|
4
|
-
import { o as resolveSystemdUserUnitPath } from "./systemd-
|
|
5
|
-
import { c as resolveLaunchAgentPlistPath } from "./service-
|
|
3
|
+
import { c as isVersionManagedNodePath, f as resolveSystemNodePath, o as getMinimalServicePathPartsFromEnv, s as isSystemNodePath } from "./daemon-install-helpers-BZY9-jNW.js";
|
|
4
|
+
import { o as resolveSystemdUserUnitPath } from "./systemd-CaCR5CyM.js";
|
|
5
|
+
import { c as resolveLaunchAgentPlistPath } from "./service-C8NMS3m_.js";
|
|
6
6
|
import { t as formatRuntimeStatusWithDetails } from "./runtime-status-D7pLXkNs.js";
|
|
7
7
|
import path from "node:path";
|
|
8
|
-
import
|
|
8
|
+
import fs from "node:fs/promises";
|
|
9
9
|
|
|
10
10
|
//#region src/daemon/runtime-format.ts
|
|
11
11
|
function formatRuntimeStatus(runtime) {
|
|
@@ -86,7 +86,7 @@ async function auditSystemdUnit(env, issues) {
|
|
|
86
86
|
const unitPath = resolveSystemdUserUnitPath(env);
|
|
87
87
|
let content = "";
|
|
88
88
|
try {
|
|
89
|
-
content = await
|
|
89
|
+
content = await fs.readFile(unitPath, "utf8");
|
|
90
90
|
} catch {
|
|
91
91
|
return;
|
|
92
92
|
}
|
|
@@ -114,7 +114,7 @@ async function auditLaunchdPlist(env, issues) {
|
|
|
114
114
|
const plistPath = resolveLaunchAgentPlistPath(env);
|
|
115
115
|
let content = "";
|
|
116
116
|
try {
|
|
117
|
-
content = await
|
|
117
|
+
content = await fs.readFile(plistPath, "utf8");
|
|
118
118
|
} catch {
|
|
119
119
|
return;
|
|
120
120
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as note } from "./note-69EfBEU-.js";
|
|
3
|
-
import { d as enableSystemdUserLinger, f as readSystemdUserLingerStatus, r as isSystemdUserServiceAvailable } from "./systemd-
|
|
3
|
+
import { d as enableSystemdUserLinger, f as readSystemdUserLingerStatus, r as isSystemdUserServiceAvailable } from "./systemd-CaCR5CyM.js";
|
|
4
4
|
|
|
5
5
|
//#region src/commands/systemd-linger.ts
|
|
6
6
|
var systemd_linger_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as detectMime } from "./image-ops-
|
|
2
|
-
import { r as sanitizeToolResultImages } from "./tool-images-
|
|
3
|
-
import
|
|
1
|
+
import { c as detectMime } from "./image-ops-BU-VdLZu.js";
|
|
2
|
+
import { r as sanitizeToolResultImages } from "./tool-images-CHqepyF_.js";
|
|
3
|
+
import fs from "node:fs/promises";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/tools/common.ts
|
|
6
6
|
var ToolInputError = class extends Error {
|
|
@@ -136,7 +136,7 @@ async function imageResult(params) {
|
|
|
136
136
|
}, params.label, params.imageSanitization);
|
|
137
137
|
}
|
|
138
138
|
async function imageResultFromFile(params) {
|
|
139
|
-
const buf = await
|
|
139
|
+
const buf = await fs.readFile(params.path);
|
|
140
140
|
const mimeType = await detectMime({ buffer: buf.slice(0, 256) }) ?? "image/png";
|
|
141
141
|
return await imageResult({
|
|
142
142
|
label: params.label,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as createSubsystemLogger } from "./subsystem-CGZX2PBV.js";
|
|
2
|
-
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-
|
|
2
|
+
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-BU-VdLZu.js";
|
|
3
3
|
|
|
4
4
|
//#region src/media/base64.ts
|
|
5
5
|
function estimateBase64DecodedBytes(base64) {
|