opencode-swarm 7.197.1 → 7.197.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.
Files changed (70) hide show
  1. package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
  2. package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
  3. package/dist/cli/{auto-checkpoint-1dv9a1w5.js → auto-checkpoint-6qp3jn7f.js} +4 -4
  4. package/dist/cli/{checkpoint-rkjb6kpr.js → checkpoint-qe10m65d.js} +8 -8
  5. package/dist/cli/{coder-settlement-eavtvg8d.js → coder-settlement-ry7zxj9v.js} +3 -3
  6. package/dist/cli/{config-doctor-4ck8e1fq.js → config-doctor-vcjcdf3f.js} +7 -7
  7. package/dist/cli/{core-cyj0vphv.js → core-czytse6q.js} +1 -1
  8. package/dist/cli/{curator-p1r777m5.js → curator-0wa5gjc8.js} +25 -25
  9. package/dist/cli/{curator-drift-15mcxawb.js → curator-drift-vf2egpr8.js} +5 -5
  10. package/dist/cli/{curator-llm-factory-k0yebhsk.js → curator-llm-factory-k4f4c61r.js} +25 -25
  11. package/dist/cli/{doctor-knowledge-receipt-phase-id-k204028d.js → doctor-knowledge-receipt-phase-id-tkjsgcp6.js} +4 -4
  12. package/dist/cli/{evidence-summary-service-4mx5ge81.js → evidence-summary-service-p9wx1m45.js} +9 -9
  13. package/dist/cli/{gate-evidence-pa8qadxh.js → gate-evidence-bfmc23yw.js} +2 -2
  14. package/dist/cli/{guardrail-explain-pba5em4h.js → guardrail-explain-vv4c5b39.js} +26 -26
  15. package/dist/cli/{guardrail-log-24fbykv3.js → guardrail-log-dtkzgxz8.js} +3 -3
  16. package/dist/cli/{guardrail-reset-rfnr2vnn.js → guardrail-reset-pbcfymhq.js} +25 -25
  17. package/dist/cli/{hive-promoter-0ht8jafr.js → hive-promoter-g2sngbc0.js} +25 -25
  18. package/dist/cli/{index-r9ab1sat.js → index-15j2cze3.js} +27 -27
  19. package/dist/cli/{index-vanjqbhp.js → index-1x9ybm51.js} +5 -5
  20. package/dist/cli/{index-d483e4gz.js → index-23kb8srf.js} +3 -3
  21. package/dist/cli/{index-syrktqz9.js → index-2vtr85p8.js} +2 -2
  22. package/dist/cli/{index-a9bs0c71.js → index-5fzc5krd.js} +1 -1
  23. package/dist/cli/{index-t4nxee8x.js → index-65n2ccy2.js} +1 -1
  24. package/dist/cli/{index-kah11mjw.js → index-6ayj4y71.js} +3 -3
  25. package/dist/cli/{index-tstk9xx7.js → index-afrdvad3.js} +1 -1
  26. package/dist/cli/{index-hyxw4j9t.js → index-e21b8sjj.js} +1 -1
  27. package/dist/cli/{index-f0d3z2ha.js → index-evpq5mqt.js} +2 -2
  28. package/dist/cli/{index-efen9p4c.js → index-fz45trs6.js} +1 -1
  29. package/dist/cli/{index-rqbhn0mh.js → index-gw7nkn2q.js} +2 -2
  30. package/dist/cli/{index-3h4tajza.js → index-h5g0nyy8.js} +2 -2
  31. package/dist/cli/{index-z5rkkhng.js → index-mk15vyfe.js} +6 -6
  32. package/dist/cli/{index-0sw6gjtn.js → index-n06vxt1k.js} +3 -3
  33. package/dist/cli/{index-6g81mmmy.js → index-n0ghdmvx.js} +4 -4
  34. package/dist/cli/{index-528gk6k1.js → index-nhz85frs.js} +1 -1
  35. package/dist/cli/{index-h69nppa3.js → index-ntr6263n.js} +1 -1
  36. package/dist/cli/{index-mwh6srje.js → index-pnbcknzr.js} +1 -1
  37. package/dist/cli/{index-9vwsvgzp.js → index-ptxtqhwv.js} +1 -1
  38. package/dist/cli/{index-9rqvm5sk.js → index-q267bpej.js} +2 -2
  39. package/dist/cli/{index-57g7yqx9.js → index-rbevpmff.js} +84 -64
  40. package/dist/cli/{index-fmgkemn9.js → index-sx4brx0w.js} +1 -1
  41. package/dist/cli/{index-xtb61w73.js → index-tbm7q03h.js} +1 -1
  42. package/dist/cli/{index-qae4572e.js → index-xa7ak8ss.js} +1 -1
  43. package/dist/cli/{index-56n6nb7p.js → index-xg9t03dg.js} +25 -25
  44. package/dist/cli/{index-pywrvjxj.js → index-xq0w60za.js} +3 -3
  45. package/dist/cli/{index-qqe9tt5y.js → index-z7zk3enh.js} +1 -1
  46. package/dist/cli/{index-pek9gmwm.js → index-zh1dmz46.js} +3 -3
  47. package/dist/cli/{index-d0m3snqt.js → index-ztchs2p8.js} +1 -1
  48. package/dist/cli/index.js +26 -26
  49. package/dist/cli/{knowledge-escalator-89crpby4.js → knowledge-escalator-pad570yc.js} +7 -7
  50. package/dist/cli/{knowledge-events-eyratqdp.js → knowledge-events-gx3x4wfs.js} +5 -5
  51. package/dist/cli/{knowledge-store-kkwds05z.js → knowledge-store-me6bx879.js} +1 -1
  52. package/dist/cli/{knowledge-validator-fww6p37v.js → knowledge-validator-qykag9de.js} +2 -2
  53. package/dist/cli/{mcp-8t3m998m.js → mcp-bn8qx2m6.js} +1 -1
  54. package/dist/cli/{model-preflight-98g183my.js → model-preflight-5pjf9jd2.js} +25 -25
  55. package/dist/cli/{pending-delegations-qj5e0hh2.js → pending-delegations-5w5f18wt.js} +2 -2
  56. package/dist/cli/{pr-subscriptions-edwd3syw.js → pr-subscriptions-psecfgcz.js} +1 -1
  57. package/dist/cli/{pr-workflow-gate-t8veygyh.js → pr-workflow-gate-g8q09z1c.js} +25 -25
  58. package/dist/cli/{scan-cursor-0ffhpz79.js → scan-cursor-w0w1axgk.js} +2 -2
  59. package/dist/cli/{schema-zytt0t7a.js → schema-yav9fk87.js} +1 -1
  60. package/dist/cli/{scope-persistence-p8a9a2xb.js → scope-persistence-4wakfabk.js} +5 -5
  61. package/dist/cli/{server-q4b9s64v.js → server-y8c23gcg.js} +25 -25
  62. package/dist/cli/{skill-generator-wt7d640t.js → skill-generator-ddrq8e52.js} +8 -8
  63. package/dist/cli/{snapshot-coordination-init-ywxyf130.js → snapshot-coordination-init-ckz8tz0b.js} +25 -25
  64. package/dist/cli/{speckit-checkoff-y8na83hj.js → speckit-checkoff-789etrtx.js} +3 -3
  65. package/dist/cli/{worktree-collision-ownership-kssmhrpk.js → worktree-collision-ownership-yv7y35wq.js} +2 -2
  66. package/dist/cli/{worktree-isolation-w6np680v.js → worktree-isolation-5tebr6z1.js} +25 -25
  67. package/dist/commands/close/constants.d.ts +17 -1
  68. package/dist/commands/close/fs-helpers.d.ts +6 -1
  69. package/dist/index.js +3 -3
  70. package/package.json +1 -1
@@ -8,14 +8,14 @@ import {
8
8
  protectedRoots,
9
9
  redactDecisionLineForArchive,
10
10
  stableCanonicalStringify
11
- } from "./index-528gk6k1.js";
11
+ } from "./index-nhz85frs.js";
12
12
  import {
13
13
  detectStraySwarmDirs,
14
14
  readDoctorArtifact,
15
15
  removeStraySwarmDir,
16
16
  resolvePlanParallelizationFlag,
17
17
  runConfigDoctor
18
- } from "./index-0sw6gjtn.js";
18
+ } from "./index-n06vxt1k.js";
19
19
  import {
20
20
  archiveEvidence,
21
21
  checkRequirementCoverage,
@@ -27,7 +27,7 @@ import {
27
27
  sanitizeTaskId,
28
28
  saveEvidence,
29
29
  validateProjectRoot
30
- } from "./index-qae4572e.js";
30
+ } from "./index-xa7ak8ss.js";
31
31
  import {
32
32
  JAVA_SYMBOL_GRAMMAR,
33
33
  LANGUAGE_REGISTRY,
@@ -89,7 +89,7 @@ import {
89
89
  alreadyCuratedThisGeneration,
90
90
  claimNextScanBatch,
91
91
  resolveCohortId
92
- } from "./index-a9bs0c71.js";
92
+ } from "./index-5fzc5krd.js";
93
93
  import {
94
94
  CURATOR_CONSOLIDATION_PROMPT,
95
95
  CURATOR_INIT_PROMPT,
@@ -108,13 +108,13 @@ import {
108
108
  getGroupCommitWriter,
109
109
  importLegacyJsonl,
110
110
  readPriorDriftReports
111
- } from "./index-efen9p4c.js";
111
+ } from "./index-fz45trs6.js";
112
112
  import {
113
113
  assertNoUnsettledCoderDispatch,
114
114
  listCoderSettlementWalStates,
115
115
  recoverCoderSettlement,
116
116
  recoverStaleCoderSettlements
117
- } from "./index-d483e4gz.js";
117
+ } from "./index-23kb8srf.js";
118
118
  import {
119
119
  BUNDLED_PROJECT_SKILL_ROOT,
120
120
  DEFAULT_SKILL_MIN_CONFIDENCE,
@@ -137,11 +137,11 @@ import {
137
137
  skillContractDigest,
138
138
  splitSkillFrontmatter,
139
139
  syncBundledProjectSkillsIfMissingAsync
140
- } from "./index-kah11mjw.js";
140
+ } from "./index-6ayj4y71.js";
141
141
  import {
142
142
  buildEscalationBriefing,
143
143
  readRecentEscalations
144
- } from "./index-z5rkkhng.js";
144
+ } from "./index-mk15vyfe.js";
145
145
  import {
146
146
  parsePorcelainV2Snapshot,
147
147
  resolveCommitCountSince,
@@ -225,7 +225,7 @@ import {
225
225
  swarmOverwriteCandidates,
226
226
  trackedDirtyCandidates,
227
227
  transientBackoff
228
- } from "./index-pywrvjxj.js";
228
+ } from "./index-xq0w60za.js";
229
229
  import {
230
230
  EPIC_MODE_CONFIG_DISABLED_MESSAGE,
231
231
  PlanRecoverySupersededError,
@@ -257,7 +257,7 @@ import {
257
257
  updateEpicRecord,
258
258
  updateTaskStatus,
259
259
  withPlanLifecycleLock
260
- } from "./index-vanjqbhp.js";
260
+ } from "./index-1x9ybm51.js";
261
261
  import {
262
262
  containsControlChars,
263
263
  containsPathTraversal,
@@ -273,7 +273,7 @@ import {
273
273
  resolveSpeckitProjection,
274
274
  validateSpeckit,
275
275
  writeProjectedSpecSync
276
- } from "./index-9vwsvgzp.js";
276
+ } from "./index-ptxtqhwv.js";
277
277
  import {
278
278
  clearWorktreeMergeStatus,
279
279
  getAllWorktreeMergeFailures,
@@ -305,7 +305,7 @@ import {
305
305
  transitionTaskWorkflowEvidenceWithStatus,
306
306
  withTaskEvidenceTransaction,
307
307
  writeWorkflowWalFile
308
- } from "./index-t4nxee8x.js";
308
+ } from "./index-65n2ccy2.js";
309
309
  import {
310
310
  isPathUnderSwarmWorktreeBase,
311
311
  listLiveLaneOwners,
@@ -314,7 +314,7 @@ import {
314
314
  recordLiveLaneOwner,
315
315
  removeWorktree,
316
316
  resolveWorktreeBaseDir
317
- } from "./index-hyxw4j9t.js";
317
+ } from "./index-e21b8sjj.js";
318
318
  import {
319
319
  GitBinaryMissingError,
320
320
  GitSpawnCwdError,
@@ -356,7 +356,7 @@ import {
356
356
  scanBackgroundCoderReservationsForAdmission,
357
357
  scanDelegationsForRecovery,
358
358
  sweepStaleDelegations
359
- } from "./index-xtb61w73.js";
359
+ } from "./index-tbm7q03h.js";
360
360
  import {
361
361
  MAX_EVENT_LOG_ENTRIES,
362
362
  _internals,
@@ -368,7 +368,7 @@ import {
368
368
  recordHiveKnowledgeEvent,
369
369
  recordKnowledgeEvent,
370
370
  resolveKnowledgeEventsPath
371
- } from "./index-3h4tajza.js";
371
+ } from "./index-h5g0nyy8.js";
372
372
  import {
373
373
  commitDisplayedMembership,
374
374
  commitEmptyRetrieval,
@@ -381,7 +381,7 @@ import {
381
381
  queryLiveMemberships,
382
382
  reconcilePhaseClose,
383
383
  recordPhaseCloseIntent
384
- } from "./index-syrktqz9.js";
384
+ } from "./index-2vtr85p8.js";
385
385
  import {
386
386
  sanitizeContextText
387
387
  } from "./index-m9zzj4ee.js";
@@ -412,7 +412,7 @@ import {
412
412
  validateActionableFields,
413
413
  validateLesson,
414
414
  validateSkillPath
415
- } from "./index-fmgkemn9.js";
415
+ } from "./index-sx4brx0w.js";
416
416
  import {
417
417
  MAX_CURATION_PROPOSALS,
418
418
  authorizeCuration,
@@ -423,7 +423,7 @@ import {
423
423
  } from "./index-rtry5xyf.js";
424
424
  import {
425
425
  resolveWorktreeIsolationConfig
426
- } from "./index-9rqvm5sk.js";
426
+ } from "./index-q267bpej.js";
427
427
  import {
428
428
  RetrospectiveEvidenceSchema
429
429
  } from "./index-g22dps7x.js";
@@ -435,7 +435,7 @@ import {
435
435
  clearScopeBindings,
436
436
  readAuthoritativeScopeBindingSet,
437
437
  readDeclaredScopeFilesFromBindings
438
- } from "./index-qqe9tt5y.js";
438
+ } from "./index-z7zk3enh.js";
439
439
  import {
440
440
  approvedSnapshotCoversPlan,
441
441
  clearPlanLedgerForReset,
@@ -452,7 +452,7 @@ import {
452
452
  replayFromLedgerWithStatus,
453
453
  resolvePlanningProfile,
454
454
  takeSnapshotEvent
455
- } from "./index-rqbhn0mh.js";
455
+ } from "./index-gw7nkn2q.js";
456
456
  import {
457
457
  CORE_EVENT_LOCKED,
458
458
  appendCoreEventSync,
@@ -541,7 +541,7 @@ import {
541
541
  transactFile,
542
542
  transactKnowledge,
543
543
  wordBigrams
544
- } from "./index-6g81mmmy.js";
544
+ } from "./index-n0ghdmvx.js";
545
545
  import {
546
546
  readTailJsonl,
547
547
  readTailJsonlDetailed,
@@ -626,7 +626,7 @@ import {
626
626
  loadPluginConfig,
627
627
  loadPluginConfigWithMeta,
628
628
  resolveEpicConfig
629
- } from "./index-tstk9xx7.js";
629
+ } from "./index-afrdvad3.js";
630
630
  import {
631
631
  GIT_BINARY_ENV_VAR,
632
632
  addDeferredWarning,
@@ -659,7 +659,7 @@ import {
659
659
  resolveContextWindow,
660
660
  resolveGeneratedAgentRole,
661
661
  stripKnownSwarmPrefix
662
- } from "./index-mwh6srje.js";
662
+ } from "./index-pnbcknzr.js";
663
663
  import {
664
664
  AGENT_TOOL_MAP,
665
665
  ALL_AGENT_NAMES,
@@ -3461,7 +3461,7 @@ async function importLegacyPrWorkflowGateStateIfNeeded(directory, sessionID, all
3461
3461
  return null;
3462
3462
  throw error2;
3463
3463
  }
3464
- const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-t8veygyh.js")).readPrWorkflowGateStateForRecovery(directory, sessionID))?.state ?? null : await readPrWorkflowGateStateFileFromDisk(filePath, sessionID);
3464
+ const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-g8q09z1c.js")).readPrWorkflowGateStateForRecovery(directory, sessionID))?.state ?? null : await readPrWorkflowGateStateFileFromDisk(filePath, sessionID);
3465
3465
  if (!legacy)
3466
3466
  return null;
3467
3467
  const namespace = workflowGateStateCoordinationNamespace(sessionID);
@@ -3595,7 +3595,7 @@ async function deleteStateWhileLocked(directory, sessionID, options = {}) {
3595
3595
  let recoveryState = null;
3596
3596
  if (!currentAuthoritative) {
3597
3597
  if (options.allowSalvagedRead) {
3598
- const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-t8veygyh.js");
3598
+ const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-g8q09z1c.js");
3599
3599
  recoveryState = (await readPrWorkflowGateStateForRecovery(directory, normalizedSessionID))?.state ?? null;
3600
3600
  }
3601
3601
  if (!recoveryState) {
@@ -11369,7 +11369,7 @@ function isLaneOwnedByCurrentSession(branchName, expectedSessionId) {
11369
11369
  return extracted === expectedSessionId;
11370
11370
  }
11371
11371
  async function inspectStandardWorktreeCollisionOwnership(identity) {
11372
- const collisionOwnership = await import("./worktree-collision-ownership-kssmhrpk.js");
11372
+ const collisionOwnership = await import("./worktree-collision-ownership-yv7y35wq.js");
11373
11373
  return collisionOwnership.inspectStandardWorktreeCollisionOwnership(identity);
11374
11374
  }
11375
11375
  async function runRecoveryGit(directory, args, timeoutMs = 15000) {
@@ -11797,7 +11797,7 @@ async function precreateStandardWorktreeSession(args) {
11797
11797
  const laneProfile = computeLaneRuntimeProfile(worktreeConfig.runtime_isolation, laneIndex, handle.worktreePath);
11798
11798
  if (laneProfile) {
11799
11799
  try {
11800
- const { writeLaneProfileToDiskReal } = await import("./core-cyj0vphv.js");
11800
+ const { writeLaneProfileToDiskReal } = await import("./core-czytse6q.js");
11801
11801
  await writeLaneProfileToDiskReal(handle.worktreePath, laneProfile.laneIndex, laneProfile.envOverrides);
11802
11802
  } catch {}
11803
11803
  }
@@ -12791,7 +12791,7 @@ async function finishStandardWorktreeDispatch(directory, dispatch, config, callI
12791
12791
  }
12792
12792
  clearWorktreeMergeStatus(statusKey);
12793
12793
  try {
12794
- const { removeLaneProfileFromDiskReal } = await import("./core-cyj0vphv.js");
12794
+ const { removeLaneProfileFromDiskReal } = await import("./core-czytse6q.js");
12795
12795
  await removeLaneProfileFromDiskReal(dispatch.handle.worktreePath, dispatch.laneIndex);
12796
12796
  } catch {}
12797
12797
  const state = serializationStateBySessionID.get(dispatch.parentSessionID);
@@ -29224,7 +29224,7 @@ function clearCriticalShownIds(sessionID) {
29224
29224
  async function rehydratePrSubscriptions(sessionID, directory) {
29225
29225
  const map = new Map;
29226
29226
  try {
29227
- const { listActive: listActive2 } = await import("./pr-subscriptions-edwd3syw.js");
29227
+ const { listActive: listActive2 } = await import("./pr-subscriptions-psecfgcz.js");
29228
29228
  const records = await listActive2(directory);
29229
29229
  for (const record of records) {
29230
29230
  if (record.sessionID !== sessionID)
@@ -42605,7 +42605,28 @@ var ACTIVE_STATE_DIRS_TO_CLEAN = [
42605
42605
  "runs",
42606
42606
  "epic"
42607
42607
  ];
42608
- var ACTIVE_STATE_UNLINK_RETRY_DELAYS_MS = [25, 50, 100, 200];
42608
+ var ACTIVE_STATE_UNLINK_RETRY_DELAYS_MS = [
42609
+ 25,
42610
+ 50,
42611
+ 100,
42612
+ 200,
42613
+ 400,
42614
+ 600,
42615
+ 800,
42616
+ 1000,
42617
+ 1000,
42618
+ 1000,
42619
+ 1000,
42620
+ 1000,
42621
+ 1000,
42622
+ 1000,
42623
+ 1000,
42624
+ 1000,
42625
+ 1000,
42626
+ 1000,
42627
+ 1000,
42628
+ 1000
42629
+ ];
42609
42630
 
42610
42631
  // src/commands/close/internals.ts
42611
42632
  var closeReceiptLifecycleInternals = {
@@ -43041,8 +43062,7 @@ async function unlinkActiveStateFileWithRetry(filePath) {
43041
43062
  if (code !== "EBUSY" && code !== "EPERM" || delay2 === undefined) {
43042
43063
  throw error2;
43043
43064
  }
43044
- if (attempt === 0)
43045
- _internals50.collectGarbageBestEffort();
43065
+ _internals50.collectGarbageBestEffort();
43046
43066
  await _internals50.sleep(delay2);
43047
43067
  }
43048
43068
  }
@@ -46230,9 +46250,9 @@ function hashContent(content) {
46230
46250
  return createHash29("sha1").update(content).digest("hex");
46231
46251
  }
46232
46252
  async function loadConfigForPolicyCurator(directory) {
46233
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-zytt0t7a.js");
46253
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-yav9fk87.js");
46234
46254
  try {
46235
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-pek9gmwm.js");
46255
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-zh1dmz46.js");
46236
46256
  const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
46237
46257
  return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
46238
46258
  } catch {
@@ -49290,7 +49310,7 @@ async function resolveCuratorLLMDelegate(directory, mode, sessionId) {
49290
49310
  const seam = _internals50.createCuratorLLMDelegate;
49291
49311
  if (seam)
49292
49312
  return seam(directory, mode, sessionId);
49293
- const { createCuratorLLMDelegate } = await import("./curator-llm-factory-k0yebhsk.js");
49313
+ const { createCuratorLLMDelegate } = await import("./curator-llm-factory-k4f4c61r.js");
49294
49314
  return createCuratorLLMDelegate(directory, mode, sessionId);
49295
49315
  }
49296
49316
  async function reconcileCloseTerminalStateForPlan(directory, targetPlan, options) {
@@ -49685,7 +49705,7 @@ async function runFinalizeStage(ctx) {
49685
49705
  }
49686
49706
  }
49687
49707
  try {
49688
- const { CuratorConfigSchema: CCS } = await import("./schema-zytt0t7a.js");
49708
+ const { CuratorConfigSchema: CCS } = await import("./schema-yav9fk87.js");
49689
49709
  const { config: pmLoadedConfig } = _internals50.loadPluginConfigWithMeta(ctx.directory);
49690
49710
  const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
49691
49711
  if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
@@ -53718,7 +53738,7 @@ function serializeAgentSession(s) {
53718
53738
  }
53719
53739
  async function writeSnapshot(directory, state) {
53720
53740
  try {
53721
- const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-ywxyf130.js");
53741
+ const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-ckz8tz0b.js");
53722
53742
  await ensureSnapshotCoordinationReady(directory);
53723
53743
  const snapshot = {
53724
53744
  version: 3,
@@ -56774,7 +56794,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
56774
56794
  };
56775
56795
  }
56776
56796
  async function sweepActiveNearDuplicates(directory, options = {}) {
56777
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-pek9gmwm.js");
56797
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-zh1dmz46.js");
56778
56798
  const { config } = loadPluginConfigWithMeta2(directory);
56779
56799
  const sweepConfig = config.learning?.dedup_sweep;
56780
56800
  if (sweepConfig?.enabled === false)
@@ -57898,7 +57918,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
57898
57918
  }
57899
57919
  if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
57900
57920
  try {
57901
- const skillModule = await import("./skill-generator-wt7d640t.js");
57921
+ const skillModule = await import("./skill-generator-ddrq8e52.js");
57902
57922
  for (const cand of skillCandidates) {
57903
57923
  if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
57904
57924
  continue;
@@ -58370,7 +58390,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
58370
58390
  } catch {}
58371
58391
  }
58372
58392
  if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
58373
- const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-89crpby4.js");
58393
+ const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-pad570yc.js");
58374
58394
  for (const { id } of contradictedEntries) {
58375
58395
  try {
58376
58396
  await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
@@ -59202,7 +59222,7 @@ async function runCuratorPostMortem(directory, options = {}) {
59202
59222
  warnings.push("Failed to collect knowledge summary.");
59203
59223
  }
59204
59224
  try {
59205
- const { getScanStatus } = await import("./scan-cursor-0ffhpz79.js");
59225
+ const { getScanStatus } = await import("./scan-cursor-w0w1axgk.js");
59206
59226
  const scanStatus = await getScanStatus(directory);
59207
59227
  if (scanStatus.remaining_estimate > 0) {
59208
59228
  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.`);
@@ -59374,9 +59394,9 @@ var _internals72 = {
59374
59394
  verifyPostMortemKnowledgeActions,
59375
59395
  repairPostMortemActions,
59376
59396
  loadDefaultKnowledgeConfig: async (directory) => {
59377
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-zytt0t7a.js");
59397
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-yav9fk87.js");
59378
59398
  try {
59379
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-pek9gmwm.js");
59399
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-zh1dmz46.js");
59380
59400
  const loaded = loadPluginConfigWithMeta2(directory);
59381
59401
  return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
59382
59402
  } catch {
@@ -59384,11 +59404,11 @@ var _internals72 = {
59384
59404
  }
59385
59405
  },
59386
59406
  applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
59387
- const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-p1r777m5.js");
59407
+ const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-0wa5gjc8.js");
59388
59408
  return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
59389
59409
  },
59390
59410
  checkHivePromotions: async (entries2, knowledgeConfig, directory) => {
59391
- const { checkHivePromotions } = await import("./hive-promoter-0ht8jafr.js");
59411
+ const { checkHivePromotions } = await import("./hive-promoter-g2sngbc0.js");
59392
59412
  return checkHivePromotions(entries2, knowledgeConfig, directory);
59393
59413
  },
59394
59414
  applyProposalTriage: async (directory, triage) => {
@@ -59397,7 +59417,7 @@ var _internals72 = {
59397
59417
  activateProposal,
59398
59418
  listSkills: listSkills2,
59399
59419
  sanitizeSlug
59400
- } = await import("./skill-generator-wt7d640t.js");
59420
+ } = await import("./skill-generator-ddrq8e52.js");
59401
59421
  const result = {
59402
59422
  approved: [],
59403
59423
  rejected: [],
@@ -59439,7 +59459,7 @@ var _internals72 = {
59439
59459
  return result;
59440
59460
  },
59441
59461
  readPriorDriftReports: async (directory) => {
59442
- const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-15mcxawb.js");
59462
+ const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-vf2egpr8.js");
59443
59463
  return readPriorDriftReports2(directory);
59444
59464
  },
59445
59465
  readSwarmKnowledge: (directory) => readKnowledge(resolveSwarmKnowledgePath(directory))
@@ -69709,9 +69729,9 @@ var _internals80 = {
69709
69729
  loadPluginConfigWithMeta,
69710
69730
  loadCuratorDeps: async () => {
69711
69731
  const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate }] = await Promise.all([
69712
- import("./schema-zytt0t7a.js"),
69713
- import("./curator-p1r777m5.js"),
69714
- import("./curator-llm-factory-k0yebhsk.js")
69732
+ import("./schema-yav9fk87.js"),
69733
+ import("./curator-0wa5gjc8.js"),
69734
+ import("./curator-llm-factory-k4f4c61r.js")
69715
69735
  ]);
69716
69736
  return { CuratorConfigSchema, curator, createCuratorLLMDelegate };
69717
69737
  }
@@ -72161,7 +72181,7 @@ async function computeCurationDiagnostics(directory, entries2) {
72161
72181
  let scanCompleted = false;
72162
72182
  let scanRemaining = 0;
72163
72183
  try {
72164
- const { getScanStatus } = await import("./scan-cursor-0ffhpz79.js");
72184
+ const { getScanStatus } = await import("./scan-cursor-w0w1axgk.js");
72165
72185
  const status = await getScanStatus(directory);
72166
72186
  scanGeneration = status.generation;
72167
72187
  scanCompleted = status.completed;
@@ -72171,10 +72191,10 @@ async function computeCurationDiagnostics(directory, entries2) {
72171
72191
  try {
72172
72192
  const { isLinked: isLinked2 } = await import("./knowledge-link-8bn2b7vr.js");
72173
72193
  if (isLinked2(directory)) {
72174
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-zytt0t7a.js");
72194
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-yav9fk87.js");
72175
72195
  let config;
72176
72196
  try {
72177
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-pek9gmwm.js");
72197
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-zh1dmz46.js");
72178
72198
  const loaded = loadPluginConfigWithMeta2(directory);
72179
72199
  config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
72180
72200
  } catch {
@@ -73630,7 +73650,7 @@ async function handleDoctorCommand(directory, args) {
73630
73650
  const result = runConfigDoctor(config, directory, planParallelizationEnabled);
73631
73651
  let output;
73632
73652
  if (enableAutoFix && result.hasAutoFixableIssues) {
73633
- const { runConfigDoctorWithFixes } = await import("./config-doctor-4ck8e1fq.js");
73653
+ const { runConfigDoctorWithFixes } = await import("./config-doctor-vcjcdf3f.js");
73634
73654
  const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
73635
73655
  applyLossy: true
73636
73656
  });
@@ -73668,7 +73688,7 @@ async function handleDoctorCommand(directory, args) {
73668
73688
  `;
73669
73689
  }
73670
73690
  try {
73671
- const { runModelPreflight } = await import("./model-preflight-98g183my.js");
73691
+ const { runModelPreflight } = await import("./model-preflight-5pjf9jd2.js");
73672
73692
  const preflight = await runModelPreflight(config, swarmState.opencodeClient, { generatedAgentNames: swarmState.generatedAgentNames });
73673
73693
  const missingSelection = preflight.resolutions.filter((resolution) => resolution.status === "missing-selection");
73674
73694
  const unresolved = preflight.catalogAvailable ? preflight.resolutions.filter((resolution) => resolution.status === "unresolved") : [];
@@ -73702,7 +73722,7 @@ async function handleDoctorCommand(directory, args) {
73702
73722
  }
73703
73723
  } catch {}
73704
73724
  try {
73705
- const { renderKnowledgeReceiptPhaseIdSection } = await import("./doctor-knowledge-receipt-phase-id-k204028d.js");
73725
+ const { renderKnowledgeReceiptPhaseIdSection } = await import("./doctor-knowledge-receipt-phase-id-tkjsgcp6.js");
73706
73726
  output += await renderKnowledgeReceiptPhaseIdSection(directory, enableAutoFix);
73707
73727
  } catch {}
73708
73728
  const strayDirs = detectStraySwarmDirs(directory);
@@ -75719,7 +75739,7 @@ async function handleEvidenceCommand(directory, args) {
75719
75739
  return formatTaskEvidenceMarkdown(evidenceData);
75720
75740
  }
75721
75741
  async function handleEvidenceSummaryCommand(directory) {
75722
- const { buildEvidenceSummary } = await import("./evidence-summary-service-4mx5ge81.js");
75742
+ const { buildEvidenceSummary } = await import("./evidence-summary-service-p9wx1m45.js");
75723
75743
  const artifact = await buildEvidenceSummary(directory);
75724
75744
  if (!artifact) {
75725
75745
  return "No plan found. Run `/swarm plan` to check plan status.";
@@ -100185,7 +100205,7 @@ function createCuratorLLMDelegate(directory, mode = "init", sessionId) {
100185
100205
  }
100186
100206
  const sdkOpts = signal ? { signal } : {};
100187
100207
  try {
100188
- const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-56n6nb7p.js");
100208
+ const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-xg9t03dg.js");
100189
100209
  const createResult = await client.session.create({
100190
100210
  ...sessionId ? {
100191
100211
  body: {
@@ -102283,7 +102303,7 @@ async function cancelPrFeedbackLoopUnlocked(directory, sessionID, reason) {
102283
102303
  clearedEvents: []
102284
102304
  };
102285
102305
  try {
102286
- const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-t8veygyh.js");
102306
+ const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-g8q09z1c.js");
102287
102307
  await cancelPrFeedbackPublication2(directory, sessionID, reason);
102288
102308
  } catch (err) {
102289
102309
  warn(`[pr-feedback-loop] cancelPrFeedbackPublication failed (fail-open): ${err instanceof Error ? err.message : String(err)}`);
@@ -118749,7 +118769,7 @@ function buildDetailedHelp(commandName, entry) {
118749
118769
  async function handleHelpCommand(ctx) {
118750
118770
  const targetCommand = ctx.args.join(" ");
118751
118771
  if (!targetCommand) {
118752
- const { buildHelpText } = await import("./index-r9ab1sat.js");
118772
+ const { buildHelpText } = await import("./index-15j2cze3.js");
118753
118773
  return buildHelpText();
118754
118774
  }
118755
118775
  const tokens = targetCommand.split(/\s+/);
@@ -118763,7 +118783,7 @@ async function handleHelpCommand(ctx) {
118763
118783
  > Note: \`/swarm ${resolved.key}\` is a deprecated alias for \`/swarm ${aliasTarget}\`.` : detailed;
118764
118784
  }
118765
118785
  const similar = _internals39.findSimilarCommands(targetCommand);
118766
- const { buildHelpText: fullHelp } = await import("./index-r9ab1sat.js");
118786
+ const { buildHelpText: fullHelp } = await import("./index-15j2cze3.js");
118767
118787
  if (similar.length > 0) {
118768
118788
  return `Command '/swarm ${targetCommand}' not found.
118769
118789
 
@@ -119091,7 +119111,7 @@ var COMMAND_REGISTRY = {
119091
119111
  },
119092
119112
  "guardrail explain": {
119093
119113
  handler: async (ctx) => {
119094
- const { handleGuardrailExplain } = await import("./guardrail-explain-pba5em4h.js");
119114
+ const { handleGuardrailExplain } = await import("./guardrail-explain-vv4c5b39.js");
119095
119115
  return handleGuardrailExplain(ctx.directory, ctx.args);
119096
119116
  },
119097
119117
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -119101,7 +119121,7 @@ var COMMAND_REGISTRY = {
119101
119121
  },
119102
119122
  "guardrail reset": {
119103
119123
  handler: async (ctx) => {
119104
- const { handleGuardrailReset } = await import("./guardrail-reset-rfnr2vnn.js");
119124
+ const { handleGuardrailReset } = await import("./guardrail-reset-pbcfymhq.js");
119105
119125
  return handleGuardrailReset(ctx.args, ctx.sessionID);
119106
119126
  },
119107
119127
  description: "Reset one exact active invocation/action circuit after repair",
@@ -119122,7 +119142,7 @@ var COMMAND_REGISTRY = {
119122
119142
  },
119123
119143
  "guardrail-log": {
119124
119144
  handler: async (ctx) => {
119125
- const { handleGuardrailLog } = await import("./guardrail-log-24fbykv3.js");
119145
+ const { handleGuardrailLog } = await import("./guardrail-log-dtkzgxz8.js");
119126
119146
  return handleGuardrailLog(ctx.directory, ctx.args);
119127
119147
  },
119128
119148
  description: "Read the guardrail decision log (use --blocks-only for blocks)",
@@ -9,7 +9,7 @@ import {
9
9
  resolveSwarmKnowledgePath,
10
10
  resolveSwarmRejectedPath,
11
11
  transactKnowledge
12
- } from "./index-6g81mmmy.js";
12
+ } from "./index-n0ghdmvx.js";
13
13
  import {
14
14
  resolveKnowledgeStoreDir
15
15
  } from "./index-ry5g9s8d.js";
@@ -4737,7 +4737,7 @@ async function reconcileLegacyCoderSettlements(directory, maxRecords, onReconcil
4737
4737
  const candidates = readDelegations(directory).filter((record) => record.normalizedAgent === "coder" && Boolean(record.legacyCoderSettlementTransfer) && Boolean(record.terminalResult)).slice(0, maxRecords);
4738
4738
  if (candidates.length === 0)
4739
4739
  return 0;
4740
- const { transferCoderSettlementToBackground } = await import("./coder-settlement-eavtvg8d.js");
4740
+ const { transferCoderSettlementToBackground } = await import("./coder-settlement-ry7zxj9v.js");
4741
4741
  let transferred = 0;
4742
4742
  for (const record of candidates) {
4743
4743
  try {
@@ -12,7 +12,7 @@ import {
12
12
  readTaskEvidence,
13
13
  readTaskEvidenceRaw,
14
14
  sanitizeTaskId
15
- } from "./index-t4nxee8x.js";
15
+ } from "./index-65n2ccy2.js";
16
16
  import {
17
17
  readSwarmFileAsync,
18
18
  validateSwarmPath
@@ -23,52 +23,52 @@ import {
23
23
  resolveFallbackModel,
24
24
  resolvePrimaryAgentNames,
25
25
  stripSwarmPrefix
26
- } from "./index-57g7yqx9.js";
27
- import"./index-528gk6k1.js";
28
- import"./index-0sw6gjtn.js";
29
- import"./index-qae4572e.js";
26
+ } from "./index-rbevpmff.js";
27
+ import"./index-nhz85frs.js";
28
+ import"./index-n06vxt1k.js";
29
+ import"./index-xa7ak8ss.js";
30
30
  import"./index-j2vv0h13.js";
31
31
  import"./index-c5xvm318.js";
32
32
  import"./index-necqa5bj.js";
33
33
  import"./index-txdagbh7.js";
34
- import"./index-a9bs0c71.js";
34
+ import"./index-5fzc5krd.js";
35
35
  import {
36
36
  createExplorerAgent
37
37
  } from "./index-rdec0y3z.js";
38
- import"./index-efen9p4c.js";
39
- import"./index-d483e4gz.js";
40
- import"./index-kah11mjw.js";
41
- import"./index-z5rkkhng.js";
38
+ import"./index-fz45trs6.js";
39
+ import"./index-23kb8srf.js";
40
+ import"./index-6ayj4y71.js";
41
+ import"./index-mk15vyfe.js";
42
42
  import"./index-ghckhk16.js";
43
43
  import"./index-ypkfhqbc.js";
44
44
  import"./index-cjapb4hy.js";
45
45
  import"./index-dfrcc46h.js";
46
46
  import"./index-pt7h91zc.js";
47
47
  import"./index-q7sjgr1y.js";
48
- import"./index-pywrvjxj.js";
49
- import"./index-vanjqbhp.js";
48
+ import"./index-xq0w60za.js";
49
+ import"./index-1x9ybm51.js";
50
50
  import"./index-6b295cas.js";
51
51
  import"./index-9nyqt3kb.js";
52
- import"./index-9vwsvgzp.js";
52
+ import"./index-ptxtqhwv.js";
53
53
  import"./index-v3bmwmqw.js";
54
- import"./index-h69nppa3.js";
55
- import"./index-t4nxee8x.js";
56
- import"./index-hyxw4j9t.js";
54
+ import"./index-ntr6263n.js";
55
+ import"./index-65n2ccy2.js";
56
+ import"./index-e21b8sjj.js";
57
57
  import"./index-g4fs6z4e.js";
58
- import"./index-xtb61w73.js";
59
- import"./index-3h4tajza.js";
60
- import"./index-syrktqz9.js";
58
+ import"./index-tbm7q03h.js";
59
+ import"./index-h5g0nyy8.js";
60
+ import"./index-2vtr85p8.js";
61
61
  import"./index-m9zzj4ee.js";
62
62
  import"./index-kphy4we7.js";
63
63
  import"./index-2s7dvzff.js";
64
- import"./index-fmgkemn9.js";
64
+ import"./index-sx4brx0w.js";
65
65
  import"./index-hy2fqapm.js";
66
66
  import"./index-rtry5xyf.js";
67
- import"./index-9rqvm5sk.js";
67
+ import"./index-q267bpej.js";
68
68
  import"./index-g22dps7x.js";
69
69
  import"./index-0725jpp7.js";
70
- import"./index-qqe9tt5y.js";
71
- import"./index-rqbhn0mh.js";
70
+ import"./index-z7zk3enh.js";
71
+ import"./index-gw7nkn2q.js";
72
72
  import"./index-6183at3v.js";
73
73
  import"./index-j8t1g5qd.js";
74
74
  import"./index-crz772sx.js";
@@ -77,7 +77,7 @@ import"./index-ry16d01s.js";
77
77
  import"./index-rdm3px0g.js";
78
78
  import"./index-7pmbnjvj.js";
79
79
  import"./index-gc0aeth5.js";
80
- import"./index-6g81mmmy.js";
80
+ import"./index-n0ghdmvx.js";
81
81
  import"./index-vzm6zre7.js";
82
82
  import"./index-ae75rja9.js";
83
83
  import"./index-ry5g9s8d.js";
@@ -90,9 +90,9 @@ import"./index-ejhxgyvm.js";
90
90
  import"./index-7g4c7s5r.js";
91
91
  import"./index-yf2z4j7s.js";
92
92
  import"./index-gx2vp8gx.js";
93
- import"./index-tstk9xx7.js";
93
+ import"./index-afrdvad3.js";
94
94
  import"./index-zxdawwc7.js";
95
- import"./index-mwh6srje.js";
95
+ import"./index-pnbcknzr.js";
96
96
  import"./index-hqrkr9ag.js";
97
97
  import"./index-bk5tah7q.js";
98
98
  import"./index-gknz3bv1.js";