fleet-memory/hindsight-integrations/claude-code/scripts/lib
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
..
__init__.py feat: Add Claude Code integration plugin (#651) 2026-03-23 12:06:54 +01:00
bank.py feat: Add Claude Code integration plugin (#651) 2026-03-23 12:06:54 +01:00
client.py feat(claude-code): full-session retain with document upsert and configurable tags (#695) 2026-03-26 12:06:30 +01:00
config.py feat(claude-code): retain tool calls as structured JSON (#704) 2026-03-26 12:58:09 +01:00
content.py feat(claude-code): retain tool calls as structured JSON (#704) 2026-03-26 12:58:09 +01:00
daemon.py fix(claude-code): pre-start daemon in background on SessionStart hook (#663) 2026-03-23 16:11:57 +01:00
llm.py feat: remove hardcoded default models from integrations (#670) 2026-03-24 17:20:15 +01:00
state.py fix(claude-code): make fcntl import conditional for Windows compatibility (#694) 2026-03-25 18:20:27 +01:00