diff --git a/dotnet/src/Generated/SessionEvents.cs b/dotnet/src/Generated/SessionEvents.cs
index d4eddd94d5..aabc6afce6 100644
--- a/dotnet/src/Generated/SessionEvents.cs
+++ b/dotnet/src/Generated/SessionEvents.cs
@@ -4766,9 +4766,9 @@ public partial class CustomAgentsUpdatedAgent
[JsonPropertyName("source")]
public required string Source { get; set; }
- /// List of tool names available to this agent.
+ /// List of tool names available to this agent, or null when all tools are available.
[JsonPropertyName("tools")]
- public required string[] Tools { get; set; }
+ public string[]? Tools { get; set; }
/// Whether the agent can be selected by the user.
[JsonPropertyName("userInvocable")]
diff --git a/dotnet/test/E2E/PendingWorkResumeE2ETests.cs b/dotnet/test/E2E/PendingWorkResumeE2ETests.cs
index 445b43c926..6656af6531 100644
--- a/dotnet/test/E2E/PendingWorkResumeE2ETests.cs
+++ b/dotnet/test/E2E/PendingWorkResumeE2ETests.cs
@@ -213,10 +213,9 @@ await session1.SendAsync(new MessageOptions
result: "EXTERNAL_RESUMED_BETA");
Assert.True(resumedResult.Success);
- var answer = await TestHelper.GetFinalAssistantMessageAsync(session2, PendingWorkTimeout);
-
+ // continuePendingWork=false may interrupt agent continuation before this response,
+ // but the pending call should still accept an explicit completion.
Assert.Equal(1, invocationCount);
- Assert.Contains("EXTERNAL_RESUMED_BETA", answer?.Data.Content ?? string.Empty);
await session2.DisposeAsync();
await resumedClient.ForceStopAsync();
diff --git a/go/generated_session_events.go b/go/generated_session_events.go
index 59e5fb19d6..ce60561e98 100644
--- a/go/generated_session_events.go
+++ b/go/generated_session_events.go
@@ -2289,7 +2289,7 @@ type CustomAgentsUpdatedAgent struct {
Name string `json:"name"`
// Source location: user, project, inherited, remote, or plugin
Source string `json:"source"`
- // List of tool names available to this agent
+ // List of tool names available to this agent, or null when all tools are available
Tools []string `json:"tools"`
// Whether the agent can be selected by the user
UserInvocable bool `json:"userInvocable"`
diff --git a/nodejs/package-lock.json b/nodejs/package-lock.json
index 9bd21becb2..87b471a6c1 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.41-0",
+ "@github/copilot": "^1.0.41-1",
"vscode-jsonrpc": "^8.2.1",
"zod": "^4.3.6"
},
@@ -663,26 +663,26 @@
}
},
"node_modules/@github/copilot": {
- "version": "1.0.41-0",
- "resolved": "https://registry.npmjs.org/@github/copilot/-/copilot-1.0.41-0.tgz",
- "integrity": "sha512-gLyCadBZdJeJtHJI3XdN8wAmLMEUdXfCa3EcVnbdbV1NHZDAJhr7h41l7a49pqRAmJyLUKlk1Lokk7U+OD3tgw==",
+ "version": "1.0.41-1",
+ "resolved": "https://registry.npmjs.org/@github/copilot/-/copilot-1.0.41-1.tgz",
+ "integrity": "sha512-95Qxeds7SAi96b4bK91PAdB13M39ZKpZDfWf69yJg6362RTCFNa24QvflLG+3f4Vojh8GD4h8EvxAYwgq4zdMQ==",
"license": "SEE LICENSE IN LICENSE.md",
"bin": {
"copilot": "npm-loader.js"
},
"optionalDependencies": {
- "@github/copilot-darwin-arm64": "1.0.41-0",
- "@github/copilot-darwin-x64": "1.0.41-0",
- "@github/copilot-linux-arm64": "1.0.41-0",
- "@github/copilot-linux-x64": "1.0.41-0",
- "@github/copilot-win32-arm64": "1.0.41-0",
- "@github/copilot-win32-x64": "1.0.41-0"
+ "@github/copilot-darwin-arm64": "1.0.41-1",
+ "@github/copilot-darwin-x64": "1.0.41-1",
+ "@github/copilot-linux-arm64": "1.0.41-1",
+ "@github/copilot-linux-x64": "1.0.41-1",
+ "@github/copilot-win32-arm64": "1.0.41-1",
+ "@github/copilot-win32-x64": "1.0.41-1"
}
},
"node_modules/@github/copilot-darwin-arm64": {
- "version": "1.0.41-0",
- "resolved": "https://registry.npmjs.org/@github/copilot-darwin-arm64/-/copilot-darwin-arm64-1.0.41-0.tgz",
- "integrity": "sha512-lrrH1oMbTOF1W/YxH6rvoEHOymxmXaMx4aDzm190hU0Yh6Cuu0BJGFvgG8nE9bqcv5O8W7eEBr26jDlGtnZiwg==",
+ "version": "1.0.41-1",
+ "resolved": "https://registry.npmjs.org/@github/copilot-darwin-arm64/-/copilot-darwin-arm64-1.0.41-1.tgz",
+ "integrity": "sha512-9ExZaLv3/yi7Be9GnjhxJgmuklQhqT59014BsqsWt1lpTA1khJs8VyC5B+iP8TEOkFKvD/UXJNSP9PCE6n5inQ==",
"cpu": [
"arm64"
],
@@ -696,9 +696,9 @@
}
},
"node_modules/@github/copilot-darwin-x64": {
- "version": "1.0.41-0",
- "resolved": "https://registry.npmjs.org/@github/copilot-darwin-x64/-/copilot-darwin-x64-1.0.41-0.tgz",
- "integrity": "sha512-4418VtSSkEgn4BcwCFg+0UDhGCfQgGTx16r/PiWbuUOgIBzts3FfVzWMWTuXyxk7kl2Ib8k7KSd/7rNpjcrzBw==",
+ "version": "1.0.41-1",
+ "resolved": "https://registry.npmjs.org/@github/copilot-darwin-x64/-/copilot-darwin-x64-1.0.41-1.tgz",
+ "integrity": "sha512-6ZretUFTcCPajzcZyQZixn2unVlN+sbtC6hULBYT6FLHrqSrjK4QN52eCtTYOz/kPbBUO4lj9YjT/v1gkgMDwQ==",
"cpu": [
"x64"
],
@@ -712,9 +712,9 @@
}
},
"node_modules/@github/copilot-linux-arm64": {
- "version": "1.0.41-0",
- "resolved": "https://registry.npmjs.org/@github/copilot-linux-arm64/-/copilot-linux-arm64-1.0.41-0.tgz",
- "integrity": "sha512-5xjgp3Ak5QJ68byNbsgBpdK1V6T5t8EGu0pUwEJMNMMXxqvL9f7gPcnCGdTtV2DS4Q3adkziV/gpBSSQ5HY8hg==",
+ "version": "1.0.41-1",
+ "resolved": "https://registry.npmjs.org/@github/copilot-linux-arm64/-/copilot-linux-arm64-1.0.41-1.tgz",
+ "integrity": "sha512-iP/VbjvGMQvo0fudLHBpmp31nAmtGvq1tZWC+YEQ43D58n2miOXkiDR61Tn9PSPGTkNbrnTecE0mgBO2oePYPw==",
"cpu": [
"arm64"
],
@@ -728,9 +728,9 @@
}
},
"node_modules/@github/copilot-linux-x64": {
- "version": "1.0.41-0",
- "resolved": "https://registry.npmjs.org/@github/copilot-linux-x64/-/copilot-linux-x64-1.0.41-0.tgz",
- "integrity": "sha512-oWPkj0bSjBjtAqonMEZD7EuSByBNXwtceMw8y7uGOfs6jQXfhDGzCCB6NGb+lcftVNtWDKFCUtx+x8Fbt4O37w==",
+ "version": "1.0.41-1",
+ "resolved": "https://registry.npmjs.org/@github/copilot-linux-x64/-/copilot-linux-x64-1.0.41-1.tgz",
+ "integrity": "sha512-DAVCL7pMxeRRHcVOcbpllDBn87zVgskHNqfWrdFPEcgfslx0bw7GkErO35jx/SLnehcwpdwHquqfkyDpnfRAqg==",
"cpu": [
"x64"
],
@@ -744,9 +744,9 @@
}
},
"node_modules/@github/copilot-win32-arm64": {
- "version": "1.0.41-0",
- "resolved": "https://registry.npmjs.org/@github/copilot-win32-arm64/-/copilot-win32-arm64-1.0.41-0.tgz",
- "integrity": "sha512-MaPg4tFWTiRuyv+j0ymJbZp8UPK+RIXNMpekR7FRf8/Uz+NiJgTTxTDjFi4ytRJU5UNrUezkVAk5Xduq/CaIew==",
+ "version": "1.0.41-1",
+ "resolved": "https://registry.npmjs.org/@github/copilot-win32-arm64/-/copilot-win32-arm64-1.0.41-1.tgz",
+ "integrity": "sha512-m+un4+m1MQlTbiaA6d+/1Aa0SBI85O+De6P/8RdrVCEaoLE0Uy10wZbiHk6GK+YN74B/9WGwW8YANVVaBXsDDw==",
"cpu": [
"arm64"
],
@@ -760,9 +760,9 @@
}
},
"node_modules/@github/copilot-win32-x64": {
- "version": "1.0.41-0",
- "resolved": "https://registry.npmjs.org/@github/copilot-win32-x64/-/copilot-win32-x64-1.0.41-0.tgz",
- "integrity": "sha512-ykRuDWjJEgSywMFJl1yaefssaklCVSVhprx2NcSVh6tIGupvvzVAM6nL6Mj6nyKpG6FKGHanedBeL6SJc935cw==",
+ "version": "1.0.41-1",
+ "resolved": "https://registry.npmjs.org/@github/copilot-win32-x64/-/copilot-win32-x64-1.0.41-1.tgz",
+ "integrity": "sha512-9Yl56T/4Eo7etQ+98XxsYTIzPdkuN5SAD0mZN2SHjdK5h0mBJFXpEmsminSelFgUbTsMHb+srfSmvx5nFe0m0A==",
"cpu": [
"x64"
],
diff --git a/nodejs/package.json b/nodejs/package.json
index eb41d53462..4969ba23c7 100644
--- a/nodejs/package.json
+++ b/nodejs/package.json
@@ -56,7 +56,7 @@
"author": "GitHub",
"license": "MIT",
"dependencies": {
- "@github/copilot": "^1.0.41-0",
+ "@github/copilot": "^1.0.41-1",
"vscode-jsonrpc": "^8.2.1",
"zod": "^4.3.6"
},
diff --git a/nodejs/samples/package-lock.json b/nodejs/samples/package-lock.json
index aaa698a214..0c86383f66 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.41-0",
+ "@github/copilot": "^1.0.41-1",
"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 2455f7a5b6..df3702843c 100644
--- a/nodejs/src/generated/session-events.ts
+++ b/nodejs/src/generated/session-events.ts
@@ -4987,9 +4987,9 @@ export interface CustomAgentsUpdatedAgent {
*/
source: string;
/**
- * List of tool names available to this agent
+ * List of tool names available to this agent, or null when all tools are available
*/
- tools: string[];
+ tools: string[] | null;
/**
* Whether the agent can be selected by the user
*/
diff --git a/python/copilot/generated/session_events.py b/python/copilot/generated/session_events.py
index 1ef8d9edd8..55646eba80 100644
--- a/python/copilot/generated/session_events.py
+++ b/python/copilot/generated/session_events.py
@@ -1095,7 +1095,7 @@ class CustomAgentsUpdatedAgent:
id: str
name: str
source: str
- tools: list[str]
+ tools: list[str] | None
user_invocable: bool
model: str | None = None
@@ -1107,7 +1107,7 @@ def from_dict(obj: Any) -> "CustomAgentsUpdatedAgent":
id = from_str(obj.get("id"))
name = from_str(obj.get("name"))
source = from_str(obj.get("source"))
- tools = from_list(from_str, obj.get("tools"))
+ tools = from_union([from_none, lambda x: from_list(from_str, x)], obj.get("tools"))
user_invocable = from_bool(obj.get("userInvocable"))
model = from_union([from_none, from_str], obj.get("model"))
return CustomAgentsUpdatedAgent(
@@ -1128,7 +1128,7 @@ def to_dict(self) -> dict:
result["id"] = from_str(self.id)
result["name"] = from_str(self.name)
result["source"] = from_str(self.source)
- result["tools"] = from_list(from_str, self.tools)
+ result["tools"] = from_union([from_none, lambda x: from_list(from_str, x)], self.tools)
result["userInvocable"] = from_bool(self.user_invocable)
if self.model is not None:
result["model"] = from_union([from_none, from_str], self.model)
diff --git a/test/harness/package-lock.json b/test/harness/package-lock.json
index 9ece434e9a..7259fbacc0 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.41-0",
+ "@github/copilot": "^1.0.41-1",
"@modelcontextprotocol/sdk": "^1.26.0",
"@types/node": "^25.3.3",
"@types/node-forge": "^1.3.14",
@@ -464,27 +464,27 @@
}
},
"node_modules/@github/copilot": {
- "version": "1.0.41-0",
- "resolved": "https://registry.npmjs.org/@github/copilot/-/copilot-1.0.41-0.tgz",
- "integrity": "sha512-gLyCadBZdJeJtHJI3XdN8wAmLMEUdXfCa3EcVnbdbV1NHZDAJhr7h41l7a49pqRAmJyLUKlk1Lokk7U+OD3tgw==",
+ "version": "1.0.41-1",
+ "resolved": "https://registry.npmjs.org/@github/copilot/-/copilot-1.0.41-1.tgz",
+ "integrity": "sha512-95Qxeds7SAi96b4bK91PAdB13M39ZKpZDfWf69yJg6362RTCFNa24QvflLG+3f4Vojh8GD4h8EvxAYwgq4zdMQ==",
"dev": true,
"license": "SEE LICENSE IN LICENSE.md",
"bin": {
"copilot": "npm-loader.js"
},
"optionalDependencies": {
- "@github/copilot-darwin-arm64": "1.0.41-0",
- "@github/copilot-darwin-x64": "1.0.41-0",
- "@github/copilot-linux-arm64": "1.0.41-0",
- "@github/copilot-linux-x64": "1.0.41-0",
- "@github/copilot-win32-arm64": "1.0.41-0",
- "@github/copilot-win32-x64": "1.0.41-0"
+ "@github/copilot-darwin-arm64": "1.0.41-1",
+ "@github/copilot-darwin-x64": "1.0.41-1",
+ "@github/copilot-linux-arm64": "1.0.41-1",
+ "@github/copilot-linux-x64": "1.0.41-1",
+ "@github/copilot-win32-arm64": "1.0.41-1",
+ "@github/copilot-win32-x64": "1.0.41-1"
}
},
"node_modules/@github/copilot-darwin-arm64": {
- "version": "1.0.41-0",
- "resolved": "https://registry.npmjs.org/@github/copilot-darwin-arm64/-/copilot-darwin-arm64-1.0.41-0.tgz",
- "integrity": "sha512-lrrH1oMbTOF1W/YxH6rvoEHOymxmXaMx4aDzm190hU0Yh6Cuu0BJGFvgG8nE9bqcv5O8W7eEBr26jDlGtnZiwg==",
+ "version": "1.0.41-1",
+ "resolved": "https://registry.npmjs.org/@github/copilot-darwin-arm64/-/copilot-darwin-arm64-1.0.41-1.tgz",
+ "integrity": "sha512-9ExZaLv3/yi7Be9GnjhxJgmuklQhqT59014BsqsWt1lpTA1khJs8VyC5B+iP8TEOkFKvD/UXJNSP9PCE6n5inQ==",
"cpu": [
"arm64"
],
@@ -499,9 +499,9 @@
}
},
"node_modules/@github/copilot-darwin-x64": {
- "version": "1.0.41-0",
- "resolved": "https://registry.npmjs.org/@github/copilot-darwin-x64/-/copilot-darwin-x64-1.0.41-0.tgz",
- "integrity": "sha512-4418VtSSkEgn4BcwCFg+0UDhGCfQgGTx16r/PiWbuUOgIBzts3FfVzWMWTuXyxk7kl2Ib8k7KSd/7rNpjcrzBw==",
+ "version": "1.0.41-1",
+ "resolved": "https://registry.npmjs.org/@github/copilot-darwin-x64/-/copilot-darwin-x64-1.0.41-1.tgz",
+ "integrity": "sha512-6ZretUFTcCPajzcZyQZixn2unVlN+sbtC6hULBYT6FLHrqSrjK4QN52eCtTYOz/kPbBUO4lj9YjT/v1gkgMDwQ==",
"cpu": [
"x64"
],
@@ -516,9 +516,9 @@
}
},
"node_modules/@github/copilot-linux-arm64": {
- "version": "1.0.41-0",
- "resolved": "https://registry.npmjs.org/@github/copilot-linux-arm64/-/copilot-linux-arm64-1.0.41-0.tgz",
- "integrity": "sha512-5xjgp3Ak5QJ68byNbsgBpdK1V6T5t8EGu0pUwEJMNMMXxqvL9f7gPcnCGdTtV2DS4Q3adkziV/gpBSSQ5HY8hg==",
+ "version": "1.0.41-1",
+ "resolved": "https://registry.npmjs.org/@github/copilot-linux-arm64/-/copilot-linux-arm64-1.0.41-1.tgz",
+ "integrity": "sha512-iP/VbjvGMQvo0fudLHBpmp31nAmtGvq1tZWC+YEQ43D58n2miOXkiDR61Tn9PSPGTkNbrnTecE0mgBO2oePYPw==",
"cpu": [
"arm64"
],
@@ -533,9 +533,9 @@
}
},
"node_modules/@github/copilot-linux-x64": {
- "version": "1.0.41-0",
- "resolved": "https://registry.npmjs.org/@github/copilot-linux-x64/-/copilot-linux-x64-1.0.41-0.tgz",
- "integrity": "sha512-oWPkj0bSjBjtAqonMEZD7EuSByBNXwtceMw8y7uGOfs6jQXfhDGzCCB6NGb+lcftVNtWDKFCUtx+x8Fbt4O37w==",
+ "version": "1.0.41-1",
+ "resolved": "https://registry.npmjs.org/@github/copilot-linux-x64/-/copilot-linux-x64-1.0.41-1.tgz",
+ "integrity": "sha512-DAVCL7pMxeRRHcVOcbpllDBn87zVgskHNqfWrdFPEcgfslx0bw7GkErO35jx/SLnehcwpdwHquqfkyDpnfRAqg==",
"cpu": [
"x64"
],
@@ -550,9 +550,9 @@
}
},
"node_modules/@github/copilot-win32-arm64": {
- "version": "1.0.41-0",
- "resolved": "https://registry.npmjs.org/@github/copilot-win32-arm64/-/copilot-win32-arm64-1.0.41-0.tgz",
- "integrity": "sha512-MaPg4tFWTiRuyv+j0ymJbZp8UPK+RIXNMpekR7FRf8/Uz+NiJgTTxTDjFi4ytRJU5UNrUezkVAk5Xduq/CaIew==",
+ "version": "1.0.41-1",
+ "resolved": "https://registry.npmjs.org/@github/copilot-win32-arm64/-/copilot-win32-arm64-1.0.41-1.tgz",
+ "integrity": "sha512-m+un4+m1MQlTbiaA6d+/1Aa0SBI85O+De6P/8RdrVCEaoLE0Uy10wZbiHk6GK+YN74B/9WGwW8YANVVaBXsDDw==",
"cpu": [
"arm64"
],
@@ -567,9 +567,9 @@
}
},
"node_modules/@github/copilot-win32-x64": {
- "version": "1.0.41-0",
- "resolved": "https://registry.npmjs.org/@github/copilot-win32-x64/-/copilot-win32-x64-1.0.41-0.tgz",
- "integrity": "sha512-ykRuDWjJEgSywMFJl1yaefssaklCVSVhprx2NcSVh6tIGupvvzVAM6nL6Mj6nyKpG6FKGHanedBeL6SJc935cw==",
+ "version": "1.0.41-1",
+ "resolved": "https://registry.npmjs.org/@github/copilot-win32-x64/-/copilot-win32-x64-1.0.41-1.tgz",
+ "integrity": "sha512-9Yl56T/4Eo7etQ+98XxsYTIzPdkuN5SAD0mZN2SHjdK5h0mBJFXpEmsminSelFgUbTsMHb+srfSmvx5nFe0m0A==",
"cpu": [
"x64"
],
diff --git a/test/harness/package.json b/test/harness/package.json
index a0d9e5469f..2b483cb44f 100644
--- a/test/harness/package.json
+++ b/test/harness/package.json
@@ -11,7 +11,7 @@
"test": "vitest run"
},
"devDependencies": {
- "@github/copilot": "^1.0.41-0",
+ "@github/copilot": "^1.0.41-1",
"@modelcontextprotocol/sdk": "^1.26.0",
"@types/node": "^25.3.3",
"@types/node-forge": "^1.3.14",