@ultrst-armada/kloks 1.24.3 → 1.24.5

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.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schema": 1,
3
3
  "packageName": "@ultrst-armada/kloks",
4
- "version": "1.24.3",
5
- "sourceCommit": "20945680ee42c1576ccfdc915cb91e59cfee6c77",
4
+ "version": "1.24.5",
5
+ "sourceCommit": "7ce649afc0f054a7b1b72e3ba57ed90c28ba79c4",
6
6
  "releaseWorkflow": "npm Release",
7
- "workflowRunId": "41534133554"
7
+ "workflowRunId": "41573236769"
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultrst-armada/kloks",
3
- "version": "1.24.3",
3
+ "version": "1.24.5",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -198,7 +198,8 @@
198
198
  "@neondatabase/serverless": "^0.10.0 || ^1.0.0",
199
199
  "@supabase/supabase-js": "^2.45.0",
200
200
  "better-sqlite3": "^11.0.0",
201
- "react": "^18.0.0 || ^19.0.0"
201
+ "react": "^18.0.0 || ^19.0.0",
202
+ "@ultrst-armada/krnl": "^1.0.9"
202
203
  },
203
204
  "peerDependenciesMeta": {
204
205
  "@neondatabase/serverless": {
@@ -212,6 +213,9 @@
212
213
  },
213
214
  "react": {
214
215
  "optional": true
216
+ },
217
+ "@ultrst-armada/krnl": {
218
+ "optional": true
215
219
  }
216
220
  },
217
221
  "devDependencies": {
@@ -1,16 +1,244 @@
1
+ // src/development/webContainerService.ts
1
2
  import {
2
- CodeValidationRuntime,
3
- CodeValidationServiceDefinition,
4
- CodeValidationServiceFacade,
5
- WebContainerRuntime,
6
- WebContainerServiceDefinition,
7
- WebContainerServiceFacade,
8
- captureDevelopmentProcess,
9
- parseDevelopmentDiagnostics,
10
- resolveWebContainerCommand
11
- } from "../chunk-AGI3VKCZ.js";
12
- import "../chunk-MWSYNRNZ.js";
13
- import "../chunk-QGM4M3NI.js";
3
+ createService,
4
+ createServiceDefinition
5
+ } from "@ultrst-armada/krnl";
6
+ var COMMANDS = {
7
+ install: { command: "pnpm", args: ["install", "--no-frozen-lockfile"] },
8
+ lint: { command: "pnpm", args: ["lint"] },
9
+ test: { command: "pnpm", args: ["test"] },
10
+ build: { command: "pnpm", args: ["build"] },
11
+ validate: { command: "pnpm", args: ["validate"] },
12
+ check: { command: "pnpm", args: ["lint"] }
13
+ };
14
+ function parseDevelopmentDiagnostics(output, exitCode = 0) {
15
+ const diagnostics = [];
16
+ const seen = /* @__PURE__ */ new Set();
17
+ const add = (diagnostic) => {
18
+ const key = [diagnostic.source, diagnostic.code, diagnostic.file, diagnostic.line, diagnostic.message].join("|");
19
+ if (!seen.has(key)) {
20
+ seen.add(key);
21
+ diagnostics.push(diagnostic);
22
+ }
23
+ };
24
+ for (const line of output.split(/\r?\n/)) {
25
+ const typescript = line.match(/^(.+?)\((\d+),(\d+)\):\s*(error|warning)\s+(TS\d+):\s*(.+)$/);
26
+ if (typescript) {
27
+ add({ source: "typescript", severity: typescript[4], file: typescript[1], line: Number(typescript[2]), column: Number(typescript[3]), code: typescript[5], message: typescript[6] });
28
+ continue;
29
+ }
30
+ const eslint = line.match(/^(.+?):(\d+):(\d+)\s+(error|warning)\s+(.+?)\s+([^\s]+)$/);
31
+ if (eslint) {
32
+ add({ source: "eslint", severity: eslint[4], file: eslint[1], line: Number(eslint[2]), column: Number(eslint[3]), code: eslint[6], message: eslint[5] });
33
+ continue;
34
+ }
35
+ const bundler = line.match(/(?:✘|×|ERROR|error:|Error:)\s*(.+)$/);
36
+ if (bundler) add({ source: "bundler", severity: "error", message: bundler[1].trim() });
37
+ if (/\bWARN(?:ING)?\b/i.test(line)) add({ source: "package-manager", severity: "warning", message: line.trim() });
38
+ }
39
+ if (exitCode !== 0 && diagnostics.every((item) => item.severity !== "error")) {
40
+ add({ source: "unknown", severity: "error", message: "Command failed with exit code " + exitCode + "; inspect captured output for details." });
41
+ }
42
+ return diagnostics;
43
+ }
44
+ function captureDevelopmentProcess(process) {
45
+ const [consumerOutput, diagnosticOutput] = process.output.tee();
46
+ const logs = (async () => {
47
+ const reader = diagnosticOutput.getReader();
48
+ let output = "";
49
+ try {
50
+ while (true) {
51
+ const next = await reader.read();
52
+ if (next.done) break;
53
+ output += next.value;
54
+ }
55
+ } finally {
56
+ reader.releaseLock();
57
+ }
58
+ const exitCode = await process.exit;
59
+ return { output, exitCode, diagnostics: parseDevelopmentDiagnostics(output, exitCode) };
60
+ })();
61
+ return { ...process, output: consumerOutput, logs };
62
+ }
63
+ function resolveWebContainerCommand(task) {
64
+ const command = COMMANDS[task];
65
+ return { command: command.command, args: [...command.args] };
66
+ }
67
+ var runQueue = Promise.resolve();
68
+ var sharedContainer = null;
69
+ var sharedContainerPromise = null;
70
+ var WebContainerRuntime = class {
71
+ async boot() {
72
+ if (typeof window !== "undefined" && !window.crossOriginIsolated) {
73
+ throw new Error("WebContainer requires a cross-origin-isolated page. Ensure COOP=same-origin and COEP=require-corp are served.");
74
+ }
75
+ if (sharedContainer) return sharedContainer;
76
+ if (!sharedContainerPromise) {
77
+ sharedContainerPromise = import("@webcontainer/api").then(async (module) => {
78
+ const container = await module.WebContainer.boot({
79
+ coep: "require-corp",
80
+ workdirName: "kloks-development"
81
+ });
82
+ sharedContainer = container;
83
+ return container;
84
+ }).catch((error) => {
85
+ sharedContainerPromise = null;
86
+ throw error;
87
+ });
88
+ }
89
+ return sharedContainerPromise;
90
+ }
91
+ async mount(files, mountPoint) {
92
+ const container = await this.boot();
93
+ await container.mount(files, mountPoint ? { mountPoint } : void 0);
94
+ return { mounted: true, mountPoint: mountPoint ?? "/" };
95
+ }
96
+ async runProcess(command, args, cwd, env) {
97
+ const container = await this.boot();
98
+ const process = await container.spawn(command, args, { cwd, env });
99
+ const started = Date.now();
100
+ let output = "";
101
+ const reader = process.output.getReader();
102
+ try {
103
+ while (true) {
104
+ const next = await reader.read();
105
+ if (next.done) break;
106
+ output += next.value;
107
+ }
108
+ } finally {
109
+ reader.releaseLock();
110
+ }
111
+ const exitCode = await process.exit;
112
+ return { exitCode, output, command: [command, ...args].join(" "), durationMs: Date.now() - started, diagnostics: parseDevelopmentDiagnostics(output, exitCode) };
113
+ }
114
+ async run(task, cwd, env) {
115
+ const spec = resolveWebContainerCommand(task);
116
+ return this.runCommand(spec.command, spec.args, cwd, env);
117
+ }
118
+ async runCommand(command, args = [], cwd, env) {
119
+ const previous = runQueue;
120
+ let release;
121
+ runQueue = new Promise((resolve) => {
122
+ release = resolve;
123
+ });
124
+ await previous;
125
+ try {
126
+ return await this.runProcess(command, args, cwd, env);
127
+ } finally {
128
+ release();
129
+ }
130
+ }
131
+ async spawnCommand(command, args = [], cwd, env) {
132
+ const container = await this.boot();
133
+ const process = await container.spawn(command, args, { cwd, env });
134
+ return captureDevelopmentProcess(process);
135
+ }
136
+ async teardown() {
137
+ const container = sharedContainer;
138
+ sharedContainer = null;
139
+ sharedContainerPromise = null;
140
+ await container?.teardown();
141
+ return { tornDown: true };
142
+ }
143
+ };
144
+ var runtime = new WebContainerRuntime();
145
+ var WebContainerServiceDefinition = createServiceDefinition({
146
+ id: "kloks.backend.webContainer",
147
+ name: "WebContainerService",
148
+ version: "1.2.0",
149
+ operations: {
150
+ boot: { id: "WebContainerService.boot", name: "boot", handler: async () => {
151
+ await runtime.boot();
152
+ return { ready: true };
153
+ } },
154
+ mount: { id: "WebContainerService.mount", name: "mount", handler: async (input) => runtime.mount(input.files, input.mountPoint) },
155
+ run: { id: "WebContainerService.run", name: "run", handler: async (input) => runtime.run(input.task, input.cwd, input.env) },
156
+ runCommand: { id: "WebContainerService.runCommand", name: "runCommand", handler: async (input) => runtime.runCommand(input.command, input.args, input.cwd, input.env) },
157
+ teardown: { id: "WebContainerService.teardown", name: "teardown", handler: async () => runtime.teardown() },
158
+ command: { id: "WebContainerService.command", name: "command", handler: async (input) => ({ task: input.task, command: resolveWebContainerCommand(input.task) }) }
159
+ }
160
+ });
161
+ var WebContainerServiceFacade = {
162
+ id: WebContainerServiceDefinition.id,
163
+ name: WebContainerServiceDefinition.name,
164
+ version: WebContainerServiceDefinition.version,
165
+ runtime: "client",
166
+ deployment: "local",
167
+ definition: WebContainerServiceDefinition,
168
+ createInstance: () => createService(WebContainerServiceDefinition),
169
+ execute: async (op, input) => {
170
+ const instance = createService(WebContainerServiceDefinition);
171
+ await instance.start();
172
+ return instance.call(op, input);
173
+ }
174
+ };
175
+
176
+ // src/development/codeValidationService.ts
177
+ import { createService as createService2, createServiceDefinition as createServiceDefinition2 } from "@ultrst-armada/krnl";
178
+ var COMMANDS2 = {
179
+ syntax: { command: "pnpm", args: ["exec", "tsc", "--noEmit"] },
180
+ lint: { command: "pnpm", args: ["run", "lint", "--if-present"] },
181
+ test: { command: "pnpm", args: ["run", "test", "--if-present"] },
182
+ build: { command: "pnpm", args: ["run", "build", "--if-present"] },
183
+ krnl: { command: "pnpm", args: ["exec", "krnl", "validate"] },
184
+ frnl: { command: "pnpm", args: ["exec", "frnl", "validate"] },
185
+ "lockfile-check": { command: "pnpm", args: ["install", "--frozen-lockfile", "--ignore-scripts"] }
186
+ };
187
+ var DEFAULT_LAYERS = ["lockfile-check", "syntax", "lint", "krnl", "frnl"];
188
+ var commandText = (command, args) => [command, ...args].join(" ");
189
+ var CodeValidationRuntime = class {
190
+ constructor(runtime3 = new WebContainerRuntime()) {
191
+ this.runtime = runtime3;
192
+ }
193
+ runtime;
194
+ async validate(input = {}) {
195
+ if (input.files) await this.runtime.mount(input.files);
196
+ const diagnostics = [];
197
+ if (input.install) {
198
+ const installed = await this.runtime.runCommand("pnpm", ["install", "--frozen-lockfile", "--ignore-scripts"], input.cwd, input.env);
199
+ diagnostics.push({ layer: "lockfile-check", ok: installed.exitCode === 0, exitCode: installed.exitCode, output: installed.output, command: "pnpm install --frozen-lockfile --ignore-scripts" });
200
+ if (installed.exitCode !== 0) return { ok: false, diagnostics, failedLayers: ["lockfile-check"] };
201
+ }
202
+ const layers = input.layers?.length ? input.layers : DEFAULT_LAYERS;
203
+ for (const layer of layers) {
204
+ if (layer === "law-l9") {
205
+ diagnostics.push(await this.validateLawL9(input.cwd, input.maxLines ?? 200));
206
+ continue;
207
+ }
208
+ const spec = COMMANDS2[layer];
209
+ const result = await this.runtime.runCommand(spec.command, spec.args, input.cwd, input.env);
210
+ diagnostics.push({ layer, ok: result.exitCode === 0, exitCode: result.exitCode, output: result.output, command: commandText(spec.command, spec.args) });
211
+ if (result.exitCode !== 0) break;
212
+ }
213
+ return { ok: diagnostics.every((item) => item.ok), diagnostics, failedLayers: diagnostics.filter((item) => !item.ok).map((item) => item.layer) };
214
+ }
215
+ async validateLawL9(cwd = ".", maxLines = 200) {
216
+ const script = `python3 -c 'import os,sys; bad=[]; root="src"; [bad.append(os.path.join(r,f)+": "+str(len(open(os.path.join(r,f),encoding="utf-8",errors="ignore").readlines()))+" lines") for r,_,fs in os.walk(root) for f in fs if f.endswith((".ts",".tsx",".js",".jsx")) and not f.endswith(".d.ts") and len(open(os.path.join(r,f),encoding="utf-8",errors="ignore").readlines())>200]; print("\\n".join(bad)); sys.exit(1 if bad else 0)'`;
217
+ const result = await this.runtime.runCommand("sh", ["-lc", script], cwd);
218
+ return { layer: "law-l9", ok: result.exitCode === 0, exitCode: result.exitCode, output: result.output, command: script };
219
+ }
220
+ };
221
+ var runtime2 = new CodeValidationRuntime();
222
+ var CodeValidationServiceDefinition = createServiceDefinition2({
223
+ id: "kloks.backend.codeValidation",
224
+ name: "CodeValidationService",
225
+ version: "1.1.0",
226
+ operations: { validate: { id: "CodeValidationService.validate", name: "validate", handler: async (input) => runtime2.validate(input) } }
227
+ });
228
+ var CodeValidationServiceFacade = {
229
+ id: CodeValidationServiceDefinition.id,
230
+ name: CodeValidationServiceDefinition.name,
231
+ version: CodeValidationServiceDefinition.version,
232
+ runtime: "client",
233
+ deployment: "local",
234
+ definition: CodeValidationServiceDefinition,
235
+ createInstance: () => createService2(CodeValidationServiceDefinition),
236
+ execute: async (op, input) => {
237
+ const instance = createService2(CodeValidationServiceDefinition);
238
+ await instance.start();
239
+ return instance.call(op, input);
240
+ }
241
+ };
14
242
  export {
15
243
  CodeValidationRuntime,
16
244
  CodeValidationServiceDefinition,
@@ -1,10 +1,49 @@
1
- import { WebContainerRuntime, DevelopmentRequest, DevelopmentResult } from './client.js';
2
- export { CodeValidationInput, CodeValidationResult, CodeValidationRuntime, CodeValidationServiceDefinition, CodeValidationServiceFacade, DevelopmentDiagnostic, DevelopmentProvider, DevelopmentServiceContract, DevelopmentTask, ValidationDiagnostic, ValidationLayer, WebContainerCommand, WebContainerRunCommandInput, WebContainerServiceDefinition, WebContainerServiceFacade, captureDevelopmentProcess, parseDevelopmentDiagnostics, resolveWebContainerCommand } from './client.js';
3
1
  import * as _ultrst_armada_krnl from '@ultrst-armada/krnl';
4
2
  import { ServiceDefinition } from '@ultrst-armada/krnl';
5
3
  export { InspectionCheck, InspectionCheckResult, InspectionError, InspectionErrorKind, InspectionLog, InspectionViewport, PlaywrightInspectionRequest, PlaywrightInspectionResult } from './playwrightInspectionTypes.js';
6
4
  export { PlaywrightInspectionRuntime, PlaywrightInspectionServiceDefinition, PlaywrightInspectionServiceFacade } from './playwrightInspectionService.js';
7
5
 
6
+ type DevelopmentProvider = 'webcontainer' | 'github-actions';
7
+ type DevelopmentTask = 'install' | 'lint' | 'test' | 'build' | 'validate' | 'check';
8
+ interface DevelopmentRequest {
9
+ provider: DevelopmentProvider;
10
+ task: DevelopmentTask;
11
+ repository?: string;
12
+ ref?: string;
13
+ workflowId?: string | number;
14
+ workflowInputs?: Record<string, string>;
15
+ cwd?: string;
16
+ env?: Record<string, string>;
17
+ }
18
+ interface DevelopmentDiagnostic {
19
+ severity: 'error' | 'warning' | 'info';
20
+ source: 'typescript' | 'eslint' | 'bundler' | 'package-manager' | 'runtime' | 'unknown';
21
+ code?: string;
22
+ file?: string;
23
+ line?: number;
24
+ column?: number;
25
+ message: string;
26
+ }
27
+ interface DevelopmentResult {
28
+ provider: DevelopmentProvider;
29
+ task: DevelopmentTask;
30
+ ok: boolean;
31
+ exitCode?: number;
32
+ output?: string;
33
+ command?: string;
34
+ durationMs?: number;
35
+ diagnostics?: DevelopmentDiagnostic[];
36
+ runId?: number;
37
+ url?: string;
38
+ }
39
+ interface WebContainerCommand {
40
+ command: string;
41
+ args: string[];
42
+ }
43
+ interface DevelopmentServiceContract {
44
+ definition: ServiceDefinition;
45
+ }
46
+
8
47
  interface GitHubActionsConfig {
9
48
  token: string;
10
49
  apiBaseUrl?: string;
@@ -60,6 +99,63 @@ declare const GitHubActionsServiceFacade: {
60
99
  execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
61
100
  };
62
101
 
102
+ declare function parseDevelopmentDiagnostics(output: string, exitCode?: number): DevelopmentDiagnostic[];
103
+ declare function captureDevelopmentProcess<T extends {
104
+ output: ReadableStream<string>;
105
+ exit: Promise<number>;
106
+ }>(process: T): T & {
107
+ output: ReadableStream<string>;
108
+ logs: Promise<{
109
+ output: string;
110
+ exitCode: number;
111
+ diagnostics: DevelopmentDiagnostic[];
112
+ }>;
113
+ };
114
+ declare function resolveWebContainerCommand(task: DevelopmentTask): WebContainerCommand;
115
+ interface WebContainerRunCommandInput {
116
+ command: string;
117
+ args?: string[];
118
+ cwd?: string;
119
+ env?: Record<string, string | number | boolean>;
120
+ }
121
+ declare class WebContainerRuntime {
122
+ boot(): Promise<any>;
123
+ mount(files: Record<string, unknown>, mountPoint?: string): Promise<{
124
+ mounted: boolean;
125
+ mountPoint: string;
126
+ }>;
127
+ private runProcess;
128
+ run(task: DevelopmentTask, cwd?: string, env?: Record<string, string>): Promise<{
129
+ exitCode: any;
130
+ output: string;
131
+ command: string;
132
+ durationMs: number;
133
+ diagnostics: DevelopmentDiagnostic[];
134
+ }>;
135
+ runCommand(command: string, args?: string[], cwd?: string, env?: Record<string, string | number | boolean>): Promise<{
136
+ exitCode: any;
137
+ output: string;
138
+ command: string;
139
+ durationMs: number;
140
+ diagnostics: DevelopmentDiagnostic[];
141
+ }>;
142
+ spawnCommand(command: string, args?: string[], cwd?: string, env?: Record<string, string | number | boolean>): Promise<any>;
143
+ teardown(): Promise<{
144
+ tornDown: boolean;
145
+ }>;
146
+ }
147
+ declare const WebContainerServiceDefinition: ServiceDefinition;
148
+ declare const WebContainerServiceFacade: {
149
+ id: string;
150
+ name: string;
151
+ version: string;
152
+ runtime: "client";
153
+ deployment: "local";
154
+ definition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
155
+ createInstance: () => _ultrst_armada_krnl.ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
156
+ execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
157
+ };
158
+
63
159
  declare function resolveDevelopmentCommand(task: DevelopmentRequest['task']): [string, string[]];
64
160
  declare const DevelopmentServiceDefinition: ServiceDefinition;
65
161
  declare class DevelopmentRuntime {
@@ -79,6 +175,46 @@ declare const DevelopmentServiceFacade: {
79
175
  execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
80
176
  };
81
177
 
178
+ type ValidationLayer = 'syntax' | 'lint' | 'test' | 'build' | 'krnl' | 'frnl' | 'lockfile-check' | 'law-l9';
179
+ interface CodeValidationInput {
180
+ layers?: ValidationLayer[];
181
+ cwd?: string;
182
+ env?: Record<string, string>;
183
+ maxLines?: number;
184
+ files?: Record<string, unknown>;
185
+ install?: boolean;
186
+ }
187
+ interface ValidationDiagnostic {
188
+ layer: ValidationLayer;
189
+ ok: boolean;
190
+ exitCode: number;
191
+ output: string;
192
+ command: string;
193
+ }
194
+ interface CodeValidationResult {
195
+ ok: boolean;
196
+ diagnostics: ValidationDiagnostic[];
197
+ failedLayers: ValidationLayer[];
198
+ }
199
+
200
+ declare class CodeValidationRuntime {
201
+ private readonly runtime;
202
+ constructor(runtime?: WebContainerRuntime);
203
+ validate(input?: CodeValidationInput): Promise<CodeValidationResult>;
204
+ private validateLawL9;
205
+ }
206
+ declare const CodeValidationServiceDefinition: ServiceDefinition;
207
+ declare const CodeValidationServiceFacade: {
208
+ id: string;
209
+ name: string;
210
+ version: string;
211
+ runtime: "client";
212
+ deployment: "local";
213
+ definition: ServiceDefinition<Record<string, unknown>, Record<string, unknown>>;
214
+ createInstance: () => _ultrst_armada_krnl.ServiceInstance<Record<string, unknown>, Record<string, unknown>>;
215
+ execute: <TIn = CodeValidationInput, TOut = CodeValidationResult>(op: string, input?: TIn) => Promise<TOut>;
216
+ };
217
+
82
218
  interface CodeDiagnosticsInput {
83
219
  cwd?: string;
84
220
  file?: string;
@@ -193,4 +329,4 @@ declare const AgentHarnessServiceFacade: {
193
329
  execute: <TIn = unknown, TOut = unknown>(op: string, input?: TIn) => Promise<TOut>;
194
330
  };
195
331
 
196
- export { type AgentHarnessProvider, type AgentHarnessProviderInfo, type AgentHarnessResult, type AgentHarnessRunInput, AgentHarnessRuntime, type AgentHarnessServiceContract, AgentHarnessServiceDefinition, AgentHarnessServiceFacade, type CodeDiagnosticsInput, type CodeDiagnosticsResult, CodeDiagnosticsService, DevelopmentRequest, DevelopmentResult, DevelopmentRuntime, DevelopmentServiceDefinition, DevelopmentServiceFacade, GitHubActionsClient, type GitHubActionsConfig, GitHubActionsServiceDefinition, GitHubActionsServiceFacade, TYPESCRIPT_LANGUAGE_SERVER_PACKAGE, TYPESCRIPT_LANGUAGE_SERVER_VERSION, type TypeScriptLanguageServerNotificationInput, type TypeScriptLanguageServerRequestInput, type TypeScriptLanguageServerResponse, TypeScriptLanguageServerServiceDefinition, TypeScriptLanguageServerServiceFacade, type TypeScriptLanguageServerStartInput, type TypeScriptLanguageServerStatus, WebContainerRuntime, type WorkflowRun, codeDiagnosticsService, resolveDevelopmentCommand };
332
+ export { type AgentHarnessProvider, type AgentHarnessProviderInfo, type AgentHarnessResult, type AgentHarnessRunInput, AgentHarnessRuntime, type AgentHarnessServiceContract, AgentHarnessServiceDefinition, AgentHarnessServiceFacade, type CodeDiagnosticsInput, type CodeDiagnosticsResult, CodeDiagnosticsService, type CodeValidationInput, type CodeValidationResult, CodeValidationRuntime, CodeValidationServiceDefinition, CodeValidationServiceFacade, type DevelopmentDiagnostic, type DevelopmentProvider, type DevelopmentRequest, type DevelopmentResult, DevelopmentRuntime, type DevelopmentServiceContract, DevelopmentServiceDefinition, DevelopmentServiceFacade, type DevelopmentTask, GitHubActionsClient, type GitHubActionsConfig, GitHubActionsServiceDefinition, GitHubActionsServiceFacade, TYPESCRIPT_LANGUAGE_SERVER_PACKAGE, TYPESCRIPT_LANGUAGE_SERVER_VERSION, type TypeScriptLanguageServerNotificationInput, type TypeScriptLanguageServerRequestInput, type TypeScriptLanguageServerResponse, TypeScriptLanguageServerServiceDefinition, TypeScriptLanguageServerServiceFacade, type TypeScriptLanguageServerStartInput, type TypeScriptLanguageServerStatus, type ValidationDiagnostic, type ValidationLayer, type WebContainerCommand, type WebContainerRunCommandInput, WebContainerRuntime, WebContainerServiceDefinition, WebContainerServiceFacade, type WorkflowRun, captureDevelopmentProcess, codeDiagnosticsService, parseDevelopmentDiagnostics, resolveDevelopmentCommand, resolveWebContainerCommand };