opencode-swarm 7.133.0 → 7.134.1
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/codebase-review-swarm/SKILL.md +18 -2
- package/.opencode/skills/codebase-review-swarm/references/review-protocol-v8.2.md +18 -2
- package/.opencode/skills/swarm-implement/SKILL.md +17 -2
- package/dist/background/completion-observer.d.ts +17 -7
- package/dist/background/pending-delegations.d.ts +305 -30
- package/dist/background/pr-event-subscribers.d.ts +1 -1
- package/dist/cli/{config-doctor-8nbdwnn6.js → config-doctor-4avzz3rh.js} +3 -3
- package/dist/cli/{core-egwpry19.js → core-d6yd2jzv.js} +3 -3
- package/dist/cli/{curation-policy-gae3xm5d.js → curation-policy-8vkzjtwb.js} +7 -7
- package/dist/cli/{curator-e88bm4mg.js → curator-3vsvhwav.js} +31 -28
- package/dist/cli/{curator-drift-ea0p8nh1.js → curator-drift-9q6f85bm.js} +7 -7
- package/dist/cli/{curator-llm-factory-1a7esr69.js → curator-llm-factory-2qk8q4y9.js} +31 -28
- package/dist/cli/{dispatch-3mhgqj2x.js → dispatch-gxbeb2ps.js} +2 -2
- package/dist/cli/{evidence-summary-service-nhsmsap8.js → evidence-summary-service-mrzsjpg4.js} +13 -12
- package/dist/cli/{gate-evidence-cy2te3x8.js → gate-evidence-b5v1xvxp.js} +4 -4
- package/dist/cli/guardrail-explain-tw521x47.js +57 -0
- package/dist/cli/{guardrail-log-fjgyx76r.js → guardrail-log-e3jrwdw8.js} +5 -5
- package/dist/cli/{hive-promoter-2b04e0wh.js → hive-promoter-sdy5qjzn.js} +31 -28
- package/dist/cli/{index-66zght9d.js → index-0541h76w.js} +2 -2
- package/dist/cli/{index-g4mnf3p5.js → index-1j3682j8.js} +5 -5
- package/dist/cli/{index-mmvaf4t6.js → index-1v5mby7t.js} +25 -3
- package/dist/cli/{index-j5pnah1w.js → index-2j8f71c3.js} +12 -12
- package/dist/cli/{index-17zjp67y.js → index-2t1n9k7b.js} +4 -4
- package/dist/cli/{index-mwqfyjja.js → index-358f9h8p.js} +48406 -48697
- package/dist/cli/{index-hfpw5m0e.js → index-463k8mfr.js} +3 -3
- package/dist/cli/{index-2tn5h2zp.js → index-4p02dp92.js} +6 -6
- package/dist/cli/{index-7ftthvqt.js → index-6b69mp0r.js} +8 -8
- package/dist/cli/{index-bz08438z.js → index-8t9xpn1a.js} +7 -7
- package/dist/cli/{index-sp7tm8t7.js → index-9z1q181f.js} +1 -1
- package/dist/cli/index-b4z7s917.js +80 -0
- package/dist/cli/index-b8zgtz81.js +123 -0
- package/dist/cli/{index-tj2mkfb3.js → index-bq2848a3.js} +1 -1
- package/dist/cli/{index-kc1m6vpr.js → index-c0e3vhv9.js} +2 -2
- package/dist/cli/{index-q27bajqb.js → index-cfkvc5q9.js} +3 -3
- package/dist/cli/{index-7mkpsw6g.js → index-dd7ttx8x.js} +1 -1
- package/dist/cli/{index-r260ybay.js → index-k742ecbm.js} +178 -222
- package/dist/cli/{index-cpest8sa.js → index-kwm7hz18.js} +5 -5
- package/dist/cli/{index-0vd91yb8.js → index-m8ajf6wb.js} +3 -3
- package/dist/cli/{index-mhcge2ry.js → index-mz6sqtm9.js} +33 -30
- package/dist/cli/{index-74tptrss.js → index-p8hezdtz.js} +1 -1
- package/dist/cli/{index-sw82jvf2.js → index-pz49rx4y.js} +2 -2
- package/dist/cli/{index-3x761jqv.js → index-wk1h5ec2.js} +1 -1
- package/dist/cli/{index-wzb4dv5s.js → index-y2esw64s.js} +4 -4
- package/dist/cli/index-y3v1404y.js +1625 -0
- package/dist/cli/{index-wz36r0fk.js → index-zjw32rv9.js} +2 -2
- package/dist/cli/index.js +31 -28
- package/dist/cli/{knowledge-escalator-hzkw1ban.js → knowledge-escalator-v09w0jmg.js} +8 -8
- package/dist/cli/{knowledge-events-pbycdhqd.js → knowledge-events-qp19r2he.js} +6 -6
- package/dist/cli/{knowledge-link-4yd2z8ev.js → knowledge-link-nc4y2zkq.js} +5 -5
- package/dist/cli/{knowledge-store-45jawb2p.js → knowledge-store-n5pvv0s3.js} +6 -6
- package/dist/cli/{knowledge-validator-ge576f8n.js → knowledge-validator-qg31ycbb.js} +9 -9
- package/dist/cli/pending-delegations-v9e40hfk.js +96 -0
- package/dist/cli/{pr-subscriptions-zqbmctwz.js → pr-subscriptions-ztq40hrt.js} +7 -7
- package/dist/cli/{scan-cursor-kvw872be.js → scan-cursor-wtzfvkh2.js} +7 -7
- package/dist/cli/{schema-a2zm2m3r.js → schema-erk5bz43.js} +2 -2
- package/dist/cli/{scope-persistence-5qypzxxm.js → scope-persistence-hz3zmmsv.js} +5 -5
- package/dist/cli/{skill-generator-ch79hvxh.js → skill-generator-nxs65tq3.js} +10 -10
- package/dist/cli/worktree-collision-ownership-c4bdnjtx.js +221 -0
- package/dist/evaluation/contracts.d.ts +1 -1
- package/dist/evaluation/public-api.d.ts +1 -1
- package/dist/hooks/delegation-gate/worktree-collision-ownership.d.ts +28 -0
- package/dist/hooks/delegation-gate/worktree-isolation.d.ts +63 -1
- package/dist/hooks/delegation-gate/worktree-merge-status.d.ts +14 -0
- package/dist/hooks/delegation-gate/worktree-ownership-tag.d.ts +19 -0
- package/dist/hooks/delegation-gate/worktree-provisioning-owner.d.ts +30 -0
- package/dist/hooks/delegation-gate.d.ts +14 -5
- package/dist/hooks/guardrails/messages-transform.d.ts +10 -0
- package/dist/hooks/guardrails/stored-input-args.d.ts +6 -0
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/init-orphan-recovery.d.ts +17 -0
- package/dist/index.js +486 -479
- package/dist/memory/schema.d.ts +4 -4
- package/dist/prm/escalation.d.ts +1 -11
- package/dist/prm/index.d.ts +1 -0
- package/dist/prm/types.d.ts +0 -2
- package/dist/session/snapshot-writer.d.ts +3 -0
- package/dist/state.d.ts +54 -1
- package/dist/tools/dispatch-lanes.d.ts +1 -1
- package/dist/tools/epic-record-divergence.d.ts +5 -5
- package/dist/utils/advisory-queue.d.ts +60 -0
- package/dist/worktree/merge.d.ts +47 -1
- package/package.json +1 -1
- package/dist/cli/guardrail-explain-zgja2b9m.js +0 -54
- package/dist/cli/pending-delegations-kxy8mdqg.js +0 -75
- package/dist/cli/{index-9f71ye47.js → index-13xxjfhn.js} +3 -3
- package/dist/cli/{index-s80bsjkj.js → index-2ghkk9ve.js} +6 -6
- package/dist/cli/{index-76kvm9z5.js → index-5nybajn9.js} +3 -3
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
resolveSwarmKnowledgePath,
|
|
7
7
|
transactKnowledge,
|
|
8
8
|
wordBigrams
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-2j8f71c3.js";
|
|
10
10
|
import {
|
|
11
11
|
countEntryContradictionsInWindow,
|
|
12
12
|
countEntryViolationsInWindow,
|
|
13
13
|
readKnowledgeEvents,
|
|
14
14
|
recordKnowledgeEvent
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-8t9xpn1a.js";
|
|
16
16
|
import {
|
|
17
17
|
init_knowledge_types,
|
|
18
18
|
isActiveStatus
|
|
@@ -190,11 +190,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
|
|
|
190
190
|
alreadyInactive: true
|
|
191
191
|
};
|
|
192
192
|
}
|
|
193
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
193
|
+
const { quarantineEntry } = await import("./knowledge-validator-qg31ycbb.js");
|
|
194
194
|
let policyConfig;
|
|
195
195
|
try {
|
|
196
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
197
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
196
|
+
const { KnowledgeConfigSchema } = await import("./schema-erk5bz43.js");
|
|
197
|
+
const { loadPluginConfigWithMeta } = await import("./index-463k8mfr.js");
|
|
198
198
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
199
199
|
policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
200
200
|
} catch {
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
4
4
|
validateSkillPath
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-6b69mp0r.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-2j8f71c3.js";
|
|
13
13
|
import {
|
|
14
14
|
effectiveRetrievalOutcomes,
|
|
15
15
|
readKnowledgeCounterRollups
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-8t9xpn1a.js";
|
|
17
17
|
import {
|
|
18
18
|
init_knowledge_types,
|
|
19
19
|
isActiveStatus
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-pz49rx4y.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailLog
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-9z1q181f.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMAND_REGISTRY,
|
|
10
10
|
SWARM_COMMAND_TOOL_ALLOWLIST,
|
|
@@ -84,29 +84,30 @@ import {
|
|
|
84
84
|
handleWriteRetroCommand,
|
|
85
85
|
normalizeSwarmCommandInput,
|
|
86
86
|
resolveCommand
|
|
87
|
-
} from "./index-
|
|
88
|
-
import"./index-
|
|
89
|
-
import"./index-
|
|
90
|
-
import"./index-
|
|
87
|
+
} from "./index-358f9h8p.js";
|
|
88
|
+
import"./index-13xxjfhn.js";
|
|
89
|
+
import"./index-1v5mby7t.js";
|
|
90
|
+
import"./index-bq2848a3.js";
|
|
91
|
+
import"./index-k742ecbm.js";
|
|
91
92
|
import"./index-4905hd2m.js";
|
|
92
93
|
import"./index-134d35c1.js";
|
|
93
|
-
import"./index-
|
|
94
|
-
import"./index-
|
|
95
|
-
import"./index-
|
|
96
|
-
import"./index-66zght9d.js";
|
|
94
|
+
import"./index-m8ajf6wb.js";
|
|
95
|
+
import"./index-kwm7hz18.js";
|
|
96
|
+
import"./index-0541h76w.js";
|
|
97
97
|
import"./index-vxv732ex.js";
|
|
98
98
|
import"./index-c8s9a3zh.js";
|
|
99
99
|
import"./index-9ss2m4rs.js";
|
|
100
|
-
import"./index-
|
|
101
|
-
import"./index-
|
|
102
|
-
import"./index-
|
|
103
|
-
import"./index-
|
|
100
|
+
import"./index-wk1h5ec2.js";
|
|
101
|
+
import"./index-1j3682j8.js";
|
|
102
|
+
import"./index-6b69mp0r.js";
|
|
103
|
+
import"./index-zjw32rv9.js";
|
|
104
104
|
import"./index-rtry5xyf.js";
|
|
105
|
-
import"./index-
|
|
106
|
-
import"./index-
|
|
105
|
+
import"./index-2j8f71c3.js";
|
|
106
|
+
import"./index-8t9xpn1a.js";
|
|
107
107
|
import"./index-ae75rja9.js";
|
|
108
|
-
import"./index-
|
|
109
|
-
import"./index-
|
|
108
|
+
import"./index-cfkvc5q9.js";
|
|
109
|
+
import"./index-dd7ttx8x.js";
|
|
110
|
+
import"./index-c0e3vhv9.js";
|
|
110
111
|
import"./index-k5jrywpr.js";
|
|
111
112
|
import"./index-n832052r.js";
|
|
112
113
|
import {
|
|
@@ -115,27 +116,29 @@ import {
|
|
|
115
116
|
init_constants,
|
|
116
117
|
init_schema,
|
|
117
118
|
stripKnownSwarmPrefix
|
|
118
|
-
} from "./index-
|
|
119
|
+
} from "./index-y2esw64s.js";
|
|
119
120
|
import"./index-bk5tah7q.js";
|
|
120
121
|
import"./index-8fwhhayc.js";
|
|
121
122
|
import"./index-q1exe2b3.js";
|
|
122
|
-
import"./index-
|
|
123
|
-
import"./index-
|
|
123
|
+
import"./index-p8hezdtz.js";
|
|
124
|
+
import"./index-4p02dp92.js";
|
|
124
125
|
import"./index-1kz6da87.js";
|
|
125
|
-
import"./index-
|
|
126
|
-
import"./index-
|
|
126
|
+
import"./index-b4z7s917.js";
|
|
127
|
+
import"./index-b8zgtz81.js";
|
|
128
|
+
import"./index-2t1n9k7b.js";
|
|
127
129
|
import"./index-4rhhvd1a.js";
|
|
128
|
-
import"./index-
|
|
129
|
-
import"./index-
|
|
130
|
-
import"./index-h3k62043.js";
|
|
131
|
-
import"./index-3x761jqv.js";
|
|
132
|
-
import"./index-7mkpsw6g.js";
|
|
130
|
+
import"./index-y3v1404y.js";
|
|
131
|
+
import"./index-2ghkk9ve.js";
|
|
133
132
|
import"./index-fsrp8wp3.js";
|
|
134
|
-
import"./index-
|
|
133
|
+
import"./index-5nybajn9.js";
|
|
134
|
+
import"./index-7g4c7s5r.js";
|
|
135
135
|
import"./index-q2rrv0cy.js";
|
|
136
136
|
import"./index-bpmtbmy9.js";
|
|
137
|
-
import"./index-
|
|
137
|
+
import"./index-z6xqpmqg.js";
|
|
138
|
+
import"./index-zjygnfay.js";
|
|
138
139
|
import"./index-qe3v54nb.js";
|
|
140
|
+
import"./index-zgwm4ryv.js";
|
|
141
|
+
import"./index-h3k62043.js";
|
|
139
142
|
import"./index-a76rekgs.js";
|
|
140
143
|
|
|
141
144
|
// src/commands/index.ts
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
detectPosixWrites,
|
|
13
13
|
detectWindowsWrites,
|
|
14
14
|
resolveWriteTargets
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-358f9h8p.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-1v5mby7t.js";
|
|
23
23
|
|
|
24
24
|
// src/services/guardrail-explain-service.ts
|
|
25
25
|
import path from "path";
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
OUTCOME_BLOCK_THRESHOLD,
|
|
4
4
|
init_knowledge_types
|
|
5
5
|
} from "./index-bk5tah7q.js";
|
|
6
|
-
import {
|
|
7
|
-
init_merge
|
|
8
|
-
} from "./index-zjygnfay.js";
|
|
9
6
|
import {
|
|
10
7
|
exports_external,
|
|
11
8
|
init_zod
|
|
12
9
|
} from "./index-bpmtbmy9.js";
|
|
10
|
+
import {
|
|
11
|
+
init_merge
|
|
12
|
+
} from "./index-zjygnfay.js";
|
|
13
13
|
import {
|
|
14
14
|
__esm
|
|
15
15
|
} from "./index-a76rekgs.js";
|
|
@@ -19,7 +19,7 @@ var package_default;
|
|
|
19
19
|
var init_package = __esm(() => {
|
|
20
20
|
package_default = {
|
|
21
21
|
name: "opencode-swarm",
|
|
22
|
-
version: "7.
|
|
22
|
+
version: "7.134.1",
|
|
23
23
|
description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
|
|
24
24
|
main: "dist/index.js",
|
|
25
25
|
types: "dist/index.d.ts",
|