fleet-memory/hindsight-clients/python
Nicolò Boschi 3c633e5e16
feat: add retain update_mode='append' for document content concatenation (#932)
* feat: add update_mode='append' for retain to concatenate content to existing documents

When retaining with update_mode='append' and a document_id that already exists,
the new content is appended to the existing document text and the full document
is reprocessed. Delta retain automatically skips unchanged chunks, so only the
new content triggers LLM extraction.

- Add update_mode field to MemoryItem (API), RetainContentDict (internal), MCP tools
- Validate that update_mode='append' requires a document_id
- Fetch existing document content and prepend before processing in orchestrator
- Update Python, TypeScript, Go generated clients and top-level client wrappers
- Add tests for append, multiple appends, no-existing-doc, validation, and default replace

* fix: add update_mode field to Rust CLI and client MemoryItem initializers

* chore: regenerate docs skill references for update_mode
2026-04-08 14:39:16 +02:00
..
.openapi-generator feat: bank template import/export with Template Hub (#819) 2026-04-02 12:21:53 +02:00
hindsight_client feat: add retain update_mode='append' for document content concatenation (#932) 2026-04-08 14:39:16 +02:00
hindsight_client_api feat: add retain update_mode='append' for document content concatenation (#932) 2026-04-08 14:39:16 +02:00
tests feat: include occurred_end and mentioned_at in think-prompt fact serialization (#929) 2026-04-08 10:33:14 +02:00
.openapi-generator-ignore rename to hindsight (#2) 2025-11-25 19:28:26 +01:00
openapi-generator-config.yaml doc: changelog for 0.2.0 (and regenerate clients) (#99) 2026-01-05 12:36:29 +01:00
pyproject.toml Release v0.4.22 2026-03-31 18:14:59 +02:00
README.md fix py client 2025-12-05 01:03:07 +01:00

Hindsight Python Client