opencode-swarm 7.129.3 → 7.129.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.
Files changed (30) hide show
  1. package/dist/cli/{curation-policy-vn1ybh31.js → curation-policy-s08pg90f.js} +2 -2
  2. package/dist/cli/{curator-gay2gz5p.js → curator-6ggzktne.js} +10 -10
  3. package/dist/cli/{curator-llm-factory-90803y01.js → curator-llm-factory-w6ep20tm.js} +10 -10
  4. package/dist/cli/{dispatch-f4hj1cj7.js → dispatch-3mhgqj2x.js} +1 -1
  5. package/dist/cli/{guardrail-explain-axvx94rx.js → guardrail-explain-0gr9wkj0.js} +11 -11
  6. package/dist/cli/{hive-promoter-3j6xp8gm.js → hive-promoter-4x3470c9.js} +10 -10
  7. package/dist/cli/{index-vjmmzhv0.js → index-803bqrzq.js} +11 -11
  8. package/dist/cli/{index-wy5jy3m9.js → index-8fy8q1px.js} +3 -3
  9. package/dist/cli/{index-6n2jpz7x.js → index-9f71ye47.js} +2 -2
  10. package/dist/cli/{index-kj86tyrs.js → index-bz814zsm.js} +1 -1
  11. package/dist/cli/{index-5fnc76da.js → index-hbbj7ktj.js} +1 -1
  12. package/dist/cli/{index-509jpmdd.js → index-hn1dxcr3.js} +1 -1
  13. package/dist/cli/{index-9vbpy8f9.js → index-jke1z4f2.js} +30 -30
  14. package/dist/cli/{index-m8vrw3pt.js → index-mgz9nm4a.js} +4 -4
  15. package/dist/cli/{index-w2kp2zvf.js → index-n08cksd6.js} +3 -3
  16. package/dist/cli/{index-kxw2sx1d.js → index-nbdge8b6.js} +1 -1
  17. package/dist/cli/{index-pgyp3tta.js → index-nhexgq4a.js} +1 -1
  18. package/dist/cli/{index-waqvy9a5.js → index-x7wt1g4w.js} +2 -2
  19. package/dist/cli/{index-6w02qz7t.js → index-yxz0c97p.js} +10 -8
  20. package/dist/cli/index.js +10 -10
  21. package/dist/cli/{knowledge-escalator-5ytt2y9n.js → knowledge-escalator-jjyn29ht.js} +3 -3
  22. package/dist/cli/{knowledge-events-qnyfrsfv.js → knowledge-events-f75n3916.js} +1 -1
  23. package/dist/cli/{knowledge-store-yeybvcqw.js → knowledge-store-7sahm702.js} +1 -1
  24. package/dist/cli/{knowledge-validator-g2c4mbwa.js → knowledge-validator-rjwvafv3.js} +4 -4
  25. package/dist/cli/{scan-cursor-c5mcce5r.js → scan-cursor-518rhxyd.js} +2 -2
  26. package/dist/cli/{skill-generator-c77e0y98.js → skill-generator-hk6mc7pc.js} +5 -5
  27. package/dist/index.js +4 -4
  28. package/dist/services/directive-predicate-runner.d.ts +6 -0
  29. package/package.json +1 -1
  30. package/dist/config/loader-recovery.d.ts +0 -95
@@ -4,9 +4,9 @@ import {
4
4
  authorizeCuration,
5
5
  buildConfigFingerprintInput,
6
6
  readCohortConfigFingerprint
7
- } from "./index-pgyp3tta.js";
7
+ } from "./index-nhexgq4a.js";
8
8
  import"./index-rtry5xyf.js";
9
- import"./index-kj86tyrs.js";
9
+ import"./index-bz814zsm.js";
10
10
  import"./index-ae75rja9.js";
11
11
  import"./index-q27bajqb.js";
12
12
  import"./index-zgwm4ryv.js";
@@ -14,28 +14,28 @@ import {
14
14
  runCuratorInit,
15
15
  runCuratorPhase,
16
16
  writeCuratorSummary
17
- } from "./index-9vbpy8f9.js";
17
+ } from "./index-jke1z4f2.js";
18
18
  import"./index-v4n224r1.js";
19
19
  import"./index-cpssctv1.js";
20
20
  import"./index-kzvwb2se.js";
21
21
  import"./index-4905hd2m.js";
22
22
  import"./index-134d35c1.js";
23
- import"./index-6n2jpz7x.js";
24
- import"./index-wy5jy3m9.js";
25
- import"./index-m8vrw3pt.js";
26
- import"./index-5fnc76da.js";
23
+ import"./index-9f71ye47.js";
24
+ import"./index-8fy8q1px.js";
25
+ import"./index-mgz9nm4a.js";
26
+ import"./index-hbbj7ktj.js";
27
27
  import"./index-vxv732ex.js";
28
28
  import"./index-c8s9a3zh.js";
29
29
  import"./index-9ss2m4rs.js";
30
30
  import"./index-g4mnf3p5.js";
31
- import"./index-waqvy9a5.js";
32
- import"./index-pgyp3tta.js";
31
+ import"./index-x7wt1g4w.js";
32
+ import"./index-nhexgq4a.js";
33
33
  import"./index-rtry5xyf.js";
34
- import"./index-w2kp2zvf.js";
35
- import"./index-kj86tyrs.js";
34
+ import"./index-n08cksd6.js";
35
+ import"./index-bz814zsm.js";
36
36
  import"./index-ae75rja9.js";
37
37
  import"./index-q27bajqb.js";
38
- import"./index-6w02qz7t.js";
38
+ import"./index-yxz0c97p.js";
39
39
  import"./index-k5jrywpr.js";
40
40
  import"./index-n832052r.js";
41
41
  import"./index-7ttstfv6.js";
@@ -1,28 +1,28 @@
1
1
  // @bun
2
2
  import {
3
3
  createCuratorLLMDelegate
4
- } from "./index-9vbpy8f9.js";
4
+ } from "./index-jke1z4f2.js";
5
5
  import"./index-v4n224r1.js";
6
6
  import"./index-cpssctv1.js";
7
7
  import"./index-kzvwb2se.js";
8
8
  import"./index-4905hd2m.js";
9
9
  import"./index-134d35c1.js";
10
- import"./index-6n2jpz7x.js";
11
- import"./index-wy5jy3m9.js";
12
- import"./index-m8vrw3pt.js";
13
- import"./index-5fnc76da.js";
10
+ import"./index-9f71ye47.js";
11
+ import"./index-8fy8q1px.js";
12
+ import"./index-mgz9nm4a.js";
13
+ import"./index-hbbj7ktj.js";
14
14
  import"./index-vxv732ex.js";
15
15
  import"./index-c8s9a3zh.js";
16
16
  import"./index-9ss2m4rs.js";
17
17
  import"./index-g4mnf3p5.js";
18
- import"./index-waqvy9a5.js";
19
- import"./index-pgyp3tta.js";
18
+ import"./index-x7wt1g4w.js";
19
+ import"./index-nhexgq4a.js";
20
20
  import"./index-rtry5xyf.js";
21
- import"./index-w2kp2zvf.js";
22
- import"./index-kj86tyrs.js";
21
+ import"./index-n08cksd6.js";
22
+ import"./index-bz814zsm.js";
23
23
  import"./index-ae75rja9.js";
24
24
  import"./index-q27bajqb.js";
25
- import"./index-6w02qz7t.js";
25
+ import"./index-yxz0c97p.js";
26
26
  import"./index-k5jrywpr.js";
27
27
  import"./index-n832052r.js";
28
28
  import"./index-7ttstfv6.js";
@@ -11,7 +11,7 @@ import {
11
11
  defaultTestFilesFor,
12
12
  detectProjectLanguages,
13
13
  tokenizeCommand
14
- } from "./index-6n2jpz7x.js";
14
+ } from "./index-9f71ye47.js";
15
15
  import"./index-z6xqpmqg.js";
16
16
  import"./index-zjygnfay.js";
17
17
  import"./index-zgwm4ryv.js";
@@ -1,29 +1,29 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-509jpmdd.js";
5
- import"./index-9vbpy8f9.js";
4
+ } from "./index-hn1dxcr3.js";
5
+ import"./index-jke1z4f2.js";
6
6
  import"./index-v4n224r1.js";
7
7
  import"./index-cpssctv1.js";
8
8
  import"./index-kzvwb2se.js";
9
9
  import"./index-4905hd2m.js";
10
10
  import"./index-134d35c1.js";
11
- import"./index-6n2jpz7x.js";
12
- import"./index-wy5jy3m9.js";
13
- import"./index-m8vrw3pt.js";
14
- import"./index-5fnc76da.js";
11
+ import"./index-9f71ye47.js";
12
+ import"./index-8fy8q1px.js";
13
+ import"./index-mgz9nm4a.js";
14
+ import"./index-hbbj7ktj.js";
15
15
  import"./index-vxv732ex.js";
16
16
  import"./index-c8s9a3zh.js";
17
17
  import"./index-9ss2m4rs.js";
18
18
  import"./index-g4mnf3p5.js";
19
- import"./index-waqvy9a5.js";
20
- import"./index-pgyp3tta.js";
19
+ import"./index-x7wt1g4w.js";
20
+ import"./index-nhexgq4a.js";
21
21
  import"./index-rtry5xyf.js";
22
- import"./index-w2kp2zvf.js";
23
- import"./index-kj86tyrs.js";
22
+ import"./index-n08cksd6.js";
23
+ import"./index-bz814zsm.js";
24
24
  import"./index-ae75rja9.js";
25
25
  import"./index-q27bajqb.js";
26
- import"./index-6w02qz7t.js";
26
+ import"./index-yxz0c97p.js";
27
27
  import"./index-k5jrywpr.js";
28
28
  import"./index-n832052r.js";
29
29
  import"./index-7ttstfv6.js";
@@ -7,30 +7,30 @@ import {
7
7
  isHiveEligible,
8
8
  promoteFromSwarm,
9
9
  promoteToHive
10
- } from "./index-9vbpy8f9.js";
10
+ } from "./index-jke1z4f2.js";
11
11
  import"./index-v4n224r1.js";
12
12
  import"./index-cpssctv1.js";
13
13
  import"./index-kzvwb2se.js";
14
14
  import"./index-4905hd2m.js";
15
15
  import"./index-134d35c1.js";
16
- import"./index-6n2jpz7x.js";
17
- import"./index-wy5jy3m9.js";
18
- import"./index-m8vrw3pt.js";
19
- import"./index-5fnc76da.js";
16
+ import"./index-9f71ye47.js";
17
+ import"./index-8fy8q1px.js";
18
+ import"./index-mgz9nm4a.js";
19
+ import"./index-hbbj7ktj.js";
20
20
  import"./index-vxv732ex.js";
21
21
  import"./index-c8s9a3zh.js";
22
22
  import"./index-9ss2m4rs.js";
23
23
  import"./index-g4mnf3p5.js";
24
- import"./index-waqvy9a5.js";
25
- import"./index-pgyp3tta.js";
24
+ import"./index-x7wt1g4w.js";
25
+ import"./index-nhexgq4a.js";
26
26
  import"./index-rtry5xyf.js";
27
27
  import {
28
28
  resolveHiveKnowledgePath
29
- } from "./index-w2kp2zvf.js";
30
- import"./index-kj86tyrs.js";
29
+ } from "./index-n08cksd6.js";
30
+ import"./index-bz814zsm.js";
31
31
  import"./index-ae75rja9.js";
32
32
  import"./index-q27bajqb.js";
33
- import"./index-6w02qz7t.js";
33
+ import"./index-yxz0c97p.js";
34
34
  import"./index-k5jrywpr.js";
35
35
  import"./index-n832052r.js";
36
36
  import"./index-7ttstfv6.js";
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-509jpmdd.js";
4
+ } from "./index-hn1dxcr3.js";
5
5
  import {
6
6
  handleGuardrailLog
7
7
  } from "./index-8etcyr9r.js";
@@ -83,28 +83,28 @@ import {
83
83
  handleWriteRetroCommand,
84
84
  normalizeSwarmCommandInput,
85
85
  resolveCommand
86
- } from "./index-9vbpy8f9.js";
86
+ } from "./index-jke1z4f2.js";
87
87
  import"./index-v4n224r1.js";
88
88
  import"./index-cpssctv1.js";
89
89
  import"./index-kzvwb2se.js";
90
90
  import"./index-4905hd2m.js";
91
91
  import"./index-134d35c1.js";
92
- import"./index-6n2jpz7x.js";
93
- import"./index-wy5jy3m9.js";
94
- import"./index-m8vrw3pt.js";
95
- import"./index-5fnc76da.js";
92
+ import"./index-9f71ye47.js";
93
+ import"./index-8fy8q1px.js";
94
+ import"./index-mgz9nm4a.js";
95
+ import"./index-hbbj7ktj.js";
96
96
  import"./index-vxv732ex.js";
97
97
  import"./index-c8s9a3zh.js";
98
98
  import"./index-9ss2m4rs.js";
99
99
  import"./index-g4mnf3p5.js";
100
- import"./index-waqvy9a5.js";
101
- import"./index-pgyp3tta.js";
100
+ import"./index-x7wt1g4w.js";
101
+ import"./index-nhexgq4a.js";
102
102
  import"./index-rtry5xyf.js";
103
- import"./index-w2kp2zvf.js";
104
- import"./index-kj86tyrs.js";
103
+ import"./index-n08cksd6.js";
104
+ import"./index-bz814zsm.js";
105
105
  import"./index-ae75rja9.js";
106
106
  import"./index-q27bajqb.js";
107
- import"./index-6w02qz7t.js";
107
+ import"./index-yxz0c97p.js";
108
108
  import"./index-k5jrywpr.js";
109
109
  import"./index-n832052r.js";
110
110
  import {
@@ -2,18 +2,18 @@
2
2
  import {
3
3
  ALLOWED_SKILL_PATH_PREFIXES,
4
4
  validateSkillPath
5
- } from "./index-waqvy9a5.js";
5
+ } from "./index-x7wt1g4w.js";
6
6
  import {
7
7
  computeOutcomeSignal,
8
8
  readKnowledge,
9
9
  resolveHiveKnowledgePath,
10
10
  resolveSwarmKnowledgePath,
11
11
  transactKnowledge
12
- } from "./index-w2kp2zvf.js";
12
+ } from "./index-n08cksd6.js";
13
13
  import {
14
14
  effectiveRetrievalOutcomes,
15
15
  readKnowledgeCounterRollups
16
- } from "./index-kj86tyrs.js";
16
+ } from "./index-bz814zsm.js";
17
17
  import {
18
18
  init_knowledge_types,
19
19
  isActiveStatus
@@ -13676,9 +13676,9 @@ function isCommandAvailable(command) {
13676
13676
  return toolchainCache.get(command);
13677
13677
  }
13678
13678
  const isWindows = process.platform === "win32";
13679
- const cmd = isWindows ? `${command}.exe` : command;
13680
13679
  try {
13681
- const result = _internals.spawnSyncImpl(isWindows ? ["where", cmd] : ["which", cmd], {
13680
+ const searchName = isWindows ? command : command;
13681
+ const result = _internals.spawnSyncImpl(isWindows ? ["where", searchName] : ["which", searchName], {
13682
13682
  cwd: process.cwd(),
13683
13683
  stdin: "ignore",
13684
13684
  stdout: "ignore",
@@ -608,7 +608,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
608
608
  deltas.push({ id, delta });
609
609
  }
610
610
  if (deltas.length > 0) {
611
- const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-yeybvcqw.js");
611
+ const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-7sahm702.js");
612
612
  await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
613
613
  }
614
614
  return {
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  readKnowledge,
4
4
  transactKnowledge
5
- } from "./index-w2kp2zvf.js";
5
+ } from "./index-n08cksd6.js";
6
6
  import {
7
7
  resolveKnowledgeStoreDir
8
8
  } from "./index-q27bajqb.js";
@@ -12,7 +12,7 @@ import {
12
12
  detectPosixWrites,
13
13
  detectWindowsWrites,
14
14
  resolveWriteTargets
15
- } from "./index-9vbpy8f9.js";
15
+ } from "./index-jke1z4f2.js";
16
16
  import {
17
17
  checkFileAuthority,
18
18
  classifyFile,
@@ -74,7 +74,7 @@ import {
74
74
  getProfileForFile,
75
75
  isCommandAvailable,
76
76
  tool
77
- } from "./index-6n2jpz7x.js";
77
+ } from "./index-9f71ye47.js";
78
78
  import {
79
79
  BUNDLED_PROJECT_SKILL_ROOT,
80
80
  DEFAULT_SKILL_MIN_CONFIDENCE,
@@ -94,15 +94,15 @@ import {
94
94
  retireSkill,
95
95
  selectCandidateEntries,
96
96
  syncBundledProjectSkillsIfMissingAsync
97
- } from "./index-wy5jy3m9.js";
97
+ } from "./index-8fy8q1px.js";
98
98
  import {
99
99
  readRecentEscalations
100
- } from "./index-m8vrw3pt.js";
100
+ } from "./index-mgz9nm4a.js";
101
101
  import {
102
102
  alreadyCuratedThisGeneration,
103
103
  claimNextScanBatch,
104
104
  resolveCohortId
105
- } from "./index-5fnc76da.js";
105
+ } from "./index-hbbj7ktj.js";
106
106
  import {
107
107
  CURATOR_INIT_PROMPT,
108
108
  CURATOR_PHASE_PROMPT,
@@ -135,11 +135,11 @@ import {
135
135
  validateActionability,
136
136
  validateActionableFields,
137
137
  validateLesson
138
- } from "./index-waqvy9a5.js";
138
+ } from "./index-x7wt1g4w.js";
139
139
  import {
140
140
  authorizeCuration,
141
141
  buildConfigFingerprintInput
142
- } from "./index-pgyp3tta.js";
142
+ } from "./index-nhexgq4a.js";
143
143
  import {
144
144
  cohortConfigFingerprint
145
145
  } from "./index-rtry5xyf.js";
@@ -169,7 +169,7 @@ import {
169
169
  transactFile,
170
170
  transactKnowledge,
171
171
  wordBigrams
172
- } from "./index-w2kp2zvf.js";
172
+ } from "./index-n08cksd6.js";
173
173
  import {
174
174
  MAX_EVENT_LOG_ENTRIES,
175
175
  _internals,
@@ -179,7 +179,7 @@ import {
179
179
  recordHiveKnowledgeEvent,
180
180
  recordKnowledgeEvent,
181
181
  resolveKnowledgeEventsPath
182
- } from "./index-kj86tyrs.js";
182
+ } from "./index-bz814zsm.js";
183
183
  import {
184
184
  resolveHiveDataDir,
185
185
  resolveHiveEventsPath,
@@ -201,7 +201,7 @@ import {
201
201
  init_loader,
202
202
  loadPluginConfig,
203
203
  loadPluginConfigWithMeta
204
- } from "./index-6w02qz7t.js";
204
+ } from "./index-yxz0c97p.js";
205
205
  import {
206
206
  RetrospectiveEvidenceSchema
207
207
  } from "./index-k5jrywpr.js";
@@ -14271,7 +14271,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
14271
14271
  }
14272
14272
  if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
14273
14273
  try {
14274
- const skillModule = await import("./skill-generator-c77e0y98.js");
14274
+ const skillModule = await import("./skill-generator-hk6mc7pc.js");
14275
14275
  for (const cand of skillCandidates) {
14276
14276
  if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
14277
14277
  continue;
@@ -14608,7 +14608,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
14608
14608
  } catch {}
14609
14609
  }
14610
14610
  if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
14611
- const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-5ytt2y9n.js");
14611
+ const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-jjyn29ht.js");
14612
14612
  for (const { id } of contradictedEntries) {
14613
14613
  try {
14614
14614
  await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
@@ -15407,7 +15407,7 @@ async function runCuratorPostMortem(directory, options = {}) {
15407
15407
  warnings.push("Failed to collect knowledge summary.");
15408
15408
  }
15409
15409
  try {
15410
- const { getScanStatus } = await import("./scan-cursor-c5mcce5r.js");
15410
+ const { getScanStatus } = await import("./scan-cursor-518rhxyd.js");
15411
15411
  const scanStatus = await getScanStatus(directory);
15412
15412
  if (scanStatus.remaining_estimate > 0) {
15413
15413
  warnings.push(`Fair scan: reviewed ${knowledgeSummary.length} entries this sweep (generation ${scanStatus.generation}); ${scanStatus.remaining_estimate} more eligible entries will be visited in future curation sweeps.`);
@@ -15581,7 +15581,7 @@ var _internals19 = {
15581
15581
  loadDefaultKnowledgeConfig: async (directory) => {
15582
15582
  const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-2x7wsb0n.js");
15583
15583
  try {
15584
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-kxw2sx1d.js");
15584
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-nbdge8b6.js");
15585
15585
  const loaded = loadPluginConfigWithMeta2(directory);
15586
15586
  return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
15587
15587
  } catch {
@@ -15589,11 +15589,11 @@ var _internals19 = {
15589
15589
  }
15590
15590
  },
15591
15591
  applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
15592
- const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-gay2gz5p.js");
15592
+ const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-6ggzktne.js");
15593
15593
  return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
15594
15594
  },
15595
15595
  checkHivePromotions: async (entries, knowledgeConfig, directory) => {
15596
- const { checkHivePromotions } = await import("./hive-promoter-3j6xp8gm.js");
15596
+ const { checkHivePromotions } = await import("./hive-promoter-4x3470c9.js");
15597
15597
  return checkHivePromotions(entries, knowledgeConfig, directory);
15598
15598
  },
15599
15599
  applyProposalTriage: async (directory, triage) => {
@@ -15602,7 +15602,7 @@ var _internals19 = {
15602
15602
  activateProposal,
15603
15603
  listSkills: listSkills2,
15604
15604
  sanitizeSlug
15605
- } = await import("./skill-generator-c77e0y98.js");
15605
+ } = await import("./skill-generator-hk6mc7pc.js");
15606
15606
  const result = {
15607
15607
  approved: [],
15608
15608
  rejected: [],
@@ -18126,7 +18126,7 @@ function hashContent(content) {
18126
18126
  async function loadConfigForPolicyCurator(directory) {
18127
18127
  const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-2x7wsb0n.js");
18128
18128
  try {
18129
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-kxw2sx1d.js");
18129
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-nbdge8b6.js");
18130
18130
  const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
18131
18131
  return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
18132
18132
  } catch {
@@ -23498,8 +23498,8 @@ var _internals32 = {
23498
23498
  loadCuratorDeps: async () => {
23499
23499
  const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate: createCuratorLLMDelegate2 }] = await Promise.all([
23500
23500
  import("./schema-2x7wsb0n.js"),
23501
- import("./curator-gay2gz5p.js"),
23502
- import("./curator-llm-factory-90803y01.js")
23501
+ import("./curator-6ggzktne.js"),
23502
+ import("./curator-llm-factory-w6ep20tm.js")
23503
23503
  ]);
23504
23504
  return { CuratorConfigSchema, curator, createCuratorLLMDelegate: createCuratorLLMDelegate2 };
23505
23505
  }
@@ -23998,7 +23998,7 @@ import { fileURLToPath } from "url";
23998
23998
  // package.json
23999
23999
  var package_default = {
24000
24000
  name: "opencode-swarm",
24001
- version: "7.129.3",
24001
+ version: "7.129.4",
24002
24002
  description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
24003
24003
  main: "dist/index.js",
24004
24004
  types: "dist/index.d.ts",
@@ -24520,7 +24520,7 @@ async function computeCurationDiagnostics(directory, entries) {
24520
24520
  let scanCompleted = false;
24521
24521
  let scanRemaining = 0;
24522
24522
  try {
24523
- const { getScanStatus } = await import("./scan-cursor-c5mcce5r.js");
24523
+ const { getScanStatus } = await import("./scan-cursor-518rhxyd.js");
24524
24524
  const status = await getScanStatus(directory);
24525
24525
  scanGeneration = status.generation;
24526
24526
  scanCompleted = status.completed;
@@ -24533,14 +24533,14 @@ async function computeCurationDiagnostics(directory, entries) {
24533
24533
  const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-2x7wsb0n.js");
24534
24534
  let config;
24535
24535
  try {
24536
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-kxw2sx1d.js");
24536
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-nbdge8b6.js");
24537
24537
  const loaded = loadPluginConfigWithMeta2(directory);
24538
24538
  config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
24539
24539
  } catch {
24540
24540
  config = KnowledgeConfigSchema2.parse({});
24541
24541
  }
24542
24542
  const { cohortConfigFingerprint: cohortConfigFingerprint2 } = await import("./config-fingerprint-v22xh5a2.js");
24543
- const { buildConfigFingerprintInput: buildConfigFingerprintInput2, readCohortConfigFingerprint } = await import("./curation-policy-vn1ybh31.js");
24543
+ const { buildConfigFingerprintInput: buildConfigFingerprintInput2, readCohortConfigFingerprint } = await import("./curation-policy-s08pg90f.js");
24544
24544
  const currentFp = cohortConfigFingerprint2(buildConfigFingerprintInput2(config));
24545
24545
  const cohortFp = await readCohortConfigFingerprint(directory);
24546
24546
  configMatch = cohortFp === null ? null : currentFp === cohortFp;
@@ -38476,7 +38476,7 @@ var DISPATCH_FRAMEWORK_MAP = {
38476
38476
  };
38477
38477
  async function detectTestFrameworkViaDispatch(cwd) {
38478
38478
  try {
38479
- const { pickBackend } = await import("./dispatch-f4hj1cj7.js");
38479
+ const { pickBackend } = await import("./dispatch-3mhgqj2x.js");
38480
38480
  const backend = await pickBackend(cwd);
38481
38481
  if (!backend?.selectTestFramework)
38482
38482
  return "none";
@@ -38492,7 +38492,7 @@ async function buildTestCommandViaDispatch(framework, scope, files, coverage, ba
38492
38492
  if (framework === "none")
38493
38493
  return null;
38494
38494
  try {
38495
- const { pickBackend } = await import("./dispatch-f4hj1cj7.js");
38495
+ const { pickBackend } = await import("./dispatch-3mhgqj2x.js");
38496
38496
  const backend = await pickBackend(baseDir);
38497
38497
  if (backend?.buildTestCommand) {
38498
38498
  const cmd = backend.buildTestCommand(framework, files, baseDir, {
@@ -38512,7 +38512,7 @@ async function parseTestOutputViaDispatch(framework, output, baseDir) {
38512
38512
  if (framework === "none")
38513
38513
  return null;
38514
38514
  try {
38515
- const { pickBackend } = await import("./dispatch-f4hj1cj7.js");
38515
+ const { pickBackend } = await import("./dispatch-3mhgqj2x.js");
38516
38516
  const backend = await pickBackend(baseDir);
38517
38517
  if (!backend?.parseTestOutput)
38518
38518
  return null;
@@ -44390,7 +44390,7 @@ function buildDetailedHelp(commandName, entry) {
44390
44390
  async function handleHelpCommand(ctx) {
44391
44391
  const targetCommand = ctx.args.join(" ");
44392
44392
  if (!targetCommand) {
44393
- const { buildHelpText } = await import("./index-vjmmzhv0.js");
44393
+ const { buildHelpText } = await import("./index-803bqrzq.js");
44394
44394
  return buildHelpText();
44395
44395
  }
44396
44396
  const tokens = targetCommand.split(/\s+/);
@@ -44399,7 +44399,7 @@ async function handleHelpCommand(ctx) {
44399
44399
  return _internals9.buildDetailedHelp(resolved.key, resolved.entry);
44400
44400
  }
44401
44401
  const similar = _internals9.findSimilarCommands(targetCommand);
44402
- const { buildHelpText: fullHelp } = await import("./index-vjmmzhv0.js");
44402
+ const { buildHelpText: fullHelp } = await import("./index-803bqrzq.js");
44403
44403
  if (similar.length > 0) {
44404
44404
  return `Command '/swarm ${targetCommand}' not found.
44405
44405
 
@@ -44538,7 +44538,7 @@ var COMMAND_REGISTRY = {
44538
44538
  },
44539
44539
  "guardrail explain": {
44540
44540
  handler: async (ctx) => {
44541
- const { handleGuardrailExplain } = await import("./guardrail-explain-axvx94rx.js");
44541
+ const { handleGuardrailExplain } = await import("./guardrail-explain-0gr9wkj0.js");
44542
44542
  return handleGuardrailExplain(ctx.directory, ctx.args);
44543
44543
  },
44544
44544
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -44548,7 +44548,7 @@ var COMMAND_REGISTRY = {
44548
44548
  },
44549
44549
  "guardrail-explain": {
44550
44550
  handler: async (ctx) => {
44551
- const { handleGuardrailExplain } = await import("./guardrail-explain-axvx94rx.js");
44551
+ const { handleGuardrailExplain } = await import("./guardrail-explain-0gr9wkj0.js");
44552
44552
  return handleGuardrailExplain(ctx.directory, ctx.args);
44553
44553
  },
44554
44554
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -6,13 +6,13 @@ import {
6
6
  resolveSwarmKnowledgePath,
7
7
  transactKnowledge,
8
8
  wordBigrams
9
- } from "./index-w2kp2zvf.js";
9
+ } from "./index-n08cksd6.js";
10
10
  import {
11
11
  countEntryContradictionsInWindow,
12
12
  countEntryViolationsInWindow,
13
13
  readKnowledgeEvents,
14
14
  recordKnowledgeEvent
15
- } from "./index-kj86tyrs.js";
15
+ } from "./index-bz814zsm.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-g2c4mbwa.js");
193
+ const { quarantineEntry } = await import("./knowledge-validator-rjwvafv3.js");
194
194
  let policyConfig;
195
195
  try {
196
196
  const { KnowledgeConfigSchema } = await import("./schema-2x7wsb0n.js");
197
- const { loadPluginConfigWithMeta } = await import("./index-kxw2sx1d.js");
197
+ const { loadPluginConfigWithMeta } = await import("./index-nbdge8b6.js");
198
198
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
199
199
  policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
200
200
  } catch {
@@ -650,7 +650,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
650
650
  const recovered = touched.filter((e) => e.confidence > CONFIDENCE_FLOOR + FLOOR_EPSILON && e.confidence_floor_demoted);
651
651
  if (atFloor.length === 0 && recovered.length === 0)
652
652
  return;
653
- const { readKnowledgeCounterRollups, effectiveRetrievalOutcomes } = await import("./knowledge-events-qnyfrsfv.js");
653
+ const { readKnowledgeCounterRollups, effectiveRetrievalOutcomes } = await import("./knowledge-events-f75n3916.js");
654
654
  const rollups = await readKnowledgeCounterRollups(directory);
655
655
  const flagIds = new Set;
656
656
  for (const e of atFloor) {
@@ -717,11 +717,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
717
717
  });
718
718
  }
719
719
  if (action === "quarantine" && toQuarantine.length > 0) {
720
- const { quarantineEntry } = await import("./knowledge-validator-g2c4mbwa.js");
720
+ const { quarantineEntry } = await import("./knowledge-validator-rjwvafv3.js");
721
721
  const { KnowledgeConfigSchema } = await import("./schema-2x7wsb0n.js");
722
722
  let config;
723
723
  try {
724
- const { loadPluginConfigWithMeta } = await import("./index-kxw2sx1d.js");
724
+ const { loadPluginConfigWithMeta } = await import("./index-nbdge8b6.js");
725
725
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
726
726
  config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
727
727
  } catch {
@@ -7,7 +7,7 @@ import {
7
7
  loadPluginConfigWithMeta,
8
8
  loadPluginConfigWithMetaAsync,
9
9
  resolveWorktreeIsolationConfig
10
- } from "./index-6w02qz7t.js";
10
+ } from "./index-yxz0c97p.js";
11
11
  import {
12
12
  ApprovalEvidenceSchema,
13
13
  BaseEvidenceSchema,
@@ -4,7 +4,7 @@ import {
4
4
  } from "./index-rtry5xyf.js";
5
5
  import {
6
6
  readKnowledgeEvents
7
- } from "./index-kj86tyrs.js";
7
+ } from "./index-bz814zsm.js";
8
8
  import {
9
9
  isLinked,
10
10
  readLinkPointer,
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  authorizeCuration
4
- } from "./index-pgyp3tta.js";
4
+ } from "./index-nhexgq4a.js";
5
5
  import {
6
6
  findNearDuplicate,
7
7
  inferTags,
@@ -9,7 +9,7 @@ import {
9
9
  resolveSwarmKnowledgePath,
10
10
  resolveSwarmRejectedPath,
11
11
  transactKnowledge
12
- } from "./index-w2kp2zvf.js";
12
+ } from "./index-n08cksd6.js";
13
13
  import {
14
14
  resolveKnowledgeStoreDir
15
15
  } from "./index-q27bajqb.js";