Digital Library

Agent-first digital library. Each book has a free overview
(description + chapter list) at /library/<book>/.
The full manuscript lives at /library/complete/<book>/ (paid via x402).
Individual chapters are under the free overview path. Free teasers are ungated.
Append .md to any content URL for Markdown.

Machine catalog (free, no payment):
/library/discovery.json
— books, chapter prices, free vs paid, HTML + .md URLs.
Per-book: /library/<book-slug>/discovery.json.
REST: /wp-json/x402-library/v1/discovery.

No books imported yet. Drop a conversion batch in /root/x402/books and run /root/x402/import_books.sh.