Skip to content

Commit bf3bdea

Browse files
Update @github/copilot to 1.0.44-2 (#1225)
- Updated nodejs and test harness dependencies - Re-ran code generators - Formatted generated code Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 2f9601a commit bf3bdea

10 files changed

Lines changed: 137 additions & 72 deletions

File tree

dotnet/src/Generated/SessionEvents.cs

Lines changed: 22 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go/generated_session_events.go

Lines changed: 13 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nodejs/package-lock.json

Lines changed: 28 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nodejs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"author": "GitHub",
5757
"license": "MIT",
5858
"dependencies": {
59-
"@github/copilot": "^1.0.43",
59+
"@github/copilot": "^1.0.44-2",
6060
"vscode-jsonrpc": "^8.2.1",
6161
"zod": "^4.3.6"
6262
},

nodejs/samples/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nodejs/src/generated/session-events.ts

Lines changed: 9 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

python/copilot/generated/session_events.py

Lines changed: 15 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/src/generated/session_events.rs

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1292,8 +1292,8 @@ pub struct ModelCallFailureData {
12921292
#[derive(Debug, Clone, Serialize, Deserialize)]
12931293
#[serde(rename_all = "camelCase")]
12941294
pub struct AbortData {
1295-
/// Reason the current turn was aborted (e.g., "user initiated")
1296-
pub reason: String,
1295+
/// Finite reason code describing why the current turn was aborted
1296+
pub reason: AbortReason,
12971297
}
12981298

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

2663+
/// Finite reason code describing why the current turn was aborted
2664+
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
2665+
pub enum AbortReason {
2666+
#[serde(rename = "user_initiated")]
2667+
UserInitiated,
2668+
#[serde(rename = "remote_command")]
2669+
RemoteCommand,
2670+
#[serde(rename = "user_abort")]
2671+
UserAbort,
2672+
/// Unknown variant for forward compatibility.
2673+
#[serde(other)]
2674+
Unknown,
2675+
}
2676+
26602677
/// Message role: "system" for system prompts, "developer" for developer-injected instructions
26612678
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
26622679
pub enum SystemMessageRole {

0 commit comments

Comments
 (0)