opencode-swarm 7.168.1 → 7.169.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 (133) hide show
  1. package/.opencode/skills/swarm-pr-feedback/SKILL.md +11 -11
  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/{coder-settlement-54a3d97g.js → coder-settlement-fd6ba876.js} +12 -12
  5. package/dist/cli/{config-doctor-vzp6b3ng.js → config-doctor-zeppqwwx.js} +2 -2
  6. package/dist/cli/{core-yynse50x.js → core-fj1afc31.js} +5 -2
  7. package/dist/cli/{curation-policy-mgwv8h2k.js → curation-policy-k74qz9ms.js} +5 -5
  8. package/dist/cli/{curator-drift-k0zrnm09.js → curator-drift-3ssjr0nx.js} +5 -5
  9. package/dist/cli/{curator-agdhhzqt.js → curator-emftndv0.js} +39 -38
  10. package/dist/cli/curator-llm-factory-4t773tmz.js +72 -0
  11. package/dist/cli/{dispatch-8ks9dyk5.js → dispatch-hwwj3qrb.js} +2 -2
  12. package/dist/cli/{evidence-summary-service-6mmcekr7.js → evidence-summary-service-51b69jc3.js} +16 -16
  13. package/dist/cli/{gate-evidence-xqvkqhrk.js → gate-evidence-53s161wb.js} +7 -7
  14. package/dist/cli/guardrail-explain-mhx8gt8q.js +73 -0
  15. package/dist/cli/{guardrail-log-5wa5c77w.js → guardrail-log-xg6hrdsq.js} +8 -8
  16. package/dist/cli/{guardrail-reset-dh78tbcf.js → guardrail-reset-fgv5kt5x.js} +39 -38
  17. package/dist/cli/{hive-promoter-3czsx7c6.js → hive-promoter-41zygtgx.js} +39 -38
  18. package/dist/cli/index-0hgmsyfp.js +92 -0
  19. package/dist/cli/{index-6df6wbvj.js → index-0vgs5r39.js} +8 -8
  20. package/dist/cli/{index-3jmb4ppa.js → index-1cbjemgh.js} +2 -2
  21. package/dist/cli/{index-p612v1mv.js → index-2s7dvzff.js} +200 -51
  22. package/dist/cli/{index-qthc56c4.js → index-2znfa537.js} +4 -4
  23. package/dist/cli/{index-91ww9hyr.js → index-3bfzpzsb.js} +1 -1
  24. package/dist/cli/{index-kkmezerc.js → index-3zcds757.js} +3101 -1918
  25. package/dist/cli/{index-d5qf7hvh.js → index-5400m33a.js} +1 -1
  26. package/dist/cli/{index-bw9x8d8n.js → index-55fkkjec.js} +5 -5
  27. package/dist/cli/{index-qwsh0h2g.js → index-5qt9yf5w.js} +4 -4
  28. package/dist/cli/{index-chebm5h5.js → index-5reh1bjz.js} +3 -3
  29. package/dist/cli/{index-2xbww1x0.js → index-76ng6vmq.js} +7 -7
  30. package/dist/cli/{index-qhey6vc3.js → index-7h01bkm6.js} +2 -2
  31. package/dist/cli/{index-gh9ybrrs.js → index-83m0y4cj.js} +6 -6
  32. package/dist/cli/{index-yt9n9zt3.js → index-8x9keek6.js} +41 -40
  33. package/dist/cli/{index-8ybjqg51.js → index-9ttqbhvw.js} +1 -1
  34. package/dist/cli/{index-kear8gb7.js → index-b3pmzbh1.js} +2 -2
  35. package/dist/cli/{index-h439y187.js → index-bernkwgf.js} +1 -1
  36. package/dist/cli/{index-m35hybf0.js → index-bm5xrfnx.js} +1 -1
  37. package/dist/cli/{index-pyf517sz.js → index-br3mvbsa.js} +2 -2
  38. package/dist/cli/{index-4r5pmtvk.js → index-bx1wgn3a.js} +4 -4
  39. package/dist/cli/{index-xhb4gryr.js → index-c7kr7tnk.js} +4 -4
  40. package/dist/cli/{index-nwwk3dej.js → index-cgpwjctj.js} +1 -1
  41. package/dist/cli/{index-q8091q8b.js → index-dd48vt27.js} +3 -3
  42. package/dist/cli/{index-wst6n478.js → index-dvbf6fpn.js} +1 -1
  43. package/dist/cli/{index-w3x1dmrf.js → index-e4dxf5cr.js} +39 -38
  44. package/dist/cli/{index-5g6rhkn7.js → index-egkc2bpv.js} +36 -1
  45. package/dist/cli/{index-4kv1ew3q.js → index-exf0j569.js} +1 -1
  46. package/dist/cli/{index-a8xbvsse.js → index-fgp96k3r.js} +2 -2
  47. package/dist/cli/{index-5zqakgp4.js → index-fhh02gwx.js} +3 -3
  48. package/dist/cli/{index-dfyv3xkd.js → index-gfbggp8k.js} +9 -9
  49. package/dist/cli/{index-f1fps3w9.js → index-ksybszed.js} +7 -7
  50. package/dist/cli/{index-v3xc4sde.js → index-nbdmdyke.js} +2 -1
  51. package/dist/cli/{index-z6qreakh.js → index-nprdr0sm.js} +6 -4
  52. package/dist/cli/{index-9b2105n0.js → index-nwv3e3kc.js} +2 -2
  53. package/dist/cli/{index-bvqqwx84.js → index-nyn01yrz.js} +2 -2
  54. package/dist/cli/{index-y85aptep.js → index-p6xsgk4r.js} +7 -7
  55. package/dist/cli/{index-xkf3672y.js → index-s96dpjsk.js} +2 -2
  56. package/dist/cli/{index-j0bxxz9d.js → index-sb1s03y9.js} +8 -8
  57. package/dist/cli/{index-gmpmgtzn.js → index-sxcfszbe.js} +5 -5
  58. package/dist/cli/{index-qkwtth00.js → index-wwr67xc0.js} +197 -35
  59. package/dist/cli/{index-gp9yzr1v.js → index-xnpjwc4h.js} +1 -1
  60. package/dist/cli/{index-apy1qfj0.js → index-yj24ny5k.js} +26 -4
  61. package/dist/cli/{index-w1dfkp1q.js → index-zapc8vj4.js} +14 -14
  62. package/dist/cli/index.js +39 -38
  63. package/dist/cli/{knowledge-escalator-135dz4eh.js → knowledge-escalator-07s44av0.js} +13 -13
  64. package/dist/cli/{knowledge-events-27gwv47q.js → knowledge-events-j2n1569p.js} +11 -11
  65. package/dist/cli/{knowledge-link-dr3xnwyd.js → knowledge-link-rkxfrmhm.js} +4 -4
  66. package/dist/cli/{knowledge-store-80m44bfw.js → knowledge-store-85metj89.js} +5 -5
  67. package/dist/cli/{knowledge-validator-crsfb2cc.js → knowledge-validator-63k1xzcc.js} +7 -7
  68. package/dist/cli/{pending-delegations-gwgjzzkz.js → pending-delegations-dckmjymn.js} +12 -12
  69. package/dist/cli/{pr-subscriptions-g633nhz4.js → pr-subscriptions-pyh73me6.js} +12 -12
  70. package/dist/cli/{pr-workflow-gate-4dc5nt2e.js → pr-workflow-gate-k1r4rjw4.js} +39 -38
  71. package/dist/cli/{runner-k0ycgv8x.js → runner-1dwrgyyr.js} +6 -6
  72. package/dist/cli/{scan-cursor-avxjsm4w.js → scan-cursor-k6egg4n0.js} +6 -6
  73. package/dist/cli/{schema-3ja77k4y.js → schema-vdrtpggt.js} +5 -1
  74. package/dist/cli/{scope-persistence-f540tc50.js → scope-persistence-h1mmww19.js} +14 -14
  75. package/dist/cli/{skill-generator-kcqqpg1g.js → skill-generator-pmn6gmvk.js} +15 -15
  76. package/dist/cli/{snapshot-coordination-init-e4s8bn4p.js → snapshot-coordination-init-rspykgd0.js} +39 -38
  77. package/dist/cli/{telemetry-2wzapf11.js → telemetry-fdtaemnv.js} +1 -1
  78. package/dist/cli/{workspace-snapshot-rkgxhj9b.js → workspace-snapshot-hkz2wt1c.js} +4 -4
  79. package/dist/cli/{worktree-collision-ownership-rk9gz638.js → worktree-collision-ownership-x84dzzzc.js} +18 -104
  80. package/dist/cli/{worktree-isolation-1bdzfgky.js → worktree-isolation-nw9pakkx.js} +39 -38
  81. package/dist/commands/destructive-purge.d.ts +85 -0
  82. package/dist/commands/registry.d.ts +2 -2
  83. package/dist/commands/reset-session.d.ts +5 -1
  84. package/dist/config/constants.d.ts +4 -1
  85. package/dist/config/lane-context.d.ts +19 -0
  86. package/dist/config/schema.d.ts +77 -0
  87. package/dist/evaluation/index.d.ts +1 -0
  88. package/dist/evaluation/retrieval-quality.d.ts +116 -0
  89. package/dist/failures/invocation-failure.d.ts +23 -4
  90. package/dist/hooks/init-orphan-recovery.d.ts +7 -0
  91. package/dist/hooks/pr-workflow-gate.d.ts +8 -2
  92. package/dist/index.js +596 -590
  93. package/dist/memory/embeddings/reranker.d.ts +13 -2
  94. package/dist/memory/evaluation.d.ts +99 -0
  95. package/dist/memory/heldout-evaluation-corpus.d.ts +51 -0
  96. package/dist/memory/index.d.ts +5 -2
  97. package/dist/memory/sqlite-provider.d.ts +35 -1
  98. package/dist/memory/types.d.ts +14 -0
  99. package/dist/observability/otel-mapping.d.ts +5 -5
  100. package/dist/observability/otlp-exporter.d.ts +80 -0
  101. package/dist/parallel/lane-owners.d.ts +76 -0
  102. package/dist/tools/repo-graph/query.d.ts +6 -1
  103. package/dist/tools/repo-graph/types.d.ts +13 -4
  104. package/dist/utils/bun-compat.d.ts +20 -0
  105. package/dist/utils/gitignore-warning.d.ts +5 -2
  106. package/dist/worktree/base-migration.d.ts +55 -0
  107. package/dist/worktree/core.d.ts +15 -6
  108. package/dist/worktree/ownership.d.ts +66 -0
  109. package/opencode-swarm.schema.json +97 -0
  110. package/package.json +4 -2
  111. package/tests/fixtures/memory-recall-heldout/manifest.json +311 -0
  112. package/tests/fixtures/memory-recall-heldout/sources/bash.sh +1 -0
  113. package/tests/fixtures/memory-recall-heldout/sources/c.c +1 -0
  114. package/tests/fixtures/memory-recall-heldout/sources/cpp.cpp +1 -0
  115. package/tests/fixtures/memory-recall-heldout/sources/csharp.cs +1 -0
  116. package/tests/fixtures/memory-recall-heldout/sources/css.css +3 -0
  117. package/tests/fixtures/memory-recall-heldout/sources/dart.dart +1 -0
  118. package/tests/fixtures/memory-recall-heldout/sources/go.go +3 -0
  119. package/tests/fixtures/memory-recall-heldout/sources/ini.ini +2 -0
  120. package/tests/fixtures/memory-recall-heldout/sources/java.java +1 -0
  121. package/tests/fixtures/memory-recall-heldout/sources/javascript.js +3 -0
  122. package/tests/fixtures/memory-recall-heldout/sources/kotlin.kt +1 -0
  123. package/tests/fixtures/memory-recall-heldout/sources/php.php +1 -0
  124. package/tests/fixtures/memory-recall-heldout/sources/powershell.ps1 +1 -0
  125. package/tests/fixtures/memory-recall-heldout/sources/python.py +2 -0
  126. package/tests/fixtures/memory-recall-heldout/sources/regex.regex +1 -0
  127. package/tests/fixtures/memory-recall-heldout/sources/ruby.rb +3 -0
  128. package/tests/fixtures/memory-recall-heldout/sources/rust.rs +1 -0
  129. package/tests/fixtures/memory-recall-heldout/sources/swift.swift +1 -0
  130. package/tests/fixtures/memory-recall-heldout/sources/tsx.tsx +3 -0
  131. package/tests/fixtures/memory-recall-heldout/sources/typescript.ts +3 -0
  132. package/dist/cli/curator-llm-factory-ygxd6hfx.js +0 -71
  133. package/dist/cli/guardrail-explain-vjtjhgzs.js +0 -72
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  bunSpawnSync
4
- } from "./index-p612v1mv.js";
4
+ } from "./index-2s7dvzff.js";
5
5
  import {
6
6
  simpleGlobToRegex
7
7
  } from "./index-ee6ydtfe.js";
@@ -3,7 +3,7 @@ import {
3
3
  queryHistoricalOutcomes,
4
4
  readKnowledgeEvents,
5
5
  recordKnowledgeEvent
6
- } from "./index-6df6wbvj.js";
6
+ } from "./index-0vgs5r39.js";
7
7
  import {
8
8
  jaccardBigram,
9
9
  readKnowledge,
@@ -11,7 +11,7 @@ import {
11
11
  resolveSwarmKnowledgePath,
12
12
  transactKnowledge,
13
13
  wordBigrams
14
- } from "./index-2xbww1x0.js";
14
+ } from "./index-76ng6vmq.js";
15
15
  import {
16
16
  init_knowledge_types,
17
17
  isActiveStatus
@@ -224,11 +224,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
224
224
  alreadyInactive: true
225
225
  };
226
226
  }
227
- const { quarantineEntry } = await import("./knowledge-validator-crsfb2cc.js");
227
+ const { quarantineEntry } = await import("./knowledge-validator-63k1xzcc.js");
228
228
  let policyConfig;
229
229
  try {
230
- const { KnowledgeConfigSchema } = await import("./schema-3ja77k4y.js");
231
- const { loadPluginConfigWithMeta } = await import("./index-q8091q8b.js");
230
+ const { KnowledgeConfigSchema } = await import("./schema-vdrtpggt.js");
231
+ const { loadPluginConfigWithMeta } = await import("./index-dd48vt27.js");
232
232
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
233
233
  policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
234
234
  } catch {
@@ -1,12 +1,12 @@
1
1
  // @bun
2
- import {
3
- atomicWriteSwarmFile
4
- } from "./index-v3xc4sde.js";
5
2
  import {
6
3
  pseudonymousRef,
7
4
  resolveLineageSalt,
8
5
  telemetry
9
- } from "./index-z6qreakh.js";
6
+ } from "./index-nprdr0sm.js";
7
+ import {
8
+ atomicWriteSwarmFile
9
+ } from "./index-nbdmdyke.js";
10
10
  import {
11
11
  canonicalRootKeyFresh
12
12
  } from "./index-1xnse449.js";
@@ -1,14 +1,14 @@
1
1
  // @bun
2
2
  import {
3
3
  observeStoreHealth
4
- } from "./index-qwsh0h2g.js";
4
+ } from "./index-5qt9yf5w.js";
5
5
  import {
6
6
  telemetry
7
- } from "./index-z6qreakh.js";
7
+ } from "./index-nprdr0sm.js";
8
8
  import {
9
9
  init_schema,
10
10
  stripKnownSwarmPrefix
11
- } from "./index-apy1qfj0.js";
11
+ } from "./index-yj24ny5k.js";
12
12
  import {
13
13
  init_constants
14
14
  } from "./index-sxt7fgcw.js";
@@ -11,16 +11,16 @@ import {
11
11
  } from "./index-ae75rja9.js";
12
12
  import {
13
13
  resolveKnowledgeStoreDir
14
- } from "./index-8ybjqg51.js";
14
+ } from "./index-9ttqbhvw.js";
15
15
  import {
16
16
  atomicWriteFile
17
- } from "./index-4r5pmtvk.js";
17
+ } from "./index-bx1wgn3a.js";
18
18
  import {
19
19
  require_proper_lockfile
20
20
  } from "./index-7g4c7s5r.js";
21
21
  import {
22
22
  readCachedParsedFile
23
- } from "./index-v3xc4sde.js";
23
+ } from "./index-nbdmdyke.js";
24
24
  import {
25
25
  init_knowledge_types,
26
26
  isActiveStatus
@@ -739,7 +739,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
739
739
  const {
740
740
  readAuthoritativeKnowledgeCounterRollups,
741
741
  effectiveRetrievalOutcomes
742
- } = await import("./knowledge-events-27gwv47q.js");
742
+ } = await import("./knowledge-events-j2n1569p.js");
743
743
  const rollups = await readAuthoritativeKnowledgeCounterRollups(directory);
744
744
  const flagIds = new Set;
745
745
  for (const e of atFloor) {
@@ -806,11 +806,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
806
806
  });
807
807
  }
808
808
  if (action === "quarantine" && toQuarantine.length > 0) {
809
- const { quarantineEntry } = await import("./knowledge-validator-crsfb2cc.js");
810
- const { KnowledgeConfigSchema } = await import("./schema-3ja77k4y.js");
809
+ const { quarantineEntry } = await import("./knowledge-validator-63k1xzcc.js");
810
+ const { KnowledgeConfigSchema } = await import("./schema-vdrtpggt.js");
811
811
  let config;
812
812
  try {
813
- const { loadPluginConfigWithMeta } = await import("./index-q8091q8b.js");
813
+ const { loadPluginConfigWithMeta } = await import("./index-dd48vt27.js");
814
814
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
815
815
  config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
816
816
  } catch {
@@ -9,7 +9,7 @@ import {
9
9
  readEvaluationRun,
10
10
  saveEvaluationRun,
11
11
  saveTaskSetSnapshot
12
- } from "./index-gp9yzr1v.js";
12
+ } from "./index-xnpjwc4h.js";
13
13
  import {
14
14
  canonicalHash,
15
15
  computeCandidateInputContentHash,
@@ -20,7 +20,7 @@ import {
20
20
  } from "./index-txdagbh7.js";
21
21
  import {
22
22
  bunSpawn
23
- } from "./index-p612v1mv.js";
23
+ } from "./index-2s7dvzff.js";
24
24
  import {
25
25
  exports_external,
26
26
  init_zod
@@ -2,31 +2,31 @@
2
2
  import {
3
3
  derivePlanId,
4
4
  derivePlanIdentityHash
5
- } from "./index-h439y187.js";
5
+ } from "./index-bernkwgf.js";
6
6
  import {
7
7
  getProjectDb,
8
8
  projectDbExists,
9
9
  withImmediateTransaction,
10
10
  withProjectDbReadOnly
11
- } from "./index-wst6n478.js";
11
+ } from "./index-dvbf6fpn.js";
12
12
  import {
13
13
  assertProjectRoot,
14
14
  withEvidenceLock
15
- } from "./index-4r5pmtvk.js";
15
+ } from "./index-bx1wgn3a.js";
16
16
  import {
17
17
  emit
18
- } from "./index-z6qreakh.js";
18
+ } from "./index-nprdr0sm.js";
19
19
  import {
20
20
  ExecutionProfileSchema,
21
21
  PlanSchema,
22
22
  TaskStatusSchema,
23
23
  init_loader,
24
24
  loadPluginConfig
25
- } from "./index-91ww9hyr.js";
25
+ } from "./index-3bfzpzsb.js";
26
26
  import {
27
27
  init_package,
28
28
  package_default
29
- } from "./index-apy1qfj0.js";
29
+ } from "./index-yj24ny5k.js";
30
30
  import {
31
31
  criticalWarn,
32
32
  init_logger,
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-3jmb4ppa.js";
4
+ } from "./index-1cbjemgh.js";
5
5
  import {
6
6
  handleGuardrailLog
7
- } from "./index-4kv1ew3q.js";
7
+ } from "./index-exf0j569.js";
8
8
  import {
9
9
  COMMAND_REGISTRY,
10
10
  SWARM_COMMAND_TOOL_ALLOWLIST,
@@ -94,66 +94,67 @@ import {
94
94
  handleWriteRetroCommand,
95
95
  normalizeSwarmCommandInput,
96
96
  resolveCommand
97
- } from "./index-kkmezerc.js";
98
- import"./index-d5qf7hvh.js";
99
- import"./index-qhey6vc3.js";
100
- import"./index-chebm5h5.js";
101
- import"./index-nwwk3dej.js";
102
- import"./index-5g6rhkn7.js";
103
- import"./index-w1dfkp1q.js";
104
- import"./index-gp9yzr1v.js";
97
+ } from "./index-3zcds757.js";
98
+ import"./index-5400m33a.js";
99
+ import"./index-7h01bkm6.js";
100
+ import"./index-5reh1bjz.js";
101
+ import"./index-cgpwjctj.js";
102
+ import"./index-egkc2bpv.js";
103
+ import"./index-zapc8vj4.js";
104
+ import"./index-xnpjwc4h.js";
105
105
  import"./index-txdagbh7.js";
106
106
  import"./index-9br68j86.js";
107
107
  import"./index-cw912re7.js";
108
- import"./index-xhb4gryr.js";
109
- import"./index-bw9x8d8n.js";
110
- import"./index-9b2105n0.js";
108
+ import"./index-c7kr7tnk.js";
109
+ import"./index-55fkkjec.js";
110
+ import"./index-nwv3e3kc.js";
111
111
  import"./index-fyfbpz4f.js";
112
- import"./index-dfyv3xkd.js";
112
+ import"./index-gfbggp8k.js";
113
+ import"./index-0hgmsyfp.js";
113
114
  import"./index-zsrtt42s.js";
114
- import"./index-j0bxxz9d.js";
115
- import"./index-5zqakgp4.js";
116
- import"./index-bvqqwx84.js";
115
+ import"./index-sb1s03y9.js";
116
+ import"./index-fhh02gwx.js";
117
+ import"./index-nyn01yrz.js";
117
118
  import"./index-b43rt5ph.js";
118
119
  import"./index-q7sjgr1y.js";
119
- import"./index-gmpmgtzn.js";
120
- import"./index-qkwtth00.js";
121
- import"./index-f1fps3w9.js";
122
- import"./index-6df6wbvj.js";
123
- import"./index-kear8gb7.js";
124
- import"./index-p612v1mv.js";
125
- import"./index-qthc56c4.js";
126
- import"./index-m35hybf0.js";
120
+ import"./index-sxcfszbe.js";
121
+ import"./index-wwr67xc0.js";
122
+ import"./index-ksybszed.js";
123
+ import"./index-0vgs5r39.js";
124
+ import"./index-b3pmzbh1.js";
125
+ import"./index-2s7dvzff.js";
126
+ import"./index-2znfa537.js";
127
+ import"./index-bm5xrfnx.js";
127
128
  import"./index-rtry5xyf.js";
128
- import"./index-xkf3672y.js";
129
+ import"./index-s96dpjsk.js";
129
130
  import"./index-3qf1vxtb.js";
130
131
  import"./index-n832052r.js";
131
- import"./index-y85aptep.js";
132
- import"./index-gh9ybrrs.js";
133
- import"./index-a8xbvsse.js";
134
- import"./index-pyf517sz.js";
135
- import"./index-h439y187.js";
136
- import"./index-wst6n478.js";
132
+ import"./index-p6xsgk4r.js";
133
+ import"./index-83m0y4cj.js";
134
+ import"./index-fgp96k3r.js";
135
+ import"./index-br3mvbsa.js";
136
+ import"./index-bernkwgf.js";
137
+ import"./index-dvbf6fpn.js";
137
138
  import"./index-rdm3px0g.js";
138
139
  import"./index-ry16d01s.js";
139
- import"./index-qwsh0h2g.js";
140
- import"./index-2xbww1x0.js";
140
+ import"./index-5qt9yf5w.js";
141
+ import"./index-76ng6vmq.js";
141
142
  import"./index-vzm6zre7.js";
142
143
  import"./index-ae75rja9.js";
143
- import"./index-8ybjqg51.js";
144
- import"./index-4r5pmtvk.js";
144
+ import"./index-9ttqbhvw.js";
145
+ import"./index-bx1wgn3a.js";
145
146
  import"./index-7g4c7s5r.js";
146
- import"./index-v3xc4sde.js";
147
- import"./index-z6qreakh.js";
147
+ import"./index-nprdr0sm.js";
148
+ import"./index-nbdmdyke.js";
148
149
  import"./index-1xnse449.js";
149
150
  import"./index-ee6ydtfe.js";
150
- import"./index-91ww9hyr.js";
151
+ import"./index-3bfzpzsb.js";
151
152
  import"./index-0mhftbpp.js";
152
153
  import"./index-a1w58b47.js";
153
154
  import {
154
155
  init_schema,
155
156
  stripKnownSwarmPrefix
156
- } from "./index-apy1qfj0.js";
157
+ } from "./index-yj24ny5k.js";
157
158
  import {
158
159
  AGENT_TOOL_MAP,
159
160
  ORCHESTRATOR_NAME,
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  atomicWriteFile
4
- } from "./index-4r5pmtvk.js";
4
+ } from "./index-bx1wgn3a.js";
5
5
  import {
6
6
  canonicalRootKeyFresh
7
7
  } from "./index-1xnse449.js";
@@ -1,13 +1,13 @@
1
1
  // @bun
2
2
  import {
3
3
  bunFile
4
- } from "./index-p612v1mv.js";
4
+ } from "./index-2s7dvzff.js";
5
5
  import {
6
6
  RECENT_WRITE_WINDOW_MS,
7
7
  readCachedTextFile,
8
8
  wasObservedToExist,
9
9
  wasRecentlyWrittenByThisProcess
10
- } from "./index-v3xc4sde.js";
10
+ } from "./index-nbdmdyke.js";
11
11
  import {
12
12
  SwarmError
13
13
  } from "./index-ee6ydtfe.js";
@@ -4,7 +4,7 @@ import {
4
4
  getProjectDb,
5
5
  projectDbExists,
6
6
  withImmediateTransaction
7
- } from "./index-wst6n478.js";
7
+ } from "./index-dvbf6fpn.js";
8
8
 
9
9
  // src/db/coordination-store.ts
10
10
  import { createHash } from "crypto";
@@ -11,7 +11,7 @@ import {
11
11
  readLinkPointer,
12
12
  resolveKnowledgeStoreDir,
13
13
  resolveLinkDir
14
- } from "./index-8ybjqg51.js";
14
+ } from "./index-9ttqbhvw.js";
15
15
 
16
16
  // src/knowledge/curation-policy.ts
17
17
  import { readFile as readFile2 } from "fs/promises";
@@ -2,13 +2,13 @@
2
2
  import {
3
3
  derivePlanId,
4
4
  derivePlanIdentityHash
5
- } from "./index-h439y187.js";
5
+ } from "./index-bernkwgf.js";
6
6
  import {
7
7
  DURABILITY_CLASSES,
8
8
  getProjectDb,
9
9
  projectDbExists,
10
10
  withImmediateTransaction
11
- } from "./index-wst6n478.js";
11
+ } from "./index-dvbf6fpn.js";
12
12
  import {
13
13
  init_logger,
14
14
  warn
@@ -2,12 +2,12 @@
2
2
  import {
3
3
  require_proper_lockfile
4
4
  } from "./index-7g4c7s5r.js";
5
- import {
6
- atomicWriteFileAnyRoot
7
- } from "./index-v3xc4sde.js";
8
5
  import {
9
6
  emit
10
- } from "./index-z6qreakh.js";
7
+ } from "./index-nprdr0sm.js";
8
+ import {
9
+ atomicWriteFileAnyRoot
10
+ } from "./index-nbdmdyke.js";
11
11
  import {
12
12
  init_logger,
13
13
  warn
@@ -5,18 +5,18 @@ import {
5
5
  import {
6
6
  effectiveRetrievalOutcomes,
7
7
  readAuthoritativeKnowledgeCounterRollups
8
- } from "./index-6df6wbvj.js";
8
+ } from "./index-0vgs5r39.js";
9
9
  import {
10
10
  ALLOWED_SKILL_PATH_PREFIXES,
11
11
  validateSkillPath
12
- } from "./index-qthc56c4.js";
12
+ } from "./index-2znfa537.js";
13
13
  import {
14
14
  computeOutcomeSignal,
15
15
  readKnowledge,
16
16
  resolveHiveKnowledgePath,
17
17
  resolveSwarmKnowledgePath,
18
18
  transactKnowledge
19
- } from "./index-2xbww1x0.js";
19
+ } from "./index-76ng6vmq.js";
20
20
  import {
21
21
  appendCappedJsonl,
22
22
  resolveRetentionCap
@@ -24,7 +24,7 @@ import {
24
24
  import {
25
25
  atomicWriteFileAnyRoot,
26
26
  atomicWriteSwarmFile
27
- } from "./index-v3xc4sde.js";
27
+ } from "./index-nbdmdyke.js";
28
28
  import {
29
29
  canonicalRootKeyFresh
30
30
  } from "./index-1xnse449.js";
@@ -5,7 +5,7 @@ import {
5
5
  batchDurabilityClass,
6
6
  classifyDbWriteError,
7
7
  getProjectDb
8
- } from "./index-wst6n478.js";
8
+ } from "./index-dvbf6fpn.js";
9
9
  import {
10
10
  _internals,
11
11
  canonicalRootKeyFresh
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  _internals,
4
4
  resolveWorktreeIsolationConfig
5
- } from "./index-xkf3672y.js";
5
+ } from "./index-s96dpjsk.js";
6
6
  import {
7
7
  ApprovalEvidenceSchema,
8
8
  BaseEvidenceSchema,
@@ -44,7 +44,7 @@ import {
44
44
  loadPluginConfigWithMeta,
45
45
  loadPluginConfigWithMetaAsync,
46
46
  resetConfigAdvisoryDedup
47
- } from "./index-91ww9hyr.js";
47
+ } from "./index-3bfzpzsb.js";
48
48
  import"./index-0mhftbpp.js";
49
49
  import"./index-a1w58b47.js";
50
50
  import {
@@ -70,7 +70,7 @@ import {
70
70
  TurboConfigSchema,
71
71
  WorktreeIsolationConfigSchema,
72
72
  resolveAutoReviewConfig
73
- } from "./index-apy1qfj0.js";
73
+ } from "./index-yj24ny5k.js";
74
74
  import {
75
75
  ALL_AGENT_NAMES,
76
76
  ALL_SUBAGENT_NAMES,
@@ -7,7 +7,7 @@ import {
7
7
  } from "./index-ry16d01s.js";
8
8
  import {
9
9
  atomicWriteSwarmFileSync
10
- } from "./index-v3xc4sde.js";
10
+ } from "./index-nbdmdyke.js";
11
11
  import {
12
12
  canonicalRootKeyFresh,
13
13
  lexicalRootAliasKey
@@ -22,65 +22,66 @@ import {
22
22
  resolveFallbackModel,
23
23
  resolvePrimaryAgentNames,
24
24
  stripSwarmPrefix
25
- } from "./index-kkmezerc.js";
26
- import"./index-d5qf7hvh.js";
27
- import"./index-qhey6vc3.js";
28
- import"./index-chebm5h5.js";
29
- import"./index-nwwk3dej.js";
30
- import"./index-5g6rhkn7.js";
31
- import"./index-w1dfkp1q.js";
32
- import"./index-gp9yzr1v.js";
25
+ } from "./index-3zcds757.js";
26
+ import"./index-5400m33a.js";
27
+ import"./index-7h01bkm6.js";
28
+ import"./index-5reh1bjz.js";
29
+ import"./index-cgpwjctj.js";
30
+ import"./index-egkc2bpv.js";
31
+ import"./index-zapc8vj4.js";
32
+ import"./index-xnpjwc4h.js";
33
33
  import"./index-txdagbh7.js";
34
34
  import"./index-9br68j86.js";
35
35
  import"./index-cw912re7.js";
36
- import"./index-xhb4gryr.js";
37
- import"./index-bw9x8d8n.js";
38
- import"./index-9b2105n0.js";
36
+ import"./index-c7kr7tnk.js";
37
+ import"./index-55fkkjec.js";
38
+ import"./index-nwv3e3kc.js";
39
39
  import {
40
40
  createExplorerAgent
41
41
  } from "./index-fyfbpz4f.js";
42
- import"./index-dfyv3xkd.js";
42
+ import"./index-gfbggp8k.js";
43
+ import"./index-0hgmsyfp.js";
43
44
  import"./index-zsrtt42s.js";
44
- import"./index-j0bxxz9d.js";
45
- import"./index-5zqakgp4.js";
46
- import"./index-bvqqwx84.js";
45
+ import"./index-sb1s03y9.js";
46
+ import"./index-fhh02gwx.js";
47
+ import"./index-nyn01yrz.js";
47
48
  import"./index-b43rt5ph.js";
48
49
  import"./index-q7sjgr1y.js";
49
- import"./index-gmpmgtzn.js";
50
- import"./index-qkwtth00.js";
51
- import"./index-f1fps3w9.js";
52
- import"./index-6df6wbvj.js";
53
- import"./index-kear8gb7.js";
54
- import"./index-p612v1mv.js";
55
- import"./index-qthc56c4.js";
56
- import"./index-m35hybf0.js";
50
+ import"./index-sxcfszbe.js";
51
+ import"./index-wwr67xc0.js";
52
+ import"./index-ksybszed.js";
53
+ import"./index-0vgs5r39.js";
54
+ import"./index-b3pmzbh1.js";
55
+ import"./index-2s7dvzff.js";
56
+ import"./index-2znfa537.js";
57
+ import"./index-bm5xrfnx.js";
57
58
  import"./index-rtry5xyf.js";
58
- import"./index-xkf3672y.js";
59
+ import"./index-s96dpjsk.js";
59
60
  import"./index-3qf1vxtb.js";
60
61
  import"./index-n832052r.js";
61
- import"./index-y85aptep.js";
62
- import"./index-gh9ybrrs.js";
63
- import"./index-a8xbvsse.js";
64
- import"./index-pyf517sz.js";
65
- import"./index-h439y187.js";
66
- import"./index-wst6n478.js";
62
+ import"./index-p6xsgk4r.js";
63
+ import"./index-83m0y4cj.js";
64
+ import"./index-fgp96k3r.js";
65
+ import"./index-br3mvbsa.js";
66
+ import"./index-bernkwgf.js";
67
+ import"./index-dvbf6fpn.js";
67
68
  import"./index-rdm3px0g.js";
68
69
  import"./index-ry16d01s.js";
69
- import"./index-qwsh0h2g.js";
70
- import"./index-2xbww1x0.js";
70
+ import"./index-5qt9yf5w.js";
71
+ import"./index-76ng6vmq.js";
71
72
  import"./index-vzm6zre7.js";
72
73
  import"./index-ae75rja9.js";
73
- import"./index-8ybjqg51.js";
74
- import"./index-4r5pmtvk.js";
74
+ import"./index-9ttqbhvw.js";
75
+ import"./index-bx1wgn3a.js";
75
76
  import"./index-7g4c7s5r.js";
76
- import"./index-v3xc4sde.js";
77
- import"./index-z6qreakh.js";
77
+ import"./index-nprdr0sm.js";
78
+ import"./index-nbdmdyke.js";
78
79
  import"./index-1xnse449.js";
79
80
  import"./index-ee6ydtfe.js";
80
- import"./index-91ww9hyr.js";
81
+ import"./index-3bfzpzsb.js";
81
82
  import"./index-0mhftbpp.js";
82
83
  import"./index-a1w58b47.js";
83
- import"./index-apy1qfj0.js";
84
+ import"./index-yj24ny5k.js";
84
85
  import"./index-sxt7fgcw.js";
85
86
  import"./index-bk5tah7q.js";
86
87
  import"./index-bpmtbmy9.js";
@@ -12,7 +12,7 @@ import {
12
12
  PluginConfigSchema,
13
13
  init_schema,
14
14
  stripKnownSwarmPrefix
15
- } from "./index-apy1qfj0.js";
15
+ } from "./index-yj24ny5k.js";
16
16
  import {
17
17
  ALL_AGENT_NAMES,
18
18
  TOOL_NAME_SET,
@@ -1116,6 +1116,41 @@ function validateConfigKey(path2, value) {
1116
1116
  emitObjectTypeMismatch("memory", value, findings);
1117
1117
  break;
1118
1118
  }
1119
+ case "observability": {
1120
+ emitObjectTypeMismatch("observability", value, findings);
1121
+ if (typeof value === "object" && value !== null && !Array.isArray(value)) {
1122
+ const exportCfg = value.export;
1123
+ if (typeof exportCfg === "object" && exportCfg !== null && exportCfg.enabled === true) {
1124
+ const endpoint = exportCfg.endpoint;
1125
+ let problem = null;
1126
+ if (typeof endpoint !== "string" || endpoint.length === 0) {
1127
+ problem = "observability.export.enabled is true but endpoint is empty \u2014 the exporter stays disabled until an endpoint is configured.";
1128
+ } else {
1129
+ try {
1130
+ const url = new URL(endpoint);
1131
+ const host = url.hostname.replace(/^\[|\]$/g, "");
1132
+ const isLoopback = host === "localhost" || host === "127.0.0.1" || host === "::1";
1133
+ if (url.protocol !== "https:" && !isLoopback) {
1134
+ problem = "observability.export.endpoint uses plain http: for a non-loopback host \u2014 exported telemetry would travel unencrypted; use https: outside local test collectors.";
1135
+ }
1136
+ } catch {
1137
+ problem = "observability.export.endpoint is not a valid URL \u2014 the exporter stays disabled.";
1138
+ }
1139
+ }
1140
+ if (problem !== null) {
1141
+ findings.push({
1142
+ id: "observability-export-endpoint-policy",
1143
+ title: "OTLP export endpoint policy",
1144
+ description: problem,
1145
+ severity: "warn",
1146
+ path: "observability.export.endpoint",
1147
+ autoFixable: false
1148
+ });
1149
+ }
1150
+ }
1151
+ }
1152
+ break;
1153
+ }
1119
1154
  case "learning": {
1120
1155
  emitObjectTypeMismatch("learning", value, findings);
1121
1156
  break;
@@ -4,7 +4,7 @@ import {
4
4
  readShellAuditTail,
5
5
  redactPath,
6
6
  redactShellCommand
7
- } from "./index-chebm5h5.js";
7
+ } from "./index-5reh1bjz.js";
8
8
 
9
9
  // src/services/guardrail-log-service.ts
10
10
  var BLOCK_TYPES = new Set([
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  observeStoreHealth
4
- } from "./index-qwsh0h2g.js";
4
+ } from "./index-5qt9yf5w.js";
5
5
  import {
6
6
  telemetry
7
- } from "./index-z6qreakh.js";
7
+ } from "./index-nprdr0sm.js";
8
8
  import {
9
9
  init_logger,
10
10
  warn
@@ -1,13 +1,13 @@
1
1
  // @bun
2
2
  import {
3
3
  validateSwarmPath
4
- } from "./index-kear8gb7.js";
4
+ } from "./index-b3pmzbh1.js";
5
5
  import {
6
6
  bunSpawn
7
- } from "./index-p612v1mv.js";
7
+ } from "./index-2s7dvzff.js";
8
8
  import {
9
9
  atomicWriteSwarmFile
10
- } from "./index-v3xc4sde.js";
10
+ } from "./index-nbdmdyke.js";
11
11
  import {
12
12
  canonicalRootKey,
13
13
  sameProjectRoot