Skip to content

v0.1.7

Choose a tag to compare

@tsdata tsdata released this 13 Apr 04:04

What's new

Phase 2: Structured JSON format support — the STM proxy can now parse core's machine-readable search results, closing the feedback loop that compact format couldn't support.

Features

  • StructuredResultParser — parses {"results": [...]} JSON from core's mem_search, preserving chunk_id so increment_access feedback works end-to-end (previously sent sha256 hashes that core rejected)
  • Format negotiation — on startup, calls mem_do(action="version") to detect whether core supports structured output; falls back to compact gracefully against older core versions
  • output_format=structured — automatically sent to mem_search when the structured parser is active

Full changelog

  • 40e57f5 feat(surfacing): implement StructuredResultParser for Phase 2 JSON format
  • 3e70ff4 feat(surfacing): add format negotiation via mem_do(action="version")
  • d94c224 chore: bump version to 0.1.7

1041 tests passing · ruff clean · mypy clean