Skip to content

v2.1.0 — Streaming context + forward-compat primitives

Choose a tag to compare

@SimplyLiz SimplyLiz released this 15 Apr 19:32
· 30 commits to main since this release

See CHANGELOG.md for full detail.

Streaming

  • StreamContext (spec §9.2) — token-budgeted RAG context streaming, EndStream terminator, relevance tiers (cursor → callers → callees → related types), BrokenPipe-safe.
  • protocol_version 1 → 2.
  • lip stream-context CLI subcommand.

New primitives

  • EmbedText — raw-vector access for text (closes gap left by EmbeddingBatch + QueryNearestByText).
  • RegisterTier3Source + IndexStatusResult.tier3_sources — SCIP import provenance. lip import --push-to-daemon registers automatically; --no-provenance opts out.

Forward-compat & capability discovery

  • HandshakeResult.supported_messages — every ClientMessage tag advertised. Drift-guarded by ClientMessage::variant_tag + paired exhaustive-match test.
  • ServerMessage::UnknownMessage — socket stays open; clients downgrade gracefully.
  • ServerMessage::Error { code: ErrorCode } — 8 distinct codes (UnknownModel, EmbeddingNotConfigured, NoEmbedding, CursorOutOfRange, IndexLocked, InvalidRequest, UnknownMessageType, Internal). UnknownModel wired via HTTP error classification — 404s and OpenAI/Ollama-shape model_not_found payloads classify correctly; auth/rate-limit/5xx stay Internal.

Fixed

  • QueryExpansion honors caller's model pin (contract pinned at db layer via query_expansion_terms_rejects_cross_model_scoring).

Compatibility

All new wire fields are #[serde(default)]. Pre-2.1 daemons work with 2.1 clients and vice versa.

What's Changed

  • feat: v2.1.0 — stream_context (token-budgeted RAG context streaming) by @SimplyLiz in #8
  • feat: embed_text — unary text-to-vector embedding by @SimplyLiz in #9
  • feat(2.1): capability discovery + graceful unknown-variant handling by @SimplyLiz in #10
  • feat(2.1): structured error codes on Error responses by @SimplyLiz in #11
  • fix(query_expansion): honor model pin, restrict ranking to matching model by @SimplyLiz in #12
  • feat(2.1): split ErrorCode conflations, drift-guard supported_messages by @SimplyLiz in #13
  • feat(2.1): Tier 3 provenance via RegisterTier3Source by @SimplyLiz in #14
  • feat(2.1): lip import --no-provenance opt-out by @SimplyLiz in #15
  • fix(2.1): wire ErrorCode::UnknownModel + pin QueryExpansion contract by @SimplyLiz in #16
  • Release v2.1.0 by @SimplyLiz in #19

Full Changelog: v2.0.1...v2.1.0

What's Changed

  • feat: v2.1.0 — stream_context (token-budgeted RAG context streaming) by @SimplyLiz in #8
  • feat: embed_text — unary text-to-vector embedding by @SimplyLiz in #9
  • feat(2.1): capability discovery + graceful unknown-variant handling by @SimplyLiz in #10
  • feat(2.1): structured error codes on Error responses by @SimplyLiz in #11
  • fix(query_expansion): honor model pin, restrict ranking to matching model by @SimplyLiz in #12
  • feat(2.1): split ErrorCode conflations, drift-guard supported_messages by @SimplyLiz in #13
  • feat(2.1): Tier 3 provenance via RegisterTier3Source by @SimplyLiz in #14
  • feat(2.1): lip import --no-provenance opt-out by @SimplyLiz in #15
  • fix(2.1): wire ErrorCode::UnknownModel + pin QueryExpansion contract by @SimplyLiz in #16
  • Release v2.1.0 by @SimplyLiz in #19

Full Changelog: v2.0.1...v2.1.0

What's Changed

  • feat: v2.1.0 — stream_context (token-budgeted RAG context streaming) by @SimplyLiz in #8
  • feat: embed_text — unary text-to-vector embedding by @SimplyLiz in #9
  • feat(2.1): capability discovery + graceful unknown-variant handling by @SimplyLiz in #10
  • feat(2.1): structured error codes on Error responses by @SimplyLiz in #11
  • fix(query_expansion): honor model pin, restrict ranking to matching model by @SimplyLiz in #12
  • feat(2.1): split ErrorCode conflations, drift-guard supported_messages by @SimplyLiz in #13
  • feat(2.1): Tier 3 provenance via RegisterTier3Source by @SimplyLiz in #14
  • feat(2.1): lip import --no-provenance opt-out by @SimplyLiz in #15
  • fix(2.1): wire ErrorCode::UnknownModel + pin QueryExpansion contract by @SimplyLiz in #16
  • Release v2.1.0 by @SimplyLiz in #19

Full Changelog: v2.0.1...v2.1.0