package.json 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. {
  2. "name": "@deepseek-ai/dsh-root",
  3. "version": "0.1.3-alpha.1",
  4. "license": "MIT",
  5. "private": true,
  6. "type": "module",
  7. "packageManager": "pnpm@11.7.0",
  8. "engines": {
  9. "node": "^22.19.0 || >=24.0.0"
  10. },
  11. "workspaces": [
  12. "vendor/*",
  13. "packages/*/*",
  14. "native/landlock-run",
  15. "native/landlock-run/packages/*",
  16. "apps/*",
  17. "website"
  18. ],
  19. "scripts": {
  20. "build": "tsx scripts/build.ts",
  21. "build:official": "tsx scripts/build.ts --profile official",
  22. "build:lib": "npm run build:lib:host && npm run build:lib:client",
  23. "build:lib:host": "node --max-old-space-size=4096 ./node_modules/typescript/bin/tsc -b tsconfig.host.json && tsdown --env.DSH_BUILD_FACE host",
  24. "build:lib:client": "tsc -b tsconfig.client.json && tsdown --env.DSH_BUILD_FACE client",
  25. "build:web": "pnpm --filter @deepseek-ai/dsh-web-frontend run build",
  26. "clean": "tsx scripts/clean.ts",
  27. "change-scope": "tsx scripts/change-scope.ts",
  28. "typecheck": "npm run build:lib:host && npm run typecheck:contracts-ready",
  29. "typecheck:contracts-ready": "tsc -b tsconfig.client.json",
  30. "lint": "npm run build:lib:host && npm run lint:contracts-ready",
  31. "lint:contracts-ready": "tsx scripts/run-oxlint.ts .",
  32. "lint:fix": "npm run build:lib:host && npm run lint:fix:contracts-ready",
  33. "lint:fix:contracts-ready": "tsx scripts/run-oxlint.ts --config .oxlintrc.staged.json packages/typert/generator/tests/fixtures/type-model --fix && tsx scripts/run-oxlint.ts . --fix",
  34. "duplication": "jscpd --config .jscpd.json packages scripts",
  35. "test": "vitest run",
  36. "test:coverage": "vitest run --coverage",
  37. "test:coverage:partitioned": "tsx scripts/run-coverage-partitions.ts",
  38. "test:e2e": "vitest run --config vitest.e2e.config.ts",
  39. "test:expected": "vitest run --config vitest.expected.config.ts",
  40. "test:expected:refresh": "DSH_SNAPSHOT=refresh vitest run --config vitest.expected.config.ts",
  41. "test:issue-management": "node .github/issue-management/policy.test.mjs",
  42. "test:snapshot": "vitest run --config vitest.snapshot.config.ts",
  43. "test:snapshot:record": "DSH_SNAPSHOT=record vitest run --config vitest.snapshot.config.ts --update",
  44. "test:snapshot:refresh": "DSH_SNAPSHOT=refresh vitest run --config vitest.snapshot.config.ts",
  45. "migrate:packed-session-fixtures": "tsx scripts/migrate-packed-session-fixtures.ts",
  46. "test:web": "npm run build && npm run test:web:built",
  47. "test:web:refresh": "npm run build && DSH_SNAPSHOT=refresh vitest run --config vitest.web.config.ts",
  48. "test:web:built": "vitest run --config vitest.web.config.ts",
  49. "test:web:ci": "tsx scripts/run-web-snapshots.ts",
  50. "test:web:perf": "npm run build && npm run test:web:perf:built",
  51. "test:web:perf:built": "DSH_SNAPSHOT=replay vitest run --config vitest.web.perf.config.ts",
  52. "test:web:stress": "npm run build && vitest run --config vitest.web-stress.config.ts",
  53. "benchmark:npm-resolution": "tsx scripts/benchmark-npm-resolution.ts",
  54. "benchmark:npm-resolution:next": "tsx scripts/benchmark-next-package-dependency.ts",
  55. "test:gui": "vitest run packages/client packages/host",
  56. "check:all": "tsx scripts/run-gates.ts check-all",
  57. "check:ci": "tsx scripts/run-gates.ts ci-primary",
  58. "check:ci:linux-primary": "tsx scripts/run-gates.ts ci-linux-primary",
  59. "check:ci:static": "tsx scripts/run-gates.ts ci-static",
  60. "check:ci:lint:contracts-ready": "tsx scripts/run-gates.ts ci-lint-contracts-ready",
  61. "check:ci:coverage": "tsx scripts/run-gates.ts ci-coverage",
  62. "check:ci:snapshot": "tsx scripts/run-gates.ts ci-snapshot",
  63. "check:ci:artifacts": "tsx scripts/run-gates.ts ci-artifacts",
  64. "check:ci:consumers": "tsx scripts/run-gates.ts ci-consumers",
  65. "check:windows-wine": "bash scripts/wine-windows-gates.sh",
  66. "check:ci:windows-blocking": "tsx scripts/run-gates.ts ci-windows-blocking",
  67. "check:ci:windows-complete": "tsx scripts/run-gates.ts ci-windows-complete",
  68. "check:ci:windows-observational": "tsx scripts/run-gates.ts ci-windows-observational",
  69. "check:node-compat": "tsx scripts/run-gates.ts node-compat",
  70. "publint": "tsx scripts/publint-all.ts",
  71. "doc-typecheck": "npm run build:lib:host && npm run doc-typecheck:contracts-ready",
  72. "doc-typecheck:contracts-ready": "tsx scripts/doc-typecheck.ts",
  73. "verify-md-wrap": "tsx scripts/verify-md-wrap.ts",
  74. "verify-md-links": "tsx scripts/verify-md-links.ts",
  75. "verify-doc-site-fragments": "tsx scripts/verify-doc-site-fragments.ts",
  76. "verify-public-repository-links": "tsx scripts/verify-public-repository-links.ts",
  77. "verify-doc-refs": "tsx scripts/verify-doc-refs.ts",
  78. "verify-subsystem-pages": "tsx scripts/verify-subsystem-pages.ts",
  79. "verify-package-paths": "tsx scripts/verify-package-paths.ts",
  80. "verify-dsh-package-licenses": "tsx scripts/verify-dsh-package-licenses.ts",
  81. "verify-config-source-ownership": "tsx scripts/verify-config-source-ownership.ts",
  82. "verify-package-invariants": "tsx scripts/verify-package-invariants.ts",
  83. "verify-built-package-invariants": "node scripts/verify-built-package-invariants.mjs",
  84. "verify-package-readme-model-experience": "tsx scripts/verify-package-readme-model-experience.ts",
  85. "verify-mermaid": "tsx scripts/verify-mermaid.ts",
  86. "verify-agent-note-classification": "tsx scripts/verify-agent-note-classification.ts",
  87. "verify-agent-note-format": "tsx scripts/verify-agent-note-format.ts",
  88. "verify-archived-agent-notes": "tsx scripts/verify-archived-agent-notes.ts",
  89. "verify-type-equiv": "tsx scripts/verify-type-equiv.ts",
  90. "verify-skill-invocation-metadata": "tsx scripts/verify-skill-invocation-metadata.ts",
  91. "verify-translation-prompt": "tsx scripts/verify-translation-prompt.ts",
  92. "verify-translation-pairing": "tsx scripts/verify-translation-pairing.ts",
  93. "test:docs": "tsx scripts/run-gates.ts doc-quick",
  94. "resolve-translation-pairing-conflicts": "tsx scripts/merge-translation-pairing.ts --resolve",
  95. "gen-translation-brief": "tsx scripts/gen-translation-brief.ts",
  96. "verify-doc-budgets": "tsx scripts/verify-doc-budgets.ts",
  97. "docs:dev": "pnpm --filter @deepseek-ai/website run dev",
  98. "docs:build": "tsx website/build.ts && pnpm run verify-doc-site-fragments",
  99. "docs:build:mpa": "tsx website/build.ts --mpa && pnpm run verify-doc-site-fragments",
  100. "docs:preview": "pnpm --filter @deepseek-ai/website run preview",
  101. "docs:check": "pnpm exec vitest run scripts/project-doc-site.spec.ts scripts/verify-doc-site-fragments.spec.ts && pnpm run docs:build",
  102. "website:dev": "pnpm run docs:dev",
  103. "website:build": "pnpm run docs:build",
  104. "verify-package-readme-limitations": "tsx scripts/verify-package-readme-limitations.ts",
  105. "verify-node-next-types": "tsx scripts/verify-node-next-types.ts",
  106. "verify-optional-dependency-imports": "tsx scripts/verify-optional-dependency-imports.ts",
  107. "verify-runtime-closure": "tsx scripts/verify-runtime-closure.ts",
  108. "verify-application-entrypoints": "tsx scripts/verify-application-entrypoints.ts",
  109. "verify-package-dependencies": "tsx scripts/verify-package-dependencies.ts",
  110. "verify-npm-install-layout": "tsx scripts/verify-npm-install-layout.ts",
  111. "verify-client-packages": "tsx scripts/verify-client-packages.ts",
  112. "verify-client-ui-i18n": "tsx scripts/verify-client-ui-i18n.ts",
  113. "verify-no-bare-dispatcher": "tsx scripts/verify-no-bare-dispatcher.ts",
  114. "verify-vendored-links": "tsx scripts/verify-vendored-links.ts",
  115. "verify-cordis-config": "tsx scripts/verify-cordis-config.ts",
  116. "rescope-vendor": "tsx scripts/rescope-vendor.ts",
  117. "rescope-vendor:check": "tsx scripts/rescope-vendor.ts --check",
  118. "verify-client-domain-graph": "tsx scripts/verify-client-domain-graph.ts",
  119. "gen-tsconfig-paths": "tsx scripts/gen-tsconfig-paths.ts",
  120. "verify-tsconfig-paths": "tsx scripts/gen-tsconfig-paths.ts --check",
  121. "gen-cordis-catalog": "tsx scripts/gen-cordis-catalog.ts",
  122. "verify-cordis-catalog": "tsx scripts/gen-cordis-catalog.ts --check",
  123. "gen-cordis-api": "tsx scripts/gen-cordis-api.ts",
  124. "verify-cordis-api": "tsx scripts/gen-cordis-api.ts --check",
  125. "gen-client-catalog": "tsx scripts/gen-client-catalog.ts",
  126. "gen-cordis-inspect-catalog": "tsx scripts/gen-cordis-inspect-catalog.ts",
  127. "verify-cordis-inspect-catalog": "tsx scripts/gen-cordis-inspect-catalog.ts --check",
  128. "verify-client-catalog": "tsx scripts/gen-client-catalog.ts --check",
  129. "verify-export-jsdoc": "tsx scripts/verify-export-jsdoc.ts",
  130. "gen-tool-catalog": "tsx scripts/gen-tool-catalog.ts",
  131. "verify-tool-catalog": "tsx scripts/gen-tool-catalog.ts --check",
  132. "gen-config-catalog": "tsx scripts/gen-config-catalog.ts",
  133. "verify-config-catalog": "tsx scripts/gen-config-catalog.ts --check",
  134. "gen-doc-graphs": "tsx scripts/gen-doc-graphs.ts",
  135. "verify-doc-graphs": "tsx scripts/gen-doc-graphs.ts --check",
  136. "gen-persistence-catalog": "tsx scripts/gen-persistence-catalog.ts",
  137. "verify-persistence-catalog": "tsx scripts/gen-persistence-catalog.ts --check",
  138. "gen-session-format-catalog": "tsx scripts/gen-session-format-catalog.ts",
  139. "verify-session-format-catalog": "tsx scripts/gen-session-format-catalog.ts --check",
  140. "gen-third-party-notices": "tsx scripts/gen-third-party-notices.ts",
  141. "verify-third-party-notices": "tsx scripts/gen-third-party-notices.ts --check",
  142. "gen-module-graph": "tsx scripts/gen-module-graph.ts",
  143. "gen-scoped-events": "tsx scripts/gen-scoped-events.ts",
  144. "verify-scoped-events": "tsx scripts/gen-scoped-events.ts --check",
  145. "verify-module-graph": "tsx scripts/gen-module-graph.ts --check",
  146. "constraints": "tsx scripts/check-workspace-constraints.ts",
  147. "doc-sync": "tsx scripts/run-gates.ts doc-sync",
  148. "hygiene": "tsx scripts/run-gates.ts hygiene",
  149. "publish:npm-baseline": "tsx scripts/publish-npm-baseline.ts",
  150. "release:dsh": "tsx scripts/release/bump.ts --family dsh",
  151. "release:vendor": "tsx scripts/release/bump.ts --family vendor",
  152. "release:verify": "tsx scripts/release/verify.ts",
  153. "release:pack": "tsx scripts/release/pack.ts",
  154. "release:verify-packed-install": "tsx scripts/release/verify-packed-install.ts",
  155. "release:publish": "tsx scripts/release/publish.ts",
  156. "dsh": "node --import tsx/esm apps/cli/src/bin.ts",
  157. "demo:ptc": "node scripts/demo-ptc.mjs",
  158. "demo:inspector": "node --import tsx/esm apps/cli/src/bin.ts web --patch ./packages/experimental/inspector/cordis.source.patch.yml",
  159. "mock:llm": "node --import tsx packages/test-support/llm-mock-server/src/bin.ts",
  160. "dev:web": "tsx scripts/dev-web.ts --poll",
  161. "postinstall": "node scripts/install-lefthook.mjs"
  162. },
  163. "devDependencies": {
  164. "@deepseek-ai/dsh-tool-session-query": "workspace:^",
  165. "@deepseek-ai/dsh-web-fetch-http": "workspace:^",
  166. "@stylistic/eslint-plugin": "^5.10.0",
  167. "@testing-library/dom": "^10.4.1",
  168. "@testing-library/react": "^16.3.2",
  169. "@types/js-yaml": "^4.0.9",
  170. "@types/jsdom": "^28.0.3",
  171. "@types/mdast": "^4.0.4",
  172. "@types/node": "^22.20.0",
  173. "@types/spdx-expression-parse": "^4.0.0",
  174. "@vitest/coverage-v8": "^4.1.8",
  175. "@yao-pkg/pkg": "6.21.0",
  176. "@yarnpkg/cli-dist": "4.17.1",
  177. "eslint-plugin-sonarjs": "^4.1.0",
  178. "execa": "^10.0.0",
  179. "fast-check": "^4.8.0",
  180. "istanbul-lib-report": "^3.0.1",
  181. "js-yaml": "^4.2.0",
  182. "jscpd": "^5.0.12",
  183. "jsdom": "29.1.1",
  184. "lefthook": "^2.1.9",
  185. "lightningcss": "^1.32.0",
  186. "mdast-util-from-markdown": "^2.0.3",
  187. "mdast-util-gfm": "^3.1.0",
  188. "mermaid": "11.16.0",
  189. "micromark-extension-gfm": "^3.0.0",
  190. "oxlint": "1.76.0",
  191. "oxlint-tsgolint": "7.0.2001",
  192. "publint": "^0.3.21",
  193. "smol-toml": "^1.7.1",
  194. "spdx-expression-parse": "^5.0.0",
  195. "tsdown": "^0.22.2",
  196. "tsx": "^4.22.4",
  197. "typescript": "^6.0.3",
  198. "vite-tsconfig-paths": "^6.1.1",
  199. "vitest": "^4.1.8"
  200. }
  201. }