Skip to content

chore: add @anthropic-ai/claude-agent-sdk to web app - #33

Closed
davidstrouk wants to merge 1 commit into
mainfrom
chore/add-claude-agent-sdk-to-web
Closed

davidstrouk wants to merge 1 commit into
mainfrom
chore/add-claude-agent-sdk-to-web

Conversation

@davidstrouk

Copy link
Copy Markdown
Collaborator

Summary

Adds @anthropic-ai/claude-agent-sdk v0.2.119 to apps/web/package.json as a dependency. This unblocks the downstream Pro-overlay claudeAgentSdkAdapter that replaces the previously-removed @github/copilot-sdk.

Paired with mama-sh/git.exposed-pro#4 (Pro-side migration).

Test plan

  • pnpm install succeeds with the new dep + regenerated lockfile
  • pnpm --filter=@repo/web typecheck passes
  • Existing tests continue to pass
  • No source file imports the SDK in the open-source repo — it's consumed only by the Pro overlay; including it in the public package.json keeps the workspace install coherent

🤖 Generated with Claude Code

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>
Copilot AI review requested due to automatic review settings April 24, 2026 21:44

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.119 to apps/web dependencies
  • Regenerated pnpm-lock.yaml to 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.

@davidstrouk

Copy link
Copy Markdown
Collaborator Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants