Skip to content

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 10 Jan 12:14
· 277 commits to main since this release
c5b2109

Architecture release: Unified agent framework and template-based prompts.

Added

  • Unified agent architecture — all LLM-powered operations now use consistent agent.Agent interface with typed parameters
  • SharedContext — user profile and recent topics passed between agents, avoiding redundant DB queries
  • Centralized test mocks — internal/testutil/ package with MockStorage, MockAgent, and test fixtures
  • MockAgent — enables testing of agent-dependent code without LLM calls

Changed

  • Agent migration — Laplace, Reranker, Enricher, Splitter, Merger, Archivist moved to internal/agent/ with dedicated packages
  • Named templates — all i18n prompts migrated from positional %s to named {{.Name}} placeholders for type safety
  • RAG modularization — monolithic rag.go split into focused modules: retrieval, consolidation, session, processing, extraction, vector
  • Test architecture — centralized mocks reduce duplication, .Maybe() pattern handles background loop side effects

Removed

  • Deduplicator remnants — removed unused DeduplicatorParams and memory.consolidation_prompt

Fixed

  • All tests passing — previously skipped tests now work with MockAgent integration