opencode-swarm 7.142.1 → 7.143.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 (74) hide show
  1. package/.opencode/skills/execute/SKILL.md +1 -1
  2. package/.opencode/skills/loop/SKILL.md +4 -2
  3. package/.opencode/skills/phase-wrap/SKILL.md +2 -2
  4. package/dist/cli/ast-diff-ypptrcan.js +422 -0
  5. package/dist/cli/{config-doctor-2a3qmp5p.js → config-doctor-ajq3sts3.js} +4 -4
  6. package/dist/cli/{core-h9z49ant.js → core-0jn7sk7t.js} +4 -4
  7. package/dist/cli/curation-policy-pkb2eeb1.js +1 -1
  8. package/dist/cli/{curator-drift-49p3jnte.js → curator-drift-2jbjv03a.js} +6 -6
  9. package/dist/cli/{curator-mtz194wy.js → curator-ff53rwz5.js} +36 -35
  10. package/dist/cli/{curator-llm-factory-9fr243kj.js → curator-llm-factory-2mz7fgd1.js} +36 -35
  11. package/dist/cli/{dispatch-rd10kdk1.js → dispatch-1y1rnv1h.js} +3 -3
  12. package/dist/cli/{evidence-summary-service-fgckng0a.js → evidence-summary-service-08zcq836.js} +16 -16
  13. package/dist/cli/{gate-evidence-ppna7em4.js → gate-evidence-2r7n4qjv.js} +9 -9
  14. package/dist/cli/{guardrail-explain-ejdvvnjz.js → guardrail-explain-cm5je07b.js} +37 -36
  15. package/dist/cli/{guardrail-log-adjs25ye.js → guardrail-log-jf4430p5.js} +6 -6
  16. package/dist/cli/{hive-promoter-jejme31e.js → hive-promoter-738bf1fj.js} +36 -35
  17. package/dist/cli/{index-2mb5y2w1.js → index-0kqs2fbm.js} +15 -15
  18. package/dist/cli/{index-ktazgjqw.js → index-254xf5y6.js} +2 -2
  19. package/dist/cli/{index-9wmx9ca8.js → index-3fg8kx7n.js} +4 -4
  20. package/dist/cli/{runtime-ykafcwc6.js → index-5n69863d.js} +2 -10
  21. package/dist/cli/{index-rthq1a6w.js → index-7317fvce.js} +5 -5
  22. package/dist/cli/index-7sy3aa9m.js +115 -0
  23. package/dist/cli/{index-7c4bxgdh.js → index-8aabbfhv.js} +5 -5
  24. package/dist/cli/{index-k1xsjzm3.js → index-91dz0zct.js} +10 -10
  25. package/dist/cli/{index-bb4pcn58.js → index-a5rky7fv.js} +2 -2
  26. package/dist/cli/{index-gtkk5rx7.js → index-awzwmx8p.js} +32 -32
  27. package/dist/cli/{index-ebwznsfy.js → index-b6e016tv.js} +1 -1
  28. package/dist/cli/{index-9kf3mj08.js → index-cfwdm1dx.js} +1 -1
  29. package/dist/cli/{index-vy11zjvh.js → index-crt7xw29.js} +5 -5
  30. package/dist/cli/{index-kbshtwha.js → index-cz9tc0h8.js} +5 -5
  31. package/dist/cli/{index-82m5kwtd.js → index-gdd4jt6b.js} +4 -4
  32. package/dist/cli/{index-qwm6vdyv.js → index-k3cxyk66.js} +1 -1
  33. package/dist/cli/{index-we279je2.js → index-mpw32szm.js} +1 -1
  34. package/dist/cli/{index-vefjxxmb.js → index-n2jk8ajv.js} +1 -1
  35. package/dist/cli/{index-bkkxxwcd.js → index-n48cwf1a.js} +7 -7
  36. package/dist/cli/{index-myav90y6.js → index-q68a8h37.js} +6 -6
  37. package/dist/cli/{index-h7ye3bzp.js → index-q7jv0c8e.js} +343 -357
  38. package/dist/cli/{index-ajfa2wmj.js → index-qmfzfh7m.js} +9 -9
  39. package/dist/cli/{index-k46me75h.js → index-rn0eq85g.js} +1 -1
  40. package/dist/cli/{index-j02ez59y.js → index-srd87kxc.js} +8 -8
  41. package/dist/cli/{index-0r4qs243.js → index-wnj1d1es.js} +43 -42
  42. package/dist/cli/{index-xfhe29z3.js → index-x10a9cz6.js} +5 -5
  43. package/dist/cli/{index-sdqtecsd.js → index-zgq25ze6.js} +5 -5
  44. package/dist/cli/{index-xah70t2t.js → index-zky3vt90.js} +4 -4
  45. package/dist/cli/index.js +45 -41
  46. package/dist/cli/{knowledge-escalator-0b80ryka.js → knowledge-escalator-9mdajq4s.js} +15 -15
  47. package/dist/cli/{knowledge-events-8x2wt562.js → knowledge-events-pz58s2r1.js} +13 -13
  48. package/dist/cli/knowledge-link-fn5j3r4q.js +1 -1
  49. package/dist/cli/{knowledge-store-d0xj6wht.js → knowledge-store-sz8vat89.js} +3 -3
  50. package/dist/cli/{knowledge-validator-ewfj679a.js → knowledge-validator-w5vmvf0a.js} +4 -4
  51. package/dist/cli/{pending-delegations-0hb97ps1.js → pending-delegations-b3pt3w5w.js} +5 -5
  52. package/dist/cli/{pr-subscriptions-b63t252j.js → pr-subscriptions-jyav582d.js} +5 -5
  53. package/dist/cli/{runner-hrg7h2h4.js → runner-pde6b5sx.js} +2 -2
  54. package/dist/cli/runtime-te94z1zb.js +23 -0
  55. package/dist/cli/{scan-cursor-hfyz7zpw.js → scan-cursor-p54xsx41.js} +4 -4
  56. package/dist/cli/{schema-ney3c685.js → schema-p74hnrfz.js} +1 -1
  57. package/dist/cli/{scope-persistence-dbfgs7gh.js → scope-persistence-1fc2ncsk.js} +9 -9
  58. package/dist/cli/semantic-classifier-ygqk0me1.js +147 -0
  59. package/dist/cli/{skill-generator-p651jex5.js → skill-generator-yv46bt1a.js} +16 -16
  60. package/dist/cli/{worktree-collision-ownership-ymdxetnn.js → worktree-collision-ownership-bfz3drxm.js} +6 -6
  61. package/dist/cli/{worktree-isolation-513vx61s.js → worktree-isolation-qfgc3vma.js} +38 -37
  62. package/dist/cli/{worktree-provisioning-owner-sjh7te1h.js → worktree-provisioning-owner-g24xd417.js} +4 -4
  63. package/dist/commands/registry.d.ts +1 -1
  64. package/dist/config/constants.d.ts +2 -2
  65. package/dist/hooks/delegation-gate.d.ts +84 -2
  66. package/dist/index.js +393 -380
  67. package/dist/parallel/review-router.d.ts +16 -0
  68. package/dist/parallel/tier3-classifier.d.ts +11 -0
  69. package/dist/utils/patch-dedent.d.ts +33 -0
  70. package/dist/workflow/coder-settlement.d.ts +30 -0
  71. package/dist/workflow/workflow-wal-schema.d.ts +2 -0
  72. package/package.json +1 -1
  73. package/dist/cli/{index-y9h2vqf6.js → index-4q9vfav6.js} +3 -3
  74. package/dist/cli/{index-ee3x66a5.js → index-z6xqpmqg.js} +3 -3
@@ -1,7 +1,14 @@
1
1
  // @bun
2
+ import {
3
+ loadPluginConfigWithMeta
4
+ } from "./index-zgq25ze6.js";
5
+ import {
6
+ KnowledgeConfigSchema,
7
+ init_schema
8
+ } from "./index-mpw32szm.js";
2
9
  import {
3
10
  validateSwarmPath
4
- } from "./index-k46me75h.js";
11
+ } from "./index-rn0eq85g.js";
5
12
  import {
6
13
  resolveHiveEventsPath
7
14
  } from "./index-ae75rja9.js";
@@ -20,17 +27,10 @@ import {
20
27
  import {
21
28
  emit
22
29
  } from "./index-s2rcz51a.js";
23
- import {
24
- loadPluginConfigWithMeta
25
- } from "./index-sdqtecsd.js";
26
30
  import {
27
31
  init_logger,
28
32
  warn
29
33
  } from "./index-zgwm4ryv.js";
30
- import {
31
- KnowledgeConfigSchema,
32
- init_schema
33
- } from "./index-we279je2.js";
34
34
  import {
35
35
  __require,
36
36
  __toESM
@@ -2545,7 +2545,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
2545
2545
  }
2546
2546
  let bumps = 0;
2547
2547
  if (deltas.length > 0) {
2548
- const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-d0xj6wht.js");
2548
+ const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-sz8vat89.js");
2549
2549
  bumps = await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
2550
2550
  }
2551
2551
  return {
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  SwarmError
4
- } from "./index-ee3x66a5.js";
4
+ } from "./index-z6xqpmqg.js";
5
5
  import {
6
6
  readCachedTextFile
7
7
  } from "./index-ed5ykebp.js";
@@ -10,6 +10,10 @@ import {
10
10
  import {
11
11
  atomicWriteFile
12
12
  } from "./index-erfnw81g.js";
13
+ import {
14
+ init_knowledge_types,
15
+ isActiveStatus
16
+ } from "./index-bk5tah7q.js";
13
17
  import {
14
18
  readCachedParsedFile
15
19
  } from "./index-ed5ykebp.js";
@@ -20,10 +24,6 @@ import {
20
24
  init_logger,
21
25
  log
22
26
  } from "./index-zgwm4ryv.js";
23
- import {
24
- init_knowledge_types,
25
- isActiveStatus
26
- } from "./index-bk5tah7q.js";
27
27
  import {
28
28
  __require,
29
29
  __toESM
@@ -709,7 +709,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
709
709
  const {
710
710
  readAuthoritativeKnowledgeCounterRollups,
711
711
  effectiveRetrievalOutcomes
712
- } = await import("./knowledge-events-8x2wt562.js");
712
+ } = await import("./knowledge-events-pz58s2r1.js");
713
713
  const rollups = await readAuthoritativeKnowledgeCounterRollups(directory);
714
714
  const flagIds = new Set;
715
715
  for (const e of atFloor) {
@@ -776,11 +776,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
776
776
  });
777
777
  }
778
778
  if (action === "quarantine" && toQuarantine.length > 0) {
779
- const { quarantineEntry } = await import("./knowledge-validator-ewfj679a.js");
780
- const { KnowledgeConfigSchema } = await import("./schema-ney3c685.js");
779
+ const { quarantineEntry } = await import("./knowledge-validator-w5vmvf0a.js");
780
+ const { KnowledgeConfigSchema } = await import("./schema-p74hnrfz.js");
781
781
  let config;
782
782
  try {
783
- const { loadPluginConfigWithMeta } = await import("./index-kbshtwha.js");
783
+ const { loadPluginConfigWithMeta } = await import("./index-cz9tc0h8.js");
784
784
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
785
785
  config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
786
786
  } catch {
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-bb4pcn58.js";
4
+ } from "./index-a5rky7fv.js";
5
5
  import {
6
6
  handleGuardrailLog
7
- } from "./index-vefjxxmb.js";
7
+ } from "./index-n2jk8ajv.js";
8
8
  import {
9
9
  COMMAND_REGISTRY,
10
10
  SWARM_COMMAND_TOOL_ALLOWLIST,
@@ -84,67 +84,68 @@ import {
84
84
  handleWriteRetroCommand,
85
85
  normalizeSwarmCommandInput,
86
86
  resolveCommand
87
- } from "./index-h7ye3bzp.js";
88
- import"./index-4905hd2m.js";
89
- import"./index-ebwznsfy.js";
90
- import"./index-y9h2vqf6.js";
91
- import"./index-rthq1a6w.js";
92
- import"./index-c8s9a3zh.js";
93
- import"./index-xah70t2t.js";
94
- import"./index-gtkk5rx7.js";
87
+ } from "./index-q7jv0c8e.js";
88
+ import"./index-7317fvce.js";
89
+ import"./index-zky3vt90.js";
90
+ import"./index-awzwmx8p.js";
95
91
  import"./index-134d35c1.js";
92
+ import"./index-b6e016tv.js";
93
+ import"./index-4q9vfav6.js";
96
94
  import"./index-k92cagmt.js";
97
95
  import"./index-y8552snf.js";
96
+ import"./index-crt7xw29.js";
97
+ import"./index-xmzmeknp.js";
98
+ import"./index-c8s9a3zh.js";
98
99
  import"./index-9ss2m4rs.js";
100
+ import"./index-0kqs2fbm.js";
99
101
  import"./index-74hpm6sh.js";
100
- import"./index-k1xsjzm3.js";
101
- import"./index-xfhe29z3.js";
102
- import"./index-vy11zjvh.js";
103
- import"./index-xmzmeknp.js";
104
- import"./index-82m5kwtd.js";
102
+ import"./index-91dz0zct.js";
103
+ import"./index-x10a9cz6.js";
104
+ import"./index-3fg8kx7n.js";
105
+ import"./index-q68a8h37.js";
106
+ import"./index-556ja8an.js";
107
+ import"./index-gdd4jt6b.js";
105
108
  import"./index-zsrtt42s.js";
106
- import"./index-qwm6vdyv.js";
107
- import"./index-2mb5y2w1.js";
108
- import"./index-bkkxxwcd.js";
109
- import"./index-7c4bxgdh.js";
109
+ import"./index-k3cxyk66.js";
110
+ import"./index-8aabbfhv.js";
111
+ import"./index-n48cwf1a.js";
110
112
  import"./index-8fwhhayc.js";
111
113
  import"./index-q1exe2b3.js";
112
- import"./index-ajfa2wmj.js";
113
- import"./index-k46me75h.js";
114
- import"./index-ee3x66a5.js";
115
- import"./index-9kf3mj08.js";
116
- import"./index-tq5s07ta.js";
117
- import"./index-rtry5xyf.js";
118
- import"./index-j02ez59y.js";
119
- import"./index-ae75rja9.js";
120
- import"./index-w7x7qxz2.js";
121
- import"./index-erfnw81g.js";
122
- import"./index-ed5ykebp.js";
123
- import"./index-ktazgjqw.js";
114
+ import"./index-7sy3aa9m.js";
115
+ import"./index-4905hd2m.js";
116
+ import"./index-qmfzfh7m.js";
117
+ import"./index-254xf5y6.js";
124
118
  import"./index-gprxjmm7.js";
125
119
  import"./index-n832052r.js";
126
- import"./index-9wmx9ca8.js";
127
- import"./index-myav90y6.js";
128
- import"./index-556ja8an.js";
129
- import"./index-k31en0ja.js";
130
- import"./index-7g4c7s5r.js";
131
- import"./index-s2rcz51a.js";
132
- import"./index-4nt52yr9.js";
133
- import"./index-sdqtecsd.js";
134
- import"./index-4rhhvd1a.js";
135
- import"./index-zgwm4ryv.js";
120
+ import"./index-zgq25ze6.js";
136
121
  import {
137
122
  init_schema,
138
123
  stripKnownSwarmPrefix
139
- } from "./index-we279je2.js";
124
+ } from "./index-mpw32szm.js";
125
+ import"./index-rn0eq85g.js";
126
+ import"./index-4rhhvd1a.js";
140
127
  import {
141
128
  AGENT_TOOL_MAP,
142
129
  ORCHESTRATOR_NAME,
143
130
  init_constants
144
131
  } from "./index-jqsfsqbx.js";
132
+ import"./index-z6xqpmqg.js";
145
133
  import"./index-zjygnfay.js";
134
+ import"./index-cfwdm1dx.js";
135
+ import"./index-tq5s07ta.js";
136
+ import"./index-rtry5xyf.js";
137
+ import"./index-srd87kxc.js";
138
+ import"./index-ae75rja9.js";
139
+ import"./index-w7x7qxz2.js";
140
+ import"./index-erfnw81g.js";
146
141
  import"./index-bk5tah7q.js";
142
+ import"./index-ed5ykebp.js";
143
+ import"./index-k31en0ja.js";
144
+ import"./index-7g4c7s5r.js";
145
+ import"./index-s2rcz51a.js";
147
146
  import"./index-bpmtbmy9.js";
147
+ import"./index-4nt52yr9.js";
148
+ import"./index-zgwm4ryv.js";
148
149
  import"./index-a76rekgs.js";
149
150
 
150
151
  // src/commands/index.ts
@@ -3,7 +3,7 @@ import {
3
3
  queryHistoricalOutcomes,
4
4
  readKnowledgeEvents,
5
5
  recordKnowledgeEvent
6
- } from "./index-ajfa2wmj.js";
6
+ } from "./index-qmfzfh7m.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-j02ez59y.js";
14
+ } from "./index-srd87kxc.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-ewfj679a.js");
227
+ const { quarantineEntry } = await import("./knowledge-validator-w5vmvf0a.js");
228
228
  let policyConfig;
229
229
  try {
230
- const { KnowledgeConfigSchema } = await import("./schema-ney3c685.js");
231
- const { loadPluginConfigWithMeta } = await import("./index-kbshtwha.js");
230
+ const { KnowledgeConfigSchema } = await import("./schema-p74hnrfz.js");
231
+ const { loadPluginConfigWithMeta } = await import("./index-cz9tc0h8.js");
232
232
  const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
233
233
  policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
234
234
  } catch {
@@ -1,8 +1,4 @@
1
1
  // @bun
2
- import {
3
- advisoryWarn,
4
- init_warning_buffer
5
- } from "./index-4rhhvd1a.js";
6
2
  import {
7
3
  ExternalSkillsConfigSchema,
8
4
  GATE_CONFIG_KNOWN_SECTION_KEYS,
@@ -10,7 +6,11 @@ import {
10
6
  PluginConfigSchema,
11
7
  init_schema,
12
8
  resolveExternalSkillsConfig
13
- } from "./index-we279je2.js";
9
+ } from "./index-mpw32szm.js";
10
+ import {
11
+ advisoryWarn,
12
+ init_warning_buffer
13
+ } from "./index-4rhhvd1a.js";
14
14
  import {
15
15
  MAX_MERGE_DEPTH,
16
16
  deepMerge,
@@ -1,7 +1,4 @@
1
1
  // @bun
2
- import {
3
- log
4
- } from "./index-zgwm4ryv.js";
5
2
  import {
6
3
  FALLBACK_MODELS_MAX,
7
4
  GATE_CONFIG_KNOWN_SECTION_KEYS,
@@ -9,11 +6,14 @@ import {
9
6
  PluginConfigSchema,
10
7
  init_schema,
11
8
  stripKnownSwarmPrefix
12
- } from "./index-we279je2.js";
9
+ } from "./index-mpw32szm.js";
13
10
  import {
14
11
  ALL_AGENT_NAMES,
15
12
  init_constants
16
13
  } from "./index-jqsfsqbx.js";
14
+ import {
15
+ log
16
+ } from "./index-zgwm4ryv.js";
17
17
 
18
18
  // src/services/config-doctor.ts
19
19
  init_constants();
package/dist/cli/index.js CHANGED
@@ -7,66 +7,67 @@ import {
7
7
  getPluginConfigDir,
8
8
  getPluginLockFilePaths,
9
9
  resolveCommand
10
- } from "./index-h7ye3bzp.js";
11
- import"./index-4905hd2m.js";
12
- import"./index-ebwznsfy.js";
13
- import"./index-y9h2vqf6.js";
14
- import"./index-rthq1a6w.js";
15
- import"./index-c8s9a3zh.js";
16
- import"./index-xah70t2t.js";
17
- import"./index-gtkk5rx7.js";
10
+ } from "./index-q7jv0c8e.js";
11
+ import"./index-7317fvce.js";
12
+ import"./index-zky3vt90.js";
13
+ import"./index-awzwmx8p.js";
18
14
  import"./index-134d35c1.js";
15
+ import"./index-b6e016tv.js";
16
+ import"./index-4q9vfav6.js";
19
17
  import"./index-k92cagmt.js";
20
18
  import"./index-y8552snf.js";
19
+ import"./index-crt7xw29.js";
20
+ import"./index-xmzmeknp.js";
21
+ import"./index-c8s9a3zh.js";
21
22
  import"./index-9ss2m4rs.js";
23
+ import"./index-0kqs2fbm.js";
22
24
  import"./index-74hpm6sh.js";
23
- import"./index-k1xsjzm3.js";
24
- import"./index-xfhe29z3.js";
25
- import"./index-vy11zjvh.js";
26
- import"./index-xmzmeknp.js";
27
- import"./index-82m5kwtd.js";
25
+ import"./index-91dz0zct.js";
26
+ import"./index-x10a9cz6.js";
27
+ import"./index-3fg8kx7n.js";
28
+ import"./index-q68a8h37.js";
29
+ import"./index-556ja8an.js";
30
+ import"./index-gdd4jt6b.js";
28
31
  import"./index-zsrtt42s.js";
29
- import"./index-qwm6vdyv.js";
30
- import"./index-2mb5y2w1.js";
31
- import"./index-bkkxxwcd.js";
32
- import"./index-7c4bxgdh.js";
32
+ import"./index-k3cxyk66.js";
33
+ import"./index-8aabbfhv.js";
34
+ import"./index-n48cwf1a.js";
33
35
  import"./index-8fwhhayc.js";
34
36
  import"./index-q1exe2b3.js";
35
- import"./index-ajfa2wmj.js";
36
- import"./index-k46me75h.js";
37
- import"./index-ee3x66a5.js";
38
- import"./index-9kf3mj08.js";
39
- import"./index-tq5s07ta.js";
40
- import"./index-rtry5xyf.js";
41
- import"./index-j02ez59y.js";
42
- import"./index-ae75rja9.js";
43
- import"./index-w7x7qxz2.js";
44
- import"./index-erfnw81g.js";
45
- import"./index-ed5ykebp.js";
46
- import"./index-ktazgjqw.js";
37
+ import"./index-7sy3aa9m.js";
38
+ import"./index-4905hd2m.js";
39
+ import"./index-qmfzfh7m.js";
40
+ import"./index-254xf5y6.js";
47
41
  import"./index-gprxjmm7.js";
48
42
  import"./index-n832052r.js";
49
- import"./index-9wmx9ca8.js";
50
- import"./index-myav90y6.js";
51
- import"./index-556ja8an.js";
52
- import"./index-k31en0ja.js";
53
- import"./index-7g4c7s5r.js";
54
- import"./index-s2rcz51a.js";
55
- import"./index-4nt52yr9.js";
56
- import"./index-sdqtecsd.js";
57
- import"./index-4rhhvd1a.js";
58
- import"./index-zgwm4ryv.js";
43
+ import"./index-zgq25ze6.js";
59
44
  import {
60
45
  init_package,
61
46
  package_default
62
- } from "./index-we279je2.js";
47
+ } from "./index-mpw32szm.js";
48
+ import"./index-rn0eq85g.js";
49
+ import"./index-4rhhvd1a.js";
63
50
  import {
64
51
  DEFAULT_AGENT_CONFIGS,
65
52
  init_constants
66
53
  } from "./index-jqsfsqbx.js";
54
+ import"./index-z6xqpmqg.js";
67
55
  import"./index-zjygnfay.js";
56
+ import"./index-cfwdm1dx.js";
57
+ import"./index-tq5s07ta.js";
58
+ import"./index-rtry5xyf.js";
59
+ import"./index-srd87kxc.js";
60
+ import"./index-ae75rja9.js";
61
+ import"./index-w7x7qxz2.js";
62
+ import"./index-erfnw81g.js";
68
63
  import"./index-bk5tah7q.js";
64
+ import"./index-ed5ykebp.js";
65
+ import"./index-k31en0ja.js";
66
+ import"./index-7g4c7s5r.js";
67
+ import"./index-s2rcz51a.js";
69
68
  import"./index-bpmtbmy9.js";
69
+ import"./index-4nt52yr9.js";
70
+ import"./index-zgwm4ryv.js";
70
71
  import"./index-a76rekgs.js";
71
72
 
72
73
  // src/cli/index.ts
@@ -74,6 +75,7 @@ init_package();
74
75
  import * as fs from "fs";
75
76
  import * as os from "os";
76
77
  import * as path from "path";
78
+ import { fileURLToPath } from "url";
77
79
  init_constants();
78
80
 
79
81
  // src/tools/repo-graph/safe-realpath.ts
@@ -91,6 +93,7 @@ function safeRealpathSync(targetPath, fallback, realpathResolver = realpathSync)
91
93
 
92
94
  // src/cli/index.ts
93
95
  var { version } = package_default;
96
+ var PACKAGE_ROOT = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..", "..");
94
97
  var CONFIG_DIR = getPluginConfigDir();
95
98
  var OPENCODE_CONFIG_PATH = path.join(CONFIG_DIR, "opencode.json");
96
99
  var PLUGIN_CONFIG_PATH = path.join(CONFIG_DIR, "opencode-swarm.json");
@@ -580,7 +583,8 @@ Valid commands: ${VALID_COMMANDS.join(", ")}`);
580
583
  args: resolved.remainingArgs,
581
584
  sessionID: "",
582
585
  agents: {},
583
- source: "cli"
586
+ source: "cli",
587
+ packageRoot: PACKAGE_ROOT
584
588
  });
585
589
  console.log(result);
586
590
  return 0;
@@ -9,30 +9,30 @@ import {
9
9
  maybeEscalateOnViolation,
10
10
  maybeQuarantineOnContradiction,
11
11
  readRecentEscalations
12
- } from "./index-xfhe29z3.js";
13
- import"./index-ajfa2wmj.js";
14
- import"./index-k46me75h.js";
15
- import"./index-ee3x66a5.js";
16
- import"./index-j02ez59y.js";
12
+ } from "./index-x10a9cz6.js";
13
+ import"./index-qmfzfh7m.js";
14
+ import"./index-254xf5y6.js";
15
+ import"./index-gprxjmm7.js";
16
+ import"./index-n832052r.js";
17
+ import"./index-zgq25ze6.js";
18
+ import"./index-mpw32szm.js";
19
+ import"./index-rn0eq85g.js";
20
+ import"./index-4rhhvd1a.js";
21
+ import"./index-jqsfsqbx.js";
22
+ import"./index-z6xqpmqg.js";
23
+ import"./index-zjygnfay.js";
24
+ import"./index-srd87kxc.js";
17
25
  import"./index-ae75rja9.js";
18
26
  import"./index-w7x7qxz2.js";
19
27
  import"./index-erfnw81g.js";
28
+ import"./index-bk5tah7q.js";
20
29
  import"./index-ed5ykebp.js";
21
- import"./index-ktazgjqw.js";
22
- import"./index-gprxjmm7.js";
23
- import"./index-n832052r.js";
24
30
  import"./index-k31en0ja.js";
25
31
  import"./index-7g4c7s5r.js";
26
32
  import"./index-s2rcz51a.js";
33
+ import"./index-bpmtbmy9.js";
27
34
  import"./index-4nt52yr9.js";
28
- import"./index-sdqtecsd.js";
29
- import"./index-4rhhvd1a.js";
30
35
  import"./index-zgwm4ryv.js";
31
- import"./index-we279je2.js";
32
- import"./index-jqsfsqbx.js";
33
- import"./index-zjygnfay.js";
34
- import"./index-bk5tah7q.js";
35
- import"./index-bpmtbmy9.js";
36
36
  import"./index-a76rekgs.js";
37
37
  export {
38
38
  readRecentEscalations,
@@ -29,28 +29,28 @@ import {
29
29
  resolveKnowledgeCounterBaselinePath,
30
30
  resolveKnowledgeEventsPath,
31
31
  resolveLegacyApplicationLogPath
32
- } from "./index-ajfa2wmj.js";
33
- import"./index-k46me75h.js";
34
- import"./index-ee3x66a5.js";
32
+ } from "./index-qmfzfh7m.js";
33
+ import"./index-254xf5y6.js";
34
+ import"./index-gprxjmm7.js";
35
+ import"./index-n832052r.js";
36
+ import"./index-zgq25ze6.js";
37
+ import"./index-mpw32szm.js";
38
+ import"./index-rn0eq85g.js";
39
+ import"./index-4rhhvd1a.js";
40
+ import"./index-jqsfsqbx.js";
41
+ import"./index-z6xqpmqg.js";
42
+ import"./index-zjygnfay.js";
35
43
  import"./index-ae75rja9.js";
36
44
  import"./index-w7x7qxz2.js";
37
45
  import"./index-erfnw81g.js";
46
+ import"./index-bk5tah7q.js";
38
47
  import"./index-ed5ykebp.js";
39
- import"./index-ktazgjqw.js";
40
- import"./index-gprxjmm7.js";
41
- import"./index-n832052r.js";
42
48
  import"./index-k31en0ja.js";
43
49
  import"./index-7g4c7s5r.js";
44
50
  import"./index-s2rcz51a.js";
51
+ import"./index-bpmtbmy9.js";
45
52
  import"./index-4nt52yr9.js";
46
- import"./index-sdqtecsd.js";
47
- import"./index-4rhhvd1a.js";
48
53
  import"./index-zgwm4ryv.js";
49
- import"./index-we279je2.js";
50
- import"./index-jqsfsqbx.js";
51
- import"./index-zjygnfay.js";
52
- import"./index-bk5tah7q.js";
53
- import"./index-bpmtbmy9.js";
54
54
  import"./index-a76rekgs.js";
55
55
  export {
56
56
  resolveLegacyApplicationLogPath,
@@ -18,9 +18,9 @@ import"./index-ed5ykebp.js";
18
18
  import"./index-k31en0ja.js";
19
19
  import"./index-7g4c7s5r.js";
20
20
  import"./index-s2rcz51a.js";
21
+ import"./index-bpmtbmy9.js";
21
22
  import"./index-4nt52yr9.js";
22
23
  import"./index-zgwm4ryv.js";
23
- import"./index-bpmtbmy9.js";
24
24
  import"./index-a76rekgs.js";
25
25
  export {
26
26
  writeLinkPointer,
@@ -41,20 +41,20 @@ import {
41
41
  transactKnowledge,
42
42
  transactKnowledgeWithCas,
43
43
  wordBigrams
44
- } from "./index-j02ez59y.js";
44
+ } from "./index-srd87kxc.js";
45
45
  import {
46
46
  resolveHiveDataDir
47
47
  } from "./index-ae75rja9.js";
48
48
  import"./index-w7x7qxz2.js";
49
49
  import"./index-erfnw81g.js";
50
+ import"./index-bk5tah7q.js";
50
51
  import"./index-ed5ykebp.js";
51
52
  import"./index-k31en0ja.js";
52
53
  import"./index-7g4c7s5r.js";
53
54
  import"./index-s2rcz51a.js";
55
+ import"./index-bpmtbmy9.js";
54
56
  import"./index-4nt52yr9.js";
55
57
  import"./index-zgwm4ryv.js";
56
- import"./index-bk5tah7q.js";
57
- import"./index-bpmtbmy9.js";
58
58
  import"./index-a76rekgs.js";
59
59
  export {
60
60
  wordBigrams,
@@ -23,21 +23,21 @@ import {
23
23
  validateLesson,
24
24
  validateSkillCandidatePath,
25
25
  validateSkillPath
26
- } from "./index-9kf3mj08.js";
26
+ } from "./index-cfwdm1dx.js";
27
27
  import"./index-tq5s07ta.js";
28
28
  import"./index-rtry5xyf.js";
29
- import"./index-j02ez59y.js";
29
+ import"./index-srd87kxc.js";
30
30
  import"./index-ae75rja9.js";
31
31
  import"./index-w7x7qxz2.js";
32
32
  import"./index-erfnw81g.js";
33
+ import"./index-bk5tah7q.js";
33
34
  import"./index-ed5ykebp.js";
34
35
  import"./index-k31en0ja.js";
35
36
  import"./index-7g4c7s5r.js";
36
37
  import"./index-s2rcz51a.js";
38
+ import"./index-bpmtbmy9.js";
37
39
  import"./index-4nt52yr9.js";
38
40
  import"./index-zgwm4ryv.js";
39
- import"./index-bk5tah7q.js";
40
- import"./index-bpmtbmy9.js";
41
41
  import"./index-a76rekgs.js";
42
42
  export {
43
43
  validateSkillPath,
@@ -41,17 +41,17 @@ import {
41
41
  sweepStaleDelegations,
42
42
  updateCoderSettlement,
43
43
  writeDelegationFallback
44
- } from "./index-7c4bxgdh.js";
45
- import"./index-k46me75h.js";
46
- import"./index-ee3x66a5.js";
44
+ } from "./index-8aabbfhv.js";
45
+ import"./index-rn0eq85g.js";
46
+ import"./index-z6xqpmqg.js";
47
+ import"./index-zjygnfay.js";
47
48
  import"./index-ed5ykebp.js";
48
49
  import"./index-k31en0ja.js";
49
50
  import"./index-7g4c7s5r.js";
50
51
  import"./index-s2rcz51a.js";
52
+ import"./index-bpmtbmy9.js";
51
53
  import"./index-4nt52yr9.js";
52
54
  import"./index-zgwm4ryv.js";
53
- import"./index-zjygnfay.js";
54
- import"./index-bpmtbmy9.js";
55
55
  import"./index-a76rekgs.js";
56
56
  export {
57
57
  writeDelegationFallback,
@@ -9,17 +9,17 @@ import {
9
9
  sweepStale,
10
10
  unsubscribe,
11
11
  updateSnapshot
12
- } from "./index-82m5kwtd.js";
13
- import"./index-k46me75h.js";
14
- import"./index-ee3x66a5.js";
12
+ } from "./index-gdd4jt6b.js";
13
+ import"./index-rn0eq85g.js";
14
+ import"./index-z6xqpmqg.js";
15
+ import"./index-zjygnfay.js";
15
16
  import"./index-ed5ykebp.js";
16
17
  import"./index-k31en0ja.js";
17
18
  import"./index-7g4c7s5r.js";
18
19
  import"./index-s2rcz51a.js";
20
+ import"./index-bpmtbmy9.js";
19
21
  import"./index-4nt52yr9.js";
20
22
  import"./index-zgwm4ryv.js";
21
- import"./index-zjygnfay.js";
22
- import"./index-bpmtbmy9.js";
23
23
  import"./index-a76rekgs.js";
24
24
  export {
25
25
  updateSnapshot,
@@ -3,7 +3,7 @@ import {
3
3
  _internals,
4
4
  createModelEvaluationExecutor,
5
5
  runEvaluation
6
- } from "./index-y9h2vqf6.js";
6
+ } from "./index-4q9vfav6.js";
7
7
  import"./index-k92cagmt.js";
8
8
  import"./index-y8552snf.js";
9
9
  import"./index-erfnw81g.js";
@@ -11,9 +11,9 @@ import"./index-ed5ykebp.js";
11
11
  import"./index-k31en0ja.js";
12
12
  import"./index-7g4c7s5r.js";
13
13
  import"./index-s2rcz51a.js";
14
+ import"./index-bpmtbmy9.js";
14
15
  import"./index-4nt52yr9.js";
15
16
  import"./index-zgwm4ryv.js";
16
- import"./index-bpmtbmy9.js";
17
17
  import"./index-a76rekgs.js";
18
18
  export {
19
19
  runEvaluation,