knip.json 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "$schema": "https://unpkg.com/knip@5/schema.json",
  3. "exclude": ["duplicates"],
  4. "ignoreWorkspaces": ["vendor/*"],
  5. "workspaces": {
  6. ".": {
  7. "entry": [
  8. "examples/echo-agent/src/*.ts",
  9. "examples/echo-agent/tests/**/*.e2e.ts",
  10. "examples/coding-agent/tests/**/*.e2e.ts",
  11. "examples/acp-agent/tests/**/*.e2e.ts",
  12. "examples/*/tests/**/*.snapshot.ts"
  13. ],
  14. "project": ["scripts/**/*.ts", "examples/**/*.ts"]
  15. },
  16. "packages/*/*": {
  17. "entry": ["tests/**/*.spec.ts"],
  18. "project": ["src/**/*.ts", "tests/**/*.ts"]
  19. },
  20. "packages/util/brand": {
  21. "project": ["src/**/*.ts"],
  22. "ignoreDependencies": ["cordis"]
  23. },
  24. "packages/support/acp-snapshot": {
  25. "entry": ["tests/**/*.spec.ts", "tests/fixtures/fake-acp-agent.ts"],
  26. "project": ["src/**/*.ts", "tests/**/*.ts"],
  27. "ignoreDependencies": ["cordis"]
  28. },
  29. "packages/core/agent-loop": {
  30. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
  31. "project": ["src/**/*.ts", "tests/**/*.ts"]
  32. },
  33. "packages/llm/llm-deepseek": {
  34. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
  35. "project": ["src/**/*.ts", "tests/**/*.ts"]
  36. },
  37. "packages/llm/llm-pi-ai": {
  38. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
  39. "project": ["src/**/*.ts", "tests/**/*.ts"]
  40. },
  41. "packages/web/web-search-exa": {
  42. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
  43. "project": ["src/**/*.ts", "tests/**/*.ts"]
  44. },
  45. "packages/web/web-search-perplexity": {
  46. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
  47. "project": ["src/**/*.ts", "tests/**/*.ts"]
  48. },
  49. "packages/web/web-search-deepseek": {
  50. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
  51. "project": ["src/**/*.ts", "tests/**/*.ts"]
  52. },
  53. "packages/ui/acp-agent": {
  54. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
  55. "project": ["src/**/*.ts", "tests/**/*.ts"]
  56. },
  57. "packages/ui/stdio-agent": {
  58. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
  59. "project": ["src/**/*.ts", "tests/**/*.ts"]
  60. },
  61. "packages/subagent/subagent-spawn": {
  62. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
  63. "project": ["src/**/*.ts", "tests/**/*.ts"]
  64. },
  65. "packages/subagent/subagent-acp": {
  66. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts", "tests/mock-acp-server.ts"],
  67. "project": ["src/**/*.ts", "tests/**/*.ts"]
  68. },
  69. "packages/fs/tool-fs": {
  70. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
  71. "project": ["src/**/*.ts", "tests/**/*.ts"]
  72. }
  73. }
  74. }