opencode-swarm 7.115.0 → 7.116.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 +3 -1
- package/dist/cli/{curator-hpc4tsjv.js → curator-7s5yw6hw.js} +15 -14
- package/dist/cli/{curator-llm-factory-6n9sgaj8.js → curator-llm-factory-x96dr0zf.js} +15 -14
- package/dist/cli/{dispatch-mczsxy5s.js → dispatch-07jgc3hn.js} +1 -1
- package/dist/cli/{evidence-summary-service-fehwj116.js → evidence-summary-service-ef6kgtev.js} +5 -5
- package/dist/cli/{gate-evidence-vkpqt300.js → gate-evidence-thqt0beq.js} +4 -4
- package/dist/cli/{guardrail-explain-hecpd738.js → guardrail-explain-kwqfkwch.js} +16 -15
- package/dist/cli/{hive-promoter-0kfb4vjk.js → hive-promoter-rkkx40qv.js} +15 -14
- package/dist/cli/{index-2etc05tv.js → index-3b8n3dbd.js} +26 -18
- package/dist/cli/{index-8f2270hc.js → index-3yh67t1h.js} +3 -3
- package/dist/cli/{index-4sckv7y6.js → index-42cx6g2h.js} +9 -4
- package/dist/cli/index-4905hd2m.js +19 -0
- package/dist/cli/{index-4h2ea8h5.js → index-81vzywh3.js} +2 -2
- package/dist/cli/{index-6f6y2rbp.js → index-8bvh0qfa.js} +3 -3
- package/dist/cli/{index-80jkseqw.js → index-a6f8b0vn.js} +1 -1
- package/dist/cli/{index-0p660a87.js → index-bbsaxnj5.js} +1 -1
- package/dist/cli/{index-yrrqs4b0.js → index-cnrhj56z.js} +1160 -47
- package/dist/cli/{index-n18yy0z1.js → index-jyetmzcn.js} +3 -3
- package/dist/cli/{index-rk6qhyng.js → index-k5ey429j.js} +4 -4
- package/dist/cli/{index-m766gvdt.js → index-me46ffm2.js} +6804 -1940
- package/dist/cli/{index-ga4ta3cr.js → index-nprawcc0.js} +7 -1
- package/dist/cli/{index-pa6t33pt.js → index-q2rrv0cy.js} +11 -0
- package/dist/cli/{index-g40r5d08.js → index-qgeeyy75.js} +1 -1
- package/dist/cli/{index-x12hvfpf.js → index-s385axt1.js} +3 -3
- package/dist/cli/{index-m0rce3x6.js → index-tvgvb5pa.js} +1 -1
- package/dist/cli/index.js +15 -14
- package/dist/cli/{knowledge-escalator-5gwp1ar8.js → knowledge-escalator-0bq62d34.js} +7 -7
- package/dist/cli/{knowledge-events-m304swh6.js → knowledge-events-cwwky393.js} +5 -5
- package/dist/cli/{knowledge-store-9babt8rd.js → knowledge-store-q8x4h82m.js} +5 -5
- package/dist/cli/{knowledge-validator-t9sym59g.js → knowledge-validator-zr0djm02.js} +6 -6
- package/dist/cli/{pending-delegations-ddbkbgxy.js → pending-delegations-rr9x47rd.js} +2 -2
- package/dist/cli/{pr-subscriptions-vwv7zm2p.js → pr-subscriptions-cny2jz2d.js} +3 -3
- package/dist/cli/runtime-ykafcwc6.js +3397 -0
- package/dist/cli/{skill-generator-tav44xpm.js → skill-generator-mz267btk.js} +8 -8
- package/dist/cli/{telemetry-jny76r83.js → telemetry-qh78ymq4.js} +1 -1
- package/dist/commands/archive.d.ts +4 -4
- package/dist/commands/command-dispatch.d.ts +2 -0
- package/dist/commands/gate-audit.d.ts +28 -0
- package/dist/commands/gate-stats.d.ts +1 -0
- package/dist/commands/index.d.ts +4 -0
- package/dist/commands/registry.d.ts +19 -2
- package/dist/config/plan-schema.d.ts +7 -7
- package/dist/evaluation/contracts.d.ts +545 -0
- package/dist/evaluation/disposable-worktree.d.ts +38 -0
- package/dist/evaluation/fixtures.d.ts +8 -0
- package/dist/evaluation/gate-audit.d.ts +32 -0
- package/dist/evaluation/gate-ground-truth.d.ts +43 -0
- package/dist/evaluation/gate-stats.d.ts +47 -0
- package/dist/evaluation/hashing.d.ts +34 -0
- package/dist/evaluation/index.d.ts +17 -0
- package/dist/evaluation/model-dispatcher.d.ts +30 -0
- package/dist/evaluation/public-api.d.ts +87 -0
- package/dist/evaluation/retention.d.ts +56 -0
- package/dist/evaluation/runner.d.ts +48 -0
- package/dist/evaluation/statistics.d.ts +9 -0
- package/dist/evaluation/store.d.ts +26 -0
- package/dist/evidence/manager.d.ts +18 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +461 -447
- package/dist/mutation/engine.d.ts +29 -5
- package/dist/telemetry.d.ts +11 -1
- package/dist/tools/plugin-registration.d.ts +2 -1
- package/dist/tools/sast-scan.d.ts +9 -0
- package/dist/tools/swarm-command.d.ts +2 -1
- package/dist/tools/update-task-status.d.ts +16 -4
- package/dist/utils/external-tool-runner.d.ts +2 -1
- package/evaluation-fixtures/tier1/boundary-error/environment/baseline.ts +3 -0
- package/evaluation-fixtures/tier1/boundary-error/environment/defect.test.ts +3 -0
- package/evaluation-fixtures/tier1/boundary-error/environment/defect.ts +3 -0
- package/evaluation-fixtures/tier1/boundary-error/instruction.md +1 -0
- package/evaluation-fixtures/tier1/boundary-error/manifest.json +1 -0
- package/evaluation-fixtures/tier1/branch-swap/environment/baseline.ts +3 -0
- package/evaluation-fixtures/tier1/branch-swap/environment/defect.test.ts +3 -0
- package/evaluation-fixtures/tier1/branch-swap/environment/defect.ts +3 -0
- package/evaluation-fixtures/tier1/branch-swap/instruction.md +1 -0
- package/evaluation-fixtures/tier1/branch-swap/manifest.json +1 -0
- package/evaluation-fixtures/tier1/curated-off-by-one/environment/baseline.ts +3 -0
- package/evaluation-fixtures/tier1/curated-off-by-one/environment/defect.test.ts +3 -0
- package/evaluation-fixtures/tier1/curated-off-by-one/environment/defect.ts +3 -0
- package/evaluation-fixtures/tier1/curated-off-by-one/instruction.md +1 -0
- package/evaluation-fixtures/tier1/curated-off-by-one/manifest.json +1 -0
- package/evaluation-fixtures/tier1/guard-removal/environment/baseline.ts +3 -0
- package/evaluation-fixtures/tier1/guard-removal/environment/defect.test.ts +3 -0
- package/evaluation-fixtures/tier1/guard-removal/environment/defect.ts +3 -0
- package/evaluation-fixtures/tier1/guard-removal/instruction.md +1 -0
- package/evaluation-fixtures/tier1/guard-removal/manifest.json +1 -0
- package/evaluation-fixtures/tier1/injection-prone-string/environment/baseline.ts +3 -0
- package/evaluation-fixtures/tier1/injection-prone-string/environment/defect.test.ts +3 -0
- package/evaluation-fixtures/tier1/injection-prone-string/environment/defect.ts +3 -0
- package/evaluation-fixtures/tier1/injection-prone-string/instruction.md +1 -0
- package/evaluation-fixtures/tier1/injection-prone-string/manifest.json +1 -0
- package/evaluation-fixtures/tier1/missing-auth-check/environment/baseline.ts +4 -0
- package/evaluation-fixtures/tier1/missing-auth-check/environment/defect.test.ts +3 -0
- package/evaluation-fixtures/tier1/missing-auth-check/environment/defect.ts +3 -0
- package/evaluation-fixtures/tier1/missing-auth-check/instruction.md +1 -0
- package/evaluation-fixtures/tier1/missing-auth-check/manifest.json +1 -0
- package/evaluation-fixtures/tier1/missing-await/environment/baseline.ts +7 -0
- package/evaluation-fixtures/tier1/missing-await/environment/defect.test.ts +3 -0
- package/evaluation-fixtures/tier1/missing-await/environment/defect.ts +4 -0
- package/evaluation-fixtures/tier1/missing-await/instruction.md +1 -0
- package/evaluation-fixtures/tier1/missing-await/manifest.json +1 -0
- package/evaluation-fixtures/tier1/mutation-off-by-one/environment/baseline.ts +3 -0
- package/evaluation-fixtures/tier1/mutation-off-by-one/environment/defect.test.ts +3 -0
- package/evaluation-fixtures/tier1/mutation-off-by-one/environment/defect.ts +3 -0
- package/evaluation-fixtures/tier1/mutation-off-by-one/instruction.md +1 -0
- package/evaluation-fixtures/tier1/mutation-off-by-one/manifest.json +1 -0
- package/evaluation-fixtures/tier1/null-substitution/environment/baseline.ts +3 -0
- package/evaluation-fixtures/tier1/null-substitution/environment/defect.test.ts +3 -0
- package/evaluation-fixtures/tier1/null-substitution/environment/defect.ts +3 -0
- package/evaluation-fixtures/tier1/null-substitution/instruction.md +1 -0
- package/evaluation-fixtures/tier1/null-substitution/manifest.json +1 -0
- package/evaluation-fixtures/tier1/operator-swap/environment/baseline.ts +3 -0
- package/evaluation-fixtures/tier1/operator-swap/environment/defect.test.ts +3 -0
- package/evaluation-fixtures/tier1/operator-swap/environment/defect.ts +3 -0
- package/evaluation-fixtures/tier1/operator-swap/instruction.md +1 -0
- package/evaluation-fixtures/tier1/operator-swap/manifest.json +1 -0
- package/evaluation-fixtures/tier1/side-effect-deletion/environment/baseline.ts +4 -0
- package/evaluation-fixtures/tier1/side-effect-deletion/environment/defect.test.ts +3 -0
- package/evaluation-fixtures/tier1/side-effect-deletion/environment/defect.ts +3 -0
- package/evaluation-fixtures/tier1/side-effect-deletion/instruction.md +1 -0
- package/evaluation-fixtures/tier1/side-effect-deletion/manifest.json +1 -0
- package/evaluation-fixtures/tier1/swallowed-error/environment/baseline.ts +3 -0
- package/evaluation-fixtures/tier1/swallowed-error/environment/defect.test.ts +3 -0
- package/evaluation-fixtures/tier1/swallowed-error/environment/defect.ts +3 -0
- package/evaluation-fixtures/tier1/swallowed-error/instruction.md +1 -0
- package/evaluation-fixtures/tier1/swallowed-error/manifest.json +1 -0
- package/package.json +2 -1
|
@@ -1167,6 +1167,12 @@ LANGUAGE_REGISTRY.register({
|
|
|
1167
1167
|
});
|
|
1168
1168
|
|
|
1169
1169
|
// src/lang/detector.ts
|
|
1170
|
+
function getProfileForFile(filePath) {
|
|
1171
|
+
const ext = extname(filePath);
|
|
1172
|
+
if (!ext)
|
|
1173
|
+
return;
|
|
1174
|
+
return LANGUAGE_REGISTRY.getByExtension(ext);
|
|
1175
|
+
}
|
|
1170
1176
|
async function detectProjectLanguages(projectDir) {
|
|
1171
1177
|
const detected = new Set;
|
|
1172
1178
|
async function scanDir(dir) {
|
|
@@ -14649,4 +14655,4 @@ function buildPythonBackend() {
|
|
|
14649
14655
|
}
|
|
14650
14656
|
var _internals3 = { extractImports: extractImports2 };
|
|
14651
14657
|
|
|
14652
|
-
export { tool, LANGUAGE_REGISTRY, detectProjectLanguages, isCommandAvailable, tokenizeCommand, defaultSelectTestFramework, defaultBuildTestCommand, defaultParseTestOutput, defaultSelectBuildCommand, defaultTestFilesFor, defaultBackendFor, buildGoBackend, _internals2 as _internals, buildPythonBackend, _internals3 as _internals1 };
|
|
14658
|
+
export { tool, LANGUAGE_REGISTRY, getProfileForFile, detectProjectLanguages, isCommandAvailable, tokenizeCommand, defaultSelectTestFramework, defaultBuildTestCommand, defaultParseTestOutput, defaultSelectBuildCommand, defaultTestFilesFor, defaultBackendFor, buildGoBackend, _internals2 as _internals, buildPythonBackend, _internals3 as _internals1 };
|
|
@@ -155,6 +155,17 @@ var telemetry = {
|
|
|
155
155
|
gateFailed(sessionId, gate, taskId, reason) {
|
|
156
156
|
_internals.emit("gate_failed", { sessionId, gate, taskId, reason });
|
|
157
157
|
},
|
|
158
|
+
reviewerGateDecision(sessionId, taskId, blocked, reasonCode, evidenceKind) {
|
|
159
|
+
_internals.emit("reviewer_gate_decision", {
|
|
160
|
+
sessionId,
|
|
161
|
+
gate: "qa_gate",
|
|
162
|
+
taskId,
|
|
163
|
+
blocked,
|
|
164
|
+
allowed: !blocked,
|
|
165
|
+
reasonCode,
|
|
166
|
+
evidenceKind
|
|
167
|
+
});
|
|
168
|
+
},
|
|
158
169
|
phaseChanged(sessionId, oldPhase, newPhase) {
|
|
159
170
|
_internals.emit("phase_changed", { sessionId, oldPhase, newPhase });
|
|
160
171
|
},
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
4
4
|
validateSkillPath
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-jyetmzcn.js";
|
|
6
6
|
import {
|
|
7
7
|
effectiveRetrievalOutcomes,
|
|
8
8
|
readKnowledgeCounterRollups
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-3yh67t1h.js";
|
|
10
10
|
import {
|
|
11
11
|
computeOutcomeSignal,
|
|
12
12
|
readKnowledge,
|
|
13
13
|
resolveHiveKnowledgePath,
|
|
14
14
|
resolveSwarmKnowledgePath,
|
|
15
15
|
transactKnowledge
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-k5ey429j.js";
|
|
17
17
|
import {
|
|
18
18
|
isActiveStatus
|
|
19
19
|
} from "./index-bfwt3abw.js";
|
package/dist/cli/index.js
CHANGED
|
@@ -7,24 +7,25 @@ import {
|
|
|
7
7
|
getPluginLockFilePaths,
|
|
8
8
|
package_default,
|
|
9
9
|
resolveCommand
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-me46ffm2.js";
|
|
11
|
+
import"./index-nprawcc0.js";
|
|
11
12
|
import"./index-8j5d3ytd.js";
|
|
12
13
|
import"./index-c8s9a3zh.js";
|
|
13
14
|
import"./index-m7hc7nn7.js";
|
|
14
15
|
import {
|
|
15
16
|
DEFAULT_AGENT_CONFIGS
|
|
16
17
|
} from "./index-nvc0nsvg.js";
|
|
17
|
-
import"./index-
|
|
18
|
+
import"./index-cnrhj56z.js";
|
|
18
19
|
import"./index-scww5b77.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
23
|
-
import"./index-
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
20
|
+
import"./index-4905hd2m.js";
|
|
21
|
+
import"./index-a6f8b0vn.js";
|
|
22
|
+
import"./index-s385axt1.js";
|
|
23
|
+
import"./index-jyetmzcn.js";
|
|
24
|
+
import"./index-8bvh0qfa.js";
|
|
25
|
+
import"./index-3yh67t1h.js";
|
|
26
|
+
import"./index-k5ey429j.js";
|
|
26
27
|
import"./index-bfwt3abw.js";
|
|
27
|
-
import"./index-
|
|
28
|
+
import"./index-qgeeyy75.js";
|
|
28
29
|
import"./index-vxv732ex.js";
|
|
29
30
|
import"./index-8fwhhayc.js";
|
|
30
31
|
import"./index-q1exe2b3.js";
|
|
@@ -36,11 +37,11 @@ import"./index-5e4e2hvv.js";
|
|
|
36
37
|
import"./index-p0arc26j.js";
|
|
37
38
|
import"./index-zgwm4ryv.js";
|
|
38
39
|
import"./index-dqh3zhhc.js";
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
40
|
+
import"./index-81vzywh3.js";
|
|
41
|
+
import"./index-bbsaxnj5.js";
|
|
41
42
|
import"./index-293f68mj.js";
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
43
|
+
import"./index-42cx6g2h.js";
|
|
44
|
+
import"./index-q2rrv0cy.js";
|
|
44
45
|
import"./index-vvk2g744.js";
|
|
45
46
|
import"./index-qe3v54nb.js";
|
|
46
47
|
import"./index-a76rekgs.js";
|
|
@@ -8,16 +8,16 @@ import {
|
|
|
8
8
|
maybeEscalateOnViolation,
|
|
9
9
|
maybeQuarantineOnContradiction,
|
|
10
10
|
readRecentEscalations
|
|
11
|
-
} from "./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
11
|
+
} from "./index-8bvh0qfa.js";
|
|
12
|
+
import"./index-3yh67t1h.js";
|
|
13
|
+
import"./index-k5ey429j.js";
|
|
14
14
|
import"./index-bfwt3abw.js";
|
|
15
|
-
import"./index-
|
|
15
|
+
import"./index-qgeeyy75.js";
|
|
16
16
|
import"./index-jtqkh8jf.js";
|
|
17
17
|
import"./index-zgwm4ryv.js";
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
18
|
+
import"./index-bbsaxnj5.js";
|
|
19
|
+
import"./index-42cx6g2h.js";
|
|
20
|
+
import"./index-q2rrv0cy.js";
|
|
21
21
|
import"./index-vvk2g744.js";
|
|
22
22
|
import"./index-qe3v54nb.js";
|
|
23
23
|
import"./index-a76rekgs.js";
|
|
@@ -25,12 +25,12 @@ import {
|
|
|
25
25
|
resolveKnowledgeCounterBaselinePath,
|
|
26
26
|
resolveKnowledgeEventsPath,
|
|
27
27
|
resolveLegacyApplicationLogPath
|
|
28
|
-
} from "./index-
|
|
29
|
-
import"./index-
|
|
28
|
+
} from "./index-3yh67t1h.js";
|
|
29
|
+
import"./index-qgeeyy75.js";
|
|
30
30
|
import"./index-zgwm4ryv.js";
|
|
31
|
-
import"./index-
|
|
32
|
-
import"./index-
|
|
33
|
-
import"./index-
|
|
31
|
+
import"./index-bbsaxnj5.js";
|
|
32
|
+
import"./index-42cx6g2h.js";
|
|
33
|
+
import"./index-q2rrv0cy.js";
|
|
34
34
|
import"./index-vvk2g744.js";
|
|
35
35
|
import"./index-qe3v54nb.js";
|
|
36
36
|
import"./index-a76rekgs.js";
|
|
@@ -34,14 +34,14 @@ import {
|
|
|
34
34
|
transactFile,
|
|
35
35
|
transactKnowledge,
|
|
36
36
|
wordBigrams
|
|
37
|
-
} from "./index-
|
|
37
|
+
} from "./index-k5ey429j.js";
|
|
38
38
|
import"./index-bfwt3abw.js";
|
|
39
|
-
import"./index-
|
|
39
|
+
import"./index-qgeeyy75.js";
|
|
40
40
|
import"./index-jtqkh8jf.js";
|
|
41
41
|
import"./index-zgwm4ryv.js";
|
|
42
|
-
import"./index-
|
|
43
|
-
import"./index-
|
|
44
|
-
import"./index-
|
|
42
|
+
import"./index-bbsaxnj5.js";
|
|
43
|
+
import"./index-42cx6g2h.js";
|
|
44
|
+
import"./index-q2rrv0cy.js";
|
|
45
45
|
import"./index-vvk2g744.js";
|
|
46
46
|
import"./index-qe3v54nb.js";
|
|
47
47
|
import"./index-a76rekgs.js";
|
|
@@ -23,15 +23,15 @@ import {
|
|
|
23
23
|
validateLesson,
|
|
24
24
|
validateSkillCandidatePath,
|
|
25
25
|
validateSkillPath
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
} from "./index-jyetmzcn.js";
|
|
27
|
+
import"./index-k5ey429j.js";
|
|
28
28
|
import"./index-bfwt3abw.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-qgeeyy75.js";
|
|
30
30
|
import"./index-jtqkh8jf.js";
|
|
31
31
|
import"./index-zgwm4ryv.js";
|
|
32
|
-
import"./index-
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
32
|
+
import"./index-bbsaxnj5.js";
|
|
33
|
+
import"./index-42cx6g2h.js";
|
|
34
|
+
import"./index-q2rrv0cy.js";
|
|
35
35
|
import"./index-vvk2g744.js";
|
|
36
36
|
import"./index-qe3v54nb.js";
|
|
37
37
|
import"./index-a76rekgs.js";
|
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
} from "./index-293f68mj.js";
|
|
15
15
|
import {
|
|
16
16
|
withEvidenceLock
|
|
17
|
-
} from "./index-
|
|
18
|
-
import"./index-
|
|
17
|
+
} from "./index-42cx6g2h.js";
|
|
18
|
+
import"./index-q2rrv0cy.js";
|
|
19
19
|
import"./index-vvk2g744.js";
|
|
20
20
|
import"./index-qe3v54nb.js";
|
|
21
21
|
import"./index-a76rekgs.js";
|
|
@@ -9,15 +9,15 @@ import {
|
|
|
9
9
|
sweepStale,
|
|
10
10
|
unsubscribe,
|
|
11
11
|
updateSnapshot
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-a6f8b0vn.js";
|
|
13
13
|
import"./index-wh8949ef.js";
|
|
14
14
|
import"./index-jtqkh8jf.js";
|
|
15
15
|
import"./index-5e4e2hvv.js";
|
|
16
16
|
import"./index-p0arc26j.js";
|
|
17
17
|
import"./index-zgwm4ryv.js";
|
|
18
18
|
import"./index-293f68mj.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
19
|
+
import"./index-42cx6g2h.js";
|
|
20
|
+
import"./index-q2rrv0cy.js";
|
|
21
21
|
import"./index-vvk2g744.js";
|
|
22
22
|
import"./index-qe3v54nb.js";
|
|
23
23
|
import"./index-a76rekgs.js";
|