@visorcraft/idlehands 4.0.21 → 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-B8cGzkjD.js → accounts-BDVs8LTu.js} +1 -1
- package/dist/{accounts-D5tB_lO0.js → accounts-CIvVRRHb.js} +1 -1
- package/dist/{accounts-BQC_GRUB.js → accounts-Dk8mJIrQ.js} +6 -6
- package/dist/{agent-scope-Bxq1eWbA.js → agent-scope-DyP_tr7s.js} +4 -4
- package/dist/{agent-via-gateway-Cn3iNSod.js → agent-via-gateway-C42kkKZI.js} +7 -7
- package/dist/{agent-via-gateway-DHn8V6v4.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-CUQG6kii.js → agent-via-gateway-oMn0WfUq.js} +1 -1
- 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-CHtoYxr6.js → agents.config-bWtpv0jP.js} +1 -1
- package/dist/{anton-hH1PyE2C.js → anton-CgpWkf5P.js} +32 -17
- package/dist/{anton-Dyz3neEN.js → anton-CoGaJdTU.js} +36 -21
- package/dist/{anton-D4vpCj_q.js → anton-DSS3RNo7.js} +32 -17
- package/dist/{anton-x7f6kIFP.js → anton-DXL8jrY_.js} +32 -17
- package/dist/{audio-preflight-vD3mDc6w.js → audio-preflight-CSSlgO89.js} +4 -4
- package/dist/{audio-preflight-B8qbJcB1.js → audio-preflight-CW8IH1lU.js} +35 -35
- package/dist/{auth-choice-DVoPuwEs.js → auth-choice-BNofPyTK.js} +1 -1
- package/dist/{auth-choice-DRR52LJT.js → auth-choice-Z7nPFxhP.js} +1 -1
- package/dist/{auth-store-Bb4aajHu.js → auth-store-DXT-l7fO.js} +12 -12
- package/dist/{banner-CFKoGAzN.js → banner-B1-kj-GW.js} +1 -1
- package/dist/{bindings-CLZIJ0Eo.js → bindings-D3b5Fmc9.js} +2 -2
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +60 -60
- package/dist/bundled/bootstrap-extra-files/handler.js +5 -5
- package/dist/bundled/command-logger/handler.js +3 -3
- package/dist/bundled/session-memory/handler.js +60 -60
- package/dist/{channel-activity-DdL3RAv_.js → channel-activity-D_TMOGQ0.js} +3 -3
- package/dist/{channel-options-BU0E7BdU.js → channel-options-C5Iz9bes.js} +1 -1
- package/dist/{channel-options-B4oF7_V2.js → channel-options-CUP3A4VX.js} +1 -1
- package/dist/{channel-web-BDytDCrG.js → channel-web-CGXl1PnB.js} +2 -2
- package/dist/{channel-web-0icuasR6.js → channel-web-CsUiKxQo.js} +2 -2
- package/dist/{channels-cli-DWaQsKP8.js → channels-cli-DK7TRLqX.js} +7 -7
- package/dist/{channels-cli-B2w32z11.js → channels-cli-DmHSajZy.js} +7 -7
- package/dist/{chrome-xahUzIaT.js → chrome-BcJB6PcM.js} +26 -26
- package/dist/{chrome-DEnkfZ9p.js → chrome-Do5potHV.js} +9 -9
- package/dist/{chunk-Djk-9JeT.js → chunk-CMpX7Jaz.js} +1 -1
- package/dist/{cli-Hplv9sD1.js → cli-6eMKeewY.js} +2 -2
- package/dist/{cli-BVw2ja-q.js → cli-DEE_ketW.js} +2 -2
- package/dist/{command-registry-CWDCVzZv.js → command-registry-BFTlzx6d.js} +10 -10
- package/dist/{commands-registry-_TBHHpvt.js → commands-registry-j4vAzcF2.js} +5 -5
- package/dist/{completion-cli-CjERsZ27.js → completion-cli-BbXgtvGY.js} +2 -2
- package/dist/{completion-cli-f5M3WVf8.js → completion-cli-PBfCNWhv.js} +1 -1
- package/dist/{config-cli-B2gc8CV1.js → config-cli-BVJRkNhX.js} +2 -2
- package/dist/{config-cli-Bt7n6ZJS.js → config-cli-Q934shK6.js} +2 -2
- package/dist/{configure-BXsptBk3.js → configure-85ttW_lD.js} +3 -3
- package/dist/{configure-CKspMrI1.js → configure-BGAvA5a4.js} +3 -3
- package/dist/{deliver-CIFO6sel.js → deliver-BUiQ-9fE.js} +20 -20
- package/dist/{deliver-5FLCa6tB.js → deliver-whAbSPLk.js} +1 -1
- package/dist/{deps-CjWcQwlX.js → deps-AEDT3iDX.js} +1 -1
- package/dist/{deps-DwTILPLD.js → deps-B4J8H6nI.js} +6 -6
- package/dist/{deps-CwPrf7RC.js → deps-Bq7jJLyN.js} +1 -1
- package/dist/{deps-BbipxGPW.js → deps-Ch6bZ8PI.js} +1 -1
- package/dist/{diagnostic-BvlZ0Sot.js → diagnostic-4owMk4vH.js} +1 -1
- package/dist/{dock-ejUetwTC.js → dock-BgOmHcbh.js} +6 -6
- package/dist/{doctor-completion-C2-SDBd6.js → doctor-completion-CN5Zujsa.js} +1 -1
- package/dist/{doctor-completion-DB151YdP.js → doctor-completion-Clh5CNUd.js} +1 -1
- package/dist/{emergency-stop-Lj33jqJJ.js → emergency-stop-2v4bhRCE.js} +7 -7
- package/dist/{emergency-stop-DpNGtfb4.js → emergency-stop-BtasjDnU.js} +2 -2
- package/dist/emergency-stop-CVO75pTD.js +113 -0
- package/dist/{emergency-stop-CDozqde9.js → emergency-stop-D_bTOufu.js} +2 -2
- 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/extensionAPI.js +7 -7
- package/dist/{fetch-guard-CcfDZXe9.js → fetch-guard-iuQsIjqN.js} +1 -1
- package/dist/{frontmatter-pTUG4Sx_.js → frontmatter-BOudmHMS.js} +2 -2
- package/dist/{fs-safe-2l05hI1Y.js → fs-safe-CYUaAFO9.js} +2 -2
- package/dist/{gateway-cli-Ccd1ukWq.js → gateway-cli-Cl7cEsHE.js} +10 -10
- package/dist/{gateway-cli-lNUOd2_i.js → gateway-cli-DJm73Wou.js} +10 -10
- 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--GQAFTBr.js → health-C6_Sa_ef.js} +1 -1
- 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-Di8qrzIB.js → hooks-cli-BC3n8UYQ.js} +3 -3
- package/dist/{image-C_aN5P6-.js → image-BAsQlUqT.js} +1 -1
- package/dist/{image-D9D-lzCw.js → image-D8b_rlQC.js} +6 -6
- package/dist/{image-ops-J8P5zOFm.js → image-ops-D1KtygWz.js} +1 -1
- package/dist/index.js +7 -7
- package/dist/{ir-BT5aAdU9.js → ir-B7IBoKLy.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/{login-C2X0In6m.js → login-CFr5vJmR.js} +6 -6
- package/dist/{login-qr-C17PY0rr.js → login-qr-CFFFOjOl.js} +11 -11
- package/dist/{manager-CgzA1hKo.js → manager-BE_76jWB.js} +15 -15
- package/dist/{markdown-tables-R8VTpfE9.js → markdown-tables-CzsockiZ.js} +1 -1
- package/dist/{message-channel-ZdI1-uUh.js → message-channel-C8QtrwEU.js} +1 -1
- package/dist/{model-selection-C5hI1dum.js → model-selection-1MMYqY6M.js} +41 -41
- package/dist/{models-tZYpgts_.js → models-C1_Tdc1Q.js} +2 -2
- package/dist/{models-cli-CMwszgSD.js → models-cli-B9yw60gV.js} +3 -3
- package/dist/{models-cli-DVAyIZ63.js → models-cli-Bs5ZNSbk.js} +4 -4
- package/dist/{npm-resolution-DLSA4PTO.js → npm-resolution-BMDipaRX.js} +1 -1
- package/dist/{npm-resolution-By6bZkA-.js → npm-resolution-yXJbqHHn.js} +1 -1
- package/dist/{onboard-B6eOxpDM.js → onboard-CYRoDnOI.js} +2 -2
- package/dist/{onboard-CbXlbAx2.js → onboard-DjbHK18p.js} +2 -2
- package/dist/{onboard-channels-BISq46-i.js → onboard-channels-CNQt2jFU.js} +1 -1
- package/dist/{onboard-channels-JPltbNGL.js → onboard-channels-CkxvodmR.js} +1 -1
- package/dist/{onboarding-DikyMlYG.js → onboarding-BEDOWI9h.js} +3 -3
- package/dist/{onboarding-Da3n7Rvs.js → onboarding-D9AZJlDK.js} +3 -3
- package/dist/{onboarding.finalize-CwYx5n3Z.js → onboarding.finalize-D4hW1yTd.js} +7 -7
- package/dist/{onboarding.finalize-Bp2ufMd0.js → onboarding.finalize-DJxMkD2g.js} +6 -6
- package/dist/{outbound-CdY_AskB.js → outbound-BNh6PpQb.js} +6 -6
- package/dist/{outbound-attachment-IfeZJAKk.js → outbound-attachment-3I6GzwDe.js} +2 -2
- package/dist/{path-alias-guards-BZmt6hFb.js → path-alias-guards-Cu1nXNMM.js} +1 -1
- package/dist/{paths-DQpv9a3Q.js → paths-BYNVLNi_.js} +5 -5
- package/dist/{paths-D3p7ZvM6.js → paths-D_qUel1T.js} +3 -3
- package/dist/{pi-embedded-k2mZJOsr.js → pi-embedded-C6RDRgJM.js} +184 -184
- package/dist/{pi-embedded-helpers-CUoUoEEN.js → pi-embedded-helpers-CghCLoPo.js} +24 -24
- package/dist/{pi-embedded-helpers-C2j0LfJC.js → pi-embedded-helpers-Ct2rwp-P.js} +4 -4
- package/dist/{pi-embedded-Bc4KWuTe.js → pi-embedded-o6Xj8V4C.js} +26 -26
- package/dist/{pi-model-discovery-Dlx4RLWo.js → pi-model-discovery-Bb__OY-j.js} +7 -7
- package/dist/{plugin-registry-BY85d-vE.js → plugin-registry-6C1sgAm1.js} +1 -1
- package/dist/{plugin-registry-DROWinG6.js → plugin-registry-DIK-5KI9.js} +1 -1
- 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-cli-b_o3IL7x.js → plugins-cli-B1kN2Xze.js} +3 -3
- package/dist/{plugins-cli-RFXGkaxP.js → plugins-cli-DFUxLQbB.js} +3 -3
- package/dist/{program-context-D6irLwPo.js → program-context-CjyGlgVG.js} +18 -18
- package/dist/{program-vH6RTUOw.js → program-mmjp27H4.js} +8 -8
- package/dist/{prompt-select-styled-DFVvU0TH.js → prompt-select-styled-04TKk_r3.js} +4 -4
- package/dist/{prompt-select-styled-CDoDFWo7.js → prompt-select-styled-FskTiqWw.js} +4 -4
- package/dist/{provider-auth-helpers-BCc5UtUa.js → provider-auth-helpers-9IcvdTst.js} +1 -1
- package/dist/{provider-auth-helpers-CNRz0SFC.js → provider-auth-helpers-BI7MVWjD.js} +1 -1
- package/dist/{push-apns-CHmvuoMu.js → push-apns-Bh0u21Bh.js} +1 -1
- package/dist/{push-apns-e2xmxGGE.js → push-apns-DvSYSWvk.js} +1 -1
- package/dist/{pw-ai-CnvVtt_s.js → pw-ai-CfYaR1K2.js} +13 -13
- package/dist/{pw-ai-DjmrIQle.js → pw-ai-yrIWfcWX.js} +1 -1
- package/dist/{qmd-manager-BRvg3Rx2.js → qmd-manager-B_GgyQQ0.js} +8 -8
- package/dist/{query-expansion-DHuNyU-_.js → query-expansion-DEq020GG.js} +5 -5
- package/dist/{redact-1Y0KPNtr.js → redact-Bvpf-ATQ.js} +1 -1
- package/dist/{redact-snapshot-BBNDQZIe.js → redact-snapshot-BbEVKv0k.js} +14 -0
- package/dist/{redact-snapshot-Cc8Brktr.js → redact-snapshot-K5EFkIbD.js} +14 -0
- package/dist/{register.agent-Dx7ULz49.js → register.agent-B3zUfhl9.js} +9 -9
- package/dist/{register.agent-HWcFMr6h.js → register.agent-BSe92Zxh.js} +8 -8
- package/dist/{register.configure-k8gocsJw.js → register.configure-DZ9OCp0V.js} +8 -8
- package/dist/{register.configure-BctHAiWh.js → register.configure-N4JG5hVe.js} +8 -8
- package/dist/{register.maintenance-BYiX9iOa.js → register.maintenance-BjhkxF3o.js} +9 -9
- package/dist/{register.maintenance-C6o2WuQx.js → register.maintenance-DxauQqK_.js} +8 -8
- package/dist/{register.message-BewFLd-k.js → register.message-BsMpRFVr.js} +3 -3
- package/dist/{register.message-BLScF2fV.js → register.message-DoZ5i1Pn.js} +3 -3
- package/dist/{register.onboard-BVm-2XAx.js → register.onboard-Cw3wNQRm.js} +2 -2
- package/dist/{register.onboard-a0kqiCTa.js → register.onboard-Hxi3l9IA.js} +2 -2
- package/dist/{register.orchestrator-anton-BYyjV8R-.js → register.orchestrator-anton-BqQfw2JX.js} +2 -2
- package/dist/{register.orchestrator-anton-Tn_RaMLq.js → register.orchestrator-anton-DOByOKzU.js} +2 -2
- package/dist/{register.setup-BwPJaqpH.js → register.setup-dazD7bl3.js} +2 -2
- package/dist/{register.setup-BJ0WBUpt.js → register.setup-r5Xy4nv4.js} +2 -2
- package/dist/{register.status-health-sessions-Clzt8hbv.js → register.status-health-sessions-3zjBM0m6.js} +4 -4
- package/dist/{register.status-health-sessions-wbopjGL-.js → register.status-health-sessions-DobZ2G2u.js} +4 -4
- package/dist/{register.subclis-CrcOefJY.js → register.subclis-CGJxYP3h.js} +9 -9
- package/dist/{replies-2C16fnBP.js → replies-6_GxvQYe.js} +3 -3
- package/dist/{reply-D5gCiiGr.js → reply-BDr-UY9O.js} +11 -11
- package/dist/{reply-prefix-DCljZiIB.js → reply-prefix-BUgeSN2R.js} +1 -1
- package/dist/{resolve-route-ClcifpKn.js → resolve-route-DuttYY7A.js} +4 -4
- package/dist/{retry-CG6cMRDQ.js → retry-BeB9WenR.js} +1 -1
- package/dist/{run-main-BCX3UZMR.js → run-main-BDEztzfx.js} +15 -15
- package/dist/{runner-CZW_eyf2.js → runner-Bv_BA3vd.js} +1 -1
- package/dist/{runner-DjDddZhb.js → runner-PgRFPYUj.js} +11 -11
- package/dist/{send-DZa8fWSm.js → send-BeIZJuy4.js} +7 -7
- package/dist/{send-Y1hD4tQ1.js → send-C1hvd3bt.js} +6 -6
- package/dist/{send-BOxJ4QXF.js → send-D4bMycQu.js} +7 -7
- package/dist/{send-FLdrx-oF.js → send-Dfa3sn6r.js} +24 -24
- package/dist/{send-IlPMLAH-.js → send-DmLC7aEF.js} +10 -10
- package/dist/{server-node-events-CbVkqOtV.js → server-node-events-BL1dTBEr.js} +3 -3
- package/dist/{server-node-events-DvStFPGi.js → server-node-events-C69TPlKW.js} +3 -3
- package/dist/{session-nUPBXeEa.js → session-F_YDS_1V.js} +7 -7
- package/dist/{sessions-DRA4oaxz.js → sessions-3ioSeOA1.js} +41 -41
- package/dist/{skill-commands-BHTBXXVn.js → skill-commands-Ck3flWX7.js} +9 -9
- package/dist/{skills-umlGvChF.js → skills-CnAPWfca.js} +22 -22
- package/dist/{status-ClMOrHdT.js → status-AEwcpHsu.js} +2 -2
- package/dist/{status-CWnPokQF.js → status-B8z0RCPf.js} +2 -2
- package/dist/{store-D-ZicQeo.js → store-CvMgrKWx.js} +2 -2
- 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/{tables-Co_R_WKs.js → tables-5k-zOZ-s.js} +1 -1
- package/dist/{target-errors-B1mcM4WR.js → target-errors-BPfQrPim.js} +2 -2
- package/dist/{tokens-DGajj8M9.js → tokens-BRLyURxW.js} +1 -1
- package/dist/{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/{update-cli-BTNcddEX.js → update-cli-8Tk6PCmD.js} +8 -8
- package/dist/{update-cli-CxZD0ekr.js → update-cli-Bobm67f-.js} +9 -9
- package/dist/{update-runner-CN7Dm9tg.js → update-runner-B4xzPa4-.js} +1 -1
- package/dist/{update-runner-tu2Aiphu.js → update-runner-C4NjVy9-.js} +1 -1
- 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-DiqHxfw7.js → web-DPSpgc_K.js} +8 -8
- package/dist/{web-BV-BEZj6.js → web-Dqy4kqC9.js} +3 -3
- package/dist/{web-t3fXJTeB.js → web-NzOJcvWO.js} +66 -66
- package/dist/{whatsapp-actions-BJ6kVDXi.js → whatsapp-actions-DbPcN6JQ.js} +25 -25
- package/dist/{workspace-tAtkoD_r.js → workspace-DBFSzT6O.js} +18 -18
- 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 +12 -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 +12 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +12 -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 +12 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +12 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +12 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +12 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
- package/dist/emergency-stop-C2sJ4lsk.js +0 -113
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as normalizeAccountId } from "./session-key-CuLPSMu_.js";
|
|
2
|
-
import { r as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { r as createAccountListHelpers } from "./accounts-Dk8mJIrQ.js";
|
|
3
3
|
import { t as resolveAccountEntry } from "./account-lookup-DlMshWZ_.js";
|
|
4
4
|
|
|
5
5
|
//#region src/signal/accounts.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as normalizeAccountId } from "./session-key-CuLPSMu_.js";
|
|
2
|
-
import { r as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { r as createAccountListHelpers } from "./accounts-Dk8mJIrQ.js";
|
|
3
3
|
import { t as resolveAccountEntry } from "./account-lookup-DlMshWZ_.js";
|
|
4
4
|
|
|
5
5
|
//#region src/imessage/accounts.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { l as resolveOAuthDir } from "./paths-
|
|
2
|
-
import { h as resolveUserPath } from "./utils-
|
|
1
|
+
import { l as resolveOAuthDir } from "./paths-BYNVLNi_.js";
|
|
2
|
+
import { h as resolveUserPath } from "./utils-CTFLl_ji.js";
|
|
3
3
|
import { f as DEFAULT_ACCOUNT_ID, p as normalizeAccountId } from "./session-key-CuLPSMu_.js";
|
|
4
4
|
import { t as resolveAccountEntry } from "./account-lookup-DlMshWZ_.js";
|
|
5
|
-
import { r as hasWebCredsSync } from "./auth-store-
|
|
5
|
+
import { r as hasWebCredsSync } from "./auth-store-DXT-l7fO.js";
|
|
6
6
|
import path from "node:path";
|
|
7
|
-
import
|
|
7
|
+
import syncFs from "node:fs";
|
|
8
8
|
|
|
9
9
|
//#region src/channels/plugins/account-helpers.ts
|
|
10
10
|
function createAccountListHelpers(channelKey) {
|
|
@@ -44,7 +44,7 @@ function listWhatsAppAuthDirs(cfg) {
|
|
|
44
44
|
accountId
|
|
45
45
|
}).authDir);
|
|
46
46
|
try {
|
|
47
|
-
const entries =
|
|
47
|
+
const entries = syncFs.readdirSync(whatsappDir, { withFileTypes: true });
|
|
48
48
|
for (const entry of entries) {
|
|
49
49
|
if (!entry.isDirectory()) continue;
|
|
50
50
|
authDirs.add(path.join(whatsappDir, entry.name));
|
|
@@ -66,7 +66,7 @@ function resolveLegacyAuthDir() {
|
|
|
66
66
|
}
|
|
67
67
|
function legacyAuthExists(authDir) {
|
|
68
68
|
try {
|
|
69
|
-
return
|
|
69
|
+
return syncFs.existsSync(path.join(authDir, "creds.json"));
|
|
70
70
|
} catch {
|
|
71
71
|
return false;
|
|
72
72
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as resolveStateDir } from "./paths-
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
3
|
-
import { h as resolveUserPath } from "./utils-
|
|
1
|
+
import { d as resolveStateDir } from "./paths-BYNVLNi_.js";
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-tzu-rIAJ.js";
|
|
3
|
+
import { h as resolveUserPath } from "./utils-CTFLl_ji.js";
|
|
4
4
|
import { l as resolveAgentIdFromSessionKey, s as normalizeAgentId, t as DEFAULT_AGENT_ID, x as parseAgentSessionKey } from "./session-key-CuLPSMu_.js";
|
|
5
|
-
import { p as resolveDefaultAgentWorkspaceDir } from "./workspace-
|
|
5
|
+
import { p as resolveDefaultAgentWorkspaceDir } from "./workspace-DBFSzT6O.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
|
|
8
8
|
//#region src/config/model-input.ts
|
|
@@ -11,14 +11,14 @@ import { t as formatCliCommand } from "./command-format-BAxx4PW5.js";
|
|
|
11
11
|
import "./env-BpvqFD5n.js";
|
|
12
12
|
import "./dock-QcCdS4qA.js";
|
|
13
13
|
import "./tokens-Cg4XNE3H.js";
|
|
14
|
-
import { H as callGateway, U as randomIdempotencyKey, a as agentCommand, o as resolveSessionKeyForRequest, v as withProgress } from "./pi-embedded-
|
|
14
|
+
import { H as callGateway, U as randomIdempotencyKey, a as agentCommand, o as resolveSessionKeyForRequest, v as withProgress } from "./pi-embedded-o6Xj8V4C.js";
|
|
15
15
|
import "./plugins-D-_jp4FO.js";
|
|
16
16
|
import "./accounts-BwrguHMw.js";
|
|
17
17
|
import "./bindings-hT7SPhiA.js";
|
|
18
18
|
import "./auth-store-D1JaYlig.js";
|
|
19
19
|
import "./send-J10cQN4A.js";
|
|
20
20
|
import "./send-DLZt92Da.js";
|
|
21
|
-
import "./deliver-
|
|
21
|
+
import "./deliver-whAbSPLk.js";
|
|
22
22
|
import "./diagnostic-jHCdo9Am.js";
|
|
23
23
|
import "./diagnostic-session-state-Bx2Le86J.js";
|
|
24
24
|
import "./accounts-BRVjft5i.js";
|
|
@@ -26,8 +26,8 @@ import "./send-Dd4xdAHf.js";
|
|
|
26
26
|
import "./image-ops-BDG-MYYV.js";
|
|
27
27
|
import "./pi-model-discovery-Dic-M5qw.js";
|
|
28
28
|
import { d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, s as normalizeMessageChannel } from "./message-channel-DqqfOIdx.js";
|
|
29
|
-
import "./pi-embedded-helpers-
|
|
30
|
-
import "./chrome-
|
|
29
|
+
import "./pi-embedded-helpers-Ct2rwp-P.js";
|
|
30
|
+
import "./chrome-Do5potHV.js";
|
|
31
31
|
import "./ssrf-DappnhDp.js";
|
|
32
32
|
import "./skills-nQcWk6Z6.js";
|
|
33
33
|
import "./path-alias-guards-CGbCFqW8.js";
|
|
@@ -40,7 +40,7 @@ import "./accounts-CBoBCTgA.js";
|
|
|
40
40
|
import "./paths-vOrMwCEQ.js";
|
|
41
41
|
import "./tool-images-CpZSs-zE.js";
|
|
42
42
|
import "./thinking-BFsWfunr.js";
|
|
43
|
-
import "./image-
|
|
43
|
+
import "./image-BAsQlUqT.js";
|
|
44
44
|
import "./manager-DYOflU5p.js";
|
|
45
45
|
import "./gemini-auth-m2hi6OmF.js";
|
|
46
46
|
import "./fetch-guard-BdCPmLBP.js";
|
|
@@ -54,7 +54,7 @@ import "./ir-BwkcXPZC.js";
|
|
|
54
54
|
import "./render-Ddkk6wf8.js";
|
|
55
55
|
import "./commands-registry-1-Rv2-IS.js";
|
|
56
56
|
import "./skill-commands-CHpRgsOw.js";
|
|
57
|
-
import "./runner-
|
|
57
|
+
import "./runner-Bv_BA3vd.js";
|
|
58
58
|
import "./fetch-ChVgjTkv.js";
|
|
59
59
|
import "./channel-activity-C3LJmSjf.js";
|
|
60
60
|
import "./tables-CJKtUpY0.js";
|
|
@@ -64,7 +64,7 @@ import "./send-Cn2wvd3W.js";
|
|
|
64
64
|
import "./resolve-route-BI3VjtwE.js";
|
|
65
65
|
import "./proxy-CNZpb4NE.js";
|
|
66
66
|
import "./replies-CqYEEgmA.js";
|
|
67
|
-
import "./deps-
|
|
67
|
+
import "./deps-Ch6bZ8PI.js";
|
|
68
68
|
|
|
69
69
|
//#region src/commands/agent-via-gateway.ts
|
|
70
70
|
const NO_GATEWAY_TIMEOUT_MS = 2147e6;
|
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
import { n as listAgentIds } from "./agent-scope-
|
|
2
|
-
import "./paths-
|
|
3
|
-
import "./subsystem-
|
|
4
|
-
import "./utils-
|
|
1
|
+
import { n as listAgentIds } from "./agent-scope-DyP_tr7s.js";
|
|
2
|
+
import "./paths-BYNVLNi_.js";
|
|
3
|
+
import "./subsystem-tzu-rIAJ.js";
|
|
4
|
+
import "./utils-CTFLl_ji.js";
|
|
5
5
|
import "./runtime-8mi3mpYB.js";
|
|
6
6
|
import { s as normalizeAgentId } from "./session-key-CuLPSMu_.js";
|
|
7
|
-
import "./workspace-
|
|
8
|
-
import { R as loadConfig } from "./model-selection-
|
|
9
|
-
import "./github-copilot-token-
|
|
7
|
+
import "./workspace-DBFSzT6O.js";
|
|
8
|
+
import { R as loadConfig } from "./model-selection-1MMYqY6M.js";
|
|
9
|
+
import "./github-copilot-token-Dgt6cnsM.js";
|
|
10
10
|
import { t as formatCliCommand } from "./command-format-BAxx4PW5.js";
|
|
11
11
|
import "./boolean-CE7i9tBR.js";
|
|
12
|
-
import "./env-
|
|
13
|
-
import "./dock-
|
|
14
|
-
import "./tokens-
|
|
15
|
-
import { H as randomIdempotencyKey, V as callGateway, a as agentCommand, o as resolveSessionKeyForRequest, v as withProgress } from "./pi-embedded-
|
|
16
|
-
import "./plugins-
|
|
17
|
-
import "./accounts-
|
|
18
|
-
import "./bindings-
|
|
19
|
-
import "./auth-store-
|
|
20
|
-
import "./send-
|
|
21
|
-
import "./send-
|
|
22
|
-
import "./deliver-
|
|
23
|
-
import "./diagnostic-
|
|
12
|
+
import "./env-B5G1qwGc.js";
|
|
13
|
+
import "./dock-BgOmHcbh.js";
|
|
14
|
+
import "./tokens-BRLyURxW.js";
|
|
15
|
+
import { H as randomIdempotencyKey, V as callGateway, a as agentCommand, o as resolveSessionKeyForRequest, v as withProgress } from "./pi-embedded-C6RDRgJM.js";
|
|
16
|
+
import "./plugins-CRB60mCJ.js";
|
|
17
|
+
import "./accounts-Dk8mJIrQ.js";
|
|
18
|
+
import "./bindings-D3b5Fmc9.js";
|
|
19
|
+
import "./auth-store-DXT-l7fO.js";
|
|
20
|
+
import "./send-BeIZJuy4.js";
|
|
21
|
+
import "./send-DmLC7aEF.js";
|
|
22
|
+
import "./deliver-BUiQ-9fE.js";
|
|
23
|
+
import "./diagnostic-4owMk4vH.js";
|
|
24
24
|
import "./diagnostic-session-state-BGF2r-kt.js";
|
|
25
|
-
import "./accounts-
|
|
26
|
-
import "./send-
|
|
27
|
-
import "./image-ops-
|
|
28
|
-
import "./pi-model-discovery-
|
|
29
|
-
import { d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, s as normalizeMessageChannel } from "./message-channel-
|
|
30
|
-
import "./pi-embedded-helpers-
|
|
31
|
-
import "./chrome-
|
|
25
|
+
import "./accounts-BDVs8LTu.js";
|
|
26
|
+
import "./send-Dfa3sn6r.js";
|
|
27
|
+
import "./image-ops-D1KtygWz.js";
|
|
28
|
+
import "./pi-model-discovery-Bb__OY-j.js";
|
|
29
|
+
import { d as GATEWAY_CLIENT_MODES, f as GATEWAY_CLIENT_NAMES, s as normalizeMessageChannel } from "./message-channel-C8QtrwEU.js";
|
|
30
|
+
import "./pi-embedded-helpers-CghCLoPo.js";
|
|
31
|
+
import "./chrome-BcJB6PcM.js";
|
|
32
32
|
import "./ssrf-CZeHDwVZ.js";
|
|
33
|
-
import "./frontmatter-
|
|
34
|
-
import "./skills-
|
|
35
|
-
import "./path-alias-guards-
|
|
36
|
-
import "./redact-
|
|
37
|
-
import "./errors-
|
|
38
|
-
import "./fs-safe-
|
|
39
|
-
import "./store-
|
|
40
|
-
import "./sessions-
|
|
41
|
-
import "./accounts-
|
|
42
|
-
import "./paths-
|
|
43
|
-
import "./tool-images-
|
|
33
|
+
import "./frontmatter-BOudmHMS.js";
|
|
34
|
+
import "./skills-CnAPWfca.js";
|
|
35
|
+
import "./path-alias-guards-Cu1nXNMM.js";
|
|
36
|
+
import "./redact-Bvpf-ATQ.js";
|
|
37
|
+
import "./errors-C_0nm4TJ.js";
|
|
38
|
+
import "./fs-safe-CYUaAFO9.js";
|
|
39
|
+
import "./store-CvMgrKWx.js";
|
|
40
|
+
import "./sessions-3ioSeOA1.js";
|
|
41
|
+
import "./accounts-CIvVRRHb.js";
|
|
42
|
+
import "./paths-D_qUel1T.js";
|
|
43
|
+
import "./tool-images-CcGZpzmq.js";
|
|
44
44
|
import "./thinking-z4_linel.js";
|
|
45
|
-
import "./image-
|
|
46
|
-
import "./reply-prefix-
|
|
47
|
-
import "./manager-
|
|
48
|
-
import "./gemini-auth-
|
|
49
|
-
import "./fetch-guard-
|
|
50
|
-
import "./query-expansion-
|
|
51
|
-
import "./retry-
|
|
52
|
-
import "./target-errors-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./markdown-tables-
|
|
55
|
-
import "./local-roots-
|
|
56
|
-
import "./ir-
|
|
45
|
+
import "./image-D8b_rlQC.js";
|
|
46
|
+
import "./reply-prefix-BUgeSN2R.js";
|
|
47
|
+
import "./manager-BE_76jWB.js";
|
|
48
|
+
import "./gemini-auth-CIyaa44H.js";
|
|
49
|
+
import "./fetch-guard-iuQsIjqN.js";
|
|
50
|
+
import "./query-expansion-DEq020GG.js";
|
|
51
|
+
import "./retry-BeB9WenR.js";
|
|
52
|
+
import "./target-errors-BPfQrPim.js";
|
|
53
|
+
import "./chunk-CMpX7Jaz.js";
|
|
54
|
+
import "./markdown-tables-CzsockiZ.js";
|
|
55
|
+
import "./local-roots-KN4Hp1yZ.js";
|
|
56
|
+
import "./ir-B7IBoKLy.js";
|
|
57
57
|
import "./render-MTSxc7LK.js";
|
|
58
|
-
import "./commands-registry-
|
|
59
|
-
import "./skill-commands-
|
|
60
|
-
import "./runner-
|
|
58
|
+
import "./commands-registry-j4vAzcF2.js";
|
|
59
|
+
import "./skill-commands-Ck3flWX7.js";
|
|
60
|
+
import "./runner-PgRFPYUj.js";
|
|
61
61
|
import "./fetch-CsfR_943.js";
|
|
62
|
-
import "./channel-activity-
|
|
63
|
-
import "./tables-
|
|
64
|
-
import "./send-
|
|
65
|
-
import "./outbound-attachment-
|
|
66
|
-
import "./send-
|
|
67
|
-
import "./resolve-route-
|
|
62
|
+
import "./channel-activity-D_TMOGQ0.js";
|
|
63
|
+
import "./tables-5k-zOZ-s.js";
|
|
64
|
+
import "./send-C1hvd3bt.js";
|
|
65
|
+
import "./outbound-attachment-3I6GzwDe.js";
|
|
66
|
+
import "./send-D4bMycQu.js";
|
|
67
|
+
import "./resolve-route-DuttYY7A.js";
|
|
68
68
|
import "./proxy-CRB9oCP5.js";
|
|
69
|
-
import "./replies-
|
|
70
|
-
import "./deps-
|
|
69
|
+
import "./replies-6_GxvQYe.js";
|
|
70
|
+
import "./deps-B4J8H6nI.js";
|
|
71
71
|
|
|
72
72
|
//#region src/commands/agent-via-gateway.ts
|
|
73
73
|
const NO_GATEWAY_TIMEOUT_MS = 2147e6;
|
|
@@ -4,7 +4,7 @@ import { t as formatCliCommand } from "./command-format-CPa5ksO_.js";
|
|
|
4
4
|
import { r as listAgentIds } from "./agent-scope-mLXQGQde.js";
|
|
5
5
|
import { s as normalizeAgentId } from "./session-key-B9ePuoPx.js";
|
|
6
6
|
import { h as GATEWAY_CLIENT_NAMES, l as normalizeMessageChannel, m as GATEWAY_CLIENT_MODES } from "./message-channel-Qpj4ExtQ.js";
|
|
7
|
-
import { D as resolveSessionKeyForRequest, E as agentCommand } from "./subagent-registry-
|
|
7
|
+
import { D as resolveSessionKeyForRequest, E as agentCommand } from "./subagent-registry-Dclk-Ews.js";
|
|
8
8
|
import { a as randomIdempotencyKey, n as callGateway } from "./call-C82rD2Wn.js";
|
|
9
9
|
import { n as withProgress } from "./progress-B76RkFx7.js";
|
|
10
10
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Mt as resolveSessionKeyForRequest, jt as agentCommand } from "./reply-
|
|
2
|
+
import { Mt as resolveSessionKeyForRequest, jt as agentCommand } from "./reply-BDr-UY9O.js";
|
|
3
3
|
import { r as listAgentIds } from "./agent-scope-RA0zXRpu.js";
|
|
4
4
|
import { s as normalizeAgentId } from "./session-key-Cuihcz_O.js";
|
|
5
5
|
import { It as loadConfig } from "./model-selection-0dGxYGp8.js";
|
|
@@ -6,18 +6,18 @@ import { t as formatCliCommand } from "./command-format-CPa5ksO_.js";
|
|
|
6
6
|
import { a as resolveAgentDir, b as DEFAULT_IDENTITY_FILENAME, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-mLXQGQde.js";
|
|
7
7
|
import { m as DEFAULT_ACCOUNT_ID, s as normalizeAgentId, t as DEFAULT_AGENT_ID } from "./session-key-B9ePuoPx.js";
|
|
8
8
|
import { n as listChannelPlugins, r as normalizeChannelId, t as getChannelPlugin } from "./plugins-CCrfZ49T.js";
|
|
9
|
-
import { M as identityHasValues, P as parseIdentityMarkdown } from "./subagent-registry-
|
|
9
|
+
import { M as identityHasValues, P as parseIdentityMarkdown } from "./subagent-registry-Dclk-Ews.js";
|
|
10
10
|
import { l as resolveSessionTranscriptsDirForAgent } from "./paths-CC17i2eK.js";
|
|
11
11
|
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-DWivfzcc.js";
|
|
12
12
|
import { t as WizardCancelledError } from "./prompts-D3HHe1ZZ.js";
|
|
13
13
|
import { t as createClackPrompter } from "./clack-prompter-Bo7vS5xP.js";
|
|
14
14
|
import { t as resolveChannelDefaultAccountId } from "./helpers-CIyuenBU.js";
|
|
15
15
|
import { a as parseBindingSpecs, i as describeBinding, n as applyAgentBindings, o as removeAgentBindings, r as buildChannelBindings, t as requireValidConfigSnapshot } from "./config-validation-BgKexeQb.js";
|
|
16
|
-
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-
|
|
17
|
-
import { r as setupChannels } from "./onboard-channels-
|
|
16
|
+
import { a as pruneAgentConfig, i as loadAgentIdentity, n as buildAgentSummaries, r as findAgentEntryIndex, t as applyAgentConfig } from "./agents.config-BFfVBZMA.js";
|
|
17
|
+
import { r as setupChannels } from "./onboard-channels-CkxvodmR.js";
|
|
18
18
|
import { n as logConfigUpdated } from "./logging-MF6Thoxk.js";
|
|
19
19
|
import { n as promptAuthChoiceGrouped } from "./auth-choice-prompt-kycZqH8q.js";
|
|
20
|
-
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-
|
|
20
|
+
import { i as applyAuthChoice, r as warnIfModelConfigLooksOff } from "./auth-choice-BNofPyTK.js";
|
|
21
21
|
import path from "node:path";
|
|
22
22
|
import fs from "node:fs/promises";
|
|
23
23
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-mLXQGQde.js";
|
|
2
2
|
import { s as normalizeAgentId } from "./session-key-B9ePuoPx.js";
|
|
3
|
-
import { M as identityHasValues, N as loadAgentIdentityFromWorkspace } from "./subagent-registry-
|
|
3
|
+
import { M as identityHasValues, N as loadAgentIdentityFromWorkspace } from "./subagent-registry-Dclk-Ews.js";
|
|
4
4
|
|
|
5
5
|
//#region src/commands/agents.config.ts
|
|
6
6
|
function findAgentEntryIndex(list, agentId) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { en as identityHasValues, tn as loadAgentIdentityFromWorkspace } from "./reply-
|
|
1
|
+
import { en as identityHasValues, tn as loadAgentIdentityFromWorkspace } from "./reply-BDr-UY9O.js";
|
|
2
2
|
import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-RA0zXRpu.js";
|
|
3
3
|
import { s as normalizeAgentId } from "./session-key-Cuihcz_O.js";
|
|
4
4
|
|
|
@@ -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-C42kkKZI.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,5 +1,5 @@
|
|
|
1
|
-
import "./paths-
|
|
2
|
-
import { t as CONFIG_DIR } from "./utils-
|
|
1
|
+
import "./paths-BYNVLNi_.js";
|
|
2
|
+
import { t as CONFIG_DIR } from "./utils-CTFLl_ji.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import { promisify } from "node:util";
|
|
@@ -212,14 +212,14 @@ async function antonStop(runtime) {
|
|
|
212
212
|
/** Load Anton config from the IdleHands config file. */
|
|
213
213
|
async function loadAntonConfig() {
|
|
214
214
|
try {
|
|
215
|
-
const { loadConfig } = await import("./model-selection-
|
|
215
|
+
const { loadConfig } = await import("./model-selection-1MMYqY6M.js").then((n) => n.I);
|
|
216
216
|
return loadConfig().anton ?? {};
|
|
217
217
|
} catch {
|
|
218
218
|
return {};
|
|
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-CUtzJXBE.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",
|
|
@@ -577,7 +592,7 @@ async function runAnton(args) {
|
|
|
577
592
|
const reviewTimeout = antonCfg.reviewTimeoutSec ?? taskTimeout;
|
|
578
593
|
const preflightMaxRetries = antonCfg.preflightMaxRetries ?? 2;
|
|
579
594
|
const planDir = antonCfg.planDir ? path.resolve(antonCfg.planDir) : path.resolve(path.dirname(filePath), ".agents", "tasks");
|
|
580
|
-
const { loadConfig } = await import("./model-selection-
|
|
595
|
+
const { loadConfig } = await import("./model-selection-1MMYqY6M.js").then((n) => n.I);
|
|
581
596
|
const cfg = loadConfig();
|
|
582
597
|
const defaultTimeout = String(Number.isFinite(args.timeoutSec) && (args.timeoutSec ?? 0) > 0 ? args.timeoutSec : cfg.agents?.defaults?.timeoutSeconds ?? taskTimeout);
|
|
583
598
|
await acquireLock(Boolean(args.force));
|
|
@@ -225,7 +225,7 @@ async function loadAntonConfig() {
|
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
227
|
async function runAgentTask(args) {
|
|
228
|
-
const { agentCliCommand } = await import("./agent-via-gateway-
|
|
228
|
+
const { agentCliCommand } = await import("./agent-via-gateway-CldlRczJ.js").then((n) => n.n);
|
|
229
229
|
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
230
|
const result = await agentCliCommand({
|
|
231
231
|
message: args.message,
|
|
@@ -345,6 +345,11 @@ async function tryPersistPlanFallback(params) {
|
|
|
345
345
|
await fs.writeFile(params.planFile, `${planText}\n`, "utf8");
|
|
346
346
|
return await isPlanFileValid(params.planFile);
|
|
347
347
|
}
|
|
348
|
+
async function writeDeterministicPlanFallback(params) {
|
|
349
|
+
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`;
|
|
350
|
+
await fs.writeFile(params.planFile, plan, "utf8");
|
|
351
|
+
return await isPlanFileValid(params.planFile);
|
|
352
|
+
}
|
|
348
353
|
async function runDiscoveryPhase(args) {
|
|
349
354
|
const planFile = makePlanFilePath(args.planDir, args.taskNum);
|
|
350
355
|
await ensurePlanDir(args.planDir);
|
|
@@ -402,22 +407,28 @@ async function runDiscoveryPhase(args) {
|
|
|
402
407
|
planFile: declaredPlanFile
|
|
403
408
|
};
|
|
404
409
|
}
|
|
405
|
-
if ((firstParsed?.status ?? "").toLowerCase() === "incomplete"
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
await
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
410
|
+
if ((firstParsed?.status ?? "").toLowerCase() === "incomplete") {
|
|
411
|
+
if (await tryPersistPlanFallback({
|
|
412
|
+
planFile: declaredPlanFile,
|
|
413
|
+
parsed: firstParsed,
|
|
414
|
+
rawText: firstPass.text
|
|
415
|
+
}) || await writeDeterministicPlanFallback({
|
|
416
|
+
planFile: declaredPlanFile,
|
|
417
|
+
taskText: args.task.text,
|
|
418
|
+
taskFile: args.taskFile
|
|
419
|
+
})) {
|
|
420
|
+
await args.notify({
|
|
421
|
+
phase: "discovery_complete",
|
|
422
|
+
index: args.taskNum,
|
|
423
|
+
total: args.total,
|
|
424
|
+
task: args.task.text,
|
|
425
|
+
planFile: declaredPlanFile
|
|
426
|
+
});
|
|
427
|
+
return {
|
|
428
|
+
status: "plan_ready",
|
|
429
|
+
planFile: declaredPlanFile
|
|
430
|
+
};
|
|
431
|
+
}
|
|
421
432
|
}
|
|
422
433
|
const repairSessionId = `anton-discovery-repair-${Date.now()}-${args.taskNum}-${attempt}`;
|
|
423
434
|
await args.notify({
|
|
@@ -456,6 +467,10 @@ async function runDiscoveryPhase(args) {
|
|
|
456
467
|
planFile: repairPlanFile,
|
|
457
468
|
parsed: repairParsed,
|
|
458
469
|
rawText: repairPass.text
|
|
470
|
+
}) || (repairParsed?.status ?? "").toLowerCase() === "incomplete" && await writeDeterministicPlanFallback({
|
|
471
|
+
planFile: repairPlanFile,
|
|
472
|
+
taskText: args.task.text,
|
|
473
|
+
taskFile: args.taskFile
|
|
459
474
|
})) {
|
|
460
475
|
await args.notify({
|
|
461
476
|
phase: "discovery_complete",
|