opencode-swarm 7.151.0 → 7.151.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 (44) hide show
  1. package/dist/cli/{config-doctor-23ega26j.js → config-doctor-08zmx89c.js} +2 -2
  2. package/dist/cli/{core-3g4krkj8.js → core-w0gjhw5q.js} +1 -1
  3. package/dist/cli/{curator-llm-factory-k0nxn5gt.js → curator-llm-factory-jmx72zhc.js} +17 -17
  4. package/dist/cli/{curator-rym2wtn6.js → curator-twqjxden.js} +17 -17
  5. package/dist/cli/{evidence-summary-service-f0gvjesf.js → evidence-summary-service-py66zgn4.js} +6 -6
  6. package/dist/cli/{gate-evidence-cghq17xc.js → gate-evidence-ynhyzwsw.js} +2 -2
  7. package/dist/cli/{guardrail-explain-cv52smw2.js → guardrail-explain-j9h5r8gh.js} +18 -18
  8. package/dist/cli/{guardrail-log-wgwmh9b7.js → guardrail-log-7995v5q5.js} +3 -3
  9. package/dist/cli/{guardrail-reset-vx7zsmzd.js → guardrail-reset-seextj6h.js} +17 -17
  10. package/dist/cli/{hive-promoter-jb2nzv3j.js → hive-promoter-a6xtvynw.js} +17 -17
  11. package/dist/cli/{index-qa8bmwav.js → index-1z7kx41f.js} +1 -1
  12. package/dist/cli/{index-2qte9nr7.js → index-2xfffkk0.js} +1 -1
  13. package/dist/cli/{index-fkqfcv14.js → index-4y7n76bn.js} +1 -1
  14. package/dist/cli/{index-kghpgs47.js → index-5jwbepcr.js} +1 -1
  15. package/dist/cli/{index-xeptzfb6.js → index-5sh0kqf5.js} +1 -1
  16. package/dist/cli/{index-8wy7pb4a.js → index-7w2b1z4j.js} +2 -2
  17. package/dist/cli/{index-02qc4ehj.js → index-9d9p7bv2.js} +3 -3
  18. package/dist/cli/{index-7qbyetsf.js → index-a2phfdsv.js} +1 -1
  19. package/dist/cli/{index-bfc4bbq4.js → index-akef15kb.js} +3 -3
  20. package/dist/cli/{index-wxkgy9gh.js → index-fbj6wvew.js} +3 -3
  21. package/dist/cli/{index-vs8wtavs.js → index-gqss5zbr.js} +1 -1
  22. package/dist/cli/{index-vradyw0x.js → index-hw93dwd0.js} +19 -19
  23. package/dist/cli/{index-fybg880e.js → index-kzdv0g9e.js} +49 -49
  24. package/dist/cli/{index-5ep31be7.js → index-n35866rr.js} +1 -1
  25. package/dist/cli/{index-sdff3rvj.js → index-npzmqk01.js} +4 -4
  26. package/dist/cli/{index-tp1avc8j.js → index-qmwed766.js} +2 -2
  27. package/dist/cli/{index-zkxnba57.js → index-t9h95vjd.js} +5 -5
  28. package/dist/cli/{index-tfkc0zf4.js → index-twhhwe74.js} +1 -1
  29. package/dist/cli/{index-e9qh1j19.js → index-xtyxnxf4.js} +2 -2
  30. package/dist/cli/{index-sg48w5e4.js → index-xysb3ed7.js} +1 -1
  31. package/dist/cli/{index-wna9f75x.js → index-z09fmg67.js} +3 -3
  32. package/dist/cli/index.js +17 -17
  33. package/dist/cli/{knowledge-escalator-a9dwxqz8.js → knowledge-escalator-bqnkq3k7.js} +6 -6
  34. package/dist/cli/{knowledge-events-0q4sb713.js → knowledge-events-rz3mt7gf.js} +4 -4
  35. package/dist/cli/{knowledge-store-y2nbt9jk.js → knowledge-store-1m74b90j.js} +1 -1
  36. package/dist/cli/{knowledge-validator-4wr1m0xa.js → knowledge-validator-hfvhpkgk.js} +2 -2
  37. package/dist/cli/{scan-cursor-bsrfrxm6.js → scan-cursor-b36bzxkt.js} +2 -2
  38. package/dist/cli/{schema-s6yh3rst.js → schema-sc332es3.js} +1 -1
  39. package/dist/cli/{scope-persistence-f77w4jrx.js → scope-persistence-phkj8438.js} +4 -4
  40. package/dist/cli/{skill-generator-jr7c8fcg.js → skill-generator-2d005nr6.js} +7 -7
  41. package/dist/cli/{worktree-isolation-ka20b0rm.js → worktree-isolation-zpgkd71h.js} +17 -17
  42. package/dist/commands/registry.d.ts +2 -2
  43. package/dist/index.js +3 -3
  44. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-8wy7pb4a.js";
4
+ } from "./index-7w2b1z4j.js";
5
5
  import {
6
6
  handleGuardrailLog
7
- } from "./index-2qte9nr7.js";
7
+ } from "./index-2xfffkk0.js";
8
8
  import {
9
9
  COMMAND_REGISTRY,
10
10
  SWARM_COMMAND_TOOL_ALLOWLIST,
@@ -85,52 +85,52 @@ import {
85
85
  handleWriteRetroCommand,
86
86
  normalizeSwarmCommandInput,
87
87
  resolveCommand
88
- } from "./index-fybg880e.js";
88
+ } from "./index-kzdv0g9e.js";
89
89
  import"./index-jjpppdvb.js";
90
- import"./index-qa8bmwav.js";
91
- import"./index-kghpgs47.js";
92
- import"./index-bfc4bbq4.js";
90
+ import"./index-1z7kx41f.js";
91
+ import"./index-5jwbepcr.js";
92
+ import"./index-akef15kb.js";
93
93
  import"./index-9wpr1p2g.js";
94
94
  import"./index-134d35c1.js";
95
95
  import"./index-nj6rmyeh.js";
96
96
  import"./index-y8552snf.js";
97
- import"./index-zkxnba57.js";
98
- import"./index-sg48w5e4.js";
97
+ import"./index-t9h95vjd.js";
98
+ import"./index-xysb3ed7.js";
99
99
  import"./index-70ha9e09.js";
100
100
  import"./index-c8s9a3zh.js";
101
101
  import"./index-9ss2m4rs.js";
102
102
  import"./index-vnn7qq8c.js";
103
103
  import"./index-0q2mjxp2.js";
104
- import"./index-wna9f75x.js";
105
- import"./index-5ep31be7.js";
104
+ import"./index-z09fmg67.js";
105
+ import"./index-n35866rr.js";
106
106
  import"./index-f73px21b.js";
107
107
  import"./index-rtry5xyf.js";
108
108
  import"./index-zsrtt42s.js";
109
109
  import"./index-z4bg1hv8.js";
110
110
  import"./index-fxvgaeq4.js";
111
- import"./index-xeptzfb6.js";
112
- import"./index-tfkc0zf4.js";
113
- import"./index-e9qh1j19.js";
114
- import"./index-vs8wtavs.js";
111
+ import"./index-5sh0kqf5.js";
112
+ import"./index-twhhwe74.js";
113
+ import"./index-xtyxnxf4.js";
114
+ import"./index-gqss5zbr.js";
115
115
  import"./index-6zkm4p7p.js";
116
116
  import"./index-556ja8an.js";
117
117
  import"./index-b43rt5ph.js";
118
118
  import"./index-q7sjgr1y.js";
119
119
  import"./index-3g0xk6tk.js";
120
120
  import"./index-85gkedsf.js";
121
- import"./index-sdff3rvj.js";
122
- import"./index-wxkgy9gh.js";
123
- import"./index-tp1avc8j.js";
121
+ import"./index-npzmqk01.js";
122
+ import"./index-fbj6wvew.js";
123
+ import"./index-qmwed766.js";
124
124
  import"./index-gprxjmm7.js";
125
125
  import"./index-n832052r.js";
126
126
  import"./index-4cgee5vh.js";
127
127
  import"./index-z6xqpmqg.js";
128
128
  import"./index-r3mvsbtq.js";
129
- import"./index-7qbyetsf.js";
129
+ import"./index-a2phfdsv.js";
130
130
  import {
131
131
  init_schema,
132
132
  stripKnownSwarmPrefix
133
- } from "./index-fkqfcv14.js";
133
+ } from "./index-4y7n76bn.js";
134
134
  import {
135
135
  AGENT_TOOL_MAP,
136
136
  ORCHESTRATOR_NAME,
@@ -12,13 +12,13 @@ import {
12
12
  normalizeToolNameLowerCase,
13
13
  redactDecisionLineForArchive,
14
14
  stableCanonicalStringify
15
- } from "./index-qa8bmwav.js";
15
+ } from "./index-1z7kx41f.js";
16
16
  import {
17
17
  detectStraySwarmDirs,
18
18
  readDoctorArtifact,
19
19
  removeStraySwarmDir,
20
20
  runConfigDoctor
21
- } from "./index-kghpgs47.js";
21
+ } from "./index-5jwbepcr.js";
22
22
  import {
23
23
  MAX_TRANSIENT_RETRIES,
24
24
  archiveEvidence,
@@ -64,7 +64,7 @@ import {
64
64
  updateTaskStatus,
65
65
  validateProjectRoot,
66
66
  validateSymlinkBoundary
67
- } from "./index-bfc4bbq4.js";
67
+ } from "./index-akef15kb.js";
68
68
  import {
69
69
  EvaluationTaskV1Schema,
70
70
  GateAuditManifestV1Schema,
@@ -107,12 +107,12 @@ import {
107
107
  } from "./index-y8552snf.js";
108
108
  import {
109
109
  readRecentEscalations
110
- } from "./index-zkxnba57.js";
110
+ } from "./index-t9h95vjd.js";
111
111
  import {
112
112
  alreadyCuratedThisGeneration,
113
113
  claimNextScanBatch,
114
114
  resolveCohortId
115
- } from "./index-sg48w5e4.js";
115
+ } from "./index-xysb3ed7.js";
116
116
  import {
117
117
  CURATOR_INIT_PROMPT,
118
118
  CURATOR_PHASE_PROMPT,
@@ -182,7 +182,7 @@ import {
182
182
  retireSkill,
183
183
  selectCandidateEntries,
184
184
  syncBundledProjectSkillsIfMissingAsync
185
- } from "./index-wna9f75x.js";
185
+ } from "./index-z09fmg67.js";
186
186
  import {
187
187
  appendUnactionable,
188
188
  quarantineEntry,
@@ -193,7 +193,7 @@ import {
193
193
  validateActionableFields,
194
194
  validateLesson,
195
195
  validateSkillPath
196
- } from "./index-5ep31be7.js";
196
+ } from "./index-n35866rr.js";
197
197
  import {
198
198
  authorizeCuration,
199
199
  buildConfigFingerprintInput
@@ -254,18 +254,18 @@ import {
254
254
  transitionTaskWorkflowEvidence,
255
255
  withTaskEvidenceTransaction,
256
256
  writeWorkflowWalFile
257
- } from "./index-xeptzfb6.js";
257
+ } from "./index-5sh0kqf5.js";
258
258
  import {
259
259
  provisionWorktree,
260
260
  removeWorktree
261
- } from "./index-tfkc0zf4.js";
261
+ } from "./index-twhhwe74.js";
262
262
  import {
263
263
  MAX_PENDING_SCOPE_BINDINGS,
264
264
  canonicalWorkspaceIdentity,
265
265
  clearAllScopes,
266
266
  clearScopeBindingFromDisk,
267
267
  clearScopeBindings
268
- } from "./index-e9qh1j19.js";
268
+ } from "./index-xtyxnxf4.js";
269
269
  import {
270
270
  appendLedgerEvent,
271
271
  computePlanHash,
@@ -280,7 +280,7 @@ import {
280
280
  readPlanEpochIdentity,
281
281
  replayFromLedgerWithStatus,
282
282
  takeSnapshotEvent
283
- } from "./index-vs8wtavs.js";
283
+ } from "./index-gqss5zbr.js";
284
284
  import {
285
285
  CORE_EVENT_LOCKED,
286
286
  appendCoreEventSync,
@@ -342,7 +342,7 @@ import {
342
342
  transactFile,
343
343
  transactKnowledge,
344
344
  wordBigrams
345
- } from "./index-sdff3rvj.js";
345
+ } from "./index-npzmqk01.js";
346
346
  import {
347
347
  MAX_EVENT_LOG_ENTRIES,
348
348
  _internals as _internals2,
@@ -356,10 +356,10 @@ import {
356
356
  recordKnowledgeEvent,
357
357
  recordPhaseCloseIntent,
358
358
  resolveKnowledgeEventsPath
359
- } from "./index-wxkgy9gh.js";
359
+ } from "./index-fbj6wvew.js";
360
360
  import {
361
361
  resolveWorktreeIsolationConfig
362
- } from "./index-tp1avc8j.js";
362
+ } from "./index-qmwed766.js";
363
363
  import {
364
364
  RetrospectiveEvidenceSchema
365
365
  } from "./index-gprxjmm7.js";
@@ -381,7 +381,7 @@ import {
381
381
  init_loader,
382
382
  loadPluginConfig,
383
383
  loadPluginConfigWithMeta
384
- } from "./index-7qbyetsf.js";
384
+ } from "./index-a2phfdsv.js";
385
385
  import {
386
386
  DEFAULT_SKILL_OPT_CONFIG,
387
387
  FALLBACK_MODELS_MAX,
@@ -395,7 +395,7 @@ import {
395
395
  package_default,
396
396
  resolveAutoReviewConfig,
397
397
  stripKnownSwarmPrefix
398
- } from "./index-fkqfcv14.js";
398
+ } from "./index-4y7n76bn.js";
399
399
  import {
400
400
  AGENT_TOOL_MAP,
401
401
  ALL_AGENT_NAMES,
@@ -5601,7 +5601,7 @@ async function cleanupRecoveredWorktree(directory, descriptor) {
5601
5601
  awaitingMergeByCallID,
5602
5602
  cleanupStandardWorktreeForCallId,
5603
5603
  standardWorktreeByCallID
5604
- } = await import("./worktree-isolation-ka20b0rm.js");
5604
+ } = await import("./worktree-isolation-zpgkd71h.js");
5605
5605
  standardWorktreeByCallID.delete(descriptor.callID);
5606
5606
  if (hasResidue)
5607
5607
  awaitingMergeByCallID.set(descriptor.callID, {
@@ -5703,7 +5703,7 @@ async function recoverCoderSettlement(directory, taskId) {
5703
5703
  awaitingMergeByCallID,
5704
5704
  finishStandardWorktreeDispatch,
5705
5705
  standardWorktreeByCallID
5706
- } = await import("./worktree-isolation-ka20b0rm.js");
5706
+ } = await import("./worktree-isolation-zpgkd71h.js");
5707
5707
  const descriptor = wal.worktree;
5708
5708
  const reconstructedDispatch = {
5709
5709
  callID: descriptor.callID,
@@ -18505,7 +18505,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
18505
18505
  };
18506
18506
  }
18507
18507
  async function sweepActiveNearDuplicates(directory, options = {}) {
18508
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-02qc4ehj.js");
18508
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-9d9p7bv2.js");
18509
18509
  const { config } = loadPluginConfigWithMeta2(directory);
18510
18510
  const sweepConfig = config.learning?.dedup_sweep;
18511
18511
  if (sweepConfig?.enabled === false)
@@ -19635,7 +19635,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
19635
19635
  }
19636
19636
  if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
19637
19637
  try {
19638
- const skillModule = await import("./skill-generator-jr7c8fcg.js");
19638
+ const skillModule = await import("./skill-generator-2d005nr6.js");
19639
19639
  for (const cand of skillCandidates) {
19640
19640
  if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
19641
19641
  continue;
@@ -20107,7 +20107,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
20107
20107
  } catch {}
20108
20108
  }
20109
20109
  if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
20110
- const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-a9dwxqz8.js");
20110
+ const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-bqnkq3k7.js");
20111
20111
  for (const { id } of contradictedEntries) {
20112
20112
  try {
20113
20113
  await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
@@ -20926,7 +20926,7 @@ async function runCuratorPostMortem(directory, options = {}) {
20926
20926
  warnings.push("Failed to collect knowledge summary.");
20927
20927
  }
20928
20928
  try {
20929
- const { getScanStatus } = await import("./scan-cursor-bsrfrxm6.js");
20929
+ const { getScanStatus } = await import("./scan-cursor-b36bzxkt.js");
20930
20930
  const scanStatus = await getScanStatus(directory);
20931
20931
  if (scanStatus.remaining_estimate > 0) {
20932
20932
  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.`);
@@ -21098,9 +21098,9 @@ var _internals26 = {
21098
21098
  verifyPostMortemKnowledgeActions,
21099
21099
  repairPostMortemActions,
21100
21100
  loadDefaultKnowledgeConfig: async (directory) => {
21101
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-s6yh3rst.js");
21101
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-sc332es3.js");
21102
21102
  try {
21103
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-02qc4ehj.js");
21103
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-9d9p7bv2.js");
21104
21104
  const loaded = loadPluginConfigWithMeta2(directory);
21105
21105
  return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
21106
21106
  } catch {
@@ -21108,11 +21108,11 @@ var _internals26 = {
21108
21108
  }
21109
21109
  },
21110
21110
  applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
21111
- const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-rym2wtn6.js");
21111
+ const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-twqjxden.js");
21112
21112
  return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
21113
21113
  },
21114
21114
  checkHivePromotions: async (entries, knowledgeConfig, directory) => {
21115
- const { checkHivePromotions } = await import("./hive-promoter-jb2nzv3j.js");
21115
+ const { checkHivePromotions } = await import("./hive-promoter-a6xtvynw.js");
21116
21116
  return checkHivePromotions(entries, knowledgeConfig, directory);
21117
21117
  },
21118
21118
  applyProposalTriage: async (directory, triage) => {
@@ -21121,7 +21121,7 @@ var _internals26 = {
21121
21121
  activateProposal,
21122
21122
  listSkills: listSkills2,
21123
21123
  sanitizeSlug
21124
- } = await import("./skill-generator-jr7c8fcg.js");
21124
+ } = await import("./skill-generator-2d005nr6.js");
21125
21125
  const result = {
21126
21126
  approved: [],
21127
21127
  rejected: [],
@@ -22451,9 +22451,9 @@ function hashContent(content) {
22451
22451
  return createHash10("sha1").update(content).digest("hex");
22452
22452
  }
22453
22453
  async function loadConfigForPolicyCurator(directory) {
22454
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-s6yh3rst.js");
22454
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-sc332es3.js");
22455
22455
  try {
22456
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-02qc4ehj.js");
22456
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-9d9p7bv2.js");
22457
22457
  const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
22458
22458
  return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
22459
22459
  } catch {
@@ -33660,7 +33660,7 @@ async function runFinalizeStage(ctx) {
33660
33660
  }
33661
33661
  }
33662
33662
  try {
33663
- const { CuratorConfigSchema: CCS } = await import("./schema-s6yh3rst.js");
33663
+ const { CuratorConfigSchema: CCS } = await import("./schema-sc332es3.js");
33664
33664
  const { config: pmLoadedConfig } = _internals41.loadPluginConfigWithMeta(ctx.directory);
33665
33665
  const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
33666
33666
  if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
@@ -35873,9 +35873,9 @@ var _internals45 = {
35873
35873
  loadPluginConfigWithMeta,
35874
35874
  loadCuratorDeps: async () => {
35875
35875
  const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate: createCuratorLLMDelegate2 }] = await Promise.all([
35876
- import("./schema-s6yh3rst.js"),
35877
- import("./curator-rym2wtn6.js"),
35878
- import("./curator-llm-factory-k0nxn5gt.js")
35876
+ import("./schema-sc332es3.js"),
35877
+ import("./curator-twqjxden.js"),
35878
+ import("./curator-llm-factory-jmx72zhc.js")
35879
35879
  ]);
35880
35880
  return { CuratorConfigSchema, curator, createCuratorLLMDelegate: createCuratorLLMDelegate2 };
35881
35881
  }
@@ -36865,7 +36865,7 @@ async function computeCurationDiagnostics(directory, entries) {
36865
36865
  let scanCompleted = false;
36866
36866
  let scanRemaining = 0;
36867
36867
  try {
36868
- const { getScanStatus } = await import("./scan-cursor-bsrfrxm6.js");
36868
+ const { getScanStatus } = await import("./scan-cursor-b36bzxkt.js");
36869
36869
  const status = await getScanStatus(directory);
36870
36870
  scanGeneration = status.generation;
36871
36871
  scanCompleted = status.completed;
@@ -36875,10 +36875,10 @@ async function computeCurationDiagnostics(directory, entries) {
36875
36875
  try {
36876
36876
  const { isLinked: isLinked2 } = await import("./knowledge-link-v7hj1h8m.js");
36877
36877
  if (isLinked2(directory)) {
36878
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-s6yh3rst.js");
36878
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-sc332es3.js");
36879
36879
  let config;
36880
36880
  try {
36881
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-02qc4ehj.js");
36881
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-9d9p7bv2.js");
36882
36882
  const loaded = loadPluginConfigWithMeta2(directory);
36883
36883
  config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
36884
36884
  } catch {
@@ -38189,7 +38189,7 @@ async function handleDoctorCommand(directory, args) {
38189
38189
  const result = runConfigDoctor(config, directory);
38190
38190
  let output;
38191
38191
  if (enableAutoFix && result.hasAutoFixableIssues) {
38192
- const { runConfigDoctorWithFixes } = await import("./config-doctor-23ega26j.js");
38192
+ const { runConfigDoctorWithFixes } = await import("./config-doctor-08zmx89c.js");
38193
38193
  const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
38194
38194
  applyLossy: true
38195
38195
  });
@@ -39129,7 +39129,7 @@ async function handleEvidenceCommand(directory, args) {
39129
39129
  return formatTaskEvidenceMarkdown(evidenceData);
39130
39130
  }
39131
39131
  async function handleEvidenceSummaryCommand(directory) {
39132
- const { buildEvidenceSummary } = await import("./evidence-summary-service-f0gvjesf.js");
39132
+ const { buildEvidenceSummary } = await import("./evidence-summary-service-py66zgn4.js");
39133
39133
  const artifact = await buildEvidenceSummary(directory);
39134
39134
  if (!artifact) {
39135
39135
  return "No plan found. Run `/swarm plan` to check plan status.";
@@ -72432,7 +72432,7 @@ function buildDetailedHelp(commandName, entry) {
72432
72432
  async function handleHelpCommand(ctx) {
72433
72433
  const targetCommand = ctx.args.join(" ");
72434
72434
  if (!targetCommand) {
72435
- const { buildHelpText } = await import("./index-vradyw0x.js");
72435
+ const { buildHelpText } = await import("./index-hw93dwd0.js");
72436
72436
  return buildHelpText();
72437
72437
  }
72438
72438
  const tokens = targetCommand.split(/\s+/);
@@ -72441,7 +72441,7 @@ async function handleHelpCommand(ctx) {
72441
72441
  return _internals99.buildDetailedHelp(resolved.key, resolved.entry);
72442
72442
  }
72443
72443
  const similar = _internals99.findSimilarCommands(targetCommand);
72444
- const { buildHelpText: fullHelp } = await import("./index-vradyw0x.js");
72444
+ const { buildHelpText: fullHelp } = await import("./index-hw93dwd0.js");
72445
72445
  if (similar.length > 0) {
72446
72446
  return `Command '/swarm ${targetCommand}' not found.
72447
72447
 
@@ -72508,7 +72508,7 @@ var COMMAND_REGISTRY = {
72508
72508
  },
72509
72509
  status: {
72510
72510
  handler: async (ctx) => handleStatusCommand(ctx.directory, ctx.agents, ctx.sessionID),
72511
- description: "Show current swarm state",
72511
+ description: "Show current swarm state (plus background-work health when hooks.background_subagents is enabled)",
72512
72512
  category: "core",
72513
72513
  clashesWithNativeCcCommand: "/status",
72514
72514
  toolPolicy: "agent",
@@ -72621,7 +72621,7 @@ var COMMAND_REGISTRY = {
72621
72621
  },
72622
72622
  "guardrail explain": {
72623
72623
  handler: async (ctx) => {
72624
- const { handleGuardrailExplain } = await import("./guardrail-explain-cv52smw2.js");
72624
+ const { handleGuardrailExplain } = await import("./guardrail-explain-j9h5r8gh.js");
72625
72625
  return handleGuardrailExplain(ctx.directory, ctx.args);
72626
72626
  },
72627
72627
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -72631,7 +72631,7 @@ var COMMAND_REGISTRY = {
72631
72631
  },
72632
72632
  "guardrail reset": {
72633
72633
  handler: async (ctx) => {
72634
- const { handleGuardrailReset } = await import("./guardrail-reset-vx7zsmzd.js");
72634
+ const { handleGuardrailReset } = await import("./guardrail-reset-seextj6h.js");
72635
72635
  return handleGuardrailReset(ctx.args, ctx.sessionID);
72636
72636
  },
72637
72637
  description: "Reset one exact active invocation/action circuit after repair",
@@ -72640,7 +72640,7 @@ var COMMAND_REGISTRY = {
72640
72640
  },
72641
72641
  "guardrail-explain": {
72642
72642
  handler: async (ctx) => {
72643
- const { handleGuardrailExplain } = await import("./guardrail-explain-cv52smw2.js");
72643
+ const { handleGuardrailExplain } = await import("./guardrail-explain-j9h5r8gh.js");
72644
72644
  return handleGuardrailExplain(ctx.directory, ctx.args);
72645
72645
  },
72646
72646
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -72650,7 +72650,7 @@ var COMMAND_REGISTRY = {
72650
72650
  },
72651
72651
  "guardrail-reset": {
72652
72652
  handler: async (ctx) => {
72653
- const { handleGuardrailReset } = await import("./guardrail-reset-vx7zsmzd.js");
72653
+ const { handleGuardrailReset } = await import("./guardrail-reset-seextj6h.js");
72654
72654
  return handleGuardrailReset(ctx.args, ctx.sessionID);
72655
72655
  },
72656
72656
  description: "Reset one exact active invocation/action circuit after repair",
@@ -72660,7 +72660,7 @@ var COMMAND_REGISTRY = {
72660
72660
  },
72661
72661
  "guardrail-log": {
72662
72662
  handler: async (ctx) => {
72663
- const { handleGuardrailLog } = await import("./guardrail-log-wgwmh9b7.js");
72663
+ const { handleGuardrailLog } = await import("./guardrail-log-7995v5q5.js");
72664
72664
  return handleGuardrailLog(ctx.directory, ctx.args);
72665
72665
  },
72666
72666
  description: "Read the guardrail decision log (use --blocks-only for blocks)",
@@ -72868,7 +72868,7 @@ var COMMAND_REGISTRY = {
72868
72868
  },
72869
72869
  info: {
72870
72870
  handler: async (ctx) => handleStatusCommand(ctx.directory, ctx.agents, ctx.sessionID),
72871
- description: "Show current swarm state",
72871
+ description: "Show current swarm state (plus background-work health when hooks.background_subagents is enabled)",
72872
72872
  category: "core",
72873
72873
  aliasOf: "status",
72874
72874
  deprecated: true
@@ -79650,7 +79650,7 @@ async function precreateStandardWorktreeSession(args) {
79650
79650
  const laneProfile = computeLaneRuntimeProfile(worktreeConfig.runtime_isolation, laneIndex, provisionResult.worktreePath);
79651
79651
  if (laneProfile) {
79652
79652
  try {
79653
- const { writeLaneProfileToDiskReal } = await import("./core-3g4krkj8.js");
79653
+ const { writeLaneProfileToDiskReal } = await import("./core-w0gjhw5q.js");
79654
79654
  await writeLaneProfileToDiskReal(provisionResult.worktreePath, laneProfile.laneIndex, laneProfile.envOverrides);
79655
79655
  } catch {}
79656
79656
  }
@@ -80308,7 +80308,7 @@ async function finishStandardWorktreeDispatch(directory, dispatch, config, callI
80308
80308
  }
80309
80309
  clearWorktreeMergeStatus(statusKey);
80310
80310
  try {
80311
- const { removeLaneProfileFromDiskReal } = await import("./core-3g4krkj8.js");
80311
+ const { removeLaneProfileFromDiskReal } = await import("./core-w0gjhw5q.js");
80312
80312
  await removeLaneProfileFromDiskReal(dispatch.handle.worktreePath, dispatch.laneIndex);
80313
80313
  } catch {}
80314
80314
  const state = serializationStateBySessionID.get(dispatch.parentSessionID);
@@ -9,7 +9,7 @@ import {
9
9
  resolveSwarmKnowledgePath,
10
10
  resolveSwarmRejectedPath,
11
11
  transactKnowledge
12
- } from "./index-sdff3rvj.js";
12
+ } from "./index-npzmqk01.js";
13
13
  import {
14
14
  resolveKnowledgeStoreDir
15
15
  } from "./index-v3gshkpz.js";
@@ -713,7 +713,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
713
713
  const {
714
714
  readAuthoritativeKnowledgeCounterRollups,
715
715
  effectiveRetrievalOutcomes
716
- } = await import("./knowledge-events-0q4sb713.js");
716
+ } = await import("./knowledge-events-rz3mt7gf.js");
717
717
  const rollups = await readAuthoritativeKnowledgeCounterRollups(directory);
718
718
  const flagIds = new Set;
719
719
  for (const e of atFloor) {
@@ -780,11 +780,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
780
780
  });
781
781
  }
782
782
  if (action === "quarantine" && toQuarantine.length > 0) {
783
- const { quarantineEntry } = await import("./knowledge-validator-4wr1m0xa.js");
784
- const { KnowledgeConfigSchema } = await import("./schema-s6yh3rst.js");
783
+ const { quarantineEntry } = await import("./knowledge-validator-hfvhpkgk.js");
784
+ const { KnowledgeConfigSchema } = await import("./schema-sc332es3.js");
785
785
  let config;
786
786
  try {
787
- const { loadPluginConfigWithMeta } = await import("./index-02qc4ehj.js");
787
+ const { loadPluginConfigWithMeta } = await import("./index-9d9p7bv2.js");
788
788
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
789
789
  config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
790
790
  } catch {
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  init_loader,
4
4
  loadPluginConfigWithMeta
5
- } from "./index-7qbyetsf.js";
5
+ } from "./index-a2phfdsv.js";
6
6
  import {
7
7
  init_schema
8
- } from "./index-fkqfcv14.js";
8
+ } from "./index-4y7n76bn.js";
9
9
  import {
10
10
  DEFAULT_WORKTREE_ISOLATION_CONFIG,
11
11
  init_constants
@@ -6,12 +6,12 @@ import {
6
6
  resolveSwarmKnowledgePath,
7
7
  transactKnowledge,
8
8
  wordBigrams
9
- } from "./index-sdff3rvj.js";
9
+ } from "./index-npzmqk01.js";
10
10
  import {
11
11
  queryHistoricalOutcomes,
12
12
  readKnowledgeEvents,
13
13
  recordKnowledgeEvent
14
- } from "./index-wxkgy9gh.js";
14
+ } from "./index-fbj6wvew.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-4wr1m0xa.js");
227
+ const { quarantineEntry } = await import("./knowledge-validator-hfvhpkgk.js");
228
228
  let policyConfig;
229
229
  try {
230
- const { KnowledgeConfigSchema } = await import("./schema-s6yh3rst.js");
231
- const { loadPluginConfigWithMeta } = await import("./index-02qc4ehj.js");
230
+ const { KnowledgeConfigSchema } = await import("./schema-sc332es3.js");
231
+ const { loadPluginConfigWithMeta } = await import("./index-9d9p7bv2.js");
232
232
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
233
233
  policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
234
234
  } catch {
@@ -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-f77w4jrx.js");
95
+ const { writeScopeToDisk: realWrite } = await import("./scope-persistence-phkj8438.js");
96
96
  return realWrite(directory, taskId, files);
97
97
  },
98
98
  writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  computePlanStructureHash,
4
4
  derivePlanId
5
- } from "./index-vs8wtavs.js";
5
+ } from "./index-gqss5zbr.js";
6
6
  import {
7
7
  appendCoreEventSync
8
8
  } from "./index-6zkm4p7p.js";
@@ -11,7 +11,7 @@ import {
11
11
  } from "./index-556ja8an.js";
12
12
  import {
13
13
  PlanSchema
14
- } from "./index-7qbyetsf.js";
14
+ } from "./index-a2phfdsv.js";
15
15
  import {
16
16
  atomicWriteSwarmFile,
17
17
  atomicWriteSwarmFileSync
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  readKnowledge,
4
4
  transactKnowledge
5
- } from "./index-sdff3rvj.js";
5
+ } from "./index-npzmqk01.js";
6
6
  import {
7
7
  init_git_executable,
8
8
  resolveGitExecutableAsync
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  ALLOWED_SKILL_PATH_PREFIXES,
4
4
  validateSkillPath
5
- } from "./index-5ep31be7.js";
5
+ } from "./index-n35866rr.js";
6
6
  import {
7
7
  withTimeoutSignal
8
8
  } from "./index-q7sjgr1y.js";
@@ -12,11 +12,11 @@ import {
12
12
  resolveHiveKnowledgePath,
13
13
  resolveSwarmKnowledgePath,
14
14
  transactKnowledge
15
- } from "./index-sdff3rvj.js";
15
+ } from "./index-npzmqk01.js";
16
16
  import {
17
17
  effectiveRetrievalOutcomes,
18
18
  readAuthoritativeKnowledgeCounterRollups
19
- } from "./index-wxkgy9gh.js";
19
+ } from "./index-fbj6wvew.js";
20
20
  import {
21
21
  advisoryWarn,
22
22
  init_warning_buffer