opencode-swarm 7.126.4 → 7.126.5

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 (27) hide show
  1. package/dist/cli/{curation-policy-s2wydhda.js → curation-policy-82czah39.js} +2 -2
  2. package/dist/cli/{curator-4tp297kp.js → curator-5crbtfm1.js} +9 -9
  3. package/dist/cli/{curator-llm-factory-caf8jqyb.js → curator-llm-factory-y24xw3j4.js} +9 -9
  4. package/dist/cli/{guardrail-explain-yjzbs0fq.js → guardrail-explain-3r26pm2s.js} +10 -10
  5. package/dist/cli/{hive-promoter-er83aqka.js → hive-promoter-9d2g1xf3.js} +9 -9
  6. package/dist/cli/{index-46xgqgd5.js → index-0543dz3t.js} +10 -10
  7. package/dist/cli/{index-cxtnbjwn.js → index-0y19k18q.js} +1 -1
  8. package/dist/cli/{index-360anpk0.js → index-1mwdhq2p.js} +1 -1
  9. package/dist/cli/{index-4scxzpbz.js → index-3ntrn97w.js} +1 -1
  10. package/dist/cli/{index-mgdcrhkg.js → index-72envp1b.js} +3 -3
  11. package/dist/cli/{index-ypy3dhbg.js → index-c4mcheyz.js} +3 -3
  12. package/dist/cli/{index-6mfcg9ws.js → index-edv27z4p.js} +1 -1
  13. package/dist/cli/{index-vbk29hmf.js → index-ff3j65em.js} +4 -4
  14. package/dist/cli/{index-r3f1z043.js → index-gn62e04k.js} +1 -1
  15. package/dist/cli/{index-yvgmsepb.js → index-hczdkknj.js} +26 -26
  16. package/dist/cli/{index-v3gw3sc5.js → index-hv2p03f3.js} +6 -18
  17. package/dist/cli/{index-swgsq1ds.js → index-ns62nv6t.js} +2 -2
  18. package/dist/cli/index.js +9 -9
  19. package/dist/cli/{knowledge-escalator-9sd533p6.js → knowledge-escalator-b3k4b8pk.js} +3 -3
  20. package/dist/cli/{knowledge-events-v0cp1a8d.js → knowledge-events-4z5rkefv.js} +1 -1
  21. package/dist/cli/{knowledge-store-mv7qjf4s.js → knowledge-store-c0t16yr4.js} +1 -1
  22. package/dist/cli/{knowledge-validator-g05g6qrt.js → knowledge-validator-cs33ws57.js} +4 -4
  23. package/dist/cli/{scan-cursor-jp2zz6y1.js → scan-cursor-rgnarf67.js} +2 -2
  24. package/dist/cli/{skill-generator-497vvped.js → skill-generator-e8c2r816.js} +5 -5
  25. package/dist/config/loader.d.ts +1 -3
  26. package/dist/index.js +2 -2
  27. package/package.json +1 -1
@@ -4,9 +4,9 @@ import {
4
4
  authorizeCuration,
5
5
  buildConfigFingerprintInput,
6
6
  readCohortConfigFingerprint
7
- } from "./index-4scxzpbz.js";
7
+ } from "./index-3ntrn97w.js";
8
8
  import"./index-rtry5xyf.js";
9
- import"./index-360anpk0.js";
9
+ import"./index-1mwdhq2p.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-yvgmsepb.js";
17
+ } from "./index-hczdkknj.js";
18
18
  import"./index-v4n224r1.js";
19
19
  import"./index-cpssctv1.js";
20
20
  import"./index-kk1scggc.js";
21
21
  import"./index-4905hd2m.js";
22
22
  import"./index-134d35c1.js";
23
23
  import"./index-6n2jpz7x.js";
24
- import"./index-ypy3dhbg.js";
25
- import"./index-vbk29hmf.js";
26
- import"./index-r3f1z043.js";
24
+ import"./index-c4mcheyz.js";
25
+ import"./index-ff3j65em.js";
26
+ import"./index-gn62e04k.js";
27
27
  import"./index-vxv732ex.js";
28
28
  import"./index-c8s9a3zh.js";
29
29
  import"./index-9ss2m4rs.js";
30
30
  import"./index-23zsx7dm.js";
31
- import"./index-swgsq1ds.js";
32
- import"./index-4scxzpbz.js";
31
+ import"./index-ns62nv6t.js";
32
+ import"./index-3ntrn97w.js";
33
33
  import"./index-rtry5xyf.js";
34
- import"./index-mgdcrhkg.js";
35
- import"./index-360anpk0.js";
34
+ import"./index-72envp1b.js";
35
+ import"./index-1mwdhq2p.js";
36
36
  import"./index-ae75rja9.js";
37
37
  import"./index-q27bajqb.js";
38
- import"./index-v3gw3sc5.js";
38
+ import"./index-hv2p03f3.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-yvgmsepb.js";
4
+ } from "./index-hczdkknj.js";
5
5
  import"./index-v4n224r1.js";
6
6
  import"./index-cpssctv1.js";
7
7
  import"./index-kk1scggc.js";
8
8
  import"./index-4905hd2m.js";
9
9
  import"./index-134d35c1.js";
10
10
  import"./index-6n2jpz7x.js";
11
- import"./index-ypy3dhbg.js";
12
- import"./index-vbk29hmf.js";
13
- import"./index-r3f1z043.js";
11
+ import"./index-c4mcheyz.js";
12
+ import"./index-ff3j65em.js";
13
+ import"./index-gn62e04k.js";
14
14
  import"./index-vxv732ex.js";
15
15
  import"./index-c8s9a3zh.js";
16
16
  import"./index-9ss2m4rs.js";
17
17
  import"./index-23zsx7dm.js";
18
- import"./index-swgsq1ds.js";
19
- import"./index-4scxzpbz.js";
18
+ import"./index-ns62nv6t.js";
19
+ import"./index-3ntrn97w.js";
20
20
  import"./index-rtry5xyf.js";
21
- import"./index-mgdcrhkg.js";
22
- import"./index-360anpk0.js";
21
+ import"./index-72envp1b.js";
22
+ import"./index-1mwdhq2p.js";
23
23
  import"./index-ae75rja9.js";
24
24
  import"./index-q27bajqb.js";
25
- import"./index-v3gw3sc5.js";
25
+ import"./index-hv2p03f3.js";
26
26
  import"./index-k5jrywpr.js";
27
27
  import"./index-n832052r.js";
28
28
  import"./index-7ttstfv6.js";
@@ -1,29 +1,29 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-cxtnbjwn.js";
5
- import"./index-yvgmsepb.js";
4
+ } from "./index-0y19k18q.js";
5
+ import"./index-hczdkknj.js";
6
6
  import"./index-v4n224r1.js";
7
7
  import"./index-cpssctv1.js";
8
8
  import"./index-kk1scggc.js";
9
9
  import"./index-4905hd2m.js";
10
10
  import"./index-134d35c1.js";
11
11
  import"./index-6n2jpz7x.js";
12
- import"./index-ypy3dhbg.js";
13
- import"./index-vbk29hmf.js";
14
- import"./index-r3f1z043.js";
12
+ import"./index-c4mcheyz.js";
13
+ import"./index-ff3j65em.js";
14
+ import"./index-gn62e04k.js";
15
15
  import"./index-vxv732ex.js";
16
16
  import"./index-c8s9a3zh.js";
17
17
  import"./index-9ss2m4rs.js";
18
18
  import"./index-23zsx7dm.js";
19
- import"./index-swgsq1ds.js";
20
- import"./index-4scxzpbz.js";
19
+ import"./index-ns62nv6t.js";
20
+ import"./index-3ntrn97w.js";
21
21
  import"./index-rtry5xyf.js";
22
- import"./index-mgdcrhkg.js";
23
- import"./index-360anpk0.js";
22
+ import"./index-72envp1b.js";
23
+ import"./index-1mwdhq2p.js";
24
24
  import"./index-ae75rja9.js";
25
25
  import"./index-q27bajqb.js";
26
- import"./index-v3gw3sc5.js";
26
+ import"./index-hv2p03f3.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-yvgmsepb.js";
10
+ } from "./index-hczdkknj.js";
11
11
  import"./index-v4n224r1.js";
12
12
  import"./index-cpssctv1.js";
13
13
  import"./index-kk1scggc.js";
14
14
  import"./index-4905hd2m.js";
15
15
  import"./index-134d35c1.js";
16
16
  import"./index-6n2jpz7x.js";
17
- import"./index-ypy3dhbg.js";
18
- import"./index-vbk29hmf.js";
19
- import"./index-r3f1z043.js";
17
+ import"./index-c4mcheyz.js";
18
+ import"./index-ff3j65em.js";
19
+ import"./index-gn62e04k.js";
20
20
  import"./index-vxv732ex.js";
21
21
  import"./index-c8s9a3zh.js";
22
22
  import"./index-9ss2m4rs.js";
23
23
  import"./index-23zsx7dm.js";
24
- import"./index-swgsq1ds.js";
25
- import"./index-4scxzpbz.js";
24
+ import"./index-ns62nv6t.js";
25
+ import"./index-3ntrn97w.js";
26
26
  import"./index-rtry5xyf.js";
27
27
  import {
28
28
  resolveHiveKnowledgePath
29
- } from "./index-mgdcrhkg.js";
30
- import"./index-360anpk0.js";
29
+ } from "./index-72envp1b.js";
30
+ import"./index-1mwdhq2p.js";
31
31
  import"./index-ae75rja9.js";
32
32
  import"./index-q27bajqb.js";
33
- import"./index-v3gw3sc5.js";
33
+ import"./index-hv2p03f3.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-cxtnbjwn.js";
4
+ } from "./index-0y19k18q.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-yvgmsepb.js";
86
+ } from "./index-hczdkknj.js";
87
87
  import"./index-v4n224r1.js";
88
88
  import"./index-cpssctv1.js";
89
89
  import"./index-kk1scggc.js";
90
90
  import"./index-4905hd2m.js";
91
91
  import"./index-134d35c1.js";
92
92
  import"./index-6n2jpz7x.js";
93
- import"./index-ypy3dhbg.js";
94
- import"./index-vbk29hmf.js";
95
- import"./index-r3f1z043.js";
93
+ import"./index-c4mcheyz.js";
94
+ import"./index-ff3j65em.js";
95
+ import"./index-gn62e04k.js";
96
96
  import"./index-vxv732ex.js";
97
97
  import"./index-c8s9a3zh.js";
98
98
  import"./index-9ss2m4rs.js";
99
99
  import"./index-23zsx7dm.js";
100
- import"./index-swgsq1ds.js";
101
- import"./index-4scxzpbz.js";
100
+ import"./index-ns62nv6t.js";
101
+ import"./index-3ntrn97w.js";
102
102
  import"./index-rtry5xyf.js";
103
- import"./index-mgdcrhkg.js";
104
- import"./index-360anpk0.js";
103
+ import"./index-72envp1b.js";
104
+ import"./index-1mwdhq2p.js";
105
105
  import"./index-ae75rja9.js";
106
106
  import"./index-q27bajqb.js";
107
- import"./index-v3gw3sc5.js";
107
+ import"./index-hv2p03f3.js";
108
108
  import"./index-k5jrywpr.js";
109
109
  import"./index-n832052r.js";
110
110
  import {
@@ -12,7 +12,7 @@ import {
12
12
  detectPosixWrites,
13
13
  detectWindowsWrites,
14
14
  resolveWriteTargets
15
- } from "./index-yvgmsepb.js";
15
+ } from "./index-hczdkknj.js";
16
16
  import {
17
17
  checkFileAuthority,
18
18
  classifyFile,
@@ -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-mv7qjf4s.js");
611
+ const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-c0t16yr4.js");
612
612
  await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
613
613
  }
614
614
  return {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./index-rtry5xyf.js";
5
5
  import {
6
6
  readKnowledgeEvents
7
- } from "./index-360anpk0.js";
7
+ } from "./index-1mwdhq2p.js";
8
8
  import {
9
9
  isLinked,
10
10
  readLinkPointer,
@@ -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-v0cp1a8d.js");
653
+ const { readKnowledgeCounterRollups, effectiveRetrievalOutcomes } = await import("./knowledge-events-4z5rkefv.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-g05g6qrt.js");
720
+ const { quarantineEntry } = await import("./knowledge-validator-cs33ws57.js");
721
721
  const { KnowledgeConfigSchema } = await import("./schema-2x7wsb0n.js");
722
722
  let config;
723
723
  try {
724
- const { loadPluginConfigWithMeta } = await import("./index-6mfcg9ws.js");
724
+ const { loadPluginConfigWithMeta } = await import("./index-edv27z4p.js");
725
725
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
726
726
  config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
727
727
  } catch {
@@ -2,18 +2,18 @@
2
2
  import {
3
3
  ALLOWED_SKILL_PATH_PREFIXES,
4
4
  validateSkillPath
5
- } from "./index-swgsq1ds.js";
5
+ } from "./index-ns62nv6t.js";
6
6
  import {
7
7
  computeOutcomeSignal,
8
8
  readKnowledge,
9
9
  resolveHiveKnowledgePath,
10
10
  resolveSwarmKnowledgePath,
11
11
  transactKnowledge
12
- } from "./index-mgdcrhkg.js";
12
+ } from "./index-72envp1b.js";
13
13
  import {
14
14
  effectiveRetrievalOutcomes,
15
15
  readKnowledgeCounterRollups
16
- } from "./index-360anpk0.js";
16
+ } from "./index-1mwdhq2p.js";
17
17
  import {
18
18
  init_knowledge_types,
19
19
  isActiveStatus
@@ -6,7 +6,7 @@ import {
6
6
  loadPluginConfigWithMeta,
7
7
  loadPluginConfigWithMetaAsync,
8
8
  resolveWorktreeIsolationConfig
9
- } from "./index-v3gw3sc5.js";
9
+ } from "./index-hv2p03f3.js";
10
10
  import {
11
11
  ApprovalEvidenceSchema,
12
12
  BaseEvidenceSchema,
@@ -6,13 +6,13 @@ import {
6
6
  resolveSwarmKnowledgePath,
7
7
  transactKnowledge,
8
8
  wordBigrams
9
- } from "./index-mgdcrhkg.js";
9
+ } from "./index-72envp1b.js";
10
10
  import {
11
11
  countEntryContradictionsInWindow,
12
12
  countEntryViolationsInWindow,
13
13
  readKnowledgeEvents,
14
14
  recordKnowledgeEvent
15
- } from "./index-360anpk0.js";
15
+ } from "./index-1mwdhq2p.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-g05g6qrt.js");
193
+ const { quarantineEntry } = await import("./knowledge-validator-cs33ws57.js");
194
194
  let policyConfig;
195
195
  try {
196
196
  const { KnowledgeConfigSchema } = await import("./schema-2x7wsb0n.js");
197
- const { loadPluginConfigWithMeta } = await import("./index-6mfcg9ws.js");
197
+ const { loadPluginConfigWithMeta } = await import("./index-edv27z4p.js");
198
198
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
199
199
  policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
200
200
  } catch {
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  readKnowledge,
4
4
  transactKnowledge
5
- } from "./index-mgdcrhkg.js";
5
+ } from "./index-72envp1b.js";
6
6
  import {
7
7
  resolveKnowledgeStoreDir
8
8
  } from "./index-q27bajqb.js";
@@ -94,15 +94,15 @@ import {
94
94
  retireSkill,
95
95
  selectCandidateEntries,
96
96
  syncBundledProjectSkillsIfMissingAsync
97
- } from "./index-ypy3dhbg.js";
97
+ } from "./index-c4mcheyz.js";
98
98
  import {
99
99
  readRecentEscalations
100
- } from "./index-vbk29hmf.js";
100
+ } from "./index-ff3j65em.js";
101
101
  import {
102
102
  alreadyCuratedThisGeneration,
103
103
  claimNextScanBatch,
104
104
  resolveCohortId
105
- } from "./index-r3f1z043.js";
105
+ } from "./index-gn62e04k.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-swgsq1ds.js";
138
+ } from "./index-ns62nv6t.js";
139
139
  import {
140
140
  authorizeCuration,
141
141
  buildConfigFingerprintInput
142
- } from "./index-4scxzpbz.js";
142
+ } from "./index-3ntrn97w.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-mgdcrhkg.js";
172
+ } from "./index-72envp1b.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-360anpk0.js";
182
+ } from "./index-1mwdhq2p.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-v3gw3sc5.js";
204
+ } from "./index-hv2p03f3.js";
205
205
  import {
206
206
  RetrospectiveEvidenceSchema
207
207
  } from "./index-k5jrywpr.js";
@@ -10962,7 +10962,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
10962
10962
  }
10963
10963
  if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
10964
10964
  try {
10965
- const skillModule = await import("./skill-generator-497vvped.js");
10965
+ const skillModule = await import("./skill-generator-e8c2r816.js");
10966
10966
  for (const cand of skillCandidates) {
10967
10967
  if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
10968
10968
  continue;
@@ -11299,7 +11299,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
11299
11299
  } catch {}
11300
11300
  }
11301
11301
  if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
11302
- const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-9sd533p6.js");
11302
+ const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-b3k4b8pk.js");
11303
11303
  for (const { id } of contradictedEntries) {
11304
11304
  try {
11305
11305
  await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
@@ -12098,7 +12098,7 @@ async function runCuratorPostMortem(directory, options = {}) {
12098
12098
  warnings.push("Failed to collect knowledge summary.");
12099
12099
  }
12100
12100
  try {
12101
- const { getScanStatus } = await import("./scan-cursor-jp2zz6y1.js");
12101
+ const { getScanStatus } = await import("./scan-cursor-rgnarf67.js");
12102
12102
  const scanStatus = await getScanStatus(directory);
12103
12103
  if (scanStatus.remaining_estimate > 0) {
12104
12104
  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.`);
@@ -12272,7 +12272,7 @@ var _internals15 = {
12272
12272
  loadDefaultKnowledgeConfig: async (directory) => {
12273
12273
  const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-2x7wsb0n.js");
12274
12274
  try {
12275
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-6mfcg9ws.js");
12275
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-edv27z4p.js");
12276
12276
  const loaded = loadPluginConfigWithMeta2(directory);
12277
12277
  return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
12278
12278
  } catch {
@@ -12280,11 +12280,11 @@ var _internals15 = {
12280
12280
  }
12281
12281
  },
12282
12282
  applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
12283
- const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-4tp297kp.js");
12283
+ const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-5crbtfm1.js");
12284
12284
  return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
12285
12285
  },
12286
12286
  checkHivePromotions: async (entries, knowledgeConfig, directory) => {
12287
- const { checkHivePromotions } = await import("./hive-promoter-er83aqka.js");
12287
+ const { checkHivePromotions } = await import("./hive-promoter-9d2g1xf3.js");
12288
12288
  return checkHivePromotions(entries, knowledgeConfig, directory);
12289
12289
  },
12290
12290
  applyProposalTriage: async (directory, triage) => {
@@ -12293,7 +12293,7 @@ var _internals15 = {
12293
12293
  activateProposal,
12294
12294
  listSkills: listSkills2,
12295
12295
  sanitizeSlug
12296
- } = await import("./skill-generator-497vvped.js");
12296
+ } = await import("./skill-generator-e8c2r816.js");
12297
12297
  const result = {
12298
12298
  approved: [],
12299
12299
  rejected: [],
@@ -14820,7 +14820,7 @@ function hashContent(content) {
14820
14820
  async function loadConfigForPolicyCurator(directory) {
14821
14821
  const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-2x7wsb0n.js");
14822
14822
  try {
14823
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-6mfcg9ws.js");
14823
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-edv27z4p.js");
14824
14824
  const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
14825
14825
  return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
14826
14826
  } catch {
@@ -20151,8 +20151,8 @@ var _internals28 = {
20151
20151
  loadCuratorDeps: async () => {
20152
20152
  const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate: createCuratorLLMDelegate2 }] = await Promise.all([
20153
20153
  import("./schema-2x7wsb0n.js"),
20154
- import("./curator-4tp297kp.js"),
20155
- import("./curator-llm-factory-caf8jqyb.js")
20154
+ import("./curator-5crbtfm1.js"),
20155
+ import("./curator-llm-factory-y24xw3j4.js")
20156
20156
  ]);
20157
20157
  return { CuratorConfigSchema, curator, createCuratorLLMDelegate: createCuratorLLMDelegate2 };
20158
20158
  }
@@ -20651,7 +20651,7 @@ import { fileURLToPath } from "url";
20651
20651
  // package.json
20652
20652
  var package_default = {
20653
20653
  name: "opencode-swarm",
20654
- version: "7.126.4",
20654
+ version: "7.126.5",
20655
20655
  description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
20656
20656
  main: "dist/index.js",
20657
20657
  types: "dist/index.d.ts",
@@ -21173,7 +21173,7 @@ async function computeCurationDiagnostics(directory, entries) {
21173
21173
  let scanCompleted = false;
21174
21174
  let scanRemaining = 0;
21175
21175
  try {
21176
- const { getScanStatus } = await import("./scan-cursor-jp2zz6y1.js");
21176
+ const { getScanStatus } = await import("./scan-cursor-rgnarf67.js");
21177
21177
  const status = await getScanStatus(directory);
21178
21178
  scanGeneration = status.generation;
21179
21179
  scanCompleted = status.completed;
@@ -21186,14 +21186,14 @@ async function computeCurationDiagnostics(directory, entries) {
21186
21186
  const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-2x7wsb0n.js");
21187
21187
  let config;
21188
21188
  try {
21189
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-6mfcg9ws.js");
21189
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-edv27z4p.js");
21190
21190
  const loaded = loadPluginConfigWithMeta2(directory);
21191
21191
  config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
21192
21192
  } catch {
21193
21193
  config = KnowledgeConfigSchema2.parse({});
21194
21194
  }
21195
21195
  const { cohortConfigFingerprint: cohortConfigFingerprint2 } = await import("./config-fingerprint-v22xh5a2.js");
21196
- const { buildConfigFingerprintInput: buildConfigFingerprintInput2, readCohortConfigFingerprint } = await import("./curation-policy-s2wydhda.js");
21196
+ const { buildConfigFingerprintInput: buildConfigFingerprintInput2, readCohortConfigFingerprint } = await import("./curation-policy-82czah39.js");
21197
21197
  const currentFp = cohortConfigFingerprint2(buildConfigFingerprintInput2(config));
21198
21198
  const cohortFp = await readCohortConfigFingerprint(directory);
21199
21199
  configMatch = cohortFp === null ? null : currentFp === cohortFp;
@@ -41213,7 +41213,7 @@ function buildDetailedHelp(commandName, entry) {
41213
41213
  async function handleHelpCommand(ctx) {
41214
41214
  const targetCommand = ctx.args.join(" ");
41215
41215
  if (!targetCommand) {
41216
- const { buildHelpText } = await import("./index-46xgqgd5.js");
41216
+ const { buildHelpText } = await import("./index-0543dz3t.js");
41217
41217
  return buildHelpText();
41218
41218
  }
41219
41219
  const tokens = targetCommand.split(/\s+/);
@@ -41222,7 +41222,7 @@ async function handleHelpCommand(ctx) {
41222
41222
  return _internals63.buildDetailedHelp(resolved.key, resolved.entry);
41223
41223
  }
41224
41224
  const similar = _internals63.findSimilarCommands(targetCommand);
41225
- const { buildHelpText: fullHelp } = await import("./index-46xgqgd5.js");
41225
+ const { buildHelpText: fullHelp } = await import("./index-0543dz3t.js");
41226
41226
  if (similar.length > 0) {
41227
41227
  return `Command '/swarm ${targetCommand}' not found.
41228
41228
 
@@ -41361,7 +41361,7 @@ var COMMAND_REGISTRY = {
41361
41361
  },
41362
41362
  "guardrail explain": {
41363
41363
  handler: async (ctx) => {
41364
- const { handleGuardrailExplain } = await import("./guardrail-explain-yjzbs0fq.js");
41364
+ const { handleGuardrailExplain } = await import("./guardrail-explain-3r26pm2s.js");
41365
41365
  return handleGuardrailExplain(ctx.directory, ctx.args);
41366
41366
  },
41367
41367
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -41371,7 +41371,7 @@ var COMMAND_REGISTRY = {
41371
41371
  },
41372
41372
  "guardrail-explain": {
41373
41373
  handler: async (ctx) => {
41374
- const { handleGuardrailExplain } = await import("./guardrail-explain-yjzbs0fq.js");
41374
+ const { handleGuardrailExplain } = await import("./guardrail-explain-3r26pm2s.js");
41375
41375
  return handleGuardrailExplain(ctx.directory, ctx.args);
41376
41376
  },
41377
41377
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -220,9 +220,6 @@ function stripUnrecognizedKeys(raw, error) {
220
220
  }
221
221
  return { cleaned, removed };
222
222
  }
223
- function warningForRemovedKeys(removedKeys) {
224
- return `Ignored ${removedKeys.length} invalid or unrecognized config key(s): ${removedKeys.join(", ")}. The rest of your configuration was preserved. Fix or remove these keys.`;
225
- }
226
223
  function rawFullAutoLocked(raw) {
227
224
  if (!raw || typeof raw !== "object")
228
225
  return false;
@@ -244,7 +241,6 @@ function buildConfigWithMeta(rawUserConfig, rawProjectConfig, loadedFromFile, co
244
241
  mergedRaw = migratePresetsConfig(mergedRaw);
245
242
  const { result: sanitized, strippedKeys: gatesStripped } = sanitizeSectionConfigs(mergedRaw);
246
243
  mergedRaw = sanitized;
247
- const sanitizedWarning = gatesStripped.length > 0 ? warningForRemovedKeys(gatesStripped) : undefined;
248
244
  const secure = (cfg) => loadedFromFile && configHadErrors ? PluginConfigSchema.parse({
249
245
  ...cfg,
250
246
  guardrails: { enabled: true }
@@ -253,39 +249,31 @@ function buildConfigWithMeta(rawUserConfig, rawProjectConfig, loadedFromFile, co
253
249
  if (firstResult.success) {
254
250
  const config = secure(firstResult.data);
255
251
  if (loadedFromFile && configHadErrors) {
256
- const securityWarning = "\u26A0\uFE0F SECURITY: Falling back to conservative defaults with guardrails ENABLED. Fix the config file to restore custom configuration.";
257
- advisoryWarn(`[opencode-swarm] ${securityWarning}`);
252
+ advisoryWarn("[opencode-swarm] \u26A0\uFE0F SECURITY: Falling back to conservative defaults with guardrails ENABLED. Fix the config file to restore custom configuration.");
258
253
  return {
259
254
  config,
260
255
  recovery: "guardrails_defaults",
261
256
  removedKeys: [...gatesStripped],
262
- warnings: [
263
- ...sanitizedWarning ? [sanitizedWarning] : [],
264
- securityWarning
265
- ]
257
+ warnings: []
266
258
  };
267
259
  }
268
- if (sanitizedWarning)
269
- advisoryWarn(`[opencode-swarm] ${sanitizedWarning}`);
270
260
  return {
271
261
  config,
272
262
  recovery: gatesStripped.length > 0 ? "stripped_keys" : "none",
273
263
  removedKeys: [...gatesStripped],
274
- warnings: sanitizedWarning ? [sanitizedWarning] : []
264
+ warnings: []
275
265
  };
276
266
  }
277
267
  const { cleaned, removed } = stripUnrecognizedKeys(mergedRaw, firstResult.error);
278
268
  if (removed.length > 0) {
279
269
  const recovered = PluginConfigSchema.safeParse(cleaned);
280
270
  if (recovered.success) {
281
- const removedKeys = [...gatesStripped, ...removed];
282
- const warning = warningForRemovedKeys(removedKeys);
283
- advisoryWarn(`[opencode-swarm] ${warning}`);
271
+ advisoryWarn(`[opencode-swarm] Ignored ${removed.length} unrecognized config key(s): ${removed.join(", ")}. The rest of your configuration was preserved. Fix or remove these keys.`);
284
272
  return {
285
273
  config: secure(recovered.data),
286
274
  recovery: "stripped_keys",
287
- removedKeys,
288
- warnings: [warning]
275
+ removedKeys: [...gatesStripped, ...removed],
276
+ warnings: []
289
277
  };
290
278
  }
291
279
  }
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  authorizeCuration
4
- } from "./index-4scxzpbz.js";
4
+ } from "./index-3ntrn97w.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-mgdcrhkg.js";
12
+ } from "./index-72envp1b.js";
13
13
  import {
14
14
  resolveKnowledgeStoreDir
15
15
  } from "./index-q27bajqb.js";