@@ -1911,6 +1911,9 @@ class Data:
19111911 start_time : datetime | None = None
19121912 """ISO 8601 timestamp when the session was created"""
19131913
1914+ steerable : bool | None = None
1915+ """Whether this session supports remote steering via Mission Control"""
1916+
19141917 version : float | None = None
19151918 """Schema version number for the session event format"""
19161919
@@ -2567,6 +2570,7 @@ def from_dict(obj: Any) -> 'Data':
25672570 selected_model = from_union ([from_str , from_none ], obj .get ("selectedModel" ))
25682571 session_id = from_union ([from_str , from_none ], obj .get ("sessionId" ))
25692572 start_time = from_union ([from_datetime , from_none ], obj .get ("startTime" ))
2573+ steerable = from_union ([from_bool , from_none ], obj .get ("steerable" ))
25702574 version = from_union ([from_float , from_none ], obj .get ("version" ))
25712575 event_count = from_union ([from_float , from_none ], obj .get ("eventCount" ))
25722576 resume_time = from_union ([from_datetime , from_none ], obj .get ("resumeTime" ))
@@ -2720,7 +2724,7 @@ def from_dict(obj: Any) -> 'Data':
27202724 servers = from_union ([lambda x : from_list (Server .from_dict , x ), from_none ], obj .get ("servers" ))
27212725 status = from_union ([ServerStatus , from_none ], obj .get ("status" ))
27222726 extensions = from_union ([lambda x : from_list (Extension .from_dict , x ), from_none ], obj .get ("extensions" ))
2723- return Data (already_in_use , context , copilot_version , producer , reasoning_effort , selected_model , session_id , start_time , version , event_count , resume_time , error_type , message , provider_call_id , stack , status_code , url , background_tasks , title , info_type , warning_type , new_model , previous_model , previous_reasoning_effort , new_mode , previous_mode , operation , path , handoff_time , host , remote_session_id , repository , source_type , summary , messages_removed_during_truncation , performed_by , post_truncation_messages_length , post_truncation_tokens_in_messages , pre_truncation_messages_length , pre_truncation_tokens_in_messages , token_limit , tokens_removed_during_truncation , events_removed , up_to_event_id , code_changes , conversation_tokens , current_model , current_tokens , error_reason , model_metrics , session_start_time , shutdown_type , system_tokens , tool_definitions_tokens , total_api_duration_ms , total_premium_requests , base_commit , branch , cwd , git_root , head_commit , host_type , is_initial , messages_length , checkpoint_number , checkpoint_path , compaction_tokens_used , error , messages_removed , post_compaction_tokens , pre_compaction_messages_length , pre_compaction_tokens , request_id , success , summary_content , tokens_removed , agent_mode , attachments , content , interaction_id , source , transformed_content , turn_id , intent , reasoning_id , delta_content , total_response_size_bytes , encrypted_content , message_id , output_tokens , parent_tool_call_id , phase , reasoning_opaque , reasoning_text , tool_requests , api_call_id , cache_read_tokens , cache_write_tokens , copilot_usage , cost , duration , initiator , input_tokens , model , quota_snapshots , reason , arguments , tool_call_id , tool_name , mcp_server_name , mcp_tool_name , partial_output , progress_message , is_user_requested , result , tool_telemetry , allowed_tools , description , name , plugin_name , plugin_version , agent_description , agent_display_name , agent_name , duration_ms , total_tokens , total_tool_calls , tools , hook_invocation_id , hook_type , input , output , metadata , role , kind , permission_request , allow_freeform , choices , question , elicitation_source , mode , requested_schema , server_name , server_url , static_client_config , traceparent , tracestate , command , args , command_name , commands , actions , plan_content , recommended_action , skills , agents , errors , warnings , servers , status , extensions )
2727+ return Data (already_in_use , context , copilot_version , producer , reasoning_effort , selected_model , session_id , start_time , steerable , version , event_count , resume_time , error_type , message , provider_call_id , stack , status_code , url , background_tasks , title , info_type , warning_type , new_model , previous_model , previous_reasoning_effort , new_mode , previous_mode , operation , path , handoff_time , host , remote_session_id , repository , source_type , summary , messages_removed_during_truncation , performed_by , post_truncation_messages_length , post_truncation_tokens_in_messages , pre_truncation_messages_length , pre_truncation_tokens_in_messages , token_limit , tokens_removed_during_truncation , events_removed , up_to_event_id , code_changes , conversation_tokens , current_model , current_tokens , error_reason , model_metrics , session_start_time , shutdown_type , system_tokens , tool_definitions_tokens , total_api_duration_ms , total_premium_requests , base_commit , branch , cwd , git_root , head_commit , host_type , is_initial , messages_length , checkpoint_number , checkpoint_path , compaction_tokens_used , error , messages_removed , post_compaction_tokens , pre_compaction_messages_length , pre_compaction_tokens , request_id , success , summary_content , tokens_removed , agent_mode , attachments , content , interaction_id , source , transformed_content , turn_id , intent , reasoning_id , delta_content , total_response_size_bytes , encrypted_content , message_id , output_tokens , parent_tool_call_id , phase , reasoning_opaque , reasoning_text , tool_requests , api_call_id , cache_read_tokens , cache_write_tokens , copilot_usage , cost , duration , initiator , input_tokens , model , quota_snapshots , reason , arguments , tool_call_id , tool_name , mcp_server_name , mcp_tool_name , partial_output , progress_message , is_user_requested , result , tool_telemetry , allowed_tools , description , name , plugin_name , plugin_version , agent_description , agent_display_name , agent_name , duration_ms , total_tokens , total_tool_calls , tools , hook_invocation_id , hook_type , input , output , metadata , role , kind , permission_request , allow_freeform , choices , question , elicitation_source , mode , requested_schema , server_name , server_url , static_client_config , traceparent , tracestate , command , args , command_name , commands , actions , plan_content , recommended_action , skills , agents , errors , warnings , servers , status , extensions )
27242728
27252729 def to_dict (self ) -> dict :
27262730 result : dict = {}
@@ -2740,6 +2744,8 @@ def to_dict(self) -> dict:
27402744 result ["sessionId" ] = from_union ([from_str , from_none ], self .session_id )
27412745 if self .start_time is not None :
27422746 result ["startTime" ] = from_union ([lambda x : x .isoformat (), from_none ], self .start_time )
2747+ if self .steerable is not None :
2748+ result ["steerable" ] = from_union ([from_bool , from_none ], self .steerable )
27432749 if self .version is not None :
27442750 result ["version" ] = from_union ([to_float , from_none ], self .version )
27452751 if self .event_count is not None :
0 commit comments