opencode-swarm 7.136.2 → 7.136.4
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/.opencode/skills/brainstorm/SKILL.md +1 -1
- package/.opencode/skills/clarify/SKILL.md +3 -3
- package/.opencode/skills/clarify-spec/SKILL.md +2 -2
- package/.opencode/skills/consult/SKILL.md +1 -1
- package/.opencode/skills/council/SKILL.md +1 -1
- package/.opencode/skills/critic-gate/SKILL.md +8 -3
- package/.opencode/skills/discover/SKILL.md +1 -1
- package/.opencode/skills/execute/SKILL.md +1 -1
- package/.opencode/skills/gate-attribution/SKILL.md +1 -1
- package/.opencode/skills/issue-ingest/SKILL.md +3 -3
- package/.opencode/skills/phase-wrap/SKILL.md +1 -1
- package/.opencode/skills/plan/SKILL.md +3 -3
- package/.opencode/skills/pre-phase-briefing/SKILL.md +1 -1
- package/.opencode/skills/resume/SKILL.md +1 -1
- package/.opencode/skills/specify/SKILL.md +1 -1
- package/dist/cli/{config-doctor-b67nb84b.js → config-doctor-qwp5y9dk.js} +2 -2
- package/dist/cli/{core-4z1s2ak1.js → core-jpjk2qvt.js} +1 -1
- package/dist/cli/{curation-policy-kvzhfaj1.js → curation-policy-8tsbaa4q.js} +6 -6
- package/dist/cli/{curator-nrmj8bds.js → curator-763smew7.js} +25 -25
- package/dist/cli/{curator-llm-factory-x7kvry9x.js → curator-llm-factory-dg8mmzy7.js} +25 -25
- package/dist/cli/{evidence-summary-service-cf8sz2bq.js → evidence-summary-service-nse06dqr.js} +7 -7
- package/dist/cli/{gate-evidence-aenyz6vt.js → gate-evidence-kdygjr56.js} +4 -4
- package/dist/cli/{guardrail-explain-5kd44rcj.js → guardrail-explain-6jc012g3.js} +26 -26
- package/dist/cli/{guardrail-log-aksrzqdx.js → guardrail-log-86aw7fne.js} +3 -3
- package/dist/cli/{hive-promoter-cy21rhnd.js → hive-promoter-en786ja4.js} +25 -25
- package/dist/cli/{index-84nz7bhe.js → index-06htxvzq.js} +3 -3
- package/dist/cli/{index-s0vahtdm.js → index-1hef020t.js} +1 -1
- package/dist/cli/{index-kwwxevne.js → index-45y0y3xh.js} +5 -5
- package/dist/cli/{index-ad6j0m7k.js → index-4cv991ra.js} +3 -3
- package/dist/cli/{index-45t7w06b.js → index-7t3vjw5e.js} +1 -1
- package/dist/cli/{index-m5fw4mer.js → index-89fpahtg.js} +1 -1
- package/dist/cli/{index-rw3f73aq.js → index-94pvh7hc.js} +2 -2
- package/dist/cli/{index-ey29aap6.js → index-b3jfcptk.js} +1 -1
- package/dist/cli/{index-0755132s.js → index-bb3ks0v3.js} +6 -6
- package/dist/cli/{index-7a2hm51h.js → index-cze4bq1x.js} +41 -0
- package/dist/cli/{index-mrtms113.js → index-d2sf9an1.js} +2 -2
- package/dist/cli/{index-wxyxf0bd.js → index-d61h3f3h.js} +2 -2
- package/dist/cli/{index-ckybsn6p.js → index-et8b70c8.js} +27 -27
- package/dist/cli/{index-1kn24ja0.js → index-fhnbzz75.js} +2 -2
- package/dist/cli/{index-s0rbdp61.js → index-fkdxfdbx.js} +4 -4
- package/dist/cli/{index-37v2wxqe.js → index-g0sdhyqk.js} +1 -1
- package/dist/cli/{index-7ayaq27q.js → index-gjs5g97v.js} +1 -1
- package/dist/cli/{index-c9ddxv4k.js → index-hh34tyv7.js} +1 -1
- package/dist/cli/{index-tcn457d5.js → index-kym0cctr.js} +1 -1
- package/dist/cli/{index-z1tm47nj.js → index-ne28wyyc.js} +2 -2
- package/dist/cli/{index-wjm896ey.js → index-nfm9f10v.js} +1 -1
- package/dist/cli/{index-y0xaq4f3.js → index-pq8ge6fe.js} +8 -2
- package/dist/cli/{index-azghvnja.js → index-qv1xc6rd.js} +2 -2
- package/dist/cli/{index-wnz282j3.js → index-rkp6jvc3.js} +2 -2
- package/dist/cli/{index-sr2cynyw.js → index-t1s4b5ha.js} +108 -51
- package/dist/cli/{index-09b9zncg.js → index-tncy55bp.js} +1 -1
- package/dist/cli/{index-vg3yx648.js → index-w6j1n5az.js} +1 -1
- package/dist/cli/{index-21115szq.js → index-wy2f83j5.js} +5 -5
- package/dist/cli/{index-dzyjb33e.js → index-zzhyws9g.js} +1 -1
- package/dist/cli/index.js +25 -25
- package/dist/cli/{knowledge-escalator-ta3xjrdj.js → knowledge-escalator-e815bveb.js} +7 -7
- package/dist/cli/{knowledge-events-dk6banmz.js → knowledge-events-dz2tyhpw.js} +5 -5
- package/dist/cli/{knowledge-link-mm1w967j.js → knowledge-link-zr40rnwr.js} +4 -4
- package/dist/cli/{knowledge-store-h3jz10bv.js → knowledge-store-97qr7m9k.js} +5 -5
- package/dist/cli/{knowledge-validator-jsz1dxkr.js → knowledge-validator-xsetvy4v.js} +8 -8
- package/dist/cli/{pending-delegations-qajsxct0.js → pending-delegations-0h5b18p7.js} +3 -3
- package/dist/cli/{pr-subscriptions-qhr41epq.js → pr-subscriptions-jn0h047q.js} +3 -3
- package/dist/cli/{runner-2v413r74.js → runner-deeswadt.js} +5 -5
- package/dist/cli/{scan-cursor-48gwzh9c.js → scan-cursor-129fwf7e.js} +6 -6
- package/dist/cli/{schema-f937b9cs.js → schema-3xdza5gg.js} +1 -1
- package/dist/cli/{scope-persistence-h2fpgxww.js → scope-persistence-5xc9ntdh.js} +4 -4
- package/dist/cli/{skill-generator-4p10ktw1.js → skill-generator-8zhprasg.js} +9 -9
- package/dist/cli/{telemetry-859khp82.js → telemetry-6678gya0.js} +1 -1
- package/dist/cli/{worktree-collision-ownership-13btcj9g.js → worktree-collision-ownership-wt7cc850.js} +3 -3
- package/dist/config/schema.d.ts +10 -0
- package/dist/hooks/context-budget.d.ts +8 -0
- package/dist/hooks/delegation-gate.d.ts +12 -1
- package/dist/hooks/gate-denial-tracker.d.ts +175 -0
- package/dist/hooks/guardrails/execution-episode.d.ts +41 -0
- package/dist/hooks/guardrails/execution-stall.d.ts +285 -0
- package/dist/hooks/guardrails/internals-guard.d.ts +117 -0
- package/dist/hooks/guardrails/messages-transform.d.ts +85 -0
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/message-priority.d.ts +62 -4
- package/dist/hooks/trajectory-logger.d.ts +76 -0
- package/dist/index.js +477 -463
- package/dist/memory/schema.d.ts +3 -3
- package/dist/prm/index.d.ts +2 -0
- package/dist/state.d.ts +32 -0
- package/dist/telemetry.d.ts +66 -1
- package/dist/types/events.d.ts +14 -1
- package/package.json +2 -1
|
@@ -7,57 +7,57 @@ import {
|
|
|
7
7
|
isHiveEligible,
|
|
8
8
|
promoteFromSwarm,
|
|
9
9
|
promoteToHive
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-t1s4b5ha.js";
|
|
11
11
|
import"./index-vm4xw9z3.js";
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
12
|
+
import"./index-nfm9f10v.js";
|
|
13
|
+
import"./index-89fpahtg.js";
|
|
14
|
+
import"./index-gjs5g97v.js";
|
|
15
|
+
import"./index-45y0y3xh.js";
|
|
16
|
+
import"./index-ne28wyyc.js";
|
|
17
17
|
import"./index-y8552snf.js";
|
|
18
18
|
import"./index-4905hd2m.js";
|
|
19
19
|
import"./index-134d35c1.js";
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
22
|
-
import"./index-
|
|
20
|
+
import"./index-4cv991ra.js";
|
|
21
|
+
import"./index-wy2f83j5.js";
|
|
22
|
+
import"./index-fhnbzz75.js";
|
|
23
23
|
import"./index-6mjf4vr1.js";
|
|
24
24
|
import"./index-c8s9a3zh.js";
|
|
25
25
|
import"./index-9ss2m4rs.js";
|
|
26
26
|
import"./index-wsdnttf4.js";
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
29
|
-
import"./index-
|
|
27
|
+
import"./index-d2sf9an1.js";
|
|
28
|
+
import"./index-fkdxfdbx.js";
|
|
29
|
+
import"./index-94pvh7hc.js";
|
|
30
30
|
import"./index-rtry5xyf.js";
|
|
31
31
|
import {
|
|
32
32
|
resolveHiveKnowledgePath
|
|
33
|
-
} from "./index-
|
|
34
|
-
import"./index-
|
|
33
|
+
} from "./index-bb3ks0v3.js";
|
|
34
|
+
import"./index-06htxvzq.js";
|
|
35
35
|
import"./index-ae75rja9.js";
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
36
|
+
import"./index-zzhyws9g.js";
|
|
37
|
+
import"./index-b3jfcptk.js";
|
|
38
|
+
import"./index-1hef020t.js";
|
|
39
39
|
import"./index-k5jrywpr.js";
|
|
40
40
|
import"./index-n832052r.js";
|
|
41
|
-
import"./index-
|
|
41
|
+
import"./index-pq8ge6fe.js";
|
|
42
42
|
import"./index-bk5tah7q.js";
|
|
43
43
|
import"./index-8fwhhayc.js";
|
|
44
44
|
import"./index-q1exe2b3.js";
|
|
45
|
-
import"./index-
|
|
46
|
-
import"./index-
|
|
47
|
-
import"./index-
|
|
45
|
+
import"./index-kym0cctr.js";
|
|
46
|
+
import"./index-w6j1n5az.js";
|
|
47
|
+
import"./index-d61h3f3h.js";
|
|
48
48
|
import"./index-1kz6da87.js";
|
|
49
49
|
import"./index-x20cgr2q.js";
|
|
50
50
|
import"./index-b8zgtz81.js";
|
|
51
|
-
import"./index-
|
|
51
|
+
import"./index-hh34tyv7.js";
|
|
52
52
|
import"./index-4rhhvd1a.js";
|
|
53
53
|
import"./index-3jcyn8g6.js";
|
|
54
|
-
import"./index-
|
|
54
|
+
import"./index-7t3vjw5e.js";
|
|
55
55
|
import"./index-4qzeef9h.js";
|
|
56
56
|
import"./index-fsrp8wp3.js";
|
|
57
|
-
import"./index-
|
|
57
|
+
import"./index-tncy55bp.js";
|
|
58
58
|
import"./index-7g4c7s5r.js";
|
|
59
59
|
import"./index-bpmtbmy9.js";
|
|
60
|
-
import"./index-
|
|
60
|
+
import"./index-cze4bq1x.js";
|
|
61
61
|
import"./index-z6xqpmqg.js";
|
|
62
62
|
import"./index-zjygnfay.js";
|
|
63
63
|
import"./index-y111zefa.js";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./index-ae75rja9.js";
|
|
5
5
|
import {
|
|
6
6
|
resolveKnowledgeStoreDir
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-zzhyws9g.js";
|
|
8
8
|
import {
|
|
9
9
|
atomicWriteFile
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-b3jfcptk.js";
|
|
11
11
|
import {
|
|
12
12
|
require_proper_lockfile
|
|
13
13
|
} from "./index-7g4c7s5r.js";
|
|
@@ -625,7 +625,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
|
|
|
625
625
|
deltas.push({ id, delta });
|
|
626
626
|
}
|
|
627
627
|
if (deltas.length > 0) {
|
|
628
|
-
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-
|
|
628
|
+
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-97qr7m9k.js");
|
|
629
629
|
await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
630
630
|
}
|
|
631
631
|
return {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
EvaluationRunV1Schema,
|
|
4
4
|
GateAuditResultV1Schema,
|
|
5
5
|
getProtectedEvaluationRunIds
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-ne28wyyc.js";
|
|
7
7
|
import {
|
|
8
8
|
readEffectiveSpecSync
|
|
9
9
|
} from "./index-9ss2m4rs.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
readTaskEvidence,
|
|
13
13
|
readTaskEvidenceRaw,
|
|
14
14
|
sanitizeTaskId
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-d2sf9an1.js";
|
|
16
16
|
import {
|
|
17
17
|
EVIDENCE_MAX_JSON_BYTES,
|
|
18
18
|
EvidenceBundleSchema,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
replayFromLedgerWithStatus,
|
|
41
41
|
takeSnapshotEvent,
|
|
42
42
|
takeSnapshotWithRetry
|
|
43
|
-
} from "./index-
|
|
43
|
+
} from "./index-d61h3f3h.js";
|
|
44
44
|
import {
|
|
45
45
|
PlanSchema
|
|
46
46
|
} from "./index-1kz6da87.js";
|
|
@@ -56,14 +56,14 @@ import {
|
|
|
56
56
|
} from "./index-fsrp8wp3.js";
|
|
57
57
|
import {
|
|
58
58
|
withEvidenceLock
|
|
59
|
-
} from "./index-
|
|
59
|
+
} from "./index-tncy55bp.js";
|
|
60
60
|
import {
|
|
61
61
|
ZodError,
|
|
62
62
|
init_zod
|
|
63
63
|
} from "./index-bpmtbmy9.js";
|
|
64
64
|
import {
|
|
65
65
|
emit
|
|
66
|
-
} from "./index-
|
|
66
|
+
} from "./index-cze4bq1x.js";
|
|
67
67
|
import {
|
|
68
68
|
bunHash,
|
|
69
69
|
bunWrite,
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
4
4
|
validateSkillPath
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-fkdxfdbx.js";
|
|
6
6
|
import {
|
|
7
7
|
computeOutcomeSignal,
|
|
8
8
|
readKnowledge,
|
|
9
9
|
resolveHiveKnowledgePath,
|
|
10
10
|
resolveSwarmKnowledgePath,
|
|
11
11
|
transactKnowledge
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-bb3ks0v3.js";
|
|
13
13
|
import {
|
|
14
14
|
effectiveRetrievalOutcomes,
|
|
15
15
|
readKnowledgeCounterRollups
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-06htxvzq.js";
|
|
17
17
|
import {
|
|
18
18
|
init_knowledge_types,
|
|
19
19
|
isActiveStatus
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
} from "./index-rtry5xyf.js";
|
|
5
5
|
import {
|
|
6
6
|
readKnowledgeEvents
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-06htxvzq.js";
|
|
8
8
|
import {
|
|
9
9
|
isLinked,
|
|
10
10
|
readLinkPointer,
|
|
11
11
|
resolveKnowledgeStoreDir,
|
|
12
12
|
resolveLinkDir
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-zzhyws9g.js";
|
|
14
14
|
|
|
15
15
|
// src/knowledge/curation-policy.ts
|
|
16
16
|
import { appendFile, mkdir as mkdir2, readFile as readFile2 } from "fs/promises";
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./index-ae75rja9.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveKnowledgeStoreDir
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-zzhyws9g.js";
|
|
10
10
|
import {
|
|
11
11
|
atomicWriteFile
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-b3jfcptk.js";
|
|
13
13
|
import {
|
|
14
14
|
init_knowledge_types,
|
|
15
15
|
isActiveStatus
|
|
@@ -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-dz2tyhpw.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-xsetvy4v.js");
|
|
773
|
+
const { KnowledgeConfigSchema } = await import("./schema-3xdza5gg.js");
|
|
774
774
|
let config;
|
|
775
775
|
try {
|
|
776
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
776
|
+
const { loadPluginConfigWithMeta } = await import("./index-rkp6jvc3.js");
|
|
777
777
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
778
778
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
779
779
|
} catch {
|
|
@@ -245,6 +245,39 @@ var telemetry = {
|
|
|
245
245
|
loopDetected(sessionId, agentName, loopType) {
|
|
246
246
|
_internals.emit("loop_detected", { sessionId, agentName, loopType });
|
|
247
247
|
},
|
|
248
|
+
noOpStrongWarning(sessionId, agentName, count, threshold) {
|
|
249
|
+
_internals.emit("no_op_strong_warning", {
|
|
250
|
+
sessionId,
|
|
251
|
+
agentName,
|
|
252
|
+
count,
|
|
253
|
+
threshold
|
|
254
|
+
});
|
|
255
|
+
},
|
|
256
|
+
gateDenialLoop(sessionId, tool, code, count) {
|
|
257
|
+
_internals.emit("gate_denial_loop", { sessionId, tool, code, count });
|
|
258
|
+
},
|
|
259
|
+
executionStallWarning(sessionId, count, threshold) {
|
|
260
|
+
_internals.emit("execution_stall_warning", {
|
|
261
|
+
sessionId,
|
|
262
|
+
count,
|
|
263
|
+
threshold
|
|
264
|
+
});
|
|
265
|
+
},
|
|
266
|
+
executionStallDenied(sessionId, tool, count, threshold) {
|
|
267
|
+
_internals.emit("execution_stall_denied", {
|
|
268
|
+
sessionId,
|
|
269
|
+
tool,
|
|
270
|
+
count,
|
|
271
|
+
threshold
|
|
272
|
+
});
|
|
273
|
+
},
|
|
274
|
+
swarmInternalsReadDenied(sessionId, tool, target) {
|
|
275
|
+
_internals.emit("swarm_internals_read_denied", {
|
|
276
|
+
sessionId,
|
|
277
|
+
tool,
|
|
278
|
+
target
|
|
279
|
+
});
|
|
280
|
+
},
|
|
248
281
|
scopeViolation(sessionId, agentName, file, reason) {
|
|
249
282
|
_internals.emit("scope_violation", { sessionId, agentName, file, reason });
|
|
250
283
|
},
|
|
@@ -305,6 +338,14 @@ var telemetry = {
|
|
|
305
338
|
level,
|
|
306
339
|
occurrenceCount
|
|
307
340
|
});
|
|
341
|
+
},
|
|
342
|
+
prmHardStopDelivered(sessionId, pattern, level, occurrenceCount) {
|
|
343
|
+
_internals.emit("prm_hard_stop_delivered", {
|
|
344
|
+
sessionId,
|
|
345
|
+
pattern,
|
|
346
|
+
level,
|
|
347
|
+
occurrenceCount
|
|
348
|
+
});
|
|
308
349
|
}
|
|
309
350
|
};
|
|
310
351
|
var _internals = {
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
atomicWriteFile,
|
|
4
4
|
taskEvidencePath,
|
|
5
5
|
withTaskEvidenceLock
|
|
6
|
-
} from "./index-
|
|
6
|
+
} from "./index-b3jfcptk.js";
|
|
7
7
|
import {
|
|
8
8
|
exports_external,
|
|
9
9
|
init_zod
|
|
10
10
|
} from "./index-bpmtbmy9.js";
|
|
11
11
|
import {
|
|
12
12
|
telemetry
|
|
13
|
-
} from "./index-
|
|
13
|
+
} from "./index-cze4bq1x.js";
|
|
14
14
|
|
|
15
15
|
// src/gate-evidence.ts
|
|
16
16
|
init_zod();
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./index-1kz6da87.js";
|
|
7
7
|
import {
|
|
8
8
|
withEvidenceLock
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-tncy55bp.js";
|
|
10
10
|
import {
|
|
11
11
|
emit
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-cze4bq1x.js";
|
|
13
13
|
import {
|
|
14
14
|
criticalWarn,
|
|
15
15
|
init_logger,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-qv1xc6rd.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailLog
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-g0sdhyqk.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMAND_REGISTRY,
|
|
10
10
|
SWARM_COMMAND_TOOL_ALLOWLIST,
|
|
@@ -84,62 +84,62 @@ import {
|
|
|
84
84
|
handleWriteRetroCommand,
|
|
85
85
|
normalizeSwarmCommandInput,
|
|
86
86
|
resolveCommand
|
|
87
|
-
} from "./index-
|
|
87
|
+
} from "./index-t1s4b5ha.js";
|
|
88
88
|
import"./index-vm4xw9z3.js";
|
|
89
|
-
import"./index-
|
|
90
|
-
import"./index-
|
|
91
|
-
import"./index-
|
|
92
|
-
import"./index-
|
|
93
|
-
import"./index-
|
|
89
|
+
import"./index-nfm9f10v.js";
|
|
90
|
+
import"./index-89fpahtg.js";
|
|
91
|
+
import"./index-gjs5g97v.js";
|
|
92
|
+
import"./index-45y0y3xh.js";
|
|
93
|
+
import"./index-ne28wyyc.js";
|
|
94
94
|
import"./index-y8552snf.js";
|
|
95
95
|
import"./index-4905hd2m.js";
|
|
96
96
|
import"./index-134d35c1.js";
|
|
97
|
-
import"./index-
|
|
98
|
-
import"./index-
|
|
99
|
-
import"./index-
|
|
97
|
+
import"./index-4cv991ra.js";
|
|
98
|
+
import"./index-wy2f83j5.js";
|
|
99
|
+
import"./index-fhnbzz75.js";
|
|
100
100
|
import"./index-6mjf4vr1.js";
|
|
101
101
|
import"./index-c8s9a3zh.js";
|
|
102
102
|
import"./index-9ss2m4rs.js";
|
|
103
103
|
import"./index-wsdnttf4.js";
|
|
104
|
-
import"./index-
|
|
105
|
-
import"./index-
|
|
106
|
-
import"./index-
|
|
104
|
+
import"./index-d2sf9an1.js";
|
|
105
|
+
import"./index-fkdxfdbx.js";
|
|
106
|
+
import"./index-94pvh7hc.js";
|
|
107
107
|
import"./index-rtry5xyf.js";
|
|
108
|
-
import"./index-
|
|
109
|
-
import"./index-
|
|
108
|
+
import"./index-bb3ks0v3.js";
|
|
109
|
+
import"./index-06htxvzq.js";
|
|
110
110
|
import"./index-ae75rja9.js";
|
|
111
|
-
import"./index-
|
|
112
|
-
import"./index-
|
|
113
|
-
import"./index-
|
|
111
|
+
import"./index-zzhyws9g.js";
|
|
112
|
+
import"./index-b3jfcptk.js";
|
|
113
|
+
import"./index-1hef020t.js";
|
|
114
114
|
import"./index-k5jrywpr.js";
|
|
115
115
|
import"./index-n832052r.js";
|
|
116
116
|
import {
|
|
117
117
|
init_schema,
|
|
118
118
|
stripKnownSwarmPrefix
|
|
119
|
-
} from "./index-
|
|
119
|
+
} from "./index-pq8ge6fe.js";
|
|
120
120
|
import"./index-bk5tah7q.js";
|
|
121
121
|
import"./index-8fwhhayc.js";
|
|
122
122
|
import"./index-q1exe2b3.js";
|
|
123
|
-
import"./index-
|
|
124
|
-
import"./index-
|
|
125
|
-
import"./index-
|
|
123
|
+
import"./index-kym0cctr.js";
|
|
124
|
+
import"./index-w6j1n5az.js";
|
|
125
|
+
import"./index-d61h3f3h.js";
|
|
126
126
|
import"./index-1kz6da87.js";
|
|
127
127
|
import"./index-x20cgr2q.js";
|
|
128
128
|
import"./index-b8zgtz81.js";
|
|
129
|
-
import"./index-
|
|
129
|
+
import"./index-hh34tyv7.js";
|
|
130
130
|
import"./index-4rhhvd1a.js";
|
|
131
131
|
import {
|
|
132
132
|
AGENT_TOOL_MAP,
|
|
133
133
|
ORCHESTRATOR_NAME,
|
|
134
134
|
init_constants
|
|
135
135
|
} from "./index-3jcyn8g6.js";
|
|
136
|
-
import"./index-
|
|
136
|
+
import"./index-7t3vjw5e.js";
|
|
137
137
|
import"./index-4qzeef9h.js";
|
|
138
138
|
import"./index-fsrp8wp3.js";
|
|
139
|
-
import"./index-
|
|
139
|
+
import"./index-tncy55bp.js";
|
|
140
140
|
import"./index-7g4c7s5r.js";
|
|
141
141
|
import"./index-bpmtbmy9.js";
|
|
142
|
-
import"./index-
|
|
142
|
+
import"./index-cze4bq1x.js";
|
|
143
143
|
import"./index-z6xqpmqg.js";
|
|
144
144
|
import"./index-zjygnfay.js";
|
|
145
145
|
import"./index-y111zefa.js";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
readKnowledge,
|
|
4
4
|
transactKnowledge
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-bb3ks0v3.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveKnowledgeStoreDir
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-zzhyws9g.js";
|
|
9
9
|
import {
|
|
10
10
|
init_knowledge_types,
|
|
11
11
|
isActiveStatus
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
authorizeCuration
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-94pvh7hc.js";
|
|
5
5
|
import {
|
|
6
6
|
findNearDuplicate,
|
|
7
7
|
inferTags,
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
resolveSwarmKnowledgePath,
|
|
10
10
|
resolveSwarmRejectedPath,
|
|
11
11
|
transactKnowledge
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-bb3ks0v3.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveKnowledgeStoreDir
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-zzhyws9g.js";
|
|
16
16
|
import {
|
|
17
17
|
atomicWriteFile
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-b3jfcptk.js";
|
|
19
19
|
import {
|
|
20
20
|
require_proper_lockfile
|
|
21
21
|
} from "./index-7g4c7s5r.js";
|
|
@@ -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-5xc9ntdh.js");
|
|
90
90
|
return realWrite(directory, taskId, files);
|
|
91
91
|
},
|
|
92
92
|
writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
} from "./index-y8552snf.js";
|
|
10
10
|
import {
|
|
11
11
|
atomicWriteFile
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-b3jfcptk.js";
|
|
13
13
|
import {
|
|
14
14
|
withEvidenceLock
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-tncy55bp.js";
|
|
16
16
|
import {
|
|
17
17
|
exports_external,
|
|
18
18
|
init_zod
|
|
@@ -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.136.
|
|
24
|
+
version: "7.136.4",
|
|
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",
|
|
@@ -115,6 +115,7 @@ var init_package = __esm(() => {
|
|
|
115
115
|
"lint:ci": "biome ci .",
|
|
116
116
|
"test:unit:ci": "bun scripts/ci/run-unit-tests-local.ts",
|
|
117
117
|
"drift:check": "bun run scripts/drift-check.ts",
|
|
118
|
+
"check:runtime-src-refs": "bun run scripts/check-runtime-src-refs.ts",
|
|
118
119
|
"drift:fix": "bun run scripts/drift-check.ts --fix --confirm",
|
|
119
120
|
"skills:sync": "bun run scripts/sync-qa-gate-skills.ts",
|
|
120
121
|
format: "biome format . --write",
|
|
@@ -749,7 +750,12 @@ var init_schema = __esm(() => {
|
|
|
749
750
|
profiles: exports_external.record(exports_external.string(), GuardrailsProfileSchema).optional(),
|
|
750
751
|
block_destructive_commands: exports_external.boolean().default(true),
|
|
751
752
|
interpreter_allowed_agents: exports_external.array(exports_external.string().min(1)).optional(),
|
|
752
|
-
shell_audit_log: exports_external.boolean().default(true)
|
|
753
|
+
shell_audit_log: exports_external.boolean().default(true),
|
|
754
|
+
gate_denial_warn_threshold: exports_external.number().int().min(1).default(3),
|
|
755
|
+
gate_denial_stop_threshold: exports_external.number().int().min(1).default(5),
|
|
756
|
+
execution_stall_warn_calls: exports_external.number().int().min(1).default(30),
|
|
757
|
+
execution_stall_stop_calls: exports_external.number().int().min(1).default(60),
|
|
758
|
+
execution_stall_episode_minutes: exports_external.number().int().min(1).default(30)
|
|
753
759
|
});
|
|
754
760
|
WatchdogConfigSchema = exports_external.object({
|
|
755
761
|
scope_guard: exports_external.boolean().default(true),
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
detectPosixWrites,
|
|
13
13
|
detectWindowsWrites,
|
|
14
14
|
resolveWriteTargets
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-t1s4b5ha.js";
|
|
16
16
|
import {
|
|
17
17
|
checkFileAuthority,
|
|
18
18
|
classifyFile,
|
|
19
19
|
isInDeclaredScope,
|
|
20
20
|
redactPath,
|
|
21
21
|
redactShellCommand
|
|
22
|
-
} from "./index-
|
|
22
|
+
} from "./index-89fpahtg.js";
|
|
23
23
|
|
|
24
24
|
// src/services/guardrail-explain-service.ts
|
|
25
25
|
import path from "path";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
loadPluginConfigWithMeta,
|
|
8
8
|
loadPluginConfigWithMetaAsync,
|
|
9
9
|
resolveWorktreeIsolationConfig
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-1hef020t.js";
|
|
11
11
|
import {
|
|
12
12
|
ApprovalEvidenceSchema,
|
|
13
13
|
BaseEvidenceSchema,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
TurboConfigSchema,
|
|
55
55
|
WorktreeIsolationConfigSchema,
|
|
56
56
|
resolveAutoReviewConfig
|
|
57
|
-
} from "./index-
|
|
57
|
+
} from "./index-pq8ge6fe.js";
|
|
58
58
|
import"./index-bk5tah7q.js";
|
|
59
59
|
import {
|
|
60
60
|
MigrationStatusSchema,
|