opencode-swarm 7.177.0 → 7.177.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 (67) 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/agents/architect.d.ts +1 -1
  4. package/dist/cli/{coder-settlement-pm07553t.js → coder-settlement-c0kysest.js} +5 -5
  5. package/dist/cli/{config-doctor-3mwx2rwq.js → config-doctor-bqwse4pd.js} +3 -3
  6. package/dist/cli/{core-ty985ae1.js → core-e6vtme4x.js} +2 -2
  7. package/dist/cli/{curator-pch7ww87.js → curator-2xb1d80j.js} +21 -21
  8. package/dist/cli/{curator-llm-factory-zbs6hm60.js → curator-llm-factory-fywmb8jh.js} +21 -21
  9. package/dist/cli/{evidence-summary-service-cxed89n3.js → evidence-summary-service-9yxm6jkq.js} +8 -8
  10. package/dist/cli/{gate-evidence-ymye7yew.js → gate-evidence-43bnst3v.js} +3 -3
  11. package/dist/cli/{guardrail-explain-1zy8c3vn.js → guardrail-explain-gm69b76w.js} +22 -22
  12. package/dist/cli/{guardrail-log-pgggycf9.js → guardrail-log-j7cj3rjy.js} +5 -5
  13. package/dist/cli/{guardrail-reset-aghymhr5.js → guardrail-reset-jcsyfvf4.js} +21 -21
  14. package/dist/cli/{hive-promoter-3dp8qbqc.js → hive-promoter-hc0r0z9h.js} +21 -21
  15. package/dist/cli/{index-rgapg88w.js → index-1042jnb9.js} +2 -2
  16. package/dist/cli/{index-zbq9091c.js → index-4ygb35m1.js} +4 -4
  17. package/dist/cli/{index-hxdswvtv.js → index-634pjhe4.js} +4 -4
  18. package/dist/cli/{index-rz4gpt3n.js → index-67amf4my.js} +3 -3
  19. package/dist/cli/{index-nzz58tbs.js → index-7c24bb1r.js} +1 -1
  20. package/dist/cli/{index-5w51tawb.js → index-7ntcak58.js} +3 -3
  21. package/dist/cli/{index-4chr4gbq.js → index-822hhbkc.js} +4 -4
  22. package/dist/cli/{index-tzxk6ct7.js → index-bc4x76z7.js} +21 -21
  23. package/dist/cli/{index-ef2fa774.js → index-bqmxxbrw.js} +1 -1
  24. package/dist/cli/{index-w7aedfce.js → index-cv191ybt.js} +3 -3
  25. package/dist/cli/{index-zwam9stk.js → index-drgt81xf.js} +2 -2
  26. package/dist/cli/{index-73arkdgf.js → index-e48h8m73.js} +2 -2
  27. package/dist/cli/{index-0z5s71kn.js → index-epsy1rh1.js} +23 -23
  28. package/dist/cli/{index-by7xpk8f.js → index-fgv6qp10.js} +2 -2
  29. package/dist/cli/{index-r18n5f17.js → index-fnq5ac3f.js} +1 -1
  30. package/dist/cli/{index-9ftc8saz.js → index-fnw6zfh0.js} +1 -1
  31. package/dist/cli/{index-7bvzssz0.js → index-hp5eet6g.js} +4 -4
  32. package/dist/cli/{index-fnmt1ema.js → index-j82xdrqp.js} +2 -2
  33. package/dist/cli/{index-8dy3qf4q.js → index-k330631a.js} +5 -5
  34. package/dist/cli/{index-zzr7f594.js → index-m0cdjvtv.js} +1 -1
  35. package/dist/cli/{index-5frh43fj.js → index-n7nzwz0q.js} +4 -0
  36. package/dist/cli/{index-mcq6xs4k.js → index-qgf5xexz.js} +3 -3
  37. package/dist/cli/{index-z8j7jqxt.js → index-t2nf57mv.js} +2 -1
  38. package/dist/cli/{index-q1jterxw.js → index-t6q73twc.js} +2 -2
  39. package/dist/cli/{index-ebmep9me.js → index-yepxmq4f.js} +56 -56
  40. package/dist/cli/{index-gwnbprzk.js → index-yrs4wwfq.js} +1 -1
  41. package/dist/cli/index.js +22 -22
  42. package/dist/cli/{knowledge-escalator-praedffr.js → knowledge-escalator-j4jcpver.js} +7 -7
  43. package/dist/cli/{knowledge-events-sn5gs5q9.js → knowledge-events-fcpzfp2m.js} +5 -5
  44. package/dist/cli/{knowledge-store-838sgd97.js → knowledge-store-6evy197p.js} +1 -1
  45. package/dist/cli/{knowledge-validator-bsxgarqv.js → knowledge-validator-s28b1ddg.js} +2 -2
  46. package/dist/cli/{mcp-skh29erk.js → mcp-9kqsnehc.js} +1 -1
  47. package/dist/cli/{model-preflight-gk1jysa8.js → model-preflight-1pp1a4yf.js} +1 -1
  48. package/dist/cli/{pending-delegations-6zr5es4b.js → pending-delegations-e15f26e0.js} +2 -2
  49. package/dist/cli/{pr-subscriptions-x2rr3gva.js → pr-subscriptions-mqv51zvm.js} +1 -1
  50. package/dist/cli/{pr-workflow-gate-jx30c9vz.js → pr-workflow-gate-fj31btdv.js} +21 -21
  51. package/dist/cli/{scan-cursor-6h85e2g0.js → scan-cursor-tpnq7e56.js} +2 -2
  52. package/dist/cli/{schema-8h1b602y.js → schema-1wwcyaxp.js} +2 -2
  53. package/dist/cli/{scope-persistence-rb99xjr0.js → scope-persistence-332nvn9b.js} +7 -7
  54. package/dist/cli/{server-kdjc5aw8.js → server-19bpfaps.js} +21 -21
  55. package/dist/cli/{skill-generator-nz7wjabh.js → skill-generator-gn1k4yxj.js} +8 -8
  56. package/dist/cli/{snapshot-coordination-init-hexx2msp.js → snapshot-coordination-init-6ztt4v99.js} +21 -21
  57. package/dist/cli/{worktree-collision-ownership-ecwj3ehp.js → worktree-collision-ownership-q2ydb0ph.js} +2 -2
  58. package/dist/cli/{worktree-isolation-0x9fx30v.js → worktree-isolation-fsqe1qdv.js} +21 -21
  59. package/dist/events/core-events.d.ts +1 -1
  60. package/dist/hooks/delegation-gate.d.ts +26 -0
  61. package/dist/index.js +6 -6
  62. package/dist/tools/approve-retry-sounding-board.d.ts +5 -0
  63. package/dist/tools/index.d.ts +1 -0
  64. package/dist/tools/manifest.d.ts +1 -0
  65. package/dist/tools/tool-metadata.d.ts +4 -0
  66. package/dist/types/events.d.ts +5 -1
  67. package/package.json +1 -1
@@ -26,7 +26,7 @@ import {
26
26
  protectedRoots,
27
27
  redactDecisionLineForArchive,
28
28
  stableCanonicalStringify
29
- } from "./index-by7xpk8f.js";
29
+ } from "./index-fgv6qp10.js";
30
30
  import {
31
31
  canonicalProjectKey,
32
32
  closeGroupCommitWriter,
@@ -39,7 +39,7 @@ import {
39
39
  readDoctorArtifact,
40
40
  removeStraySwarmDir,
41
41
  runConfigDoctor
42
- } from "./index-rgapg88w.js";
42
+ } from "./index-1042jnb9.js";
43
43
  import {
44
44
  MAX_TRANSIENT_RETRIES,
45
45
  archiveEvidence,
@@ -81,7 +81,7 @@ import {
81
81
  updateTaskStatus,
82
82
  validateProjectRoot,
83
83
  withPlanLifecycleLock
84
- } from "./index-zbq9091c.js";
84
+ } from "./index-4ygb35m1.js";
85
85
  import {
86
86
  EvaluationTaskV1Schema,
87
87
  GateAuditManifestV1Schema,
@@ -146,15 +146,15 @@ import {
146
146
  retireSkill,
147
147
  selectCandidateEntries,
148
148
  syncBundledProjectSkillsIfMissingAsync
149
- } from "./index-mcq6xs4k.js";
149
+ } from "./index-qgf5xexz.js";
150
150
  import {
151
151
  readRecentEscalations
152
- } from "./index-8dy3qf4q.js";
152
+ } from "./index-k330631a.js";
153
153
  import {
154
154
  alreadyCuratedThisGeneration,
155
155
  claimNextScanBatch,
156
156
  resolveCohortId
157
- } from "./index-nzz58tbs.js";
157
+ } from "./index-7c24bb1r.js";
158
158
  import {
159
159
  CURATOR_CONSOLIDATION_PROMPT,
160
160
  CURATOR_INIT_PROMPT,
@@ -186,7 +186,7 @@ import {
186
186
  listCoderSettlementWalStates,
187
187
  recoverCoderSettlement,
188
188
  recoverStaleCoderSettlements
189
- } from "./index-4chr4gbq.js";
189
+ } from "./index-822hhbkc.js";
190
190
  import {
191
191
  parsePorcelainV2Snapshot,
192
192
  resolveCommitCountSince,
@@ -257,7 +257,7 @@ import {
257
257
  transitionTaskWorkflowEvidence,
258
258
  withTaskEvidenceTransaction,
259
259
  writeWorkflowWalFile
260
- } from "./index-r18n5f17.js";
260
+ } from "./index-fnq5ac3f.js";
261
261
  import {
262
262
  isPathUnderSwarmWorktreeBase,
263
263
  listLiveLaneOwners,
@@ -266,7 +266,7 @@ import {
266
266
  recordLiveLaneOwner,
267
267
  removeWorktree,
268
268
  resolveWorktreeBaseDir
269
- } from "./index-fnmt1ema.js";
269
+ } from "./index-j82xdrqp.js";
270
270
  import {
271
271
  DEFAULT_STALE_DELEGATION_TIMEOUT_MS,
272
272
  DELEGATION_COMPACTION_HIGH_WATER_BYTES,
@@ -300,7 +300,7 @@ import {
300
300
  scanBackgroundCoderReservationsForAdmission,
301
301
  scanDelegationsForRecovery,
302
302
  sweepStaleDelegations
303
- } from "./index-ef2fa774.js";
303
+ } from "./index-bqmxxbrw.js";
304
304
  import {
305
305
  MAX_EVENT_LOG_ENTRIES,
306
306
  _internals,
@@ -316,7 +316,7 @@ import {
316
316
  recordKnowledgeEvent,
317
317
  recordPhaseCloseIntent,
318
318
  resolveKnowledgeEventsPath
319
- } from "./index-w7aedfce.js";
319
+ } from "./index-cv191ybt.js";
320
320
  import {
321
321
  estimateTokens,
322
322
  readSwarmFileAsync,
@@ -342,7 +342,7 @@ import {
342
342
  validateActionableFields,
343
343
  validateLesson,
344
344
  validateSkillPath
345
- } from "./index-gwnbprzk.js";
345
+ } from "./index-yrs4wwfq.js";
346
346
  import {
347
347
  MAX_CURATION_PROPOSALS,
348
348
  authorizeCuration,
@@ -353,7 +353,7 @@ import {
353
353
  } from "./index-rtry5xyf.js";
354
354
  import {
355
355
  resolveWorktreeIsolationConfig
356
- } from "./index-rz4gpt3n.js";
356
+ } from "./index-67amf4my.js";
357
357
  import {
358
358
  RetrospectiveEvidenceSchema
359
359
  } from "./index-frcemc0b.js";
@@ -364,7 +364,7 @@ import {
364
364
  clearScopeBindingFromDisk,
365
365
  clearScopeBindings,
366
366
  readScopeFromDisk
367
- } from "./index-5w51tawb.js";
367
+ } from "./index-7ntcak58.js";
368
368
  import {
369
369
  clearPlanLedgerForReset,
370
370
  computePlanStructureHash,
@@ -380,7 +380,7 @@ import {
380
380
  replayFromLedgerWithStatus,
381
381
  resolvePlanningProfile,
382
382
  takeSnapshotEvent
383
- } from "./index-zwam9stk.js";
383
+ } from "./index-drgt81xf.js";
384
384
  import {
385
385
  CORE_EVENT_LOCKED,
386
386
  appendCoreEventSync,
@@ -390,7 +390,7 @@ import {
390
390
  hasSpecDriftAuditEvent,
391
391
  hasTaskRepairAuditEvent,
392
392
  readCoreEvents
393
- } from "./index-z8j7jqxt.js";
393
+ } from "./index-t2nf57mv.js";
394
394
  import {
395
395
  DEFAULT_QA_GATES,
396
396
  computeProfileHash,
@@ -463,7 +463,7 @@ import {
463
463
  transactFile,
464
464
  transactKnowledge,
465
465
  wordBigrams
466
- } from "./index-hxdswvtv.js";
466
+ } from "./index-634pjhe4.js";
467
467
  import {
468
468
  readTailJsonl,
469
469
  readTailJsonlDetailed,
@@ -532,7 +532,7 @@ import {
532
532
  loadGateOverrides,
533
533
  loadPluginConfig,
534
534
  loadPluginConfigWithMeta
535
- } from "./index-zzr7f594.js";
535
+ } from "./index-m0cdjvtv.js";
536
536
  import {
537
537
  init_git_executable,
538
538
  resolveGitExecutable,
@@ -561,7 +561,7 @@ import {
561
561
  resolveAutoReviewConfig,
562
562
  resolveGeneratedAgentRole,
563
563
  stripKnownSwarmPrefix
564
- } from "./index-73arkdgf.js";
564
+ } from "./index-e48h8m73.js";
565
565
  import {
566
566
  AGENT_TOOL_MAP,
567
567
  ALL_AGENT_NAMES,
@@ -584,7 +584,7 @@ import {
584
584
  init_agent_names,
585
585
  init_constants,
586
586
  init_tool_metadata
587
- } from "./index-5frh43fj.js";
587
+ } from "./index-n7nzwz0q.js";
588
588
  import {
589
589
  KNOWLEDGE_SCHEMA_VERSION,
590
590
  OUTCOME_BLOCK_THRESHOLD,
@@ -3175,7 +3175,7 @@ async function importLegacyPrWorkflowGateStateIfNeeded(directory, sessionID, all
3175
3175
  return null;
3176
3176
  throw error2;
3177
3177
  }
3178
- const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-jx30c9vz.js")).readPrWorkflowGateStateForRecovery(directory, sessionID))?.state ?? null : await readPrWorkflowGateStateFileFromDisk(filePath, sessionID);
3178
+ const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-fj31btdv.js")).readPrWorkflowGateStateForRecovery(directory, sessionID))?.state ?? null : await readPrWorkflowGateStateFileFromDisk(filePath, sessionID);
3179
3179
  if (!legacy)
3180
3180
  return null;
3181
3181
  const namespace = workflowGateStateCoordinationNamespace(sessionID);
@@ -3245,7 +3245,7 @@ async function deleteStateWhileLocked(directory, sessionID, options = {}) {
3245
3245
  let recoveryState = null;
3246
3246
  if (!currentAuthoritative) {
3247
3247
  if (options.allowSalvagedRead) {
3248
- const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-jx30c9vz.js");
3248
+ const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-fj31btdv.js");
3249
3249
  recoveryState = (await readPrWorkflowGateStateForRecovery(directory, normalizedSessionID))?.state ?? null;
3250
3250
  }
3251
3251
  if (!recoveryState) {
@@ -14214,7 +14214,7 @@ function isLaneOwnedByCurrentSession(branchName, expectedSessionId) {
14214
14214
  return extracted === expectedSessionId;
14215
14215
  }
14216
14216
  async function inspectStandardWorktreeCollisionOwnership(identity) {
14217
- const collisionOwnership = await import("./worktree-collision-ownership-ecwj3ehp.js");
14217
+ const collisionOwnership = await import("./worktree-collision-ownership-q2ydb0ph.js");
14218
14218
  return collisionOwnership.inspectStandardWorktreeCollisionOwnership(identity);
14219
14219
  }
14220
14220
  async function runRecoveryGit(directory, args, timeoutMs = 15000) {
@@ -14640,7 +14640,7 @@ async function precreateStandardWorktreeSession(args) {
14640
14640
  const laneProfile = computeLaneRuntimeProfile(worktreeConfig.runtime_isolation, laneIndex, handle.worktreePath);
14641
14641
  if (laneProfile) {
14642
14642
  try {
14643
- const { writeLaneProfileToDiskReal } = await import("./core-ty985ae1.js");
14643
+ const { writeLaneProfileToDiskReal } = await import("./core-e6vtme4x.js");
14644
14644
  await writeLaneProfileToDiskReal(handle.worktreePath, laneProfile.laneIndex, laneProfile.envOverrides);
14645
14645
  } catch {}
14646
14646
  }
@@ -15619,7 +15619,7 @@ async function finishStandardWorktreeDispatch(directory, dispatch, config, callI
15619
15619
  }
15620
15620
  clearWorktreeMergeStatus(statusKey);
15621
15621
  try {
15622
- const { removeLaneProfileFromDiskReal } = await import("./core-ty985ae1.js");
15622
+ const { removeLaneProfileFromDiskReal } = await import("./core-e6vtme4x.js");
15623
15623
  await removeLaneProfileFromDiskReal(dispatch.handle.worktreePath, dispatch.laneIndex);
15624
15624
  } catch {}
15625
15625
  const state = serializationStateBySessionID.get(dispatch.parentSessionID);
@@ -22238,7 +22238,7 @@ function getDisplayFinalPromptPressure() {
22238
22238
  async function rehydratePrSubscriptions(sessionID, directory) {
22239
22239
  const map = new Map;
22240
22240
  try {
22241
- const { listActive: listActive2 } = await import("./pr-subscriptions-x2rr3gva.js");
22241
+ const { listActive: listActive2 } = await import("./pr-subscriptions-mqv51zvm.js");
22242
22242
  const records = await listActive2(directory);
22243
22243
  for (const record of records) {
22244
22244
  if (record.sessionID !== sessionID)
@@ -39113,9 +39113,9 @@ function hashContent(content) {
39113
39113
  return createHash24("sha1").update(content).digest("hex");
39114
39114
  }
39115
39115
  async function loadConfigForPolicyCurator(directory) {
39116
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-8h1b602y.js");
39116
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-1wwcyaxp.js");
39117
39117
  try {
39118
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-7bvzssz0.js");
39118
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-hp5eet6g.js");
39119
39119
  const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
39120
39120
  return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
39121
39121
  } catch {
@@ -42173,7 +42173,7 @@ async function resolveCuratorLLMDelegate(directory, mode, sessionId) {
42173
42173
  const seam = _internals36.createCuratorLLMDelegate;
42174
42174
  if (seam)
42175
42175
  return seam(directory, mode, sessionId);
42176
- const { createCuratorLLMDelegate } = await import("./curator-llm-factory-zbs6hm60.js");
42176
+ const { createCuratorLLMDelegate } = await import("./curator-llm-factory-fywmb8jh.js");
42177
42177
  return createCuratorLLMDelegate(directory, mode, sessionId);
42178
42178
  }
42179
42179
  async function reconcileCloseTerminalStateForPlan(directory, targetPlan, options) {
@@ -42568,7 +42568,7 @@ async function runFinalizeStage(ctx) {
42568
42568
  }
42569
42569
  }
42570
42570
  try {
42571
- const { CuratorConfigSchema: CCS } = await import("./schema-8h1b602y.js");
42571
+ const { CuratorConfigSchema: CCS } = await import("./schema-1wwcyaxp.js");
42572
42572
  const { config: pmLoadedConfig } = _internals36.loadPluginConfigWithMeta(ctx.directory);
42573
42573
  const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
42574
42574
  if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
@@ -44506,7 +44506,7 @@ function serializeAgentSession(s) {
44506
44506
  }
44507
44507
  async function writeSnapshot(directory, state) {
44508
44508
  try {
44509
- const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-hexx2msp.js");
44509
+ const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-6ztt4v99.js");
44510
44510
  await ensureSnapshotCoordinationReady(directory);
44511
44511
  const snapshot = {
44512
44512
  version: 3,
@@ -47432,7 +47432,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
47432
47432
  };
47433
47433
  }
47434
47434
  async function sweepActiveNearDuplicates(directory, options = {}) {
47435
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-7bvzssz0.js");
47435
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-hp5eet6g.js");
47436
47436
  const { config } = loadPluginConfigWithMeta2(directory);
47437
47437
  const sweepConfig = config.learning?.dedup_sweep;
47438
47438
  if (sweepConfig?.enabled === false)
@@ -48556,7 +48556,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
48556
48556
  }
48557
48557
  if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
48558
48558
  try {
48559
- const skillModule = await import("./skill-generator-nz7wjabh.js");
48559
+ const skillModule = await import("./skill-generator-gn1k4yxj.js");
48560
48560
  for (const cand of skillCandidates) {
48561
48561
  if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
48562
48562
  continue;
@@ -49028,7 +49028,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
49028
49028
  } catch {}
49029
49029
  }
49030
49030
  if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
49031
- const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-praedffr.js");
49031
+ const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-j4jcpver.js");
49032
49032
  for (const { id } of contradictedEntries) {
49033
49033
  try {
49034
49034
  await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
@@ -49860,7 +49860,7 @@ async function runCuratorPostMortem(directory, options = {}) {
49860
49860
  warnings.push("Failed to collect knowledge summary.");
49861
49861
  }
49862
49862
  try {
49863
- const { getScanStatus } = await import("./scan-cursor-6h85e2g0.js");
49863
+ const { getScanStatus } = await import("./scan-cursor-tpnq7e56.js");
49864
49864
  const scanStatus = await getScanStatus(directory);
49865
49865
  if (scanStatus.remaining_estimate > 0) {
49866
49866
  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.`);
@@ -50032,9 +50032,9 @@ var _internals54 = {
50032
50032
  verifyPostMortemKnowledgeActions,
50033
50033
  repairPostMortemActions,
50034
50034
  loadDefaultKnowledgeConfig: async (directory) => {
50035
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-8h1b602y.js");
50035
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-1wwcyaxp.js");
50036
50036
  try {
50037
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-7bvzssz0.js");
50037
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-hp5eet6g.js");
50038
50038
  const loaded = loadPluginConfigWithMeta2(directory);
50039
50039
  return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
50040
50040
  } catch {
@@ -50042,11 +50042,11 @@ var _internals54 = {
50042
50042
  }
50043
50043
  },
50044
50044
  applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
50045
- const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-pch7ww87.js");
50045
+ const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-2xb1d80j.js");
50046
50046
  return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
50047
50047
  },
50048
50048
  checkHivePromotions: async (entries2, knowledgeConfig, directory) => {
50049
- const { checkHivePromotions } = await import("./hive-promoter-3dp8qbqc.js");
50049
+ const { checkHivePromotions } = await import("./hive-promoter-hc0r0z9h.js");
50050
50050
  return checkHivePromotions(entries2, knowledgeConfig, directory);
50051
50051
  },
50052
50052
  applyProposalTriage: async (directory, triage) => {
@@ -50055,7 +50055,7 @@ var _internals54 = {
50055
50055
  activateProposal,
50056
50056
  listSkills: listSkills2,
50057
50057
  sanitizeSlug
50058
- } = await import("./skill-generator-nz7wjabh.js");
50058
+ } = await import("./skill-generator-gn1k4yxj.js");
50059
50059
  const result = {
50060
50060
  approved: [],
50061
50061
  rejected: [],
@@ -59893,9 +59893,9 @@ var _internals64 = {
59893
59893
  loadPluginConfigWithMeta,
59894
59894
  loadCuratorDeps: async () => {
59895
59895
  const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate }] = await Promise.all([
59896
- import("./schema-8h1b602y.js"),
59897
- import("./curator-pch7ww87.js"),
59898
- import("./curator-llm-factory-zbs6hm60.js")
59896
+ import("./schema-1wwcyaxp.js"),
59897
+ import("./curator-2xb1d80j.js"),
59898
+ import("./curator-llm-factory-fywmb8jh.js")
59899
59899
  ]);
59900
59900
  return { CuratorConfigSchema, curator, createCuratorLLMDelegate };
59901
59901
  }
@@ -62147,7 +62147,7 @@ async function computeCurationDiagnostics(directory, entries2) {
62147
62147
  let scanCompleted = false;
62148
62148
  let scanRemaining = 0;
62149
62149
  try {
62150
- const { getScanStatus } = await import("./scan-cursor-6h85e2g0.js");
62150
+ const { getScanStatus } = await import("./scan-cursor-tpnq7e56.js");
62151
62151
  const status = await getScanStatus(directory);
62152
62152
  scanGeneration = status.generation;
62153
62153
  scanCompleted = status.completed;
@@ -62157,10 +62157,10 @@ async function computeCurationDiagnostics(directory, entries2) {
62157
62157
  try {
62158
62158
  const { isLinked: isLinked2 } = await import("./knowledge-link-9z3fha35.js");
62159
62159
  if (isLinked2(directory)) {
62160
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-8h1b602y.js");
62160
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-1wwcyaxp.js");
62161
62161
  let config;
62162
62162
  try {
62163
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-7bvzssz0.js");
62163
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-hp5eet6g.js");
62164
62164
  const loaded = loadPluginConfigWithMeta2(directory);
62165
62165
  config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
62166
62166
  } catch {
@@ -63603,7 +63603,7 @@ async function handleDoctorCommand(directory, args) {
63603
63603
  const result = runConfigDoctor(config, directory);
63604
63604
  let output;
63605
63605
  if (enableAutoFix && result.hasAutoFixableIssues) {
63606
- const { runConfigDoctorWithFixes } = await import("./config-doctor-3mwx2rwq.js");
63606
+ const { runConfigDoctorWithFixes } = await import("./config-doctor-bqwse4pd.js");
63607
63607
  const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
63608
63608
  applyLossy: true
63609
63609
  });
@@ -63641,7 +63641,7 @@ async function handleDoctorCommand(directory, args) {
63641
63641
  `;
63642
63642
  }
63643
63643
  try {
63644
- const { runModelPreflight } = await import("./model-preflight-gk1jysa8.js");
63644
+ const { runModelPreflight } = await import("./model-preflight-1pp1a4yf.js");
63645
63645
  const preflight = await runModelPreflight(config, swarmState.opencodeClient);
63646
63646
  if (preflight.catalogAvailable) {
63647
63647
  const unresolved = preflight.resolutions.filter((resolution) => resolution.status === "unresolved");
@@ -64557,7 +64557,7 @@ async function handleEvidenceCommand(directory, args) {
64557
64557
  return formatTaskEvidenceMarkdown(evidenceData);
64558
64558
  }
64559
64559
  async function handleEvidenceSummaryCommand(directory) {
64560
- const { buildEvidenceSummary } = await import("./evidence-summary-service-cxed89n3.js");
64560
+ const { buildEvidenceSummary } = await import("./evidence-summary-service-9yxm6jkq.js");
64561
64561
  const artifact = await buildEvidenceSummary(directory);
64562
64562
  if (!artifact) {
64563
64563
  return "No plan found. Run `/swarm plan` to check plan status.";
@@ -84612,7 +84612,7 @@ function createCuratorLLMDelegate(directory, mode = "init", sessionId) {
84612
84612
  }
84613
84613
  const sdkOpts = signal ? { signal } : {};
84614
84614
  try {
84615
- const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-tzxk6ct7.js");
84615
+ const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-bc4x76z7.js");
84616
84616
  const createResult = await client.session.create({
84617
84617
  ...sessionId ? {
84618
84618
  body: {
@@ -94400,7 +94400,7 @@ async function handleResetSessionCommand(directory, args, sessionID) {
94400
94400
  "",
94401
94401
  "Session state cleared. Plan, evidence, and knowledge preserved.",
94402
94402
  "",
94403
- "**All circuit breakers and revision limits have been cleared.** You can continue in this session \u2014 fresh state will be initialized automatically on the next tool call."
94403
+ "In-memory circuit breakers and revision limits have been cleared. " + "Durable per-task retry gates (the coder retry circuit breaker, bound " + "to commit settlement in the events audit log and .swarm/evidence/) " + "intentionally survive this reset. If a task is blocked with " + "TASK_RETRY_CRITIC_REQUIRED waiting for a critic_sounding_board " + "APPROVED verdict that was already obtained, have the architect " + "record it with the approve_retry_sounding_board tool."
94404
94404
  ].join(`
94405
94405
  `);
94406
94406
  }
@@ -101159,7 +101159,7 @@ function buildDetailedHelp(commandName, entry) {
101159
101159
  async function handleHelpCommand(ctx) {
101160
101160
  const targetCommand = ctx.args.join(" ");
101161
101161
  if (!targetCommand) {
101162
- const { buildHelpText } = await import("./index-0z5s71kn.js");
101162
+ const { buildHelpText } = await import("./index-epsy1rh1.js");
101163
101163
  return buildHelpText();
101164
101164
  }
101165
101165
  const tokens = targetCommand.split(/\s+/);
@@ -101173,7 +101173,7 @@ async function handleHelpCommand(ctx) {
101173
101173
  > Note: \`/swarm ${resolved.key}\` is a deprecated alias for \`/swarm ${aliasTarget}\`.` : detailed;
101174
101174
  }
101175
101175
  const similar = _internals24.findSimilarCommands(targetCommand);
101176
- const { buildHelpText: fullHelp } = await import("./index-0z5s71kn.js");
101176
+ const { buildHelpText: fullHelp } = await import("./index-epsy1rh1.js");
101177
101177
  if (similar.length > 0) {
101178
101178
  return `Command '/swarm ${targetCommand}' not found.
101179
101179
 
@@ -101488,7 +101488,7 @@ var COMMAND_REGISTRY = {
101488
101488
  },
101489
101489
  "guardrail explain": {
101490
101490
  handler: async (ctx) => {
101491
- const { handleGuardrailExplain } = await import("./guardrail-explain-1zy8c3vn.js");
101491
+ const { handleGuardrailExplain } = await import("./guardrail-explain-gm69b76w.js");
101492
101492
  return handleGuardrailExplain(ctx.directory, ctx.args);
101493
101493
  },
101494
101494
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -101498,7 +101498,7 @@ var COMMAND_REGISTRY = {
101498
101498
  },
101499
101499
  "guardrail reset": {
101500
101500
  handler: async (ctx) => {
101501
- const { handleGuardrailReset } = await import("./guardrail-reset-aghymhr5.js");
101501
+ const { handleGuardrailReset } = await import("./guardrail-reset-jcsyfvf4.js");
101502
101502
  return handleGuardrailReset(ctx.args, ctx.sessionID);
101503
101503
  },
101504
101504
  description: "Reset one exact active invocation/action circuit after repair",
@@ -101519,7 +101519,7 @@ var COMMAND_REGISTRY = {
101519
101519
  },
101520
101520
  "guardrail-log": {
101521
101521
  handler: async (ctx) => {
101522
- const { handleGuardrailLog } = await import("./guardrail-log-pgggycf9.js");
101522
+ const { handleGuardrailLog } = await import("./guardrail-log-j7cj3rjy.js");
101523
101523
  return handleGuardrailLog(ctx.directory, ctx.args);
101524
101524
  },
101525
101525
  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-hxdswvtv.js";
12
+ } from "./index-634pjhe4.js";
13
13
  import {
14
14
  resolveKnowledgeStoreDir
15
15
  } from "./index-en0p0hqp.js";
package/dist/cli/index.js CHANGED
@@ -14,51 +14,51 @@ import {
14
14
  readCachePackageVersion,
15
15
  resolveCommand,
16
16
  safeRealpathSync
17
- } from "./index-ebmep9me.js";
17
+ } from "./index-yepxmq4f.js";
18
18
  import"./index-hnvmj9wx.js";
19
19
  import"./index-vfp9hjgv.js";
20
- import"./index-by7xpk8f.js";
20
+ import"./index-fgv6qp10.js";
21
21
  import"./index-eefz8ghz.js";
22
- import"./index-rgapg88w.js";
23
- import"./index-zbq9091c.js";
22
+ import"./index-1042jnb9.js";
23
+ import"./index-4ygb35m1.js";
24
24
  import"./index-k6bjkqw8.js";
25
25
  import"./index-txdagbh7.js";
26
26
  import"./index-n1tcj1q7.js";
27
27
  import"./index-fpbcxykc.js";
28
- import"./index-mcq6xs4k.js";
29
- import"./index-8dy3qf4q.js";
30
- import"./index-nzz58tbs.js";
28
+ import"./index-qgf5xexz.js";
29
+ import"./index-k330631a.js";
30
+ import"./index-7c24bb1r.js";
31
31
  import"./index-fyfbpz4f.js";
32
32
  import"./index-eya03h5m.js";
33
33
  import"./index-549wxbe1.js";
34
34
  import"./index-zsrtt42s.js";
35
- import"./index-4chr4gbq.js";
35
+ import"./index-822hhbkc.js";
36
36
  import"./index-5d2avnj9.js";
37
37
  import"./index-7nsvszwn.js";
38
38
  import"./index-pt7h91zc.js";
39
39
  import"./index-q7sjgr1y.js";
40
- import"./index-r18n5f17.js";
41
- import"./index-fnmt1ema.js";
42
- import"./index-ef2fa774.js";
43
- import"./index-w7aedfce.js";
40
+ import"./index-fnq5ac3f.js";
41
+ import"./index-j82xdrqp.js";
42
+ import"./index-bqmxxbrw.js";
43
+ import"./index-cv191ybt.js";
44
44
  import"./index-exhm2ztr.js";
45
45
  import"./index-2s7dvzff.js";
46
- import"./index-gwnbprzk.js";
46
+ import"./index-yrs4wwfq.js";
47
47
  import"./index-wemtrnch.js";
48
48
  import"./index-rtry5xyf.js";
49
- import"./index-rz4gpt3n.js";
49
+ import"./index-67amf4my.js";
50
50
  import"./index-frcemc0b.js";
51
51
  import"./index-wrt875kh.js";
52
- import"./index-5w51tawb.js";
53
- import"./index-zwam9stk.js";
54
- import"./index-z8j7jqxt.js";
52
+ import"./index-7ntcak58.js";
53
+ import"./index-drgt81xf.js";
54
+ import"./index-t2nf57mv.js";
55
55
  import"./index-v2he8xfj.js";
56
56
  import"./index-1bq6hkw5.js";
57
57
  import"./index-xnednxvm.js";
58
58
  import"./index-rdm3px0g.js";
59
59
  import"./index-ry16d01s.js";
60
60
  import"./index-tbswvz8s.js";
61
- import"./index-hxdswvtv.js";
61
+ import"./index-634pjhe4.js";
62
62
  import"./index-vzm6zre7.js";
63
63
  import"./index-ae75rja9.js";
64
64
  import"./index-en0p0hqp.js";
@@ -68,17 +68,17 @@ import"./index-2jtmevrr.js";
68
68
  import"./index-yhaxn5r7.js";
69
69
  import"./index-1xnse449.js";
70
70
  import"./index-c1ggtmpm.js";
71
- import"./index-zzr7f594.js";
71
+ import"./index-m0cdjvtv.js";
72
72
  import"./index-zz7gzw57.js";
73
73
  import"./index-4ddpvd5c.js";
74
74
  import {
75
75
  init_package,
76
76
  package_default
77
- } from "./index-73arkdgf.js";
77
+ } from "./index-e48h8m73.js";
78
78
  import {
79
79
  DEFAULT_AGENT_CONFIGS,
80
80
  init_constants
81
- } from "./index-5frh43fj.js";
81
+ } from "./index-n7nzwz0q.js";
82
82
  import"./index-bk5tah7q.js";
83
83
  import"./index-gknz3bv1.js";
84
84
  import"./index-zpsr8rpc.js";
@@ -642,7 +642,7 @@ async function main() {
642
642
  const exitCode = await run(["ci", ...args.slice(1)]);
643
643
  process.exit(exitCode);
644
644
  } else if (command === "mcp") {
645
- const { handleMcpCommand } = await import("./mcp-skh29erk.js");
645
+ const { handleMcpCommand } = await import("./mcp-9kqsnehc.js");
646
646
  const exitCode = await handleMcpCommand(args.slice(1));
647
647
  process.exit(exitCode);
648
648
  } else {
@@ -9,15 +9,15 @@ import {
9
9
  maybeEscalateOnViolation,
10
10
  maybeQuarantineOnContradiction,
11
11
  readRecentEscalations
12
- } from "./index-8dy3qf4q.js";
13
- import"./index-w7aedfce.js";
12
+ } from "./index-k330631a.js";
13
+ import"./index-cv191ybt.js";
14
14
  import"./index-exhm2ztr.js";
15
15
  import"./index-2s7dvzff.js";
16
- import"./index-rz4gpt3n.js";
16
+ import"./index-67amf4my.js";
17
17
  import"./index-frcemc0b.js";
18
18
  import"./index-wrt875kh.js";
19
19
  import"./index-tbswvz8s.js";
20
- import"./index-hxdswvtv.js";
20
+ import"./index-634pjhe4.js";
21
21
  import"./index-vzm6zre7.js";
22
22
  import"./index-ae75rja9.js";
23
23
  import"./index-en0p0hqp.js";
@@ -27,11 +27,11 @@ import"./index-2jtmevrr.js";
27
27
  import"./index-yhaxn5r7.js";
28
28
  import"./index-1xnse449.js";
29
29
  import"./index-c1ggtmpm.js";
30
- import"./index-zzr7f594.js";
30
+ import"./index-m0cdjvtv.js";
31
31
  import"./index-zz7gzw57.js";
32
32
  import"./index-4ddpvd5c.js";
33
- import"./index-73arkdgf.js";
34
- import"./index-5frh43fj.js";
33
+ import"./index-e48h8m73.js";
34
+ import"./index-n7nzwz0q.js";
35
35
  import"./index-bk5tah7q.js";
36
36
  import"./index-gknz3bv1.js";
37
37
  import"./index-zpsr8rpc.js";
@@ -29,10 +29,10 @@ import {
29
29
  resolveKnowledgeCounterBaselinePath,
30
30
  resolveKnowledgeEventsPath,
31
31
  resolveLegacyApplicationLogPath
32
- } from "./index-w7aedfce.js";
32
+ } from "./index-cv191ybt.js";
33
33
  import"./index-exhm2ztr.js";
34
34
  import"./index-2s7dvzff.js";
35
- import"./index-rz4gpt3n.js";
35
+ import"./index-67amf4my.js";
36
36
  import"./index-frcemc0b.js";
37
37
  import"./index-wrt875kh.js";
38
38
  import"./index-tbswvz8s.js";
@@ -44,11 +44,11 @@ import"./index-2jtmevrr.js";
44
44
  import"./index-yhaxn5r7.js";
45
45
  import"./index-1xnse449.js";
46
46
  import"./index-c1ggtmpm.js";
47
- import"./index-zzr7f594.js";
47
+ import"./index-m0cdjvtv.js";
48
48
  import"./index-zz7gzw57.js";
49
49
  import"./index-4ddpvd5c.js";
50
- import"./index-73arkdgf.js";
51
- import"./index-5frh43fj.js";
50
+ import"./index-e48h8m73.js";
51
+ import"./index-n7nzwz0q.js";
52
52
  import"./index-bk5tah7q.js";
53
53
  import"./index-gknz3bv1.js";
54
54
  import"./index-zpsr8rpc.js";
@@ -43,7 +43,7 @@ import {
43
43
  transactKnowledge,
44
44
  transactKnowledgeWithCas,
45
45
  wordBigrams
46
- } from "./index-hxdswvtv.js";
46
+ } from "./index-634pjhe4.js";
47
47
  import"./index-vzm6zre7.js";
48
48
  import {
49
49
  resolveHiveDataDir
@@ -23,10 +23,10 @@ import {
23
23
  validateLesson,
24
24
  validateSkillCandidatePath,
25
25
  validateSkillPath
26
- } from "./index-gwnbprzk.js";
26
+ } from "./index-yrs4wwfq.js";
27
27
  import"./index-wemtrnch.js";
28
28
  import"./index-rtry5xyf.js";
29
- import"./index-hxdswvtv.js";
29
+ import"./index-634pjhe4.js";
30
30
  import"./index-vzm6zre7.js";
31
31
  import"./index-ae75rja9.js";
32
32
  import"./index-en0p0hqp.js";
@@ -61,7 +61,7 @@ async function handleMcpCommand(argv) {
61
61
  return 1;
62
62
  }
63
63
  try {
64
- const { runMcpServer } = await import("./server-kdjc5aw8.js");
64
+ const { runMcpServer } = await import("./server-19bpfaps.js");
65
65
  return await runMcpServer({
66
66
  root: rootResult.root,
67
67
  allowWrite: parsed.allowWrite
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  DEFAULT_MODELS,
4
4
  init_constants
5
- } from "./index-5frh43fj.js";
5
+ } from "./index-n7nzwz0q.js";
6
6
  import"./index-zpsr8rpc.js";
7
7
  import"./index-a76rekgs.js";
8
8