fleet-memory/hindsight-clients/python/hindsight_client_api/models
Nicolò Boschi 5b52a84fff
chore: internal renames (#204)
This commit renames the terminology across the entire codebase:
- "mental models" (fact_type='mental_model' in memory_units) → "observations"
- "reflections" table (stored reflect responses) → "mental_models"

Changes include:
- Database migration to rename tables, indexes, and constraints
- API endpoints: /reflections → /mental-models, /mental-models → /observations
- Config: ENABLE_MENTAL_MODELS → ENABLE_OBSERVATIONS
- Response models and Pydantic classes
- Reflect agent tools and prompts
- Control plane UI and routes
- Documentation and examples
- Regenerated OpenAPI spec and client SDKs (Python, TypeScript)
- Rust CLI: reflection commands → mental-model commands
- LiteLLM: updated fact_types documentation
2026-01-27 09:53:28 +01:00
..
__init__.py chore: internal renames (#204) 2026-01-27 09:53:28 +01:00
add_background_request.py feat: introduce mental models (#132) 2026-01-16 11:16:41 +01:00
async_operation_submit_response.py fix: improve mental model consolidation (#197) 2026-01-26 09:54:25 +01:00
background_response.py feat: introduce mental models (#132) 2026-01-16 11:16:41 +01:00
bank_list_item.py feat: introduce mental models (#132) 2026-01-16 11:16:41 +01:00
bank_list_response.py feat(misc): update clients types, test coverage, improve /health endpoint and add changelog (#70) 2025-12-23 12:49:31 +01:00
bank_profile_response.py feat: introduce mental models (#132) 2026-01-16 11:16:41 +01:00
bank_stats_response.py chore: internal renames (#204) 2026-01-27 09:53:28 +01:00
budget.py feat(misc): update clients types, test coverage, improve /health endpoint and add changelog (#70) 2025-12-23 12:49:31 +01:00
cancel_operation_response.py feat(misc): update clients types, test coverage, improve /health endpoint and add changelog (#70) 2025-12-23 12:49:31 +01:00
chunk_data.py feat(misc): update clients types, test coverage, improve /health endpoint and add changelog (#70) 2025-12-23 12:49:31 +01:00
chunk_include_options.py feat(misc): update clients types, test coverage, improve /health endpoint and add changelog (#70) 2025-12-23 12:49:31 +01:00
chunk_response.py feat(misc): update clients types, test coverage, improve /health endpoint and add changelog (#70) 2025-12-23 12:49:31 +01:00
consolidation_response.py fix: improve mental model consolidation (#197) 2026-01-26 09:54:25 +01:00
create_bank_request.py feat: introduce mental models (#132) 2026-01-16 11:16:41 +01:00
create_directive_request.py feat: revisit mental models, directives and reflections (#179) 2026-01-22 17:13:16 +01:00
create_mental_model_request.py chore: internal renames (#204) 2026-01-27 09:53:28 +01:00
create_mental_model_response.py chore: internal renames (#204) 2026-01-27 09:53:28 +01:00
delete_document_response.py feat(misc): update clients types, test coverage, improve /health endpoint and add changelog (#70) 2025-12-23 12:49:31 +01:00
delete_response.py feat(misc): update clients types, test coverage, improve /health endpoint and add changelog (#70) 2025-12-23 12:49:31 +01:00
directive_list_response.py feat: revisit mental models, directives and reflections (#179) 2026-01-22 17:13:16 +01:00
directive_response.py feat: revisit mental models, directives and reflections (#179) 2026-01-22 17:13:16 +01:00
disposition_traits.py feat(misc): update clients types, test coverage, improve /health endpoint and add changelog (#70) 2025-12-23 12:49:31 +01:00
document_response.py feat: add memory tags (#152) 2026-01-13 18:28:40 +01:00
entity_detail_response.py feat(misc): update clients types, test coverage, improve /health endpoint and add changelog (#70) 2025-12-23 12:49:31 +01:00
entity_include_options.py feat(misc): update clients types, test coverage, improve /health endpoint and add changelog (#70) 2025-12-23 12:49:31 +01:00
entity_input.py doc: changelog for 0.2.0 (and regenerate clients) (#99) 2026-01-05 12:36:29 +01:00
entity_list_item.py feat(misc): update clients types, test coverage, improve /health endpoint and add changelog (#70) 2025-12-23 12:49:31 +01:00
entity_list_response.py fix: entities list only show 100 entities (#142) 2026-01-12 18:50:53 +01:00
entity_observation_response.py feat(misc): update clients types, test coverage, improve /health endpoint and add changelog (#70) 2025-12-23 12:49:31 +01:00
entity_state_response.py feat(misc): update clients types, test coverage, improve /health endpoint and add changelog (#70) 2025-12-23 12:49:31 +01:00
features_info.py chore: internal renames (#204) 2026-01-27 09:53:28 +01:00
graph_data_response.py fix: ui shows only 1000 memories (#121) 2026-01-08 11:22:10 +01:00
http_validation_error.py feat(misc): update clients types, test coverage, improve /health endpoint and add changelog (#70) 2025-12-23 12:49:31 +01:00
include_options.py feat(misc): update clients types, test coverage, improve /health endpoint and add changelog (#70) 2025-12-23 12:49:31 +01:00
list_documents_response.py feat(misc): update clients types, test coverage, improve /health endpoint and add changelog (#70) 2025-12-23 12:49:31 +01:00
list_memory_units_response.py feat(misc): update clients types, test coverage, improve /health endpoint and add changelog (#70) 2025-12-23 12:49:31 +01:00
list_tags_response.py feat: add memory tags (#152) 2026-01-13 18:28:40 +01:00
memory_item.py feat: add memory tags (#152) 2026-01-13 18:28:40 +01:00
mental_model_list_response.py chore: internal renames (#204) 2026-01-27 09:53:28 +01:00
mental_model_response.py chore: internal renames (#204) 2026-01-27 09:53:28 +01:00
operation_response.py feat: introduce mental models (#132) 2026-01-16 11:16:41 +01:00
operation_status_response.py feat: introduce mental models (#132) 2026-01-16 11:16:41 +01:00
operations_list_response.py feat: revisit mental models, directives and reflections (#179) 2026-01-22 17:13:16 +01:00
recall_request.py feat: add memory tags (#152) 2026-01-13 18:28:40 +01:00
recall_response.py feat(misc): update clients types, test coverage, improve /health endpoint and add changelog (#70) 2025-12-23 12:49:31 +01:00
recall_result.py feat: add memory tags (#152) 2026-01-13 18:28:40 +01:00
reflect_based_on.py feat: revisit mental models, directives and reflections (#179) 2026-01-22 17:13:16 +01:00
reflect_fact.py feat(misc): update clients types, test coverage, improve /health endpoint and add changelog (#70) 2025-12-23 12:49:31 +01:00
reflect_include_options.py feat: introduce mental models (#132) 2026-01-16 11:16:41 +01:00
reflect_llm_call.py feat: introduce mental models (#132) 2026-01-16 11:16:41 +01:00
reflect_request.py feat: add memory tags (#152) 2026-01-13 18:28:40 +01:00
reflect_response.py feat: revisit mental models, directives and reflections (#179) 2026-01-22 17:13:16 +01:00
reflect_tool_call.py feat: introduce mental models (#132) 2026-01-16 11:16:41 +01:00
reflect_trace.py chore: internal renames (#204) 2026-01-27 09:53:28 +01:00
retain_request.py feat: add memory tags (#152) 2026-01-13 18:28:40 +01:00
retain_response.py feat: add operation_id to retain response (#129) 2026-01-08 17:41:51 +01:00
tag_item.py feat: add memory tags (#152) 2026-01-13 18:28:40 +01:00
token_usage.py feat: Add per-request LLM token usage metrics (#117) 2026-01-08 10:36:58 +01:00
tool_calls_include_options.py feat: introduce mental models (#132) 2026-01-16 11:16:41 +01:00
update_directive_request.py feat: revisit mental models, directives and reflections (#179) 2026-01-22 17:13:16 +01:00
update_disposition_request.py feat(misc): update clients types, test coverage, improve /health endpoint and add changelog (#70) 2025-12-23 12:49:31 +01:00
update_mental_model_request.py chore: internal renames (#204) 2026-01-27 09:53:28 +01:00
validation_error.py feat(misc): update clients types, test coverage, improve /health endpoint and add changelog (#70) 2025-12-23 12:49:31 +01:00
validation_error_loc_inner.py feat(misc): update clients types, test coverage, improve /health endpoint and add changelog (#70) 2025-12-23 12:49:31 +01:00
version_response.py feat: revisit mental models, directives and reflections (#179) 2026-01-22 17:13:16 +01:00