Repository navigation
chore: add @anthropic-ai/claude-agent-sdk to web app - #33
davidstrouk wants to merge 1 commit into
Conversation
Also adds the same dep to pro/apps/web/package.json (the overlay's package.json takes precedence in the build/ directory). This is a prerequisite for the claudeAgentSdkAdapter implementation (issue #4). A followup PR against the public repo is needed to upstream the open-source/ package.json change. Part of #4. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Adds @anthropic-ai/claude-agent-sdk to the web workspace to keep installs coherent for a downstream Pro overlay adapter.
Changes:
- Added
@anthropic-ai/claude-agent-sdk@^0.2.119toapps/webdependencies - Regenerated
pnpm-lock.yamlto include the new package and its transitive dependencies (including platform-specific optional packages)
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| apps/web/package.json | Adds @anthropic-ai/claude-agent-sdk as a runtime dependency for the web app workspace. |
| pnpm-lock.yaml | Updates lockfile to resolve the new dependency and its transitive/optional platform packages. |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Closing — this dep belongs only in the Pro overlay's package.json, not the public repo. No code in the open-source repo imports @anthropic-ai/claude-agent-sdk; adding it here would just carry dead weight in the public-repo dependency tree. The Pro overlay's build merges its own package.json on top during ./scripts/build.sh, and pnpm install regenerates the build/ lockfile to include the dep correctly. Keeping the public repo clean. |
Summary
Adds
@anthropic-ai/claude-agent-sdkv0.2.119 toapps/web/package.jsonas a dependency. This unblocks the downstream Pro-overlayclaudeAgentSdkAdapterthat replaces the previously-removed@github/copilot-sdk.Paired with mama-sh/git.exposed-pro#4 (Pro-side migration).
Test plan
pnpm installsucceeds with the new dep + regenerated lockfilepnpm --filter=@repo/web typecheckpassespackage.jsonkeeps the workspace install coherent🤖 Generated with Claude Code