opencode-swarm 7.169.0 → 7.170.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/README.md +1 -0
- package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
- package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
- package/dist/ci/evaluate.d.ts +100 -0
- package/dist/ci/index.d.ts +13 -0
- package/dist/ci/quality-checks.d.ts +58 -0
- package/dist/ci/report.d.ts +21 -0
- package/dist/ci/runtime.d.ts +81 -0
- package/dist/cli/{capability-probe-faqefhah.js → capability-probe-pdwwz8gs.js} +1 -1
- package/dist/cli/{coder-settlement-fd6ba876.js → coder-settlement-65zx1bet.js} +3 -3
- package/dist/cli/{config-doctor-zeppqwwx.js → config-doctor-c30rss1c.js} +2 -2
- package/dist/cli/{core-fj1afc31.js → core-8wkbr1tr.js} +1 -1
- package/dist/cli/{curator-llm-factory-4t773tmz.js → curator-llm-factory-jkjqasfs.js} +20 -20
- package/dist/cli/{curator-emftndv0.js → curator-pckzk1q4.js} +20 -20
- package/dist/cli/{evidence-summary-service-51b69jc3.js → evidence-summary-service-4ydcapke.js} +7 -7
- package/dist/cli/{gate-evidence-53s161wb.js → gate-evidence-xwqfky3m.js} +2 -2
- package/dist/cli/{guardrail-explain-mhx8gt8q.js → guardrail-explain-fe2veh2s.js} +21 -21
- package/dist/cli/{guardrail-log-xg6hrdsq.js → guardrail-log-z38j69bx.js} +3 -3
- package/dist/cli/{guardrail-reset-fgv5kt5x.js → guardrail-reset-mmnzt4mz.js} +20 -20
- package/dist/cli/{hive-promoter-41zygtgx.js → hive-promoter-68hrw1y1.js} +20 -20
- package/dist/cli/{index-sxcfszbe.js → index-06rbdzqn.js} +1 -1
- package/dist/cli/{index-ksybszed.js → index-0xprxg95.js} +1 -1
- package/dist/cli/{index-2znfa537.js → index-31sqcdsd.js} +1 -1
- package/dist/cli/{index-p6xsgk4r.js → index-3axdtaf0.js} +2 -2
- package/dist/cli/{index-nwv3e3kc.js → index-3eh2n3dx.js} +1 -1
- package/dist/cli/{index-zapc8vj4.js → index-3p3y55xg.js} +4 -4
- package/dist/cli/{index-yj24ny5k.js → index-4wc5gfgm.js} +1 -1
- package/dist/cli/{index-wwr67xc0.js → index-59fcfpkh.js} +1 -1
- package/dist/cli/{index-sb1s03y9.js → index-5bbem0ey.js} +3 -3
- package/dist/cli/{index-q1r1cfww.js → index-76qm2c2y.js} +37 -26
- package/dist/cli/{index-0vgs5r39.js → index-8w1mrvbd.js} +3 -3
- package/dist/cli/{index-c7kr7tnk.js → index-9xk97bcf.js} +3 -3
- package/dist/cli/{index-3zcds757.js → index-j144fgk8.js} +3370 -2498
- package/dist/cli/{index-s96dpjsk.js → index-mjn6aqqk.js} +2 -2
- package/dist/cli/{index-1cbjemgh.js → index-n0d5hrs4.js} +2 -2
- package/dist/cli/{index-dd48vt27.js → index-p6fj7qz7.js} +3 -3
- package/dist/cli/{index-83m0y4cj.js → index-pw00xcj0.js} +3 -3
- package/dist/cli/{index-55fkkjec.js → index-r1z8nrb6.js} +5 -5
- package/dist/cli/{index-76ng6vmq.js → index-ssx8087p.js} +4 -4
- package/dist/cli/{index-exf0j569.js → index-t73888m0.js} +1 -1
- package/dist/cli/{index-3bfzpzsb.js → index-td6xrw55.js} +1 -1
- package/dist/cli/{index-8x9keek6.js → index-xztkjj3c.js} +28 -22
- package/dist/cli/{index-egkc2bpv.js → index-ye43mdfm.js} +1 -1
- package/dist/cli/{index-e4dxf5cr.js → index-z5vas8c3.js} +20 -20
- package/dist/cli/{index-5reh1bjz.js → index-zw3hkzch.js} +1 -1
- package/dist/cli/index.js +25 -20
- package/dist/cli/{knowledge-escalator-07s44av0.js → knowledge-escalator-pz2faktx.js} +6 -6
- package/dist/cli/{knowledge-events-j2n1569p.js → knowledge-events-s6s8qedx.js} +4 -4
- package/dist/cli/{knowledge-store-85metj89.js → knowledge-store-dgv3xw3h.js} +1 -1
- package/dist/cli/{knowledge-validator-63k1xzcc.js → knowledge-validator-22qppdyv.js} +2 -2
- package/dist/cli/{pending-delegations-dckmjymn.js → pending-delegations-4r21nf9d.js} +2 -2
- package/dist/cli/{pr-subscriptions-pyh73me6.js → pr-subscriptions-d52xy3zd.js} +1 -1
- package/dist/cli/{pr-workflow-gate-k1r4rjw4.js → pr-workflow-gate-0de81kzw.js} +20 -20
- package/dist/cli/{scan-cursor-k6egg4n0.js → scan-cursor-ahbbejab.js} +2 -2
- package/dist/cli/{schema-vdrtpggt.js → schema-17h2hcw9.js} +1 -1
- package/dist/cli/{scope-persistence-h1mmww19.js → scope-persistence-gcn3zm5e.js} +5 -5
- package/dist/cli/{skill-generator-pmn6gmvk.js → skill-generator-hkqr5qs7.js} +7 -7
- package/dist/cli/{snapshot-coordination-init-rspykgd0.js → snapshot-coordination-init-ms36zxv6.js} +20 -20
- package/dist/cli/{worktree-collision-ownership-x84dzzzc.js → worktree-collision-ownership-7v7gg511.js} +2 -2
- package/dist/cli/{worktree-isolation-nw9pakkx.js → worktree-isolation-nanamt25.js} +20 -20
- package/dist/commands/ci.d.ts +40 -0
- package/dist/commands/index.d.ts +1 -0
- package/dist/commands/registry.d.ts +8 -0
- package/dist/hooks/gate-denial-tracker.d.ts +18 -14
- package/dist/index.js +436 -434
- package/dist/sandbox/macos/sandbox-exec-executor.d.ts +48 -11
- package/package.json +1 -1
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
4
|
+
} from "./index-n0d5hrs4.js";
|
|
5
|
+
import"./index-j144fgk8.js";
|
|
6
6
|
import"./index-5400m33a.js";
|
|
7
7
|
import"./index-7h01bkm6.js";
|
|
8
|
-
import"./index-
|
|
8
|
+
import"./index-zw3hkzch.js";
|
|
9
9
|
import"./index-cgpwjctj.js";
|
|
10
|
-
import"./index-
|
|
11
|
-
import"./index-
|
|
10
|
+
import"./index-ye43mdfm.js";
|
|
11
|
+
import"./index-3p3y55xg.js";
|
|
12
12
|
import"./index-xnpjwc4h.js";
|
|
13
13
|
import"./index-txdagbh7.js";
|
|
14
14
|
import"./index-9br68j86.js";
|
|
15
15
|
import"./index-cw912re7.js";
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
16
|
+
import"./index-9xk97bcf.js";
|
|
17
|
+
import"./index-r1z8nrb6.js";
|
|
18
|
+
import"./index-3eh2n3dx.js";
|
|
19
19
|
import"./index-fyfbpz4f.js";
|
|
20
20
|
import"./index-gfbggp8k.js";
|
|
21
21
|
import"./index-0hgmsyfp.js";
|
|
22
22
|
import"./index-zsrtt42s.js";
|
|
23
|
-
import"./index-
|
|
23
|
+
import"./index-5bbem0ey.js";
|
|
24
24
|
import"./index-fhh02gwx.js";
|
|
25
25
|
import"./index-nyn01yrz.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-06rbdzqn.js";
|
|
29
|
+
import"./index-59fcfpkh.js";
|
|
30
|
+
import"./index-0xprxg95.js";
|
|
31
|
+
import"./index-8w1mrvbd.js";
|
|
32
32
|
import"./index-b3pmzbh1.js";
|
|
33
33
|
import"./index-2s7dvzff.js";
|
|
34
|
-
import"./index-
|
|
34
|
+
import"./index-31sqcdsd.js";
|
|
35
35
|
import"./index-bm5xrfnx.js";
|
|
36
36
|
import"./index-rtry5xyf.js";
|
|
37
|
-
import"./index-
|
|
37
|
+
import"./index-mjn6aqqk.js";
|
|
38
38
|
import"./index-3qf1vxtb.js";
|
|
39
39
|
import"./index-n832052r.js";
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
40
|
+
import"./index-3axdtaf0.js";
|
|
41
|
+
import"./index-pw00xcj0.js";
|
|
42
42
|
import"./index-fgp96k3r.js";
|
|
43
43
|
import"./index-br3mvbsa.js";
|
|
44
44
|
import"./index-bernkwgf.js";
|
|
@@ -46,7 +46,7 @@ import"./index-dvbf6fpn.js";
|
|
|
46
46
|
import"./index-rdm3px0g.js";
|
|
47
47
|
import"./index-ry16d01s.js";
|
|
48
48
|
import"./index-5qt9yf5w.js";
|
|
49
|
-
import"./index-
|
|
49
|
+
import"./index-ssx8087p.js";
|
|
50
50
|
import"./index-vzm6zre7.js";
|
|
51
51
|
import"./index-ae75rja9.js";
|
|
52
52
|
import"./index-9ttqbhvw.js";
|
|
@@ -56,15 +56,15 @@ import"./index-nprdr0sm.js";
|
|
|
56
56
|
import"./index-nbdmdyke.js";
|
|
57
57
|
import"./index-1xnse449.js";
|
|
58
58
|
import"./index-ee6ydtfe.js";
|
|
59
|
-
import"./index-
|
|
59
|
+
import"./index-td6xrw55.js";
|
|
60
60
|
import"./index-0mhftbpp.js";
|
|
61
61
|
import"./index-a1w58b47.js";
|
|
62
|
-
import"./index-
|
|
62
|
+
import"./index-4wc5gfgm.js";
|
|
63
63
|
import"./index-sxt7fgcw.js";
|
|
64
64
|
import"./index-bk5tah7q.js";
|
|
65
65
|
import"./index-bpmtbmy9.js";
|
|
66
66
|
import"./index-zpsr8rpc.js";
|
|
67
|
-
import"./index-
|
|
67
|
+
import"./index-76qm2c2y.js";
|
|
68
68
|
import"./index-yzjaj53h.js";
|
|
69
69
|
import"./index-zgwm4ryv.js";
|
|
70
70
|
import"./index-a76rekgs.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailLog
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
4
|
+
} from "./index-t73888m0.js";
|
|
5
|
+
import"./index-zw3hkzch.js";
|
|
6
6
|
import"./index-2s7dvzff.js";
|
|
7
7
|
import"./index-fgp96k3r.js";
|
|
8
8
|
import"./index-5qt9yf5w.js";
|
|
@@ -10,7 +10,7 @@ import"./index-nprdr0sm.js";
|
|
|
10
10
|
import"./index-nbdmdyke.js";
|
|
11
11
|
import"./index-1xnse449.js";
|
|
12
12
|
import"./index-ee6ydtfe.js";
|
|
13
|
-
import"./index-
|
|
13
|
+
import"./index-4wc5gfgm.js";
|
|
14
14
|
import"./index-sxt7fgcw.js";
|
|
15
15
|
import"./index-bk5tah7q.js";
|
|
16
16
|
import"./index-bpmtbmy9.js";
|
|
@@ -3,43 +3,43 @@ import {
|
|
|
3
3
|
getAgentSession,
|
|
4
4
|
getBlockingActionCircuit,
|
|
5
5
|
resetActionCircuitExternally
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-j144fgk8.js";
|
|
7
7
|
import"./index-5400m33a.js";
|
|
8
8
|
import"./index-7h01bkm6.js";
|
|
9
|
-
import"./index-
|
|
9
|
+
import"./index-zw3hkzch.js";
|
|
10
10
|
import"./index-cgpwjctj.js";
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
11
|
+
import"./index-ye43mdfm.js";
|
|
12
|
+
import"./index-3p3y55xg.js";
|
|
13
13
|
import"./index-xnpjwc4h.js";
|
|
14
14
|
import"./index-txdagbh7.js";
|
|
15
15
|
import"./index-9br68j86.js";
|
|
16
16
|
import"./index-cw912re7.js";
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
17
|
+
import"./index-9xk97bcf.js";
|
|
18
|
+
import"./index-r1z8nrb6.js";
|
|
19
|
+
import"./index-3eh2n3dx.js";
|
|
20
20
|
import"./index-fyfbpz4f.js";
|
|
21
21
|
import"./index-gfbggp8k.js";
|
|
22
22
|
import"./index-0hgmsyfp.js";
|
|
23
23
|
import"./index-zsrtt42s.js";
|
|
24
|
-
import"./index-
|
|
24
|
+
import"./index-5bbem0ey.js";
|
|
25
25
|
import"./index-fhh02gwx.js";
|
|
26
26
|
import"./index-nyn01yrz.js";
|
|
27
27
|
import"./index-b43rt5ph.js";
|
|
28
28
|
import"./index-q7sjgr1y.js";
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
29
|
+
import"./index-06rbdzqn.js";
|
|
30
|
+
import"./index-59fcfpkh.js";
|
|
31
|
+
import"./index-0xprxg95.js";
|
|
32
|
+
import"./index-8w1mrvbd.js";
|
|
33
33
|
import"./index-b3pmzbh1.js";
|
|
34
34
|
import"./index-2s7dvzff.js";
|
|
35
|
-
import"./index-
|
|
35
|
+
import"./index-31sqcdsd.js";
|
|
36
36
|
import"./index-bm5xrfnx.js";
|
|
37
37
|
import"./index-rtry5xyf.js";
|
|
38
|
-
import"./index-
|
|
38
|
+
import"./index-mjn6aqqk.js";
|
|
39
39
|
import"./index-3qf1vxtb.js";
|
|
40
40
|
import"./index-n832052r.js";
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
41
|
+
import"./index-3axdtaf0.js";
|
|
42
|
+
import"./index-pw00xcj0.js";
|
|
43
43
|
import"./index-fgp96k3r.js";
|
|
44
44
|
import"./index-br3mvbsa.js";
|
|
45
45
|
import"./index-bernkwgf.js";
|
|
@@ -47,7 +47,7 @@ import"./index-dvbf6fpn.js";
|
|
|
47
47
|
import"./index-rdm3px0g.js";
|
|
48
48
|
import"./index-ry16d01s.js";
|
|
49
49
|
import"./index-5qt9yf5w.js";
|
|
50
|
-
import"./index-
|
|
50
|
+
import"./index-ssx8087p.js";
|
|
51
51
|
import"./index-vzm6zre7.js";
|
|
52
52
|
import"./index-ae75rja9.js";
|
|
53
53
|
import"./index-9ttqbhvw.js";
|
|
@@ -57,15 +57,15 @@ import"./index-nprdr0sm.js";
|
|
|
57
57
|
import"./index-nbdmdyke.js";
|
|
58
58
|
import"./index-1xnse449.js";
|
|
59
59
|
import"./index-ee6ydtfe.js";
|
|
60
|
-
import"./index-
|
|
60
|
+
import"./index-td6xrw55.js";
|
|
61
61
|
import"./index-0mhftbpp.js";
|
|
62
62
|
import"./index-a1w58b47.js";
|
|
63
|
-
import"./index-
|
|
63
|
+
import"./index-4wc5gfgm.js";
|
|
64
64
|
import"./index-sxt7fgcw.js";
|
|
65
65
|
import"./index-bk5tah7q.js";
|
|
66
66
|
import"./index-bpmtbmy9.js";
|
|
67
67
|
import"./index-zpsr8rpc.js";
|
|
68
|
-
import"./index-
|
|
68
|
+
import"./index-76qm2c2y.js";
|
|
69
69
|
import"./index-yzjaj53h.js";
|
|
70
70
|
import"./index-zgwm4ryv.js";
|
|
71
71
|
import"./index-a76rekgs.js";
|
|
@@ -7,43 +7,43 @@ import {
|
|
|
7
7
|
isHiveEligible,
|
|
8
8
|
promoteFromSwarm,
|
|
9
9
|
promoteToHive
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-j144fgk8.js";
|
|
11
11
|
import"./index-5400m33a.js";
|
|
12
12
|
import"./index-7h01bkm6.js";
|
|
13
|
-
import"./index-
|
|
13
|
+
import"./index-zw3hkzch.js";
|
|
14
14
|
import"./index-cgpwjctj.js";
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
15
|
+
import"./index-ye43mdfm.js";
|
|
16
|
+
import"./index-3p3y55xg.js";
|
|
17
17
|
import"./index-xnpjwc4h.js";
|
|
18
18
|
import"./index-txdagbh7.js";
|
|
19
19
|
import"./index-9br68j86.js";
|
|
20
20
|
import"./index-cw912re7.js";
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
21
|
+
import"./index-9xk97bcf.js";
|
|
22
|
+
import"./index-r1z8nrb6.js";
|
|
23
|
+
import"./index-3eh2n3dx.js";
|
|
24
24
|
import"./index-fyfbpz4f.js";
|
|
25
25
|
import"./index-gfbggp8k.js";
|
|
26
26
|
import"./index-0hgmsyfp.js";
|
|
27
27
|
import"./index-zsrtt42s.js";
|
|
28
|
-
import"./index-
|
|
28
|
+
import"./index-5bbem0ey.js";
|
|
29
29
|
import"./index-fhh02gwx.js";
|
|
30
30
|
import"./index-nyn01yrz.js";
|
|
31
31
|
import"./index-b43rt5ph.js";
|
|
32
32
|
import"./index-q7sjgr1y.js";
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
33
|
+
import"./index-06rbdzqn.js";
|
|
34
|
+
import"./index-59fcfpkh.js";
|
|
35
|
+
import"./index-0xprxg95.js";
|
|
36
|
+
import"./index-8w1mrvbd.js";
|
|
37
37
|
import"./index-b3pmzbh1.js";
|
|
38
38
|
import"./index-2s7dvzff.js";
|
|
39
|
-
import"./index-
|
|
39
|
+
import"./index-31sqcdsd.js";
|
|
40
40
|
import"./index-bm5xrfnx.js";
|
|
41
41
|
import"./index-rtry5xyf.js";
|
|
42
|
-
import"./index-
|
|
42
|
+
import"./index-mjn6aqqk.js";
|
|
43
43
|
import"./index-3qf1vxtb.js";
|
|
44
44
|
import"./index-n832052r.js";
|
|
45
|
-
import"./index-
|
|
46
|
-
import"./index-
|
|
45
|
+
import"./index-3axdtaf0.js";
|
|
46
|
+
import"./index-pw00xcj0.js";
|
|
47
47
|
import"./index-fgp96k3r.js";
|
|
48
48
|
import"./index-br3mvbsa.js";
|
|
49
49
|
import"./index-bernkwgf.js";
|
|
@@ -53,7 +53,7 @@ import"./index-ry16d01s.js";
|
|
|
53
53
|
import"./index-5qt9yf5w.js";
|
|
54
54
|
import {
|
|
55
55
|
resolveHiveKnowledgePath
|
|
56
|
-
} from "./index-
|
|
56
|
+
} from "./index-ssx8087p.js";
|
|
57
57
|
import"./index-vzm6zre7.js";
|
|
58
58
|
import"./index-ae75rja9.js";
|
|
59
59
|
import"./index-9ttqbhvw.js";
|
|
@@ -63,15 +63,15 @@ import"./index-nprdr0sm.js";
|
|
|
63
63
|
import"./index-nbdmdyke.js";
|
|
64
64
|
import"./index-1xnse449.js";
|
|
65
65
|
import"./index-ee6ydtfe.js";
|
|
66
|
-
import"./index-
|
|
66
|
+
import"./index-td6xrw55.js";
|
|
67
67
|
import"./index-0mhftbpp.js";
|
|
68
68
|
import"./index-a1w58b47.js";
|
|
69
|
-
import"./index-
|
|
69
|
+
import"./index-4wc5gfgm.js";
|
|
70
70
|
import"./index-sxt7fgcw.js";
|
|
71
71
|
import"./index-bk5tah7q.js";
|
|
72
72
|
import"./index-bpmtbmy9.js";
|
|
73
73
|
import"./index-zpsr8rpc.js";
|
|
74
|
-
import"./index-
|
|
74
|
+
import"./index-76qm2c2y.js";
|
|
75
75
|
import"./index-yzjaj53h.js";
|
|
76
76
|
import"./index-zgwm4ryv.js";
|
|
77
77
|
import"./index-a76rekgs.js";
|
|
@@ -4524,7 +4524,7 @@ async function reconcileLegacyCoderSettlements(directory, maxRecords, onReconcil
|
|
|
4524
4524
|
const candidates = readDelegations(directory).filter((record) => record.normalizedAgent === "coder" && Boolean(record.legacyCoderSettlementTransfer) && Boolean(record.terminalResult)).slice(0, maxRecords);
|
|
4525
4525
|
if (candidates.length === 0)
|
|
4526
4526
|
return 0;
|
|
4527
|
-
const { transferCoderSettlementToBackground } = await import("./coder-settlement-
|
|
4527
|
+
const { transferCoderSettlementToBackground } = await import("./coder-settlement-65zx1bet.js");
|
|
4528
4528
|
let transferred = 0;
|
|
4529
4529
|
for (const record of candidates) {
|
|
4530
4530
|
try {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
computePlanStructureHash
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-pw00xcj0.js";
|
|
5
5
|
import {
|
|
6
6
|
appendCoreEventSync
|
|
7
7
|
} from "./index-fgp96k3r.js";
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
} from "./index-nbdmdyke.js";
|
|
34
34
|
import {
|
|
35
35
|
PlanSchema
|
|
36
|
-
} from "./index-
|
|
36
|
+
} from "./index-td6xrw55.js";
|
|
37
37
|
import {
|
|
38
38
|
init_path_identity,
|
|
39
39
|
unsafePathTextReason
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
readTaskEvidence,
|
|
24
24
|
readTaskEvidenceRaw,
|
|
25
25
|
sanitizeTaskId
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-06rbdzqn.js";
|
|
27
27
|
import {
|
|
28
28
|
estimateCharsForTokens,
|
|
29
29
|
estimateTokens,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
replayFromLedgerWithStatus,
|
|
59
59
|
takeSnapshotEvent,
|
|
60
60
|
takeSnapshotWithRetry
|
|
61
|
-
} from "./index-
|
|
61
|
+
} from "./index-pw00xcj0.js";
|
|
62
62
|
import {
|
|
63
63
|
appendCoreEventSync
|
|
64
64
|
} from "./index-fgp96k3r.js";
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
} from "./index-1xnse449.js";
|
|
95
95
|
import {
|
|
96
96
|
PlanSchema
|
|
97
|
-
} from "./index-
|
|
97
|
+
} from "./index-td6xrw55.js";
|
|
98
98
|
import {
|
|
99
99
|
GIT_BINARY_ENV_VAR,
|
|
100
100
|
describeGitResolution,
|
|
@@ -109,7 +109,7 @@ import {
|
|
|
109
109
|
init_executor,
|
|
110
110
|
isUntrustedEnvKey,
|
|
111
111
|
isValidEnvKey
|
|
112
|
-
} from "./index-
|
|
112
|
+
} from "./index-76qm2c2y.js";
|
|
113
113
|
import {
|
|
114
114
|
criticalWarn,
|
|
115
115
|
error,
|
|
@@ -21,7 +21,7 @@ var package_default;
|
|
|
21
21
|
var init_package = __esm(() => {
|
|
22
22
|
package_default = {
|
|
23
23
|
name: "opencode-swarm",
|
|
24
|
-
version: "7.
|
|
24
|
+
version: "7.170.0",
|
|
25
25
|
description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
|
|
26
26
|
main: "dist/index.js",
|
|
27
27
|
types: "dist/index.d.ts",
|
|
@@ -244,7 +244,7 @@ var _internals2 = {
|
|
|
244
244
|
symlinkSync: fs2.symlinkSync
|
|
245
245
|
},
|
|
246
246
|
writeScopeToDisk: async (directory, taskId, files) => {
|
|
247
|
-
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-
|
|
247
|
+
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-gcn3zm5e.js");
|
|
248
248
|
return realWrite(directory, taskId, files);
|
|
249
249
|
},
|
|
250
250
|
writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
reconcileLandedMerge,
|
|
15
15
|
withTaskEvidenceTransaction,
|
|
16
16
|
writeWorkflowWalFile
|
|
17
|
-
} from "./index-
|
|
17
|
+
} from "./index-06rbdzqn.js";
|
|
18
18
|
import {
|
|
19
19
|
validateSwarmPath
|
|
20
20
|
} from "./index-b3pmzbh1.js";
|
|
@@ -489,7 +489,7 @@ async function cleanupRecoveredWorktree(directory, descriptor) {
|
|
|
489
489
|
awaitingMergeByCallID,
|
|
490
490
|
cleanupStandardWorktreeForCallId,
|
|
491
491
|
standardWorktreeByCallID
|
|
492
|
-
} = await import("./worktree-isolation-
|
|
492
|
+
} = await import("./worktree-isolation-nanamt25.js");
|
|
493
493
|
standardWorktreeByCallID.delete(descriptor.callID);
|
|
494
494
|
if (hasResidue)
|
|
495
495
|
awaitingMergeByCallID.set(descriptor.callID, {
|
|
@@ -613,7 +613,7 @@ async function recoverCoderSettlement(directory, taskId) {
|
|
|
613
613
|
awaitingMergeByCallID,
|
|
614
614
|
finishStandardWorktreeDispatch,
|
|
615
615
|
standardWorktreeByCallID
|
|
616
|
-
} = await import("./worktree-isolation-
|
|
616
|
+
} = await import("./worktree-isolation-nanamt25.js");
|
|
617
617
|
const descriptor = wal.worktree;
|
|
618
618
|
const reconstructedDispatch = {
|
|
619
619
|
callID: descriptor.callID,
|
|
@@ -47,9 +47,7 @@ function buildProbeProfile(tempDir) {
|
|
|
47
47
|
return `(version 1)
|
|
48
48
|
(allow default)
|
|
49
49
|
(deny file-write*)
|
|
50
|
-
(allow file-write* (subpath "${sbplEscapePath(tempDir)}"))
|
|
51
|
-
(setenv SWARM_SANDBOX_PROBE "1")
|
|
52
|
-
(unsetenv SWARM_SANDBOX_PROBE)`;
|
|
50
|
+
(allow file-write* (subpath "${sbplEscapePath(tempDir)}"))`;
|
|
53
51
|
}
|
|
54
52
|
function probeSandboxExec() {
|
|
55
53
|
try {
|
|
@@ -96,6 +94,32 @@ function resetProbeMemo() {
|
|
|
96
94
|
function shellEscape(s) {
|
|
97
95
|
return s.replace(/'/g, "'\\''");
|
|
98
96
|
}
|
|
97
|
+
function buildEnvOverridePrefix(envOverrides) {
|
|
98
|
+
if (!envOverrides) {
|
|
99
|
+
return "";
|
|
100
|
+
}
|
|
101
|
+
const unsetKeys = [];
|
|
102
|
+
const exportLines = [];
|
|
103
|
+
for (const [key, value] of Object.entries(envOverrides)) {
|
|
104
|
+
if (!isValidEnvKey(key)) {
|
|
105
|
+
continue;
|
|
106
|
+
}
|
|
107
|
+
if (value === null) {
|
|
108
|
+
unsetKeys.push(key);
|
|
109
|
+
} else {
|
|
110
|
+
exportLines.push(`export ${key}='${shellEscape(value)}'`);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
const parts = [];
|
|
114
|
+
if (unsetKeys.length > 0) {
|
|
115
|
+
parts.push(`unset ${unsetKeys.join(" ")}`);
|
|
116
|
+
}
|
|
117
|
+
parts.push(...exportLines);
|
|
118
|
+
if (parts.length === 0) {
|
|
119
|
+
return "";
|
|
120
|
+
}
|
|
121
|
+
return `${parts.join("; ")}; `;
|
|
122
|
+
}
|
|
99
123
|
function sbplEscapePath(path2) {
|
|
100
124
|
const withoutControlChars = path2.split("").filter((ch) => {
|
|
101
125
|
const cp = ch.codePointAt(0);
|
|
@@ -103,27 +127,13 @@ function sbplEscapePath(path2) {
|
|
|
103
127
|
}).join("");
|
|
104
128
|
return withoutControlChars.replace(/\\/g, "\\\\").replace(/"/g, "\\\"");
|
|
105
129
|
}
|
|
106
|
-
function buildSandboxProfile(scopePaths, tempDir
|
|
130
|
+
function buildSandboxProfile(scopePaths, tempDir) {
|
|
107
131
|
const rwPaths = [...scopePaths];
|
|
108
132
|
if (tempDir) {
|
|
109
133
|
rwPaths.push(tempDir);
|
|
110
134
|
}
|
|
111
135
|
const rwAllowLines = rwPaths.map((p) => `(allow file-write* (subpath "${sbplEscapePath(p)}"))`).join(`
|
|
112
136
|
`);
|
|
113
|
-
const envLines = [];
|
|
114
|
-
if (envOverrides) {
|
|
115
|
-
for (const [key, value] of Object.entries(envOverrides)) {
|
|
116
|
-
if (!isValidEnvKey(key)) {
|
|
117
|
-
continue;
|
|
118
|
-
}
|
|
119
|
-
if (value === null) {
|
|
120
|
-
envLines.push(`(unsetenv ${key})`);
|
|
121
|
-
} else {
|
|
122
|
-
const escaped = value.replace(/\\/g, "\\\\").replace(/"/g, "\\\"");
|
|
123
|
-
envLines.push(`(setenv ${key} "${escaped}")`);
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
137
|
const profile = `(version 1)
|
|
128
138
|
(allow default)
|
|
129
139
|
(allow file-read* (subpath "/usr"))
|
|
@@ -132,9 +142,7 @@ function buildSandboxProfile(scopePaths, tempDir, envOverrides) {
|
|
|
132
142
|
(allow file-read* (subpath "/lib"))
|
|
133
143
|
(allow file-read* (subpath "/lib64"))
|
|
134
144
|
(deny file-write*)
|
|
135
|
-
${rwAllowLines}
|
|
136
|
-
${envLines.join(`
|
|
137
|
-
`)}`;
|
|
145
|
+
${rwAllowLines}`;
|
|
138
146
|
return profile;
|
|
139
147
|
}
|
|
140
148
|
|
|
@@ -186,7 +194,7 @@ class MacOSSandboxExecutor {
|
|
|
186
194
|
}
|
|
187
195
|
const temp = tempDir ?? this._tempDir ?? os.tmpdir();
|
|
188
196
|
const allScopes = [...this._scopePaths, ...scopePaths];
|
|
189
|
-
const profile = buildSandboxProfile(allScopes, temp
|
|
197
|
+
const profile = buildSandboxProfile(allScopes, temp);
|
|
190
198
|
let profilePath;
|
|
191
199
|
try {
|
|
192
200
|
const profileDir = mkdtempSync(path.join(os.tmpdir(), "sandbox-"));
|
|
@@ -198,7 +206,8 @@ class MacOSSandboxExecutor {
|
|
|
198
206
|
throw new SandboxError("Sandbox not available", "SANDBOX_UNAVAILABLE");
|
|
199
207
|
}
|
|
200
208
|
const binary = _internals.resolveSandboxExecBinary();
|
|
201
|
-
const
|
|
209
|
+
const envPrefix = buildEnvOverridePrefix(envOverrides);
|
|
210
|
+
const escapedCommand = shellEscape(`${envPrefix}${command}`);
|
|
202
211
|
const escapedProfilePath = shellEscape(profilePath);
|
|
203
212
|
return `${binary} -f '${escapedProfilePath}' bash -c '${escapedCommand}'`;
|
|
204
213
|
}
|
|
@@ -208,6 +217,7 @@ class MacOSSandboxExecutor {
|
|
|
208
217
|
DYLD_LIBRARY_PATH: null,
|
|
209
218
|
DYLD_FRAMEWORK_PATH: null,
|
|
210
219
|
DYLD_ROOT_PATH: null,
|
|
220
|
+
DYLD_FORCE_FLAT_NAMESPACE: null,
|
|
211
221
|
PATH: "/usr/bin:/bin:/usr/sbin:/sbin"
|
|
212
222
|
};
|
|
213
223
|
}
|
|
@@ -223,6 +233,7 @@ var init_sandbox_exec_executor = __esm(() => {
|
|
|
223
233
|
resetProbeMemo,
|
|
224
234
|
buildSandboxProfile,
|
|
225
235
|
buildProbeProfile,
|
|
236
|
+
buildEnvOverridePrefix,
|
|
226
237
|
resolveSandboxExecBinary,
|
|
227
238
|
resolveProbeTargetBinary,
|
|
228
239
|
exists: existsSync,
|
|
@@ -1036,7 +1047,7 @@ async function _createExecutor() {
|
|
|
1036
1047
|
return null;
|
|
1037
1048
|
}
|
|
1038
1049
|
async function _createLinuxExecutor() {
|
|
1039
|
-
const { SandboxCapabilityProbe: SandboxCapabilityProbe2, isBubblewrapAvailable } = await import("./capability-probe-
|
|
1050
|
+
const { SandboxCapabilityProbe: SandboxCapabilityProbe2, isBubblewrapAvailable } = await import("./capability-probe-pdwwz8gs.js");
|
|
1040
1051
|
await new SandboxCapabilityProbe2().detect();
|
|
1041
1052
|
if (!isBubblewrapAvailable()) {
|
|
1042
1053
|
return null;
|
|
@@ -1056,7 +1067,7 @@ async function _createMacOSExecutor() {
|
|
|
1056
1067
|
}
|
|
1057
1068
|
return null;
|
|
1058
1069
|
}
|
|
1059
|
-
const { SandboxCapabilityProbe: SandboxCapabilityProbe2, isSandboxExecAvailable } = await import("./capability-probe-
|
|
1070
|
+
const { SandboxCapabilityProbe: SandboxCapabilityProbe2, isSandboxExecAvailable } = await import("./capability-probe-pdwwz8gs.js");
|
|
1060
1071
|
await new SandboxCapabilityProbe2().detect();
|
|
1061
1072
|
if (!isSandboxExecAvailable()) {
|
|
1062
1073
|
return null;
|
|
@@ -1069,7 +1080,7 @@ async function _createMacOSExecutor() {
|
|
|
1069
1080
|
}
|
|
1070
1081
|
}
|
|
1071
1082
|
async function _createWindowsExecutor() {
|
|
1072
|
-
const { SandboxCapabilityProbe: SandboxCapabilityProbe2, isWindowsSandboxAvailable } = await import("./capability-probe-
|
|
1083
|
+
const { SandboxCapabilityProbe: SandboxCapabilityProbe2, isWindowsSandboxAvailable } = await import("./capability-probe-pdwwz8gs.js");
|
|
1073
1084
|
await new SandboxCapabilityProbe2().detect();
|
|
1074
1085
|
if (!isWindowsSandboxAvailable()) {
|
|
1075
1086
|
return null;
|
|
@@ -26,11 +26,11 @@ import {
|
|
|
26
26
|
} from "./index-1xnse449.js";
|
|
27
27
|
import {
|
|
28
28
|
loadPluginConfigWithMeta
|
|
29
|
-
} from "./index-
|
|
29
|
+
} from "./index-td6xrw55.js";
|
|
30
30
|
import {
|
|
31
31
|
KnowledgeConfigSchema,
|
|
32
32
|
init_schema
|
|
33
|
-
} from "./index-
|
|
33
|
+
} from "./index-4wc5gfgm.js";
|
|
34
34
|
import {
|
|
35
35
|
init_logger,
|
|
36
36
|
warn
|
|
@@ -2813,7 +2813,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
|
|
|
2813
2813
|
}
|
|
2814
2814
|
let bumps = 0;
|
|
2815
2815
|
if (deltas.length > 0) {
|
|
2816
|
-
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-
|
|
2816
|
+
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-dgv3xw3h.js");
|
|
2817
2817
|
bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
2818
2818
|
}
|
|
2819
2819
|
return {
|
|
@@ -5,18 +5,18 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
effectiveRetrievalOutcomes,
|
|
7
7
|
readAuthoritativeKnowledgeCounterRollups
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-8w1mrvbd.js";
|
|
9
9
|
import {
|
|
10
10
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
11
11
|
validateSkillPath
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-31sqcdsd.js";
|
|
13
13
|
import {
|
|
14
14
|
computeOutcomeSignal,
|
|
15
15
|
readKnowledge,
|
|
16
16
|
resolveHiveKnowledgePath,
|
|
17
17
|
resolveSwarmKnowledgePath,
|
|
18
18
|
transactKnowledge
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-ssx8087p.js";
|
|
20
20
|
import {
|
|
21
21
|
appendCappedJsonl,
|
|
22
22
|
resolveRetentionCap
|