knip.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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/acp-agent/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/llm/llm-deepseek": {
  25. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
  26. "project": ["src/**/*.ts", "tests/**/*.ts"]
  27. },
  28. "packages/llm/llm-pi-ai": {
  29. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
  30. "project": ["src/**/*.ts", "tests/**/*.ts"]
  31. },
  32. "packages/web/web-search-exa": {
  33. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
  34. "project": ["src/**/*.ts", "tests/**/*.ts"]
  35. },
  36. "packages/web/web-search-perplexity": {
  37. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
  38. "project": ["src/**/*.ts", "tests/**/*.ts"]
  39. },
  40. "packages/ui/acp-agent": {
  41. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
  42. "project": ["src/**/*.ts", "tests/**/*.ts"]
  43. },
  44. "packages/ui/stdio-agent": {
  45. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
  46. "project": ["src/**/*.ts", "tests/**/*.ts"]
  47. },
  48. "packages/subagent/subagent-spawn": {
  49. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
  50. "project": ["src/**/*.ts", "tests/**/*.ts"]
  51. },
  52. "packages/subagent/subagent-acp": {
  53. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts", "tests/mock-acp-server.ts"],
  54. "project": ["src/**/*.ts", "tests/**/*.ts"]
  55. }
  56. }
  57. }