package.json 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. {
  2. "name": "@deepseek-ai/dsh-root",
  3. "version": "0.0.1",
  4. "private": true,
  5. "type": "module",
  6. "packageManager": "pnpm@11.7.0",
  7. "engines": {
  8. "node": "^22.19.0 || >=24.0.0"
  9. },
  10. "workspaces": [
  11. "vendor/*",
  12. "packages/*/*",
  13. "apps/*",
  14. "website"
  15. ],
  16. "scripts": {
  17. "build": "tsc -b && tsdown",
  18. "build:web": "pnpm --filter @deepseek-ai/dsh-frontend run build",
  19. "clean": "tsx scripts/clean.ts",
  20. "change-scope": "tsx scripts/change-scope.ts",
  21. "typecheck": "tsc -b",
  22. "lint": "eslint .",
  23. "lint:fix": "eslint . --fix",
  24. "duplication": "jscpd --config .jscpd.json packages scripts",
  25. "test": "vitest run",
  26. "test:coverage": "vitest run --coverage",
  27. "test:e2e": "vitest run --config vitest.e2e.config.ts",
  28. "test:snapshot": "vitest run --config vitest.snapshot.config.ts",
  29. "test:snapshot:record": "DSH_SNAPSHOT=record vitest run --config vitest.snapshot.config.ts --update",
  30. "test:snapshot:refresh": "DSH_SNAPSHOT=refresh vitest run --config vitest.snapshot.config.ts",
  31. "migrate:packed-session-fixtures": "tsx scripts/migrate-packed-session-fixtures.ts",
  32. "test:web": "npm run build:web && vitest run --config vitest.web.config.ts",
  33. "test:gui": "vitest run packages/client packages/host",
  34. "check:all": "tsx scripts/run-gates.ts check-all",
  35. "check:ci": "tsx scripts/run-gates.ts ci-primary",
  36. "check:ci:static": "tsx scripts/run-gates.ts ci-static",
  37. "check:ci:lint": "tsx scripts/run-gates.ts ci-lint",
  38. "check:ci:coverage": "tsx scripts/run-gates.ts ci-coverage",
  39. "check:ci:snapshot": "tsx scripts/run-gates.ts ci-snapshot",
  40. "check:ci:artifacts": "tsx scripts/run-gates.ts ci-artifacts",
  41. "check:ci:windows-blocking": "tsx scripts/run-gates.ts ci-windows-blocking",
  42. "check:ci:windows-complete": "tsx scripts/run-gates.ts ci-windows-complete",
  43. "check:ci:windows-observational": "tsx scripts/run-gates.ts ci-windows-observational",
  44. "check:windows-wine": "bash scripts/wine-windows-gates.sh",
  45. "check:node-compat": "tsx scripts/run-gates.ts node-compat",
  46. "knip": "knip --treat-config-hints-as-errors",
  47. "publint": "tsx scripts/publint-all.ts",
  48. "doc-typecheck": "tsx scripts/doc-typecheck.ts",
  49. "verify-md-wrap": "tsx scripts/verify-md-wrap.ts",
  50. "verify-md-links": "tsx scripts/verify-md-links.ts",
  51. "verify-doc-refs": "tsx scripts/verify-doc-refs.ts",
  52. "verify-package-paths": "tsx scripts/verify-package-paths.ts",
  53. "verify-package-invariants": "tsx scripts/verify-package-invariants.ts",
  54. "verify-built-package-invariants": "node scripts/verify-built-package-invariants.mjs",
  55. "verify-package-readme-model-experience": "tsx scripts/verify-package-readme-model-experience.ts",
  56. "verify-mermaid": "tsx scripts/verify-mermaid.ts",
  57. "verify-agent-note-classification": "tsx scripts/verify-agent-note-classification.ts",
  58. "verify-agent-note-format": "tsx scripts/verify-agent-note-format.ts",
  59. "verify-archived-agent-notes": "tsx scripts/verify-archived-agent-notes.ts",
  60. "verify-type-equiv": "tsx scripts/verify-type-equiv.ts",
  61. "verify-translation-prompt": "tsx scripts/verify-translation-prompt.ts",
  62. "verify-translation-pairing": "tsx scripts/verify-translation-pairing.ts",
  63. "gen-translation-brief": "tsx scripts/gen-translation-brief.ts",
  64. "verify-doc-budgets": "tsx scripts/verify-doc-budgets.ts",
  65. "docs:dev": "pnpm --filter @deepseek-ai/website run dev",
  66. "docs:build": "pnpm --filter @deepseek-ai/website run build",
  67. "docs:build:mpa": "pnpm --filter @deepseek-ai/website exec vitepress build . --mpa",
  68. "docs:preview": "pnpm --filter @deepseek-ai/website run preview",
  69. "docs:check": "pnpm exec vitest run scripts/project-doc-site.spec.ts && pnpm run docs:build",
  70. "website:dev": "pnpm run docs:dev",
  71. "website:build": "pnpm run docs:build",
  72. "verify-package-readme-limitations": "tsx scripts/verify-package-readme-limitations.ts",
  73. "verify-node-next-types": "tsx scripts/verify-node-next-types.ts",
  74. "verify-runtime-closure": "tsx scripts/verify-runtime-closure.ts",
  75. "verify-cordis-config": "tsx scripts/verify-cordis-config.ts",
  76. "verify-client-domain-graph": "tsx scripts/verify-client-domain-graph.ts",
  77. "gen-cordis-catalog": "tsx scripts/gen-cordis-catalog.ts",
  78. "verify-cordis-catalog": "tsx scripts/gen-cordis-catalog.ts --check",
  79. "gen-cordis-api": "tsx scripts/gen-cordis-api.ts",
  80. "verify-cordis-api": "tsx scripts/gen-cordis-api.ts --check",
  81. "verify-export-jsdoc": "tsx scripts/verify-export-jsdoc.ts",
  82. "gen-tool-catalog": "tsx scripts/gen-tool-catalog.ts",
  83. "verify-tool-catalog": "tsx scripts/gen-tool-catalog.ts --check",
  84. "gen-config-catalog": "tsx scripts/gen-config-catalog.ts",
  85. "verify-config-catalog": "tsx scripts/gen-config-catalog.ts --check",
  86. "gen-doc-graphs": "tsx scripts/gen-doc-graphs.ts",
  87. "verify-doc-graphs": "tsx scripts/gen-doc-graphs.ts --check",
  88. "gen-persistence-catalog": "tsx scripts/gen-persistence-catalog.ts",
  89. "verify-persistence-catalog": "tsx scripts/gen-persistence-catalog.ts --check",
  90. "gen-module-graph": "tsx scripts/gen-module-graph.ts",
  91. "gen-scoped-events": "tsx scripts/gen-scoped-events.ts",
  92. "verify-scoped-events": "tsx scripts/gen-scoped-events.ts --check",
  93. "verify-module-graph": "tsx scripts/gen-module-graph.ts --check",
  94. "constraints": "tsx scripts/check-workspace-constraints.ts",
  95. "doc-sync": "tsx scripts/run-gates.ts doc-sync",
  96. "hygiene": "pnpm run knip && pnpm run publint && pnpm run constraints && pnpm run verify-package-invariants && pnpm run verify-built-package-invariants && pnpm run verify-cordis-config && pnpm run verify-node-next-types && pnpm run verify-runtime-closure",
  97. "dsh": "node --import tsx apps/cli/src/bin.ts",
  98. "demo:headless": "node --import tsx packages/examples/cli-demo/src/bin.ts --config examples/headless-agent/cordis.yml",
  99. "demo:tui": "node --import tsx apps/cli/src/bin.ts",
  100. "demo:code-mode": "node scripts/demo-code-mode.mjs",
  101. "demo:cordis": "node scripts/demo-cordis.mjs",
  102. "demo:acp": "node --import tsx packages/examples/acp-demo/src/bin.ts --config examples/acp-agent/cordis.yml",
  103. "demo:web": "npm run build && npm run build:web && node --import tsx apps/cli/src/bin.ts web",
  104. "mock:llm": "node --import tsx packages/support/llm-mock-server/src/bin.ts",
  105. "dev:web": "tsx scripts/dev-web.ts --poll",
  106. "postinstall": "node scripts/install-lefthook.mjs"
  107. },
  108. "devDependencies": {
  109. "@agentclientprotocol/sdk": "0.25.1",
  110. "@deepseek-ai/dsh-tool-session-query": "workspace:^",
  111. "@stylistic/eslint-plugin": "^5.10.0",
  112. "@testing-library/dom": "^10.4.1",
  113. "@testing-library/react": "^16.3.2",
  114. "@types/js-yaml": "^4.0.9",
  115. "@types/jsdom": "^28.0.3",
  116. "@types/mdast": "^4.0.4",
  117. "@types/node": "^22.20.0",
  118. "@vitest/coverage-v8": "^4.1.8",
  119. "@yarnpkg/cli-dist": "4.17.1",
  120. "eslint": "^10.4.1",
  121. "eslint-plugin-sonarjs": "^4.1.0",
  122. "execa": "^10.0.0",
  123. "fast-check": "^4.8.0",
  124. "js-yaml": "^4.2.0",
  125. "jscpd": "^5.0.12",
  126. "jsdom": "29.1.1",
  127. "knip": "^6.16.1",
  128. "lefthook": "^2.1.9",
  129. "lightningcss": "^1.32.0",
  130. "mdast-util-from-markdown": "^2.0.3",
  131. "mdast-util-gfm": "^3.1.0",
  132. "mermaid": "11.16.0",
  133. "micromark-extension-gfm": "^3.0.0",
  134. "publint": "^0.3.21",
  135. "tsdown": "^0.22.2",
  136. "tsx": "^4.22.4",
  137. "typescript": "^6.0.3",
  138. "typescript-eslint": "^8.61.0",
  139. "vite-tsconfig-paths": "^6.1.1",
  140. "vitest": "^4.1.8"
  141. }
  142. }