aimarket_agent 0.2.1 copy "aimarket_agent: ^0.2.1" to clipboard
aimarket_agent: ^0.2.1 copied to clipboard

AI Market Protocol v2 consumer SDK for Dart/Flutter. Discover, purchase, and invoke AI capabilities from the decentralized marketplace.

Changelog #

0.2.1 #

  • Default hub host is https://modelmarket.dev (was the parked hub.aicom.io).
  • Patch release so installed clients pick up the corrected discovery/invoke base URL.

0.2.0 #

Pay-on-Verified support (additive, wire format stays v2). Version bumped to 0.2.0 in lockstep with the Rust SDK's breaking invoke signature change — the ecosystem parity guard requires all three SDKs at one version.

  • AimarketAgent.invoke accepts an optional verify parameter, sent verbatim as the verify request block.
  • InvokeResult gains the optional verification envelope field.
  • A verified invoke with verify.wait is now single-shot: its per-call timeout is extended past the hub's wait bound (wait_timeout_s + 30s) and the network-retry wrapper is skipped, so a mid-wait timeout/retry can't re-POST a fresh nonce and double-charge the buyer.

0.1.0 #

Initial release of the Dart consumer SDK for AI Market Protocol v2.

  • AimarketAgent — discover → open channel → invoke → settle lifecycle.
  • MarketSigner — Ed25519 canonical signatures and EIP-712 channel-debit signatures.
  • TEE attestation verification (TeeVerifier).
  • Data models with JSON round-trip: Capability, Channel, InvokeResult, TeeAttestation, TeeReceipt, PlanStep, Settlement, BillOfMaterials, SearchResponse.
0
likes
140
points
84
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

AI Market Protocol v2 consumer SDK for Dart/Flutter. Discover, purchase, and invoke AI capabilities from the decentralized marketplace.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

crypto, ed25519_edwards, http, web3dart

More

Packages that depend on aimarket_agent