Follow Discord
Sweep 09 Oct 2026 · 17:27Z Build v2.1.296 517 read Stable v2.1.287 Latest v2.1.296 Next v2.1.296 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

compaction-threshold changedbuild-with-claude/compaction-threshold

Nearest release: v2.1.281, published an hour before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+15added
Lines−7removed
From line 2,380 where the diff opens
First seen 21 Sep 2026 this site's first read of the page
Recorded edits8to this page, all time

The whole hunk

from line 2380, old and new numbered
/
lines
from line 2380
23802380 ```
23812381 
23822382 ```bash CLI
2383 cat > request.yaml <<'YAML'
2383 CURRENT=$(ant beta:messages count-tokens \
2384 --beta compact-2026-01-12 \
2385 --transform input_tokens \
2386 --raw-output <<'YAML'
23842387 model: claude-opus-5-5
23852388 messages:
23862389 - role: user
from line 2392
23892392 edits:
23902393 - type: compact_20260112
23912394 YAML
2395 )
23922396 
2393 CURRENT=$(ant beta:messages count-tokens \
2394 --beta compact-2026-01-12 \
2395 --transform input_tokens \
2396 --raw-output < request.yaml)
2397 
23982397 ORIGINAL=$(ant beta:messages count-tokens \
23992398 --beta compact-2026-01-12 \
24002399 --transform context_management.original_input_tokens \
2401 --raw-output < request.yaml)
2400 --raw-output <<'YAML'
2401 model: claude-opus-5-5
2402 messages:
2403 - role: user
2404 content: Hello, Claude
2405 context_management:
2406 edits:
2407 - type: compact_20260112
2408 YAML
2409 )
24022410 
24032411 printf 'Current tokens: %s\n' "$CURRENT"
24042412 printf 'Original tokens: %s\n' "$ORIGINAL"
Feedback