Skip to content

feat(agent-wallet): reroute spending operations through zbd.ai shield#2

Merged
andrerfneves merged 2 commits intomainfrom
feat/shield-routing-agent-wallet
Feb 28, 2026
Merged

feat(agent-wallet): reroute spending operations through zbd.ai shield#2
andrerfneves merged 2 commits intomainfrom
feat/shield-routing-agent-wallet

Conversation

@andrerfneves
Copy link
Contributor

Summary

  • reroute spending operations through zbd.ai shield endpoints (/api/shield/send, /api/shield/withdraw, /api/shield/payout)
  • add deterministic shield error mapping for allowance_exceeded and pending_approval envelopes
  • add graceful degradation to direct ZBD API paths when shield is unreachable, with expanded CLI coverage

Verification

  • npm --prefix agent-wallet run build
  • npm --prefix agent-wallet test

@andrerfneves andrerfneves merged commit 9894d17 into main Feb 28, 2026
1 check passed
@andrerfneves andrerfneves deleted the feat/shield-routing-agent-wallet branch February 28, 2026 20:24
@github-actions
Copy link

🎉 This PR is included in version 1.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant