DDCC
Chapter 6🔑

Context Management

Infinite work in a finite window

Context always fills up — the key is how to compress

Key Source Files

src/compact/compact.ts
src/compact/microCompact.ts
src/SessionMemory/
src/autoDream/
Total size ~ 130KB+

Run Demo

# Requires API Key
$ cd Deep-Dive-Claude-Code
$ npx tsx agents/s06_context_compact.ts