fleet-memory/hindsight-integrations/claude-code/tests
Nicolò Boschi 8cb8b9128e
feat(claude-code): retain tool calls as structured JSON (#704)
When retainToolCalls is enabled (new default), the retention transcript
is output as JSON with full message structure including tool_use blocks
(Edit, Read, Bash, Grep, etc.) and their complete input dicts, plus
tool_result blocks (truncated at 2k chars). This preserves the context
of what actions the assistant actually took, not just its narration.

Hindsight MCP tools (recall/retain/reflect) are excluded to prevent
feedback loops. Channel message tools still get their text extracted
inline. Setting retainToolCalls=false falls back to the legacy text
format.
2026-03-26 12:58:09 +01:00
..
conftest.py fix(claude-code): fix plugin installation, config UX, and release workflow (#661) 2026-03-23 15:15:16 +01:00
test_bank.py fix(claude-code): fix plugin installation, config UX, and release workflow (#661) 2026-03-23 15:15:16 +01:00
test_client.py fix(claude-code): fix plugin installation, config UX, and release workflow (#661) 2026-03-23 15:15:16 +01:00
test_config.py feat(claude-code): full-session retain with document upsert and configurable tags (#695) 2026-03-26 12:06:30 +01:00
test_content.py feat(claude-code): retain tool calls as structured JSON (#704) 2026-03-26 12:58:09 +01:00
test_hooks.py feat(claude-code): full-session retain with document upsert and configurable tags (#695) 2026-03-26 12:06:30 +01:00