diff --git a/dotnet/src/Generated/SessionEvents.cs b/dotnet/src/Generated/SessionEvents.cs index 48a694a37..73c0bdaa2 100644 --- a/dotnet/src/Generated/SessionEvents.cs +++ b/dotnet/src/Generated/SessionEvents.cs @@ -1069,6 +1069,11 @@ public partial class SessionStartData [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] [JsonPropertyName("alreadyInUse")] public bool? AlreadyInUse { get; set; } + + /// Whether this session supports remote steering via Mission Control. + [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] + [JsonPropertyName("steerable")] + public bool? Steerable { get; set; } } /// Session resume metadata including current context and event count. diff --git a/go/generated_session_events.go b/go/generated_session_events.go index b9cdbab47..051fa4eca 100644 --- a/go/generated_session_events.go +++ b/go/generated_session_events.go @@ -329,6 +329,8 @@ type Data struct { SessionID *string `json:"sessionId,omitempty"` // ISO 8601 timestamp when the session was created StartTime *time.Time `json:"startTime,omitempty"` + // Whether this session supports remote steering via Mission Control + Steerable *bool `json:"steerable,omitempty"` // Schema version number for the session event format Version *float64 `json:"version,omitempty"` // Total number of persisted events in the session at the time of resume diff --git a/nodejs/package-lock.json b/nodejs/package-lock.json index 42d9b6fb6..4ddf50a2e 100644 --- a/nodejs/package-lock.json +++ b/nodejs/package-lock.json @@ -9,7 +9,7 @@ "version": "0.1.8", "license": "MIT", "dependencies": { - "@github/copilot": "^1.0.11", + "@github/copilot": "^1.0.12-0", "vscode-jsonrpc": "^8.2.1", "zod": "^4.3.6" }, @@ -662,26 +662,26 @@ } }, "node_modules/@github/copilot": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@github/copilot/-/copilot-1.0.11.tgz", - "integrity": "sha512-cptVopko/tNKEXyBP174yBjHQBEwg6CqaKN2S0M3J+5LEB8u31bLL75ioOPd+5vubqBrA0liyTdcHeZ8UTRbmg==", + "version": "1.0.12-0", + "resolved": "https://registry.npmjs.org/@github/copilot/-/copilot-1.0.12-0.tgz", + "integrity": "sha512-tF8GQ5TZTP6ZJsD6J31SLdZAmawg9YnEe9jaf6+lwlOH7mA6XU/m9BLStdhdHd2MySoAu0Sb8IkVyEg/YIcWpg==", "license": "SEE LICENSE IN LICENSE.md", "bin": { "copilot": "npm-loader.js" }, "optionalDependencies": { - "@github/copilot-darwin-arm64": "1.0.11", - "@github/copilot-darwin-x64": "1.0.11", - "@github/copilot-linux-arm64": "1.0.11", - "@github/copilot-linux-x64": "1.0.11", - "@github/copilot-win32-arm64": "1.0.11", - "@github/copilot-win32-x64": "1.0.11" + "@github/copilot-darwin-arm64": "1.0.12-0", + "@github/copilot-darwin-x64": "1.0.12-0", + "@github/copilot-linux-arm64": "1.0.12-0", + "@github/copilot-linux-x64": "1.0.12-0", + "@github/copilot-win32-arm64": "1.0.12-0", + "@github/copilot-win32-x64": "1.0.12-0" } }, "node_modules/@github/copilot-darwin-arm64": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@github/copilot-darwin-arm64/-/copilot-darwin-arm64-1.0.11.tgz", - "integrity": "sha512-wdKimjtbsVeXqMqQSnGpGBPFEYHljxXNuWeH8EIJTNRgFpAsimcivsFgql3Twq4YOp0AxfsH36icG4IEen30mA==", + "version": "1.0.12-0", + "resolved": "https://registry.npmjs.org/@github/copilot-darwin-arm64/-/copilot-darwin-arm64-1.0.12-0.tgz", + "integrity": "sha512-GJNgo21Kh9fNJBOTF/vSc5YRXzwfGNsNufVFLzCnjppvs9ifN1s9VyPYdz+UOcDOrwh7FGPpRRQgWvm3EhTXAQ==", "cpu": [ "arm64" ], @@ -695,9 +695,9 @@ } }, "node_modules/@github/copilot-darwin-x64": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@github/copilot-darwin-x64/-/copilot-darwin-x64-1.0.11.tgz", - "integrity": "sha512-VeuPv8rzBVGBB8uDwMEhcHBpldoKaq26yZ5YQm+G9Ka5QIF+1DMah8ZNRMVsTeNKkb1ji9G8vcuCsaPbnG3fKg==", + "version": "1.0.12-0", + "resolved": "https://registry.npmjs.org/@github/copilot-darwin-x64/-/copilot-darwin-x64-1.0.12-0.tgz", + "integrity": "sha512-pc8f6mNvwDzc4LavH0Baz96WKx75Ti5/3EY0PF8HXOY/kz6x50cywIlRNqHQxK8NsTbTragbrQS7Eh7r6AJf/g==", "cpu": [ "x64" ], @@ -711,9 +711,9 @@ } }, "node_modules/@github/copilot-linux-arm64": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@github/copilot-linux-arm64/-/copilot-linux-arm64-1.0.11.tgz", - "integrity": "sha512-/d8p6RlFYKj1Va2hekFIcYNMHWagcEkaxgcllUNXSyQLnmEtXUkaWtz62VKGWE+n/UMkEwCB6vI2xEwPTlUNBQ==", + "version": "1.0.12-0", + "resolved": "https://registry.npmjs.org/@github/copilot-linux-arm64/-/copilot-linux-arm64-1.0.12-0.tgz", + "integrity": "sha512-ZlIGo6I2qpkqPXJNgR1+wYF/yMFrENjCz5kh4TIohwkuwPxMfZc4rv+CgMoyRc7OWWjKBUi7Y7IInKWkSkxzVg==", "cpu": [ "arm64" ], @@ -727,9 +727,9 @@ } }, "node_modules/@github/copilot-linux-x64": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@github/copilot-linux-x64/-/copilot-linux-x64-1.0.11.tgz", - "integrity": "sha512-UujTRO3xkPFC1CybchBbCnaTEAG6JrH0etIst07JvfekMWgvRxbiCHQPpDPSzBCPiBcGu0gba0/IT+vUCORuIw==", + "version": "1.0.12-0", + "resolved": "https://registry.npmjs.org/@github/copilot-linux-x64/-/copilot-linux-x64-1.0.12-0.tgz", + "integrity": "sha512-4PTBR+cIFhggi6/UsyhgjND+e6tagtBB6w2iJG/Y+ZLbpryaLD8GiGg8xmrzNvMGD81qHdespXCbwiRKplBM/Q==", "cpu": [ "x64" ], @@ -743,9 +743,9 @@ } }, "node_modules/@github/copilot-win32-arm64": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@github/copilot-win32-arm64/-/copilot-win32-arm64-1.0.11.tgz", - "integrity": "sha512-EOW8HUM+EmnHEZEa+iUMl4pP1+2eZUk2XCbynYiMehwX9sidc4BxEHp2RuxADSzFPTieQEWzgjQmHWrtet8pQg==", + "version": "1.0.12-0", + "resolved": "https://registry.npmjs.org/@github/copilot-win32-arm64/-/copilot-win32-arm64-1.0.12-0.tgz", + "integrity": "sha512-Glz0QVGq7sEYReLki4KAVywHnKpxTG+xtJOC3q6aYmfqmrlkGAgo9y/tTbYVNLa2hd8P2gCWcNGIAYlkZQsgfQ==", "cpu": [ "arm64" ], @@ -759,9 +759,9 @@ } }, "node_modules/@github/copilot-win32-x64": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@github/copilot-win32-x64/-/copilot-win32-x64-1.0.11.tgz", - "integrity": "sha512-fKGkSNamzs3h9AbmswNvPYJBORCb2Y8CbusijU3C7fT3ohvqnHJwKo5iHhJXLOKZNOpFZgq9YKha410u9sIs6Q==", + "version": "1.0.12-0", + "resolved": "https://registry.npmjs.org/@github/copilot-win32-x64/-/copilot-win32-x64-1.0.12-0.tgz", + "integrity": "sha512-SzPRnIkzg5oMlDix/ggEic4IkkDquGAydleQ9wmPSp9LLp97TD+Fw8fV98HPitOiYRgvTHvDtgWtESgh6uKG1A==", "cpu": [ "x64" ], diff --git a/nodejs/package.json b/nodejs/package.json index 4ccda703d..52ba0b153 100644 --- a/nodejs/package.json +++ b/nodejs/package.json @@ -56,7 +56,7 @@ "author": "GitHub", "license": "MIT", "dependencies": { - "@github/copilot": "^1.0.11", + "@github/copilot": "^1.0.12-0", "vscode-jsonrpc": "^8.2.1", "zod": "^4.3.6" }, diff --git a/nodejs/samples/package-lock.json b/nodejs/samples/package-lock.json index cd2ce2305..18f7558fa 100644 --- a/nodejs/samples/package-lock.json +++ b/nodejs/samples/package-lock.json @@ -18,7 +18,7 @@ "version": "0.1.8", "license": "MIT", "dependencies": { - "@github/copilot": "^1.0.11", + "@github/copilot": "^1.0.12-0", "vscode-jsonrpc": "^8.2.1", "zod": "^4.3.6" }, diff --git a/nodejs/src/generated/session-events.ts b/nodejs/src/generated/session-events.ts index 91dc023e9..8a6bec680 100644 --- a/nodejs/src/generated/session-events.ts +++ b/nodejs/src/generated/session-events.ts @@ -91,6 +91,10 @@ export type SessionEvent = * Whether the session was already in use by another client at start time */ alreadyInUse?: boolean; + /** + * Whether this session supports remote steering via Mission Control + */ + steerable?: boolean; }; } | { diff --git a/python/copilot/generated/session_events.py b/python/copilot/generated/session_events.py index 9143c9b0b..3dbe5cdf2 100644 --- a/python/copilot/generated/session_events.py +++ b/python/copilot/generated/session_events.py @@ -1911,6 +1911,9 @@ class Data: start_time: datetime | None = None """ISO 8601 timestamp when the session was created""" + steerable: bool | None = None + """Whether this session supports remote steering via Mission Control""" + version: float | None = None """Schema version number for the session event format""" @@ -2567,6 +2570,7 @@ def from_dict(obj: Any) -> 'Data': selected_model = from_union([from_str, from_none], obj.get("selectedModel")) session_id = from_union([from_str, from_none], obj.get("sessionId")) start_time = from_union([from_datetime, from_none], obj.get("startTime")) + steerable = from_union([from_bool, from_none], obj.get("steerable")) version = from_union([from_float, from_none], obj.get("version")) event_count = from_union([from_float, from_none], obj.get("eventCount")) resume_time = from_union([from_datetime, from_none], obj.get("resumeTime")) @@ -2720,7 +2724,7 @@ def from_dict(obj: Any) -> 'Data': servers = from_union([lambda x: from_list(Server.from_dict, x), from_none], obj.get("servers")) status = from_union([ServerStatus, from_none], obj.get("status")) extensions = from_union([lambda x: from_list(Extension.from_dict, x), from_none], obj.get("extensions")) - 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) + 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) def to_dict(self) -> dict: result: dict = {} @@ -2740,6 +2744,8 @@ def to_dict(self) -> dict: result["sessionId"] = from_union([from_str, from_none], self.session_id) if self.start_time is not None: result["startTime"] = from_union([lambda x: x.isoformat(), from_none], self.start_time) + if self.steerable is not None: + result["steerable"] = from_union([from_bool, from_none], self.steerable) if self.version is not None: result["version"] = from_union([to_float, from_none], self.version) if self.event_count is not None: diff --git a/test/harness/package-lock.json b/test/harness/package-lock.json index 5ab4ae513..417bee1e5 100644 --- a/test/harness/package-lock.json +++ b/test/harness/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "ISC", "devDependencies": { - "@github/copilot": "^1.0.11", + "@github/copilot": "^1.0.12-0", "@modelcontextprotocol/sdk": "^1.26.0", "@types/node": "^25.3.3", "openai": "^6.17.0", @@ -462,27 +462,27 @@ } }, "node_modules/@github/copilot": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@github/copilot/-/copilot-1.0.11.tgz", - "integrity": "sha512-cptVopko/tNKEXyBP174yBjHQBEwg6CqaKN2S0M3J+5LEB8u31bLL75ioOPd+5vubqBrA0liyTdcHeZ8UTRbmg==", + "version": "1.0.12-0", + "resolved": "https://registry.npmjs.org/@github/copilot/-/copilot-1.0.12-0.tgz", + "integrity": "sha512-tF8GQ5TZTP6ZJsD6J31SLdZAmawg9YnEe9jaf6+lwlOH7mA6XU/m9BLStdhdHd2MySoAu0Sb8IkVyEg/YIcWpg==", "dev": true, "license": "SEE LICENSE IN LICENSE.md", "bin": { "copilot": "npm-loader.js" }, "optionalDependencies": { - "@github/copilot-darwin-arm64": "1.0.11", - "@github/copilot-darwin-x64": "1.0.11", - "@github/copilot-linux-arm64": "1.0.11", - "@github/copilot-linux-x64": "1.0.11", - "@github/copilot-win32-arm64": "1.0.11", - "@github/copilot-win32-x64": "1.0.11" + "@github/copilot-darwin-arm64": "1.0.12-0", + "@github/copilot-darwin-x64": "1.0.12-0", + "@github/copilot-linux-arm64": "1.0.12-0", + "@github/copilot-linux-x64": "1.0.12-0", + "@github/copilot-win32-arm64": "1.0.12-0", + "@github/copilot-win32-x64": "1.0.12-0" } }, "node_modules/@github/copilot-darwin-arm64": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@github/copilot-darwin-arm64/-/copilot-darwin-arm64-1.0.11.tgz", - "integrity": "sha512-wdKimjtbsVeXqMqQSnGpGBPFEYHljxXNuWeH8EIJTNRgFpAsimcivsFgql3Twq4YOp0AxfsH36icG4IEen30mA==", + "version": "1.0.12-0", + "resolved": "https://registry.npmjs.org/@github/copilot-darwin-arm64/-/copilot-darwin-arm64-1.0.12-0.tgz", + "integrity": "sha512-GJNgo21Kh9fNJBOTF/vSc5YRXzwfGNsNufVFLzCnjppvs9ifN1s9VyPYdz+UOcDOrwh7FGPpRRQgWvm3EhTXAQ==", "cpu": [ "arm64" ], @@ -497,9 +497,9 @@ } }, "node_modules/@github/copilot-darwin-x64": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@github/copilot-darwin-x64/-/copilot-darwin-x64-1.0.11.tgz", - "integrity": "sha512-VeuPv8rzBVGBB8uDwMEhcHBpldoKaq26yZ5YQm+G9Ka5QIF+1DMah8ZNRMVsTeNKkb1ji9G8vcuCsaPbnG3fKg==", + "version": "1.0.12-0", + "resolved": "https://registry.npmjs.org/@github/copilot-darwin-x64/-/copilot-darwin-x64-1.0.12-0.tgz", + "integrity": "sha512-pc8f6mNvwDzc4LavH0Baz96WKx75Ti5/3EY0PF8HXOY/kz6x50cywIlRNqHQxK8NsTbTragbrQS7Eh7r6AJf/g==", "cpu": [ "x64" ], @@ -514,9 +514,9 @@ } }, "node_modules/@github/copilot-linux-arm64": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@github/copilot-linux-arm64/-/copilot-linux-arm64-1.0.11.tgz", - "integrity": "sha512-/d8p6RlFYKj1Va2hekFIcYNMHWagcEkaxgcllUNXSyQLnmEtXUkaWtz62VKGWE+n/UMkEwCB6vI2xEwPTlUNBQ==", + "version": "1.0.12-0", + "resolved": "https://registry.npmjs.org/@github/copilot-linux-arm64/-/copilot-linux-arm64-1.0.12-0.tgz", + "integrity": "sha512-ZlIGo6I2qpkqPXJNgR1+wYF/yMFrENjCz5kh4TIohwkuwPxMfZc4rv+CgMoyRc7OWWjKBUi7Y7IInKWkSkxzVg==", "cpu": [ "arm64" ], @@ -531,9 +531,9 @@ } }, "node_modules/@github/copilot-linux-x64": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@github/copilot-linux-x64/-/copilot-linux-x64-1.0.11.tgz", - "integrity": "sha512-UujTRO3xkPFC1CybchBbCnaTEAG6JrH0etIst07JvfekMWgvRxbiCHQPpDPSzBCPiBcGu0gba0/IT+vUCORuIw==", + "version": "1.0.12-0", + "resolved": "https://registry.npmjs.org/@github/copilot-linux-x64/-/copilot-linux-x64-1.0.12-0.tgz", + "integrity": "sha512-4PTBR+cIFhggi6/UsyhgjND+e6tagtBB6w2iJG/Y+ZLbpryaLD8GiGg8xmrzNvMGD81qHdespXCbwiRKplBM/Q==", "cpu": [ "x64" ], @@ -548,9 +548,9 @@ } }, "node_modules/@github/copilot-win32-arm64": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@github/copilot-win32-arm64/-/copilot-win32-arm64-1.0.11.tgz", - "integrity": "sha512-EOW8HUM+EmnHEZEa+iUMl4pP1+2eZUk2XCbynYiMehwX9sidc4BxEHp2RuxADSzFPTieQEWzgjQmHWrtet8pQg==", + "version": "1.0.12-0", + "resolved": "https://registry.npmjs.org/@github/copilot-win32-arm64/-/copilot-win32-arm64-1.0.12-0.tgz", + "integrity": "sha512-Glz0QVGq7sEYReLki4KAVywHnKpxTG+xtJOC3q6aYmfqmrlkGAgo9y/tTbYVNLa2hd8P2gCWcNGIAYlkZQsgfQ==", "cpu": [ "arm64" ], @@ -565,9 +565,9 @@ } }, "node_modules/@github/copilot-win32-x64": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@github/copilot-win32-x64/-/copilot-win32-x64-1.0.11.tgz", - "integrity": "sha512-fKGkSNamzs3h9AbmswNvPYJBORCb2Y8CbusijU3C7fT3ohvqnHJwKo5iHhJXLOKZNOpFZgq9YKha410u9sIs6Q==", + "version": "1.0.12-0", + "resolved": "https://registry.npmjs.org/@github/copilot-win32-x64/-/copilot-win32-x64-1.0.12-0.tgz", + "integrity": "sha512-SzPRnIkzg5oMlDix/ggEic4IkkDquGAydleQ9wmPSp9LLp97TD+Fw8fV98HPitOiYRgvTHvDtgWtESgh6uKG1A==", "cpu": [ "x64" ], diff --git a/test/harness/package.json b/test/harness/package.json index 9fe936ea7..8257f95a5 100644 --- a/test/harness/package.json +++ b/test/harness/package.json @@ -11,7 +11,7 @@ "test": "vitest run" }, "devDependencies": { - "@github/copilot": "^1.0.11", + "@github/copilot": "^1.0.12-0", "@modelcontextprotocol/sdk": "^1.26.0", "@types/node": "^25.3.3", "openai": "^6.17.0",