session-threads changedmanaged-agents/session-threads
Nearest release: v2.1.296, published 15 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+6added
Lines−8removed
From line
57
where the diff opens
First seen
9 Oct 2026
this site's first read of the page
Recorded edits14to this page, all time
The whole hunk
from line 57, old and new numbered
/
from line 57
5757 ```
5858
5959 ```csharp C#
60 await foreach (var thread in (await client.Beta.Sessions.Threads.List(session.ID)).Paginate())
60 await foreach (var sessionThread in (await client.Beta.Sessions.Threads.List(session.ID)).Paginate())
6161 {
62 var label = thread.Agent.TryPickBetaManagedAgentsSessionThread(out var agent)
63 ? agent.Name
64 : thread.Agent.Json.GetProperty("type").GetString();
65 Console.WriteLine($"[{label}] {thread.Status.Raw()}");
62 var label = sessionThread.Agent.Name ?? sessionThread.Agent.Json.GetProperty("type").GetString();
63 Console.WriteLine($"[{label}] {sessionThread.Status.Raw()}");
6664 }
6765 ```
6866
from line 484
486484 {
487485 foreach (var block in message.Content)
488486 {
489 if (block.Type == "text")
487 if (block.Value is BetaManagedAgentsTextBlock textBlock)
490488 {
491 Console.Write(block.Text);
489 Console.Write(textBlock.Text);
492490 }
493491 }
494492 }
from line 617
619617 var page = await client.Beta.Sessions.Threads.Events.List(thread.ID, new() { SessionID = session.ID });
620618 await foreach (var evt in page.Paginate())
621619 {
622 Console.WriteLine($"[{evt.Type}] {evt.ProcessedAt}");
620 Console.WriteLine($"[{evt.Json.GetProperty("type").GetString()}] {evt.ProcessedAt}");
623621 }
624622 ```
625623
No line in this hunk matches that.