fleet-memory/hindsight-integrations
Nicolò Boschi e4dd654ec5
fix: openclaw tests + split doc-examples CI per language (#503)
* fix: update openclaw tests to use before_prompt_build hook and split doc-examples CI per language

- Update hooks.integration.test.ts: rename describe block and all
  triggerHook calls from 'before_agent_start' to 'before_prompt_build'
  to match the hook registered in index.ts (changed in PR #480)
- Fix 'includes the user message' test: prependContext contains memories
  (bullet list), not the raw user query; update assertion accordingly
- Split test-doc-examples CI job into a matrix over [python, node, cli, go]
  so each language runs in parallel; language-specific setup steps
  (Rust/CLI build, Node.js, Python client, TypeScript client) are
  conditional on matrix.language to avoid unnecessary work

* fix: spy on HindsightClient prototype to intercept all per-bank client instances

getClientForContext creates new HindsightClient instances per bank when
dynamicBankId is true, so vi.spyOn(c, 'recall') on the default client
never captured calls. Spy on HindsightClient.prototype instead so all
dynamically created bank clients are intercepted.
2026-03-06 09:01:56 +01:00
..
ai-sdk Release v0.4.16 2026-03-05 17:54:59 +01:00
chat Release v0.4.16 2026-03-05 17:54:59 +01:00
crewai Release v0.4.16 2026-03-05 17:54:59 +01:00
litellm Release v0.4.16 2026-03-05 17:54:59 +01:00
openclaw fix: openclaw tests + split doc-examples CI per language (#503) 2026-03-06 09:01:56 +01:00
pydantic-ai Release v0.4.16 2026-03-05 17:54:59 +01:00