feat: remove nextjs production runtime (#1389)

This commit is contained in:
Carlos Florêncio
2026-06-18 18:36:48 +01:00
committed by GitHub
parent 2781556ead
commit aee1846cd5
368 changed files with 10228 additions and 3306 deletions
-5
View File
@@ -1,7 +1,6 @@
import path from "node:path";
import fs from "node:fs";
import { resolveWebServerPath } from "./bundle";
import { getBinaryName, getPlatformDir, type PlatformDir } from "./platform";
const PLATFORM_TO_NPM_PACKAGE: Record<PlatformDir, string> = {
@@ -76,8 +75,4 @@ export function validateBundle(bundleDir: string): void {
if (!fs.existsSync(agentctlBin)) {
throw new Error(`agentctl binary not found in bundle at ${bundleDir}`);
}
const webServerPath = resolveWebServerPath(bundleDir);
if (!webServerPath) {
throw new Error(`Web server (server.js) not found in bundle at ${bundleDir}`);
}
}