docs: standardized page/page_size pagination for service agents#141
docs: standardized page/page_size pagination for service agents#141Alexgodoroja wants to merge 2 commits into
Conversation
- Add a Pagination section (styled + plain) covering the page / page_size filters, bounded merge, and the pagination.next next-page command. - Remove the stale 'replies capped at ~8 KB / ... (truncated) / pass a limit filter' note — agents now return full valid JSON and merge pages. - Add the section to the on-page TOC.
|
🔄 Plain twins auto-regenerated The machine-UI mirrors under Please review the bot commit. Prose is an LLM summary of the source; commands, flags, and numeric specs are copied verbatim. If the |
|
Holding this one pending verification of the feature it documents. Live test today: If the merge/pagination wrapper is rolled out fleet-wide, happy to merge — but as written it replaces a true caveat (8 KB truncation) with a capability that isn't live everywhere, which is the opposite of the accuracy intent. Sibling PRs #139/#140 (privacy scoping, pricing) are verified-correct and merged. |
What
Documents the new fleet-wide pagination on service agents (styled + plain docs).
/docs/service-agents: the standardizedpage/page_sizefilters (translated per-upstream to page/offset/cursor), bounded page merging (up to 5 pages / 500 records), and thepaginationblock that carrieshas_more,total, and the exact ready-to-run next-page command (pilotctl send-message <agent> --data '/data {…}').… (truncated, N bytes total)spliced into the JSON and to "pass alimitfilter." That behavior is gone: agents now return full, valid JSON and merge pages.Verification
npm run buildpasses (364 pages, no errors).bodyContenttemplate literal; braces/tags balanced.Docs review / sensitive-data check
No secrets or API keys anywhere in
src/. One pre-existing item to flag (not touched here, functional bootstrap infra): the rendezvous/beacon endpoint appears as a raw public IP34.71.57.205:9000/9001inplain/docs/troubleshooting.astroandplain/docs/webhooks.astro— consider replacing with a hostname in a follow-up.