Skip to content

fix(agent): adapt aionrs compat API#528

Draft
TCP404 wants to merge 3 commits into
mainfrom
boii/chore/aionrs-main-compat-check
Draft

fix(agent): adapt aionrs compat API#528
TCP404 wants to merge 3 commits into
mainfrom
boii/chore/aionrs-main-compat-check

Conversation

@TCP404

@TCP404 TCP404 commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Bump the embedded aionrs SDK dependencies to v0.1.34.
  • Adapt AionCLI provider compat overrides to the transport-scoped compat API introduced by the provider-contract work.
  • Keep AIONRS=../aionrs just ... usable for local SDK compatibility checks, including nested Cargo commands such as cargo nextest.
  • Clean Rust 1.95 clippy warnings in touched tests.

Context

The provider-contract changes in aionrs moved transport-specific compat fields such as max_tokens_field and api_path under compat.transport. AionCore needs this follow-up so its AionCLI SDK integration compiles and continues to pass provider-health and agent startup override paths against the released aionrs API.

The first CI run failed because this PR already used compat.transport.* while Cargo.toml still pointed at aionrs v0.1.33, where those fields did not exist. The branch now points all aionrs SDK crates at v0.1.34.

Verification

  • AIONRS=../aionrs just build -f
  • CARGO_NET_OFFLINE=true AIONRS=../aionrs just push -u origin HEAD:boii/chore/aionrs-main-compat-check
    • migration immutability check passed
    • cargo fix passed
    • workspace clippy with -D warnings passed
    • cargo fmt --all passed
    • nextest run --workspace: 6534 tests run, 6534 passed, 18 skipped
    • branch pushed to origin/boii/chore/aionrs-main-compat-check
  • GitHub CI on current head 1072958a:
    • Migration Immutability: pass
    • Format: pass
    • Clippy: pass
    • Detect dependency changes: pass
    • Test and Security Audit were still running when this description was updated

TCP404 added 2 commits June 26, 2026 22:37
- Write provider transport overrides through the new compat transport section used by upcoming aionrs releases
- Make the AIONRS local SDK wrapper patch every aionrs crate and pass patch config through cargo-clippy
- Clean Rust 1.95 clippy warnings in affected tests
- Write local aionrs patch config for the duration of each just _cargo run so nested cargo invocations see it
- Restore Cargo.lock and .cargo/config.toml after the command exits
- Keep the aionrs patch and update crate lists in sync
@TCP404 TCP404 marked this pull request as ready for review June 26, 2026 15:19
- Updated aionrs git dependencies from v0.1.33 to v0.1.34 in Cargo.toml
- Refreshed Cargo.lock to pin the new revision
@TCP404 TCP404 marked this pull request as draft June 26, 2026 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant