Auto Compaction Failure in SDK Mode with JSON Streaming Conversation Continuation

Resolved 💬 5 comments Opened Jul 15, 2025 by SawyerHood Closed Jan 6, 2026

Bug Description
Auto compaction doesn't work in sdk-mode. With json streaming when continuing a conversation.\
\
The command is:\
\
echo "prompt" | claude -p --continue --verbose --dangerously-skip-permissions --output-format stream-json

Environment Info

  • Platform: darwin
  • Terminal: cursor
  • Version: 1.0.51
  • Feedback ID:

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗