opencode-swarm 7.191.4 → 7.192.0

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 (74) hide show
  1. package/.opencode/skills/swarm-pr-review/SKILL.md +5 -6
  2. package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
  3. package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
  4. package/dist/cli/{auto-checkpoint-mfevgppc.js → auto-checkpoint-fzybxf58.js} +5 -5
  5. package/dist/cli/{checkpoint-ft7x9hh4.js → checkpoint-6fr9tc3h.js} +9 -9
  6. package/dist/cli/{coder-settlement-a8v2w1gw.js → coder-settlement-1t0r6q0r.js} +4 -4
  7. package/dist/cli/{config-doctor-5jpt3aj0.js → config-doctor-0kd6w45h.js} +8 -8
  8. package/dist/cli/{core-9sekbwxm.js → core-dxraa2ss.js} +2 -2
  9. package/dist/cli/{curator-drift-mqcfwm24.js → curator-drift-6qb0c363.js} +6 -6
  10. package/dist/cli/{curator-venskykb.js → curator-hwwp7e2g.js} +26 -26
  11. package/dist/cli/{curator-llm-factory-nm91t6p1.js → curator-llm-factory-w6hvns5a.js} +26 -26
  12. package/dist/cli/{doctor-knowledge-receipt-phase-id-0ewtqwxk.js → doctor-knowledge-receipt-phase-id-ay2ngn4a.js} +5 -5
  13. package/dist/cli/{evidence-summary-service-rr3rb5n2.js → evidence-summary-service-fyyzhbsc.js} +10 -10
  14. package/dist/cli/{gate-evidence-sjp73rfv.js → gate-evidence-zt2vj631.js} +3 -3
  15. package/dist/cli/{guardrail-explain-r5x9khp3.js → guardrail-explain-ddtj3djc.js} +27 -27
  16. package/dist/cli/{guardrail-log-87qgtbxw.js → guardrail-log-ppgfsfzt.js} +4 -4
  17. package/dist/cli/{guardrail-reset-z1rhagdh.js → guardrail-reset-4psprskt.js} +26 -26
  18. package/dist/cli/{hive-promoter-hy0gm4z7.js → hive-promoter-vxrwvhga.js} +26 -26
  19. package/dist/cli/{index-knqvkxc4.js → index-05t8f1bj.js} +26 -26
  20. package/dist/cli/{index-xgy7wakm.js → index-1ajj6zbq.js} +28 -28
  21. package/dist/cli/{index-jfk0yzr6.js → index-3c8v05x1.js} +1 -1
  22. package/dist/cli/{index-ydnfnzdq.js → index-3pkeqcxe.js} +1 -1
  23. package/dist/cli/{index-w8fbnqhe.js → index-4d04qzw5.js} +2 -2
  24. package/dist/cli/{index-8nac5633.js → index-646s7gp9.js} +2 -2
  25. package/dist/cli/{index-633j6d5z.js → index-6v42d116.js} +2 -2
  26. package/dist/cli/{index-7tkkhbcw.js → index-93zvq6wn.js} +1 -1
  27. package/dist/cli/{index-ez6sczc7.js → index-9qwmx95b.js} +1 -1
  28. package/dist/cli/{index-d4rm6r3c.js → index-aazwrwy1.js} +1 -1
  29. package/dist/cli/{index-ce4skcpr.js → index-bx6x9ee7.js} +2 -2
  30. package/dist/cli/{index-kcx2f95c.js → index-c5644p1y.js} +6 -6
  31. package/dist/cli/{index-xrhhjeas.js → index-d5dwf6q6.js} +1 -1
  32. package/dist/cli/{index-v7bjb1ta.js → index-dexj54h2.js} +1 -1
  33. package/dist/cli/{index-xbhs0kp0.js → index-ecx8jh7s.js} +1 -1
  34. package/dist/cli/{index-chdc1wv3.js → index-egkph2cs.js} +1 -1
  35. package/dist/cli/{index-xgfmzmey.js → index-gv63kdd3.js} +4 -4
  36. package/dist/cli/{index-p4vdas8e.js → index-hqqfxytt.js} +1 -1
  37. package/dist/cli/{index-p4f47xhj.js → index-mj237f76.js} +3 -3
  38. package/dist/cli/{index-qgzyj2vt.js → index-mqf06fyy.js} +5 -5
  39. package/dist/cli/{index-bs8yvx1k.js → index-ngjjwcam.js} +1 -1
  40. package/dist/cli/{index-q0y8e1db.js → index-p1z7pafk.js} +3 -3
  41. package/dist/cli/{index-pksy4nzv.js → index-py8wpe81.js} +4 -0
  42. package/dist/cli/{index-1y1fgtd0.js → index-rehvfgre.js} +62 -62
  43. package/dist/cli/{index-9nh7fhh9.js → index-sx3g9nwg.js} +3 -3
  44. package/dist/cli/{index-1gv6ja3m.js → index-sxw0jbyc.js} +2 -2
  45. package/dist/cli/{index-t775as8a.js → index-tv0m2css.js} +2 -2
  46. package/dist/cli/{index-2afvf0hr.js → index-v9geqn2t.js} +2 -2
  47. package/dist/cli/{index-y7668dn6.js → index-x00ghp37.js} +4 -4
  48. package/dist/cli/{index-02gmv98q.js → index-ywmz75rj.js} +4 -4
  49. package/dist/cli/{index-9ved57n0.js → index-zv71frp3.js} +3 -3
  50. package/dist/cli/index.js +27 -27
  51. package/dist/cli/{knowledge-escalator-901znnke.js → knowledge-escalator-b45xccz8.js} +8 -8
  52. package/dist/cli/{knowledge-events-y2x5c5xe.js → knowledge-events-rtmavbyy.js} +6 -6
  53. package/dist/cli/{knowledge-store-jkzkgsnw.js → knowledge-store-0beaqdxd.js} +1 -1
  54. package/dist/cli/{knowledge-validator-dar3799k.js → knowledge-validator-r1kjxt80.js} +2 -2
  55. package/dist/cli/{mcp-7baqvsr2.js → mcp-gq7gy5qm.js} +1 -1
  56. package/dist/cli/{model-preflight-gk2dtfw4.js → model-preflight-za9f75h1.js} +26 -26
  57. package/dist/cli/{pending-delegations-aean4z99.js → pending-delegations-ba4bbh3d.js} +2 -2
  58. package/dist/cli/{pr-subscriptions-zmv0gtv7.js → pr-subscriptions-9ge667xn.js} +1 -1
  59. package/dist/cli/{pr-workflow-gate-50avx71j.js → pr-workflow-gate-p1sv3vp7.js} +26 -26
  60. package/dist/cli/{scan-cursor-7vnj82v4.js → scan-cursor-hrn48cja.js} +2 -2
  61. package/dist/cli/{schema-4v7pnknw.js → schema-6cwam61t.js} +2 -2
  62. package/dist/cli/{scope-persistence-xd30y1ym.js → scope-persistence-z8b0cj5e.js} +6 -6
  63. package/dist/cli/{server-mkvhdc5k.js → server-sqxa4vjy.js} +26 -26
  64. package/dist/cli/{skill-generator-mt61qg5f.js → skill-generator-6dfgb9hj.js} +9 -9
  65. package/dist/cli/{snapshot-coordination-init-c7r5443q.js → snapshot-coordination-init-rt4xyayx.js} +26 -26
  66. package/dist/cli/{speckit-checkoff-t17g4ej6.js → speckit-checkoff-q1zqzwbw.js} +4 -4
  67. package/dist/cli/{worktree-collision-ownership-negbpp72.js → worktree-collision-ownership-ge241a9e.js} +2 -2
  68. package/dist/cli/{worktree-isolation-hhftse76.js → worktree-isolation-c9x73qrk.js} +26 -26
  69. package/dist/index.js +66 -61
  70. package/dist/tools/export-pr-review-partial-results.d.ts +38 -0
  71. package/dist/tools/index.d.ts +1 -0
  72. package/dist/tools/manifest.d.ts +1 -0
  73. package/dist/tools/tool-metadata.d.ts +4 -0
  74. package/package.json +1 -1
@@ -14,7 +14,7 @@ import {
14
14
  reconcileLandedMerge,
15
15
  withTaskEvidenceTransaction,
16
16
  writeWorkflowWalFile
17
- } from "./index-v7bjb1ta.js";
17
+ } from "./index-dexj54h2.js";
18
18
  import {
19
19
  validateSwarmPath
20
20
  } from "./index-nkgzkt7c.js";
@@ -512,7 +512,7 @@ async function cleanupRecoveredWorktree(directory, descriptor, options) {
512
512
  awaitingMergeByCallID,
513
513
  cleanupStandardWorktreeForCallId,
514
514
  standardWorktreeByCallID
515
- } = await import("./worktree-isolation-hhftse76.js");
515
+ } = await import("./worktree-isolation-c9x73qrk.js");
516
516
  standardWorktreeByCallID.delete(descriptor.callID);
517
517
  if (hasResidue)
518
518
  awaitingMergeByCallID.set(descriptor.callID, {
@@ -648,7 +648,7 @@ async function recoverCoderSettlement(directory, taskId) {
648
648
  awaitingMergeByCallID,
649
649
  finishStandardWorktreeDispatch,
650
650
  standardWorktreeByCallID
651
- } = await import("./worktree-isolation-hhftse76.js");
651
+ } = await import("./worktree-isolation-c9x73qrk.js");
652
652
  const descriptor = wal.worktree;
653
653
  const reconstructedDispatch = {
654
654
  callID: descriptor.callID,
@@ -4,7 +4,7 @@ import {
4
4
  } from "./index-6b295cas.js";
5
5
  import {
6
6
  readEffectiveSpecSync
7
- } from "./index-p4vdas8e.js";
7
+ } from "./index-hqqfxytt.js";
8
8
  import {
9
9
  _internals,
10
10
  clearWorktreeMergeStatus,
@@ -43,7 +43,7 @@ import {
43
43
  replayFromLedgerWithStatus,
44
44
  takeSnapshotEvent,
45
45
  takeSnapshotWithRetry
46
- } from "./index-2afvf0hr.js";
46
+ } from "./index-v9geqn2t.js";
47
47
  import {
48
48
  appendCoreEventSync
49
49
  } from "./index-zk6ttjkt.js";
@@ -93,7 +93,7 @@ import {
93
93
  init_loader,
94
94
  isEpicModeConfigEnabled,
95
95
  loadPluginConfigWithMeta
96
- } from "./index-ez6sczc7.js";
96
+ } from "./index-9qwmx95b.js";
97
97
  import {
98
98
  exports_external,
99
99
  init_zod
@@ -2664,7 +2664,7 @@ ${markdown}`;
2664
2664
  }
2665
2665
  }
2666
2666
  async function defaultMaybeSaveAutoCheckpoint(directory, plan) {
2667
- const { maybeSaveAutoCheckpoint } = await import("./auto-checkpoint-mfevgppc.js");
2667
+ const { maybeSaveAutoCheckpoint } = await import("./auto-checkpoint-fzybxf58.js");
2668
2668
  return maybeSaveAutoCheckpoint(directory, plan);
2669
2669
  }
2670
2670
  async function updateTaskStatus(directory, taskId, status, options) {
@@ -2740,7 +2740,7 @@ async function updateTaskStatus(directory, taskId, status, options) {
2740
2740
  if (status === "completed") {
2741
2741
  try {
2742
2742
  const completedTask = updatedPlan.phases.flatMap((phase) => phase.tasks).find((candidate) => candidate.id === taskId);
2743
- const { maybePropagateSpeckitCheckoff } = await import("./speckit-checkoff-t17g4ej6.js");
2743
+ const { maybePropagateSpeckitCheckoff } = await import("./speckit-checkoff-q1zqzwbw.js");
2744
2744
  await maybePropagateSpeckitCheckoff(directory, {
2745
2745
  taskId,
2746
2746
  frRefs: completedTask?.fr_refs ?? [],
@@ -9,7 +9,7 @@ import {
9
9
  import {
10
10
  init_loader,
11
11
  loadPluginConfig
12
- } from "./index-ez6sczc7.js";
12
+ } from "./index-9qwmx95b.js";
13
13
  import {
14
14
  init_logger,
15
15
  log,
@@ -2,14 +2,14 @@
2
2
  import {
3
3
  init_loader,
4
4
  loadPluginConfigWithMeta
5
- } from "./index-ez6sczc7.js";
5
+ } from "./index-9qwmx95b.js";
6
6
  import {
7
7
  init_schema
8
- } from "./index-t775as8a.js";
8
+ } from "./index-tv0m2css.js";
9
9
  import {
10
10
  DEFAULT_WORKTREE_ISOLATION_CONFIG,
11
11
  init_constants
12
- } from "./index-pksy4nzv.js";
12
+ } from "./index-py8wpe81.js";
13
13
 
14
14
  // src/config/index.ts
15
15
  init_constants();
@@ -368,6 +368,10 @@ var init_tool_metadata = __esm(() => {
368
368
  description: "submit a settled, head-bound PR review to GitHub through the gh PR Review API after the PR_REVIEW gate clears; architect-only, refuses while a gate is active or the run was aborted after settlement",
369
369
  agents: ["architect"]
370
370
  },
371
+ export_pr_review_partial_results: {
372
+ description: "export the validated partial results of an ABORTED PR_REVIEW run as a partial, non-authoritative artifact bound per-item to receipt-authenticated findings; architect-only, requires the gate cleared and an abort event binding session and head, never implies completion or feedback consent",
373
+ agents: ["architect"]
374
+ },
371
375
  prepare_pr_feedback_scope: {
372
376
  description: "prepare an exact file scope for one PR-feedback coder Task after immutable feedback verification settles",
373
377
  agents: ["architect"]
@@ -8,14 +8,14 @@ import {
8
8
  protectedRoots,
9
9
  redactDecisionLineForArchive,
10
10
  stableCanonicalStringify
11
- } from "./index-633j6d5z.js";
11
+ } from "./index-6v42d116.js";
12
12
  import {
13
13
  detectStraySwarmDirs,
14
14
  readDoctorArtifact,
15
15
  removeStraySwarmDir,
16
16
  resolvePlanParallelizationFlag,
17
17
  runConfigDoctor
18
- } from "./index-y7668dn6.js";
18
+ } from "./index-x00ghp37.js";
19
19
  import {
20
20
  archiveEvidence,
21
21
  checkRequirementCoverage,
@@ -27,7 +27,7 @@ import {
27
27
  sanitizeTaskId,
28
28
  saveEvidence,
29
29
  validateProjectRoot
30
- } from "./index-xrhhjeas.js";
30
+ } from "./index-d5dwf6q6.js";
31
31
  import {
32
32
  JAVA_SYMBOL_GRAMMAR,
33
33
  LANGUAGE_REGISTRY,
@@ -89,7 +89,7 @@ import {
89
89
  alreadyCuratedThisGeneration,
90
90
  claimNextScanBatch,
91
91
  resolveCohortId
92
- } from "./index-xbhs0kp0.js";
92
+ } from "./index-ecx8jh7s.js";
93
93
  import {
94
94
  CURATOR_CONSOLIDATION_PROMPT,
95
95
  CURATOR_INIT_PROMPT,
@@ -108,13 +108,13 @@ import {
108
108
  getGroupCommitWriter,
109
109
  importLegacyJsonl,
110
110
  readPriorDriftReports
111
- } from "./index-jfk0yzr6.js";
111
+ } from "./index-3c8v05x1.js";
112
112
  import {
113
113
  assertNoUnsettledCoderDispatch,
114
114
  listCoderSettlementWalStates,
115
115
  recoverCoderSettlement,
116
116
  recoverStaleCoderSettlements
117
- } from "./index-p4f47xhj.js";
117
+ } from "./index-mj237f76.js";
118
118
  import {
119
119
  BUNDLED_PROJECT_SKILL_ROOT,
120
120
  DEFAULT_SKILL_MIN_CONFIDENCE,
@@ -135,11 +135,11 @@ import {
135
135
  retireSkill,
136
136
  selectCandidateEntries,
137
137
  syncBundledProjectSkillsIfMissingAsync
138
- } from "./index-9nh7fhh9.js";
138
+ } from "./index-sx3g9nwg.js";
139
139
  import {
140
140
  buildEscalationBriefing,
141
141
  readRecentEscalations
142
- } from "./index-kcx2f95c.js";
142
+ } from "./index-c5644p1y.js";
143
143
  import {
144
144
  parsePorcelainV2Snapshot,
145
145
  resolveCommitCountSince,
@@ -223,7 +223,7 @@ import {
223
223
  swarmOverwriteCandidates,
224
224
  trackedDirtyCandidates,
225
225
  transientBackoff
226
- } from "./index-9ved57n0.js";
226
+ } from "./index-zv71frp3.js";
227
227
  import {
228
228
  EPIC_MODE_CONFIG_DISABLED_MESSAGE,
229
229
  PlanRecoverySupersededError,
@@ -255,7 +255,7 @@ import {
255
255
  updateEpicRecord,
256
256
  updateTaskStatus,
257
257
  withPlanLifecycleLock
258
- } from "./index-qgzyj2vt.js";
258
+ } from "./index-mqf06fyy.js";
259
259
  import {
260
260
  containsControlChars,
261
261
  containsPathTraversal,
@@ -271,7 +271,7 @@ import {
271
271
  resolveSpeckitProjection,
272
272
  validateSpeckit,
273
273
  writeProjectedSpecSync
274
- } from "./index-p4vdas8e.js";
274
+ } from "./index-hqqfxytt.js";
275
275
  import {
276
276
  clearWorktreeMergeStatus,
277
277
  getAllWorktreeMergeFailures,
@@ -303,7 +303,7 @@ import {
303
303
  transitionTaskWorkflowEvidenceWithStatus,
304
304
  withTaskEvidenceTransaction,
305
305
  writeWorkflowWalFile
306
- } from "./index-v7bjb1ta.js";
306
+ } from "./index-dexj54h2.js";
307
307
  import {
308
308
  isPathUnderSwarmWorktreeBase,
309
309
  listLiveLaneOwners,
@@ -312,7 +312,7 @@ import {
312
312
  recordLiveLaneOwner,
313
313
  removeWorktree,
314
314
  resolveWorktreeBaseDir
315
- } from "./index-w8fbnqhe.js";
315
+ } from "./index-4d04qzw5.js";
316
316
  import {
317
317
  GitBinaryMissingError,
318
318
  GitSpawnCwdError,
@@ -354,7 +354,7 @@ import {
354
354
  scanBackgroundCoderReservationsForAdmission,
355
355
  scanDelegationsForRecovery,
356
356
  sweepStaleDelegations
357
- } from "./index-ydnfnzdq.js";
357
+ } from "./index-3pkeqcxe.js";
358
358
  import {
359
359
  MAX_EVENT_LOG_ENTRIES,
360
360
  _internals,
@@ -366,7 +366,7 @@ import {
366
366
  recordHiveKnowledgeEvent,
367
367
  recordKnowledgeEvent,
368
368
  resolveKnowledgeEventsPath
369
- } from "./index-1gv6ja3m.js";
369
+ } from "./index-sxw0jbyc.js";
370
370
  import {
371
371
  commitDisplayedMembership,
372
372
  commitEmptyRetrieval,
@@ -379,7 +379,7 @@ import {
379
379
  queryLiveMemberships,
380
380
  reconcilePhaseClose,
381
381
  recordPhaseCloseIntent
382
- } from "./index-8nac5633.js";
382
+ } from "./index-646s7gp9.js";
383
383
  import {
384
384
  sanitizeContextText
385
385
  } from "./index-m9zzj4ee.js";
@@ -410,7 +410,7 @@ import {
410
410
  validateActionableFields,
411
411
  validateLesson,
412
412
  validateSkillPath
413
- } from "./index-chdc1wv3.js";
413
+ } from "./index-egkph2cs.js";
414
414
  import {
415
415
  MAX_CURATION_PROPOSALS,
416
416
  authorizeCuration,
@@ -421,7 +421,7 @@ import {
421
421
  } from "./index-rtry5xyf.js";
422
422
  import {
423
423
  resolveWorktreeIsolationConfig
424
- } from "./index-q0y8e1db.js";
424
+ } from "./index-p1z7pafk.js";
425
425
  import {
426
426
  RetrospectiveEvidenceSchema
427
427
  } from "./index-g22dps7x.js";
@@ -433,7 +433,7 @@ import {
433
433
  clearScopeBindings,
434
434
  readAuthoritativeScopeBindingSet,
435
435
  readDeclaredScopeFilesFromBindings
436
- } from "./index-7tkkhbcw.js";
436
+ } from "./index-93zvq6wn.js";
437
437
  import {
438
438
  clearPlanLedgerForReset,
439
439
  computePlanStructureHash,
@@ -449,7 +449,7 @@ import {
449
449
  replayFromLedgerWithStatus,
450
450
  resolvePlanningProfile,
451
451
  takeSnapshotEvent
452
- } from "./index-2afvf0hr.js";
452
+ } from "./index-v9geqn2t.js";
453
453
  import {
454
454
  CORE_EVENT_LOCKED,
455
455
  appendCoreEventSync,
@@ -538,7 +538,7 @@ import {
538
538
  transactFile,
539
539
  transactKnowledge,
540
540
  wordBigrams
541
- } from "./index-02gmv98q.js";
541
+ } from "./index-ywmz75rj.js";
542
542
  import {
543
543
  readTailJsonl,
544
544
  readTailJsonlDetailed,
@@ -623,7 +623,7 @@ import {
623
623
  loadPluginConfig,
624
624
  loadPluginConfigWithMeta,
625
625
  resolveEpicConfig
626
- } from "./index-ez6sczc7.js";
626
+ } from "./index-9qwmx95b.js";
627
627
  import {
628
628
  GIT_BINARY_ENV_VAR,
629
629
  addDeferredWarning,
@@ -656,7 +656,7 @@ import {
656
656
  resolveContextWindow,
657
657
  resolveGeneratedAgentRole,
658
658
  stripKnownSwarmPrefix
659
- } from "./index-t775as8a.js";
659
+ } from "./index-tv0m2css.js";
660
660
  import {
661
661
  AGENT_TOOL_MAP,
662
662
  ALL_AGENT_NAMES,
@@ -682,7 +682,7 @@ import {
682
682
  init_agent_names,
683
683
  init_constants,
684
684
  init_tool_metadata
685
- } from "./index-pksy4nzv.js";
685
+ } from "./index-py8wpe81.js";
686
686
  import {
687
687
  KNOWLEDGE_SCHEMA_VERSION,
688
688
  OUTCOME_BLOCK_THRESHOLD,
@@ -3449,7 +3449,7 @@ async function importLegacyPrWorkflowGateStateIfNeeded(directory, sessionID, all
3449
3449
  return null;
3450
3450
  throw error2;
3451
3451
  }
3452
- const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-50avx71j.js")).readPrWorkflowGateStateForRecovery(directory, sessionID))?.state ?? null : await readPrWorkflowGateStateFileFromDisk(filePath, sessionID);
3452
+ const legacy = allowSalvagedImport ? (await (await import("./pr-workflow-gate-p1sv3vp7.js")).readPrWorkflowGateStateForRecovery(directory, sessionID))?.state ?? null : await readPrWorkflowGateStateFileFromDisk(filePath, sessionID);
3453
3453
  if (!legacy)
3454
3454
  return null;
3455
3455
  const namespace = workflowGateStateCoordinationNamespace(sessionID);
@@ -3536,7 +3536,7 @@ async function deleteStateWhileLocked(directory, sessionID, options = {}) {
3536
3536
  let recoveryState = null;
3537
3537
  if (!currentAuthoritative) {
3538
3538
  if (options.allowSalvagedRead) {
3539
- const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-50avx71j.js");
3539
+ const { readPrWorkflowGateStateForRecovery } = await import("./pr-workflow-gate-p1sv3vp7.js");
3540
3540
  recoveryState = (await readPrWorkflowGateStateForRecovery(directory, normalizedSessionID))?.state ?? null;
3541
3541
  }
3542
3542
  if (!recoveryState) {
@@ -10334,7 +10334,7 @@ function isLaneOwnedByCurrentSession(branchName, expectedSessionId) {
10334
10334
  return extracted === expectedSessionId;
10335
10335
  }
10336
10336
  async function inspectStandardWorktreeCollisionOwnership(identity) {
10337
- const collisionOwnership = await import("./worktree-collision-ownership-negbpp72.js");
10337
+ const collisionOwnership = await import("./worktree-collision-ownership-ge241a9e.js");
10338
10338
  return collisionOwnership.inspectStandardWorktreeCollisionOwnership(identity);
10339
10339
  }
10340
10340
  async function runRecoveryGit(directory, args, timeoutMs = 15000) {
@@ -10761,7 +10761,7 @@ async function precreateStandardWorktreeSession(args) {
10761
10761
  const laneProfile = computeLaneRuntimeProfile(worktreeConfig.runtime_isolation, laneIndex, handle.worktreePath);
10762
10762
  if (laneProfile) {
10763
10763
  try {
10764
- const { writeLaneProfileToDiskReal } = await import("./core-9sekbwxm.js");
10764
+ const { writeLaneProfileToDiskReal } = await import("./core-dxraa2ss.js");
10765
10765
  await writeLaneProfileToDiskReal(handle.worktreePath, laneProfile.laneIndex, laneProfile.envOverrides);
10766
10766
  } catch {}
10767
10767
  }
@@ -11754,7 +11754,7 @@ async function finishStandardWorktreeDispatch(directory, dispatch, config, callI
11754
11754
  }
11755
11755
  clearWorktreeMergeStatus(statusKey);
11756
11756
  try {
11757
- const { removeLaneProfileFromDiskReal } = await import("./core-9sekbwxm.js");
11757
+ const { removeLaneProfileFromDiskReal } = await import("./core-dxraa2ss.js");
11758
11758
  await removeLaneProfileFromDiskReal(dispatch.handle.worktreePath, dispatch.laneIndex);
11759
11759
  } catch {}
11760
11760
  const state = serializationStateBySessionID.get(dispatch.parentSessionID);
@@ -27502,7 +27502,7 @@ function clearCriticalShownIds(sessionID) {
27502
27502
  async function rehydratePrSubscriptions(sessionID, directory) {
27503
27503
  const map = new Map;
27504
27504
  try {
27505
- const { listActive: listActive2 } = await import("./pr-subscriptions-zmv0gtv7.js");
27505
+ const { listActive: listActive2 } = await import("./pr-subscriptions-9ge667xn.js");
27506
27506
  const records = await listActive2(directory);
27507
27507
  for (const record of records) {
27508
27508
  if (record.sessionID !== sessionID)
@@ -44048,9 +44048,9 @@ function hashContent(content) {
44048
44048
  return createHash29("sha1").update(content).digest("hex");
44049
44049
  }
44050
44050
  async function loadConfigForPolicyCurator(directory) {
44051
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-4v7pnknw.js");
44051
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-6cwam61t.js");
44052
44052
  try {
44053
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-xgfmzmey.js");
44053
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-gv63kdd3.js");
44054
44054
  const { config: loadedConfig } = loadPluginConfigWithMeta2(directory);
44055
44055
  return KnowledgeConfigSchema2.parse(loadedConfig.knowledge ?? {});
44056
44056
  } catch {
@@ -47108,7 +47108,7 @@ async function resolveCuratorLLMDelegate(directory, mode, sessionId) {
47108
47108
  const seam = _internals46.createCuratorLLMDelegate;
47109
47109
  if (seam)
47110
47110
  return seam(directory, mode, sessionId);
47111
- const { createCuratorLLMDelegate } = await import("./curator-llm-factory-nm91t6p1.js");
47111
+ const { createCuratorLLMDelegate } = await import("./curator-llm-factory-w6hvns5a.js");
47112
47112
  return createCuratorLLMDelegate(directory, mode, sessionId);
47113
47113
  }
47114
47114
  async function reconcileCloseTerminalStateForPlan(directory, targetPlan, options) {
@@ -47503,7 +47503,7 @@ async function runFinalizeStage(ctx) {
47503
47503
  }
47504
47504
  }
47505
47505
  try {
47506
- const { CuratorConfigSchema: CCS } = await import("./schema-4v7pnknw.js");
47506
+ const { CuratorConfigSchema: CCS } = await import("./schema-6cwam61t.js");
47507
47507
  const { config: pmLoadedConfig } = _internals46.loadPluginConfigWithMeta(ctx.directory);
47508
47508
  const curatorCfg = CCS.parse(pmLoadedConfig.curator ?? {});
47509
47509
  if (curatorCfg.enabled && curatorCfg.postmortem_enabled) {
@@ -51536,7 +51536,7 @@ function serializeAgentSession(s) {
51536
51536
  }
51537
51537
  async function writeSnapshot(directory, state) {
51538
51538
  try {
51539
- const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-c7r5443q.js");
51539
+ const { ensureSnapshotCoordinationReady } = await import("./snapshot-coordination-init-rt4xyayx.js");
51540
51540
  await ensureSnapshotCoordinationReady(directory);
51541
51541
  const snapshot = {
51542
51542
  version: 3,
@@ -54557,7 +54557,7 @@ function planMerges(active, threshold, maxComparisons, maxMerges) {
54557
54557
  };
54558
54558
  }
54559
54559
  async function sweepActiveNearDuplicates(directory, options = {}) {
54560
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-xgfmzmey.js");
54560
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-gv63kdd3.js");
54561
54561
  const { config } = loadPluginConfigWithMeta2(directory);
54562
54562
  const sweepConfig = config.learning?.dedup_sweep;
54563
54563
  if (sweepConfig?.enabled === false)
@@ -55681,7 +55681,7 @@ async function runCuratorPhase(directory, phase, agentsDispatched, config, knowl
55681
55681
  }
55682
55682
  if (config.skill_generation_enabled === true && skillCandidates.length > 0) {
55683
55683
  try {
55684
- const skillModule = await import("./skill-generator-mt61qg5f.js");
55684
+ const skillModule = await import("./skill-generator-6dfgb9hj.js");
55685
55685
  for (const cand of skillCandidates) {
55686
55686
  if (cand.confidence < (config.min_skill_confidence ?? DEFAULT_SKILL_MIN_CONFIDENCE)) {
55687
55687
  continue;
@@ -56153,7 +56153,7 @@ async function applyCuratorKnowledgeUpdates(directory, recommendations, knowledg
56153
56153
  } catch {}
56154
56154
  }
56155
56155
  if (contradictedEntries.length > 0 && knowledgeConfig.contradiction_threshold_action === "quarantine") {
56156
- const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-901znnke.js");
56156
+ const { maybeQuarantineOnContradiction } = await import("./knowledge-escalator-b45xccz8.js");
56157
56157
  for (const { id } of contradictedEntries) {
56158
56158
  try {
56159
56159
  await maybeQuarantineOnContradiction(directory, id, knowledgeConfig.contradiction_quarantine_threshold, knowledgeConfig.contradiction_quarantine_window_days);
@@ -56985,7 +56985,7 @@ async function runCuratorPostMortem(directory, options = {}) {
56985
56985
  warnings.push("Failed to collect knowledge summary.");
56986
56986
  }
56987
56987
  try {
56988
- const { getScanStatus } = await import("./scan-cursor-7vnj82v4.js");
56988
+ const { getScanStatus } = await import("./scan-cursor-hrn48cja.js");
56989
56989
  const scanStatus = await getScanStatus(directory);
56990
56990
  if (scanStatus.remaining_estimate > 0) {
56991
56991
  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.`);
@@ -57157,9 +57157,9 @@ var _internals68 = {
57157
57157
  verifyPostMortemKnowledgeActions,
57158
57158
  repairPostMortemActions,
57159
57159
  loadDefaultKnowledgeConfig: async (directory) => {
57160
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-4v7pnknw.js");
57160
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-6cwam61t.js");
57161
57161
  try {
57162
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-xgfmzmey.js");
57162
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-gv63kdd3.js");
57163
57163
  const loaded = loadPluginConfigWithMeta2(directory);
57164
57164
  return KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
57165
57165
  } catch {
@@ -57167,11 +57167,11 @@ var _internals68 = {
57167
57167
  }
57168
57168
  },
57169
57169
  applyCuratorKnowledgeUpdates: async (directory, recommendations, knowledgeConfig, generation) => {
57170
- const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-venskykb.js");
57170
+ const { applyCuratorKnowledgeUpdates: applyCuratorKnowledgeUpdates2 } = await import("./curator-hwwp7e2g.js");
57171
57171
  return applyCuratorKnowledgeUpdates2(directory, recommendations, knowledgeConfig, generation);
57172
57172
  },
57173
57173
  checkHivePromotions: async (entries2, knowledgeConfig, directory) => {
57174
- const { checkHivePromotions } = await import("./hive-promoter-hy0gm4z7.js");
57174
+ const { checkHivePromotions } = await import("./hive-promoter-vxrwvhga.js");
57175
57175
  return checkHivePromotions(entries2, knowledgeConfig, directory);
57176
57176
  },
57177
57177
  applyProposalTriage: async (directory, triage) => {
@@ -57180,7 +57180,7 @@ var _internals68 = {
57180
57180
  activateProposal,
57181
57181
  listSkills: listSkills2,
57182
57182
  sanitizeSlug
57183
- } = await import("./skill-generator-mt61qg5f.js");
57183
+ } = await import("./skill-generator-6dfgb9hj.js");
57184
57184
  const result = {
57185
57185
  approved: [],
57186
57186
  rejected: [],
@@ -57222,7 +57222,7 @@ var _internals68 = {
57222
57222
  return result;
57223
57223
  },
57224
57224
  readPriorDriftReports: async (directory) => {
57225
- const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-mqcfwm24.js");
57225
+ const { readPriorDriftReports: readPriorDriftReports2 } = await import("./curator-drift-6qb0c363.js");
57226
57226
  return readPriorDriftReports2(directory);
57227
57227
  },
57228
57228
  readSwarmKnowledge: (directory) => readKnowledge(resolveSwarmKnowledgePath(directory))
@@ -67492,9 +67492,9 @@ var _internals76 = {
67492
67492
  loadPluginConfigWithMeta,
67493
67493
  loadCuratorDeps: async () => {
67494
67494
  const [{ CuratorConfigSchema }, curator, { createCuratorLLMDelegate }] = await Promise.all([
67495
- import("./schema-4v7pnknw.js"),
67496
- import("./curator-venskykb.js"),
67497
- import("./curator-llm-factory-nm91t6p1.js")
67495
+ import("./schema-6cwam61t.js"),
67496
+ import("./curator-hwwp7e2g.js"),
67497
+ import("./curator-llm-factory-w6hvns5a.js")
67498
67498
  ]);
67499
67499
  return { CuratorConfigSchema, curator, createCuratorLLMDelegate };
67500
67500
  }
@@ -69944,7 +69944,7 @@ async function computeCurationDiagnostics(directory, entries2) {
69944
69944
  let scanCompleted = false;
69945
69945
  let scanRemaining = 0;
69946
69946
  try {
69947
- const { getScanStatus } = await import("./scan-cursor-7vnj82v4.js");
69947
+ const { getScanStatus } = await import("./scan-cursor-hrn48cja.js");
69948
69948
  const status = await getScanStatus(directory);
69949
69949
  scanGeneration = status.generation;
69950
69950
  scanCompleted = status.completed;
@@ -69954,10 +69954,10 @@ async function computeCurationDiagnostics(directory, entries2) {
69954
69954
  try {
69955
69955
  const { isLinked: isLinked2 } = await import("./knowledge-link-6hw3z6wn.js");
69956
69956
  if (isLinked2(directory)) {
69957
- const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-4v7pnknw.js");
69957
+ const { KnowledgeConfigSchema: KnowledgeConfigSchema2 } = await import("./schema-6cwam61t.js");
69958
69958
  let config;
69959
69959
  try {
69960
- const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-xgfmzmey.js");
69960
+ const { loadPluginConfigWithMeta: loadPluginConfigWithMeta2 } = await import("./index-gv63kdd3.js");
69961
69961
  const loaded = loadPluginConfigWithMeta2(directory);
69962
69962
  config = KnowledgeConfigSchema2.parse(loaded.config.knowledge ?? {});
69963
69963
  } catch {
@@ -71413,7 +71413,7 @@ async function handleDoctorCommand(directory, args) {
71413
71413
  const result = runConfigDoctor(config, directory, planParallelizationEnabled);
71414
71414
  let output;
71415
71415
  if (enableAutoFix && result.hasAutoFixableIssues) {
71416
- const { runConfigDoctorWithFixes } = await import("./config-doctor-5jpt3aj0.js");
71416
+ const { runConfigDoctorWithFixes } = await import("./config-doctor-0kd6w45h.js");
71417
71417
  const fixResult = await runConfigDoctorWithFixes(directory, config, true, {
71418
71418
  applyLossy: true
71419
71419
  });
@@ -71451,7 +71451,7 @@ async function handleDoctorCommand(directory, args) {
71451
71451
  `;
71452
71452
  }
71453
71453
  try {
71454
- const { runModelPreflight } = await import("./model-preflight-gk2dtfw4.js");
71454
+ const { runModelPreflight } = await import("./model-preflight-za9f75h1.js");
71455
71455
  const preflight = await runModelPreflight(config, swarmState.opencodeClient, { generatedAgentNames: swarmState.generatedAgentNames });
71456
71456
  const missingSelection = preflight.resolutions.filter((resolution) => resolution.status === "missing-selection");
71457
71457
  const unresolved = preflight.catalogAvailable ? preflight.resolutions.filter((resolution) => resolution.status === "unresolved") : [];
@@ -71485,7 +71485,7 @@ async function handleDoctorCommand(directory, args) {
71485
71485
  }
71486
71486
  } catch {}
71487
71487
  try {
71488
- const { renderKnowledgeReceiptPhaseIdSection } = await import("./doctor-knowledge-receipt-phase-id-0ewtqwxk.js");
71488
+ const { renderKnowledgeReceiptPhaseIdSection } = await import("./doctor-knowledge-receipt-phase-id-ay2ngn4a.js");
71489
71489
  output += await renderKnowledgeReceiptPhaseIdSection(directory, enableAutoFix);
71490
71490
  } catch {}
71491
71491
  const strayDirs = detectStraySwarmDirs(directory);
@@ -73502,7 +73502,7 @@ async function handleEvidenceCommand(directory, args) {
73502
73502
  return formatTaskEvidenceMarkdown(evidenceData);
73503
73503
  }
73504
73504
  async function handleEvidenceSummaryCommand(directory) {
73505
- const { buildEvidenceSummary } = await import("./evidence-summary-service-rr3rb5n2.js");
73505
+ const { buildEvidenceSummary } = await import("./evidence-summary-service-fyyzhbsc.js");
73506
73506
  const artifact = await buildEvidenceSummary(directory);
73507
73507
  if (!artifact) {
73508
73508
  return "No plan found. Run `/swarm plan` to check plan status.";
@@ -97968,7 +97968,7 @@ function createCuratorLLMDelegate(directory, mode = "init", sessionId) {
97968
97968
  }
97969
97969
  const sdkOpts = signal ? { signal } : {};
97970
97970
  try {
97971
- const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-knqvkxc4.js");
97971
+ const { getSwarmAgents: getSwarmAgents2, resolveFallbackModel: resolveFallbackModel2 } = await import("./index-05t8f1bj.js");
97972
97972
  const createResult = await client.session.create({
97973
97973
  ...sessionId ? {
97974
97974
  body: {
@@ -100305,7 +100305,7 @@ async function cancelPrFeedbackLoopUnlocked(directory, sessionID, reason) {
100305
100305
  clearedEvents: []
100306
100306
  };
100307
100307
  try {
100308
- const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-50avx71j.js");
100308
+ const { cancelPrFeedbackPublication: cancelPrFeedbackPublication2 } = await import("./pr-workflow-gate-p1sv3vp7.js");
100309
100309
  await cancelPrFeedbackPublication2(directory, sessionID, reason);
100310
100310
  } catch (err) {
100311
100311
  warn(`[pr-feedback-loop] cancelPrFeedbackPublication failed (fail-open): ${err instanceof Error ? err.message : String(err)}`);
@@ -116771,7 +116771,7 @@ function buildDetailedHelp(commandName, entry) {
116771
116771
  async function handleHelpCommand(ctx) {
116772
116772
  const targetCommand = ctx.args.join(" ");
116773
116773
  if (!targetCommand) {
116774
- const { buildHelpText } = await import("./index-xgy7wakm.js");
116774
+ const { buildHelpText } = await import("./index-1ajj6zbq.js");
116775
116775
  return buildHelpText();
116776
116776
  }
116777
116777
  const tokens = targetCommand.split(/\s+/);
@@ -116785,7 +116785,7 @@ async function handleHelpCommand(ctx) {
116785
116785
  > Note: \`/swarm ${resolved.key}\` is a deprecated alias for \`/swarm ${aliasTarget}\`.` : detailed;
116786
116786
  }
116787
116787
  const similar = _internals35.findSimilarCommands(targetCommand);
116788
- const { buildHelpText: fullHelp } = await import("./index-xgy7wakm.js");
116788
+ const { buildHelpText: fullHelp } = await import("./index-1ajj6zbq.js");
116789
116789
  if (similar.length > 0) {
116790
116790
  return `Command '/swarm ${targetCommand}' not found.
116791
116791
 
@@ -117113,7 +117113,7 @@ var COMMAND_REGISTRY = {
117113
117113
  },
117114
117114
  "guardrail explain": {
117115
117115
  handler: async (ctx) => {
117116
- const { handleGuardrailExplain } = await import("./guardrail-explain-r5x9khp3.js");
117116
+ const { handleGuardrailExplain } = await import("./guardrail-explain-ddtj3djc.js");
117117
117117
  return handleGuardrailExplain(ctx.directory, ctx.args);
117118
117118
  },
117119
117119
  description: "Dry-run: show what the guardrails would do to a command or write target (executes nothing)",
@@ -117123,7 +117123,7 @@ var COMMAND_REGISTRY = {
117123
117123
  },
117124
117124
  "guardrail reset": {
117125
117125
  handler: async (ctx) => {
117126
- const { handleGuardrailReset } = await import("./guardrail-reset-z1rhagdh.js");
117126
+ const { handleGuardrailReset } = await import("./guardrail-reset-4psprskt.js");
117127
117127
  return handleGuardrailReset(ctx.args, ctx.sessionID);
117128
117128
  },
117129
117129
  description: "Reset one exact active invocation/action circuit after repair",
@@ -117144,7 +117144,7 @@ var COMMAND_REGISTRY = {
117144
117144
  },
117145
117145
  "guardrail-log": {
117146
117146
  handler: async (ctx) => {
117147
- const { handleGuardrailLog } = await import("./guardrail-log-87qgtbxw.js");
117147
+ const { handleGuardrailLog } = await import("./guardrail-log-ppgfsfzt.js");
117148
117148
  return handleGuardrailLog(ctx.directory, ctx.args);
117149
117149
  },
117150
117150
  description: "Read the guardrail decision log (use --blocks-only for blocks)",
@@ -5,18 +5,18 @@ import {
5
5
  import {
6
6
  effectiveRetrievalOutcomes,
7
7
  readAuthoritativeKnowledgeCounterRollups
8
- } from "./index-1gv6ja3m.js";
8
+ } from "./index-sxw0jbyc.js";
9
9
  import {
10
10
  ALLOWED_SKILL_PATH_PREFIXES,
11
11
  validateSkillPath
12
- } from "./index-chdc1wv3.js";
12
+ } from "./index-egkph2cs.js";
13
13
  import {
14
14
  computeOutcomeSignal,
15
15
  readKnowledge,
16
16
  resolveHiveKnowledgePath,
17
17
  resolveSwarmKnowledgePath,
18
18
  transactKnowledge
19
- } from "./index-02gmv98q.js";
19
+ } from "./index-ywmz75rj.js";
20
20
  import {
21
21
  appendCappedJsonl,
22
22
  resolveRetentionCap
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  queryHistoricalOutcomes
4
- } from "./index-8nac5633.js";
4
+ } from "./index-646s7gp9.js";
5
5
  import {
6
6
  resolveHiveEventsPath
7
7
  } from "./index-ae75rja9.js";
@@ -708,7 +708,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
708
708
  }
709
709
  let bumps = 0;
710
710
  if (deltas.length > 0) {
711
- const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-jkzkgsnw.js");
711
+ const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-0beaqdxd.js");
712
712
  bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
713
713
  }
714
714
  return {
@@ -3,7 +3,7 @@ import {
3
3
  ALL_AGENT_NAMES,
4
4
  SUMMARIZER_EXEMPT_TOOL_NAMES,
5
5
  init_constants
6
- } from "./index-pksy4nzv.js";
6
+ } from "./index-py8wpe81.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.191.4",
24
+ version: "7.192.0",
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",