opencode-swarm 7.164.11 → 7.164.13
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/.opencode/skills/engineering-conventions/SKILL.md +1 -1
- package/.opencode/skills/loop/SKILL.md +1 -1
- package/.opencode/skills/{plan → swarm-plan}/SKILL.md +1 -1
- package/dist/background/pending-delegations.d.ts +7 -2
- package/dist/background/pr-subscriptions.d.ts +3 -3
- package/dist/cli/{coder-settlement-0rfk8y11.js → coder-settlement-em2fgg4p.js} +16 -17
- package/dist/cli/{config-doctor-j17b7qq2.js → config-doctor-1m4mrybp.js} +4 -4
- package/dist/cli/{core-evhjjrtt.js → core-zbzdffha.js} +3 -3
- package/dist/cli/{curation-policy-vj6z5hvr.js → curation-policy-bqpmry2n.js} +5 -6
- package/dist/cli/{curator-drift-ez81vg2t.js → curator-drift-hbc3w5zj.js} +14 -12
- package/dist/cli/curator-llm-factory-j76c96t7.js +70 -0
- package/dist/cli/{curator-vqd5yeck.js → curator-tn3x5j02.js} +49 -47
- package/dist/cli/{dispatch-dqybvj8v.js → dispatch-c7xjt7js.js} +3 -3
- package/dist/cli/{evidence-summary-service-937x7rbg.js → evidence-summary-service-7cn9z4sn.js} +25 -24
- package/dist/cli/{gate-evidence-q1cehr4k.js → gate-evidence-deyzt3hz.js} +10 -11
- package/dist/cli/guardrail-explain-4k2pqj46.js +71 -0
- package/dist/cli/{guardrail-log-3g93f3g2.js → guardrail-log-cnbv6vry.js} +11 -11
- package/dist/cli/{guardrail-reset-qe2r5qzq.js → guardrail-reset-xhh61cax.js} +49 -47
- package/dist/cli/hive-promoter-1m8zpz4d.js +85 -0
- package/dist/cli/{index-rhqdsc1x.js → index-0mwjamha.js} +9 -9
- package/dist/cli/{index-y1yqmkv7.js → index-3c0z1jnc.js} +56 -52
- package/dist/cli/{index-kch6yenm.js → index-4fhcbe14.js} +8 -8
- package/dist/cli/{index-ww6zm5hr.js → index-5ebgzb5a.js} +3 -3
- package/dist/cli/{index-4vb6qa73.js → index-5h60rtaa.js} +37 -3
- package/dist/cli/{index-w3gtqey0.js → index-6chhqq2n.js} +4 -4
- package/dist/cli/index-6m24v15v.js +429 -0
- package/dist/cli/{index-vdn32nws.js → index-6rx1rdaq.js} +3 -3
- package/dist/cli/{index-x43debgx.js → index-74514zkh.js} +15 -17
- package/dist/cli/{index-1ww7wj8d.js → index-7f2r3ysr.js} +41 -17
- package/dist/cli/{index-kc2tgcm7.js → index-7z9zqxqt.js} +4 -4
- package/dist/cli/{index-n8688d12.js → index-8bdk7124.js} +2 -2
- package/dist/cli/{index-3146wmgv.js → index-8d90gzaz.js} +1 -1
- package/dist/cli/{index-b2nj04q6.js → index-9ss2m4rs.js} +1 -434
- package/dist/cli/{index-50j914b5.js → index-a0d4fp6r.js} +29 -7
- package/dist/cli/{index-ggtmsm84.js → index-ajknebrc.js} +1 -1
- package/dist/cli/{index-zjg4chy2.js → index-anxs69ad.js} +2 -2
- package/dist/cli/{index-aqppaaqx.js → index-asey3tb3.js} +6 -4
- package/dist/cli/{index-kv2tdkk5.js → index-bvkd7at6.js} +1 -1
- package/dist/cli/{index-r656jh9j.js → index-c98rjgjq.js} +4301 -2877
- package/dist/cli/{index-r5q5gd2a.js → index-d224mhr9.js} +3 -3
- package/dist/cli/{index-nqsj0g5y.js → index-dh5th4jn.js} +8 -8
- package/dist/cli/index-e45htt92.js +361 -0
- package/dist/cli/{index-w95vxjde.js → index-f36hy1x4.js} +39 -8
- package/dist/cli/{index-hp22pzn5.js → index-f8jdar6q.js} +2 -2
- package/dist/cli/{index-47kh2103.js → index-fnyw5rzg.js} +14 -14
- package/dist/cli/{index-7m32fjb4.js → index-g11h1qpk.js} +9 -9
- package/dist/cli/{index-d9entpn3.js → index-g9weyhq6.js} +4 -4
- package/dist/cli/{index-qbw3yw2d.js → index-grn6tkbt.js} +11 -11
- package/dist/cli/{index-9gxbjkts.js → index-gy0nyfbw.js} +24 -21
- package/dist/cli/{index-5jx22kwc.js → index-hhzzyjm3.js} +544 -15
- package/dist/cli/{index-dsg9dw3b.js → index-j2svfhzk.js} +2 -2
- package/dist/cli/{index-2bgr671r.js → index-jre6tm3v.js} +20 -2
- package/dist/cli/{index-77z98j76.js → index-mpf1tvwf.js} +314 -130
- package/dist/cli/{index-e90em0x4.js → index-ndjjvxzz.js} +12 -17
- package/dist/cli/{index-r3mvsbtq.js → index-p612v1mv.js} +7 -1
- package/dist/cli/{index-zfs3zqeq.js → index-ptsqnxwd.js} +771 -21
- package/dist/cli/{index-ggrp3v00.js → index-qtxevgdx.js} +15 -17
- package/dist/cli/{index-c5v1w13g.js → index-s3k7xbqd.js} +807 -629
- package/dist/cli/{index-pp2nya9v.js → index-tqw8w2n5.js} +2 -4
- package/dist/cli/index-w6988bbc.js +675 -0
- package/dist/cli/{index-4gqxppcx.js → index-xwbn7c8m.js} +2 -2
- package/dist/cli/{index-mmjamc9b.js → index-y5hfk7ya.js} +6 -6
- package/dist/cli/{index-5kcvrpkt.js → index-zb6gdym8.js} +2 -2
- package/dist/cli/index.js +161 -80
- package/dist/cli/{knowledge-escalator-j04g450p.js → knowledge-escalator-3fax9y3s.js} +18 -19
- package/dist/cli/{knowledge-events-53z45rs0.js → knowledge-events-9cpdyhmb.js} +16 -17
- package/dist/cli/{knowledge-link-a6kfg3qm.js → knowledge-link-dgvbqjqg.js} +4 -5
- package/dist/cli/{knowledge-store-whm0gagt.js → knowledge-store-y35rka0p.js} +6 -7
- package/dist/cli/{knowledge-validator-h8m7065g.js → knowledge-validator-fd761gpx.js} +8 -9
- package/dist/cli/{model-preflight-288nsgpw.js → model-preflight-3s1c0zpc.js} +1 -1
- package/dist/cli/{pending-delegations-6hkpe5ze.js → pending-delegations-t3y19j3n.js} +17 -8
- package/dist/cli/{pr-subscriptions-11zca1mh.js → pr-subscriptions-00zp69mt.js} +17 -8
- package/dist/cli/{pr-workflow-gate-6g29rkg7.js → pr-workflow-gate-2h0j8c92.js} +51 -49
- package/dist/cli/{runner-5abw3t35.js → runner-0e3bjeev.js} +6 -7
- package/dist/cli/{scan-cursor-mkfx410t.js → scan-cursor-wppe2gxw.js} +9 -10
- package/dist/cli/{schema-jbbam3ev.js → schema-sec49ppy.js} +2 -2
- package/dist/cli/{scope-persistence-q1ct4k42.js → scope-persistence-59eyqaz4.js} +20 -13
- package/dist/cli/{skill-generator-cv8fg96x.js → skill-generator-56rbmpj7.js} +21 -22
- package/dist/cli/snapshot-coordination-init-dnkdc7gx.js +84 -0
- package/dist/cli/{telemetry-mbqqamsj.js → telemetry-a1yvjerj.js} +1 -1
- package/dist/cli/{workspace-snapshot-eh18vgkn.js → workspace-snapshot-6z9rk7xw.js} +3 -3
- package/dist/cli/{worktree-collision-ownership-xgnn8dsq.js → worktree-collision-ownership-fj9n4mhk.js} +21 -12
- package/dist/cli/{worktree-isolation-k2dgfmeg.js → worktree-isolation-vd1s86ya.js} +49 -47
- package/dist/commands/benchmark.d.ts +5 -1
- package/dist/commands/close.d.ts +13 -6
- package/dist/commands/registry.d.ts +34 -43
- package/dist/commands/reset-session.d.ts +4 -0
- package/dist/commands/turbo.d.ts +1 -1
- package/dist/config/bundled-skills.d.ts +4 -3
- package/dist/config/constants.d.ts +13 -0
- package/dist/db/coordination-store.d.ts +85 -0
- package/dist/db/durability.d.ts +22 -5
- package/dist/db/index.d.ts +1 -0
- package/dist/db/project-db.d.ts +12 -0
- package/dist/hooks/extractors.d.ts +9 -0
- package/dist/hooks/non-architect-advisory.d.ts +18 -0
- package/dist/hooks/repo-graph-injection.d.ts +16 -0
- package/dist/index.js +837 -730
- package/dist/memory/schema.d.ts +3 -3
- package/dist/pr-review/authorization.d.ts +5 -4
- package/dist/pr-review/persistence.d.ts +10 -1
- package/dist/scope/scope-binding.d.ts +10 -0
- package/dist/scope/scope-persistence.d.ts +10 -0
- package/dist/services/decision-drift-analyzer.d.ts +7 -0
- package/dist/services/handoff-service.d.ts +12 -0
- package/dist/services/status-service.d.ts +31 -0
- package/dist/session/snapshot-coordination-init.d.ts +49 -0
- package/dist/session/snapshot-reader.d.ts +2 -0
- package/dist/session/snapshot-store.d.ts +42 -0
- package/dist/session/snapshot-writer.d.ts +4 -1
- package/dist/state.d.ts +14 -3
- package/dist/tools/repo-graph/builder.d.ts +1 -25
- package/dist/tools/repo-graph/cache.d.ts +5 -1
- package/dist/tools/repo-graph/fallback-scanner.d.ts +71 -0
- package/dist/tools/repo-graph/indexed-storage.d.ts +11 -0
- package/dist/tools/repo-graph/storage.d.ts +7 -0
- package/dist/turbo/epic/state.d.ts +4 -20
- package/dist/utils/bun-compat.d.ts +10 -0
- package/dist/utils/context-decisions.d.ts +77 -0
- package/dist/utils/external-tool-runner.d.ts +2 -0
- package/dist/utils/sanitize-display.d.ts +7 -0
- package/package.json +5 -3
- package/dist/cli/curator-llm-factory-sxcpmcqq.js +0 -68
- package/dist/cli/guardrail-explain-xv9aw1bf.js +0 -69
- package/dist/cli/hive-promoter-09yc9mp5.js +0 -83
- package/dist/cli/index-xnb3tk7x.js +0 -24
- package/dist/cli/{ast-diff-ekd9v10f.js → ast-diff-b0esr2kf.js} +3 -3
|
@@ -3,66 +3,68 @@ import {
|
|
|
3
3
|
getAgentSession,
|
|
4
4
|
getBlockingActionCircuit,
|
|
5
5
|
resetActionCircuitExternally
|
|
6
|
-
} from "./index-
|
|
7
|
-
import"./index-
|
|
8
|
-
import"./index-
|
|
9
|
-
import"./index-
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
6
|
+
} from "./index-c98rjgjq.js";
|
|
7
|
+
import"./index-8d90gzaz.js";
|
|
8
|
+
import"./index-f36hy1x4.js";
|
|
9
|
+
import"./index-4fhcbe14.js";
|
|
10
|
+
import"./index-zb6gdym8.js";
|
|
11
|
+
import"./index-mpf1tvwf.js";
|
|
12
|
+
import"./index-tqw8w2n5.js";
|
|
12
13
|
import"./index-txdagbh7.js";
|
|
13
14
|
import"./index-cw912re7.js";
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-d9entpn3.js";
|
|
15
|
+
import"./index-7f2r3ysr.js";
|
|
16
|
+
import"./index-g11h1qpk.js";
|
|
17
|
+
import"./index-g9weyhq6.js";
|
|
18
18
|
import"./index-70ha9e09.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-zfs3zqeq.js";
|
|
19
|
+
import"./index-dh5th4jn.js";
|
|
20
|
+
import"./index-9ss2m4rs.js";
|
|
21
|
+
import"./index-ptsqnxwd.js";
|
|
23
22
|
import"./index-zsrtt42s.js";
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-kc2tgcm7.js";
|
|
28
|
-
import"./index-ggtmsm84.js";
|
|
29
|
-
import"./index-rtry5xyf.js";
|
|
30
|
-
import"./index-x43debgx.js";
|
|
31
|
-
import"./index-4vb6qa73.js";
|
|
32
|
-
import"./index-5jx22kwc.js";
|
|
33
|
-
import"./index-c5v1w13g.js";
|
|
34
|
-
import"./index-e90em0x4.js";
|
|
35
|
-
import"./index-ry16d01s.js";
|
|
36
|
-
import"./index-4gqxppcx.js";
|
|
37
|
-
import"./index-556ja8an.js";
|
|
38
|
-
import"./index-4fwbbad3.js";
|
|
23
|
+
import"./index-fnyw5rzg.js";
|
|
24
|
+
import"./index-6chhqq2n.js";
|
|
25
|
+
import"./index-8bdk7124.js";
|
|
39
26
|
import"./index-b43rt5ph.js";
|
|
40
27
|
import"./index-q7sjgr1y.js";
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
28
|
+
import"./index-74514zkh.js";
|
|
29
|
+
import"./index-5h60rtaa.js";
|
|
30
|
+
import"./index-hhzzyjm3.js";
|
|
31
|
+
import"./index-qtxevgdx.js";
|
|
32
|
+
import"./index-anxs69ad.js";
|
|
33
|
+
import"./index-z6xqpmqg.js";
|
|
34
|
+
import"./index-p612v1mv.js";
|
|
35
|
+
import"./index-7z9zqxqt.js";
|
|
36
|
+
import"./index-ajknebrc.js";
|
|
37
|
+
import"./index-rtry5xyf.js";
|
|
38
|
+
import"./index-d224mhr9.js";
|
|
44
39
|
import"./index-3qf1vxtb.js";
|
|
45
40
|
import"./index-n832052r.js";
|
|
46
|
-
import"./index-
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
41
|
+
import"./index-s3k7xbqd.js";
|
|
42
|
+
import"./index-ndjjvxzz.js";
|
|
43
|
+
import"./index-xwbn7c8m.js";
|
|
44
|
+
import"./index-556ja8an.js";
|
|
45
|
+
import"./index-6m24v15v.js";
|
|
46
|
+
import"./index-e45htt92.js";
|
|
47
|
+
import"./index-w6988bbc.js";
|
|
48
|
+
import"./index-ry16d01s.js";
|
|
49
|
+
import"./index-n4fzmqz8.js";
|
|
50
|
+
import"./index-j2svfhzk.js";
|
|
51
|
+
import"./index-grn6tkbt.js";
|
|
52
|
+
import"./index-ae75rja9.js";
|
|
53
|
+
import"./index-6rx1rdaq.js";
|
|
54
|
+
import"./index-7qefgq4j.js";
|
|
55
|
+
import"./index-jre6tm3v.js";
|
|
56
|
+
import"./index-gy0nyfbw.js";
|
|
57
|
+
import"./index-5ebgzb5a.js";
|
|
58
|
+
import"./index-7g4c7s5r.js";
|
|
59
|
+
import"./index-0mwjamha.js";
|
|
51
60
|
import"./index-9e6fdz2h.js";
|
|
52
61
|
import"./index-4rhhvd1a.js";
|
|
53
|
-
import"./index-
|
|
54
|
-
import"./index-
|
|
62
|
+
import"./index-asey3tb3.js";
|
|
63
|
+
import"./index-a0d4fp6r.js";
|
|
55
64
|
import"./index-zjygnfay.js";
|
|
56
|
-
import"./index-ae75rja9.js";
|
|
57
|
-
import"./index-vdn32nws.js";
|
|
58
|
-
import"./index-xnb3tk7x.js";
|
|
59
65
|
import"./index-bk5tah7q.js";
|
|
60
|
-
import"./index-7qefgq4j.js";
|
|
61
|
-
import"./index-2bgr671r.js";
|
|
62
|
-
import"./index-9gxbjkts.js";
|
|
63
|
-
import"./index-ww6zm5hr.js";
|
|
64
|
-
import"./index-7g4c7s5r.js";
|
|
65
66
|
import"./index-bpmtbmy9.js";
|
|
67
|
+
import"./index-4fwbbad3.js";
|
|
66
68
|
import"./index-zgwm4ryv.js";
|
|
67
69
|
import"./index-a76rekgs.js";
|
|
68
70
|
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
_internals2 as _internals,
|
|
4
|
+
checkHivePromotions,
|
|
5
|
+
countDistinctProjects,
|
|
6
|
+
createHivePromoterHook,
|
|
7
|
+
isHiveEligible,
|
|
8
|
+
promoteFromSwarm,
|
|
9
|
+
promoteToHive
|
|
10
|
+
} from "./index-c98rjgjq.js";
|
|
11
|
+
import"./index-8d90gzaz.js";
|
|
12
|
+
import"./index-f36hy1x4.js";
|
|
13
|
+
import"./index-4fhcbe14.js";
|
|
14
|
+
import"./index-zb6gdym8.js";
|
|
15
|
+
import"./index-mpf1tvwf.js";
|
|
16
|
+
import"./index-tqw8w2n5.js";
|
|
17
|
+
import"./index-txdagbh7.js";
|
|
18
|
+
import"./index-cw912re7.js";
|
|
19
|
+
import"./index-7f2r3ysr.js";
|
|
20
|
+
import"./index-g11h1qpk.js";
|
|
21
|
+
import"./index-g9weyhq6.js";
|
|
22
|
+
import"./index-70ha9e09.js";
|
|
23
|
+
import"./index-dh5th4jn.js";
|
|
24
|
+
import"./index-9ss2m4rs.js";
|
|
25
|
+
import"./index-ptsqnxwd.js";
|
|
26
|
+
import"./index-zsrtt42s.js";
|
|
27
|
+
import"./index-fnyw5rzg.js";
|
|
28
|
+
import"./index-6chhqq2n.js";
|
|
29
|
+
import"./index-8bdk7124.js";
|
|
30
|
+
import"./index-b43rt5ph.js";
|
|
31
|
+
import"./index-q7sjgr1y.js";
|
|
32
|
+
import"./index-74514zkh.js";
|
|
33
|
+
import"./index-5h60rtaa.js";
|
|
34
|
+
import"./index-hhzzyjm3.js";
|
|
35
|
+
import"./index-qtxevgdx.js";
|
|
36
|
+
import"./index-anxs69ad.js";
|
|
37
|
+
import"./index-z6xqpmqg.js";
|
|
38
|
+
import"./index-p612v1mv.js";
|
|
39
|
+
import"./index-7z9zqxqt.js";
|
|
40
|
+
import"./index-ajknebrc.js";
|
|
41
|
+
import"./index-rtry5xyf.js";
|
|
42
|
+
import"./index-d224mhr9.js";
|
|
43
|
+
import"./index-3qf1vxtb.js";
|
|
44
|
+
import"./index-n832052r.js";
|
|
45
|
+
import"./index-s3k7xbqd.js";
|
|
46
|
+
import"./index-ndjjvxzz.js";
|
|
47
|
+
import"./index-xwbn7c8m.js";
|
|
48
|
+
import"./index-556ja8an.js";
|
|
49
|
+
import"./index-6m24v15v.js";
|
|
50
|
+
import"./index-e45htt92.js";
|
|
51
|
+
import"./index-w6988bbc.js";
|
|
52
|
+
import"./index-ry16d01s.js";
|
|
53
|
+
import"./index-n4fzmqz8.js";
|
|
54
|
+
import"./index-j2svfhzk.js";
|
|
55
|
+
import {
|
|
56
|
+
resolveHiveKnowledgePath
|
|
57
|
+
} from "./index-grn6tkbt.js";
|
|
58
|
+
import"./index-ae75rja9.js";
|
|
59
|
+
import"./index-6rx1rdaq.js";
|
|
60
|
+
import"./index-7qefgq4j.js";
|
|
61
|
+
import"./index-jre6tm3v.js";
|
|
62
|
+
import"./index-gy0nyfbw.js";
|
|
63
|
+
import"./index-5ebgzb5a.js";
|
|
64
|
+
import"./index-7g4c7s5r.js";
|
|
65
|
+
import"./index-0mwjamha.js";
|
|
66
|
+
import"./index-9e6fdz2h.js";
|
|
67
|
+
import"./index-4rhhvd1a.js";
|
|
68
|
+
import"./index-asey3tb3.js";
|
|
69
|
+
import"./index-a0d4fp6r.js";
|
|
70
|
+
import"./index-zjygnfay.js";
|
|
71
|
+
import"./index-bk5tah7q.js";
|
|
72
|
+
import"./index-bpmtbmy9.js";
|
|
73
|
+
import"./index-4fwbbad3.js";
|
|
74
|
+
import"./index-zgwm4ryv.js";
|
|
75
|
+
import"./index-a76rekgs.js";
|
|
76
|
+
export {
|
|
77
|
+
resolveHiveKnowledgePath,
|
|
78
|
+
promoteToHive,
|
|
79
|
+
promoteFromSwarm,
|
|
80
|
+
isHiveEligible,
|
|
81
|
+
createHivePromoterHook,
|
|
82
|
+
countDistinctProjects,
|
|
83
|
+
checkHivePromotions,
|
|
84
|
+
_internals
|
|
85
|
+
};
|
|
@@ -1,12 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
ExternalSkillsConfigSchema,
|
|
4
|
-
GATE_CONFIG_KNOWN_SECTION_KEYS,
|
|
5
|
-
GateConfigSchema,
|
|
6
|
-
PluginConfigSchema,
|
|
7
|
-
init_schema,
|
|
8
|
-
resolveExternalSkillsConfig
|
|
9
|
-
} from "./index-aqppaaqx.js";
|
|
10
2
|
import {
|
|
11
3
|
GIT_BINARY_ENV_VAR,
|
|
12
4
|
init_git_executable
|
|
@@ -15,6 +7,14 @@ import {
|
|
|
15
7
|
advisoryWarn,
|
|
16
8
|
init_warning_buffer
|
|
17
9
|
} from "./index-4rhhvd1a.js";
|
|
10
|
+
import {
|
|
11
|
+
ExternalSkillsConfigSchema,
|
|
12
|
+
GATE_CONFIG_KNOWN_SECTION_KEYS,
|
|
13
|
+
GateConfigSchema,
|
|
14
|
+
PluginConfigSchema,
|
|
15
|
+
init_schema,
|
|
16
|
+
resolveExternalSkillsConfig
|
|
17
|
+
} from "./index-asey3tb3.js";
|
|
18
18
|
import {
|
|
19
19
|
MAX_MERGE_DEPTH,
|
|
20
20
|
deepMerge,
|
|
@@ -864,4 +864,4 @@ var PlanSchema = exports_external.object({
|
|
|
864
864
|
execution_profile: ExecutionProfileSchema.optional()
|
|
865
865
|
});
|
|
866
866
|
|
|
867
|
-
export {
|
|
867
|
+
export { loadPluginConfig, loadPluginConfigWithMeta, loadGateOverrides, resetConfigAdvisoryDedup, getSafeDefaultConfigLoadResult, loadPluginConfigWithMetaAsync, loadAgentPrompt, exports_loader, init_loader, ExecutionProfileSchema, TaskStatusSchema, TaskSizeSchema, PhaseStatusSchema, MigrationStatusSchema, TaskSchema, PhaseSchema, PlanSchema };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-f8jdar6q.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailLog
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-bvkd7at6.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMAND_REGISTRY,
|
|
10
10
|
SWARM_COMMAND_TOOL_ALLOWLIST,
|
|
@@ -94,73 +94,75 @@ import {
|
|
|
94
94
|
handleWriteRetroCommand,
|
|
95
95
|
normalizeSwarmCommandInput,
|
|
96
96
|
resolveCommand
|
|
97
|
-
} from "./index-
|
|
98
|
-
import"./index-
|
|
99
|
-
import"./index-
|
|
100
|
-
import"./index-
|
|
101
|
-
import"./index-
|
|
102
|
-
import"./index-
|
|
97
|
+
} from "./index-c98rjgjq.js";
|
|
98
|
+
import"./index-8d90gzaz.js";
|
|
99
|
+
import"./index-f36hy1x4.js";
|
|
100
|
+
import"./index-4fhcbe14.js";
|
|
101
|
+
import"./index-zb6gdym8.js";
|
|
102
|
+
import"./index-mpf1tvwf.js";
|
|
103
|
+
import"./index-tqw8w2n5.js";
|
|
103
104
|
import"./index-txdagbh7.js";
|
|
104
105
|
import"./index-cw912re7.js";
|
|
105
|
-
import"./index-
|
|
106
|
-
import"./index-
|
|
107
|
-
import"./index-
|
|
108
|
-
import"./index-d9entpn3.js";
|
|
106
|
+
import"./index-7f2r3ysr.js";
|
|
107
|
+
import"./index-g11h1qpk.js";
|
|
108
|
+
import"./index-g9weyhq6.js";
|
|
109
109
|
import"./index-70ha9e09.js";
|
|
110
|
-
import"./index-
|
|
111
|
-
import"./index-
|
|
112
|
-
import"./index-
|
|
113
|
-
import"./index-zfs3zqeq.js";
|
|
110
|
+
import"./index-dh5th4jn.js";
|
|
111
|
+
import"./index-9ss2m4rs.js";
|
|
112
|
+
import"./index-ptsqnxwd.js";
|
|
114
113
|
import"./index-zsrtt42s.js";
|
|
115
|
-
import"./index-
|
|
116
|
-
import"./index-
|
|
117
|
-
import"./index-
|
|
118
|
-
import"./index-kc2tgcm7.js";
|
|
119
|
-
import"./index-ggtmsm84.js";
|
|
120
|
-
import"./index-rtry5xyf.js";
|
|
121
|
-
import"./index-x43debgx.js";
|
|
122
|
-
import"./index-4vb6qa73.js";
|
|
123
|
-
import"./index-5jx22kwc.js";
|
|
124
|
-
import"./index-c5v1w13g.js";
|
|
125
|
-
import"./index-e90em0x4.js";
|
|
126
|
-
import"./index-ry16d01s.js";
|
|
127
|
-
import"./index-4gqxppcx.js";
|
|
128
|
-
import"./index-556ja8an.js";
|
|
129
|
-
import"./index-4fwbbad3.js";
|
|
114
|
+
import"./index-fnyw5rzg.js";
|
|
115
|
+
import"./index-6chhqq2n.js";
|
|
116
|
+
import"./index-8bdk7124.js";
|
|
130
117
|
import"./index-b43rt5ph.js";
|
|
131
118
|
import"./index-q7sjgr1y.js";
|
|
132
|
-
import"./index-
|
|
133
|
-
import"./index-
|
|
134
|
-
import"./index-
|
|
119
|
+
import"./index-74514zkh.js";
|
|
120
|
+
import"./index-5h60rtaa.js";
|
|
121
|
+
import"./index-hhzzyjm3.js";
|
|
122
|
+
import"./index-qtxevgdx.js";
|
|
123
|
+
import"./index-anxs69ad.js";
|
|
124
|
+
import"./index-z6xqpmqg.js";
|
|
125
|
+
import"./index-p612v1mv.js";
|
|
126
|
+
import"./index-7z9zqxqt.js";
|
|
127
|
+
import"./index-ajknebrc.js";
|
|
128
|
+
import"./index-rtry5xyf.js";
|
|
129
|
+
import"./index-d224mhr9.js";
|
|
135
130
|
import"./index-3qf1vxtb.js";
|
|
136
131
|
import"./index-n832052r.js";
|
|
137
|
-
import"./index-
|
|
138
|
-
import"./index-
|
|
139
|
-
import"./index-
|
|
140
|
-
import"./index-
|
|
132
|
+
import"./index-s3k7xbqd.js";
|
|
133
|
+
import"./index-ndjjvxzz.js";
|
|
134
|
+
import"./index-xwbn7c8m.js";
|
|
135
|
+
import"./index-556ja8an.js";
|
|
136
|
+
import"./index-6m24v15v.js";
|
|
137
|
+
import"./index-e45htt92.js";
|
|
138
|
+
import"./index-w6988bbc.js";
|
|
139
|
+
import"./index-ry16d01s.js";
|
|
140
|
+
import"./index-n4fzmqz8.js";
|
|
141
|
+
import"./index-j2svfhzk.js";
|
|
142
|
+
import"./index-grn6tkbt.js";
|
|
143
|
+
import"./index-ae75rja9.js";
|
|
144
|
+
import"./index-6rx1rdaq.js";
|
|
145
|
+
import"./index-7qefgq4j.js";
|
|
146
|
+
import"./index-jre6tm3v.js";
|
|
147
|
+
import"./index-gy0nyfbw.js";
|
|
148
|
+
import"./index-5ebgzb5a.js";
|
|
149
|
+
import"./index-7g4c7s5r.js";
|
|
150
|
+
import"./index-0mwjamha.js";
|
|
151
|
+
import"./index-9e6fdz2h.js";
|
|
152
|
+
import"./index-4rhhvd1a.js";
|
|
141
153
|
import {
|
|
142
154
|
init_schema,
|
|
143
155
|
stripKnownSwarmPrefix
|
|
144
|
-
} from "./index-
|
|
145
|
-
import"./index-9e6fdz2h.js";
|
|
146
|
-
import"./index-4rhhvd1a.js";
|
|
147
|
-
import"./index-dsg9dw3b.js";
|
|
156
|
+
} from "./index-asey3tb3.js";
|
|
148
157
|
import {
|
|
149
158
|
AGENT_TOOL_MAP,
|
|
150
159
|
ORCHESTRATOR_NAME,
|
|
151
160
|
init_constants
|
|
152
|
-
} from "./index-
|
|
161
|
+
} from "./index-a0d4fp6r.js";
|
|
153
162
|
import"./index-zjygnfay.js";
|
|
154
|
-
import"./index-ae75rja9.js";
|
|
155
|
-
import"./index-vdn32nws.js";
|
|
156
|
-
import"./index-xnb3tk7x.js";
|
|
157
163
|
import"./index-bk5tah7q.js";
|
|
158
|
-
import"./index-7qefgq4j.js";
|
|
159
|
-
import"./index-2bgr671r.js";
|
|
160
|
-
import"./index-9gxbjkts.js";
|
|
161
|
-
import"./index-ww6zm5hr.js";
|
|
162
|
-
import"./index-7g4c7s5r.js";
|
|
163
164
|
import"./index-bpmtbmy9.js";
|
|
165
|
+
import"./index-4fwbbad3.js";
|
|
164
166
|
import"./index-zgwm4ryv.js";
|
|
165
167
|
import"./index-a76rekgs.js";
|
|
166
168
|
|
|
@@ -330,7 +332,8 @@ async function buildSwarmCommandPrompt(args) {
|
|
|
330
332
|
return routeToSwarmCommandTool({
|
|
331
333
|
command: canonicalKey,
|
|
332
334
|
args: resolved.remainingArgs,
|
|
333
|
-
original: `/swarm ${tokens.join(" ")}`.trim()
|
|
335
|
+
original: `/swarm ${tokens.join(" ")}`.trim(),
|
|
336
|
+
warning: typedResolved.warning
|
|
334
337
|
});
|
|
335
338
|
}
|
|
336
339
|
if (canUseTool && isV1ToolCommand && !policy.allowed) {
|
|
@@ -411,6 +414,7 @@ function formatCanonicalPromptFallback(args) {
|
|
|
411
414
|
function routeToSwarmCommandTool(args) {
|
|
412
415
|
return [
|
|
413
416
|
`The user typed \`${args.original}\`.`,
|
|
417
|
+
...args.warning ? [args.warning] : [],
|
|
414
418
|
"Call the `swarm_command` tool exactly once with:",
|
|
415
419
|
JSON.stringify({ command: args.command, args: args.args }, null, 2),
|
|
416
420
|
"After the tool returns, show the tool output verbatim and add no extra swarm state."
|
|
@@ -8,19 +8,19 @@ import {
|
|
|
8
8
|
sanitizeDiagnosticText,
|
|
9
9
|
unsafePathTextReason
|
|
10
10
|
} from "./index-556ja8an.js";
|
|
11
|
+
import {
|
|
12
|
+
observeStoreHealth
|
|
13
|
+
} from "./index-j2svfhzk.js";
|
|
14
|
+
import {
|
|
15
|
+
telemetry
|
|
16
|
+
} from "./index-5ebgzb5a.js";
|
|
11
17
|
import {
|
|
12
18
|
init_schema,
|
|
13
19
|
stripKnownSwarmPrefix
|
|
14
|
-
} from "./index-
|
|
15
|
-
import {
|
|
16
|
-
observeStoreHealth
|
|
17
|
-
} from "./index-dsg9dw3b.js";
|
|
20
|
+
} from "./index-asey3tb3.js";
|
|
18
21
|
import {
|
|
19
22
|
init_constants
|
|
20
|
-
} from "./index-
|
|
21
|
-
import {
|
|
22
|
-
telemetry
|
|
23
|
-
} from "./index-ww6zm5hr.js";
|
|
23
|
+
} from "./index-a0d4fp6r.js";
|
|
24
24
|
import {
|
|
25
25
|
init_logger,
|
|
26
26
|
warn
|
|
@@ -217,7 +217,7 @@ var CATALOG_SOURCE = [
|
|
|
217
217
|
category: "delegation",
|
|
218
218
|
severity: "info",
|
|
219
219
|
privacyClass: "pseudonymous",
|
|
220
|
-
producer: "src/index.ts:
|
|
220
|
+
producer: "src/index.ts:657",
|
|
221
221
|
consumers: CONSUMER_COST_CORRECTION,
|
|
222
222
|
retentionOwnerIssue: ISSUE_COST_RETENTION,
|
|
223
223
|
requiredWorkflowIds: REQUIRE_SESSION_AND_TASK,
|
|
@@ -230,7 +230,7 @@ var CATALOG_SOURCE = [
|
|
|
230
230
|
category: "delegation",
|
|
231
231
|
severity: "info",
|
|
232
232
|
privacyClass: "pseudonymous",
|
|
233
|
-
producer: "src/index.ts:
|
|
233
|
+
producer: "src/index.ts:1595",
|
|
234
234
|
consumers: NO_CONSUMERS,
|
|
235
235
|
futureOwnerIssue: ISSUE_SINK,
|
|
236
236
|
retentionOwnerIssue: ISSUE_COST_RETENTION,
|
|
@@ -244,7 +244,7 @@ var CATALOG_SOURCE = [
|
|
|
244
244
|
category: "delegation",
|
|
245
245
|
severity: "notice",
|
|
246
246
|
privacyClass: "pseudonymous",
|
|
247
|
-
producer: "src/index.ts:
|
|
247
|
+
producer: "src/index.ts:1615",
|
|
248
248
|
consumers: CONSUMER_COST_JOIN,
|
|
249
249
|
retentionOwnerIssue: ISSUE_COST_RETENTION,
|
|
250
250
|
requiredWorkflowIds: REQUIRE_SESSION,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
bunSpawn
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-p612v1mv.js";
|
|
5
5
|
import {
|
|
6
6
|
init_git_executable,
|
|
7
7
|
resolveGitExecutable
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
SWARM_WORKTREE_DIR_NAME,
|
|
15
15
|
init_constants
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-a0d4fp6r.js";
|
|
17
17
|
import {
|
|
18
18
|
log
|
|
19
19
|
} from "./index-zgwm4ryv.js";
|
|
@@ -92,7 +92,7 @@ var _internals = {
|
|
|
92
92
|
symlinkSync: fs.symlinkSync
|
|
93
93
|
},
|
|
94
94
|
writeScopeToDisk: async (directory, taskId, files) => {
|
|
95
|
-
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-
|
|
95
|
+
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-59eyqaz4.js");
|
|
96
96
|
return realWrite(directory, taskId, files);
|
|
97
97
|
},
|
|
98
98
|
writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
|
|
@@ -463,6 +463,26 @@ async function removeWorktree(worktreePath, projectRoot, options) {
|
|
|
463
463
|
for (let attempt = 0;attempt < MAX_RETRIES; attempt++) {
|
|
464
464
|
const result = await runGit(["worktree", "remove", worktreePath], projectRoot);
|
|
465
465
|
if (result.exitCode === 0) {
|
|
466
|
+
if (fs.existsSync(worktreePath)) {
|
|
467
|
+
const trusted = isPathUnderSwarmWorktreeBase(worktreePath, projectRoot, options?.worktreeDir ? [options.worktreeDir] : []);
|
|
468
|
+
if (!trusted) {
|
|
469
|
+
return {
|
|
470
|
+
error: "git removed the worktree registration but the residual directory is outside the trusted swarm worktree base"
|
|
471
|
+
};
|
|
472
|
+
}
|
|
473
|
+
try {
|
|
474
|
+
fs.rmSync(worktreePath, { recursive: true, force: true });
|
|
475
|
+
} catch (error) {
|
|
476
|
+
return {
|
|
477
|
+
error: `git removed the worktree registration but residual directory cleanup failed: ${error instanceof Error ? error.message : String(error)}`
|
|
478
|
+
};
|
|
479
|
+
}
|
|
480
|
+
if (fs.existsSync(worktreePath)) {
|
|
481
|
+
return {
|
|
482
|
+
error: "git removed the worktree registration but the residual directory still exists after cleanup"
|
|
483
|
+
};
|
|
484
|
+
}
|
|
485
|
+
}
|
|
466
486
|
return { success: true };
|
|
467
487
|
}
|
|
468
488
|
lastError = result.stderr.trim() || result.stdout.trim();
|
|
@@ -473,6 +493,20 @@ async function removeWorktree(worktreePath, projectRoot, options) {
|
|
|
473
493
|
if (options?.force && isPathUnderSwarmWorktreeBase(worktreePath, projectRoot, options.worktreeDir ? [options.worktreeDir] : [])) {
|
|
474
494
|
const forced = await runGit(["worktree", "remove", "--force", worktreePath], projectRoot);
|
|
475
495
|
if (forced.exitCode === 0) {
|
|
496
|
+
if (fs.existsSync(worktreePath)) {
|
|
497
|
+
try {
|
|
498
|
+
fs.rmSync(worktreePath, { recursive: true, force: true });
|
|
499
|
+
} catch (error) {
|
|
500
|
+
return {
|
|
501
|
+
error: `git force-removed the worktree registration but residual directory cleanup failed: ${error instanceof Error ? error.message : String(error)}`
|
|
502
|
+
};
|
|
503
|
+
}
|
|
504
|
+
if (fs.existsSync(worktreePath)) {
|
|
505
|
+
return {
|
|
506
|
+
error: "git force-removed the worktree registration but the residual directory still exists after cleanup"
|
|
507
|
+
};
|
|
508
|
+
}
|
|
509
|
+
}
|
|
476
510
|
return { success: true };
|
|
477
511
|
}
|
|
478
512
|
return { error: forced.stderr.trim() || forced.stdout.trim() };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
bunSpawn
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-p612v1mv.js";
|
|
5
|
+
import {
|
|
6
|
+
sameProjectRoot
|
|
7
|
+
} from "./index-7qefgq4j.js";
|
|
5
8
|
import {
|
|
6
9
|
init_git_executable,
|
|
7
10
|
resolveGitExecutable
|
|
8
11
|
} from "./index-9e6fdz2h.js";
|
|
9
|
-
import {
|
|
10
|
-
sameProjectRoot
|
|
11
|
-
} from "./index-7qefgq4j.js";
|
|
12
12
|
|
|
13
13
|
// src/background/workspace-snapshot.ts
|
|
14
14
|
import * as child_process from "child_process";
|