agent-first-pay 0.7.0

A payment tool for AI agents — send and receive across five networks through one interface, with spending limits you control.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use agent_first_data::{OutputFormat, RedactionPolicy};

pub fn render_value_with_policy(value: &serde_json::Value, format: OutputFormat) -> String {
    if format == OutputFormat::Json
        && value.get("code").and_then(|v| v.as_str()) == Some("wallet_seed")
    {
        agent_first_data::output_json_with(value, RedactionPolicy::RedactionNone)
    } else {
        agent_first_data::cli_output(value, format)
    }
}