From a2e8d42f4908f08eb18bb489bf1e8a19b1be2c0c Mon Sep 17 00:00:00 2001 From: cliffhall Date: Tue, 25 Aug 2026 01:50:52 -0400 Subject: [PATCH] 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) Claude-Session: https://claude.ai/code/session_01JTHVxSu8AUgHRLvo1ntZ8H Signed-off-by: cliffhall --- scripts/pack-and-verify.mjs | 2 -- scripts/smoke-web-elicitation.mjs | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/pack-and-verify.mjs b/scripts/pack-and-verify.mjs index b85d1735..260eeb48 100644 --- a/scripts/pack-and-verify.mjs +++ b/scripts/pack-and-verify.mjs @@ -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. diff --git a/scripts/smoke-web-elicitation.mjs b/scripts/smoke-web-elicitation.mjs index a0f7c587..42599c0a 100644 --- a/scripts/smoke-web-elicitation.mjs +++ b/scripts/smoke-web-elicitation.mjs @@ -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";