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

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

Nearest release: v2.1.309, published 3 hours 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+7added
Lines−7removed
From line 871 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits19to this page, all time

The whole hunk

from line 871, old and new numbered
/
lines
from line 871
871871 messages: [
872872 ['role' => 'user', 'content' => 'Hello']
873873 ],
874 model: 'claude-opus-5-5',
874 model: Model::CLAUDE_OPUS_5_5,
875875 betas: ['context-management-2025-06-27'],
876876 contextManagement: [
877877 'edits' => [
from line 1093
10931093 messages: [
10941094 ['role' => 'user', 'content' => 'Hello']
10951095 ],
1096 model: 'claude-opus-5-5',
1096 model: Model::CLAUDE_OPUS_5_5,
10971097 betas: ['context-management-2025-06-27'],
10981098 contextManagement: [
10991099 'edits' => [
from line 1293
12931293 messages: [
12941294 ['role' => 'user', 'content' => 'Hello']
12951295 ],
1296 model: 'claude-opus-5-5',
1296 model: Model::CLAUDE_OPUS_5_5,
12971297 betas: ['context-management-2025-06-27'],
12981298 contextManagement: [
12991299 'edits' => [
from line 2032
20322032 ],
20332033 );
20342034 
2035 echo "Original tokens: " . $response->contextManagement->originalInputTokens . "\n";
2036 echo "After clearing: " . $response->inputTokens . "\n";
2037 echo "Savings: " . ($response->contextManagement->originalInputTokens - $response->inputTokens) . " tokens\n";
2035 echo 'Original tokens: ' . $response->contextManagement->originalInputTokens . "\n";
2036 echo 'After clearing: ' . $response->inputTokens . "\n";
2037 echo 'Savings: ' . ($response->contextManagement->originalInputTokens - $response->inputTokens) . " tokens\n";
20382038 ```
20392039 
20402040 ```ruby Ruby
from line 2258
22582258 messages: [
22592259 ['role' => 'user', 'content' => 'Hello']
22602260 ],
2261 model: 'claude-opus-5-5',
2261 model: Model::CLAUDE_OPUS_5_5,
22622262 betas: ['context-management-2025-06-27'],
22632263 tools: [
22642264 [
Feedback