Fixed
Security
- rustls-webpki 0.103.10 → 0.103.13
- rand 0.8.5 → 0.8.6 (RUSTSEC-2026-0097 unsoundness warning)
Docs (#6)
- README's 8
client.receive() snippets used a stale signature that no longer compiled against the v0.4.0+ Result<Option<ContentBlock>> return type.
- All snippets updated to:
while let Some(block) = client.receive().await? {
match block { ... }
}
- Manual tool execution snippet now clones the borrowed
tool_use.input() reference.
Lint
- Fix
clippy::unnecessary_sort_by in log_analyzer_agent example (rust 1.95).
Verification
cargo audit: clean
cargo test: 151 passed
cargo clippy --all-targets -- -D warnings: clean
cargo fmt --check: clean
Install
[dependencies]
open-agent-sdk = "0.6.3"