@@ -181,7 +181,7 @@ public partial class SessionErrorEvent : SessionEvent
181181 public required SessionErrorData Data { get ; set ; }
182182}
183183
184- /// <summary>Payload indicating the agent is idle; includes any background tasks still in flight.</summary>
184+ /// <summary>Payload indicating the session is fully idle with no background tasks in flight.</summary>
185185/// <remarks>Represents the <c>session.idle</c> event.</remarks>
186186public partial class SessionIdleEvent : SessionEvent
187187{
@@ -1209,14 +1209,9 @@ public partial class SessionErrorData
12091209 public string ? Url { get ; set ; }
12101210}
12111211
1212- /// <summary>Payload indicating the agent is idle; includes any background tasks still in flight.</summary>
1212+ /// <summary>Payload indicating the session is fully idle with no background tasks in flight.</summary>
12131213public partial class SessionIdleData
12141214{
1215- /// <summary>Background tasks still running when the agent became idle.</summary>
1216- [ JsonIgnore ( Condition = JsonIgnoreCondition . WhenWritingNull ) ]
1217- [ JsonPropertyName ( "backgroundTasks" ) ]
1218- public SessionIdleDataBackgroundTasks ? BackgroundTasks { get ; set ; }
1219-
12201215 /// <summary>True when the preceding agentic loop was cancelled via abort signal.</summary>
12211216 [ JsonIgnore ( Condition = JsonIgnoreCondition . WhenWritingNull ) ]
12221217 [ JsonPropertyName ( "aborted" ) ]
@@ -2734,51 +2729,6 @@ public partial class SessionResumeDataContext
27342729 public string ? BaseCommit { get ; set ; }
27352730}
27362731
2737- /// <summary>A background agent task.</summary>
2738- /// <remarks>Nested data type for <c>SessionIdleDataBackgroundTasksAgentsItem</c>.</remarks>
2739- public partial class SessionIdleDataBackgroundTasksAgentsItem
2740- {
2741- /// <summary>Unique identifier of the background agent.</summary>
2742- [ JsonPropertyName ( "agentId" ) ]
2743- public required string AgentId { get ; set ; }
2744-
2745- /// <summary>Type of the background agent.</summary>
2746- [ JsonPropertyName ( "agentType" ) ]
2747- public required string AgentType { get ; set ; }
2748-
2749- /// <summary>Human-readable description of the agent task.</summary>
2750- [ JsonIgnore ( Condition = JsonIgnoreCondition . WhenWritingNull ) ]
2751- [ JsonPropertyName ( "description" ) ]
2752- public string ? Description { get ; set ; }
2753- }
2754-
2755- /// <summary>A background shell command.</summary>
2756- /// <remarks>Nested data type for <c>SessionIdleDataBackgroundTasksShellsItem</c>.</remarks>
2757- public partial class SessionIdleDataBackgroundTasksShellsItem
2758- {
2759- /// <summary>Unique identifier of the background shell.</summary>
2760- [ JsonPropertyName ( "shellId" ) ]
2761- public required string ShellId { get ; set ; }
2762-
2763- /// <summary>Human-readable description of the shell command.</summary>
2764- [ JsonIgnore ( Condition = JsonIgnoreCondition . WhenWritingNull ) ]
2765- [ JsonPropertyName ( "description" ) ]
2766- public string ? Description { get ; set ; }
2767- }
2768-
2769- /// <summary>Background tasks still running when the agent became idle.</summary>
2770- /// <remarks>Nested data type for <c>SessionIdleDataBackgroundTasks</c>.</remarks>
2771- public partial class SessionIdleDataBackgroundTasks
2772- {
2773- /// <summary>Currently running background agents.</summary>
2774- [ JsonPropertyName ( "agents" ) ]
2775- public required SessionIdleDataBackgroundTasksAgentsItem [ ] Agents { get ; set ; }
2776-
2777- /// <summary>Currently running background shell commands.</summary>
2778- [ JsonPropertyName ( "shells" ) ]
2779- public required SessionIdleDataBackgroundTasksShellsItem [ ] Shells { get ; set ; }
2780- }
2781-
27822732/// <summary>Repository context for the handed-off session.</summary>
27832733/// <remarks>Nested data type for <c>SessionHandoffDataRepository</c>.</remarks>
27842734public partial class SessionHandoffDataRepository
@@ -4232,9 +4182,6 @@ public enum SessionExtensionsLoadedDataExtensionsItemStatus
42324182[ JsonSerializable ( typeof ( SessionHandoffDataRepository ) ) ]
42334183[ JsonSerializable ( typeof ( SessionHandoffEvent ) ) ]
42344184[ JsonSerializable ( typeof ( SessionIdleData ) ) ]
4235- [ JsonSerializable ( typeof ( SessionIdleDataBackgroundTasks ) ) ]
4236- [ JsonSerializable ( typeof ( SessionIdleDataBackgroundTasksAgentsItem ) ) ]
4237- [ JsonSerializable ( typeof ( SessionIdleDataBackgroundTasksShellsItem ) ) ]
42384185[ JsonSerializable ( typeof ( SessionIdleEvent ) ) ]
42394186[ JsonSerializable ( typeof ( SessionInfoData ) ) ]
42404187[ JsonSerializable ( typeof ( SessionInfoEvent ) ) ]
0 commit comments