Skip to content

v0.1.2: retrievable text overflow for ris_get_document

Choose a tag to compare

@cyanheads cyanheads released this 10 Jul 01:11
v0.1.2
c6fcad4

retrievable text overflow for ris_get_document

ris_get_document no longer truncates oversized document text — it returns a retrievable §/Artikel/Anlage section outline instead, with selective re-call by name.

Added:

  • sections input param on ris_get_document for selective section re-call after an outline
  • kind output discriminator (full | outline) plus an outline sections array (name + byte size)

Fixed:

  • Oversized documents return a navigable §/Artikel/Anlage outline instead of an irreversible truncation; the ris://document/... resource degrades the same way, pointing back at the tool for section selection (#4)

262 tests pass; bun run devcheck clean.

CHANGELOG v0.1.2