




















@@ -4,9 +4,41 @@
44export const KNIP_UNUSED_FILE_ALLOWLIST = [];
5566// Knip can disagree across supported local/CI platforms for files that are
7-// only reachable through test-only import graphs. Ignore these when reported,
8-// but do not require them to be reported.
7+// only reachable through test-only import graphs, sparse-checkout proof
8+// workspaces, dynamic entrypoints, manifest-discovered plugin surfaces, or
9+// package bridge files. Ignore these when reported, but do not require them
10+// to be reported.
911export const KNIP_OPTIONAL_UNUSED_FILE_ALLOWLIST = [
12+"extensions/acpx/src/runtime-internals/error-format.mjs",
13+"extensions/acpx/src/runtime-internals/mcp-command-line.mjs",
14+"extensions/acpx/src/runtime-internals/mcp-proxy.mjs",
15+"extensions/canvas/src/host/a2ui-app/bootstrap.js",
16+"extensions/canvas/src/host/a2ui-app/rolldown.config.mjs",
17+"extensions/diffs/src/viewer-client.ts",
18+"extensions/diffs/src/viewer-payload.ts",
19+"extensions/matrix/src/plugin-entry.runtime.js",
20+"extensions/memory-core/src/memory-tool-manager-mock.ts",
21+"src/agents/subagent-registry.runtime.ts",
22+"src/auto-reply/inbound.group-require-mention-test-plugins.ts",
23+"src/auto-reply/reply/get-reply.test-loader.ts",
24+"src/cli/daemon-cli-compat.ts",
25+"src/commands/doctor/shared/deprecation-compat.ts",
26+"src/config/doc-baseline.runtime.ts",
27+"src/config/doc-baseline.ts",
28+"src/gateway/gateway-cli-backend.live-helpers.ts",
29+"src/gateway/gateway-cli-backend.live-probe-helpers.ts",
30+"src/gateway/gateway-codex-harness.live-helpers.ts",
31+"src/infra/changelog-unreleased.ts",
32+"src/mcp/openclaw-tools-serve.ts",
33+"src/mcp/plugin-tools-handlers.ts",
34+"src/mcp/plugin-tools-serve.ts",
35+"src/mcp/tools-stdio-server.ts",
36+"src/plugins/build-smoke-entry.ts",
37+"src/plugins/contracts/host-hook-fixture.ts",
38+"src/plugins/contracts/rootdir-boundary-canary.ts",
39+"src/plugins/contracts/tts-contract-suites.ts",
40+"src/plugins/runtime-sidecar-paths-baseline.ts",
41+"src/tasks/task-registry-control.runtime.ts",
1042"extensions/qa-lab/src/auth-profile.fixture.ts",
1143"extensions/qa-lab/src/codex-plugin.fixture.ts",
1244"src/gateway/test/server-sessions-helpers.ts",
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。