Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

context-editing changedbuild-with-claude/context-editing

Nearest release: v2.1.304, published under an hour after 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+2added
Lines−28removed
From line 1,829 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits18to this page, all time

The whole hunk

from line 1829, old and new numbered
/
lines
from line 1829
18291829 ```
18301830 
18311831 ```bash CLI
1832 ORIGINAL=$(ant beta:messages count-tokens \
1833 --beta context-management-2025-06-27 \
1834 --transform context_management.original_input_tokens \
1835 --raw-output <<'YAML'
1832 ant beta:messages count-tokens \
1833 --beta context-management-2025-06-27 <<'YAML'
18361834 model: claude-opus-5-5
18371835 messages:
18381836 - role: user
from line 1845
18471845 type: tool_uses
18481846 value: 5
18491847 YAML
1850 )
1851 
1852 INPUT_TOKENS=$(ant beta:messages count-tokens \
1853 --beta context-management-2025-06-27 \
1854 --transform input_tokens --raw-output <<'YAML'
1855 model: claude-opus-5-5
1856 messages:
1857 - role: user
1858 content: Continue our conversation...
1859 context_management:
1860 edits:
1861 - type: clear_tool_uses_20250919
1862 trigger:
1863 type: input_tokens
1864 value: 30000
1865 keep:
1866 type: tool_uses
1867 value: 5
1868 YAML
1869 )
1870 
1871 printf 'Original tokens: %s\n' "$ORIGINAL"
1872 printf 'After clearing: %s\n' "$INPUT_TOKENS"
1873 printf 'Savings: %s tokens\n' "$((ORIGINAL - INPUT_TOKENS))"
18741848 ```
18751849 
18761850 ```python Python
Feedback