chore(scripts): drop the plumbing the consolidation left dead

Round 4. Two leftovers from moving the build into the shared helper, both
invisible here because `scripts/` is prettier-gated but not ESLint-gated,
so an unused binding fails nothing:

- smoke-web-elicitation.mjs imported `existsSync` solely for the local
  early return that is gone.
- pack-and-verify.mjs kept `composableServer` and its `composableServerPath`
  import for the same reason; the helper now asserts that entry via
  `requires: ["composable"]`.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JTHVxSu8AUgHRLvo1ntZ8H
Signed-off-by: cliffhall <cliff@futurescale.com>
This commit is contained in:
cliffhall 2026-08-25 01:50:52 -04:00
commit a2e8d42f49
2 changed files with 1 additions and 3 deletions

View file

@ -64,7 +64,6 @@ import {
APP_TOOL,
attachPageDiagnostics,
buildAppDeepLink,
composableServerPath,
driveAppFlow,
loadChromium,
startMcpAppServer,
@ -73,7 +72,6 @@ import { winShellArgs } from "./lib/win-shell-args.mjs";
const repoRoot = resolve(import.meta.dirname, "..");
const testServer = testServerEntryPath(repoRoot, "stdio");
const composableServer = composableServerPath(repoRoot);
// Mirrors INSPECTOR_API_TOKEN_GLOBAL in core/mcp/remote/constants.ts; kept as a
// literal because this plain .mjs script can't import the TS source.

View file

@ -32,7 +32,7 @@
*/
import { spawn } from "node:child_process";
import { existsSync, mkdirSync } from "node:fs";
import { mkdirSync } from "node:fs";
import { createRequire } from "node:module";
import { setTimeout as delay } from "node:timers/promises";
import { join, resolve } from "node:path";