mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-12-04 06:21:59 +09:00
@claude-flow/cli 3.74.1 and 3.75.0 (and the claude-flow umbrella) bundle @claude-flow/security 3.0.7, which needs zod >=4.6.7, while the wrappers keep zod 3. The staging script stripped the nested dependencies, so security's `import 'zod'` resolved to zod 3 and the root export threw `z.config is not a function`. Declaring the dependency is not enough: npm never installs the dependencies of a bundled package (checked against the 3.75.0 tarball). The stager now vendors declared leaf dependencies into the bundled package's own node_modules, checks the workspace copy satisfies the declared range, and refuses a dependency that has dependencies itself. The npx-install smoke now imports every bundled runtime package from the installed CLI, so this fails CI instead of users. Co-Authored-By: RuFlo <ruv@ruv.net>