Repository navigation
feat(agent-sdk): integrate SDK 0.3.302 capabilities - #496
Merged
Merged
Conversation
- pin root and bridge SDK dependencies and lockfiles to 0.3.302 - propagate overage metadata and correct startup and authentication handling - verify SDK launch arguments, history parsing, and usage attribution - fix Windows fixtures and isolate test profiles from user preferences - document configuration overrides and troubleshooting guidance
- attribute subagent messages and preserve task ancestry across runs - centralize run admission and replace bridge-composed task metadata - correlate transcript reads and stop requests with execution identity - share fork model presentation and document subagent behavior - cover lifecycle races and stabilize Windows auth spawn failure tests
- discover saved agents at every depth through the SDK - restore ancestry and outcomes into the existing task inventory - preserve live execution state and main chat transcript behavior - cover repeated resume, refresh, and lifecycle races - document saved agent discovery and restoration
- expose continue and block policies for command and HTTP hooks - add scoped idle compaction preferences with reset and availability guidance - verify native SDK behavior and persistence with isolated test fixtures - cover settings controls and compaction lifecycle handling and document semantics
- add a Session plugin list and local folder input to /plugins - preserve folder intent through correlated held reloads and report partial errors - restore confirmed attachments during same-session replacement and resume - retain session-owned MCP servers and route management to their plugin source - add native SDK and terminal regressions and document attachment lifetime
- preserve SDK next-run and queue timestamps across live results and saved replay - apply shared clock preferences and refresh cached tool cards when they change - keep result identities and timestamps visible in bounded previews - add cross-layer fixtures, terminal regression coverage, and usage documentation
- support typed fields, defaults, omission and schema validation - queue requests and correlate responses, cancellation and URL completion - preserve drafts on send failure and keep headings fixed while scrolling - add SDK transport, rendering and terminal regression coverage - document MCP form behavior and keyboard controls
- verify day and week attribution values and display limits - cover native citation streaming and replay deduplication - verify exact SDK argument delivery to child processes - document argument ownership and citation projection boundaries
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
Upgrade the pinned Agent SDK from 0.3.288 to 0.3.302 and integrate its session, task and interaction capabilities into the existing terminal workflows.
/agentswith producer attribution, task ancestry, distinct execution runs and inherited fork-model presentation. Restore saved nested agents independently of chat replay, and correlate transcript reads and stop requests with their intended run.Why
The SDK upgrade introduces task-run identities and interaction contracts that need host integration. A resumed agent now keeps one stable task row while stale events, transcript reads and stop acknowledgements from an earlier execution cannot overwrite its current state. Plugin loads and MCP requests expose their actual SDK outcomes through the existing controls.
Closes #421
Validation
cargo fmt --all -- --check,cargo clippy --all-targets --all-features -- -D warnings,cargo test --all-features -- --test-threads=1andcargo fetch --lockedpassed. The terminal suite passed 55 tests; its existing system-clipboard test is intentionally ignored locally.Notes