pnpm-workspace.yaml 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. packages:
  2. - vendor/*
  3. - packages/*/*
  4. # The Landlock launcher is developed with its harness consumers but keeps
  5. # its native build and publication scripts under native/system.
  6. - native/system
  7. - native/system/packages/*
  8. # Product assemblies over the package tier; apps/cli owns the `dsh` bin.
  9. - apps/*
  10. # Private package owning repository-level benchmark dependencies.
  11. - benchmarks
  12. - website
  13. # Deploy root of the single-exe build: a pure dependency manifest whose
  14. # closure is what the exe bundles and what the Python runtime distributes.
  15. - python/sdk-runtime
  16. overrides:
  17. '@deepseek-ai/cosmokit': 'link:vendor/cosmokit'
  18. '@deepseek-ai/schemastery': 'link:vendor/schemastery'
  19. peerDependencyRules:
  20. allowedVersions:
  21. typescript: '>=5 <7'
  22. # pnpm 10+ blocks any dependency shipping an install/build script until it is
  23. # explicitly reviewed here (strictDepBuilds defaults to true: an unlisted script
  24. # is a hard install error). Every such package MUST be listed; we deny by
  25. # default and only allow scripts we need. esbuild (native binary) and lefthook
  26. # (git hooks) genuinely need theirs.
  27. allowBuilds:
  28. esbuild: true
  29. lefthook: true
  30. # Cross-platform boundary for the persistent PTY backend, including ConPTY on Windows.
  31. node-pty: true
  32. # Pulled in by @earendil-works/pi-ai (optional LLM API backend). pnpm lists
  33. # them only because they ship lifecycle scripts, but those are no-ops we don't
  34. # need, so we deny them — install still succeeds.
  35. '@google/genai': false
  36. protobufjs: false
  37. node-addon-require-builtin: false
  38. # JSONL durability calls MoveFileExW with write-through publication on Windows.
  39. koffi: true
  40. # The Python runtime deploy includes the reviewed workspace postinstall that
  41. # restores the executable bit on node-pty's macOS spawn helper.
  42. '@deepseek-ai/dsh-subprocess-local@file:packages/subprocess/subprocess-local': true
  43. # electron-builder pulls in the optional Squirrel.Windows helper, whose
  44. # install script only selects its bundled 7-Zip executable. Desktop ships
  45. # Windows through NSIS, so that mutation is not part of our build.
  46. electron-winstaller: false
  47. # Store-index rewriting only needs msgpackr's portable JavaScript codec.
  48. msgpackr-extract: false
  49. minimumReleaseAgeExclude:
  50. # Fresh pi-ai releases carry the model catalog updates that are the whole
  51. # point of bumping it; waiting out the release age would defeat that.
  52. - '@earendil-works/pi-ai@0.85.1'
  53. - '@earendil-works/pi-telemetry@0.85.1'
  54. - node-addon-native-custom-loader@0.1.4
  55. - node-addon-require-builtin-darwin-arm64@0.1.4
  56. - node-addon-require-builtin-darwin-x64@0.1.4
  57. - node-addon-require-builtin-linux-arm64-gnu@0.1.4
  58. - node-addon-require-builtin-linux-x64-gnu@0.1.4
  59. - node-addon-require-builtin-win32-arm64-msvc@0.1.4
  60. - node-addon-require-builtin-win32-ia32-msvc@0.1.4
  61. - node-addon-require-builtin-win32-x64-msvc@0.1.4
  62. - node-addon-require-builtin@0.1.4
  63. # The active pnpm supply-chain policy blocks this reviewed runtime closure
  64. # until its release-age window expires unless every exact package is exempt.
  65. - '@anthropic-ai/claude-agent-sdk-darwin-arm64@0.3.263'
  66. - '@anthropic-ai/claude-agent-sdk-darwin-x64@0.3.263'
  67. - '@anthropic-ai/claude-agent-sdk-linux-arm64-musl@0.3.263'
  68. - '@anthropic-ai/claude-agent-sdk-linux-arm64@0.3.263'
  69. - '@anthropic-ai/claude-agent-sdk-linux-x64-musl@0.3.263'
  70. - '@anthropic-ai/claude-agent-sdk-linux-x64@0.3.263'
  71. - '@anthropic-ai/claude-agent-sdk-win32-arm64@0.3.263'
  72. - '@anthropic-ai/claude-agent-sdk-win32-x64@0.3.263'
  73. - '@anthropic-ai/claude-agent-sdk@0.3.263'
  74. # All platform aliases resolve to the @openai/codex package name, so their
  75. # reviewed exact versions must share one version-union policy entry.
  76. - '@openai/codex@0.153.4||0.153.4-darwin-arm64||0.153.4-darwin-x64||0.153.4-linux-arm64||0.153.4-linux-x64||0.153.4-win32-arm64||0.153.4-win32-x64'
  77. patchedDependencies:
  78. '@electron/osx-sign@1.3.3': patches/@electron__osx-sign@1.3.3.patch
  79. '@yao-pkg/pkg@6.21.0': patches/@yao-pkg__pkg@6.21.0.patch
  80. node-pty@1.2.0-beta.15: patches/node-pty@1.2.0-beta.15.patch