opencode-swarm 7.136.0 → 7.136.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.
Files changed (35) hide show
  1. package/.opencode/skills/swarm-pr-review/SKILL.md +11 -0
  2. package/dist/background/candidate-contract.d.ts +13 -0
  3. package/dist/cli/{config-doctor-q0krbxwv.js → config-doctor-6fphg5xm.js} +2 -2
  4. package/dist/cli/{curation-policy-v6ywe8qd.js → curation-policy-m24jbyag.js} +2 -2
  5. package/dist/cli/{curator-llm-factory-mhwje8rf.js → curator-llm-factory-w5arq7tr.js} +12 -12
  6. package/dist/cli/{curator-tqedvpy1.js → curator-zrt5sqj2.js} +12 -12
  7. package/dist/cli/{guardrail-explain-m0m74hvr.js → guardrail-explain-462jwhbh.js} +13 -13
  8. package/dist/cli/{guardrail-log-5g8x6qc6.js → guardrail-log-ax21jd9e.js} +3 -3
  9. package/dist/cli/{hive-promoter-s804newd.js → hive-promoter-2vacnbws.js} +12 -12
  10. package/dist/cli/{index-bwfzq91q.js → index-1sq47n6t.js} +3 -3
  11. package/dist/cli/{index-1kjg590p.js → index-9gxp450h.js} +1 -1
  12. package/dist/cli/{index-wpqypdge.js → index-dyy3hvk3.js} +2 -2
  13. package/dist/cli/{index-w58bmwyq.js → index-f4cmtd89.js} +2 -2
  14. package/dist/cli/{index-2cv1j3rf.js → index-g7g4hqh3.js} +1 -1
  15. package/dist/cli/{index-cfz5750k.js → index-gf7hqbmz.js} +1 -1
  16. package/dist/cli/{index-j08trvny.js → index-h3bweb88.js} +5 -5
  17. package/dist/cli/{index-n8j0cnp1.js → index-hzkvbycn.js} +4 -4
  18. package/dist/cli/{index-2w4tsmva.js → index-jwrydqjp.js} +1 -1
  19. package/dist/cli/{index-9bk16zkv.js → index-kzc2ygea.js} +1 -1
  20. package/dist/cli/{index-bbejqagj.js → index-p1pqqwgp.js} +1 -1
  21. package/dist/cli/{index-81dkzncr.js → index-prnjt2jr.js} +61 -54
  22. package/dist/cli/{index-m1hew17b.js → index-r9v98d0y.js} +1 -1
  23. package/dist/cli/{index-cxq1t7j1.js → index-rhgctfn3.js} +14 -14
  24. package/dist/cli/{index-nw9cn84t.js → index-tfa40hwb.js} +1 -1
  25. package/dist/cli/{index-qh9466j3.js → index-zkddc5ye.js} +2 -2
  26. package/dist/cli/index.js +12 -12
  27. package/dist/cli/{knowledge-escalator-f1m2xp5x.js → knowledge-escalator-1zt8qy1c.js} +3 -3
  28. package/dist/cli/{knowledge-events-rksgem6f.js → knowledge-events-ej3s9tsm.js} +1 -1
  29. package/dist/cli/{knowledge-store-t6d6fr8b.js → knowledge-store-ey4cbkp4.js} +1 -1
  30. package/dist/cli/{knowledge-validator-5ggzb3j1.js → knowledge-validator-zwmq7s2c.js} +4 -4
  31. package/dist/cli/{scan-cursor-18fnwr58.js → scan-cursor-809hf2n1.js} +2 -2
  32. package/dist/cli/{schema-jw15d8bt.js → schema-mhd7xqwr.js} +1 -1
  33. package/dist/cli/{skill-generator-3n5y902z.js → skill-generator-yyc8zd9j.js} +5 -5
  34. package/dist/index.js +4 -4
  35. package/package.json +1 -1
@@ -11,7 +11,7 @@ import {
11
11
  readDoctorArtifact,
12
12
  removeStraySwarmDir,
13
13
  runConfigDoctor
14
- } from "./index-cfz5750k.js";
14
+ } from "./index-gf7hqbmz.js";
15
15
  import {
16
16
  EvaluationTaskV1Schema,
17
17
  GateAuditManifestV1Schema,
@@ -92,15 +92,15 @@ import {
92
92
  retireSkill,
93
93
  selectCandidateEntries,
94
94
  syncBundledProjectSkillsIfMissingAsync
95
- } from "./index-bwfzq91q.js";
95
+ } from "./index-1sq47n6t.js";
96
96
  import {
97
97
  readRecentEscalations
98
- } from "./index-j08trvny.js";
98
+ } from "./index-h3bweb88.js";
99
99
  import {
100
100
  alreadyCuratedThisGeneration,
101
101
  claimNextScanBatch,
102
102
  resolveCohortId
103
- } from "./index-1kjg590p.js";
103
+ } from "./index-9gxp450h.js";
104
104
  import {
105
105
  CURATOR_INIT_PROMPT,
106
106
  CURATOR_PHASE_PROMPT,
@@ -150,11 +150,11 @@ import {
150
150
  validateActionability,
151
151
  validateActionableFields,
152
152
  validateLesson
153
- } from "./index-wpqypdge.js";
153
+ } from "./index-dyy3hvk3.js";
154
154
  import {
155
155
  authorizeCuration,
156
156
  buildConfigFingerprintInput
157
- } from "./index-2w4tsmva.js";
157
+ } from "./index-jwrydqjp.js";
158
158
  import {
159
159
  cohortConfigFingerprint
160
160
  } from "./index-rtry5xyf.js";
@@ -187,7 +187,7 @@ import {
187
187
  transactFile,
188
188
  transactKnowledge,
189
189
  wordBigrams
190
- } from "./index-n8j0cnp1.js";
190
+ } from "./index-hzkvbycn.js";
191
191
  import {
192
192
  MAX_EVENT_LOG_ENTRIES,
193
193
  _internals,
@@ -197,7 +197,7 @@ import {
197
197
  recordHiveKnowledgeEvent,
198
198
  recordKnowledgeEvent,
199
199
  resolveKnowledgeEventsPath
200
- } from "./index-9bk16zkv.js";
200
+ } from "./index-kzc2ygea.js";
201
201
  import {
202
202
  resolveHiveDataDir,
203
203
  resolveHiveEventsPath,
@@ -222,7 +222,7 @@ import {
222
222
  init_loader,
223
223
  loadPluginConfig,
224
224
  loadPluginConfigWithMeta
225
- } from "./index-bbejqagj.js";
225
+ } from "./index-p1pqqwgp.js";
226
226
  import {
227
227
  RetrospectiveEvidenceSchema
228
228
  } from "./index-k5jrywpr.js";
@@ -237,7 +237,7 @@ import {
237
237
  package_default,
238
238
  resolveAutoReviewConfig,
239
239
  stripKnownSwarmPrefix
240
- } from "./index-m1hew17b.js";
240
+ } from "./index-r9v98d0y.js";
241
241
  import {
242
242
  KNOWLEDGE_SCHEMA_VERSION,
243
243
  OUTCOME_BLOCK_THRESHOLD,
@@ -395,6 +395,25 @@ function candidateHeaderFamily(fields) {
395
395
  }
396
396
  return null;
397
397
  }
398
+ function selectCandidateHeader(lines) {
399
+ let markerlessFallback = null;
400
+ for (const [lineIndex, line] of lines.entries()) {
401
+ const fields = splitPipeFields(line.trim()).map((field) => field.trim());
402
+ if (fields.length < 2 || !fields.some(Boolean))
403
+ continue;
404
+ const markerBearing = fields[0] === "[CANDIDATE]";
405
+ const selection = {
406
+ lineIndex,
407
+ fields,
408
+ family: candidateHeaderFamily(fields),
409
+ markerBearing
410
+ };
411
+ if (markerBearing)
412
+ return selection;
413
+ markerlessFallback ??= selection;
414
+ }
415
+ return markerlessFallback;
416
+ }
398
417
  function removeCandidateCodeFences(text) {
399
418
  const lines = [];
400
419
  let inFence = false;
@@ -922,24 +941,13 @@ function parseText(input, flags) {
922
941
  const cleanedText = removeCandidateCodeFences(input.text);
923
942
  const lines = cleanedText.split(`
924
943
  `);
925
- let headerIndex = -1;
926
- let headerFields = [];
927
- for (let i = 0;i < lines.length; i++) {
928
- const trimmed = lines[i].trim();
929
- if (trimmed === "")
930
- continue;
931
- const fields = splitPipeFields(trimmed);
932
- if (fields.length >= 2 && fields.some((f) => f.trim() !== "")) {
933
- headerIndex = i;
934
- headerFields = fields.map((f) => f.trim());
935
- break;
936
- }
937
- }
938
- if (headerIndex === -1) {
944
+ const header = selectCandidateHeader(lines);
945
+ if (header === null) {
939
946
  return emptyTextResult(input, flags);
940
947
  }
941
- const headerFamily = candidateHeaderFamily(headerFields) ?? undefined;
942
- if (headerFields[0] === "[CANDIDATE]" && headerFamily === undefined) {
948
+ const headerIndex = header.lineIndex;
949
+ const headerFamily = header.family ?? undefined;
950
+ if (header.markerBearing && headerFamily === undefined) {
943
951
  return refusalResult("invalid-candidate-header", "Candidate output must begin with one exact canonical base or micro [CANDIDATE] header", input, flags);
944
952
  }
945
953
  if (flags.expected_family !== undefined && headerFamily !== undefined && flags.expected_family !== headerFamily) {
@@ -3034,9 +3042,8 @@ function analyzePrReviewDiscoveryArtifact(text, expectedWorkflowLane, ownedWorkf
3034
3042
  const fallbackFamily = PR_REVIEW_BASE_DIMENSION_IDS.includes(expectedWorkflowLane) ? "base_explorer" : "micro_lane";
3035
3043
  const issues = [];
3036
3044
  const canonicalText = removeCandidateCodeFences(text);
3037
- const firstTabularFields = canonicalText.split(/\r?\n/).map((line) => splitPipeFields(line).map((field) => field.trim())).find((fields) => fields.length >= 2 && fields.some((field) => field.length > 0));
3038
- const headerFamily = firstTabularFields ? candidateHeaderFamily(firstTabularFields) : null;
3039
- if (headerFamily !== fallbackFamily) {
3045
+ const header = selectCandidateHeader(canonicalText.split(/\r?\n/));
3046
+ if (header === null || !header.markerBearing || header.family !== fallbackFamily) {
3040
3047
  appendBoundedCandidateIssue(issues, `field header: expected one exact canonical ${fallbackFamily} [CANDIDATE] header before discovery rows`);
3041
3048
  return { covered: false, evidence: null, issues };
3042
3049
  }
@@ -17503,7 +17510,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
17503
17510
  };
17504
17511
  }
17505
17512
  async function sweepActiveNearDuplicates(directory, options = {}) {
17506
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-w58bmwyq.js");
17513
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-f4cmtd89.js");
17507
17514
  const { config } = loadPluginConfigWithMeta2(directory);
17508
17515
  const sweepConfig = config.learning?.dedup_sweep;
17509
17516
  if (sweepConfig?.enabled === false)
@@ -19096,7 +19103,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
19096
19103
  }
19097
19104
  if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
19098
19105
  try {
19099
- const skillModule = await import("./skill-generator-3n5y902z.js");
19106
+ const skillModule = await import("./skill-generator-yyc8zd9j.js");
19100
19107
  for (const cand of skillCandidates) {
19101
19108
  if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
19102
19109
  continue;
@@ -19497,7 +19504,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
19497
19504
  } catch {}
19498
19505
  }
19499
19506
  if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
19500
- const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-f1m2xp5x.js");
19507
+ const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-1zt8qy1c.js");
19501
19508
  for (const { id } of contradictedEntries) {
19502
19509
  try {
19503
19510
  await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
@@ -20316,7 +20323,7 @@ async function runCuratorPostMortem(directory, options = {}) {
20316
20323
  warnings.push("Failed to collect knowledge summary.");
20317
20324
  }
20318
20325
  try {
20319
- const { getScanStatus } = await import("./scan-cursor-18fnwr58.js");
20326
+ const { getScanStatus } = await import("./scan-cursor-809hf2n1.js");
20320
20327
  const scanStatus = await getScanStatus(directory);
20321
20328
  if (scanStatus.remaining_estimate > 0) {
20322
20329
  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.`);
@@ -20488,9 +20495,9 @@ var _internals24 = {
20488
20495
  verifyPostMortemKnowledgeActions,
20489
20496
  repairPostMortemActions,
20490
20497
  loadDefaultKnowledgeConfig: async (directory) => {
20491
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-jw15d8bt.js");
20498
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-mhd7xqwr.js");
20492
20499
  try {
20493
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-w58bmwyq.js");
20500
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-f4cmtd89.js");
20494
20501
  const loaded = loadPluginConfigWithMeta2(directory);
20495
20502
  return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
20496
20503
  } catch {
@@ -20498,11 +20505,11 @@ var _internals24 = {
20498
20505
  }
20499
20506
  },
20500
20507
  applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
20501
- const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-tqedvpy1.js");
20508
+ const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-zrt5sqj2.js");
20502
20509
  return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
20503
20510
  },
20504
20511
  checkHivePromotions: async (entries, knowledgeConfig, directory) => {
20505
- const { checkHivePromotions } = await import("./hive-promoter-s804newd.js");
20512
+ const { checkHivePromotions } = await import("./hive-promoter-2vacnbws.js");
20506
20513
  return checkHivePromotions(entries, knowledgeConfig, directory);
20507
20514
  },
20508
20515
  applyProposalTriage: async (directory, triage) => {
@@ -20511,7 +20518,7 @@ var _internals24 = {
20511
20518
  activateProposal,
20512
20519
  listSkills: listSkills2,
20513
20520
  sanitizeSlug
20514
- } = await import("./skill-generator-3n5y902z.js");
20521
+ } = await import("./skill-generator-yyc8zd9j.js");
20515
20522
  const result = {
20516
20523
  approved: [],
20517
20524
  rejected: [],
@@ -23138,9 +23145,9 @@ function hashContent(content) {
23138
23145
  return createHash9("sha1").update(content).digest("hex");
23139
23146
  }
23140
23147
  async function loadConfigForPolicyCurator(directory) {
23141
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-jw15d8bt.js");
23148
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-mhd7xqwr.js");
23142
23149
  try {
23143
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-w58bmwyq.js");
23150
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-f4cmtd89.js");
23144
23151
  const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
23145
23152
  return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
23146
23153
  } catch {
@@ -26485,7 +26492,7 @@ async function runFinalizeStage(ctx) {
26485
26492
  }
26486
26493
  }
26487
26494
  try {
26488
- const { CuratorConfigSchema: CCS } = await import("./schema-jw15d8bt.js");
26495
+ const { CuratorConfigSchema: CCS } = await import("./schema-mhd7xqwr.js");
26489
26496
  const { config: pmLoadedConfig } = _internals34.loadPluginConfigWithMeta(ctx.directory);
26490
26497
  const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
26491
26498
  if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
@@ -28715,9 +28722,9 @@ var _internals39 = {
28715
28722
  loadPluginConfigWithMeta,
28716
28723
  loadCuratorDeps: async () => {
28717
28724
  const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate: createCuratorLLMDelegate2 }] = await Promise.all([
28718
- import("./schema-jw15d8bt.js"),
28719
- import("./curator-tqedvpy1.js"),
28720
- import("./curator-llm-factory-mhwje8rf.js")
28725
+ import("./schema-mhd7xqwr.js"),
28726
+ import("./curator-zrt5sqj2.js"),
28727
+ import("./curator-llm-factory-w5arq7tr.js")
28721
28728
  ]);
28722
28729
  return { CuratorConfigSchema, curator, createCuratorLLMDelegate: createCuratorLLMDelegate2 };
28723
28730
  }
@@ -29619,7 +29626,7 @@ async function computeCurationDiagnostics(directory, entries) {
29619
29626
  let scanCompleted = false;
29620
29627
  let scanRemaining = 0;
29621
29628
  try {
29622
- const { getScanStatus } = await import("./scan-cursor-18fnwr58.js");
29629
+ const { getScanStatus } = await import("./scan-cursor-809hf2n1.js");
29623
29630
  const status = await getScanStatus(directory);
29624
29631
  scanGeneration = status.generation;
29625
29632
  scanCompleted = status.completed;
@@ -29629,17 +29636,17 @@ async function computeCurationDiagnostics(directory, entries) {
29629
29636
  try {
29630
29637
  const { isLinked: isLinked2 } = await import("./knowledge-link-mm1w967j.js");
29631
29638
  if (isLinked2(directory)) {
29632
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-jw15d8bt.js");
29639
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-mhd7xqwr.js");
29633
29640
  let config;
29634
29641
  try {
29635
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-w58bmwyq.js");
29642
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-f4cmtd89.js");
29636
29643
  const loaded = loadPluginConfigWithMeta2(directory);
29637
29644
  config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
29638
29645
  } catch {
29639
29646
  config = KnowledgeConfigSchema2.parse({});
29640
29647
  }
29641
29648
  const { cohortConfigFingerprint: cohortConfigFingerprint2 } = await import("./config-fingerprint-v22xh5a2.js");
29642
- const { buildConfigFingerprintInput: buildConfigFingerprintInput2, readCohortConfigFingerprint } = await import("./curation-policy-v6ywe8qd.js");
29649
+ const { buildConfigFingerprintInput: buildConfigFingerprintInput2, readCohortConfigFingerprint } = await import("./curation-policy-m24jbyag.js");
29643
29650
  const currentFp = cohortConfigFingerprint2(buildConfigFingerprintInput2(config));
29644
29651
  const cohortFp = await readCohortConfigFingerprint(directory);
29645
29652
  configMatch = cohortFp === null ? null : currentFp === cohortFp;
@@ -30850,7 +30857,7 @@ async function handleDoctorCommand(directory, args) {
30850
30857
  const result = runConfigDoctor(config, directory);
30851
30858
  let output;
30852
30859
  if (enableAutoFix && result.hasAutoFixableIssues) {
30853
- const { runConfigDoctorWithFixes } = await import("./config-doctor-q0krbxwv.js");
30860
+ const { runConfigDoctorWithFixes } = await import("./config-doctor-6fphg5xm.js");
30854
30861
  const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
30855
30862
  applyLossy: true
30856
30863
  });
@@ -52271,7 +52278,7 @@ function buildDetailedHelp(commandName, entry) {
52271
52278
  async function handleHelpCommand(ctx) {
52272
52279
  const targetCommand = ctx.args.join(" ");
52273
52280
  if (!targetCommand) {
52274
- const { buildHelpText } = await import("./index-cxq1t7j1.js");
52281
+ const { buildHelpText } = await import("./index-rhgctfn3.js");
52275
52282
  return buildHelpText();
52276
52283
  }
52277
52284
  const tokens = targetCommand.split(/\s+/);
@@ -52280,7 +52287,7 @@ async function handleHelpCommand(ctx) {
52280
52287
  return _internals14.buildDetailedHelp(resolved.key, resolved.entry);
52281
52288
  }
52282
52289
  const similar = _internals14.findSimilarCommands(targetCommand);
52283
- const { buildHelpText: fullHelp } = await import("./index-cxq1t7j1.js");
52290
+ const { buildHelpText: fullHelp } = await import("./index-rhgctfn3.js");
52284
52291
  if (similar.length > 0) {
52285
52292
  return `Command '/swarm ${targetCommand}' not found.
52286
52293
 
@@ -52457,7 +52464,7 @@ var COMMAND_REGISTRY = {
52457
52464
  },
52458
52465
  "guardrail explain": {
52459
52466
  handler: async (ctx) => {
52460
- const { handleGuardrailExplain } = await import("./guardrail-explain-m0m74hvr.js");
52467
+ const { handleGuardrailExplain } = await import("./guardrail-explain-462jwhbh.js");
52461
52468
  return handleGuardrailExplain(ctx.directory, ctx.args);
52462
52469
  },
52463
52470
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -52467,7 +52474,7 @@ var COMMAND_REGISTRY = {
52467
52474
  },
52468
52475
  "guardrail-explain": {
52469
52476
  handler: async (ctx) => {
52470
- const { handleGuardrailExplain } = await import("./guardrail-explain-m0m74hvr.js");
52477
+ const { handleGuardrailExplain } = await import("./guardrail-explain-462jwhbh.js");
52471
52478
  return handleGuardrailExplain(ctx.directory, ctx.args);
52472
52479
  },
52473
52480
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -52477,7 +52484,7 @@ var COMMAND_REGISTRY = {
52477
52484
  },
52478
52485
  "guardrail-log": {
52479
52486
  handler: async (ctx) => {
52480
- const { handleGuardrailLog } = await import("./guardrail-log-5g8x6qc6.js");
52487
+ const { handleGuardrailLog } = await import("./guardrail-log-ax21jd9e.js");
52481
52488
  return handleGuardrailLog(ctx.directory, ctx.args);
52482
52489
  },
52483
52490
  description: "Read the guardrail decision log (use --blocks-only for blocks)",
@@ -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.0",
24
+ version: "7.136.1",
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",
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-qh9466j3.js";
4
+ } from "./index-zkddc5ye.js";
5
5
  import {
6
6
  handleGuardrailLog
7
- } from "./index-2cv1j3rf.js";
7
+ } from "./index-g7g4hqh3.js";
8
8
  import {
9
9
  COMMAND_REGISTRY,
10
10
  SWARM_COMMAND_TOOL_ALLOWLIST,
@@ -84,36 +84,36 @@ import {
84
84
  handleWriteRetroCommand,
85
85
  normalizeSwarmCommandInput,
86
86
  resolveCommand
87
- } from "./index-81dkzncr.js";
87
+ } from "./index-prnjt2jr.js";
88
88
  import"./index-vm4xw9z3.js";
89
- import"./index-nw9cn84t.js";
90
- import"./index-cfz5750k.js";
89
+ import"./index-tfa40hwb.js";
90
+ import"./index-gf7hqbmz.js";
91
91
  import"./index-cggqh2dz.js";
92
92
  import"./index-4905hd2m.js";
93
93
  import"./index-134d35c1.js";
94
- import"./index-bwfzq91q.js";
95
- import"./index-j08trvny.js";
96
- import"./index-1kjg590p.js";
94
+ import"./index-1sq47n6t.js";
95
+ import"./index-h3bweb88.js";
96
+ import"./index-9gxp450h.js";
97
97
  import"./index-6mjf4vr1.js";
98
98
  import"./index-c8s9a3zh.js";
99
99
  import"./index-9ss2m4rs.js";
100
100
  import"./index-y6a7gjtj.js";
101
101
  import"./index-mrtms113.js";
102
- import"./index-wpqypdge.js";
103
- import"./index-2w4tsmva.js";
102
+ import"./index-dyy3hvk3.js";
103
+ import"./index-jwrydqjp.js";
104
104
  import"./index-rtry5xyf.js";
105
- import"./index-n8j0cnp1.js";
106
- import"./index-9bk16zkv.js";
105
+ import"./index-hzkvbycn.js";
106
+ import"./index-kzc2ygea.js";
107
107
  import"./index-ae75rja9.js";
108
108
  import"./index-dzyjb33e.js";
109
109
  import"./index-ey29aap6.js";
110
- import"./index-bbejqagj.js";
110
+ import"./index-p1pqqwgp.js";
111
111
  import"./index-k5jrywpr.js";
112
112
  import"./index-n832052r.js";
113
113
  import {
114
114
  init_schema,
115
115
  stripKnownSwarmPrefix
116
- } from "./index-m1hew17b.js";
116
+ } from "./index-r9v98d0y.js";
117
117
  import"./index-bk5tah7q.js";
118
118
  import"./index-8fwhhayc.js";
119
119
  import"./index-q1exe2b3.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  init_schema,
4
4
  stripKnownSwarmPrefix
5
- } from "./index-m1hew17b.js";
5
+ } from "./index-r9v98d0y.js";
6
6
  import {
7
7
  init_constants
8
8
  } from "./index-3jcyn8g6.js";
@@ -12,14 +12,14 @@ import {
12
12
  detectPosixWrites,
13
13
  detectWindowsWrites,
14
14
  resolveWriteTargets
15
- } from "./index-81dkzncr.js";
15
+ } from "./index-prnjt2jr.js";
16
16
  import {
17
17
  checkFileAuthority,
18
18
  classifyFile,
19
19
  isInDeclaredScope,
20
20
  redactPath,
21
21
  redactShellCommand
22
- } from "./index-nw9cn84t.js";
22
+ } from "./index-tfa40hwb.js";
23
23
 
24
24
  // src/services/guardrail-explain-service.ts
25
25
  import path from "path";
package/dist/cli/index.js CHANGED
@@ -6,36 +6,36 @@ import {
6
6
  getPluginConfigDir,
7
7
  getPluginLockFilePaths,
8
8
  resolveCommand
9
- } from "./index-81dkzncr.js";
9
+ } from "./index-prnjt2jr.js";
10
10
  import"./index-vm4xw9z3.js";
11
- import"./index-nw9cn84t.js";
12
- import"./index-cfz5750k.js";
11
+ import"./index-tfa40hwb.js";
12
+ import"./index-gf7hqbmz.js";
13
13
  import"./index-cggqh2dz.js";
14
14
  import"./index-4905hd2m.js";
15
15
  import"./index-134d35c1.js";
16
- import"./index-bwfzq91q.js";
17
- import"./index-j08trvny.js";
18
- import"./index-1kjg590p.js";
16
+ import"./index-1sq47n6t.js";
17
+ import"./index-h3bweb88.js";
18
+ import"./index-9gxp450h.js";
19
19
  import"./index-6mjf4vr1.js";
20
20
  import"./index-c8s9a3zh.js";
21
21
  import"./index-9ss2m4rs.js";
22
22
  import"./index-y6a7gjtj.js";
23
23
  import"./index-mrtms113.js";
24
- import"./index-wpqypdge.js";
25
- import"./index-2w4tsmva.js";
24
+ import"./index-dyy3hvk3.js";
25
+ import"./index-jwrydqjp.js";
26
26
  import"./index-rtry5xyf.js";
27
- import"./index-n8j0cnp1.js";
28
- import"./index-9bk16zkv.js";
27
+ import"./index-hzkvbycn.js";
28
+ import"./index-kzc2ygea.js";
29
29
  import"./index-ae75rja9.js";
30
30
  import"./index-dzyjb33e.js";
31
31
  import"./index-ey29aap6.js";
32
- import"./index-bbejqagj.js";
32
+ import"./index-p1pqqwgp.js";
33
33
  import"./index-k5jrywpr.js";
34
34
  import"./index-n832052r.js";
35
35
  import {
36
36
  init_package,
37
37
  package_default
38
- } from "./index-m1hew17b.js";
38
+ } from "./index-r9v98d0y.js";
39
39
  import"./index-bk5tah7q.js";
40
40
  import"./index-8fwhhayc.js";
41
41
  import"./index-q1exe2b3.js";
@@ -8,9 +8,9 @@ import {
8
8
  maybeEscalateOnViolation,
9
9
  maybeQuarantineOnContradiction,
10
10
  readRecentEscalations
11
- } from "./index-j08trvny.js";
12
- import"./index-n8j0cnp1.js";
13
- import"./index-9bk16zkv.js";
11
+ } from "./index-h3bweb88.js";
12
+ import"./index-hzkvbycn.js";
13
+ import"./index-kzc2ygea.js";
14
14
  import"./index-ae75rja9.js";
15
15
  import"./index-dzyjb33e.js";
16
16
  import"./index-ey29aap6.js";
@@ -28,7 +28,7 @@ import {
28
28
  resolveKnowledgeCounterBaselinePath,
29
29
  resolveKnowledgeEventsPath,
30
30
  resolveLegacyApplicationLogPath
31
- } from "./index-9bk16zkv.js";
31
+ } from "./index-kzc2ygea.js";
32
32
  import"./index-ae75rja9.js";
33
33
  import"./index-dzyjb33e.js";
34
34
  import"./index-ey29aap6.js";
@@ -41,7 +41,7 @@ import {
41
41
  transactKnowledge,
42
42
  transactKnowledgeWithCas,
43
43
  wordBigrams
44
- } from "./index-n8j0cnp1.js";
44
+ } from "./index-hzkvbycn.js";
45
45
  import {
46
46
  resolveHiveDataDir
47
47
  } from "./index-ae75rja9.js";
@@ -23,11 +23,11 @@ import {
23
23
  validateLesson,
24
24
  validateSkillCandidatePath,
25
25
  validateSkillPath
26
- } from "./index-wpqypdge.js";
27
- import"./index-2w4tsmva.js";
26
+ } from "./index-dyy3hvk3.js";
27
+ import"./index-jwrydqjp.js";
28
28
  import"./index-rtry5xyf.js";
29
- import"./index-n8j0cnp1.js";
30
- import"./index-9bk16zkv.js";
29
+ import"./index-hzkvbycn.js";
30
+ import"./index-kzc2ygea.js";
31
31
  import"./index-ae75rja9.js";
32
32
  import"./index-dzyjb33e.js";
33
33
  import"./index-ey29aap6.js";
@@ -4,8 +4,8 @@ import {
4
4
  alreadyCuratedThisGeneration,
5
5
  claimNextScanBatch,
6
6
  getScanStatus
7
- } from "./index-1kjg590p.js";
8
- import"./index-n8j0cnp1.js";
7
+ } from "./index-9gxp450h.js";
8
+ import"./index-hzkvbycn.js";
9
9
  import"./index-ae75rja9.js";
10
10
  import"./index-dzyjb33e.js";
11
11
  import"./index-ey29aap6.js";
@@ -93,7 +93,7 @@ import {
93
93
  resolveGeneratedAgentRole,
94
94
  resolveGuardrailsConfig,
95
95
  stripKnownSwarmPrefix
96
- } from "./index-m1hew17b.js";
96
+ } from "./index-r9v98d0y.js";
97
97
  import"./index-bk5tah7q.js";
98
98
  import"./index-3jcyn8g6.js";
99
99
  import"./index-bpmtbmy9.js";
@@ -33,12 +33,12 @@ import {
33
33
  sanitizeSlug,
34
34
  selectCandidateEntries,
35
35
  writeEvalStub
36
- } from "./index-bwfzq91q.js";
37
- import"./index-wpqypdge.js";
38
- import"./index-2w4tsmva.js";
36
+ } from "./index-1sq47n6t.js";
37
+ import"./index-dyy3hvk3.js";
38
+ import"./index-jwrydqjp.js";
39
39
  import"./index-rtry5xyf.js";
40
- import"./index-n8j0cnp1.js";
41
- import"./index-9bk16zkv.js";
40
+ import"./index-hzkvbycn.js";
41
+ import"./index-kzc2ygea.js";
42
42
  import"./index-ae75rja9.js";
43
43
  import"./index-dzyjb33e.js";
44
44
  import"./index-ey29aap6.js";