opencode-swarm 7.184.1 → 7.184.3

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 (66) 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/background/stage-b-gates.d.ts +1 -1
  4. package/dist/background/workspace-snapshot.d.ts +9 -0
  5. package/dist/cli/{coder-settlement-yvpewr52.js → coder-settlement-8hqdf4jw.js} +4 -4
  6. package/dist/cli/{config-doctor-qgwpvrbz.js → config-doctor-4168q3jg.js} +2 -2
  7. package/dist/cli/{core-9qt388hq.js → core-jv9mdvcd.js} +1 -1
  8. package/dist/cli/{curator-drift-wf0sm2te.js → curator-drift-jeqw1mp2.js} +5 -5
  9. package/dist/cli/{curator-ffz5pxgc.js → curator-hg6gxs8w.js} +23 -23
  10. package/dist/cli/{curator-llm-factory-drs36v1q.js → curator-llm-factory-660jd2ts.js} +23 -23
  11. package/dist/cli/{evidence-summary-service-8dfzjnxe.js → evidence-summary-service-jyxqw2m1.js} +8 -8
  12. package/dist/cli/{gate-evidence-aa5q30f4.js → gate-evidence-t9kq9sp8.js} +2 -2
  13. package/dist/cli/{guardrail-explain-9g5y2gjm.js → guardrail-explain-59yy2tqf.js} +24 -24
  14. package/dist/cli/{guardrail-log-0g51p94w.js → guardrail-log-r31dnben.js} +3 -3
  15. package/dist/cli/{guardrail-reset-dcbmt2wr.js → guardrail-reset-vfmv0k7c.js} +23 -23
  16. package/dist/cli/{hive-promoter-2g8nga0y.js → hive-promoter-091kpcqc.js} +23 -23
  17. package/dist/cli/{index-yk0r42nr.js → index-1xdgk4t1.js} +1 -1
  18. package/dist/cli/{index-7p4ym4q3.js → index-2nt83bmg.js} +1 -1
  19. package/dist/cli/{index-ejb7ejhd.js → index-35enxytj.js} +1 -1
  20. package/dist/cli/{index-jkxef52n.js → index-5tavkatf.js} +1 -1
  21. package/dist/cli/{index-mz4zz59c.js → index-71mef79n.js} +25 -25
  22. package/dist/cli/{index-aghd9kcx.js → index-aj09tn60.js} +2 -2
  23. package/dist/cli/{index-dbshccrr.js → index-bvxzbz33.js} +3 -3
  24. package/dist/cli/{index-3skvygca.js → index-chjqzp3m.js} +5 -5
  25. package/dist/cli/{index-wfdx7yw2.js → index-cpwssar9.js} +2 -2
  26. package/dist/cli/{index-6cvdk98y.js → index-e22mvyjw.js} +2 -2
  27. package/dist/cli/{index-6b427dy8.js → index-eqytb5g4.js} +1 -1
  28. package/dist/cli/{index-7hvy33gc.js → index-gjrdaj1s.js} +5 -5
  29. package/dist/cli/{index-qczxr0wh.js → index-gkvsmx0p.js} +3 -3
  30. package/dist/cli/{index-046psajf.js → index-hy04ezjp.js} +1 -1
  31. package/dist/cli/{index-32vszgv0.js → index-jynrac8f.js} +1 -1
  32. package/dist/cli/{index-0874kghs.js → index-k7aaj671.js} +1 -1
  33. package/dist/cli/{index-n107956q.js → index-mbz2xj8c.js} +3 -3
  34. package/dist/cli/{index-jc8pcf0r.js → index-q77d0tyn.js} +4 -4
  35. package/dist/cli/{index-wsb0wbw6.js → index-qyrptnat.js} +23 -23
  36. package/dist/cli/{index-2c91cxdv.js → index-sqzvjz50.js} +1 -1
  37. package/dist/cli/{index-depfky1j.js → index-sxdb5gkf.js} +1 -1
  38. package/dist/cli/{index-5ppx86w1.js → index-vchhgag9.js} +4 -4
  39. package/dist/cli/{index-57swfxyp.js → index-vhrg8ypq.js} +1 -1
  40. package/dist/cli/{index-131ay7x1.js → index-vyjped9g.js} +18 -1
  41. package/dist/cli/{index-gsgy1psq.js → index-wwaqa4s8.js} +1 -1
  42. package/dist/cli/{index-49ptc9xx.js → index-x7r2e7js.js} +1 -1
  43. package/dist/cli/{index-76abqm8d.js → index-x8rz7mhf.js} +1 -1
  44. package/dist/cli/{index-s7bseqza.js → index-ye6gfx9y.js} +58 -58
  45. package/dist/cli/index.js +24 -24
  46. package/dist/cli/{knowledge-escalator-pt21q3eh.js → knowledge-escalator-b5t956mg.js} +6 -6
  47. package/dist/cli/{knowledge-events-hp96b55k.js → knowledge-events-5zevv6ky.js} +4 -4
  48. package/dist/cli/{knowledge-store-rnw1e7zp.js → knowledge-store-db1h0dvn.js} +1 -1
  49. package/dist/cli/{knowledge-validator-xy7r6eyx.js → knowledge-validator-5gzstqdh.js} +2 -2
  50. package/dist/cli/{mcp-3nd85kww.js → mcp-yq85067b.js} +1 -1
  51. package/dist/cli/{model-preflight-xe0chjad.js → model-preflight-k5hqqw6v.js} +23 -23
  52. package/dist/cli/{pending-delegations-2pdngdzq.js → pending-delegations-mt8j70zf.js} +2 -2
  53. package/dist/cli/{pr-subscriptions-hxxwszyr.js → pr-subscriptions-cmt1xy16.js} +1 -1
  54. package/dist/cli/{pr-workflow-gate-m37ynr6h.js → pr-workflow-gate-rw8gt6df.js} +23 -23
  55. package/dist/cli/{scan-cursor-be9hbq1v.js → scan-cursor-hgce5mtm.js} +2 -2
  56. package/dist/cli/{schema-j17hv98z.js → schema-md85tz15.js} +1 -1
  57. package/dist/cli/{scope-persistence-rmt56rma.js → scope-persistence-m6jmh0f4.js} +5 -5
  58. package/dist/cli/{server-wzrb59mh.js → server-sstpfrq7.js} +23 -23
  59. package/dist/cli/{skill-generator-vsfya55z.js → skill-generator-vfdf4q1p.js} +7 -7
  60. package/dist/cli/{snapshot-coordination-init-pc8ykvh8.js → snapshot-coordination-init-6a2gvfcg.js} +23 -23
  61. package/dist/cli/{speckit-checkoff-j407j8ew.js → speckit-checkoff-gnknb6wj.js} +3 -3
  62. package/dist/cli/{workspace-snapshot-0q1n1xq5.js → workspace-snapshot-xwhhznt3.js} +3 -1
  63. package/dist/cli/{worktree-collision-ownership-je4fb407.js → worktree-collision-ownership-n1xyp54z.js} +2 -2
  64. package/dist/cli/{worktree-isolation-27rt584e.js → worktree-isolation-3na5rcqw.js} +23 -23
  65. package/dist/index.js +4 -4
  66. package/package.json +1 -1
@@ -8,7 +8,7 @@ import {
8
8
  protectedRoots,
9
9
  redactDecisionLineForArchive,
10
10
  stableCanonicalStringify
11
- } from "./index-32vszgv0.js";
11
+ } from "./index-jynrac8f.js";
12
12
  import {
13
13
  LANGUAGE_REGISTRY,
14
14
  _internals as _internals3,
@@ -36,13 +36,13 @@ import {
36
36
  getGroupCommitWriter,
37
37
  importLegacyJsonl,
38
38
  readPriorDriftReports
39
- } from "./index-yk0r42nr.js";
39
+ } from "./index-1xdgk4t1.js";
40
40
  import {
41
41
  detectStraySwarmDirs,
42
42
  readDoctorArtifact,
43
43
  removeStraySwarmDir,
44
44
  runConfigDoctor
45
- } from "./index-046psajf.js";
45
+ } from "./index-hy04ezjp.js";
46
46
  import {
47
47
  MAX_TRANSIENT_RETRIES,
48
48
  PlanRecoverySupersededError,
@@ -83,7 +83,7 @@ import {
83
83
  updateTaskStatus,
84
84
  validateProjectRoot,
85
85
  withPlanLifecycleLock
86
- } from "./index-7hvy33gc.js";
86
+ } from "./index-gjrdaj1s.js";
87
87
  import {
88
88
  EvaluationTaskV1Schema,
89
89
  GateAuditManifestV1Schema,
@@ -120,7 +120,7 @@ import {
120
120
  resolveSpeckitProjection,
121
121
  validateSpeckit,
122
122
  writeProjectedSpecSync
123
- } from "./index-7p4ym4q3.js";
123
+ } from "./index-2nt83bmg.js";
124
124
  import {
125
125
  containsControlChars,
126
126
  containsPathTraversal,
@@ -148,16 +148,16 @@ import {
148
148
  retireSkill,
149
149
  selectCandidateEntries,
150
150
  syncBundledProjectSkillsIfMissingAsync
151
- } from "./index-n107956q.js";
151
+ } from "./index-mbz2xj8c.js";
152
152
  import {
153
153
  buildEscalationBriefing,
154
154
  readRecentEscalations
155
- } from "./index-3skvygca.js";
155
+ } from "./index-chjqzp3m.js";
156
156
  import {
157
157
  alreadyCuratedThisGeneration,
158
158
  claimNextScanBatch,
159
159
  resolveCohortId
160
- } from "./index-jkxef52n.js";
160
+ } from "./index-5tavkatf.js";
161
161
  import {
162
162
  CURATOR_CONSOLIDATION_PROMPT,
163
163
  CURATOR_INIT_PROMPT,
@@ -189,7 +189,7 @@ import {
189
189
  listCoderSettlementWalStates,
190
190
  recoverCoderSettlement,
191
191
  recoverStaleCoderSettlements
192
- } from "./index-5ppx86w1.js";
192
+ } from "./index-vchhgag9.js";
193
193
  import {
194
194
  parsePorcelainV2Snapshot,
195
195
  resolveCommitCountSince,
@@ -217,7 +217,7 @@ import {
217
217
  resolveRemoteUrlIdentity,
218
218
  resolveRemoteUrlIdentityAsync,
219
219
  switchPrFeedbackTrackingCandidateAsync
220
- } from "./index-131ay7x1.js";
220
+ } from "./index-vyjped9g.js";
221
221
  import {
222
222
  WORKTREE_LIFECYCLE_LOCK_FILE,
223
223
  recordWorktreeProvisioningOwner,
@@ -260,7 +260,7 @@ import {
260
260
  transitionTaskWorkflowEvidence,
261
261
  withTaskEvidenceTransaction,
262
262
  writeWorkflowWalFile
263
- } from "./index-depfky1j.js";
263
+ } from "./index-sxdb5gkf.js";
264
264
  import {
265
265
  isPathUnderSwarmWorktreeBase,
266
266
  listLiveLaneOwners,
@@ -269,7 +269,7 @@ import {
269
269
  recordLiveLaneOwner,
270
270
  removeWorktree,
271
271
  resolveWorktreeBaseDir
272
- } from "./index-2c91cxdv.js";
272
+ } from "./index-sqzvjz50.js";
273
273
  import {
274
274
  DEFAULT_STALE_DELEGATION_TIMEOUT_MS,
275
275
  DELEGATION_COMPACTION_HIGH_WATER_BYTES,
@@ -303,7 +303,7 @@ import {
303
303
  scanBackgroundCoderReservationsForAdmission,
304
304
  scanDelegationsForRecovery,
305
305
  sweepStaleDelegations
306
- } from "./index-57swfxyp.js";
306
+ } from "./index-vhrg8ypq.js";
307
307
  import {
308
308
  MAX_EVENT_LOG_ENTRIES,
309
309
  _internals,
@@ -322,7 +322,7 @@ import {
322
322
  recordKnowledgeEvent,
323
323
  recordPhaseCloseIntent,
324
324
  resolveKnowledgeEventsPath
325
- } from "./index-qczxr0wh.js";
325
+ } from "./index-gkvsmx0p.js";
326
326
  import {
327
327
  estimateCharsForTokens,
328
328
  estimateTokens,
@@ -350,7 +350,7 @@ import {
350
350
  validateActionableFields,
351
351
  validateLesson,
352
352
  validateSkillPath
353
- } from "./index-gsgy1psq.js";
353
+ } from "./index-wwaqa4s8.js";
354
354
  import {
355
355
  MAX_CURATION_PROPOSALS,
356
356
  authorizeCuration,
@@ -361,7 +361,7 @@ import {
361
361
  } from "./index-rtry5xyf.js";
362
362
  import {
363
363
  resolveWorktreeIsolationConfig
364
- } from "./index-6cvdk98y.js";
364
+ } from "./index-e22mvyjw.js";
365
365
  import {
366
366
  RetrospectiveEvidenceSchema
367
367
  } from "./index-frcemc0b.js";
@@ -373,7 +373,7 @@ import {
373
373
  clearScopeBindings,
374
374
  readAuthoritativeScopeBindingSet,
375
375
  readDeclaredScopeFilesFromBindings
376
- } from "./index-6b427dy8.js";
376
+ } from "./index-eqytb5g4.js";
377
377
  import {
378
378
  clearPlanLedgerForReset,
379
379
  computePlanStructureHash,
@@ -389,7 +389,7 @@ import {
389
389
  replayFromLedgerWithStatus,
390
390
  resolvePlanningProfile,
391
391
  takeSnapshotEvent
392
- } from "./index-wfdx7yw2.js";
392
+ } from "./index-cpwssar9.js";
393
393
  import {
394
394
  CORE_EVENT_LOCKED,
395
395
  appendCoreEventSync,
@@ -476,7 +476,7 @@ import {
476
476
  transactFile,
477
477
  transactKnowledge,
478
478
  wordBigrams
479
- } from "./index-jc8pcf0r.js";
479
+ } from "./index-q77d0tyn.js";
480
480
  import {
481
481
  readTailJsonl,
482
482
  readTailJsonlDetailed,
@@ -557,7 +557,7 @@ import {
557
557
  loadGateOverrides,
558
558
  loadPluginConfig,
559
559
  loadPluginConfigWithMeta
560
- } from "./index-49ptc9xx.js";
560
+ } from "./index-x7r2e7js.js";
561
561
  import {
562
562
  addDeferredWarning,
563
563
  advisoryWarn,
@@ -589,7 +589,7 @@ import {
589
589
  resolveContextWindow,
590
590
  resolveGeneratedAgentRole,
591
591
  stripKnownSwarmPrefix
592
- } from "./index-0874kghs.js";
592
+ } from "./index-k7aaj671.js";
593
593
  import {
594
594
  AGENT_TOOL_MAP,
595
595
  ALL_AGENT_NAMES,
@@ -3352,7 +3352,7 @@ async function importLegacyPrWorkflowGateStateIfNeeded(directory, sessionID, all
3352
3352
  return null;
3353
3353
  throw error2;
3354
3354
  }
3355
- const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-m37ynr6h.js")).readPrWorkflowGateStateForRecovery(directory, sessionID))?.state ?? null : await readPrWorkflowGateStateFileFromDisk(filePath, sessionID);
3355
+ const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-rw8gt6df.js")).readPrWorkflowGateStateForRecovery(directory, sessionID))?.state ?? null : await readPrWorkflowGateStateFileFromDisk(filePath, sessionID);
3356
3356
  if (!legacy)
3357
3357
  return null;
3358
3358
  const namespace = workflowGateStateCoordinationNamespace(sessionID);
@@ -3439,7 +3439,7 @@ async function deleteStateWhileLocked(directory, sessionID, options = {}) {
3439
3439
  let recoveryState = null;
3440
3440
  if (!currentAuthoritative) {
3441
3441
  if (options.allowSalvagedRead) {
3442
- const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-m37ynr6h.js");
3442
+ const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-rw8gt6df.js");
3443
3443
  recoveryState = (await readPrWorkflowGateStateForRecovery(directory, normalizedSessionID))?.state ?? null;
3444
3444
  }
3445
3445
  if (!recoveryState) {
@@ -14824,7 +14824,7 @@ function isLaneOwnedByCurrentSession(branchName, expectedSessionId) {
14824
14824
  return extracted === expectedSessionId;
14825
14825
  }
14826
14826
  async function inspectStandardWorktreeCollisionOwnership(identity) {
14827
- const collisionOwnership = await import("./worktree-collision-ownership-je4fb407.js");
14827
+ const collisionOwnership = await import("./worktree-collision-ownership-n1xyp54z.js");
14828
14828
  return collisionOwnership.inspectStandardWorktreeCollisionOwnership(identity);
14829
14829
  }
14830
14830
  async function runRecoveryGit(directory, args, timeoutMs = 15000) {
@@ -15250,7 +15250,7 @@ async function precreateStandardWorktreeSession(args) {
15250
15250
  const laneProfile = computeLaneRuntimeProfile(worktreeConfig.runtime_isolation, laneIndex, handle.worktreePath);
15251
15251
  if (laneProfile) {
15252
15252
  try {
15253
- const { writeLaneProfileToDiskReal } = await import("./core-9qt388hq.js");
15253
+ const { writeLaneProfileToDiskReal } = await import("./core-jv9mdvcd.js");
15254
15254
  await writeLaneProfileToDiskReal(handle.worktreePath, laneProfile.laneIndex, laneProfile.envOverrides);
15255
15255
  } catch {}
15256
15256
  }
@@ -16229,7 +16229,7 @@ async function finishStandardWorktreeDispatch(directory, dispatch, config, callI
16229
16229
  }
16230
16230
  clearWorktreeMergeStatus(statusKey);
16231
16231
  try {
16232
- const { removeLaneProfileFromDiskReal } = await import("./core-9qt388hq.js");
16232
+ const { removeLaneProfileFromDiskReal } = await import("./core-jv9mdvcd.js");
16233
16233
  await removeLaneProfileFromDiskReal(dispatch.handle.worktreePath, dispatch.laneIndex);
16234
16234
  } catch {}
16235
16235
  const state = serializationStateBySessionID.get(dispatch.parentSessionID);
@@ -23858,7 +23858,7 @@ function clearCriticalShownIds(sessionID) {
23858
23858
  async function rehydratePrSubscriptions(sessionID, directory) {
23859
23859
  const map = new Map;
23860
23860
  try {
23861
- const { listActive: listActive2 } = await import("./pr-subscriptions-hxxwszyr.js");
23861
+ const { listActive: listActive2 } = await import("./pr-subscriptions-cmt1xy16.js");
23862
23862
  const records = await listActive2(directory);
23863
23863
  for (const record of records) {
23864
23864
  if (record.sessionID !== sessionID)
@@ -40983,9 +40983,9 @@ function hashContent(content) {
40983
40983
  return createHash25("sha1").update(content).digest("hex");
40984
40984
  }
40985
40985
  async function loadConfigForPolicyCurator(directory) {
40986
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-j17hv98z.js");
40986
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-md85tz15.js");
40987
40987
  try {
40988
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-dbshccrr.js");
40988
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-bvxzbz33.js");
40989
40989
  const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
40990
40990
  return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
40991
40991
  } catch {
@@ -44043,7 +44043,7 @@ async function resolveCuratorLLMDelegate(directory, mode, sessionId) {
44043
44043
  const seam = _internals38.createCuratorLLMDelegate;
44044
44044
  if (seam)
44045
44045
  return seam(directory, mode, sessionId);
44046
- const { createCuratorLLMDelegate } = await import("./curator-llm-factory-drs36v1q.js");
44046
+ const { createCuratorLLMDelegate } = await import("./curator-llm-factory-660jd2ts.js");
44047
44047
  return createCuratorLLMDelegate(directory, mode, sessionId);
44048
44048
  }
44049
44049
  async function reconcileCloseTerminalStateForPlan(directory, targetPlan, options) {
@@ -44438,7 +44438,7 @@ async function runFinalizeStage(ctx) {
44438
44438
  }
44439
44439
  }
44440
44440
  try {
44441
- const { CuratorConfigSchema: CCS } = await import("./schema-j17hv98z.js");
44441
+ const { CuratorConfigSchema: CCS } = await import("./schema-md85tz15.js");
44442
44442
  const { config: pmLoadedConfig } = _internals38.loadPluginConfigWithMeta(ctx.directory);
44443
44443
  const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
44444
44444
  if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
@@ -46624,7 +46624,7 @@ function serializeAgentSession(s) {
46624
46624
  }
46625
46625
  async function writeSnapshot(directory, state) {
46626
46626
  try {
46627
- const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-pc8ykvh8.js");
46627
+ const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-6a2gvfcg.js");
46628
46628
  await ensureSnapshotCoordinationReady(directory);
46629
46629
  const snapshot = {
46630
46630
  version: 3,
@@ -49802,7 +49802,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
49802
49802
  };
49803
49803
  }
49804
49804
  async function sweepActiveNearDuplicates(directory, options = {}) {
49805
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-dbshccrr.js");
49805
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-bvxzbz33.js");
49806
49806
  const { config } = loadPluginConfigWithMeta2(directory);
49807
49807
  const sweepConfig = config.learning?.dedup_sweep;
49808
49808
  if (sweepConfig?.enabled === false)
@@ -50926,7 +50926,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
50926
50926
  }
50927
50927
  if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
50928
50928
  try {
50929
- const skillModule = await import("./skill-generator-vsfya55z.js");
50929
+ const skillModule = await import("./skill-generator-vfdf4q1p.js");
50930
50930
  for (const cand of skillCandidates) {
50931
50931
  if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
50932
50932
  continue;
@@ -51398,7 +51398,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
51398
51398
  } catch {}
51399
51399
  }
51400
51400
  if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
51401
- const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-pt21q3eh.js");
51401
+ const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-b5t956mg.js");
51402
51402
  for (const { id } of contradictedEntries) {
51403
51403
  try {
51404
51404
  await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
@@ -52230,7 +52230,7 @@ async function runCuratorPostMortem(directory, options = {}) {
52230
52230
  warnings.push("Failed to collect knowledge summary.");
52231
52231
  }
52232
52232
  try {
52233
- const { getScanStatus } = await import("./scan-cursor-be9hbq1v.js");
52233
+ const { getScanStatus } = await import("./scan-cursor-hgce5mtm.js");
52234
52234
  const scanStatus = await getScanStatus(directory);
52235
52235
  if (scanStatus.remaining_estimate > 0) {
52236
52236
  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.`);
@@ -52402,9 +52402,9 @@ var _internals57 = {
52402
52402
  verifyPostMortemKnowledgeActions,
52403
52403
  repairPostMortemActions,
52404
52404
  loadDefaultKnowledgeConfig: async (directory) => {
52405
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-j17hv98z.js");
52405
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-md85tz15.js");
52406
52406
  try {
52407
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-dbshccrr.js");
52407
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-bvxzbz33.js");
52408
52408
  const loaded = loadPluginConfigWithMeta2(directory);
52409
52409
  return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
52410
52410
  } catch {
@@ -52412,11 +52412,11 @@ var _internals57 = {
52412
52412
  }
52413
52413
  },
52414
52414
  applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
52415
- const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-ffz5pxgc.js");
52415
+ const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-hg6gxs8w.js");
52416
52416
  return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
52417
52417
  },
52418
52418
  checkHivePromotions: async (entries2, knowledgeConfig, directory) => {
52419
- const { checkHivePromotions } = await import("./hive-promoter-2g8nga0y.js");
52419
+ const { checkHivePromotions } = await import("./hive-promoter-091kpcqc.js");
52420
52420
  return checkHivePromotions(entries2, knowledgeConfig, directory);
52421
52421
  },
52422
52422
  applyProposalTriage: async (directory, triage) => {
@@ -52425,7 +52425,7 @@ var _internals57 = {
52425
52425
  activateProposal,
52426
52426
  listSkills: listSkills2,
52427
52427
  sanitizeSlug
52428
- } = await import("./skill-generator-vsfya55z.js");
52428
+ } = await import("./skill-generator-vfdf4q1p.js");
52429
52429
  const result = {
52430
52430
  approved: [],
52431
52431
  rejected: [],
@@ -52467,7 +52467,7 @@ var _internals57 = {
52467
52467
  return result;
52468
52468
  },
52469
52469
  readPriorDriftReports: async (directory) => {
52470
- const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-wf0sm2te.js");
52470
+ const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-jeqw1mp2.js");
52471
52471
  return readPriorDriftReports2(directory);
52472
52472
  },
52473
52473
  readSwarmKnowledge: (directory) => readKnowledge(resolveSwarmKnowledgePath(directory))
@@ -62263,9 +62263,9 @@ var _internals67 = {
62263
62263
  loadPluginConfigWithMeta,
62264
62264
  loadCuratorDeps: async () => {
62265
62265
  const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate }] = await Promise.all([
62266
- import("./schema-j17hv98z.js"),
62267
- import("./curator-ffz5pxgc.js"),
62268
- import("./curator-llm-factory-drs36v1q.js")
62266
+ import("./schema-md85tz15.js"),
62267
+ import("./curator-hg6gxs8w.js"),
62268
+ import("./curator-llm-factory-660jd2ts.js")
62269
62269
  ]);
62270
62270
  return { CuratorConfigSchema, curator, createCuratorLLMDelegate };
62271
62271
  }
@@ -64599,7 +64599,7 @@ async function computeCurationDiagnostics(directory, entries2) {
64599
64599
  let scanCompleted = false;
64600
64600
  let scanRemaining = 0;
64601
64601
  try {
64602
- const { getScanStatus } = await import("./scan-cursor-be9hbq1v.js");
64602
+ const { getScanStatus } = await import("./scan-cursor-hgce5mtm.js");
64603
64603
  const status = await getScanStatus(directory);
64604
64604
  scanGeneration = status.generation;
64605
64605
  scanCompleted = status.completed;
@@ -64609,10 +64609,10 @@ async function computeCurationDiagnostics(directory, entries2) {
64609
64609
  try {
64610
64610
  const { isLinked: isLinked2 } = await import("./knowledge-link-ap2274vm.js");
64611
64611
  if (isLinked2(directory)) {
64612
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-j17hv98z.js");
64612
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-md85tz15.js");
64613
64613
  let config;
64614
64614
  try {
64615
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-dbshccrr.js");
64615
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-bvxzbz33.js");
64616
64616
  const loaded = loadPluginConfigWithMeta2(directory);
64617
64617
  config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
64618
64618
  } catch {
@@ -66066,7 +66066,7 @@ async function handleDoctorCommand(directory, args) {
66066
66066
  const result = runConfigDoctor(config, directory);
66067
66067
  let output;
66068
66068
  if (enableAutoFix && result.hasAutoFixableIssues) {
66069
- const { runConfigDoctorWithFixes } = await import("./config-doctor-qgwpvrbz.js");
66069
+ const { runConfigDoctorWithFixes } = await import("./config-doctor-4168q3jg.js");
66070
66070
  const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
66071
66071
  applyLossy: true
66072
66072
  });
@@ -66104,7 +66104,7 @@ async function handleDoctorCommand(directory, args) {
66104
66104
  `;
66105
66105
  }
66106
66106
  try {
66107
- const { runModelPreflight } = await import("./model-preflight-xe0chjad.js");
66107
+ const { runModelPreflight } = await import("./model-preflight-k5hqqw6v.js");
66108
66108
  const preflight = await runModelPreflight(config, swarmState.opencodeClient, { generatedAgentNames: swarmState.generatedAgentNames });
66109
66109
  const missingSelection = preflight.resolutions.filter((resolution) => resolution.status === "missing-selection");
66110
66110
  const unresolved = preflight.catalogAvailable ? preflight.resolutions.filter((resolution) => resolution.status === "unresolved") : [];
@@ -67031,7 +67031,7 @@ async function handleEvidenceCommand(directory, args) {
67031
67031
  return formatTaskEvidenceMarkdown(evidenceData);
67032
67032
  }
67033
67033
  async function handleEvidenceSummaryCommand(directory) {
67034
- const { buildEvidenceSummary } = await import("./evidence-summary-service-8dfzjnxe.js");
67034
+ const { buildEvidenceSummary } = await import("./evidence-summary-service-jyxqw2m1.js");
67035
67035
  const artifact = await buildEvidenceSummary(directory);
67036
67036
  if (!artifact) {
67037
67037
  return "No plan found. Run `/swarm plan` to check plan status.";
@@ -91305,7 +91305,7 @@ function createCuratorLLMDelegate(directory, mode = "init", sessionId) {
91305
91305
  }
91306
91306
  const sdkOpts = signal ? { signal } : {};
91307
91307
  try {
91308
- const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-wsb0wbw6.js");
91308
+ const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-qyrptnat.js");
91309
91309
  const createResult = await client.session.create({
91310
91310
  ...sessionId ? {
91311
91311
  body: {
@@ -93278,7 +93278,7 @@ async function cancelPrFeedbackLoopUnlocked(directory, sessionID, reason) {
93278
93278
  clearedEvents: []
93279
93279
  };
93280
93280
  try {
93281
- const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-m37ynr6h.js");
93281
+ const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-rw8gt6df.js");
93282
93282
  await cancelPrFeedbackPublication2(directory, sessionID, reason);
93283
93283
  } catch (err) {
93284
93284
  warn(`[pr-feedback-loop] cancelPrFeedbackPublication failed (fail-open): ${err instanceof Error ? err.message : String(err)}`);
@@ -109442,7 +109442,7 @@ function buildDetailedHelp(commandName, entry) {
109442
109442
  async function handleHelpCommand(ctx) {
109443
109443
  const targetCommand = ctx.args.join(" ");
109444
109444
  if (!targetCommand) {
109445
- const { buildHelpText } = await import("./index-mz4zz59c.js");
109445
+ const { buildHelpText } = await import("./index-71mef79n.js");
109446
109446
  return buildHelpText();
109447
109447
  }
109448
109448
  const tokens = targetCommand.split(/\s+/);
@@ -109456,7 +109456,7 @@ async function handleHelpCommand(ctx) {
109456
109456
  > Note: \`/swarm ${resolved.key}\` is a deprecated alias for \`/swarm ${aliasTarget}\`.` : detailed;
109457
109457
  }
109458
109458
  const similar = _internals26.findSimilarCommands(targetCommand);
109459
- const { buildHelpText: fullHelp } = await import("./index-mz4zz59c.js");
109459
+ const { buildHelpText: fullHelp } = await import("./index-71mef79n.js");
109460
109460
  if (similar.length > 0) {
109461
109461
  return `Command '/swarm ${targetCommand}' not found.
109462
109462
 
@@ -109771,7 +109771,7 @@ var COMMAND_REGISTRY = {
109771
109771
  },
109772
109772
  "guardrail explain": {
109773
109773
  handler: async (ctx) => {
109774
- const { handleGuardrailExplain } = await import("./guardrail-explain-9g5y2gjm.js");
109774
+ const { handleGuardrailExplain } = await import("./guardrail-explain-59yy2tqf.js");
109775
109775
  return handleGuardrailExplain(ctx.directory, ctx.args);
109776
109776
  },
109777
109777
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -109781,7 +109781,7 @@ var COMMAND_REGISTRY = {
109781
109781
  },
109782
109782
  "guardrail reset": {
109783
109783
  handler: async (ctx) => {
109784
- const { handleGuardrailReset } = await import("./guardrail-reset-dcbmt2wr.js");
109784
+ const { handleGuardrailReset } = await import("./guardrail-reset-vfmv0k7c.js");
109785
109785
  return handleGuardrailReset(ctx.args, ctx.sessionID);
109786
109786
  },
109787
109787
  description: "Reset one exact active invocation/action circuit after repair",
@@ -109802,7 +109802,7 @@ var COMMAND_REGISTRY = {
109802
109802
  },
109803
109803
  "guardrail-log": {
109804
109804
  handler: async (ctx) => {
109805
- const { handleGuardrailLog } = await import("./guardrail-log-0g51p94w.js");
109805
+ const { handleGuardrailLog } = await import("./guardrail-log-r31dnben.js");
109806
109806
  return handleGuardrailLog(ctx.directory, ctx.args);
109807
109807
  },
109808
109808
  description: "Read the guardrail decision log (use --blocks-only for blocks)",
package/dist/cli/index.js CHANGED
@@ -14,44 +14,44 @@ import {
14
14
  readCachePackageVersion,
15
15
  resolveCommand,
16
16
  safeRealpathSync
17
- } from "./index-s7bseqza.js";
18
- import"./index-32vszgv0.js";
17
+ } from "./index-ye6gfx9y.js";
18
+ import"./index-jynrac8f.js";
19
19
  import"./index-hamqvzqn.js";
20
20
  import"./index-6g664sy8.js";
21
- import"./index-yk0r42nr.js";
22
- import"./index-046psajf.js";
23
- import"./index-7hvy33gc.js";
21
+ import"./index-1xdgk4t1.js";
22
+ import"./index-hy04ezjp.js";
23
+ import"./index-gjrdaj1s.js";
24
24
  import"./index-ya32wfkp.js";
25
25
  import"./index-txdagbh7.js";
26
- import"./index-7p4ym4q3.js";
26
+ import"./index-2nt83bmg.js";
27
27
  import"./index-6b295cas.js";
28
- import"./index-n107956q.js";
29
- import"./index-3skvygca.js";
30
- import"./index-jkxef52n.js";
28
+ import"./index-mbz2xj8c.js";
29
+ import"./index-chjqzp3m.js";
30
+ import"./index-5tavkatf.js";
31
31
  import"./index-rdec0y3z.js";
32
32
  import"./index-ar2gsn6b.js";
33
33
  import"./index-cjapb4hy.js";
34
34
  import"./index-zsrtt42s.js";
35
- import"./index-5ppx86w1.js";
36
- import"./index-131ay7x1.js";
35
+ import"./index-vchhgag9.js";
36
+ import"./index-vyjped9g.js";
37
37
  import"./index-3n5zsp31.js";
38
38
  import"./index-pt7h91zc.js";
39
39
  import"./index-q7sjgr1y.js";
40
- import"./index-76abqm8d.js";
41
- import"./index-depfky1j.js";
42
- import"./index-2c91cxdv.js";
43
- import"./index-57swfxyp.js";
44
- import"./index-qczxr0wh.js";
40
+ import"./index-x8rz7mhf.js";
41
+ import"./index-sxdb5gkf.js";
42
+ import"./index-sqzvjz50.js";
43
+ import"./index-vhrg8ypq.js";
44
+ import"./index-gkvsmx0p.js";
45
45
  import"./index-wy3zpwjy.js";
46
46
  import"./index-2s7dvzff.js";
47
- import"./index-gsgy1psq.js";
47
+ import"./index-wwaqa4s8.js";
48
48
  import"./index-earq3mda.js";
49
49
  import"./index-rtry5xyf.js";
50
- import"./index-6cvdk98y.js";
50
+ import"./index-e22mvyjw.js";
51
51
  import"./index-frcemc0b.js";
52
52
  import"./index-0725jpp7.js";
53
- import"./index-6b427dy8.js";
54
- import"./index-wfdx7yw2.js";
53
+ import"./index-eqytb5g4.js";
54
+ import"./index-cpwssar9.js";
55
55
  import"./index-jvk95e6y.js";
56
56
  import"./index-456awy1p.js";
57
57
  import"./index-f0nj3d8z.js";
@@ -59,7 +59,7 @@ import"./index-w9hxzcz4.js";
59
59
  import"./index-rdm3px0g.js";
60
60
  import"./index-ry16d01s.js";
61
61
  import"./index-zzvxj02e.js";
62
- import"./index-jc8pcf0r.js";
62
+ import"./index-q77d0tyn.js";
63
63
  import"./index-vzm6zre7.js";
64
64
  import"./index-ae75rja9.js";
65
65
  import"./index-475bkab8.js";
@@ -72,12 +72,12 @@ import"./index-ejhxgyvm.js";
72
72
  import"./index-7g4c7s5r.js";
73
73
  import"./index-k53a69vb.js";
74
74
  import"./index-gx2vp8gx.js";
75
- import"./index-49ptc9xx.js";
75
+ import"./index-x7r2e7js.js";
76
76
  import"./index-zxdawwc7.js";
77
77
  import {
78
78
  init_package,
79
79
  package_default
80
- } from "./index-0874kghs.js";
80
+ } from "./index-k7aaj671.js";
81
81
  import {
82
82
  DEFAULT_AGENT_CONFIGS,
83
83
  init_constants
@@ -645,7 +645,7 @@ async function main() {
645
645
  const exitCode = await run(["ci", ...args.slice(1)]);
646
646
  process.exit(exitCode);
647
647
  } else if (command === "mcp") {
648
- const { handleMcpCommand } = await import("./mcp-3nd85kww.js");
648
+ const { handleMcpCommand } = await import("./mcp-yq85067b.js");
649
649
  const exitCode = await handleMcpCommand(args.slice(1));
650
650
  process.exit(exitCode);
651
651
  } else {
@@ -9,15 +9,15 @@ import {
9
9
  maybeEscalateOnViolation,
10
10
  maybeQuarantineOnContradiction,
11
11
  readRecentEscalations
12
- } from "./index-3skvygca.js";
13
- import"./index-qczxr0wh.js";
12
+ } from "./index-chjqzp3m.js";
13
+ import"./index-gkvsmx0p.js";
14
14
  import"./index-wy3zpwjy.js";
15
15
  import"./index-2s7dvzff.js";
16
- import"./index-6cvdk98y.js";
16
+ import"./index-e22mvyjw.js";
17
17
  import"./index-frcemc0b.js";
18
18
  import"./index-0725jpp7.js";
19
19
  import"./index-zzvxj02e.js";
20
- import"./index-jc8pcf0r.js";
20
+ import"./index-q77d0tyn.js";
21
21
  import"./index-vzm6zre7.js";
22
22
  import"./index-ae75rja9.js";
23
23
  import"./index-475bkab8.js";
@@ -30,9 +30,9 @@ import"./index-ejhxgyvm.js";
30
30
  import"./index-7g4c7s5r.js";
31
31
  import"./index-k53a69vb.js";
32
32
  import"./index-gx2vp8gx.js";
33
- import"./index-49ptc9xx.js";
33
+ import"./index-x7r2e7js.js";
34
34
  import"./index-zxdawwc7.js";
35
- import"./index-0874kghs.js";
35
+ import"./index-k7aaj671.js";
36
36
  import"./index-wzec3c4g.js";
37
37
  import"./index-bk5tah7q.js";
38
38
  import"./index-gknz3bv1.js";
@@ -29,10 +29,10 @@ import {
29
29
  resolveKnowledgeCounterBaselinePath,
30
30
  resolveKnowledgeEventsPath,
31
31
  resolveLegacyApplicationLogPath
32
- } from "./index-qczxr0wh.js";
32
+ } from "./index-gkvsmx0p.js";
33
33
  import"./index-wy3zpwjy.js";
34
34
  import"./index-2s7dvzff.js";
35
- import"./index-6cvdk98y.js";
35
+ import"./index-e22mvyjw.js";
36
36
  import"./index-frcemc0b.js";
37
37
  import"./index-0725jpp7.js";
38
38
  import"./index-zzvxj02e.js";
@@ -47,9 +47,9 @@ import"./index-ejhxgyvm.js";
47
47
  import"./index-7g4c7s5r.js";
48
48
  import"./index-k53a69vb.js";
49
49
  import"./index-gx2vp8gx.js";
50
- import"./index-49ptc9xx.js";
50
+ import"./index-x7r2e7js.js";
51
51
  import"./index-zxdawwc7.js";
52
- import"./index-0874kghs.js";
52
+ import"./index-k7aaj671.js";
53
53
  import"./index-wzec3c4g.js";
54
54
  import"./index-bk5tah7q.js";
55
55
  import"./index-gknz3bv1.js";
@@ -43,7 +43,7 @@ import {
43
43
  transactKnowledge,
44
44
  transactKnowledgeWithCas,
45
45
  wordBigrams
46
- } from "./index-jc8pcf0r.js";
46
+ } from "./index-q77d0tyn.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-gsgy1psq.js";
26
+ } from "./index-wwaqa4s8.js";
27
27
  import"./index-earq3mda.js";
28
28
  import"./index-rtry5xyf.js";
29
- import"./index-jc8pcf0r.js";
29
+ import"./index-q77d0tyn.js";
30
30
  import"./index-vzm6zre7.js";
31
31
  import"./index-ae75rja9.js";
32
32
  import"./index-475bkab8.js";
@@ -95,7 +95,7 @@ function resolveMcpRoot(input) {
95
95
  }
96
96
  var _internals = {
97
97
  runMcpServer: async (options) => {
98
- const { runMcpServer } = await import("./server-wzrb59mh.js");
98
+ const { runMcpServer } = await import("./server-sstpfrq7.js");
99
99
  return runMcpServer(options);
100
100
  }
101
101
  };