Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 22 additions & 2 deletions dotnet/src/Generated/SessionEvents.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 13 additions & 2 deletions go/generated_session_events.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

56 changes: 28 additions & 28 deletions nodejs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"author": "GitHub",
"license": "MIT",
"dependencies": {
"@github/copilot": "^1.0.43",
"@github/copilot": "^1.0.44-2",
"vscode-jsonrpc": "^8.2.1",
"zod": "^4.3.6"
},
Expand Down
2 changes: 1 addition & 1 deletion nodejs/samples/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 9 additions & 4 deletions nodejs/src/generated/session-events.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 15 additions & 3 deletions python/copilot/generated/session_events.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 19 additions & 2 deletions rust/src/generated/session_events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1292,8 +1292,8 @@ pub struct ModelCallFailureData {
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct AbortData {
/// Reason the current turn was aborted (e.g., "user initiated")
pub reason: String,
/// Finite reason code describing why the current turn was aborted
pub reason: AbortReason,
}

/// User-initiated tool invocation request with tool name and arguments
Expand Down Expand Up @@ -1449,6 +1449,9 @@ pub struct SubagentStartedData {
pub agent_display_name: String,
/// Internal name of the sub-agent
pub agent_name: String,
/// Model the sub-agent will run with, when known at start. Surfaced in the timeline for auto-selected sub-agents (e.g. rubber-duck).
#[serde(skip_serializing_if = "Option::is_none")]
pub model: Option<String>,
/// Tool call ID of the parent tool invocation that spawned this sub-agent
pub tool_call_id: String,
}
Expand Down Expand Up @@ -2657,6 +2660,20 @@ pub enum ModelCallFailureSource {
Unknown,
}

/// Finite reason code describing why the current turn was aborted
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub enum AbortReason {
#[serde(rename = "user_initiated")]
UserInitiated,
#[serde(rename = "remote_command")]
RemoteCommand,
#[serde(rename = "user_abort")]
UserAbort,
/// Unknown variant for forward compatibility.
#[serde(other)]
Unknown,
}

/// Message role: "system" for system prompts, "developer" for developer-injected instructions
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
pub enum SystemMessageRole {
Expand Down
Loading
Loading