pnpm-workspace.yaml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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/landlock-run.
  6. - native/landlock-run
  7. - native/landlock-run/packages/*
  8. # Product assemblies over the package tier; apps/cli owns the `dsh` bin.
  9. - apps/*
  10. - website
  11. # Deploy root of the single-exe build: a pure dependency manifest whose
  12. # closure is what the exe bundles and what the Python runtime distributes.
  13. - python/sdk-runtime
  14. # Vendored framework packages keep their upstream semver ranges, while local
  15. # builds must resolve those matching names to this workspace's pinned sources.
  16. linkWorkspacePackages: true
  17. overrides:
  18. '@deepseek-ai/cosmokit': 'link:vendor/cosmokit'
  19. '@deepseek-ai/schemastery': 'link:vendor/schemastery'
  20. peerDependencyRules:
  21. allowedVersions:
  22. typescript: '>=5 <7'
  23. # pnpm 10+ blocks any dependency shipping an install/build script until it is
  24. # explicitly reviewed here (strictDepBuilds defaults to true: an unlisted script
  25. # is a hard install error). Every such package MUST be listed; we deny by
  26. # default and only allow scripts we need. esbuild (native binary) and lefthook
  27. # (git hooks) genuinely need theirs.
  28. allowBuilds:
  29. esbuild: true
  30. lefthook: true
  31. # Cross-platform boundary for the persistent PTY backend, including ConPTY on Windows.
  32. node-pty: true
  33. # Pulled in by @earendil-works/pi-ai (optional LLM API backend). pnpm lists
  34. # them only because they ship lifecycle scripts, but those are no-ops we don't
  35. # need, so we deny them — install still succeeds.
  36. '@google/genai': false
  37. protobufjs: false
  38. node-addon-require-builtin: false
  39. # JSONL durability calls MoveFileExW with write-through publication on Windows.
  40. koffi: true
  41. # The Python runtime deploy includes the reviewed workspace postinstall that
  42. # restores the executable bit on node-pty's macOS spawn helper.
  43. '@deepseek-ai/dsh-subprocess-local@file:packages/subprocess/subprocess-local': true
  44. minimumReleaseAgeExclude:
  45. # Fresh pi-ai releases carry the model catalog updates that are the whole
  46. # point of bumping it; waiting out the release age would defeat that.
  47. - '@earendil-works/pi-ai@0.84.2'
  48. - node-addon-native-custom-loader@0.1.4
  49. - node-addon-require-builtin-darwin-arm64@0.1.4
  50. - node-addon-require-builtin-darwin-x64@0.1.4
  51. - node-addon-require-builtin-linux-arm64-gnu@0.1.4
  52. - node-addon-require-builtin-linux-x64-gnu@0.1.4
  53. - node-addon-require-builtin-win32-arm64-msvc@0.1.4
  54. - node-addon-require-builtin-win32-ia32-msvc@0.1.4
  55. - node-addon-require-builtin-win32-x64-msvc@0.1.4
  56. - node-addon-require-builtin@0.1.4
  57. # The active pnpm supply-chain policy blocks this reviewed runtime closure
  58. # until its release-age window expires unless every exact package is exempt.
  59. - '@anthropic-ai/claude-agent-sdk-darwin-arm64@0.3.241'
  60. - '@anthropic-ai/claude-agent-sdk-darwin-x64@0.3.241'
  61. - '@anthropic-ai/claude-agent-sdk-linux-arm64-musl@0.3.241'
  62. - '@anthropic-ai/claude-agent-sdk-linux-arm64@0.3.241'
  63. - '@anthropic-ai/claude-agent-sdk-linux-x64-musl@0.3.241'
  64. - '@anthropic-ai/claude-agent-sdk-linux-x64@0.3.241'
  65. - '@anthropic-ai/claude-agent-sdk-win32-arm64@0.3.241'
  66. - '@anthropic-ai/claude-agent-sdk-win32-x64@0.3.241'
  67. - '@anthropic-ai/claude-agent-sdk@0.3.241'
  68. # All platform aliases resolve to the @openai/codex package name, so their
  69. # reviewed exact versions must share one version-union policy entry.
  70. - '@openai/codex@0.149.1||0.149.1-darwin-arm64||0.149.1-darwin-x64||0.149.1-linux-arm64||0.149.1-linux-x64||0.149.1-win32-arm64||0.149.1-win32-x64'
  71. patchedDependencies:
  72. node-pty@1.2.0-beta.15: patches/node-pty@1.2.0-beta.15.patch