hearth v0.4.0 - Recall
hearth v0.4.0 - "Recall"
This release makes hearth's knowledge work for you automatically, and makes the OpenAI endpoint feel native.
Auto-recall
Agents now start grounded. Before a run begins, hearth retrieves the knowledge-base chunks and memory lessons most relevant to the goal and injects them into the agent's context, so background workers and swarm specialists draw on your documents and on what past runs learned without having to search first. Best-effort and behind a flag, so it never gets in the way.
Real token streaming
The OpenAI-compatible endpoint (/v1/chat/completions with stream: true) now forwards the local model's tokens as they arrive, instead of a single chunk. Cursor, Continue, and any OpenAI client get native token-by-token output, and the run is still recorded to the audit log on completion.
Notes
Auto-recall uses the v0.3 knowledge base and the existing memory store; with both empty it is a silent no-op. Retrieval is still local TF-IDF (semantic embeddings remain a clean future upgrade behind the existing seam). Docs: https://ericfinland.github.io/hearth/