knip.json 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712
  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. ],
  246. "project": [
  247. "src/**/*.ts",
  248. "tests/**/*.ts"
  249. ],
  250. "ignoreDependencies": [
  251. "buffer",
  252. "@deepseek-ai/dsh-client-modules"
  253. ]
  254. },
  255. "packages/typert/generator": {
  256. "entry": [
  257. "tests/**/*.spec.ts",
  258. "tests/fixtures/type-model/**/*.ts",
  259. "tests/fixtures/remote-model/**/*.ts"
  260. ],
  261. "project": [
  262. "src/**/*.ts",
  263. "tests/**/*.ts"
  264. ]
  265. },
  266. "packages/shell/bash-sandbox": {
  267. "entry": [
  268. "tests/**/*.spec.ts",
  269. "tests/**/*.e2e.ts"
  270. ],
  271. "project": [
  272. "src/**/*.ts",
  273. "tests/**/*.ts"
  274. ]
  275. },
  276. "packages/shell/pwsh-sandbox": {
  277. "entry": [
  278. "tests/**/*.spec.ts",
  279. "tests/**/*.e2e.ts"
  280. ],
  281. "project": [
  282. "src/**/*.ts",
  283. "tests/**/*.ts"
  284. ]
  285. },
  286. "packages/e2b/e2b": {
  287. "entry": [
  288. "tests/**/*.spec.ts",
  289. "tests/**/*.e2e.ts"
  290. ],
  291. "project": [
  292. "src/**/*.ts",
  293. "tests/**/*.ts"
  294. ]
  295. },
  296. "packages/context/time-context": {
  297. "entry": [
  298. "tests/**/*.spec.ts",
  299. "tests/**/*.e2e.ts"
  300. ],
  301. "project": [
  302. "src/**/*.ts",
  303. "tests/**/*.ts"
  304. ]
  305. },
  306. "packages/lsp/lsp-stdio": {
  307. "entry": [
  308. "tests/**/*.spec.ts",
  309. "tests/**/*.e2e.ts",
  310. "tests/fixture-server.ts"
  311. ],
  312. "project": [
  313. "src/**/*.ts",
  314. "tests/**/*.ts"
  315. ],
  316. "ignoreDependencies": [
  317. "typescript-language-server"
  318. ]
  319. },
  320. "packages/sandbox/sandbox-local": {
  321. "entry": [
  322. "tests/**/*.spec.ts",
  323. "tests/**/*.e2e.ts"
  324. ],
  325. "project": [
  326. "src/**/*.ts",
  327. "tests/**/*.ts"
  328. ]
  329. },
  330. "packages/session/session-telemetry-otel": {
  331. "entry": [
  332. "tests/**/*.spec.ts",
  333. "tests/**/*.e2e.ts"
  334. ],
  335. "project": [
  336. "src/**/*.ts",
  337. "tests/**/*.ts"
  338. ]
  339. },
  340. "packages/util/brand": {
  341. "project": [
  342. "src/**/*.ts"
  343. ]
  344. },
  345. "packages/attachment/attachment": {
  346. "project": [
  347. "src/**/*.ts"
  348. ]
  349. },
  350. "packages/test-support/acp-snapshot": {
  351. "entry": [
  352. "tests/**/*.spec.ts",
  353. "tests/fixtures/fake-acp-agent.ts"
  354. ],
  355. "project": [
  356. "src/**/*.ts",
  357. "tests/**/*.ts"
  358. ]
  359. },
  360. "packages/test-support/loader-smoke": {
  361. "entry": [
  362. "tests/**/*.spec.ts",
  363. "tests/fixtures/*.ts"
  364. ],
  365. "project": [
  366. "src/**/*.ts",
  367. "tests/**/*.ts"
  368. ]
  369. },
  370. "packages/core/agent-loop": {
  371. "entry": [
  372. "tests/**/*.spec.ts",
  373. "tests/**/*.e2e.ts"
  374. ],
  375. "project": [
  376. "src/**/*.ts",
  377. "tests/**/*.ts"
  378. ]
  379. },
  380. "packages/goal/goal": {
  381. "entry": [
  382. "tests/**/*.spec.ts",
  383. "tests/**/*.e2e.ts"
  384. ],
  385. "project": [
  386. "src/**/*.ts",
  387. "tests/**/*.ts"
  388. ]
  389. },
  390. "packages/session-query/session-query-sqlite": {
  391. "entry": [
  392. "tests/**/*.spec.ts",
  393. "tests/**/*.e2e.ts"
  394. ],
  395. "project": [
  396. "src/**/*.ts",
  397. "tests/**/*.ts"
  398. ]
  399. },
  400. "packages/code-runtime/code-runtime-worker-thread": {
  401. "entry": [
  402. "tests/**/*.spec.ts",
  403. "tests/**/*.e2e.ts"
  404. ],
  405. "project": [
  406. "src/**/*.ts",
  407. "tests/**/*.ts"
  408. ]
  409. },
  410. "packages/code-runtime/code-runtime-python": {
  411. "entry": [
  412. "tests/**/*.spec.ts",
  413. "tests/**/*.e2e.ts"
  414. ],
  415. "project": [
  416. "src/**/*.ts",
  417. "tests/**/*.ts"
  418. ]
  419. },
  420. "packages/llm/llm-deepseek": {
  421. "entry": [
  422. "tests/**/*.spec.ts",
  423. "tests/**/*.e2e.ts"
  424. ],
  425. "project": [
  426. "src/**/*.ts",
  427. "tests/**/*.ts"
  428. ]
  429. },
  430. "packages/llm/llm-pi-ai": {
  431. "entry": [
  432. "tests/**/*.spec.ts",
  433. "tests/**/*.e2e.ts"
  434. ],
  435. "project": [
  436. "src/**/*.ts",
  437. "tests/**/*.ts"
  438. ]
  439. },
  440. "packages/session/session-title-first-prompt-llm": {
  441. "entry": [
  442. "tests/**/*.spec.ts",
  443. "tests/**/*.e2e.ts"
  444. ],
  445. "project": [
  446. "src/**/*.ts",
  447. "tests/**/*.ts"
  448. ]
  449. },
  450. "packages/context/agent-instructions": {
  451. "entry": [
  452. "tests/**/*.spec.ts",
  453. "tests/**/*.e2e.ts"
  454. ],
  455. "project": [
  456. "src/**/*.ts",
  457. "tests/**/*.ts"
  458. ]
  459. },
  460. "packages/context/file-reference": {
  461. "ignoreDependencies": [
  462. "zod"
  463. ]
  464. },
  465. "packages/context/session-reference": {
  466. "ignoreDependencies": [
  467. "zod"
  468. ]
  469. },
  470. "packages/session/session-checkpoint-policy": {
  471. "entry": [
  472. "tests/**/*.spec.ts",
  473. "tests/**/*.e2e.ts"
  474. ],
  475. "project": [
  476. "src/**/*.ts",
  477. "tests/**/*.ts"
  478. ]
  479. },
  480. "packages/web/web-search-exa": {
  481. "entry": [
  482. "tests/**/*.spec.ts",
  483. "tests/**/*.e2e.ts"
  484. ],
  485. "project": [
  486. "src/**/*.ts",
  487. "tests/**/*.ts"
  488. ]
  489. },
  490. "packages/web/web-search-perplexity": {
  491. "entry": [
  492. "tests/**/*.spec.ts",
  493. "tests/**/*.e2e.ts"
  494. ],
  495. "project": [
  496. "src/**/*.ts",
  497. "tests/**/*.ts"
  498. ]
  499. },
  500. "packages/workflow/workflow-worker-thread": {
  501. "entry": [
  502. "tests/**/*.spec.ts",
  503. "tests/**/*.e2e.ts"
  504. ],
  505. "project": [
  506. "src/**/*.ts",
  507. "tests/**/*.ts"
  508. ]
  509. },
  510. "packages/web/web-search-deepseek": {
  511. "entry": [
  512. "tests/**/*.spec.ts",
  513. "tests/**/*.e2e.ts"
  514. ],
  515. "project": [
  516. "src/**/*.ts",
  517. "tests/**/*.ts"
  518. ]
  519. },
  520. "packages/examples/agent-spine-demo": {
  521. "entry": [
  522. "tests/**/*.spec.ts",
  523. "tests/**/*.e2e.ts"
  524. ],
  525. "project": [
  526. "src/**/*.ts",
  527. "tests/**/*.ts"
  528. ]
  529. },
  530. "packages/sdk/server": {
  531. "entry": [
  532. "tests/**/*.spec.ts",
  533. "tests/**/*.e2e.ts"
  534. ],
  535. "project": [
  536. "src/**/*.ts",
  537. "tests/**/*.ts"
  538. ]
  539. },
  540. "packages/interaction/commands": {
  541. "entry": [
  542. "tests/**/*.spec.ts"
  543. ],
  544. "project": [
  545. "src/**/*.ts",
  546. "tests/**/*.ts"
  547. ],
  548. "ignoreDependencies": [
  549. "zod"
  550. ]
  551. },
  552. "packages/sdk/python-runtime": {
  553. "project": [
  554. "src/**/*.ts"
  555. ]
  556. },
  557. "packages/subagent/subagent-spawn-in-process": {
  558. "entry": [
  559. "tests/**/*.spec.ts",
  560. "tests/**/*.e2e.ts"
  561. ],
  562. "project": [
  563. "src/**/*.ts",
  564. "tests/**/*.ts"
  565. ]
  566. },
  567. "packages/subagent/subagent-acp": {
  568. "entry": [
  569. "tests/**/*.spec.ts",
  570. "tests/**/*.e2e.ts",
  571. "tests/mock-acp-server.ts"
  572. ],
  573. "project": [
  574. "src/**/*.ts",
  575. "tests/**/*.ts"
  576. ]
  577. },
  578. "packages/subagent/subagent-codex": {
  579. "entry": [
  580. "tests/**/*.spec.ts",
  581. "tests/**/*.e2e.ts"
  582. ],
  583. "project": [
  584. "src/**/*.ts",
  585. "tests/**/*.ts"
  586. ]
  587. },
  588. "packages/subagent/subagent-claude-code": {
  589. "entry": [
  590. "tests/**/*.spec.ts",
  591. "tests/**/*.e2e.ts"
  592. ],
  593. "project": [
  594. "src/**/*.ts",
  595. "tests/**/*.ts"
  596. ]
  597. },
  598. "packages/fs/tool-fs": {
  599. "entry": [
  600. "tests/**/*.spec.ts",
  601. "tests/**/*.e2e.ts"
  602. ],
  603. "project": [
  604. "src/**/*.ts",
  605. "tests/**/*.ts"
  606. ]
  607. },
  608. "packages/mcp/mcp-client": {
  609. "entry": [
  610. "tests/**/*.spec.ts",
  611. "tests/**/*.e2e.ts",
  612. "tests/fixture-server.ts"
  613. ],
  614. "project": [
  615. "src/**/*.ts",
  616. "tests/**/*.ts"
  617. ],
  618. "ignoreDependencies": [
  619. "@modelcontextprotocol/server-everything",
  620. "@modelcontextprotocol/server-filesystem"
  621. ]
  622. },
  623. "packages/client/web": {
  624. "project": [
  625. "src/**/*.ts",
  626. "tests/**/*.ts"
  627. ]
  628. },
  629. "packages/client/ui-renderer": {
  630. "entry": [
  631. "tests/**/*.spec.tsx"
  632. ],
  633. "project": [
  634. "src/**/*.ts",
  635. "src/**/*.tsx",
  636. "tests/**/*.tsx"
  637. ]
  638. },
  639. "apps/web": {
  640. "entry": [
  641. "tests/**/*.e2e.ts",
  642. "tests/**/*.perf.ts",
  643. "tests/**/*.snapshot.ts",
  644. "tests/support.ts",
  645. "src/node-module-stub.ts",
  646. "src/preview.ts"
  647. ],
  648. "project": [
  649. "src/**/*.ts",
  650. "tests/**/*.ts"
  651. ],
  652. "ignoreDependencies": [
  653. "@deepseek-ai/dsh-client-store",
  654. "@deepseek-ai/dsh-client-ui-primitives",
  655. "@deepseek-ai/dsh-client-ui-slots",
  656. "@types/react",
  657. "@types/react-dom",
  658. "react",
  659. "react-dom"
  660. ]
  661. },
  662. "apps/cli": {
  663. "entry": [
  664. "tests/**/*.spec.ts",
  665. "tests/**/*.e2e.ts",
  666. "tests/**/*.snapshot.ts"
  667. ],
  668. "project": [
  669. "src/**/*.ts",
  670. "tests/**/*.ts"
  671. ],
  672. "ignoreDependencies": [
  673. "@deepseek-ai/.+"
  674. ]
  675. },
  676. "packages/subagent/subagent-dsh-sdk": {
  677. "entry": [
  678. "tests/**/*.spec.ts",
  679. "tests/**/*.e2e.ts"
  680. ],
  681. "project": [
  682. "src/**/*.ts",
  683. "tests/**/*.ts"
  684. ]
  685. },
  686. "packages/bundle/base": {
  687. "ignoreDependencies": [
  688. "@deepseek-ai/.+"
  689. ]
  690. },
  691. "packages/bundle/headless": {
  692. "ignoreDependencies": [
  693. "@deepseek-ai/dsh-code-runtime-worker-thread"
  694. ]
  695. },
  696. "packages/bundle/acp-app": {
  697. "ignoreDependencies": [
  698. "@deepseek-ai/dsh-acp"
  699. ]
  700. },
  701. "packages/bundle/sdk-app": {
  702. "ignoreDependencies": [
  703. "@deepseek-ai/dsh-sdk-jsonrpc-server"
  704. ]
  705. },
  706. "packages/bundle/web-app": {
  707. "ignoreDependencies": [
  708. "@deepseek-ai/.+"
  709. ]
  710. }
  711. }
  712. }