claude code compaction hook