opencode-swarm 7.188.8 → 7.188.10

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 (82) hide show
  1. package/binaries/win32-arm64/swarm-sandbox-runner.exe +0 -0
  2. package/binaries/win32-x64/swarm-sandbox-runner.exe +0 -0
  3. package/dist/cli/{auto-checkpoint-cdcf7yeb.js → auto-checkpoint-c4nesm12.js} +5 -5
  4. package/dist/cli/{checkpoint-jpc3a69d.js → checkpoint-sfnz4843.js} +9 -9
  5. package/dist/cli/{coder-settlement-rmaypr7g.js → coder-settlement-y7wjm4w3.js} +3 -3
  6. package/dist/cli/{config-doctor-b5t9hrzb.js → config-doctor-d01gbn5x.js} +7 -7
  7. package/dist/cli/{core-ky5b3mh6.js → core-1ymsg83x.js} +1 -1
  8. package/dist/cli/{curator-bsafet3m.js → curator-5ynapye5.js} +27 -27
  9. package/dist/cli/{curator-drift-2dwkkykq.js → curator-drift-9tnm8jdz.js} +5 -5
  10. package/dist/cli/{curator-llm-factory-ajtxk3sm.js → curator-llm-factory-9z688c52.js} +27 -27
  11. package/dist/cli/{dispatch-qvcztbpf.js → dispatch-1pbmmj8z.js} +50 -225
  12. package/dist/cli/{doctor-knowledge-receipt-phase-id-mckkwm0c.js → doctor-knowledge-receipt-phase-id-tkkznw6t.js} +5 -5
  13. package/dist/cli/{evidence-summary-service-svrt4se9.js → evidence-summary-service-jsg0x7q1.js} +10 -10
  14. package/dist/cli/{gate-evidence-jcw4mvwr.js → gate-evidence-6r2qbk89.js} +2 -2
  15. package/dist/cli/{guardrail-explain-5j0cg165.js → guardrail-explain-7m0h7db3.js} +28 -28
  16. package/dist/cli/{guardrail-log-h6fc7rnv.js → guardrail-log-p6s1sbxh.js} +3 -3
  17. package/dist/cli/{guardrail-reset-kjmqnr5r.js → guardrail-reset-shvx8e8g.js} +27 -27
  18. package/dist/cli/{hive-promoter-edp5c7k2.js → hive-promoter-f5cd2d49.js} +27 -27
  19. package/dist/cli/{index-kwbgrb3y.js → index-14d4cyxj.js} +1 -1
  20. package/dist/cli/{index-chsaj89g.js → index-3ad6fs6v.js} +1 -1
  21. package/dist/cli/{index-r89wr177.js → index-3j27qc81.js} +1 -1
  22. package/dist/cli/{index-fbw4g7yh.js → index-53t4xt8f.js} +1 -1
  23. package/dist/cli/{index-d4vrpe06.js → index-562bdvys.js} +1 -1
  24. package/dist/cli/{index-8hf3rt47.js → index-6yrx7ggm.js} +4 -4
  25. package/dist/cli/{index-nyy3hpwg.js → index-7cxtwt5e.js} +6 -6
  26. package/dist/cli/{index-js2jykf9.js → index-8xxk1gv4.js} +1 -1
  27. package/dist/cli/{index-hsmvdecz.js → index-9cqw29er.js} +2 -2
  28. package/dist/cli/{index-b81wsm2s.js → index-b0jte72h.js} +1 -1
  29. package/dist/cli/{index-e69469z9.js → index-d7m9qhpe.js} +2 -2
  30. package/dist/cli/{index-qg3tx5az.js → index-drpz069k.js} +1 -1
  31. package/dist/cli/{index-f0kk9daj.js → index-e7t7b5xs.js} +3 -3
  32. package/dist/cli/{index-8gyt9j0a.js → index-gjjn069b.js} +1 -1
  33. package/dist/cli/{index-n8n94des.js → index-hjpspz6z.js} +27 -27
  34. package/dist/cli/{index-h93hm2ew.js → index-hxfsxkb8.js} +245 -177
  35. package/dist/cli/{index-wbjk8xq9.js → index-hzezk176.js} +2 -2
  36. package/dist/cli/{index-vx8a8w3b.js → index-j2vv0h13.js} +506 -211
  37. package/dist/cli/{index-11v15np0.js → index-jna86fsj.js} +2 -2
  38. package/dist/cli/{index-fqyd21v7.js → index-ks6s6pmk.js} +4 -4
  39. package/dist/cli/{index-vhqcqq73.js → index-mbqaxnsy.js} +1 -1
  40. package/dist/cli/{index-9m3pcjf2.js → index-n3h6rwpf.js} +2 -2
  41. package/dist/cli/{index-kbkk7vnh.js → index-pkhbd2t5.js} +2 -1
  42. package/dist/cli/{index-d1yjbjf9.js → index-qq95qr3b.js} +3 -3
  43. package/dist/cli/{index-pd9hkz4f.js → index-rpb18d3f.js} +3 -3
  44. package/dist/cli/{index-s55t0cdc.js → index-rrs4vj8e.js} +5 -5
  45. package/dist/cli/{index-kx0sr39t.js → index-scjtkt0e.js} +29 -29
  46. package/dist/cli/{index-0g7wya30.js → index-sjh07rja.js} +1 -1
  47. package/dist/cli/{index-gfqz06ra.js → index-tegqnetn.js} +2 -2
  48. package/dist/cli/{index-yyh5kegx.js → index-vz1ze26j.js} +1 -1
  49. package/dist/cli/{index-sarq27b9.js → index-w11m4vrb.js} +1 -1
  50. package/dist/cli/{index-mcnqpmw6.js → index-zwn2w04v.js} +2 -2
  51. package/dist/cli/index.js +28 -28
  52. package/dist/cli/{knowledge-escalator-ndsm1023.js → knowledge-escalator-rjwqcj4c.js} +8 -8
  53. package/dist/cli/{knowledge-events-pcbxvykz.js → knowledge-events-0f3tf23t.js} +6 -6
  54. package/dist/cli/{knowledge-store-00t92ypz.js → knowledge-store-azahpegn.js} +1 -1
  55. package/dist/cli/{knowledge-validator-f8mkzp37.js → knowledge-validator-9yvg7gn9.js} +2 -2
  56. package/dist/cli/{mcp-sawqgyk6.js → mcp-mxgxbdd2.js} +1 -1
  57. package/dist/cli/{model-preflight-7rrjh3wp.js → model-preflight-c9qb1630.js} +27 -27
  58. package/dist/cli/{pending-delegations-2161efex.js → pending-delegations-rm86drz1.js} +2 -2
  59. package/dist/cli/{pr-subscriptions-m47zghfv.js → pr-subscriptions-0y73v5dw.js} +1 -1
  60. package/dist/cli/{pr-workflow-gate-hmtae8gc.js → pr-workflow-gate-f1wr818p.js} +27 -27
  61. package/dist/cli/{scan-cursor-gdy1qjed.js → scan-cursor-abq3sdt6.js} +2 -2
  62. package/dist/cli/{schema-qaxjz2de.js → schema-0c4cddzy.js} +1 -1
  63. package/dist/cli/{scope-persistence-dnx61ybv.js → scope-persistence-f8ss7vna.js} +5 -5
  64. package/dist/cli/{server-6wmhhy81.js → server-bc0s1v3y.js} +27 -27
  65. package/dist/cli/{skill-generator-sgv3bdgt.js → skill-generator-2z0p2rjb.js} +9 -9
  66. package/dist/cli/{snapshot-coordination-init-qbtzxwga.js → snapshot-coordination-init-sn7red7a.js} +27 -27
  67. package/dist/cli/{speckit-checkoff-yepzgcmj.js → speckit-checkoff-t3pm0yn0.js} +3 -3
  68. package/dist/cli/{worktree-collision-ownership-cswsfrj6.js → worktree-collision-ownership-g14dwsby.js} +2 -2
  69. package/dist/cli/{worktree-isolation-vj7egepy.js → worktree-isolation-av55nenq.js} +27 -27
  70. package/dist/commands/recover.d.ts +1 -1
  71. package/dist/commands/registry.d.ts +1 -1
  72. package/dist/config/evidence-schema.d.ts +3 -0
  73. package/dist/index.js +208 -208
  74. package/dist/lang/backend.d.ts +7 -0
  75. package/dist/lang/backends/java.d.ts +39 -0
  76. package/dist/lang/default-backend.d.ts +40 -0
  77. package/dist/tools/build-check.d.ts +13 -0
  78. package/dist/tools/test-runner.d.ts +31 -1
  79. package/dist/utils/windows-batch.d.ts +58 -0
  80. package/dist/workflow/session-view.d.ts +47 -0
  81. package/dist/workflow/stage-a-repair.d.ts +1 -0
  82. package/package.json +1 -1
@@ -2,6 +2,8 @@
2
2
  import {
3
3
  LANGUAGE_REGISTRY,
4
4
  buildGoBackend,
5
+ buildJavaBackend,
6
+ buildPhpVendorCommand,
5
7
  buildPythonBackend,
6
8
  defaultBackendFor,
7
9
  defaultBuildTestCommand,
@@ -10,10 +12,8 @@ import {
10
12
  defaultSelectTestFramework,
11
13
  defaultTestFilesFor,
12
14
  detectProjectLanguages,
13
- maskCommentsAndLiterals,
14
- parseJavaImports,
15
15
  tokenizeCommand
16
- } from "./index-vx8a8w3b.js";
16
+ } from "./index-j2vv0h13.js";
17
17
  import"./index-9nyqt3kb.js";
18
18
  import"./index-2s7dvzff.js";
19
19
  import {
@@ -25,8 +25,8 @@ import"./index-zgwm4ryv.js";
25
25
  import"./index-a76rekgs.js";
26
26
 
27
27
  // src/lang/dispatch.ts
28
- import * as fs5 from "fs";
29
- import * as path5 from "path";
28
+ import * as fs4 from "fs";
29
+ import * as path4 from "path";
30
30
 
31
31
  // src/lang/registry-backend.ts
32
32
  class LanguageBackendRegistry {
@@ -56,185 +56,13 @@ class LanguageBackendRegistry {
56
56
  }
57
57
  var LANGUAGE_BACKEND_REGISTRY = new LanguageBackendRegistry;
58
58
 
59
- // src/lang/backends/java.ts
60
- import * as fs from "fs";
61
- import * as path from "path";
62
- var PROFILE_ID = "java";
63
- var MAX_ENTRY_POINT_DEPTH = 8;
64
- var MAX_ENTRY_POINT_ENTRIES = 5000;
65
- var MAX_ENTRY_POINT_FILE_BYTES = 256 * 1024;
66
- var MAX_ENTRY_POINT_TOTAL_BYTES = 512 * 1024;
67
- var IGNORED_ENTRY_POINT_DIRS = new Set([
68
- ".git",
69
- ".gradle",
70
- "target",
71
- "build",
72
- "node_modules",
73
- ".idea",
74
- "out",
75
- "bin",
76
- ".venv",
77
- "venv",
78
- "dist"
79
- ]);
80
- var DEFERRED_ENTRY_POINT_DIRS = new Set([
81
- "test",
82
- "tests",
83
- "androidTest",
84
- "integrationTest",
85
- "testFixtures"
86
- ]);
87
- function isMainClass(source) {
88
- const masked = maskCommentsAndLiterals(source);
89
- return /\b(?:public\s+static|static\s+public)\s+void\s+main\s*\(/.test(masked);
90
- }
91
- function scanForMainClasses(dir) {
92
- const results = [];
93
- const stack = [{ dir, depth: 0 }];
94
- let entriesVisited = 0;
95
- let totalBytes = 0;
96
- while (stack.length > 0) {
97
- const current = stack.pop();
98
- if (!current || current.depth > MAX_ENTRY_POINT_DEPTH)
99
- continue;
100
- let entries;
101
- try {
102
- entries = fs.readdirSync(current.dir, { withFileTypes: true });
103
- } catch {
104
- continue;
105
- }
106
- const deferredDirs = [];
107
- const preferredDirs = [];
108
- for (const entry of entries) {
109
- entriesVisited++;
110
- if (entriesVisited > MAX_ENTRY_POINT_ENTRIES)
111
- return results;
112
- const full = path.join(current.dir, entry.name);
113
- if (entry.isDirectory()) {
114
- if (IGNORED_ENTRY_POINT_DIRS.has(entry.name))
115
- continue;
116
- if (DEFERRED_ENTRY_POINT_DIRS.has(entry.name)) {
117
- deferredDirs.push(full);
118
- } else {
119
- preferredDirs.push(full);
120
- }
121
- } else if (entry.isFile() && entry.name.endsWith(".java")) {
122
- let size;
123
- try {
124
- size = fs.statSync(full).size;
125
- } catch {
126
- continue;
127
- }
128
- if (size > MAX_ENTRY_POINT_FILE_BYTES)
129
- continue;
130
- if (totalBytes + size > MAX_ENTRY_POINT_TOTAL_BYTES)
131
- return results;
132
- try {
133
- const source = fs.readFileSync(full, "utf-8");
134
- totalBytes += size;
135
- if (isMainClass(source)) {
136
- results.push(path.relative(dir, full));
137
- }
138
- } catch {}
139
- }
140
- }
141
- for (const d of deferredDirs)
142
- stack.push({ dir: d, depth: current.depth + 1 });
143
- for (const d of preferredDirs)
144
- stack.push({ dir: d, depth: current.depth + 1 });
145
- }
146
- return results;
147
- }
148
- function detectFramework(content) {
149
- if (content.length === 0)
150
- return null;
151
- if (/\bspring-boot-starter-web\b|\bspring-boot\b|\bspring-web\b|\bspring-context\b/.test(content)) {
152
- return { name: "spring", detectedVia: "spring-boot/spring dependency" };
153
- }
154
- if (/\bjakarta\.servlet\b|\bjavax\.servlet\b/.test(content)) {
155
- return { name: "servlet", detectedVia: "jakarta/javax servlet dependency" };
156
- }
157
- return null;
158
- }
159
- function extractImports(_sourceFile, source) {
160
- const seen = new Set;
161
- for (const imp of parseJavaImports(source)) {
162
- seen.add(imp.specifier);
163
- }
164
- return [...seen];
165
- }
166
- function wrapperExists(dir, name) {
167
- return fs.existsSync(path.join(dir, name));
168
- }
169
- function resolveMvnwCommand(dir) {
170
- const isWindows = process.platform === "win32";
171
- const hasMvnwCmd = wrapperExists(dir, "mvnw.cmd");
172
- return isWindows && hasMvnwCmd ? "mvnw.cmd" : "./mvnw";
173
- }
174
- function resolveGradlewCommand(dir) {
175
- const isWindows = process.platform === "win32";
176
- const hasGradlewBat = wrapperExists(dir, "gradlew.bat");
177
- return isWindows && hasGradlewBat ? "gradlew.bat" : "./gradlew";
178
- }
179
- async function selectTestFramework(dir) {
180
- if (wrapperExists(dir, "gradlew")) {
181
- return {
182
- name: "gradle",
183
- cmd: [resolveGradlewCommand(dir), "test", "-q"],
184
- cwd: dir,
185
- detectedVia: "./gradlew",
186
- filesIgnored: false
187
- };
188
- }
189
- if (wrapperExists(dir, "mvnw")) {
190
- return {
191
- name: "maven",
192
- cmd: [resolveMvnwCommand(dir), "test", "-q"],
193
- cwd: dir,
194
- detectedVia: "./mvnw",
195
- filesIgnored: false
196
- };
197
- }
198
- const profile = LANGUAGE_REGISTRY.get(PROFILE_ID);
199
- if (!profile)
200
- return null;
201
- return defaultSelectTestFramework(profile, dir);
202
- }
203
- async function selectEntryPoints(dir) {
204
- await new Promise((resolve) => setImmediate(resolve));
205
- return scanForMainClasses(dir);
206
- }
207
- async function selectFramework(dir) {
208
- let content = "";
209
- for (const file of ["pom.xml", "build.gradle", "build.gradle.kts"]) {
210
- try {
211
- content += `
212
- ${fs.readFileSync(path.join(dir, file), "utf-8")}`;
213
- } catch {}
214
- }
215
- return detectFramework(content);
216
- }
217
- function buildJavaBackend() {
218
- const profile = LANGUAGE_REGISTRY.get(PROFILE_ID);
219
- if (!profile) {
220
- throw new Error("buildJavaBackend: java profile not in LANGUAGE_REGISTRY. " + "profiles.ts must be imported before this backend.");
221
- }
222
- return {
223
- ...defaultBackendFor(profile),
224
- extractImports,
225
- selectTestFramework,
226
- selectEntryPoints,
227
- selectFramework
228
- };
229
- }
230
-
231
59
  // src/lang/backends/php.ts
232
- import * as fs3 from "fs";
233
- import * as path3 from "path";
234
-
235
- // src/lang/framework-detector.ts
236
60
  import * as fs2 from "fs";
237
61
  import * as path2 from "path";
62
+
63
+ // src/lang/framework-detector.ts
64
+ import * as fs from "fs";
65
+ import * as path from "path";
238
66
  function detectLaravelProject(directory) {
239
67
  const signals = getLaravelSignals(directory);
240
68
  const signalCount = [
@@ -251,21 +79,21 @@ function getLaravelSignals(directory) {
251
79
  return { hasArtisanFile, hasLaravelFrameworkDep, hasConfigApp };
252
80
  }
253
81
  function checkArtisanFile(directory) {
254
- const artisanPath = path2.join(directory, "artisan");
255
- if (!fs2.existsSync(artisanPath))
82
+ const artisanPath = path.join(directory, "artisan");
83
+ if (!fs.existsSync(artisanPath))
256
84
  return false;
257
85
  try {
258
- return fs2.statSync(artisanPath).isFile();
86
+ return fs.statSync(artisanPath).isFile();
259
87
  } catch {
260
88
  return false;
261
89
  }
262
90
  }
263
91
  function checkLaravelFrameworkDep(directory) {
264
- const composerPath = path2.join(directory, "composer.json");
265
- if (!fs2.existsSync(composerPath))
92
+ const composerPath = path.join(directory, "composer.json");
93
+ if (!fs.existsSync(composerPath))
266
94
  return false;
267
95
  try {
268
- const content = fs2.readFileSync(composerPath, "utf-8");
96
+ const content = fs.readFileSync(composerPath, "utf-8");
269
97
  const parsed = JSON.parse(content);
270
98
  const require2 = parsed?.require ?? {};
271
99
  return typeof require2["laravel/framework"] === "string";
@@ -274,12 +102,12 @@ function checkLaravelFrameworkDep(directory) {
274
102
  }
275
103
  }
276
104
  function checkConfigApp(directory) {
277
- return fs2.existsSync(path2.join(directory, "config", "app.php"));
105
+ return fs.existsSync(path.join(directory, "config", "app.php"));
278
106
  }
279
107
 
280
108
  // src/lang/backends/php.ts
281
- var PROFILE_ID2 = "php";
282
- async function selectFramework2(dir) {
109
+ var PROFILE_ID = "php";
110
+ async function selectFramework(dir) {
283
111
  if (detectLaravelProject(dir)) {
284
112
  return {
285
113
  name: "laravel",
@@ -288,7 +116,7 @@ async function selectFramework2(dir) {
288
116
  }
289
117
  return null;
290
118
  }
291
- async function selectTestFramework2(dir) {
119
+ async function selectTestFramework(dir) {
292
120
  if (detectLaravelProject(dir)) {
293
121
  return {
294
122
  name: "php-artisan",
@@ -297,51 +125,48 @@ async function selectTestFramework2(dir) {
297
125
  detectedVia: "Laravel signals (artisan / composer.json / config/app.php)"
298
126
  };
299
127
  }
300
- if (fs3.existsSync(path3.join(dir, "Pest.php"))) {
128
+ if (fs2.existsSync(path2.join(dir, "Pest.php"))) {
301
129
  return {
302
130
  name: "pest",
303
- cmd: [phpVendorBin("pest")],
131
+ cmd: buildPhpVendorCommand(dir, "pest"),
304
132
  cwd: dir,
305
133
  detectedVia: "Pest.php"
306
134
  };
307
135
  }
308
- if (fs3.existsSync(path3.join(dir, "phpunit.xml"))) {
136
+ if (fs2.existsSync(path2.join(dir, "phpunit.xml"))) {
309
137
  return {
310
138
  name: "phpunit",
311
- cmd: [phpVendorBin("phpunit")],
139
+ cmd: buildPhpVendorCommand(dir, "phpunit"),
312
140
  cwd: dir,
313
141
  detectedVia: "phpunit.xml"
314
142
  };
315
143
  }
316
- if (fs3.existsSync(path3.join(dir, "phpunit.xml.dist"))) {
144
+ if (fs2.existsSync(path2.join(dir, "phpunit.xml.dist"))) {
317
145
  return {
318
146
  name: "phpunit",
319
- cmd: [phpVendorBin("phpunit")],
147
+ cmd: buildPhpVendorCommand(dir, "phpunit"),
320
148
  cwd: dir,
321
149
  detectedVia: "phpunit.xml.dist"
322
150
  };
323
151
  }
324
152
  return null;
325
153
  }
326
- function phpVendorBin(name) {
327
- return path3.join("vendor", "bin", process.platform === "win32" ? `${name}.bat` : name);
328
- }
329
154
  function buildPhpBackend() {
330
- const profile = LANGUAGE_REGISTRY.get(PROFILE_ID2);
155
+ const profile = LANGUAGE_REGISTRY.get(PROFILE_ID);
331
156
  if (!profile) {
332
157
  throw new Error("buildPhpBackend: php profile not in LANGUAGE_REGISTRY. " + "profiles.ts must be imported before this backend.");
333
158
  }
334
159
  return {
335
160
  ...defaultBackendFor(profile),
336
- selectFramework: selectFramework2,
337
- selectTestFramework: selectTestFramework2
161
+ selectFramework,
162
+ selectTestFramework
338
163
  };
339
164
  }
340
165
 
341
166
  // src/lang/backends/typescript.ts
342
- import * as fs4 from "fs";
343
- import * as path4 from "path";
344
- var PROFILE_ID3 = "typescript";
167
+ import * as fs3 from "fs";
168
+ import * as path3 from "path";
169
+ var PROFILE_ID2 = "typescript";
345
170
  var IMPORT_REGEX_ES = /import\s+[\s\S]*?\s+from\s+['"]([^'"]+)['"]/g;
346
171
  var IMPORT_REGEX_BARE = /import\s+['"]([^'"]+)['"]/g;
347
172
  var IMPORT_REGEX_REQUIRE = /require\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
@@ -349,7 +174,7 @@ var IMPORT_REGEX_DYNAMIC = /import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
349
174
  var IMPORT_REGEX_REEXPORT = /export\s+(?:\{[^}]*\}|\*)\s+from\s+['"]([^'"]+)['"]/g;
350
175
  function readPackageJsonRaw(dir) {
351
176
  try {
352
- const content = fs4.readFileSync(path4.join(dir, "package.json"), "utf-8");
177
+ const content = fs3.readFileSync(path3.join(dir, "package.json"), "utf-8");
353
178
  return JSON.parse(content);
354
179
  } catch {
355
180
  return null;
@@ -398,8 +223,8 @@ function selectionFromFramework(profile, fwName, dir, detectedVia) {
398
223
  filesIgnored: false
399
224
  };
400
225
  }
401
- async function selectTestFramework3(dir) {
402
- const profile = LANGUAGE_REGISTRY.get(PROFILE_ID3);
226
+ async function selectTestFramework2(dir) {
227
+ const profile = LANGUAGE_REGISTRY.get(PROFILE_ID2);
403
228
  if (!profile)
404
229
  return null;
405
230
  const pkg = readPackageJson(dir);
@@ -421,7 +246,7 @@ async function selectTestFramework3(dir) {
421
246
  return defaultSelectTestFramework(profile, dir);
422
247
  }
423
248
  function buildTestCommand(framework, files, dir, opts) {
424
- const profile = LANGUAGE_REGISTRY.get(PROFILE_ID3);
249
+ const profile = LANGUAGE_REGISTRY.get(PROFILE_ID2);
425
250
  if (!profile)
426
251
  return null;
427
252
  return defaultBuildTestCommand(profile, framework, files, dir, opts);
@@ -429,7 +254,7 @@ function buildTestCommand(framework, files, dir, opts) {
429
254
  function parseTestOutput(framework, stdout, stderr, exitCode) {
430
255
  return defaultParseTestOutput(framework, stdout, stderr, exitCode);
431
256
  }
432
- async function selectFramework3(dir) {
257
+ async function selectFramework2(dir) {
433
258
  const pkg = readPackageJson(dir);
434
259
  if (!pkg)
435
260
  return null;
@@ -455,7 +280,7 @@ async function selectFramework3(dir) {
455
280
  }
456
281
  return null;
457
282
  }
458
- async function selectEntryPoints2(dir) {
283
+ async function selectEntryPoints(dir) {
459
284
  const pkg = readPackageJson(dir);
460
285
  if (!pkg)
461
286
  return [];
@@ -479,7 +304,7 @@ async function selectEntryPoints2(dir) {
479
304
  }
480
305
  return [...new Set(points.filter((p) => p.length > 0))];
481
306
  }
482
- function extractImports2(_sourceFile, source) {
307
+ function extractImports(_sourceFile, source) {
483
308
  const out = new Set;
484
309
  for (const re of [
485
310
  IMPORT_REGEX_ES,
@@ -498,32 +323,32 @@ function extractImports2(_sourceFile, source) {
498
323
  return [...out];
499
324
  }
500
325
  async function selectBuildCommand(dir) {
501
- const profile = LANGUAGE_REGISTRY.get(PROFILE_ID3);
326
+ const profile = LANGUAGE_REGISTRY.get(PROFILE_ID2);
502
327
  if (!profile)
503
328
  return null;
504
329
  return defaultSelectBuildCommand(profile, dir);
505
330
  }
506
331
  async function testFilesFor(sourceFile, dir) {
507
- const profile = LANGUAGE_REGISTRY.get(PROFILE_ID3);
332
+ const profile = LANGUAGE_REGISTRY.get(PROFILE_ID2);
508
333
  if (!profile)
509
334
  return [];
510
335
  return defaultTestFilesFor(profile, sourceFile, dir);
511
336
  }
512
337
  function buildTypescriptBackend() {
513
- const profile = LANGUAGE_REGISTRY.get(PROFILE_ID3);
338
+ const profile = LANGUAGE_REGISTRY.get(PROFILE_ID2);
514
339
  if (!profile) {
515
340
  throw new Error("buildTypescriptBackend: typescript profile not in LANGUAGE_REGISTRY. " + "profiles.ts must be imported before this backend.");
516
341
  }
517
342
  return {
518
343
  ...profile,
519
- selectTestFramework: selectTestFramework3,
344
+ selectTestFramework: selectTestFramework2,
520
345
  buildTestCommand,
521
346
  parseTestOutput,
522
- extractImports: extractImports2,
347
+ extractImports,
523
348
  selectBuildCommand,
524
349
  testFilesFor,
525
- selectFramework: selectFramework3,
526
- selectEntryPoints: selectEntryPoints2
350
+ selectFramework: selectFramework2,
351
+ selectEntryPoints
527
352
  };
528
353
  }
529
354
  var _internals = {
@@ -583,7 +408,7 @@ var cache = new Map;
583
408
  var insertCounter = 0;
584
409
  async function tryReadDirectoryAsync(dir) {
585
410
  try {
586
- return new Set(await fs5.promises.readdir(dir));
411
+ return new Set(await fs4.promises.readdir(dir));
587
412
  } catch {
588
413
  return null;
589
414
  }
@@ -596,7 +421,7 @@ async function manifestHash(dir, signal) {
596
421
  const names = MANIFEST_FILES.filter((name) => entries.has(name));
597
422
  const parts = await Promise.all(names.map(async (name) => {
598
423
  try {
599
- const stat = await fs5.promises.stat(path5.join(dir, name));
424
+ const stat = await fs4.promises.stat(path4.join(dir, name));
600
425
  return `${name}:${stat.size}:${stat.mtimeMs}:${stat.ino}`;
601
426
  } catch {
602
427
  return null;
@@ -622,7 +447,7 @@ function cacheProfileKey(input, cacheKey) {
622
447
  }
623
448
  async function directoryFingerprint(dir) {
624
449
  try {
625
- const stat = await fs5.promises.stat(dir);
450
+ const stat = await fs4.promises.stat(dir);
626
451
  if (!stat.isDirectory())
627
452
  return null;
628
453
  return {
@@ -701,7 +526,7 @@ function throwIfAborted(signal) {
701
526
  }
702
527
  async function findManifestRoot(start, signal) {
703
528
  throwIfAborted(signal);
704
- const resolved = path5.resolve(start);
529
+ const resolved = path4.resolve(start);
705
530
  const key = await canonicalRootKeyFreshAsync(resolved);
706
531
  throwIfAborted(signal);
707
532
  const cached = manifestRootCache.get(key);
@@ -763,7 +588,7 @@ async function findManifestRoot(start, signal) {
763
588
  }
764
589
  }
765
590
  }
766
- const parent = path5.dirname(cur);
591
+ const parent = path4.dirname(cur);
767
592
  if (parent === cur)
768
593
  break;
769
594
  cur = parent;
@@ -2,12 +2,12 @@
2
2
  import {
3
3
  backfillMembershipPhaseIds,
4
4
  inspectMembershipPhaseIds
5
- } from "./index-mcnqpmw6.js";
5
+ } from "./index-zwn2w04v.js";
6
6
  import"./index-m9zzj4ee.js";
7
7
  import"./index-7hr5m7yp.js";
8
8
  import"./index-2s7dvzff.js";
9
- import"./index-wbjk8xq9.js";
10
- import"./index-kbkk7vnh.js";
9
+ import"./index-hzezk176.js";
10
+ import"./index-pkhbd2t5.js";
11
11
  import"./index-0725jpp7.js";
12
12
  import"./index-1xa8wq76.js";
13
13
  import"./index-t7hmqgjy.js";
@@ -15,9 +15,9 @@ import"./index-d3rjvm9e.js";
15
15
  import"./index-fzpt2djt.js";
16
16
  import"./index-p2tqzwh6.js";
17
17
  import"./index-gx2vp8gx.js";
18
- import"./index-yyh5kegx.js";
18
+ import"./index-vz1ze26j.js";
19
19
  import"./index-zxdawwc7.js";
20
- import"./index-d4vrpe06.js";
20
+ import"./index-562bdvys.js";
21
21
  import"./index-zfbxfm2m.js";
22
22
  import"./index-bk5tah7q.js";
23
23
  import"./index-gknz3bv1.js";
@@ -5,25 +5,25 @@ import {
5
5
  loadEvidence,
6
6
  mergeDurableGateEntriesFromEvidence,
7
7
  readDurableGateEvidence
8
- } from "./index-9m3pcjf2.js";
8
+ } from "./index-n3h6rwpf.js";
9
9
  import"./index-8xabhfwr.js";
10
10
  import"./index-txdagbh7.js";
11
11
  import {
12
12
  loadPlanJsonOnly
13
- } from "./index-s55t0cdc.js";
13
+ } from "./index-rrs4vj8e.js";
14
14
  import"./index-6b295cas.js";
15
- import"./index-kwbgrb3y.js";
15
+ import"./index-14d4cyxj.js";
16
16
  import"./index-zsrtt42s.js";
17
- import"./index-8gyt9j0a.js";
18
- import"./index-qg3tx5az.js";
19
- import"./index-vhqcqq73.js";
17
+ import"./index-gjjn069b.js";
18
+ import"./index-drpz069k.js";
19
+ import"./index-mbqaxnsy.js";
20
20
  import"./index-g4fs6z4e.js";
21
21
  import"./index-m9zzj4ee.js";
22
22
  import"./index-7hr5m7yp.js";
23
23
  import"./index-2s7dvzff.js";
24
- import"./index-kbkk7vnh.js";
24
+ import"./index-pkhbd2t5.js";
25
25
  import"./index-0725jpp7.js";
26
- import"./index-e69469z9.js";
26
+ import"./index-d7m9qhpe.js";
27
27
  import"./index-wrdktgpy.js";
28
28
  import"./index-ntda6tje.js";
29
29
  import"./index-9tvjwv01.js";
@@ -40,9 +40,9 @@ import"./index-ejhxgyvm.js";
40
40
  import"./index-7g4c7s5r.js";
41
41
  import"./index-p2tqzwh6.js";
42
42
  import"./index-gx2vp8gx.js";
43
- import"./index-yyh5kegx.js";
43
+ import"./index-vz1ze26j.js";
44
44
  import"./index-zxdawwc7.js";
45
- import"./index-d4vrpe06.js";
45
+ import"./index-562bdvys.js";
46
46
  import"./index-zfbxfm2m.js";
47
47
  import"./index-bk5tah7q.js";
48
48
  import"./index-gknz3bv1.js";
@@ -26,8 +26,8 @@ import {
26
26
  transitionTaskWorkflowEvidence,
27
27
  transitionTaskWorkflowEvidenceWithStatus,
28
28
  withTaskEvidenceTransaction
29
- } from "./index-qg3tx5az.js";
30
- import"./index-vhqcqq73.js";
29
+ } from "./index-drpz069k.js";
30
+ import"./index-mbqaxnsy.js";
31
31
  import"./index-g4fs6z4e.js";
32
32
  import"./index-7hr5m7yp.js";
33
33
  import"./index-2s7dvzff.js";
@@ -1,51 +1,51 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-hsmvdecz.js";
5
- import"./index-h93hm2ew.js";
6
- import"./index-b81wsm2s.js";
7
- import"./index-gfqz06ra.js";
8
- import"./index-9m3pcjf2.js";
9
- import"./index-vx8a8w3b.js";
4
+ } from "./index-9cqw29er.js";
5
+ import"./index-hxfsxkb8.js";
6
+ import"./index-b0jte72h.js";
7
+ import"./index-tegqnetn.js";
8
+ import"./index-n3h6rwpf.js";
9
+ import"./index-j2vv0h13.js";
10
10
  import"./index-k8sarme1.js";
11
11
  import"./index-8xabhfwr.js";
12
12
  import"./index-txdagbh7.js";
13
- import"./index-0g7wya30.js";
13
+ import"./index-sjh07rja.js";
14
14
  import"./index-rdec0y3z.js";
15
- import"./index-fbw4g7yh.js";
16
- import"./index-f0kk9daj.js";
17
- import"./index-d1yjbjf9.js";
18
- import"./index-nyy3hpwg.js";
15
+ import"./index-53t4xt8f.js";
16
+ import"./index-e7t7b5xs.js";
17
+ import"./index-qq95qr3b.js";
18
+ import"./index-7cxtwt5e.js";
19
19
  import"./index-kaqdzhj3.js";
20
20
  import"./index-9czp2dcg.js";
21
21
  import"./index-cjapb4hy.js";
22
22
  import"./index-f6exny9m.js";
23
23
  import"./index-pt7h91zc.js";
24
24
  import"./index-q7sjgr1y.js";
25
- import"./index-pd9hkz4f.js";
26
- import"./index-s55t0cdc.js";
25
+ import"./index-rpb18d3f.js";
26
+ import"./index-rrs4vj8e.js";
27
27
  import"./index-6b295cas.js";
28
28
  import"./index-9nyqt3kb.js";
29
- import"./index-kwbgrb3y.js";
29
+ import"./index-14d4cyxj.js";
30
30
  import"./index-zsrtt42s.js";
31
- import"./index-8gyt9j0a.js";
32
- import"./index-qg3tx5az.js";
33
- import"./index-vhqcqq73.js";
31
+ import"./index-gjjn069b.js";
32
+ import"./index-drpz069k.js";
33
+ import"./index-mbqaxnsy.js";
34
34
  import"./index-g4fs6z4e.js";
35
- import"./index-js2jykf9.js";
36
- import"./index-11v15np0.js";
37
- import"./index-mcnqpmw6.js";
35
+ import"./index-8xxk1gv4.js";
36
+ import"./index-jna86fsj.js";
37
+ import"./index-zwn2w04v.js";
38
38
  import"./index-m9zzj4ee.js";
39
39
  import"./index-7hr5m7yp.js";
40
40
  import"./index-2s7dvzff.js";
41
- import"./index-r89wr177.js";
41
+ import"./index-3j27qc81.js";
42
42
  import"./index-q9kefh33.js";
43
43
  import"./index-rtry5xyf.js";
44
- import"./index-wbjk8xq9.js";
45
- import"./index-kbkk7vnh.js";
44
+ import"./index-hzezk176.js";
45
+ import"./index-pkhbd2t5.js";
46
46
  import"./index-0725jpp7.js";
47
- import"./index-sarq27b9.js";
48
- import"./index-e69469z9.js";
47
+ import"./index-w11m4vrb.js";
48
+ import"./index-d7m9qhpe.js";
49
49
  import"./index-wrdktgpy.js";
50
50
  import"./index-x1eh2636.js";
51
51
  import"./index-ntda6tje.js";
@@ -54,7 +54,7 @@ import"./index-ry16d01s.js";
54
54
  import"./index-rdm3px0g.js";
55
55
  import"./index-7pmbnjvj.js";
56
56
  import"./index-1xa8wq76.js";
57
- import"./index-8hf3rt47.js";
57
+ import"./index-6yrx7ggm.js";
58
58
  import"./index-vzm6zre7.js";
59
59
  import"./index-ae75rja9.js";
60
60
  import"./index-8q8783g0.js";
@@ -67,9 +67,9 @@ import"./index-ejhxgyvm.js";
67
67
  import"./index-7g4c7s5r.js";
68
68
  import"./index-p2tqzwh6.js";
69
69
  import"./index-gx2vp8gx.js";
70
- import"./index-yyh5kegx.js";
70
+ import"./index-vz1ze26j.js";
71
71
  import"./index-zxdawwc7.js";
72
- import"./index-d4vrpe06.js";
72
+ import"./index-562bdvys.js";
73
73
  import"./index-zfbxfm2m.js";
74
74
  import"./index-bk5tah7q.js";
75
75
  import"./index-gknz3bv1.js";
@@ -1,15 +1,15 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailLog
4
- } from "./index-chsaj89g.js";
5
- import"./index-b81wsm2s.js";
4
+ } from "./index-3ad6fs6v.js";
5
+ import"./index-b0jte72h.js";
6
6
  import"./index-2s7dvzff.js";
7
7
  import"./index-wrdktgpy.js";
8
8
  import"./index-1xa8wq76.js";
9
9
  import"./index-d3rjvm9e.js";
10
10
  import"./index-fzpt2djt.js";
11
11
  import"./index-p2tqzwh6.js";
12
- import"./index-d4vrpe06.js";
12
+ import"./index-562bdvys.js";
13
13
  import"./index-zfbxfm2m.js";
14
14
  import"./index-bk5tah7q.js";
15
15
  import"./index-gknz3bv1.js";