claude agent sdk compaction