pnpm-workspace.yaml 4.2 KB

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