aimarket_agent 0.2.1
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 parkedhub.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.invokeaccepts an optionalverifyparameter, sent verbatim as theverifyrequest block.InvokeResultgains the optionalverificationenvelope field.- A verified invoke with
verify.waitis 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.