@visorcraft/idlehands 4.0.14 → 4.0.15
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 +7 -0
- package/dist/{agent-via-gateway-D-FbIr6E.js → agent-via-gateway-BFtbpQpT.js} +7 -7
- package/dist/{agent-via-gateway-B0077UOc.js → agent-via-gateway-BvXS1sXv.js} +1 -1
- package/dist/{agent-via-gateway-BCActbIf.js → agent-via-gateway-CIM26Dxl.js} +7 -7
- package/dist/{agent-via-gateway-DFnFArbP.js → agent-via-gateway-CcaPUQrc.js} +1 -1
- package/dist/{agents-DBtNXoSW.js → agents-DPlb4UQu.js} +4 -4
- package/dist/{agents.config-C48CGAxv.js → agents.config-8pxRoZvL.js} +1 -1
- package/dist/{agents.config-a7WEBiP9.js → agents.config-BKoyeUnK.js} +1 -1
- package/dist/{anton-BzjiLD-a.js → anton-BTjKlGm7.js} +19 -2
- package/dist/{anton-GmxStpbM.js → anton-DKA8iAQE.js} +19 -2
- package/dist/{anton-BiE961do.js → anton-DhBvDNcB.js} +19 -2
- package/dist/{anton-fsipCiB9.js → anton-Dyhtv3C8.js} +19 -2
- package/dist/{audio-preflight-BSlR2jEq.js → audio-preflight-CW8IH1lU.js} +4 -4
- package/dist/{audio-preflight-CSSlgO89.js → audio-preflight-vD3mDc6w.js} +4 -4
- package/dist/{auth-choice-DCHD89CG.js → auth-choice-CMUzxwaw.js} +1 -1
- package/dist/{auth-choice-B9F26cWG.js → auth-choice-D-_AVWgJ.js} +1 -1
- package/dist/{banner-DGxHi5f3.js → banner-B6ih1A5q.js} +1 -1
- package/dist/build-info.json +3 -3
- package/dist/bundled/boot-md/handler.js +7 -7
- package/dist/bundled/session-memory/handler.js +7 -7
- package/dist/{channel-options-BURifbbT.js → channel-options-DdT_iiu2.js} +1 -1
- package/dist/{channel-options-DZ237bIi.js → channel-options-DqOp64vm.js} +1 -1
- package/dist/{channel-web-Dx3LCcqS.js → channel-web-DjS8VQYO.js} +2 -2
- package/dist/{channel-web-Ylr-WudQ.js → channel-web-PG7u76pG.js} +2 -2
- package/dist/{channels-cli-CntOyA1l.js → channels-cli-1tt6zmdw.js} +7 -7
- package/dist/{channels-cli-BHyVWKE_.js → channels-cli-CWxVX3_x.js} +7 -7
- package/dist/{chrome-Do5potHV.js → chrome-BcJB6PcM.js} +9 -9
- package/dist/{chrome-_2tzVjVl.js → chrome-DEnkfZ9p.js} +9 -9
- package/dist/{cli-DxFD9X-g.js → cli-CmOlEYcx.js} +2 -2
- package/dist/{cli-DnAZgvLv.js → cli-D4FV736E.js} +2 -2
- package/dist/{command-registry-BB2Vnuy4.js → command-registry-CQ_cgvak.js} +10 -10
- package/dist/{completion-cli-eFXXaRI-.js → completion-cli-UytEAOmM.js} +2 -2
- package/dist/{completion-cli-Cd_zlB-2.js → completion-cli-y9BFk5F6.js} +1 -1
- package/dist/{config-cli-CNuPoVE4.js → config-cli-5c6A3y5U.js} +1 -1
- package/dist/{config-cli-C0kgcpE4.js → config-cli-DUb0ZGdL.js} +1 -1
- package/dist/{configure-DEyZZjPG.js → configure-AlSS40po.js} +3 -3
- package/dist/{configure-BDO6l1oe.js → configure-BPwYKVb4.js} +3 -3
- package/dist/{deliver-whAbSPLk.js → deliver-5FLCa6tB.js} +1 -1
- package/dist/{deliver-CVTXl0Cv.js → deliver-BUiQ-9fE.js} +1 -1
- package/dist/{deps-CXtbmEWH.js → deps-BYfE_aIY.js} +1 -1
- package/dist/{deps-8ieGS4Mv.js → deps-DxMLbT7t.js} +1 -1
- package/dist/{deps-7AsluBQV.js → deps-KIFYHxig.js} +1 -1
- package/dist/{deps-CIF1pkFi.js → deps-TwKaIh1I.js} +1 -1
- package/dist/{doctor-completion-DZ7EW_dp.js → doctor-completion-HzTBPNbS.js} +1 -1
- package/dist/{doctor-completion-BM1W0ErJ.js → doctor-completion-S-XHygGb.js} +1 -1
- package/dist/{emergency-stop-DdNkOB3t.js → emergency-stop--ScwariE.js} +7 -7
- package/dist/{emergency-stop-BQVndluY.js → emergency-stop-BDwI4Cyl.js} +2 -2
- package/dist/{emergency-stop-C5022igA.js → emergency-stop-DOi-rKmj.js} +2 -2
- package/dist/{emergency-stop-DpTSZhRz.js → emergency-stop-DpMAMIiz.js} +7 -7
- package/dist/entry.js +1 -1
- package/dist/extensionAPI.js +7 -7
- package/dist/{gateway-cli-DvDS1_s1.js → gateway-cli-B4T44JsM.js} +9 -9
- package/dist/{gateway-cli-CgCMdrYY.js → gateway-cli-DQcjWJr7.js} +9 -9
- package/dist/{health-Bs81nsdt.js → health--39yieH5.js} +1 -1
- package/dist/{health-CPiopwcS.js → health-D7UCYzfy.js} +1 -1
- package/dist/{hooks-cli-CNq30Huh.js → hooks-cli-CGB7TcZZ.js} +3 -3
- package/dist/{hooks-cli-DXM6dTkU.js → hooks-cli-Cko_uweG.js} +3 -3
- package/dist/{image-BAsQlUqT.js → image-C_aN5P6-.js} +1 -1
- package/dist/{image-COw__ACq.js → image-D8b_rlQC.js} +1 -1
- package/dist/index.js +7 -7
- package/dist/llm-slug-generator.js +7 -7
- package/dist/{models-CVGwjQpG.js → models-CWfcMshO.js} +2 -2
- package/dist/{models-cli-2QkLeKdt.js → models-cli-NlT2N74B.js} +4 -4
- package/dist/{models-cli-bkbKnWld.js → models-cli-d_ead6LU.js} +3 -3
- package/dist/{npm-resolution-CmAIOir0.js → npm-resolution-DIJeEhoa.js} +1 -1
- package/dist/{npm-resolution-DHetuEi8.js → npm-resolution-Dpn9DNPz.js} +1 -1
- package/dist/{onboard-IDM50Cwp.js → onboard-DFseyAG9.js} +2 -2
- package/dist/{onboard-Du522rv9.js → onboard-Raw5nkGc.js} +2 -2
- package/dist/{onboard-channels-5uQfEVIz.js → onboard-channels-CG1HcORq.js} +1 -1
- package/dist/{onboard-channels-CHLOUR52.js → onboard-channels-mLWuxUlN.js} +1 -1
- package/dist/{onboarding-B73ADr9Y.js → onboarding-CzzjhwRf.js} +3 -3
- package/dist/{onboarding-Ct8sM6do.js → onboarding-DYlNLV9R.js} +3 -3
- package/dist/{onboarding.finalize-DEVkNjj0.js → onboarding.finalize-BJYuOTPe.js} +6 -6
- package/dist/{onboarding.finalize-mNlZG1KO.js → onboarding.finalize-CIOBj6Jy.js} +7 -7
- package/dist/{pi-embedded-ChimfAJ-.js → pi-embedded-7XGjNojd.js} +26 -26
- package/dist/{pi-embedded-bwvtdswf.js → pi-embedded-Swc7dke2.js} +26 -26
- package/dist/{pi-embedded-helpers-Ct2rwp-P.js → pi-embedded-helpers-C2j0LfJC.js} +4 -4
- package/dist/{pi-embedded-helpers-CyTpDKo5.js → pi-embedded-helpers-CghCLoPo.js} +4 -4
- package/dist/{plugin-registry-BBx7owin.js → plugin-registry-BAd0SoEv.js} +1 -1
- package/dist/{plugin-registry-CYh53OcU.js → plugin-registry-D9Z1bMNt.js} +1 -1
- package/dist/plugin-sdk/{agent-via-gateway-C2tn6sON.js → agent-via-gateway-B3F-royZ.js} +2 -2
- package/dist/plugin-sdk/{anton-_MnTuJJ-.js → anton-DfpQdXJJ.js} +19 -2
- package/dist/plugin-sdk/{channel-web-DwtLzVOR.js → channel-web-BWE_kecR.js} +2 -2
- package/dist/plugin-sdk/{deps-mdAvVF88.js → deps-B0MfJgDH.js} +1 -1
- package/dist/plugin-sdk/{emergency-stop-DYCGWJzN.js → emergency-stop-rTRWpk26.js} +2 -2
- package/dist/plugin-sdk/index.js +3 -3
- package/dist/plugin-sdk/{reply-B-q4HnAx.js → reply-C2G4DKTN.js} +11 -11
- package/dist/plugin-sdk/{web-P5eS5E4t.js → web-bxu2RRVS.js} +3 -3
- package/dist/{plugins-cli-SxHWgGz6.js → plugins-cli-BYfDyWXn.js} +3 -3
- package/dist/{plugins-cli-TmKS47EG.js → plugins-cli-DP46ipIu.js} +3 -3
- package/dist/{program-ZVWCD0Zm.js → program-BlV0XOMu.js} +8 -8
- package/dist/{program-context-3VJmK0G6.js → program-context-PC7Knx3s.js} +18 -18
- package/dist/{prompt-select-styled-DefgYXen.js → prompt-select-styled-BEnn1bwr.js} +4 -4
- package/dist/{prompt-select-styled-D7s-dTdd.js → prompt-select-styled-BgfuPDVv.js} +4 -4
- package/dist/{provider-auth-helpers-DZhIVPGv.js → provider-auth-helpers-CKIkgNDk.js} +1 -1
- package/dist/{provider-auth-helpers-ZH_-N5zd.js → provider-auth-helpers-CrjXAqYu.js} +1 -1
- package/dist/{push-apns-xWUFiO5-.js → push-apns-B4sxQAG3.js} +1 -1
- package/dist/{push-apns-Do1ENlJt.js → push-apns-BPmS_f8e.js} +1 -1
- package/dist/{pw-ai-CowTfhOG.js → pw-ai-CfYaR1K2.js} +1 -1
- package/dist/{pw-ai-yrIWfcWX.js → pw-ai-DjmrIQle.js} +1 -1
- package/dist/{register.agent-BQjgsbPA.js → register.agent-DRcOj2U3.js} +9 -9
- package/dist/{register.agent-oVyiMffI.js → register.agent-uaM-OgFM.js} +8 -8
- package/dist/{register.configure-D_zfBA_E.js → register.configure-B0i1vobR.js} +8 -8
- package/dist/{register.configure-24YtUj4s.js → register.configure-BebpNVXc.js} +8 -8
- package/dist/{register.maintenance-BccFDIZU.js → register.maintenance-CjWtRkPb.js} +9 -9
- package/dist/{register.maintenance-CkYNqabD.js → register.maintenance-Cr0SJRGa.js} +8 -8
- package/dist/{register.message-CPejF6cS.js → register.message-BNqRwnPx.js} +3 -3
- package/dist/{register.message-CySQp5gA.js → register.message-DMAqqNBh.js} +3 -3
- package/dist/{register.onboard-Cg5R87xG.js → register.onboard-9Z1ghVgM.js} +2 -2
- package/dist/{register.onboard-BddM-Tey.js → register.onboard-DDLj9mJ2.js} +2 -2
- package/dist/{register.orchestrator-anton-uFQntDpJ.js → register.orchestrator-anton-9Al8Av8i.js} +2 -2
- package/dist/{register.orchestrator-anton-Dfd2g3y-.js → register.orchestrator-anton-BybNaYi1.js} +2 -2
- package/dist/{register.setup-Cnil6_M-.js → register.setup-Z1tBfa9d.js} +2 -2
- package/dist/{register.setup-Bla4J47z.js → register.setup-yqN0SXow.js} +2 -2
- package/dist/{register.status-health-sessions-CiakJrlx.js → register.status-health-sessions-Di92AnoH.js} +4 -4
- package/dist/{register.status-health-sessions-CI6-RlLt.js → register.status-health-sessions-r-mpQR1m.js} +4 -4
- package/dist/{register.subclis-9fhzxHCF.js → register.subclis-DPQqxIZd.js} +9 -9
- package/dist/{reply-Cmj0wbnT.js → reply-ZWOav11z.js} +11 -11
- package/dist/{run-main-DUtPECK6.js → run-main-DDbBATo6.js} +15 -15
- package/dist/{runner-Bv_BA3vd.js → runner-CZW_eyf2.js} +1 -1
- package/dist/{runner-BzNdfqDz.js → runner-PgRFPYUj.js} +1 -1
- package/dist/{server-node-events-DwUtqxW5.js → server-node-events-BcZPS5tj.js} +3 -3
- package/dist/{server-node-events--qmTbghp.js → server-node-events-DNJLKEMT.js} +3 -3
- package/dist/{status-CPCpSX9k.js → status-BXSiFfmy.js} +2 -2
- package/dist/{status-CMG5erwf.js → status-geIYZraQ.js} +2 -2
- package/dist/{subagent-registry-DHwrN9Oj.js → subagent-registry-C6uygQa1.js} +11 -11
- package/dist/{update-cli-DMjQ-pCl.js → update-cli-BxVcRBy_.js} +9 -9
- package/dist/{update-cli-CQhZlXlT.js → update-cli-VlK55yII.js} +8 -8
- package/dist/{update-runner-CghbY9Ay.js → update-runner-Cw7BbjGv.js} +1 -1
- package/dist/{update-runner-BnTu_uJ4.js → update-runner-bFqEARFN.js} +1 -1
- package/dist/{web-J7TF5rpD.js → web-BjMMu9l1.js} +3 -3
- package/dist/{web-U5rtNi4Q.js → web-Bjj9WtlF.js} +3 -3
- package/dist/{web-BJk05p_4.js → web-DptF9st7.js} +8 -8
- package/dist/{web-weF5X5MU.js → web-TRTzT6rm.js} +8 -8
- package/extensions/acpx/package.json +1 -1
- package/extensions/bluebubbles/package.json +1 -1
- package/extensions/copilot-proxy/package.json +1 -1
- package/extensions/diagnostics-otel/package.json +1 -1
- package/extensions/discord/package.json +1 -1
- package/extensions/feishu/package.json +1 -1
- package/extensions/google-gemini-cli-auth/package.json +1 -1
- package/extensions/googlechat/package.json +1 -1
- package/extensions/hand/package.json +1 -1
- package/extensions/imessage/package.json +1 -1
- package/extensions/irc/package.json +1 -1
- package/extensions/line/package.json +1 -1
- package/extensions/llm-task/package.json +1 -1
- package/extensions/matrix/CHANGELOG.md +6 -0
- package/extensions/matrix/package.json +1 -1
- package/extensions/mattermost/package.json +1 -1
- package/extensions/memory-core/package.json +1 -1
- package/extensions/memory-lancedb/package.json +1 -1
- package/extensions/minimax-portal-auth/package.json +1 -1
- package/extensions/msteams/CHANGELOG.md +6 -0
- package/extensions/msteams/package.json +1 -1
- package/extensions/nextcloud-talk/package.json +1 -1
- package/extensions/nostr/CHANGELOG.md +6 -0
- package/extensions/nostr/package.json +1 -1
- package/extensions/open-prose/package.json +1 -1
- package/extensions/signal/package.json +1 -1
- package/extensions/slack/package.json +1 -1
- package/extensions/synology-chat/package.json +1 -1
- package/extensions/telegram/package.json +1 -1
- package/extensions/tlon/package.json +1 -1
- package/extensions/twitch/CHANGELOG.md +6 -0
- package/extensions/twitch/package.json +1 -1
- package/extensions/voice-call/CHANGELOG.md +6 -0
- package/extensions/voice-call/package.json +1 -1
- package/extensions/whatsapp/package.json +1 -1
- package/extensions/zalo/CHANGELOG.md +6 -0
- package/extensions/zalo/package.json +1 -1
- package/extensions/zalouser/CHANGELOG.md +6 -0
- package/extensions/zalouser/package.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Docs: https://docs.idlehands.ai
|
|
4
4
|
|
|
5
|
+
## 4.0.15
|
|
6
|
+
|
|
7
|
+
### Fixes
|
|
8
|
+
|
|
9
|
+
- Anton preflight correctness: remove unsafe fallback that previously allowed direct implementation when discovery failed to produce a verified plan file.
|
|
10
|
+
- Anton completion integrity: in preflight mode, Anton now verifies repository change count before marking a task complete, preventing false positives when implementation returns success without making code changes.
|
|
11
|
+
|
|
5
12
|
## 4.0.14
|
|
6
13
|
|
|
7
14
|
### Fixes
|
|
@@ -12,14 +12,14 @@ import "./boolean-CE7i9tBR.js";
|
|
|
12
12
|
import "./env-B5G1qwGc.js";
|
|
13
13
|
import "./dock-BgOmHcbh.js";
|
|
14
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-
|
|
15
|
+
import { H as randomIdempotencyKey, V as callGateway, a as agentCommand, o as resolveSessionKeyForRequest, v as withProgress } from "./pi-embedded-7XGjNojd.js";
|
|
16
16
|
import "./plugins-CRB60mCJ.js";
|
|
17
17
|
import "./accounts-Dk8mJIrQ.js";
|
|
18
18
|
import "./bindings-D3b5Fmc9.js";
|
|
19
19
|
import "./auth-store-DXT-l7fO.js";
|
|
20
20
|
import "./send-BeIZJuy4.js";
|
|
21
21
|
import "./send-DmLC7aEF.js";
|
|
22
|
-
import "./deliver-
|
|
22
|
+
import "./deliver-BUiQ-9fE.js";
|
|
23
23
|
import "./diagnostic-4owMk4vH.js";
|
|
24
24
|
import "./diagnostic-session-state-BGF2r-kt.js";
|
|
25
25
|
import "./accounts-BDVs8LTu.js";
|
|
@@ -27,8 +27,8 @@ import "./send-Dfa3sn6r.js";
|
|
|
27
27
|
import "./image-ops-D1KtygWz.js";
|
|
28
28
|
import "./pi-model-discovery-Bb__OY-j.js";
|
|
29
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-
|
|
31
|
-
import "./chrome-
|
|
30
|
+
import "./pi-embedded-helpers-CghCLoPo.js";
|
|
31
|
+
import "./chrome-BcJB6PcM.js";
|
|
32
32
|
import "./ssrf-CZeHDwVZ.js";
|
|
33
33
|
import "./frontmatter-BOudmHMS.js";
|
|
34
34
|
import "./skills-CnAPWfca.js";
|
|
@@ -42,7 +42,7 @@ import "./accounts-CIvVRRHb.js";
|
|
|
42
42
|
import "./paths-D_qUel1T.js";
|
|
43
43
|
import "./tool-images-CcGZpzmq.js";
|
|
44
44
|
import "./thinking-z4_linel.js";
|
|
45
|
-
import "./image-
|
|
45
|
+
import "./image-D8b_rlQC.js";
|
|
46
46
|
import "./reply-prefix-BUgeSN2R.js";
|
|
47
47
|
import "./manager-BE_76jWB.js";
|
|
48
48
|
import "./gemini-auth-CIyaa44H.js";
|
|
@@ -57,7 +57,7 @@ import "./ir-B7IBoKLy.js";
|
|
|
57
57
|
import "./render-MTSxc7LK.js";
|
|
58
58
|
import "./commands-registry-j4vAzcF2.js";
|
|
59
59
|
import "./skill-commands-Ck3flWX7.js";
|
|
60
|
-
import "./runner-
|
|
60
|
+
import "./runner-PgRFPYUj.js";
|
|
61
61
|
import "./fetch-CsfR_943.js";
|
|
62
62
|
import "./channel-activity-D_TMOGQ0.js";
|
|
63
63
|
import "./tables-5k-zOZ-s.js";
|
|
@@ -67,7 +67,7 @@ import "./send-D4bMycQu.js";
|
|
|
67
67
|
import "./resolve-route-DuttYY7A.js";
|
|
68
68
|
import "./proxy-CRB9oCP5.js";
|
|
69
69
|
import "./replies-6_GxvQYe.js";
|
|
70
|
-
import "./deps-
|
|
70
|
+
import "./deps-KIFYHxig.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-C6uygQa1.js";
|
|
8
8
|
import { a as randomIdempotencyKey, n as callGateway } from "./call-DuNslqj2.js";
|
|
9
9
|
import { n as withProgress } from "./progress-B76RkFx7.js";
|
|
10
10
|
|
|
@@ -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-Swc7dke2.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-5FLCa6tB.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-C2j0LfJC.js";
|
|
30
|
+
import "./chrome-DEnkfZ9p.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-C_aN5P6-.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-CZW_eyf2.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-TwKaIh1I.js";
|
|
68
68
|
|
|
69
69
|
//#region src/commands/agent-via-gateway.ts
|
|
70
70
|
const NO_GATEWAY_TIMEOUT_MS = 2147e6;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { Mt as resolveSessionKeyForRequest, jt as agentCommand } from "./reply-
|
|
2
|
+
import { Mt as resolveSessionKeyForRequest, jt as agentCommand } from "./reply-ZWOav11z.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-C6uygQa1.js";
|
|
10
10
|
import { l as resolveSessionTranscriptsDirForAgent } from "./paths-CC17i2eK.js";
|
|
11
11
|
import { a as ensureWorkspaceAndSessions, l as moveToTrash } from "./onboard-helpers-Dp6wXNs7.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-8pxRoZvL.js";
|
|
17
|
+
import { r as setupChannels } from "./onboard-channels-mLWuxUlN.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-D-_AVWgJ.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-C6uygQa1.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-ZWOav11z.js";
|
|
2
2
|
import { a as resolveAgentDir, d as resolveDefaultAgentId, n as listAgentEntries, u as resolveAgentWorkspaceDir } from "./agent-scope-RA0zXRpu.js";
|
|
3
3
|
import { s as normalizeAgentId } from "./session-key-Cuihcz_O.js";
|
|
4
4
|
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import "./paths-BQL7-SbN.js";
|
|
2
2
|
import { t as CONFIG_DIR } from "./utils-DWJR1fcE.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
+
import { promisify } from "node:util";
|
|
4
5
|
import fs from "node:fs/promises";
|
|
6
|
+
import { execFile } from "node:child_process";
|
|
5
7
|
|
|
6
8
|
//#region src/commands/anton.ts
|
|
7
9
|
const ANTON_STATE_PATH = path.join(CONFIG_DIR, "anton.state.json");
|
|
8
10
|
const ANTON_LOCK_PATH = path.join(CONFIG_DIR, "anton.lock");
|
|
11
|
+
const execFile$1 = promisify(execFile);
|
|
9
12
|
async function ensureStateDir() {
|
|
10
13
|
await fs.mkdir(CONFIG_DIR, { recursive: true });
|
|
11
14
|
}
|
|
@@ -216,7 +219,7 @@ async function loadAntonConfig() {
|
|
|
216
219
|
}
|
|
217
220
|
}
|
|
218
221
|
async function runAgentTask(args) {
|
|
219
|
-
const { agentCliCommand } = await import("./agent-via-gateway-
|
|
222
|
+
const { agentCliCommand } = await import("./agent-via-gateway-CIM26Dxl.js");
|
|
220
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;
|
|
221
224
|
const result = await agentCliCommand({
|
|
222
225
|
message: args.message,
|
|
@@ -244,6 +247,14 @@ async function isPlanFileValid(filePath) {
|
|
|
244
247
|
return false;
|
|
245
248
|
}
|
|
246
249
|
}
|
|
250
|
+
async function getGitChangedFileCount(cwd) {
|
|
251
|
+
try {
|
|
252
|
+
const { stdout } = await execFile$1("git", ["status", "--porcelain"], { cwd });
|
|
253
|
+
return stdout.split(/\r?\n/).map((line) => line.trim()).filter(Boolean).length;
|
|
254
|
+
} catch {
|
|
255
|
+
return null;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
247
258
|
function extractJsonObject(text) {
|
|
248
259
|
const trimmed = text.trim();
|
|
249
260
|
if (!trimmed) return null;
|
|
@@ -621,6 +632,7 @@ async function runAnton(args) {
|
|
|
621
632
|
workspaceDir: args.workspaceDir
|
|
622
633
|
});
|
|
623
634
|
}
|
|
635
|
+
if (!planFile) throw new Error("Preflight discovery did not produce a verified plan file; refusing direct implementation fallback");
|
|
624
636
|
}
|
|
625
637
|
await notify({
|
|
626
638
|
phase: "implementation_start",
|
|
@@ -637,8 +649,11 @@ async function runAnton(args) {
|
|
|
637
649
|
task: task.text,
|
|
638
650
|
sessionId: implSessionId
|
|
639
651
|
});
|
|
652
|
+
const implPrompt = planFile ? buildImplementationPrompt(task.text, planFile) : buildDirectTaskPrompt(task.text);
|
|
653
|
+
const gitCwd = args.workspaceDir ? path.resolve(args.workspaceDir) : path.dirname(filePath);
|
|
654
|
+
const changedBefore = await getGitChangedFileCount(gitCwd);
|
|
640
655
|
await runAgentTask({
|
|
641
|
-
message:
|
|
656
|
+
message: implPrompt,
|
|
642
657
|
sessionId: implSessionId,
|
|
643
658
|
timeout: defaultTimeout,
|
|
644
659
|
agent: args.agent,
|
|
@@ -647,6 +662,8 @@ async function runAnton(args) {
|
|
|
647
662
|
deps: args.deps,
|
|
648
663
|
workspaceDir: args.workspaceDir
|
|
649
664
|
});
|
|
665
|
+
const changedAfter = await getGitChangedFileCount(gitCwd);
|
|
666
|
+
if (mode === "preflight" && changedBefore !== null && changedAfter !== null && changedAfter <= changedBefore) throw new Error("Implementation made no repository changes; refusing to mark task complete");
|
|
650
667
|
const updated = markTaskDone(await fs.readFile(filePath, "utf8"), task.line);
|
|
651
668
|
await fs.writeFile(filePath, updated, "utf8");
|
|
652
669
|
completed += 1;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { R as CONFIG_DIR } from "./entry.js";
|
|
3
|
+
import { execFile } from "node:child_process";
|
|
3
4
|
import path from "node:path";
|
|
5
|
+
import { promisify } from "node:util";
|
|
4
6
|
import fs from "node:fs/promises";
|
|
5
7
|
|
|
6
8
|
//#region src/commands/anton.ts
|
|
@@ -12,6 +14,7 @@ var anton_exports = /* @__PURE__ */ __exportAll({
|
|
|
12
14
|
});
|
|
13
15
|
const ANTON_STATE_PATH = path.join(CONFIG_DIR, "anton.state.json");
|
|
14
16
|
const ANTON_LOCK_PATH = path.join(CONFIG_DIR, "anton.lock");
|
|
17
|
+
const execFile$1 = promisify(execFile);
|
|
15
18
|
async function ensureStateDir() {
|
|
16
19
|
await fs.mkdir(CONFIG_DIR, { recursive: true });
|
|
17
20
|
}
|
|
@@ -222,7 +225,7 @@ async function loadAntonConfig() {
|
|
|
222
225
|
}
|
|
223
226
|
}
|
|
224
227
|
async function runAgentTask(args) {
|
|
225
|
-
const { agentCliCommand } = await import("./agent-via-gateway-
|
|
228
|
+
const { agentCliCommand } = await import("./agent-via-gateway-BvXS1sXv.js").then((n) => n.n);
|
|
226
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;
|
|
227
230
|
const result = await agentCliCommand({
|
|
228
231
|
message: args.message,
|
|
@@ -250,6 +253,14 @@ async function isPlanFileValid(filePath) {
|
|
|
250
253
|
return false;
|
|
251
254
|
}
|
|
252
255
|
}
|
|
256
|
+
async function getGitChangedFileCount(cwd) {
|
|
257
|
+
try {
|
|
258
|
+
const { stdout } = await execFile$1("git", ["status", "--porcelain"], { cwd });
|
|
259
|
+
return stdout.split(/\r?\n/).map((line) => line.trim()).filter(Boolean).length;
|
|
260
|
+
} catch {
|
|
261
|
+
return null;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
253
264
|
function extractJsonObject(text) {
|
|
254
265
|
const trimmed = text.trim();
|
|
255
266
|
if (!trimmed) return null;
|
|
@@ -627,6 +638,7 @@ async function runAnton(args) {
|
|
|
627
638
|
workspaceDir: args.workspaceDir
|
|
628
639
|
});
|
|
629
640
|
}
|
|
641
|
+
if (!planFile) throw new Error("Preflight discovery did not produce a verified plan file; refusing direct implementation fallback");
|
|
630
642
|
}
|
|
631
643
|
await notify({
|
|
632
644
|
phase: "implementation_start",
|
|
@@ -643,8 +655,11 @@ async function runAnton(args) {
|
|
|
643
655
|
task: task.text,
|
|
644
656
|
sessionId: implSessionId
|
|
645
657
|
});
|
|
658
|
+
const implPrompt = planFile ? buildImplementationPrompt(task.text, planFile) : buildDirectTaskPrompt(task.text);
|
|
659
|
+
const gitCwd = args.workspaceDir ? path.resolve(args.workspaceDir) : path.dirname(filePath);
|
|
660
|
+
const changedBefore = await getGitChangedFileCount(gitCwd);
|
|
646
661
|
await runAgentTask({
|
|
647
|
-
message:
|
|
662
|
+
message: implPrompt,
|
|
648
663
|
sessionId: implSessionId,
|
|
649
664
|
timeout: defaultTimeout,
|
|
650
665
|
agent: args.agent,
|
|
@@ -653,6 +668,8 @@ async function runAnton(args) {
|
|
|
653
668
|
deps: args.deps,
|
|
654
669
|
workspaceDir: args.workspaceDir
|
|
655
670
|
});
|
|
671
|
+
const changedAfter = await getGitChangedFileCount(gitCwd);
|
|
672
|
+
if (mode === "preflight" && changedBefore !== null && changedAfter !== null && changedAfter <= changedBefore) throw new Error("Implementation made no repository changes; refusing to mark task complete");
|
|
656
673
|
const updated = markTaskDone(await fs.readFile(filePath, "utf8"), task.line);
|
|
657
674
|
await fs.writeFile(filePath, updated, "utf8");
|
|
658
675
|
completed += 1;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { t as CONFIG_DIR } from "./utils-CXzXXV2o.js";
|
|
3
3
|
import path from "node:path";
|
|
4
|
+
import { promisify } from "node:util";
|
|
4
5
|
import fs from "node:fs/promises";
|
|
6
|
+
import { execFile } from "node:child_process";
|
|
5
7
|
|
|
6
8
|
//#region src/commands/anton.ts
|
|
7
9
|
var anton_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -12,6 +14,7 @@ var anton_exports = /* @__PURE__ */ __exportAll({
|
|
|
12
14
|
});
|
|
13
15
|
const ANTON_STATE_PATH = path.join(CONFIG_DIR, "anton.state.json");
|
|
14
16
|
const ANTON_LOCK_PATH = path.join(CONFIG_DIR, "anton.lock");
|
|
17
|
+
const execFile$1 = promisify(execFile);
|
|
15
18
|
async function ensureStateDir() {
|
|
16
19
|
await fs.mkdir(CONFIG_DIR, { recursive: true });
|
|
17
20
|
}
|
|
@@ -222,7 +225,7 @@ async function loadAntonConfig() {
|
|
|
222
225
|
}
|
|
223
226
|
}
|
|
224
227
|
async function runAgentTask(args) {
|
|
225
|
-
const { agentCliCommand } = await import("./agent-via-gateway-
|
|
228
|
+
const { agentCliCommand } = await import("./agent-via-gateway-CcaPUQrc.js").then((n) => n.n);
|
|
226
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;
|
|
227
230
|
const result = await agentCliCommand({
|
|
228
231
|
message: args.message,
|
|
@@ -250,6 +253,14 @@ async function isPlanFileValid(filePath) {
|
|
|
250
253
|
return false;
|
|
251
254
|
}
|
|
252
255
|
}
|
|
256
|
+
async function getGitChangedFileCount(cwd) {
|
|
257
|
+
try {
|
|
258
|
+
const { stdout } = await execFile$1("git", ["status", "--porcelain"], { cwd });
|
|
259
|
+
return stdout.split(/\r?\n/).map((line) => line.trim()).filter(Boolean).length;
|
|
260
|
+
} catch {
|
|
261
|
+
return null;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
253
264
|
function extractJsonObject(text) {
|
|
254
265
|
const trimmed = text.trim();
|
|
255
266
|
if (!trimmed) return null;
|
|
@@ -627,6 +638,7 @@ async function runAnton(args) {
|
|
|
627
638
|
workspaceDir: args.workspaceDir
|
|
628
639
|
});
|
|
629
640
|
}
|
|
641
|
+
if (!planFile) throw new Error("Preflight discovery did not produce a verified plan file; refusing direct implementation fallback");
|
|
630
642
|
}
|
|
631
643
|
await notify({
|
|
632
644
|
phase: "implementation_start",
|
|
@@ -643,8 +655,11 @@ async function runAnton(args) {
|
|
|
643
655
|
task: task.text,
|
|
644
656
|
sessionId: implSessionId
|
|
645
657
|
});
|
|
658
|
+
const implPrompt = planFile ? buildImplementationPrompt(task.text, planFile) : buildDirectTaskPrompt(task.text);
|
|
659
|
+
const gitCwd = args.workspaceDir ? path.resolve(args.workspaceDir) : path.dirname(filePath);
|
|
660
|
+
const changedBefore = await getGitChangedFileCount(gitCwd);
|
|
646
661
|
await runAgentTask({
|
|
647
|
-
message:
|
|
662
|
+
message: implPrompt,
|
|
648
663
|
sessionId: implSessionId,
|
|
649
664
|
timeout: defaultTimeout,
|
|
650
665
|
agent: args.agent,
|
|
@@ -653,6 +668,8 @@ async function runAnton(args) {
|
|
|
653
668
|
deps: args.deps,
|
|
654
669
|
workspaceDir: args.workspaceDir
|
|
655
670
|
});
|
|
671
|
+
const changedAfter = await getGitChangedFileCount(gitCwd);
|
|
672
|
+
if (mode === "preflight" && changedBefore !== null && changedAfter !== null && changedAfter <= changedBefore) throw new Error("Implementation made no repository changes; refusing to mark task complete");
|
|
656
673
|
const updated = markTaskDone(await fs.readFile(filePath, "utf8"), task.line);
|
|
657
674
|
await fs.writeFile(filePath, updated, "utf8");
|
|
658
675
|
completed += 1;
|
|
@@ -2,10 +2,13 @@ import "./paths-BYNVLNi_.js";
|
|
|
2
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
|
+
import { promisify } from "node:util";
|
|
6
|
+
import { execFile } from "node:child_process";
|
|
5
7
|
|
|
6
8
|
//#region src/commands/anton.ts
|
|
7
9
|
const ANTON_STATE_PATH = path.join(CONFIG_DIR, "anton.state.json");
|
|
8
10
|
const ANTON_LOCK_PATH = path.join(CONFIG_DIR, "anton.lock");
|
|
11
|
+
const execFile$1 = promisify(execFile);
|
|
9
12
|
async function ensureStateDir() {
|
|
10
13
|
await fs.mkdir(CONFIG_DIR, { recursive: true });
|
|
11
14
|
}
|
|
@@ -216,7 +219,7 @@ async function loadAntonConfig() {
|
|
|
216
219
|
}
|
|
217
220
|
}
|
|
218
221
|
async function runAgentTask(args) {
|
|
219
|
-
const { agentCliCommand } = await import("./agent-via-gateway-
|
|
222
|
+
const { agentCliCommand } = await import("./agent-via-gateway-BFtbpQpT.js");
|
|
220
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;
|
|
221
224
|
const result = await agentCliCommand({
|
|
222
225
|
message: args.message,
|
|
@@ -244,6 +247,14 @@ async function isPlanFileValid(filePath) {
|
|
|
244
247
|
return false;
|
|
245
248
|
}
|
|
246
249
|
}
|
|
250
|
+
async function getGitChangedFileCount(cwd) {
|
|
251
|
+
try {
|
|
252
|
+
const { stdout } = await execFile$1("git", ["status", "--porcelain"], { cwd });
|
|
253
|
+
return stdout.split(/\r?\n/).map((line) => line.trim()).filter(Boolean).length;
|
|
254
|
+
} catch {
|
|
255
|
+
return null;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
247
258
|
function extractJsonObject(text) {
|
|
248
259
|
const trimmed = text.trim();
|
|
249
260
|
if (!trimmed) return null;
|
|
@@ -621,6 +632,7 @@ async function runAnton(args) {
|
|
|
621
632
|
workspaceDir: args.workspaceDir
|
|
622
633
|
});
|
|
623
634
|
}
|
|
635
|
+
if (!planFile) throw new Error("Preflight discovery did not produce a verified plan file; refusing direct implementation fallback");
|
|
624
636
|
}
|
|
625
637
|
await notify({
|
|
626
638
|
phase: "implementation_start",
|
|
@@ -637,8 +649,11 @@ async function runAnton(args) {
|
|
|
637
649
|
task: task.text,
|
|
638
650
|
sessionId: implSessionId
|
|
639
651
|
});
|
|
652
|
+
const implPrompt = planFile ? buildImplementationPrompt(task.text, planFile) : buildDirectTaskPrompt(task.text);
|
|
653
|
+
const gitCwd = args.workspaceDir ? path.resolve(args.workspaceDir) : path.dirname(filePath);
|
|
654
|
+
const changedBefore = await getGitChangedFileCount(gitCwd);
|
|
640
655
|
await runAgentTask({
|
|
641
|
-
message:
|
|
656
|
+
message: implPrompt,
|
|
642
657
|
sessionId: implSessionId,
|
|
643
658
|
timeout: defaultTimeout,
|
|
644
659
|
agent: args.agent,
|
|
@@ -647,6 +662,8 @@ async function runAnton(args) {
|
|
|
647
662
|
deps: args.deps,
|
|
648
663
|
workspaceDir: args.workspaceDir
|
|
649
664
|
});
|
|
665
|
+
const changedAfter = await getGitChangedFileCount(gitCwd);
|
|
666
|
+
if (mode === "preflight" && changedBefore !== null && changedAfter !== null && changedAfter <= changedBefore) throw new Error("Implementation made no repository changes; refusing to mark task complete");
|
|
650
667
|
const updated = markTaskDone(await fs.readFile(filePath, "utf8"), task.line);
|
|
651
668
|
await fs.writeFile(filePath, updated, "utf8");
|
|
652
669
|
completed += 1;
|
|
@@ -17,8 +17,8 @@ import "./accounts-BDVs8LTu.js";
|
|
|
17
17
|
import "./image-ops-D1KtygWz.js";
|
|
18
18
|
import "./pi-model-discovery-Bb__OY-j.js";
|
|
19
19
|
import "./message-channel-C8QtrwEU.js";
|
|
20
|
-
import "./pi-embedded-helpers-
|
|
21
|
-
import "./chrome-
|
|
20
|
+
import "./pi-embedded-helpers-CghCLoPo.js";
|
|
21
|
+
import "./chrome-BcJB6PcM.js";
|
|
22
22
|
import "./ssrf-CZeHDwVZ.js";
|
|
23
23
|
import "./frontmatter-BOudmHMS.js";
|
|
24
24
|
import "./skills-CnAPWfca.js";
|
|
@@ -32,11 +32,11 @@ import "./accounts-CIvVRRHb.js";
|
|
|
32
32
|
import "./paths-D_qUel1T.js";
|
|
33
33
|
import "./tool-images-CcGZpzmq.js";
|
|
34
34
|
import "./thinking-z4_linel.js";
|
|
35
|
-
import "./image-
|
|
35
|
+
import "./image-D8b_rlQC.js";
|
|
36
36
|
import "./gemini-auth-CIyaa44H.js";
|
|
37
37
|
import "./fetch-guard-iuQsIjqN.js";
|
|
38
38
|
import "./local-roots-KN4Hp1yZ.js";
|
|
39
|
-
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-
|
|
39
|
+
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-PgRFPYUj.js";
|
|
40
40
|
|
|
41
41
|
//#region src/media-understanding/audio-preflight.ts
|
|
42
42
|
/**
|
|
@@ -15,8 +15,8 @@ import "./accounts-BRVjft5i.js";
|
|
|
15
15
|
import "./image-ops-BDG-MYYV.js";
|
|
16
16
|
import "./pi-model-discovery-Dic-M5qw.js";
|
|
17
17
|
import "./message-channel-DqqfOIdx.js";
|
|
18
|
-
import "./pi-embedded-helpers-
|
|
19
|
-
import "./chrome-
|
|
18
|
+
import "./pi-embedded-helpers-C2j0LfJC.js";
|
|
19
|
+
import "./chrome-DEnkfZ9p.js";
|
|
20
20
|
import "./ssrf-DappnhDp.js";
|
|
21
21
|
import "./skills-nQcWk6Z6.js";
|
|
22
22
|
import "./path-alias-guards-CGbCFqW8.js";
|
|
@@ -29,11 +29,11 @@ import "./accounts-CBoBCTgA.js";
|
|
|
29
29
|
import "./paths-vOrMwCEQ.js";
|
|
30
30
|
import "./tool-images-CpZSs-zE.js";
|
|
31
31
|
import "./thinking-BFsWfunr.js";
|
|
32
|
-
import "./image-
|
|
32
|
+
import "./image-C_aN5P6-.js";
|
|
33
33
|
import "./gemini-auth-m2hi6OmF.js";
|
|
34
34
|
import "./fetch-guard-BdCPmLBP.js";
|
|
35
35
|
import "./local-roots-BnWzOrXv.js";
|
|
36
|
-
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-
|
|
36
|
+
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-CZW_eyf2.js";
|
|
37
37
|
|
|
38
38
|
//#region src/media-understanding/audio-preflight.ts
|
|
39
39
|
/**
|
|
@@ -6,7 +6,7 @@ import { n as loadModelCatalog } from "./model-catalog-D9no0CH2.js";
|
|
|
6
6
|
import { f as openUrl } from "./onboard-helpers-BQmbMJxJ.js";
|
|
7
7
|
import { t as enablePluginInConfig } from "./enable-o_s6PBsC.js";
|
|
8
8
|
import { $ as ZAI_DEFAULT_MODEL_REF, A as applyTogetherConfig, B as applyLitellmConfig, C as applyMoonshotProviderConfigCn, Ct as writeOAuthCredentials, D as applyQianfanProviderConfig, Dt as QIANFAN_DEFAULT_MODEL_REF, E as applyQianfanConfig, Et as MOONSHOT_DEFAULT_MODEL_REF, F as applyXaiProviderConfig, G as applyVercelAiGatewayProviderConfig, H as applyCloudflareAiGatewayConfig, I as applyXiaomiConfig, J as LITELLM_DEFAULT_MODEL_REF, K as applyAgentDefaultModelPrimary, L as applyXiaomiProviderConfig, M as applyVeniceConfig, N as applyVeniceProviderConfig, O as applySyntheticConfig, Ot as XAI_DEFAULT_MODEL_REF, P as applyXaiConfig, Q as XIAOMI_DEFAULT_MODEL_REF, R as applyZaiConfig, S as applyMoonshotProviderConfig, St as setZaiApiKey, T as applyOpenrouterProviderConfig, Tt as MISTRAL_DEFAULT_MODEL_REF, U as applyCloudflareAiGatewayProviderConfig, V as applyLitellmProviderConfig, W as applyVercelAiGatewayConfig, X as TOGETHER_DEFAULT_MODEL_REF, Y as OPENROUTER_DEFAULT_MODEL_REF, Z as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, _ as applyKimiCodeProviderConfig, _t as setVeniceApiKey, a as applyMinimaxApiConfig, at as setKilocodeApiKey, b as applyMoonshotConfig, bt as setXaiApiKey, c as applyMinimaxApiProviderConfigCn, ct as setMinimaxApiKey, d as applyAuthProfileConfig, dt as setOpenaiApiKey, et as setAnthropicApiKey, ft as setOpencodeZenApiKey, g as applyKimiCodeConfig, gt as setTogetherApiKey, h as applyKilocodeProviderConfig, ht as setSyntheticApiKey, i as applyOpencodeZenProviderConfig, it as setHuggingfaceApiKey, j as applyTogetherProviderConfig, k as applySyntheticProviderConfig, l as applyMinimaxConfig, lt as setMistralApiKey, m as applyKilocodeConfig, mt as setQianfanApiKey, n as validateAnthropicSetupToken, nt as setCloudflareAiGatewayConfig, o as applyMinimaxApiConfigCn, ot as setKimiCodingApiKey, p as applyHuggingfaceProviderConfig, pt as setOpenrouterApiKey, q as HUGGINGFACE_DEFAULT_MODEL_REF, r as applyOpencodeZenConfig, rt as setGeminiApiKey, s as applyMinimaxApiProviderConfig, st as setLitellmApiKey, t as buildTokenProfileId, tt as setByteplusApiKey, u as applyMinimaxProviderConfig, ut as setMoonshotApiKey, v as applyMistralConfig, vt as setVercelAiGatewayApiKey, w as applyOpenrouterConfig, wt as KIMI_CODING_MODEL_REF, x as applyMoonshotConfigCn, xt as setXiaomiApiKey, y as applyMistralProviderConfig, yt as setVolcengineApiKey, z as applyZaiProviderConfig } from "./auth-token-BJq87X3o.js";
|
|
9
|
-
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
9
|
+
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-CKIkgNDk.js";
|
|
10
10
|
import { a as ensureApiKeyFromOptionEnvOrPrompt, c as applyDefaultModelChoice, d as validateApiKeyInput, l as ensureModelAllowlistEntry, n as createAuthChoiceDefaultModelApplier, o as normalizeSecretInputModeInput, r as createAuthChoiceModelStateBridge, s as normalizeTokenProviderInput, t as createAuthChoiceAgentModelNoter, u as normalizeApiKeyInput } from "./auth-choice.apply-helpers-CGcniL1T.js";
|
|
11
11
|
import { a as GOOGLE_GEMINI_DEFAULT_MODEL, i as detectZaiEndpoint, n as applyOpenAIConfig, o as applyGoogleGeminiModelDefault, r as applyOpenAIProviderConfig, t as OPENAI_DEFAULT_MODEL } from "./openai-model-default-7J6cw1rA.js";
|
|
12
12
|
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-BkXoTOiA.js";
|
|
@@ -6,7 +6,7 @@ import { n as loadModelCatalog } from "./model-catalog-DYWymzg_.js";
|
|
|
6
6
|
import { f as openUrl } from "./onboard-helpers-Dp6wXNs7.js";
|
|
7
7
|
import { t as enablePluginInConfig } from "./enable-CMXupNXl.js";
|
|
8
8
|
import { $ as ZAI_DEFAULT_MODEL_REF, A as applyTogetherConfig, B as applyLitellmConfig, C as applyMoonshotProviderConfigCn, Ct as writeOAuthCredentials, D as applyQianfanProviderConfig, Dt as QIANFAN_DEFAULT_MODEL_REF, E as applyQianfanConfig, Et as MOONSHOT_DEFAULT_MODEL_REF, F as applyXaiProviderConfig, G as applyVercelAiGatewayProviderConfig, H as applyCloudflareAiGatewayConfig, I as applyXiaomiConfig, J as LITELLM_DEFAULT_MODEL_REF, K as applyAgentDefaultModelPrimary, L as applyXiaomiProviderConfig, M as applyVeniceConfig, N as applyVeniceProviderConfig, O as applySyntheticConfig, Ot as XAI_DEFAULT_MODEL_REF, P as applyXaiConfig, Q as XIAOMI_DEFAULT_MODEL_REF, R as applyZaiConfig, S as applyMoonshotProviderConfig, St as setZaiApiKey, T as applyOpenrouterProviderConfig, Tt as MISTRAL_DEFAULT_MODEL_REF, U as applyCloudflareAiGatewayProviderConfig, V as applyLitellmProviderConfig, W as applyVercelAiGatewayConfig, X as TOGETHER_DEFAULT_MODEL_REF, Y as OPENROUTER_DEFAULT_MODEL_REF, Z as VERCEL_AI_GATEWAY_DEFAULT_MODEL_REF, _ as applyKimiCodeProviderConfig, _t as setVeniceApiKey, a as applyMinimaxApiConfig, at as setKilocodeApiKey, b as applyMoonshotConfig, bt as setXaiApiKey, c as applyMinimaxApiProviderConfigCn, ct as setMinimaxApiKey, d as applyAuthProfileConfig, dt as setOpenaiApiKey, et as setAnthropicApiKey, ft as setOpencodeZenApiKey, g as applyKimiCodeConfig, gt as setTogetherApiKey, h as applyKilocodeProviderConfig, ht as setSyntheticApiKey, i as applyOpencodeZenProviderConfig, it as setHuggingfaceApiKey, j as applyTogetherProviderConfig, k as applySyntheticProviderConfig, l as applyMinimaxConfig, lt as setMistralApiKey, m as applyKilocodeConfig, mt as setQianfanApiKey, n as validateAnthropicSetupToken, nt as setCloudflareAiGatewayConfig, o as applyMinimaxApiConfigCn, ot as setKimiCodingApiKey, p as applyHuggingfaceProviderConfig, pt as setOpenrouterApiKey, q as HUGGINGFACE_DEFAULT_MODEL_REF, r as applyOpencodeZenConfig, rt as setGeminiApiKey, s as applyMinimaxApiProviderConfig, st as setLitellmApiKey, t as buildTokenProfileId, tt as setByteplusApiKey, u as applyMinimaxProviderConfig, ut as setMoonshotApiKey, v as applyMistralConfig, vt as setVercelAiGatewayApiKey, w as applyOpenrouterConfig, wt as KIMI_CODING_MODEL_REF, x as applyMoonshotConfigCn, xt as setXiaomiApiKey, y as applyMistralProviderConfig, yt as setVolcengineApiKey, z as applyZaiProviderConfig } from "./auth-token-BQ_ECwH7.js";
|
|
9
|
-
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-
|
|
9
|
+
import { a as createVpsAwareOAuthHandlers, c as githubCopilotLoginCommand, i as resolveProviderMatch, n as mergeConfigPatch, o as isRemoteEnvironment, r as pickAuthMethod, s as resolvePluginProviders, t as applyDefaultModel } from "./provider-auth-helpers-CrjXAqYu.js";
|
|
10
10
|
import { a as ensureApiKeyFromOptionEnvOrPrompt, c as applyDefaultModelChoice, d as validateApiKeyInput, l as ensureModelAllowlistEntry, n as createAuthChoiceDefaultModelApplier, o as normalizeSecretInputModeInput, r as createAuthChoiceModelStateBridge, s as normalizeTokenProviderInput, t as createAuthChoiceAgentModelNoter, u as normalizeApiKeyInput } from "./auth-choice.apply-helpers-Bj-Y-Sar.js";
|
|
11
11
|
import { a as GOOGLE_GEMINI_DEFAULT_MODEL, i as detectZaiEndpoint, n as applyOpenAIConfig, o as applyGoogleGeminiModelDefault, r as applyOpenAIProviderConfig, t as OPENAI_DEFAULT_MODEL } from "./openai-model-default-DTIibBxa.js";
|
|
12
12
|
import { c as OPENAI_CODEX_DEFAULT_MODEL, l as applyOpenAICodexModelDefault, r as applyPrimaryModel, s as promptAndConfigureVllm } from "./model-picker-D_yngXMe.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { St as theme, g as visibleWidth, sn as hasRootVersionAlias, xt as isRich } from "./entry.js";
|
|
2
|
-
import { Tn as resolveCommitHash } from "./subagent-registry-
|
|
2
|
+
import { Tn as resolveCommitHash } from "./subagent-registry-C6uygQa1.js";
|
|
3
3
|
|
|
4
4
|
//#region src/cli/tagline.ts
|
|
5
5
|
const DEFAULT_TAGLINE = "All your chats, one IdleHands.";
|
package/dist/build-info.json
CHANGED
|
@@ -11,14 +11,14 @@ import "../../boolean-CE7i9tBR.js";
|
|
|
11
11
|
import "../../env-B5G1qwGc.js";
|
|
12
12
|
import "../../dock-BgOmHcbh.js";
|
|
13
13
|
import { n as SILENT_REPLY_TOKEN } from "../../tokens-BRLyURxW.js";
|
|
14
|
-
import { a as agentCommand } from "../../pi-embedded-
|
|
14
|
+
import { a as agentCommand } from "../../pi-embedded-7XGjNojd.js";
|
|
15
15
|
import "../../plugins-CRB60mCJ.js";
|
|
16
16
|
import "../../accounts-Dk8mJIrQ.js";
|
|
17
17
|
import "../../bindings-D3b5Fmc9.js";
|
|
18
18
|
import "../../auth-store-DXT-l7fO.js";
|
|
19
19
|
import "../../send-BeIZJuy4.js";
|
|
20
20
|
import "../../send-DmLC7aEF.js";
|
|
21
|
-
import "../../deliver-
|
|
21
|
+
import "../../deliver-BUiQ-9fE.js";
|
|
22
22
|
import "../../diagnostic-4owMk4vH.js";
|
|
23
23
|
import "../../diagnostic-session-state-BGF2r-kt.js";
|
|
24
24
|
import "../../accounts-BDVs8LTu.js";
|
|
@@ -26,8 +26,8 @@ import "../../send-Dfa3sn6r.js";
|
|
|
26
26
|
import "../../image-ops-D1KtygWz.js";
|
|
27
27
|
import "../../pi-model-discovery-Bb__OY-j.js";
|
|
28
28
|
import "../../message-channel-C8QtrwEU.js";
|
|
29
|
-
import "../../pi-embedded-helpers-
|
|
30
|
-
import "../../chrome-
|
|
29
|
+
import "../../pi-embedded-helpers-CghCLoPo.js";
|
|
30
|
+
import "../../chrome-BcJB6PcM.js";
|
|
31
31
|
import "../../ssrf-CZeHDwVZ.js";
|
|
32
32
|
import "../../frontmatter-BOudmHMS.js";
|
|
33
33
|
import "../../skills-CnAPWfca.js";
|
|
@@ -41,7 +41,7 @@ import "../../accounts-CIvVRRHb.js";
|
|
|
41
41
|
import { u as resolveStorePath } from "../../paths-D_qUel1T.js";
|
|
42
42
|
import "../../tool-images-CcGZpzmq.js";
|
|
43
43
|
import "../../thinking-z4_linel.js";
|
|
44
|
-
import "../../image-
|
|
44
|
+
import "../../image-D8b_rlQC.js";
|
|
45
45
|
import "../../reply-prefix-BUgeSN2R.js";
|
|
46
46
|
import "../../manager-BE_76jWB.js";
|
|
47
47
|
import "../../gemini-auth-CIyaa44H.js";
|
|
@@ -56,7 +56,7 @@ import "../../ir-B7IBoKLy.js";
|
|
|
56
56
|
import "../../render-MTSxc7LK.js";
|
|
57
57
|
import "../../commands-registry-j4vAzcF2.js";
|
|
58
58
|
import "../../skill-commands-Ck3flWX7.js";
|
|
59
|
-
import "../../runner-
|
|
59
|
+
import "../../runner-PgRFPYUj.js";
|
|
60
60
|
import "../../fetch-CsfR_943.js";
|
|
61
61
|
import "../../channel-activity-D_TMOGQ0.js";
|
|
62
62
|
import "../../tables-5k-zOZ-s.js";
|
|
@@ -66,7 +66,7 @@ import "../../send-D4bMycQu.js";
|
|
|
66
66
|
import "../../resolve-route-DuttYY7A.js";
|
|
67
67
|
import "../../proxy-CRB9oCP5.js";
|
|
68
68
|
import "../../replies-6_GxvQYe.js";
|
|
69
|
-
import { t as createDefaultDeps } from "../../deps-
|
|
69
|
+
import { t as createDefaultDeps } from "../../deps-KIFYHxig.js";
|
|
70
70
|
import fs from "node:fs/promises";
|
|
71
71
|
import path from "node:path";
|
|
72
72
|
import crypto from "node:crypto";
|