chore: bump @anthropic-ai/claude-agent-sdk 0.2.73 -> 0.2.138#450
Open
gewenyu99 wants to merge 1 commit into
Open
chore: bump @anthropic-ai/claude-agent-sdk 0.2.73 -> 0.2.138#450gewenyu99 wants to merge 1 commit into
gewenyu99 wants to merge 1 commit into
Conversation
Pulls in ~65 patch versions of fixes. Also migrates the deprecated `'Skill'` entry in `allowedTools` to the new top-level `skills: 'all'` option (SDK >=0.2.133). Behavior is unchanged: every skill discovered under `.claude/skills/` (via `settingSources: ['project']`) is still enabled. Note: `TodoWrite` is also flagged as deprecated in the SDK changelog (0.2.136), but the announced replacement tools (`TaskCreate`/`TaskGet`/ `TaskUpdate`/`TaskList`) do not yet have type definitions or tool entries in 0.2.139's `sdk.d.ts`. Leaving the existing TodoWrite interception in `agent-interface.ts` untouched until the replacement actually ships. Generated-By: PostHog Code Task-Id: 750b6719-988d-435f-ae85-a7d75ecfdf1c
🧙 Wizard CIRun the Wizard CI and test your changes against wizard-workbench example apps by replying with a GitHub comment using one of the following commands: Test all apps:
Test all apps in a directory:
Test an individual app:
Show more apps
Results will be posted here when complete. |
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.
Summary
@anthropic-ai/claude-agent-sdkfrom0.2.73to0.2.138(~65 patch versions of fixes).'Skill'entry inallowedToolsto the new top-levelskills: 'all'option (SDK ≥0.2.133). Behavior unchanged — every skill discovered under.claude/skills/viasettingSources: ['project']is still enabled. Per the SDK docs, omittingskillsis not "skills off", so we set'all'explicitly.pnpm-lock.yamlregenerated.Notable changelog items between 0.2.73 → 0.2.138
options.envnow replacesprocess.envfor the CLI subprocess (was overlay)agent-interface.tsalready spreads...process.env'Skill'inallowedToolsdeprecated → useskillsoptionTodoWritedeprecated → future SDKs will route through Task tools (TaskCreate/TaskGet/TaskUpdate/TaskList)Why
TodoWriteis deferredThe announced replacement (
TaskCreate/TaskGet/TaskUpdate/TaskList) does not yet have type definitions or tool entries in 0.2.138 or 0.2.139'ssdk.d.ts— the 0.2.136 changelog entry is forward-looking only. The existingSDKTaskStarted/SDKTaskUpdated/SDKTaskNotificationsystem messages refer to the SDK's subagent/background-task system (driven by theTasktool already inallowedTools), not a TodoWrite replacement.TodoWritestill works in 0.2.138, so the UI'ssyncTodosinterception inagent-interface.ts:1217-1225and the commandment atcommandments.ts:24are left as-is. Worth revisiting once the replacement tools actually ship.Why 0.2.138 (not 0.2.139)
0.2.139 was published 2026-05-11 (today, only a few hours before this PR). 0.2.138 published 2026-05-09 satisfies a >24h release-age window. No new deprecations between 0.2.137 → 0.2.139 — those entries are all "Updated to parity with Claude Code v2.1.x".
Test plan
pnpm typecheckpnpm build(includestest:smoke—node --input-type=module -e "import './dist/bin.js'"greps for"PostHog Wizard")pnpm jest— 596/600 passing, 3 skipped, 1 pre-existing flake (provision-cli.test.ts:141times out under parallel load; passes in isolation against both pre- and post-change code)src/lib/__tests__/agent-interface.test.ts— 12/12 passingSkill— verifiesskills: 'all'replaces theallowedToolsentryGenerated-By: PostHog Code
Task-Id: 750b6719-988d-435f-ae85-a7d75ecfdf1c