knip.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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/ui/acp-agent": {
  33. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
  34. "project": ["src/**/*.ts", "tests/**/*.ts"]
  35. },
  36. "packages/ui/stdio-agent": {
  37. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
  38. "project": ["src/**/*.ts", "tests/**/*.ts"]
  39. },
  40. "packages/subagent/subagent-spawn": {
  41. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts"],
  42. "project": ["src/**/*.ts", "tests/**/*.ts"]
  43. },
  44. "packages/subagent/subagent-acp": {
  45. "entry": ["tests/**/*.spec.ts", "tests/**/*.e2e.ts", "tests/mock-acp-server.ts"],
  46. "project": ["src/**/*.ts", "tests/**/*.ts"]
  47. }
  48. }
  49. }