opencode-swarm 7.131.0 → 7.132.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 +2 -2
- package/dist/cli/{config-doctor-rjvb0hhn.js → config-doctor-3rssa871.js} +2 -2
- package/dist/cli/{curation-policy-f5bybzmh.js → curation-policy-3914h3g9.js} +2 -2
- package/dist/cli/{curator-kjzqa5m7.js → curator-1e77dq6x.js} +12 -12
- package/dist/cli/{curator-llm-factory-ezq4fakt.js → curator-llm-factory-41c17ybs.js} +12 -12
- package/dist/cli/{guardrail-explain-n93qh8k6.js → guardrail-explain-624brj1y.js} +13 -13
- package/dist/cli/{guardrail-log-h4tmcjwx.js → guardrail-log-vfka4tcn.js} +3 -3
- package/dist/cli/{hive-promoter-mammxe5p.js → hive-promoter-mw5prfy2.js} +12 -12
- package/dist/cli/{index-1atz85c8.js → index-2dtwjx39.js} +1 -1
- package/dist/cli/{index-hynbzh7s.js → index-5x3g1q91.js} +4 -0
- package/dist/cli/{index-cnwh164k.js → index-64z5dvam.js} +1 -1
- package/dist/cli/{index-q68sprcy.js → index-6mcx76j9.js} +4 -4
- package/dist/cli/{index-d2tgc580.js → index-8w3sp149.js} +1420 -1313
- package/dist/cli/{index-6vg0qczz.js → index-99tq1zd5.js} +2 -2
- package/dist/cli/{index-01nyrk95.js → index-e630fw43.js} +3 -3
- package/dist/cli/{index-tw33v84d.js → index-exs5bt14.js} +1 -1
- package/dist/cli/{index-cq22pnd2.js → index-fegng5pv.js} +1 -1
- package/dist/cli/{index-fepakwhp.js → index-nsxchdx0.js} +1 -1
- package/dist/cli/{index-m6zfm7cm.js → index-ppkp20fp.js} +5 -5
- package/dist/cli/{index-kbfhyxtv.js → index-q0ysv66x.js} +1 -1
- package/dist/cli/{index-xhd797bz.js → index-qg1cj1ev.js} +14 -14
- package/dist/cli/{index-pft1qxqh.js → index-sbq3gbjs.js} +1 -1
- package/dist/cli/{index-xv2ydncg.js → index-zah4qws8.js} +2 -2
- package/dist/cli/{index-szkswbqf.js → index-zrh07ykv.js} +2 -2
- package/dist/cli/index.js +12 -12
- package/dist/cli/{knowledge-escalator-cf1kkmfe.js → knowledge-escalator-5hv2dwhz.js} +3 -3
- package/dist/cli/{knowledge-events-p8t5ev44.js → knowledge-events-434663dp.js} +1 -1
- package/dist/cli/{knowledge-store-vpdmcwem.js → knowledge-store-73ykq5j3.js} +1 -1
- package/dist/cli/{knowledge-validator-w1t0sw5f.js → knowledge-validator-tnadtt1h.js} +4 -4
- package/dist/cli/{scan-cursor-z4c51902.js → scan-cursor-e33n9pej.js} +2 -2
- package/dist/cli/{schema-yqzzfavj.js → schema-1kwmcayk.js} +1 -1
- package/dist/cli/{skill-generator-aaabj00n.js → skill-generator-k111qfdw.js} +5 -5
- package/dist/index.js +348 -348
- package/dist/parallel/index.d.ts +0 -2
- package/dist/plan/parallel-verdict.d.ts +94 -0
- package/dist/services/status-service.d.ts +14 -0
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/lean-turbo-run-phase.d.ts +7 -0
- package/dist/tools/manifest.d.ts +1 -0
- package/dist/tools/plan-conflict-check.d.ts +61 -0
- package/dist/tools/tool-metadata.d.ts +4 -0
- package/dist/turbo/lean/recovery.d.ts +90 -0
- package/dist/turbo/lean/runner.d.ts +16 -1
- package/dist/worktree/merge.d.ts +5 -0
- package/package.json +1 -1
- package/dist/parallel/dependency-graph.d.ts +0 -34
- package/dist/parallel/meta-indexer.d.ts +0 -32
package/README.md
CHANGED
|
@@ -107,7 +107,7 @@ Swarm then:
|
|
|
107
107
|
3. Consults domain experts when needed and caches the guidance.
|
|
108
108
|
4. Writes a phased implementation plan.
|
|
109
109
|
5. Sends that plan through a critic gate before coding starts.
|
|
110
|
-
6. Executes one
|
|
110
|
+
6. Executes tasks through the QA pipeline — one at a time, or concurrently in isolated worktrees for plans with provably file-disjoint task groups (v8 default for new plans, #1674; serial is the automatic fallback when scopes overlap or are unknown):
|
|
111
111
|
|
|
112
112
|
* coder writes code
|
|
113
113
|
* automated checks run
|
|
@@ -307,7 +307,7 @@ Swarm registers a roster of specialized core, optional, and conditional agents.
|
|
|
307
307
|
|---|---|---|
|
|
308
308
|
| **architect** | Orchestrates workflow, writes plans, enforces gates | Core |
|
|
309
309
|
| **explorer** | Scans codebase, gathers context, maps facts | Core |
|
|
310
|
-
| **coder** | Implements one task at a time | Core |
|
|
310
|
+
| **coder** | Implements one task at a time (or concurrently in isolated worktrees for provably file-disjoint task groups — v8, #1674) | Core |
|
|
311
311
|
| **reviewer** | Checks correctness and security | Core |
|
|
312
312
|
| **test_engineer** | Writes and runs tests, adversarial testing | Core |
|
|
313
313
|
| **critic** | Reviews plans before implementation begins | Core |
|
|
@@ -12,8 +12,8 @@ import {
|
|
|
12
12
|
shouldRunOnStartup,
|
|
13
13
|
writeBackupArtifact,
|
|
14
14
|
writeDoctorArtifact
|
|
15
|
-
} from "./index-
|
|
16
|
-
import"./index-
|
|
15
|
+
} from "./index-q0ysv66x.js";
|
|
16
|
+
import"./index-5x3g1q91.js";
|
|
17
17
|
import"./index-bk5tah7q.js";
|
|
18
18
|
import"./index-z6xqpmqg.js";
|
|
19
19
|
import"./index-zjygnfay.js";
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
authorizeCuration,
|
|
5
5
|
buildConfigFingerprintInput,
|
|
6
6
|
readCohortConfigFingerprint
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-2dtwjx39.js";
|
|
8
8
|
import"./index-rtry5xyf.js";
|
|
9
|
-
import"./index-
|
|
9
|
+
import"./index-nsxchdx0.js";
|
|
10
10
|
import"./index-ae75rja9.js";
|
|
11
11
|
import"./index-q27bajqb.js";
|
|
12
12
|
import"./index-zgwm4ryv.js";
|
|
@@ -14,31 +14,31 @@ import {
|
|
|
14
14
|
runCuratorInit,
|
|
15
15
|
runCuratorPhase,
|
|
16
16
|
writeCuratorSummary
|
|
17
|
-
} from "./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
17
|
+
} from "./index-8w3sp149.js";
|
|
18
|
+
import"./index-fegng5pv.js";
|
|
19
|
+
import"./index-q0ysv66x.js";
|
|
20
20
|
import"./index-03zyn94g.js";
|
|
21
21
|
import"./index-4905hd2m.js";
|
|
22
22
|
import"./index-134d35c1.js";
|
|
23
23
|
import"./index-9f71ye47.js";
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
24
|
+
import"./index-e630fw43.js";
|
|
25
|
+
import"./index-ppkp20fp.js";
|
|
26
|
+
import"./index-sbq3gbjs.js";
|
|
27
27
|
import"./index-vxv732ex.js";
|
|
28
28
|
import"./index-c8s9a3zh.js";
|
|
29
29
|
import"./index-9ss2m4rs.js";
|
|
30
30
|
import"./index-g4mnf3p5.js";
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
31
|
+
import"./index-zah4qws8.js";
|
|
32
|
+
import"./index-2dtwjx39.js";
|
|
33
33
|
import"./index-rtry5xyf.js";
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
34
|
+
import"./index-6mcx76j9.js";
|
|
35
|
+
import"./index-nsxchdx0.js";
|
|
36
36
|
import"./index-ae75rja9.js";
|
|
37
37
|
import"./index-q27bajqb.js";
|
|
38
|
-
import"./index-
|
|
38
|
+
import"./index-exs5bt14.js";
|
|
39
39
|
import"./index-k5jrywpr.js";
|
|
40
40
|
import"./index-n832052r.js";
|
|
41
|
-
import"./index-
|
|
41
|
+
import"./index-5x3g1q91.js";
|
|
42
42
|
import"./index-bk5tah7q.js";
|
|
43
43
|
import"./index-8fwhhayc.js";
|
|
44
44
|
import"./index-q1exe2b3.js";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
createCuratorLLMDelegate
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
6
|
-
import"./index-
|
|
4
|
+
} from "./index-8w3sp149.js";
|
|
5
|
+
import"./index-fegng5pv.js";
|
|
6
|
+
import"./index-q0ysv66x.js";
|
|
7
7
|
import"./index-03zyn94g.js";
|
|
8
8
|
import"./index-4905hd2m.js";
|
|
9
9
|
import"./index-134d35c1.js";
|
|
10
10
|
import"./index-9f71ye47.js";
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
11
|
+
import"./index-e630fw43.js";
|
|
12
|
+
import"./index-ppkp20fp.js";
|
|
13
|
+
import"./index-sbq3gbjs.js";
|
|
14
14
|
import"./index-vxv732ex.js";
|
|
15
15
|
import"./index-c8s9a3zh.js";
|
|
16
16
|
import"./index-9ss2m4rs.js";
|
|
17
17
|
import"./index-g4mnf3p5.js";
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
18
|
+
import"./index-zah4qws8.js";
|
|
19
|
+
import"./index-2dtwjx39.js";
|
|
20
20
|
import"./index-rtry5xyf.js";
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
21
|
+
import"./index-6mcx76j9.js";
|
|
22
|
+
import"./index-nsxchdx0.js";
|
|
23
23
|
import"./index-ae75rja9.js";
|
|
24
24
|
import"./index-q27bajqb.js";
|
|
25
|
-
import"./index-
|
|
25
|
+
import"./index-exs5bt14.js";
|
|
26
26
|
import"./index-k5jrywpr.js";
|
|
27
27
|
import"./index-n832052r.js";
|
|
28
|
-
import"./index-
|
|
28
|
+
import"./index-5x3g1q91.js";
|
|
29
29
|
import"./index-bk5tah7q.js";
|
|
30
30
|
import"./index-8fwhhayc.js";
|
|
31
31
|
import"./index-q1exe2b3.js";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
6
|
-
import"./index-
|
|
7
|
-
import"./index-
|
|
4
|
+
} from "./index-99tq1zd5.js";
|
|
5
|
+
import"./index-8w3sp149.js";
|
|
6
|
+
import"./index-fegng5pv.js";
|
|
7
|
+
import"./index-q0ysv66x.js";
|
|
8
8
|
import"./index-03zyn94g.js";
|
|
9
9
|
import"./index-4905hd2m.js";
|
|
10
10
|
import"./index-134d35c1.js";
|
|
11
11
|
import"./index-9f71ye47.js";
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
12
|
+
import"./index-e630fw43.js";
|
|
13
|
+
import"./index-ppkp20fp.js";
|
|
14
|
+
import"./index-sbq3gbjs.js";
|
|
15
15
|
import"./index-vxv732ex.js";
|
|
16
16
|
import"./index-c8s9a3zh.js";
|
|
17
17
|
import"./index-9ss2m4rs.js";
|
|
18
18
|
import"./index-g4mnf3p5.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
19
|
+
import"./index-zah4qws8.js";
|
|
20
|
+
import"./index-2dtwjx39.js";
|
|
21
21
|
import"./index-rtry5xyf.js";
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
22
|
+
import"./index-6mcx76j9.js";
|
|
23
|
+
import"./index-nsxchdx0.js";
|
|
24
24
|
import"./index-ae75rja9.js";
|
|
25
25
|
import"./index-q27bajqb.js";
|
|
26
|
-
import"./index-
|
|
26
|
+
import"./index-exs5bt14.js";
|
|
27
27
|
import"./index-k5jrywpr.js";
|
|
28
28
|
import"./index-n832052r.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-5x3g1q91.js";
|
|
30
30
|
import"./index-bk5tah7q.js";
|
|
31
31
|
import"./index-8fwhhayc.js";
|
|
32
32
|
import"./index-q1exe2b3.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailLog
|
|
4
|
-
} from "./index-
|
|
5
|
-
import"./index-
|
|
6
|
-
import"./index-
|
|
4
|
+
} from "./index-64z5dvam.js";
|
|
5
|
+
import"./index-fegng5pv.js";
|
|
6
|
+
import"./index-5x3g1q91.js";
|
|
7
7
|
import"./index-bk5tah7q.js";
|
|
8
8
|
import"./index-z6xqpmqg.js";
|
|
9
9
|
import"./index-zjygnfay.js";
|
|
@@ -7,33 +7,33 @@ import {
|
|
|
7
7
|
isHiveEligible,
|
|
8
8
|
promoteFromSwarm,
|
|
9
9
|
promoteToHive
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
10
|
+
} from "./index-8w3sp149.js";
|
|
11
|
+
import"./index-fegng5pv.js";
|
|
12
|
+
import"./index-q0ysv66x.js";
|
|
13
13
|
import"./index-03zyn94g.js";
|
|
14
14
|
import"./index-4905hd2m.js";
|
|
15
15
|
import"./index-134d35c1.js";
|
|
16
16
|
import"./index-9f71ye47.js";
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
17
|
+
import"./index-e630fw43.js";
|
|
18
|
+
import"./index-ppkp20fp.js";
|
|
19
|
+
import"./index-sbq3gbjs.js";
|
|
20
20
|
import"./index-vxv732ex.js";
|
|
21
21
|
import"./index-c8s9a3zh.js";
|
|
22
22
|
import"./index-9ss2m4rs.js";
|
|
23
23
|
import"./index-g4mnf3p5.js";
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
24
|
+
import"./index-zah4qws8.js";
|
|
25
|
+
import"./index-2dtwjx39.js";
|
|
26
26
|
import"./index-rtry5xyf.js";
|
|
27
27
|
import {
|
|
28
28
|
resolveHiveKnowledgePath
|
|
29
|
-
} from "./index-
|
|
30
|
-
import"./index-
|
|
29
|
+
} from "./index-6mcx76j9.js";
|
|
30
|
+
import"./index-nsxchdx0.js";
|
|
31
31
|
import"./index-ae75rja9.js";
|
|
32
32
|
import"./index-q27bajqb.js";
|
|
33
|
-
import"./index-
|
|
33
|
+
import"./index-exs5bt14.js";
|
|
34
34
|
import"./index-k5jrywpr.js";
|
|
35
35
|
import"./index-n832052r.js";
|
|
36
|
-
import"./index-
|
|
36
|
+
import"./index-5x3g1q91.js";
|
|
37
37
|
import"./index-bk5tah7q.js";
|
|
38
38
|
import"./index-8fwhhayc.js";
|
|
39
39
|
import"./index-q1exe2b3.js";
|
|
@@ -268,6 +268,10 @@ var init_tool_metadata = __esm(() => {
|
|
|
268
268
|
description: "Parse [CANDIDATE] rows from a dispatch_lanes or collect_lane_results artifact (by output_ref), produce structured records with provenance, optionally persist to a per-batch sidecar JSONL. Pure-parser variant exists as internal module.",
|
|
269
269
|
agents: ["architect"]
|
|
270
270
|
},
|
|
271
|
+
plan_conflict_check: {
|
|
272
|
+
description: "read-only advisory check (#1656): compute a pairwise file-conflict matrix for N proposed parallel task groups using declared scopes and optional git co-change; returns a verdict (all_disjoint / conflicts_present / unknown_scopes), per-pair evidence, and a suggested serialization order. Writes nothing \u2014 the execution gate independently recomputes the verdict inline at dispatch time via the same helper. Call BEFORE attempting parallel dispatch to confirm disjointness.",
|
|
273
|
+
agents: ["architect"]
|
|
274
|
+
},
|
|
271
275
|
write_pr_review_trigger_eval: {
|
|
272
276
|
description: "persist the complete PR-review trigger evaluation with exact-set validation, dispatch provenance, and live merge-base verification",
|
|
273
277
|
agents: ["architect"]
|
|
@@ -702,7 +702,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
702
702
|
const recovered = touched.filter((e) => e.confidence > CONFIDENCE_FLOOR + FLOOR_EPSILON && e.confidence_floor_demoted);
|
|
703
703
|
if (atFloor.length === 0 && recovered.length === 0)
|
|
704
704
|
return;
|
|
705
|
-
const { readKnowledgeCounterRollups, effectiveRetrievalOutcomes } = await import("./knowledge-events-
|
|
705
|
+
const { readKnowledgeCounterRollups, effectiveRetrievalOutcomes } = await import("./knowledge-events-434663dp.js");
|
|
706
706
|
const rollups = await readKnowledgeCounterRollups(directory);
|
|
707
707
|
const flagIds = new Set;
|
|
708
708
|
for (const e of atFloor) {
|
|
@@ -769,11 +769,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
769
769
|
});
|
|
770
770
|
}
|
|
771
771
|
if (action === "quarantine" && toQuarantine.length > 0) {
|
|
772
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
773
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
772
|
+
const { quarantineEntry } = await import("./knowledge-validator-tnadtt1h.js");
|
|
773
|
+
const { KnowledgeConfigSchema } = await import("./schema-1kwmcayk.js");
|
|
774
774
|
let config;
|
|
775
775
|
try {
|
|
776
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
776
|
+
const { loadPluginConfigWithMeta } = await import("./index-zrh07ykv.js");
|
|
777
777
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
778
778
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
779
779
|
} catch {
|