opencode-swarm 7.183.0 → 7.183.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 (84) 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/pending-delegations.d.ts +21 -1
  4. package/dist/cli/{coder-settlement-6m5stw7s.js → coder-settlement-rserb0hm.js} +10 -10
  5. package/dist/cli/{config-doctor-g6r21wdz.js → config-doctor-r4fmzprn.js} +2 -2
  6. package/dist/cli/{core-6dzx3z8q.js → core-rzek3e2n.js} +3 -3
  7. package/dist/cli/{curation-policy-fm7mtvbk.js → curation-policy-g0jjwrg5.js} +4 -4
  8. package/dist/cli/{curator-drift-art0x91j.js → curator-drift-a0r5krfx.js} +8 -8
  9. package/dist/cli/curator-llm-factory-xp4hgd8r.js +74 -0
  10. package/dist/cli/{curator-0xqj2rxm.js → curator-v84tfqcr.js} +37 -37
  11. package/dist/cli/{evidence-summary-service-h1vb58rd.js → evidence-summary-service-t4csk176.js} +16 -16
  12. package/dist/cli/{gate-evidence-ps3rg5fh.js → gate-evidence-3z04zprn.js} +5 -5
  13. package/dist/cli/guardrail-explain-j2y5sj4d.js +75 -0
  14. package/dist/cli/{guardrail-log-x2gdf8ys.js → guardrail-log-cbzdh4qj.js} +6 -6
  15. package/dist/cli/{guardrail-reset-mwkys4ff.js → guardrail-reset-5e75rz44.js} +37 -37
  16. package/dist/cli/{hive-promoter-gndjyg7e.js → hive-promoter-f54nrhqn.js} +37 -37
  17. package/dist/cli/{index-5cvm6ykc.js → index-08x7gsnf.js} +1 -1
  18. package/dist/cli/{index-1kpa3an2.js → index-0bpr8vag.js} +2 -2
  19. package/dist/cli/{index-a6np52p4.js → index-1hnknn34.js} +3 -3
  20. package/dist/cli/{index-9gehw4xb.js → index-31e105jf.js} +1 -1
  21. package/dist/cli/{index-qws72zbs.js → index-3qy7v4k1.js} +2 -2
  22. package/dist/cli/{index-wnkx6gs0.js → index-3rb5gs4w.js} +1 -1
  23. package/dist/cli/{index-1ex9ecf5.js → index-4hnk9npg.js} +4 -4
  24. package/dist/cli/{index-mewsqwbq.js → index-4xr4gtwd.js} +1 -1
  25. package/dist/cli/{index-s1y70y0w.js → index-5cve9g2b.js} +1 -1
  26. package/dist/cli/{index-r7dqevkc.js → index-5t08vc6m.js} +1 -1
  27. package/dist/cli/{index-7p6s4yfb.js → index-6dm6ettv.js} +1 -1
  28. package/dist/cli/{index-v8ja5zcr.js → index-6h81yvyc.js} +2 -2
  29. package/dist/cli/{index-w6hrms7j.js → index-77650pyg.js} +1 -1
  30. package/dist/cli/{index-r65yxdv7.js → index-80qhm8aq.js} +1 -1
  31. package/dist/cli/{index-yv5fmjcf.js → index-8me6m6ew.js} +2 -2
  32. package/dist/cli/{index-jf9cvkzr.js → index-908k7jhw.js} +3 -3
  33. package/dist/cli/{index-fqc1a1vj.js → index-9f930sy8.js} +2 -2
  34. package/dist/cli/{index-brfs5jqw.js → index-ak1dd17g.js} +3 -3
  35. package/dist/cli/{index-w670pfv4.js → index-b26hje53.js} +5 -5
  36. package/dist/cli/{index-kv0k3b60.js → index-bqphhrwf.js} +5 -5
  37. package/dist/cli/{index-wqg2j647.js → index-bsjwchw7.js} +18 -9
  38. package/dist/cli/{index-v2rbpcqy.js → index-dg3f2sqq.js} +1 -1
  39. package/dist/cli/{index-6f7tfq3m.js → index-gaykghrm.js} +7 -7
  40. package/dist/cli/{index-30pz2xvj.js → index-h01p5ygy.js} +6 -6
  41. package/dist/cli/{index-3bcmw8pc.js → index-hb1zqz50.js} +1 -1
  42. package/dist/cli/{index-wjqc2mnc.js → index-hsvsz3mj.js} +1 -1
  43. package/dist/cli/{index-6nhzekvt.js → index-j8ty457v.js} +2 -2
  44. package/dist/cli/{index-k88thqa0.js → index-jb7ywm4w.js} +6 -6
  45. package/dist/cli/{index-0n24h4zb.js → index-jk05g11c.js} +7 -7
  46. package/dist/cli/{index-29f69hzd.js → index-mt0s67hg.js} +2 -2
  47. package/dist/cli/{index-c6zrffwn.js → index-nazzb4em.js} +75 -75
  48. package/dist/cli/{index-25m6rekr.js → index-nmh0s6dg.js} +1 -1
  49. package/dist/cli/{index-94pwd45k.js → index-qjzbs971.js} +4 -4
  50. package/dist/cli/{index-4aggsva0.js → index-raws06d3.js} +3 -3
  51. package/dist/cli/{index-fb0v3e71.js → index-rhw6m7s9.js} +1 -1
  52. package/dist/cli/{index-ybrwvrd4.js → index-w196wb3a.js} +39 -39
  53. package/dist/cli/{index-820e6w22.js → index-w81jmdkt.js} +2 -2
  54. package/dist/cli/{index-rfggc332.js → index-wpn7ftw1.js} +1 -1
  55. package/dist/cli/{index-jsdnhdzg.js → index-xtysafzj.js} +37 -37
  56. package/dist/cli/{index-pvtf7cjg.js → index-y5hhkx1n.js} +7 -7
  57. package/dist/cli/{index-ht88g5mc.js → index-ydefv5fn.js} +1 -1
  58. package/dist/cli/{index-nmfnggaa.js → index-z425p51d.js} +12 -12
  59. package/dist/cli/index.js +38 -38
  60. package/dist/cli/{knowledge-escalator-gjp71cn2.js → knowledge-escalator-cs7fjgy0.js} +11 -11
  61. package/dist/cli/{knowledge-events-d8k9fmkg.js → knowledge-events-262c1jg2.js} +9 -9
  62. package/dist/cli/{knowledge-link-anzhs41w.js → knowledge-link-8kcms7pj.js} +3 -3
  63. package/dist/cli/{knowledge-store-sqmwvcjd.js → knowledge-store-yjrkfens.js} +4 -4
  64. package/dist/cli/{knowledge-validator-gjqm2zby.js → knowledge-validator-t98cvpt5.js} +6 -6
  65. package/dist/cli/{mcp-phvvtsmt.js → mcp-wj6143vj.js} +1 -1
  66. package/dist/cli/{model-preflight-ehqa8h7x.js → model-preflight-tz4ar9ys.js} +37 -37
  67. package/dist/cli/{pending-delegations-mxs88d0x.js → pending-delegations-vvbkqe24.js} +10 -10
  68. package/dist/cli/{pr-subscriptions-n3ymnt5w.js → pr-subscriptions-maeppcws.js} +10 -10
  69. package/dist/cli/{pr-workflow-gate-t8axhfzw.js → pr-workflow-gate-en54gabv.js} +37 -37
  70. package/dist/cli/{runner-9kd080km.js → runner-618229m8.js} +4 -4
  71. package/dist/cli/{scan-cursor-qg4eg6ah.js → scan-cursor-sxwh1ax8.js} +5 -5
  72. package/dist/cli/{schema-73z5xbmd.js → schema-fb8vm14k.js} +1 -1
  73. package/dist/cli/{scope-persistence-b9924hz1.js → scope-persistence-sc2zhr15.js} +13 -13
  74. package/dist/cli/{server-jn6xd5bh.js → server-7ksq9wr7.js} +37 -37
  75. package/dist/cli/{skill-generator-k344y5m2.js → skill-generator-ccmq47cm.js} +13 -13
  76. package/dist/cli/{snapshot-coordination-init-a8992336.js → snapshot-coordination-init-h8eg88w2.js} +37 -37
  77. package/dist/cli/{speckit-checkoff-0tctprtz.js → speckit-checkoff-vkqn317p.js} +4 -4
  78. package/dist/cli/{workspace-snapshot-7e9me3q7.js → workspace-snapshot-t22m6gbd.js} +3 -3
  79. package/dist/cli/{worktree-collision-ownership-6r6jekr9.js → worktree-collision-ownership-8hr7aycc.js} +11 -11
  80. package/dist/cli/{worktree-isolation-5kw6jnej.js → worktree-isolation-gwq3y9tf.js} +37 -37
  81. package/dist/index.js +4 -4
  82. package/package.json +1 -1
  83. package/dist/cli/curator-llm-factory-grnfsaa2.js +0 -74
  84. package/dist/cli/guardrail-explain-2sb06877.js +0 -75
@@ -8,7 +8,7 @@ import {
8
8
  protectedRoots,
9
9
  redactDecisionLineForArchive,
10
10
  stableCanonicalStringify
11
- } from "./index-fqc1a1vj.js";
11
+ } from "./index-9f930sy8.js";
12
12
  import {
13
13
  LANGUAGE_REGISTRY,
14
14
  _internals as _internals3,
@@ -27,7 +27,7 @@ import {
27
27
  runEvaluation,
28
28
  runExternalTool,
29
29
  withDisposableWorktree
30
- } from "./index-wjqc2mnc.js";
30
+ } from "./index-hsvsz3mj.js";
31
31
  import {
32
32
  buildDriftInjectionText,
33
33
  canonicalProjectKey,
@@ -36,13 +36,13 @@ import {
36
36
  getGroupCommitWriter,
37
37
  importLegacyJsonl,
38
38
  readPriorDriftReports
39
- } from "./index-a6np52p4.js";
39
+ } from "./index-1hnknn34.js";
40
40
  import {
41
41
  detectStraySwarmDirs,
42
42
  readDoctorArtifact,
43
43
  removeStraySwarmDir,
44
44
  runConfigDoctor
45
- } from "./index-9gehw4xb.js";
45
+ } from "./index-31e105jf.js";
46
46
  import {
47
47
  MAX_TRANSIENT_RETRIES,
48
48
  archiveEvidence,
@@ -82,7 +82,7 @@ import {
82
82
  updateTaskStatus,
83
83
  validateProjectRoot,
84
84
  withPlanLifecycleLock
85
- } from "./index-nmfnggaa.js";
85
+ } from "./index-z425p51d.js";
86
86
  import {
87
87
  EvaluationTaskV1Schema,
88
88
  GateAuditManifestV1Schema,
@@ -99,7 +99,7 @@ import {
99
99
  saveGateAuditResult,
100
100
  savePromotionDecision,
101
101
  saveTaskSetSnapshot
102
- } from "./index-ht88g5mc.js";
102
+ } from "./index-ydefv5fn.js";
103
103
  import {
104
104
  canonicalHash,
105
105
  canonicalJson,
@@ -119,7 +119,7 @@ import {
119
119
  resolveSpeckitProjection,
120
120
  validateSpeckit,
121
121
  writeProjectedSpecSync
122
- } from "./index-mewsqwbq.js";
122
+ } from "./index-4xr4gtwd.js";
123
123
  import {
124
124
  containsControlChars,
125
125
  containsPathTraversal,
@@ -147,16 +147,16 @@ import {
147
147
  retireSkill,
148
148
  selectCandidateEntries,
149
149
  syncBundledProjectSkillsIfMissingAsync
150
- } from "./index-1ex9ecf5.js";
150
+ } from "./index-4hnk9npg.js";
151
151
  import {
152
152
  buildEscalationBriefing,
153
153
  readRecentEscalations
154
- } from "./index-w670pfv4.js";
154
+ } from "./index-b26hje53.js";
155
155
  import {
156
156
  alreadyCuratedThisGeneration,
157
157
  claimNextScanBatch,
158
158
  resolveCohortId
159
- } from "./index-29f69hzd.js";
159
+ } from "./index-mt0s67hg.js";
160
160
  import {
161
161
  CURATOR_CONSOLIDATION_PROMPT,
162
162
  CURATOR_INIT_PROMPT,
@@ -176,7 +176,7 @@ import {
176
176
  sweepStale,
177
177
  unsubscribe,
178
178
  updateSnapshot
179
- } from "./index-30pz2xvj.js";
179
+ } from "./index-h01p5ygy.js";
180
180
  import {
181
181
  clearWorktreeMergeStatus,
182
182
  getAllWorktreeMergeFailures,
@@ -188,7 +188,7 @@ import {
188
188
  listCoderSettlementWalStates,
189
189
  recoverCoderSettlement,
190
190
  recoverStaleCoderSettlements
191
- } from "./index-pvtf7cjg.js";
191
+ } from "./index-y5hhkx1n.js";
192
192
  import {
193
193
  parsePorcelainV2Snapshot,
194
194
  resolveCommitCountSince,
@@ -216,12 +216,12 @@ import {
216
216
  resolveRemoteUrlIdentity,
217
217
  resolveRemoteUrlIdentityAsync,
218
218
  switchPrFeedbackTrackingCandidateAsync
219
- } from "./index-v8ja5zcr.js";
219
+ } from "./index-6h81yvyc.js";
220
220
  import {
221
221
  WORKTREE_LIFECYCLE_LOCK_FILE,
222
222
  recordWorktreeProvisioningOwner,
223
223
  removeWorktreeProvisioningOwner
224
- } from "./index-1kpa3an2.js";
224
+ } from "./index-0bpr8vag.js";
225
225
  import {
226
226
  getLanguageForExtension
227
227
  } from "./index-pt7h91zc.js";
@@ -259,7 +259,7 @@ import {
259
259
  transitionTaskWorkflowEvidence,
260
260
  withTaskEvidenceTransaction,
261
261
  writeWorkflowWalFile
262
- } from "./index-jf9cvkzr.js";
262
+ } from "./index-908k7jhw.js";
263
263
  import {
264
264
  isPathUnderSwarmWorktreeBase,
265
265
  listLiveLaneOwners,
@@ -268,7 +268,7 @@ import {
268
268
  recordLiveLaneOwner,
269
269
  removeWorktree,
270
270
  resolveWorktreeBaseDir
271
- } from "./index-4aggsva0.js";
271
+ } from "./index-raws06d3.js";
272
272
  import {
273
273
  DEFAULT_STALE_DELEGATION_TIMEOUT_MS,
274
274
  DELEGATION_COMPACTION_HIGH_WATER_BYTES,
@@ -302,7 +302,7 @@ import {
302
302
  scanBackgroundCoderReservationsForAdmission,
303
303
  scanDelegationsForRecovery,
304
304
  sweepStaleDelegations
305
- } from "./index-wqg2j647.js";
305
+ } from "./index-bsjwchw7.js";
306
306
  import {
307
307
  MAX_EVENT_LOG_ENTRIES,
308
308
  _internals,
@@ -321,7 +321,7 @@ import {
321
321
  recordKnowledgeEvent,
322
322
  recordPhaseCloseIntent,
323
323
  resolveKnowledgeEventsPath
324
- } from "./index-6f7tfq3m.js";
324
+ } from "./index-gaykghrm.js";
325
325
  import {
326
326
  estimateCharsForTokens,
327
327
  estimateTokens,
@@ -329,7 +329,7 @@ import {
329
329
  readSwarmFileAsync,
330
330
  safeHook,
331
331
  validateSwarmPath
332
- } from "./index-25m6rekr.js";
332
+ } from "./index-nmh0s6dg.js";
333
333
  import {
334
334
  bunFile,
335
335
  bunSpawn,
@@ -349,18 +349,18 @@ import {
349
349
  validateActionableFields,
350
350
  validateLesson,
351
351
  validateSkillPath
352
- } from "./index-94pwd45k.js";
352
+ } from "./index-qjzbs971.js";
353
353
  import {
354
354
  MAX_CURATION_PROPOSALS,
355
355
  authorizeCuration,
356
356
  buildConfigFingerprintInput
357
- } from "./index-r7dqevkc.js";
357
+ } from "./index-5t08vc6m.js";
358
358
  import {
359
359
  cohortConfigFingerprint
360
360
  } from "./index-rtry5xyf.js";
361
361
  import {
362
362
  resolveWorktreeIsolationConfig
363
- } from "./index-qws72zbs.js";
363
+ } from "./index-3qy7v4k1.js";
364
364
  import {
365
365
  RetrospectiveEvidenceSchema
366
366
  } from "./index-frcemc0b.js";
@@ -372,7 +372,7 @@ import {
372
372
  clearScopeBindings,
373
373
  readAuthoritativeScopeBindingSet,
374
374
  readDeclaredScopeFilesFromBindings
375
- } from "./index-k88thqa0.js";
375
+ } from "./index-jb7ywm4w.js";
376
376
  import {
377
377
  clearPlanLedgerForReset,
378
378
  computePlanStructureHash,
@@ -388,7 +388,7 @@ import {
388
388
  replayFromLedgerWithStatus,
389
389
  resolvePlanningProfile,
390
390
  takeSnapshotEvent
391
- } from "./index-kv0k3b60.js";
391
+ } from "./index-bqphhrwf.js";
392
392
  import {
393
393
  CORE_EVENT_LOCKED,
394
394
  appendCoreEventSync,
@@ -398,7 +398,7 @@ import {
398
398
  hasSpecDriftAuditEvent,
399
399
  hasTaskRepairAuditEvent,
400
400
  readCoreEvents
401
- } from "./index-rfggc332.js";
401
+ } from "./index-wpn7ftw1.js";
402
402
  import {
403
403
  DEFAULT_QA_GATES,
404
404
  computeProfileHash,
@@ -406,7 +406,7 @@ import {
406
406
  getEffectiveGates,
407
407
  getProfileLookupForIdentity,
408
408
  setGatesForIdentity
409
- } from "./index-820e6w22.js";
409
+ } from "./index-w81jmdkt.js";
410
410
  import {
411
411
  MAX_COORDINATION_STATE_LIST_ROWS,
412
412
  deleteCoordinationImports,
@@ -419,7 +419,7 @@ import {
419
419
  listCoordinationStates,
420
420
  transitionCoordinationState,
421
421
  withCoordinationTransaction
422
- } from "./index-wnkx6gs0.js";
422
+ } from "./index-3rb5gs4w.js";
423
423
  import {
424
424
  DURABILITY_CLASSES,
425
425
  closeAllProjectDbs,
@@ -428,7 +428,7 @@ import {
428
428
  projectDbExists,
429
429
  projectDbPath,
430
430
  withImmediateTransaction
431
- } from "./index-5cvm6ykc.js";
431
+ } from "./index-08x7gsnf.js";
432
432
  import {
433
433
  loadDatabaseCtor
434
434
  } from "./index-rdm3px0g.js";
@@ -444,7 +444,7 @@ import {
444
444
  observeModelLimitResolution,
445
445
  observeStoreHealth,
446
446
  readLearningHealth
447
- } from "./index-w6hrms7j.js";
447
+ } from "./index-77650pyg.js";
448
448
  import {
449
449
  appendKnowledge,
450
450
  appendRejectedLesson,
@@ -475,7 +475,7 @@ import {
475
475
  transactFile,
476
476
  transactKnowledge,
477
477
  wordBigrams
478
- } from "./index-0n24h4zb.js";
478
+ } from "./index-jk05g11c.js";
479
479
  import {
480
480
  readTailJsonl,
481
481
  readTailJsonlDetailed,
@@ -496,14 +496,14 @@ import {
496
496
  resolveLinkDir,
497
497
  sanitizeLinkId,
498
498
  writeLinkPointer
499
- } from "./index-3bcmw8pc.js";
499
+ } from "./index-hb1zqz50.js";
500
500
  import {
501
501
  assertProjectRoot,
502
502
  atomicWriteFile,
503
503
  hasExplicitProjectBoundary,
504
504
  isStrictPathDescendant,
505
505
  withEvidenceLock
506
- } from "./index-v2rbpcqy.js";
506
+ } from "./index-dg3f2sqq.js";
507
507
  import {
508
508
  OPENINFERENCE_MAPPING_VERSION,
509
509
  OTEL_GENAI_MAPPING_VERSION,
@@ -538,7 +538,7 @@ import {
538
538
  matchTempGrammar,
539
539
  parseTargetBasename,
540
540
  resetSwarmArtifactCache
541
- } from "./index-s1y70y0w.js";
541
+ } from "./index-5cve9g2b.js";
542
542
  import {
543
543
  PlanSchema,
544
544
  getCurrentPhase,
@@ -551,7 +551,7 @@ import {
551
551
  loadGateOverrides,
552
552
  loadPluginConfig,
553
553
  loadPluginConfigWithMeta
554
- } from "./index-r65yxdv7.js";
554
+ } from "./index-80qhm8aq.js";
555
555
  import {
556
556
  addDeferredWarning,
557
557
  advisoryWarn,
@@ -583,7 +583,7 @@ import {
583
583
  resolveContextWindow,
584
584
  resolveGeneratedAgentRole,
585
585
  stripKnownSwarmPrefix
586
- } from "./index-fb0v3e71.js";
586
+ } from "./index-rhw6m7s9.js";
587
587
  import {
588
588
  AGENT_TOOL_MAP,
589
589
  ALL_AGENT_NAMES,
@@ -3346,7 +3346,7 @@ async function importLegacyPrWorkflowGateStateIfNeeded(directory, sessionID, all
3346
3346
  return null;
3347
3347
  throw error2;
3348
3348
  }
3349
- const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-t8axhfzw.js")).readPrWorkflowGateStateForRecovery(directory, sessionID))?.state ?? null : await readPrWorkflowGateStateFileFromDisk(filePath, sessionID);
3349
+ const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-en54gabv.js")).readPrWorkflowGateStateForRecovery(directory, sessionID))?.state ?? null : await readPrWorkflowGateStateFileFromDisk(filePath, sessionID);
3350
3350
  if (!legacy)
3351
3351
  return null;
3352
3352
  const namespace = workflowGateStateCoordinationNamespace(sessionID);
@@ -3433,7 +3433,7 @@ async function deleteStateWhileLocked(directory, sessionID, options = {}) {
3433
3433
  let recoveryState = null;
3434
3434
  if (!currentAuthoritative) {
3435
3435
  if (options.allowSalvagedRead) {
3436
- const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-t8axhfzw.js");
3436
+ const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-en54gabv.js");
3437
3437
  recoveryState = (await readPrWorkflowGateStateForRecovery(directory, normalizedSessionID))?.state ?? null;
3438
3438
  }
3439
3439
  if (!recoveryState) {
@@ -14759,7 +14759,7 @@ function isLaneOwnedByCurrentSession(branchName, expectedSessionId) {
14759
14759
  return extracted === expectedSessionId;
14760
14760
  }
14761
14761
  async function inspectStandardWorktreeCollisionOwnership(identity) {
14762
- const collisionOwnership = await import("./worktree-collision-ownership-6r6jekr9.js");
14762
+ const collisionOwnership = await import("./worktree-collision-ownership-8hr7aycc.js");
14763
14763
  return collisionOwnership.inspectStandardWorktreeCollisionOwnership(identity);
14764
14764
  }
14765
14765
  async function runRecoveryGit(directory, args, timeoutMs = 15000) {
@@ -15185,7 +15185,7 @@ async function precreateStandardWorktreeSession(args) {
15185
15185
  const laneProfile = computeLaneRuntimeProfile(worktreeConfig.runtime_isolation, laneIndex, handle.worktreePath);
15186
15186
  if (laneProfile) {
15187
15187
  try {
15188
- const { writeLaneProfileToDiskReal } = await import("./core-6dzx3z8q.js");
15188
+ const { writeLaneProfileToDiskReal } = await import("./core-rzek3e2n.js");
15189
15189
  await writeLaneProfileToDiskReal(handle.worktreePath, laneProfile.laneIndex, laneProfile.envOverrides);
15190
15190
  } catch {}
15191
15191
  }
@@ -16164,7 +16164,7 @@ async function finishStandardWorktreeDispatch(directory, dispatch, config, callI
16164
16164
  }
16165
16165
  clearWorktreeMergeStatus(statusKey);
16166
16166
  try {
16167
- const { removeLaneProfileFromDiskReal } = await import("./core-6dzx3z8q.js");
16167
+ const { removeLaneProfileFromDiskReal } = await import("./core-rzek3e2n.js");
16168
16168
  await removeLaneProfileFromDiskReal(dispatch.handle.worktreePath, dispatch.laneIndex);
16169
16169
  } catch {}
16170
16170
  const state = serializationStateBySessionID.get(dispatch.parentSessionID);
@@ -23677,7 +23677,7 @@ function clearCriticalShownIds(sessionID) {
23677
23677
  async function rehydratePrSubscriptions(sessionID, directory) {
23678
23678
  const map = new Map;
23679
23679
  try {
23680
- const { listActive: listActive2 } = await import("./pr-subscriptions-n3ymnt5w.js");
23680
+ const { listActive: listActive2 } = await import("./pr-subscriptions-maeppcws.js");
23681
23681
  const records = await listActive2(directory);
23682
23682
  for (const record of records) {
23683
23683
  if (record.sessionID !== sessionID)
@@ -40621,9 +40621,9 @@ function hashContent(content) {
40621
40621
  return createHash25("sha1").update(content).digest("hex");
40622
40622
  }
40623
40623
  async function loadConfigForPolicyCurator(directory) {
40624
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-73z5xbmd.js");
40624
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-fb8vm14k.js");
40625
40625
  try {
40626
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-brfs5jqw.js");
40626
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-ak1dd17g.js");
40627
40627
  const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
40628
40628
  return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
40629
40629
  } catch {
@@ -43681,7 +43681,7 @@ async function resolveCuratorLLMDelegate(directory, mode, sessionId) {
43681
43681
  const seam = _internals37.createCuratorLLMDelegate;
43682
43682
  if (seam)
43683
43683
  return seam(directory, mode, sessionId);
43684
- const { createCuratorLLMDelegate } = await import("./curator-llm-factory-grnfsaa2.js");
43684
+ const { createCuratorLLMDelegate } = await import("./curator-llm-factory-xp4hgd8r.js");
43685
43685
  return createCuratorLLMDelegate(directory, mode, sessionId);
43686
43686
  }
43687
43687
  async function reconcileCloseTerminalStateForPlan(directory, targetPlan, options) {
@@ -44076,7 +44076,7 @@ async function runFinalizeStage(ctx) {
44076
44076
  }
44077
44077
  }
44078
44078
  try {
44079
- const { CuratorConfigSchema: CCS } = await import("./schema-73z5xbmd.js");
44079
+ const { CuratorConfigSchema: CCS } = await import("./schema-fb8vm14k.js");
44080
44080
  const { config: pmLoadedConfig } = _internals37.loadPluginConfigWithMeta(ctx.directory);
44081
44081
  const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
44082
44082
  if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
@@ -46258,7 +46258,7 @@ function serializeAgentSession(s) {
46258
46258
  }
46259
46259
  async function writeSnapshot(directory, state) {
46260
46260
  try {
46261
- const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-a8992336.js");
46261
+ const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-h8eg88w2.js");
46262
46262
  await ensureSnapshotCoordinationReady(directory);
46263
46263
  const snapshot = {
46264
46264
  version: 3,
@@ -49321,7 +49321,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
49321
49321
  };
49322
49322
  }
49323
49323
  async function sweepActiveNearDuplicates(directory, options = {}) {
49324
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-brfs5jqw.js");
49324
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-ak1dd17g.js");
49325
49325
  const { config } = loadPluginConfigWithMeta2(directory);
49326
49326
  const sweepConfig = config.learning?.dedup_sweep;
49327
49327
  if (sweepConfig?.enabled === false)
@@ -50445,7 +50445,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
50445
50445
  }
50446
50446
  if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
50447
50447
  try {
50448
- const skillModule = await import("./skill-generator-k344y5m2.js");
50448
+ const skillModule = await import("./skill-generator-ccmq47cm.js");
50449
50449
  for (const cand of skillCandidates) {
50450
50450
  if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
50451
50451
  continue;
@@ -50917,7 +50917,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
50917
50917
  } catch {}
50918
50918
  }
50919
50919
  if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
50920
- const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-gjp71cn2.js");
50920
+ const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-cs7fjgy0.js");
50921
50921
  for (const { id } of contradictedEntries) {
50922
50922
  try {
50923
50923
  await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
@@ -51749,7 +51749,7 @@ async function runCuratorPostMortem(directory, options = {}) {
51749
51749
  warnings.push("Failed to collect knowledge summary.");
51750
51750
  }
51751
51751
  try {
51752
- const { getScanStatus } = await import("./scan-cursor-qg4eg6ah.js");
51752
+ const { getScanStatus } = await import("./scan-cursor-sxwh1ax8.js");
51753
51753
  const scanStatus = await getScanStatus(directory);
51754
51754
  if (scanStatus.remaining_estimate > 0) {
51755
51755
  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.`);
@@ -51921,9 +51921,9 @@ var _internals55 = {
51921
51921
  verifyPostMortemKnowledgeActions,
51922
51922
  repairPostMortemActions,
51923
51923
  loadDefaultKnowledgeConfig: async (directory) => {
51924
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-73z5xbmd.js");
51924
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-fb8vm14k.js");
51925
51925
  try {
51926
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-brfs5jqw.js");
51926
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-ak1dd17g.js");
51927
51927
  const loaded = loadPluginConfigWithMeta2(directory);
51928
51928
  return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
51929
51929
  } catch {
@@ -51931,11 +51931,11 @@ var _internals55 = {
51931
51931
  }
51932
51932
  },
51933
51933
  applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
51934
- const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-0xqj2rxm.js");
51934
+ const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-v84tfqcr.js");
51935
51935
  return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
51936
51936
  },
51937
51937
  checkHivePromotions: async (entries2, knowledgeConfig, directory) => {
51938
- const { checkHivePromotions } = await import("./hive-promoter-gndjyg7e.js");
51938
+ const { checkHivePromotions } = await import("./hive-promoter-f54nrhqn.js");
51939
51939
  return checkHivePromotions(entries2, knowledgeConfig, directory);
51940
51940
  },
51941
51941
  applyProposalTriage: async (directory, triage) => {
@@ -51944,7 +51944,7 @@ var _internals55 = {
51944
51944
  activateProposal,
51945
51945
  listSkills: listSkills2,
51946
51946
  sanitizeSlug
51947
- } = await import("./skill-generator-k344y5m2.js");
51947
+ } = await import("./skill-generator-ccmq47cm.js");
51948
51948
  const result = {
51949
51949
  approved: [],
51950
51950
  rejected: [],
@@ -51986,7 +51986,7 @@ var _internals55 = {
51986
51986
  return result;
51987
51987
  },
51988
51988
  readPriorDriftReports: async (directory) => {
51989
- const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-art0x91j.js");
51989
+ const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-a0r5krfx.js");
51990
51990
  return readPriorDriftReports2(directory);
51991
51991
  },
51992
51992
  readSwarmKnowledge: (directory) => readKnowledge(resolveSwarmKnowledgePath(directory))
@@ -61782,9 +61782,9 @@ var _internals65 = {
61782
61782
  loadPluginConfigWithMeta,
61783
61783
  loadCuratorDeps: async () => {
61784
61784
  const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate }] = await Promise.all([
61785
- import("./schema-73z5xbmd.js"),
61786
- import("./curator-0xqj2rxm.js"),
61787
- import("./curator-llm-factory-grnfsaa2.js")
61785
+ import("./schema-fb8vm14k.js"),
61786
+ import("./curator-v84tfqcr.js"),
61787
+ import("./curator-llm-factory-xp4hgd8r.js")
61788
61788
  ]);
61789
61789
  return { CuratorConfigSchema, curator, createCuratorLLMDelegate };
61790
61790
  }
@@ -64118,7 +64118,7 @@ async function computeCurationDiagnostics(directory, entries2) {
64118
64118
  let scanCompleted = false;
64119
64119
  let scanRemaining = 0;
64120
64120
  try {
64121
- const { getScanStatus } = await import("./scan-cursor-qg4eg6ah.js");
64121
+ const { getScanStatus } = await import("./scan-cursor-sxwh1ax8.js");
64122
64122
  const status = await getScanStatus(directory);
64123
64123
  scanGeneration = status.generation;
64124
64124
  scanCompleted = status.completed;
@@ -64126,19 +64126,19 @@ async function computeCurationDiagnostics(directory, entries2) {
64126
64126
  } catch {}
64127
64127
  let configMatch = null;
64128
64128
  try {
64129
- const { isLinked: isLinked2 } = await import("./knowledge-link-anzhs41w.js");
64129
+ const { isLinked: isLinked2 } = await import("./knowledge-link-8kcms7pj.js");
64130
64130
  if (isLinked2(directory)) {
64131
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-73z5xbmd.js");
64131
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-fb8vm14k.js");
64132
64132
  let config;
64133
64133
  try {
64134
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-brfs5jqw.js");
64134
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-ak1dd17g.js");
64135
64135
  const loaded = loadPluginConfigWithMeta2(directory);
64136
64136
  config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
64137
64137
  } catch {
64138
64138
  config = KnowledgeConfigSchema2.parse({});
64139
64139
  }
64140
64140
  const { cohortConfigFingerprint: cohortConfigFingerprint2 } = await import("./config-fingerprint-v22xh5a2.js");
64141
- const { buildConfigFingerprintInput: buildConfigFingerprintInput2, readCohortConfigFingerprint } = await import("./curation-policy-fm7mtvbk.js");
64141
+ const { buildConfigFingerprintInput: buildConfigFingerprintInput2, readCohortConfigFingerprint } = await import("./curation-policy-g0jjwrg5.js");
64142
64142
  const currentFp = cohortConfigFingerprint2(buildConfigFingerprintInput2(config));
64143
64143
  const cohortFp = await readCohortConfigFingerprint(directory);
64144
64144
  configMatch = cohortFp === null ? null : currentFp === cohortFp;
@@ -65574,7 +65574,7 @@ async function handleDoctorCommand(directory, args) {
65574
65574
  const result = runConfigDoctor(config, directory);
65575
65575
  let output;
65576
65576
  if (enableAutoFix && result.hasAutoFixableIssues) {
65577
- const { runConfigDoctorWithFixes } = await import("./config-doctor-g6r21wdz.js");
65577
+ const { runConfigDoctorWithFixes } = await import("./config-doctor-r4fmzprn.js");
65578
65578
  const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
65579
65579
  applyLossy: true
65580
65580
  });
@@ -65612,7 +65612,7 @@ async function handleDoctorCommand(directory, args) {
65612
65612
  `;
65613
65613
  }
65614
65614
  try {
65615
- const { runModelPreflight } = await import("./model-preflight-ehqa8h7x.js");
65615
+ const { runModelPreflight } = await import("./model-preflight-tz4ar9ys.js");
65616
65616
  const preflight = await runModelPreflight(config, swarmState.opencodeClient, { generatedAgentNames: swarmState.generatedAgentNames });
65617
65617
  const missingSelection = preflight.resolutions.filter((resolution) => resolution.status === "missing-selection");
65618
65618
  const unresolved = preflight.catalogAvailable ? preflight.resolutions.filter((resolution) => resolution.status === "unresolved") : [];
@@ -66539,7 +66539,7 @@ async function handleEvidenceCommand(directory, args) {
66539
66539
  return formatTaskEvidenceMarkdown(evidenceData);
66540
66540
  }
66541
66541
  async function handleEvidenceSummaryCommand(directory) {
66542
- const { buildEvidenceSummary } = await import("./evidence-summary-service-h1vb58rd.js");
66542
+ const { buildEvidenceSummary } = await import("./evidence-summary-service-t4csk176.js");
66543
66543
  const artifact = await buildEvidenceSummary(directory);
66544
66544
  if (!artifact) {
66545
66545
  return "No plan found. Run `/swarm plan` to check plan status.";
@@ -90729,7 +90729,7 @@ function createCuratorLLMDelegate(directory, mode = "init", sessionId) {
90729
90729
  }
90730
90730
  const sdkOpts = signal ? { signal } : {};
90731
90731
  try {
90732
- const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-jsdnhdzg.js");
90732
+ const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-xtysafzj.js");
90733
90733
  const createResult = await client.session.create({
90734
90734
  ...sessionId ? {
90735
90735
  body: {
@@ -91471,7 +91471,7 @@ async function cancelPrFeedbackLoop(directory, sessionID, reason) {
91471
91471
  clearedEvents: []
91472
91472
  };
91473
91473
  try {
91474
- const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-t8axhfzw.js");
91474
+ const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-en54gabv.js");
91475
91475
  await cancelPrFeedbackPublication2(directory, sessionID, reason);
91476
91476
  } catch (err) {
91477
91477
  warn(`[pr-feedback-loop] cancelPrFeedbackPublication failed (fail-open): ${err instanceof Error ? err.message : String(err)}`);
@@ -105488,7 +105488,7 @@ async function runValidationWithTransientRetry(input, candidateContent, baseline
105488
105488
  if (!input.dispatcher) {
105489
105489
  throw new Error("no evaluation dispatcher available (cannot run validation)");
105490
105490
  }
105491
- const { createModelEvaluationExecutor: createModelEvaluationExecutor2 } = await import("./runner-9kd080km.js");
105491
+ const { createModelEvaluationExecutor: createModelEvaluationExecutor2 } = await import("./runner-618229m8.js");
105492
105492
  const executor = createModelEvaluationExecutor2(input.dispatcher, input.sessionId);
105493
105493
  const result = await withProtectedSetIntegrity([evalInputRoot, ...protectedRoots(input.directory)], () => _internals124.evaluateCandidateV1({
105494
105494
  projectRoot: input.directory,
@@ -108117,7 +108117,7 @@ function buildDetailedHelp(commandName, entry) {
108117
108117
  async function handleHelpCommand(ctx) {
108118
108118
  const targetCommand = ctx.args.join(" ");
108119
108119
  if (!targetCommand) {
108120
- const { buildHelpText } = await import("./index-ybrwvrd4.js");
108120
+ const { buildHelpText } = await import("./index-w196wb3a.js");
108121
108121
  return buildHelpText();
108122
108122
  }
108123
108123
  const tokens = targetCommand.split(/\s+/);
@@ -108131,7 +108131,7 @@ async function handleHelpCommand(ctx) {
108131
108131
  > Note: \`/swarm ${resolved.key}\` is a deprecated alias for \`/swarm ${aliasTarget}\`.` : detailed;
108132
108132
  }
108133
108133
  const similar = _internals25.findSimilarCommands(targetCommand);
108134
- const { buildHelpText: fullHelp } = await import("./index-ybrwvrd4.js");
108134
+ const { buildHelpText: fullHelp } = await import("./index-w196wb3a.js");
108135
108135
  if (similar.length > 0) {
108136
108136
  return `Command '/swarm ${targetCommand}' not found.
108137
108137
 
@@ -108446,7 +108446,7 @@ var COMMAND_REGISTRY = {
108446
108446
  },
108447
108447
  "guardrail explain": {
108448
108448
  handler: async (ctx) => {
108449
- const { handleGuardrailExplain } = await import("./guardrail-explain-2sb06877.js");
108449
+ const { handleGuardrailExplain } = await import("./guardrail-explain-j2y5sj4d.js");
108450
108450
  return handleGuardrailExplain(ctx.directory, ctx.args);
108451
108451
  },
108452
108452
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -108456,7 +108456,7 @@ var COMMAND_REGISTRY = {
108456
108456
  },
108457
108457
  "guardrail reset": {
108458
108458
  handler: async (ctx) => {
108459
- const { handleGuardrailReset } = await import("./guardrail-reset-mwkys4ff.js");
108459
+ const { handleGuardrailReset } = await import("./guardrail-reset-5e75rz44.js");
108460
108460
  return handleGuardrailReset(ctx.args, ctx.sessionID);
108461
108461
  },
108462
108462
  description: "Reset one exact active invocation/action circuit after repair",
@@ -108477,7 +108477,7 @@ var COMMAND_REGISTRY = {
108477
108477
  },
108478
108478
  "guardrail-log": {
108479
108479
  handler: async (ctx) => {
108480
- const { handleGuardrailLog } = await import("./guardrail-log-x2gdf8ys.js");
108480
+ const { handleGuardrailLog } = await import("./guardrail-log-cbzdh4qj.js");
108481
108481
  return handleGuardrailLog(ctx.directory, ctx.args);
108482
108482
  },
108483
108483
  description: "Read the guardrail decision log (use --blocks-only for blocks)",
@@ -10,7 +10,7 @@ import {
10
10
  readCachedTextFile,
11
11
  wasObservedToExist,
12
12
  wasRecentlyWrittenByThisProcess
13
- } from "./index-s1y70y0w.js";
13
+ } from "./index-5cve9g2b.js";
14
14
  import {
15
15
  warn
16
16
  } from "./index-zgwm4ryv.js";
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  authorizeCuration
4
- } from "./index-r7dqevkc.js";
4
+ } from "./index-5t08vc6m.js";
5
5
  import {
6
6
  findNearDuplicate,
7
7
  inferTags,
@@ -9,13 +9,13 @@ import {
9
9
  resolveSwarmKnowledgePath,
10
10
  resolveSwarmRejectedPath,
11
11
  transactKnowledge
12
- } from "./index-0n24h4zb.js";
12
+ } from "./index-jk05g11c.js";
13
13
  import {
14
14
  resolveKnowledgeStoreDir
15
- } from "./index-3bcmw8pc.js";
15
+ } from "./index-hb1zqz50.js";
16
16
  import {
17
17
  atomicWriteFile
18
- } from "./index-v2rbpcqy.js";
18
+ } from "./index-dg3f2sqq.js";
19
19
  import {
20
20
  require_proper_lockfile
21
21
  } from "./index-7g4c7s5r.js";
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  validateSwarmPath
4
- } from "./index-25m6rekr.js";
4
+ } from "./index-nmh0s6dg.js";
5
5
  import {
6
6
  bunSpawn
7
7
  } from "./index-2s7dvzff.js";
@@ -10,7 +10,7 @@ import {
10
10
  } from "./index-1xnse449.js";
11
11
  import {
12
12
  atomicWriteSwarmFileSync
13
- } from "./index-s1y70y0w.js";
13
+ } from "./index-5cve9g2b.js";
14
14
  import {
15
15
  advisoryWarn,
16
16
  init_git_executable,
@@ -242,7 +242,7 @@ var _internals2 = {
242
242
  symlinkSync: fs2.symlinkSync
243
243
  },
244
244
  writeScopeToDisk: async (directory, taskId, files) => {
245
- const { writeScopeToDisk: realWrite } = await import("./scope-persistence-b9924hz1.js");
245
+ const { writeScopeToDisk: realWrite } = await import("./scope-persistence-sc2zhr15.js");
246
246
  return realWrite(directory, taskId, files);
247
247
  },
248
248
  writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
@@ -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.183.0",
24
+ version: "7.183.1",
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",