knip.json 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687
  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/control-surface/control-surface-llm.ts",
  64. "acp-agent/tests/fixtures/subagent/subagent-acp/mock-delegating-llm.ts",
  65. "acp-agent/tests/fixtures/subagent/subagent-acp/driver.ts",
  66. "acp-agent/tests/fixtures/subagent/subagent-claude-code/fixture.ts",
  67. "acp-agent/tests/fixtures/subagent/subagent-claude-code/driver.ts",
  68. "acp-agent/tests/fixtures/subagent/subagent-codex/fixture.ts",
  69. "acp-agent/tests/fixtures/subagent/subagent-codex/driver.ts",
  70. "python-sdk-agent/tests/fixtures/subagent/subagent-dsh-sdk/driver.ts",
  71. "python-sdk-agent/tests/fixtures/subagent/subagent-dsh-sdk/child-mock-llm.ts",
  72. "python-sdk-agent/tests/fixtures/subagent/subagent-dsh-sdk/mock-delegating-llm.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. },
  120. "packages/api/workspace-controller": {
  121. "ignoreDependencies": [
  122. "zod"
  123. ]
  124. },
  125. "packages/client/ui-primitives": {
  126. "entry": [
  127. "tests/**/*.spec.tsx"
  128. ],
  129. "project": [
  130. "src/**/*.ts",
  131. "src/**/*.tsx",
  132. "tests/**/*.tsx"
  133. ]
  134. },
  135. "packages/client/ui-goal": {
  136. "entry": [
  137. "tests/**/*.spec.tsx"
  138. ],
  139. "project": [
  140. "src/**/*.ts",
  141. "src/**/*.tsx",
  142. "tests/**/*.tsx"
  143. ]
  144. },
  145. "packages/client/ui-directory-picker-browse": {
  146. "entry": [
  147. "tests/**/*.spec.tsx"
  148. ],
  149. "project": [
  150. "src/**/*.ts",
  151. "src/**/*.tsx",
  152. "tests/**/*.tsx"
  153. ]
  154. },
  155. "packages/client/ui-directory-picker-native": {
  156. "entry": [
  157. "tests/**/*.spec.tsx"
  158. ],
  159. "project": [
  160. "src/**/*.ts",
  161. "tests/**/*.tsx"
  162. ]
  163. },
  164. "packages/client/ui-deliverables": {
  165. "entry": [
  166. "tests/**/*.spec.tsx"
  167. ],
  168. "project": [
  169. "src/**/*.ts",
  170. "src/**/*.tsx",
  171. "tests/**/*.tsx"
  172. ]
  173. },
  174. "packages/client/ui-workflow-run": {
  175. "entry": [
  176. "tests/**/*.spec.tsx"
  177. ],
  178. "project": [
  179. "src/**/*.ts",
  180. "src/**/*.tsx",
  181. "tests/**/*.tsx"
  182. ]
  183. },
  184. "packages/client/ui-layout": {
  185. "entry": [
  186. "tests/**/*.spec.ts",
  187. "tests/**/*.spec.tsx"
  188. ],
  189. "project": [
  190. "src/**/*.ts",
  191. "src/**/*.tsx",
  192. "tests/**/*.ts",
  193. "tests/**/*.tsx"
  194. ]
  195. },
  196. "website": {
  197. "project": [
  198. "**/*.ts"
  199. ],
  200. "ignoreDependencies": [
  201. "@braintree/sanitize-url",
  202. "cytoscape",
  203. "cytoscape-cose-bilkent",
  204. "dayjs",
  205. "debug"
  206. ]
  207. },
  208. "packages/*/*": {
  209. "entry": [
  210. "tests/**/*.spec.ts"
  211. ],
  212. "project": [
  213. "src/**/*.ts",
  214. "tests/**/*.ts"
  215. ]
  216. },
  217. "packages/experimental/webworker-runtime": {
  218. "entry": [
  219. "tests/**/*.spec.ts",
  220. "tests/compile/transform-corpus-check.ts"
  221. ],
  222. "project": [
  223. "src/**/*.ts",
  224. "tests/**/*.ts"
  225. ],
  226. "ignoreDependencies": [
  227. "buffer",
  228. "@deepseek-ai/dsh-client-modules"
  229. ]
  230. },
  231. "packages/typert/generator": {
  232. "entry": [
  233. "tests/**/*.spec.ts",
  234. "tests/fixtures/type-model/**/*.ts",
  235. "tests/fixtures/remote-model/**/*.ts"
  236. ],
  237. "project": [
  238. "src/**/*.ts",
  239. "tests/**/*.ts"
  240. ]
  241. },
  242. "packages/shell/bash-sandbox": {
  243. "entry": [
  244. "tests/**/*.spec.ts",
  245. "tests/**/*.e2e.ts"
  246. ],
  247. "project": [
  248. "src/**/*.ts",
  249. "tests/**/*.ts"
  250. ]
  251. },
  252. "packages/shell/pwsh-sandbox": {
  253. "entry": [
  254. "tests/**/*.spec.ts",
  255. "tests/**/*.e2e.ts"
  256. ],
  257. "project": [
  258. "src/**/*.ts",
  259. "tests/**/*.ts"
  260. ]
  261. },
  262. "packages/e2b/e2b": {
  263. "entry": [
  264. "tests/**/*.spec.ts",
  265. "tests/**/*.e2e.ts"
  266. ],
  267. "project": [
  268. "src/**/*.ts",
  269. "tests/**/*.ts"
  270. ]
  271. },
  272. "packages/context/time-context": {
  273. "entry": [
  274. "tests/**/*.spec.ts",
  275. "tests/**/*.e2e.ts"
  276. ],
  277. "project": [
  278. "src/**/*.ts",
  279. "tests/**/*.ts"
  280. ]
  281. },
  282. "packages/lsp/lsp-stdio": {
  283. "entry": [
  284. "tests/**/*.spec.ts",
  285. "tests/**/*.e2e.ts",
  286. "tests/fixture-server.ts"
  287. ],
  288. "project": [
  289. "src/**/*.ts",
  290. "tests/**/*.ts"
  291. ],
  292. "ignoreDependencies": [
  293. "typescript-language-server"
  294. ]
  295. },
  296. "packages/sandbox/sandbox-local": {
  297. "entry": [
  298. "tests/**/*.spec.ts",
  299. "tests/**/*.e2e.ts"
  300. ],
  301. "project": [
  302. "src/**/*.ts",
  303. "tests/**/*.ts"
  304. ]
  305. },
  306. "packages/session/session-telemetry-otel": {
  307. "entry": [
  308. "tests/**/*.spec.ts",
  309. "tests/**/*.e2e.ts"
  310. ],
  311. "project": [
  312. "src/**/*.ts",
  313. "tests/**/*.ts"
  314. ]
  315. },
  316. "packages/util/brand": {
  317. "project": [
  318. "src/**/*.ts"
  319. ]
  320. },
  321. "packages/attachment/attachment": {
  322. "project": [
  323. "src/**/*.ts"
  324. ]
  325. },
  326. "packages/test-support/acp-snapshot": {
  327. "entry": [
  328. "tests/**/*.spec.ts",
  329. "tests/fixtures/fake-acp-agent.ts"
  330. ],
  331. "project": [
  332. "src/**/*.ts",
  333. "tests/**/*.ts"
  334. ]
  335. },
  336. "packages/test-support/loader-smoke": {
  337. "entry": [
  338. "tests/**/*.spec.ts",
  339. "tests/fixtures/*.ts"
  340. ],
  341. "project": [
  342. "src/**/*.ts",
  343. "tests/**/*.ts"
  344. ]
  345. },
  346. "packages/core/agent-loop": {
  347. "entry": [
  348. "tests/**/*.spec.ts",
  349. "tests/**/*.e2e.ts"
  350. ],
  351. "project": [
  352. "src/**/*.ts",
  353. "tests/**/*.ts"
  354. ]
  355. },
  356. "packages/goal/goal": {
  357. "entry": [
  358. "tests/**/*.spec.ts",
  359. "tests/**/*.e2e.ts"
  360. ],
  361. "project": [
  362. "src/**/*.ts",
  363. "tests/**/*.ts"
  364. ]
  365. },
  366. "packages/session-query/session-query-sqlite": {
  367. "entry": [
  368. "tests/**/*.spec.ts",
  369. "tests/**/*.e2e.ts"
  370. ],
  371. "project": [
  372. "src/**/*.ts",
  373. "tests/**/*.ts"
  374. ]
  375. },
  376. "packages/code-runtime/code-runtime-worker-thread": {
  377. "entry": [
  378. "tests/**/*.spec.ts",
  379. "tests/**/*.e2e.ts"
  380. ],
  381. "project": [
  382. "src/**/*.ts",
  383. "tests/**/*.ts"
  384. ]
  385. },
  386. "packages/code-runtime/code-runtime-python": {
  387. "entry": [
  388. "tests/**/*.spec.ts",
  389. "tests/**/*.e2e.ts"
  390. ],
  391. "project": [
  392. "src/**/*.ts",
  393. "tests/**/*.ts"
  394. ]
  395. },
  396. "packages/llm/llm-deepseek": {
  397. "entry": [
  398. "tests/**/*.spec.ts",
  399. "tests/**/*.e2e.ts"
  400. ],
  401. "project": [
  402. "src/**/*.ts",
  403. "tests/**/*.ts"
  404. ]
  405. },
  406. "packages/llm/llm-pi-ai": {
  407. "entry": [
  408. "tests/**/*.spec.ts",
  409. "tests/**/*.e2e.ts"
  410. ],
  411. "project": [
  412. "src/**/*.ts",
  413. "tests/**/*.ts"
  414. ]
  415. },
  416. "packages/session/session-title-first-prompt-llm": {
  417. "entry": [
  418. "tests/**/*.spec.ts",
  419. "tests/**/*.e2e.ts"
  420. ],
  421. "project": [
  422. "src/**/*.ts",
  423. "tests/**/*.ts"
  424. ]
  425. },
  426. "packages/context/agent-instructions": {
  427. "entry": [
  428. "tests/**/*.spec.ts",
  429. "tests/**/*.e2e.ts"
  430. ],
  431. "project": [
  432. "src/**/*.ts",
  433. "tests/**/*.ts"
  434. ]
  435. },
  436. "packages/context/file-reference": {
  437. "ignoreDependencies": [
  438. "zod"
  439. ]
  440. },
  441. "packages/context/session-reference": {
  442. "ignoreDependencies": [
  443. "zod"
  444. ]
  445. },
  446. "packages/session/session-checkpoint-policy": {
  447. "entry": [
  448. "tests/**/*.spec.ts",
  449. "tests/**/*.e2e.ts"
  450. ],
  451. "project": [
  452. "src/**/*.ts",
  453. "tests/**/*.ts"
  454. ]
  455. },
  456. "packages/web/web-search-exa": {
  457. "entry": [
  458. "tests/**/*.spec.ts",
  459. "tests/**/*.e2e.ts"
  460. ],
  461. "project": [
  462. "src/**/*.ts",
  463. "tests/**/*.ts"
  464. ]
  465. },
  466. "packages/web/web-search-perplexity": {
  467. "entry": [
  468. "tests/**/*.spec.ts",
  469. "tests/**/*.e2e.ts"
  470. ],
  471. "project": [
  472. "src/**/*.ts",
  473. "tests/**/*.ts"
  474. ]
  475. },
  476. "packages/workflow/workflow-worker-thread": {
  477. "entry": [
  478. "tests/**/*.spec.ts",
  479. "tests/**/*.e2e.ts"
  480. ],
  481. "project": [
  482. "src/**/*.ts",
  483. "tests/**/*.ts"
  484. ]
  485. },
  486. "packages/web/web-search-deepseek": {
  487. "entry": [
  488. "tests/**/*.spec.ts",
  489. "tests/**/*.e2e.ts"
  490. ],
  491. "project": [
  492. "src/**/*.ts",
  493. "tests/**/*.ts"
  494. ]
  495. },
  496. "packages/examples/agent-spine-demo": {
  497. "entry": [
  498. "tests/**/*.spec.ts",
  499. "tests/**/*.e2e.ts"
  500. ],
  501. "project": [
  502. "src/**/*.ts",
  503. "tests/**/*.ts"
  504. ]
  505. },
  506. "packages/sdk/server": {
  507. "entry": [
  508. "tests/**/*.spec.ts",
  509. "tests/**/*.e2e.ts"
  510. ],
  511. "project": [
  512. "src/**/*.ts",
  513. "tests/**/*.ts"
  514. ]
  515. },
  516. "packages/interaction/commands": {
  517. "entry": [
  518. "tests/**/*.spec.ts"
  519. ],
  520. "project": [
  521. "src/**/*.ts",
  522. "tests/**/*.ts"
  523. ],
  524. "ignoreDependencies": [
  525. "zod"
  526. ]
  527. },
  528. "packages/sdk/python-runtime": {
  529. "project": [
  530. "src/**/*.ts"
  531. ]
  532. },
  533. "packages/subagent/subagent-spawn-in-process": {
  534. "entry": [
  535. "tests/**/*.spec.ts",
  536. "tests/**/*.e2e.ts"
  537. ],
  538. "project": [
  539. "src/**/*.ts",
  540. "tests/**/*.ts"
  541. ]
  542. },
  543. "packages/subagent/subagent-acp": {
  544. "entry": [
  545. "tests/**/*.spec.ts",
  546. "tests/**/*.e2e.ts",
  547. "tests/mock-acp-server.ts"
  548. ],
  549. "project": [
  550. "src/**/*.ts",
  551. "tests/**/*.ts"
  552. ]
  553. },
  554. "packages/subagent/subagent-codex": {
  555. "entry": [
  556. "tests/**/*.spec.ts",
  557. "tests/**/*.e2e.ts"
  558. ],
  559. "project": [
  560. "src/**/*.ts",
  561. "tests/**/*.ts"
  562. ]
  563. },
  564. "packages/subagent/subagent-claude-code": {
  565. "entry": [
  566. "tests/**/*.spec.ts",
  567. "tests/**/*.e2e.ts"
  568. ],
  569. "project": [
  570. "src/**/*.ts",
  571. "tests/**/*.ts"
  572. ]
  573. },
  574. "packages/fs/tool-fs": {
  575. "entry": [
  576. "tests/**/*.spec.ts",
  577. "tests/**/*.e2e.ts"
  578. ],
  579. "project": [
  580. "src/**/*.ts",
  581. "tests/**/*.ts"
  582. ]
  583. },
  584. "packages/mcp/mcp-client": {
  585. "entry": [
  586. "tests/**/*.spec.ts",
  587. "tests/**/*.e2e.ts",
  588. "tests/fixture-server.ts"
  589. ],
  590. "project": [
  591. "src/**/*.ts",
  592. "tests/**/*.ts"
  593. ],
  594. "ignoreDependencies": [
  595. "@modelcontextprotocol/server-everything",
  596. "@modelcontextprotocol/server-filesystem"
  597. ]
  598. },
  599. "packages/client/web": {
  600. "project": [
  601. "src/**/*.ts",
  602. "tests/**/*.ts"
  603. ]
  604. },
  605. "packages/client/ui-renderer": {
  606. "entry": [
  607. "tests/**/*.spec.tsx"
  608. ],
  609. "project": [
  610. "src/**/*.ts",
  611. "src/**/*.tsx",
  612. "tests/**/*.tsx"
  613. ]
  614. },
  615. "apps/web": {
  616. "entry": [
  617. "tests/**/*.e2e.ts",
  618. "tests/**/*.perf.ts",
  619. "tests/**/*.snapshot.ts",
  620. "tests/support.ts",
  621. "src/node-module-stub.ts",
  622. "src/preview.ts"
  623. ],
  624. "project": [
  625. "src/**/*.ts",
  626. "tests/**/*.ts"
  627. ],
  628. "ignoreDependencies": [
  629. "@deepseek-ai/dsh-client-ui-primitives",
  630. "@deepseek-ai/dsh-client-ui-slots",
  631. "@types/react",
  632. "@types/react-dom",
  633. "react",
  634. "react-dom"
  635. ]
  636. },
  637. "apps/cli": {
  638. "entry": [
  639. "tests/**/*.spec.ts",
  640. "tests/**/*.e2e.ts",
  641. "tests/**/*.snapshot.ts"
  642. ],
  643. "project": [
  644. "src/**/*.ts",
  645. "tests/**/*.ts"
  646. ],
  647. "ignoreDependencies": [
  648. "@deepseek-ai/.+"
  649. ]
  650. },
  651. "packages/subagent/subagent-dsh-sdk": {
  652. "entry": [
  653. "tests/**/*.spec.ts",
  654. "tests/**/*.e2e.ts"
  655. ],
  656. "project": [
  657. "src/**/*.ts",
  658. "tests/**/*.ts"
  659. ]
  660. },
  661. "packages/bundle/base": {
  662. "ignoreDependencies": [
  663. "@deepseek-ai/.+"
  664. ]
  665. },
  666. "packages/bundle/headless": {
  667. "ignoreDependencies": [
  668. "@deepseek-ai/dsh-code-runtime-worker-thread"
  669. ]
  670. },
  671. "packages/bundle/acp-app": {
  672. "ignoreDependencies": [
  673. "@deepseek-ai/dsh-acp"
  674. ]
  675. },
  676. "packages/bundle/sdk-app": {
  677. "ignoreDependencies": [
  678. "@deepseek-ai/dsh-sdk-jsonrpc-server"
  679. ]
  680. },
  681. "packages/bundle/web-app": {
  682. "ignoreDependencies": [
  683. "@deepseek-ai/.+"
  684. ]
  685. }
  686. }
  687. }