opencode-swarm 7.188.8 → 7.188.9

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 (78) 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-8hn7sczv.js} +4 -4
  4. package/dist/cli/{checkpoint-jpc3a69d.js → checkpoint-zagm80g6.js} +8 -8
  5. package/dist/cli/{coder-settlement-rmaypr7g.js → coder-settlement-ea9wk0fa.js} +3 -3
  6. package/dist/cli/{config-doctor-b5t9hrzb.js → config-doctor-482f83pc.js} +7 -7
  7. package/dist/cli/{core-ky5b3mh6.js → core-jev9px23.js} +1 -1
  8. package/dist/cli/{curator-drift-2dwkkykq.js → curator-drift-tzr8cq9d.js} +5 -5
  9. package/dist/cli/{curator-llm-factory-ajtxk3sm.js → curator-llm-factory-vwxengt1.js} +26 -26
  10. package/dist/cli/{curator-bsafet3m.js → curator-sw5w1yxn.js} +26 -26
  11. package/dist/cli/{dispatch-qvcztbpf.js → dispatch-h8m1jntz.js} +47 -220
  12. package/dist/cli/{doctor-knowledge-receipt-phase-id-mckkwm0c.js → doctor-knowledge-receipt-phase-id-78hqh9ds.js} +4 -4
  13. package/dist/cli/{evidence-summary-service-svrt4se9.js → evidence-summary-service-dpx7844s.js} +9 -9
  14. package/dist/cli/{gate-evidence-jcw4mvwr.js → gate-evidence-v5fbpnfe.js} +2 -2
  15. package/dist/cli/{guardrail-explain-5j0cg165.js → guardrail-explain-020gkz5c.js} +27 -27
  16. package/dist/cli/{guardrail-log-h6fc7rnv.js → guardrail-log-z14b98cn.js} +3 -3
  17. package/dist/cli/{guardrail-reset-kjmqnr5r.js → guardrail-reset-cg6kfk8r.js} +26 -26
  18. package/dist/cli/{hive-promoter-edp5c7k2.js → hive-promoter-bse7dh34.js} +26 -26
  19. package/dist/cli/{index-js2jykf9.js → index-0dp2ak7d.js} +1 -1
  20. package/dist/cli/{index-0g7wya30.js → index-0e49htcs.js} +1 -1
  21. package/dist/cli/{index-mcnqpmw6.js → index-0whh6em0.js} +2 -2
  22. package/dist/cli/{index-b81wsm2s.js → index-2mmbzyqb.js} +1 -1
  23. package/dist/cli/{index-sarq27b9.js → index-4xc838p0.js} +1 -1
  24. package/dist/cli/{index-wbjk8xq9.js → index-64e9z08z.js} +2 -2
  25. package/dist/cli/{index-chsaj89g.js → index-6nx6qf7v.js} +1 -1
  26. package/dist/cli/{index-kwbgrb3y.js → index-7jtxt3qp.js} +1 -1
  27. package/dist/cli/{index-r89wr177.js → index-804rs273.js} +1 -1
  28. package/dist/cli/{index-8hf3rt47.js → index-akkskstq.js} +4 -4
  29. package/dist/cli/{index-8gyt9j0a.js → index-b2g020d7.js} +1 -1
  30. package/dist/cli/{index-vhqcqq73.js → index-b913b1yc.js} +1 -1
  31. package/dist/cli/{index-d1yjbjf9.js → index-byfk6w9a.js} +3 -3
  32. package/dist/cli/{index-e69469z9.js → index-bzeegaem.js} +2 -2
  33. package/dist/cli/{index-vx8a8w3b.js → index-c0tjwb5k.js} +496 -201
  34. package/dist/cli/{index-11v15np0.js → index-cxybg712.js} +2 -2
  35. package/dist/cli/{index-hsmvdecz.js → index-d1z2yrwq.js} +2 -2
  36. package/dist/cli/{index-n8n94des.js → index-ddgmj923.js} +26 -26
  37. package/dist/cli/{index-gfqz06ra.js → index-dhkgby53.js} +2 -2
  38. package/dist/cli/{index-fqyd21v7.js → index-g0we5tpv.js} +3 -3
  39. package/dist/cli/{index-d4vrpe06.js → index-gd602ztc.js} +1 -1
  40. package/dist/cli/{index-yyh5kegx.js → index-hjyakvcq.js} +1 -1
  41. package/dist/cli/{index-f0kk9daj.js → index-kjb143pz.js} +3 -3
  42. package/dist/cli/{index-pd9hkz4f.js → index-ng5n8tp0.js} +3 -3
  43. package/dist/cli/{index-kx0sr39t.js → index-peyrzden.js} +28 -28
  44. package/dist/cli/{index-s55t0cdc.js → index-ps6fyxfc.js} +5 -5
  45. package/dist/cli/{index-nyy3hpwg.js → index-q6y176gs.js} +6 -6
  46. package/dist/cli/{index-fbw4g7yh.js → index-qdp9ny78.js} +1 -1
  47. package/dist/cli/{index-h93hm2ew.js → index-sndyex1t.js} +241 -165
  48. package/dist/cli/{index-qg3tx5az.js → index-t6tew3pf.js} +1 -1
  49. package/dist/cli/{index-9m3pcjf2.js → index-v71w06rr.js} +1 -1
  50. package/dist/cli/index.js +27 -27
  51. package/dist/cli/{knowledge-escalator-ndsm1023.js → knowledge-escalator-wah5yybk.js} +7 -7
  52. package/dist/cli/{knowledge-events-pcbxvykz.js → knowledge-events-akz8013r.js} +5 -5
  53. package/dist/cli/{knowledge-store-00t92ypz.js → knowledge-store-hy12373e.js} +1 -1
  54. package/dist/cli/{knowledge-validator-f8mkzp37.js → knowledge-validator-yrqkdt1w.js} +2 -2
  55. package/dist/cli/{mcp-sawqgyk6.js → mcp-0srnsd05.js} +1 -1
  56. package/dist/cli/{model-preflight-7rrjh3wp.js → model-preflight-m3v8hn9k.js} +26 -26
  57. package/dist/cli/{pending-delegations-2161efex.js → pending-delegations-40txwk2h.js} +2 -2
  58. package/dist/cli/{pr-subscriptions-m47zghfv.js → pr-subscriptions-w6n5s9c7.js} +1 -1
  59. package/dist/cli/{pr-workflow-gate-hmtae8gc.js → pr-workflow-gate-mx9t1p5j.js} +26 -26
  60. package/dist/cli/{scan-cursor-gdy1qjed.js → scan-cursor-phbwfaya.js} +2 -2
  61. package/dist/cli/{schema-qaxjz2de.js → schema-t1xwd728.js} +1 -1
  62. package/dist/cli/{scope-persistence-dnx61ybv.js → scope-persistence-m6qrwt3d.js} +5 -5
  63. package/dist/cli/{server-6wmhhy81.js → server-7pt2zhnc.js} +26 -26
  64. package/dist/cli/{skill-generator-sgv3bdgt.js → skill-generator-pnv8efrw.js} +8 -8
  65. package/dist/cli/{snapshot-coordination-init-qbtzxwga.js → snapshot-coordination-init-514wtctt.js} +26 -26
  66. package/dist/cli/{speckit-checkoff-yepzgcmj.js → speckit-checkoff-beh1nw7v.js} +3 -3
  67. package/dist/cli/{worktree-collision-ownership-cswsfrj6.js → worktree-collision-ownership-f5wca0gg.js} +2 -2
  68. package/dist/cli/{worktree-isolation-vj7egepy.js → worktree-isolation-bd6c5x8h.js} +26 -26
  69. package/dist/commands/recover.d.ts +1 -1
  70. package/dist/commands/registry.d.ts +1 -1
  71. package/dist/index.js +207 -207
  72. package/dist/lang/backends/java.d.ts +39 -0
  73. package/dist/lang/default-backend.d.ts +15 -0
  74. package/dist/tools/test-runner.d.ts +31 -1
  75. package/dist/utils/windows-batch.d.ts +53 -0
  76. package/dist/workflow/session-view.d.ts +47 -0
  77. package/dist/workflow/stage-a-repair.d.ts +1 -0
  78. package/package.json +1 -1
@@ -2,6 +2,7 @@
2
2
  import {
3
3
  LANGUAGE_REGISTRY,
4
4
  buildGoBackend,
5
+ buildJavaBackend,
5
6
  buildPythonBackend,
6
7
  defaultBackendFor,
7
8
  defaultBuildTestCommand,
@@ -10,10 +11,8 @@ import {
10
11
  defaultSelectTestFramework,
11
12
  defaultTestFilesFor,
12
13
  detectProjectLanguages,
13
- maskCommentsAndLiterals,
14
- parseJavaImports,
15
14
  tokenizeCommand
16
- } from "./index-vx8a8w3b.js";
15
+ } from "./index-c0tjwb5k.js";
17
16
  import"./index-9nyqt3kb.js";
18
17
  import"./index-2s7dvzff.js";
19
18
  import {
@@ -25,8 +24,8 @@ import"./index-zgwm4ryv.js";
25
24
  import"./index-a76rekgs.js";
26
25
 
27
26
  // src/lang/dispatch.ts
28
- import * as fs5 from "fs";
29
- import * as path5 from "path";
27
+ import * as fs4 from "fs";
28
+ import * as path4 from "path";
30
29
 
31
30
  // src/lang/registry-backend.ts
32
31
  class LanguageBackendRegistry {
@@ -56,185 +55,13 @@ class LanguageBackendRegistry {
56
55
  }
57
56
  var LANGUAGE_BACKEND_REGISTRY = new LanguageBackendRegistry;
58
57
 
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
58
  // 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
59
  import * as fs2 from "fs";
237
60
  import * as path2 from "path";
61
+
62
+ // src/lang/framework-detector.ts
63
+ import * as fs from "fs";
64
+ import * as path from "path";
238
65
  function detectLaravelProject(directory) {
239
66
  const signals = getLaravelSignals(directory);
240
67
  const signalCount = [
@@ -251,21 +78,21 @@ function getLaravelSignals(directory) {
251
78
  return { hasArtisanFile, hasLaravelFrameworkDep, hasConfigApp };
252
79
  }
253
80
  function checkArtisanFile(directory) {
254
- const artisanPath = path2.join(directory, "artisan");
255
- if (!fs2.existsSync(artisanPath))
81
+ const artisanPath = path.join(directory, "artisan");
82
+ if (!fs.existsSync(artisanPath))
256
83
  return false;
257
84
  try {
258
- return fs2.statSync(artisanPath).isFile();
85
+ return fs.statSync(artisanPath).isFile();
259
86
  } catch {
260
87
  return false;
261
88
  }
262
89
  }
263
90
  function checkLaravelFrameworkDep(directory) {
264
- const composerPath = path2.join(directory, "composer.json");
265
- if (!fs2.existsSync(composerPath))
91
+ const composerPath = path.join(directory, "composer.json");
92
+ if (!fs.existsSync(composerPath))
266
93
  return false;
267
94
  try {
268
- const content = fs2.readFileSync(composerPath, "utf-8");
95
+ const content = fs.readFileSync(composerPath, "utf-8");
269
96
  const parsed = JSON.parse(content);
270
97
  const require2 = parsed?.require ?? {};
271
98
  return typeof require2["laravel/framework"] === "string";
@@ -274,12 +101,12 @@ function checkLaravelFrameworkDep(directory) {
274
101
  }
275
102
  }
276
103
  function checkConfigApp(directory) {
277
- return fs2.existsSync(path2.join(directory, "config", "app.php"));
104
+ return fs.existsSync(path.join(directory, "config", "app.php"));
278
105
  }
279
106
 
280
107
  // src/lang/backends/php.ts
281
- var PROFILE_ID2 = "php";
282
- async function selectFramework2(dir) {
108
+ var PROFILE_ID = "php";
109
+ async function selectFramework(dir) {
283
110
  if (detectLaravelProject(dir)) {
284
111
  return {
285
112
  name: "laravel",
@@ -288,7 +115,7 @@ async function selectFramework2(dir) {
288
115
  }
289
116
  return null;
290
117
  }
291
- async function selectTestFramework2(dir) {
118
+ async function selectTestFramework(dir) {
292
119
  if (detectLaravelProject(dir)) {
293
120
  return {
294
121
  name: "php-artisan",
@@ -297,7 +124,7 @@ async function selectTestFramework2(dir) {
297
124
  detectedVia: "Laravel signals (artisan / composer.json / config/app.php)"
298
125
  };
299
126
  }
300
- if (fs3.existsSync(path3.join(dir, "Pest.php"))) {
127
+ if (fs2.existsSync(path2.join(dir, "Pest.php"))) {
301
128
  return {
302
129
  name: "pest",
303
130
  cmd: [phpVendorBin("pest")],
@@ -305,7 +132,7 @@ async function selectTestFramework2(dir) {
305
132
  detectedVia: "Pest.php"
306
133
  };
307
134
  }
308
- if (fs3.existsSync(path3.join(dir, "phpunit.xml"))) {
135
+ if (fs2.existsSync(path2.join(dir, "phpunit.xml"))) {
309
136
  return {
310
137
  name: "phpunit",
311
138
  cmd: [phpVendorBin("phpunit")],
@@ -313,7 +140,7 @@ async function selectTestFramework2(dir) {
313
140
  detectedVia: "phpunit.xml"
314
141
  };
315
142
  }
316
- if (fs3.existsSync(path3.join(dir, "phpunit.xml.dist"))) {
143
+ if (fs2.existsSync(path2.join(dir, "phpunit.xml.dist"))) {
317
144
  return {
318
145
  name: "phpunit",
319
146
  cmd: [phpVendorBin("phpunit")],
@@ -324,24 +151,24 @@ async function selectTestFramework2(dir) {
324
151
  return null;
325
152
  }
326
153
  function phpVendorBin(name) {
327
- return path3.join("vendor", "bin", process.platform === "win32" ? `${name}.bat` : name);
154
+ return path2.join("vendor", "bin", process.platform === "win32" ? `${name}.bat` : name);
328
155
  }
329
156
  function buildPhpBackend() {
330
- const profile = LANGUAGE_REGISTRY.get(PROFILE_ID2);
157
+ const profile = LANGUAGE_REGISTRY.get(PROFILE_ID);
331
158
  if (!profile) {
332
159
  throw new Error("buildPhpBackend: php profile not in LANGUAGE_REGISTRY. " + "profiles.ts must be imported before this backend.");
333
160
  }
334
161
  return {
335
162
  ...defaultBackendFor(profile),
336
- selectFramework: selectFramework2,
337
- selectTestFramework: selectTestFramework2
163
+ selectFramework,
164
+ selectTestFramework
338
165
  };
339
166
  }
340
167
 
341
168
  // src/lang/backends/typescript.ts
342
- import * as fs4 from "fs";
343
- import * as path4 from "path";
344
- var PROFILE_ID3 = "typescript";
169
+ import * as fs3 from "fs";
170
+ import * as path3 from "path";
171
+ var PROFILE_ID2 = "typescript";
345
172
  var IMPORT_REGEX_ES = /import\s+[\s\S]*?\s+from\s+['"]([^'"]+)['"]/g;
346
173
  var IMPORT_REGEX_BARE = /import\s+['"]([^'"]+)['"]/g;
347
174
  var IMPORT_REGEX_REQUIRE = /require\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
@@ -349,7 +176,7 @@ var IMPORT_REGEX_DYNAMIC = /import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
349
176
  var IMPORT_REGEX_REEXPORT = /export\s+(?:\{[^}]*\}|\*)\s+from\s+['"]([^'"]+)['"]/g;
350
177
  function readPackageJsonRaw(dir) {
351
178
  try {
352
- const content = fs4.readFileSync(path4.join(dir, "package.json"), "utf-8");
179
+ const content = fs3.readFileSync(path3.join(dir, "package.json"), "utf-8");
353
180
  return JSON.parse(content);
354
181
  } catch {
355
182
  return null;
@@ -398,8 +225,8 @@ function selectionFromFramework(profile, fwName, dir, detectedVia) {
398
225
  filesIgnored: false
399
226
  };
400
227
  }
401
- async function selectTestFramework3(dir) {
402
- const profile = LANGUAGE_REGISTRY.get(PROFILE_ID3);
228
+ async function selectTestFramework2(dir) {
229
+ const profile = LANGUAGE_REGISTRY.get(PROFILE_ID2);
403
230
  if (!profile)
404
231
  return null;
405
232
  const pkg = readPackageJson(dir);
@@ -421,7 +248,7 @@ async function selectTestFramework3(dir) {
421
248
  return defaultSelectTestFramework(profile, dir);
422
249
  }
423
250
  function buildTestCommand(framework, files, dir, opts) {
424
- const profile = LANGUAGE_REGISTRY.get(PROFILE_ID3);
251
+ const profile = LANGUAGE_REGISTRY.get(PROFILE_ID2);
425
252
  if (!profile)
426
253
  return null;
427
254
  return defaultBuildTestCommand(profile, framework, files, dir, opts);
@@ -429,7 +256,7 @@ function buildTestCommand(framework, files, dir, opts) {
429
256
  function parseTestOutput(framework, stdout, stderr, exitCode) {
430
257
  return defaultParseTestOutput(framework, stdout, stderr, exitCode);
431
258
  }
432
- async function selectFramework3(dir) {
259
+ async function selectFramework2(dir) {
433
260
  const pkg = readPackageJson(dir);
434
261
  if (!pkg)
435
262
  return null;
@@ -455,7 +282,7 @@ async function selectFramework3(dir) {
455
282
  }
456
283
  return null;
457
284
  }
458
- async function selectEntryPoints2(dir) {
285
+ async function selectEntryPoints(dir) {
459
286
  const pkg = readPackageJson(dir);
460
287
  if (!pkg)
461
288
  return [];
@@ -479,7 +306,7 @@ async function selectEntryPoints2(dir) {
479
306
  }
480
307
  return [...new Set(points.filter((p) => p.length > 0))];
481
308
  }
482
- function extractImports2(_sourceFile, source) {
309
+ function extractImports(_sourceFile, source) {
483
310
  const out = new Set;
484
311
  for (const re of [
485
312
  IMPORT_REGEX_ES,
@@ -498,32 +325,32 @@ function extractImports2(_sourceFile, source) {
498
325
  return [...out];
499
326
  }
500
327
  async function selectBuildCommand(dir) {
501
- const profile = LANGUAGE_REGISTRY.get(PROFILE_ID3);
328
+ const profile = LANGUAGE_REGISTRY.get(PROFILE_ID2);
502
329
  if (!profile)
503
330
  return null;
504
331
  return defaultSelectBuildCommand(profile, dir);
505
332
  }
506
333
  async function testFilesFor(sourceFile, dir) {
507
- const profile = LANGUAGE_REGISTRY.get(PROFILE_ID3);
334
+ const profile = LANGUAGE_REGISTRY.get(PROFILE_ID2);
508
335
  if (!profile)
509
336
  return [];
510
337
  return defaultTestFilesFor(profile, sourceFile, dir);
511
338
  }
512
339
  function buildTypescriptBackend() {
513
- const profile = LANGUAGE_REGISTRY.get(PROFILE_ID3);
340
+ const profile = LANGUAGE_REGISTRY.get(PROFILE_ID2);
514
341
  if (!profile) {
515
342
  throw new Error("buildTypescriptBackend: typescript profile not in LANGUAGE_REGISTRY. " + "profiles.ts must be imported before this backend.");
516
343
  }
517
344
  return {
518
345
  ...profile,
519
- selectTestFramework: selectTestFramework3,
346
+ selectTestFramework: selectTestFramework2,
520
347
  buildTestCommand,
521
348
  parseTestOutput,
522
- extractImports: extractImports2,
349
+ extractImports,
523
350
  selectBuildCommand,
524
351
  testFilesFor,
525
- selectFramework: selectFramework3,
526
- selectEntryPoints: selectEntryPoints2
352
+ selectFramework: selectFramework2,
353
+ selectEntryPoints
527
354
  };
528
355
  }
529
356
  var _internals = {
@@ -583,7 +410,7 @@ var cache = new Map;
583
410
  var insertCounter = 0;
584
411
  async function tryReadDirectoryAsync(dir) {
585
412
  try {
586
- return new Set(await fs5.promises.readdir(dir));
413
+ return new Set(await fs4.promises.readdir(dir));
587
414
  } catch {
588
415
  return null;
589
416
  }
@@ -596,7 +423,7 @@ async function manifestHash(dir, signal) {
596
423
  const names = MANIFEST_FILES.filter((name) => entries.has(name));
597
424
  const parts = await Promise.all(names.map(async (name) => {
598
425
  try {
599
- const stat = await fs5.promises.stat(path5.join(dir, name));
426
+ const stat = await fs4.promises.stat(path4.join(dir, name));
600
427
  return `${name}:${stat.size}:${stat.mtimeMs}:${stat.ino}`;
601
428
  } catch {
602
429
  return null;
@@ -622,7 +449,7 @@ function cacheProfileKey(input, cacheKey) {
622
449
  }
623
450
  async function directoryFingerprint(dir) {
624
451
  try {
625
- const stat = await fs5.promises.stat(dir);
452
+ const stat = await fs4.promises.stat(dir);
626
453
  if (!stat.isDirectory())
627
454
  return null;
628
455
  return {
@@ -701,7 +528,7 @@ function throwIfAborted(signal) {
701
528
  }
702
529
  async function findManifestRoot(start, signal) {
703
530
  throwIfAborted(signal);
704
- const resolved = path5.resolve(start);
531
+ const resolved = path4.resolve(start);
705
532
  const key = await canonicalRootKeyFreshAsync(resolved);
706
533
  throwIfAborted(signal);
707
534
  const cached = manifestRootCache.get(key);
@@ -763,7 +590,7 @@ async function findManifestRoot(start, signal) {
763
590
  }
764
591
  }
765
592
  }
766
- const parent = path5.dirname(cur);
593
+ const parent = path4.dirname(cur);
767
594
  if (parent === cur)
768
595
  break;
769
596
  cur = parent;
@@ -2,11 +2,11 @@
2
2
  import {
3
3
  backfillMembershipPhaseIds,
4
4
  inspectMembershipPhaseIds
5
- } from "./index-mcnqpmw6.js";
5
+ } from "./index-0whh6em0.js";
6
6
  import"./index-m9zzj4ee.js";
7
7
  import"./index-7hr5m7yp.js";
8
8
  import"./index-2s7dvzff.js";
9
- import"./index-wbjk8xq9.js";
9
+ import"./index-64e9z08z.js";
10
10
  import"./index-kbkk7vnh.js";
11
11
  import"./index-0725jpp7.js";
12
12
  import"./index-1xa8wq76.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-hjyakvcq.js";
19
19
  import"./index-zxdawwc7.js";
20
- import"./index-d4vrpe06.js";
20
+ import"./index-gd602ztc.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-v71w06rr.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-ps6fyxfc.js";
14
14
  import"./index-6b295cas.js";
15
- import"./index-kwbgrb3y.js";
15
+ import"./index-7jtxt3qp.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-b2g020d7.js";
18
+ import"./index-t6tew3pf.js";
19
+ import"./index-b913b1yc.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
24
  import"./index-kbkk7vnh.js";
25
25
  import"./index-0725jpp7.js";
26
- import"./index-e69469z9.js";
26
+ import"./index-bzeegaem.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-hjyakvcq.js";
44
44
  import"./index-zxdawwc7.js";
45
- import"./index-d4vrpe06.js";
45
+ import"./index-gd602ztc.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-t6tew3pf.js";
30
+ import"./index-b913b1yc.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-d1z2yrwq.js";
5
+ import"./index-sndyex1t.js";
6
+ import"./index-2mmbzyqb.js";
7
+ import"./index-dhkgby53.js";
8
+ import"./index-v71w06rr.js";
9
+ import"./index-c0tjwb5k.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-0e49htcs.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-qdp9ny78.js";
16
+ import"./index-kjb143pz.js";
17
+ import"./index-byfk6w9a.js";
18
+ import"./index-q6y176gs.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-ng5n8tp0.js";
26
+ import"./index-ps6fyxfc.js";
27
27
  import"./index-6b295cas.js";
28
28
  import"./index-9nyqt3kb.js";
29
- import"./index-kwbgrb3y.js";
29
+ import"./index-7jtxt3qp.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-b2g020d7.js";
32
+ import"./index-t6tew3pf.js";
33
+ import"./index-b913b1yc.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-0dp2ak7d.js";
36
+ import"./index-cxybg712.js";
37
+ import"./index-0whh6em0.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-804rs273.js";
42
42
  import"./index-q9kefh33.js";
43
43
  import"./index-rtry5xyf.js";
44
- import"./index-wbjk8xq9.js";
44
+ import"./index-64e9z08z.js";
45
45
  import"./index-kbkk7vnh.js";
46
46
  import"./index-0725jpp7.js";
47
- import"./index-sarq27b9.js";
48
- import"./index-e69469z9.js";
47
+ import"./index-4xc838p0.js";
48
+ import"./index-bzeegaem.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-akkskstq.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-hjyakvcq.js";
71
71
  import"./index-zxdawwc7.js";
72
- import"./index-d4vrpe06.js";
72
+ import"./index-gd602ztc.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-6nx6qf7v.js";
5
+ import"./index-2mmbzyqb.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-gd602ztc.js";
13
13
  import"./index-zfbxfm2m.js";
14
14
  import"./index-bk5tah7q.js";
15
15
  import"./index-gknz3bv1.js";