@visorcraft/idlehands 4.1.0 → 4.2.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/CHANGELOG.md +6 -0
- package/dist/{accounts-DsVN0UNw.js → accounts-3HS_UAhJ.js} +1 -1
- package/dist/{accounts-B8cGzkjD.js → accounts-BDVs8LTu.js} +1 -1
- package/dist/{accounts-D5tB_lO0.js → accounts-CIvVRRHb.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/{accounts-BQC_GRUB.js → accounts-Dk8mJIrQ.js} +6 -6
- package/dist/{acp-cli-BEHYc8ty.js → acp-cli-BEpWQbqb.js} +7 -7
- package/dist/{agent-scope-Bxq1eWbA.js → agent-scope-DyP_tr7s.js} +4 -4
- package/dist/{agent-scope-Bn39ugK4.js → agent-scope-RA0zXRpu.js} +18 -18
- package/dist/{agent-via-gateway-igDg7ko6.js → agent-via-gateway-C42kkKZI.js} +2 -2
- package/dist/{agent-via-gateway-CM7X6sKJ.js → agent-via-gateway-CUtzJXBE.js} +60 -60
- package/dist/{agent-via-gateway-B03q92bw.js → agent-via-gateway-CldlRczJ.js} +1 -1
- package/dist/{agent-via-gateway-bS6seBwg.js → agent-via-gateway-oMn0WfUq.js} +4 -4
- package/dist/{agents-DdTECKDf.js → agents-BfnnMO1i.js} +4 -4
- package/dist/{agents.config-D2EbQiOx.js → agents.config-BFfVBZMA.js} +1 -1
- package/dist/{agents.config-CPUPtcKt.js → agents.config-bWtpv0jP.js} +2 -2
- package/dist/{anton-ONYQUE8F.js → anton-CgpWkf5P.js} +32 -17
- package/dist/{anton-C7-Qxyij.js → anton-CoGaJdTU.js} +36 -21
- package/dist/{anton-D4vpCj_q.js → anton-DSS3RNo7.js} +32 -17
- package/dist/anton-DXL8jrY_.js +792 -0
- package/dist/{api-key-rotation-nXQVJErE.js → api-key-rotation-B-FTJm5p.js} +1 -1
- package/dist/{audio-preflight-qkU2lsDn.js → audio-preflight-CW8IH1lU.js} +35 -35
- package/dist/{audio-preflight-DzjXupNO.js → audio-preflight-Dl1TO10w.js} +31 -31
- package/dist/{audit-C5VPFgbJ.js → audit-CKeZnjft.js} +22 -22
- package/dist/{auth-choice-DVoPuwEs.js → auth-choice-BNofPyTK.js} +1 -1
- package/dist/{auth-choice-BDndThZZ.js → auth-choice-D12Wsf7w.js} +12 -12
- package/dist/{auth-choice-CQqV1VIf.js → auth-choice-Z7nPFxhP.js} +10 -10
- 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-store-Bb4aajHu.js → auth-store-DXT-l7fO.js} +12 -12
- package/dist/{auth-token-fKt_cHOj.js → auth-token-BJq87X3o.js} +1 -1
- package/dist/{banner-CFKoGAzN.js → banner-B1-kj-GW.js} +1 -1
- package/dist/{bindings-DZjkLUU_.js → bindings-B59Q7nsk.js} +1 -1
- package/dist/{bindings-CLZIJ0Eo.js → bindings-D3b5Fmc9.js} +2 -2
- package/dist/{browser-cli-qU0I-Gla.js → browser-cli-Ci6DpTnS.js} +11 -11
- 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/{call-Du-oBD99.js → call-BpWhjuOg.js} +9 -9
- package/dist/{channel-account-context-B4nJPU2N.js → channel-account-context-CDbY5AIr.js} +5 -5
- package/dist/{channel-activity-DdL3RAv_.js → channel-activity-D_TMOGQ0.js} +3 -3
- package/dist/{channel-options-BU0E7BdU.js → channel-options-C5Iz9bes.js} +1 -1
- package/dist/{channel-options-B1cfZ5uQ.js → channel-options-CUP3A4VX.js} +3 -3
- package/dist/{channel-selection-3jUl-PyW.js → channel-selection-ZxRkxpuF.js} +1 -1
- package/dist/{channel-web-BDytDCrG.js → channel-web-CGXl1PnB.js} +2 -2
- package/dist/{channel-web-CzrJ-6X4.js → channel-web-CsUiKxQo.js} +22 -22
- package/dist/{channels-cli-DWaQsKP8.js → channels-cli-DK7TRLqX.js} +7 -7
- package/dist/{channels-cli-B4o-qohk.js → channels-cli-DmHSajZy.js} +88 -88
- package/dist/{channels-status-issues-hgASw9UA.js → channels-status-issues-CDpWjdI3.js} +1 -1
- package/dist/{chrome-CT_a9OgI.js → chrome-BcJB6PcM.js} +17 -17
- package/dist/{chrome-YguTEaLx.js → chrome-VBsQfIrt.js} +2 -2
- package/dist/{chunk-Djk-9JeT.js → chunk-CMpX7Jaz.js} +1 -1
- package/dist/{clawbot-cli-C5cDal-5.js → clawbot-cli-uFgYrysW.js} +5 -5
- package/dist/{cli-Hplv9sD1.js → cli-6eMKeewY.js} +2 -2
- package/dist/{cli-DXyOlvH2.js → cli-DEE_ketW.js} +70 -70
- package/dist/{client-Dl5EAvfO.js → client-DtnD-ee9.js} +1 -1
- package/dist/{command-registry-esizscE2.js → command-registry-BFTlzx6d.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/{commands-registry-_TBHHpvt.js → commands-registry-j4vAzcF2.js} +5 -5
- package/dist/{completion-cli-c4blaZPQ.js → completion-cli-BbXgtvGY.js} +2 -2
- package/dist/{completion-cli-CXDILt8-.js → completion-cli-PBfCNWhv.js} +12 -12
- package/dist/{config-cli-D_mH5-FH.js → config-cli-BVJRkNhX.js} +6 -6
- package/dist/{config-cli-98ASrAou.js → config-cli-Q934shK6.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-PKG58EzI.js → configure-85ttW_lD.js} +16 -16
- package/dist/{configure-CKspMrI1.js → configure-BGAvA5a4.js} +3 -3
- package/dist/{control-ui-assets-CiaCDBvZ.js → control-ui-assets-C7ZpN9hN.js} +1 -1
- package/dist/{cron-cli-BIfVPc5K.js → cron-cli-DQsnGQKs.js} +12 -12
- package/dist/{daemon-cli-DpyQu0Dp.js → daemon-cli-DUg-s4LG.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-Db2xqgLg.js → deliver-BUiQ-9fE.js} +20 -20
- package/dist/{deps-CjWcQwlX.js → deps-AEDT3iDX.js} +1 -1
- package/dist/{deps-CC5E5LXB.js → deps-B4J8H6nI.js} +6 -6
- package/dist/{deps-BotXja4Z.js → deps-Bq7jJLyN.js} +6 -6
- package/dist/{deps-DR1eh_L_.js → deps-Ch6bZ8PI.js} +1 -1
- package/dist/{devices-cli-B7fkQKei.js → devices-cli-DKK65S9Z.js} +7 -7
- package/dist/{diagnostic-BvlZ0Sot.js → diagnostic-4owMk4vH.js} +1 -1
- 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-ejUetwTC.js → dock-BgOmHcbh.js} +6 -6
- 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-Co_xszXC.js → doctor-completion-CN5Zujsa.js} +2 -2
- package/dist/{doctor-completion-DFr8_h-z.js → doctor-completion-Clh5CNUd.js} +1 -1
- package/dist/{doctor-config-flow-8qXzBx09.js → doctor-config-flow-Ck4oCjfl.js} +14 -14
- package/dist/{emergency-stop-ChBe32HN.js → emergency-stop-2v4bhRCE.js} +2 -2
- package/dist/{emergency-stop-DtVFxCO1.js → emergency-stop-BtasjDnU.js} +70 -70
- package/dist/emergency-stop-CVO75pTD.js +113 -0
- package/dist/{emergency-stop-CDozqde9.js → emergency-stop-D_bTOufu.js} +2 -2
- package/dist/{enable-DaA_orGN.js → enable-o_s6PBsC.js} +1 -1
- package/dist/entry.js +1 -1
- package/dist/{env-q-PhWbb_.js → env-B5G1qwGc.js} +1 -1
- package/dist/{errors-C4SHjIZK.js → errors-C_0nm4TJ.js} +1 -1
- package/dist/{exec-approvals-allowlist-8AkOwwIr.js → exec-approvals-allowlist-Co2tJSEo.js} +1 -1
- package/dist/{exec-approvals-cli-CbcJzCt0.js → exec-approvals-cli-D6XUzs4j.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 +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/{fs-safe-DNFrxDS-.js → fs-safe-_JQUGpZf.js} +15 -15
- package/dist/{gateway-cli-DjCBMnUT.js → gateway-cli-Cl7cEsHE.js} +9 -9
- package/dist/{gateway-cli-poVGdgAz.js → gateway-cli-DJm73Wou.js} +148 -148
- package/dist/{gateway-rpc-IpZymG6F.js → gateway-rpc-BBFG1T-M.js} +1 -1
- 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-lZsCLX6p.js → health-C6_Sa_ef.js} +13 -13
- package/dist/{health-HEN6Wk9G.js → health-D-b3jdnU.js} +1 -1
- package/dist/{hooks-cli-DFrttZGb.js → hooks-cli-BB25FyuN.js} +3 -3
- package/dist/{hooks-cli-EbzkZ1Xh.js → hooks-cli-BC3n8UYQ.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-Dlu13Ebx.js → image-D8b_rlQC.js} +6 -6
- package/dist/{image-C2JZiK-6.js → image-DSDEbSiO.js} +5 -5
- package/dist/{image-ops-J8P5zOFm.js → image-ops-BU-VdLZu.js} +2 -2
- package/dist/{image-ops-BkoEFRYH.js → image-ops-D1KtygWz.js} +11 -11
- 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-BT5aAdU9.js → ir-B7IBoKLy.js} +5 -5
- 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 +60 -60
- package/dist/{local-roots-d4y0lvs2.js → local-roots-KN4Hp1yZ.js} +5 -5
- package/dist/{local-roots-Cco87A2_.js → local-roots-q0xbefkf.js} +2 -2
- package/dist/{login-C2X0In6m.js → login-CFr5vJmR.js} +6 -6
- package/dist/{login-Dl_lsEHS.js → login-CfUhrgWT.js} +4 -4
- package/dist/{login-qr-C17PY0rr.js → login-qr-CFFFOjOl.js} +11 -11
- package/dist/{login-qr-B68cBRH0.js → login-qr-DBMsUxgL.js} +7 -7
- package/dist/{logs-cli-DHCG25JA.js → logs-cli-4VQ9Iwiw.js} +8 -8
- package/dist/{manager-CgzA1hKo.js → manager-BE_76jWB.js} +15 -15
- 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-R8VTpfE9.js → markdown-tables-CzsockiZ.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/{message-channel-ZdI1-uUh.js → message-channel-C8QtrwEU.js} +1 -1
- 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/{model-selection-C5hI1dum.js → model-selection-1MMYqY6M.js} +41 -41
- package/dist/{models-tZYpgts_.js → models-C1_Tdc1Q.js} +2 -2
- package/dist/{models-cli-umEUn4Xu.js → models-cli-B9yw60gV.js} +79 -79
- package/dist/{models-cli-DVAyIZ63.js → models-cli-Bs5ZNSbk.js} +4 -4
- package/dist/{models-config-lQpqp472.js → models-config-C5A1wDWh.js} +6 -6
- package/dist/{node-cli-7gQ7xfOh.js → node-cli-BYzjxmUY.js} +32 -32
- package/dist/{node-service-GpI0jzKr.js → node-service-C3vyxHLA.js} +1 -1
- package/dist/{nodes-cli-CDXLGCox.js → nodes-cli-kNOtp0U0.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-By6en78P.js → npm-resolution-BMDipaRX.js} +3 -3
- package/dist/{npm-resolution-By6bZkA-.js → npm-resolution-yXJbqHHn.js} +1 -1
- package/dist/{onboard-Dw-URWpt.js → onboard-CYRoDnOI.js} +2 -2
- package/dist/{onboard-BmDmDXYf.js → onboard-DjbHK18p.js} +6 -6
- package/dist/{onboard-channels-DCDhpz9s.js → onboard-channels-CNQt2jFU.js} +20 -20
- package/dist/{onboard-channels-JPltbNGL.js → onboard-channels-CkxvodmR.js} +1 -1
- package/dist/{onboard-custom-D2sCP3_S.js → onboard-custom-DUbzMMu7.js} +4 -4
- package/dist/{onboard-helpers-CdzbIhrm.js → onboard-helpers-mzy38DiC.js} +8 -8
- package/dist/{onboard-hooks-_1Jgimeu.js → onboard-hooks-D9teGxfH.js} +4 -4
- package/dist/{onboard-remote-pCRaL_Ey.js → onboard-remote-LCBHijVE.js} +1 -1
- package/dist/{onboard-skills-DvwRvBvj.js → onboard-skills-jFY9gaOu.js} +4 -4
- package/dist/{onboarding-DIorhVOJ.js → onboarding-BEDOWI9h.js} +3 -3
- package/dist/{onboarding-Cf3JxJxY.js → onboarding-D9AZJlDK.js} +13 -13
- package/dist/{onboarding.finalize-BCmAqhLV.js → onboarding.finalize-D4hW1yTd.js} +7 -7
- package/dist/{onboarding.finalize-BH4WHo75.js → onboarding.finalize-DJxMkD2g.js} +82 -82
- package/dist/{onboarding.gateway-config-Sj7zQKsE.js → onboarding.gateway-config-Btu2gzgr.js} +16 -16
- package/dist/{openai-model-default-OPCCNNS0.js → openai-model-default-7J6cw1rA.js} +2 -2
- package/dist/{outbound-CdY_AskB.js → outbound-BNh6PpQb.js} +6 -6
- package/dist/{outbound-CG19kl0w.js → outbound-DPTxwchq.js} +4 -4
- package/dist/{outbound-attachment-jYdMgCml.js → outbound-attachment-3I6GzwDe.js} +2 -2
- package/dist/{outbound-attachment-IfeZJAKk.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-BZmt6hFb.js → path-alias-guards-Cu1nXNMM.js} +1 -1
- 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/{paths-DQpv9a3Q.js → paths-BYNVLNi_.js} +5 -5
- package/dist/{paths-D3p7ZvM6.js → paths-D_qUel1T.js} +3 -3
- package/dist/{pi-embedded-mKozULng.js → pi-embedded-C6RDRgJM.js} +179 -179
- package/dist/{pi-embedded-helpers-BkzrQ5bZ.js → pi-embedded-helpers-BCsfqpDt.js} +6 -6
- package/dist/{pi-embedded-helpers-B3ceCcxm.js → pi-embedded-helpers-CghCLoPo.js} +24 -24
- package/dist/{pi-embedded-DMx6rHVL.js → pi-embedded-o6Xj8V4C.js} +11 -11
- package/dist/{pi-model-discovery-Bt79ifyi.js → pi-model-discovery-BIP3RjXl.js} +1 -1
- package/dist/{pi-model-discovery-Dlx4RLWo.js → pi-model-discovery-Bb__OY-j.js} +7 -7
- 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-BY85d-vE.js → plugin-registry-6C1sgAm1.js} +1 -1
- package/dist/{plugin-registry-BIoGoN5y.js → plugin-registry-DIK-5KI9.js} +3 -3
- package/dist/plugin-sdk/{agent-via-gateway-CXtWg-qx.js → agent-via-gateway-DmQMFWNE.js} +2 -2
- package/dist/plugin-sdk/{anton-CGYTy9vy.js → anton-CrjFisFZ.js} +32 -17
- package/dist/plugin-sdk/{channel-web-EFRSObCG.js → channel-web-vQgHbtCG.js} +2 -2
- package/dist/plugin-sdk/{deps-qZxPlSgp.js → deps-DfyALwFG.js} +1 -1
- package/dist/plugin-sdk/{emergency-stop-CxcBz-aQ.js → emergency-stop-0ZrbH3D4.js} +2 -2
- package/dist/plugin-sdk/index.js +3 -3
- package/dist/plugin-sdk/{reply-nUO1aM3T.js → reply-BfdVf3fw.js} +11 -11
- package/dist/plugin-sdk/{web-CEtAvhaI.js → web-DwDLI7GP.js} +3 -3
- package/dist/{plugins-DYr-HHj0.js → plugins-CRB60mCJ.js} +10 -10
- package/dist/{plugins-B4hASNc2.js → plugins-D46VZh7u.js} +2 -2
- package/dist/{plugins-cli-Dlb8QO-K.js → plugins-cli-B1kN2Xze.js} +80 -80
- package/dist/{plugins-cli-RFXGkaxP.js → plugins-cli-DFUxLQbB.js} +3 -3
- package/dist/{ports-B07M55Gr.js → ports-B2o0FSFD.js} +1 -1
- package/dist/{ports-DWJO5S52.js → ports-SQy1d-RL.js} +2 -2
- package/dist/{program-context-B_byBfwR.js → program-context-CjyGlgVG.js} +43 -43
- package/dist/{program-Do2-I4y3.js → program-mmjp27H4.js} +8 -8
- package/dist/{prompt-select-styled-VWGHu3e1.js → prompt-select-styled-04TKk_r3.js} +4 -4
- package/dist/{prompt-select-styled-CBF_I30O.js → prompt-select-styled-FskTiqWw.js} +37 -37
- package/dist/{provider-auth-helpers-BCc5UtUa.js → provider-auth-helpers-9IcvdTst.js} +1 -1
- package/dist/{provider-auth-helpers-BGGSUXOH.js → provider-auth-helpers-BI7MVWjD.js} +5 -5
- package/dist/{push-apns-CHmvuoMu.js → push-apns-Bh0u21Bh.js} +1 -1
- package/dist/{push-apns-CuwLAoXk.js → push-apns-DvSYSWvk.js} +5 -5
- package/dist/{pw-ai-BGALvhDi.js → pw-ai-7i9eGnLh.js} +11 -11
- package/dist/{pw-ai-DIV4PcIo.js → pw-ai-CfYaR1K2.js} +13 -13
- package/dist/{qmd-manager-CVcPfkhL.js → qmd-manager-B-qeywfQ.js} +19 -19
- package/dist/{qmd-manager-BRvg3Rx2.js → qmd-manager-B_GgyQQ0.js} +8 -8
- 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/{query-expansion-DHuNyU-_.js → query-expansion-DEq020GG.js} +5 -5
- package/dist/{redact-1Y0KPNtr.js → redact-Bvpf-ATQ.js} +1 -1
- package/dist/{redact-snapshot-KMo22a85.js → redact-snapshot-BbEVKv0k.js} +1 -1
- package/dist/{register.agent-Dx7ULz49.js → register.agent-B3zUfhl9.js} +9 -9
- package/dist/{register.agent-CDcuj79y.js → register.agent-BSe92Zxh.js} +95 -95
- package/dist/register.configure-DZ9OCp0V.js +168 -0
- package/dist/{register.configure-BctHAiWh.js → register.configure-N4JG5hVe.js} +8 -8
- package/dist/{register.maintenance-BcFR1fGQ.js → register.maintenance-BjhkxF3o.js} +9 -9
- package/dist/{register.maintenance-wv8PzmVy.js → register.maintenance-DxauQqK_.js} +90 -90
- package/dist/{register.message-DUAiI9J7.js → register.message-BsMpRFVr.js} +71 -71
- package/dist/{register.message-BLScF2fV.js → register.message-DoZ5i1Pn.js} +3 -3
- package/dist/{register.onboard-BMNBXD29.js → register.onboard-Cw3wNQRm.js} +2 -2
- package/dist/{register.onboard-F09brfSb.js → register.onboard-Hxi3l9IA.js} +18 -18
- package/dist/{register.orchestrator-anton-CGhKIDjJ.js → register.orchestrator-anton-BqQfw2JX.js} +14 -14
- package/dist/{register.orchestrator-anton-Tn_RaMLq.js → register.orchestrator-anton-DOByOKzU.js} +2 -2
- package/dist/{register.setup-jzek547p.js → register.setup-dazD7bl3.js} +21 -21
- package/dist/{register.setup-DqbGSLoJ.js → register.setup-r5Xy4nv4.js} +2 -2
- package/dist/{register.status-health-sessions-ByfydR_f.js → register.status-health-sessions-3zjBM0m6.js} +82 -82
- package/dist/{register.status-health-sessions-wbopjGL-.js → register.status-health-sessions-DobZ2G2u.js} +4 -4
- package/dist/{register.subclis-CuNL7Zgu.js → register.subclis-CGJxYP3h.js} +9 -9
- package/dist/{replies-2C16fnBP.js → replies-6_GxvQYe.js} +3 -3
- package/dist/{replies-Czp4hvpS.js → replies-hSFVxL4h.js} +1 -1
- package/dist/{reply-CdFdL9nL.js → reply-BDr-UY9O.js} +153 -153
- package/dist/{reply-prefix-DCljZiIB.js → reply-prefix-BUgeSN2R.js} +1 -1
- 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/{resolve-route-ClcifpKn.js → resolve-route-DuttYY7A.js} +4 -4
- package/dist/{retry-CG6cMRDQ.js → retry-BeB9WenR.js} +1 -1
- package/dist/{rpc-CNqnw2FL.js → rpc-Cf9OK5Yk.js} +1 -1
- package/dist/{run-main-9A7FdIR1.js → run-main-BDEztzfx.js} +15 -15
- package/dist/{runner-BFG54hnb.js → runner-DzszLzI4.js} +20 -20
- package/dist/{runner-BkCU-kqs.js → runner-PgRFPYUj.js} +11 -11
- 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-DP718vNZ.js → secrets-cli-CR3h2TBy.js} +9 -9
- package/dist/{security-cli-CG2_SV7b.js → security-cli-B9_LV2po.js} +39 -39
- package/dist/{send-DDMaLJAQ.js → send--lzpNy4f.js} +7 -7
- package/dist/{send-DZa8fWSm.js → send-BeIZJuy4.js} +7 -7
- package/dist/{send-Y1hD4tQ1.js → send-C1hvd3bt.js} +6 -6
- package/dist/{send-BCPkAE2k.js → send-C4v0Leny.js} +6 -6
- package/dist/{send-BOxJ4QXF.js → send-D4bMycQu.js} +7 -7
- package/dist/{send-CEavqqEz.js → send-DQiw_nGD.js} +6 -6
- package/dist/{send-FLdrx-oF.js → send-Dfa3sn6r.js} +24 -24
- package/dist/{send-IlPMLAH-.js → send-DmLC7aEF.js} +10 -10
- 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-CbVkqOtV.js → server-node-events-BL1dTBEr.js} +3 -3
- package/dist/{server-node-events-BSPxvn7O.js → server-node-events-C69TPlKW.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/{session-nUPBXeEa.js → session-F_YDS_1V.js} +7 -7
- package/dist/{sessions-DRA4oaxz.js → sessions-3ioSeOA1.js} +41 -41
- 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-commands-BHTBXXVn.js → skill-commands-Ck3flWX7.js} +9 -9
- package/dist/{skill-scanner-B4Ftsbd2.js → skill-scanner-D7mzXRXd.js} +5 -5
- package/dist/{skills-umlGvChF.js → skills-CnAPWfca.js} +22 -22
- 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-ClMOrHdT.js → status-AEwcpHsu.js} +2 -2
- package/dist/{status-YWasgjym.js → status-B8z0RCPf.js} +24 -24
- package/dist/{status.update-C3uRz7W6.js → status.update-CTi6vuWj.js} +2 -2
- package/dist/{store-D-ZicQeo.js → store-CvMgrKWx.js} +2 -2
- package/dist/{store-CLNuI8-G.js → store-kH9wHHbO.js} +5 -5
- package/dist/{subagent-registry-BH5O1rxK.js → subagent-registry-Dclk-Ews.js} +11 -11
- package/dist/{subsystem-D7ZepYT1.js → subsystem-tzu-rIAJ.js} +1 -1
- package/dist/{system-cli-BfjZ6QvH.js → system-cli-DyVZ5udc.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-Co_R_WKs.js → tables-5k-zOZ-s.js} +1 -1
- package/dist/{tables-CZSD889r.js → tables-g9xkflht.js} +1 -1
- package/dist/{target-errors-B1mcM4WR.js → target-errors-BPfQrPim.js} +2 -2
- package/dist/{target-errors-BYuWhuLU.js → target-errors-bLIVFsbF.js} +4 -4
- package/dist/{tokens-DGajj8M9.js → tokens-BRLyURxW.js} +1 -1
- package/dist/{tool-images-DZHrc4pq.js → tool-images-CHqepyF_.js} +1 -1
- package/dist/{tool-images-Duuqr4bN.js → tool-images-CcGZpzmq.js} +2 -2
- package/dist/{tool-loop-detection-CjWRg_4q.js → tool-loop-detection-BNGetx3Z.js} +3 -3
- package/dist/{tui-B2bAseIB.js → tui-Bne3YNiw.js} +6 -6
- package/dist/{tui-cli-cewAjqAk.js → tui-cli-D0Z-rcUe.js} +30 -30
- package/dist/{update-la2AdLf3.js → update-D79ppbMQ.js} +3 -3
- package/dist/{update-cli-D7gDHoEE.js → update-cli-8Tk6PCmD.js} +99 -99
- package/dist/{update-cli-Cxp_mYOH.js → update-cli-Bobm67f-.js} +9 -9
- package/dist/{update-runner-DRglQgXe.js → update-runner-B4xzPa4-.js} +15 -15
- package/dist/{update-runner-tu2Aiphu.js → update-runner-C4NjVy9-.js} +1 -1
- package/dist/{upgrade-command-28wRHZZ2.js → upgrade-command-909a7QUc.js} +3 -3
- package/dist/{utils-D9wGoiU9.js → utils-CTFLl_ji.js} +18 -18
- package/dist/{web-aRaB-CvF.js → web-9J12F46d.js} +3 -3
- package/dist/{web-BxegDO-S.js → web-DPSpgc_K.js} +3 -3
- package/dist/web-Dqy4kqC9.js +123 -0
- package/dist/{web-BuIXrrsp.js → web-NzOJcvWO.js} +66 -66
- 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/{whatsapp-actions-BJ6kVDXi.js → whatsapp-actions-DbPcN6JQ.js} +25 -25
- 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-tAtkoD_r.js → workspace-DBFSzT6O.js} +18 -18
- 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/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/hand/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +6 -0
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +6 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +6 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +6 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +6 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +6 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +6 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/anton-D9tZAGaj.js +0 -777
- package/dist/emergency-stop-DyQna_P0.js +0 -113
- package/dist/register.configure-CxwdWRSG.js +0 -168
- package/dist/web-DESq0zCM.js +0 -123
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { E as truncateUtf16Safe } from "./utils-CXzXXV2o.js";
|
|
2
2
|
import { s as normalizeThinkLevel } from "./thinking-EAliFiVK.js";
|
|
3
3
|
import { t as createSubsystemLogger } from "./subsystem-CGZX2PBV.js";
|
|
4
|
-
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-
|
|
5
|
-
import { t as sanitizeContentBlocksImages } from "./tool-images-
|
|
4
|
+
import { s as formatSandboxToolPolicyBlockedMessage } from "./sandbox-DcUw5h3p.js";
|
|
5
|
+
import { t as sanitizeContentBlocksImages } from "./tool-images-CHqepyF_.js";
|
|
6
6
|
import path from "node:path";
|
|
7
|
-
import
|
|
7
|
+
import fs from "node:fs/promises";
|
|
8
8
|
import { createHash } from "node:crypto";
|
|
9
9
|
|
|
10
10
|
//#region src/agents/pi-embedded-helpers/bootstrap.ts
|
|
@@ -102,10 +102,10 @@ function clampToBudget(content, budget) {
|
|
|
102
102
|
async function ensureSessionHeader(params) {
|
|
103
103
|
const file = params.sessionFile;
|
|
104
104
|
try {
|
|
105
|
-
await
|
|
105
|
+
await fs.stat(file);
|
|
106
106
|
return;
|
|
107
107
|
} catch {}
|
|
108
|
-
await
|
|
108
|
+
await fs.mkdir(path.dirname(file), { recursive: true });
|
|
109
109
|
const entry = {
|
|
110
110
|
type: "session",
|
|
111
111
|
version: 2,
|
|
@@ -113,7 +113,7 @@ async function ensureSessionHeader(params) {
|
|
|
113
113
|
timestamp: (/* @__PURE__ */ new Date()).toISOString(),
|
|
114
114
|
cwd: params.cwd
|
|
115
115
|
};
|
|
116
|
-
await
|
|
116
|
+
await fs.writeFile(file, `${JSON.stringify(entry)}\n`, "utf-8");
|
|
117
117
|
}
|
|
118
118
|
function buildBootstrapContextFiles(files, opts) {
|
|
119
119
|
const maxChars = opts?.maxChars ?? DEFAULT_BOOTSTRAP_MAX_CHARS;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { d as resolveSessionAgentId, r as resolveAgentConfig } from "./agent-scope-
|
|
2
|
-
import { n as STATE_DIR, s as resolveGatewayPort } from "./paths-
|
|
3
|
-
import { n as CHANNEL_IDS, t as createSubsystemLogger } from "./subsystem-
|
|
4
|
-
import { S as truncateUtf16Safe, h as resolveUserPath } from "./utils-
|
|
1
|
+
import { d as resolveSessionAgentId, r as resolveAgentConfig } from "./agent-scope-DyP_tr7s.js";
|
|
2
|
+
import { n as STATE_DIR, s as resolveGatewayPort } from "./paths-BYNVLNi_.js";
|
|
3
|
+
import { n as CHANNEL_IDS, t as createSubsystemLogger } from "./subsystem-tzu-rIAJ.js";
|
|
4
|
+
import { S as truncateUtf16Safe, h as resolveUserPath } from "./utils-CTFLl_ji.js";
|
|
5
5
|
import { n as defaultRuntime } from "./runtime-8mi3mpYB.js";
|
|
6
6
|
import { l as resolveAgentIdFromSessionKey, s as normalizeAgentId } from "./session-key-CuLPSMu_.js";
|
|
7
|
-
import { _ as runExec, a as DEFAULT_IDENTITY_FILENAME, c as DEFAULT_USER_FILENAME, i as DEFAULT_HEARTBEAT_FILENAME, k as resolvePathViaExistingAncestorSync, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SOUL_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME, w as openBoundaryFile } from "./workspace-
|
|
8
|
-
import { $ as getBlockedNetworkModeReason, H as writeConfigFile, L as createConfigIO, R as loadConfig } from "./model-selection-
|
|
7
|
+
import { _ as runExec, a as DEFAULT_IDENTITY_FILENAME, c as DEFAULT_USER_FILENAME, i as DEFAULT_HEARTBEAT_FILENAME, k as resolvePathViaExistingAncestorSync, l as ensureAgentWorkspace, n as DEFAULT_AGENT_WORKSPACE_DIR, o as DEFAULT_SOUL_FILENAME, r as DEFAULT_BOOTSTRAP_FILENAME, s as DEFAULT_TOOLS_FILENAME, t as DEFAULT_AGENTS_FILENAME, w as openBoundaryFile } from "./workspace-DBFSzT6O.js";
|
|
8
|
+
import { $ as getBlockedNetworkModeReason, H as writeConfigFile, L as createConfigIO, R as loadConfig } from "./model-selection-1MMYqY6M.js";
|
|
9
9
|
import { t as formatCliCommand } from "./command-format-BAxx4PW5.js";
|
|
10
10
|
import { t as parseBooleanValue } from "./boolean-CE7i9tBR.js";
|
|
11
11
|
import { t as generateSecureToken } from "./secure-random-B1N_MXT_.js";
|
|
12
|
-
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-
|
|
13
|
-
import { B as DEFAULT_BROWSER_EVALUATE_ENABLED, C as ensureChromeExtensionRelayServer, D as DEFAULT_TRACE_DIR, E as DEFAULT_DOWNLOAD_DIR, H as DEFAULT_IDLEHANDS_BROWSER_ENABLED, I as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, L as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, N as normalizeBrowserFormField, O as DEFAULT_UPLOAD_DIR, P as isLoopbackHost, R as DEFAULT_AI_SNAPSHOT_MAX_CHARS, U as DEFAULT_IDLEHANDS_BROWSER_PROFILE_NAME, V as DEFAULT_IDLEHANDS_BROWSER_COLOR, _ as withBrowserNavigationPolicy, a as resolveIdleHandsUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchIdleHandsChrome, j as resolveWritablePathWithinRoot, k as resolveExistingPathsWithinRoot, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopIdleHandsChrome, p as snapshotAria, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME } from "./chrome-
|
|
12
|
+
import { i as getImageMetadata, n as buildImageResizeSideGrid, s as resizeToJpeg, t as IMAGE_REDUCE_QUALITY_STEPS } from "./image-ops-D1KtygWz.js";
|
|
13
|
+
import { B as DEFAULT_BROWSER_EVALUATE_ENABLED, C as ensureChromeExtensionRelayServer, D as DEFAULT_TRACE_DIR, E as DEFAULT_DOWNLOAD_DIR, H as DEFAULT_IDLEHANDS_BROWSER_ENABLED, I as DEFAULT_AI_SNAPSHOT_EFFICIENT_DEPTH, L as DEFAULT_AI_SNAPSHOT_EFFICIENT_MAX_CHARS, N as normalizeBrowserFormField, O as DEFAULT_UPLOAD_DIR, P as isLoopbackHost, R as DEFAULT_AI_SNAPSHOT_MAX_CHARS, U as DEFAULT_IDLEHANDS_BROWSER_PROFILE_NAME, V as DEFAULT_IDLEHANDS_BROWSER_COLOR, _ as withBrowserNavigationPolicy, a as resolveIdleHandsUserDataDir, b as fetchOk, c as resolveBrowserExecutableForPlatform, f as normalizeCdpWsUrl, g as assertBrowserNavigationResultAllowed, h as assertBrowserNavigationAllowed, i as launchIdleHandsChrome, j as resolveWritablePathWithinRoot, k as resolveExistingPathsWithinRoot, l as captureScreenshot, m as InvalidBrowserNavigationUrlError, n as isChromeCdpReady, o as stopIdleHandsChrome, p as snapshotAria, r as isChromeReachable, u as createTargetViaCdp, v as appendCdpPath, w as stopChromeExtensionRelayServer, y as fetchJson, z as DEFAULT_BROWSER_DEFAULT_PROFILE_NAME } from "./chrome-BcJB6PcM.js";
|
|
14
14
|
import { t as SsrFBlockedError } from "./ssrf-CZeHDwVZ.js";
|
|
15
|
-
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-
|
|
16
|
-
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-
|
|
17
|
-
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-
|
|
18
|
-
import { r as saveMediaBuffer, t as ensureMediaDir } from "./store-
|
|
19
|
-
import { H as resolveAgentMainSessionKey, V as canonicalizeMainSessionAlias, q as acquireSessionWriteLock } from "./sessions-
|
|
20
|
-
import { t as sanitizeContentBlocksImages } from "./tool-images-
|
|
15
|
+
import { a as syncSkillsToWorkspace, l as resolveSandboxInputPath, m as sanitizeEnvVars, u as resolveSandboxPath } from "./skills-CnAPWfca.js";
|
|
16
|
+
import { t as PATH_ALIAS_POLICIES } from "./path-alias-guards-Cu1nXNMM.js";
|
|
17
|
+
import { n as formatErrorMessage, t as extractErrorCode } from "./errors-C_0nm4TJ.js";
|
|
18
|
+
import { r as saveMediaBuffer, t as ensureMediaDir } from "./store-CvMgrKWx.js";
|
|
19
|
+
import { H as resolveAgentMainSessionKey, V as canonicalizeMainSessionAlias, q as acquireSessionWriteLock } from "./sessions-3ioSeOA1.js";
|
|
20
|
+
import { t as sanitizeContentBlocksImages } from "./tool-images-CcGZpzmq.js";
|
|
21
21
|
import { o as normalizeThinkLevel } from "./thinking-z4_linel.js";
|
|
22
22
|
import fs from "node:fs/promises";
|
|
23
23
|
import os from "node:os";
|
|
24
24
|
import path, { posix } from "node:path";
|
|
25
|
-
import
|
|
25
|
+
import syncFs, { existsSync } from "node:fs";
|
|
26
26
|
import { spawn } from "node:child_process";
|
|
27
27
|
import crypto, { createHash, timingSafeEqual } from "node:crypto";
|
|
28
28
|
import express from "express";
|
|
@@ -1182,7 +1182,7 @@ function isModuleNotFoundError(err) {
|
|
|
1182
1182
|
}
|
|
1183
1183
|
async function loadPwAiModule(mode) {
|
|
1184
1184
|
try {
|
|
1185
|
-
return await import("./pw-ai-
|
|
1185
|
+
return await import("./pw-ai-CfYaR1K2.js");
|
|
1186
1186
|
} catch (err) {
|
|
1187
1187
|
if (mode === "soft") return null;
|
|
1188
1188
|
if (isModuleNotFoundError(err)) return null;
|
|
@@ -2922,11 +2922,11 @@ async function movePathToTrash(targetPath) {
|
|
|
2922
2922
|
return targetPath;
|
|
2923
2923
|
} catch {
|
|
2924
2924
|
const trashDir = path.join(os.homedir(), ".Trash");
|
|
2925
|
-
|
|
2925
|
+
syncFs.mkdirSync(trashDir, { recursive: true });
|
|
2926
2926
|
const base = path.basename(targetPath);
|
|
2927
2927
|
let dest = path.join(trashDir, `${base}-${Date.now()}`);
|
|
2928
|
-
if (
|
|
2929
|
-
|
|
2928
|
+
if (syncFs.existsSync(dest)) dest = path.join(trashDir, `${base}-${Date.now()}-${generateSecureToken(6)}`);
|
|
2929
|
+
syncFs.renameSync(targetPath, dest);
|
|
2930
2930
|
return dest;
|
|
2931
2931
|
}
|
|
2932
2932
|
}
|
|
@@ -3004,7 +3004,7 @@ function createBrowserProfilesService(ctx) {
|
|
|
3004
3004
|
} catch {}
|
|
3005
3005
|
const userDataDir = resolveIdleHandsUserDataDir(name);
|
|
3006
3006
|
const profileDir = path.dirname(userDataDir);
|
|
3007
|
-
if (
|
|
3007
|
+
if (syncFs.existsSync(profileDir)) {
|
|
3008
3008
|
await movePathToTrash(profileDir);
|
|
3009
3009
|
deleted = true;
|
|
3010
3010
|
}
|
|
@@ -3717,13 +3717,13 @@ function createProfileContext(opts, profile) {
|
|
|
3717
3717
|
const userDataDir = resolveIdleHandsUserDataDir(profile.name);
|
|
3718
3718
|
const profileState = getProfileState();
|
|
3719
3719
|
if (await isHttpReachable(300) && !profileState.running) try {
|
|
3720
|
-
await (await import("./pw-ai-
|
|
3720
|
+
await (await import("./pw-ai-CfYaR1K2.js")).closePlaywrightBrowserConnection();
|
|
3721
3721
|
} catch {}
|
|
3722
3722
|
if (profileState.running) await stopRunningBrowser();
|
|
3723
3723
|
try {
|
|
3724
|
-
await (await import("./pw-ai-
|
|
3724
|
+
await (await import("./pw-ai-CfYaR1K2.js")).closePlaywrightBrowserConnection();
|
|
3725
3725
|
} catch {}
|
|
3726
|
-
if (!
|
|
3726
|
+
if (!syncFs.existsSync(userDataDir)) return {
|
|
3727
3727
|
moved: false,
|
|
3728
3728
|
from: userDataDir
|
|
3729
3729
|
};
|
|
@@ -5350,7 +5350,7 @@ var SandboxFsBridgeImpl = class {
|
|
|
5350
5350
|
});
|
|
5351
5351
|
if (!guarded.ok) {
|
|
5352
5352
|
if (guarded.reason !== "path" || options.allowMissingTarget === false) throw guarded.error instanceof Error ? guarded.error : /* @__PURE__ */ new Error(`Sandbox boundary checks failed; cannot ${options.action}: ${target.containerPath}`);
|
|
5353
|
-
} else
|
|
5353
|
+
} else syncFs.closeSync(guarded.fd);
|
|
5354
5354
|
const canonicalContainerPath = await this.resolveCanonicalContainerPath({
|
|
5355
5355
|
containerPath: target.containerPath,
|
|
5356
5356
|
allowFinalSymlinkForUnlink: options.aliasPolicy?.allowFinalSymlinkForUnlink === true
|
|
@@ -72,7 +72,7 @@ import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-rou
|
|
|
72
72
|
import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-BnWIC6Jc.js";
|
|
73
73
|
import { t as makeProxyFetch } from "./proxy-CNZpb4NE.js";
|
|
74
74
|
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-CqYEEgmA.js";
|
|
75
|
-
import { r as createOutboundSendDepsFromCliSource, t as createDefaultDeps } from "./deps-
|
|
75
|
+
import { r as createOutboundSendDepsFromCliSource, t as createDefaultDeps } from "./deps-Ch6bZ8PI.js";
|
|
76
76
|
import { createRequire } from "node:module";
|
|
77
77
|
import * as path$1 from "node:path";
|
|
78
78
|
import path, { isAbsolute } from "node:path";
|
|
@@ -23059,7 +23059,7 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
23059
23059
|
};
|
|
23060
23060
|
const arg = body.slice(6).trim();
|
|
23061
23061
|
if (arg === "status" || arg === "") {
|
|
23062
|
-
const { antonStatus } = await import("./anton-
|
|
23062
|
+
const { antonStatus } = await import("./anton-CgpWkf5P.js");
|
|
23063
23063
|
const lines = [];
|
|
23064
23064
|
await antonStatus({
|
|
23065
23065
|
log: (msg) => lines.push(msg),
|
|
@@ -23075,7 +23075,7 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
23075
23075
|
return { shouldContinue: false };
|
|
23076
23076
|
}
|
|
23077
23077
|
if (arg === "stop") {
|
|
23078
|
-
const { antonStop } = await import("./anton-
|
|
23078
|
+
const { antonStop } = await import("./anton-CgpWkf5P.js");
|
|
23079
23079
|
const lines = [];
|
|
23080
23080
|
await antonStop({
|
|
23081
23081
|
log: (msg) => lines.push(msg),
|
|
@@ -23113,8 +23113,8 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
23113
23113
|
await sendProgress(replyCtx, text);
|
|
23114
23114
|
return { shouldContinue: false };
|
|
23115
23115
|
}
|
|
23116
|
-
const { runAnton, formatProgressMessage } = await import("./anton-
|
|
23117
|
-
const { createDefaultDeps } = await import("./deps-
|
|
23116
|
+
const { runAnton, formatProgressMessage } = await import("./anton-CgpWkf5P.js");
|
|
23117
|
+
const { createDefaultDeps } = await import("./deps-Ch6bZ8PI.js").then((n) => n.n);
|
|
23118
23118
|
const { createNonExitingRuntime } = await import("./runtime-8mi3mpYB.js").then((n) => n.r);
|
|
23119
23119
|
const runtime = createNonExitingRuntime();
|
|
23120
23120
|
const deps = createDefaultDeps();
|
|
@@ -57267,7 +57267,7 @@ function createDiscordMessageHandler(params) {
|
|
|
57267
57267
|
try {
|
|
57268
57268
|
const messageText = resolveDiscordMessageText(data.message)?.trim();
|
|
57269
57269
|
if (messageText) {
|
|
57270
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
57270
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-2v4bhRCE.js");
|
|
57271
57271
|
if (isAbortRequestText(messageText)) {
|
|
57272
57272
|
const { resolveAgentRoute } = await import("./resolve-route-BI3VjtwE.js").then((n) => n.r);
|
|
57273
57273
|
const channelId = resolveDiscordMessageChannelId({
|
|
@@ -64765,7 +64765,7 @@ async function monitorIMessageProvider(opts = {}) {
|
|
|
64765
64765
|
}
|
|
64766
64766
|
const msgText = (message.text ?? "").trim();
|
|
64767
64767
|
if (msgText) {
|
|
64768
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
64768
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-2v4bhRCE.js");
|
|
64769
64769
|
if (isAbortRequestText(msgText)) {
|
|
64770
64770
|
const { resolveAgentRoute } = await import("./resolve-route-BI3VjtwE.js").then((n) => n.r);
|
|
64771
64771
|
const route = resolveAgentRoute({
|
|
@@ -67376,7 +67376,7 @@ function createSignalEventHandler(deps) {
|
|
|
67376
67376
|
const senderName = envelope.sourceName ?? senderDisplay;
|
|
67377
67377
|
const messageId = typeof envelope.timestamp === "number" ? String(envelope.timestamp) : void 0;
|
|
67378
67378
|
if (bodyText) {
|
|
67379
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
67379
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-2v4bhRCE.js");
|
|
67380
67380
|
if (isAbortRequestText(bodyText)) {
|
|
67381
67381
|
const { resolveAgentRoute } = await import("./resolve-route-BI3VjtwE.js").then((n) => n.r);
|
|
67382
67382
|
const route = resolveAgentRoute({
|
|
@@ -70758,7 +70758,7 @@ function createSlackMessageHandler(params) {
|
|
|
70758
70758
|
if (ctx.markMessageSeen(message.channel, message.ts)) return;
|
|
70759
70759
|
const rawText = (message.text ?? "").trim();
|
|
70760
70760
|
if (rawText) {
|
|
70761
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
70761
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-2v4bhRCE.js");
|
|
70762
70762
|
if (isAbortRequestText(rawText)) {
|
|
70763
70763
|
const { resolveAgentRoute } = await import("./resolve-route-BI3VjtwE.js").then((n) => n.r);
|
|
70764
70764
|
const route = resolveAgentRoute({
|
|
@@ -72952,7 +72952,7 @@ const registerTelegramHandlers = ({ cfg, accountId, bot, opts, runtime, mediaMax
|
|
|
72952
72952
|
const { ctx, msg, chatId, resolvedThreadId, storeAllowFrom, sendOversizeWarning, oversizeLogMessage } = params;
|
|
72953
72953
|
const text = typeof msg.text === "string" ? msg.text : void 0;
|
|
72954
72954
|
if (text) {
|
|
72955
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
72955
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-2v4bhRCE.js");
|
|
72956
72956
|
if (isAbortRequestText(text)) {
|
|
72957
72957
|
const senderId = msg.from?.id ? String(msg.from.id) : "";
|
|
72958
72958
|
if (!senderId || !allowFrom?.length || allowFrom.includes(senderId)) {
|
|
@@ -76437,7 +76437,7 @@ function loadWebLoginQr() {
|
|
|
76437
76437
|
return webLoginQrPromise;
|
|
76438
76438
|
}
|
|
76439
76439
|
function loadWebChannel() {
|
|
76440
|
-
webChannelPromise ??= import("./web-
|
|
76440
|
+
webChannelPromise ??= import("./web-DPSpgc_K.js");
|
|
76441
76441
|
return webChannelPromise;
|
|
76442
76442
|
}
|
|
76443
76443
|
function loadWhatsAppActions() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { kr as ensureAuthProfileStore, u as normalizeProviderId } from "./model-selection-
|
|
2
|
+
import { kr as ensureAuthProfileStore, u as normalizeProviderId } from "./model-selection-0dGxYGp8.js";
|
|
3
3
|
import fs from "node:fs";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import * as PiCodingAgent from "@mariozechner/pi-coding-agent";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { c as normalizeProviderId, ln as ensureAuthProfileStore } from "./model-selection-
|
|
2
|
+
import { c as normalizeProviderId, ln as ensureAuthProfileStore } from "./model-selection-1MMYqY6M.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
-
import
|
|
4
|
+
import syncFs from "node:fs";
|
|
5
5
|
import * as PiCodingAgent from "@mariozechner/pi-coding-agent";
|
|
6
6
|
|
|
7
7
|
//#region src/agents/pi-auth-credentials.ts
|
|
@@ -70,10 +70,10 @@ function isRecord(value) {
|
|
|
70
70
|
}
|
|
71
71
|
function scrubLegacyStaticAuthJsonEntries(pathname) {
|
|
72
72
|
if (process.env.IDLEHANDS_AUTH_STORE_READONLY === "1") return;
|
|
73
|
-
if (!
|
|
73
|
+
if (!syncFs.existsSync(pathname)) return;
|
|
74
74
|
let parsed;
|
|
75
75
|
try {
|
|
76
|
-
parsed = JSON.parse(
|
|
76
|
+
parsed = JSON.parse(syncFs.readFileSync(pathname, "utf8"));
|
|
77
77
|
} catch {
|
|
78
78
|
return;
|
|
79
79
|
}
|
|
@@ -87,11 +87,11 @@ function scrubLegacyStaticAuthJsonEntries(pathname) {
|
|
|
87
87
|
}
|
|
88
88
|
if (!changed) return;
|
|
89
89
|
if (Object.keys(parsed).length === 0) {
|
|
90
|
-
|
|
90
|
+
syncFs.rmSync(pathname, { force: true });
|
|
91
91
|
return;
|
|
92
92
|
}
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
syncFs.writeFileSync(pathname, `${JSON.stringify(parsed, null, 2)}\n`, "utf8");
|
|
94
|
+
syncFs.chmodSync(pathname, 384);
|
|
95
95
|
}
|
|
96
96
|
function createAuthStorage(AuthStorageLike, path, creds) {
|
|
97
97
|
const withInMemory = AuthStorageLike;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { i as resolveAgentConfig } from "./agent-scope-
|
|
1
|
+
import { i as resolveAgentConfig } from "./agent-scope-RA0zXRpu.js";
|
|
2
2
|
import { T as resolveThreadParentSessionKey, l as resolveAgentIdFromSessionKey, s as normalizeAgentId } from "./session-key-Cuihcz_O.js";
|
|
3
|
-
import { fr as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./model-selection-
|
|
4
|
-
import { l as normalizeStringEntries, o as resolveChannelGroupToolsPolicy, t as getChannelDock } from "./dock-
|
|
3
|
+
import { fr as DEFAULT_SUBAGENT_MAX_SPAWN_DEPTH } from "./model-selection-0dGxYGp8.js";
|
|
4
|
+
import { l as normalizeStringEntries, o as resolveChannelGroupToolsPolicy, t as getChannelDock } from "./dock-Y96MzKuM.js";
|
|
5
5
|
import { l as normalizeMessageChannel } from "./message-channel-DVauVtrg.js";
|
|
6
|
-
import { S as normalizeToolName, T as matchesAnyGlobPattern, w as compileGlobPatterns, x as expandToolGroups } from "./sandbox-
|
|
7
|
-
import { i as readChannelAllowFromStore } from "./pairing-store-
|
|
6
|
+
import { S as normalizeToolName, T as matchesAnyGlobPattern, w as compileGlobPatterns, x as expandToolGroups } from "./sandbox-DcUw5h3p.js";
|
|
7
|
+
import { i as readChannelAllowFromStore } from "./pairing-store-CPpEEQJO.js";
|
|
8
8
|
import { i as resolveGroupAllowFromSources, r as mergeDmAllowFromSources } from "./allow-from-DKKtZjsx.js";
|
|
9
9
|
|
|
10
10
|
//#region src/channels/command-gating.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { d as isRecord, t as CONFIG_DIR, y as resolveUserPath } from "./utils-CXzXXV2o.js";
|
|
2
2
|
import { g as listChatChannels, h as getChatChannelMeta, y as normalizeChatChannelId } from "./subsystem-CGZX2PBV.js";
|
|
3
|
-
import { u as normalizeProviderId } from "./model-selection-
|
|
4
|
-
import { n as loadPluginManifestRegistry, r as discoverIdleHandsPlugins } from "./manifest-registry-
|
|
3
|
+
import { u as normalizeProviderId } from "./model-selection-0dGxYGp8.js";
|
|
4
|
+
import { n as loadPluginManifestRegistry, r as discoverIdleHandsPlugins } from "./manifest-registry-Bak1x76G.js";
|
|
5
5
|
import { n as MANIFEST_KEY } from "./legacy-names-DB161qHh.js";
|
|
6
|
-
import { t as hasAnyWhatsAppAuth } from "./accounts-
|
|
6
|
+
import { t as hasAnyWhatsAppAuth } from "./accounts-DLTODa_Z.js";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
|
2
2
|
import { E as getActivePluginRegistry, s as createSubsystemLogger } from "./entry.js";
|
|
3
3
|
import { j as loadConfig } from "./auth-profiles-Baj5ImDJ.js";
|
|
4
4
|
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-mLXQGQde.js";
|
|
5
|
-
import { _ as loadIdleHandsPlugins } from "./subagent-registry-
|
|
5
|
+
import { _ as loadIdleHandsPlugins } from "./subagent-registry-Dclk-Ews.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/plugin-registry.ts
|
|
8
8
|
var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { ht as loadIdleHandsPlugins } from "./reply-
|
|
3
|
-
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
2
|
+
import { ht as loadIdleHandsPlugins } from "./reply-BDr-UY9O.js";
|
|
3
|
+
import { d as resolveDefaultAgentId, u as resolveAgentWorkspaceDir } from "./agent-scope-RA0zXRpu.js";
|
|
4
4
|
import { b as getActivePluginRegistry, t as createSubsystemLogger } from "./subsystem-CGZX2PBV.js";
|
|
5
|
-
import { It as loadConfig } from "./model-selection-
|
|
5
|
+
import { It as loadConfig } from "./model-selection-0dGxYGp8.js";
|
|
6
6
|
|
|
7
7
|
//#region src/cli/plugin-registry.ts
|
|
8
8
|
var plugin_registry_exports = /* @__PURE__ */ __exportAll({ ensurePluginRegistryLoaded: () => ensurePluginRegistryLoaded });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { s as normalizeAgentId } from "./session-key-47BV2tLd.js";
|
|
2
2
|
import "./accounts-BLYMokxV.js";
|
|
3
|
-
import { F as callGateway, I as randomIdempotencyKey, d as agentCommand, f as resolveSessionKeyForRequest, p as withProgress } from "./reply-
|
|
3
|
+
import { F as callGateway, I as randomIdempotencyKey, d as agentCommand, f as resolveSessionKeyForRequest, p as withProgress } from "./reply-BfdVf3fw.js";
|
|
4
4
|
import "./paths-CtGV5i8O.js";
|
|
5
5
|
import "./github-copilot-token-CY2euW0d.js";
|
|
6
6
|
import { r as loadConfig } from "./config-CEgzwk0J.js";
|
|
@@ -63,7 +63,7 @@ import "./send-B26cNPqY.js";
|
|
|
63
63
|
import "./proxy-C4ewPdlN.js";
|
|
64
64
|
import "./resolve-route-BZABUE4J.js";
|
|
65
65
|
import "./replies-ZovJp-3F.js";
|
|
66
|
-
import "./deps-
|
|
66
|
+
import "./deps-DfyALwFG.js";
|
|
67
67
|
import "./outbound-attachment-BisU5Vji.js";
|
|
68
68
|
|
|
69
69
|
//#region src/commands/agent-via-gateway.ts
|
|
@@ -219,7 +219,7 @@ async function loadAntonConfig() {
|
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
221
|
async function runAgentTask(args) {
|
|
222
|
-
const { agentCliCommand } = await import("./agent-via-gateway-
|
|
222
|
+
const { agentCliCommand } = await import("./agent-via-gateway-DmQMFWNE.js");
|
|
223
223
|
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;
|
|
224
224
|
const result = await agentCliCommand({
|
|
225
225
|
message: args.message,
|
|
@@ -339,6 +339,11 @@ async function tryPersistPlanFallback(params) {
|
|
|
339
339
|
await fs.writeFile(params.planFile, `${planText}\n`, "utf8");
|
|
340
340
|
return await isPlanFileValid(params.planFile);
|
|
341
341
|
}
|
|
342
|
+
async function writeDeterministicPlanFallback(params) {
|
|
343
|
+
const plan = `# Task\n\n${params.taskText}\n\n## What needs to change\n- Implement the task exactly as described in the checklist item.\n- Keep changes scoped to files directly related to this task.\n\n## Implementation approach\n1. Inspect existing CI/workflow/config files relevant to this task.\n2. Apply minimal edits needed to satisfy the task requirements.\n3. Keep behavior/style consistent with adjacent repository conventions.\n\n## Files to modify\n- Determine from ${params.taskFile} and related source/config files.\n\n## Verification\n- Run targeted tests for touched areas.\n- Run repository checks required by this project (for example: pnpm test / pnpm check) as appropriate.\n- Confirm git diff contains only task-relevant changes.\n`;
|
|
344
|
+
await fs.writeFile(params.planFile, plan, "utf8");
|
|
345
|
+
return await isPlanFileValid(params.planFile);
|
|
346
|
+
}
|
|
342
347
|
async function runDiscoveryPhase(args) {
|
|
343
348
|
const planFile = makePlanFilePath(args.planDir, args.taskNum);
|
|
344
349
|
await ensurePlanDir(args.planDir);
|
|
@@ -396,22 +401,28 @@ async function runDiscoveryPhase(args) {
|
|
|
396
401
|
planFile: declaredPlanFile
|
|
397
402
|
};
|
|
398
403
|
}
|
|
399
|
-
if ((firstParsed?.status ?? "").toLowerCase() === "incomplete"
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
await
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
404
|
+
if ((firstParsed?.status ?? "").toLowerCase() === "incomplete") {
|
|
405
|
+
if (await tryPersistPlanFallback({
|
|
406
|
+
planFile: declaredPlanFile,
|
|
407
|
+
parsed: firstParsed,
|
|
408
|
+
rawText: firstPass.text
|
|
409
|
+
}) || await writeDeterministicPlanFallback({
|
|
410
|
+
planFile: declaredPlanFile,
|
|
411
|
+
taskText: args.task.text,
|
|
412
|
+
taskFile: args.taskFile
|
|
413
|
+
})) {
|
|
414
|
+
await args.notify({
|
|
415
|
+
phase: "discovery_complete",
|
|
416
|
+
index: args.taskNum,
|
|
417
|
+
total: args.total,
|
|
418
|
+
task: args.task.text,
|
|
419
|
+
planFile: declaredPlanFile
|
|
420
|
+
});
|
|
421
|
+
return {
|
|
422
|
+
status: "plan_ready",
|
|
423
|
+
planFile: declaredPlanFile
|
|
424
|
+
};
|
|
425
|
+
}
|
|
415
426
|
}
|
|
416
427
|
const repairSessionId = `anton-discovery-repair-${Date.now()}-${args.taskNum}-${attempt}`;
|
|
417
428
|
await args.notify({
|
|
@@ -450,6 +461,10 @@ async function runDiscoveryPhase(args) {
|
|
|
450
461
|
planFile: repairPlanFile,
|
|
451
462
|
parsed: repairParsed,
|
|
452
463
|
rawText: repairPass.text
|
|
464
|
+
}) || (repairParsed?.status ?? "").toLowerCase() === "incomplete" && await writeDeterministicPlanFallback({
|
|
465
|
+
planFile: repairPlanFile,
|
|
466
|
+
taskText: args.task.text,
|
|
467
|
+
taskFile: args.taskFile
|
|
453
468
|
})) {
|
|
454
469
|
await args.notify({
|
|
455
470
|
phase: "discovery_complete",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as buildGroupHistoryKey, f as DEFAULT_ACCOUNT_ID, n as DEFAULT_MAIN_KEY, r as buildAgentMainSessionKey, s as normalizeAgentId } from "./session-key-47BV2tLd.js";
|
|
2
2
|
import { i as resolveWhatsAppAccount } from "./accounts-BLYMokxV.js";
|
|
3
|
-
import { A as formatDurationPrecise, Ct as formatInboundEnvelope, Gt as resolveOpenProviderRuntimeGroupPolicy, Lt as resolveDmGroupAccessWithCommandGate, Mt as buildPairingReply, Pt as readStoreAllowFromForDmPolicy, Rt as resolveDmGroupAccessWithLists, Tt as resolveEnvelopeFormatOptions, Wt as resolveDefaultGroupPolicy, X as shouldAckReactionForWhatsApp, Z as resolveMentionGating, _ as resolveInboundDebounceMs, ct as recordPendingHistoryEntryIfEnabled, g as createInboundDebouncer, i as parseActivationCommand, j as enqueueSystemEvent, l as computeBackoff, lt as buildMentionRegexes, m as dispatchReplyWithBufferedBlockDispatcher, nt as buildHistoryContextFromEntries, qt as warnMissingProviderGroupPolicyFallbackOnce, r as normalizeGroupActivation, t as getReplyFromConfig, tt as DEFAULT_GROUP_HISTORY_LIMIT, u as sleepWithAbort, ut as normalizeMentionText, v as hasControlCommand, y as shouldComputeCommandAuthorized, yt as createDedupeCache } from "./reply-
|
|
3
|
+
import { A as formatDurationPrecise, Ct as formatInboundEnvelope, Gt as resolveOpenProviderRuntimeGroupPolicy, Lt as resolveDmGroupAccessWithCommandGate, Mt as buildPairingReply, Pt as readStoreAllowFromForDmPolicy, Rt as resolveDmGroupAccessWithLists, Tt as resolveEnvelopeFormatOptions, Wt as resolveDefaultGroupPolicy, X as shouldAckReactionForWhatsApp, Z as resolveMentionGating, _ as resolveInboundDebounceMs, ct as recordPendingHistoryEntryIfEnabled, g as createInboundDebouncer, i as parseActivationCommand, j as enqueueSystemEvent, l as computeBackoff, lt as buildMentionRegexes, m as dispatchReplyWithBufferedBlockDispatcher, nt as buildHistoryContextFromEntries, qt as warnMissingProviderGroupPolicyFallbackOnce, r as normalizeGroupActivation, t as getReplyFromConfig, tt as DEFAULT_GROUP_HISTORY_LIMIT, u as sleepWithAbort, ut as normalizeMentionText, v as hasControlCommand, y as shouldComputeCommandAuthorized, yt as createDedupeCache } from "./reply-BfdVf3fw.js";
|
|
4
4
|
import { r as loadConfig } from "./config-CEgzwk0J.js";
|
|
5
5
|
import { A as shouldLogVerbose, D as logVerbose, I as getChildLogger, d as normalizeE164, l as isSelfChatMode, m as resolveJidToE164, n as clamp, u as jidToE164, x as toWhatsappJid, y as sleep } from "./utils-Dyj2wV4e.js";
|
|
6
6
|
import { l as normalizeChatChannelId, t as createSubsystemLogger } from "./subsystem-DWPzKeZ0.js";
|
|
@@ -878,7 +878,7 @@ async function monitorWebInbox(options) {
|
|
|
878
878
|
};
|
|
879
879
|
const stopText = (inboundMessage.body ?? "").trim();
|
|
880
880
|
if (stopText) {
|
|
881
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
881
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-0ZrbH3D4.js");
|
|
882
882
|
if (isAbortRequestText(stopText)) {
|
|
883
883
|
const { loadConfig: loadCfg } = await import("./config-CEgzwk0J.js").then((n) => n.t);
|
|
884
884
|
const { resolveAgentRoute } = await import("./resolve-route-BZABUE4J.js").then((n) => n.r);
|
|
@@ -18,7 +18,7 @@ var deps_exports = /* @__PURE__ */ __exportAll({ createDefaultDeps: () => create
|
|
|
18
18
|
function createDefaultDeps() {
|
|
19
19
|
return {
|
|
20
20
|
sendMessageWhatsApp: async (...args) => {
|
|
21
|
-
const { sendMessageWhatsApp } = await import("./web-
|
|
21
|
+
const { sendMessageWhatsApp } = await import("./web-DwDLI7GP.js");
|
|
22
22
|
return await sendMessageWhatsApp(...args);
|
|
23
23
|
},
|
|
24
24
|
sendMessageTelegram: async (...args) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./accounts-BLYMokxV.js";
|
|
2
|
-
import { S as stopSubagentsForRequester, b as formatAbortReplyText, n as abortEmbeddedPiRun, w as clearSessionQueues, x as isAbortRequestText } from "./reply-
|
|
2
|
+
import { S as stopSubagentsForRequester, b as formatAbortReplyText, n as abortEmbeddedPiRun, w as clearSessionQueues, x as isAbortRequestText } from "./reply-BfdVf3fw.js";
|
|
3
3
|
import "./paths-CtGV5i8O.js";
|
|
4
4
|
import "./github-copilot-token-CY2euW0d.js";
|
|
5
5
|
import "./config-CEgzwk0J.js";
|
|
@@ -61,7 +61,7 @@ import "./send-B26cNPqY.js";
|
|
|
61
61
|
import "./proxy-C4ewPdlN.js";
|
|
62
62
|
import "./resolve-route-BZABUE4J.js";
|
|
63
63
|
import "./replies-ZovJp-3F.js";
|
|
64
|
-
import "./deps-
|
|
64
|
+
import "./deps-DfyALwFG.js";
|
|
65
65
|
import "./outbound-attachment-BisU5Vji.js";
|
|
66
66
|
|
|
67
67
|
//#region src/auto-reply/reply/emergency-stop.ts
|
package/dist/plugin-sdk/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId, u as resolveThreadSessionKeys } from "./session-key-47BV2tLd.js";
|
|
2
2
|
import { a as resolveWhatsAppAuthDir, i as resolveWhatsAppAccount, n as listWhatsAppAccountIds, o as createAccountListHelpers, r as resolveDefaultWhatsAppAccountId } from "./accounts-BLYMokxV.js";
|
|
3
|
-
import { $ as mergeAllowlist, $t as unregisterAcpRuntimeBackend, At as extractToolSend, B as formatDocsLink, Bt as resolveControlCommandGate, D as stripMarkdown, Dt as formatZonedTimestamp, E as processLineMessage, Et as formatUtcTimestamp, Ft as resolveDmAllowState, G as logInboundDrop, Gt as resolveOpenProviderRuntimeGroupPolicy, H as stringEnum, Ht as resetMissingProviderGroupPolicyFallbackWarningsForTesting, It as resolveDmGroupAccessDecision, J as removeAckReactionAfterReply, Jt as isDangerousNameMatchingEnabled, K as logTypingFailure, Kt as resolveRuntimeGroupPolicy, L as resolveDiscordUserAllowlist, Lt as resolveDmGroupAccessWithCommandGate, M as resolveSlackUserAllowlist, N as resolveSlackChannelAllowlist, Nt as DM_GROUP_ACCESS_REASON, O as createReceiptCard, Ot as resolveTimezone, P as detectBinary, Pt as readStoreAllowFromForDmPolicy, Q as resolveMentionGatingWithBypass, Qt as requireAcpRuntimeBackend, R as resolveDiscordChannelAllowlist, Rt as resolveDmGroupAccessWithLists, St as rejectDevicePairing, T as hasMarkdownToConvert, U as recordInboundSession, Ut as resolveAllowlistProviderRuntimeGroupPolicy, V as optionalStringEnum, Vt as GROUP_POLICY_BLOCKED_LABEL, W as logAckFailure, Wt as resolveDefaultGroupPolicy, X as shouldAckReactionForWhatsApp, Xt as getAcpRuntimeBackend, Y as shouldAckReaction, Yt as registerPluginHttpRoute, Z as resolveMentionGating, Zt as registerAcpRuntimeBackend, _t as readRequestBodyWithLimit, a as listLineAccountIds, an as formatAllowlistMatchMeta, at as clearHistoryEntriesIfEnabled, bt as approveDevicePairing, c as resolveLineAccount, cn as BLUEBUBBLES_ACTION_NAMES, ct as recordPendingHistoryEntryIfEnabled, dt as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, en as ACP_ERROR_CODES, et as summarizeMapping, ft as DEFAULT_WEBHOOK_MAX_BODY_BYTES, gt as readJsonBodyWithLimit, ht as isRequestBodyLimitError, in as unbindThreadBindingsBySessionKey, it as clearHistoryEntries, jt as issuePairingChallenge, k as attachFooterText, kt as buildMediaPayload, ln as BLUEBUBBLES_GROUP_ACTIONS, mt as installRequestBodyLimitGuard, nn as autoBindSpawnedDiscordSubagent, o as normalizeAccountId$1, on as resolveAllowlistMatchSimple, ot as evictOldHistoryKeys, pt as RequestBodyLimitError, q as createTypingCallbacks, qt as warnMissingProviderGroupPolicyFallbackOnce, rn as listThreadBindingsBySessionKey, rt as buildPendingHistoryContextFromMap, s as resolveDefaultLineAccountId, sn as BLUEBUBBLES_ACTIONS, st as recordPendingHistoryEntry, tn as AcpRuntimeError, tt as DEFAULT_GROUP_HISTORY_LIMIT, un as CHANNEL_MESSAGE_ACTION_NAMES, vt as requestBodyErrorToText, wt as formatInboundFromLabel, xt as listDevicePairing, yt as createDedupeCache, z as collectDiscordAuditChannelIds, zt as resolveEffectiveAllowFromLists } from "./reply-
|
|
3
|
+
import { $ as mergeAllowlist, $t as unregisterAcpRuntimeBackend, At as extractToolSend, B as formatDocsLink, Bt as resolveControlCommandGate, D as stripMarkdown, Dt as formatZonedTimestamp, E as processLineMessage, Et as formatUtcTimestamp, Ft as resolveDmAllowState, G as logInboundDrop, Gt as resolveOpenProviderRuntimeGroupPolicy, H as stringEnum, Ht as resetMissingProviderGroupPolicyFallbackWarningsForTesting, It as resolveDmGroupAccessDecision, J as removeAckReactionAfterReply, Jt as isDangerousNameMatchingEnabled, K as logTypingFailure, Kt as resolveRuntimeGroupPolicy, L as resolveDiscordUserAllowlist, Lt as resolveDmGroupAccessWithCommandGate, M as resolveSlackUserAllowlist, N as resolveSlackChannelAllowlist, Nt as DM_GROUP_ACCESS_REASON, O as createReceiptCard, Ot as resolveTimezone, P as detectBinary, Pt as readStoreAllowFromForDmPolicy, Q as resolveMentionGatingWithBypass, Qt as requireAcpRuntimeBackend, R as resolveDiscordChannelAllowlist, Rt as resolveDmGroupAccessWithLists, St as rejectDevicePairing, T as hasMarkdownToConvert, U as recordInboundSession, Ut as resolveAllowlistProviderRuntimeGroupPolicy, V as optionalStringEnum, Vt as GROUP_POLICY_BLOCKED_LABEL, W as logAckFailure, Wt as resolveDefaultGroupPolicy, X as shouldAckReactionForWhatsApp, Xt as getAcpRuntimeBackend, Y as shouldAckReaction, Yt as registerPluginHttpRoute, Z as resolveMentionGating, Zt as registerAcpRuntimeBackend, _t as readRequestBodyWithLimit, a as listLineAccountIds, an as formatAllowlistMatchMeta, at as clearHistoryEntriesIfEnabled, bt as approveDevicePairing, c as resolveLineAccount, cn as BLUEBUBBLES_ACTION_NAMES, ct as recordPendingHistoryEntryIfEnabled, dt as DEFAULT_WEBHOOK_BODY_TIMEOUT_MS, en as ACP_ERROR_CODES, et as summarizeMapping, ft as DEFAULT_WEBHOOK_MAX_BODY_BYTES, gt as readJsonBodyWithLimit, ht as isRequestBodyLimitError, in as unbindThreadBindingsBySessionKey, it as clearHistoryEntries, jt as issuePairingChallenge, k as attachFooterText, kt as buildMediaPayload, ln as BLUEBUBBLES_GROUP_ACTIONS, mt as installRequestBodyLimitGuard, nn as autoBindSpawnedDiscordSubagent, o as normalizeAccountId$1, on as resolveAllowlistMatchSimple, ot as evictOldHistoryKeys, pt as RequestBodyLimitError, q as createTypingCallbacks, qt as warnMissingProviderGroupPolicyFallbackOnce, rn as listThreadBindingsBySessionKey, rt as buildPendingHistoryContextFromMap, s as resolveDefaultLineAccountId, sn as BLUEBUBBLES_ACTIONS, st as recordPendingHistoryEntry, tn as AcpRuntimeError, tt as DEFAULT_GROUP_HISTORY_LIMIT, un as CHANNEL_MESSAGE_ACTION_NAMES, vt as requestBodyErrorToText, wt as formatInboundFromLabel, xt as listDevicePairing, yt as createDedupeCache, z as collectDiscordAuditChannelIds, zt as resolveEffectiveAllowFromLists } from "./reply-BfdVf3fw.js";
|
|
4
4
|
import "./paths-CtGV5i8O.js";
|
|
5
5
|
import "./github-copilot-token-CY2euW0d.js";
|
|
6
6
|
import { A as GroupPolicySchema, An as acquireFileLock, D as BlockStreamingCoalesceSchema, E as ToolPolicySchema, F as TtsConfigSchema, I as TtsModeSchema, L as TtsProviderSchema, M as MarkdownTableModeSchema, N as ReplyRuntimeConfigSchemaShape, O as DmConfigSchema, P as TtsAutoSchema, R as normalizeAllowFrom, d as GoogleChatConfigSchema, f as IMessageConfigSchema, g as TelegramConfigSchema, h as SlackConfigSchema, j as MarkdownConfigSchema, jn as withFileLock, k as DmPolicySchema, l as WhatsAppConfigSchema, m as SignalConfigSchema, p as MSTeamsConfigSchema, u as DiscordConfigSchema, z as requireOpenAllowFrom } from "./config-CEgzwk0J.js";
|
|
@@ -52,7 +52,7 @@ import { h as onDiagnosticEvent, m as isDiagnosticsEnabled, p as emitDiagnosticE
|
|
|
52
52
|
import { n as extractOriginalFilename } from "./store-CCCXwngh.js";
|
|
53
53
|
import "./pi-embedded-helpers-B68z4sHq.js";
|
|
54
54
|
import { t as resolveWhatsAppOutboundTarget } from "./resolve-outbound-target-CnUtsDch.js";
|
|
55
|
-
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-
|
|
55
|
+
import { r as resolveWhatsAppHeartbeatRecipients } from "./channel-web-vQgHbtCG.js";
|
|
56
56
|
import "./thinking-g4Rrlwu4.js";
|
|
57
57
|
import "./image-C_1tftC8.js";
|
|
58
58
|
import "./pi-model-discovery-Dt6899be.js";
|
|
@@ -65,7 +65,7 @@ import "./send-B26cNPqY.js";
|
|
|
65
65
|
import "./proxy-C4ewPdlN.js";
|
|
66
66
|
import "./resolve-route-BZABUE4J.js";
|
|
67
67
|
import "./replies-ZovJp-3F.js";
|
|
68
|
-
import "./deps-
|
|
68
|
+
import "./deps-DfyALwFG.js";
|
|
69
69
|
import "./outbound-attachment-BisU5Vji.js";
|
|
70
70
|
import "./outbound-Dx_q6JAI.js";
|
|
71
71
|
import "./session-DdJj6_DW.js";
|
|
@@ -72,7 +72,7 @@ import { t as makeProxyFetch } from "./proxy-C4ewPdlN.js";
|
|
|
72
72
|
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-BZABUE4J.js";
|
|
73
73
|
import { a as createReplyReferencePlanner, i as resolveSlackThreadTs, n as deliverReplies$3, t as createSlackReplyDeliveryPlan } from "./replies-ZovJp-3F.js";
|
|
74
74
|
import { i as redactIdentifier, t as getActiveWebListener } from "./active-listener-WMrtFGPv.js";
|
|
75
|
-
import { r as createOutboundSendDepsFromCliSource, t as createDefaultDeps } from "./deps-
|
|
75
|
+
import { r as createOutboundSendDepsFromCliSource, t as createDefaultDeps } from "./deps-DfyALwFG.js";
|
|
76
76
|
import { createRequire } from "node:module";
|
|
77
77
|
import fs, { existsSync, mkdirSync, mkdtempSync, readFileSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
78
78
|
import * as path$1 from "node:path";
|
|
@@ -33091,7 +33091,7 @@ function createDiscordMessageHandler(params) {
|
|
|
33091
33091
|
try {
|
|
33092
33092
|
const messageText = resolveDiscordMessageText(data.message)?.trim();
|
|
33093
33093
|
if (messageText) {
|
|
33094
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
33094
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-0ZrbH3D4.js");
|
|
33095
33095
|
if (isAbortRequestText(messageText)) {
|
|
33096
33096
|
const { resolveAgentRoute } = await import("./resolve-route-BZABUE4J.js").then((n) => n.r);
|
|
33097
33097
|
const channelId = resolveDiscordMessageChannelId({
|
|
@@ -43835,7 +43835,7 @@ async function monitorIMessageProvider(opts = {}) {
|
|
|
43835
43835
|
}
|
|
43836
43836
|
const msgText = (message.text ?? "").trim();
|
|
43837
43837
|
if (msgText) {
|
|
43838
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
43838
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-0ZrbH3D4.js");
|
|
43839
43839
|
if (isAbortRequestText(msgText)) {
|
|
43840
43840
|
const { resolveAgentRoute } = await import("./resolve-route-BZABUE4J.js").then((n) => n.r);
|
|
43841
43841
|
const route = resolveAgentRoute({
|
|
@@ -46231,7 +46231,7 @@ function createSignalEventHandler(deps) {
|
|
|
46231
46231
|
const senderName = envelope.sourceName ?? senderDisplay;
|
|
46232
46232
|
const messageId = typeof envelope.timestamp === "number" ? String(envelope.timestamp) : void 0;
|
|
46233
46233
|
if (bodyText) {
|
|
46234
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
46234
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-0ZrbH3D4.js");
|
|
46235
46235
|
if (isAbortRequestText(bodyText)) {
|
|
46236
46236
|
const { resolveAgentRoute } = await import("./resolve-route-BZABUE4J.js").then((n) => n.r);
|
|
46237
46237
|
const route = resolveAgentRoute({
|
|
@@ -49602,7 +49602,7 @@ function createSlackMessageHandler(params) {
|
|
|
49602
49602
|
if (ctx.markMessageSeen(message.channel, message.ts)) return;
|
|
49603
49603
|
const rawText = (message.text ?? "").trim();
|
|
49604
49604
|
if (rawText) {
|
|
49605
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
49605
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-0ZrbH3D4.js");
|
|
49606
49606
|
if (isAbortRequestText(rawText)) {
|
|
49607
49607
|
const { resolveAgentRoute } = await import("./resolve-route-BZABUE4J.js").then((n) => n.r);
|
|
49608
49608
|
const route = resolveAgentRoute({
|
|
@@ -54225,7 +54225,7 @@ const registerTelegramHandlers = ({ cfg, accountId, bot, opts, runtime, mediaMax
|
|
|
54225
54225
|
const { ctx, msg, chatId, resolvedThreadId, storeAllowFrom, sendOversizeWarning, oversizeLogMessage } = params;
|
|
54226
54226
|
const text = typeof msg.text === "string" ? msg.text : void 0;
|
|
54227
54227
|
if (text) {
|
|
54228
|
-
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-
|
|
54228
|
+
const { isAbortRequestText, emergencyStop, resolveSessionForEmergencyStop } = await import("./emergency-stop-0ZrbH3D4.js");
|
|
54229
54229
|
if (isAbortRequestText(text)) {
|
|
54230
54230
|
const senderId = msg.from?.id ? String(msg.from.id) : "";
|
|
54231
54231
|
if (!senderId || !allowFrom?.length || allowFrom.includes(senderId)) {
|
|
@@ -57710,7 +57710,7 @@ function loadWebLoginQr() {
|
|
|
57710
57710
|
return webLoginQrPromise;
|
|
57711
57711
|
}
|
|
57712
57712
|
function loadWebChannel() {
|
|
57713
|
-
webChannelPromise ??= import("./web-
|
|
57713
|
+
webChannelPromise ??= import("./web-DwDLI7GP.js");
|
|
57714
57714
|
return webChannelPromise;
|
|
57715
57715
|
}
|
|
57716
57716
|
function loadWhatsAppActions() {
|
|
@@ -80282,7 +80282,7 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
80282
80282
|
};
|
|
80283
80283
|
const arg = body.slice(6).trim();
|
|
80284
80284
|
if (arg === "status" || arg === "") {
|
|
80285
|
-
const { antonStatus } = await import("./anton-
|
|
80285
|
+
const { antonStatus } = await import("./anton-CrjFisFZ.js");
|
|
80286
80286
|
const lines = [];
|
|
80287
80287
|
await antonStatus({
|
|
80288
80288
|
log: (msg) => lines.push(msg),
|
|
@@ -80298,7 +80298,7 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
80298
80298
|
return { shouldContinue: false };
|
|
80299
80299
|
}
|
|
80300
80300
|
if (arg === "stop") {
|
|
80301
|
-
const { antonStop } = await import("./anton-
|
|
80301
|
+
const { antonStop } = await import("./anton-CrjFisFZ.js");
|
|
80302
80302
|
const lines = [];
|
|
80303
80303
|
await antonStop({
|
|
80304
80304
|
log: (msg) => lines.push(msg),
|
|
@@ -80336,8 +80336,8 @@ const handleAntonCommand = async (params, _allowTextCommands) => {
|
|
|
80336
80336
|
await sendProgress(replyCtx, text);
|
|
80337
80337
|
return { shouldContinue: false };
|
|
80338
80338
|
}
|
|
80339
|
-
const { runAnton, formatProgressMessage } = await import("./anton-
|
|
80340
|
-
const { createDefaultDeps } = await import("./deps-
|
|
80339
|
+
const { runAnton, formatProgressMessage } = await import("./anton-CrjFisFZ.js");
|
|
80340
|
+
const { createDefaultDeps } = await import("./deps-DfyALwFG.js").then((n) => n.n);
|
|
80341
80341
|
const { createNonExitingRuntime } = await import("./runtime-CjfcfOBD.js").then((n) => n.r);
|
|
80342
80342
|
const runtime = createNonExitingRuntime();
|
|
80343
80343
|
const deps = createDefaultDeps();
|