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.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+21added
Lines−7removed
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 cat > request.yaml <<'YAML'
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'
18331836 model: claude-opus-5-5
18341837 messages:
18351838 - role: user
from line 1847
18441847 type: tool_uses
18451848 value: 5
18461849 YAML
1850 )
18471851 
1848 ORIGINAL=$(ant beta:messages count-tokens \
1849 --beta context-management-2025-06-27 \
1850 --transform context_management.original_input_tokens \
1851 --raw-output < request.yaml)
1852 
18531852 INPUT_TOKENS=$(ant beta:messages count-tokens \
18541853 --beta context-management-2025-06-27 \
1855 --transform input_tokens --raw-output < request.yaml)
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 )
18561870 
18571871 printf 'Original tokens: %s\n' "$ORIGINAL"
18581872 printf 'After clearing: %s\n' "$INPUT_TOKENS"
Feedback