From e6da4abab41ba6fd3cf4b1d29789cafe3c03f520 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 20 Aug 2026 11:11:33 +0000 Subject: [PATCH 1/4] chore: bump @github/copilot-sdk to 1.0.12-preview.0 and @github/copilot to 1.0.81-5 --- package-lock.json | 244 +++++++-------------------------------- package.json | 4 +- remote/package-lock.json | 244 +++++++-------------------------------- remote/package.json | 4 +- 4 files changed, 86 insertions(+), 410 deletions(-) diff --git a/package-lock.json b/package-lock.json index 53691fbc1a704..252ec9183149e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,8 +11,8 @@ "license": "MIT", "dependencies": { "@anthropic-ai/sdk": "^0.82.0", - "@github/copilot": "1.0.81-0", - "@github/copilot-sdk": "1.0.11", + "@github/copilot": "1.0.81-5", + "@github/copilot-sdk": "1.0.12-preview.0", "@microsoft/1ds-core-js": "^3.2.13", "@microsoft/1ds-post-js": "^3.2.13", "@microsoft/dev-tunnels-connections": "^1.3.41", @@ -1153,9 +1153,9 @@ } }, "node_modules/@github/copilot": { - "version": "1.0.81-0", - "resolved": "https://registry.npmjs.org/@github/copilot/-/copilot-1.0.81-0.tgz", - "integrity": "sha512-0JggnsNkKQl5O6ilPxrjxDahARG/kPPRzDQvEHnuUBisfJi6PSRc4BXNtH+cc704nifIuj8DTb16lK11sRbneA==", + "version": "1.0.81-5", + "resolved": "https://registry.npmjs.org/@github/copilot/-/copilot-1.0.81-5.tgz", + "integrity": "sha512-CLZNjPx4lsseIlfXxmLCGbr4IbfjJmNFPiEzkuuPJBH/Nubw3ibKbJtqSMRiHaNTS4LVmVFkGzqZ7NeUE3MjgA==", "license": "SEE LICENSE IN LICENSE.md", "dependencies": { "detect-libc": "^2.1.2" @@ -1164,20 +1164,20 @@ "copilot": "npm-loader.js" }, "optionalDependencies": { - "@github/copilot-darwin-arm64": "1.0.81-0", - "@github/copilot-darwin-x64": "1.0.81-0", - "@github/copilot-linux-arm64": "1.0.81-0", - "@github/copilot-linux-x64": "1.0.81-0", - "@github/copilot-linuxmusl-arm64": "1.0.81-0", - "@github/copilot-linuxmusl-x64": "1.0.81-0", - "@github/copilot-win32-arm64": "1.0.81-0", - "@github/copilot-win32-x64": "1.0.81-0" + "@github/copilot-darwin-arm64": "1.0.81-5", + "@github/copilot-darwin-x64": "1.0.81-5", + "@github/copilot-linux-arm64": "1.0.81-5", + "@github/copilot-linux-x64": "1.0.81-5", + "@github/copilot-linuxmusl-arm64": "1.0.81-5", + "@github/copilot-linuxmusl-x64": "1.0.81-5", + "@github/copilot-win32-arm64": "1.0.81-5", + "@github/copilot-win32-x64": "1.0.81-5" } }, "node_modules/@github/copilot-darwin-arm64": { - "version": "1.0.81-0", - "resolved": "https://registry.npmjs.org/@github/copilot-darwin-arm64/-/copilot-darwin-arm64-1.0.81-0.tgz", - "integrity": "sha512-8KOUMQ0OdmNQXPhjsKpo86VL/ZUT/lN4329Kdk6cpsvkM3x4+PdFNIJ7j9+4O9rB1P3g5gJ04XtR+qAkmeTekg==", + "version": "1.0.81-5", + "resolved": "https://registry.npmjs.org/@github/copilot-darwin-arm64/-/copilot-darwin-arm64-1.0.81-5.tgz", + "integrity": "sha512-yop7JdAK847INCkUXsFWfuqP72//+xO3b8uXo4T8InWVjdE5DK5G/m9kWzgZfFS7LGoiTGwz2bV54Rfh/gRHVQ==", "cpu": [ "arm64" ], @@ -1191,9 +1191,9 @@ } }, "node_modules/@github/copilot-darwin-x64": { - "version": "1.0.81-0", - "resolved": "https://registry.npmjs.org/@github/copilot-darwin-x64/-/copilot-darwin-x64-1.0.81-0.tgz", - "integrity": "sha512-6jbuDK3zyyU7Iiwnx3Shhs6LcEm03/NCnZYEJFd4oj+g4OtyCziXlVOeIGP+fntuIltIP418Dhc6qd8LL45/Qg==", + "version": "1.0.81-5", + "resolved": "https://registry.npmjs.org/@github/copilot-darwin-x64/-/copilot-darwin-x64-1.0.81-5.tgz", + "integrity": "sha512-s//z4MWiWCGL8437rrODItnoL4FhhQ0bqDnFDRfUoKD7C304b2b2gSm5v4nCLsHjBWp0+jz64zQqNt573g0DYA==", "cpu": [ "x64" ], @@ -1207,9 +1207,9 @@ } }, "node_modules/@github/copilot-linux-arm64": { - "version": "1.0.81-0", - "resolved": "https://registry.npmjs.org/@github/copilot-linux-arm64/-/copilot-linux-arm64-1.0.81-0.tgz", - "integrity": "sha512-UUkCH9iaVdCNHQPjEdSm2L5AZyaM0x0XbxuRuhqB8KidcOCOHp2+Qr8VZnkkXA43CuYQHHi3mSkUGNR1QsEuLg==", + "version": "1.0.81-5", + "resolved": "https://registry.npmjs.org/@github/copilot-linux-arm64/-/copilot-linux-arm64-1.0.81-5.tgz", + "integrity": "sha512-Fe7yf5X644SsCGrfvEnW5u/MluA7karsHhprhoRzeyanaUg4A5t9USRSYVUg8xBByXpIILS/uHoFRlRWLUvLzA==", "cpu": [ "arm64" ], @@ -1226,9 +1226,9 @@ } }, "node_modules/@github/copilot-linux-x64": { - "version": "1.0.81-0", - "resolved": "https://registry.npmjs.org/@github/copilot-linux-x64/-/copilot-linux-x64-1.0.81-0.tgz", - "integrity": "sha512-bAnfkeTFQcUSuUuKFLzBI8n/wrRbel54cb0aZnSYQCejnOSuYSF4d/osCTLDzZwo7aU0zWYxC38jJ9eh4HkUfQ==", + "version": "1.0.81-5", + "resolved": "https://registry.npmjs.org/@github/copilot-linux-x64/-/copilot-linux-x64-1.0.81-5.tgz", + "integrity": "sha512-A0D+7zwbo5Zi9uA+5hkVUbM1lN799/AOK4bQbmo9dsyd4Msnm0LVypeMuqPocqFJ0hKQ0jmF50gRkQBXY19DwQ==", "cpu": [ "x64" ], @@ -1245,9 +1245,9 @@ } }, "node_modules/@github/copilot-linuxmusl-arm64": { - "version": "1.0.81-0", - "resolved": "https://registry.npmjs.org/@github/copilot-linuxmusl-arm64/-/copilot-linuxmusl-arm64-1.0.81-0.tgz", - "integrity": "sha512-4Iqz4VPC5kULTC9KbyFP1NB3kmfZc+Z5vKSGhP3/uHnKViYis7GZrvkaGk93PgS50/5q31rsa/8lFqSgbkfMQg==", + "version": "1.0.81-5", + "resolved": "https://registry.npmjs.org/@github/copilot-linuxmusl-arm64/-/copilot-linuxmusl-arm64-1.0.81-5.tgz", + "integrity": "sha512-cQqr4K8erxym2TBLZo5h3m81BKzS2rLmzfUZUAmcIqc/pmVqVk9L44csheoDPOxoJJRK2x7acs/OJIXolQEUEQ==", "cpu": [ "arm64" ], @@ -1264,9 +1264,9 @@ } }, "node_modules/@github/copilot-linuxmusl-x64": { - "version": "1.0.81-0", - "resolved": "https://registry.npmjs.org/@github/copilot-linuxmusl-x64/-/copilot-linuxmusl-x64-1.0.81-0.tgz", - "integrity": "sha512-iZm/TkBU7WJforS+eo7mZxv4RtdoSqJBqsFwZXi8lTGSeXs2bQBnv+m+XEKabOGk9cHQ8bj8B5K/cCwro4p5tg==", + "version": "1.0.81-5", + "resolved": "https://registry.npmjs.org/@github/copilot-linuxmusl-x64/-/copilot-linuxmusl-x64-1.0.81-5.tgz", + "integrity": "sha512-Ip/kBYXveSzlXh/JKDLQ3UE0YiyT+hJ0Z7utxqqocTee30NSpyP8/1xET7mqqezLE2B7/gdgdoPJVxf5xB4idw==", "cpu": [ "x64" ], @@ -1283,12 +1283,12 @@ } }, "node_modules/@github/copilot-sdk": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@github/copilot-sdk/-/copilot-sdk-1.0.11.tgz", - "integrity": "sha512-ngrnfa9052fLTOMoY0iiQS2B6pFDYJpWNj3syCdjzdje0R5mWoij9b8exJZciLvX7BbJjKz2/lIdwo24av3e3A==", + "version": "1.0.12-preview.0", + "resolved": "https://registry.npmjs.org/@github/copilot-sdk/-/copilot-sdk-1.0.12-preview.0.tgz", + "integrity": "sha512-cXbQGrsjko21nrSXfYmVUXuJ2NuTPDpYUmHEncaeoJd0W6jc62JzRHa91eXT7CJKoRLAK/4kubbjNSdCXDFPLA==", "license": "MIT", "dependencies": { - "@github/copilot": "^1.0.79", + "@github/copilot": "^1.0.81-5", "koffi": "^3.1.0", "vscode-jsonrpc": "^8.2.1", "zod": "^4.3.6" @@ -1297,172 +1297,10 @@ "node": "^20.19.0 || >=22.12.0" } }, - "node_modules/@github/copilot-sdk/node_modules/@github/copilot": { - "version": "1.0.80", - "resolved": "https://registry.npmjs.org/@github/copilot/-/copilot-1.0.80.tgz", - "integrity": "sha512-6tf93ZF56KOiTTAjK/UhLZkl1W543IzaTQly288kockJZFswpRTnQEI00Yvacpb39DTvTYu3/ha9SeKpo/pgZQ==", - "license": "SEE LICENSE IN LICENSE.md", - "dependencies": { - "detect-libc": "^2.1.2" - }, - "bin": { - "copilot": "npm-loader.js" - }, - "optionalDependencies": { - "@github/copilot-darwin-arm64": "1.0.80", - "@github/copilot-darwin-x64": "1.0.80", - "@github/copilot-linux-arm64": "1.0.80", - "@github/copilot-linux-x64": "1.0.80", - "@github/copilot-linuxmusl-arm64": "1.0.80", - "@github/copilot-linuxmusl-x64": "1.0.80", - "@github/copilot-win32-arm64": "1.0.80", - "@github/copilot-win32-x64": "1.0.80" - } - }, - "node_modules/@github/copilot-sdk/node_modules/@github/copilot-darwin-arm64": { - "version": "1.0.80", - "resolved": "https://registry.npmjs.org/@github/copilot-darwin-arm64/-/copilot-darwin-arm64-1.0.80.tgz", - "integrity": "sha512-fzn4PnSx3+O/a3ip72KVsjnzORsEygK+0i21bFAnFBYS+0Wi1Pk+o/CmNsJ7aRbf1enSJrcH8UDVkyc9pMGEBg==", - "cpu": [ - "arm64" - ], - "license": "SEE LICENSE IN LICENSE.md", - "optional": true, - "os": [ - "darwin" - ], - "bin": { - "copilot-darwin-arm64": "copilot" - } - }, - "node_modules/@github/copilot-sdk/node_modules/@github/copilot-darwin-x64": { - "version": "1.0.80", - "resolved": "https://registry.npmjs.org/@github/copilot-darwin-x64/-/copilot-darwin-x64-1.0.80.tgz", - "integrity": "sha512-PKsyGk5DccNzR3bYXcYTGB9N6sHzhzGqEwq/2t1qBwqPbrC98Zo2dOT2G40/QYpJ4XdrGmTmdmfPJQ9PJknlIQ==", - "cpu": [ - "x64" - ], - "license": "SEE LICENSE IN LICENSE.md", - "optional": true, - "os": [ - "darwin" - ], - "bin": { - "copilot-darwin-x64": "copilot" - } - }, - "node_modules/@github/copilot-sdk/node_modules/@github/copilot-linux-arm64": { - "version": "1.0.80", - "resolved": "https://registry.npmjs.org/@github/copilot-linux-arm64/-/copilot-linux-arm64-1.0.80.tgz", - "integrity": "sha512-8oXwN2luyHEjIoSk8AkATBjXDhRoQtuiUvC93GpfQKFHI+I1eoOVwIsAq5fKP8jNCF2rOrYFIcTjwmRt38kCcQ==", - "cpu": [ - "arm64" - ], - "libc": [ - "glibc" - ], - "license": "SEE LICENSE IN LICENSE.md", - "optional": true, - "os": [ - "linux" - ], - "bin": { - "copilot-linux-arm64": "copilot" - } - }, - "node_modules/@github/copilot-sdk/node_modules/@github/copilot-linux-x64": { - "version": "1.0.80", - "resolved": "https://registry.npmjs.org/@github/copilot-linux-x64/-/copilot-linux-x64-1.0.80.tgz", - "integrity": "sha512-qv1ytVNwA3IDK7kcQow+fAikD67t42+AQ8X42bK/7oudNiv4frVZMO0yh1DYIebVRcmEhmPvbVPY/ptVUK3cbA==", - "cpu": [ - "x64" - ], - "libc": [ - "glibc" - ], - "license": "SEE LICENSE IN LICENSE.md", - "optional": true, - "os": [ - "linux" - ], - "bin": { - "copilot-linux-x64": "copilot" - } - }, - "node_modules/@github/copilot-sdk/node_modules/@github/copilot-linuxmusl-arm64": { - "version": "1.0.80", - "resolved": "https://registry.npmjs.org/@github/copilot-linuxmusl-arm64/-/copilot-linuxmusl-arm64-1.0.80.tgz", - "integrity": "sha512-Qjyi+OlVnPC4Lkuy7blDMMwMUQI/yELl7gDnqQlaN8TEbhZqZueuf3p0a+kEjXcNsw4XtNYQc0eMJqSIYy/Pjg==", - "cpu": [ - "arm64" - ], - "libc": [ - "musl" - ], - "license": "SEE LICENSE IN LICENSE.md", - "optional": true, - "os": [ - "linux" - ], - "bin": { - "copilot-linuxmusl-arm64": "copilot" - } - }, - "node_modules/@github/copilot-sdk/node_modules/@github/copilot-linuxmusl-x64": { - "version": "1.0.80", - "resolved": "https://registry.npmjs.org/@github/copilot-linuxmusl-x64/-/copilot-linuxmusl-x64-1.0.80.tgz", - "integrity": "sha512-rBg8pugf+5FhiZxi2zkOr+rlcOVF6Xg63j1FvryfwPT4DJ2w5Na7O3lpS4sgu8QmsP5H+dAqjlXYLYsvSoVQ0g==", - "cpu": [ - "x64" - ], - "libc": [ - "musl" - ], - "license": "SEE LICENSE IN LICENSE.md", - "optional": true, - "os": [ - "linux" - ], - "bin": { - "copilot-linuxmusl-x64": "copilot" - } - }, - "node_modules/@github/copilot-sdk/node_modules/@github/copilot-win32-arm64": { - "version": "1.0.80", - "resolved": "https://registry.npmjs.org/@github/copilot-win32-arm64/-/copilot-win32-arm64-1.0.80.tgz", - "integrity": "sha512-+f7Vkd3vt2DYOxRnS8dStvYu3DY638N/AuLuIjxZp1F9GgwCUZK69wspqIxg2L59PmRRQcH4AGTrRDR60ENIZA==", - "cpu": [ - "arm64" - ], - "license": "SEE LICENSE IN LICENSE.md", - "optional": true, - "os": [ - "win32" - ], - "bin": { - "copilot-win32-arm64": "copilot.exe" - } - }, - "node_modules/@github/copilot-sdk/node_modules/@github/copilot-win32-x64": { - "version": "1.0.80", - "resolved": "https://registry.npmjs.org/@github/copilot-win32-x64/-/copilot-win32-x64-1.0.80.tgz", - "integrity": "sha512-PO0kPqhRTWQfsqGaj4UN3cj8ttkcJYy4wmXiArtFm+03AIFu8xTvuhQDPn2xEOsUome7m7t2XomKoavcrCcRsw==", - "cpu": [ - "x64" - ], - "license": "SEE LICENSE IN LICENSE.md", - "optional": true, - "os": [ - "win32" - ], - "bin": { - "copilot-win32-x64": "copilot.exe" - } - }, "node_modules/@github/copilot-win32-arm64": { - "version": "1.0.81-0", - "resolved": "https://registry.npmjs.org/@github/copilot-win32-arm64/-/copilot-win32-arm64-1.0.81-0.tgz", - "integrity": "sha512-xMNCRb3T9uBvEYarMN5zX9V8TRCM2bGoarbl5mddnP6AHyg1U7AL7CHuh6auiloE/QAPxL68ZSs3IMrAS4XcEg==", + "version": "1.0.81-5", + "resolved": "https://registry.npmjs.org/@github/copilot-win32-arm64/-/copilot-win32-arm64-1.0.81-5.tgz", + "integrity": "sha512-ERTckb1saKW6xZVIFWE5+1aIQPGlAjFers2BSCXWxtwPiIb0Ev/xSMY/gF0R8oH2tWHr06iGC3FnFzXzvn50OQ==", "cpu": [ "arm64" ], @@ -1476,9 +1314,9 @@ } }, "node_modules/@github/copilot-win32-x64": { - "version": "1.0.81-0", - "resolved": "https://registry.npmjs.org/@github/copilot-win32-x64/-/copilot-win32-x64-1.0.81-0.tgz", - "integrity": "sha512-bWus/QuH1u0WUeVsafn5800JL6IwGHjNclKriQlcZsYqJ6VjUgvXJaqafdXR9Vk7DdoWkxjM76Zko3LEltDeTg==", + "version": "1.0.81-5", + "resolved": "https://registry.npmjs.org/@github/copilot-win32-x64/-/copilot-win32-x64-1.0.81-5.tgz", + "integrity": "sha512-rAns726TCJD9fxBRD+ZAdh1+ZwHJncZtSg6T5w3j/7+pMkQUw1RSFxNXx/aeVAwKe+R9gufQWCkSgzaOwDr7kg==", "cpu": [ "x64" ], diff --git a/package.json b/package.json index 317255c0d13c5..4704ef6f21b11 100644 --- a/package.json +++ b/package.json @@ -100,8 +100,8 @@ }, "dependencies": { "@anthropic-ai/sdk": "^0.82.0", - "@github/copilot": "1.0.81-0", - "@github/copilot-sdk": "1.0.11", + "@github/copilot": "1.0.81-5", + "@github/copilot-sdk": "1.0.12-preview.0", "@microsoft/1ds-core-js": "^3.2.13", "@microsoft/1ds-post-js": "^3.2.13", "@microsoft/dev-tunnels-connections": "^1.3.41", diff --git a/remote/package-lock.json b/remote/package-lock.json index f1a5c864cbd35..993d5c6e83462 100644 --- a/remote/package-lock.json +++ b/remote/package-lock.json @@ -8,8 +8,8 @@ "name": "vscode-reh", "version": "0.0.0", "dependencies": { - "@github/copilot": "1.0.81-0", - "@github/copilot-sdk": "1.0.11", + "@github/copilot": "1.0.81-5", + "@github/copilot-sdk": "1.0.12-preview.0", "@microsoft/1ds-core-js": "^3.2.13", "@microsoft/1ds-post-js": "^3.2.13", "@microsoft/mxc-sdk": "0.7.0", @@ -61,9 +61,9 @@ } }, "node_modules/@github/copilot": { - "version": "1.0.81-0", - "resolved": "https://registry.npmjs.org/@github/copilot/-/copilot-1.0.81-0.tgz", - "integrity": "sha512-0JggnsNkKQl5O6ilPxrjxDahARG/kPPRzDQvEHnuUBisfJi6PSRc4BXNtH+cc704nifIuj8DTb16lK11sRbneA==", + "version": "1.0.81-5", + "resolved": "https://registry.npmjs.org/@github/copilot/-/copilot-1.0.81-5.tgz", + "integrity": "sha512-CLZNjPx4lsseIlfXxmLCGbr4IbfjJmNFPiEzkuuPJBH/Nubw3ibKbJtqSMRiHaNTS4LVmVFkGzqZ7NeUE3MjgA==", "license": "SEE LICENSE IN LICENSE.md", "dependencies": { "detect-libc": "^2.1.2" @@ -72,20 +72,20 @@ "copilot": "npm-loader.js" }, "optionalDependencies": { - "@github/copilot-darwin-arm64": "1.0.81-0", - "@github/copilot-darwin-x64": "1.0.81-0", - "@github/copilot-linux-arm64": "1.0.81-0", - "@github/copilot-linux-x64": "1.0.81-0", - "@github/copilot-linuxmusl-arm64": "1.0.81-0", - "@github/copilot-linuxmusl-x64": "1.0.81-0", - "@github/copilot-win32-arm64": "1.0.81-0", - "@github/copilot-win32-x64": "1.0.81-0" + "@github/copilot-darwin-arm64": "1.0.81-5", + "@github/copilot-darwin-x64": "1.0.81-5", + "@github/copilot-linux-arm64": "1.0.81-5", + "@github/copilot-linux-x64": "1.0.81-5", + "@github/copilot-linuxmusl-arm64": "1.0.81-5", + "@github/copilot-linuxmusl-x64": "1.0.81-5", + "@github/copilot-win32-arm64": "1.0.81-5", + "@github/copilot-win32-x64": "1.0.81-5" } }, "node_modules/@github/copilot-darwin-arm64": { - "version": "1.0.81-0", - "resolved": "https://registry.npmjs.org/@github/copilot-darwin-arm64/-/copilot-darwin-arm64-1.0.81-0.tgz", - "integrity": "sha512-8KOUMQ0OdmNQXPhjsKpo86VL/ZUT/lN4329Kdk6cpsvkM3x4+PdFNIJ7j9+4O9rB1P3g5gJ04XtR+qAkmeTekg==", + "version": "1.0.81-5", + "resolved": "https://registry.npmjs.org/@github/copilot-darwin-arm64/-/copilot-darwin-arm64-1.0.81-5.tgz", + "integrity": "sha512-yop7JdAK847INCkUXsFWfuqP72//+xO3b8uXo4T8InWVjdE5DK5G/m9kWzgZfFS7LGoiTGwz2bV54Rfh/gRHVQ==", "cpu": [ "arm64" ], @@ -99,9 +99,9 @@ } }, "node_modules/@github/copilot-darwin-x64": { - "version": "1.0.81-0", - "resolved": "https://registry.npmjs.org/@github/copilot-darwin-x64/-/copilot-darwin-x64-1.0.81-0.tgz", - "integrity": "sha512-6jbuDK3zyyU7Iiwnx3Shhs6LcEm03/NCnZYEJFd4oj+g4OtyCziXlVOeIGP+fntuIltIP418Dhc6qd8LL45/Qg==", + "version": "1.0.81-5", + "resolved": "https://registry.npmjs.org/@github/copilot-darwin-x64/-/copilot-darwin-x64-1.0.81-5.tgz", + "integrity": "sha512-s//z4MWiWCGL8437rrODItnoL4FhhQ0bqDnFDRfUoKD7C304b2b2gSm5v4nCLsHjBWp0+jz64zQqNt573g0DYA==", "cpu": [ "x64" ], @@ -115,9 +115,9 @@ } }, "node_modules/@github/copilot-linux-arm64": { - "version": "1.0.81-0", - "resolved": "https://registry.npmjs.org/@github/copilot-linux-arm64/-/copilot-linux-arm64-1.0.81-0.tgz", - "integrity": "sha512-UUkCH9iaVdCNHQPjEdSm2L5AZyaM0x0XbxuRuhqB8KidcOCOHp2+Qr8VZnkkXA43CuYQHHi3mSkUGNR1QsEuLg==", + "version": "1.0.81-5", + "resolved": "https://registry.npmjs.org/@github/copilot-linux-arm64/-/copilot-linux-arm64-1.0.81-5.tgz", + "integrity": "sha512-Fe7yf5X644SsCGrfvEnW5u/MluA7karsHhprhoRzeyanaUg4A5t9USRSYVUg8xBByXpIILS/uHoFRlRWLUvLzA==", "cpu": [ "arm64" ], @@ -134,9 +134,9 @@ } }, "node_modules/@github/copilot-linux-x64": { - "version": "1.0.81-0", - "resolved": "https://registry.npmjs.org/@github/copilot-linux-x64/-/copilot-linux-x64-1.0.81-0.tgz", - "integrity": "sha512-bAnfkeTFQcUSuUuKFLzBI8n/wrRbel54cb0aZnSYQCejnOSuYSF4d/osCTLDzZwo7aU0zWYxC38jJ9eh4HkUfQ==", + "version": "1.0.81-5", + "resolved": "https://registry.npmjs.org/@github/copilot-linux-x64/-/copilot-linux-x64-1.0.81-5.tgz", + "integrity": "sha512-A0D+7zwbo5Zi9uA+5hkVUbM1lN799/AOK4bQbmo9dsyd4Msnm0LVypeMuqPocqFJ0hKQ0jmF50gRkQBXY19DwQ==", "cpu": [ "x64" ], @@ -153,9 +153,9 @@ } }, "node_modules/@github/copilot-linuxmusl-arm64": { - "version": "1.0.81-0", - "resolved": "https://registry.npmjs.org/@github/copilot-linuxmusl-arm64/-/copilot-linuxmusl-arm64-1.0.81-0.tgz", - "integrity": "sha512-4Iqz4VPC5kULTC9KbyFP1NB3kmfZc+Z5vKSGhP3/uHnKViYis7GZrvkaGk93PgS50/5q31rsa/8lFqSgbkfMQg==", + "version": "1.0.81-5", + "resolved": "https://registry.npmjs.org/@github/copilot-linuxmusl-arm64/-/copilot-linuxmusl-arm64-1.0.81-5.tgz", + "integrity": "sha512-cQqr4K8erxym2TBLZo5h3m81BKzS2rLmzfUZUAmcIqc/pmVqVk9L44csheoDPOxoJJRK2x7acs/OJIXolQEUEQ==", "cpu": [ "arm64" ], @@ -172,9 +172,9 @@ } }, "node_modules/@github/copilot-linuxmusl-x64": { - "version": "1.0.81-0", - "resolved": "https://registry.npmjs.org/@github/copilot-linuxmusl-x64/-/copilot-linuxmusl-x64-1.0.81-0.tgz", - "integrity": "sha512-iZm/TkBU7WJforS+eo7mZxv4RtdoSqJBqsFwZXi8lTGSeXs2bQBnv+m+XEKabOGk9cHQ8bj8B5K/cCwro4p5tg==", + "version": "1.0.81-5", + "resolved": "https://registry.npmjs.org/@github/copilot-linuxmusl-x64/-/copilot-linuxmusl-x64-1.0.81-5.tgz", + "integrity": "sha512-Ip/kBYXveSzlXh/JKDLQ3UE0YiyT+hJ0Z7utxqqocTee30NSpyP8/1xET7mqqezLE2B7/gdgdoPJVxf5xB4idw==", "cpu": [ "x64" ], @@ -191,12 +191,12 @@ } }, "node_modules/@github/copilot-sdk": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/@github/copilot-sdk/-/copilot-sdk-1.0.11.tgz", - "integrity": "sha512-ngrnfa9052fLTOMoY0iiQS2B6pFDYJpWNj3syCdjzdje0R5mWoij9b8exJZciLvX7BbJjKz2/lIdwo24av3e3A==", + "version": "1.0.12-preview.0", + "resolved": "https://registry.npmjs.org/@github/copilot-sdk/-/copilot-sdk-1.0.12-preview.0.tgz", + "integrity": "sha512-cXbQGrsjko21nrSXfYmVUXuJ2NuTPDpYUmHEncaeoJd0W6jc62JzRHa91eXT7CJKoRLAK/4kubbjNSdCXDFPLA==", "license": "MIT", "dependencies": { - "@github/copilot": "^1.0.79", + "@github/copilot": "^1.0.81-5", "koffi": "^3.1.0", "vscode-jsonrpc": "^8.2.1", "zod": "^4.3.6" @@ -205,172 +205,10 @@ "node": "^20.19.0 || >=22.12.0" } }, - "node_modules/@github/copilot-sdk/node_modules/@github/copilot": { - "version": "1.0.80", - "resolved": "https://registry.npmjs.org/@github/copilot/-/copilot-1.0.80.tgz", - "integrity": "sha512-6tf93ZF56KOiTTAjK/UhLZkl1W543IzaTQly288kockJZFswpRTnQEI00Yvacpb39DTvTYu3/ha9SeKpo/pgZQ==", - "license": "SEE LICENSE IN LICENSE.md", - "dependencies": { - "detect-libc": "^2.1.2" - }, - "bin": { - "copilot": "npm-loader.js" - }, - "optionalDependencies": { - "@github/copilot-darwin-arm64": "1.0.80", - "@github/copilot-darwin-x64": "1.0.80", - "@github/copilot-linux-arm64": "1.0.80", - "@github/copilot-linux-x64": "1.0.80", - "@github/copilot-linuxmusl-arm64": "1.0.80", - "@github/copilot-linuxmusl-x64": "1.0.80", - "@github/copilot-win32-arm64": "1.0.80", - "@github/copilot-win32-x64": "1.0.80" - } - }, - "node_modules/@github/copilot-sdk/node_modules/@github/copilot-darwin-arm64": { - "version": "1.0.80", - "resolved": "https://registry.npmjs.org/@github/copilot-darwin-arm64/-/copilot-darwin-arm64-1.0.80.tgz", - "integrity": "sha512-fzn4PnSx3+O/a3ip72KVsjnzORsEygK+0i21bFAnFBYS+0Wi1Pk+o/CmNsJ7aRbf1enSJrcH8UDVkyc9pMGEBg==", - "cpu": [ - "arm64" - ], - "license": "SEE LICENSE IN LICENSE.md", - "optional": true, - "os": [ - "darwin" - ], - "bin": { - "copilot-darwin-arm64": "copilot" - } - }, - "node_modules/@github/copilot-sdk/node_modules/@github/copilot-darwin-x64": { - "version": "1.0.80", - "resolved": "https://registry.npmjs.org/@github/copilot-darwin-x64/-/copilot-darwin-x64-1.0.80.tgz", - "integrity": "sha512-PKsyGk5DccNzR3bYXcYTGB9N6sHzhzGqEwq/2t1qBwqPbrC98Zo2dOT2G40/QYpJ4XdrGmTmdmfPJQ9PJknlIQ==", - "cpu": [ - "x64" - ], - "license": "SEE LICENSE IN LICENSE.md", - "optional": true, - "os": [ - "darwin" - ], - "bin": { - "copilot-darwin-x64": "copilot" - } - }, - "node_modules/@github/copilot-sdk/node_modules/@github/copilot-linux-arm64": { - "version": "1.0.80", - "resolved": "https://registry.npmjs.org/@github/copilot-linux-arm64/-/copilot-linux-arm64-1.0.80.tgz", - "integrity": "sha512-8oXwN2luyHEjIoSk8AkATBjXDhRoQtuiUvC93GpfQKFHI+I1eoOVwIsAq5fKP8jNCF2rOrYFIcTjwmRt38kCcQ==", - "cpu": [ - "arm64" - ], - "libc": [ - "glibc" - ], - "license": "SEE LICENSE IN LICENSE.md", - "optional": true, - "os": [ - "linux" - ], - "bin": { - "copilot-linux-arm64": "copilot" - } - }, - "node_modules/@github/copilot-sdk/node_modules/@github/copilot-linux-x64": { - "version": "1.0.80", - "resolved": "https://registry.npmjs.org/@github/copilot-linux-x64/-/copilot-linux-x64-1.0.80.tgz", - "integrity": "sha512-qv1ytVNwA3IDK7kcQow+fAikD67t42+AQ8X42bK/7oudNiv4frVZMO0yh1DYIebVRcmEhmPvbVPY/ptVUK3cbA==", - "cpu": [ - "x64" - ], - "libc": [ - "glibc" - ], - "license": "SEE LICENSE IN LICENSE.md", - "optional": true, - "os": [ - "linux" - ], - "bin": { - "copilot-linux-x64": "copilot" - } - }, - "node_modules/@github/copilot-sdk/node_modules/@github/copilot-linuxmusl-arm64": { - "version": "1.0.80", - "resolved": "https://registry.npmjs.org/@github/copilot-linuxmusl-arm64/-/copilot-linuxmusl-arm64-1.0.80.tgz", - "integrity": "sha512-Qjyi+OlVnPC4Lkuy7blDMMwMUQI/yELl7gDnqQlaN8TEbhZqZueuf3p0a+kEjXcNsw4XtNYQc0eMJqSIYy/Pjg==", - "cpu": [ - "arm64" - ], - "libc": [ - "musl" - ], - "license": "SEE LICENSE IN LICENSE.md", - "optional": true, - "os": [ - "linux" - ], - "bin": { - "copilot-linuxmusl-arm64": "copilot" - } - }, - "node_modules/@github/copilot-sdk/node_modules/@github/copilot-linuxmusl-x64": { - "version": "1.0.80", - "resolved": "https://registry.npmjs.org/@github/copilot-linuxmusl-x64/-/copilot-linuxmusl-x64-1.0.80.tgz", - "integrity": "sha512-rBg8pugf+5FhiZxi2zkOr+rlcOVF6Xg63j1FvryfwPT4DJ2w5Na7O3lpS4sgu8QmsP5H+dAqjlXYLYsvSoVQ0g==", - "cpu": [ - "x64" - ], - "libc": [ - "musl" - ], - "license": "SEE LICENSE IN LICENSE.md", - "optional": true, - "os": [ - "linux" - ], - "bin": { - "copilot-linuxmusl-x64": "copilot" - } - }, - "node_modules/@github/copilot-sdk/node_modules/@github/copilot-win32-arm64": { - "version": "1.0.80", - "resolved": "https://registry.npmjs.org/@github/copilot-win32-arm64/-/copilot-win32-arm64-1.0.80.tgz", - "integrity": "sha512-+f7Vkd3vt2DYOxRnS8dStvYu3DY638N/AuLuIjxZp1F9GgwCUZK69wspqIxg2L59PmRRQcH4AGTrRDR60ENIZA==", - "cpu": [ - "arm64" - ], - "license": "SEE LICENSE IN LICENSE.md", - "optional": true, - "os": [ - "win32" - ], - "bin": { - "copilot-win32-arm64": "copilot.exe" - } - }, - "node_modules/@github/copilot-sdk/node_modules/@github/copilot-win32-x64": { - "version": "1.0.80", - "resolved": "https://registry.npmjs.org/@github/copilot-win32-x64/-/copilot-win32-x64-1.0.80.tgz", - "integrity": "sha512-PO0kPqhRTWQfsqGaj4UN3cj8ttkcJYy4wmXiArtFm+03AIFu8xTvuhQDPn2xEOsUome7m7t2XomKoavcrCcRsw==", - "cpu": [ - "x64" - ], - "license": "SEE LICENSE IN LICENSE.md", - "optional": true, - "os": [ - "win32" - ], - "bin": { - "copilot-win32-x64": "copilot.exe" - } - }, "node_modules/@github/copilot-win32-arm64": { - "version": "1.0.81-0", - "resolved": "https://registry.npmjs.org/@github/copilot-win32-arm64/-/copilot-win32-arm64-1.0.81-0.tgz", - "integrity": "sha512-xMNCRb3T9uBvEYarMN5zX9V8TRCM2bGoarbl5mddnP6AHyg1U7AL7CHuh6auiloE/QAPxL68ZSs3IMrAS4XcEg==", + "version": "1.0.81-5", + "resolved": "https://registry.npmjs.org/@github/copilot-win32-arm64/-/copilot-win32-arm64-1.0.81-5.tgz", + "integrity": "sha512-ERTckb1saKW6xZVIFWE5+1aIQPGlAjFers2BSCXWxtwPiIb0Ev/xSMY/gF0R8oH2tWHr06iGC3FnFzXzvn50OQ==", "cpu": [ "arm64" ], @@ -384,9 +222,9 @@ } }, "node_modules/@github/copilot-win32-x64": { - "version": "1.0.81-0", - "resolved": "https://registry.npmjs.org/@github/copilot-win32-x64/-/copilot-win32-x64-1.0.81-0.tgz", - "integrity": "sha512-bWus/QuH1u0WUeVsafn5800JL6IwGHjNclKriQlcZsYqJ6VjUgvXJaqafdXR9Vk7DdoWkxjM76Zko3LEltDeTg==", + "version": "1.0.81-5", + "resolved": "https://registry.npmjs.org/@github/copilot-win32-x64/-/copilot-win32-x64-1.0.81-5.tgz", + "integrity": "sha512-rAns726TCJD9fxBRD+ZAdh1+ZwHJncZtSg6T5w3j/7+pMkQUw1RSFxNXx/aeVAwKe+R9gufQWCkSgzaOwDr7kg==", "cpu": [ "x64" ], diff --git a/remote/package.json b/remote/package.json index 1011b29dcc829..81c65a27d03e8 100644 --- a/remote/package.json +++ b/remote/package.json @@ -3,8 +3,8 @@ "version": "0.0.0", "private": true, "dependencies": { - "@github/copilot": "1.0.81-0", - "@github/copilot-sdk": "1.0.11", + "@github/copilot": "1.0.81-5", + "@github/copilot-sdk": "1.0.12-preview.0", "@microsoft/1ds-core-js": "^3.2.13", "@microsoft/1ds-post-js": "^3.2.13", "@microsoft/mxc-sdk": "0.7.0", From ce9518db6c88fca5230f242020548d002081a96b Mon Sep 17 00:00:00 2001 From: "vs-code-engineering[bot]" <122617954+vs-code-engineering[bot]@users.noreply.github.com> Date: Thu, 20 Aug 2026 12:31:48 +0000 Subject: [PATCH 2/4] Migrate agentHost to renamed Copilot SDK permission API SDK 1.0.12-preview.0 renamed the permission contract: PermissionAllowAllMode -> PermissionMode ('on'|'auto'|'off' -> 'allow-all'|'assisted'|'manual'), permissions.setAllowAll -> setMode, PermissionAutoApproval -> PermissionAssistedApproval, and promptRequest.autoApproval -> assistedApproval. Adds the new 'extension-env-access' permission kind. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- src/vs/platform/agentHost/common/agent.ts | 2 +- .../node/copilot/copilotAgentSession.ts | 30 +++++++++---------- .../agentHost/test/node/copilotAgent.test.ts | 4 +-- .../test/node/copilotAgentSession.test.ts | 26 ++++++++-------- 4 files changed, 31 insertions(+), 31 deletions(-) diff --git a/src/vs/platform/agentHost/common/agent.ts b/src/vs/platform/agentHost/common/agent.ts index e1df75758448e..28b02c997a76d 100644 --- a/src/vs/platform/agentHost/common/agent.ts +++ b/src/vs/platform/agentHost/common/agent.ts @@ -844,7 +844,7 @@ export interface IAgentToolPendingConfirmationSignal { /** Protocol-shaped pending-confirmation state, dispatched verbatim into `ChatToolCallReady`. */ readonly state: ToolCallPendingConfirmationState; /** Host-only auto-approval kind (not part of the dispatched action). */ - readonly permissionKind?: 'shell' | 'write' | 'mcp' | 'read' | 'url' | 'skill' | 'custom-tool' | 'hook' | 'memory' | 'factory' | 'extension-management' | 'extension-permission-access'; + readonly permissionKind?: 'shell' | 'write' | 'mcp' | 'read' | 'url' | 'skill' | 'custom-tool' | 'hook' | 'memory' | 'factory' | 'extension-management' | 'extension-permission-access' | 'extension-env-access'; /** Host-only auto-approval path target (not part of the dispatched action). */ readonly permissionPath?: string; /** diff --git a/src/vs/platform/agentHost/node/copilot/copilotAgentSession.ts b/src/vs/platform/agentHost/node/copilot/copilotAgentSession.ts index bf80387d41135..5fdb02917f72c 100644 --- a/src/vs/platform/agentHost/node/copilot/copilotAgentSession.ts +++ b/src/vs/platform/agentHost/node/copilot/copilotAgentSession.ts @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -import type { CopilotSession, CurrentToolMetadata, ElicitationContext, ElicitationFieldValue, ElicitationResult, ElicitationSchema, ElicitationSchemaField, ExitPlanModeCompletedData, ExitPlanModeRequest, ExitPlanModeResult, JsonValue, McpServersLoadedServer, MessageOptions, PermissionAllowAllMode, PermissionAutoApproval, PermissionRequest, PermissionRequestResult, PermissionResult, SessionConfig, SessionHooks, SessionMode as CopilotSdkMode, Tool, ToolResultObject, McpServerStatus as SdkMcpServerStatus } from '@github/copilot-sdk'; +import type { CopilotSession, CurrentToolMetadata, ElicitationContext, ElicitationFieldValue, ElicitationResult, ElicitationSchema, ElicitationSchemaField, ExitPlanModeCompletedData, ExitPlanModeRequest, ExitPlanModeResult, JsonValue, McpServersLoadedServer, MessageOptions, PermissionAssistedApproval, PermissionMode, PermissionRequest, PermissionRequestResult, PermissionResult, SessionConfig, SessionHooks, SessionMode as CopilotSdkMode, Tool, ToolResultObject, McpServerStatus as SdkMcpServerStatus } from '@github/copilot-sdk'; import { cp, rm } from 'fs/promises'; import { raceCancellation, RunOnceScheduler, Sequencer, SequencerByKey, Throttler } from '../../../../base/common/async.js'; import { encodeBase64, VSBuffer } from '../../../../base/common/buffer.js'; @@ -650,8 +650,8 @@ export class CopilotAgentSession extends Disposable { private readonly _parentToolCallIdsByAgentId = new Map(); private readonly _activeSubagentAgentIds = new Set(); private readonly _unroutableSubagentToolCallIds = new Set(); - private readonly _autoApprovals = new Map(); - private readonly _pendingAutoApprovals = new PendingRequestRegistry(); + private readonly _autoApprovals = new Map(); + private readonly _pendingAutoApprovals = new PendingRequestRegistry(); /** Correlates tool execution with the SDK permission lifecycle for `chat.toolApproval` telemetry. */ private readonly _toolApprovalRecords = new Map { + private async _takeAutoApproval(toolCallId: string): Promise { if (this._autoApprovals.has(toolCallId)) { const autoApproval = this._autoApprovals.get(toolCallId) ?? undefined; this._autoApprovals.delete(toolCallId); @@ -3282,7 +3282,7 @@ export class CopilotAgentSession extends Disposable { return this._pendingAutoApprovals.register(toolCallId); } - private _recordAutoApproval(toolCallId: string, autoApproval: PermissionAutoApproval | undefined): void { + private _recordAutoApproval(toolCallId: string, autoApproval: PermissionAssistedApproval | undefined): void { if (this._pendingAutoApprovals.respond(toolCallId, autoApproval)) { return; } @@ -3294,7 +3294,7 @@ export class CopilotAgentSession extends Disposable { const mode = this._getSdkPermissionMode(); const configuredLevel = this._getConfiguredApprovalLevel(); this._logService.info(`[Copilot:${this.sessionId}] Syncing permission mode: source=${source}, agentMode=${this._getConfiguredAgentMode()}, configuredLevel=${configuredLevel}, sdkMode=${mode}, previousSdkMode=${this._lastAppliedPermissionMode ?? 'unknown'}, globalAutoApprove=${this._configurationService.getRootValue(platformRootSchema, AgentHostGlobalAutoApproveEnabledConfigKey) === true}`); - const experimentalModeEnabled = mode === 'auto'; + const experimentalModeEnabled = mode === 'assisted'; if (this._autoApprovalExperimentalModeEnabled !== experimentalModeEnabled) { const experimentalResult = await this._wrapper.session.rpc.options.update({ isExperimentalMode: experimentalModeEnabled }); if (!experimentalResult.success) { @@ -3306,7 +3306,7 @@ export class CopilotAgentSession extends Disposable { if (this._lastAppliedPermissionMode === mode) { return; } - const result = await this._wrapper.session.rpc.permissions.setAllowAll({ mode }); + const result = await this._wrapper.session.rpc.permissions.setMode({ mode }); if (!result.success || (result.mode !== undefined && result.mode !== mode)) { throw new Error(`Copilot SDK rejected permission mode '${mode}'`); } @@ -4030,7 +4030,7 @@ export class CopilotAgentSession extends Disposable { if (!toolCallId) { return; } - this._recordAutoApproval(toolCallId, e.data.promptRequest?.autoApproval); + this._recordAutoApproval(toolCallId, e.data.promptRequest?.assistedApproval); const existing = this._toolApprovalRecords.get(toolCallId); const permissionRequest = e.data.permissionRequest as { requestSandboxBypass?: boolean; toolName?: string }; this._toolApprovalRecords.set(toolCallId, { @@ -4266,7 +4266,7 @@ export class CopilotAgentSession extends Disposable { return; } - const clientToolAutoApproved = contributor?.kind === ToolCallContributorKind.Client && this._lastAppliedPermissionMode === 'on'; + const clientToolAutoApproved = contributor?.kind === ToolCallContributorKind.Client && this._lastAppliedPermissionMode === 'allow-all'; if (isToolSearch && clientToolAutoApproved) { meta.autoApproveBySetting = true; } diff --git a/src/vs/platform/agentHost/test/node/copilotAgent.test.ts b/src/vs/platform/agentHost/test/node/copilotAgent.test.ts index 92fac546cb4ff..feb4be015fb72 100644 --- a/src/vs/platform/agentHost/test/node/copilotAgent.test.ts +++ b/src/vs/platform/agentHost/test/node/copilotAgent.test.ts @@ -3,7 +3,7 @@ * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ -import type { CopilotClient, CopilotClientOptions, CopilotSession, GitHubTelemetryNotification, PermissionAllowAllMode, PermissionRequest, SessionEvent, SessionEventHandler, SessionEventPayload, SessionEventType, TypedSessionEventHandler } from '@github/copilot-sdk'; +import type { CopilotClient, CopilotClientOptions, CopilotSession, GitHubTelemetryNotification, PermissionMode, PermissionRequest, SessionEvent, SessionEventHandler, SessionEventPayload, SessionEventType, TypedSessionEventHandler } from '@github/copilot-sdk'; import type Anthropic from '@anthropic-ai/sdk'; import type { CCAModel } from '@vscode/copilot-api'; import assert from 'assert'; @@ -604,7 +604,7 @@ class MockCopilotSession { setCredentials: async () => ({ success: true, copilotUserResolved: true }), }, permissions: { - setAllowAll: async ({ mode }: { mode: PermissionAllowAllMode }) => ({ success: true, mode }), + setMode: async ({ mode }: { mode: PermissionMode }) => ({ success: true, mode }), }, }; private readonly _handlers = new Set(); diff --git a/src/vs/platform/agentHost/test/node/copilotAgentSession.test.ts b/src/vs/platform/agentHost/test/node/copilotAgentSession.test.ts index b0b984a5d4d6e..79477c9ca988b 100644 --- a/src/vs/platform/agentHost/test/node/copilotAgentSession.test.ts +++ b/src/vs/platform/agentHost/test/node/copilotAgentSession.test.ts @@ -4,7 +4,7 @@ *--------------------------------------------------------------------------------------------*/ import type Anthropic from '@anthropic-ai/sdk'; -import type { CopilotSession, CurrentToolMetadata, PermissionAllowAllMode, PermissionRequest, SessionEvent, SessionEventHandler, SessionEventPayload, SessionEventType, Tool, ToolResultObject, TypedSessionEventHandler } from '@github/copilot-sdk'; +import type { CopilotSession, CurrentToolMetadata, PermissionMode, PermissionRequest, SessionEvent, SessionEventHandler, SessionEventPayload, SessionEventType, Tool, ToolResultObject, TypedSessionEventHandler } from '@github/copilot-sdk'; import type { CCAModel } from '@vscode/copilot-api'; import assert from 'assert'; import { PluginFormat } from '../../../agentPlugins/common/pluginParsers.js'; @@ -80,7 +80,7 @@ class MockCopilotSession { readonly sessionId = 'test-session-1'; readonly sendRequests: unknown[] = []; readonly modeSetCalls: Array<{ mode: 'interactive' | 'plan' | 'autopilot' }> = []; - readonly permissionModeSetCalls: PermissionAllowAllMode[] = []; + readonly permissionModeSetCalls: PermissionMode[] = []; permissionModeSetSuccess = true; readonly gitHubCredentialUpdates: Array<{ credentials?: { type: 'token'; host: string; token: string } }> = []; gitHubCredentialUpdateResult = { success: true, copilotUserResolved: true }; @@ -271,11 +271,11 @@ class MockCopilotSession { }, }, permissions: { - setAllowAll: async (params: { mode?: PermissionAllowAllMode }) => { - const mode = params.mode ?? 'off'; - this.operationLog.push('permissions.setAllowAll'); + setMode: async (params: { mode: PermissionMode }) => { + const mode = params.mode; + this.operationLog.push('permissions.setMode'); this.permissionModeSetCalls.push(mode); - return { success: this.permissionModeSetSuccess, enabled: mode === 'on', mode }; + return { success: this.permissionModeSetSuccess, mode }; }, }, gitHubAuth: { @@ -2336,7 +2336,7 @@ suite('CopilotAgentSession', () => { const log = mockSession.operationLog; const modeIdx = log.indexOf('mode.set'); - const permIdx = log.indexOf('permissions.setAllowAll'); + const permIdx = log.indexOf('permissions.setMode'); const sandboxIdx = log.indexOf('options.update:sandbox'); const startIdx = log.indexOf('fleet.start'); assert.deepStrictEqual({ @@ -3795,7 +3795,7 @@ suite('CopilotAgentSession', () => { accessKind: 'read', paths: ['/workspace/src/file.ts'], toolCallId: 'tc-assisted', - autoApproval: { recommendation: 'approve', reason: 'Low risk' }, + assistedApproval: { recommendation: 'approve', reason: 'Low risk' }, }, }); @@ -3830,7 +3830,7 @@ suite('CopilotAgentSession', () => { accessKind: 'read', paths: ['/workspace/src/file.ts'], toolCallId: 'tc-managed', - autoApproval: { recommendation: 'approve', reason: 'Low risk' }, + assistedApproval: { recommendation: 'approve', reason: 'Low risk' }, }, }); @@ -3960,7 +3960,7 @@ suite('CopilotAgentSession', () => { diff: 'diff', canOfferSessionApproval: true, toolCallId: 'tc-assisted-late-event', - autoApproval: { recommendation: 'approve', reason: 'Matches the request' }, + assistedApproval: { recommendation: 'approve', reason: 'Matches the request' }, }, }); @@ -3986,7 +3986,7 @@ suite('CopilotAgentSession', () => { accessKind: 'read', paths: ['/workspace/src/file.ts'], toolCallId: 'tc-assisted-prompt', - autoApproval: { recommendation: 'requireApproval', reason: 'Needs confirmation' }, + assistedApproval: { recommendation: 'requireApproval', reason: 'Needs confirmation' }, }, }); @@ -4033,7 +4033,7 @@ suite('CopilotAgentSession', () => { fullCommandText: 'curl https://example.com', intention: 'Access the network', toolCallId: 'tc-assisted-bypass', - autoApproval: { recommendation: 'approve', reason: 'Incorrect recommendation' }, + assistedApproval: { recommendation: 'approve', reason: 'Incorrect recommendation' }, }, }); @@ -7956,7 +7956,7 @@ suite('CopilotAgentSession', () => { kind: 'custom-tool', toolCallId: 'tc-assisted', toolName: 'my_tool', - autoApproval: { + assistedApproval: { recommendation: 'approve', reason: 'The requested browser navigation is safe.', }, From 33d3bfcbfd4dbc85db56299d97a86d4e1aa9d708 Mon Sep 17 00:00:00 2001 From: "vs-code-engineering[bot]" <122617954+vs-code-engineering[bot]@users.noreply.github.com> Date: Thu, 20 Aug 2026 14:30:05 +0000 Subject: [PATCH 3/4] Update rpm reference deps for bumped Copilot native payload Product build 466218 failed 'Prepare rpm package' (Linux X64+ARM64): the generated rpm requires no longer include libm.so.6(GLIBC_2.27)(64bit) after the @github/copilot 1.0.81-5 / sdk 1.0.12-preview.0 bump lowered its libm glibc baseline. Drop that symbol from both x86_64 and aarch64 referenceGeneratedDepsByArch so the expected list matches. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- build/linux/rpm/dep-lists.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/build/linux/rpm/dep-lists.ts b/build/linux/rpm/dep-lists.ts index 8860fd27247aa..d6e3e6b3230e2 100644 --- a/build/linux/rpm/dep-lists.ts +++ b/build/linux/rpm/dep-lists.ts @@ -81,7 +81,6 @@ export const referenceGeneratedDepsByArch = { 'libgtk-3.so.0()(64bit)', 'libm.so.6()(64bit)', 'libm.so.6(GLIBC_2.2.5)(64bit)', - 'libm.so.6(GLIBC_2.27)(64bit)', 'libnspr4.so()(64bit)', 'libnss3.so()(64bit)', 'libnss3.so(NSS_3.11)(64bit)', @@ -276,7 +275,6 @@ export const referenceGeneratedDepsByArch = { 'libgtk-3.so.0()(64bit)', 'libm.so.6()(64bit)', 'libm.so.6(GLIBC_2.17)(64bit)', - 'libm.so.6(GLIBC_2.27)(64bit)', 'libnspr4.so()(64bit)', 'libnss3.so()(64bit)', 'libnss3.so(NSS_3.11)(64bit)', From 34f7d02431f4a38102d54ca0324f0ec41fe9fe14 Mon Sep 17 00:00:00 2001 From: "vs-code-engineering[bot]" <122617954+vs-code-engineering[bot]@users.noreply.github.com> Date: Thu, 20 Aug 2026 20:02:51 +0000 Subject: [PATCH 4/4] Migrate agentHost test permission-mode expectations to renamed SDK API SDK 1.0.12-preview.0 renamed permission modes (off/on/auto -> manual/allow-all/assisted); the prior migration updated production code but left copilotAgentSession.test.ts asserting the old literals, failing the Electron unit tests in build 466302. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../test/node/copilotAgentSession.test.ts | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/src/vs/platform/agentHost/test/node/copilotAgentSession.test.ts b/src/vs/platform/agentHost/test/node/copilotAgentSession.test.ts index 79477c9ca988b..4ce6e00ec2709 100644 --- a/src/vs/platform/agentHost/test/node/copilotAgentSession.test.ts +++ b/src/vs/platform/agentHost/test/node/copilotAgentSession.test.ts @@ -3693,7 +3693,7 @@ suite('CopilotAgentSession', () => { await session.send('hello', undefined, 'turn-1'); assert.deepStrictEqual(mockSession.sandboxConfigUpdates.at(-1), buildSandboxConfigForSdk('linux', sandbox)); - assert.deepStrictEqual(mockSession.permissionModeSetCalls, ['off']); + assert.deepStrictEqual(mockSession.permissionModeSetCalls, ['manual']); }); test('per-request sandbox: applies the configured policy under session bypass approvals', async () => { @@ -3706,7 +3706,7 @@ suite('CopilotAgentSession', () => { await session.send('hello', undefined, 'turn-1'); assert.deepStrictEqual(mockSession.sandboxConfigUpdates.at(-1), buildSandboxConfigForSdk('linux', sandbox)); - assert.deepStrictEqual(mockSession.permissionModeSetCalls, ['on']); + assert.deepStrictEqual(mockSession.permissionModeSetCalls, ['allow-all']); }); test('per-request permissions: delegates approvals to the SDK under Approve When Safe', async () => { @@ -3721,7 +3721,7 @@ suite('CopilotAgentSession', () => { permissionModes: mockSession.permissionModeSetCalls, }, { experimentalModeUpdates: [true], - permissionModes: ['auto'], + permissionModes: ['assisted'], }); }); @@ -3757,10 +3757,10 @@ suite('CopilotAgentSession', () => { .map(entry => entry.message) .filter(message => message.includes('Syncing permission mode')), }, { - modes: ['on', 'off'], + modes: ['allow-all', 'manual'], logs: [ - '[Copilot:test-session-1] Syncing permission mode: source=turn-start, agentMode=interactive, configuredLevel=autoApprove, sdkMode=on, previousSdkMode=unknown, globalAutoApprove=false', - '[Copilot:test-session-1] Syncing permission mode: source=config-change, agentMode=interactive, configuredLevel=default, sdkMode=off, previousSdkMode=on, globalAutoApprove=false', + '[Copilot:test-session-1] Syncing permission mode: source=turn-start, agentMode=interactive, configuredLevel=autoApprove, sdkMode=allow-all, previousSdkMode=unknown, globalAutoApprove=false', + '[Copilot:test-session-1] Syncing permission mode: source=config-change, agentMode=interactive, configuredLevel=default, sdkMode=manual, previousSdkMode=allow-all, globalAutoApprove=false', ], }); }); @@ -3778,7 +3778,7 @@ suite('CopilotAgentSession', () => { permissionModes: mockSession.permissionModeSetCalls, }, { experimentalModeUpdates: [true, false], - permissionModes: ['auto', 'off'], + permissionModes: ['assisted', 'manual'], }); }); @@ -4061,7 +4061,7 @@ suite('CopilotAgentSession', () => { }); mockSession.permissionModeSetSuccess = false; - await assert.rejects(() => session.send('hello', undefined, 'turn-1'), /rejected permission mode 'auto'/); + await assert.rejects(() => session.send('hello', undefined, 'turn-1'), /rejected permission mode 'assisted'/); assert.deepStrictEqual(mockSession.sendRequests, []); }); @@ -4082,8 +4082,8 @@ suite('CopilotAgentSession', () => { beforeTurn, afterTurn: mockSession.permissionModeSetCalls, }, { - beforeTurn: ['auto'], - afterTurn: ['auto', 'off'], + beforeTurn: ['assisted'], + afterTurn: ['assisted', 'manual'], }); }); @@ -4107,7 +4107,7 @@ suite('CopilotAgentSession', () => { permissionModes: mockSession.permissionModeSetCalls, sandboxConfigs: mockSession.sandboxConfigUpdates, }, { - permissionModes: ['off', 'on', 'off'], + permissionModes: ['manual', 'allow-all', 'manual'], sandboxConfigs: [ buildSandboxConfigForSdk('linux', sandbox), buildSandboxConfigForSdk('linux', sandbox), @@ -4126,7 +4126,7 @@ suite('CopilotAgentSession', () => { fireSessionConfigChange({ [SessionConfigKey.AutoApprove]: 'default' }, AgentSession.uri('copilot', 'other-session').toString()); await timeout(0); - assert.deepStrictEqual(mockSession.permissionModeSetCalls, ['auto']); + assert.deepStrictEqual(mockSession.permissionModeSetCalls, ['assisted']); }); test('syncs permission mode when root approval configuration changes', async () => { @@ -4138,7 +4138,7 @@ suite('CopilotAgentSession', () => { fireRootConfigChange(); await timeout(0); - assert.deepStrictEqual(mockSession.permissionModeSetCalls, ['off', 'on']); + assert.deepStrictEqual(mockSession.permissionModeSetCalls, ['manual', 'allow-all']); }); test('aborts when a live permission mode update fails', async () => { @@ -4170,7 +4170,7 @@ suite('CopilotAgentSession', () => { permissionModes: mockSession.permissionModeSetCalls, abortCalls: mockSession.abortCalls, }, { - permissionModes: ['off', 'on'], + permissionModes: ['manual', 'allow-all'], abortCalls: 1, }); }); @@ -4191,7 +4191,7 @@ suite('CopilotAgentSession', () => { permissionModes: mockSession.permissionModeSetCalls, sandbox: mockSession.sandboxConfigUpdates.at(-1), }, { - permissionModes: ['off'], + permissionModes: ['manual'], sandbox: buildSandboxConfigForSdk('linux', sandbox), }); }); @@ -4435,7 +4435,7 @@ suite('CopilotAgentSession', () => { }); assert.deepStrictEqual(summarize(peerMockSession), summarize(initialMockSession)); assert.deepStrictEqual(summarize(peerMockSession), { - permissionModes: ['off'], + permissionModes: ['manual'], sandbox: buildSandboxConfigForSdk('linux', sandbox), }); }); @@ -4465,7 +4465,7 @@ suite('CopilotAgentSession', () => { await timeout(0); assert.deepStrictEqual(peerMockSession.permissionModeSetCalls, initialMockSession.permissionModeSetCalls); - assert.deepStrictEqual(peerMockSession.permissionModeSetCalls, ['auto', 'off']); + assert.deepStrictEqual(peerMockSession.permissionModeSetCalls, ['assisted', 'manual']); }); test('peer chat ignores session config changes scoped to its own chat resource', async () => { @@ -4483,7 +4483,7 @@ suite('CopilotAgentSession', () => { fireSessionConfigChange({ [SessionConfigKey.AutoApprove]: 'default' }, peerChatUri.toString()); await timeout(0); - assert.deepStrictEqual(mockSession.permissionModeSetCalls, ['auto']); + assert.deepStrictEqual(mockSession.permissionModeSetCalls, ['assisted']); }); }); @@ -7915,7 +7915,7 @@ suite('CopilotAgentSession', () => { confirmed: readyAction.confirmed, autoApproveBySetting: readToolCallMeta(readyAction).autoApproveBySetting, }, { - permissionModeSetCalls: ['on'], + permissionModeSetCalls: ['allow-all'], toolCallId: 'tc-allow-all', toolInput: { file: 'test.ts' }, confirmed: ToolCallConfirmationReason.NotNeeded, @@ -7979,7 +7979,7 @@ suite('CopilotAgentSession', () => { toolInput: readyToolInput === undefined ? undefined : JSON.parse(readyToolInput), } : undefined, }, { - permissionModeSetCalls: ['auto'], + permissionModeSetCalls: ['assisted'], permissionResult: { kind: 'approve-once' }, ready: { status: ToolCallStatus.PendingConfirmation,