fleet-memory/hindsight-clients
Nicolò Boschi 0d0abaaa9f
fix(typescript-client): Add error handling to all API methods (#139)
Previously, most methods in HindsightClient would silently return
undefined when API calls failed (e.g., connection refused). Only
the `recall` method had proper error checking.

This change adds a `validateResponse` helper method and applies it
consistently to all API methods:
- retain
- retainBatch
- recall
- reflect
- listMemories
- createBank
- getBankProfile

Now all methods properly throw an error with details when the API
request fails, instead of returning undefined.
2026-01-09 14:25:10 +01:00
..
python feat: add operation_id to retain response (#129) 2026-01-08 17:41:51 +01:00
rust Fix Python SDK not sending Authorization header (#106) 2026-01-07 09:46:50 +01:00
typescript fix(typescript-client): Add error handling to all API methods (#139) 2026-01-09 14:25:10 +01:00
.gitignore rename to hindsight (#2) 2025-11-25 19:28:26 +01:00