@visorcraft/idlehands 4.2.2 → 4.2.3
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-3HS_UAhJ.js → accounts-B4A5mL3Y.js} +1 -1
- package/dist/{accounts-BlHH-u_r.js → accounts-B8cGzkjD.js} +1 -1
- package/dist/{accounts-DLL4jMvc.js → accounts-BQC_GRUB.js} +6 -6
- package/dist/{accounts-DLTODa_Z.js → accounts-CbaEMSlt.js} +2 -2
- package/dist/{accounts-DOlh6RqB.js → accounts-D5tB_lO0.js} +1 -1
- package/dist/{accounts-DgbTKQoW.js → accounts-VbtNKne6.js} +1 -1
- package/dist/{acp-cli-BEpWQbqb.js → acp-cli-BF3FD1qw.js} +12 -12
- package/dist/{agent-scope-CSFjmUrH.js → agent-scope-Bxq1eWbA.js} +4 -4
- package/dist/{agent-scope-RA0zXRpu.js → agent-scope-DbNnv10G.js} +3 -3
- package/dist/{agent-via-gateway-oMn0WfUq.js → agent-via-gateway-9aP1U_YQ.js} +6 -6
- package/dist/{agent-via-gateway-CldlRczJ.js → agent-via-gateway-BN0HMYd7.js} +1 -1
- package/dist/{agent-via-gateway-Bf6TEh2k.js → agent-via-gateway-BsTP4WyI.js} +60 -60
- package/dist/{agent-via-gateway-C42kkKZI.js → agent-via-gateway-BtMWCqx4.js} +2 -2
- package/dist/{agents-BfnnMO1i.js → agents-Bitc3LDE.js} +4 -4
- package/dist/{agents.config-bWtpv0jP.js → agents.config-DLjDlH4M.js} +2 -2
- package/dist/{agents.config-BFfVBZMA.js → agents.config-DmFqh5v8.js} +1 -1
- package/dist/{anton-CgpWkf5P.js → anton-C3Y_hYo3.js} +91 -57
- package/dist/{anton-DSS3RNo7.js → anton-CmB9XtGt.js} +91 -57
- package/dist/{anton-CuLeFevj.js → anton-Dn_Pc4P0.js} +95 -61
- package/dist/{anton-DXL8jrY_.js → anton-DqSQ27RK.js} +94 -60
- package/dist/{api-key-rotation-B-FTJm5p.js → api-key-rotation-Bj8Q_8ST.js} +2 -2
- package/dist/{audio-preflight-Dl1TO10w.js → audio-preflight-BEe3Go6e.js} +41 -41
- package/dist/{audio-preflight-9inwhXLH.js → audio-preflight-qkU2lsDn.js} +35 -35
- package/dist/{audit-CKeZnjft.js → audit-DjUOBxVB.js} +21 -21
- package/dist/{auth-heRVBxh2.js → auth-DoNXQLDj.js} +1 -1
- package/dist/{auth-choice-Z7nPFxhP.js → auth-choice-BKDISagq.js} +10 -10
- package/dist/{auth-choice-D12Wsf7w.js → auth-choice-fHV4ZjtT.js} +15 -15
- package/dist/{auth-choice-BNofPyTK.js → auth-choice-nFObMeHm.js} +1 -1
- package/dist/{auth-choice.apply-helpers-CGcniL1T.js → auth-choice.apply-helpers-fIm7h2DA.js} +1 -1
- package/dist/{auth-store-bL1LNwm5.js → auth-store-Bb4aajHu.js} +12 -12
- package/dist/{auth-store-DDzIMy8_.js → auth-store-Dqjgb5R1.js} +1 -1
- package/dist/{auth-token-BJq87X3o.js → auth-token-ChjRQYCt.js} +2 -2
- package/dist/{banner-B1-kj-GW.js → banner-IB7Cylyq.js} +1 -1
- package/dist/{bindings-av9-yFB3.js → bindings-CLZIJ0Eo.js} +2 -2
- package/dist/{bindings-B59Q7nsk.js → bindings-DorAphZu.js} +2 -2
- package/dist/{bonjour-discovery-DMslm8Hx.js → bonjour-discovery-Yzgl5gfZ.js} +2 -2
- package/dist/{browser-cli-Ci6DpTnS.js → browser-cli-B8GEKR0p.js} +19 -19
- 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-BpWhjuOg.js → call-SK4sGwpN.js} +4 -4
- package/dist/{channel-account-context-CDbY5AIr.js → channel-account-context-CBQ0TdW0.js} +1 -1
- package/dist/{channel-activity-Df_QWn3k.js → channel-activity-D3e45uuU.js} +3 -3
- package/dist/{channel-activity-DaCsrdWK.js → channel-activity-DdL3RAv_.js} +3 -3
- package/dist/{channel-options-C5Iz9bes.js → channel-options-B2LlZj0S.js} +1 -1
- package/dist/{channel-options-CUP3A4VX.js → channel-options-DcxOFxzU.js} +5 -5
- package/dist/{channel-selection-ZxRkxpuF.js → channel-selection-DLfBD-c0.js} +2 -2
- package/dist/{channel-web-CsUiKxQo.js → channel-web-Cu_AcYVB.js} +26 -26
- package/dist/{channel-web-CGXl1PnB.js → channel-web-XLD22Zzs.js} +2 -2
- package/dist/{channels-cli-DmHSajZy.js → channels-cli-BWMjEguK.js} +104 -104
- package/dist/{channels-cli-DK7TRLqX.js → channels-cli-DZWOS5d6.js} +7 -7
- package/dist/{channels-status-issues-CDpWjdI3.js → channels-status-issues-DMvYh1lV.js} +1 -1
- package/dist/{chrome-DkhJIPqM.js → chrome-CT_a9OgI.js} +17 -17
- package/dist/{chrome-VBsQfIrt.js → chrome-DeAzXWRb.js} +4 -4
- package/dist/{chunk-ClMFHJu-.js → chunk-DJjn34fF.js} +1 -1
- package/dist/{chunk-CgCAeFdA.js → chunk-Djk-9JeT.js} +1 -1
- package/dist/{clack-prompter-CvbZsmjW.js → clack-prompter-EMS8sO4h.js} +5 -5
- package/dist/{clawbot-cli-uFgYrysW.js → clawbot-cli-B8qqplom.js} +9 -9
- package/dist/cli/daemon-cli.js +1 -1
- package/dist/cli-BN8I3vTa.js +162 -0
- package/dist/{cli-6eMKeewY.js → cli-Bq5b8f58.js} +2 -2
- package/dist/{client-DtnD-ee9.js → client-Cagiy1nE.js} +2 -2
- package/dist/{clipboard-LsW7H0Y8.js → clipboard-BqjWohVl.js} +1 -1
- package/dist/{command-registry-BFTlzx6d.js → command-registry-CeIfSw9l.js} +10 -10
- package/dist/{commands-Dj5LalLo.js → commands-5UqnjBKV.js} +2 -2
- package/dist/{commands-registry-CURlRZQJ.js → commands-registry-C1lIoXkL.js} +5 -5
- package/dist/{commands-registry-CowrfO43.js → commands-registry-_TBHHpvt.js} +5 -5
- package/dist/{completion-cli-PBfCNWhv.js → completion-cli-ClOKco1N.js} +4 -4
- package/dist/{completion-cli-BbXgtvGY.js → completion-cli-Dh0MVQJ6.js} +2 -2
- package/dist/{config-cli-BVJRkNhX.js → config-cli-BaNTuQ52.js} +13 -13
- package/dist/{config-cli-Q934shK6.js → config-cli-CpgR8c8d.js} +1 -1
- package/dist/{config-guard-BdsOumqh.js → config-guard-DwTygT00.js} +23 -23
- package/dist/{config-validation-BvKX6fPw.js → config-validation-wUpXePGY.js} +2 -2
- package/dist/{configure-BGAvA5a4.js → configure-BfzLtTQH.js} +3 -3
- package/dist/{configure-85ttW_lD.js → configure-C4n13-o1.js} +21 -21
- package/dist/{control-ui-assets-C7ZpN9hN.js → control-ui-assets-CSrZ1shI.js} +1 -1
- package/dist/{cron-cli-DQsnGQKs.js → cron-cli-Den58QGF.js} +17 -17
- package/dist/{daemon-cli-DUg-s4LG.js → daemon-cli-CpCtUgS2.js} +14 -14
- package/dist/{daemon-install-CYPo4M1M.js → daemon-install-BPEEr5XM.js} +8 -8
- package/dist/{deliver--kttnrER.js → deliver-BqJFyWu7.js} +10 -10
- package/dist/{deliver-l8EA_rIo.js → deliver-Db2xqgLg.js} +20 -20
- package/dist/{deps-AEDT3iDX.js → deps-BH4bzzRD.js} +1 -1
- package/dist/{deps-Bq7jJLyN.js → deps-CjvmCq-K.js} +6 -6
- package/dist/{deps-B1l5WEJq.js → deps-CnUuBleG.js} +6 -6
- package/dist/{deps-Ch6bZ8PI.js → deps-c-x2UBbd.js} +1 -1
- package/dist/{devices-cli-DKK65S9Z.js → devices-cli-HTdRxjTf.js} +12 -12
- package/dist/{diagnostic-ByHpt6q8.js → diagnostic-BUKW2Q0G.js} +1 -1
- package/dist/{diagnostic-DUpiGDI6.js → diagnostic-BvlZ0Sot.js} +1 -1
- package/dist/{diagnostic-BECJfEvH.js → diagnostic-ztHDqZ1m.js} +3 -3
- package/dist/{diagnostics-DmZbQ8Nc.js → diagnostics-C2vxSb6v.js} +1 -1
- package/dist/{directory-cli-Dz9iXeut.js → directory-cli-BQDn6Qin.js} +16 -16
- package/dist/{dns-cli-DD6hWsdc.js → dns-cli-lwfJKGdv.js} +10 -10
- package/dist/{dock-Y96MzKuM.js → dock-DpA6CUDJ.js} +6 -6
- package/dist/{dock-4HLkEWeL.js → dock-ejUetwTC.js} +6 -6
- package/dist/{docs-cli-cHkrTB2e.js → docs-cli-Jnv5gp25.js} +9 -9
- package/dist/{doctor-completion-CN5Zujsa.js → doctor-completion-BUUL91Dy.js} +2 -2
- package/dist/{doctor-completion-Clh5CNUd.js → doctor-completion-IIzctUix.js} +1 -1
- package/dist/{doctor-config-flow-Ck4oCjfl.js → doctor-config-flow-DcxVJJvh.js} +13 -13
- package/dist/{emergency-stop-2v4bhRCE.js → emergency-stop-Bg9a1fXU.js} +2 -2
- package/dist/emergency-stop-Chw8LiXP.js +113 -0
- package/dist/{emergency-stop-D_bTOufu.js → emergency-stop-CjxNr2he.js} +2 -2
- package/dist/emergency-stop-HaFAEk9Z.js +162 -0
- package/dist/{enable-o_s6PBsC.js → enable-ztZSnOGv.js} +2 -2
- package/dist/entry.js +1 -1
- package/dist/{env-Bx-F45X5.js → env-dMo-pLSc.js} +1 -1
- package/dist/{env-BtjfGfYS.js → env-q-PhWbb_.js} +1 -1
- package/dist/{errors-DZDuPc3M.js → errors-BNr2qnai.js} +1 -1
- package/dist/{errors-XpvBRvrk.js → errors-C4SHjIZK.js} +1 -1
- package/dist/{exec-CKHMT0tZ.js → exec-B9xbr2pN.js} +2 -2
- package/dist/{exec-approvals-allowlist-Co2tJSEo.js → exec-approvals-allowlist-BzsyDGgt.js} +1 -1
- package/dist/{exec-approvals-cli-D6XUzs4j.js → exec-approvals-cli-2SjGVbIm.js} +21 -21
- package/dist/{exec-safe-bin-runtime-policy-DaoU9-ni.js → exec-safe-bin-runtime-policy-bEV0LvVh.js} +2 -2
- package/dist/extensionAPI.js +2 -2
- package/dist/{fetch-guard-yUZu1Vzc.js → fetch-guard-C-IWepjW.js} +1 -1
- package/dist/{fetch-guard-BdcyjI44.js → fetch-guard-CcfDZXe9.js} +1 -1
- package/dist/{frontmatter-CNT2SLK9.js → frontmatter-pTUG4Sx_.js} +4 -4
- package/dist/{frontmatter-D-sQ_Hqk.js → frontmatter-x0EBRtDF.js} +2 -2
- package/dist/{fs-safe-qiODuhN1.js → fs-safe-2l05hI1Y.js} +2 -2
- package/dist/{gateway-cli-Cl7cEsHE.js → gateway-cli-Bcamqq7Z.js} +9 -9
- package/dist/{gateway-cli-DJm73Wou.js → gateway-cli-C2jOWbsN.js} +123 -123
- package/dist/{gateway-rpc-BBFG1T-M.js → gateway-rpc-C_He5poS.js} +3 -3
- package/dist/{gemini-auth-DcQhBD_n.js → gemini-auth-DLSGffQK.js} +2 -2
- package/dist/{github-copilot-token-Dgt6cnsM.js → github-copilot-token-BjmEQcmi.js} +7 -7
- package/dist/{gmail-setup-utils-DRJTQOMM.js → gmail-setup-utils-D1VrLZhD.js} +3 -3
- package/dist/{health-C6_Sa_ef.js → health-3B8ANLz5.js} +15 -15
- package/dist/{health-D-b3jdnU.js → health-BTU1dGHH.js} +1 -1
- package/dist/{health-format-Ba_hOaT2.js → health-format-CWIquyOr.js} +1 -1
- package/dist/{help-format-CMAqOikG.js → help-format-D7QsjOW4.js} +1 -1
- package/dist/{hooks-cli-BB25FyuN.js → hooks-cli-BOc85-37.js} +3 -3
- package/dist/{hooks-cli-BC3n8UYQ.js → hooks-cli-CdEcbqPF.js} +93 -93
- package/dist/{hooks-status-DNGo2G8Q.js → hooks-status-BBvzI_rQ.js} +3 -3
- package/dist/{image-DSDEbSiO.js → image-BkrcRFPe.js} +7 -7
- package/dist/{image-D_PnW33c.js → image-Dlu13Ebx.js} +6 -6
- package/dist/{image-ops-BU-VdLZu.js → image-ops-CGnAhRRV.js} +1 -1
- package/dist/{image-ops-CVPIEkjZ.js → image-ops-J8P5zOFm.js} +1 -1
- package/dist/index.js +99 -99
- package/dist/{inspect-ISQZuNM5.js → inspect-BOW-hTlT.js} +1 -1
- package/dist/{installs-CNubze2L.js → installs-DGfrRYWX.js} +4 -4
- package/dist/{ir-z6aop5rJ.js → ir-BT5aAdU9.js} +5 -5
- package/dist/{ir-VncGpwA1.js → ir-DBqjL1SG.js} +4 -4
- package/dist/{lifecycle-core-B6UoqYTJ.js → lifecycle-core-DOL5vqsF.js} +5 -5
- package/dist/{links-15764jZB.js → links-DIG3qrf5.js} +1 -1
- package/dist/llm-slug-generator.js +60 -60
- package/dist/{local-roots-q0xbefkf.js → local-roots-B-lmQdZs.js} +4 -4
- package/dist/{local-roots-czSWcF7i.js → local-roots-d4y0lvs2.js} +5 -5
- package/dist/{logging-B0-9lotb.js → logging-BK2fjjMe.js} +1 -1
- package/dist/{login-CfUhrgWT.js → login-BVf_DBja.js} +6 -6
- package/dist/{login-CUJ4A8gi.js → login-C2X0In6m.js} +6 -6
- package/dist/{login-qr-BTJ95win.js → login-qr-C17PY0rr.js} +11 -11
- package/dist/{login-qr-DBMsUxgL.js → login-qr-V1EwcFLt.js} +10 -10
- package/dist/{logs-cli-4VQ9Iwiw.js → logs-cli-BgrYblUE.js} +13 -13
- package/dist/{manager-BZ0tYOnu.js → manager-CgzA1hKo.js} +15 -15
- package/dist/{manager-BMAFgXyU.js → manager-DayGME0K.js} +10 -10
- package/dist/{manifest-registry-Bak1x76G.js → manifest-registry-cOeAg4W6.js} +2 -2
- package/dist/{markdown-tables-DZClqsNo.js → markdown-tables-BQ8czvs_.js} +1 -1
- package/dist/{markdown-tables-Cjn8O_5e.js → markdown-tables-R8VTpfE9.js} +1 -1
- package/dist/{memory-cli-CUGwnVIY.js → memory-cli-D_bFq_Q1.js} +12 -12
- package/dist/{message-channel-DVauVtrg.js → message-channel-CRSTffWx.js} +1 -1
- package/dist/{message-channel-9h0j5RdN.js → message-channel-ZdI1-uUh.js} +1 -1
- package/dist/{model-C-icShH2.js → model-Di6JkHyx.js} +2 -2
- package/dist/{model-catalog-D9no0CH2.js → model-catalog-D_KsCB5j.js} +4 -4
- package/dist/{model-picker-BkXoTOiA.js → model-picker-CM_QFlL4.js} +4 -4
- package/dist/{model-selection-C88a_9g6.js → model-selection-C5hI1dum.js} +46 -46
- package/dist/{model-selection-0dGxYGp8.js → model-selection-Df4-bBn3.js} +12 -12
- package/dist/{models-C1_Tdc1Q.js → models-CIS_OcjC.js} +2 -2
- package/dist/{models-cli-Bs5ZNSbk.js → models-cli-6njz6jJl.js} +4 -4
- package/dist/{models-cli-B9yw60gV.js → models-cli-BS7pagh1.js} +98 -98
- package/dist/{models-config-C5A1wDWh.js → models-config-zq6L0fug.js} +2 -2
- package/dist/{node-cli-BYzjxmUY.js → node-cli-PVcj1bnA.js} +33 -33
- package/dist/{node-service-C3vyxHLA.js → node-service-IG3YtMJq.js} +1 -1
- package/dist/{nodes-cli-kNOtp0U0.js → nodes-cli-DKj4NkKf.js} +21 -21
- package/dist/{nodes-screen-CcpPaFxa.js → nodes-screen-CK0vmyQx.js} +1 -1
- package/dist/{note-69EfBEU-.js → note--5AAjfvH.js} +2 -2
- package/dist/{npm-registry-spec-BCbbfIhX.js → npm-registry-spec-B81IsQOs.js} +2 -2
- package/dist/{npm-resolution-BMDipaRX.js → npm-resolution-CkpVYF4z.js} +4 -4
- package/dist/{npm-resolution-yXJbqHHn.js → npm-resolution-DWXTcpqo.js} +1 -1
- package/dist/{onboard-DjbHK18p.js → onboard-BYOBc47n.js} +9 -9
- package/dist/{onboard-CYRoDnOI.js → onboard-b_mYsSas.js} +2 -2
- package/dist/{onboard-channels-CkxvodmR.js → onboard-channels-CzB1oDsu.js} +1 -1
- package/dist/{onboard-channels-CNQt2jFU.js → onboard-channels-sslbndju.js} +17 -17
- package/dist/{onboard-custom-DUbzMMu7.js → onboard-custom-C_4nk_e8.js} +4 -4
- package/dist/{onboard-helpers-mzy38DiC.js → onboard-helpers-CXjQtadC.js} +7 -7
- package/dist/{onboard-hooks-D9teGxfH.js → onboard-hooks-CuOJrgfu.js} +7 -7
- package/dist/{onboard-remote-LCBHijVE.js → onboard-remote-B-bN7EmV.js} +3 -3
- package/dist/{onboard-skills-jFY9gaOu.js → onboard-skills-BVmcgCzz.js} +4 -4
- package/dist/{onboarding-BEDOWI9h.js → onboarding-BfDz8n6H.js} +3 -3
- package/dist/{onboarding-D9AZJlDK.js → onboarding-qxSl79A_.js} +16 -16
- package/dist/{onboarding.finalize-DJxMkD2g.js → onboarding.finalize-DGZkcjrv.js} +99 -99
- package/dist/{onboarding.finalize-D4hW1yTd.js → onboarding.finalize-DeEXxkOU.js} +7 -7
- package/dist/{onboarding.gateway-config-Btu2gzgr.js → onboarding.gateway-config-BinQe57V.js} +21 -21
- package/dist/{openai-model-default-7J6cw1rA.js → openai-model-default-CK1wUY3u.js} +2 -2
- package/dist/{outbound-pWVnnOB8.js → outbound-CdY_AskB.js} +6 -6
- package/dist/{outbound-DPTxwchq.js → outbound-DClHNQfl.js} +6 -6
- package/dist/{outbound-attachment-BuJwyBh-.js → outbound-attachment-Cz80loTd.js} +2 -2
- package/dist/{outbound-attachment-Bot3bRnK.js → outbound-attachment-IfeZJAKk.js} +2 -2
- package/dist/{pairing-cli-jwx6hMsM.js → pairing-cli-By_hykOY.js} +15 -15
- package/dist/{pairing-labels-ChQJzbS9.js → pairing-labels-Dm-DUGGI.js} +1 -1
- package/dist/{pairing-store-CPpEEQJO.js → pairing-store-CPUUuW7M.js} +3 -3
- package/dist/{path-alias-guards-CwzKuGwh.js → path-alias-guards-BZmt6hFb.js} +1 -1
- package/dist/{path-env-CKSLQUS1.js → path-env-CWIJihhd.js} +1 -1
- package/dist/{paths-B-CLQ5RT.js → paths-CBF9EBzh.js} +1 -1
- package/dist/{paths-D_qUel1T.js → paths-D3p7ZvM6.js} +3 -3
- package/dist/{paths-BYNVLNi_.js → paths-DQpv9a3Q.js} +5 -5
- package/dist/{pi-embedded-o6Xj8V4C.js → pi-embedded-E9CG0AZO.js} +11 -11
- package/dist/{pi-embedded-helpers-BdHpVi4N.js → pi-embedded-helpers-B3ceCcxm.js} +24 -24
- package/dist/{pi-embedded-helpers-BCsfqpDt.js → pi-embedded-helpers-D675DgwP.js} +4 -4
- package/dist/{pi-embedded-C-ELC4B8.js → pi-embedded-xW12sr9Q.js} +181 -181
- package/dist/{pi-model-discovery-BIP3RjXl.js → pi-model-discovery-BEKzIGSg.js} +1 -1
- package/dist/{pi-model-discovery-DXdGUBPM.js → pi-model-discovery-Dlx4RLWo.js} +7 -7
- package/dist/{pi-tools.policy-DfITIKZj.js → pi-tools.policy-GzRj_NVc.js} +6 -6
- package/dist/{plugin-auto-enable-7DUxMy6A.js → plugin-auto-enable-CU8IfpBV.js} +5 -5
- package/dist/{plugin-registry-DIK-5KI9.js → plugin-registry-CJfl54B-.js} +4 -4
- package/dist/{plugin-registry-6C1sgAm1.js → plugin-registry-CY1u8bd9.js} +1 -1
- package/dist/plugin-sdk/{agent-via-gateway-DmQMFWNE.js → agent-via-gateway-NXyTgftN.js} +2 -2
- package/dist/plugin-sdk/{anton-CrjFisFZ.js → anton-8LTiJnvw.js} +91 -57
- package/dist/plugin-sdk/{channel-web-vQgHbtCG.js → channel-web-DEl6BZu6.js} +2 -2
- package/dist/plugin-sdk/{deps-DfyALwFG.js → deps-CdRm6UCM.js} +1 -1
- package/dist/plugin-sdk/{emergency-stop-0ZrbH3D4.js → emergency-stop-vr_MLBH0.js} +2 -2
- package/dist/plugin-sdk/index.js +3 -3
- package/dist/plugin-sdk/{reply-BfdVf3fw.js → reply-Cii_-apO.js} +11 -11
- package/dist/plugin-sdk/{web-DwDLI7GP.js → web-BrcYG4Cd.js} +3 -3
- package/dist/{plugins-D46VZh7u.js → plugins-Bj6rzE-9.js} +5 -5
- package/dist/{plugins-HLi321vw.js → plugins-DYr-HHj0.js} +10 -10
- package/dist/{plugins-cli-DFUxLQbB.js → plugins-cli-BsCu9ZxX.js} +3 -3
- package/dist/{plugins-cli-B1kN2Xze.js → plugins-cli-rEURRyag.js} +95 -95
- package/dist/{ports-SQy1d-RL.js → ports-BJ6Xu_G6.js} +3 -3
- package/dist/{ports-B2o0FSFD.js → ports-D3FuSfMU.js} +2 -2
- package/dist/{program-mmjp27H4.js → program-CtFnQFId.js} +8 -8
- package/dist/{program-context-CjyGlgVG.js → program-context-BsCSqznM.js} +43 -43
- package/dist/{progress-BQLz1r3L.js → progress-BN8aygvh.js} +1 -1
- package/dist/{prompt-select-styled-FskTiqWw.js → prompt-select-styled-BB8mtFS9.js} +35 -35
- package/dist/{prompt-select-styled-04TKk_r3.js → prompt-select-styled-BKPmN1HP.js} +4 -4
- package/dist/{prompt-style-kmKiCZnm.js → prompt-style-BRwf6dfp.js} +1 -1
- package/dist/{provider-auth-helpers-9IcvdTst.js → provider-auth-helpers-486CLY6U.js} +1 -1
- package/dist/{provider-auth-helpers-BI7MVWjD.js → provider-auth-helpers-ar7t02s1.js} +7 -7
- package/dist/{push-apns-DvSYSWvk.js → push-apns-AHniql5u.js} +5 -5
- package/dist/{push-apns-Bh0u21Bh.js → push-apns-CJJ-O5fL.js} +1 -1
- package/dist/{pw-ai-ClfeTowr.js → pw-ai-DIV4PcIo.js} +13 -13
- package/dist/{pw-ai-7i9eGnLh.js → pw-ai-DRVoaq_u.js} +13 -13
- package/dist/{qmd-manager-DxMPr_TW.js → qmd-manager-BRvg3Rx2.js} +8 -8
- package/dist/{qmd-manager-B-qeywfQ.js → qmd-manager-SkIM31ge.js} +6 -6
- package/dist/{qr-cli-CSt5ihwG.js → qr-cli-BsFvbHQy.js} +4 -4
- package/dist/{query-expansion-Clts_AGz.js → query-expansion-BIsWftgR.js} +2 -2
- package/dist/{query-expansion-BIZ50Uk8.js → query-expansion-DHuNyU-_.js} +5 -5
- package/dist/{redact-Dk_8Rk3-.js → redact-1Y0KPNtr.js} +1 -1
- package/dist/{redact-B_4KNlXs.js → redact-CIBM9Zli.js} +1 -1
- package/dist/{redact-snapshot-BbEVKv0k.js → redact-snapshot-DQ_VN7gO.js} +2 -2
- package/dist/{register.agent-B3zUfhl9.js → register.agent-DswuLYd8.js} +9 -9
- package/dist/{register.agent-BSe92Zxh.js → register.agent-TMXz7bwT.js} +110 -110
- package/dist/{register.configure-N4JG5hVe.js → register.configure-BFWnHArB.js} +8 -8
- package/dist/register.configure-DlxSU46q.js +168 -0
- package/dist/{register.maintenance-DxauQqK_.js → register.maintenance-C2B-RPnI.js} +108 -108
- package/dist/{register.maintenance-BjhkxF3o.js → register.maintenance-Dj8A9Hj7.js} +9 -9
- package/dist/{register.message-BsMpRFVr.js → register.message-CR569hCK.js} +90 -90
- package/dist/{register.message-DoZ5i1Pn.js → register.message-DWm_Lizi.js} +3 -3
- package/dist/{register.onboard-Cw3wNQRm.js → register.onboard-BjMv8Rc2.js} +2 -2
- package/dist/{register.onboard-Hxi3l9IA.js → register.onboard-CBlF61-5.js} +29 -29
- package/dist/{register.orchestrator-anton-BqQfw2JX.js → register.orchestrator-anton-CehFZHyG.js} +7 -7
- package/dist/{register.orchestrator-anton-DOByOKzU.js → register.orchestrator-anton-Cvw__ptb.js} +2 -2
- package/dist/{register.setup-r5Xy4nv4.js → register.setup-B8TX05TM.js} +2 -2
- package/dist/{register.setup-dazD7bl3.js → register.setup-BrXOX1jn.js} +31 -31
- package/dist/{register.status-health-sessions-DobZ2G2u.js → register.status-health-sessions-C-3gl9qR.js} +4 -4
- package/dist/{register.status-health-sessions-3zjBM0m6.js → register.status-health-sessions-DexyefSU.js} +101 -101
- package/dist/{register.subclis-CGJxYP3h.js → register.subclis-CFcZU6Sc.js} +9 -9
- package/dist/{replies-cfk2XJ69.js → replies-2C16fnBP.js} +3 -3
- package/dist/{replies-hSFVxL4h.js → replies-CWMglpIw.js} +3 -3
- package/dist/{reply-BDr-UY9O.js → reply-dLJYULbb.js} +114 -114
- package/dist/{reply-prefix-PDoW4EZy.js → reply-prefix-CXLm7TNq.js} +1 -1
- package/dist/{reply-prefix-C3y4zpTl.js → reply-prefix-DCljZiIB.js} +1 -1
- package/dist/{resolve-route-D_AbcmD6.js → resolve-route-BrHTn_2g.js} +4 -4
- package/dist/{resolve-route-Co_8ykQj.js → resolve-route-ClcifpKn.js} +4 -4
- package/dist/{retry-DbI92XJ6.js → retry-B7zUL1Mv.js} +1 -1
- package/dist/{retry-Db05aSB8.js → retry-CG6cMRDQ.js} +1 -1
- package/dist/{rpc-Cf9OK5Yk.js → rpc-Dp_JZNAZ.js} +3 -3
- package/dist/{run-main-BDEztzfx.js → run-main-xc_0T201.js} +15 -15
- package/dist/{runner-CDjI14QL.js → runner-BkCU-kqs.js} +11 -11
- package/dist/{runner-DzszLzI4.js → runner-p3KLBBEt.js} +11 -11
- package/dist/{runtime-XmXLaHNk.js → runtime-DELkrqga.js} +3 -3
- package/dist/{sandbox-DcUw5h3p.js → sandbox-cEpEHVD-.js} +8 -8
- package/dist/{sandbox-cli-DGvJ7Eeq.js → sandbox-cli-B7kOJiLh.js} +32 -32
- package/dist/{secrets-cli-CR3h2TBy.js → secrets-cli-COGPFjdu.js} +14 -14
- package/dist/{security-cli-B9_LV2po.js → security-cli-Db4ZYVER.js} +42 -42
- package/dist/{send-CcOlxFgw.js → send-BOxJ4QXF.js} +7 -7
- package/dist/{send-DwdHiC7_.js → send-BhbOA8rP.js} +10 -10
- package/dist/{send-DQiw_nGD.js → send-D-UmmCCj.js} +7 -7
- package/dist/{send--lzpNy4f.js → send-DA-ryUJS.js} +14 -14
- package/dist/{send-C-sC5FEL.js → send-DZa8fWSm.js} +7 -7
- package/dist/{send-C4v0Leny.js → send-D_ARyjSf.js} +6 -6
- package/dist/{send-DuwdEkLw.js → send-DnscWRVE.js} +7 -7
- package/dist/{send-BygI0N_k.js → send-FLdrx-oF.js} +26 -26
- package/dist/{send-qZc5cwnf.js → send-IlPMLAH-.js} +10 -10
- package/dist/{send-gAZecXKW.js → send-Y1hD4tQ1.js} +6 -6
- package/dist/{server-D6MltJIF.js → server-DLOBjQtf.js} +21 -21
- package/dist/{server-context-DI0W_H7R.js → server-context-CvZnSu9L.js} +11 -11
- package/dist/{server-lifecycle-B5PlrlbG.js → server-lifecycle-CfZbDiFe.js} +2 -2
- package/dist/{server-node-events-C69TPlKW.js → server-node-events-CgSZVd8M.js} +89 -89
- package/dist/{server-node-events-BL1dTBEr.js → server-node-events-Dj5jYSln.js} +3 -3
- package/dist/{service-C8NMS3m_.js → service-fKr0VnMd.js} +1 -1
- package/dist/{session-CdnrRhb4.js → session-BKdoiopW.js} +2 -2
- package/dist/{session-CsQYfL3c.js → session-nUPBXeEa.js} +7 -7
- package/dist/{sessions-BxJlMZ9d.js → sessions-DRA4oaxz.js} +41 -41
- package/dist/{sessions-BtPXimXQ.js → sessions-uS8Ko6pU.js} +6 -6
- package/dist/{shared-CpDPo3hJ.js → shared-Cvf3nhuq.js} +2 -2
- package/dist/{shared-DpLSpJIl.js → shared-pSfUCPxh.js} +1 -1
- package/dist/{skill-commands-DdspcyAT.js → skill-commands-BHTBXXVn.js} +9 -9
- package/dist/{skill-commands-BFzmZAfo.js → skill-commands-BY4BNcfR.js} +6 -6
- package/dist/{skill-scanner-D7mzXRXd.js → skill-scanner-BFXxq_hZ.js} +1 -1
- package/dist/{skills-DlvDyK8L.js → skills-DuPZzvnK.js} +4 -4
- package/dist/{skills-cli-BhKGhjbO.js → skills-cli-wSg-syqz.js} +10 -10
- package/dist/{skills-install-tr6wRWZj.js → skills-install-CQihNd2n.js} +6 -6
- package/dist/{skills-status-qjQ8XP0h.js → skills-status-D7aU-6Ob.js} +4 -4
- package/dist/{skills-Cto1PwoM.js → skills-umlGvChF.js} +22 -22
- package/dist/{status-B8z0RCPf.js → status-Bp-x4GJi.js} +24 -24
- package/dist/{status-AEwcpHsu.js → status-CV7OIIGl.js} +2 -2
- package/dist/{status.update-CTi6vuWj.js → status.update-Cri65g-V.js} +1 -1
- package/dist/{store-kH9wHHbO.js → store-CR1Ag5tw.js} +2 -2
- package/dist/{store-wmxD_RdX.js → store-D-ZicQeo.js} +2 -2
- package/dist/{subagent-registry-Dclk-Ews.js → subagent-registry-CJX_DOgh.js} +11 -11
- package/dist/{subsystem-CGZX2PBV.js → subsystem-BTkYq-SM.js} +1 -1
- package/dist/{subsystem-B7s1gpl_.js → subsystem-D7ZepYT1.js} +1 -1
- package/dist/{system-cli-DyVZ5udc.js → system-cli-DSF87U3I.js} +13 -13
- package/dist/{system-run-approval-context-CISBXlNw.js → system-run-approval-context-DtT5msEN.js} +1 -1
- package/dist/{system-run-command-qJdgzxLp.js → system-run-command-CrHlKsQv.js} +1 -1
- package/dist/{systemd-CaCR5CyM.js → systemd-C9CCJ2y5.js} +2 -2
- package/dist/{systemd-hints-DHu-HVFx.js → systemd-hints-D4_AmIA0.js} +2 -2
- package/dist/{systemd-linger-B7XlUHk_.js → systemd-linger-BRBtRm6O.js} +2 -2
- package/dist/{table-B9AmL3M1.js → table-PG064F0C.js} +2 -2
- package/dist/{tables-g9xkflht.js → tables-Ca5i1iM6.js} +1 -1
- package/dist/{tables-DjMlciHF.js → tables-Co_R_WKs.js} +1 -1
- package/dist/{tailscale-B5Irc_Bi.js → tailscale-Dr3FvwTm.js} +2 -2
- package/dist/{target-errors-CtMvHKax.js → target-errors-B1mcM4WR.js} +2 -2
- package/dist/{target-errors-bLIVFsbF.js → target-errors-BhRMVh6a.js} +2 -2
- package/dist/{tokens-Dg-QZ_pN.js → tokens-DGajj8M9.js} +1 -1
- package/dist/{tokens-B2bEUMr5.js → tokens-DY5TC4xI.js} +1 -1
- package/dist/{tool-display-Dac7lHGW.js → tool-display-1HTlk4mF.js} +2 -2
- package/dist/{tool-images-upeV0xA7.js → tool-images-ByP8vQ_u.js} +2 -2
- package/dist/{tool-images-CHqepyF_.js → tool-images-Duuqr4bN.js} +2 -2
- package/dist/{tool-loop-detection-C5VjmhPJ.js → tool-loop-detection-BxLycal4.js} +2 -2
- package/dist/{tool-loop-detection-BpnogMb3.js → tool-loop-detection-CjWRg_4q.js} +3 -3
- package/dist/{trash-CUFiyQN5.js → trash-CHnKIQrP.js} +1 -1
- package/dist/{tui-Bne3YNiw.js → tui-BmvrLAnW.js} +9 -9
- package/dist/{tui-cli-D0Z-rcUe.js → tui-cli-Dm28GC4T.js} +39 -39
- package/dist/{update-D79ppbMQ.js → update-D96LyJ5s.js} +3 -3
- package/dist/{update-cli-8Tk6PCmD.js → update-cli-Crq7aGUA.js} +115 -115
- package/dist/{update-cli-Bobm67f-.js → update-cli-z5fJRDU4.js} +9 -9
- package/dist/{update-runner-B4xzPa4-.js → update-runner-BLquhnrL.js} +5 -5
- package/dist/{update-runner-C4NjVy9-.js → update-runner-BkSrWsKc.js} +1 -1
- package/dist/{utils-CXzXXV2o.js → utils-BfmeFj7S.js} +2 -2
- package/dist/{utils-BB3tnxio.js → utils-D9wGoiU9.js} +20 -20
- package/dist/{web-9J12F46d.js → web-B267OUXc.js} +3 -3
- package/dist/{web-DPSpgc_K.js → web-BKSxBqZw.js} +3 -3
- package/dist/web-BKs38Jg4.js +123 -0
- package/dist/{web-7nT90W2f.js → web-CNowaS6B.js} +66 -66
- package/dist/{webhooks-cli-2N03q0iY.js → webhooks-cli-DLVMYO3R.js} +11 -11
- package/dist/{whatsapp-actions-Da9VWDOd.js → whatsapp-actions-BJ6kVDXi.js} +25 -25
- package/dist/{whatsapp-actions-Cms8wQM1.js → whatsapp-actions-De803Fwb.js} +22 -22
- package/dist/{widearea-dns-FDdFH5E8.js → widearea-dns-DJVz6r4U.js} +1 -1
- package/dist/{with-timeout-DEdycYxq.js → with-timeout-Bz8F3xNq.js} +5 -5
- package/dist/{workspace-D3pARwoB.js → workspace-BHN1rb4L.js} +3 -3
- package/dist/{workspace-dirs-SsExQ3Bz.js → workspace-dirs-C34pt6Pa.js} +1 -1
- package/dist/{workspace-nJ4KDY5w.js → workspace-tAtkoD_r.js} +18 -18
- package/package.json +1 -1
- package/dist/cli-DEE_ketW.js +0 -162
- package/dist/emergency-stop-Br57IwSQ.js +0 -113
- package/dist/emergency-stop-BtasjDnU.js +0 -162
- package/dist/register.configure-DZ9OCp0V.js +0 -168
- package/dist/web-Dqy4kqC9.js +0 -123
|
@@ -94,71 +94,84 @@ function buildDirectTaskPrompt(task) {
|
|
|
94
94
|
].join("\n");
|
|
95
95
|
}
|
|
96
96
|
function buildDiscoveryPrompt(task, taskFile, planFilePath) {
|
|
97
|
-
return `You are running
|
|
97
|
+
return `You are a coding assistant running discovery for a task orchestrator.
|
|
98
98
|
|
|
99
|
-
##
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
- Read the codebase to understand what needs to change.
|
|
99
|
+
## YOUR JOB
|
|
100
|
+
Analyze the codebase and write a detailed implementation plan to a file.
|
|
101
|
+
You will NOT implement anything yourself — a separate agent will do that using your plan.
|
|
103
102
|
|
|
104
103
|
## TASK
|
|
105
104
|
From task file: ${taskFile}
|
|
106
105
|
Task: ${task}
|
|
107
106
|
|
|
108
|
-
##
|
|
107
|
+
## WHAT YOU MUST DO
|
|
109
108
|
|
|
110
|
-
|
|
111
|
-
|
|
109
|
+
1. Use the read tool to examine relevant source files, configs, tests, and docs.
|
|
110
|
+
2. Understand what currently exists and what needs to change.
|
|
111
|
+
3. Use the write tool to create the plan file at: ${planFilePath}
|
|
112
112
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
- Files to modify/create
|
|
121
|
-
- How to verify (test commands)
|
|
122
|
-
4. Verify the file exists and is non-empty
|
|
123
|
-
5. Return ONLY: {"status":"incomplete","filename":"${planFilePath}"}
|
|
113
|
+
The plan file MUST contain:
|
|
114
|
+
- The task description
|
|
115
|
+
- What currently exists (files you read, current behavior)
|
|
116
|
+
- What specifically needs to change and why
|
|
117
|
+
- Step-by-step implementation instructions (specific enough that another agent can follow them)
|
|
118
|
+
- Which files to modify or create, with the exact changes needed
|
|
119
|
+
- How to verify the changes work (test commands, expected output)
|
|
124
120
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
}
|
|
128
|
-
function buildReviewPrompt(planFilePath) {
|
|
129
|
-
return `Review this implementation plan and improve it:
|
|
130
|
-
${planFilePath}
|
|
121
|
+
4. After writing the plan file, return ONLY this JSON:
|
|
122
|
+
{"status":"incomplete","filename":"${planFilePath}"}
|
|
131
123
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
- Opportunities to reuse existing code
|
|
135
|
-
- Unclear or ambiguous steps
|
|
136
|
-
- Missing test scenarios
|
|
124
|
+
If you are CERTAIN the task is already complete (you verified with tools), return:
|
|
125
|
+
{"status":"complete","filename":""}
|
|
137
126
|
|
|
138
|
-
|
|
127
|
+
## IMPORTANT
|
|
128
|
+
- You MUST use tools (read, exec, write). Do not skip straight to returning JSON.
|
|
129
|
+
- Do not modify any source files other than the plan file above.
|
|
130
|
+
- The quality of your plan directly determines whether the task succeeds.`;
|
|
131
|
+
}
|
|
132
|
+
function buildReviewPrompt(planFilePath) {
|
|
133
|
+
return `You are reviewing an implementation plan written by another agent.
|
|
139
134
|
|
|
140
|
-
|
|
141
|
-
|
|
135
|
+
1. Use the read tool to open: ${planFilePath}
|
|
136
|
+
2. Read the plan carefully. Check for:
|
|
137
|
+
- Missing edge cases or unclear steps
|
|
138
|
+
- Opportunities to reuse existing code
|
|
139
|
+
- Missing test scenarios or verification steps
|
|
140
|
+
- Whether the file paths and change descriptions are specific enough for another agent to follow
|
|
141
|
+
3. Use the write tool to update the SAME file in-place with your improvements.
|
|
142
|
+
4. After updating, return: {"status":"ready","filename":"${planFilePath}"}
|
|
142
143
|
|
|
143
|
-
Do not
|
|
144
|
-
Return JSON only. No markdown fences. No commentary.`;
|
|
144
|
+
Do not skip reading the file. Do not return JSON without first reading and updating the plan.`;
|
|
145
145
|
}
|
|
146
146
|
function buildImplementationPrompt(task, planFilePath) {
|
|
147
147
|
return [
|
|
148
|
-
|
|
149
|
-
"A planning agent has already analyzed the codebase and written a detailed spec.",
|
|
148
|
+
`Complete this task: ${task}`,
|
|
150
149
|
"",
|
|
151
|
-
`
|
|
150
|
+
`An implementation plan is available at: ${planFilePath}`,
|
|
151
|
+
"Read it first, then follow its instructions.",
|
|
152
152
|
"",
|
|
153
|
-
|
|
153
|
+
"You MUST use the edit or write tool to modify the actual source files.",
|
|
154
|
+
"Describing changes in text or showing diffs without applying them does NOT count.",
|
|
155
|
+
"Do not ask for confirmation — apply the changes now.",
|
|
154
156
|
"",
|
|
155
|
-
"
|
|
156
|
-
"
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
157
|
+
"After making the edits, run any verification steps from the plan.",
|
|
158
|
+
"Then return a brief summary of what you changed."
|
|
159
|
+
].join("\n");
|
|
160
|
+
}
|
|
161
|
+
function buildImplementationRetryPrompt(task, planFilePath) {
|
|
162
|
+
return [
|
|
163
|
+
"Your previous implementation attempt made zero repository changes.",
|
|
164
|
+
`Task: ${task}`,
|
|
165
|
+
`Plan file: ${planFilePath}`,
|
|
166
|
+
"",
|
|
167
|
+
"You must now perform actual file edits in this turn.",
|
|
168
|
+
"Required sequence:",
|
|
169
|
+
"1) Read the plan file.",
|
|
170
|
+
"2) Use edit/write to modify repository files.",
|
|
171
|
+
"3) Optionally run verification.",
|
|
172
|
+
"4) Return a short summary.",
|
|
160
173
|
"",
|
|
161
|
-
"
|
|
174
|
+
"If you only provide analysis/diff text without edit/write tool calls, this attempt fails."
|
|
162
175
|
].join("\n");
|
|
163
176
|
}
|
|
164
177
|
function formatDuration(ms) {
|
|
@@ -225,7 +238,7 @@ async function loadAntonConfig() {
|
|
|
225
238
|
}
|
|
226
239
|
}
|
|
227
240
|
async function runAgentTask(args) {
|
|
228
|
-
const { agentCliCommand } = await import("./agent-via-gateway-
|
|
241
|
+
const { agentCliCommand } = await import("./agent-via-gateway-BN0HMYd7.js").then((n) => n.n);
|
|
229
242
|
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;
|
|
230
243
|
const result = await agentCliCommand({
|
|
231
244
|
message: args.message,
|
|
@@ -326,18 +339,18 @@ function normalizeDiscoveryFilename(filename, expectedPlanFile) {
|
|
|
326
339
|
return path.resolve(trimmed);
|
|
327
340
|
}
|
|
328
341
|
function buildDiscoveryRepairPrompt(task, taskFile, planFilePath) {
|
|
329
|
-
return `
|
|
342
|
+
return `Your previous attempt did not produce a valid plan file. Try again.
|
|
330
343
|
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
2) Verify the file exists and is non-empty
|
|
334
|
-
3) Return ONLY strict JSON: {"status":"incomplete","filename":"${planFilePath}"}
|
|
344
|
+
Task file: ${taskFile}
|
|
345
|
+
Task: ${task}
|
|
335
346
|
|
|
336
|
-
|
|
347
|
+
You MUST:
|
|
348
|
+
1. Use the read tool to examine the relevant source files in this repository.
|
|
349
|
+
2. Use the write tool to create a detailed implementation plan at: ${planFilePath}
|
|
350
|
+
The plan must include: what exists now, what needs to change, specific file edits, and verification steps.
|
|
351
|
+
3. After writing the file, return: {"status":"incomplete","filename":"${planFilePath}"}
|
|
337
352
|
|
|
338
|
-
Do not
|
|
339
|
-
Task file: ${taskFile}
|
|
340
|
-
Task: ${task}`;
|
|
353
|
+
Do not skip tool usage. Do not return JSON without first writing the plan file.`;
|
|
341
354
|
}
|
|
342
355
|
async function tryPersistPlanFallback(params) {
|
|
343
356
|
const planText = (((typeof params.parsed?.planMarkdown === "string" ? params.parsed.planMarkdown : void 0) ?? (typeof params.parsed?.plan === "string" ? params.parsed.plan : void 0))?.trim() || extractPlanMarkdownFromText(params.rawText) || "").trim();
|
|
@@ -738,8 +751,29 @@ async function runAnton(args) {
|
|
|
738
751
|
deps: args.deps,
|
|
739
752
|
workspaceDir: args.workspaceDir
|
|
740
753
|
});
|
|
741
|
-
|
|
742
|
-
if (mode === "preflight" && changedBeforeTask !== null && changedAfter !== null && changedAfter <= changedBeforeTask)
|
|
754
|
+
let changedAfter = await getGitChangedFileCount(gitCwd, changeIgnores);
|
|
755
|
+
if (mode === "preflight" && changedBeforeTask !== null && changedAfter !== null && changedAfter <= changedBeforeTask) {
|
|
756
|
+
const retrySessionId = `anton-impl-retry-${Date.now()}-${taskNum}`;
|
|
757
|
+
await notify({
|
|
758
|
+
phase: "task_agent_spawned",
|
|
759
|
+
index: taskNum,
|
|
760
|
+
total: pending.length,
|
|
761
|
+
task: `${task.text} (implementation retry)`,
|
|
762
|
+
sessionId: retrySessionId
|
|
763
|
+
});
|
|
764
|
+
await runAgentTask({
|
|
765
|
+
message: buildImplementationRetryPrompt(task.text, planFile ?? ""),
|
|
766
|
+
sessionId: retrySessionId,
|
|
767
|
+
timeout: defaultTimeout,
|
|
768
|
+
agent: args.agent,
|
|
769
|
+
to: args.to,
|
|
770
|
+
runtime: args.runtime,
|
|
771
|
+
deps: args.deps,
|
|
772
|
+
workspaceDir: args.workspaceDir
|
|
773
|
+
});
|
|
774
|
+
changedAfter = await getGitChangedFileCount(gitCwd, changeIgnores);
|
|
775
|
+
if (changedAfter !== null && changedAfter <= changedBeforeTask) throw new Error("Implementation made no repository changes after retry; refusing to mark task complete");
|
|
776
|
+
}
|
|
743
777
|
const updated = markTaskDone(await fs.readFile(filePath, "utf8"), task.line);
|
|
744
778
|
await fs.writeFile(filePath, updated, "utf8");
|
|
745
779
|
completed += 1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import { t as CONFIG_DIR } from "./utils-
|
|
1
|
+
import "./paths-DQpv9a3Q.js";
|
|
2
|
+
import { t as CONFIG_DIR } from "./utils-D9wGoiU9.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import { promisify } from "node:util";
|
|
@@ -88,71 +88,84 @@ function buildDirectTaskPrompt(task) {
|
|
|
88
88
|
].join("\n");
|
|
89
89
|
}
|
|
90
90
|
function buildDiscoveryPrompt(task, taskFile, planFilePath) {
|
|
91
|
-
return `You are running
|
|
91
|
+
return `You are a coding assistant running discovery for a task orchestrator.
|
|
92
92
|
|
|
93
|
-
##
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
- Read the codebase to understand what needs to change.
|
|
93
|
+
## YOUR JOB
|
|
94
|
+
Analyze the codebase and write a detailed implementation plan to a file.
|
|
95
|
+
You will NOT implement anything yourself — a separate agent will do that using your plan.
|
|
97
96
|
|
|
98
97
|
## TASK
|
|
99
98
|
From task file: ${taskFile}
|
|
100
99
|
Task: ${task}
|
|
101
100
|
|
|
102
|
-
##
|
|
101
|
+
## WHAT YOU MUST DO
|
|
103
102
|
|
|
104
|
-
|
|
105
|
-
|
|
103
|
+
1. Use the read tool to examine relevant source files, configs, tests, and docs.
|
|
104
|
+
2. Understand what currently exists and what needs to change.
|
|
105
|
+
3. Use the write tool to create the plan file at: ${planFilePath}
|
|
106
106
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
- Files to modify/create
|
|
115
|
-
- How to verify (test commands)
|
|
116
|
-
4. Verify the file exists and is non-empty
|
|
117
|
-
5. Return ONLY: {"status":"incomplete","filename":"${planFilePath}"}
|
|
107
|
+
The plan file MUST contain:
|
|
108
|
+
- The task description
|
|
109
|
+
- What currently exists (files you read, current behavior)
|
|
110
|
+
- What specifically needs to change and why
|
|
111
|
+
- Step-by-step implementation instructions (specific enough that another agent can follow them)
|
|
112
|
+
- Which files to modify or create, with the exact changes needed
|
|
113
|
+
- How to verify the changes work (test commands, expected output)
|
|
118
114
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
}
|
|
122
|
-
function buildReviewPrompt(planFilePath) {
|
|
123
|
-
return `Review this implementation plan and improve it:
|
|
124
|
-
${planFilePath}
|
|
115
|
+
4. After writing the plan file, return ONLY this JSON:
|
|
116
|
+
{"status":"incomplete","filename":"${planFilePath}"}
|
|
125
117
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
- Opportunities to reuse existing code
|
|
129
|
-
- Unclear or ambiguous steps
|
|
130
|
-
- Missing test scenarios
|
|
118
|
+
If you are CERTAIN the task is already complete (you verified with tools), return:
|
|
119
|
+
{"status":"complete","filename":""}
|
|
131
120
|
|
|
132
|
-
|
|
121
|
+
## IMPORTANT
|
|
122
|
+
- You MUST use tools (read, exec, write). Do not skip straight to returning JSON.
|
|
123
|
+
- Do not modify any source files other than the plan file above.
|
|
124
|
+
- The quality of your plan directly determines whether the task succeeds.`;
|
|
125
|
+
}
|
|
126
|
+
function buildReviewPrompt(planFilePath) {
|
|
127
|
+
return `You are reviewing an implementation plan written by another agent.
|
|
133
128
|
|
|
134
|
-
|
|
135
|
-
|
|
129
|
+
1. Use the read tool to open: ${planFilePath}
|
|
130
|
+
2. Read the plan carefully. Check for:
|
|
131
|
+
- Missing edge cases or unclear steps
|
|
132
|
+
- Opportunities to reuse existing code
|
|
133
|
+
- Missing test scenarios or verification steps
|
|
134
|
+
- Whether the file paths and change descriptions are specific enough for another agent to follow
|
|
135
|
+
3. Use the write tool to update the SAME file in-place with your improvements.
|
|
136
|
+
4. After updating, return: {"status":"ready","filename":"${planFilePath}"}
|
|
136
137
|
|
|
137
|
-
Do not
|
|
138
|
-
Return JSON only. No markdown fences. No commentary.`;
|
|
138
|
+
Do not skip reading the file. Do not return JSON without first reading and updating the plan.`;
|
|
139
139
|
}
|
|
140
140
|
function buildImplementationPrompt(task, planFilePath) {
|
|
141
141
|
return [
|
|
142
|
-
|
|
143
|
-
"A planning agent has already analyzed the codebase and written a detailed spec.",
|
|
142
|
+
`Complete this task: ${task}`,
|
|
144
143
|
"",
|
|
145
|
-
`
|
|
144
|
+
`An implementation plan is available at: ${planFilePath}`,
|
|
145
|
+
"Read it first, then follow its instructions.",
|
|
146
146
|
"",
|
|
147
|
-
|
|
147
|
+
"You MUST use the edit or write tool to modify the actual source files.",
|
|
148
|
+
"Describing changes in text or showing diffs without applying them does NOT count.",
|
|
149
|
+
"Do not ask for confirmation — apply the changes now.",
|
|
148
150
|
"",
|
|
149
|
-
"
|
|
150
|
-
"
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
151
|
+
"After making the edits, run any verification steps from the plan.",
|
|
152
|
+
"Then return a brief summary of what you changed."
|
|
153
|
+
].join("\n");
|
|
154
|
+
}
|
|
155
|
+
function buildImplementationRetryPrompt(task, planFilePath) {
|
|
156
|
+
return [
|
|
157
|
+
"Your previous implementation attempt made zero repository changes.",
|
|
158
|
+
`Task: ${task}`,
|
|
159
|
+
`Plan file: ${planFilePath}`,
|
|
160
|
+
"",
|
|
161
|
+
"You must now perform actual file edits in this turn.",
|
|
162
|
+
"Required sequence:",
|
|
163
|
+
"1) Read the plan file.",
|
|
164
|
+
"2) Use edit/write to modify repository files.",
|
|
165
|
+
"3) Optionally run verification.",
|
|
166
|
+
"4) Return a short summary.",
|
|
154
167
|
"",
|
|
155
|
-
"
|
|
168
|
+
"If you only provide analysis/diff text without edit/write tool calls, this attempt fails."
|
|
156
169
|
].join("\n");
|
|
157
170
|
}
|
|
158
171
|
function formatDuration(ms) {
|
|
@@ -212,14 +225,14 @@ async function antonStop(runtime) {
|
|
|
212
225
|
/** Load Anton config from the IdleHands config file. */
|
|
213
226
|
async function loadAntonConfig() {
|
|
214
227
|
try {
|
|
215
|
-
const { loadConfig } = await import("./model-selection-
|
|
228
|
+
const { loadConfig } = await import("./model-selection-C5hI1dum.js").then((n) => n.I);
|
|
216
229
|
return loadConfig().anton ?? {};
|
|
217
230
|
} catch {
|
|
218
231
|
return {};
|
|
219
232
|
}
|
|
220
233
|
}
|
|
221
234
|
async function runAgentTask(args) {
|
|
222
|
-
const { agentCliCommand } = await import("./agent-via-gateway-
|
|
235
|
+
const { agentCliCommand } = await import("./agent-via-gateway-BsTP4WyI.js");
|
|
223
236
|
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
237
|
const result = await agentCliCommand({
|
|
225
238
|
message: args.message,
|
|
@@ -320,18 +333,18 @@ function normalizeDiscoveryFilename(filename, expectedPlanFile) {
|
|
|
320
333
|
return path.resolve(trimmed);
|
|
321
334
|
}
|
|
322
335
|
function buildDiscoveryRepairPrompt(task, taskFile, planFilePath) {
|
|
323
|
-
return `
|
|
336
|
+
return `Your previous attempt did not produce a valid plan file. Try again.
|
|
324
337
|
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
2) Verify the file exists and is non-empty
|
|
328
|
-
3) Return ONLY strict JSON: {"status":"incomplete","filename":"${planFilePath}"}
|
|
338
|
+
Task file: ${taskFile}
|
|
339
|
+
Task: ${task}
|
|
329
340
|
|
|
330
|
-
|
|
341
|
+
You MUST:
|
|
342
|
+
1. Use the read tool to examine the relevant source files in this repository.
|
|
343
|
+
2. Use the write tool to create a detailed implementation plan at: ${planFilePath}
|
|
344
|
+
The plan must include: what exists now, what needs to change, specific file edits, and verification steps.
|
|
345
|
+
3. After writing the file, return: {"status":"incomplete","filename":"${planFilePath}"}
|
|
331
346
|
|
|
332
|
-
Do not
|
|
333
|
-
Task file: ${taskFile}
|
|
334
|
-
Task: ${task}`;
|
|
347
|
+
Do not skip tool usage. Do not return JSON without first writing the plan file.`;
|
|
335
348
|
}
|
|
336
349
|
async function tryPersistPlanFallback(params) {
|
|
337
350
|
const planText = (((typeof params.parsed?.planMarkdown === "string" ? params.parsed.planMarkdown : void 0) ?? (typeof params.parsed?.plan === "string" ? params.parsed.plan : void 0))?.trim() || extractPlanMarkdownFromText(params.rawText) || "").trim();
|
|
@@ -592,7 +605,7 @@ async function runAnton(args) {
|
|
|
592
605
|
const reviewTimeout = antonCfg.reviewTimeoutSec ?? taskTimeout;
|
|
593
606
|
const preflightMaxRetries = antonCfg.preflightMaxRetries ?? 2;
|
|
594
607
|
const planDir = antonCfg.planDir ? path.resolve(antonCfg.planDir) : path.resolve(path.dirname(filePath), ".agents", "tasks");
|
|
595
|
-
const { loadConfig } = await import("./model-selection-
|
|
608
|
+
const { loadConfig } = await import("./model-selection-C5hI1dum.js").then((n) => n.I);
|
|
596
609
|
const cfg = loadConfig();
|
|
597
610
|
const defaultTimeout = String(Number.isFinite(args.timeoutSec) && (args.timeoutSec ?? 0) > 0 ? args.timeoutSec : cfg.agents?.defaults?.timeoutSeconds ?? taskTimeout);
|
|
598
611
|
await acquireLock(Boolean(args.force));
|
|
@@ -732,8 +745,29 @@ async function runAnton(args) {
|
|
|
732
745
|
deps: args.deps,
|
|
733
746
|
workspaceDir: args.workspaceDir
|
|
734
747
|
});
|
|
735
|
-
|
|
736
|
-
if (mode === "preflight" && changedBeforeTask !== null && changedAfter !== null && changedAfter <= changedBeforeTask)
|
|
748
|
+
let changedAfter = await getGitChangedFileCount(gitCwd, changeIgnores);
|
|
749
|
+
if (mode === "preflight" && changedBeforeTask !== null && changedAfter !== null && changedAfter <= changedBeforeTask) {
|
|
750
|
+
const retrySessionId = `anton-impl-retry-${Date.now()}-${taskNum}`;
|
|
751
|
+
await notify({
|
|
752
|
+
phase: "task_agent_spawned",
|
|
753
|
+
index: taskNum,
|
|
754
|
+
total: pending.length,
|
|
755
|
+
task: `${task.text} (implementation retry)`,
|
|
756
|
+
sessionId: retrySessionId
|
|
757
|
+
});
|
|
758
|
+
await runAgentTask({
|
|
759
|
+
message: buildImplementationRetryPrompt(task.text, planFile ?? ""),
|
|
760
|
+
sessionId: retrySessionId,
|
|
761
|
+
timeout: defaultTimeout,
|
|
762
|
+
agent: args.agent,
|
|
763
|
+
to: args.to,
|
|
764
|
+
runtime: args.runtime,
|
|
765
|
+
deps: args.deps,
|
|
766
|
+
workspaceDir: args.workspaceDir
|
|
767
|
+
});
|
|
768
|
+
changedAfter = await getGitChangedFileCount(gitCwd, changeIgnores);
|
|
769
|
+
if (changedAfter !== null && changedAfter <= changedBeforeTask) throw new Error("Implementation made no repository changes after retry; refusing to mark task complete");
|
|
770
|
+
}
|
|
737
771
|
const updated = markTaskDone(await fs.readFile(filePath, "utf8"), task.line);
|
|
738
772
|
await fs.writeFile(filePath, updated, "utf8");
|
|
739
773
|
completed += 1;
|