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

session-threads changedmanaged-agents/session-threads

Nearest release: v2.1.307, published 4 hours 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−20removed
From line 142 where the diff opens
First seen 9 Oct 2026 this site's first read of the page
Recorded edits11to this page, all time

The whole hunk

from line 142, old and new numbered
/
lines
from line 142
142142 ```csharp C#
143143 await client.Beta.Sessions.Events.Send(session.ID, new()
144144 {
145 Events =
146 [
147 new BetaManagedAgentsUserInterruptEventParams
148 {
149 Type = BetaManagedAgentsUserInterruptEventParamsType.UserInterrupt,
150 SessionThreadID = thread.ID,
151 },
152 ],
145 Events = [new BetaManagedAgentsUserInterruptEventParams { SessionThreadID = thread.ID }],
153146 });
154147 ```
155148 
from line 164
171164 session.id(),
172165 EventSendParams.builder()
173166 .addEvent(BetaManagedAgentsUserInterruptEventParams.builder()
174 .type(BetaManagedAgentsUserInterruptEventParams.Type.USER_INTERRUPT)
175167 .sessionThreadId(thread.id())
176168 .build())
177169 .build());
from line 303
311303 ```csharp C#
312304 await client.Beta.Sessions.Events.Send(session.ID, new()
313305 {
314 Events =
315 [
316 new BetaManagedAgentsUserInterruptEventParams
317 {
318 Type = BetaManagedAgentsUserInterruptEventParamsType.UserInterrupt,
319 SessionThreadID = thread.ID,
320 },
321 ],
306 Events = [new BetaManagedAgentsUserInterruptEventParams { SessionThreadID = thread.ID }],
322307 });
323308 archived = await client.Beta.Sessions.Threads.Archive(thread.ID, new() { SessionID = session.ID });
324309 Console.WriteLine($"{archived.Status} {archived.ArchivedAt}");
from line 335
350335 session.id(),
351336 EventSendParams.builder()
352337 .addEvent(BetaManagedAgentsUserInterruptEventParams.builder()
353 .type(BetaManagedAgentsUserInterruptEventParams.Type.USER_INTERRUPT)
354338 .sessionThreadId(thread.id())
355339 .build())
356340 .build());
from line 712
728712 [
729713 new BetaManagedAgentsUserToolConfirmationEventParams
730714 {
731 Type = BetaManagedAgentsUserToolConfirmationEventParamsType.UserToolConfirmation,
732715 ToolUseID = eventId,
733716 Result = BetaManagedAgentsUserToolConfirmationEventParamsResult.Allow,
734717 },
from line 741
758741 session.id(),
759742 EventSendParams.builder()
760743 .addEvent(BetaManagedAgentsUserToolConfirmationEventParams.builder()
761 .type(BetaManagedAgentsUserToolConfirmationEventParams.Type.USER_TOOL_CONFIRMATION)
762744 .toolUseId(eventId)
763745 .result(BetaManagedAgentsUserToolConfirmationEventParams.Result.ALLOW)
764746 .build())
Feedback