Repository navigation
chore(deps): bump @anthropic-ai/claude-agent-sdk to 0.3.273 - #1594
Merged
Merged
Conversation
1 task
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.
Bumps
@anthropic-ai/claude-agent-sdkfrom 0.3.260 to 0.3.273 (range^0.3.252→^0.3.273). Onlypackage.jsonandbun.lockchange.Why 0.3.273 and not 0.3.280: 0.3.280 was published on 2026-09-22, so
minimumReleaseAge(7 days,bunfig.toml) blocks it. 0.3.273 is the newest release that clears the policy, and the policy is left unchanged. 0.3.280 becomes eligible on 2026-09-29 and can come in through the normal Dependabot flow.Compatibility
@anthropic-ai/sdk >=0.93.0,@modelcontextprotocol/sdk ^1.29.0,zod ^4.0.0).packages/ai/providers/claude-agent-sdk.ts) is the only code that imports the SDK, and it loads it at runtime. The review, guide and tour Claude jobs launch the CLI directly and don't use the SDK. The Pi extension vendors the provider's source file but does not depend on the SDK. No built output is committed, so nothing needed a rebuild.Changelog notes (0.3.261 to 0.3.273)
cwdoption at each new user message. Now acdthe agent makes carries over, as it does in the interactive app. Effect on Ask AI: a follow-up question in the same session (which resumes the session) now starts in whatever directory the previous turn left the shell in, not the sessioncwd. Relative paths in a follow-up resolve from there. The provider'scwdstill sets where the session starts.user_message_uuid/user_message_uuidsare now set on synthetic turns and on turns Claude Code starts itself. The provider doesn't read them.claude_codepreset plus its append only on the first query and resumes after that, so its behavior is unchanged.allowedTools, so this doesn't affect it.setModel()now checks a model id it doesn't know with the API instead of refusing it.defaultToNoandsuppressAlwaysAllowRulehints to thecanUseTooloptions, andresult_index,resume_reasonandlocal_commandto messages. All of these are additive.canUseTooleven whenallowDangerouslySkipPermissionsis set. The provider sets that flag only withbypassPermissions, so this doesn't affect it. Also fixesresult.permission_denialsleaving out Read, Edit and Write calls blocked by a path-scoped deny rule.omitClaudeMdtoAgentDefinitionand removespersistentfrom theMonitorInputtool type. The provider uses neither.usage_reportfor headless/usage.Seen with a newer CLI: with Claude Code 2.1.280, a resumed session's result
total_cost_usdcontinues from the earlier turns instead of starting at zero, so the provider'scostUsdon a follow-up covers the whole session. Nothing in the repo readscostUsdtoday.Verification
bash apps/pi-extension/vendor.shthenbun run typecheck: clean.bun test: 4991 pass, 1192 skip, 0 fail (6183 tests across 536 files).bun test packages/ai: 132 pass, 0 fail.ClaudeAgentSDKProviderdirectly. It used a temporaryPLANNOTATOR_DATA_DIR(still empty afterwards) and opened no browser. It created a plan-review session onclaude-haiku-4-5and sent two queries, the second resuming the session. It ran twice:text_delta→text→result success) with the same session id both times, in about 6.7 s and 3.9 s. The process exited cleanly (exit 0).claude2.1.280 viaclaudeExecutablePath: the same result, in about 2.4 s and 2.2 s, exit 0.supportedModels()answered in both setups:default,opus[1m],claude-fable-5-1[1m],sonnet,haiku.