diff --git a/README.md b/README.md index bd4cc38..f222ce9 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,31 @@ -# Fax for Agents examples - -Runnable examples against the sandbox of Fax for Agents, . +

+ Fax for Agents +

+ +

Fax for Agents examples

+ +

Runnable examples against the sandbox of Fax for Agents, the fax API built for AI agents.

+ +

+ Website · + Quickstart · + API reference · + SDKs · + MCP · + Dashboard · + Pricing · + Changelog · + GitLab +

+ +

+ CI + MIT licence + Sandbox, no cost +

Fax for Agents is a fax API, a hosted MCP server and SDKs built so AI agents can send and receive faxes. It is made by JSB Holdings LLC and built by [Synapse](https://synapsereality.io/). -The repository is mirrored on [GitLab](https://gitlab.com/faxforagents/examples). Every example needs a test key (`ffa_test_...`), created at , in `FAXFORAGENTS_API_KEY`. A test API key reaches the sandbox only. No carrier, no cost, the destination diff --git a/scripts/truthcheck.sh b/scripts/truthcheck.sh index f7f6e57..6307159 100644 --- a/scripts/truthcheck.sh +++ b/scripts/truthcheck.sh @@ -3,10 +3,12 @@ # not on the card. Provenance: faxforagents/openapi scripts/truthcheck.sh (2026-10-28). The # examples are copy a customer reads, so nothing is exempt. # -# The price card (price_version launch-v1, 2026-10-28): $0.039 per page sent, $0.019 per page +# The price card (price_version launch-v2, effective 2026-10-31): $0.039 per page sent, $0.019 per page # received, $2 per number per month, $19 per month workspace. Any other dollar amount in copy is stale # or invented. Claims the product does not make: HIPAA, "the first", "cheapest". Competitors are never # named. CHANGELOG.md is exempt from the price rule (dated entries quote the card as it stood). +# One fax by card (published 2026-11-11): $2.49 for up to 5 pages to a US or Canadian number, cover +# included, $0.49 per extra page. A file that states either amount states that date too (rule 6). set -u cd "$(dirname "$0")/.." || exit 1 @@ -23,10 +25,10 @@ flag() { prices=$(printf '%s\n' "$FILES" | xargs grep -noE '\$[0-9][0-9,]*(\.[0-9]+)?.?' 2>/dev/null \ | grep -vE '\$[0-9]+[")}]$' \ | sed -E 's/([0-9])[^0-9]$/\1/' \ - | grep -vE ':\$(0\.039|0\.019|2|2\.00|19|19\.00)$' || true) + | grep -vE ':\$(0\.039|0\.019|2|2\.00|19|19\.00|2\.49|0\.49)$' || true) if [ -n "$prices" ]; then printf '%s\n' "$prices" >&2 - flag "a dollar amount that is not on the price card (0.039, 0.019, 2, 19)" + flag "a dollar amount that is not on the price card (0.039, 0.019, 2, 19, and 2.49, 0.49 for one fax by card)" fi # 2) Claims the product does not make. @@ -58,11 +60,18 @@ fi # 5) Anchors that have to be present wherever prices are described. if printf '%s\n' "$FILES" | xargs grep -lq '\$0\.039' 2>/dev/null; then - if ! printf '%s\n' "$FILES" | xargs grep -q '2026-10-28' 2>/dev/null; then - flag "a price is stated without its date (2026-10-28)" + if ! printf '%s\n' "$FILES" | xargs grep -q '2026-10-31' 2>/dev/null; then + flag "a price is stated without its date (2026-10-31)" fi fi +# 6) A one-time amount is stated only in a file that also states the day it was published. +for f in $(printf '%s\n' "$FILES" | xargs grep -lE '\$(2\.49|0\.49)' 2>/dev/null); do + if ! grep -q '2026-11-11' "$f"; then + flag "$f states a one-time price without its date (2026-11-11)" + fi +done + if [ "$fail" -eq 0 ]; then echo "truthcheck: OK" fi