chore(deps): bump @anthropic-ai/claude-agent-sdk from 0.1.76 to 0.2.56#13044
Merged
kangfenmao merged 2 commits intomainfrom Feb 26, 2026
Merged
chore(deps): bump @anthropic-ai/claude-agent-sdk from 0.1.76 to 0.2.56#13044kangfenmao merged 2 commits intomainfrom
kangfenmao merged 2 commits intomainfrom
Conversation
Update claude-agent-sdk to v0.2.56 and regenerate the spawn→fork patch for the new version (using fork with IPC channel instead of spawn). Co-Authored-By: Claude Opus 4.6 <[email protected]>
Collaborator
Author
EurFelux
approved these changes
Feb 25, 2026
Collaborator
EurFelux
left a comment
There was a problem hiding this comment.
最好能找到不用patch的方案。自从sdk有代码混淆以后就会特别难维护。
Collaborator
|
Note This comment was translated by Claude. When using fork, a terminal window pops up on Mac. This seems difficult to resolve right now. On Windows, it actually works without the patch. Original Content用 fork 的话,在 mac上面会有一个 terminal 弹出来,目前看起来真不好解决,在 windows 其实不用 patch 也是可以的。 |
Collaborator
|
conflicts @DeJeune |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


What this PR does
Before this PR:
@anthropic-ai/claude-agent-sdkwas pinned at v0.1.76 with a patch to replacespawnwithforkfor IPC support.After this PR:
@anthropic-ai/claude-agent-sdkis upgraded to v0.2.56 with the samespawn→forkpatch regenerated for the new version.Why we need it and why it was done in this way
The following tradeoffs were made:
N/A
The following alternatives were considered:
N/A
fix this problem via bump: anthropics/claude-code#8430
Breaking changes
None. The patch applies the same
spawn→forktransformation as before, just targeting the updated minified code in v0.2.56.Special notes for your reviewer
patches/@[email protected]is no longer referenced but was not deleted (pnpm removed the reference automatically).patches/@anthropic-ai__claude-agent-sdk.patchis large in bytes because it diffs minified single-line JS, but the logical change is small (spawn→fork, add IPC stdio, remove windowsHide).Checklist
Release note