opencode-swarm 7.129.1 → 7.129.2

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.
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  createCuratorLLMDelegate
4
- } from "./index-gczs3jy7.js";
4
+ } from "./index-ate4rw9q.js";
5
5
  import"./index-v4n224r1.js";
6
6
  import"./index-cpssctv1.js";
7
7
  import"./index-kzvwb2se.js";
@@ -14,7 +14,7 @@ import {
14
14
  runCuratorInit,
15
15
  runCuratorPhase,
16
16
  writeCuratorSummary
17
- } from "./index-gczs3jy7.js";
17
+ } from "./index-ate4rw9q.js";
18
18
  import"./index-v4n224r1.js";
19
19
  import"./index-cpssctv1.js";
20
20
  import"./index-kzvwb2se.js";
@@ -1,8 +1,8 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-ty0xttaz.js";
5
- import"./index-gczs3jy7.js";
4
+ } from "./index-vpjvqkdq.js";
5
+ import"./index-ate4rw9q.js";
6
6
  import"./index-v4n224r1.js";
7
7
  import"./index-cpssctv1.js";
8
8
  import"./index-kzvwb2se.js";
@@ -7,7 +7,7 @@ import {
7
7
  isHiveEligible,
8
8
  promoteFromSwarm,
9
9
  promoteToHive
10
- } from "./index-gczs3jy7.js";
10
+ } from "./index-ate4rw9q.js";
11
11
  import"./index-v4n224r1.js";
12
12
  import"./index-cpssctv1.js";
13
13
  import"./index-kzvwb2se.js";
@@ -361,11 +361,29 @@ var PR_REVIEW_BASE_DIMENSION_IDS = [
361
361
  "reliability-performance",
362
362
  "compatibility-delivery"
363
363
  ];
364
+ var PR_REVIEW_REQUIRED_MICRO_LANE_IDS = [
365
+ "auth-identity-secrets",
366
+ "untrusted-input-boundaries",
367
+ "subprocess-platform",
368
+ "concurrency-state",
369
+ "dependencies-build-release",
370
+ "api-schema-migrations",
371
+ "test-infrastructure",
372
+ "ui-accessibility-i18n",
373
+ "privacy-observability",
374
+ "generated-provenance",
375
+ "unclassified-risk"
376
+ ];
364
377
  var PR_REVIEW_BASE_LANE_FLOORS = {
365
378
  S: 1,
366
379
  M: 3,
367
380
  L: PR_REVIEW_BASE_DIMENSION_IDS.length
368
381
  };
382
+ var PR_REVIEW_MICRO_LANE_FLOORS = {
383
+ S: 1,
384
+ M: 6,
385
+ L: PR_REVIEW_REQUIRED_MICRO_LANE_IDS.length
386
+ };
369
387
  var GATE_SCHEMA_VERSION = 1;
370
388
  var MAX_TRACKED_SESSIONS = 200;
371
389
  var MAX_WORKFLOW_BATCHES = 128;
@@ -15555,11 +15573,11 @@ var _internals19 = {
15555
15573
  }
15556
15574
  },
15557
15575
  applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
15558
- const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-2nhjd2mn.js");
15576
+ const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-rtpbkffc.js");
15559
15577
  return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
15560
15578
  },
15561
15579
  checkHivePromotions: async (entries, knowledgeConfig, directory) => {
15562
- const { checkHivePromotions } = await import("./hive-promoter-va29r2p0.js");
15580
+ const { checkHivePromotions } = await import("./hive-promoter-7x33c575.js");
15563
15581
  return checkHivePromotions(entries, knowledgeConfig, directory);
15564
15582
  },
15565
15583
  applyProposalTriage: async (directory, triage) => {
@@ -23464,8 +23482,8 @@ var _internals32 = {
23464
23482
  loadCuratorDeps: async () => {
23465
23483
  const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate: createCuratorLLMDelegate2 }] = await Promise.all([
23466
23484
  import("./schema-2x7wsb0n.js"),
23467
- import("./curator-2nhjd2mn.js"),
23468
- import("./curator-llm-factory-xbstvmpx.js")
23485
+ import("./curator-rtpbkffc.js"),
23486
+ import("./curator-llm-factory-5dcetzsz.js")
23469
23487
  ]);
23470
23488
  return { CuratorConfigSchema, curator, createCuratorLLMDelegate: createCuratorLLMDelegate2 };
23471
23489
  }
@@ -23964,7 +23982,7 @@ import { fileURLToPath } from "url";
23964
23982
  // package.json
23965
23983
  var package_default = {
23966
23984
  name: "opencode-swarm",
23967
- version: "7.129.1",
23985
+ version: "7.129.2",
23968
23986
  description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
23969
23987
  main: "dist/index.js",
23970
23988
  types: "dist/index.d.ts",
@@ -44356,7 +44374,7 @@ function buildDetailedHelp(commandName, entry) {
44356
44374
  async function handleHelpCommand(ctx) {
44357
44375
  const targetCommand = ctx.args.join(" ");
44358
44376
  if (!targetCommand) {
44359
- const { buildHelpText } = await import("./index-3yd6bbnp.js");
44377
+ const { buildHelpText } = await import("./index-s7tsx4v9.js");
44360
44378
  return buildHelpText();
44361
44379
  }
44362
44380
  const tokens = targetCommand.split(/\s+/);
@@ -44365,7 +44383,7 @@ async function handleHelpCommand(ctx) {
44365
44383
  return _internals9.buildDetailedHelp(resolved.key, resolved.entry);
44366
44384
  }
44367
44385
  const similar = _internals9.findSimilarCommands(targetCommand);
44368
- const { buildHelpText: fullHelp } = await import("./index-3yd6bbnp.js");
44386
+ const { buildHelpText: fullHelp } = await import("./index-s7tsx4v9.js");
44369
44387
  if (similar.length > 0) {
44370
44388
  return `Command '/swarm ${targetCommand}' not found.
44371
44389
 
@@ -44504,7 +44522,7 @@ var COMMAND_REGISTRY = {
44504
44522
  },
44505
44523
  "guardrail explain": {
44506
44524
  handler: async (ctx) => {
44507
- const { handleGuardrailExplain } = await import("./guardrail-explain-87wprr65.js");
44525
+ const { handleGuardrailExplain } = await import("./guardrail-explain-27xbz1h2.js");
44508
44526
  return handleGuardrailExplain(ctx.directory, ctx.args);
44509
44527
  },
44510
44528
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -44514,7 +44532,7 @@ var COMMAND_REGISTRY = {
44514
44532
  },
44515
44533
  "guardrail-explain": {
44516
44534
  handler: async (ctx) => {
44517
- const { handleGuardrailExplain } = await import("./guardrail-explain-87wprr65.js");
44535
+ const { handleGuardrailExplain } = await import("./guardrail-explain-27xbz1h2.js");
44518
44536
  return handleGuardrailExplain(ctx.directory, ctx.args);
44519
44537
  },
44520
44538
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-ty0xttaz.js";
4
+ } from "./index-vpjvqkdq.js";
5
5
  import {
6
6
  handleGuardrailLog
7
7
  } from "./index-8etcyr9r.js";
@@ -83,7 +83,7 @@ import {
83
83
  handleWriteRetroCommand,
84
84
  normalizeSwarmCommandInput,
85
85
  resolveCommand
86
- } from "./index-gczs3jy7.js";
86
+ } from "./index-ate4rw9q.js";
87
87
  import"./index-v4n224r1.js";
88
88
  import"./index-cpssctv1.js";
89
89
  import"./index-kzvwb2se.js";
@@ -12,7 +12,7 @@ import {
12
12
  detectPosixWrites,
13
13
  detectWindowsWrites,
14
14
  resolveWriteTargets
15
- } from "./index-gczs3jy7.js";
15
+ } from "./index-ate4rw9q.js";
16
16
  import {
17
17
  checkFileAuthority,
18
18
  classifyFile,
package/dist/cli/index.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  getPluginLockFilePaths,
8
8
  package_default,
9
9
  resolveCommand
10
- } from "./index-gczs3jy7.js";
10
+ } from "./index-ate4rw9q.js";
11
11
  import"./index-v4n224r1.js";
12
12
  import"./index-cpssctv1.js";
13
13
  import"./index-kzvwb2se.js";
@@ -22,6 +22,19 @@ export declare const PR_REVIEW_DEPTH_TIER_THRESHOLDS: {
22
22
  * multiple dimensions while every dimension stays mandatory to evaluate.
23
23
  */
24
24
  export declare const PR_REVIEW_BASE_LANE_FLOORS: Record<PrReviewDepthTier, number>;
25
+ /**
26
+ * Minimum lane counts for a FULL micro (risk-family) sweep per depth tier. These
27
+ * mirror the base floors' tier *semantics* — not their numbers — scaled to the
28
+ * eleven risk families: S does not bind (a tier-S PR of ≤50 lines/≤3 files may
29
+ * consolidate a full sweep into one lane, exactly as base tier S permits); M
30
+ * requires at least half the families to get independent lanes (ceil(11/2) = 6,
31
+ * the deliberate scale-up from base M's 3 = ceil(6/2)); L requires one lane per
32
+ * family (the family count, matching base L = dimension count). The floor binds
33
+ * only on a batch (or the final attestation) that covers all eleven families;
34
+ * partial retry batches covering a subset are exempt, and callers may always
35
+ * dispatch more lanes than a tier's floor, never fewer.
36
+ */
37
+ export declare const PR_REVIEW_MICRO_LANE_FLOORS: Record<PrReviewDepthTier, number>;
25
38
  /**
26
39
  * Unknown or uncomputable diff size fails strict to the deepest tier, as does
27
40
  * any range containing a submodule pointer change: git's numstat reports a