Skip to content

Add @x402r/cli documentation#32

Closed
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/cli-docs-1776819429
Closed

Add @x402r/cli documentation#32
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/cli-docs-1776819429

Conversation

@mintlify

@mintlify mintlify Bot commented Apr 22, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Added new sdk/cli.mdx page documenting @x402r/cli@0.2.0, the wallet-agnostic one-shot payment CLI introduced in backtrackco/x402r-sdk@9830a3b
  • Covers signer configuration (raw key, JSON-RPC, custom module), request options, exit codes, JSON output, programmatic usage, and full export reference
  • Updated sdk/overview.mdx to include the CLI install snippet and a guide card
  • Added sdk/cli to docs.json navigation under SDK > Reference

Generated-By: mintlify-agent
A1igator added a commit that referenced this pull request Jun 1, 2026
)

## Summary

Consolidates all 14 open Mintlify bot PRs into a single PR for review.
Merged oldest-first with `--no-ff -X theirs` so each PR's intent is
preserved as a discrete merge commit and later PRs supersede earlier
ones where they overlap.

## Consolidated PRs

| # | Title |
|---|---|
| #19 | Update SDK docs for @x402r/sdk API and new chain support |
| #20 | Sync SDK docs with contracts v3 API |
| #21 | Replace `refundable()` with `forwardToArbiter()` in SDK docs |
| #22 | Add delivery protection operator docs, fix marketplace operator
signature |
| #24 | Add `forwardToArbiter` docs and named address constants |
| #25 | Document `DeliveryProtectionOperator` preset exports |
| #26 | Update delivery protection SDK docs for v2 |
| #27 | Remove `ArbiterRegistry` references from SDK docs |
| #28 | Add ERC-8004 plugin docs to SDK reference |
| #29 | Update SDK docs to match `@x402r/sdk` 0.2.x API |
| #30 | Add ERC-8004 helpers and `identity.check()` SDK docs |
| #31 | Fix broken internal links in cursor AI tools guide |
| #32 | Add `@x402r/cli` documentation |
| #33 | Document commerce-payments v1 addresses, remove SKALE Base |

## Conflict resolutions

The V2 SDK Getting Started rewrite (#23) landed on `main` after most of
these PRs were opened, so several conflicts had to be resolved:

- **`sdk/installation.mdx`** — V2 rewrite intentionally deleted this
file. Kept the deletion; dropped PR #19, #20, and #24 modifications.
- **`sdk/helpers/refundable.mdx`** — PR #21 deletes this page (replaces
with `forward-to-arbiter.mdx`). Accepted the deletion; later PRs that
modified `refundable.mdx` (PR #24) had their refundable-touching parts
dropped.
- **`docs.json`** — V2 rewrite kept `sdk/helpers/refundable` in nav. PR
#21's `theirs`-strategy merge added `forward-to-arbiter` but the V2
entry for `refundable` was preserved as a dangling reference. Removed in
the final fix commit so the Mintlify build doesn't fail.
- **All other content conflicts** — resolved with `-X theirs` (incoming
Mintlify PR wins). Newer PRs in the chronological merge order override
older PRs where they touch the same lines.

## Verification

- `python3 -m json.tool docs.json` — valid JSON
- All deleted-file references checked: no remaining links to
`sdk/installation` or `sdk/helpers/refundable`
- Diff stat: 29 files changed, ~2,332 insertions, ~2,091 deletions

## Next steps (for reviewer)

1. Skim merge commits in order to see what each upstream PR contributed.
2. After merging, close PRs #19-#22 and #24-#33 with a comment pointing
here.
3. Run `npx mint dev` locally to verify rendering before merging.

---------

Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@A1igator

A1igator commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Consolidated into #35, which has been merged. Closing as superseded.

@A1igator A1igator closed this Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant