opencode-swarm 7.168.0 → 7.168.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 (54) 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/{coder-settlement-a35acvj1.js → coder-settlement-54a3d97g.js} +3 -3
  4. package/dist/cli/{config-doctor-9csx775x.js → config-doctor-vzp6b3ng.js} +2 -2
  5. package/dist/cli/{core-agk5s7dm.js → core-yynse50x.js} +1 -1
  6. package/dist/cli/{curator-2fcagjyk.js → curator-agdhhzqt.js} +19 -19
  7. package/dist/cli/{curator-llm-factory-qaxmyy46.js → curator-llm-factory-ygxd6hfx.js} +19 -19
  8. package/dist/cli/{evidence-summary-service-4s6cje60.js → evidence-summary-service-6mmcekr7.js} +6 -6
  9. package/dist/cli/{gate-evidence-saja4dan.js → gate-evidence-xqvkqhrk.js} +2 -2
  10. package/dist/cli/{guardrail-explain-z41q6sf0.js → guardrail-explain-vjtjhgzs.js} +20 -20
  11. package/dist/cli/{guardrail-log-0h24spq0.js → guardrail-log-5wa5c77w.js} +3 -3
  12. package/dist/cli/{guardrail-reset-cwbe47k5.js → guardrail-reset-dh78tbcf.js} +19 -19
  13. package/dist/cli/{hive-promoter-esxtcvr1.js → hive-promoter-3czsx7c6.js} +19 -19
  14. package/dist/cli/{index-j950hqmq.js → index-2xbww1x0.js} +4 -4
  15. package/dist/cli/{index-54w1564x.js → index-3jmb4ppa.js} +2 -2
  16. package/dist/cli/{index-h0e2e3h1.js → index-4kv1ew3q.js} +1 -1
  17. package/dist/cli/{index-cyenn3pf.js → index-5g6rhkn7.js} +1 -1
  18. package/dist/cli/{index-nsyxj57e.js → index-6df6wbvj.js} +3 -3
  19. package/dist/cli/{index-seetnhpx.js → index-91ww9hyr.js} +1 -1
  20. package/dist/cli/{index-wnzxcr0z.js → index-9b2105n0.js} +1 -1
  21. package/dist/cli/{index-exatbqwj.js → index-apy1qfj0.js} +1 -1
  22. package/dist/cli/{index-mr0wn36f.js → index-bw9x8d8n.js} +5 -5
  23. package/dist/cli/{index-30h1pk05.js → index-chebm5h5.js} +1 -1
  24. package/dist/cli/{index-nprngf8p.js → index-f1fps3w9.js} +1 -1
  25. package/dist/cli/{index-yv76j77m.js → index-gh9ybrrs.js} +2 -2
  26. package/dist/cli/{index-00zx94vn.js → index-gmpmgtzn.js} +1 -1
  27. package/dist/cli/{index-ze520xw1.js → index-j0bxxz9d.js} +3 -3
  28. package/dist/cli/{index-yevn4jpe.js → index-kkmezerc.js} +52 -52
  29. package/dist/cli/{index-s0d5xter.js → index-q8091q8b.js} +3 -3
  30. package/dist/cli/{index-8f0kscpg.js → index-qkwtth00.js} +1 -1
  31. package/dist/cli/{index-3dywbkyr.js → index-qthc56c4.js} +1 -1
  32. package/dist/cli/{index-21ree67h.js → index-w1dfkp1q.js} +3 -3
  33. package/dist/cli/{index-rxcgrgkc.js → index-w3x1dmrf.js} +19 -19
  34. package/dist/cli/{index-64phnth4.js → index-xhb4gryr.js} +3 -3
  35. package/dist/cli/{index-x7k3dps5.js → index-xkf3672y.js} +2 -2
  36. package/dist/cli/{index-an8b5gda.js → index-y85aptep.js} +2 -2
  37. package/dist/cli/{index-ddr97ram.js → index-yt9n9zt3.js} +21 -21
  38. package/dist/cli/index.js +19 -19
  39. package/dist/cli/{knowledge-escalator-b2tf3sd1.js → knowledge-escalator-135dz4eh.js} +6 -6
  40. package/dist/cli/{knowledge-events-bgs2kxe0.js → knowledge-events-27gwv47q.js} +4 -4
  41. package/dist/cli/{knowledge-store-stbmb1b9.js → knowledge-store-80m44bfw.js} +1 -1
  42. package/dist/cli/{knowledge-validator-zykgnsag.js → knowledge-validator-crsfb2cc.js} +2 -2
  43. package/dist/cli/{pending-delegations-n5qavj20.js → pending-delegations-gwgjzzkz.js} +2 -2
  44. package/dist/cli/{pr-subscriptions-gnvmyrng.js → pr-subscriptions-g633nhz4.js} +1 -1
  45. package/dist/cli/{pr-workflow-gate-cf3ybrws.js → pr-workflow-gate-4dc5nt2e.js} +19 -19
  46. package/dist/cli/{scan-cursor-b3mcrx23.js → scan-cursor-avxjsm4w.js} +2 -2
  47. package/dist/cli/{schema-08049cjb.js → schema-3ja77k4y.js} +1 -1
  48. package/dist/cli/{scope-persistence-a493gv51.js → scope-persistence-f540tc50.js} +5 -5
  49. package/dist/cli/{skill-generator-2qqzkdpv.js → skill-generator-kcqqpg1g.js} +7 -7
  50. package/dist/cli/{snapshot-coordination-init-8yt8p7q0.js → snapshot-coordination-init-e4s8bn4p.js} +19 -19
  51. package/dist/cli/{worktree-collision-ownership-xttafc4h.js → worktree-collision-ownership-rk9gz638.js} +2 -2
  52. package/dist/cli/{worktree-isolation-e5q5rewk.js → worktree-isolation-1bdzfgky.js} +19 -19
  53. package/dist/index.js +2 -2
  54. package/package.json +1 -1
@@ -3,7 +3,7 @@ import {
3
3
  queryHistoricalOutcomes,
4
4
  readKnowledgeEvents,
5
5
  recordKnowledgeEvent
6
- } from "./index-nsyxj57e.js";
6
+ } from "./index-6df6wbvj.js";
7
7
  import {
8
8
  jaccardBigram,
9
9
  readKnowledge,
@@ -11,7 +11,7 @@ import {
11
11
  resolveSwarmKnowledgePath,
12
12
  transactKnowledge,
13
13
  wordBigrams
14
- } from "./index-j950hqmq.js";
14
+ } from "./index-2xbww1x0.js";
15
15
  import {
16
16
  init_knowledge_types,
17
17
  isActiveStatus
@@ -224,11 +224,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
224
224
  alreadyInactive: true
225
225
  };
226
226
  }
227
- const { quarantineEntry } = await import("./knowledge-validator-zykgnsag.js");
227
+ const { quarantineEntry } = await import("./knowledge-validator-crsfb2cc.js");
228
228
  let policyConfig;
229
229
  try {
230
- const { KnowledgeConfigSchema } = await import("./schema-08049cjb.js");
231
- const { loadPluginConfigWithMeta } = await import("./index-s0d5xter.js");
230
+ const { KnowledgeConfigSchema } = await import("./schema-3ja77k4y.js");
231
+ const { loadPluginConfigWithMeta } = await import("./index-q8091q8b.js");
232
232
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
233
233
  policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
234
234
  } catch {
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  init_schema,
10
10
  stripKnownSwarmPrefix
11
- } from "./index-exatbqwj.js";
11
+ } from "./index-apy1qfj0.js";
12
12
  import {
13
13
  init_constants
14
14
  } from "./index-sxt7fgcw.js";
@@ -4524,7 +4524,7 @@ async function reconcileLegacyCoderSettlements(directory, maxRecords, onReconcil
4524
4524
  const candidates = readDelegations(directory).filter((record) => record.normalizedAgent === "coder" && Boolean(record.legacyCoderSettlementTransfer) && Boolean(record.terminalResult)).slice(0, maxRecords);
4525
4525
  if (candidates.length === 0)
4526
4526
  return 0;
4527
- const { transferCoderSettlementToBackground } = await import("./coder-settlement-a35acvj1.js");
4527
+ const { transferCoderSettlementToBackground } = await import("./coder-settlement-54a3d97g.js");
4528
4528
  let transferred = 0;
4529
4529
  for (const record of candidates) {
4530
4530
  try {
@@ -22,11 +22,11 @@ import {
22
22
  TaskStatusSchema,
23
23
  init_loader,
24
24
  loadPluginConfig
25
- } from "./index-seetnhpx.js";
25
+ } from "./index-91ww9hyr.js";
26
26
  import {
27
27
  init_package,
28
28
  package_default
29
- } from "./index-exatbqwj.js";
29
+ } from "./index-apy1qfj0.js";
30
30
  import {
31
31
  criticalWarn,
32
32
  init_logger,
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  autoCommitDirty,
4
4
  cleanUntrackedFiles
5
- } from "./index-8f0kscpg.js";
5
+ } from "./index-qkwtth00.js";
6
6
  import {
7
7
  validateSwarmPath
8
8
  } from "./index-kear8gb7.js";
@@ -14,7 +14,7 @@ import {
14
14
  reconcileLandedMerge,
15
15
  withTaskEvidenceTransaction,
16
16
  writeWorkflowWalFile
17
- } from "./index-00zx94vn.js";
17
+ } from "./index-gmpmgtzn.js";
18
18
  import {
19
19
  validateSwarmPath
20
20
  } from "./index-kear8gb7.js";
@@ -489,7 +489,7 @@ async function cleanupRecoveredWorktree(directory, descriptor) {
489
489
  awaitingMergeByCallID,
490
490
  cleanupStandardWorktreeForCallId,
491
491
  standardWorktreeByCallID
492
- } = await import("./worktree-isolation-e5q5rewk.js");
492
+ } = await import("./worktree-isolation-1bdzfgky.js");
493
493
  standardWorktreeByCallID.delete(descriptor.callID);
494
494
  if (hasResidue)
495
495
  awaitingMergeByCallID.set(descriptor.callID, {
@@ -613,7 +613,7 @@ async function recoverCoderSettlement(directory, taskId) {
613
613
  awaitingMergeByCallID,
614
614
  finishStandardWorktreeDispatch,
615
615
  standardWorktreeByCallID
616
- } = await import("./worktree-isolation-e5q5rewk.js");
616
+ } = await import("./worktree-isolation-1bdzfgky.js");
617
617
  const descriptor = wal.worktree;
618
618
  const reconstructedDispatch = {
619
619
  callID: descriptor.callID,
@@ -25,7 +25,7 @@ import {
25
25
  protectedRoots,
26
26
  redactDecisionLineForArchive,
27
27
  stableCanonicalStringify
28
- } from "./index-30h1pk05.js";
28
+ } from "./index-chebm5h5.js";
29
29
  import {
30
30
  canonicalProjectKey,
31
31
  closeGroupCommitWriter,
@@ -38,7 +38,7 @@ import {
38
38
  readDoctorArtifact,
39
39
  removeStraySwarmDir,
40
40
  runConfigDoctor
41
- } from "./index-cyenn3pf.js";
41
+ } from "./index-5g6rhkn7.js";
42
42
  import {
43
43
  MAX_TRANSIENT_RETRIES,
44
44
  archiveEvidence,
@@ -80,7 +80,7 @@ import {
80
80
  updateTaskStatus,
81
81
  validateProjectRoot,
82
82
  withPlanLifecycleLock
83
- } from "./index-21ree67h.js";
83
+ } from "./index-w1dfkp1q.js";
84
84
  import {
85
85
  EvaluationTaskV1Schema,
86
86
  GateAuditManifestV1Schema,
@@ -145,15 +145,15 @@ import {
145
145
  retireSkill,
146
146
  selectCandidateEntries,
147
147
  syncBundledProjectSkillsIfMissingAsync
148
- } from "./index-64phnth4.js";
148
+ } from "./index-xhb4gryr.js";
149
149
  import {
150
150
  readRecentEscalations
151
- } from "./index-mr0wn36f.js";
151
+ } from "./index-bw9x8d8n.js";
152
152
  import {
153
153
  alreadyCuratedThisGeneration,
154
154
  claimNextScanBatch,
155
155
  resolveCohortId
156
- } from "./index-wnzxcr0z.js";
156
+ } from "./index-9b2105n0.js";
157
157
  import {
158
158
  CURATOR_CONSOLIDATION_PROMPT,
159
159
  CURATOR_INIT_PROMPT,
@@ -185,7 +185,7 @@ import {
185
185
  listCoderSettlementWalStates,
186
186
  recoverCoderSettlement,
187
187
  recoverStaleCoderSettlements
188
- } from "./index-ze520xw1.js";
188
+ } from "./index-j0bxxz9d.js";
189
189
  import {
190
190
  parsePorcelainV2Snapshot,
191
191
  resolveCommitCountSince,
@@ -254,13 +254,13 @@ import {
254
254
  transitionTaskWorkflowEvidence,
255
255
  withTaskEvidenceTransaction,
256
256
  writeWorkflowWalFile
257
- } from "./index-00zx94vn.js";
257
+ } from "./index-gmpmgtzn.js";
258
258
  import {
259
259
  isPathUnderSwarmWorktreeBase,
260
260
  makeWorktreeBranchName,
261
261
  provisionWorktree,
262
262
  removeWorktree
263
- } from "./index-8f0kscpg.js";
263
+ } from "./index-qkwtth00.js";
264
264
  import {
265
265
  DEFAULT_STALE_DELEGATION_TIMEOUT_MS,
266
266
  DELEGATION_COMPACTION_HIGH_WATER_BYTES,
@@ -294,7 +294,7 @@ import {
294
294
  scanBackgroundCoderReservationsForAdmission,
295
295
  scanDelegationsForRecovery,
296
296
  sweepStaleDelegations
297
- } from "./index-nprngf8p.js";
297
+ } from "./index-f1fps3w9.js";
298
298
  import {
299
299
  MAX_EVENT_LOG_ENTRIES,
300
300
  _internals,
@@ -310,7 +310,7 @@ import {
310
310
  recordKnowledgeEvent,
311
311
  recordPhaseCloseIntent,
312
312
  resolveKnowledgeEventsPath
313
- } from "./index-nsyxj57e.js";
313
+ } from "./index-6df6wbvj.js";
314
314
  import {
315
315
  estimateTokens,
316
316
  readSwarmFileAsync,
@@ -336,7 +336,7 @@ import {
336
336
  validateActionableFields,
337
337
  validateLesson,
338
338
  validateSkillPath
339
- } from "./index-3dywbkyr.js";
339
+ } from "./index-qthc56c4.js";
340
340
  import {
341
341
  MAX_CURATION_PROPOSALS,
342
342
  authorizeCuration,
@@ -347,7 +347,7 @@ import {
347
347
  } from "./index-rtry5xyf.js";
348
348
  import {
349
349
  resolveWorktreeIsolationConfig
350
- } from "./index-x7k3dps5.js";
350
+ } from "./index-xkf3672y.js";
351
351
  import {
352
352
  RetrospectiveEvidenceSchema
353
353
  } from "./index-3qf1vxtb.js";
@@ -357,7 +357,7 @@ import {
357
357
  clearAllScopes,
358
358
  clearScopeBindingFromDisk,
359
359
  clearScopeBindings
360
- } from "./index-an8b5gda.js";
360
+ } from "./index-y85aptep.js";
361
361
  import {
362
362
  clearPlanLedgerForReset,
363
363
  computePlanStructureHash,
@@ -372,7 +372,7 @@ import {
372
372
  replayFromLedgerWithStatus,
373
373
  resolvePlanningProfile,
374
374
  takeSnapshotEvent
375
- } from "./index-yv76j77m.js";
375
+ } from "./index-gh9ybrrs.js";
376
376
  import {
377
377
  CORE_EVENT_LOCKED,
378
378
  appendCoreEventSync,
@@ -455,7 +455,7 @@ import {
455
455
  transactFile,
456
456
  transactKnowledge,
457
457
  wordBigrams
458
- } from "./index-j950hqmq.js";
458
+ } from "./index-2xbww1x0.js";
459
459
  import {
460
460
  readTailJsonl,
461
461
  readTailJsonlDetailed,
@@ -519,7 +519,7 @@ import {
519
519
  loadGateOverrides,
520
520
  loadPluginConfig,
521
521
  loadPluginConfigWithMeta
522
- } from "./index-seetnhpx.js";
522
+ } from "./index-91ww9hyr.js";
523
523
  import {
524
524
  init_git_executable,
525
525
  resolveGitExecutable,
@@ -548,7 +548,7 @@ import {
548
548
  resolveAutoReviewConfig,
549
549
  resolveGeneratedAgentRole,
550
550
  stripKnownSwarmPrefix
551
- } from "./index-exatbqwj.js";
551
+ } from "./index-apy1qfj0.js";
552
552
  import {
553
553
  AGENT_TOOL_MAP,
554
554
  ALL_AGENT_NAMES,
@@ -3163,7 +3163,7 @@ async function importLegacyPrWorkflowGateStateIfNeeded(directory, sessionID, all
3163
3163
  return null;
3164
3164
  throw error2;
3165
3165
  }
3166
- const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-cf3ybrws.js")).readPrWorkflowGateStateForRecovery(directory, sessionID))?.state ?? null : await readPrWorkflowGateStateFileFromDisk(filePath, sessionID);
3166
+ const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-4dc5nt2e.js")).readPrWorkflowGateStateForRecovery(directory, sessionID))?.state ?? null : await readPrWorkflowGateStateFileFromDisk(filePath, sessionID);
3167
3167
  if (!legacy)
3168
3168
  return null;
3169
3169
  const namespace = workflowGateStateCoordinationNamespace(sessionID);
@@ -3233,7 +3233,7 @@ async function deleteStateWhileLocked(directory, sessionID, options = {}) {
3233
3233
  let recoveryState = null;
3234
3234
  if (!currentAuthoritative) {
3235
3235
  if (options.allowSalvagedRead) {
3236
- const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-cf3ybrws.js");
3236
+ const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-4dc5nt2e.js");
3237
3237
  recoveryState = (await readPrWorkflowGateStateForRecovery(directory, normalizedSessionID))?.state ?? null;
3238
3238
  }
3239
3239
  if (!recoveryState) {
@@ -13867,7 +13867,7 @@ function isLaneOwnedByCurrentSession(branchName, expectedSessionId) {
13867
13867
  return extracted === expectedSessionId;
13868
13868
  }
13869
13869
  async function inspectStandardWorktreeCollisionOwnership(identity) {
13870
- const collisionOwnership = await import("./worktree-collision-ownership-xttafc4h.js");
13870
+ const collisionOwnership = await import("./worktree-collision-ownership-rk9gz638.js");
13871
13871
  return collisionOwnership.inspectStandardWorktreeCollisionOwnership(identity);
13872
13872
  }
13873
13873
  async function runRecoveryGit(directory, args, timeoutMs = 15000) {
@@ -14287,7 +14287,7 @@ async function precreateStandardWorktreeSession(args) {
14287
14287
  const laneProfile = computeLaneRuntimeProfile(worktreeConfig.runtime_isolation, laneIndex, handle.worktreePath);
14288
14288
  if (laneProfile) {
14289
14289
  try {
14290
- const { writeLaneProfileToDiskReal } = await import("./core-agk5s7dm.js");
14290
+ const { writeLaneProfileToDiskReal } = await import("./core-yynse50x.js");
14291
14291
  await writeLaneProfileToDiskReal(handle.worktreePath, laneProfile.laneIndex, laneProfile.envOverrides);
14292
14292
  } catch {}
14293
14293
  }
@@ -15258,7 +15258,7 @@ async function finishStandardWorktreeDispatch(directory, dispatch, config, callI
15258
15258
  }
15259
15259
  clearWorktreeMergeStatus(statusKey);
15260
15260
  try {
15261
- const { removeLaneProfileFromDiskReal } = await import("./core-agk5s7dm.js");
15261
+ const { removeLaneProfileFromDiskReal } = await import("./core-yynse50x.js");
15262
15262
  await removeLaneProfileFromDiskReal(dispatch.handle.worktreePath, dispatch.laneIndex);
15263
15263
  } catch {}
15264
15264
  const state = serializationStateBySessionID.get(dispatch.parentSessionID);
@@ -21662,7 +21662,7 @@ function getDisplayFinalPromptPressure() {
21662
21662
  async function rehydratePrSubscriptions(sessionID, directory) {
21663
21663
  const map = new Map;
21664
21664
  try {
21665
- const { listActive: listActive2 } = await import("./pr-subscriptions-gnvmyrng.js");
21665
+ const { listActive: listActive2 } = await import("./pr-subscriptions-g633nhz4.js");
21666
21666
  const records = await listActive2(directory);
21667
21667
  for (const record of records) {
21668
21668
  if (record.sessionID !== sessionID)
@@ -37258,9 +37258,9 @@ function hashContent(content) {
37258
37258
  return createHash23("sha1").update(content).digest("hex");
37259
37259
  }
37260
37260
  async function loadConfigForPolicyCurator(directory) {
37261
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-08049cjb.js");
37261
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-3ja77k4y.js");
37262
37262
  try {
37263
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-s0d5xter.js");
37263
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-q8091q8b.js");
37264
37264
  const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
37265
37265
  return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
37266
37266
  } catch {
@@ -40318,7 +40318,7 @@ async function resolveCuratorLLMDelegate(directory, mode, sessionId) {
40318
40318
  const seam = _internals33.createCuratorLLMDelegate;
40319
40319
  if (seam)
40320
40320
  return seam(directory, mode, sessionId);
40321
- const { createCuratorLLMDelegate } = await import("./curator-llm-factory-qaxmyy46.js");
40321
+ const { createCuratorLLMDelegate } = await import("./curator-llm-factory-ygxd6hfx.js");
40322
40322
  return createCuratorLLMDelegate(directory, mode, sessionId);
40323
40323
  }
40324
40324
  async function reconcileCloseTerminalStateForPlan(directory, targetPlan, options) {
@@ -40713,7 +40713,7 @@ async function runFinalizeStage(ctx) {
40713
40713
  }
40714
40714
  }
40715
40715
  try {
40716
- const { CuratorConfigSchema: CCS } = await import("./schema-08049cjb.js");
40716
+ const { CuratorConfigSchema: CCS } = await import("./schema-3ja77k4y.js");
40717
40717
  const { config: pmLoadedConfig } = _internals33.loadPluginConfigWithMeta(ctx.directory);
40718
40718
  const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
40719
40719
  if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
@@ -42530,7 +42530,7 @@ function serializeAgentSession(s) {
42530
42530
  }
42531
42531
  async function writeSnapshot(directory, state) {
42532
42532
  try {
42533
- const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-8yt8p7q0.js");
42533
+ const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-e4s8bn4p.js");
42534
42534
  await ensureSnapshotCoordinationReady(directory);
42535
42535
  const snapshot = {
42536
42536
  version: 3,
@@ -45186,7 +45186,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
45186
45186
  };
45187
45187
  }
45188
45188
  async function sweepActiveNearDuplicates(directory, options = {}) {
45189
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-s0d5xter.js");
45189
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-q8091q8b.js");
45190
45190
  const { config } = loadPluginConfigWithMeta2(directory);
45191
45191
  const sweepConfig = config.learning?.dedup_sweep;
45192
45192
  if (sweepConfig?.enabled === false)
@@ -46310,7 +46310,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
46310
46310
  }
46311
46311
  if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
46312
46312
  try {
46313
- const skillModule = await import("./skill-generator-2qqzkdpv.js");
46313
+ const skillModule = await import("./skill-generator-kcqqpg1g.js");
46314
46314
  for (const cand of skillCandidates) {
46315
46315
  if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
46316
46316
  continue;
@@ -46782,7 +46782,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
46782
46782
  } catch {}
46783
46783
  }
46784
46784
  if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
46785
- const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-b2tf3sd1.js");
46785
+ const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-135dz4eh.js");
46786
46786
  for (const { id } of contradictedEntries) {
46787
46787
  try {
46788
46788
  await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
@@ -47614,7 +47614,7 @@ async function runCuratorPostMortem(directory, options = {}) {
47614
47614
  warnings.push("Failed to collect knowledge summary.");
47615
47615
  }
47616
47616
  try {
47617
- const { getScanStatus } = await import("./scan-cursor-b3mcrx23.js");
47617
+ const { getScanStatus } = await import("./scan-cursor-avxjsm4w.js");
47618
47618
  const scanStatus = await getScanStatus(directory);
47619
47619
  if (scanStatus.remaining_estimate > 0) {
47620
47620
  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.`);
@@ -47786,9 +47786,9 @@ var _internals49 = {
47786
47786
  verifyPostMortemKnowledgeActions,
47787
47787
  repairPostMortemActions,
47788
47788
  loadDefaultKnowledgeConfig: async (directory) => {
47789
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-08049cjb.js");
47789
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-3ja77k4y.js");
47790
47790
  try {
47791
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-s0d5xter.js");
47791
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-q8091q8b.js");
47792
47792
  const loaded = loadPluginConfigWithMeta2(directory);
47793
47793
  return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
47794
47794
  } catch {
@@ -47796,11 +47796,11 @@ var _internals49 = {
47796
47796
  }
47797
47797
  },
47798
47798
  applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
47799
- const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-2fcagjyk.js");
47799
+ const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-agdhhzqt.js");
47800
47800
  return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
47801
47801
  },
47802
47802
  checkHivePromotions: async (entries2, knowledgeConfig, directory) => {
47803
- const { checkHivePromotions } = await import("./hive-promoter-esxtcvr1.js");
47803
+ const { checkHivePromotions } = await import("./hive-promoter-3czsx7c6.js");
47804
47804
  return checkHivePromotions(entries2, knowledgeConfig, directory);
47805
47805
  },
47806
47806
  applyProposalTriage: async (directory, triage) => {
@@ -47809,7 +47809,7 @@ var _internals49 = {
47809
47809
  activateProposal,
47810
47810
  listSkills: listSkills2,
47811
47811
  sanitizeSlug
47812
- } = await import("./skill-generator-2qqzkdpv.js");
47812
+ } = await import("./skill-generator-kcqqpg1g.js");
47813
47813
  const result = {
47814
47814
  approved: [],
47815
47815
  rejected: [],
@@ -56516,9 +56516,9 @@ var _internals58 = {
56516
56516
  loadPluginConfigWithMeta,
56517
56517
  loadCuratorDeps: async () => {
56518
56518
  const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate }] = await Promise.all([
56519
- import("./schema-08049cjb.js"),
56520
- import("./curator-2fcagjyk.js"),
56521
- import("./curator-llm-factory-qaxmyy46.js")
56519
+ import("./schema-3ja77k4y.js"),
56520
+ import("./curator-agdhhzqt.js"),
56521
+ import("./curator-llm-factory-ygxd6hfx.js")
56522
56522
  ]);
56523
56523
  return { CuratorConfigSchema, curator, createCuratorLLMDelegate };
56524
56524
  }
@@ -57515,7 +57515,7 @@ async function computeCurationDiagnostics(directory, entries2) {
57515
57515
  let scanCompleted = false;
57516
57516
  let scanRemaining = 0;
57517
57517
  try {
57518
- const { getScanStatus } = await import("./scan-cursor-b3mcrx23.js");
57518
+ const { getScanStatus } = await import("./scan-cursor-avxjsm4w.js");
57519
57519
  const status = await getScanStatus(directory);
57520
57520
  scanGeneration = status.generation;
57521
57521
  scanCompleted = status.completed;
@@ -57525,10 +57525,10 @@ async function computeCurationDiagnostics(directory, entries2) {
57525
57525
  try {
57526
57526
  const { isLinked: isLinked2 } = await import("./knowledge-link-dr3xnwyd.js");
57527
57527
  if (isLinked2(directory)) {
57528
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-08049cjb.js");
57528
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-3ja77k4y.js");
57529
57529
  let config;
57530
57530
  try {
57531
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-s0d5xter.js");
57531
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-q8091q8b.js");
57532
57532
  const loaded = loadPluginConfigWithMeta2(directory);
57533
57533
  config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
57534
57534
  } catch {
@@ -58926,7 +58926,7 @@ async function handleDoctorCommand(directory, args) {
58926
58926
  const result = runConfigDoctor(config, directory);
58927
58927
  let output;
58928
58928
  if (enableAutoFix && result.hasAutoFixableIssues) {
58929
- const { runConfigDoctorWithFixes } = await import("./config-doctor-9csx775x.js");
58929
+ const { runConfigDoctorWithFixes } = await import("./config-doctor-vzp6b3ng.js");
58930
58930
  const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
58931
58931
  applyLossy: true
58932
58932
  });
@@ -59880,7 +59880,7 @@ async function handleEvidenceCommand(directory, args) {
59880
59880
  return formatTaskEvidenceMarkdown(evidenceData);
59881
59881
  }
59882
59882
  async function handleEvidenceSummaryCommand(directory) {
59883
- const { buildEvidenceSummary } = await import("./evidence-summary-service-4s6cje60.js");
59883
+ const { buildEvidenceSummary } = await import("./evidence-summary-service-6mmcekr7.js");
59884
59884
  const artifact = await buildEvidenceSummary(directory);
59885
59885
  if (!artifact) {
59886
59886
  return "No plan found. Run `/swarm plan` to check plan status.";
@@ -79417,7 +79417,7 @@ function createCuratorLLMDelegate(directory, mode = "init", sessionId) {
79417
79417
  }
79418
79418
  const sdkOpts = signal ? { signal } : {};
79419
79419
  try {
79420
- const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-rxcgrgkc.js");
79420
+ const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-w3x1dmrf.js");
79421
79421
  const createResult = await client.session.create({
79422
79422
  ...sessionId ? {
79423
79423
  body: {
@@ -95692,7 +95692,7 @@ function buildDetailedHelp(commandName, entry) {
95692
95692
  async function handleHelpCommand(ctx) {
95693
95693
  const targetCommand = ctx.args.join(" ");
95694
95694
  if (!targetCommand) {
95695
- const { buildHelpText } = await import("./index-ddr97ram.js");
95695
+ const { buildHelpText } = await import("./index-yt9n9zt3.js");
95696
95696
  return buildHelpText();
95697
95697
  }
95698
95698
  const tokens = targetCommand.split(/\s+/);
@@ -95706,7 +95706,7 @@ async function handleHelpCommand(ctx) {
95706
95706
  > Note: \`/swarm ${resolved.key}\` is a deprecated alias for \`/swarm ${aliasTarget}\`.` : detailed;
95707
95707
  }
95708
95708
  const similar = _internals24.findSimilarCommands(targetCommand);
95709
- const { buildHelpText: fullHelp } = await import("./index-ddr97ram.js");
95709
+ const { buildHelpText: fullHelp } = await import("./index-yt9n9zt3.js");
95710
95710
  if (similar.length > 0) {
95711
95711
  return `Command '/swarm ${targetCommand}' not found.
95712
95712
 
@@ -96021,7 +96021,7 @@ var COMMAND_REGISTRY = {
96021
96021
  },
96022
96022
  "guardrail explain": {
96023
96023
  handler: async (ctx) => {
96024
- const { handleGuardrailExplain } = await import("./guardrail-explain-z41q6sf0.js");
96024
+ const { handleGuardrailExplain } = await import("./guardrail-explain-vjtjhgzs.js");
96025
96025
  return handleGuardrailExplain(ctx.directory, ctx.args);
96026
96026
  },
96027
96027
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -96031,7 +96031,7 @@ var COMMAND_REGISTRY = {
96031
96031
  },
96032
96032
  "guardrail reset": {
96033
96033
  handler: async (ctx) => {
96034
- const { handleGuardrailReset } = await import("./guardrail-reset-cwbe47k5.js");
96034
+ const { handleGuardrailReset } = await import("./guardrail-reset-dh78tbcf.js");
96035
96035
  return handleGuardrailReset(ctx.args, ctx.sessionID);
96036
96036
  },
96037
96037
  description: "Reset one exact active invocation/action circuit after repair",
@@ -96052,7 +96052,7 @@ var COMMAND_REGISTRY = {
96052
96052
  },
96053
96053
  "guardrail-log": {
96054
96054
  handler: async (ctx) => {
96055
- const { handleGuardrailLog } = await import("./guardrail-log-0h24spq0.js");
96055
+ const { handleGuardrailLog } = await import("./guardrail-log-5wa5c77w.js");
96056
96056
  return handleGuardrailLog(ctx.directory, ctx.args);
96057
96057
  },
96058
96058
  description: "Read the guardrail decision log (use --blocks-only for blocks)",
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  _internals,
4
4
  resolveWorktreeIsolationConfig
5
- } from "./index-x7k3dps5.js";
5
+ } from "./index-xkf3672y.js";
6
6
  import {
7
7
  ApprovalEvidenceSchema,
8
8
  BaseEvidenceSchema,
@@ -44,7 +44,7 @@ import {
44
44
  loadPluginConfigWithMeta,
45
45
  loadPluginConfigWithMetaAsync,
46
46
  resetConfigAdvisoryDedup
47
- } from "./index-seetnhpx.js";
47
+ } from "./index-91ww9hyr.js";
48
48
  import"./index-0mhftbpp.js";
49
49
  import"./index-a1w58b47.js";
50
50
  import {
@@ -70,7 +70,7 @@ import {
70
70
  TurboConfigSchema,
71
71
  WorktreeIsolationConfigSchema,
72
72
  resolveAutoReviewConfig
73
- } from "./index-exatbqwj.js";
73
+ } from "./index-apy1qfj0.js";
74
74
  import {
75
75
  ALL_AGENT_NAMES,
76
76
  ALL_SUBAGENT_NAMES,
@@ -92,7 +92,7 @@ var _internals = {
92
92
  symlinkSync: fs.symlinkSync
93
93
  },
94
94
  writeScopeToDisk: async (directory, taskId, files) => {
95
- const { writeScopeToDisk: realWrite } = await import("./scope-persistence-a493gv51.js");
95
+ const { writeScopeToDisk: realWrite } = await import("./scope-persistence-f540tc50.js");
96
96
  return realWrite(directory, taskId, files);
97
97
  },
98
98
  writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
@@ -9,7 +9,7 @@ import {
9
9
  resolveSwarmKnowledgePath,
10
10
  resolveSwarmRejectedPath,
11
11
  transactKnowledge
12
- } from "./index-j950hqmq.js";
12
+ } from "./index-2xbww1x0.js";
13
13
  import {
14
14
  resolveKnowledgeStoreDir
15
15
  } from "./index-8ybjqg51.js";
@@ -23,7 +23,7 @@ import {
23
23
  readTaskEvidence,
24
24
  readTaskEvidenceRaw,
25
25
  sanitizeTaskId
26
- } from "./index-00zx94vn.js";
26
+ } from "./index-gmpmgtzn.js";
27
27
  import {
28
28
  estimateCharsForTokens,
29
29
  estimateTokens,
@@ -58,7 +58,7 @@ import {
58
58
  replayFromLedgerWithStatus,
59
59
  takeSnapshotEvent,
60
60
  takeSnapshotWithRetry
61
- } from "./index-yv76j77m.js";
61
+ } from "./index-gh9ybrrs.js";
62
62
  import {
63
63
  appendCoreEventSync
64
64
  } from "./index-a8xbvsse.js";
@@ -94,7 +94,7 @@ import {
94
94
  } from "./index-1xnse449.js";
95
95
  import {
96
96
  PlanSchema
97
- } from "./index-seetnhpx.js";
97
+ } from "./index-91ww9hyr.js";
98
98
  import {
99
99
  GIT_BINARY_ENV_VAR,
100
100
  describeGitResolution,