opencode-swarm 7.139.0 → 7.139.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/.opencode/skills/swarm-pr-review/SKILL.md +15 -0
  2. package/README.md +7 -6
  3. package/dist/cli/{config-doctor-aszp7z1h.js → config-doctor-hrb61yqe.js} +2 -2
  4. package/dist/cli/{core-3s832mxx.js → core-g2dfh9fq.js} +1 -1
  5. package/dist/cli/{curation-policy-a3hs73f7.js → curation-policy-4tp0mbcb.js} +7 -7
  6. package/dist/cli/{curator-drift-jpap6hv4.js → curator-drift-vfh07mqy.js} +5 -2
  7. package/dist/cli/{curator-llm-factory-e8ngwyjm.js → curator-llm-factory-hvw13hmr.js} +28 -28
  8. package/dist/cli/{curator-zxjqcc8r.js → curator-vpcs1p1v.js} +28 -28
  9. package/dist/cli/{evidence-summary-service-qfhjfxdz.js → evidence-summary-service-kzxr71yd.js} +9 -9
  10. package/dist/cli/{gate-evidence-m2grv70v.js → gate-evidence-z2b1ymnw.js} +5 -5
  11. package/dist/cli/{guardrail-explain-rqpmzxyy.js → guardrail-explain-k62h3c92.js} +29 -29
  12. package/dist/cli/{guardrail-log-vd4a0ng5.js → guardrail-log-2ftew0p3.js} +3 -3
  13. package/dist/cli/{hive-promoter-jc5vym27.js → hive-promoter-mpf0cfkk.js} +28 -28
  14. package/dist/cli/{index-4ft523nb.js → index-0wp67gqj.js} +143 -89
  15. package/dist/cli/{index-ymszzvnr.js → index-3eddtgxt.js} +1 -1
  16. package/dist/cli/{index-67yqywan.js → index-3radty3f.js} +2 -2
  17. package/dist/cli/{index-p2dz85tv.js → index-4xbyy6aw.js} +2 -2
  18. package/dist/cli/{index-a614s16f.js → index-5j6chvj8.js} +1 -1
  19. package/dist/cli/{index-tcdcj1g2.js → index-5w7ekpy3.js} +2 -2
  20. package/dist/cli/{index-nbgw5dxa.js → index-5zyk8qgv.js} +2 -2
  21. package/dist/cli/{index-tyh0p5e8.js → index-668dpw5e.js} +1 -1
  22. package/dist/cli/{index-6q240xgm.js → index-6c5f309q.js} +2 -2
  23. package/dist/cli/{index-s428dmy6.js → index-6w1re1qn.js} +2 -2
  24. package/dist/cli/{index-nsnfvckc.js → index-8gftfvpp.js} +1 -1
  25. package/dist/cli/{index-rtetrxxq.js → index-8p9pasnp.js} +8 -3
  26. package/dist/cli/{index-85hstja2.js → index-a12906mj.js} +1 -1
  27. package/dist/cli/{index-chvqee1j.js → index-a5eba0t8.js} +2 -2
  28. package/dist/cli/{index-r3pth9a7.js → index-a7nh382r.js} +508 -441
  29. package/dist/cli/{index-t31cc7kv.js → index-cyw81ngh.js} +7 -7
  30. package/dist/cli/{index-kv36s0x0.js → index-e9tx99ds.js} +6 -3
  31. package/dist/cli/{index-fsrp8wp3.js → index-ed5ykebp.js} +25 -2
  32. package/dist/cli/{index-0tsetsxs.js → index-ffpmqx30.js} +4 -4
  33. package/dist/cli/{index-nc544sfw.js → index-gvhvz176.js} +2 -2
  34. package/dist/cli/{index-3nr2sn32.js → index-ktagrqxw.js} +3 -3
  35. package/dist/cli/{index-t26nfmcs.js → index-prmb5qfp.js} +2 -2
  36. package/dist/cli/{index-q3qtgtd0.js → index-q11t5erh.js} +1 -1
  37. package/dist/cli/{index-x20cgr2q.js → index-q7ezzgwq.js} +16 -2
  38. package/dist/cli/{index-z1tkxzq4.js → index-s608d3hw.js} +2 -2
  39. package/dist/cli/{index-y46anh5e.js → index-se8xc78k.js} +30 -30
  40. package/dist/cli/{index-84s6x604.js → index-w71cq27a.js} +5 -5
  41. package/dist/cli/{index-ddmnhv4h.js → index-wrt6m5ze.js} +1 -1
  42. package/dist/cli/{index-4qzeef9h.js → index-x9q4bbhd.js} +1 -1
  43. package/dist/cli/{index-zd15ya1w.js → index-y47dwge1.js} +1 -1
  44. package/dist/cli/{index-5bkpyvdf.js → index-y64jv2pe.js} +1 -1
  45. package/dist/cli/{index-gytyqv1d.js → index-yr6x707c.js} +2 -2
  46. package/dist/cli/index.js +28 -28
  47. package/dist/cli/{knowledge-escalator-6473ey4c.js → knowledge-escalator-n9pmx4qr.js} +8 -8
  48. package/dist/cli/{knowledge-events-wwzpz8m4.js → knowledge-events-raevm18w.js} +6 -6
  49. package/dist/cli/{knowledge-link-trfydkzm.js → knowledge-link-3tq8w6gs.js} +5 -5
  50. package/dist/cli/{knowledge-store-99gd42jy.js → knowledge-store-bcfqz8fr.js} +6 -6
  51. package/dist/cli/{knowledge-validator-v2eevvdg.js → knowledge-validator-jxqj96cx.js} +9 -9
  52. package/dist/cli/{pending-delegations-p6n83x67.js → pending-delegations-tmyf18p4.js} +5 -5
  53. package/dist/cli/{pr-subscriptions-xbrfr51c.js → pr-subscriptions-hhx6yk24.js} +5 -5
  54. package/dist/cli/{runner-9an52tmz.js → runner-w30gazew.js} +6 -6
  55. package/dist/cli/{scan-cursor-39zxpw34.js → scan-cursor-ah5swtyh.js} +7 -7
  56. package/dist/cli/{schema-xhfwr6b2.js → schema-f7jgrtxj.js} +3 -1
  57. package/dist/cli/{scope-persistence-nsa6ra9s.js → scope-persistence-3f0d4fwv.js} +4 -4
  58. package/dist/cli/{skill-generator-5px81476.js → skill-generator-hp7as46c.js} +10 -10
  59. package/dist/cli/{telemetry-7nt7zhyp.js → telemetry-4tgrfhaz.js} +1 -1
  60. package/dist/cli/{worktree-collision-ownership-9x4s4890.js → worktree-collision-ownership-vexb0b6r.js} +38 -8
  61. package/dist/config/context-window.d.ts +210 -0
  62. package/dist/config/schema.d.ts +18 -0
  63. package/dist/evaluation/ephemeral-agent-dispatcher.d.ts +18 -0
  64. package/dist/evaluation/model-dispatcher.d.ts +1 -0
  65. package/dist/hooks/delegate-ack-collector.d.ts +1 -1
  66. package/dist/hooks/delegation-gate/worktree-collision-ownership.d.ts +7 -0
  67. package/dist/hooks/delegation-gate/worktree-isolation.d.ts +2 -1
  68. package/dist/hooks/delegation-gate/worktree-provisioning-owner.d.ts +6 -0
  69. package/dist/hooks/index.d.ts +2 -2
  70. package/dist/hooks/init-orphan-recovery.d.ts +4 -1
  71. package/dist/hooks/knowledge-application-gate.d.ts +2 -1
  72. package/dist/hooks/knowledge-application.d.ts +5 -4
  73. package/dist/hooks/knowledge-injector.d.ts +16 -0
  74. package/dist/hooks/knowledge-types.d.ts +1 -1
  75. package/dist/hooks/messages-transform.d.ts +18 -0
  76. package/dist/hooks/model-limits.d.ts +88 -30
  77. package/dist/hooks/pr-workflow-gate.d.ts +8 -1
  78. package/dist/index.js +455 -452
  79. package/dist/memory/injector.d.ts +2 -0
  80. package/dist/services/context-budget-service.d.ts +6 -1
  81. package/dist/services/status-service.d.ts +14 -0
  82. package/dist/state.d.ts +37 -0
  83. package/dist/tools/context-status.d.ts +3 -1
  84. package/dist/turbo/lean/runner.d.ts +10 -0
  85. package/dist/utils/ephemeral-session-teardown.d.ts +98 -0
  86. package/dist/utils/path-security.d.ts +75 -5
  87. package/dist/utils/swarm-artifact-cache.d.ts +13 -0
  88. package/dist/worktree/index.d.ts +1 -1
  89. package/dist/worktree/merge.d.ts +36 -3
  90. package/package.json +1 -1
@@ -6,17 +6,17 @@ import {
6
6
  } from "./index-ae75rja9.js";
7
7
  import {
8
8
  resolveKnowledgeStoreDir
9
- } from "./index-tyh0p5e8.js";
9
+ } from "./index-668dpw5e.js";
10
10
  import {
11
11
  atomicWriteFile
12
- } from "./index-nc544sfw.js";
12
+ } from "./index-gvhvz176.js";
13
13
  import {
14
14
  init_knowledge_types,
15
15
  isActiveStatus
16
16
  } from "./index-bk5tah7q.js";
17
17
  import {
18
18
  readCachedParsedFile
19
- } from "./index-fsrp8wp3.js";
19
+ } from "./index-ed5ykebp.js";
20
20
  import {
21
21
  require_proper_lockfile
22
22
  } from "./index-7g4c7s5r.js";
@@ -702,7 +702,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
702
702
  const recovered = touched.filter((e) => e.confidence > CONFIDENCE_FLOOR + FLOOR_EPSILON && e.confidence_floor_demoted);
703
703
  if (atFloor.length === 0 && recovered.length === 0)
704
704
  return;
705
- const { readKnowledgeCounterRollups, effectiveRetrievalOutcomes } = await import("./knowledge-events-wwzpz8m4.js");
705
+ const { readKnowledgeCounterRollups, effectiveRetrievalOutcomes } = await import("./knowledge-events-raevm18w.js");
706
706
  const rollups = await readKnowledgeCounterRollups(directory);
707
707
  const flagIds = new Set;
708
708
  for (const e of atFloor) {
@@ -769,11 +769,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
769
769
  });
770
770
  }
771
771
  if (action === "quarantine" && toQuarantine.length > 0) {
772
- const { quarantineEntry } = await import("./knowledge-validator-v2eevvdg.js");
773
- const { KnowledgeConfigSchema } = await import("./schema-xhfwr6b2.js");
772
+ const { quarantineEntry } = await import("./knowledge-validator-jxqj96cx.js");
773
+ const { KnowledgeConfigSchema } = await import("./schema-f7jgrtxj.js");
774
774
  let config;
775
775
  try {
776
- const { loadPluginConfigWithMeta } = await import("./index-gytyqv1d.js");
776
+ const { loadPluginConfigWithMeta } = await import("./index-yr6x707c.js");
777
777
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
778
778
  config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
779
779
  } catch {
@@ -4,10 +4,10 @@ import {
4
4
  } from "./index-ae75rja9.js";
5
5
  import {
6
6
  resolveKnowledgeStoreDir
7
- } from "./index-tyh0p5e8.js";
7
+ } from "./index-668dpw5e.js";
8
8
  import {
9
9
  atomicWriteFile
10
- } from "./index-nc544sfw.js";
10
+ } from "./index-gvhvz176.js";
11
11
  import {
12
12
  require_proper_lockfile
13
13
  } from "./index-7g4c7s5r.js";
@@ -457,6 +457,9 @@ function recomputeCounters(events, legacyRecords = [], baseline = new Map) {
457
457
  case "ignored":
458
458
  r.ignored_count += 1;
459
459
  break;
460
+ case "contradicted":
461
+ r.contradicted_count += 1;
462
+ break;
460
463
  case "violated":
461
464
  r.violated_count += 1;
462
465
  r.violation_timestamps.push(rec.timestamp);
@@ -625,7 +628,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
625
628
  deltas.push({ id, delta });
626
629
  }
627
630
  if (deltas.length > 0) {
628
- const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-99gd42jy.js");
631
+ const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-bcfqz8fr.js");
629
632
  await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
630
633
  }
631
634
  return {
@@ -1,5 +1,6 @@
1
1
  // @bun
2
2
  // src/utils/swarm-artifact-cache.ts
3
+ import * as fsSync from "fs";
3
4
  import * as fs from "fs/promises";
4
5
  import * as path from "path";
5
6
  var MAX_CACHE_ENTRIES = 128;
@@ -24,9 +25,13 @@ var stats = {
24
25
  function sameStamp(a, b) {
25
26
  return a.mtimeMs === b.mtimeMs && a.ctimeMs === b.ctimeMs && a.size === b.size;
26
27
  }
28
+ var _internals = {
29
+ stat: fs.stat,
30
+ statSync: fsSync.statSync
31
+ };
27
32
  async function getStamp(filePath) {
28
33
  try {
29
- const stat2 = await fs.stat(filePath);
34
+ const stat2 = await _internals.stat(filePath);
30
35
  if (!stat2.isFile())
31
36
  return null;
32
37
  return { mtimeMs: stat2.mtimeMs, ctimeMs: stat2.ctimeMs, size: stat2.size };
@@ -124,5 +129,23 @@ function invalidateCachedArtifact(filePath) {
124
129
  parsedCache.delete(key);
125
130
  }
126
131
  }
132
+ function resetSwarmArtifactCache() {
133
+ textCache.clear();
134
+ parsedCache.clear();
135
+ stats.textReadCount = 0;
136
+ stats.textCacheHitCount = 0;
137
+ stats.textCacheMissCount = 0;
138
+ stats.parsedReadCount = 0;
139
+ stats.parseCount = 0;
140
+ stats.parsedCacheHitCount = 0;
141
+ stats.parsedCacheMissCount = 0;
142
+ stats.statFailureCount = 0;
143
+ stats.evictionCount = 0;
144
+ stats.textEvictionCount = 0;
145
+ stats.parsedEvictionCount = 0;
146
+ stats.cloneFallbackCount = 0;
147
+ stats.textEntryCount = 0;
148
+ stats.parsedEntryCount = 0;
149
+ }
127
150
 
128
- export { readCachedTextFile, readCachedParsedFile, invalidateCachedArtifact };
151
+ export { readCachedTextFile, readCachedParsedFile, invalidateCachedArtifact, resetSwarmArtifactCache };
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  authorizeCuration
4
- } from "./index-67yqywan.js";
4
+ } from "./index-3radty3f.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-t31cc7kv.js";
12
+ } from "./index-cyw81ngh.js";
13
13
  import {
14
14
  resolveKnowledgeStoreDir
15
- } from "./index-tyh0p5e8.js";
15
+ } from "./index-668dpw5e.js";
16
16
  import {
17
17
  atomicWriteFile
18
- } from "./index-nc544sfw.js";
18
+ } from "./index-gvhvz176.js";
19
19
  import {
20
20
  require_proper_lockfile
21
21
  } from "./index-7g4c7s5r.js";
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  invalidateCachedArtifact
4
- } from "./index-fsrp8wp3.js";
4
+ } from "./index-ed5ykebp.js";
5
5
  import {
6
6
  withEvidenceLock
7
- } from "./index-a614s16f.js";
7
+ } from "./index-5j6chvj8.js";
8
8
  import {
9
9
  bunWrite
10
10
  } from "./index-y111zefa.js";
@@ -2,18 +2,18 @@
2
2
  import {
3
3
  ALLOWED_SKILL_PATH_PREFIXES,
4
4
  validateSkillPath
5
- } from "./index-0tsetsxs.js";
5
+ } from "./index-ffpmqx30.js";
6
6
  import {
7
7
  computeOutcomeSignal,
8
8
  readKnowledge,
9
9
  resolveHiveKnowledgePath,
10
10
  resolveSwarmKnowledgePath,
11
11
  transactKnowledge
12
- } from "./index-t31cc7kv.js";
12
+ } from "./index-cyw81ngh.js";
13
13
  import {
14
14
  effectiveRetrievalOutcomes,
15
15
  readKnowledgeCounterRollups
16
- } from "./index-kv36s0x0.js";
16
+ } from "./index-e9tx99ds.js";
17
17
  import {
18
18
  init_knowledge_types,
19
19
  isActiveStatus
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  validateSwarmPath
4
- } from "./index-4qzeef9h.js";
4
+ } from "./index-x9q4bbhd.js";
5
5
  import {
6
6
  withEvidenceLock
7
- } from "./index-a614s16f.js";
7
+ } from "./index-5j6chvj8.js";
8
8
  import {
9
9
  exports_external,
10
10
  init_zod
@@ -6,7 +6,7 @@ import {
6
6
  PluginConfigSchema,
7
7
  init_schema,
8
8
  resolveExternalSkillsConfig
9
- } from "./index-rtetrxxq.js";
9
+ } from "./index-8p9pasnp.js";
10
10
  import {
11
11
  advisoryWarn,
12
12
  init_warning_buffer
@@ -1,17 +1,23 @@
1
1
  // @bun
2
2
  import {
3
3
  validateSwarmPath
4
- } from "./index-4qzeef9h.js";
4
+ } from "./index-x9q4bbhd.js";
5
5
 
6
6
  // src/hooks/delegation-gate/worktree-provisioning-owner.ts
7
+ import { createHash, randomBytes } from "crypto";
7
8
  import * as fs from "fs";
8
9
  import * as path from "path";
9
10
  var PROVISIONING_OWNER_DIR = "worktree-provisioning-owners";
10
11
  var MAX_PROVISIONING_OWNERS = 512;
11
12
  var MAX_PROVISIONING_OWNER_BYTES = 16 * 1024;
13
+ var WORKTREE_PROVISIONING_OWNER_LEASE_MS = 5 * 60 * 1000;
12
14
  function ownerDirectory(directory) {
13
15
  return path.dirname(validateSwarmPath(directory, path.join(PROVISIONING_OWNER_DIR, ".containment-anchor")));
14
16
  }
17
+ function ownerPath(directory, callID) {
18
+ const digest = createHash("sha256").update(callID).digest("hex");
19
+ return validateSwarmPath(directory, path.join(PROVISIONING_OWNER_DIR, `${digest}.json`));
20
+ }
15
21
  function isOwner(value) {
16
22
  if (!value || typeof value !== "object" || Array.isArray(value))
17
23
  return false;
@@ -20,6 +26,14 @@ function isOwner(value) {
20
26
  const validTaskIdentity = schemaVersion === 1 ? candidate.taskId === undefined : schemaVersion === 2 && typeof candidate.taskId === "string" && candidate.taskId.length > 0 && candidate.taskId.length <= 512;
21
27
  return (schemaVersion === 1 || schemaVersion === 2) && validTaskIdentity && typeof candidate.callID === "string" && candidate.callID.length > 0 && candidate.callID.length <= 512 && typeof candidate.parentSessionId === "string" && candidate.parentSessionId.length > 0 && candidate.parentSessionId.length <= 512 && typeof candidate.worktreeSessionId === "string" && candidate.worktreeSessionId.length > 0 && candidate.worktreeSessionId.length <= 512 && typeof candidate.createdAt === "number" && Number.isFinite(candidate.createdAt) && candidate.createdAt >= 0;
22
28
  }
29
+ function removeWorktreeProvisioningOwner(directory, callID) {
30
+ try {
31
+ fs.unlinkSync(ownerPath(directory, callID));
32
+ return true;
33
+ } catch (error) {
34
+ return error.code === "ENOENT";
35
+ }
36
+ }
23
37
  function scanWorktreeProvisioningOwnersForRecovery(directory) {
24
38
  let directoryPath;
25
39
  let entries;
@@ -77,4 +91,4 @@ function scanWorktreeProvisioningOwnersForRecovery(directory) {
77
91
  return { status: "ok", owners };
78
92
  }
79
93
 
80
- export { scanWorktreeProvisioningOwnersForRecovery };
94
+ export { WORKTREE_PROVISIONING_OWNER_LEASE_MS, removeWorktreeProvisioningOwner, scanWorktreeProvisioningOwnersForRecovery };
@@ -9,10 +9,10 @@ import {
9
9
  } from "./index-y8552snf.js";
10
10
  import {
11
11
  atomicWriteFile
12
- } from "./index-nc544sfw.js";
12
+ } from "./index-gvhvz176.js";
13
13
  import {
14
14
  withEvidenceLock
15
- } from "./index-a614s16f.js";
15
+ } from "./index-5j6chvj8.js";
16
16
  import {
17
17
  exports_external,
18
18
  init_zod
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-6q240xgm.js";
4
+ } from "./index-6c5f309q.js";
5
5
  import {
6
6
  handleGuardrailLog
7
- } from "./index-nsnfvckc.js";
7
+ } from "./index-8gftfvpp.js";
8
8
  import {
9
9
  COMMAND_REGISTRY,
10
10
  SWARM_COMMAND_TOOL_ALLOWLIST,
@@ -84,62 +84,62 @@ import {
84
84
  handleWriteRetroCommand,
85
85
  normalizeSwarmCommandInput,
86
86
  resolveCommand
87
- } from "./index-r3pth9a7.js";
87
+ } from "./index-a7nh382r.js";
88
88
  import"./index-vm4xw9z3.js";
89
- import"./index-ddmnhv4h.js";
90
- import"./index-5bkpyvdf.js";
91
- import"./index-zd15ya1w.js";
92
- import"./index-4ft523nb.js";
93
- import"./index-z1tkxzq4.js";
89
+ import"./index-wrt6m5ze.js";
90
+ import"./index-y64jv2pe.js";
91
+ import"./index-y47dwge1.js";
92
+ import"./index-0wp67gqj.js";
93
+ import"./index-s608d3hw.js";
94
94
  import"./index-y8552snf.js";
95
95
  import"./index-4905hd2m.js";
96
96
  import"./index-134d35c1.js";
97
- import"./index-3nr2sn32.js";
98
- import"./index-84s6x604.js";
99
- import"./index-s428dmy6.js";
97
+ import"./index-ktagrqxw.js";
98
+ import"./index-w71cq27a.js";
99
+ import"./index-6w1re1qn.js";
100
100
  import"./index-6mjf4vr1.js";
101
101
  import"./index-c8s9a3zh.js";
102
102
  import"./index-9ss2m4rs.js";
103
103
  import"./index-wsdnttf4.js";
104
- import"./index-tcdcj1g2.js";
105
- import"./index-0tsetsxs.js";
106
- import"./index-67yqywan.js";
104
+ import"./index-5w7ekpy3.js";
105
+ import"./index-ffpmqx30.js";
106
+ import"./index-3radty3f.js";
107
107
  import"./index-rtry5xyf.js";
108
- import"./index-t31cc7kv.js";
109
- import"./index-kv36s0x0.js";
108
+ import"./index-cyw81ngh.js";
109
+ import"./index-e9tx99ds.js";
110
110
  import"./index-ae75rja9.js";
111
- import"./index-tyh0p5e8.js";
112
- import"./index-nc544sfw.js";
113
- import"./index-q3qtgtd0.js";
111
+ import"./index-668dpw5e.js";
112
+ import"./index-gvhvz176.js";
113
+ import"./index-q11t5erh.js";
114
114
  import"./index-gprxjmm7.js";
115
115
  import"./index-n832052r.js";
116
116
  import {
117
117
  init_schema,
118
118
  stripKnownSwarmPrefix
119
- } from "./index-rtetrxxq.js";
119
+ } from "./index-8p9pasnp.js";
120
120
  import"./index-bk5tah7q.js";
121
121
  import"./index-8fwhhayc.js";
122
122
  import"./index-q1exe2b3.js";
123
- import"./index-nbgw5dxa.js";
124
- import"./index-ymszzvnr.js";
123
+ import"./index-5zyk8qgv.js";
124
+ import"./index-3eddtgxt.js";
125
125
  import"./index-556ja8an.js";
126
- import"./index-p2dz85tv.js";
126
+ import"./index-4xbyy6aw.js";
127
127
  import"./index-1kz6da87.js";
128
- import"./index-x20cgr2q.js";
128
+ import"./index-q7ezzgwq.js";
129
129
  import"./index-b8zgtz81.js";
130
- import"./index-85hstja2.js";
130
+ import"./index-a12906mj.js";
131
131
  import"./index-4rhhvd1a.js";
132
132
  import {
133
133
  AGENT_TOOL_MAP,
134
134
  ORCHESTRATOR_NAME,
135
135
  init_constants
136
136
  } from "./index-3jcyn8g6.js";
137
- import"./index-t26nfmcs.js";
138
- import"./index-4qzeef9h.js";
139
- import"./index-fsrp8wp3.js";
140
- import"./index-a614s16f.js";
137
+ import"./index-prmb5qfp.js";
138
+ import"./index-x9q4bbhd.js";
139
+ import"./index-ed5ykebp.js";
140
+ import"./index-5j6chvj8.js";
141
141
  import"./index-7g4c7s5r.js";
142
- import"./index-chvqee1j.js";
142
+ import"./index-a5eba0t8.js";
143
143
  import"./index-bpmtbmy9.js";
144
144
  import"./index-z6xqpmqg.js";
145
145
  import"./index-zjygnfay.js";
@@ -6,13 +6,13 @@ import {
6
6
  resolveSwarmKnowledgePath,
7
7
  transactKnowledge,
8
8
  wordBigrams
9
- } from "./index-t31cc7kv.js";
9
+ } from "./index-cyw81ngh.js";
10
10
  import {
11
11
  countEntryContradictionsInWindow,
12
12
  countEntryViolationsInWindow,
13
13
  readKnowledgeEvents,
14
14
  recordKnowledgeEvent
15
- } from "./index-kv36s0x0.js";
15
+ } from "./index-e9tx99ds.js";
16
16
  import {
17
17
  init_knowledge_types,
18
18
  isActiveStatus
@@ -190,11 +190,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
190
190
  alreadyInactive: true
191
191
  };
192
192
  }
193
- const { quarantineEntry } = await import("./knowledge-validator-v2eevvdg.js");
193
+ const { quarantineEntry } = await import("./knowledge-validator-jxqj96cx.js");
194
194
  let policyConfig;
195
195
  try {
196
- const { KnowledgeConfigSchema } = await import("./schema-xhfwr6b2.js");
197
- const { loadPluginConfigWithMeta } = await import("./index-gytyqv1d.js");
196
+ const { KnowledgeConfigSchema } = await import("./schema-f7jgrtxj.js");
197
+ const { loadPluginConfigWithMeta } = await import("./index-yr6x707c.js");
198
198
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
199
199
  policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
200
200
  } catch {
@@ -9,7 +9,7 @@ import {
9
9
  readEvaluationRun,
10
10
  saveEvaluationRun,
11
11
  saveTaskSetSnapshot
12
- } from "./index-z1tkxzq4.js";
12
+ } from "./index-s608d3hw.js";
13
13
  import {
14
14
  canonicalHash,
15
15
  computeCandidateInputContentHash,
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  readCachedTextFile
4
- } from "./index-fsrp8wp3.js";
4
+ } from "./index-ed5ykebp.js";
5
5
  import {
6
6
  SwarmError
7
7
  } from "./index-z6xqpmqg.js";
@@ -6,7 +6,7 @@ import {
6
6
  PluginConfigSchema,
7
7
  init_schema,
8
8
  stripKnownSwarmPrefix
9
- } from "./index-rtetrxxq.js";
9
+ } from "./index-8p9pasnp.js";
10
10
  import {
11
11
  ALL_AGENT_NAMES,
12
12
  init_constants
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  init_schema,
4
4
  stripKnownSwarmPrefix
5
- } from "./index-rtetrxxq.js";
5
+ } from "./index-8p9pasnp.js";
6
6
  import {
7
7
  getPathFlavor,
8
8
  isOnDifferentPathRoot,
@@ -7,7 +7,7 @@ import {
7
7
  loadPluginConfigWithMeta,
8
8
  loadPluginConfigWithMetaAsync,
9
9
  resolveWorktreeIsolationConfig
10
- } from "./index-q3qtgtd0.js";
10
+ } from "./index-q11t5erh.js";
11
11
  import {
12
12
  ApprovalEvidenceSchema,
13
13
  BaseEvidenceSchema,
@@ -54,7 +54,7 @@ import {
54
54
  TurboConfigSchema,
55
55
  WorktreeIsolationConfigSchema,
56
56
  resolveAutoReviewConfig
57
- } from "./index-rtetrxxq.js";
57
+ } from "./index-8p9pasnp.js";
58
58
  import"./index-bk5tah7q.js";
59
59
  import {
60
60
  MigrationStatusSchema,
package/dist/cli/index.js CHANGED
@@ -6,61 +6,61 @@ import {
6
6
  getPluginConfigDir,
7
7
  getPluginLockFilePaths,
8
8
  resolveCommand
9
- } from "./index-r3pth9a7.js";
9
+ } from "./index-a7nh382r.js";
10
10
  import"./index-vm4xw9z3.js";
11
- import"./index-ddmnhv4h.js";
12
- import"./index-5bkpyvdf.js";
13
- import"./index-zd15ya1w.js";
14
- import"./index-4ft523nb.js";
15
- import"./index-z1tkxzq4.js";
11
+ import"./index-wrt6m5ze.js";
12
+ import"./index-y64jv2pe.js";
13
+ import"./index-y47dwge1.js";
14
+ import"./index-0wp67gqj.js";
15
+ import"./index-s608d3hw.js";
16
16
  import"./index-y8552snf.js";
17
17
  import"./index-4905hd2m.js";
18
18
  import"./index-134d35c1.js";
19
- import"./index-3nr2sn32.js";
20
- import"./index-84s6x604.js";
21
- import"./index-s428dmy6.js";
19
+ import"./index-ktagrqxw.js";
20
+ import"./index-w71cq27a.js";
21
+ import"./index-6w1re1qn.js";
22
22
  import"./index-6mjf4vr1.js";
23
23
  import"./index-c8s9a3zh.js";
24
24
  import"./index-9ss2m4rs.js";
25
25
  import"./index-wsdnttf4.js";
26
- import"./index-tcdcj1g2.js";
27
- import"./index-0tsetsxs.js";
28
- import"./index-67yqywan.js";
26
+ import"./index-5w7ekpy3.js";
27
+ import"./index-ffpmqx30.js";
28
+ import"./index-3radty3f.js";
29
29
  import"./index-rtry5xyf.js";
30
- import"./index-t31cc7kv.js";
31
- import"./index-kv36s0x0.js";
30
+ import"./index-cyw81ngh.js";
31
+ import"./index-e9tx99ds.js";
32
32
  import"./index-ae75rja9.js";
33
- import"./index-tyh0p5e8.js";
34
- import"./index-nc544sfw.js";
35
- import"./index-q3qtgtd0.js";
33
+ import"./index-668dpw5e.js";
34
+ import"./index-gvhvz176.js";
35
+ import"./index-q11t5erh.js";
36
36
  import"./index-gprxjmm7.js";
37
37
  import"./index-n832052r.js";
38
38
  import {
39
39
  init_package,
40
40
  package_default
41
- } from "./index-rtetrxxq.js";
41
+ } from "./index-8p9pasnp.js";
42
42
  import"./index-bk5tah7q.js";
43
43
  import"./index-8fwhhayc.js";
44
44
  import"./index-q1exe2b3.js";
45
- import"./index-nbgw5dxa.js";
46
- import"./index-ymszzvnr.js";
45
+ import"./index-5zyk8qgv.js";
46
+ import"./index-3eddtgxt.js";
47
47
  import"./index-556ja8an.js";
48
- import"./index-p2dz85tv.js";
48
+ import"./index-4xbyy6aw.js";
49
49
  import"./index-1kz6da87.js";
50
- import"./index-x20cgr2q.js";
50
+ import"./index-q7ezzgwq.js";
51
51
  import"./index-b8zgtz81.js";
52
- import"./index-85hstja2.js";
52
+ import"./index-a12906mj.js";
53
53
  import"./index-4rhhvd1a.js";
54
54
  import {
55
55
  DEFAULT_AGENT_CONFIGS,
56
56
  init_constants
57
57
  } from "./index-3jcyn8g6.js";
58
- import"./index-t26nfmcs.js";
59
- import"./index-4qzeef9h.js";
60
- import"./index-fsrp8wp3.js";
61
- import"./index-a614s16f.js";
58
+ import"./index-prmb5qfp.js";
59
+ import"./index-x9q4bbhd.js";
60
+ import"./index-ed5ykebp.js";
61
+ import"./index-5j6chvj8.js";
62
62
  import"./index-7g4c7s5r.js";
63
- import"./index-chvqee1j.js";
63
+ import"./index-a5eba0t8.js";
64
64
  import"./index-bpmtbmy9.js";
65
65
  import"./index-z6xqpmqg.js";
66
66
  import"./index-zjygnfay.js";
@@ -8,17 +8,17 @@ import {
8
8
  maybeEscalateOnViolation,
9
9
  maybeQuarantineOnContradiction,
10
10
  readRecentEscalations
11
- } from "./index-84s6x604.js";
12
- import"./index-t31cc7kv.js";
13
- import"./index-kv36s0x0.js";
11
+ } from "./index-w71cq27a.js";
12
+ import"./index-cyw81ngh.js";
13
+ import"./index-e9tx99ds.js";
14
14
  import"./index-ae75rja9.js";
15
- import"./index-tyh0p5e8.js";
16
- import"./index-nc544sfw.js";
15
+ import"./index-668dpw5e.js";
16
+ import"./index-gvhvz176.js";
17
17
  import"./index-bk5tah7q.js";
18
- import"./index-fsrp8wp3.js";
19
- import"./index-a614s16f.js";
18
+ import"./index-ed5ykebp.js";
19
+ import"./index-5j6chvj8.js";
20
20
  import"./index-7g4c7s5r.js";
21
- import"./index-chvqee1j.js";
21
+ import"./index-a5eba0t8.js";
22
22
  import"./index-bpmtbmy9.js";
23
23
  import"./index-y111zefa.js";
24
24
  import"./index-zgwm4ryv.js";
@@ -28,14 +28,14 @@ import {
28
28
  resolveKnowledgeCounterBaselinePath,
29
29
  resolveKnowledgeEventsPath,
30
30
  resolveLegacyApplicationLogPath
31
- } from "./index-kv36s0x0.js";
31
+ } from "./index-e9tx99ds.js";
32
32
  import"./index-ae75rja9.js";
33
- import"./index-tyh0p5e8.js";
34
- import"./index-nc544sfw.js";
35
- import"./index-fsrp8wp3.js";
36
- import"./index-a614s16f.js";
33
+ import"./index-668dpw5e.js";
34
+ import"./index-gvhvz176.js";
35
+ import"./index-ed5ykebp.js";
36
+ import"./index-5j6chvj8.js";
37
37
  import"./index-7g4c7s5r.js";
38
- import"./index-chvqee1j.js";
38
+ import"./index-a5eba0t8.js";
39
39
  import"./index-bpmtbmy9.js";
40
40
  import"./index-y111zefa.js";
41
41
  import"./index-zgwm4ryv.js";
@@ -12,12 +12,12 @@ import {
12
12
  resolveLinkDir,
13
13
  sanitizeLinkId,
14
14
  writeLinkPointer
15
- } from "./index-tyh0p5e8.js";
16
- import"./index-nc544sfw.js";
17
- import"./index-fsrp8wp3.js";
18
- import"./index-a614s16f.js";
15
+ } from "./index-668dpw5e.js";
16
+ import"./index-gvhvz176.js";
17
+ import"./index-ed5ykebp.js";
18
+ import"./index-5j6chvj8.js";
19
19
  import"./index-7g4c7s5r.js";
20
- import"./index-chvqee1j.js";
20
+ import"./index-a5eba0t8.js";
21
21
  import"./index-bpmtbmy9.js";
22
22
  import"./index-y111zefa.js";
23
23
  import"./index-zgwm4ryv.js";
@@ -41,17 +41,17 @@ import {
41
41
  transactKnowledge,
42
42
  transactKnowledgeWithCas,
43
43
  wordBigrams
44
- } from "./index-t31cc7kv.js";
44
+ } from "./index-cyw81ngh.js";
45
45
  import {
46
46
  resolveHiveDataDir
47
47
  } from "./index-ae75rja9.js";
48
- import"./index-tyh0p5e8.js";
49
- import"./index-nc544sfw.js";
48
+ import"./index-668dpw5e.js";
49
+ import"./index-gvhvz176.js";
50
50
  import"./index-bk5tah7q.js";
51
- import"./index-fsrp8wp3.js";
52
- import"./index-a614s16f.js";
51
+ import"./index-ed5ykebp.js";
52
+ import"./index-5j6chvj8.js";
53
53
  import"./index-7g4c7s5r.js";
54
- import"./index-chvqee1j.js";
54
+ import"./index-a5eba0t8.js";
55
55
  import"./index-bpmtbmy9.js";
56
56
  import"./index-y111zefa.js";
57
57
  import"./index-zgwm4ryv.js";