$ fullspectrum capture https://example.com --out page.json
Capture recovers structure, not intent. Sections, headings, tables, forms,
navigation, lists and links survive; the rich authoring blocks do not, because once a
cardGrid has been rendered to HTML there is no signal that a div of cards ever
was one. Round-tripping examples/site.json through render → capture returns
sections, headings, tables, a quote, an accordion and the form — with metricRow,
cardGrid, callout and tabs arriving as their
structural equivalents.
It is honest about the cost, too. Hacker News captures to ~17k tokens with all 197 links
and hrefs intact, against ~3.3k for the compacted accessibility tree, which keeps none of
them. The document format is richer and renderable, not cheaper — the
accessibility tree remains the right channel for perception, and PageDocument
the right one for rendering and editing.