opencode-swarm 7.165.0 → 7.166.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/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/background/delegation-cost-identity.d.ts +41 -0
- package/dist/background/delegation-lifecycle.d.ts +24 -5
- package/dist/background/pending-delegations.d.ts +2 -0
- package/dist/background/pr-monitor-worker.d.ts +60 -6
- package/dist/background/pr-subscriptions.d.ts +13 -0
- package/dist/cli/{capability-probe-5wa7mcp6.js → capability-probe-faqefhah.js} +2 -1
- package/dist/cli/{coder-settlement-89nt4j7g.js → coder-settlement-ydg2jfrk.js} +8 -8
- package/dist/cli/{config-doctor-gm6f5chm.js → config-doctor-drqx6tzc.js} +2 -2
- package/dist/cli/{core-91p43zwj.js → core-x6sftfwt.js} +1 -1
- package/dist/cli/{curation-policy-bqpmry2n.js → curation-policy-jtzwz6bc.js} +4 -4
- package/dist/cli/{curator-drift-hbc3w5zj.js → curator-drift-2vwtkegg.js} +2 -2
- package/dist/cli/{curator-4bs2hmy9.js → curator-kg2h8jjf.js} +34 -34
- package/dist/cli/curator-llm-factory-7znajprp.js +70 -0
- package/dist/cli/{evidence-summary-service-g1xd8egd.js → evidence-summary-service-ry5ebnmq.js} +15 -15
- package/dist/cli/{gate-evidence-gdmgsz7c.js → gate-evidence-qgeceqy8.js} +5 -5
- package/dist/cli/guardrail-explain-jdv4n2j3.js +71 -0
- package/dist/cli/{guardrail-log-nyggdv04.js → guardrail-log-s7c3rpde.js} +7 -7
- package/dist/cli/{guardrail-reset-rp9jq0gj.js → guardrail-reset-4nmy7xas.js} +34 -34
- package/dist/cli/{hive-promoter-39xb4tx2.js → hive-promoter-w5tsgttc.js} +34 -34
- package/dist/cli/{index-tqw8w2n5.js → index-17yszqs5.js} +1 -1
- package/dist/cli/{index-qzvry1n1.js → index-289epdpc.js} +36 -36
- package/dist/cli/{index-7h94rfem.js → index-2dvk153d.js} +14 -12
- package/dist/cli/{index-p7hdp3rp.js → index-2rm5x9ps.js} +1 -1
- package/dist/cli/{index-xwbn7c8m.js → index-2v17wb75.js} +2 -2
- package/dist/cli/{index-y1zhpfk8.js → index-30f4fe30.js} +4 -4
- package/dist/cli/{index-n3pjcks8.js → index-359djbj1.js} +5 -5
- package/dist/cli/{index-4gmt79q9.js → index-4mpdy32j.js} +1 -1
- package/dist/cli/{index-afpkqsdb.js → index-52jfm5s0.js} +13 -6
- package/dist/cli/{index-6m24v15v.js → index-79sr3fd1.js} +2 -2
- package/dist/cli/{index-dh5th4jn.js → index-8hqkrd2j.js} +1 -1
- package/dist/cli/{index-3xyjvx24.js → index-8m12y79g.js} +11 -9
- package/dist/cli/{index-e6n7cemz.js → index-8n62bphd.js} +11 -7
- package/dist/cli/{index-hdakb4n9.js → index-9hy5q7gp.js} +15 -12
- package/dist/cli/{index-2k53pfnc.js → index-a5w71m8f.js} +4 -4
- package/dist/cli/{index-6rx1rdaq.js → index-a7rw4g4s.js} +1 -1
- package/dist/cli/{index-w6988bbc.js → index-aftapk6j.js} +75 -1
- package/dist/cli/{index-hwz46jj7.js → index-an89qzd9.js} +2074 -545
- package/dist/cli/{index-58be2gtd.js → index-apxaa755.js} +2 -2
- package/dist/cli/{index-j2svfhzk.js → index-axf65x87.js} +1 -1
- package/dist/cli/{index-g8wdekzz.js → index-bw7r2b2m.js} +2 -2
- package/dist/cli/{index-ajknebrc.js → index-c20gf089.js} +1 -1
- package/dist/cli/{index-ptsqnxwd.js → index-czr3jcg6.js} +20 -10
- package/dist/cli/{index-jre6tm3v.js → index-edm41q4j.js} +1 -1
- package/dist/cli/{index-r5hj3nfe.js → index-ejf6w8vw.js} +2 -2
- package/dist/cli/{index-c4ddtrqg.js → index-fywshabz.js} +6 -6
- package/dist/cli/{index-6be5caj8.js → index-hrkamw9q.js} +3 -3
- package/dist/cli/{index-f36hy1x4.js → index-hvk3zs62.js} +1 -1
- package/dist/cli/{index-5ebgzb5a.js → index-hwj25q9r.js} +78 -53
- package/dist/cli/{index-gn6ybsc4.js → index-jc9cxh90.js} +7 -7
- package/dist/cli/{index-e45htt92.js → index-jx9f4ke1.js} +1 -1
- package/dist/cli/{index-zycp24b9.js → index-mg43w8p2.js} +1 -1
- package/dist/cli/{index-0e9jh9c7.js → index-nb924ar6.js} +2 -2
- package/dist/cli/{index-k1ntjzmf.js → index-p04pa9c9.js} +1 -1
- package/dist/cli/{index-4fwbbad3.js → index-q1r1cfww.js} +46 -17
- package/dist/cli/{index-5ythtd9t.js → index-qkq56zyr.js} +11 -11
- package/dist/cli/{index-1v6vc90w.js → index-rkn17q5e.js} +3 -3
- package/dist/cli/{index-556ja8an.js → index-yzjaj53h.js} +9 -2
- package/dist/cli/index.js +34 -34
- package/dist/cli/{knowledge-escalator-eq07pcj3.js → knowledge-escalator-xdzmr31d.js} +10 -10
- package/dist/cli/{knowledge-events-rv9q9mkm.js → knowledge-events-1t1t0bv7.js} +8 -8
- package/dist/cli/{knowledge-link-dgvbqjqg.js → knowledge-link-1zykfk1p.js} +3 -3
- package/dist/cli/{knowledge-store-cxcr0ttk.js → knowledge-store-m2snb0xg.js} +4 -4
- package/dist/cli/{knowledge-validator-8qtd9ys0.js → knowledge-validator-tf7yq2pd.js} +6 -6
- package/dist/cli/{pending-delegations-dp3g8e7k.js → pending-delegations-jr8hwxrz.js} +11 -9
- package/dist/cli/{pr-subscriptions-3vx06rar.js → pr-subscriptions-ca1xmf9r.js} +13 -9
- package/dist/cli/{pr-workflow-gate-bbet0apk.js → pr-workflow-gate-fb1dj0zx.js} +34 -34
- package/dist/cli/{runner-0e3bjeev.js → runner-j3acybhs.js} +4 -4
- package/dist/cli/{scan-cursor-zwm0xng7.js → scan-cursor-3gdvy0ym.js} +5 -5
- package/dist/cli/{schema-ebfxgya0.js → schema-mzb1354k.js} +1 -1
- package/dist/cli/{scope-persistence-6c55akfz.js → scope-persistence-c4n21b5n.js} +14 -14
- package/dist/cli/{skill-generator-mv5jxzsh.js → skill-generator-dvpvwt8k.js} +12 -12
- package/dist/cli/{snapshot-coordination-init-n556wa18.js → snapshot-coordination-init-g7v63zcm.js} +34 -34
- package/dist/cli/{telemetry-a1yvjerj.js → telemetry-9h1z2w9d.js} +1 -1
- package/dist/cli/{worktree-collision-ownership-pp4z4z8p.js → worktree-collision-ownership-k15qrpy9.js} +9 -9
- package/dist/cli/{worktree-isolation-69hz9dgg.js → worktree-isolation-y7ec1pm5.js} +34 -34
- package/dist/commands/pr-monitor-status.d.ts +2 -0
- package/dist/commands/registry.d.ts +8 -0
- package/dist/commands/report.d.ts +36 -0
- package/dist/db/observability-event-store.d.ts +162 -0
- package/dist/git/pr.d.ts +23 -25
- package/dist/hooks/context-capsule-inject.d.ts +3 -0
- package/dist/index.d.ts +6 -1
- package/dist/index.js +522 -429
- package/dist/observability/catalog.d.ts +8 -4
- package/dist/sandbox/executor.d.ts +10 -0
- package/dist/sandbox/win32/runner-client.d.ts +7 -0
- package/dist/services/context-attribution.d.ts +69 -0
- package/dist/services/cost-accounting.d.ts +2 -0
- package/dist/telemetry.d.ts +10 -2
- package/opencode-swarm.schema.json +1 -1
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-fhbjwar0.js +0 -70
- package/dist/cli/guardrail-explain-1nfbtpgg.js +0 -71
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
handleGuardrailExplain
|
|
4
|
+
} from "./index-ejf6w8vw.js";
|
|
5
|
+
import"./index-an89qzd9.js";
|
|
6
|
+
import"./index-8d90gzaz.js";
|
|
7
|
+
import"./index-hvk3zs62.js";
|
|
8
|
+
import"./index-9hy5q7gp.js";
|
|
9
|
+
import"./index-p04pa9c9.js";
|
|
10
|
+
import"./index-qkq56zyr.js";
|
|
11
|
+
import"./index-17yszqs5.js";
|
|
12
|
+
import"./index-txdagbh7.js";
|
|
13
|
+
import"./index-cw912re7.js";
|
|
14
|
+
import"./index-hrkamw9q.js";
|
|
15
|
+
import"./index-359djbj1.js";
|
|
16
|
+
import"./index-bw7r2b2m.js";
|
|
17
|
+
import"./index-70ha9e09.js";
|
|
18
|
+
import"./index-8hqkrd2j.js";
|
|
19
|
+
import"./index-9ss2m4rs.js";
|
|
20
|
+
import"./index-czr3jcg6.js";
|
|
21
|
+
import"./index-zsrtt42s.js";
|
|
22
|
+
import"./index-2dvk153d.js";
|
|
23
|
+
import"./index-6chhqq2n.js";
|
|
24
|
+
import"./index-8bdk7124.js";
|
|
25
|
+
import"./index-b43rt5ph.js";
|
|
26
|
+
import"./index-q7sjgr1y.js";
|
|
27
|
+
import"./index-8n62bphd.js";
|
|
28
|
+
import"./index-2rm5x9ps.js";
|
|
29
|
+
import"./index-52jfm5s0.js";
|
|
30
|
+
import"./index-jc9cxh90.js";
|
|
31
|
+
import"./index-anxs69ad.js";
|
|
32
|
+
import"./index-z6xqpmqg.js";
|
|
33
|
+
import"./index-p612v1mv.js";
|
|
34
|
+
import"./index-a5w71m8f.js";
|
|
35
|
+
import"./index-c20gf089.js";
|
|
36
|
+
import"./index-rtry5xyf.js";
|
|
37
|
+
import"./index-apxaa755.js";
|
|
38
|
+
import"./index-3qf1vxtb.js";
|
|
39
|
+
import"./index-n832052r.js";
|
|
40
|
+
import"./index-8m12y79g.js";
|
|
41
|
+
import"./index-30f4fe30.js";
|
|
42
|
+
import"./index-2v17wb75.js";
|
|
43
|
+
import"./index-79sr3fd1.js";
|
|
44
|
+
import"./index-jx9f4ke1.js";
|
|
45
|
+
import"./index-aftapk6j.js";
|
|
46
|
+
import"./index-ry16d01s.js";
|
|
47
|
+
import"./index-n4fzmqz8.js";
|
|
48
|
+
import"./index-axf65x87.js";
|
|
49
|
+
import"./index-fywshabz.js";
|
|
50
|
+
import"./index-ae75rja9.js";
|
|
51
|
+
import"./index-a7rw4g4s.js";
|
|
52
|
+
import"./index-7qefgq4j.js";
|
|
53
|
+
import"./index-edm41q4j.js";
|
|
54
|
+
import"./index-gy0nyfbw.js";
|
|
55
|
+
import"./index-hwj25q9r.js";
|
|
56
|
+
import"./index-7g4c7s5r.js";
|
|
57
|
+
import"./index-mg43w8p2.js";
|
|
58
|
+
import"./index-9e6fdz2h.js";
|
|
59
|
+
import"./index-4rhhvd1a.js";
|
|
60
|
+
import"./index-nb924ar6.js";
|
|
61
|
+
import"./index-a0d4fp6r.js";
|
|
62
|
+
import"./index-zjygnfay.js";
|
|
63
|
+
import"./index-bk5tah7q.js";
|
|
64
|
+
import"./index-bpmtbmy9.js";
|
|
65
|
+
import"./index-q1r1cfww.js";
|
|
66
|
+
import"./index-yzjaj53h.js";
|
|
67
|
+
import"./index-zgwm4ryv.js";
|
|
68
|
+
import"./index-a76rekgs.js";
|
|
69
|
+
export {
|
|
70
|
+
handleGuardrailExplain
|
|
71
|
+
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailLog
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
4
|
+
} from "./index-4mpdy32j.js";
|
|
5
|
+
import"./index-9hy5q7gp.js";
|
|
6
6
|
import"./index-z6xqpmqg.js";
|
|
7
7
|
import"./index-p612v1mv.js";
|
|
8
|
-
import"./index-
|
|
9
|
-
import"./index-
|
|
10
|
-
import"./index-j2svfhzk.js";
|
|
8
|
+
import"./index-2v17wb75.js";
|
|
9
|
+
import"./index-axf65x87.js";
|
|
11
10
|
import"./index-7qefgq4j.js";
|
|
12
11
|
import"./index-gy0nyfbw.js";
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
12
|
+
import"./index-hwj25q9r.js";
|
|
13
|
+
import"./index-nb924ar6.js";
|
|
15
14
|
import"./index-a0d4fp6r.js";
|
|
16
15
|
import"./index-zjygnfay.js";
|
|
17
16
|
import"./index-bk5tah7q.js";
|
|
18
17
|
import"./index-bpmtbmy9.js";
|
|
18
|
+
import"./index-yzjaj53h.js";
|
|
19
19
|
import"./index-zgwm4ryv.js";
|
|
20
20
|
import"./index-a76rekgs.js";
|
|
21
21
|
export {
|
|
@@ -3,68 +3,68 @@ import {
|
|
|
3
3
|
getAgentSession,
|
|
4
4
|
getBlockingActionCircuit,
|
|
5
5
|
resetActionCircuitExternally
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-an89qzd9.js";
|
|
7
7
|
import"./index-8d90gzaz.js";
|
|
8
|
-
import"./index-
|
|
9
|
-
import"./index-
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
8
|
+
import"./index-hvk3zs62.js";
|
|
9
|
+
import"./index-9hy5q7gp.js";
|
|
10
|
+
import"./index-p04pa9c9.js";
|
|
11
|
+
import"./index-qkq56zyr.js";
|
|
12
|
+
import"./index-17yszqs5.js";
|
|
13
13
|
import"./index-txdagbh7.js";
|
|
14
14
|
import"./index-cw912re7.js";
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
15
|
+
import"./index-hrkamw9q.js";
|
|
16
|
+
import"./index-359djbj1.js";
|
|
17
|
+
import"./index-bw7r2b2m.js";
|
|
18
18
|
import"./index-70ha9e09.js";
|
|
19
|
-
import"./index-
|
|
19
|
+
import"./index-8hqkrd2j.js";
|
|
20
20
|
import"./index-9ss2m4rs.js";
|
|
21
|
-
import"./index-
|
|
21
|
+
import"./index-czr3jcg6.js";
|
|
22
22
|
import"./index-zsrtt42s.js";
|
|
23
|
-
import"./index-
|
|
23
|
+
import"./index-2dvk153d.js";
|
|
24
24
|
import"./index-6chhqq2n.js";
|
|
25
25
|
import"./index-8bdk7124.js";
|
|
26
26
|
import"./index-b43rt5ph.js";
|
|
27
27
|
import"./index-q7sjgr1y.js";
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
28
|
+
import"./index-8n62bphd.js";
|
|
29
|
+
import"./index-2rm5x9ps.js";
|
|
30
|
+
import"./index-52jfm5s0.js";
|
|
31
|
+
import"./index-jc9cxh90.js";
|
|
32
32
|
import"./index-anxs69ad.js";
|
|
33
33
|
import"./index-z6xqpmqg.js";
|
|
34
34
|
import"./index-p612v1mv.js";
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
35
|
+
import"./index-a5w71m8f.js";
|
|
36
|
+
import"./index-c20gf089.js";
|
|
37
37
|
import"./index-rtry5xyf.js";
|
|
38
|
-
import"./index-
|
|
38
|
+
import"./index-apxaa755.js";
|
|
39
39
|
import"./index-3qf1vxtb.js";
|
|
40
40
|
import"./index-n832052r.js";
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
44
|
-
import"./index-
|
|
45
|
-
import"./index-
|
|
46
|
-
import"./index-
|
|
47
|
-
import"./index-w6988bbc.js";
|
|
41
|
+
import"./index-8m12y79g.js";
|
|
42
|
+
import"./index-30f4fe30.js";
|
|
43
|
+
import"./index-2v17wb75.js";
|
|
44
|
+
import"./index-79sr3fd1.js";
|
|
45
|
+
import"./index-jx9f4ke1.js";
|
|
46
|
+
import"./index-aftapk6j.js";
|
|
48
47
|
import"./index-ry16d01s.js";
|
|
49
48
|
import"./index-n4fzmqz8.js";
|
|
50
|
-
import"./index-
|
|
51
|
-
import"./index-
|
|
49
|
+
import"./index-axf65x87.js";
|
|
50
|
+
import"./index-fywshabz.js";
|
|
52
51
|
import"./index-ae75rja9.js";
|
|
53
|
-
import"./index-
|
|
52
|
+
import"./index-a7rw4g4s.js";
|
|
54
53
|
import"./index-7qefgq4j.js";
|
|
55
|
-
import"./index-
|
|
54
|
+
import"./index-edm41q4j.js";
|
|
56
55
|
import"./index-gy0nyfbw.js";
|
|
57
|
-
import"./index-
|
|
56
|
+
import"./index-hwj25q9r.js";
|
|
58
57
|
import"./index-7g4c7s5r.js";
|
|
59
|
-
import"./index-
|
|
58
|
+
import"./index-mg43w8p2.js";
|
|
60
59
|
import"./index-9e6fdz2h.js";
|
|
61
60
|
import"./index-4rhhvd1a.js";
|
|
62
|
-
import"./index-
|
|
61
|
+
import"./index-nb924ar6.js";
|
|
63
62
|
import"./index-a0d4fp6r.js";
|
|
64
63
|
import"./index-zjygnfay.js";
|
|
65
64
|
import"./index-bk5tah7q.js";
|
|
66
65
|
import"./index-bpmtbmy9.js";
|
|
67
|
-
import"./index-
|
|
66
|
+
import"./index-q1r1cfww.js";
|
|
67
|
+
import"./index-yzjaj53h.js";
|
|
68
68
|
import"./index-zgwm4ryv.js";
|
|
69
69
|
import"./index-a76rekgs.js";
|
|
70
70
|
|
|
@@ -7,70 +7,70 @@ import {
|
|
|
7
7
|
isHiveEligible,
|
|
8
8
|
promoteFromSwarm,
|
|
9
9
|
promoteToHive
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-an89qzd9.js";
|
|
11
11
|
import"./index-8d90gzaz.js";
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
12
|
+
import"./index-hvk3zs62.js";
|
|
13
|
+
import"./index-9hy5q7gp.js";
|
|
14
|
+
import"./index-p04pa9c9.js";
|
|
15
|
+
import"./index-qkq56zyr.js";
|
|
16
|
+
import"./index-17yszqs5.js";
|
|
17
17
|
import"./index-txdagbh7.js";
|
|
18
18
|
import"./index-cw912re7.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
19
|
+
import"./index-hrkamw9q.js";
|
|
20
|
+
import"./index-359djbj1.js";
|
|
21
|
+
import"./index-bw7r2b2m.js";
|
|
22
22
|
import"./index-70ha9e09.js";
|
|
23
|
-
import"./index-
|
|
23
|
+
import"./index-8hqkrd2j.js";
|
|
24
24
|
import"./index-9ss2m4rs.js";
|
|
25
|
-
import"./index-
|
|
25
|
+
import"./index-czr3jcg6.js";
|
|
26
26
|
import"./index-zsrtt42s.js";
|
|
27
|
-
import"./index-
|
|
27
|
+
import"./index-2dvk153d.js";
|
|
28
28
|
import"./index-6chhqq2n.js";
|
|
29
29
|
import"./index-8bdk7124.js";
|
|
30
30
|
import"./index-b43rt5ph.js";
|
|
31
31
|
import"./index-q7sjgr1y.js";
|
|
32
|
-
import"./index-
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
32
|
+
import"./index-8n62bphd.js";
|
|
33
|
+
import"./index-2rm5x9ps.js";
|
|
34
|
+
import"./index-52jfm5s0.js";
|
|
35
|
+
import"./index-jc9cxh90.js";
|
|
36
36
|
import"./index-anxs69ad.js";
|
|
37
37
|
import"./index-z6xqpmqg.js";
|
|
38
38
|
import"./index-p612v1mv.js";
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
39
|
+
import"./index-a5w71m8f.js";
|
|
40
|
+
import"./index-c20gf089.js";
|
|
41
41
|
import"./index-rtry5xyf.js";
|
|
42
|
-
import"./index-
|
|
42
|
+
import"./index-apxaa755.js";
|
|
43
43
|
import"./index-3qf1vxtb.js";
|
|
44
44
|
import"./index-n832052r.js";
|
|
45
|
-
import"./index-
|
|
46
|
-
import"./index-
|
|
47
|
-
import"./index-
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
50
|
-
import"./index-
|
|
51
|
-
import"./index-w6988bbc.js";
|
|
45
|
+
import"./index-8m12y79g.js";
|
|
46
|
+
import"./index-30f4fe30.js";
|
|
47
|
+
import"./index-2v17wb75.js";
|
|
48
|
+
import"./index-79sr3fd1.js";
|
|
49
|
+
import"./index-jx9f4ke1.js";
|
|
50
|
+
import"./index-aftapk6j.js";
|
|
52
51
|
import"./index-ry16d01s.js";
|
|
53
52
|
import"./index-n4fzmqz8.js";
|
|
54
|
-
import"./index-
|
|
53
|
+
import"./index-axf65x87.js";
|
|
55
54
|
import {
|
|
56
55
|
resolveHiveKnowledgePath
|
|
57
|
-
} from "./index-
|
|
56
|
+
} from "./index-fywshabz.js";
|
|
58
57
|
import"./index-ae75rja9.js";
|
|
59
|
-
import"./index-
|
|
58
|
+
import"./index-a7rw4g4s.js";
|
|
60
59
|
import"./index-7qefgq4j.js";
|
|
61
|
-
import"./index-
|
|
60
|
+
import"./index-edm41q4j.js";
|
|
62
61
|
import"./index-gy0nyfbw.js";
|
|
63
|
-
import"./index-
|
|
62
|
+
import"./index-hwj25q9r.js";
|
|
64
63
|
import"./index-7g4c7s5r.js";
|
|
65
|
-
import"./index-
|
|
64
|
+
import"./index-mg43w8p2.js";
|
|
66
65
|
import"./index-9e6fdz2h.js";
|
|
67
66
|
import"./index-4rhhvd1a.js";
|
|
68
|
-
import"./index-
|
|
67
|
+
import"./index-nb924ar6.js";
|
|
69
68
|
import"./index-a0d4fp6r.js";
|
|
70
69
|
import"./index-zjygnfay.js";
|
|
71
70
|
import"./index-bk5tah7q.js";
|
|
72
71
|
import"./index-bpmtbmy9.js";
|
|
73
|
-
import"./index-
|
|
72
|
+
import"./index-q1r1cfww.js";
|
|
73
|
+
import"./index-yzjaj53h.js";
|
|
74
74
|
import"./index-zgwm4ryv.js";
|
|
75
75
|
import"./index-a76rekgs.js";
|
|
76
76
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-ejf6w8vw.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailLog
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-4mpdy32j.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMAND_REGISTRY,
|
|
10
10
|
SWARM_COMMAND_TOOL_ALLOWLIST,
|
|
@@ -94,66 +94,65 @@ import {
|
|
|
94
94
|
handleWriteRetroCommand,
|
|
95
95
|
normalizeSwarmCommandInput,
|
|
96
96
|
resolveCommand
|
|
97
|
-
} from "./index-
|
|
97
|
+
} from "./index-an89qzd9.js";
|
|
98
98
|
import"./index-8d90gzaz.js";
|
|
99
|
-
import"./index-
|
|
100
|
-
import"./index-
|
|
101
|
-
import"./index-
|
|
102
|
-
import"./index-
|
|
103
|
-
import"./index-
|
|
99
|
+
import"./index-hvk3zs62.js";
|
|
100
|
+
import"./index-9hy5q7gp.js";
|
|
101
|
+
import"./index-p04pa9c9.js";
|
|
102
|
+
import"./index-qkq56zyr.js";
|
|
103
|
+
import"./index-17yszqs5.js";
|
|
104
104
|
import"./index-txdagbh7.js";
|
|
105
105
|
import"./index-cw912re7.js";
|
|
106
|
-
import"./index-
|
|
107
|
-
import"./index-
|
|
108
|
-
import"./index-
|
|
106
|
+
import"./index-hrkamw9q.js";
|
|
107
|
+
import"./index-359djbj1.js";
|
|
108
|
+
import"./index-bw7r2b2m.js";
|
|
109
109
|
import"./index-70ha9e09.js";
|
|
110
|
-
import"./index-
|
|
110
|
+
import"./index-8hqkrd2j.js";
|
|
111
111
|
import"./index-9ss2m4rs.js";
|
|
112
|
-
import"./index-
|
|
112
|
+
import"./index-czr3jcg6.js";
|
|
113
113
|
import"./index-zsrtt42s.js";
|
|
114
|
-
import"./index-
|
|
114
|
+
import"./index-2dvk153d.js";
|
|
115
115
|
import"./index-6chhqq2n.js";
|
|
116
116
|
import"./index-8bdk7124.js";
|
|
117
117
|
import"./index-b43rt5ph.js";
|
|
118
118
|
import"./index-q7sjgr1y.js";
|
|
119
|
-
import"./index-
|
|
120
|
-
import"./index-
|
|
121
|
-
import"./index-
|
|
122
|
-
import"./index-
|
|
119
|
+
import"./index-8n62bphd.js";
|
|
120
|
+
import"./index-2rm5x9ps.js";
|
|
121
|
+
import"./index-52jfm5s0.js";
|
|
122
|
+
import"./index-jc9cxh90.js";
|
|
123
123
|
import"./index-anxs69ad.js";
|
|
124
124
|
import"./index-z6xqpmqg.js";
|
|
125
125
|
import"./index-p612v1mv.js";
|
|
126
|
-
import"./index-
|
|
127
|
-
import"./index-
|
|
126
|
+
import"./index-a5w71m8f.js";
|
|
127
|
+
import"./index-c20gf089.js";
|
|
128
128
|
import"./index-rtry5xyf.js";
|
|
129
|
-
import"./index-
|
|
129
|
+
import"./index-apxaa755.js";
|
|
130
130
|
import"./index-3qf1vxtb.js";
|
|
131
131
|
import"./index-n832052r.js";
|
|
132
|
-
import"./index-
|
|
133
|
-
import"./index-
|
|
134
|
-
import"./index-
|
|
135
|
-
import"./index-
|
|
136
|
-
import"./index-
|
|
137
|
-
import"./index-
|
|
138
|
-
import"./index-w6988bbc.js";
|
|
132
|
+
import"./index-8m12y79g.js";
|
|
133
|
+
import"./index-30f4fe30.js";
|
|
134
|
+
import"./index-2v17wb75.js";
|
|
135
|
+
import"./index-79sr3fd1.js";
|
|
136
|
+
import"./index-jx9f4ke1.js";
|
|
137
|
+
import"./index-aftapk6j.js";
|
|
139
138
|
import"./index-ry16d01s.js";
|
|
140
139
|
import"./index-n4fzmqz8.js";
|
|
141
|
-
import"./index-
|
|
142
|
-
import"./index-
|
|
140
|
+
import"./index-axf65x87.js";
|
|
141
|
+
import"./index-fywshabz.js";
|
|
143
142
|
import"./index-ae75rja9.js";
|
|
144
|
-
import"./index-
|
|
143
|
+
import"./index-a7rw4g4s.js";
|
|
145
144
|
import"./index-7qefgq4j.js";
|
|
146
|
-
import"./index-
|
|
145
|
+
import"./index-edm41q4j.js";
|
|
147
146
|
import"./index-gy0nyfbw.js";
|
|
148
|
-
import"./index-
|
|
147
|
+
import"./index-hwj25q9r.js";
|
|
149
148
|
import"./index-7g4c7s5r.js";
|
|
150
|
-
import"./index-
|
|
149
|
+
import"./index-mg43w8p2.js";
|
|
151
150
|
import"./index-9e6fdz2h.js";
|
|
152
151
|
import"./index-4rhhvd1a.js";
|
|
153
152
|
import {
|
|
154
153
|
init_schema,
|
|
155
154
|
stripKnownSwarmPrefix
|
|
156
|
-
} from "./index-
|
|
155
|
+
} from "./index-nb924ar6.js";
|
|
157
156
|
import {
|
|
158
157
|
AGENT_TOOL_MAP,
|
|
159
158
|
ORCHESTRATOR_NAME,
|
|
@@ -162,7 +161,8 @@ import {
|
|
|
162
161
|
import"./index-zjygnfay.js";
|
|
163
162
|
import"./index-bk5tah7q.js";
|
|
164
163
|
import"./index-bpmtbmy9.js";
|
|
165
|
-
import"./index-
|
|
164
|
+
import"./index-q1r1cfww.js";
|
|
165
|
+
import"./index-yzjaj53h.js";
|
|
166
166
|
import"./index-zgwm4ryv.js";
|
|
167
167
|
import"./index-a76rekgs.js";
|
|
168
168
|
|
|
@@ -14,22 +14,19 @@ import {
|
|
|
14
14
|
reconcileLandedMerge,
|
|
15
15
|
withTaskEvidenceTransaction,
|
|
16
16
|
writeWorkflowWalFile
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-8n62bphd.js";
|
|
18
18
|
import {
|
|
19
19
|
validateSwarmPath
|
|
20
20
|
} from "./index-anxs69ad.js";
|
|
21
21
|
import {
|
|
22
22
|
appendCoreEventSync
|
|
23
|
-
} from "./index-
|
|
24
|
-
import {
|
|
25
|
-
isPathWithinDeclaredScope
|
|
26
|
-
} from "./index-556ja8an.js";
|
|
23
|
+
} from "./index-2v17wb75.js";
|
|
27
24
|
import {
|
|
28
25
|
canonicalRootKeyFresh
|
|
29
26
|
} from "./index-7qefgq4j.js";
|
|
30
27
|
import {
|
|
31
28
|
tryAcquireLock
|
|
32
|
-
} from "./index-
|
|
29
|
+
} from "./index-edm41q4j.js";
|
|
33
30
|
import {
|
|
34
31
|
init_git_executable,
|
|
35
32
|
resolveGitExecutable
|
|
@@ -38,6 +35,10 @@ import {
|
|
|
38
35
|
advisoryWarn,
|
|
39
36
|
init_warning_buffer
|
|
40
37
|
} from "./index-4rhhvd1a.js";
|
|
38
|
+
import {
|
|
39
|
+
init_path_identity,
|
|
40
|
+
isPathWithinDeclaredScope
|
|
41
|
+
} from "./index-yzjaj53h.js";
|
|
41
42
|
import {
|
|
42
43
|
criticalWarn,
|
|
43
44
|
init_logger
|
|
@@ -93,6 +94,7 @@ function isMarkdownOnlyTaskChange(declaredFiles, observedFiles) {
|
|
|
93
94
|
}
|
|
94
95
|
|
|
95
96
|
// src/workflow/coder-settlement.ts
|
|
97
|
+
init_path_identity();
|
|
96
98
|
init_warning_buffer();
|
|
97
99
|
init_git_executable();
|
|
98
100
|
init_logger();
|
|
@@ -487,7 +489,7 @@ async function cleanupRecoveredWorktree(directory, descriptor) {
|
|
|
487
489
|
awaitingMergeByCallID,
|
|
488
490
|
cleanupStandardWorktreeForCallId,
|
|
489
491
|
standardWorktreeByCallID
|
|
490
|
-
} = await import("./worktree-isolation-
|
|
492
|
+
} = await import("./worktree-isolation-y7ec1pm5.js");
|
|
491
493
|
standardWorktreeByCallID.delete(descriptor.callID);
|
|
492
494
|
if (hasResidue)
|
|
493
495
|
awaitingMergeByCallID.set(descriptor.callID, {
|
|
@@ -581,7 +583,7 @@ async function recoverCoderSettlement(directory, taskId) {
|
|
|
581
583
|
const worktree = wal.worktree;
|
|
582
584
|
const observed2 = wal.observedFiles ?? scopedObservedFiles(worktree.worktreePath, wal.context);
|
|
583
585
|
if (observed2 === null) {
|
|
584
|
-
throw new Error(`CODER_SETTLEMENT_RECOVERY_UNCERTAIN: isolated task ${taskId} changes
|
|
586
|
+
throw new Error(`CODER_SETTLEMENT_RECOVERY_UNCERTAIN: transition ${wal.transitionId} for isolated task ${taskId} could not attribute worktree changes to the declared scope (${filePath}, state ${wal.state}). Run /swarm recover ${taskId} (or /swarm reset-session), then retry; do not remove the WAL by hand.`);
|
|
585
587
|
}
|
|
586
588
|
if (wal.mergeProvenance) {
|
|
587
589
|
const landed = await reconcileLandedMerge(directory, wal.mergeProvenance);
|
|
@@ -604,14 +606,14 @@ async function recoverCoderSettlement(directory, taskId) {
|
|
|
604
606
|
return committed2;
|
|
605
607
|
}
|
|
606
608
|
if (landed.error) {
|
|
607
|
-
throw new Error(`CODER_SETTLEMENT_RECOVERY_UNCERTAIN: ${landed.error}
|
|
609
|
+
throw new Error(`CODER_SETTLEMENT_RECOVERY_UNCERTAIN: transition ${wal.transitionId} for task ${taskId} could not reconcile the landed merge (${filePath}, state ${wal.state}): ${landed.error}. Run /swarm recover ${taskId} (or /swarm reset-session), then retry; do not remove the WAL by hand.`);
|
|
608
610
|
}
|
|
609
611
|
}
|
|
610
612
|
const {
|
|
611
613
|
awaitingMergeByCallID,
|
|
612
614
|
finishStandardWorktreeDispatch,
|
|
613
615
|
standardWorktreeByCallID
|
|
614
|
-
} = await import("./worktree-isolation-
|
|
616
|
+
} = await import("./worktree-isolation-y7ec1pm5.js");
|
|
615
617
|
const descriptor = wal.worktree;
|
|
616
618
|
const reconstructedDispatch = {
|
|
617
619
|
callID: descriptor.callID,
|
|
@@ -667,7 +669,7 @@ async function recoverCoderSettlement(directory, taskId) {
|
|
|
667
669
|
if (mergeResult.outcome === "failed" && mergeResult.stage === SOURCE_WORKTREE_GONE_STAGE && await selfHealMissingLaneWorktree(directory, filePath, taskId, wal.transitionId, descriptor, mergeResult.message)) {
|
|
668
670
|
return null;
|
|
669
671
|
}
|
|
670
|
-
throw new Error(`CODER_SETTLEMENT_MERGE_RECOVERY_REQUIRED: ${mergeResult.outcome === "failed"
|
|
672
|
+
throw new Error(`CODER_SETTLEMENT_MERGE_RECOVERY_REQUIRED: transition ${wal.transitionId} for task ${taskId} worktree merge-back did not reach merged (${filePath}, state ${wal.state}, outcome ${mergeResult.outcome}${mergeResult.outcome === "failed" && mergeResult.message ? `: ${mergeResult.message}` : ""}). Run /swarm recover ${taskId} (or /swarm reset-session), then retry; do not remove the WAL by hand.`);
|
|
671
673
|
}
|
|
672
674
|
await cleanupRecoveredWorktree(directory, descriptor);
|
|
673
675
|
const committedWal = await readWal(filePath, taskId);
|
|
@@ -696,7 +698,7 @@ async function recoverCoderSettlement(directory, taskId) {
|
|
|
696
698
|
observed = rawObserved.filter((filePath2) => isPathWithinDeclaredScope(filePath2, wal.context.declaredFiles ?? [], directory));
|
|
697
699
|
}
|
|
698
700
|
if (observed === null) {
|
|
699
|
-
throw new Error(`CODER_SETTLEMENT_RECOVERY_UNCERTAIN: task ${taskId} workspace changes could not be attributed
|
|
701
|
+
throw new Error(`CODER_SETTLEMENT_RECOVERY_UNCERTAIN: transition ${wal.transitionId} for task ${taskId} workspace changes could not be attributed to the declared scope (${filePath}, state ${wal.state}). Run /swarm recover ${taskId} (or /swarm reset-session), then retry; do not remove the WAL by hand.`);
|
|
700
702
|
}
|
|
701
703
|
wal = {
|
|
702
704
|
...wal,
|
|
@@ -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-c4n21b5n.js");
|
|
96
96
|
return realWrite(directory, taskId, files);
|
|
97
97
|
},
|
|
98
98
|
writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
import {
|
|
3
3
|
derivePlanId,
|
|
4
4
|
derivePlanIdentityHash
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-jx9f4ke1.js";
|
|
6
6
|
import {
|
|
7
7
|
assertProjectRoot,
|
|
8
8
|
withEvidenceLock
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-edm41q4j.js";
|
|
10
10
|
import {
|
|
11
11
|
emit
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-hwj25q9r.js";
|
|
13
13
|
import {
|
|
14
14
|
ExecutionProfileSchema,
|
|
15
15
|
PlanSchema,
|
|
16
16
|
TaskStatusSchema,
|
|
17
17
|
init_loader
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-mg43w8p2.js";
|
|
19
19
|
import {
|
|
20
20
|
criticalWarn,
|
|
21
21
|
init_logger,
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
queryHistoricalOutcomes,
|
|
4
4
|
readKnowledgeEvents,
|
|
5
5
|
recordKnowledgeEvent
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-jc9cxh90.js";
|
|
7
7
|
import {
|
|
8
8
|
jaccardBigram,
|
|
9
9
|
readKnowledge,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
resolveSwarmKnowledgePath,
|
|
12
12
|
transactKnowledge,
|
|
13
13
|
wordBigrams
|
|
14
|
-
} from "./index-
|
|
14
|
+
} from "./index-fywshabz.js";
|
|
15
15
|
import {
|
|
16
16
|
init_knowledge_types,
|
|
17
17
|
isActiveStatus
|
|
@@ -224,11 +224,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
|
|
|
224
224
|
alreadyInactive: true
|
|
225
225
|
};
|
|
226
226
|
}
|
|
227
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
227
|
+
const { quarantineEntry } = await import("./knowledge-validator-tf7yq2pd.js");
|
|
228
228
|
let policyConfig;
|
|
229
229
|
try {
|
|
230
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
231
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
230
|
+
const { KnowledgeConfigSchema } = await import("./schema-mzb1354k.js");
|
|
231
|
+
const { loadPluginConfigWithMeta } = await import("./index-rkn17q5e.js");
|
|
232
232
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
233
233
|
policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
234
234
|
} catch {
|