knip.json 16 KB

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