mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-22 10:51:11 +00:00
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:
@@ -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(),
|
||||
|
||||
@@ -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";
|
||||
@@ -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";
|
||||
@@ -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";
|
||||
@@ -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";
|
||||
@@ -1,2 +0,0 @@
|
||||
// Qa Lab plugin module implements model selection behavior.
|
||||
export * from "./src/model-selection.js";
|
||||
Reference in New Issue
Block a user