mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 22:20:48 +00:00
41 lines
2.0 KiB
JavaScript
41 lines
2.0 KiB
JavaScript
// Intentional Knip unused-file findings. These are dynamic entrypoints,
|
|
// generated/build inputs, manifest-discovered plugin surfaces, live-test
|
|
// helpers, or package bridge files that static production scanning cannot see.
|
|
export const KNIP_UNUSED_FILE_ALLOWLIST = [
|
|
"extensions/acpx/src/runtime-internals/error-format.mjs",
|
|
"extensions/acpx/src/runtime-internals/mcp-command-line.mjs",
|
|
"extensions/acpx/src/runtime-internals/mcp-proxy.mjs",
|
|
"extensions/canvas/src/host/a2ui-app/bootstrap.js",
|
|
"extensions/canvas/src/host/a2ui-app/rolldown.config.mjs",
|
|
"extensions/diffs/src/viewer-client.ts",
|
|
"extensions/diffs/src/viewer-payload.ts",
|
|
"extensions/matrix/src/plugin-entry.runtime.js",
|
|
"extensions/memory-core/src/memory-tool-manager-mock.ts",
|
|
"src/agents/subagent-registry.runtime.ts",
|
|
"src/auto-reply/inbound.group-require-mention-test-plugins.ts",
|
|
"src/auto-reply/reply/get-reply.test-loader.ts",
|
|
"src/cli/daemon-cli-compat.ts",
|
|
"src/commands/doctor/shared/deprecation-compat.ts",
|
|
"src/config/doc-baseline.runtime.ts",
|
|
"src/config/doc-baseline.ts",
|
|
"src/gateway/gateway-cli-backend.live-helpers.ts",
|
|
"src/gateway/gateway-cli-backend.live-probe-helpers.ts",
|
|
"src/gateway/gateway-codex-harness.live-helpers.ts",
|
|
"src/infra/changelog-unreleased.ts",
|
|
"src/mcp/openclaw-tools-serve.ts",
|
|
"src/mcp/plugin-tools-handlers.ts",
|
|
"src/mcp/plugin-tools-serve.ts",
|
|
"src/mcp/tools-stdio-server.ts",
|
|
"src/plugins/build-smoke-entry.ts",
|
|
"src/plugins/contracts/host-hook-fixture.ts",
|
|
"src/plugins/contracts/rootdir-boundary-canary.ts",
|
|
"src/plugins/contracts/tts-contract-suites.ts",
|
|
"src/plugins/runtime-sidecar-paths-baseline.ts",
|
|
"src/tasks/task-registry-control.runtime.ts",
|
|
];
|
|
|
|
// Knip can disagree across supported local/CI platforms for files that are
|
|
// only reachable through test-only import graphs. Ignore these when reported,
|
|
// but do not require them to be reported.
|
|
export const KNIP_OPTIONAL_UNUSED_FILE_ALLOWLIST = ["src/gateway/test/server-sessions-helpers.ts"];
|