Cover the vendored readiness dependency surface

Include live/index.js in the server dependency inventory now that production configuration probes import that boundary.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
DottaandPaperclip committed 2026-10-04 21:16:40 -05:00
1 parent 2684979803
commit b9a0180c1a
1 file changed
+3 -4
@@ -12,7 +12,7 @@
// (#13116) -- because nothing enforced it.
//
// This derives the required set from esbuild's own module-resolution scan
// of the two entry points server actually imports (index.js, testing.js),
// of the entry points server actually imports (index.js, testing.js, live/index.js),
// with `write: false` so nothing is written to disk and `packages:
// "external"` so npm imports are reported, not inlined. That is precise:
// paperclip-runner declares dependencies (react-markdown, the codex/opencode
@@ -43,9 +43,8 @@ const runnerRoot = resolve(serverRoot, "../packages/paperclip-runner");
const runnerDist = resolve(runnerRoot, "dist");
// The only entry points server/src actually imports from the vendored
// runner (server/src/**/*.ts import "../vendor/paperclip-runner/index.js"
// or ".../testing.js").
const ENTRY_POINT_NAMES = ["index.js", "testing.js"];
// runner, including the installed-runtime readiness probe surface.
const ENTRY_POINT_NAMES = ["index.js", "testing.js", "live/index.js"];
const NODE_BUILTINS = new Set([
...builtinModules,