Skip to content

v0.1.5

Choose a tag to compare

@tsdata tsdata released this 13 Apr 02:45

Critical

  • Fix mem_search response parser for real core format — the _parse_results() regex expected a --- [score] source --- format that no real memtomem-server ever produced; core's actual compact output ([rank] score | source > hierarchy) was collapsed into a single garbage result with wrong score. Rewritten to match core's _format_compact_result output.
  • Forward context_window to MCP callcontext_window configured in SurfacingConfig was silently swallowed by **kwargs and never sent to the core server.

Fixes

  • Normalize list[str] namespace to comma-separated string before MCP call
  • Widen source-file regex from .md-only to any file extension
  • Widen namespace badge regex to support hyphens, dots, and other non-word characters
  • Fix mypy errors in observability/tracing.py

Testing

  • 975 automated tests (up from 963)
  • New test_core_format_contract.py — 12 contract tests with snapshots of core's real formatter output