Skip to content

v0.6.3 - Security fixes + README example fixes

Choose a tag to compare

@slb350 slb350 released this 30 Apr 02:28
· 197 commits to main since this release

Fixed

Security

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"