Skip to content

@paybond/kit 0.9.8

Choose a tag to compare

@nonameuserd nonameuserd released this 19 Jun 22:01

Release @paybond/kit 0.9.8 with Gateway spend policy enrichment for delegated agent spend controls.

Highlights

  • Gateway-enriched verify responsesverifyCapability / authorizeSpend now parse spend-policy fields from POST /verify, including decision_id, approval_request_id, policy_version, reason_codes, spend_scope, remaining_cents, and retry_after.
  • Approval holds vs hard denials — new PaybondSpendApprovalRequiredError distinguishes operator-approval holds from PaybondSpendDeniedError policy denials in guardTool, authorizeSpend, and runtime adapters.
  • Richer authorization metadataPaybondSpendAuthorizationInput forwards vendor_id, task_id, workflow_id, tool_call_id, approval_token, and idempotency_key to Gateway spend policy evaluation.
  • Reservation lifecycleguardTool finalizes spend decisions via completeSpendDecision after handler success (consumed) or failure (released).
  • MCP registry metadataserver.json and MCP server version bumped to 0.9.8.

Install

npm install @paybond/kit@0.9.8

Docs