Skip to content

v0.7.0

Choose a tag to compare

@ryanio ryanio released this 10 May 00:09
· 52 commits to main since this release

What's Changed

Minor Changes

  • Add --predicate-config flag to register command (F4d) — bundle predicate setup with registration; CLI now identifies predicate type via name() and validates --access-predicate addresses (#288)
  • Add set-collections, get-collections, and set-collection-tokens CLI commands for managing ERC-721/ERC-1155 collection gates on already-registered tools (F4c) (#283)
  • Fix --nft-gate broken end-to-end on Base mainnet (F4a) — register now queries the registry's version() and selects the matching predicate deployment automatically. Adds ERC721_OWNER_PREDICATE_V1 deployment, getPredicateForRegistryVersion(), and registryVersion option to PredicateClientConfig (#282)
  • Add --auth siwe flag to the pay CLI command — uses paidAuthenticatedFetch (SIWE + x402 payment) instead of payment-only flow; auto-enables when --manifest has an access block (#287)
  • Add SubscriptionPredicateClient and CompositePredicateClient typed clients matching tool-registry example predicates. Add missing CollectionsSet event to ERC721OwnerPredicateABI (#281)
  • BREAKING: Remove deprecated nftGate middleware and NFTGateConfig. Use predicateGate({ toolId }) with --access-predicate instead (#280)

Patch Changes

  • Treat 4xx probe responses (e.g. 400 from Zod validation) as endpoint reachable instead of printing a misleading WARN. Only 5xx responses are flagged as failures (F4g) (#284)
  • Treat 402 with valid accepts array as auth-OK in smoke command — paywalled tools no longer fail smoke tests after SIWE auth (#286)

Full Changelog: v0.6.0...v0.7.0