opencode-swarm 7.186.8 → 7.187.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 (121) 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/agents/architect.d.ts +1 -1
  4. package/dist/background/pr-review-contract.d.ts +2 -2
  5. package/dist/cli/{auto-checkpoint-hw4rttv4.js → auto-checkpoint-fcp7srhd.js} +10 -11
  6. package/dist/cli/{checkpoint-fdkh943k.js → checkpoint-69m1xg5q.js} +19 -19
  7. package/dist/cli/{coder-settlement-91r5s8ar.js → coder-settlement-adx7vsa9.js} +14 -15
  8. package/dist/cli/{config-doctor-nzds5xzf.js → config-doctor-eaqk3erw.js} +35 -4
  9. package/dist/cli/{core-w0gq7vwa.js → core-fb33hf6w.js} +5 -6
  10. package/dist/cli/{curation-policy-kw6x1cba.js → curation-policy-sr29thf5.js} +7 -8
  11. package/dist/cli/{curator-gkrn8wz3.js → curator-5xcy10z7.js} +46 -45
  12. package/dist/cli/{curator-drift-svnc70x4.js → curator-drift-kz0s2dk3.js} +10 -11
  13. package/dist/cli/curator-llm-factory-pc17p6kq.js +82 -0
  14. package/dist/cli/{dispatch-0ejzwb45.js → dispatch-qvcztbpf.js} +222 -48
  15. package/dist/cli/doctor-knowledge-receipt-phase-id-dwtppe04.js +83 -0
  16. package/dist/cli/{evidence-summary-service-a2tx8tbn.js → evidence-summary-service-1k2syb6b.js} +22 -22
  17. package/dist/cli/{gate-evidence-28bys0r0.js → gate-evidence-4vvj9bhj.js} +9 -10
  18. package/dist/cli/guardrail-explain-rxsda43z.js +83 -0
  19. package/dist/cli/guardrail-log-1619tcny.js +22 -0
  20. package/dist/cli/{guardrail-reset-w5kpwfxb.js → guardrail-reset-72zryht1.js} +46 -45
  21. package/dist/cli/hive-promoter-yc3xvvq8.js +97 -0
  22. package/dist/cli/{index-qc1x5vvb.js → index-0cpa8rnc.js} +2726 -2700
  23. package/dist/cli/{index-c5x4yzt6.js → index-1hg62y01.js} +8 -6
  24. package/dist/cli/{index-k55ep5se.js → index-26zs9wsj.js} +2 -2
  25. package/dist/cli/{index-whk4027k.js → index-2jxyzerw.js} +4 -4
  26. package/dist/cli/{index-t6na8zpb.js → index-319qcbg7.js} +4 -4
  27. package/dist/cli/{index-ha4r51k4.js → index-36y60mjx.js} +28 -11
  28. package/dist/cli/{index-0qpa53jg.js → index-3y0nr248.js} +8 -8
  29. package/dist/cli/{index-b9zqye89.js → index-4pbp654j.js} +46 -45
  30. package/dist/cli/{index-227te5a7.js → index-6t7ygevg.js} +2 -2
  31. package/dist/cli/{index-tw513bvn.js → index-868tmqy5.js} +8 -8
  32. package/dist/cli/{index-0k283qtq.js → index-9hag235h.js} +2 -2
  33. package/dist/cli/{index-sjwpvte3.js → index-a8gvszr2.js} +2 -2
  34. package/dist/cli/{index-znc71e1c.js → index-bejxkee0.js} +2 -2
  35. package/dist/cli/{index-03z05sbb.js → index-bstjg81q.js} +3 -3
  36. package/dist/cli/{index-agm6hegf.js → index-c44vm8tc.js} +4 -4
  37. package/dist/cli/{index-n1szkmbz.js → index-cc1vzq4m.js} +1 -1
  38. package/dist/cli/{index-xdjwefa5.js → index-dx6bhbd6.js} +2 -2
  39. package/dist/cli/{index-zcpd36zm.js → index-e9ry78z5.js} +2 -2
  40. package/dist/cli/index-f1dxxa1n.js +748 -0
  41. package/dist/cli/{index-0ghn241n.js → index-fgbm0x7d.js} +1 -1
  42. package/dist/cli/{index-mc72pk74.js → index-fzpt2djt.js} +32 -1
  43. package/dist/cli/{index-d21545hp.js → index-gathbynn.js} +48 -47
  44. package/dist/cli/{index-q8dj8b88.js → index-hjdeawyp.js} +2 -2
  45. package/dist/cli/{index-mr86ywsj.js → index-jyxgkp4a.js} +1 -1
  46. package/dist/cli/{index-e6tjg7t9.js → index-kaf9mtpc.js} +319 -768
  47. package/dist/cli/{index-extgtmxm.js → index-m1qy7f1e.js} +1 -1
  48. package/dist/cli/{index-n5ekzhad.js → index-m2xfxk4e.js} +5 -5
  49. package/dist/cli/index-m9zzj4ee.js +10 -0
  50. package/dist/cli/{index-84wt7q5y.js → index-mf19yqss.js} +3 -3
  51. package/dist/cli/{index-7ae4sgp4.js → index-my8wgyqg.js} +5 -5
  52. package/dist/cli/{index-gsqmefdg.js → index-n45kz69m.js} +2 -2
  53. package/dist/cli/{index-x5mkva6s.js → index-n55exns2.js} +1 -1
  54. package/dist/cli/{index-7pstt3w2.js → index-n8kqhxay.js} +1 -1
  55. package/dist/cli/{index-c12cz80m.js → index-p9xke6h7.js} +2 -2
  56. package/dist/cli/{index-4y6pndcf.js → index-prqjveey.js} +4 -4
  57. package/dist/cli/{index-2nbws8bd.js → index-qmmzyymt.js} +5 -5
  58. package/dist/cli/{index-cvwkjnr5.js → index-r37b4crx.js} +1 -1
  59. package/dist/cli/{index-e4hy4des.js → index-r6e8syr3.js} +1 -1
  60. package/dist/cli/{index-mtb763x4.js → index-r7d49haj.js} +1 -1
  61. package/dist/cli/{index-prksynjw.js → index-rcmgbtxf.js} +3 -3
  62. package/dist/cli/{index-xgsy3hzf.js → index-rs23yv3h.js} +16 -21
  63. package/dist/cli/{index-dbwpcjhw.js → index-t0xcsrsf.js} +8 -8
  64. package/dist/cli/{index-e47fhj4k.js → index-thx02zpn.js} +5 -5
  65. package/dist/cli/{index-gapyat7s.js → index-tv84mkce.js} +2 -2
  66. package/dist/cli/{index-5dgg9vhz.js → index-v51qveq8.js} +565 -76
  67. package/dist/cli/{index-06pcq86m.js → index-v9y0230d.js} +3 -3
  68. package/dist/cli/{index-7bxssqaf.js → index-vx8a8w3b.js} +142 -2
  69. package/dist/cli/{index-kg4yp11g.js → index-wy6wzwb3.js} +4 -4
  70. package/dist/cli/{index-pntrhnj8.js → index-ywwreanf.js} +7 -7
  71. package/dist/cli/{index-144jx1jn.js → index-z4c6bfd5.js} +5 -5
  72. package/dist/cli/{index-616pp1nq.js → index-zftyb94k.js} +3 -3
  73. package/dist/cli/index.js +47 -46
  74. package/dist/cli/{knowledge-escalator-0dj3bvh2.js → knowledge-escalator-q60ghp3z.js} +17 -16
  75. package/dist/cli/{knowledge-events-zwhb8jnb.js → knowledge-events-hadasxqm.js} +15 -14
  76. package/dist/cli/{knowledge-link-pmbyqe3b.js → knowledge-link-93nzznwd.js} +6 -7
  77. package/dist/cli/{knowledge-store-67n0qbhg.js → knowledge-store-y7vvwa7p.js} +7 -8
  78. package/dist/cli/{knowledge-validator-b58w129y.js → knowledge-validator-3tqat3wm.js} +9 -10
  79. package/dist/cli/{mcp-ayc74bm2.js → mcp-ek3wf04s.js} +1 -1
  80. package/dist/cli/{model-preflight-nvjb3bv5.js → model-preflight-gzcmdvs7.js} +46 -45
  81. package/dist/cli/{pending-delegations-yvh7b951.js → pending-delegations-54k1mysp.js} +13 -14
  82. package/dist/cli/{pr-subscriptions-pkj5mmra.js → pr-subscriptions-sx9ch5ra.js} +13 -14
  83. package/dist/cli/{pr-workflow-gate-zg6tg3c0.js → pr-workflow-gate-yehzpb9x.js} +46 -45
  84. package/dist/cli/{runner-jev9vea3.js → runner-verr6er5.js} +7 -8
  85. package/dist/cli/{scan-cursor-8nkt0n1b.js → scan-cursor-0ws87fe6.js} +8 -9
  86. package/dist/cli/{schema-ahy4ps8z.js → schema-hns0x91t.js} +2 -2
  87. package/dist/cli/{scope-persistence-h8b2hcy9.js → scope-persistence-ct6etvdy.js} +17 -18
  88. package/dist/cli/{server-14wr2fz2.js → server-hh4vy28k.js} +47 -47
  89. package/dist/cli/{skill-generator-2pk8fvfz.js → skill-generator-9fy1nmhb.js} +19 -18
  90. package/dist/cli/{snapshot-coordination-init-keeqdwph.js → snapshot-coordination-init-xjdy80bq.js} +46 -45
  91. package/dist/cli/{speckit-checkoff-yf09ctgv.js → speckit-checkoff-06104jte.js} +5 -5
  92. package/dist/cli/{telemetry-rb8hrvbx.js → telemetry-xwj899pd.js} +2 -3
  93. package/dist/cli/{workspace-snapshot-28p0ekng.js → workspace-snapshot-y60ay5eq.js} +4 -5
  94. package/dist/cli/{worktree-collision-ownership-7ctmpqx6.js → worktree-collision-ownership-3jefgmkc.js} +14 -15
  95. package/dist/cli/{worktree-isolation-2c1hvct4.js → worktree-isolation-76wbgtpk.js} +46 -45
  96. package/dist/commands/doctor-knowledge-receipt-phase-id.d.ts +16 -0
  97. package/dist/commands/registry.d.ts +4 -4
  98. package/dist/commands/reset-backup.d.ts +20 -5
  99. package/dist/commands/rollback-gate.d.ts +73 -0
  100. package/dist/hooks/extractors.d.ts +15 -0
  101. package/dist/hooks/knowledge-injector.d.ts +5 -0
  102. package/dist/hooks/knowledge-receipt-ledger.d.ts +50 -4
  103. package/dist/hooks/knowledge-receipt-observability.d.ts +1 -1
  104. package/dist/hooks/phase-complete-directive-gate.d.ts +18 -1
  105. package/dist/hooks/phase-directives.d.ts +7 -3
  106. package/dist/index.js +655 -631
  107. package/dist/lang/backends/java.d.ts +76 -0
  108. package/dist/lang/java-extraction.d.ts +88 -0
  109. package/dist/services/config-doctor.d.ts +19 -1
  110. package/dist/services/preflight-integration.d.ts +8 -1
  111. package/dist/state.d.ts +13 -0
  112. package/dist/tools/phase-complete.d.ts +2 -2
  113. package/dist/tools/repair-knowledge-receipt-ledger.d.ts +26 -0
  114. package/dist/tools/symbols.d.ts +18 -0
  115. package/opencode-swarm.schema.json +1 -1
  116. package/package.json +1 -1
  117. package/dist/cli/curator-llm-factory-j51cttb2.js +0 -81
  118. package/dist/cli/guardrail-explain-qjyz300y.js +0 -82
  119. package/dist/cli/guardrail-log-rw25bt8g.js +0 -23
  120. package/dist/cli/hive-promoter-qzz0veev.js +0 -96
  121. package/dist/cli/index-c1ggtmpm.js +0 -33
@@ -1,9 +1,11 @@
1
1
  // @bun
2
2
  import {
3
- queryHistoricalOutcomes,
4
3
  readKnowledgeEvents,
5
4
  recordKnowledgeEvent
6
- } from "./index-e6tjg7t9.js";
5
+ } from "./index-f1dxxa1n.js";
6
+ import {
7
+ queryHistoricalOutcomes
8
+ } from "./index-kaf9mtpc.js";
7
9
  import {
8
10
  jaccardBigram,
9
11
  readKnowledge,
@@ -11,7 +13,7 @@ import {
11
13
  resolveSwarmKnowledgePath,
12
14
  transactKnowledge,
13
15
  wordBigrams
14
- } from "./index-pntrhnj8.js";
16
+ } from "./index-ywwreanf.js";
15
17
  import {
16
18
  init_knowledge_types,
17
19
  isActiveStatus
@@ -224,11 +226,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
224
226
  alreadyInactive: true
225
227
  };
226
228
  }
227
- const { quarantineEntry } = await import("./knowledge-validator-b58w129y.js");
229
+ const { quarantineEntry } = await import("./knowledge-validator-3tqat3wm.js");
228
230
  let policyConfig;
229
231
  try {
230
- const { KnowledgeConfigSchema } = await import("./schema-ahy4ps8z.js");
231
- const { loadPluginConfigWithMeta } = await import("./index-whk4027k.js");
232
+ const { KnowledgeConfigSchema } = await import("./schema-hns0x91t.js");
233
+ const { loadPluginConfigWithMeta } = await import("./index-2jxyzerw.js");
232
234
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
233
235
  policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
234
236
  } catch {
@@ -9,10 +9,10 @@ import {
9
9
  } from "./index-txdagbh7.js";
10
10
  import {
11
11
  atomicWriteFile
12
- } from "./index-227te5a7.js";
12
+ } from "./index-6t7ygevg.js";
13
13
  import {
14
14
  withEvidenceLock
15
- } from "./index-mr86ywsj.js";
15
+ } from "./index-jyxgkp4a.js";
16
16
  import {
17
17
  assertProjectRoot
18
18
  } from "./index-t7hmqgjy.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  _internals,
4
4
  resolveWorktreeIsolationConfig
5
- } from "./index-prksynjw.js";
5
+ } from "./index-rcmgbtxf.js";
6
6
  import {
7
7
  ApprovalEvidenceSchema,
8
8
  BaseEvidenceSchema,
@@ -46,7 +46,7 @@ import {
46
46
  loadPluginConfigWithMeta,
47
47
  loadPluginConfigWithMetaAsync,
48
48
  resetConfigAdvisoryDedup
49
- } from "./index-cvwkjnr5.js";
49
+ } from "./index-r37b4crx.js";
50
50
  import"./index-zxdawwc7.js";
51
51
  import {
52
52
  AUTO_REVIEW_V8_BURN_IN_DECISION,
@@ -72,7 +72,7 @@ import {
72
72
  TurboConfigSchema,
73
73
  WorktreeIsolationConfigSchema,
74
74
  resolveAutoReviewConfig
75
- } from "./index-616pp1nq.js";
75
+ } from "./index-zftyb94k.js";
76
76
  import {
77
77
  ALL_AGENT_NAMES,
78
78
  ALL_SUBAGENT_NAMES,
@@ -82,7 +82,7 @@ import {
82
82
  QA_AGENTS,
83
83
  isQAAgent,
84
84
  isSubagent
85
- } from "./index-03z05sbb.js";
85
+ } from "./index-bstjg81q.js";
86
86
  import"./index-bk5tah7q.js";
87
87
  import"./index-gknz3bv1.js";
88
88
  import"./index-zpsr8rpc.js";
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  readEffectiveSpecSync
4
- } from "./index-mtb763x4.js";
4
+ } from "./index-r7d49haj.js";
5
5
  import {
6
6
  readSwarmFileAsync
7
- } from "./index-znc71e1c.js";
7
+ } from "./index-bejxkee0.js";
8
8
  import {
9
9
  DURABILITY_CLASSES,
10
10
  DbWriteError,
@@ -13,11 +13,11 @@ import {
13
13
  classifyDbWriteError,
14
14
  getProjectDb,
15
15
  projectDbExists
16
- } from "./index-0k283qtq.js";
16
+ } from "./index-9hag235h.js";
17
17
  import {
18
18
  _internals,
19
19
  canonicalRootKeyFresh
20
- } from "./index-mc72pk74.js";
20
+ } from "./index-fzpt2djt.js";
21
21
  import {
22
22
  init_logger,
23
23
  log,
@@ -1,4 +1,7 @@
1
1
  // @bun
2
+ import {
3
+ loadPlanJsonOnly
4
+ } from "./index-rs23yv3h.js";
2
5
  import {
3
6
  isCanonicalPathWithinRoot
4
7
  } from "./index-6b295cas.js";
@@ -12,13 +15,13 @@ import {
12
15
  PluginConfigSchema,
13
16
  init_schema,
14
17
  stripKnownSwarmPrefix
15
- } from "./index-616pp1nq.js";
18
+ } from "./index-zftyb94k.js";
16
19
  import {
17
20
  ALL_AGENT_NAMES,
18
21
  TOOL_NAME_SET,
19
22
  init_constants,
20
23
  init_tool_metadata
21
- } from "./index-03z05sbb.js";
24
+ } from "./index-bstjg81q.js";
22
25
  import {
23
26
  log
24
27
  } from "./index-zgwm4ryv.js";
@@ -26,11 +29,11 @@ import {
26
29
  // src/services/config-doctor.ts
27
30
  init_constants();
28
31
  init_schema();
29
- init_tool_metadata();
30
32
  import * as crypto from "crypto";
31
33
  import * as fs from "fs";
32
34
  import * as os from "os";
33
35
  import * as path from "path";
36
+ init_tool_metadata();
34
37
  var CONFIG_DOCTOR_MAX_CONFIG_FILE_BYTES = 102400;
35
38
  var KNOWN_TOP_LEVEL_KEYS = new Set(Object.keys(PluginConfigSchema.shape));
36
39
  var DEPRECATED_FIELDS = new Map([
@@ -444,10 +447,23 @@ function collectRawAutoReviewCompatibilityFindings(directory) {
444
447
  }
445
448
  return findings;
446
449
  }
447
- function emitWorktreeIsolationLayeringAdvisory(config, findings) {
448
- const parallelization = config.parallelization;
450
+ var _internals = {
451
+ loadPlanJsonOnly
452
+ };
453
+ async function resolvePlanParallelizationFlag(directory) {
454
+ let plan = null;
455
+ try {
456
+ plan = await _internals.loadPlanJsonOnly(directory);
457
+ } catch {
458
+ return null;
459
+ }
460
+ if (!plan?.execution_profile)
461
+ return null;
462
+ return plan.execution_profile.parallelization_enabled === true;
463
+ }
464
+ function emitWorktreeIsolationLayeringAdvisory(config, findings, planParallelizationEnabled) {
449
465
  const worktreePolicy = config.worktree?.policy ?? "auto";
450
- if (parallelization?.enabled === true && (parallelization.maxConcurrentTasks ?? 1) > 1 && worktreePolicy !== "disabled") {
466
+ if (planParallelizationEnabled === true && worktreePolicy !== "disabled") {
451
467
  findings.push({
452
468
  id: "worktree-isolation-baseline-active",
453
469
  title: "Worktree isolation is already active for standard parallel coders",
@@ -1482,7 +1498,7 @@ function walkConfigAndValidate(obj, path2, findings, visited = new WeakSet) {
1482
1498
  walkConfigAndValidate(value, newPath, findings, visited);
1483
1499
  }
1484
1500
  }
1485
- function runConfigDoctor(config, directory) {
1501
+ function runConfigDoctor(config, directory, planParallelizationEnabled = null) {
1486
1502
  const findings = [];
1487
1503
  walkConfigAndValidate(config, "", findings);
1488
1504
  findings.push(...collectRawGatesConfigFindings(directory));
@@ -1491,7 +1507,7 @@ function runConfigDoctor(config, directory) {
1491
1507
  findings.push(...collectRawValueConstraintFindings(directory));
1492
1508
  findings.push(...collectRawAutoReviewCompatibilityFindings(directory));
1493
1509
  findings.push(...collectLeanTurboGateSatisfiabilityFindings(config));
1494
- emitWorktreeIsolationLayeringAdvisory(config, findings);
1510
+ emitWorktreeIsolationLayeringAdvisory(config, findings, planParallelizationEnabled);
1495
1511
  const summary = {
1496
1512
  info: findings.filter((f) => f.severity === "info").length,
1497
1513
  warn: findings.filter((f) => f.severity === "warn").length,
@@ -1801,7 +1817,8 @@ function shouldRunOnStartup(automationConfig) {
1801
1817
  return automationConfig.capabilities?.config_doctor_on_startup === true;
1802
1818
  }
1803
1819
  async function runConfigDoctorWithFixes(directory, config, autoFix = false, options = {}) {
1804
- const result = runConfigDoctor(config, directory);
1820
+ const planParallelizationEnabled = await resolvePlanParallelizationFlag(directory);
1821
+ const result = runConfigDoctor(config, directory, planParallelizationEnabled);
1805
1822
  const artifactPath = writeDoctorArtifact(directory, result);
1806
1823
  if (!autoFix) {
1807
1824
  return {
@@ -1848,7 +1865,7 @@ async function runConfigDoctorWithFixes(directory, config, autoFix = false, opti
1848
1865
  if (appliedFixes.length > 0) {
1849
1866
  const freshConfig = readConfigFromFile(directory);
1850
1867
  if (freshConfig) {
1851
- const newResult = runConfigDoctor(freshConfig.config, directory);
1868
+ const newResult = runConfigDoctor(freshConfig.config, directory, planParallelizationEnabled);
1852
1869
  writeDoctorArtifact(directory, newResult);
1853
1870
  }
1854
1871
  }
@@ -1969,4 +1986,4 @@ function removeStraySwarmDir(projectRoot, strayPath) {
1969
1986
  }
1970
1987
  }
1971
1988
 
1972
- export { CURRENT_CONFIG_FORMAT_VERSION, DEFAULT_FLIPS, LEAN_TURBO_GATE_PRODUCERS, collectLeanTurboGateSatisfiabilityFindings, getConfigPaths, createConfigBackup, writeBackupArtifact, restoreFromBackup, runConfigDoctor, applySafeAutoFixes, readDoctorArtifact, writeDoctorArtifact, shouldRunOnStartup, runConfigDoctorWithFixes, detectStraySwarmDirs, removeStraySwarmDir };
1989
+ export { CURRENT_CONFIG_FORMAT_VERSION, DEFAULT_FLIPS, LEAN_TURBO_GATE_PRODUCERS, collectLeanTurboGateSatisfiabilityFindings, _internals, resolvePlanParallelizationFlag, getConfigPaths, createConfigBackup, writeBackupArtifact, restoreFromBackup, runConfigDoctor, applySafeAutoFixes, readDoctorArtifact, writeDoctorArtifact, shouldRunOnStartup, runConfigDoctorWithFixes, detectStraySwarmDirs, removeStraySwarmDir };
@@ -1,35 +1,35 @@
1
1
  // @bun
2
2
  import {
3
3
  validateSwarmPath
4
- } from "./index-znc71e1c.js";
4
+ } from "./index-bejxkee0.js";
5
5
  import {
6
6
  deleteCoordinationState,
7
7
  importCoordinationOnce,
8
8
  listCoordinationStates,
9
9
  transitionCoordinationState,
10
10
  withCoordinationTransaction
11
- } from "./index-n1szkmbz.js";
11
+ } from "./index-cc1vzq4m.js";
12
12
  import {
13
13
  getProjectDb,
14
14
  projectDbExists
15
- } from "./index-0k283qtq.js";
15
+ } from "./index-9hag235h.js";
16
16
  import {
17
17
  observeStoreHealth
18
- } from "./index-06pcq86m.js";
18
+ } from "./index-v9y0230d.js";
19
19
  import {
20
20
  withEvidenceLock
21
- } from "./index-mr86ywsj.js";
21
+ } from "./index-jyxgkp4a.js";
22
22
  import {
23
23
  telemetry
24
- } from "./index-xdjwefa5.js";
24
+ } from "./index-dx6bhbd6.js";
25
25
  import {
26
26
  canonicalRootKey,
27
27
  canonicalRootKeyFresh,
28
28
  sameProjectRoot
29
- } from "./index-mc72pk74.js";
29
+ } from "./index-fzpt2djt.js";
30
30
  import {
31
31
  atomicWriteSwarmFileSync
32
- } from "./index-e4hy4des.js";
32
+ } from "./index-r6e8syr3.js";
33
33
  import {
34
34
  exports_external,
35
35
  init_zod
@@ -23,76 +23,77 @@ import {
23
23
  resolveFallbackModel,
24
24
  resolvePrimaryAgentNames,
25
25
  stripSwarmPrefix
26
- } from "./index-qc1x5vvb.js";
27
- import"./index-kg4yp11g.js";
28
- import"./index-ha4r51k4.js";
29
- import"./index-n5ekzhad.js";
30
- import"./index-7bxssqaf.js";
31
- import"./index-x5mkva6s.js";
32
- import"./index-k55ep5se.js";
26
+ } from "./index-0cpa8rnc.js";
27
+ import"./index-wy6wzwb3.js";
28
+ import"./index-36y60mjx.js";
29
+ import"./index-m2xfxk4e.js";
30
+ import"./index-vx8a8w3b.js";
31
+ import"./index-n55exns2.js";
32
+ import"./index-26zs9wsj.js";
33
33
  import"./index-txdagbh7.js";
34
- import"./index-q8dj8b88.js";
34
+ import"./index-hjdeawyp.js";
35
35
  import {
36
36
  createExplorerAgent
37
37
  } from "./index-rdec0y3z.js";
38
- import"./index-t6na8zpb.js";
39
- import"./index-dbwpcjhw.js";
40
- import"./index-e47fhj4k.js";
41
- import"./index-c5x4yzt6.js";
42
- import"./index-84wt7q5y.js";
43
- import"./index-0qpa53jg.js";
38
+ import"./index-319qcbg7.js";
39
+ import"./index-t0xcsrsf.js";
40
+ import"./index-thx02zpn.js";
41
+ import"./index-1hg62y01.js";
42
+ import"./index-mf19yqss.js";
43
+ import"./index-3y0nr248.js";
44
44
  import"./index-cjapb4hy.js";
45
- import"./index-sjwpvte3.js";
45
+ import"./index-a8gvszr2.js";
46
46
  import"./index-pt7h91zc.js";
47
47
  import"./index-q7sjgr1y.js";
48
- import"./index-5dgg9vhz.js";
49
- import"./index-xgsy3hzf.js";
48
+ import"./index-v51qveq8.js";
49
+ import"./index-rs23yv3h.js";
50
50
  import"./index-6b295cas.js";
51
51
  import"./index-9nyqt3kb.js";
52
- import"./index-mtb763x4.js";
52
+ import"./index-r7d49haj.js";
53
53
  import"./index-zsrtt42s.js";
54
- import"./index-c12cz80m.js";
55
- import"./index-4y6pndcf.js";
56
- import"./index-144jx1jn.js";
54
+ import"./index-p9xke6h7.js";
55
+ import"./index-prqjveey.js";
56
+ import"./index-z4c6bfd5.js";
57
57
  import"./index-g4fs6z4e.js";
58
- import"./index-tw513bvn.js";
59
- import"./index-e6tjg7t9.js";
60
- import"./index-znc71e1c.js";
58
+ import"./index-868tmqy5.js";
59
+ import"./index-f1dxxa1n.js";
60
+ import"./index-kaf9mtpc.js";
61
+ import"./index-m9zzj4ee.js";
62
+ import"./index-bejxkee0.js";
61
63
  import"./index-2s7dvzff.js";
62
- import"./index-agm6hegf.js";
63
- import"./index-7pstt3w2.js";
64
+ import"./index-c44vm8tc.js";
65
+ import"./index-n8kqhxay.js";
64
66
  import"./index-rtry5xyf.js";
65
- import"./index-prksynjw.js";
67
+ import"./index-rcmgbtxf.js";
66
68
  import"./index-kbkk7vnh.js";
67
69
  import"./index-0725jpp7.js";
68
- import"./index-7ae4sgp4.js";
69
- import"./index-2nbws8bd.js";
70
- import"./index-zcpd36zm.js";
71
- import"./index-extgtmxm.js";
72
- import"./index-n1szkmbz.js";
73
- import"./index-0k283qtq.js";
70
+ import"./index-my8wgyqg.js";
71
+ import"./index-qmmzyymt.js";
72
+ import"./index-e9ry78z5.js";
73
+ import"./index-m1qy7f1e.js";
74
+ import"./index-cc1vzq4m.js";
75
+ import"./index-9hag235h.js";
74
76
  import"./index-ry16d01s.js";
75
77
  import"./index-rdm3px0g.js";
76
78
  import"./index-7pmbnjvj.js";
77
- import"./index-06pcq86m.js";
78
- import"./index-pntrhnj8.js";
79
+ import"./index-v9y0230d.js";
80
+ import"./index-ywwreanf.js";
79
81
  import"./index-vzm6zre7.js";
80
82
  import"./index-ae75rja9.js";
81
- import"./index-gsqmefdg.js";
82
- import"./index-227te5a7.js";
83
- import"./index-mr86ywsj.js";
83
+ import"./index-n45kz69m.js";
84
+ import"./index-6t7ygevg.js";
85
+ import"./index-jyxgkp4a.js";
84
86
  import"./index-t7hmqgjy.js";
85
- import"./index-xdjwefa5.js";
86
- import"./index-mc72pk74.js";
87
- import"./index-c1ggtmpm.js";
87
+ import"./index-dx6bhbd6.js";
88
+ import"./index-fzpt2djt.js";
88
89
  import"./index-ejhxgyvm.js";
89
90
  import"./index-7g4c7s5r.js";
90
- import"./index-e4hy4des.js";
91
+ import"./index-r6e8syr3.js";
91
92
  import"./index-gx2vp8gx.js";
92
- import"./index-cvwkjnr5.js";
93
+ import"./index-r37b4crx.js";
93
94
  import"./index-zxdawwc7.js";
94
- import"./index-616pp1nq.js";
95
- import"./index-03z05sbb.js";
95
+ import"./index-zftyb94k.js";
96
+ import"./index-bstjg81q.js";
96
97
  import"./index-bk5tah7q.js";
97
98
  import"./index-gknz3bv1.js";
98
99
  import"./index-zpsr8rpc.js";
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  withEvidenceLock
4
- } from "./index-mr86ywsj.js";
4
+ } from "./index-jyxgkp4a.js";
5
5
  import {
6
6
  atomicWriteFileAnyRoot
7
- } from "./index-e4hy4des.js";
7
+ } from "./index-r6e8syr3.js";
8
8
 
9
9
  // src/evidence/task-file.ts
10
10
  import * as path from "path";
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  validateSwarmPath
4
- } from "./index-znc71e1c.js";
4
+ } from "./index-bejxkee0.js";
5
5
  import {
6
6
  bunWrite
7
7
  } from "./index-2s7dvzff.js";
@@ -18,25 +18,25 @@ import {
18
18
  releaseCoordinationLease,
19
19
  transitionCoordinationState,
20
20
  withCoordinationTransaction
21
- } from "./index-n1szkmbz.js";
21
+ } from "./index-cc1vzq4m.js";
22
22
  import {
23
23
  getProjectDb,
24
24
  projectDbExists
25
- } from "./index-0k283qtq.js";
25
+ } from "./index-9hag235h.js";
26
26
  import {
27
27
  observeDelegationLedgerPressure
28
- } from "./index-06pcq86m.js";
28
+ } from "./index-v9y0230d.js";
29
29
  import {
30
30
  EvidenceLockTimeoutError,
31
31
  withEvidenceLock
32
- } from "./index-mr86ywsj.js";
32
+ } from "./index-jyxgkp4a.js";
33
33
  import {
34
34
  telemetry
35
- } from "./index-xdjwefa5.js";
35
+ } from "./index-dx6bhbd6.js";
36
36
  import {
37
37
  canonicalRootKeyFresh,
38
38
  sameProjectRoot
39
- } from "./index-mc72pk74.js";
39
+ } from "./index-fzpt2djt.js";
40
40
  import {
41
41
  exports_external,
42
42
  init_zod
@@ -4735,7 +4735,7 @@ async function reconcileLegacyCoderSettlements(directory, maxRecords, onReconcil
4735
4735
  const candidates = readDelegations(directory).filter((record) => record.normalizedAgent === "coder" && Boolean(record.legacyCoderSettlementTransfer) && Boolean(record.terminalResult)).slice(0, maxRecords);
4736
4736
  if (candidates.length === 0)
4737
4737
  return 0;
4738
- const { transferCoderSettlementToBackground } = await import("./coder-settlement-91r5s8ar.js");
4738
+ const { transferCoderSettlementToBackground } = await import("./coder-settlement-adx7vsa9.js");
4739
4739
  let transferred = 0;
4740
4740
  for (const record of candidates) {
4741
4741
  try {
@@ -8,10 +8,10 @@ import {
8
8
  import {
9
9
  canonicalRootKeyFresh,
10
10
  lexicalRootAliasKey
11
- } from "./index-mc72pk74.js";
11
+ } from "./index-fzpt2djt.js";
12
12
  import {
13
13
  atomicWriteSwarmFileSync
14
- } from "./index-e4hy4des.js";
14
+ } from "./index-r6e8syr3.js";
15
15
 
16
16
  // src/db/project-db.ts
17
17
  import { existsSync, mkdirSync, unlinkSync } from "fs";
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  validateSwarmPath
4
- } from "./index-znc71e1c.js";
4
+ } from "./index-bejxkee0.js";
5
5
  import {
6
6
  atomicWriteSwarmFileSync
7
- } from "./index-e4hy4des.js";
7
+ } from "./index-r6e8syr3.js";
8
8
 
9
9
  // src/hooks/delegation-gate/worktree-provisioning-owner.ts
10
10
  import { createHash } from "crypto";
@@ -4,13 +4,13 @@ import {
4
4
  } from "./index-2s7dvzff.js";
5
5
  import {
6
6
  SwarmError
7
- } from "./index-c1ggtmpm.js";
7
+ } from "./index-fzpt2djt.js";
8
8
  import {
9
9
  RECENT_WRITE_WINDOW_MS,
10
10
  readCachedTextFile,
11
11
  wasObservedToExist,
12
12
  wasRecentlyWrittenByThisProcess
13
- } from "./index-e4hy4des.js";
13
+ } from "./index-r6e8syr3.js";
14
14
  import {
15
15
  warn
16
16
  } from "./index-zgwm4ryv.js";
@@ -172,7 +172,7 @@ var init_tool_metadata = __esm(() => {
172
172
  }
173
173
  },
174
174
  symbols: {
175
- description: "extract exported symbols (functions, classes, interfaces, types) from source files; supports TypeScript, JavaScript, and Python",
175
+ description: "extract exported symbols (functions, classes, interfaces, types) from source files; supports TypeScript, JavaScript, Python, Rust, Go, Dart, Ruby, PHP, and Java",
176
176
  agents: [
177
177
  "architect",
178
178
  "sme",
@@ -330,7 +330,7 @@ var init_tool_metadata = __esm(() => {
330
330
  agents: ["architect"]
331
331
  },
332
332
  checkpoint: {
333
- description: "create named git checkpoints for save, restore, and delete \u2014 use before risky operations to enable rollback",
333
+ description: "create named git checkpoints for save, restore, and delete \u2014 use before risky operations to enable rollback; a destructive restore previews first and requires the confirm_token issued in the preview (#2946)",
334
334
  agents: ["architect"]
335
335
  },
336
336
  pkg_audit: {
@@ -490,7 +490,7 @@ var init_tool_metadata = __esm(() => {
490
490
  agents: ["architect"]
491
491
  },
492
492
  repair_knowledge_receipt_ledger: {
493
- description: "validate or repair authoritative knowledge receipts, preserve corrupt authority in bounded quarantine, and require scoped re-evaluation",
493
+ description: "validate or repair authoritative knowledge receipts, preserve corrupt authority in bounded quarantine, require scoped re-evaluation, and backfill stable phase ids across the whole ledger (operation backfill_phase_id; phase/session_id do not scope the backfill)",
494
494
  agents: ["architect"]
495
495
  },
496
496
  record_directive_override: {
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  authorizeCuration
4
- } from "./index-7pstt3w2.js";
4
+ } from "./index-n8kqhxay.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-pntrhnj8.js";
12
+ } from "./index-ywwreanf.js";
13
13
  import {
14
14
  resolveKnowledgeStoreDir
15
- } from "./index-gsqmefdg.js";
15
+ } from "./index-n45kz69m.js";
16
16
  import {
17
17
  atomicWriteFile
18
- } from "./index-227te5a7.js";
18
+ } from "./index-6t7ygevg.js";
19
19
  import {
20
20
  require_proper_lockfile
21
21
  } from "./index-7g4c7s5r.js";
@@ -4,7 +4,7 @@ import {
4
4
  getProjectDb,
5
5
  projectDbExists,
6
6
  withImmediateTransaction
7
- } from "./index-0k283qtq.js";
7
+ } from "./index-9hag235h.js";
8
8
 
9
9
  // src/db/coordination-store.ts
10
10
  import { createHash } from "crypto";
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  sameProjectRoot
4
- } from "./index-mc72pk74.js";
4
+ } from "./index-fzpt2djt.js";
5
5
  import {
6
6
  exports_external,
7
7
  init_zod
@@ -802,7 +802,7 @@ var CATALOG_SOURCE = [
802
802
  category: "knowledge",
803
803
  severity: "info",
804
804
  privacyClass: "pseudonymous",
805
- producer: "src/hooks/knowledge-receipt-observability.ts:197",
805
+ producer: "src/hooks/knowledge-receipt-observability.ts:199",
806
806
  consumers: NO_CONSUMERS,
807
807
  futureOwnerIssue: ISSUE_SINK,
808
808
  retentionOwnerIssue: ISSUE_LIFECYCLE_RETENTION,
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  observeStoreHealth
4
- } from "./index-06pcq86m.js";
4
+ } from "./index-v9y0230d.js";
5
5
  import {
6
6
  telemetry
7
- } from "./index-xdjwefa5.js";
7
+ } from "./index-dx6bhbd6.js";
8
8
  import {
9
9
  init_logger,
10
10
  warn