knip.json 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670
  1. {
  2. "$schema": "https://unpkg.com/knip@5/schema.json",
  3. "exclude": [
  4. "duplicates"
  5. ],
  6. "ignoreBinaries": [
  7. "bwrap",
  8. "icacls",
  9. "musl-gcc",
  10. "python3",
  11. "sandbox-exec",
  12. "tar",
  13. "taskkill",
  14. "where.exe"
  15. ],
  16. "ignoreWorkspaces": [
  17. "vendor/*",
  18. "python/sdk-runtime"
  19. ],
  20. "ignoreDependencies": [
  21. "@yarnpkg/cli-dist",
  22. "lightningcss"
  23. ],
  24. "workspaces": {
  25. ".": {
  26. "entry": [
  27. "scripts/**/*.mjs",
  28. "scripts/**/*.cjs",
  29. "scripts/types/client-build-environment/index.d.ts"
  30. ],
  31. "ignoreUnresolved": [
  32. "client-build-environment"
  33. ],
  34. "project": [
  35. "scripts/**/*.ts",
  36. "scripts/**/*.mjs",
  37. "scripts/**/*.cjs"
  38. ]
  39. },
  40. "examples": {
  41. "entry": [
  42. "headless-agent/tests/fixtures/cli-mock-llm.ts",
  43. "headless-agent/tests/fixtures/semantic-checkpoint-agent.ts",
  44. "headless-agent/tests/fixtures/subagent-diagnostic-agent.ts",
  45. "headless-agent/tests/fixtures/subagent-inheritance-agent.ts",
  46. "headless-agent/tests/fixtures/subagent-settlement-fence.ts",
  47. "headless-agent/tests/fixtures/workspace-context-resume-agent.ts",
  48. "headless-agent/tests/fixtures/goal-domain/seed-goal.ts",
  49. "headless-agent/tests/fixtures/time-context-driver.ts",
  50. "headless-agent/tests/fixtures/time-context-mock-llm.ts",
  51. "headless-agent/tests/fixtures/session-telemetry-otel-driver.ts",
  52. "headless-agent/tests/fixtures/telemetry-redact-rule.ts",
  53. "headless-agent/tests/fixtures/e2b/e2b/bin.ts",
  54. "acp-agent/tests/snapshots/lsp-definition/workspace/subject.ts",
  55. "acp-agent/tests/fixtures/child-question-tripwire.ts",
  56. "acp-agent/tests/fixtures/parent-sandbox-override.ts",
  57. "acp-agent/tests/fixtures/partial-landlock-sandbox.ts",
  58. "acp-agent/tests/fixtures/subagent-durability-failure.ts",
  59. "acp-agent/tests/fixtures/subagent-result-diagnostic.ts",
  60. "acp-agent/tests/fixtures/subagent-report-fence.ts",
  61. "acp-agent/tests/fixtures/subagent-settlement-marker.ts",
  62. "acp-agent/tests/fixtures/workspace-context-compaction.ts",
  63. "acp-agent/tests/fixtures/subagent/subagent-acp/mock-delegating-llm.ts",
  64. "acp-agent/tests/fixtures/subagent/subagent-acp/driver.ts",
  65. "acp-agent/tests/fixtures/subagent/subagent-claude-code/fixture.ts",
  66. "acp-agent/tests/fixtures/subagent/subagent-claude-code/driver.ts",
  67. "acp-agent/tests/fixtures/subagent/subagent-codex/fixture.ts",
  68. "acp-agent/tests/fixtures/subagent/subagent-codex/driver.ts",
  69. "jsonrpc-agent/tests/fixtures/subagent/subagent-dsh-sdk/driver.ts",
  70. "jsonrpc-agent/tests/fixtures/subagent/subagent-dsh-sdk/child-mock-llm.ts",
  71. "jsonrpc-agent/tests/fixtures/subagent/subagent-dsh-sdk/mock-delegating-llm.ts",
  72. "jsonrpc-agent/tests/fixtures/subagent-dsh-sdk-release-on-job-output.ts",
  73. "*/tests/**/*.e2e.ts",
  74. "*/tests/**/*.snapshot.ts"
  75. ],
  76. "project": [
  77. "**/*.ts"
  78. ],
  79. "ignoreDependencies": [
  80. "@deepseek-ai/.+"
  81. ]
  82. },
  83. "packages/host/directory-picker-auto": {
  84. "ignoreDependencies": [
  85. "@deepseek-ai/dsh-client-ui-directory-picker-browse",
  86. "@deepseek-ai/dsh-client-ui-directory-picker-native"
  87. ]
  88. },
  89. "packages/extensions/cordis-host-runner": {
  90. "entry": [
  91. "tests/**/*.spec.ts"
  92. ],
  93. "project": [
  94. "src/**/*.ts",
  95. "tests/**/*.ts"
  96. ],
  97. "ignoreDependencies": [
  98. "zod"
  99. ]
  100. },
  101. "packages/host/directory-picker-native": {
  102. "entry": [
  103. "tests/**/*.spec.{ts,tsx}",
  104. "tests/**/*.e2e.ts"
  105. ],
  106. "project": [
  107. "src/**/*.{ts,tsx}",
  108. "tests/**/*.{ts,tsx}"
  109. ]
  110. },
  111. "packages/api/remotes": {
  112. "entry": [
  113. "tests/**/*.e2e.ts"
  114. ],
  115. "project": [
  116. "src/**/*.ts",
  117. "tests/**/*.ts"
  118. ],
  119. "ignoreDependencies": [
  120. "@deepseek-ai/dsh-api-gateway"
  121. ]
  122. },
  123. "packages/client/ui-primitives": {
  124. "entry": [
  125. "tests/**/*.spec.tsx"
  126. ],
  127. "project": [
  128. "src/**/*.ts",
  129. "src/**/*.tsx",
  130. "tests/**/*.tsx"
  131. ]
  132. },
  133. "packages/client/ui-goal": {
  134. "entry": [
  135. "tests/**/*.spec.tsx"
  136. ],
  137. "project": [
  138. "src/**/*.ts",
  139. "src/**/*.tsx",
  140. "tests/**/*.tsx"
  141. ]
  142. },
  143. "packages/client/ui-directory-picker-browse": {
  144. "entry": [
  145. "tests/**/*.spec.tsx"
  146. ],
  147. "project": [
  148. "src/**/*.ts",
  149. "src/**/*.tsx",
  150. "tests/**/*.tsx"
  151. ]
  152. },
  153. "packages/client/ui-directory-picker-native": {
  154. "entry": [
  155. "tests/**/*.spec.tsx"
  156. ],
  157. "project": [
  158. "src/**/*.ts",
  159. "tests/**/*.tsx"
  160. ]
  161. },
  162. "packages/client/ui-deliverables": {
  163. "entry": [
  164. "tests/**/*.spec.tsx"
  165. ],
  166. "project": [
  167. "src/**/*.ts",
  168. "src/**/*.tsx",
  169. "tests/**/*.tsx"
  170. ]
  171. },
  172. "packages/client/ui-workflow-run": {
  173. "entry": [
  174. "tests/**/*.spec.tsx"
  175. ],
  176. "project": [
  177. "src/**/*.ts",
  178. "src/**/*.tsx",
  179. "tests/**/*.tsx"
  180. ]
  181. },
  182. "packages/client/ui-layout": {
  183. "entry": [
  184. "tests/**/*.spec.ts",
  185. "tests/**/*.spec.tsx"
  186. ],
  187. "project": [
  188. "src/**/*.ts",
  189. "src/**/*.tsx",
  190. "tests/**/*.ts",
  191. "tests/**/*.tsx"
  192. ]
  193. },
  194. "website": {
  195. "project": [
  196. "**/*.ts"
  197. ],
  198. "ignoreDependencies": [
  199. "@braintree/sanitize-url",
  200. "cytoscape",
  201. "cytoscape-cose-bilkent",
  202. "dayjs",
  203. "debug"
  204. ]
  205. },
  206. "packages/*/*": {
  207. "entry": [
  208. "tests/**/*.spec.ts"
  209. ],
  210. "project": [
  211. "src/**/*.ts",
  212. "tests/**/*.ts"
  213. ]
  214. },
  215. "packages/typert/generator": {
  216. "entry": [
  217. "tests/**/*.spec.ts",
  218. "tests/fixtures/type-model/**/*.ts",
  219. "tests/fixtures/remote-model/**/*.ts"
  220. ],
  221. "project": [
  222. "src/**/*.ts",
  223. "tests/**/*.ts"
  224. ]
  225. },
  226. "packages/shell/bash-sandbox": {
  227. "entry": [
  228. "tests/**/*.spec.ts",
  229. "tests/**/*.e2e.ts"
  230. ],
  231. "project": [
  232. "src/**/*.ts",
  233. "tests/**/*.ts"
  234. ]
  235. },
  236. "packages/shell/pwsh-sandbox": {
  237. "entry": [
  238. "tests/**/*.spec.ts",
  239. "tests/**/*.e2e.ts"
  240. ],
  241. "project": [
  242. "src/**/*.ts",
  243. "tests/**/*.ts"
  244. ]
  245. },
  246. "packages/e2b/e2b": {
  247. "entry": [
  248. "tests/**/*.spec.ts",
  249. "tests/**/*.e2e.ts"
  250. ],
  251. "project": [
  252. "src/**/*.ts",
  253. "tests/**/*.ts"
  254. ]
  255. },
  256. "packages/context/time-context": {
  257. "entry": [
  258. "tests/**/*.spec.ts",
  259. "tests/**/*.e2e.ts"
  260. ],
  261. "project": [
  262. "src/**/*.ts",
  263. "tests/**/*.ts"
  264. ]
  265. },
  266. "packages/lsp/lsp-stdio": {
  267. "entry": [
  268. "tests/**/*.spec.ts",
  269. "tests/**/*.e2e.ts",
  270. "tests/fixture-server.ts"
  271. ],
  272. "project": [
  273. "src/**/*.ts",
  274. "tests/**/*.ts"
  275. ],
  276. "ignoreDependencies": [
  277. "typescript-language-server"
  278. ]
  279. },
  280. "packages/sandbox/sandbox-local": {
  281. "entry": [
  282. "tests/**/*.spec.ts",
  283. "tests/**/*.e2e.ts"
  284. ],
  285. "project": [
  286. "src/**/*.ts",
  287. "tests/**/*.ts"
  288. ]
  289. },
  290. "packages/session/session-telemetry-otel": {
  291. "entry": [
  292. "tests/**/*.spec.ts",
  293. "tests/**/*.e2e.ts"
  294. ],
  295. "project": [
  296. "src/**/*.ts",
  297. "tests/**/*.ts"
  298. ]
  299. },
  300. "packages/util/brand": {
  301. "project": [
  302. "src/**/*.ts"
  303. ]
  304. },
  305. "packages/attachment/attachment": {
  306. "project": [
  307. "src/**/*.ts"
  308. ]
  309. },
  310. "packages/test-support/acp-snapshot": {
  311. "entry": [
  312. "tests/**/*.spec.ts",
  313. "tests/fixtures/fake-acp-agent.ts"
  314. ],
  315. "project": [
  316. "src/**/*.ts",
  317. "tests/**/*.ts"
  318. ]
  319. },
  320. "packages/test-support/loader-smoke": {
  321. "entry": [
  322. "tests/**/*.spec.ts",
  323. "tests/fixtures/*.ts"
  324. ],
  325. "project": [
  326. "src/**/*.ts",
  327. "tests/**/*.ts"
  328. ]
  329. },
  330. "packages/core/agent-loop": {
  331. "entry": [
  332. "tests/**/*.spec.ts",
  333. "tests/**/*.e2e.ts"
  334. ],
  335. "project": [
  336. "src/**/*.ts",
  337. "tests/**/*.ts"
  338. ]
  339. },
  340. "packages/goal/goal": {
  341. "entry": [
  342. "tests/**/*.spec.ts",
  343. "tests/**/*.e2e.ts"
  344. ],
  345. "project": [
  346. "src/**/*.ts",
  347. "tests/**/*.ts"
  348. ]
  349. },
  350. "packages/session-query/session-query-sqlite": {
  351. "entry": [
  352. "tests/**/*.spec.ts",
  353. "tests/**/*.e2e.ts"
  354. ],
  355. "project": [
  356. "src/**/*.ts",
  357. "tests/**/*.ts"
  358. ]
  359. },
  360. "packages/code-runtime/code-runtime-worker-thread": {
  361. "entry": [
  362. "tests/**/*.spec.ts",
  363. "tests/**/*.e2e.ts"
  364. ],
  365. "project": [
  366. "src/**/*.ts",
  367. "tests/**/*.ts"
  368. ]
  369. },
  370. "packages/code-runtime/code-runtime-python": {
  371. "entry": [
  372. "tests/**/*.spec.ts",
  373. "tests/**/*.e2e.ts"
  374. ],
  375. "project": [
  376. "src/**/*.ts",
  377. "tests/**/*.ts"
  378. ]
  379. },
  380. "packages/llm/llm-deepseek": {
  381. "entry": [
  382. "tests/**/*.spec.ts",
  383. "tests/**/*.e2e.ts"
  384. ],
  385. "project": [
  386. "src/**/*.ts",
  387. "tests/**/*.ts"
  388. ]
  389. },
  390. "packages/llm/llm-pi-ai": {
  391. "entry": [
  392. "tests/**/*.spec.ts",
  393. "tests/**/*.e2e.ts"
  394. ],
  395. "project": [
  396. "src/**/*.ts",
  397. "tests/**/*.ts"
  398. ]
  399. },
  400. "packages/session/session-title-first-prompt-llm": {
  401. "entry": [
  402. "tests/**/*.spec.ts",
  403. "tests/**/*.e2e.ts"
  404. ],
  405. "project": [
  406. "src/**/*.ts",
  407. "tests/**/*.ts"
  408. ]
  409. },
  410. "packages/context/agent-instructions": {
  411. "entry": [
  412. "tests/**/*.spec.ts",
  413. "tests/**/*.e2e.ts"
  414. ],
  415. "project": [
  416. "src/**/*.ts",
  417. "tests/**/*.ts"
  418. ]
  419. },
  420. "packages/context/file-reference": {
  421. "ignoreDependencies": [
  422. "zod"
  423. ]
  424. },
  425. "packages/context/session-reference": {
  426. "ignoreDependencies": [
  427. "zod"
  428. ]
  429. },
  430. "packages/session/session-checkpoint-policy": {
  431. "entry": [
  432. "tests/**/*.spec.ts",
  433. "tests/**/*.e2e.ts"
  434. ],
  435. "project": [
  436. "src/**/*.ts",
  437. "tests/**/*.ts"
  438. ]
  439. },
  440. "packages/web/web-search-exa": {
  441. "entry": [
  442. "tests/**/*.spec.ts",
  443. "tests/**/*.e2e.ts"
  444. ],
  445. "project": [
  446. "src/**/*.ts",
  447. "tests/**/*.ts"
  448. ]
  449. },
  450. "packages/web/web-search-perplexity": {
  451. "entry": [
  452. "tests/**/*.spec.ts",
  453. "tests/**/*.e2e.ts"
  454. ],
  455. "project": [
  456. "src/**/*.ts",
  457. "tests/**/*.ts"
  458. ]
  459. },
  460. "packages/workflow/workflow-worker-thread": {
  461. "entry": [
  462. "tests/**/*.spec.ts",
  463. "tests/**/*.e2e.ts"
  464. ],
  465. "project": [
  466. "src/**/*.ts",
  467. "tests/**/*.ts"
  468. ]
  469. },
  470. "packages/web/web-search-deepseek": {
  471. "entry": [
  472. "tests/**/*.spec.ts",
  473. "tests/**/*.e2e.ts"
  474. ],
  475. "project": [
  476. "src/**/*.ts",
  477. "tests/**/*.ts"
  478. ]
  479. },
  480. "packages/examples/acp-demo": {
  481. "entry": [
  482. "tests/**/*.spec.ts",
  483. "tests/**/*.e2e.ts"
  484. ],
  485. "project": [
  486. "src/**/*.ts",
  487. "tests/**/*.ts"
  488. ]
  489. },
  490. "packages/examples/agent-spine-demo": {
  491. "entry": [
  492. "tests/**/*.spec.ts",
  493. "tests/**/*.e2e.ts"
  494. ],
  495. "project": [
  496. "src/**/*.ts",
  497. "tests/**/*.ts"
  498. ]
  499. },
  500. "packages/sdk/server": {
  501. "entry": [
  502. "tests/**/*.spec.ts",
  503. "tests/**/*.e2e.ts"
  504. ],
  505. "project": [
  506. "src/**/*.ts",
  507. "tests/**/*.ts"
  508. ]
  509. },
  510. "packages/interaction/commands": {
  511. "entry": [
  512. "tests/**/*.spec.ts"
  513. ],
  514. "project": [
  515. "src/**/*.ts",
  516. "tests/**/*.ts"
  517. ],
  518. "ignoreDependencies": [
  519. "zod"
  520. ]
  521. },
  522. "packages/examples/jsonrpc-demo": {
  523. "project": [
  524. "src/**/*.ts"
  525. ]
  526. },
  527. "packages/subagent/subagent-spawn-in-process": {
  528. "entry": [
  529. "tests/**/*.spec.ts",
  530. "tests/**/*.e2e.ts"
  531. ],
  532. "project": [
  533. "src/**/*.ts",
  534. "tests/**/*.ts"
  535. ]
  536. },
  537. "packages/subagent/subagent-acp": {
  538. "entry": [
  539. "tests/**/*.spec.ts",
  540. "tests/**/*.e2e.ts",
  541. "tests/mock-acp-server.ts"
  542. ],
  543. "project": [
  544. "src/**/*.ts",
  545. "tests/**/*.ts"
  546. ]
  547. },
  548. "packages/subagent/subagent-codex": {
  549. "entry": [
  550. "tests/**/*.spec.ts",
  551. "tests/**/*.e2e.ts"
  552. ],
  553. "project": [
  554. "src/**/*.ts",
  555. "tests/**/*.ts"
  556. ]
  557. },
  558. "packages/subagent/subagent-claude-code": {
  559. "entry": [
  560. "tests/**/*.spec.ts",
  561. "tests/**/*.e2e.ts"
  562. ],
  563. "project": [
  564. "src/**/*.ts",
  565. "tests/**/*.ts"
  566. ]
  567. },
  568. "packages/fs/tool-fs": {
  569. "entry": [
  570. "tests/**/*.spec.ts",
  571. "tests/**/*.e2e.ts"
  572. ],
  573. "project": [
  574. "src/**/*.ts",
  575. "tests/**/*.ts"
  576. ]
  577. },
  578. "packages/mcp/mcp-client": {
  579. "entry": [
  580. "tests/**/*.spec.ts",
  581. "tests/**/*.e2e.ts",
  582. "tests/fixture-server.ts"
  583. ],
  584. "project": [
  585. "src/**/*.ts",
  586. "tests/**/*.ts"
  587. ],
  588. "ignoreDependencies": [
  589. "@modelcontextprotocol/server-everything",
  590. "@modelcontextprotocol/server-filesystem"
  591. ]
  592. },
  593. "packages/client/web": {
  594. "project": [
  595. "src/**/*.ts",
  596. "tests/**/*.ts"
  597. ]
  598. },
  599. "packages/client/ui-renderer": {
  600. "entry": [
  601. "tests/**/*.spec.tsx"
  602. ],
  603. "project": [
  604. "src/**/*.ts",
  605. "src/**/*.tsx",
  606. "tests/**/*.tsx"
  607. ]
  608. },
  609. "apps/web": {
  610. "entry": [
  611. "tests/**/*.e2e.ts",
  612. "tests/**/*.perf.ts",
  613. "tests/**/*.snapshot.ts",
  614. "tests/support.ts",
  615. "src/node-module-stub.ts"
  616. ],
  617. "project": [
  618. "src/**/*.ts",
  619. "tests/**/*.ts"
  620. ],
  621. "ignoreDependencies": [
  622. "@deepseek-ai/dsh-client-ui-primitives",
  623. "@deepseek-ai/dsh-client-ui-slots",
  624. "@types/react",
  625. "@types/react-dom",
  626. "react",
  627. "react-dom"
  628. ]
  629. },
  630. "apps/cli": {
  631. "entry": [
  632. "tests/**/*.spec.ts",
  633. "tests/**/*.e2e.ts",
  634. "tests/**/*.snapshot.ts"
  635. ],
  636. "project": [
  637. "src/**/*.ts",
  638. "tests/**/*.ts"
  639. ],
  640. "ignoreDependencies": [
  641. "@deepseek-ai/.+"
  642. ]
  643. },
  644. "packages/subagent/subagent-dsh-sdk": {
  645. "entry": [
  646. "tests/**/*.spec.ts",
  647. "tests/**/*.e2e.ts"
  648. ],
  649. "project": [
  650. "src/**/*.ts",
  651. "tests/**/*.ts"
  652. ]
  653. },
  654. "packages/bundle/base": {
  655. "ignoreDependencies": [
  656. "@deepseek-ai/.+"
  657. ]
  658. },
  659. "packages/bundle/headless": {
  660. "ignoreDependencies": [
  661. "@deepseek-ai/dsh-code-runtime-worker-thread"
  662. ]
  663. },
  664. "packages/bundle/web-app": {
  665. "ignoreDependencies": [
  666. "@deepseek-ai/.+"
  667. ]
  668. }
  669. }
  670. }