pnpm-workspace.yaml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. # The runnable demo leaves join as ONE workspace member: examples/package.json
  12. # declares the union of every leaf's cordis.yml plugins as workspace:*, so a
  13. # plain-node (`:lib`) boot of any leaf (examples/<leaf>/cordis.yml) resolves its
  14. # plugins through real package `exports`→lib by walking up to examples/node_modules.
  15. # Members for DEPENDENCY RESOLUTION only — NOT build targets: tsdown's explicit
  16. # globs (vendor/*, packages/*/*) exclude them. See examples/AGENTS.md and the archived
  17. # run-ci-examples-from-built-lib Agent Note.
  18. - examples
  19. # Deploy root of the single-exe build: a pure dependency manifest whose
  20. # closure is what the exe bundles and what the Python runtime distributes.
  21. - python/sdk-runtime
  22. # Vendored framework packages keep their upstream semver ranges, while local
  23. # builds must resolve those matching names to this workspace's pinned sources.
  24. linkWorkspacePackages: true
  25. overrides:
  26. '@deepseek-ai/cosmokit': 'link:vendor/cosmokit'
  27. '@deepseek-ai/schemastery': 'link:vendor/schemastery'
  28. peerDependencyRules:
  29. allowedVersions:
  30. typescript: '>=5 <7'
  31. # pnpm 10+ blocks any dependency shipping an install/build script until it is
  32. # explicitly reviewed here (strictDepBuilds defaults to true: an unlisted script
  33. # is a hard install error). Every such package MUST be listed; we deny by
  34. # default and only allow scripts we need. esbuild (native binary) and lefthook
  35. # (git hooks) genuinely need theirs.
  36. allowBuilds:
  37. esbuild: true
  38. lefthook: true
  39. # Cross-platform boundary for the persistent PTY backend, including ConPTY on Windows.
  40. node-pty: true
  41. # Pulled in by @earendil-works/pi-ai (optional LLM API backend). pnpm lists
  42. # them only because they ship lifecycle scripts, but those are no-ops we don't
  43. # need, so we deny them — install still succeeds.
  44. '@google/genai': false
  45. protobufjs: false
  46. node-addon-require-builtin: false
  47. # JSONL durability calls MoveFileExW with write-through publication on Windows.
  48. koffi: true
  49. # The Python runtime deploy includes the reviewed workspace postinstall that
  50. # restores the executable bit on node-pty's macOS spawn helper.
  51. '@deepseek-ai/dsh-subprocess-local@file:packages/subprocess/subprocess-local': true
  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.82.1'
  56. - node-addon-native-custom-loader@0.1.4
  57. - node-addon-require-builtin-darwin-arm64@0.1.4
  58. - node-addon-require-builtin-darwin-x64@0.1.4
  59. - node-addon-require-builtin-linux-arm64-gnu@0.1.4
  60. - node-addon-require-builtin-linux-x64-gnu@0.1.4
  61. - node-addon-require-builtin-win32-arm64-msvc@0.1.4
  62. - node-addon-require-builtin-win32-ia32-msvc@0.1.4
  63. - node-addon-require-builtin-win32-x64-msvc@0.1.4
  64. - node-addon-require-builtin@0.1.4
  65. patchedDependencies:
  66. node-pty@1.1.0: patches/node-pty@1.1.0.patch