,
}
/// Allow-all toggle for tool permission requests, with an optional telemetry source.
@@ -14454,6 +14457,34 @@ pub enum PermissionsModifyRulesScope {
Unknown,
}
+/// Optional source for allow-all telemetry. Defaults to `rpc` when omitted for SDK callers.
+///
+///
+///
+/// **Experimental.** This type is part of an experimental wire-protocol surface
+/// and may change or be removed in future SDK or CLI releases.
+///
+///
+#[derive(Debug, Clone, Default, PartialEq, Eq, Serialize, Deserialize)]
+pub enum PermissionsSetAllowAllSource {
+ /// Allow-all was enabled from a CLI command-line flag.
+ #[serde(rename = "cli_flag")]
+ CliFlag,
+ /// Allow-all was enabled by a slash command.
+ #[serde(rename = "slash_command")]
+ SlashCommand,
+ /// Allow-all was enabled by confirming autopilot behavior.
+ #[serde(rename = "autopilot_confirmation")]
+ AutopilotConfirmation,
+ /// Allow-all was enabled through an RPC caller.
+ #[serde(rename = "rpc")]
+ Rpc,
+ /// Unknown variant for forward compatibility.
+ #[default]
+ #[serde(other)]
+ Unknown,
+}
+
/// Optional source for allow-all telemetry. Defaults to `rpc` when omitted for SDK callers.
///
///
diff --git a/test/harness/package-lock.json b/test/harness/package-lock.json
index cfc652975..621f6c737 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.56-0",
+ "@github/copilot": "^1.0.56-1",
"@modelcontextprotocol/sdk": "^1.26.0",
"@types/node": "^25.3.3",
"@types/node-forge": "^1.3.14",
@@ -464,9 +464,9 @@
}
},
"node_modules/@github/copilot": {
- "version": "1.0.56-0",
- "resolved": "https://registry.npmjs.org/@github/copilot/-/copilot-1.0.56-0.tgz",
- "integrity": "sha512-8xNZtZuiY+TOie4Lonus3Ruv/2oCs/Yx/6uj31NVdRibhh3hR2XjMW6MYRA4Cu0L6PkfDssRk1bSzeZdQ7176g==",
+ "version": "1.0.56-1",
+ "resolved": "https://registry.npmjs.org/@github/copilot/-/copilot-1.0.56-1.tgz",
+ "integrity": "sha512-9VGwX6kcUfm8NHTQaUEtmR6qA73jyDXwtBSmd8ia3OpadEpqc5V65isv37zEtGDv33PPA4ntvoEG0CK4j2oXEg==",
"dev": true,
"license": "SEE LICENSE IN LICENSE.md",
"dependencies": {
@@ -476,20 +476,20 @@
"copilot": "npm-loader.js"
},
"optionalDependencies": {
- "@github/copilot-darwin-arm64": "1.0.56-0",
- "@github/copilot-darwin-x64": "1.0.56-0",
- "@github/copilot-linux-arm64": "1.0.56-0",
- "@github/copilot-linux-x64": "1.0.56-0",
- "@github/copilot-linuxmusl-arm64": "1.0.56-0",
- "@github/copilot-linuxmusl-x64": "1.0.56-0",
- "@github/copilot-win32-arm64": "1.0.56-0",
- "@github/copilot-win32-x64": "1.0.56-0"
+ "@github/copilot-darwin-arm64": "1.0.56-1",
+ "@github/copilot-darwin-x64": "1.0.56-1",
+ "@github/copilot-linux-arm64": "1.0.56-1",
+ "@github/copilot-linux-x64": "1.0.56-1",
+ "@github/copilot-linuxmusl-arm64": "1.0.56-1",
+ "@github/copilot-linuxmusl-x64": "1.0.56-1",
+ "@github/copilot-win32-arm64": "1.0.56-1",
+ "@github/copilot-win32-x64": "1.0.56-1"
}
},
"node_modules/@github/copilot-darwin-arm64": {
- "version": "1.0.56-0",
- "resolved": "https://registry.npmjs.org/@github/copilot-darwin-arm64/-/copilot-darwin-arm64-1.0.56-0.tgz",
- "integrity": "sha512-nPzTbUHTaYpItsWW+OXdwtjypJwkMd02ec4QJeJ7lMgLoTPAaHuo/eCcQA6py8kvkd7VYHJqbtKsCwyl7y3WPA==",
+ "version": "1.0.56-1",
+ "resolved": "https://registry.npmjs.org/@github/copilot-darwin-arm64/-/copilot-darwin-arm64-1.0.56-1.tgz",
+ "integrity": "sha512-GmdinjTXPKe7CBGC6pfFEOcqE3cN7craTo4muMPIRzDWnnkPwkIT05z74fgLc+r0/+MtllCysXkQVLixHEmyQw==",
"cpu": [
"arm64"
],
@@ -504,9 +504,9 @@
}
},
"node_modules/@github/copilot-darwin-x64": {
- "version": "1.0.56-0",
- "resolved": "https://registry.npmjs.org/@github/copilot-darwin-x64/-/copilot-darwin-x64-1.0.56-0.tgz",
- "integrity": "sha512-HSi3aDpFYAOe3F7urJLUfbv3gecJHOVzxpVKvi1PF5Tjz5rh9i5rNtKUki1kah8ZgUubwxORK/ErOEr8TQCO/Q==",
+ "version": "1.0.56-1",
+ "resolved": "https://registry.npmjs.org/@github/copilot-darwin-x64/-/copilot-darwin-x64-1.0.56-1.tgz",
+ "integrity": "sha512-WfkSnB0MxmMxV58yqF8O0GkBzXCCKy3H6s13Xrqfvotmk9KNriVzCHmUnnMTve4XeOGCGrOqU2Hy2VNUu8Cj1A==",
"cpu": [
"x64"
],
@@ -521,9 +521,9 @@
}
},
"node_modules/@github/copilot-linux-arm64": {
- "version": "1.0.56-0",
- "resolved": "https://registry.npmjs.org/@github/copilot-linux-arm64/-/copilot-linux-arm64-1.0.56-0.tgz",
- "integrity": "sha512-RQw8l36E1zp4tWAx0Ha0eYBz9v3fAHYCuxaiejU4zBIwmgg+29CW33xxSkwLalBDzPvYWRW35geVxHzdZK2bhw==",
+ "version": "1.0.56-1",
+ "resolved": "https://registry.npmjs.org/@github/copilot-linux-arm64/-/copilot-linux-arm64-1.0.56-1.tgz",
+ "integrity": "sha512-fNwcdnPG8N01n9MFl4xKswFsO4ZjkckM5D7UqgtO4aiJYGQYmw+Viq0MFzKD4G8Nzl5k6qR1pDnvWciVAcYDag==",
"cpu": [
"arm64"
],
@@ -538,9 +538,9 @@
}
},
"node_modules/@github/copilot-linux-x64": {
- "version": "1.0.56-0",
- "resolved": "https://registry.npmjs.org/@github/copilot-linux-x64/-/copilot-linux-x64-1.0.56-0.tgz",
- "integrity": "sha512-ZUWvsznYbf1z84gKhEhkJtUa05IqnXjYvirOtjsz/lKojFmUR2iyyZZNDeDquxDDnjm68DGypgXlRnaaqsrnuw==",
+ "version": "1.0.56-1",
+ "resolved": "https://registry.npmjs.org/@github/copilot-linux-x64/-/copilot-linux-x64-1.0.56-1.tgz",
+ "integrity": "sha512-Ow2dQSpuJXHmnw4RBitt/RiAMxsG9Mu5x0MX7ueNzhK1xfuGp7m8yUikbJNZQbBq2KZB2OlwGDKx2KtEBxtbig==",
"cpu": [
"x64"
],
@@ -555,9 +555,9 @@
}
},
"node_modules/@github/copilot-linuxmusl-arm64": {
- "version": "1.0.56-0",
- "resolved": "https://registry.npmjs.org/@github/copilot-linuxmusl-arm64/-/copilot-linuxmusl-arm64-1.0.56-0.tgz",
- "integrity": "sha512-hoQWHaByW1QpJM1j+PviktkASsNpkPgQyEFPItoye1Bhl6uuSvZtJTDrXK9AAZLSGeeGF68MvU2+KGEMyqNJaw==",
+ "version": "1.0.56-1",
+ "resolved": "https://registry.npmjs.org/@github/copilot-linuxmusl-arm64/-/copilot-linuxmusl-arm64-1.0.56-1.tgz",
+ "integrity": "sha512-vZQAF+QCa+UVND6NNo/lexc3bLWLYMP63aY5peh5BIYrPLv0Ylf5+VSJoaxBC1qFrjLmFaKo4KRWtmh8Mqx6Lw==",
"cpu": [
"arm64"
],
@@ -572,9 +572,9 @@
}
},
"node_modules/@github/copilot-linuxmusl-x64": {
- "version": "1.0.56-0",
- "resolved": "https://registry.npmjs.org/@github/copilot-linuxmusl-x64/-/copilot-linuxmusl-x64-1.0.56-0.tgz",
- "integrity": "sha512-cDdSQIcyGwDa5LJVTrtphkJ5reUFUuH6p+dCZToFj6VvaIt/4FAX+nj6EBOf5nI11ANda0GNPI92M5cbP3P+Sw==",
+ "version": "1.0.56-1",
+ "resolved": "https://registry.npmjs.org/@github/copilot-linuxmusl-x64/-/copilot-linuxmusl-x64-1.0.56-1.tgz",
+ "integrity": "sha512-EEubP5DRWX/w2CPuZr7aQdfd57mGQ8gDNXOLNds+94Qp2UQD0/wJxF+FrU9YZSWPhcjG/BmXxnw/D7xwby53Nw==",
"cpu": [
"x64"
],
@@ -589,9 +589,9 @@
}
},
"node_modules/@github/copilot-win32-arm64": {
- "version": "1.0.56-0",
- "resolved": "https://registry.npmjs.org/@github/copilot-win32-arm64/-/copilot-win32-arm64-1.0.56-0.tgz",
- "integrity": "sha512-f/UM7tw0tVsTkfAkwVwisACa7u2kbrRb5Yp2vf4qw8DyQlvyCMvhno4OXzIk00+/mttUnLDErzQ9tB3xTTD96g==",
+ "version": "1.0.56-1",
+ "resolved": "https://registry.npmjs.org/@github/copilot-win32-arm64/-/copilot-win32-arm64-1.0.56-1.tgz",
+ "integrity": "sha512-PHr9xxlbh/UMYP0XL7UnPhgPdQyGbA6lJ7yqxoy0JO017c9o62Bhcd39gCuVPlkYurxeFzAdPnlbDVxSKBfNKQ==",
"cpu": [
"arm64"
],
@@ -606,9 +606,9 @@
}
},
"node_modules/@github/copilot-win32-x64": {
- "version": "1.0.56-0",
- "resolved": "https://registry.npmjs.org/@github/copilot-win32-x64/-/copilot-win32-x64-1.0.56-0.tgz",
- "integrity": "sha512-0N319KlZEta3rYdED5zNyWZB3wvrsZfAs1vOGX7+kJUMeksW9eSNKA/jKp+SLt9qokttOo0YCPNDNVtFzLyO2w==",
+ "version": "1.0.56-1",
+ "resolved": "https://registry.npmjs.org/@github/copilot-win32-x64/-/copilot-win32-x64-1.0.56-1.tgz",
+ "integrity": "sha512-EWMfn0EQhUYOpwG+VaLif9ZLBt3D9mZ0DFmxVSM2DSnIMRlpC23hAnwY9n1R6zAvwQY20XMLIJ4d0LW4mUX9Ag==",
"cpu": [
"x64"
],
diff --git a/test/harness/package.json b/test/harness/package.json
index bcea6bbe5..9c7f5344a 100644
--- a/test/harness/package.json
+++ b/test/harness/package.json
@@ -11,7 +11,7 @@
"test": "vitest run"
},
"devDependencies": {
- "@github/copilot": "^1.0.56-0",
+ "@github/copilot": "^1.0.56-1",
"@modelcontextprotocol/sdk": "^1.26.0",
"@types/node": "^25.3.3",
"@types/node-forge": "^1.3.14",