opencode-swarm 7.132.2 → 7.133.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 +4 -1
- package/dist/agents/agent-output-schema.d.ts +74 -0
- package/dist/agents/critic.d.ts +2 -1
- package/dist/agents/reviewer.d.ts +1 -1
- package/dist/background/completion-observer.d.ts +2 -0
- package/dist/background/pending-delegations.d.ts +39 -1
- package/dist/background/stage-b-gates.d.ts +2 -0
- package/dist/cli/{config-doctor-bp5spb79.js → config-doctor-8nbdwnn6.js} +2 -2
- package/dist/cli/{core-wg3re04e.js → core-egwpry19.js} +2 -2
- package/dist/cli/{curation-policy-7zp2m9gv.js → curation-policy-gae3xm5d.js} +2 -2
- package/dist/cli/{curator-h067mrcc.js → curator-e88bm4mg.js} +17 -18
- package/dist/cli/{curator-llm-factory-605d08hf.js → curator-llm-factory-1a7esr69.js} +17 -18
- package/dist/cli/{evidence-summary-service-jfagmvrh.js → evidence-summary-service-nhsmsap8.js} +3 -3
- package/dist/cli/{guardrail-explain-s7vzm6z7.js → guardrail-explain-zgja2b9m.js} +18 -19
- package/dist/cli/{guardrail-log-aa112fxv.js → guardrail-log-fjgyx76r.js} +3 -3
- package/dist/cli/{hive-promoter-nv0m5rzk.js → hive-promoter-2b04e0wh.js} +17 -18
- package/dist/cli/{index-9cf1yr67.js → index-0vd91yb8.js} +3 -3
- package/dist/cli/{index-w9cb5zwh.js → index-17zjp67y.js} +1 -1
- package/dist/cli/{index-djwemsjn.js → index-66zght9d.js} +1 -1
- package/dist/cli/{index-6ccynjv3.js → index-7ftthvqt.js} +2 -2
- package/dist/cli/{index-jgfcp9bh.js → index-bz08438z.js} +1 -1
- package/dist/cli/{index-mwkwyej1.js → index-cpest8sa.js} +5 -5
- package/dist/cli/{index-y5qp59rc.js → index-hfpw5m0e.js} +9 -3
- package/dist/cli/{index-3s9rfnqq.js → index-j5pnah1w.js} +4 -4
- package/dist/cli/{index-jj4earrh.js → index-kc1m6vpr.js} +2 -2
- package/dist/cli/{index-8d3m0ge3.js → index-mhcge2ry.js} +34 -23
- package/dist/cli/{index-yvv1wt2h.js → index-mmvaf4t6.js} +1 -1
- package/dist/cli/{index-f6480ee6.js → index-mwqfyjja.js} +37751 -33949
- package/dist/cli/{index-fgcmxjp7.js → index-sp7tm8t7.js} +1 -1
- package/dist/cli/{index-k4tmx21m.js → index-sw82jvf2.js} +2 -2
- package/dist/cli/{index-630badhp.js → index-tj2mkfb3.js} +149 -6
- package/dist/cli/{index-rt5jgktq.js → index-wz36r0fk.js} +1 -1
- package/dist/cli/{index-bvp2v7k1.js → index-wzb4dv5s.js} +263 -16
- package/dist/cli/index.js +21 -20
- package/dist/cli/{knowledge-escalator-j0nceas7.js → knowledge-escalator-hzkw1ban.js} +3 -3
- package/dist/cli/{knowledge-events-gpqc62jr.js → knowledge-events-pbycdhqd.js} +1 -1
- package/dist/cli/{knowledge-store-ggxr3ww5.js → knowledge-store-45jawb2p.js} +1 -1
- package/dist/cli/{knowledge-validator-007smap6.js → knowledge-validator-ge576f8n.js} +4 -4
- package/dist/cli/pending-delegations-kxy8mdqg.js +75 -0
- package/dist/cli/{scan-cursor-wz4bff7a.js → scan-cursor-kvw872be.js} +2 -2
- package/dist/cli/{schema-023gwne7.js → schema-a2zm2m3r.js} +6 -2
- package/dist/cli/{scope-persistence-dm5bab50.js → scope-persistence-5qypzxxm.js} +1 -1
- package/dist/cli/{skill-generator-rtsg1m7x.js → skill-generator-ch79hvxh.js} +5 -5
- package/dist/commands/command-dispatch.d.ts +7 -0
- package/dist/commands/index.d.ts +7 -0
- package/dist/commands/registry.d.ts +16 -0
- package/dist/commands/review.d.ts +21 -0
- package/dist/config/agent-names.d.ts +3 -3
- package/dist/config/evidence-schema.d.ts +47 -47
- package/dist/config/index.d.ts +2 -2
- package/dist/config/schema.d.ts +58 -6
- package/dist/consensus/contracts.d.ts +3 -3
- package/dist/evaluation/contracts.d.ts +1 -1
- package/dist/evaluation/ephemeral-agent-dispatcher.d.ts +64 -0
- package/dist/evaluation/model-dispatcher.d.ts +11 -5
- package/dist/evaluation/public-api.d.ts +1 -1
- package/dist/hooks/auto-review.d.ts +30 -65
- package/dist/hooks/delegation-gate.d.ts +1 -1
- package/dist/hooks/guardrails/tool-before.d.ts +8 -0
- package/dist/hooks/review-receipt-collector.d.ts +53 -10
- package/dist/hooks/review-receipt-scope.d.ts +74 -0
- package/dist/hooks/review-receipt.d.ts +104 -10
- package/dist/hooks/reviewer-scope-file-fingerprint.d.ts +21 -0
- package/dist/hooks/reviewer-scope-lifecycle.d.ts +19 -0
- package/dist/hooks/task-result-classifier.d.ts +6 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +660 -607
- package/dist/memory/schema.d.ts +5 -5
- package/dist/review/contracts.d.ts +29 -0
- package/dist/review/diff-source.d.ts +134 -0
- package/dist/review/engine.d.ts +60 -0
- package/dist/review/evidence.d.ts +88 -0
- package/dist/review/finding-validator.d.ts +77 -0
- package/dist/review/phase-runner.d.ts +37 -0
- package/dist/review/runtime.d.ts +32 -0
- package/dist/scope/scope-binding.d.ts +9 -0
- package/dist/services/config-doctor.d.ts +12 -0
- package/dist/state.d.ts +179 -0
- package/dist/tools/dispatch-lanes.d.ts +2 -0
- package/dist/tools/lean-turbo-review.d.ts +4 -1
- package/dist/tools/lean-turbo-run-phase.d.ts +3 -1
- package/dist/tools/phase-complete/gates/final-review-gate.d.ts +18 -0
- package/dist/tools/phase-complete/gates/index.d.ts +1 -0
- package/dist/tools/phase-complete/gates/types.d.ts +10 -0
- package/dist/tools/phase-complete.d.ts +13 -1
- package/dist/tools/plugin-registration.d.ts +3 -1
- package/dist/tools/swarm-command.d.ts +4 -1
- package/dist/tools/tool-metadata.d.ts +22 -22
- package/dist/turbo/lean/integration.d.ts +18 -2
- package/dist/turbo/lean/reviewer.d.ts +19 -3
- package/dist/turbo/lean/runner.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cli/index-y2pfmd0z.js +0 -259
- package/dist/cli/pending-delegations-37t4xecr.js +0 -34
- package/dist/cli/{curator-drift-y1wm4atk.js → curator-drift-ea0p8nh1.js} +2 -2
- package/dist/cli/{index-4ff0x4cg.js → index-74tptrss.js} +0 -0
- package/dist/cli/{index-03zyn94g.js → index-r260ybay.js} +4 -4
|
@@ -14,10 +14,147 @@ import {
|
|
|
14
14
|
__esm
|
|
15
15
|
} from "./index-a76rekgs.js";
|
|
16
16
|
|
|
17
|
+
// package.json
|
|
18
|
+
var package_default;
|
|
19
|
+
var init_package = __esm(() => {
|
|
20
|
+
package_default = {
|
|
21
|
+
name: "opencode-swarm",
|
|
22
|
+
version: "7.133.0",
|
|
23
|
+
description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
|
|
24
|
+
main: "dist/index.js",
|
|
25
|
+
types: "dist/index.d.ts",
|
|
26
|
+
exports: {
|
|
27
|
+
".": {
|
|
28
|
+
types: "./dist/index.d.ts",
|
|
29
|
+
default: "./dist/index.js"
|
|
30
|
+
},
|
|
31
|
+
"./package.json": "./package.json"
|
|
32
|
+
},
|
|
33
|
+
bin: {
|
|
34
|
+
"opencode-swarm": "./dist/cli/index.js"
|
|
35
|
+
},
|
|
36
|
+
type: "module",
|
|
37
|
+
engines: {
|
|
38
|
+
bun: ">=1.3.13"
|
|
39
|
+
},
|
|
40
|
+
license: "MIT",
|
|
41
|
+
repository: {
|
|
42
|
+
type: "git",
|
|
43
|
+
url: "https://github.com/ZaxbyHub/opencode-swarm.git"
|
|
44
|
+
},
|
|
45
|
+
publishConfig: {
|
|
46
|
+
access: "public",
|
|
47
|
+
registry: "https://registry.npmjs.org/"
|
|
48
|
+
},
|
|
49
|
+
keywords: [
|
|
50
|
+
"opencode",
|
|
51
|
+
"opencode-plugin",
|
|
52
|
+
"ai",
|
|
53
|
+
"agents",
|
|
54
|
+
"orchestration",
|
|
55
|
+
"swarm",
|
|
56
|
+
"multi-agent",
|
|
57
|
+
"llm"
|
|
58
|
+
],
|
|
59
|
+
files: [
|
|
60
|
+
"dist",
|
|
61
|
+
"dist/lang/grammars",
|
|
62
|
+
"binaries",
|
|
63
|
+
"evaluation-fixtures",
|
|
64
|
+
".opencode/skills/brainstorm",
|
|
65
|
+
".opencode/skills/specify",
|
|
66
|
+
".opencode/skills/clarify-spec",
|
|
67
|
+
".opencode/skills/resume",
|
|
68
|
+
".opencode/skills/clarify",
|
|
69
|
+
".opencode/skills/discover",
|
|
70
|
+
".opencode/skills/consult",
|
|
71
|
+
".opencode/skills/pre-phase-briefing",
|
|
72
|
+
".opencode/skills/council",
|
|
73
|
+
".opencode/skills/deep-dive",
|
|
74
|
+
".opencode/skills/deep-research",
|
|
75
|
+
".opencode/skills/codebase-review-swarm",
|
|
76
|
+
".opencode/skills/swarm-implement",
|
|
77
|
+
".opencode/skills/design-docs",
|
|
78
|
+
".opencode/skills/swarm-pr-review",
|
|
79
|
+
".opencode/skills/swarm",
|
|
80
|
+
".opencode/skills/swarm-pr-feedback",
|
|
81
|
+
".opencode/skills/swarm-pr-subscribe",
|
|
82
|
+
".opencode/skills/swarm-ci-monitor",
|
|
83
|
+
".opencode/skills/issue-ingest",
|
|
84
|
+
".opencode/skills/plan",
|
|
85
|
+
".opencode/skills/critic-gate",
|
|
86
|
+
".opencode/skills/execute",
|
|
87
|
+
".opencode/skills/phase-wrap",
|
|
88
|
+
".opencode/skills/loop",
|
|
89
|
+
".opencode/skills/writing-tests",
|
|
90
|
+
".opencode/skills/running-tests",
|
|
91
|
+
".opencode/skills/engineering-conventions",
|
|
92
|
+
".opencode/skills/commit-pr",
|
|
93
|
+
".opencode/skills/ci-failure-batching",
|
|
94
|
+
".opencode/skills/gate-attribution",
|
|
95
|
+
".opencode/skills/merge-queue-readiness",
|
|
96
|
+
".opencode/skills/skill-edit-validation",
|
|
97
|
+
".opencode/skills/worktree-retry-cleanup",
|
|
98
|
+
".opencode/skills/test-file-split",
|
|
99
|
+
".opencode/skills/fork-pr-operations",
|
|
100
|
+
".opencode/skills/parallel-work-check",
|
|
101
|
+
".opencode/skills/ci-fix-monitor",
|
|
102
|
+
".opencode/skills/issue-tracer",
|
|
103
|
+
"tests/fixtures/memory-recall",
|
|
104
|
+
"README.md",
|
|
105
|
+
"LICENSE"
|
|
106
|
+
],
|
|
107
|
+
scripts: {
|
|
108
|
+
clean: `bun -e "require('fs').rmSync('dist',{recursive:true,force:true})"`,
|
|
109
|
+
build: "bun run clean && bun run scripts/copy-grammars.ts && bun build src/index.ts --outdir dist --target node --format esm --external web-tree-sitter --minify-whitespace --minify-syntax && bun build src/cli/index.ts --outdir dist/cli --target bun --format esm --external bash-parser --splitting && bun run scripts/copy-grammars.ts --to-dist && tsc --emitDeclarationOnly",
|
|
110
|
+
typecheck: "tsc --noEmit",
|
|
111
|
+
test: "bun test",
|
|
112
|
+
lint: "biome lint .",
|
|
113
|
+
"lint:ci": "biome ci .",
|
|
114
|
+
"test:unit:ci": "bun scripts/ci/run-unit-tests-local.ts",
|
|
115
|
+
"drift:check": "bun run scripts/drift-check.ts",
|
|
116
|
+
"drift:fix": "bun run scripts/drift-check.ts --fix --confirm",
|
|
117
|
+
"skills:sync": "bun run scripts/sync-qa-gate-skills.ts",
|
|
118
|
+
format: "biome format . --write",
|
|
119
|
+
check: "biome check --write .",
|
|
120
|
+
dev: "bun run build && opencode",
|
|
121
|
+
"package:smoke": "node scripts/package-smoke.mjs",
|
|
122
|
+
prepare: "bun run build",
|
|
123
|
+
"repro:704": "node scripts/repro-704.mjs",
|
|
124
|
+
"repro:1144": "bun scripts/repro-1144.mjs",
|
|
125
|
+
"repro:1873": "bun build scripts/repro-1873-entry.ts --outdir dist-build-test/repro-1873 --target node --format esm && node scripts/repro-1873.mjs"
|
|
126
|
+
},
|
|
127
|
+
dependencies: {
|
|
128
|
+
"@opencode-ai/plugin": "^1.18.3",
|
|
129
|
+
"@opencode-ai/sdk": "^1.18.3",
|
|
130
|
+
"@vscode/tree-sitter-wasm": "^0.3.0",
|
|
131
|
+
"bash-parser": "^0.5.0",
|
|
132
|
+
"p-limit": "^7.3.0",
|
|
133
|
+
picomatch: "^4.0.4",
|
|
134
|
+
"proper-lockfile": "^4.1.2",
|
|
135
|
+
"quick-lru": "^7.3.0",
|
|
136
|
+
"web-tree-sitter": "^0.25.0",
|
|
137
|
+
zod: "^4.1.8"
|
|
138
|
+
},
|
|
139
|
+
devDependencies: {
|
|
140
|
+
"@biomejs/biome": "2.3.14",
|
|
141
|
+
"@types/picomatch": "^4.0.3",
|
|
142
|
+
"bun-types": "1.3.8",
|
|
143
|
+
"js-yaml": "^4.1.1",
|
|
144
|
+
typescript: "^5.7.3"
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
});
|
|
148
|
+
|
|
17
149
|
// src/config/agent-names.ts
|
|
18
150
|
var QA_AGENTS, PIPELINE_AGENTS, ORCHESTRATOR_NAME = "architect", ALL_SUBAGENT_NAMES, ALL_AGENT_NAMES;
|
|
19
151
|
var init_agent_names = __esm(() => {
|
|
20
|
-
QA_AGENTS = [
|
|
152
|
+
QA_AGENTS = [
|
|
153
|
+
"reviewer",
|
|
154
|
+
"critic",
|
|
155
|
+
"critic_oversight",
|
|
156
|
+
"critic_finding_validator"
|
|
157
|
+
];
|
|
21
158
|
PIPELINE_AGENTS = ["explorer", "coder", "test_engineer"];
|
|
22
159
|
ALL_SUBAGENT_NAMES = [
|
|
23
160
|
"sme",
|
|
@@ -57,6 +194,7 @@ var init_tool_metadata = __esm(() => {
|
|
|
57
194
|
agents: [
|
|
58
195
|
"architect",
|
|
59
196
|
"reviewer",
|
|
197
|
+
"critic_finding_validator",
|
|
60
198
|
"critic_oversight",
|
|
61
199
|
"coder",
|
|
62
200
|
"test_engineer"
|
|
@@ -68,7 +206,12 @@ var init_tool_metadata = __esm(() => {
|
|
|
68
206
|
},
|
|
69
207
|
diff_summary: {
|
|
70
208
|
description: "filter classified AST changes by category, risk level, or file for reviewer drill-down",
|
|
71
|
-
agents: [
|
|
209
|
+
agents: [
|
|
210
|
+
"architect",
|
|
211
|
+
"reviewer",
|
|
212
|
+
"critic_finding_validator",
|
|
213
|
+
"critic_oversight"
|
|
214
|
+
],
|
|
72
215
|
prWorkflow: {
|
|
73
216
|
modes: ["PR_REVIEW", "PR_FEEDBACK"],
|
|
74
217
|
capability: "observe"
|
|
@@ -84,7 +227,7 @@ var init_tool_metadata = __esm(() => {
|
|
|
84
227
|
},
|
|
85
228
|
placeholder_scan: {
|
|
86
229
|
description: "todo and FIXME comment detection",
|
|
87
|
-
agents: ["architect", "reviewer"],
|
|
230
|
+
agents: ["architect", "reviewer", "critic_finding_validator"],
|
|
88
231
|
prWorkflow: {
|
|
89
232
|
modes: ["PR_REVIEW", "PR_FEEDBACK"],
|
|
90
233
|
capability: "observe"
|
|
@@ -102,6 +245,7 @@ var init_tool_metadata = __esm(() => {
|
|
|
102
245
|
"critic_drift_verifier",
|
|
103
246
|
"critic_hallucination_verifier",
|
|
104
247
|
"reviewer",
|
|
248
|
+
"critic_finding_validator",
|
|
105
249
|
"critic",
|
|
106
250
|
"coder",
|
|
107
251
|
"test_engineer"
|
|
@@ -113,7 +257,7 @@ var init_tool_metadata = __esm(() => {
|
|
|
113
257
|
},
|
|
114
258
|
lint: {
|
|
115
259
|
description: "run project linter in check or fix mode; supports biome, eslint, ruff, clippy, and more, returns structured results",
|
|
116
|
-
agents: ["architect", "reviewer", "coder"],
|
|
260
|
+
agents: ["architect", "reviewer", "critic_finding_validator", "coder"],
|
|
117
261
|
prWorkflow: {
|
|
118
262
|
modes: ["PR_REVIEW"],
|
|
119
263
|
capability: "validate"
|
|
@@ -121,7 +265,12 @@ var init_tool_metadata = __esm(() => {
|
|
|
121
265
|
},
|
|
122
266
|
secretscan: {
|
|
123
267
|
description: "scan for secrets (API keys, tokens, passwords) via regex and entropy; returns redacted previews, excludes common dirs",
|
|
124
|
-
agents: [
|
|
268
|
+
agents: [
|
|
269
|
+
"architect",
|
|
270
|
+
"reviewer",
|
|
271
|
+
"critic_finding_validator",
|
|
272
|
+
"critic_oversight"
|
|
273
|
+
],
|
|
125
274
|
prWorkflow: {
|
|
126
275
|
modes: ["PR_REVIEW"],
|
|
127
276
|
capability: "validate"
|
|
@@ -129,7 +278,12 @@ var init_tool_metadata = __esm(() => {
|
|
|
129
278
|
},
|
|
130
279
|
sast_scan: {
|
|
131
280
|
description: "static analysis security scan",
|
|
132
|
-
agents: [
|
|
281
|
+
agents: [
|
|
282
|
+
"architect",
|
|
283
|
+
"reviewer",
|
|
284
|
+
"critic_finding_validator",
|
|
285
|
+
"critic_oversight"
|
|
286
|
+
],
|
|
133
287
|
prWorkflow: {
|
|
134
288
|
modes: ["PR_REVIEW"],
|
|
135
289
|
capability: "validate"
|
|
@@ -141,7 +295,7 @@ var init_tool_metadata = __esm(() => {
|
|
|
141
295
|
},
|
|
142
296
|
pre_check_batch: {
|
|
143
297
|
description: "parallel verification: lint:check + secretscan + sast_scan + quality_budget",
|
|
144
|
-
agents: ["architect", "reviewer"]
|
|
298
|
+
agents: ["architect", "reviewer", "critic_finding_validator"]
|
|
145
299
|
},
|
|
146
300
|
quality_budget: {
|
|
147
301
|
description: "code quality budget check",
|
|
@@ -165,6 +319,7 @@ var init_tool_metadata = __esm(() => {
|
|
|
165
319
|
"critic_hallucination_verifier",
|
|
166
320
|
"spec_writer",
|
|
167
321
|
"reviewer",
|
|
322
|
+
"critic_finding_validator",
|
|
168
323
|
"critic",
|
|
169
324
|
"coder",
|
|
170
325
|
"test_engineer"
|
|
@@ -180,6 +335,7 @@ var init_tool_metadata = __esm(() => {
|
|
|
180
335
|
"critic_drift_verifier",
|
|
181
336
|
"critic_hallucination_verifier",
|
|
182
337
|
"reviewer",
|
|
338
|
+
"critic_finding_validator",
|
|
183
339
|
"critic",
|
|
184
340
|
"critic_oversight",
|
|
185
341
|
"explorer",
|
|
@@ -256,6 +412,7 @@ var init_tool_metadata = __esm(() => {
|
|
|
256
412
|
"architect",
|
|
257
413
|
"critic_hallucination_verifier",
|
|
258
414
|
"reviewer",
|
|
415
|
+
"critic_finding_validator",
|
|
259
416
|
"critic_oversight",
|
|
260
417
|
"test_engineer"
|
|
261
418
|
],
|
|
@@ -286,7 +443,12 @@ var init_tool_metadata = __esm(() => {
|
|
|
286
443
|
},
|
|
287
444
|
test_runner: {
|
|
288
445
|
description: "auto-detect and run tests",
|
|
289
|
-
agents: [
|
|
446
|
+
agents: [
|
|
447
|
+
"architect",
|
|
448
|
+
"reviewer",
|
|
449
|
+
"critic_finding_validator",
|
|
450
|
+
"test_engineer"
|
|
451
|
+
],
|
|
290
452
|
prWorkflow: {
|
|
291
453
|
modes: ["PR_REVIEW"],
|
|
292
454
|
capability: "validate"
|
|
@@ -294,7 +456,13 @@ var init_tool_metadata = __esm(() => {
|
|
|
294
456
|
},
|
|
295
457
|
test_impact: {
|
|
296
458
|
description: "identify test files impacted by changed source files via import analysis",
|
|
297
|
-
agents: [
|
|
459
|
+
agents: [
|
|
460
|
+
"architect",
|
|
461
|
+
"reviewer",
|
|
462
|
+
"critic_finding_validator",
|
|
463
|
+
"critic_oversight",
|
|
464
|
+
"test_engineer"
|
|
465
|
+
],
|
|
298
466
|
prWorkflow: {
|
|
299
467
|
modes: ["PR_REVIEW", "PR_FEEDBACK"],
|
|
300
468
|
capability: "observe"
|
|
@@ -325,7 +493,7 @@ var init_tool_metadata = __esm(() => {
|
|
|
325
493
|
},
|
|
326
494
|
git_blame: {
|
|
327
495
|
description: "per-line git blame metadata: sha, author, date, summary for each line in a file",
|
|
328
|
-
agents: ["reviewer", "explorer", "architect"],
|
|
496
|
+
agents: ["reviewer", "critic_finding_validator", "explorer", "architect"],
|
|
329
497
|
prWorkflow: {
|
|
330
498
|
modes: ["PR_REVIEW", "PR_FEEDBACK"],
|
|
331
499
|
capability: "observe"
|
|
@@ -353,6 +521,7 @@ var init_tool_metadata = __esm(() => {
|
|
|
353
521
|
"critic_architecture_supervisor",
|
|
354
522
|
"spec_writer",
|
|
355
523
|
"reviewer",
|
|
524
|
+
"critic_finding_validator",
|
|
356
525
|
"critic",
|
|
357
526
|
"coder",
|
|
358
527
|
"test_engineer"
|
|
@@ -464,6 +633,7 @@ var init_tool_metadata = __esm(() => {
|
|
|
464
633
|
"skill_improver",
|
|
465
634
|
"spec_writer",
|
|
466
635
|
"reviewer",
|
|
636
|
+
"critic_finding_validator",
|
|
467
637
|
"critic",
|
|
468
638
|
"critic_oversight",
|
|
469
639
|
"explorer",
|
|
@@ -495,6 +665,7 @@ var init_tool_metadata = __esm(() => {
|
|
|
495
665
|
"skill_improver",
|
|
496
666
|
"spec_writer",
|
|
497
667
|
"reviewer",
|
|
668
|
+
"critic_finding_validator",
|
|
498
669
|
"critic_oversight",
|
|
499
670
|
"explorer",
|
|
500
671
|
"coder",
|
|
@@ -555,13 +726,14 @@ var init_tool_metadata = __esm(() => {
|
|
|
555
726
|
"architect",
|
|
556
727
|
"critic_hallucination_verifier",
|
|
557
728
|
"reviewer",
|
|
729
|
+
"critic_finding_validator",
|
|
558
730
|
"critic_oversight",
|
|
559
731
|
"explorer"
|
|
560
732
|
]
|
|
561
733
|
},
|
|
562
734
|
suggest_patch: {
|
|
563
735
|
description: "Reviewer-safe structured patch suggestion tool. Produces context-anchored patch artifacts without file modification. Returns structured diagnostics on context mismatch.",
|
|
564
|
-
agents: ["architect", "reviewer"]
|
|
736
|
+
agents: ["architect", "reviewer", "critic_finding_validator"]
|
|
565
737
|
},
|
|
566
738
|
req_coverage: {
|
|
567
739
|
description: "query requirement coverage status for tracked functional requirements",
|
|
@@ -587,6 +759,7 @@ var init_tool_metadata = __esm(() => {
|
|
|
587
759
|
"critic_hallucination_verifier",
|
|
588
760
|
"critic_architecture_supervisor",
|
|
589
761
|
"reviewer",
|
|
762
|
+
"critic_finding_validator",
|
|
590
763
|
"critic",
|
|
591
764
|
"critic_oversight",
|
|
592
765
|
"explorer",
|
|
@@ -674,6 +847,7 @@ var init_tool_metadata = __esm(() => {
|
|
|
674
847
|
"skill_improver",
|
|
675
848
|
"spec_writer",
|
|
676
849
|
"reviewer",
|
|
850
|
+
"critic_finding_validator",
|
|
677
851
|
"critic",
|
|
678
852
|
"coder",
|
|
679
853
|
"test_engineer"
|
|
@@ -701,6 +875,7 @@ var init_tool_metadata = __esm(() => {
|
|
|
701
875
|
"docs_design",
|
|
702
876
|
"designer",
|
|
703
877
|
"reviewer",
|
|
878
|
+
"critic_finding_validator",
|
|
704
879
|
"critic",
|
|
705
880
|
"explorer",
|
|
706
881
|
"coder",
|
|
@@ -1060,6 +1235,7 @@ var init_constants = __esm(() => {
|
|
|
1060
1235
|
critic_hallucination_verifier: "opencode/gpt-5-nano",
|
|
1061
1236
|
critic_oversight: "opencode/gpt-5-nano",
|
|
1062
1237
|
critic_architecture_supervisor: "opencode/big-pickle",
|
|
1238
|
+
critic_finding_validator: "opencode/big-pickle",
|
|
1063
1239
|
docs: "opencode/big-pickle",
|
|
1064
1240
|
docs_design: "opencode/big-pickle",
|
|
1065
1241
|
designer: "opencode/big-pickle",
|
|
@@ -1132,6 +1308,10 @@ var init_constants = __esm(() => {
|
|
|
1132
1308
|
model: "opencode/big-pickle",
|
|
1133
1309
|
fallback_models: ["opencode/gpt-5-nano"]
|
|
1134
1310
|
},
|
|
1311
|
+
critic_finding_validator: {
|
|
1312
|
+
model: "opencode/big-pickle",
|
|
1313
|
+
fallback_models: ["opencode/gpt-5-nano"]
|
|
1314
|
+
},
|
|
1135
1315
|
curator_init: {
|
|
1136
1316
|
model: "opencode/gpt-5-nano",
|
|
1137
1317
|
fallback_models: ["opencode/big-pickle"]
|
|
@@ -1208,6 +1388,44 @@ function resolveGeneratedAgentRole(agentName, generatedAgentNames) {
|
|
|
1208
1388
|
function stripKnownSwarmPrefix(agentName) {
|
|
1209
1389
|
return getCanonicalAgentRole(agentName);
|
|
1210
1390
|
}
|
|
1391
|
+
function hasApprovedAutoReviewBurnIn(decision) {
|
|
1392
|
+
return Boolean(decision?.approved === true && decision.artifact_path === AUTO_REVIEW_V8_BURN_IN_DECISION.artifact_path && decision.artifact_sha256 === AUTO_REVIEW_V8_BURN_IN_DECISION.artifact_sha256);
|
|
1393
|
+
}
|
|
1394
|
+
function autoReviewEnabledByRelease(context = {}) {
|
|
1395
|
+
const version = context.packageVersion ?? package_default.version;
|
|
1396
|
+
const major = Number.parseInt(version.split(".")[0] ?? "", 10);
|
|
1397
|
+
return Number.isInteger(major) && major >= 8 && hasApprovedAutoReviewBurnIn(context.burnInDecision ?? AUTO_REVIEW_V8_BURN_IN_DECISION);
|
|
1398
|
+
}
|
|
1399
|
+
function isPlainRecord(value) {
|
|
1400
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
1401
|
+
}
|
|
1402
|
+
function normalizeAutoReviewInput(value, context = {}) {
|
|
1403
|
+
if (!isPlainRecord(value))
|
|
1404
|
+
return value;
|
|
1405
|
+
const normalized = { ...value };
|
|
1406
|
+
if (!Object.hasOwn(value, "enabled")) {
|
|
1407
|
+
normalized.enabled = autoReviewEnabledByRelease(context);
|
|
1408
|
+
}
|
|
1409
|
+
if (Object.hasOwn(value, "final_review") && !isPlainRecord(value.final_review)) {
|
|
1410
|
+
return normalized;
|
|
1411
|
+
}
|
|
1412
|
+
const nested = isPlainRecord(value.final_review) ? { ...value.final_review } : {};
|
|
1413
|
+
if (!Object.hasOwn(nested, "max_diff_bytes")) {
|
|
1414
|
+
nested.max_diff_bytes = typeof value.max_diff_kb === "number" ? value.max_diff_kb * 1024 : 262144;
|
|
1415
|
+
}
|
|
1416
|
+
if (!Object.hasOwn(nested, "timeout_ms")) {
|
|
1417
|
+
nested.timeout_ms = typeof value.timeout_ms === "number" ? value.timeout_ms : 300000;
|
|
1418
|
+
}
|
|
1419
|
+
normalized.final_review = nested;
|
|
1420
|
+
return normalized;
|
|
1421
|
+
}
|
|
1422
|
+
function resolveAutoReviewConfig(raw = {}, context = {}) {
|
|
1423
|
+
const parsed = AutoReviewConfigObjectSchema.parse(normalizeAutoReviewInput(raw, context));
|
|
1424
|
+
if (parsed.final_review.mode === "gate" && parsed.structured_findings === false) {
|
|
1425
|
+
throw new Error('auto_review.final_review.mode="gate" requires auto_review.structured_findings=true');
|
|
1426
|
+
}
|
|
1427
|
+
return parsed;
|
|
1428
|
+
}
|
|
1211
1429
|
function resolveGuardrailsConfig(config, agentName) {
|
|
1212
1430
|
if (!agentName) {
|
|
1213
1431
|
return config;
|
|
@@ -1265,9 +1483,10 @@ function resolveExternalSkillsConfig(input) {
|
|
|
1265
1483
|
};
|
|
1266
1484
|
return merged;
|
|
1267
1485
|
}
|
|
1268
|
-
var _internals, SEPARATORS, CANONICAL_ROLES_LONGEST_FIRST, CANONICAL_ROLES_SET, AgentReasoningConfigSchema, AgentThinkingConfigSchema, FALLBACK_MODELS_MAX = 3, AgentOverrideConfigSchema, SwarmConfigSchema, ModelPricingConfigSchema, PricingConfigSchema, HooksConfigSchema, ScoringWeightsSchema, DecisionDecaySchema, TokenRatiosSchema, ScoringConfigSchema, ContextBudgetConfigSchema, EvidenceConfigSchema, GateFeatureSchema, PlaceholderScanConfigSchema, QualityBudgetConfigSchema, GATE_CONFIG_KNOWN_SECTION_KEYS, GateConfigSchema, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, ReviewPassesConfigSchema, AutoReviewConfigSchema, AdversarialDetectionConfigSchema, AdversarialTestingConfigSchemaBase, AdversarialTestingConfigSchema, IntegrationAnalysisConfigSchema, DocsConfigSchema, DesignDocsConfigSchema, UIReviewConfigSchema, CompactionAdvisoryConfigSchema, LintConfigSchema, SecretscanConfigSchema, GuardrailsProfileSchema, DEFAULT_AGENT_PROFILES, DEFAULT_ARCHITECT_PROFILE, GuardrailsConfigSchema, WatchdogConfigSchema, SelfReviewConfigSchema, ToolFilterConfigSchema, PlanCursorConfigSchema, ContextMapConfigSchema, RepoGraphConfigSchema, INVALID_CHECKPOINT_PROTO_FIELD = "__swarm_invalid_checkpoint_proto__", FORBIDDEN_CHECKPOINT_CONFIG_KEYS, CheckpointConfigSchema, ApplyPatchConfigSchema, AutomationModeSchema, AutomationCapabilitiesSchema, AutomationConfigSchemaBase, AutomationConfigSchema, KnowledgeConfigSchema, LearningConfigSchema, ConsensusConfigSchema, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationAudienceSchema, SkillPropagationConfigSchema, SkillImproverConfigSchema, SkillsConfigSchema, SpecWriterConfigSchema, SlopDetectorConfigSchema, IncrementalVerifyConfigSchema, CompactionConfigSchema, PrmConfigSchema, AgentAuthorityRuleSchema, AuthorityConfigSchema, GeneralCouncilMemberConfigSchema, GeneralCouncilConfigSchema, CouncilConfigSchema, PrMonitorConfigSchema, ParallelizationConfigSchema, WorktreeIsolationConfigSchema, LeanTurboConfigSchema, EpicConfigSchema, StandardTurboConfigSchema, LeanTurboStrategyConfigSchema, TurboConfigSchema, ExternalSkillCandidateSourceTypeSchema, ExternalSkillCandidateEvaluationVerdictSchema, DiscoverySourceSchema, ExternalSkillCandidateSchema, ExternalSkillsConfigSchema, DEFAULT_EXTERNAL_SKILLS_CONFIG, DEFAULT_SKILLS_CONFIG, PluginConfigSchema;
|
|
1486
|
+
var _internals, SEPARATORS, CANONICAL_ROLES_LONGEST_FIRST, CANONICAL_ROLES_SET, AgentReasoningConfigSchema, AgentThinkingConfigSchema, FALLBACK_MODELS_MAX = 3, AgentOverrideConfigSchema, SwarmConfigSchema, ModelPricingConfigSchema, PricingConfigSchema, HooksConfigSchema, ScoringWeightsSchema, DecisionDecaySchema, TokenRatiosSchema, ScoringConfigSchema, ContextBudgetConfigSchema, EvidenceConfigSchema, GateFeatureSchema, PlaceholderScanConfigSchema, QualityBudgetConfigSchema, GATE_CONFIG_KNOWN_SECTION_KEYS, GateConfigSchema, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, ReviewPassesConfigSchema, AUTO_REVIEW_V8_BURN_IN_DECISION, AutoReviewFinalConfigSchema, AutoReviewConfigObjectSchema, AutoReviewConfigSchema, AdversarialDetectionConfigSchema, AdversarialTestingConfigSchemaBase, AdversarialTestingConfigSchema, IntegrationAnalysisConfigSchema, DocsConfigSchema, DesignDocsConfigSchema, UIReviewConfigSchema, CompactionAdvisoryConfigSchema, LintConfigSchema, SecretscanConfigSchema, GuardrailsProfileSchema, DEFAULT_AGENT_PROFILES, DEFAULT_ARCHITECT_PROFILE, GuardrailsConfigSchema, WatchdogConfigSchema, SelfReviewConfigSchema, ToolFilterConfigSchema, PlanCursorConfigSchema, ContextMapConfigSchema, RepoGraphConfigSchema, INVALID_CHECKPOINT_PROTO_FIELD = "__swarm_invalid_checkpoint_proto__", FORBIDDEN_CHECKPOINT_CONFIG_KEYS, CheckpointConfigSchema, ApplyPatchConfigSchema, AutomationModeSchema, AutomationCapabilitiesSchema, AutomationConfigSchemaBase, AutomationConfigSchema, KnowledgeConfigSchema, LearningConfigSchema, ConsensusConfigSchema, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationAudienceSchema, SkillPropagationConfigSchema, SkillImproverConfigSchema, SkillsConfigSchema, SpecWriterConfigSchema, SlopDetectorConfigSchema, IncrementalVerifyConfigSchema, CompactionConfigSchema, PrmConfigSchema, AgentAuthorityRuleSchema, AuthorityConfigSchema, GeneralCouncilMemberConfigSchema, GeneralCouncilConfigSchema, CouncilConfigSchema, PrMonitorConfigSchema, ParallelizationConfigSchema, WorktreeIsolationConfigSchema, LeanTurboConfigSchema, EpicConfigSchema, StandardTurboConfigSchema, LeanTurboStrategyConfigSchema, TurboConfigSchema, ExternalSkillCandidateSourceTypeSchema, ExternalSkillCandidateEvaluationVerdictSchema, DiscoverySourceSchema, ExternalSkillCandidateSchema, ExternalSkillsConfigSchema, DEFAULT_EXTERNAL_SKILLS_CONFIG, DEFAULT_SKILLS_CONFIG, PluginConfigSchema;
|
|
1269
1487
|
var init_schema = __esm(() => {
|
|
1270
1488
|
init_zod();
|
|
1489
|
+
init_package();
|
|
1271
1490
|
init_knowledge_types();
|
|
1272
1491
|
init_constants();
|
|
1273
1492
|
_internals = {
|
|
@@ -1489,12 +1708,39 @@ var init_schema = __esm(() => {
|
|
|
1489
1708
|
"**/token/**"
|
|
1490
1709
|
])
|
|
1491
1710
|
});
|
|
1492
|
-
|
|
1493
|
-
|
|
1711
|
+
AUTO_REVIEW_V8_BURN_IN_DECISION = {
|
|
1712
|
+
approved: true,
|
|
1713
|
+
artifact_path: "docs/benchmarks/auto-review-v8-cost-baseline.json",
|
|
1714
|
+
artifact_sha256: "b4e981d4d87e3de80f6d7dd4ae782b08159d385019c4d8b0d300c0443f1984ce"
|
|
1715
|
+
};
|
|
1716
|
+
AutoReviewFinalConfigSchema = exports_external.object({
|
|
1717
|
+
on_phase_complete: exports_external.boolean().default(true),
|
|
1718
|
+
on_plan_complete: exports_external.boolean().default(true),
|
|
1719
|
+
model: exports_external.string().min(1).nullable().default(null),
|
|
1720
|
+
mode: exports_external.enum(["advisory", "gate"]).default("advisory"),
|
|
1721
|
+
max_diff_bytes: exports_external.number().int().min(16 * 1024).max(2 * 1024 * 1024).default(262144),
|
|
1722
|
+
timeout_ms: exports_external.number().int().min(1e4).max(1800000).default(300000)
|
|
1723
|
+
});
|
|
1724
|
+
AutoReviewConfigObjectSchema = exports_external.object({
|
|
1725
|
+
enabled: exports_external.boolean(),
|
|
1494
1726
|
trigger: exports_external.enum(["task_completion", "phase_boundary", "both"]).default("phase_boundary"),
|
|
1495
1727
|
timeout_ms: exports_external.number().int().min(1e4).max(1800000).default(300000),
|
|
1496
|
-
max_diff_kb: exports_external.number().int().min(16).max(2048).default(256)
|
|
1728
|
+
max_diff_kb: exports_external.number().int().min(16).max(2048).default(256),
|
|
1729
|
+
min_confidence: exports_external.number().min(0).max(1).default(0.7),
|
|
1730
|
+
structured_findings: exports_external.boolean().default(true),
|
|
1731
|
+
validate_findings: exports_external.boolean().default(false),
|
|
1732
|
+
validation_model: exports_external.string().min(1).nullable().default(null),
|
|
1733
|
+
validation_timeout_ms: exports_external.number().int().min(1e4).max(1800000).default(120000),
|
|
1734
|
+
final_review: AutoReviewFinalConfigSchema.default({
|
|
1735
|
+
on_phase_complete: true,
|
|
1736
|
+
on_plan_complete: true,
|
|
1737
|
+
model: null,
|
|
1738
|
+
mode: "advisory",
|
|
1739
|
+
max_diff_bytes: 262144,
|
|
1740
|
+
timeout_ms: 300000
|
|
1741
|
+
})
|
|
1497
1742
|
});
|
|
1743
|
+
AutoReviewConfigSchema = exports_external.preprocess((value) => normalizeAutoReviewInput(value), AutoReviewConfigObjectSchema);
|
|
1498
1744
|
AdversarialDetectionConfigSchema = exports_external.object({
|
|
1499
1745
|
enabled: exports_external.boolean().default(true),
|
|
1500
1746
|
policy: exports_external.enum(["warn", "gate", "ignore"]).default("warn"),
|
|
@@ -2455,6 +2701,7 @@ var init_schema = __esm(() => {
|
|
|
2455
2701
|
enabled: false
|
|
2456
2702
|
};
|
|
2457
2703
|
PluginConfigSchema = exports_external.object({
|
|
2704
|
+
config_format_version: exports_external.number().int().min(0).default(1),
|
|
2458
2705
|
agents: exports_external.record(exports_external.string(), AgentOverrideConfigSchema).optional(),
|
|
2459
2706
|
default_agent: exports_external.string().optional().transform((v) => {
|
|
2460
2707
|
if (v === undefined)
|
|
@@ -2696,4 +2943,4 @@ var init_schema = __esm(() => {
|
|
|
2696
2943
|
});
|
|
2697
2944
|
});
|
|
2698
2945
|
|
|
2699
|
-
export { QA_AGENTS, PIPELINE_AGENTS, ORCHESTRATOR_NAME, ALL_SUBAGENT_NAMES, ALL_AGENT_NAMES, init_agent_names, TOOL_NAMES, TOOL_NAME_SET, AGENT_TOOL_MAP, init_tool_metadata, DEFAULT_MODELS, DEFAULT_AGENT_CONFIGS, isQAAgent, isSubagent, DEFAULT_WORKTREE_ISOLATION_CONFIG, init_constants, _internals, isKnownCanonicalRole, getCanonicalAgentRole, resolveGeneratedAgentRole, stripKnownSwarmPrefix, AgentReasoningConfigSchema, AgentThinkingConfigSchema, FALLBACK_MODELS_MAX, AgentOverrideConfigSchema, SwarmConfigSchema, ModelPricingConfigSchema, PricingConfigSchema, HooksConfigSchema, ScoringWeightsSchema, DecisionDecaySchema, TokenRatiosSchema, ScoringConfigSchema, ContextBudgetConfigSchema, EvidenceConfigSchema, GateFeatureSchema, PlaceholderScanConfigSchema, QualityBudgetConfigSchema, GATE_CONFIG_KNOWN_SECTION_KEYS, GateConfigSchema, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, ReviewPassesConfigSchema, AutoReviewConfigSchema, AdversarialDetectionConfigSchema, AdversarialTestingConfigSchema, IntegrationAnalysisConfigSchema, DocsConfigSchema, DesignDocsConfigSchema, UIReviewConfigSchema, CompactionAdvisoryConfigSchema, LintConfigSchema, SecretscanConfigSchema, GuardrailsProfileSchema, DEFAULT_AGENT_PROFILES, DEFAULT_ARCHITECT_PROFILE, GuardrailsConfigSchema, WatchdogConfigSchema, SelfReviewConfigSchema, resolveGuardrailsConfig, ToolFilterConfigSchema, PlanCursorConfigSchema, ContextMapConfigSchema, RepoGraphConfigSchema, CheckpointConfigSchema, ApplyPatchConfigSchema, AutomationModeSchema, AutomationCapabilitiesSchema, AutomationConfigSchema, KnowledgeConfigSchema, LearningConfigSchema, ConsensusConfigSchema, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationConfigSchema, SkillImproverConfigSchema, SkillsConfigSchema, SpecWriterConfigSchema, SlopDetectorConfigSchema, IncrementalVerifyConfigSchema, CompactionConfigSchema, PrmConfigSchema, AgentAuthorityRuleSchema, AuthorityConfigSchema, GeneralCouncilConfigSchema, CouncilConfigSchema, PrMonitorConfigSchema, ParallelizationConfigSchema, WorktreeIsolationConfigSchema, LeanTurboConfigSchema, EpicConfigSchema, StandardTurboConfigSchema, LeanTurboStrategyConfigSchema, TurboConfigSchema, ExternalSkillCandidateSourceTypeSchema, ExternalSkillCandidateEvaluationVerdictSchema, DiscoverySourceSchema, ExternalSkillCandidateSchema, ExternalSkillsConfigSchema, DEFAULT_EXTERNAL_SKILLS_CONFIG, DEFAULT_SKILLS_CONFIG, resolveExternalSkillsConfig, PluginConfigSchema, init_schema };
|
|
2946
|
+
export { init_package, package_default, QA_AGENTS, PIPELINE_AGENTS, ORCHESTRATOR_NAME, ALL_SUBAGENT_NAMES, ALL_AGENT_NAMES, init_agent_names, TOOL_NAMES, TOOL_NAME_SET, AGENT_TOOL_MAP, init_tool_metadata, DEFAULT_MODELS, DEFAULT_AGENT_CONFIGS, isQAAgent, isSubagent, DEFAULT_WORKTREE_ISOLATION_CONFIG, init_constants, _internals, isKnownCanonicalRole, getCanonicalAgentRole, resolveGeneratedAgentRole, stripKnownSwarmPrefix, AgentReasoningConfigSchema, AgentThinkingConfigSchema, FALLBACK_MODELS_MAX, AgentOverrideConfigSchema, SwarmConfigSchema, ModelPricingConfigSchema, PricingConfigSchema, HooksConfigSchema, ScoringWeightsSchema, DecisionDecaySchema, TokenRatiosSchema, ScoringConfigSchema, ContextBudgetConfigSchema, EvidenceConfigSchema, GateFeatureSchema, PlaceholderScanConfigSchema, QualityBudgetConfigSchema, GATE_CONFIG_KNOWN_SECTION_KEYS, GateConfigSchema, PipelineConfigSchema, PhaseCompleteConfigSchema, SummaryConfigSchema, ReviewPassesConfigSchema, AUTO_REVIEW_V8_BURN_IN_DECISION, AutoReviewConfigSchema, resolveAutoReviewConfig, AdversarialDetectionConfigSchema, AdversarialTestingConfigSchema, IntegrationAnalysisConfigSchema, DocsConfigSchema, DesignDocsConfigSchema, UIReviewConfigSchema, CompactionAdvisoryConfigSchema, LintConfigSchema, SecretscanConfigSchema, GuardrailsProfileSchema, DEFAULT_AGENT_PROFILES, DEFAULT_ARCHITECT_PROFILE, GuardrailsConfigSchema, WatchdogConfigSchema, SelfReviewConfigSchema, resolveGuardrailsConfig, ToolFilterConfigSchema, PlanCursorConfigSchema, ContextMapConfigSchema, RepoGraphConfigSchema, CheckpointConfigSchema, ApplyPatchConfigSchema, AutomationModeSchema, AutomationCapabilitiesSchema, AutomationConfigSchema, KnowledgeConfigSchema, LearningConfigSchema, ConsensusConfigSchema, MemoryConfigSchema, CuratorConfigSchema, ArchitecturalSupervisionConfigSchema, KnowledgeApplicationConfigSchema, SkillPropagationConfigSchema, SkillImproverConfigSchema, SkillsConfigSchema, SpecWriterConfigSchema, SlopDetectorConfigSchema, IncrementalVerifyConfigSchema, CompactionConfigSchema, PrmConfigSchema, AgentAuthorityRuleSchema, AuthorityConfigSchema, GeneralCouncilConfigSchema, CouncilConfigSchema, PrMonitorConfigSchema, ParallelizationConfigSchema, WorktreeIsolationConfigSchema, LeanTurboConfigSchema, EpicConfigSchema, StandardTurboConfigSchema, LeanTurboStrategyConfigSchema, TurboConfigSchema, ExternalSkillCandidateSourceTypeSchema, ExternalSkillCandidateEvaluationVerdictSchema, DiscoverySourceSchema, ExternalSkillCandidateSchema, ExternalSkillsConfigSchema, DEFAULT_EXTERNAL_SKILLS_CONFIG, DEFAULT_SKILLS_CONFIG, resolveExternalSkillsConfig, PluginConfigSchema, init_schema };
|
package/dist/cli/index.js
CHANGED
|
@@ -5,47 +5,47 @@ import {
|
|
|
5
5
|
getPluginCachePaths,
|
|
6
6
|
getPluginConfigDir,
|
|
7
7
|
getPluginLockFilePaths,
|
|
8
|
-
package_default,
|
|
9
8
|
resolveCommand
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
9
|
+
} from "./index-mwqfyjja.js";
|
|
10
|
+
import"./index-mmvaf4t6.js";
|
|
11
|
+
import"./index-tj2mkfb3.js";
|
|
12
|
+
import"./index-r260ybay.js";
|
|
14
13
|
import"./index-4905hd2m.js";
|
|
15
14
|
import"./index-134d35c1.js";
|
|
16
15
|
import"./index-9f71ye47.js";
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
16
|
+
import"./index-0vd91yb8.js";
|
|
17
|
+
import"./index-cpest8sa.js";
|
|
18
|
+
import"./index-66zght9d.js";
|
|
20
19
|
import"./index-vxv732ex.js";
|
|
21
20
|
import"./index-c8s9a3zh.js";
|
|
22
21
|
import"./index-9ss2m4rs.js";
|
|
23
22
|
import"./index-g4mnf3p5.js";
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
23
|
+
import"./index-s80bsjkj.js";
|
|
24
|
+
import"./index-7ftthvqt.js";
|
|
25
|
+
import"./index-wz36r0fk.js";
|
|
26
26
|
import"./index-rtry5xyf.js";
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
27
|
+
import"./index-j5pnah1w.js";
|
|
28
|
+
import"./index-bz08438z.js";
|
|
29
29
|
import"./index-ae75rja9.js";
|
|
30
30
|
import"./index-q27bajqb.js";
|
|
31
|
-
import"./index-
|
|
31
|
+
import"./index-kc1m6vpr.js";
|
|
32
32
|
import"./index-k5jrywpr.js";
|
|
33
33
|
import"./index-n832052r.js";
|
|
34
34
|
import {
|
|
35
35
|
DEFAULT_AGENT_CONFIGS,
|
|
36
|
-
init_constants
|
|
37
|
-
|
|
36
|
+
init_constants,
|
|
37
|
+
init_package,
|
|
38
|
+
package_default
|
|
39
|
+
} from "./index-wzb4dv5s.js";
|
|
38
40
|
import"./index-bk5tah7q.js";
|
|
39
41
|
import"./index-8fwhhayc.js";
|
|
40
42
|
import"./index-q1exe2b3.js";
|
|
41
|
-
import"./index-
|
|
43
|
+
import"./index-74tptrss.js";
|
|
42
44
|
import"./index-2tn5h2zp.js";
|
|
43
45
|
import"./index-1kz6da87.js";
|
|
44
|
-
import"./index-
|
|
45
|
-
import"./index-4rhhvd1a.js";
|
|
46
|
-
import"./index-y2pfmd0z.js";
|
|
47
|
-
import"./index-s80bsjkj.js";
|
|
46
|
+
import"./index-17zjp67y.js";
|
|
48
47
|
import"./index-z6xqpmqg.js";
|
|
48
|
+
import"./index-4rhhvd1a.js";
|
|
49
49
|
import"./index-zjygnfay.js";
|
|
50
50
|
import"./index-zgwm4ryv.js";
|
|
51
51
|
import"./index-h3k62043.js";
|
|
@@ -60,6 +60,7 @@ import"./index-qe3v54nb.js";
|
|
|
60
60
|
import"./index-a76rekgs.js";
|
|
61
61
|
|
|
62
62
|
// src/cli/index.ts
|
|
63
|
+
init_package();
|
|
63
64
|
import * as fs from "fs";
|
|
64
65
|
import * as os from "os";
|
|
65
66
|
import * as path from "path";
|
|
@@ -8,9 +8,9 @@ import {
|
|
|
8
8
|
maybeEscalateOnViolation,
|
|
9
9
|
maybeQuarantineOnContradiction,
|
|
10
10
|
readRecentEscalations
|
|
11
|
-
} from "./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
11
|
+
} from "./index-cpest8sa.js";
|
|
12
|
+
import"./index-j5pnah1w.js";
|
|
13
|
+
import"./index-bz08438z.js";
|
|
14
14
|
import"./index-ae75rja9.js";
|
|
15
15
|
import"./index-q27bajqb.js";
|
|
16
16
|
import"./index-bk5tah7q.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
resolveKnowledgeCounterBaselinePath,
|
|
27
27
|
resolveKnowledgeEventsPath,
|
|
28
28
|
resolveLegacyApplicationLogPath
|
|
29
|
-
} from "./index-
|
|
29
|
+
} from "./index-bz08438z.js";
|
|
30
30
|
import"./index-ae75rja9.js";
|
|
31
31
|
import"./index-q27bajqb.js";
|
|
32
32
|
import"./index-zgwm4ryv.js";
|
|
@@ -23,11 +23,11 @@ import {
|
|
|
23
23
|
validateLesson,
|
|
24
24
|
validateSkillCandidatePath,
|
|
25
25
|
validateSkillPath
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
} from "./index-7ftthvqt.js";
|
|
27
|
+
import"./index-wz36r0fk.js";
|
|
28
28
|
import"./index-rtry5xyf.js";
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
29
|
+
import"./index-j5pnah1w.js";
|
|
30
|
+
import"./index-bz08438z.js";
|
|
31
31
|
import"./index-ae75rja9.js";
|
|
32
32
|
import"./index-q27bajqb.js";
|
|
33
33
|
import"./index-bk5tah7q.js";
|