opencode-swarm 7.172.1 → 7.172.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
  2. package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
  3. package/dist/cli/{coder-settlement-pw4jbrez.js → coder-settlement-trba7st8.js} +4 -4
  4. package/dist/cli/{config-doctor-ab0ckcsc.js → config-doctor-229ewr8f.js} +3 -3
  5. package/dist/cli/{core-ty98bsnz.js → core-2ytpkhxc.js} +2 -2
  6. package/dist/cli/{curator-llm-factory-69vje2m7.js → curator-llm-factory-8evp80zs.js} +20 -20
  7. package/dist/cli/{curator-rvrhbsy2.js → curator-qfwgj2y7.js} +20 -20
  8. package/dist/cli/{evidence-summary-service-wmer0c5b.js → evidence-summary-service-5t5vr9w9.js} +7 -7
  9. package/dist/cli/{gate-evidence-6d0f6ekr.js → gate-evidence-27j4pm1v.js} +3 -3
  10. package/dist/cli/{guardrail-explain-z06dyan0.js → guardrail-explain-65zzxh0c.js} +21 -21
  11. package/dist/cli/{guardrail-log-bmyxcdfk.js → guardrail-log-0y9xmnpd.js} +4 -4
  12. package/dist/cli/{guardrail-reset-9wmbhwff.js → guardrail-reset-f5d89j15.js} +20 -20
  13. package/dist/cli/{hive-promoter-mc8xssba.js → hive-promoter-66bhdee6.js} +20 -20
  14. package/dist/cli/{index-zcjdw8dw.js → index-0tmrdj9m.js} +1 -1
  15. package/dist/cli/{index-c5wyannc.js → index-27k76kef.js} +2 -2
  16. package/dist/cli/{index-y21gyrt6.js → index-3d3h79cj.js} +22 -22
  17. package/dist/cli/{index-jc0as97z.js → index-3vscksqk.js} +1 -1
  18. package/dist/cli/{index-br08k19k.js → index-4xszpb54.js} +54 -54
  19. package/dist/cli/{index-hx0pas8b.js → index-5z71h1j4.js} +2 -2
  20. package/dist/cli/{index-re1ey51s.js → index-93b6dm58.js} +3 -3
  21. package/dist/cli/{index-sakgsnxj.js → index-aa0yaw9b.js} +2 -2
  22. package/dist/cli/{index-twpzfwga.js → index-byf75cte.js} +2 -2
  23. package/dist/cli/{index-pmg1k4mv.js → index-d1nb8eb3.js} +3 -3
  24. package/dist/cli/{index-3r17j2gc.js → index-d8mbaj41.js} +3 -3
  25. package/dist/cli/{index-ecaws78e.js → index-depxc452.js} +1 -1
  26. package/dist/cli/{index-66tshqdp.js → index-etjq0r06.js} +1 -1
  27. package/dist/cli/{index-vqs7dxp7.js → index-fck5xq4y.js} +4 -4
  28. package/dist/cli/{index-q58xegd7.js → index-fgzh858k.js} +2 -2
  29. package/dist/cli/{index-dg5znyqw.js → index-mfjep91k.js} +1 -1
  30. package/dist/cli/{index-j8warkkj.js → index-mq1z10v1.js} +4 -4
  31. package/dist/cli/{index-008sppht.js → index-p5fdk20g.js} +2 -2
  32. package/dist/cli/{index-tm6z0wgj.js → index-pre6sqz8.js} +1 -1
  33. package/dist/cli/{index-wf6pbrg7.js → index-t7yn457b.js} +1 -1
  34. package/dist/cli/{index-93z2fhyp.js → index-vbgpxbmm.js} +3 -3
  35. package/dist/cli/{index-rhe9zbe2.js → index-wk58ymh3.js} +20 -20
  36. package/dist/cli/{index-edext37b.js → index-wpcwwf61.js} +2 -2
  37. package/dist/cli/{index-w0141tkw.js → index-ybwtp7n4.js} +3 -3
  38. package/dist/cli/{index-qfz31dcy.js → index-yxptsaea.js} +5 -5
  39. package/dist/cli/index.js +21 -21
  40. package/dist/cli/{knowledge-escalator-k4ab3f1f.js → knowledge-escalator-f5d966wd.js} +7 -7
  41. package/dist/cli/{knowledge-events-aqy4hb15.js → knowledge-events-9ye18tpn.js} +5 -5
  42. package/dist/cli/{knowledge-store-xgkga9xj.js → knowledge-store-g8ge5m6j.js} +1 -1
  43. package/dist/cli/{knowledge-validator-vvgs8m7m.js → knowledge-validator-r2hdm42z.js} +2 -2
  44. package/dist/cli/{mcp-qvgka4c8.js → mcp-4q7ntdm7.js} +1 -1
  45. package/dist/cli/{model-preflight-2mvdbj0c.js → model-preflight-ap5k7585.js} +1 -1
  46. package/dist/cli/{pending-delegations-1xvmbw29.js → pending-delegations-52t70c1w.js} +2 -2
  47. package/dist/cli/{pr-subscriptions-13xqrhwx.js → pr-subscriptions-915nbgys.js} +1 -1
  48. package/dist/cli/{pr-workflow-gate-6qzpckxa.js → pr-workflow-gate-zbaqx5gr.js} +20 -20
  49. package/dist/cli/{scan-cursor-q5nycpzb.js → scan-cursor-922rhxag.js} +2 -2
  50. package/dist/cli/{schema-a8gskpey.js → schema-8r56yn5m.js} +2 -2
  51. package/dist/cli/{scope-persistence-q0n6y3n7.js → scope-persistence-xsxj83mx.js} +6 -6
  52. package/dist/cli/{server-wmbahe8h.js → server-vmdq6des.js} +20 -20
  53. package/dist/cli/{skill-generator-z76whwng.js → skill-generator-q9kmx4yk.js} +8 -8
  54. package/dist/cli/{snapshot-coordination-init-k2fgw463.js → snapshot-coordination-init-0qmg827p.js} +20 -20
  55. package/dist/cli/{worktree-collision-ownership-deyrgr70.js → worktree-collision-ownership-yvth2mxb.js} +2 -2
  56. package/dist/cli/{worktree-isolation-9rjxaxp6.js → worktree-isolation-sqzqrnd6.js} +20 -20
  57. package/dist/index.js +3 -3
  58. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-q58xegd7.js";
4
+ } from "./index-fgzh858k.js";
5
5
  import {
6
6
  handleGuardrailLog
7
- } from "./index-wf6pbrg7.js";
7
+ } from "./index-t7yn457b.js";
8
8
  import {
9
9
  COMMAND_REGISTRY,
10
10
  DEFAULT_CI_DEADLINE_MS,
@@ -97,43 +97,43 @@ import {
97
97
  handleWriteRetroCommand,
98
98
  normalizeSwarmCommandInput,
99
99
  resolveCommand
100
- } from "./index-br08k19k.js";
100
+ } from "./index-4xszpb54.js";
101
101
  import"./index-hnvmj9wx.js";
102
102
  import"./index-ha3wsy2e.js";
103
- import"./index-hx0pas8b.js";
103
+ import"./index-5z71h1j4.js";
104
104
  import"./index-h91jjw6t.js";
105
- import"./index-sakgsnxj.js";
106
- import"./index-3r17j2gc.js";
105
+ import"./index-aa0yaw9b.js";
106
+ import"./index-d8mbaj41.js";
107
107
  import"./index-nzpw41w6.js";
108
108
  import"./index-txdagbh7.js";
109
109
  import"./index-z2deqhpp.js";
110
110
  import"./index-fpbcxykc.js";
111
- import"./index-re1ey51s.js";
112
- import"./index-qfz31dcy.js";
113
- import"./index-tm6z0wgj.js";
111
+ import"./index-93b6dm58.js";
112
+ import"./index-yxptsaea.js";
113
+ import"./index-pre6sqz8.js";
114
114
  import"./index-fyfbpz4f.js";
115
115
  import"./index-y5x1swr8.js";
116
116
  import"./index-0hgmsyfp.js";
117
117
  import"./index-zsrtt42s.js";
118
- import"./index-w0141tkw.js";
118
+ import"./index-ybwtp7n4.js";
119
119
  import"./index-mq69g46a.js";
120
120
  import"./index-tr3tbtgw.js";
121
121
  import"./index-pt7h91zc.js";
122
122
  import"./index-q7sjgr1y.js";
123
- import"./index-jc0as97z.js";
124
- import"./index-008sppht.js";
125
- import"./index-dg5znyqw.js";
126
- import"./index-pmg1k4mv.js";
123
+ import"./index-3vscksqk.js";
124
+ import"./index-p5fdk20g.js";
125
+ import"./index-mfjep91k.js";
126
+ import"./index-d1nb8eb3.js";
127
127
  import"./index-ma38q4rf.js";
128
128
  import"./index-2s7dvzff.js";
129
- import"./index-66tshqdp.js";
129
+ import"./index-etjq0r06.js";
130
130
  import"./index-hydccmm1.js";
131
131
  import"./index-rtry5xyf.js";
132
- import"./index-93z2fhyp.js";
132
+ import"./index-vbgpxbmm.js";
133
133
  import"./index-frcemc0b.js";
134
134
  import"./index-wrt875kh.js";
135
- import"./index-edext37b.js";
136
- import"./index-c5wyannc.js";
135
+ import"./index-wpcwwf61.js";
136
+ import"./index-27k76kef.js";
137
137
  import"./index-9bg5vc22.js";
138
138
  import"./index-31fes86t.js";
139
139
  import"./index-9p00xent.js";
@@ -141,7 +141,7 @@ import"./index-bdqefjxg.js";
141
141
  import"./index-rdm3px0g.js";
142
142
  import"./index-ry16d01s.js";
143
143
  import"./index-gdrdtbw6.js";
144
- import"./index-j8warkkj.js";
144
+ import"./index-mq1z10v1.js";
145
145
  import"./index-vzm6zre7.js";
146
146
  import"./index-ae75rja9.js";
147
147
  import"./index-jzrx2sx2.js";
@@ -151,18 +151,18 @@ import"./index-jmn35na4.js";
151
151
  import"./index-ws3ggk1h.js";
152
152
  import"./index-1xnse449.js";
153
153
  import"./index-c1ggtmpm.js";
154
- import"./index-zcjdw8dw.js";
154
+ import"./index-0tmrdj9m.js";
155
155
  import"./index-0mhftbpp.js";
156
156
  import"./index-a1w58b47.js";
157
157
  import {
158
158
  init_schema,
159
159
  stripKnownSwarmPrefix
160
- } from "./index-twpzfwga.js";
160
+ } from "./index-byf75cte.js";
161
161
  import {
162
162
  AGENT_TOOL_MAP,
163
163
  ORCHESTRATOR_NAME,
164
164
  init_constants
165
- } from "./index-ecaws78e.js";
165
+ } from "./index-depxc452.js";
166
166
  import"./index-bk5tah7q.js";
167
167
  import"./index-gknz3bv1.js";
168
168
  import"./index-zpsr8rpc.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  autoCommitDirty,
4
4
  cleanUntrackedFiles
5
- } from "./index-008sppht.js";
5
+ } from "./index-p5fdk20g.js";
6
6
  import {
7
7
  validateSwarmPath
8
8
  } from "./index-ma38q4rf.js";
@@ -26,7 +26,7 @@ import {
26
26
  protectedRoots,
27
27
  redactDecisionLineForArchive,
28
28
  stableCanonicalStringify
29
- } from "./index-hx0pas8b.js";
29
+ } from "./index-5z71h1j4.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-sakgsnxj.js";
42
+ } from "./index-aa0yaw9b.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-3r17j2gc.js";
84
+ } from "./index-d8mbaj41.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-re1ey51s.js";
149
+ } from "./index-93b6dm58.js";
150
150
  import {
151
151
  readRecentEscalations
152
- } from "./index-qfz31dcy.js";
152
+ } from "./index-yxptsaea.js";
153
153
  import {
154
154
  alreadyCuratedThisGeneration,
155
155
  claimNextScanBatch,
156
156
  resolveCohortId
157
- } from "./index-tm6z0wgj.js";
157
+ } from "./index-pre6sqz8.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-w0141tkw.js";
189
+ } from "./index-ybwtp7n4.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-jc0as97z.js";
260
+ } from "./index-3vscksqk.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-008sppht.js";
269
+ } from "./index-p5fdk20g.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-dg5znyqw.js";
303
+ } from "./index-mfjep91k.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-pmg1k4mv.js";
319
+ } from "./index-d1nb8eb3.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-66tshqdp.js";
345
+ } from "./index-etjq0r06.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-93z2fhyp.js";
356
+ } from "./index-vbgpxbmm.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-edext37b.js";
367
+ } from "./index-wpcwwf61.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-c5wyannc.js";
383
+ } from "./index-27k76kef.js";
384
384
  import {
385
385
  CORE_EVENT_LOCKED,
386
386
  appendCoreEventSync,
@@ -463,7 +463,7 @@ import {
463
463
  transactFile,
464
464
  transactKnowledge,
465
465
  wordBigrams
466
- } from "./index-j8warkkj.js";
466
+ } from "./index-mq1z10v1.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-zcjdw8dw.js";
535
+ } from "./index-0tmrdj9m.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-twpzfwga.js";
564
+ } from "./index-byf75cte.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-ecaws78e.js";
587
+ } from "./index-depxc452.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-6qzpckxa.js")).readPrWorkflowGateStateForRecovery(directory, sessionID))?.state ?? null : await readPrWorkflowGateStateFileFromDisk(filePath, sessionID);
3178
+ const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-zbaqx5gr.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-6qzpckxa.js");
3248
+ const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-zbaqx5gr.js");
3249
3249
  recoveryState = (await readPrWorkflowGateStateForRecovery(directory, normalizedSessionID))?.state ?? null;
3250
3250
  }
3251
3251
  if (!recoveryState) {
@@ -13988,7 +13988,7 @@ function isLaneOwnedByCurrentSession(branchName, expectedSessionId) {
13988
13988
  return extracted === expectedSessionId;
13989
13989
  }
13990
13990
  async function inspectStandardWorktreeCollisionOwnership(identity) {
13991
- const collisionOwnership = await import("./worktree-collision-ownership-deyrgr70.js");
13991
+ const collisionOwnership = await import("./worktree-collision-ownership-yvth2mxb.js");
13992
13992
  return collisionOwnership.inspectStandardWorktreeCollisionOwnership(identity);
13993
13993
  }
13994
13994
  async function runRecoveryGit(directory, args, timeoutMs = 15000) {
@@ -14414,7 +14414,7 @@ async function precreateStandardWorktreeSession(args) {
14414
14414
  const laneProfile = computeLaneRuntimeProfile(worktreeConfig.runtime_isolation, laneIndex, handle.worktreePath);
14415
14415
  if (laneProfile) {
14416
14416
  try {
14417
- const { writeLaneProfileToDiskReal } = await import("./core-ty98bsnz.js");
14417
+ const { writeLaneProfileToDiskReal } = await import("./core-2ytpkhxc.js");
14418
14418
  await writeLaneProfileToDiskReal(handle.worktreePath, laneProfile.laneIndex, laneProfile.envOverrides);
14419
14419
  } catch {}
14420
14420
  }
@@ -15385,7 +15385,7 @@ async function finishStandardWorktreeDispatch(directory, dispatch, config, callI
15385
15385
  }
15386
15386
  clearWorktreeMergeStatus(statusKey);
15387
15387
  try {
15388
- const { removeLaneProfileFromDiskReal } = await import("./core-ty98bsnz.js");
15388
+ const { removeLaneProfileFromDiskReal } = await import("./core-2ytpkhxc.js");
15389
15389
  await removeLaneProfileFromDiskReal(dispatch.handle.worktreePath, dispatch.laneIndex);
15390
15390
  } catch {}
15391
15391
  const state = serializationStateBySessionID.get(dispatch.parentSessionID);
@@ -21981,7 +21981,7 @@ function getDisplayFinalPromptPressure() {
21981
21981
  async function rehydratePrSubscriptions(sessionID, directory) {
21982
21982
  const map = new Map;
21983
21983
  try {
21984
- const { listActive: listActive2 } = await import("./pr-subscriptions-13xqrhwx.js");
21984
+ const { listActive: listActive2 } = await import("./pr-subscriptions-915nbgys.js");
21985
21985
  const records = await listActive2(directory);
21986
21986
  for (const record of records) {
21987
21987
  if (record.sessionID !== sessionID)
@@ -38503,9 +38503,9 @@ function hashContent(content) {
38503
38503
  return createHash23("sha1").update(content).digest("hex");
38504
38504
  }
38505
38505
  async function loadConfigForPolicyCurator(directory) {
38506
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-a8gskpey.js");
38506
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-8r56yn5m.js");
38507
38507
  try {
38508
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-vqs7dxp7.js");
38508
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-fck5xq4y.js");
38509
38509
  const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
38510
38510
  return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
38511
38511
  } catch {
@@ -41563,7 +41563,7 @@ async function resolveCuratorLLMDelegate(directory, mode, sessionId) {
41563
41563
  const seam = _internals35.createCuratorLLMDelegate;
41564
41564
  if (seam)
41565
41565
  return seam(directory, mode, sessionId);
41566
- const { createCuratorLLMDelegate } = await import("./curator-llm-factory-69vje2m7.js");
41566
+ const { createCuratorLLMDelegate } = await import("./curator-llm-factory-8evp80zs.js");
41567
41567
  return createCuratorLLMDelegate(directory, mode, sessionId);
41568
41568
  }
41569
41569
  async function reconcileCloseTerminalStateForPlan(directory, targetPlan, options) {
@@ -41958,7 +41958,7 @@ async function runFinalizeStage(ctx) {
41958
41958
  }
41959
41959
  }
41960
41960
  try {
41961
- const { CuratorConfigSchema: CCS } = await import("./schema-a8gskpey.js");
41961
+ const { CuratorConfigSchema: CCS } = await import("./schema-8r56yn5m.js");
41962
41962
  const { config: pmLoadedConfig } = _internals35.loadPluginConfigWithMeta(ctx.directory);
41963
41963
  const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
41964
41964
  if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
@@ -43792,7 +43792,7 @@ function serializeAgentSession(s) {
43792
43792
  }
43793
43793
  async function writeSnapshot(directory, state) {
43794
43794
  try {
43795
- const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-k2fgw463.js");
43795
+ const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-0qmg827p.js");
43796
43796
  await ensureSnapshotCoordinationReady(directory);
43797
43797
  const snapshot = {
43798
43798
  version: 3,
@@ -46448,7 +46448,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
46448
46448
  };
46449
46449
  }
46450
46450
  async function sweepActiveNearDuplicates(directory, options = {}) {
46451
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-vqs7dxp7.js");
46451
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-fck5xq4y.js");
46452
46452
  const { config } = loadPluginConfigWithMeta2(directory);
46453
46453
  const sweepConfig = config.learning?.dedup_sweep;
46454
46454
  if (sweepConfig?.enabled === false)
@@ -47572,7 +47572,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
47572
47572
  }
47573
47573
  if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
47574
47574
  try {
47575
- const skillModule = await import("./skill-generator-z76whwng.js");
47575
+ const skillModule = await import("./skill-generator-q9kmx4yk.js");
47576
47576
  for (const cand of skillCandidates) {
47577
47577
  if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
47578
47578
  continue;
@@ -48044,7 +48044,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
48044
48044
  } catch {}
48045
48045
  }
48046
48046
  if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
48047
- const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-k4ab3f1f.js");
48047
+ const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-f5d966wd.js");
48048
48048
  for (const { id } of contradictedEntries) {
48049
48049
  try {
48050
48050
  await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
@@ -48876,7 +48876,7 @@ async function runCuratorPostMortem(directory, options = {}) {
48876
48876
  warnings.push("Failed to collect knowledge summary.");
48877
48877
  }
48878
48878
  try {
48879
- const { getScanStatus } = await import("./scan-cursor-q5nycpzb.js");
48879
+ const { getScanStatus } = await import("./scan-cursor-922rhxag.js");
48880
48880
  const scanStatus = await getScanStatus(directory);
48881
48881
  if (scanStatus.remaining_estimate > 0) {
48882
48882
  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.`);
@@ -49048,9 +49048,9 @@ var _internals51 = {
49048
49048
  verifyPostMortemKnowledgeActions,
49049
49049
  repairPostMortemActions,
49050
49050
  loadDefaultKnowledgeConfig: async (directory) => {
49051
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-a8gskpey.js");
49051
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-8r56yn5m.js");
49052
49052
  try {
49053
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-vqs7dxp7.js");
49053
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-fck5xq4y.js");
49054
49054
  const loaded = loadPluginConfigWithMeta2(directory);
49055
49055
  return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
49056
49056
  } catch {
@@ -49058,11 +49058,11 @@ var _internals51 = {
49058
49058
  }
49059
49059
  },
49060
49060
  applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
49061
- const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-rvrhbsy2.js");
49061
+ const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-qfwgj2y7.js");
49062
49062
  return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
49063
49063
  },
49064
49064
  checkHivePromotions: async (entries2, knowledgeConfig, directory) => {
49065
- const { checkHivePromotions } = await import("./hive-promoter-mc8xssba.js");
49065
+ const { checkHivePromotions } = await import("./hive-promoter-66bhdee6.js");
49066
49066
  return checkHivePromotions(entries2, knowledgeConfig, directory);
49067
49067
  },
49068
49068
  applyProposalTriage: async (directory, triage) => {
@@ -49071,7 +49071,7 @@ var _internals51 = {
49071
49071
  activateProposal,
49072
49072
  listSkills: listSkills2,
49073
49073
  sanitizeSlug
49074
- } = await import("./skill-generator-z76whwng.js");
49074
+ } = await import("./skill-generator-q9kmx4yk.js");
49075
49075
  const result = {
49076
49076
  approved: [],
49077
49077
  rejected: [],
@@ -58909,9 +58909,9 @@ var _internals61 = {
58909
58909
  loadPluginConfigWithMeta,
58910
58910
  loadCuratorDeps: async () => {
58911
58911
  const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate }] = await Promise.all([
58912
- import("./schema-a8gskpey.js"),
58913
- import("./curator-rvrhbsy2.js"),
58914
- import("./curator-llm-factory-69vje2m7.js")
58912
+ import("./schema-8r56yn5m.js"),
58913
+ import("./curator-qfwgj2y7.js"),
58914
+ import("./curator-llm-factory-8evp80zs.js")
58915
58915
  ]);
58916
58916
  return { CuratorConfigSchema, curator, createCuratorLLMDelegate };
58917
58917
  }
@@ -60820,7 +60820,7 @@ async function computeCurationDiagnostics(directory, entries2) {
60820
60820
  let scanCompleted = false;
60821
60821
  let scanRemaining = 0;
60822
60822
  try {
60823
- const { getScanStatus } = await import("./scan-cursor-q5nycpzb.js");
60823
+ const { getScanStatus } = await import("./scan-cursor-922rhxag.js");
60824
60824
  const status = await getScanStatus(directory);
60825
60825
  scanGeneration = status.generation;
60826
60826
  scanCompleted = status.completed;
@@ -60830,10 +60830,10 @@ async function computeCurationDiagnostics(directory, entries2) {
60830
60830
  try {
60831
60831
  const { isLinked: isLinked2 } = await import("./knowledge-link-51m3c09s.js");
60832
60832
  if (isLinked2(directory)) {
60833
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-a8gskpey.js");
60833
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-8r56yn5m.js");
60834
60834
  let config;
60835
60835
  try {
60836
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-vqs7dxp7.js");
60836
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-fck5xq4y.js");
60837
60837
  const loaded = loadPluginConfigWithMeta2(directory);
60838
60838
  config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
60839
60839
  } catch {
@@ -62231,7 +62231,7 @@ async function handleDoctorCommand(directory, args) {
62231
62231
  const result = runConfigDoctor(config, directory);
62232
62232
  let output;
62233
62233
  if (enableAutoFix && result.hasAutoFixableIssues) {
62234
- const { runConfigDoctorWithFixes } = await import("./config-doctor-ab0ckcsc.js");
62234
+ const { runConfigDoctorWithFixes } = await import("./config-doctor-229ewr8f.js");
62235
62235
  const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
62236
62236
  applyLossy: true
62237
62237
  });
@@ -62269,7 +62269,7 @@ async function handleDoctorCommand(directory, args) {
62269
62269
  `;
62270
62270
  }
62271
62271
  try {
62272
- const { runModelPreflight } = await import("./model-preflight-2mvdbj0c.js");
62272
+ const { runModelPreflight } = await import("./model-preflight-ap5k7585.js");
62273
62273
  const preflight = await runModelPreflight(config, swarmState.opencodeClient);
62274
62274
  if (preflight.catalogAvailable) {
62275
62275
  const unresolved = preflight.resolutions.filter((resolution) => resolution.status === "unresolved");
@@ -63185,7 +63185,7 @@ async function handleEvidenceCommand(directory, args) {
63185
63185
  return formatTaskEvidenceMarkdown(evidenceData);
63186
63186
  }
63187
63187
  async function handleEvidenceSummaryCommand(directory) {
63188
- const { buildEvidenceSummary } = await import("./evidence-summary-service-wmer0c5b.js");
63188
+ const { buildEvidenceSummary } = await import("./evidence-summary-service-5t5vr9w9.js");
63189
63189
  const artifact = await buildEvidenceSummary(directory);
63190
63190
  if (!artifact) {
63191
63191
  return "No plan found. Run `/swarm plan` to check plan status.";
@@ -83205,7 +83205,7 @@ function createCuratorLLMDelegate(directory, mode = "init", sessionId) {
83205
83205
  }
83206
83206
  const sdkOpts = signal ? { signal } : {};
83207
83207
  try {
83208
- const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-rhe9zbe2.js");
83208
+ const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-wk58ymh3.js");
83209
83209
  const createResult = await client.session.create({
83210
83210
  ...sessionId ? {
83211
83211
  body: {
@@ -100038,7 +100038,7 @@ function buildDetailedHelp(commandName, entry) {
100038
100038
  async function handleHelpCommand(ctx) {
100039
100039
  const targetCommand = ctx.args.join(" ");
100040
100040
  if (!targetCommand) {
100041
- const { buildHelpText } = await import("./index-y21gyrt6.js");
100041
+ const { buildHelpText } = await import("./index-3d3h79cj.js");
100042
100042
  return buildHelpText();
100043
100043
  }
100044
100044
  const tokens = targetCommand.split(/\s+/);
@@ -100052,7 +100052,7 @@ async function handleHelpCommand(ctx) {
100052
100052
  > Note: \`/swarm ${resolved.key}\` is a deprecated alias for \`/swarm ${aliasTarget}\`.` : detailed;
100053
100053
  }
100054
100054
  const similar = _internals24.findSimilarCommands(targetCommand);
100055
- const { buildHelpText: fullHelp } = await import("./index-y21gyrt6.js");
100055
+ const { buildHelpText: fullHelp } = await import("./index-3d3h79cj.js");
100056
100056
  if (similar.length > 0) {
100057
100057
  return `Command '/swarm ${targetCommand}' not found.
100058
100058
 
@@ -100367,7 +100367,7 @@ var COMMAND_REGISTRY = {
100367
100367
  },
100368
100368
  "guardrail explain": {
100369
100369
  handler: async (ctx) => {
100370
- const { handleGuardrailExplain } = await import("./guardrail-explain-z06dyan0.js");
100370
+ const { handleGuardrailExplain } = await import("./guardrail-explain-65zzxh0c.js");
100371
100371
  return handleGuardrailExplain(ctx.directory, ctx.args);
100372
100372
  },
100373
100373
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -100377,7 +100377,7 @@ var COMMAND_REGISTRY = {
100377
100377
  },
100378
100378
  "guardrail reset": {
100379
100379
  handler: async (ctx) => {
100380
- const { handleGuardrailReset } = await import("./guardrail-reset-9wmbhwff.js");
100380
+ const { handleGuardrailReset } = await import("./guardrail-reset-f5d89j15.js");
100381
100381
  return handleGuardrailReset(ctx.args, ctx.sessionID);
100382
100382
  },
100383
100383
  description: "Reset one exact active invocation/action circuit after repair",
@@ -100398,7 +100398,7 @@ var COMMAND_REGISTRY = {
100398
100398
  },
100399
100399
  "guardrail-log": {
100400
100400
  handler: async (ctx) => {
100401
- const { handleGuardrailLog } = await import("./guardrail-log-bmyxcdfk.js");
100401
+ const { handleGuardrailLog } = await import("./guardrail-log-0y9xmnpd.js");
100402
100402
  return handleGuardrailLog(ctx.directory, ctx.args);
100403
100403
  },
100404
100404
  description: "Read the guardrail decision log (use --blocks-only for blocks)",
@@ -8,10 +8,10 @@ import {
8
8
  import {
9
9
  init_schema,
10
10
  stripKnownSwarmPrefix
11
- } from "./index-twpzfwga.js";
11
+ } from "./index-byf75cte.js";
12
12
  import {
13
13
  init_constants
14
- } from "./index-ecaws78e.js";
14
+ } from "./index-depxc452.js";
15
15
  import {
16
16
  getPathFlavor,
17
17
  init_path_identity,
@@ -5,18 +5,18 @@ import {
5
5
  import {
6
6
  effectiveRetrievalOutcomes,
7
7
  readAuthoritativeKnowledgeCounterRollups
8
- } from "./index-pmg1k4mv.js";
8
+ } from "./index-d1nb8eb3.js";
9
9
  import {
10
10
  ALLOWED_SKILL_PATH_PREFIXES,
11
11
  validateSkillPath
12
- } from "./index-66tshqdp.js";
12
+ } from "./index-etjq0r06.js";
13
13
  import {
14
14
  computeOutcomeSignal,
15
15
  readKnowledge,
16
16
  resolveHiveKnowledgePath,
17
17
  resolveSwarmKnowledgePath,
18
18
  transactKnowledge
19
- } from "./index-j8warkkj.js";
19
+ } from "./index-mq1z10v1.js";
20
20
  import {
21
21
  appendCappedJsonl,
22
22
  resolveRetentionCap
@@ -12,13 +12,13 @@ import {
12
12
  PluginConfigSchema,
13
13
  init_schema,
14
14
  stripKnownSwarmPrefix
15
- } from "./index-twpzfwga.js";
15
+ } from "./index-byf75cte.js";
16
16
  import {
17
17
  ALL_AGENT_NAMES,
18
18
  TOOL_NAME_SET,
19
19
  init_constants,
20
20
  init_tool_metadata
21
- } from "./index-ecaws78e.js";
21
+ } from "./index-depxc452.js";
22
22
  import {
23
23
  log
24
24
  } from "./index-zgwm4ryv.js";
@@ -3,7 +3,7 @@ import {
3
3
  ALL_AGENT_NAMES,
4
4
  SUMMARIZER_EXEMPT_TOOL_NAMES,
5
5
  init_constants
6
- } from "./index-ecaws78e.js";
6
+ } from "./index-depxc452.js";
7
7
  import {
8
8
  OUTCOME_BLOCK_THRESHOLD,
9
9
  init_knowledge_types
@@ -21,7 +21,7 @@ var package_default;
21
21
  var init_package = __esm(() => {
22
22
  package_default = {
23
23
  name: "opencode-swarm",
24
- version: "7.172.1",
24
+ version: "7.172.2",
25
25
  description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
26
26
  main: "dist/index.js",
27
27
  types: "dist/index.d.ts",
@@ -26,11 +26,11 @@ import {
26
26
  } from "./index-1xnse449.js";
27
27
  import {
28
28
  loadPluginConfigWithMeta
29
- } from "./index-zcjdw8dw.js";
29
+ } from "./index-0tmrdj9m.js";
30
30
  import {
31
31
  KnowledgeConfigSchema,
32
32
  init_schema
33
- } from "./index-twpzfwga.js";
33
+ } from "./index-byf75cte.js";
34
34
  import {
35
35
  init_logger,
36
36
  warn
@@ -2813,7 +2813,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
2813
2813
  }
2814
2814
  let bumps = 0;
2815
2815
  if (deltas.length > 0) {
2816
- const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-xgkga9xj.js");
2816
+ const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-g8ge5m6j.js");
2817
2817
  bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
2818
2818
  }
2819
2819
  return {
@@ -23,7 +23,7 @@ import {
23
23
  readTaskEvidence,
24
24
  readTaskEvidenceRaw,
25
25
  sanitizeTaskId
26
- } from "./index-jc0as97z.js";
26
+ } from "./index-3vscksqk.js";
27
27
  import {
28
28
  estimateCharsForTokens,
29
29
  estimateTokens,
@@ -58,7 +58,7 @@ import {
58
58
  replayFromLedgerWithStatus,
59
59
  takeSnapshotEvent,
60
60
  takeSnapshotWithRetry
61
- } from "./index-c5wyannc.js";
61
+ } from "./index-27k76kef.js";
62
62
  import {
63
63
  appendCoreEventSync
64
64
  } from "./index-9bg5vc22.js";
@@ -94,7 +94,7 @@ import {
94
94
  } from "./index-1xnse449.js";
95
95
  import {
96
96
  PlanSchema
97
- } from "./index-zcjdw8dw.js";
97
+ } from "./index-0tmrdj9m.js";
98
98
  import {
99
99
  GIT_BINARY_ENV_VAR,
100
100
  describeGitResolution,