knip.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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/cordis-agent/tests/**/*.e2e.ts",
  12. "examples/acp-agent/tests/**/*.e2e.ts",
  13. "examples/*/tests/**/*.snapshot.ts"
  14. ],
  15. "project": ["scripts/**/*.ts", "examples/**/*.ts"]
  16. },
  17. "packages/*/*": {
  18. "entry": ["tests/**/*.spec.ts"],
  19. "project": ["src/**/*.ts", "tests/**/*.ts"]
  20. },
  21. "packages/util/brand": {
  22. "project": ["src/**/*.ts"],
  23. "ignoreDependencies": ["cordis"]
  24. },
  25. "packages/util/timeout": {
  26. "entry": ["tests/**/*.spec.ts"],
  27. "project": ["src/**/*.ts", "tests/**/*.ts"],
  28. "ignoreDependencies": ["cordis"]
  29. },
  30. "packages/support/acp-snapshot": {
  31. "entry": ["tests/**/*.spec.ts", "tests/fixtures/fake-acp-agent.ts"],
  32. "project": ["src/**/*.ts", "tests/**/*.ts"],
  33. "ignoreDependencies": ["cordis"]
  34. },
  35. "packages/core/agent-loop": {
  36. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
  37. "project": ["src/**/*.ts", "tests/**/*.ts"]
  38. },
  39. "packages/code-runtime/code-runtime-worker": {
  40. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
  41. "project": ["src/**/*.ts", "tests/**/*.ts"]
  42. },
  43. "packages/llm/llm-deepseek": {
  44. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
  45. "project": ["src/**/*.ts", "tests/**/*.ts"]
  46. },
  47. "packages/llm/llm-pi-ai": {
  48. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
  49. "project": ["src/**/*.ts", "tests/**/*.ts"]
  50. },
  51. "packages/web/web-search-exa": {
  52. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
  53. "project": ["src/**/*.ts", "tests/**/*.ts"]
  54. },
  55. "packages/web/web-search-perplexity": {
  56. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
  57. "project": ["src/**/*.ts", "tests/**/*.ts"]
  58. },
  59. "packages/workflow/workflow-workerthread": {
  60. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
  61. "project": ["src/**/*.ts", "tests/**/*.ts"]
  62. },
  63. "packages/web/web-search-deepseek": {
  64. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
  65. "project": ["src/**/*.ts", "tests/**/*.ts"]
  66. },
  67. "packages/ui/acp-agent": {
  68. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
  69. "project": ["src/**/*.ts", "tests/**/*.ts"]
  70. },
  71. "packages/ui/stdio-agent": {
  72. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
  73. "project": ["src/**/*.ts", "tests/**/*.ts"]
  74. },
  75. "packages/subagent/subagent-spawn": {
  76. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
  77. "project": ["src/**/*.ts", "tests/**/*.ts"]
  78. },
  79. "packages/subagent/subagent-acp": {
  80. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts", "tests/mock-acp-server.ts"],
  81. "project": ["src/**/*.ts", "tests/**/*.ts"]
  82. },
  83. "packages/subagent/subagent-subprocess": {
  84. "entry": ["tests/**/*.spec.ts"],
  85. "project": ["src/**/*.ts", "tests/**/*.ts"],
  86. "ignoreDependencies": ["cordis"]
  87. },
  88. "packages/fs/tool-fs": {
  89. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
  90. "project": ["src/**/*.ts", "tests/**/*.ts"]
  91. }
  92. }
  93. }