Track the last assistant message saved by the message_end event handler and skip saving it again in the abort handler. This prevents the duplicate assistant entries in session.jsonl that caused the "tool_call_id is not found" bug. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| agent | ||
| channels | ||
| client | ||
| cron | ||
| heartbeat | ||
| hub | ||
| media | ||
| app-state.ts | ||
| index.ts | ||