feat(agent-sdk): migrate to 0.3.270 - #378
Merged
Merged
Conversation
- upgrade the Agent SDK dependency and bridge runtime guard to 0.3.270 - honor permission safety hints and SDK-controlled Task and Todo availability - preserve plural message correlation, permission denials, retry errors, and rate-limit scope - protect prompt caches with held plugin reloads and explicit force confirmation - render staged writes, project memory, and expanded Artifact metadata
- Reopen the Unreleased section - Record the Agent SDK 0.3.270 migration under Features - Record the prompt suggestion lifecycle fix under Fixes
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
0.3.270.verification_requiredandcloud_credential_errorretry classes, and the rate-limitlimit_scopefield end to end.Why
Agent SDK
0.3.270changes several host-facing contracts. Permission requests now carry safety hints the host must respect to avoid presenting unsafe defaults, plugin reloads can be held to protect the prompt cache, and tool results carry new metadata that would otherwise render as opaque JSON. Tracking the release keeps the bridge version guard, the wire types, and the TUI rendering in step with the bundled Claude Code behavior.Closes #372
Validation
cargo fmt --all -- --check,cargo clippy --all-targets --all-features -- -D warnings,cargo test(1820 lib tests),npm --prefix agent-sdk test(392 tests),npm --prefix agent-sdk run lint,npm --prefix agent-sdk run knip,npm --prefix agent-sdk run audit.Notes
CHANGELOG.mdgains Unreleased entries for this PR and fix(input): clear SDK prompt suggestion only after a prompt is dispatched #377.