opencode-swarm 7.122.1 → 7.124.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 (99) hide show
  1. package/.opencode/skills/issue-tracer/SKILL.md +341 -0
  2. package/.opencode/skills/issue-tracer/assets/pr-template.md +59 -0
  3. package/.opencode/skills/issue-tracer/references/critic-gate.md +245 -0
  4. package/.opencode/skills/issue-tracer/references/evidence-artifacts.md +267 -0
  5. package/.opencode/skills/issue-tracer/references/install.md +63 -0
  6. package/.opencode/skills/issue-tracer/references/localization-playbook.md +95 -0
  7. package/.opencode/skills/issue-tracer/references/method-provenance.md +13 -0
  8. package/.opencode/skills/issue-tracer/references/untrusted-content.md +22 -0
  9. package/.opencode/skills/issue-tracer/scripts/scan-deferred.sh +103 -0
  10. package/.opencode/skills/issue-tracer/scripts/trace-init.sh +119 -0
  11. package/README.md +3 -0
  12. package/dist/cli/{config-doctor-3ksh1534.js → config-doctor-53mnpeke.js} +6 -6
  13. package/dist/cli/{core-cwgb7ev8.js → core-d38hc85b.js} +4 -4
  14. package/dist/cli/{curation-policy-4j4qce5a.js → curation-policy-ny033330.js} +2 -2
  15. package/dist/cli/{curator-drift-6b2fjsgr.js → curator-drift-h9a2sjvf.js} +7 -7
  16. package/dist/cli/curator-llm-factory-e0tjz8qq.js +53 -0
  17. package/dist/cli/{curator-qfh07497.js → curator-nvn1pdq6.js} +30 -29
  18. package/dist/cli/{dispatch-07jgc3hn.js → dispatch-f4hj1cj7.js} +3 -3
  19. package/dist/cli/{evidence-summary-service-96ndczbk.js → evidence-summary-service-9hq7n9k9.js} +12 -12
  20. package/dist/cli/{gate-evidence-xqks3kk2.js → gate-evidence-cy2te3x8.js} +2 -2
  21. package/dist/cli/guardrail-explain-d3dd57nf.js +54 -0
  22. package/dist/cli/guardrail-log-3q2z9axs.js +16 -0
  23. package/dist/cli/{hive-promoter-00mktxkk.js → hive-promoter-9gbpepgm.js} +30 -29
  24. package/dist/cli/index-134d35c1.js +116 -0
  25. package/dist/cli/{index-cqsak7bf.js → index-13d2g7k9.js} +1 -1
  26. package/dist/cli/{index-m1abzg93.js → index-1kz6da87.js} +4 -2
  27. package/dist/cli/{index-22e127jw.js → index-23zsx7dm.js} +5 -3
  28. package/dist/cli/{index-kzj3fp7c.js → index-2445sx3d.js} +1 -1
  29. package/dist/cli/{index-ctpgsj84.js → index-2tn5h2zp.js} +1 -1
  30. package/dist/cli/{index-n2712byd.js → index-2x4maxte.js} +8 -5
  31. package/dist/cli/{index-6xnxz6z0.js → index-3x761jqv.js} +4 -2
  32. package/dist/cli/{index-3rr0ese8.js → index-3yyr4ynk.js} +41 -9
  33. package/dist/cli/{index-7cspygmb.js → index-4rzzzjtg.js} +11 -8
  34. package/dist/cli/{index-nprawcc0.js → index-6n2jpz7x.js} +1 -1
  35. package/dist/cli/{index-jm81nhks.js → index-8pz0ypxz.js} +38 -31
  36. package/dist/cli/index-bk5tah7q.js +19 -0
  37. package/dist/cli/{index-293f68mj.js → index-bpmtbmy9.js} +4680 -4342
  38. package/dist/cli/index-c6crt5rs.js +2494 -0
  39. package/dist/cli/{index-19zn67q6.js → index-e19mxn9f.js} +5 -1
  40. package/dist/cli/{index-hns7xjm7.js → index-eeg04r0x.js} +4 -2
  41. package/dist/cli/{index-ye3fndsw.js → index-gacm5s2n.js} +9 -5
  42. package/dist/cli/{index-d6h5hq91.js → index-gnvg72y1.js} +2 -2
  43. package/dist/cli/{index-17eybc3z.js → index-htbjqftb.js} +1 -1
  44. package/dist/cli/{index-vcgfqd8f.js → index-k5jrywpr.js} +4 -2
  45. package/dist/cli/{index-kanrv3sv.js → index-mkkx1a4f.js} +2436 -1435
  46. package/dist/cli/{index-gnp9x6se.js → index-n832052r.js} +4 -2
  47. package/dist/cli/{index-6srk9a5q.js → index-qd77aft9.js} +2 -2
  48. package/dist/cli/{index-816rkp4y.js → index-s9mj4rb9.js} +5 -3
  49. package/dist/cli/{index-5he0kwnx.js → index-tyg0zezw.js} +13 -8
  50. package/dist/cli/{index-gw3m5fw0.js → index-v2rdhwx8.js} +5 -3
  51. package/dist/cli/{index-det5jwfk.js → index-v5ecczts.js} +5 -1
  52. package/dist/cli/{index-2j25br0p.js → index-wqwpzhv1.js} +9 -9
  53. package/dist/cli/{index-dywekeen.js → index-x2mmnrnx.js} +1 -1
  54. package/dist/cli/{index-j9kxwshw.js → index-z0m4angq.js} +8 -6
  55. package/dist/cli/{index-5e4e2hvv.js → index-z6xqpmqg.js} +4 -0
  56. package/dist/cli/{index-m0bmh3w0.js → index-zjedv2bd.js} +2 -2
  57. package/dist/cli/{index-p0arc26j.js → index-zjygnfay.js} +7 -2
  58. package/dist/cli/index.js +33 -30
  59. package/dist/cli/{knowledge-escalator-dyxsm78k.js → knowledge-escalator-r1s01m3z.js} +4 -4
  60. package/dist/cli/{knowledge-events-36q6nvae.js → knowledge-events-a9hmxvke.js} +1 -1
  61. package/dist/cli/{knowledge-store-e07b4s54.js → knowledge-store-jt31br5k.js} +2 -2
  62. package/dist/cli/{knowledge-validator-sfyf7wn2.js → knowledge-validator-9vrwxr3z.js} +5 -5
  63. package/dist/cli/{pending-delegations-68cbaqv2.js → pending-delegations-e3bcqj77.js} +7 -5
  64. package/dist/cli/{pr-subscriptions-x653151h.js → pr-subscriptions-bxpqde8w.js} +5 -5
  65. package/dist/cli/{scan-cursor-hm0aqqae.js → scan-cursor-bkjtsawg.js} +3 -3
  66. package/dist/cli/{schema-13bnng2n.js → schema-y3z416z7.js} +7 -4
  67. package/dist/cli/{scope-persistence-d9erwnvb.js → scope-persistence-habn4q8a.js} +4 -4
  68. package/dist/cli/{skill-generator-g6r52x94.js → skill-generator-794hyndw.js} +7 -7
  69. package/dist/cli/sqlite-loader-r1kgt2pq.js +12 -0
  70. package/dist/commands/memory-link.d.ts +28 -0
  71. package/dist/commands/registry.d.ts +25 -0
  72. package/dist/config/bundled-skills.d.ts +1 -1
  73. package/dist/config/schema.d.ts +6 -0
  74. package/dist/index.js +331 -318
  75. package/dist/knowledge/family-migration-shared.d.ts +24 -0
  76. package/dist/knowledge/family-migration.d.ts +5 -0
  77. package/dist/memory/config.d.ts +11 -0
  78. package/dist/memory/consolidation-log.d.ts +8 -2
  79. package/dist/memory/finalize-reward-sweep.d.ts +2 -1
  80. package/dist/memory/gateway.d.ts +13 -0
  81. package/dist/memory/index.d.ts +4 -2
  82. package/dist/memory/local-jsonl-provider.d.ts +25 -1
  83. package/dist/memory/memory-family-manifest.d.ts +52 -0
  84. package/dist/memory/memory-family-migration.d.ts +94 -0
  85. package/dist/memory/memory-link.d.ts +103 -0
  86. package/dist/memory/provider-pool.d.ts +35 -0
  87. package/dist/memory/redaction.d.ts +31 -0
  88. package/dist/memory/schema.d.ts +21 -0
  89. package/dist/memory/sqlite-provider.d.ts +58 -1
  90. package/dist/memory/storage-root.d.ts +93 -0
  91. package/dist/memory/types.d.ts +20 -1
  92. package/dist/services/knowledge-diagnostics.d.ts +25 -0
  93. package/dist/services/status-service.d.ts +16 -0
  94. package/package.json +2 -1
  95. package/dist/cli/curator-llm-factory-x769hn66.js +0 -52
  96. package/dist/cli/guardrail-explain-kj0e9r25.js +0 -53
  97. package/dist/cli/guardrail-log-z291m4gw.js +0 -16
  98. package/dist/cli/index-4rhcth7a.js +0 -14
  99. package/dist/cli/index-wr8qgpz5.js +0 -2463
@@ -1,9 +1,11 @@
1
1
  // @bun
2
2
  import {
3
- exports_external
4
- } from "./index-293f68mj.js";
3
+ exports_external,
4
+ init_zod
5
+ } from "./index-bpmtbmy9.js";
5
6
 
6
7
  // src/config/spec-schema.ts
8
+ init_zod();
7
9
  var ObligationSchema = exports_external.enum(["MUST", "SHALL", "SHOULD", "MAY"]);
8
10
  var SpecRequirementSchema = exports_external.object({
9
11
  id: exports_external.string().regex(/^FR-(?!000)\d{3}$/, "Requirement ID must match FR-### pattern (e.g., FR-001)"),
@@ -12,14 +12,14 @@ import {
12
12
  detectPosixWrites,
13
13
  detectWindowsWrites,
14
14
  resolveWriteTargets
15
- } from "./index-kanrv3sv.js";
15
+ } from "./index-mkkx1a4f.js";
16
16
  import {
17
17
  checkFileAuthority,
18
18
  classifyFile,
19
19
  isInDeclaredScope,
20
20
  redactPath,
21
21
  redactShellCommand
22
- } from "./index-19zn67q6.js";
22
+ } from "./index-e19mxn9f.js";
23
23
 
24
24
  // src/services/guardrail-explain-service.ts
25
25
  import path from "path";
@@ -1,15 +1,17 @@
1
1
  // @bun
2
2
  import {
3
3
  validateSpecContent
4
- } from "./index-gnp9x6se.js";
4
+ } from "./index-n832052r.js";
5
5
  import {
6
- advisoryWarn
7
- } from "./index-ye3fndsw.js";
6
+ advisoryWarn,
7
+ init_warning_buffer
8
+ } from "./index-gacm5s2n.js";
8
9
 
9
10
  // src/sdd/effective-spec.ts
10
11
  import { createHash } from "crypto";
11
12
  import * as fs from "fs";
12
13
  import * as path from "path";
14
+ init_warning_buffer();
13
15
  var SWARM_SPEC_REL = path.join(".swarm", "spec.md");
14
16
  var OPENSPEC_ROOT = "openspec";
15
17
  var SPECKIT_MARKER = ".specify";
@@ -2,24 +2,26 @@
2
2
  import {
3
3
  ALLOWED_SKILL_PATH_PREFIXES,
4
4
  validateSkillPath
5
- } from "./index-m0bmh3w0.js";
5
+ } from "./index-zjedv2bd.js";
6
6
  import {
7
7
  computeOutcomeSignal,
8
8
  readKnowledge,
9
9
  resolveHiveKnowledgePath,
10
10
  resolveSwarmKnowledgePath,
11
11
  transactKnowledge
12
- } from "./index-n2712byd.js";
12
+ } from "./index-2x4maxte.js";
13
13
  import {
14
14
  effectiveRetrievalOutcomes,
15
15
  readKnowledgeCounterRollups
16
- } from "./index-dywekeen.js";
16
+ } from "./index-x2mmnrnx.js";
17
17
  import {
18
+ init_knowledge_types,
18
19
  isActiveStatus
19
- } from "./index-4rhcth7a.js";
20
+ } from "./index-bk5tah7q.js";
20
21
  import {
21
- advisoryWarn
22
- } from "./index-ye3fndsw.js";
22
+ advisoryWarn,
23
+ init_warning_buffer
24
+ } from "./index-gacm5s2n.js";
23
25
  import {
24
26
  init_logger,
25
27
  log,
@@ -35,10 +37,11 @@ import { mkdir as mkdir4, readFile as readFile4, rename as rename3, unlink, writ
35
37
  import * as path4 from "path";
36
38
 
37
39
  // src/config/bundled-skills.ts
40
+ init_warning_buffer();
41
+ init_logger();
38
42
  import { randomUUID } from "crypto";
39
43
  import * as fsp from "fs/promises";
40
44
  import * as path from "path";
41
- init_logger();
42
45
  var BUNDLED_PROJECT_SKILLS = [
43
46
  "brainstorm",
44
47
  "specify",
@@ -77,7 +80,8 @@ var BUNDLED_PROJECT_SKILLS = [
77
80
  "test-file-split",
78
81
  "fork-pr-operations",
79
82
  "parallel-work-check",
80
- "ci-fix-monitor"
83
+ "ci-fix-monitor",
84
+ "issue-tracer"
81
85
  ];
82
86
  var BUNDLED_PROJECT_SKILL_ROOT = ".swarm/bundled-skills";
83
87
  function bundledProjectSkillFileReference(slug) {
@@ -325,6 +329,7 @@ async function syncBundledProjectSkillsIfMissingAsync(projectDirectory, packageR
325
329
  }
326
330
 
327
331
  // src/services/skill-generator.ts
332
+ init_knowledge_types();
328
333
  init_logger();
329
334
 
330
335
  // src/services/skill-changelog.ts
@@ -1,7 +1,8 @@
1
1
  // @bun
2
2
  import {
3
- advisoryWarn
4
- } from "./index-ye3fndsw.js";
3
+ advisoryWarn,
4
+ init_warning_buffer
5
+ } from "./index-gacm5s2n.js";
5
6
  import {
6
7
  log
7
8
  } from "./index-zgwm4ryv.js";
@@ -13,6 +14,7 @@ import {
13
14
  } from "./index-a76rekgs.js";
14
15
 
15
16
  // src/worktree/core.ts
17
+ init_warning_buffer();
16
18
  import * as fs from "fs";
17
19
  import * as fsPromises from "fs/promises";
18
20
  import * as os from "os";
@@ -37,7 +39,7 @@ var _internals = {
37
39
  symlinkSync: fs.symlinkSync
38
40
  },
39
41
  writeScopeToDisk: async (directory, taskId, files) => {
40
- const { writeScopeToDisk: realWrite } = await import("./scope-persistence-d9erwnvb.js");
42
+ const { writeScopeToDisk: realWrite } = await import("./scope-persistence-habn4q8a.js");
41
43
  return realWrite(directory, taskId, files);
42
44
  },
43
45
  writeLaneProfileToDisk: async (_worktreePath, _laneIndex, _envOverrides) => {
@@ -4,13 +4,17 @@ import {
4
4
  GATE_CONFIG_KNOWN_SECTION_KEYS,
5
5
  GateConfigSchema,
6
6
  PluginConfigSchema,
7
+ init_constants,
8
+ init_schema,
7
9
  stripKnownSwarmPrefix
8
- } from "./index-wr8qgpz5.js";
10
+ } from "./index-c6crt5rs.js";
9
11
  import {
10
12
  log
11
13
  } from "./index-zgwm4ryv.js";
12
14
 
13
15
  // src/services/config-doctor.ts
16
+ init_constants();
17
+ init_schema();
14
18
  import * as crypto from "crypto";
15
19
  import * as fs from "fs";
16
20
  import * as os from "os";
@@ -6,7 +6,7 @@ import {
6
6
  loadPluginConfigWithMeta,
7
7
  loadPluginConfigWithMetaAsync,
8
8
  resolveWorktreeIsolationConfig
9
- } from "./index-3rr0ese8.js";
9
+ } from "./index-3yyr4ynk.js";
10
10
  import {
11
11
  ApprovalEvidenceSchema,
12
12
  BaseEvidenceSchema,
@@ -21,7 +21,7 @@ import {
21
21
  NoteEvidenceSchema,
22
22
  ReviewEvidenceSchema,
23
23
  TestEvidenceSchema
24
- } from "./index-vcgfqd8f.js";
24
+ } from "./index-k5jrywpr.js";
25
25
  import {
26
26
  DeltaSpecSchema,
27
27
  ObligationSchema,
@@ -31,7 +31,7 @@ import {
31
31
  SpecSectionSchema,
32
32
  SwarmSpecSchema,
33
33
  validateSpecContent
34
- } from "./index-gnp9x6se.js";
34
+ } from "./index-n832052r.js";
35
35
  import {
36
36
  ALL_AGENT_NAMES,
37
37
  ALL_SUBAGENT_NAMES,
@@ -58,8 +58,8 @@ import {
58
58
  WorktreeIsolationConfigSchema,
59
59
  isQAAgent,
60
60
  isSubagent
61
- } from "./index-wr8qgpz5.js";
62
- import"./index-4rhcth7a.js";
61
+ } from "./index-c6crt5rs.js";
62
+ import"./index-bk5tah7q.js";
63
63
  import {
64
64
  MigrationStatusSchema,
65
65
  PhaseSchema,
@@ -68,11 +68,11 @@ import {
68
68
  TaskSchema,
69
69
  TaskSizeSchema,
70
70
  TaskStatusSchema
71
- } from "./index-m1abzg93.js";
72
- import"./index-ye3fndsw.js";
73
- import"./index-p0arc26j.js";
71
+ } from "./index-1kz6da87.js";
72
+ import"./index-gacm5s2n.js";
73
+ import"./index-zjygnfay.js";
74
74
  import"./index-zgwm4ryv.js";
75
- import"./index-293f68mj.js";
75
+ import"./index-bpmtbmy9.js";
76
76
  import"./index-a76rekgs.js";
77
77
  export {
78
78
  validateSpecContent,
@@ -608,7 +608,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
608
608
  deltas.push({ id, delta });
609
609
  }
610
610
  if (deltas.length > 0) {
611
- const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-e07b4s54.js");
611
+ const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-jt31br5k.js");
612
612
  await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
613
613
  }
614
614
  return {
@@ -6,22 +6,24 @@ import {
6
6
  resolveSwarmKnowledgePath,
7
7
  transactKnowledge,
8
8
  wordBigrams
9
- } from "./index-n2712byd.js";
9
+ } from "./index-2x4maxte.js";
10
10
  import {
11
11
  countEntryContradictionsInWindow,
12
12
  countEntryViolationsInWindow,
13
13
  readKnowledgeEvents,
14
14
  recordKnowledgeEvent
15
- } from "./index-dywekeen.js";
15
+ } from "./index-x2mmnrnx.js";
16
16
  import {
17
+ init_knowledge_types,
17
18
  isActiveStatus
18
- } from "./index-4rhcth7a.js";
19
+ } from "./index-bk5tah7q.js";
19
20
  import {
20
21
  __require
21
22
  } from "./index-a76rekgs.js";
22
23
 
23
24
  // src/hooks/knowledge-escalator.ts
24
25
  import { existsSync } from "fs";
26
+ init_knowledge_types();
25
27
  var NEAR_DUPLICATE_THRESHOLD = 0.6;
26
28
  var ESCALATION_WINDOW_DAYS = 30;
27
29
  var ESCALATION_THRESHOLD = 2;
@@ -188,11 +190,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
188
190
  alreadyInactive: true
189
191
  };
190
192
  }
191
- const { quarantineEntry } = await import("./knowledge-validator-sfyf7wn2.js");
193
+ const { quarantineEntry } = await import("./knowledge-validator-9vrwxr3z.js");
192
194
  let policyConfig;
193
195
  try {
194
- const { KnowledgeConfigSchema } = await import("./schema-13bnng2n.js");
195
- const { loadPluginConfigWithMeta } = await import("./index-2j25br0p.js");
196
+ const { KnowledgeConfigSchema } = await import("./schema-y3z416z7.js");
197
+ const { loadPluginConfigWithMeta } = await import("./index-wqwpzhv1.js");
196
198
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
197
199
  policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
198
200
  } catch {
@@ -1,4 +1,7 @@
1
1
  // @bun
2
+ import {
3
+ init_merge
4
+ } from "./index-zjygnfay.js";
2
5
  import {
3
6
  init_logger
4
7
  } from "./index-zgwm4ryv.js";
@@ -17,6 +20,7 @@ class SwarmError extends Error {
17
20
 
18
21
  // src/utils/index.ts
19
22
  init_logger();
23
+ init_merge();
20
24
 
21
25
  // src/utils/regex.ts
22
26
  function escapeRegex(s) {
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  authorizeCuration
4
- } from "./index-cqsak7bf.js";
4
+ } from "./index-13d2g7k9.js";
5
5
  import {
6
6
  findNearDuplicate,
7
7
  inferTags,
@@ -9,7 +9,7 @@ import {
9
9
  resolveSwarmKnowledgePath,
10
10
  resolveSwarmRejectedPath,
11
11
  transactKnowledge
12
- } from "./index-n2712byd.js";
12
+ } from "./index-2x4maxte.js";
13
13
  import {
14
14
  resolveKnowledgeStoreDir
15
15
  } from "./index-q27bajqb.js";
@@ -1,6 +1,9 @@
1
1
  // @bun
2
+ import {
3
+ __esm
4
+ } from "./index-a76rekgs.js";
5
+
2
6
  // src/utils/merge.ts
3
- var MAX_MERGE_DEPTH = 10;
4
7
  function deepMergeInternal(base, override, depth) {
5
8
  if (depth >= MAX_MERGE_DEPTH) {
6
9
  throw new Error(`deepMerge exceeded maximum depth of ${MAX_MERGE_DEPTH}`);
@@ -24,5 +27,7 @@ function deepMerge(base, override) {
24
27
  return base;
25
28
  return deepMergeInternal(base, override, 0);
26
29
  }
30
+ var MAX_MERGE_DEPTH = 10;
31
+ var init_merge = () => {};
27
32
 
28
- export { deepMerge };
33
+ export { MAX_MERGE_DEPTH, deepMerge, init_merge };
package/dist/cli/index.js CHANGED
@@ -7,51 +7,53 @@ import {
7
7
  getPluginLockFilePaths,
8
8
  package_default,
9
9
  resolveCommand
10
- } from "./index-kanrv3sv.js";
11
- import"./index-19zn67q6.js";
12
- import"./index-det5jwfk.js";
13
- import"./index-7cspygmb.js";
10
+ } from "./index-mkkx1a4f.js";
11
+ import"./index-e19mxn9f.js";
12
+ import"./index-v5ecczts.js";
13
+ import"./index-4rzzzjtg.js";
14
14
  import"./index-4905hd2m.js";
15
- import"./index-nprawcc0.js";
16
- import"./index-5he0kwnx.js";
17
- import"./index-j9kxwshw.js";
18
- import"./index-hns7xjm7.js";
15
+ import"./index-134d35c1.js";
16
+ import"./index-6n2jpz7x.js";
17
+ import"./index-tyg0zezw.js";
18
+ import"./index-z0m4angq.js";
19
+ import"./index-eeg04r0x.js";
19
20
  import"./index-vxv732ex.js";
20
21
  import"./index-c8s9a3zh.js";
21
- import"./index-816rkp4y.js";
22
- import"./index-22e127jw.js";
23
- import"./index-m0bmh3w0.js";
24
- import"./index-cqsak7bf.js";
22
+ import"./index-s9mj4rb9.js";
23
+ import"./index-23zsx7dm.js";
24
+ import"./index-zjedv2bd.js";
25
+ import"./index-13d2g7k9.js";
25
26
  import"./index-rtry5xyf.js";
26
- import"./index-n2712byd.js";
27
- import"./index-dywekeen.js";
27
+ import"./index-2x4maxte.js";
28
+ import"./index-x2mmnrnx.js";
28
29
  import"./index-ae75rja9.js";
29
30
  import"./index-q27bajqb.js";
30
- import"./index-3rr0ese8.js";
31
- import"./index-vcgfqd8f.js";
32
- import"./index-gnp9x6se.js";
31
+ import"./index-3yyr4ynk.js";
32
+ import"./index-k5jrywpr.js";
33
+ import"./index-n832052r.js";
33
34
  import {
34
- DEFAULT_AGENT_CONFIGS
35
- } from "./index-wr8qgpz5.js";
36
- import"./index-4rhcth7a.js";
35
+ DEFAULT_AGENT_CONFIGS,
36
+ init_constants
37
+ } from "./index-c6crt5rs.js";
38
+ import"./index-bk5tah7q.js";
37
39
  import"./index-8fwhhayc.js";
38
40
  import"./index-q1exe2b3.js";
39
- import"./index-d6h5hq91.js";
40
- import"./index-ctpgsj84.js";
41
- import"./index-m1abzg93.js";
42
- import"./index-gw3m5fw0.js";
43
- import"./index-ye3fndsw.js";
44
- import"./index-kzj3fp7c.js";
45
- import"./index-5e4e2hvv.js";
46
- import"./index-p0arc26j.js";
41
+ import"./index-gnvg72y1.js";
42
+ import"./index-2tn5h2zp.js";
43
+ import"./index-1kz6da87.js";
44
+ import"./index-v2rdhwx8.js";
45
+ import"./index-gacm5s2n.js";
46
+ import"./index-2445sx3d.js";
47
+ import"./index-z6xqpmqg.js";
48
+ import"./index-zjygnfay.js";
47
49
  import"./index-zgwm4ryv.js";
48
50
  import"./index-dqh3zhhc.js";
49
- import"./index-6xnxz6z0.js";
51
+ import"./index-3x761jqv.js";
50
52
  import"./index-7mkpsw6g.js";
51
53
  import"./index-fsrp8wp3.js";
52
54
  import"./index-76kvm9z5.js";
53
55
  import"./index-q2rrv0cy.js";
54
- import"./index-293f68mj.js";
56
+ import"./index-bpmtbmy9.js";
55
57
  import"./index-7g4c7s5r.js";
56
58
  import"./index-qe3v54nb.js";
57
59
  import"./index-a76rekgs.js";
@@ -60,6 +62,7 @@ import"./index-a76rekgs.js";
60
62
  import * as fs from "fs";
61
63
  import * as os from "os";
62
64
  import * as path from "path";
65
+ init_constants();
63
66
 
64
67
  // src/tools/repo-graph/safe-realpath.ts
65
68
  import { realpathSync } from "fs";
@@ -8,12 +8,12 @@ import {
8
8
  maybeEscalateOnViolation,
9
9
  maybeQuarantineOnContradiction,
10
10
  readRecentEscalations
11
- } from "./index-j9kxwshw.js";
12
- import"./index-n2712byd.js";
13
- import"./index-dywekeen.js";
11
+ } from "./index-z0m4angq.js";
12
+ import"./index-2x4maxte.js";
13
+ import"./index-x2mmnrnx.js";
14
14
  import"./index-ae75rja9.js";
15
15
  import"./index-q27bajqb.js";
16
- import"./index-4rhcth7a.js";
16
+ import"./index-bk5tah7q.js";
17
17
  import"./index-zgwm4ryv.js";
18
18
  import"./index-7mkpsw6g.js";
19
19
  import"./index-fsrp8wp3.js";
@@ -26,7 +26,7 @@ import {
26
26
  resolveKnowledgeCounterBaselinePath,
27
27
  resolveKnowledgeEventsPath,
28
28
  resolveLegacyApplicationLogPath
29
- } from "./index-dywekeen.js";
29
+ } from "./index-x2mmnrnx.js";
30
30
  import"./index-ae75rja9.js";
31
31
  import"./index-q27bajqb.js";
32
32
  import"./index-zgwm4ryv.js";
@@ -40,12 +40,12 @@ import {
40
40
  transactKnowledge,
41
41
  transactKnowledgeWithCas,
42
42
  wordBigrams
43
- } from "./index-n2712byd.js";
43
+ } from "./index-2x4maxte.js";
44
44
  import {
45
45
  resolveHiveDataDir
46
46
  } from "./index-ae75rja9.js";
47
47
  import"./index-q27bajqb.js";
48
- import"./index-4rhcth7a.js";
48
+ import"./index-bk5tah7q.js";
49
49
  import"./index-zgwm4ryv.js";
50
50
  import"./index-7mkpsw6g.js";
51
51
  import"./index-fsrp8wp3.js";
@@ -23,14 +23,14 @@ import {
23
23
  validateLesson,
24
24
  validateSkillCandidatePath,
25
25
  validateSkillPath
26
- } from "./index-m0bmh3w0.js";
27
- import"./index-cqsak7bf.js";
26
+ } from "./index-zjedv2bd.js";
27
+ import"./index-13d2g7k9.js";
28
28
  import"./index-rtry5xyf.js";
29
- import"./index-n2712byd.js";
30
- import"./index-dywekeen.js";
29
+ import"./index-2x4maxte.js";
30
+ import"./index-x2mmnrnx.js";
31
31
  import"./index-ae75rja9.js";
32
32
  import"./index-q27bajqb.js";
33
- import"./index-4rhcth7a.js";
33
+ import"./index-bk5tah7q.js";
34
34
  import"./index-zgwm4ryv.js";
35
35
  import"./index-7mkpsw6g.js";
36
36
  import"./index-fsrp8wp3.js";
@@ -1,9 +1,9 @@
1
1
  // @bun
2
2
  import {
3
3
  validateSwarmPath
4
- } from "./index-kzj3fp7c.js";
5
- import"./index-5e4e2hvv.js";
6
- import"./index-p0arc26j.js";
4
+ } from "./index-2445sx3d.js";
5
+ import"./index-z6xqpmqg.js";
6
+ import"./index-zjygnfay.js";
7
7
  import {
8
8
  init_logger,
9
9
  warn
@@ -14,13 +14,15 @@ import {
14
14
  } from "./index-76kvm9z5.js";
15
15
  import"./index-q2rrv0cy.js";
16
16
  import {
17
- exports_external
18
- } from "./index-293f68mj.js";
17
+ exports_external,
18
+ init_zod
19
+ } from "./index-bpmtbmy9.js";
19
20
  import"./index-7g4c7s5r.js";
20
21
  import"./index-qe3v54nb.js";
21
22
  import"./index-a76rekgs.js";
22
23
 
23
24
  // src/background/pending-delegations.ts
25
+ init_zod();
24
26
  import { createHash } from "crypto";
25
27
  import * as fs from "fs";
26
28
  import * as path from "path";
@@ -9,15 +9,15 @@ import {
9
9
  sweepStale,
10
10
  unsubscribe,
11
11
  updateSnapshot
12
- } from "./index-22e127jw.js";
13
- import"./index-kzj3fp7c.js";
14
- import"./index-5e4e2hvv.js";
15
- import"./index-p0arc26j.js";
12
+ } from "./index-23zsx7dm.js";
13
+ import"./index-2445sx3d.js";
14
+ import"./index-z6xqpmqg.js";
15
+ import"./index-zjygnfay.js";
16
16
  import"./index-zgwm4ryv.js";
17
17
  import"./index-fsrp8wp3.js";
18
18
  import"./index-76kvm9z5.js";
19
19
  import"./index-q2rrv0cy.js";
20
- import"./index-293f68mj.js";
20
+ import"./index-bpmtbmy9.js";
21
21
  import"./index-7g4c7s5r.js";
22
22
  import"./index-qe3v54nb.js";
23
23
  import"./index-a76rekgs.js";
@@ -4,11 +4,11 @@ import {
4
4
  alreadyCuratedThisGeneration,
5
5
  claimNextScanBatch,
6
6
  getScanStatus
7
- } from "./index-hns7xjm7.js";
8
- import"./index-n2712byd.js";
7
+ } from "./index-eeg04r0x.js";
8
+ import"./index-2x4maxte.js";
9
9
  import"./index-ae75rja9.js";
10
10
  import"./index-q27bajqb.js";
11
- import"./index-4rhcth7a.js";
11
+ import"./index-bk5tah7q.js";
12
12
  import"./index-zgwm4ryv.js";
13
13
  import"./index-7mkpsw6g.js";
14
14
  import"./index-fsrp8wp3.js";
@@ -82,16 +82,19 @@ import {
82
82
  WorktreeIsolationConfigSchema,
83
83
  _internals,
84
84
  getCanonicalAgentRole,
85
+ init_schema,
85
86
  isKnownCanonicalRole,
86
87
  resolveExternalSkillsConfig,
87
88
  resolveGeneratedAgentRole,
88
89
  resolveGuardrailsConfig,
89
90
  stripKnownSwarmPrefix
90
- } from "./index-wr8qgpz5.js";
91
- import"./index-4rhcth7a.js";
92
- import"./index-p0arc26j.js";
93
- import"./index-293f68mj.js";
91
+ } from "./index-c6crt5rs.js";
92
+ import"./index-bk5tah7q.js";
93
+ import"./index-zjygnfay.js";
94
+ import"./index-bpmtbmy9.js";
94
95
  import"./index-a76rekgs.js";
96
+ init_schema();
97
+
95
98
  export {
96
99
  stripKnownSwarmPrefix,
97
100
  resolveGuardrailsConfig,
@@ -11,13 +11,13 @@ import {
11
11
  resolveScopeWithFallbacks,
12
12
  writeScopeBindingToDisk,
13
13
  writeScopeToDisk
14
- } from "./index-d6h5hq91.js";
15
- import"./index-ctpgsj84.js";
16
- import"./index-m1abzg93.js";
14
+ } from "./index-gnvg72y1.js";
15
+ import"./index-2tn5h2zp.js";
16
+ import"./index-1kz6da87.js";
17
17
  import"./index-zgwm4ryv.js";
18
18
  import"./index-76kvm9z5.js";
19
19
  import"./index-q2rrv0cy.js";
20
- import"./index-293f68mj.js";
20
+ import"./index-bpmtbmy9.js";
21
21
  import"./index-7g4c7s5r.js";
22
22
  import"./index-qe3v54nb.js";
23
23
  import"./index-a76rekgs.js";
@@ -33,16 +33,16 @@ import {
33
33
  sanitizeSlug,
34
34
  selectCandidateEntries,
35
35
  writeEvalStub
36
- } from "./index-5he0kwnx.js";
37
- import"./index-m0bmh3w0.js";
38
- import"./index-cqsak7bf.js";
36
+ } from "./index-tyg0zezw.js";
37
+ import"./index-zjedv2bd.js";
38
+ import"./index-13d2g7k9.js";
39
39
  import"./index-rtry5xyf.js";
40
- import"./index-n2712byd.js";
41
- import"./index-dywekeen.js";
40
+ import"./index-2x4maxte.js";
41
+ import"./index-x2mmnrnx.js";
42
42
  import"./index-ae75rja9.js";
43
43
  import"./index-q27bajqb.js";
44
- import"./index-4rhcth7a.js";
45
- import"./index-ye3fndsw.js";
44
+ import"./index-bk5tah7q.js";
45
+ import"./index-gacm5s2n.js";
46
46
  import"./index-zgwm4ryv.js";
47
47
  import"./index-7mkpsw6g.js";
48
48
  import"./index-fsrp8wp3.js";
@@ -0,0 +1,12 @@
1
+ // @bun
2
+ import {
3
+ _internals,
4
+ createNodeDatabaseCtor,
5
+ loadDatabaseCtor
6
+ } from "./index-134d35c1.js";
7
+ import"./index-a76rekgs.js";
8
+ export {
9
+ loadDatabaseCtor,
10
+ createNodeDatabaseCtor,
11
+ _internals
12
+ };