opencode-swarm 7.136.2 → 7.136.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.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-g71mz50j.js} +2 -2
- package/dist/cli/{core-4z1s2ak1.js → core-jpjk2qvt.js} +1 -1
- package/dist/cli/{curation-policy-kvzhfaj1.js → curation-policy-zhyttjpa.js} +6 -6
- package/dist/cli/{curator-nrmj8bds.js → curator-36dxw38r.js} +25 -25
- package/dist/cli/{curator-llm-factory-x7kvry9x.js → curator-llm-factory-k2a7cv41.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-1k337z5d.js} +26 -26
- package/dist/cli/{guardrail-log-aksrzqdx.js → guardrail-log-xbc9bvdt.js} +3 -3
- package/dist/cli/{hive-promoter-cy21rhnd.js → hive-promoter-daxrn62p.js} +25 -25
- package/dist/cli/{index-y0xaq4f3.js → index-0vq9gnqd.js} +8 -2
- package/dist/cli/{index-rw3f73aq.js → index-176zwqcq.js} +2 -2
- package/dist/cli/{index-kwwxevne.js → index-45y0y3xh.js} +5 -5
- package/dist/cli/{index-7ayaq27q.js → index-68tjkaqk.js} +1 -1
- package/dist/cli/{index-s0rbdp61.js → index-79pgzj9a.js} +4 -4
- package/dist/cli/{index-45t7w06b.js → index-7t3vjw5e.js} +1 -1
- package/dist/cli/{index-ey29aap6.js → index-b3jfcptk.js} +1 -1
- package/dist/cli/{index-sr2cynyw.js → index-brtg922w.js} +108 -51
- 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-g2kpqpvh.js} +27 -27
- package/dist/cli/{index-37v2wxqe.js → index-g5rtcb1n.js} +1 -1
- package/dist/cli/{index-ad6j0m7k.js → index-gj5jerzz.js} +3 -3
- package/dist/cli/{index-c9ddxv4k.js → index-hh34tyv7.js} +1 -1
- package/dist/cli/{index-21115szq.js → index-kp5h245k.js} +5 -5
- package/dist/cli/{index-tcn457d5.js → index-kym0cctr.js} +1 -1
- package/dist/cli/{index-84nz7bhe.js → index-mgbpbs1f.js} +3 -3
- package/dist/cli/{index-m5fw4mer.js → index-n89fdxwg.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-azghvnja.js → index-pff46kfv.js} +2 -2
- package/dist/cli/{index-wnz282j3.js → index-rtgqy0yg.js} +2 -2
- 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-0755132s.js → index-wbdxmf1a.js} +6 -6
- package/dist/cli/{index-1kn24ja0.js → index-zcrvn579.js} +2 -2
- package/dist/cli/{index-s0vahtdm.js → index-zwh5dewz.js} +1 -1
- 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-h7fspgph.js} +7 -7
- package/dist/cli/{knowledge-events-dk6banmz.js → knowledge-events-vkf7an5n.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-s4976v9c.js} +5 -5
- package/dist/cli/{knowledge-validator-jsz1dxkr.js → knowledge-validator-64ppqy4y.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-xbkae12h.js} +6 -6
- package/dist/cli/{schema-f937b9cs.js → schema-7jm70cab.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-8gtq1ajr.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/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/trajectory-logger.d.ts +76 -0
- package/dist/index.js +476 -462
- 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-brtg922w.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-n89fdxwg.js";
|
|
14
|
+
import"./index-68tjkaqk.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-gj5jerzz.js";
|
|
21
|
+
import"./index-kp5h245k.js";
|
|
22
|
+
import"./index-zcrvn579.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-79pgzj9a.js";
|
|
29
|
+
import"./index-176zwqcq.js";
|
|
30
30
|
import"./index-rtry5xyf.js";
|
|
31
31
|
import {
|
|
32
32
|
resolveHiveKnowledgePath
|
|
33
|
-
} from "./index-
|
|
34
|
-
import"./index-
|
|
33
|
+
} from "./index-wbdxmf1a.js";
|
|
34
|
+
import"./index-mgbpbs1f.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-zwh5dewz.js";
|
|
39
39
|
import"./index-k5jrywpr.js";
|
|
40
40
|
import"./index-n832052r.js";
|
|
41
|
-
import"./index-
|
|
41
|
+
import"./index-0vq9gnqd.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";
|
|
@@ -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.3",
|
|
25
25
|
description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
|
|
26
26
|
main: "dist/index.js",
|
|
27
27
|
types: "dist/index.d.ts",
|
|
@@ -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),
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
} from "./index-rtry5xyf.js";
|
|
5
5
|
import {
|
|
6
6
|
readKnowledgeEvents
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-mgbpbs1f.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";
|
|
@@ -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,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
authorizeCuration
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-176zwqcq.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-wbdxmf1a.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";
|