chore: undo the knip.json reformat noise

Review nit: the feature commit exploded every single-line array in
knip.json to multi-line, burying the one semantic change (the
workflow-vm workspace entry) under ~110 lines of mechanical reformat.
Restore the file to master's formatting with only that entry added —
the diff against master is now the 4 lines that mean something.
This commit is contained in:
Tianyi Cui
2026-07-06 00:53:17 +08:00
parent ed3972a9c6
commit 8cb5e15544

165
knip.json
View File

@@ -1,11 +1,7 @@
{ {
"$schema": "https://unpkg.com/knip@5/schema.json", "$schema": "https://unpkg.com/knip@5/schema.json",
"exclude": [ "exclude": ["duplicates"],
"duplicates" "ignoreWorkspaces": ["vendor/*"],
],
"ignoreWorkspaces": [
"vendor/*"
],
"workspaces": { "workspaces": {
".": { ".": {
"entry": [ "entry": [
@@ -15,138 +11,59 @@
"examples/acp-agent/tests/**/*.e2e.ts", "examples/acp-agent/tests/**/*.e2e.ts",
"examples/acp-agent/tests/**/*.snapshot.ts" "examples/acp-agent/tests/**/*.snapshot.ts"
], ],
"project": [ "project": ["scripts/**/*.ts", "examples/**/*.ts"]
"scripts/**/*.ts",
"examples/**/*.ts"
]
}, },
"packages/*/*": { "packages/*/*": {
"entry": [ "entry": ["tests/**/*.spec.ts"],
"tests/**/*.spec.ts" "project": ["src/**/*.ts", "tests/**/*.ts"]
],
"project": [
"src/**/*.ts",
"tests/**/*.ts"
]
}, },
"packages/util/brand": { "packages/util/brand": {
"project": [ "project": ["src/**/*.ts"],
"src/**/*.ts" "ignoreDependencies": ["cordis"]
],
"ignoreDependencies": [
"cordis"
]
}, },
"packages/llm/llm-deepseek": { "packages/llm/llm-deepseek": {
"entry": [ "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
"tests/**/*.spec.ts", "project": ["src/**/*.ts", "tests/**/*.ts"]
"tests/**/*.e2e.ts"
],
"project": [
"src/**/*.ts",
"tests/**/*.ts"
]
}, },
"packages/llm/llm-pi-ai": { "packages/llm/llm-pi-ai": {
"entry": [ "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
"tests/**/*.spec.ts", "project": ["src/**/*.ts", "tests/**/*.ts"]
"tests/**/*.e2e.ts"
],
"project": [
"src/**/*.ts",
"tests/**/*.ts"
]
}, },
"packages/web/web-search-exa": { "packages/web/web-search-exa": {
"entry": [ "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
"tests/**/*.spec.ts", "project": ["src/**/*.ts", "tests/**/*.ts"]
"tests/**/*.e2e.ts"
],
"project": [
"src/**/*.ts",
"tests/**/*.ts"
]
}, },
"packages/web/web-search-perplexity": { "packages/web/web-search-perplexity": {
"entry": [ "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
"tests/**/*.spec.ts", "project": ["src/**/*.ts", "tests/**/*.ts"]
"tests/**/*.e2e.ts"
],
"project": [
"src/**/*.ts",
"tests/**/*.ts"
]
},
"packages/web/web-search-deepseek": {
"entry": [
"tests/**/*.spec.ts",
"tests/**/*.e2e.ts"
],
"project": [
"src/**/*.ts",
"tests/**/*.ts"
]
},
"packages/ui/acp-agent": {
"entry": [
"tests/**/*.spec.ts",
"tests/**/*.e2e.ts"
],
"project": [
"src/**/*.ts",
"tests/**/*.ts"
]
},
"packages/ui/stdio-agent": {
"entry": [
"tests/**/*.spec.ts",
"tests/**/*.e2e.ts"
],
"project": [
"src/**/*.ts",
"tests/**/*.ts"
]
},
"packages/subagent/subagent-spawn": {
"entry": [
"tests/**/*.spec.ts",
"tests/**/*.e2e.ts"
],
"project": [
"src/**/*.ts",
"tests/**/*.ts"
]
},
"packages/subagent/subagent-acp": {
"entry": [
"tests/**/*.spec.ts",
"tests/**/*.e2e.ts",
"tests/mock-acp-server.ts"
],
"project": [
"src/**/*.ts",
"tests/**/*.ts"
]
},
"packages/fs/tool-fs": {
"entry": [
"tests/**/*.spec.ts",
"tests/**/*.e2e.ts"
],
"project": [
"src/**/*.ts",
"tests/**/*.ts"
]
}, },
"packages/workflow/workflow-vm": { "packages/workflow/workflow-vm": {
"entry": [ "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
"tests/**/*.spec.ts", "project": ["src/**/*.ts", "tests/**/*.ts"]
"tests/**/*.e2e.ts" },
], "packages/web/web-search-deepseek": {
"project": [ "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
"src/**/*.ts", "project": ["src/**/*.ts", "tests/**/*.ts"]
"tests/**/*.ts" },
] "packages/ui/acp-agent": {
"entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
"project": ["src/**/*.ts", "tests/**/*.ts"]
},
"packages/ui/stdio-agent": {
"entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
"project": ["src/**/*.ts", "tests/**/*.ts"]
},
"packages/subagent/subagent-spawn": {
"entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
"project": ["src/**/*.ts", "tests/**/*.ts"]
},
"packages/subagent/subagent-acp": {
"entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts", "tests/mock-acp-server.ts"],
"project": ["src/**/*.ts", "tests/**/*.ts"]
},
"packages/fs/tool-fs": {
"entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
"project": ["src/**/*.ts", "tests/**/*.ts"]
} }
} }
} }