Summary
Upgrading to @stackbilt/cli@1.0.0 can fail under npm's peer resolver in real apps unless users pass --legacy-peer-deps.
Repro
In opsbrain repo:
- Existing stack includes
agents@0.12.3 and zod@^3.22.0.
- Run:
npm install --save-dev @stackbilt/cli@1.0.0
- npm fails with
ERESOLVE peer conflict involving agents peer zod@^4.0.0 and a zod v3-resolved tree.
Workaround
npm install --save-dev @stackbilt/cli@1.0.0 --legacy-peer-deps
Why this matters
This creates upgrade friction and can look like Charter itself is incompatible with existing app stacks, even when runtime behavior is fine after install.
Expected
- Either clean install path without
--legacy-peer-deps, or
- Clear documented upgrade guidance for npm users when this conflict pattern exists.
Potential fixes
- Review/transitively constrain peer dependency surface that triggers npm strict resolution conflicts.
- Add release note / docs section with explicit npm upgrade command + explanation.
Summary
Upgrading to
@stackbilt/cli@1.0.0can fail under npm's peer resolver in real apps unless users pass--legacy-peer-deps.Repro
In
opsbrainrepo:agents@0.12.3andzod@^3.22.0.npm install --save-dev @stackbilt/cli@1.0.0ERESOLVEpeer conflict involvingagentspeerzod@^4.0.0and azodv3-resolved tree.Workaround
npm install --save-dev @stackbilt/cli@1.0.0 --legacy-peer-depsWhy this matters
This creates upgrade friction and can look like Charter itself is incompatible with existing app stacks, even when runtime behavior is fine after install.
Expected
--legacy-peer-deps, orPotential fixes