Remove optional flag for 'ai' in peerDependenciesMeta#754
Conversation
fixes #751 The 'ai' package is no longer marked as optional under peerDependenciesMeta in agents/package.json. This change ensures that 'ai' is treated as a required peer dependency.
🦋 Changeset detectedLatest commit: f197523 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Claude Code ReviewSummary: LGTM - This fix correctly addresses the bundle error. Analysis:
Note: While this fixes the immediate issue, there's a broader architectural question about whether dynamic imports of required dependencies is the right pattern (creates confusing DX when bundlers can't resolve them). But that's out of scope for this fix. |
commit: |
fixes #751
The 'ai' package is no longer marked as optional under peerDependenciesMeta in agents/package.json. This change ensures that 'ai' is treated as a required peer dependency.