cache-diagnostics changedbuild-with-claude/cache-diagnostics
Nearest release: v2.1.275, 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+10added
Lines−5removed
From line
680
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits22to this page, all time
The whole hunk
from line 680, old and new numbered
/
from line 680
680680
681681 $diagnostics = null;
682682 foreach ($stream as $event) {
683 if ($event instanceof BetaRawMessageStartEvent) {
684 // diagnostics arrives on the message_start event's embedded BetaMessage
685 $diagnostics = $event->message->diagnostics;
686 } elseif ($event instanceof BetaRawContentBlockDeltaEvent && $event->delta instanceof BetaTextDelta) {
687 echo $event->delta->text;
683 switch (true) {
684 case $event instanceof \Anthropic\Beta\Messages\BetaRawMessageStartEvent:
685 // diagnostics arrives on the message_start event's embedded BetaMessage
686 $diagnostics = $event->message->diagnostics;
687 break;
688 case $event instanceof \Anthropic\Beta\Messages\BetaRawContentBlockDeltaEvent:
689 if ($event->delta instanceof \Anthropic\Beta\Messages\BetaTextDelta) {
690 echo $event->delta->text;
691 }
692 break;
688693 }
689694 }
690695 echo PHP_EOL;
No line in this hunk matches that.