From e516c208bc77c6f1997d6cddb59ded18c49cc5db Mon Sep 17 00:00:00 2001 From: Abir Abbas Date: Mon, 1 Jun 2026 11:01:08 -0400 Subject: [PATCH 1/2] docs: lead quickstart with `af call`, keep curl as HTTP alternative The af CLI (af >= 0.1.86) ships `af call .`, which streams live progress and prints the result in a single command. Make it the primary trigger in the README so the first-run experience is friction-free, and keep the curl example right below as the raw-HTTP alternative. Co-Authored-By: Claude Opus 4.8 (1M context) --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 9315c9f..2fb2a06 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,14 @@ Other tools run a single LLM pass over the diff with a fixed checklist. PR-AF ** ## One-Call DX +Trigger it with the `af` CLI (requires af ≥ 0.1.86) — it streams live progress and prints the result: + +```bash +af call pr-af.review --in '{"pr_url": "https://github.com/owner/repo/pull/123"}' +``` + +Prefer raw HTTP? Hit the API directly with curl: + ```bash curl -X POST http://localhost:8080/api/v1/execute/async/pr-af.review \ -H "Content-Type: application/json" \ From b3b7535f849a4bda9852ede376264d9ca4b28804 Mon Sep 17 00:00:00 2001 From: Abir Abbas Date: Mon, 1 Jun 2026 13:52:14 -0400 Subject: [PATCH 2/2] docs: require af >= 0.1.87 for the af call example The optional-parameter validation fix landed in af 0.1.87 (agentfield #610), so af call works for every reasoner input shape. Bump the version note. Co-Authored-By: Claude Opus 4.8 (1M context) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2fb2a06..c0fad79 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ Other tools run a single LLM pass over the diff with a fixed checklist. PR-AF ** ## One-Call DX -Trigger it with the `af` CLI (requires af ≥ 0.1.86) — it streams live progress and prints the result: +Trigger it with the `af` CLI (requires af ≥ 0.1.87) — it streams live progress and prints the result: ```bash af call pr-af.review --in '{"pr_url": "https://github.com/owner/repo/pull/123"}'