knip.json 16 KB

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