Skip to content

@yolfi/agent v0.2.0

Choose a tag to compare

@yolfipay yolfipay released this 20 Jul 12:21
· 1 commit to main since this release

Highlights

  • Add browser-based agent setup and one-time check-in for existing Yolfi accounts.
  • Add email-confirmed registration for new users; credentials are issued only after confirmation and are redacted from CLI/MCP output.
  • Bundle local MCP configuration and payment skills for Codex and Claude Code.
  • Add protected local credential storage, atomic cross-process config updates, and strict agent credential validation.
  • Store webhook signing secrets locally during create/rotate without exposing plaintext through CLI stdout or MCP transcripts.
  • Expand MCP schemas, runtime validation, prompts, paylink fields, payment customer fields, and webhook endpoint management.
  • Add webhook metadata filters with canonical website_id analytics routing.
  • Update the English guide and nine translated guides.
  • Test the package on Node.js 18, 20, and 22 in CI.

Behavior changes

  • YOLFI_API_BASE_URL is no longer a public environment override; the SDK uses the canonical Yolfi production API URL. Explicit apiBaseUrl constructor injection remains available for tests and controlled embedding.
  • New-user registration now requires an email confirmation step and a repeated registration/check-in call.
  • Local webhook verification uses a stored endpoint id, or an explicitly managed YOLFI_WEBHOOK_SECRET for CI/deployed environments; plaintext secrets are no longer accepted as MCP arguments or CLI flags.

Install

npm install @yolfi/agent@0.2.0

Full changelog: v0.1.4...v0.2.0