2026-06-11 15:04:50 +08:00
|
|
|
{
|
|
|
|
|
"$schema": "https://unpkg.com/knip@5/schema.json",
|
|
|
|
|
"exclude": ["duplicates"],
|
2026-07-09 15:42:37 +08:00
|
|
|
"ignoreBinaries": ["bwrap", "sandbox-exec"],
|
2026-07-11 14:08:26 +08:00
|
|
|
"ignoreWorkspaces": ["vendor/*", "python/sdk-runtime"],
|
2026-06-11 15:04:50 +08:00
|
|
|
"workspaces": {
|
|
|
|
|
".": {
|
2026-06-16 11:10:25 +08:00
|
|
|
"entry": [
|
|
|
|
|
"examples/echo-agent/src/*.ts",
|
2026-06-19 12:42:28 +08:00
|
|
|
"examples/echo-agent/tests/**/*.e2e.ts",
|
|
|
|
|
"examples/coding-agent/tests/**/*.e2e.ts",
|
2026-07-08 11:50:12 +08:00
|
|
|
"examples/cordis-agent/tests/**/*.e2e.ts",
|
2026-06-19 03:36:12 +08:00
|
|
|
"examples/acp-agent/tests/**/*.e2e.ts",
|
2026-07-08 01:44:20 +08:00
|
|
|
"examples/*/tests/**/*.snapshot.ts"
|
2026-06-16 11:10:25 +08:00
|
|
|
],
|
2026-06-11 15:04:50 +08:00
|
|
|
"project": ["scripts/**/*.ts", "examples/**/*.ts"]
|
|
|
|
|
},
|
2026-06-20 22:55:20 +08:00
|
|
|
"packages/*/*": {
|
2026-06-11 15:04:50 +08:00
|
|
|
"entry": ["tests/**/*.spec.ts"],
|
|
|
|
|
"project": ["src/**/*.ts", "tests/**/*.ts"]
|
2026-06-13 00:28:29 +08:00
|
|
|
},
|
2026-07-09 16:05:44 +08:00
|
|
|
"packages/bash/bash-sandbox": {
|
|
|
|
|
"entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
|
|
|
|
|
"project": ["src/**/*.ts", "tests/**/*.ts"]
|
|
|
|
|
},
|
2026-07-14 21:45:54 +08:00
|
|
|
"packages/context/time-context": {
|
|
|
|
|
"entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
|
2026-07-09 16:05:44 +08:00
|
|
|
"project": ["src/**/*.ts", "tests/**/*.ts"]
|
|
|
|
|
},
|
2026-07-09 15:42:37 +08:00
|
|
|
"packages/sandbox/sandbox-local": {
|
|
|
|
|
"entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
|
|
|
|
|
"project": ["src/**/*.ts", "tests/**/*.ts"]
|
|
|
|
|
},
|
2026-06-21 07:17:25 +08:00
|
|
|
"packages/util/brand": {
|
|
|
|
|
"project": ["src/**/*.ts"],
|
|
|
|
|
"ignoreDependencies": ["cordis"]
|
|
|
|
|
},
|
2026-07-06 16:23:52 +08:00
|
|
|
"packages/util/timeout": {
|
|
|
|
|
"entry": ["tests/**/*.spec.ts"],
|
|
|
|
|
"project": ["src/**/*.ts", "tests/**/*.ts"],
|
|
|
|
|
"ignoreDependencies": ["cordis"]
|
|
|
|
|
},
|
2026-07-08 01:44:20 +08:00
|
|
|
"packages/support/acp-snapshot": {
|
2026-07-08 02:05:06 +08:00
|
|
|
"entry": ["tests/**/*.spec.ts", "tests/fixtures/fake-acp-agent.ts"],
|
2026-07-08 01:44:20 +08:00
|
|
|
"project": ["src/**/*.ts", "tests/**/*.ts"],
|
|
|
|
|
"ignoreDependencies": ["cordis"]
|
|
|
|
|
},
|
2026-07-14 05:00:54 +08:00
|
|
|
"packages/support/loader-smoke": {
|
|
|
|
|
"entry": ["tests/**/*.spec.ts", "tests/fixtures/*.ts"],
|
|
|
|
|
"project": ["src/**/*.ts", "tests/**/*.ts"],
|
|
|
|
|
"ignoreDependencies": ["cordis"]
|
|
|
|
|
},
|
2026-07-06 04:01:56 +08:00
|
|
|
"packages/core/agent-loop": {
|
|
|
|
|
"entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
|
|
|
|
|
"project": ["src/**/*.ts", "tests/**/*.ts"]
|
|
|
|
|
},
|
2026-07-08 11:00:06 +08:00
|
|
|
"packages/code-runtime/code-runtime-worker": {
|
|
|
|
|
"entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
|
|
|
|
|
"project": ["src/**/*.ts", "tests/**/*.ts"]
|
|
|
|
|
},
|
2026-06-20 22:55:20 +08:00
|
|
|
"packages/llm/llm-deepseek": {
|
2026-06-13 00:28:29 +08:00
|
|
|
"entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
|
|
|
|
|
"project": ["src/**/*.ts", "tests/**/*.ts"]
|
|
|
|
|
},
|
2026-06-20 22:55:20 +08:00
|
|
|
"packages/llm/llm-pi-ai": {
|
2026-06-13 00:28:29 +08:00
|
|
|
"entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
|
|
|
|
|
"project": ["src/**/*.ts", "tests/**/*.ts"]
|
2026-06-21 12:03:44 +08:00
|
|
|
},
|
2026-06-25 15:04:12 +08:00
|
|
|
"packages/web/web-search-exa": {
|
|
|
|
|
"entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
|
|
|
|
|
"project": ["src/**/*.ts", "tests/**/*.ts"]
|
|
|
|
|
},
|
|
|
|
|
"packages/web/web-search-perplexity": {
|
|
|
|
|
"entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
|
|
|
|
|
"project": ["src/**/*.ts", "tests/**/*.ts"]
|
|
|
|
|
},
|
2026-07-09 19:06:55 +08:00
|
|
|
"packages/workflow/workflow-workerthread": {
|
2026-07-06 00:53:17 +08:00
|
|
|
"entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
|
|
|
|
|
"project": ["src/**/*.ts", "tests/**/*.ts"]
|
2026-06-25 15:04:12 +08:00
|
|
|
},
|
2026-06-29 15:21:12 +08:00
|
|
|
"packages/web/web-search-deepseek": {
|
|
|
|
|
"entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
|
|
|
|
|
"project": ["src/**/*.ts", "tests/**/*.ts"]
|
|
|
|
|
},
|
2026-07-15 15:57:57 +08:00
|
|
|
"packages/examples/acp-demo": {
|
2026-06-21 12:03:44 +08:00
|
|
|
"entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
|
|
|
|
|
"project": ["src/**/*.ts", "tests/**/*.ts"]
|
2026-06-21 15:13:57 +08:00
|
|
|
},
|
2026-07-15 15:57:57 +08:00
|
|
|
"packages/examples/stdio-demo": {
|
2026-06-21 15:13:57 +08:00
|
|
|
"entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
|
|
|
|
|
"project": ["src/**/*.ts", "tests/**/*.ts"]
|
2026-06-22 05:58:40 +08:00
|
|
|
},
|
2026-07-15 02:02:11 +08:00
|
|
|
"packages/ui/stdio": {
|
|
|
|
|
"entry": ["tests/**/*.spec.ts"],
|
|
|
|
|
"project": ["src/**/*.ts", "tests/**/*.ts"]
|
|
|
|
|
},
|
2026-07-15 15:57:57 +08:00
|
|
|
"packages/examples/jsonrpc-demo": {
|
2026-07-11 14:08:12 +08:00
|
|
|
"project": ["src/**/*.ts"]
|
|
|
|
|
},
|
2026-06-22 05:58:40 +08:00
|
|
|
"packages/subagent/subagent-spawn": {
|
|
|
|
|
"entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
|
|
|
|
|
"project": ["src/**/*.ts", "tests/**/*.ts"]
|
2026-06-22 10:47:02 +08:00
|
|
|
},
|
|
|
|
|
"packages/subagent/subagent-acp": {
|
|
|
|
|
"entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts", "tests/mock-acp-server.ts"],
|
|
|
|
|
"project": ["src/**/*.ts", "tests/**/*.ts"]
|
2026-07-02 20:47:20 +08:00
|
|
|
},
|
2026-07-09 13:42:03 +08:00
|
|
|
"packages/subagent/subagent-subprocess": {
|
2026-07-08 15:31:14 +08:00
|
|
|
"entry": ["tests/**/*.spec.ts"],
|
|
|
|
|
"project": ["src/**/*.ts", "tests/**/*.ts"],
|
|
|
|
|
"ignoreDependencies": ["cordis"]
|
|
|
|
|
},
|
2026-07-02 20:47:20 +08:00
|
|
|
"packages/fs/tool-fs": {
|
|
|
|
|
"entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
|
|
|
|
|
"project": ["src/**/*.ts", "tests/**/*.ts"]
|
2026-07-08 13:01:00 +08:00
|
|
|
},
|
|
|
|
|
"packages/mcp/mcp-client": {
|
|
|
|
|
"entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts", "tests/fixture-server.ts"],
|
|
|
|
|
"project": ["src/**/*.ts", "tests/**/*.ts"],
|
|
|
|
|
"ignoreDependencies": ["@modelcontextprotocol/server-everything", "@modelcontextprotocol/server-filesystem"]
|
2026-06-11 15:04:50 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|