Skip to content

feat(agent-sdk): migrate to 0.3.270 - #378

Merged
srothgan merged 2 commits into
mainfrom
migrate/agent-sdk-0.3.270
Sep 13, 2026
Merged

srothgan merged 2 commits into
mainfrom
migrate/agent-sdk-0.3.270

Conversation

@srothgan

@srothgan srothgan commented Sep 13, 2026

Copy link
Copy Markdown
Owner

Summary

  • Upgrade both Agent SDK package surfaces and the bridge runtime version guard to 0.3.270.
  • Honor the SDK's permission safety hints: default the permission prompt to the deny option when the SDK asks for it, and suppress the "Always allow" rule when the SDK marks a request as session-only.
  • Let the SDK control Task and Todo tool availability instead of assuming they exist.
  • Preserve plural user-message correlation, result-level permission denials, the new verification_required and cloud_credential_error retry classes, and the rate-limit limit_scope field end to end.
  • Hold session plugin reloads that would invalidate the prompt cache, surface the sanitized cache impact in a confirmation overlay, and only force the reload on explicit confirmation.
  • Render staged Write output, project memory list and read results, and the expanded Artifact publish and asset ownership metadata.

Why

Agent SDK 0.3.270 changes 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

  • Automated: 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.
  • Manual: Not exercised interactively.
  • Screenshot/video (if UI changed): N/A

Notes

  • Breaking changes: None expected. Existing permission flows keep their previous defaults unless the SDK sends the new hints.
  • Docs updated: CHANGELOG.md gains Unreleased entries for this PR and fix(input): clear SDK prompt suggestion only after a prompt is dispatched #377.
  • Governance/release impact: Ships the Agent SDK and bundled Claude Code parity update together with the host features it enables.

- 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
@srothgan srothgan added type: feature New feature or capability type: dependencies Dependency updates area: tui Terminal UI, rendering, input, and keymap area: core App lifecycle, runtime, agent, and session core area: agent-sdk Bun bridge and Agent SDK integration labels Sep 13, 2026
- Reopen the Unreleased section
- Record the Agent SDK 0.3.270 migration under Features
- Record the prompt suggestion lifecycle fix under Fixes
@srothgan
srothgan merged commit 524876f into main Sep 13, 2026
19 checks passed
@srothgan
srothgan deleted the migrate/agent-sdk-0.3.270 branch September 13, 2026 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: agent-sdk Bun bridge and Agent SDK integration area: core App lifecycle, runtime, agent, and session core area: tui Terminal UI, rendering, input, and keymap type: dependencies Dependency updates type: feature New feature or capability

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Agent SDK update available: 0.3.258/0.3.258 -> 0.3.263

1 participant