Skip to content

Commit 08ecf63

Browse files
committed
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).
1 parent d42dfed commit 08ecf63

6 files changed

Lines changed: 8 additions & 34 deletions

File tree

config/knip.config.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,10 @@ const config = {
397397
[`${BUNDLED_PLUGIN_ROOT_DIR}/codex`]: strictBundledPluginWorkspace(),
398398
[`${BUNDLED_PLUGIN_ROOT_DIR}/deepgram`]: strictBundledPluginWorkspace(),
399399
[`${BUNDLED_PLUGIN_ROOT_DIR}/deepinfra`]: strictBundledPluginWorkspace(),
400-
[`${BUNDLED_PLUGIN_ROOT_DIR}/discord`]: strictBundledPluginWorkspace(),
400+
[`${BUNDLED_PLUGIN_ROOT_DIR}/discord`]: strictBundledPluginWorkspace([
401+
// Channel package-state probes resolve this module from package metadata.
402+
"configured-state.ts!",
403+
]),
401404
[`${BUNDLED_PLUGIN_ROOT_DIR}/elevenlabs`]: strictBundledPluginWorkspace(),
402405
[`${BUNDLED_PLUGIN_ROOT_DIR}/featherless`]: strictBundledPluginWorkspace(),
403406
[`${BUNDLED_PLUGIN_ROOT_DIR}/fal`]: strictBundledPluginWorkspace(),
@@ -424,7 +427,10 @@ const config = {
424427
[`${BUNDLED_PLUGIN_ROOT_DIR}/pixverse`]: strictBundledPluginWorkspace(),
425428
[`${BUNDLED_PLUGIN_ROOT_DIR}/qianfan`]: strictBundledPluginWorkspace(),
426429
[`${BUNDLED_PLUGIN_ROOT_DIR}/qwen`]: strictBundledPluginWorkspace(),
427-
[`${BUNDLED_PLUGIN_ROOT_DIR}/qa-lab`]: strictBundledPluginWorkspace(),
430+
[`${BUNDLED_PLUGIN_ROOT_DIR}/qa-lab`]: strictBundledPluginWorkspace([
431+
// The plugin-SDK QA Lab facade resolves this CLI surface by basename.
432+
"cli.ts!",
433+
]),
428434
[`${BUNDLED_PLUGIN_ROOT_DIR}/senseaudio`]: strictBundledPluginWorkspace(),
429435
[`${BUNDLED_PLUGIN_ROOT_DIR}/tavily`]: strictBundledPluginWorkspace(),
430436
[`${BUNDLED_PLUGIN_ROOT_DIR}/tencent`]: strictBundledPluginWorkspace(),

extensions/browser/browser-bridge.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

extensions/browser/browser-cdp.ts

Lines changed: 0 additions & 5 deletions
This file was deleted.

extensions/discord/timeouts.ts

Lines changed: 0 additions & 7 deletions
This file was deleted.

extensions/openai/register.runtime.ts

Lines changed: 0 additions & 12 deletions
This file was deleted.

extensions/qa-lab/model-selection.ts

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)