opencode-swarm 7.143.1 → 7.143.3
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/dist/cli/{config-doctor-ajq3sts3.js → config-doctor-ddbwxt14.js} +2 -2
- package/dist/cli/{core-0jn7sk7t.js → core-gfk2tsre.js} +1 -1
- package/dist/cli/{curator-ff53rwz5.js → curator-hkcd03bx.js} +17 -17
- package/dist/cli/{curator-llm-factory-2mz7fgd1.js → curator-llm-factory-z23scnwb.js} +17 -17
- package/dist/cli/{evidence-summary-service-08zcq836.js → evidence-summary-service-cbhsye6e.js} +6 -6
- package/dist/cli/{gate-evidence-2r7n4qjv.js → gate-evidence-5xd9j34y.js} +2 -2
- package/dist/cli/{guardrail-explain-cm5je07b.js → guardrail-explain-49vn7rv6.js} +18 -18
- package/dist/cli/{guardrail-log-jf4430p5.js → guardrail-log-ghymef5s.js} +3 -3
- package/dist/cli/{hive-promoter-738bf1fj.js → hive-promoter-akf3x240.js} +17 -17
- package/dist/cli/{index-mpw32szm.js → index-1et48zgf.js} +1 -1
- package/dist/cli/{index-zgq25ze6.js → index-1y0rggw0.js} +1 -1
- package/dist/cli/{index-awzwmx8p.js → index-30yyh3m0.js} +3 -3
- package/dist/cli/{index-n48cwf1a.js → index-3qw0bsgr.js} +50 -15
- package/dist/cli/{index-cfwdm1dx.js → index-4mr3ga48.js} +1 -1
- package/dist/cli/{index-crt7xw29.js → index-64pk7525.js} +1 -1
- package/dist/cli/{index-254xf5y6.js → index-6cgp4ska.js} +2 -2
- package/dist/cli/{index-0kqs2fbm.js → index-86tn52b3.js} +1 -1
- package/dist/cli/{index-91dz0zct.js → index-9py8e0dk.js} +3 -3
- package/dist/cli/{index-3fg8kx7n.js → index-a6rnw33a.js} +2 -2
- package/dist/cli/{index-qmfzfh7m.js → index-ds7j4hth.js} +3 -3
- package/dist/cli/{index-q68a8h37.js → index-e1feasna.js} +1 -1
- package/dist/cli/{index-zky3vt90.js → index-e3g0t29w.js} +1 -1
- package/dist/cli/{index-srd87kxc.js → index-etxy4vz9.js} +4 -4
- package/dist/cli/{index-q7jv0c8e.js → index-m7gss7zy.js} +181 -120
- package/dist/cli/{index-cz9tc0h8.js → index-qykq6vge.js} +3 -3
- package/dist/cli/{index-wnj1d1es.js → index-tj18fe58.js} +19 -19
- package/dist/cli/{index-x10a9cz6.js → index-vatqcjnd.js} +5 -5
- package/dist/cli/{index-7317fvce.js → index-vdkywste.js} +1 -1
- package/dist/cli/{index-n2jk8ajv.js → index-x90gktjx.js} +1 -1
- package/dist/cli/{index-a5rky7fv.js → index-xq2effek.js} +2 -2
- package/dist/cli/index.js +17 -17
- package/dist/cli/{knowledge-escalator-9mdajq4s.js → knowledge-escalator-mgg6kvva.js} +6 -6
- package/dist/cli/{knowledge-events-pz58s2r1.js → knowledge-events-yjmkrrv2.js} +4 -4
- package/dist/cli/{knowledge-store-sz8vat89.js → knowledge-store-647twyjp.js} +1 -1
- package/dist/cli/{knowledge-validator-w5vmvf0a.js → knowledge-validator-0nsax3n6.js} +2 -2
- package/dist/cli/{scan-cursor-p54xsx41.js → scan-cursor-vgmzg5ys.js} +2 -2
- package/dist/cli/{schema-p74hnrfz.js → schema-mzh2tam4.js} +1 -1
- package/dist/cli/{scope-persistence-1fc2ncsk.js → scope-persistence-m4ah4fay.js} +4 -4
- package/dist/cli/{skill-generator-yv46bt1a.js → skill-generator-eyf32w7h.js} +7 -7
- package/dist/cli/{worktree-isolation-qfgc3vma.js → worktree-isolation-grxn94v9.js} +17 -17
- package/dist/index.js +72 -64
- package/dist/session/snapshot-writer.d.ts +12 -0
- package/package.json +1 -1
|
@@ -12,8 +12,8 @@ import {
|
|
|
12
12
|
shouldRunOnStartup,
|
|
13
13
|
writeBackupArtifact,
|
|
14
14
|
writeDoctorArtifact
|
|
15
|
-
} from "./index-
|
|
16
|
-
import"./index-
|
|
15
|
+
} from "./index-e3g0t29w.js";
|
|
16
|
+
import"./index-1et48zgf.js";
|
|
17
17
|
import"./index-jqsfsqbx.js";
|
|
18
18
|
import"./index-z6xqpmqg.js";
|
|
19
19
|
import"./index-zjygnfay.js";
|
|
@@ -14,50 +14,50 @@ import {
|
|
|
14
14
|
runCuratorInit,
|
|
15
15
|
runCuratorPhase,
|
|
16
16
|
writeCuratorSummary
|
|
17
|
-
} from "./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
17
|
+
} from "./index-m7gss7zy.js";
|
|
18
|
+
import"./index-vdkywste.js";
|
|
19
|
+
import"./index-e3g0t29w.js";
|
|
20
|
+
import"./index-30yyh3m0.js";
|
|
21
21
|
import"./index-134d35c1.js";
|
|
22
22
|
import"./index-b6e016tv.js";
|
|
23
23
|
import"./index-4q9vfav6.js";
|
|
24
24
|
import"./index-k92cagmt.js";
|
|
25
25
|
import"./index-y8552snf.js";
|
|
26
|
-
import"./index-
|
|
26
|
+
import"./index-64pk7525.js";
|
|
27
27
|
import"./index-xmzmeknp.js";
|
|
28
28
|
import"./index-c8s9a3zh.js";
|
|
29
29
|
import"./index-9ss2m4rs.js";
|
|
30
|
-
import"./index-
|
|
30
|
+
import"./index-86tn52b3.js";
|
|
31
31
|
import"./index-74hpm6sh.js";
|
|
32
|
-
import"./index-
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
32
|
+
import"./index-9py8e0dk.js";
|
|
33
|
+
import"./index-vatqcjnd.js";
|
|
34
|
+
import"./index-a6rnw33a.js";
|
|
35
|
+
import"./index-e1feasna.js";
|
|
36
36
|
import"./index-556ja8an.js";
|
|
37
37
|
import"./index-gdd4jt6b.js";
|
|
38
38
|
import"./index-zsrtt42s.js";
|
|
39
39
|
import"./index-k3cxyk66.js";
|
|
40
40
|
import"./index-8aabbfhv.js";
|
|
41
|
-
import"./index-
|
|
41
|
+
import"./index-3qw0bsgr.js";
|
|
42
42
|
import"./index-8fwhhayc.js";
|
|
43
43
|
import"./index-q1exe2b3.js";
|
|
44
44
|
import"./index-7sy3aa9m.js";
|
|
45
45
|
import"./index-4905hd2m.js";
|
|
46
|
-
import"./index-
|
|
47
|
-
import"./index-
|
|
46
|
+
import"./index-ds7j4hth.js";
|
|
47
|
+
import"./index-6cgp4ska.js";
|
|
48
48
|
import"./index-gprxjmm7.js";
|
|
49
49
|
import"./index-n832052r.js";
|
|
50
|
-
import"./index-
|
|
51
|
-
import"./index-
|
|
50
|
+
import"./index-1y0rggw0.js";
|
|
51
|
+
import"./index-1et48zgf.js";
|
|
52
52
|
import"./index-rn0eq85g.js";
|
|
53
53
|
import"./index-4rhhvd1a.js";
|
|
54
54
|
import"./index-jqsfsqbx.js";
|
|
55
55
|
import"./index-z6xqpmqg.js";
|
|
56
56
|
import"./index-zjygnfay.js";
|
|
57
|
-
import"./index-
|
|
57
|
+
import"./index-4mr3ga48.js";
|
|
58
58
|
import"./index-tq5s07ta.js";
|
|
59
59
|
import"./index-rtry5xyf.js";
|
|
60
|
-
import"./index-
|
|
60
|
+
import"./index-etxy4vz9.js";
|
|
61
61
|
import"./index-ae75rja9.js";
|
|
62
62
|
import"./index-w7x7qxz2.js";
|
|
63
63
|
import"./index-erfnw81g.js";
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
createCuratorLLMDelegate
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
6
|
-
import"./index-
|
|
7
|
-
import"./index-
|
|
4
|
+
} from "./index-m7gss7zy.js";
|
|
5
|
+
import"./index-vdkywste.js";
|
|
6
|
+
import"./index-e3g0t29w.js";
|
|
7
|
+
import"./index-30yyh3m0.js";
|
|
8
8
|
import"./index-134d35c1.js";
|
|
9
9
|
import"./index-b6e016tv.js";
|
|
10
10
|
import"./index-4q9vfav6.js";
|
|
11
11
|
import"./index-k92cagmt.js";
|
|
12
12
|
import"./index-y8552snf.js";
|
|
13
|
-
import"./index-
|
|
13
|
+
import"./index-64pk7525.js";
|
|
14
14
|
import"./index-xmzmeknp.js";
|
|
15
15
|
import"./index-c8s9a3zh.js";
|
|
16
16
|
import"./index-9ss2m4rs.js";
|
|
17
|
-
import"./index-
|
|
17
|
+
import"./index-86tn52b3.js";
|
|
18
18
|
import"./index-74hpm6sh.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
19
|
+
import"./index-9py8e0dk.js";
|
|
20
|
+
import"./index-vatqcjnd.js";
|
|
21
|
+
import"./index-a6rnw33a.js";
|
|
22
|
+
import"./index-e1feasna.js";
|
|
23
23
|
import"./index-556ja8an.js";
|
|
24
24
|
import"./index-gdd4jt6b.js";
|
|
25
25
|
import"./index-zsrtt42s.js";
|
|
26
26
|
import"./index-k3cxyk66.js";
|
|
27
27
|
import"./index-8aabbfhv.js";
|
|
28
|
-
import"./index-
|
|
28
|
+
import"./index-3qw0bsgr.js";
|
|
29
29
|
import"./index-8fwhhayc.js";
|
|
30
30
|
import"./index-q1exe2b3.js";
|
|
31
31
|
import"./index-7sy3aa9m.js";
|
|
32
32
|
import"./index-4905hd2m.js";
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
33
|
+
import"./index-ds7j4hth.js";
|
|
34
|
+
import"./index-6cgp4ska.js";
|
|
35
35
|
import"./index-gprxjmm7.js";
|
|
36
36
|
import"./index-n832052r.js";
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
37
|
+
import"./index-1y0rggw0.js";
|
|
38
|
+
import"./index-1et48zgf.js";
|
|
39
39
|
import"./index-rn0eq85g.js";
|
|
40
40
|
import"./index-4rhhvd1a.js";
|
|
41
41
|
import"./index-jqsfsqbx.js";
|
|
42
42
|
import"./index-z6xqpmqg.js";
|
|
43
43
|
import"./index-zjygnfay.js";
|
|
44
|
-
import"./index-
|
|
44
|
+
import"./index-4mr3ga48.js";
|
|
45
45
|
import"./index-tq5s07ta.js";
|
|
46
46
|
import"./index-rtry5xyf.js";
|
|
47
|
-
import"./index-
|
|
47
|
+
import"./index-etxy4vz9.js";
|
|
48
48
|
import"./index-ae75rja9.js";
|
|
49
49
|
import"./index-w7x7qxz2.js";
|
|
50
50
|
import"./index-erfnw81g.js";
|
package/dist/cli/{evidence-summary-service-08zcq836.js → evidence-summary-service-cbhsye6e.js}
RENAMED
|
@@ -6,21 +6,21 @@ import {
|
|
|
6
6
|
loadPlanJsonOnly,
|
|
7
7
|
mergeDurableGateEntriesFromEvidence,
|
|
8
8
|
readDurableGateEvidence
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-30yyh3m0.js";
|
|
10
10
|
import"./index-134d35c1.js";
|
|
11
11
|
import"./index-k92cagmt.js";
|
|
12
12
|
import"./index-y8552snf.js";
|
|
13
13
|
import"./index-9ss2m4rs.js";
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
14
|
+
import"./index-86tn52b3.js";
|
|
15
|
+
import"./index-e1feasna.js";
|
|
16
16
|
import"./index-556ja8an.js";
|
|
17
17
|
import"./index-zsrtt42s.js";
|
|
18
|
-
import"./index-
|
|
18
|
+
import"./index-3qw0bsgr.js";
|
|
19
19
|
import"./index-q1exe2b3.js";
|
|
20
20
|
import"./index-gprxjmm7.js";
|
|
21
21
|
import"./index-n832052r.js";
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
22
|
+
import"./index-1y0rggw0.js";
|
|
23
|
+
import"./index-1et48zgf.js";
|
|
24
24
|
import"./index-rn0eq85g.js";
|
|
25
25
|
import"./index-4rhhvd1a.js";
|
|
26
26
|
import"./index-jqsfsqbx.js";
|
|
@@ -17,9 +17,9 @@ import {
|
|
|
17
17
|
reduceTaskWorkflowSnapshot,
|
|
18
18
|
transitionTaskWorkflowEvidence,
|
|
19
19
|
withTaskEvidenceTransaction
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-86tn52b3.js";
|
|
21
21
|
import"./index-556ja8an.js";
|
|
22
|
-
import"./index-
|
|
22
|
+
import"./index-3qw0bsgr.js";
|
|
23
23
|
import"./index-rn0eq85g.js";
|
|
24
24
|
import"./index-4rhhvd1a.js";
|
|
25
25
|
import"./index-jqsfsqbx.js";
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
6
|
-
import"./index-
|
|
7
|
-
import"./index-
|
|
8
|
-
import"./index-
|
|
4
|
+
} from "./index-xq2effek.js";
|
|
5
|
+
import"./index-m7gss7zy.js";
|
|
6
|
+
import"./index-vdkywste.js";
|
|
7
|
+
import"./index-e3g0t29w.js";
|
|
8
|
+
import"./index-30yyh3m0.js";
|
|
9
9
|
import"./index-134d35c1.js";
|
|
10
10
|
import"./index-b6e016tv.js";
|
|
11
11
|
import"./index-4q9vfav6.js";
|
|
12
12
|
import"./index-k92cagmt.js";
|
|
13
13
|
import"./index-y8552snf.js";
|
|
14
|
-
import"./index-
|
|
14
|
+
import"./index-64pk7525.js";
|
|
15
15
|
import"./index-xmzmeknp.js";
|
|
16
16
|
import"./index-c8s9a3zh.js";
|
|
17
17
|
import"./index-9ss2m4rs.js";
|
|
18
|
-
import"./index-
|
|
18
|
+
import"./index-86tn52b3.js";
|
|
19
19
|
import"./index-74hpm6sh.js";
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
20
|
+
import"./index-9py8e0dk.js";
|
|
21
|
+
import"./index-vatqcjnd.js";
|
|
22
|
+
import"./index-a6rnw33a.js";
|
|
23
|
+
import"./index-e1feasna.js";
|
|
24
24
|
import"./index-556ja8an.js";
|
|
25
25
|
import"./index-gdd4jt6b.js";
|
|
26
26
|
import"./index-zsrtt42s.js";
|
|
27
27
|
import"./index-k3cxyk66.js";
|
|
28
28
|
import"./index-8aabbfhv.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-3qw0bsgr.js";
|
|
30
30
|
import"./index-8fwhhayc.js";
|
|
31
31
|
import"./index-q1exe2b3.js";
|
|
32
32
|
import"./index-7sy3aa9m.js";
|
|
33
33
|
import"./index-4905hd2m.js";
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
34
|
+
import"./index-ds7j4hth.js";
|
|
35
|
+
import"./index-6cgp4ska.js";
|
|
36
36
|
import"./index-gprxjmm7.js";
|
|
37
37
|
import"./index-n832052r.js";
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
38
|
+
import"./index-1y0rggw0.js";
|
|
39
|
+
import"./index-1et48zgf.js";
|
|
40
40
|
import"./index-rn0eq85g.js";
|
|
41
41
|
import"./index-4rhhvd1a.js";
|
|
42
42
|
import"./index-jqsfsqbx.js";
|
|
43
43
|
import"./index-z6xqpmqg.js";
|
|
44
44
|
import"./index-zjygnfay.js";
|
|
45
|
-
import"./index-
|
|
45
|
+
import"./index-4mr3ga48.js";
|
|
46
46
|
import"./index-tq5s07ta.js";
|
|
47
47
|
import"./index-rtry5xyf.js";
|
|
48
|
-
import"./index-
|
|
48
|
+
import"./index-etxy4vz9.js";
|
|
49
49
|
import"./index-ae75rja9.js";
|
|
50
50
|
import"./index-w7x7qxz2.js";
|
|
51
51
|
import"./index-erfnw81g.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailLog
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
4
|
+
} from "./index-x90gktjx.js";
|
|
5
|
+
import"./index-vdkywste.js";
|
|
6
6
|
import"./index-556ja8an.js";
|
|
7
|
-
import"./index-
|
|
7
|
+
import"./index-1et48zgf.js";
|
|
8
8
|
import"./index-jqsfsqbx.js";
|
|
9
9
|
import"./index-z6xqpmqg.js";
|
|
10
10
|
import"./index-zjygnfay.js";
|
|
@@ -7,52 +7,52 @@ import {
|
|
|
7
7
|
isHiveEligible,
|
|
8
8
|
promoteFromSwarm,
|
|
9
9
|
promoteToHive
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
10
|
+
} from "./index-m7gss7zy.js";
|
|
11
|
+
import"./index-vdkywste.js";
|
|
12
|
+
import"./index-e3g0t29w.js";
|
|
13
|
+
import"./index-30yyh3m0.js";
|
|
14
14
|
import"./index-134d35c1.js";
|
|
15
15
|
import"./index-b6e016tv.js";
|
|
16
16
|
import"./index-4q9vfav6.js";
|
|
17
17
|
import"./index-k92cagmt.js";
|
|
18
18
|
import"./index-y8552snf.js";
|
|
19
|
-
import"./index-
|
|
19
|
+
import"./index-64pk7525.js";
|
|
20
20
|
import"./index-xmzmeknp.js";
|
|
21
21
|
import"./index-c8s9a3zh.js";
|
|
22
22
|
import"./index-9ss2m4rs.js";
|
|
23
|
-
import"./index-
|
|
23
|
+
import"./index-86tn52b3.js";
|
|
24
24
|
import"./index-74hpm6sh.js";
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
25
|
+
import"./index-9py8e0dk.js";
|
|
26
|
+
import"./index-vatqcjnd.js";
|
|
27
|
+
import"./index-a6rnw33a.js";
|
|
28
|
+
import"./index-e1feasna.js";
|
|
29
29
|
import"./index-556ja8an.js";
|
|
30
30
|
import"./index-gdd4jt6b.js";
|
|
31
31
|
import"./index-zsrtt42s.js";
|
|
32
32
|
import"./index-k3cxyk66.js";
|
|
33
33
|
import"./index-8aabbfhv.js";
|
|
34
|
-
import"./index-
|
|
34
|
+
import"./index-3qw0bsgr.js";
|
|
35
35
|
import"./index-8fwhhayc.js";
|
|
36
36
|
import"./index-q1exe2b3.js";
|
|
37
37
|
import"./index-7sy3aa9m.js";
|
|
38
38
|
import"./index-4905hd2m.js";
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
39
|
+
import"./index-ds7j4hth.js";
|
|
40
|
+
import"./index-6cgp4ska.js";
|
|
41
41
|
import"./index-gprxjmm7.js";
|
|
42
42
|
import"./index-n832052r.js";
|
|
43
|
-
import"./index-
|
|
44
|
-
import"./index-
|
|
43
|
+
import"./index-1y0rggw0.js";
|
|
44
|
+
import"./index-1et48zgf.js";
|
|
45
45
|
import"./index-rn0eq85g.js";
|
|
46
46
|
import"./index-4rhhvd1a.js";
|
|
47
47
|
import"./index-jqsfsqbx.js";
|
|
48
48
|
import"./index-z6xqpmqg.js";
|
|
49
49
|
import"./index-zjygnfay.js";
|
|
50
|
-
import"./index-
|
|
50
|
+
import"./index-4mr3ga48.js";
|
|
51
51
|
import"./index-tq5s07ta.js";
|
|
52
52
|
import"./index-rtry5xyf.js";
|
|
53
53
|
import {
|
|
54
54
|
resolveHiveKnowledgePath
|
|
55
|
-
} from "./index-
|
|
55
|
+
} from "./index-etxy4vz9.js";
|
|
56
56
|
import"./index-ae75rja9.js";
|
|
57
57
|
import"./index-w7x7qxz2.js";
|
|
58
58
|
import"./index-erfnw81g.js";
|
|
@@ -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.143.
|
|
24
|
+
version: "7.143.3",
|
|
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",
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
readTaskEvidence,
|
|
16
16
|
readTaskEvidenceRaw,
|
|
17
17
|
sanitizeTaskId
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-86tn52b3.js";
|
|
19
19
|
import {
|
|
20
20
|
LedgerStaleWriterError,
|
|
21
21
|
appendLedgerEvent,
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
replayFromLedgerWithStatus,
|
|
36
36
|
takeSnapshotEvent,
|
|
37
37
|
takeSnapshotWithRetry
|
|
38
|
-
} from "./index-
|
|
38
|
+
} from "./index-e1feasna.js";
|
|
39
39
|
import {
|
|
40
40
|
getWorktreeMergeFailure
|
|
41
41
|
} from "./index-zsrtt42s.js";
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
} from "./index-gprxjmm7.js";
|
|
54
54
|
import {
|
|
55
55
|
PlanSchema
|
|
56
|
-
} from "./index-
|
|
56
|
+
} from "./index-1y0rggw0.js";
|
|
57
57
|
import {
|
|
58
58
|
readSwarmFileAsync,
|
|
59
59
|
validateSwarmPath
|
|
@@ -86,7 +86,7 @@ var _internals = {
|
|
|
86
86
|
symlinkSync: fs.symlinkSync
|
|
87
87
|
},
|
|
88
88
|
writeScopeToDisk: async (directory, taskId, files) => {
|
|
89
|
-
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-
|
|
89
|
+
const { writeScopeToDisk: realWrite } = await import("./scope-persistence-m4ah4fay.js");
|
|
90
90
|
return realWrite(directory, taskId, files);
|
|
91
91
|
},
|
|
92
92
|
writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
|
|
@@ -274,8 +274,12 @@ async function provisionWorktree(directory, id, sessionId, options) {
|
|
|
274
274
|
}
|
|
275
275
|
};
|
|
276
276
|
const expectedPath = normalizeGitPath(worktreePath);
|
|
277
|
-
|
|
278
|
-
let current = {
|
|
277
|
+
let entries = [];
|
|
278
|
+
let current = {
|
|
279
|
+
path: "",
|
|
280
|
+
branch: undefined,
|
|
281
|
+
prunable: false
|
|
282
|
+
};
|
|
279
283
|
if (listResult.exitCode !== 0) {
|
|
280
284
|
const raw = listResult.stderr.trim() || listResult.stdout.trim();
|
|
281
285
|
const bounded = raw.length > 500 ? `${raw.slice(0, 500)}... (truncated)` : raw;
|
|
@@ -283,22 +287,53 @@ async function provisionWorktree(directory, id, sessionId, options) {
|
|
|
283
287
|
error: `worktree enumeration failed: ${bounded}`
|
|
284
288
|
};
|
|
285
289
|
}
|
|
286
|
-
|
|
290
|
+
const parsePorcelain = (stdout) => {
|
|
291
|
+
const parsed = [];
|
|
292
|
+
let cur = {
|
|
293
|
+
path: "",
|
|
294
|
+
branch: undefined,
|
|
295
|
+
prunable: false
|
|
296
|
+
};
|
|
297
|
+
for (const rawLine of stdout.split(`
|
|
287
298
|
`)) {
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
299
|
+
const line = rawLine.trim();
|
|
300
|
+
if (line.startsWith("worktree ")) {
|
|
301
|
+
if (cur.path)
|
|
302
|
+
parsed.push(cur);
|
|
303
|
+
cur = {
|
|
304
|
+
path: normalizeGitPath(line.slice("worktree ".length)),
|
|
305
|
+
branch: undefined,
|
|
306
|
+
prunable: false
|
|
307
|
+
};
|
|
308
|
+
} else if (line.startsWith("branch ")) {
|
|
309
|
+
cur.branch = line.slice("branch ".length);
|
|
310
|
+
} else if (line === "prunable" || line.startsWith("prunable ")) {
|
|
311
|
+
cur.prunable = true;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
if (cur.path)
|
|
315
|
+
parsed.push(cur);
|
|
316
|
+
return parsed;
|
|
317
|
+
};
|
|
318
|
+
entries = parsePorcelain(listResult.stdout);
|
|
319
|
+
const hasPrunableCollision = entries.some((e) => e.prunable && (e.path === expectedPath || e.branch === `refs/heads/${branchName}`));
|
|
320
|
+
if (hasPrunableCollision) {
|
|
321
|
+
const pruneResult = await runGit(["worktree", "prune"], directory);
|
|
322
|
+
if (pruneResult.exitCode !== 0) {
|
|
323
|
+
return {
|
|
324
|
+
error: `Failed to prune stale worktree registration: ${pruneResult.stderr.trim() || pruneResult.stdout.trim()}`
|
|
325
|
+
};
|
|
326
|
+
}
|
|
327
|
+
const relistResult = await runGit(["worktree", "list", "--porcelain"], directory);
|
|
328
|
+
if (relistResult.exitCode !== 0) {
|
|
329
|
+
const raw = relistResult.stderr.trim() || relistResult.stdout.trim();
|
|
330
|
+
const bounded = raw.length > 500 ? `${raw.slice(0, 500)}... (truncated)` : raw;
|
|
331
|
+
return {
|
|
332
|
+
error: `worktree enumeration failed after prune: ${bounded}`
|
|
295
333
|
};
|
|
296
|
-
} else if (line.startsWith("branch ")) {
|
|
297
|
-
current.branch = line.slice("branch ".length);
|
|
298
334
|
}
|
|
335
|
+
entries = parsePorcelain(relistResult.stdout);
|
|
299
336
|
}
|
|
300
|
-
if (current.path)
|
|
301
|
-
entries.push(current);
|
|
302
337
|
const expectedPathIsRegistered = entries.some((e) => e.path === expectedPath);
|
|
303
338
|
const branchIsActiveAtExpectedPath = entries.some((e) => e.branch === `refs/heads/${branchName}` && e.path === expectedPath);
|
|
304
339
|
const branchIsActiveElsewhere = entries.some((e) => e.branch === `refs/heads/${branchName}` && e.path !== expectedPath);
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_loader,
|
|
4
4
|
loadPluginConfigWithMeta
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-1y0rggw0.js";
|
|
6
6
|
import {
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-1et48zgf.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_WORKTREE_ISOLATION_CONFIG,
|
|
11
11
|
init_constants
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
effectiveRetrievalOutcomes,
|
|
4
4
|
readAuthoritativeKnowledgeCounterRollups
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-ds7j4hth.js";
|
|
6
6
|
import {
|
|
7
7
|
advisoryWarn,
|
|
8
8
|
init_warning_buffer
|
|
@@ -10,14 +10,14 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
12
12
|
validateSkillPath
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-4mr3ga48.js";
|
|
14
14
|
import {
|
|
15
15
|
computeOutcomeSignal,
|
|
16
16
|
readKnowledge,
|
|
17
17
|
resolveHiveKnowledgePath,
|
|
18
18
|
resolveSwarmKnowledgePath,
|
|
19
19
|
transactKnowledge
|
|
20
|
-
} from "./index-
|
|
20
|
+
} from "./index-etxy4vz9.js";
|
|
21
21
|
import {
|
|
22
22
|
init_knowledge_types,
|
|
23
23
|
isActiveStatus
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import {
|
|
3
3
|
computePlanStructureHash,
|
|
4
4
|
derivePlanId
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-e1feasna.js";
|
|
6
6
|
import {
|
|
7
7
|
unsafePathTextReason
|
|
8
8
|
} from "./index-556ja8an.js";
|
|
9
9
|
import {
|
|
10
10
|
PlanSchema
|
|
11
|
-
} from "./index-
|
|
11
|
+
} from "./index-1y0rggw0.js";
|
|
12
12
|
import {
|
|
13
13
|
assertProjectRoot
|
|
14
14
|
} from "./index-k31en0ja.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
loadPluginConfigWithMeta
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-1y0rggw0.js";
|
|
5
5
|
import {
|
|
6
6
|
KnowledgeConfigSchema,
|
|
7
7
|
init_schema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-1et48zgf.js";
|
|
9
9
|
import {
|
|
10
10
|
validateSwarmPath
|
|
11
11
|
} from "./index-rn0eq85g.js";
|
|
@@ -2545,7 +2545,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
|
|
|
2545
2545
|
}
|
|
2546
2546
|
let bumps = 0;
|
|
2547
2547
|
if (deltas.length > 0) {
|
|
2548
|
-
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-
|
|
2548
|
+
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-647twyjp.js");
|
|
2549
2549
|
bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
2550
2550
|
}
|
|
2551
2551
|
return {
|
|
@@ -709,7 +709,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
709
709
|
const {
|
|
710
710
|
readAuthoritativeKnowledgeCounterRollups,
|
|
711
711
|
effectiveRetrievalOutcomes
|
|
712
|
-
} = await import("./knowledge-events-
|
|
712
|
+
} = await import("./knowledge-events-yjmkrrv2.js");
|
|
713
713
|
const rollups = await readAuthoritativeKnowledgeCounterRollups(directory);
|
|
714
714
|
const flagIds = new Set;
|
|
715
715
|
for (const e of atFloor) {
|
|
@@ -776,11 +776,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
776
776
|
});
|
|
777
777
|
}
|
|
778
778
|
if (action === "quarantine" && toQuarantine.length > 0) {
|
|
779
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
780
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
779
|
+
const { quarantineEntry } = await import("./knowledge-validator-0nsax3n6.js");
|
|
780
|
+
const { KnowledgeConfigSchema } = await import("./schema-mzh2tam4.js");
|
|
781
781
|
let config;
|
|
782
782
|
try {
|
|
783
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
783
|
+
const { loadPluginConfigWithMeta } = await import("./index-qykq6vge.js");
|
|
784
784
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
785
785
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
786
786
|
} catch {
|