fleet-memory/hindsight-clients/python
Nicolò Boschi 627ec5d524
feat: expose document_metadata in API and control plane (#798)
* feat: expose document_metadata in API and control plane

Add document_metadata (sourced from retain_params.metadata) to both
list and get document endpoints. Display it in the control plane
documents table and detail panel. Drop the unused metadata column
from the documents table (was always stored as empty {}).

* fix: code review fixes for document_metadata feature

- Remove unnecessary `import json as _json` (json already imported at module level)
- Simplify redundant truthiness checks in retain_params parsing
- Regenerate OpenAPI spec and client SDKs (Python, TypeScript, Go)
- Add tests for document_metadata in get_document and list_documents

* feat(ui): improve documents table and detail panel

- Relative timestamps with full date on hover
- Remove context column from table
- Metadata shown as k=v badges (blue, like tags)
- Size in bytes instead of chars
- Document IDs wrap instead of truncating
- Detail panel wider (560px)
- Retain params: context, event_date, metadata badges
2026-03-31 11:42:02 +02:00
..
.openapi-generator feat(api): add duration_ms to audit log entries (#758) 2026-03-30 12:32:02 +02:00
hindsight_client fix(python-client): expose all configurable fields in update_bank_config() (#712) 2026-03-26 16:29:09 +01:00
hindsight_client_api feat: expose document_metadata in API and control plane (#798) 2026-03-31 11:42:02 +02:00
tests fix(python-client): async=true silently ignored on retain (#709) 2026-03-26 15:21:43 +01: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.21 2026-03-30 14:52:50 +02:00
README.md fix py client 2025-12-05 01:03:07 +01:00

Hindsight Python Client