fix(deadcode): resolve strict-workspace fallout from bundled plugin roots

The strict knip workspaces landed in #108547 flagged seven files. Two are
convention-resolved and become explicit entries (discord configured-state via
the package-state probes, qa-lab cli via the SDK facade basename resolver);
the other five were dead barrels/wrappers superseded by canonical modules and
are deleted (browser bridge/cdp barrels, discord timeouts wrapper, openai
register.runtime, qa-lab model-selection wrapper).
This commit is contained in:
Peter Steinberger
2026-07-16 03:05:32 +01:00
parent d42dfed3f2
commit 08ecf63bb6
6 changed files with 8 additions and 34 deletions

View File

@@ -397,7 +397,10 @@ const config = {
[`${BUNDLED_PLUGIN_ROOT_DIR}/codex`]: strictBundledPluginWorkspace(),
[`${BUNDLED_PLUGIN_ROOT_DIR}/deepgram`]: strictBundledPluginWorkspace(),
[`${BUNDLED_PLUGIN_ROOT_DIR}/deepinfra`]: strictBundledPluginWorkspace(),
[`${BUNDLED_PLUGIN_ROOT_DIR}/discord`]: strictBundledPluginWorkspace(),
[`${BUNDLED_PLUGIN_ROOT_DIR}/discord`]: strictBundledPluginWorkspace([
// Channel package-state probes resolve this module from package metadata.
"configured-state.ts!",
]),
[`${BUNDLED_PLUGIN_ROOT_DIR}/elevenlabs`]: strictBundledPluginWorkspace(),
[`${BUNDLED_PLUGIN_ROOT_DIR}/featherless`]: strictBundledPluginWorkspace(),
[`${BUNDLED_PLUGIN_ROOT_DIR}/fal`]: strictBundledPluginWorkspace(),
@@ -424,7 +427,10 @@ const config = {
[`${BUNDLED_PLUGIN_ROOT_DIR}/pixverse`]: strictBundledPluginWorkspace(),
[`${BUNDLED_PLUGIN_ROOT_DIR}/qianfan`]: strictBundledPluginWorkspace(),
[`${BUNDLED_PLUGIN_ROOT_DIR}/qwen`]: strictBundledPluginWorkspace(),
[`${BUNDLED_PLUGIN_ROOT_DIR}/qa-lab`]: strictBundledPluginWorkspace(),
[`${BUNDLED_PLUGIN_ROOT_DIR}/qa-lab`]: strictBundledPluginWorkspace([
// The plugin-SDK QA Lab facade resolves this CLI surface by basename.
"cli.ts!",
]),
[`${BUNDLED_PLUGIN_ROOT_DIR}/senseaudio`]: strictBundledPluginWorkspace(),
[`${BUNDLED_PLUGIN_ROOT_DIR}/tavily`]: strictBundledPluginWorkspace(),
[`${BUNDLED_PLUGIN_ROOT_DIR}/tencent`]: strictBundledPluginWorkspace(),

View File

@@ -1,6 +0,0 @@
/**
* Browser bridge API barrel. It exposes the host/sandbox bridge server handle
* and lifecycle helpers without importing the full browser plugin entry.
*/
export type { BrowserBridge } from "./src/browser/bridge-server.js";
export { startBrowserBridgeServer, stopBrowserBridgeServer } from "./src/browser/bridge-server.js";

View File

@@ -1,5 +0,0 @@
/**
* Browser CDP helper barrel. It exposes URL parsing/redaction helpers used by
* browser config and diagnostics surfaces.
*/
export { parseBrowserHttpUrl, redactCdpUrl } from "./src/browser/cdp.helpers.js";

View File

@@ -1,7 +0,0 @@
// Discord plugin module implements timeouts behavior.
export {
DISCORD_ATTACHMENT_IDLE_TIMEOUT_MS,
DISCORD_ATTACHMENT_TOTAL_TIMEOUT_MS,
DISCORD_DEFAULT_INBOUND_WORKER_TIMEOUT_MS,
DISCORD_DEFAULT_LISTENER_TIMEOUT_MS,
} from "./src/monitor/timeouts.js";

View File

@@ -1,12 +0,0 @@
// Openai plugin module implements register behavior.
export { buildOpenAIImageGenerationProvider } from "./image-generation-provider.js";
export { openaiMediaUnderstandingProvider } from "./media-understanding-provider.js";
export { buildOpenAIProvider } from "./openai-provider.js";
export {
OPENAI_FRIENDLY_PROMPT_OVERLAY,
resolveOpenAIPromptOverlayMode,
shouldApplyOpenAIPromptOverlay,
} from "./prompt-overlay.js";
export { buildOpenAIRealtimeTranscriptionProvider } from "./realtime-transcription-provider.js";
export { buildOpenAIRealtimeVoiceProvider } from "./realtime-voice-provider.js";
export { buildOpenAISpeechProvider } from "./speech-provider.js";

View File

@@ -1,2 +0,0 @@
// Qa Lab plugin module implements model selection behavior.
export * from "./src/model-selection.js";