mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-19 22:33:34 +01:00
Update @vscode/copilot-api to 0.2.13 and pass devDeviceId (#4089)
* Copilot-authored message: Update @vscode/copilot-api to 0.2.13 and pass devDeviceId * fix tests
This commit is contained in:
+4
-4
@@ -12,7 +12,7 @@
|
||||
"dependencies": {
|
||||
"@microsoft/tiktokenizer": "^1.0.10",
|
||||
"@sinclair/typebox": "^0.34.41",
|
||||
"@vscode/copilot-api": "^0.2.12",
|
||||
"@vscode/copilot-api": "^0.2.13",
|
||||
"@vscode/l10n": "^0.0.18",
|
||||
"@vscode/prompt-tsx": "^0.4.0-alpha.6",
|
||||
"@vscode/tree-sitter-wasm": "0.0.5-php.2",
|
||||
@@ -1328,9 +1328,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@vscode/copilot-api": {
|
||||
"version": "0.2.12",
|
||||
"resolved": "https://registry.npmjs.org/@vscode/copilot-api/-/copilot-api-0.2.12.tgz",
|
||||
"integrity": "sha512-b98amJsB0GZDSLBWs68HYeN3Mwy4VnvWAVd/arT4L7m6gdeEV9KrfoXjIZhsJMnUL6+JheECZjLpjp8u1iNjlw==",
|
||||
"version": "0.2.13",
|
||||
"resolved": "https://registry.npmjs.org/@vscode/copilot-api/-/copilot-api-0.2.13.tgz",
|
||||
"integrity": "sha512-i8oMsurdFkEj7eDBt+1ZUJJGW5/2eDudc0767Szi/GxSXRFSjY/rmDxBxgcSAhtyNfb+FhdyFDx8dSPjZ/UdBA==",
|
||||
"license": "SEE LICENSE"
|
||||
},
|
||||
"node_modules/@vscode/l10n": {
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
"dependencies": {
|
||||
"@microsoft/tiktokenizer": "^1.0.10",
|
||||
"@sinclair/typebox": "^0.34.41",
|
||||
"@vscode/copilot-api": "^0.2.12",
|
||||
"@vscode/copilot-api": "^0.2.13",
|
||||
"@vscode/l10n": "^0.0.18",
|
||||
"@vscode/prompt-tsx": "^0.4.0-alpha.6",
|
||||
"@vscode/tree-sitter-wasm": "0.0.5-php.2",
|
||||
|
||||
Generated
+4
-4
@@ -19,7 +19,7 @@
|
||||
"@microsoft/tiktokenizer": "^1.0.10",
|
||||
"@modelcontextprotocol/sdk": "^1.25.2",
|
||||
"@sinclair/typebox": "^0.34.41",
|
||||
"@vscode/copilot-api": "^0.2.12",
|
||||
"@vscode/copilot-api": "^0.2.13",
|
||||
"@vscode/extension-telemetry": "^1.5.1",
|
||||
"@vscode/l10n": "^0.0.18",
|
||||
"@vscode/prompt-tsx": "^0.4.0-alpha.6",
|
||||
@@ -6866,9 +6866,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@vscode/copilot-api": {
|
||||
"version": "0.2.12",
|
||||
"resolved": "https://registry.npmjs.org/@vscode/copilot-api/-/copilot-api-0.2.12.tgz",
|
||||
"integrity": "sha512-b98amJsB0GZDSLBWs68HYeN3Mwy4VnvWAVd/arT4L7m6gdeEV9KrfoXjIZhsJMnUL6+JheECZjLpjp8u1iNjlw==",
|
||||
"version": "0.2.13",
|
||||
"resolved": "https://registry.npmjs.org/@vscode/copilot-api/-/copilot-api-0.2.13.tgz",
|
||||
"integrity": "sha512-i8oMsurdFkEj7eDBt+1ZUJJGW5/2eDudc0767Szi/GxSXRFSjY/rmDxBxgcSAhtyNfb+FhdyFDx8dSPjZ/UdBA==",
|
||||
"license": "SEE LICENSE"
|
||||
},
|
||||
"node_modules/@vscode/debugadapter": {
|
||||
|
||||
@@ -5934,7 +5934,7 @@
|
||||
"@microsoft/tiktokenizer": "^1.0.10",
|
||||
"@modelcontextprotocol/sdk": "^1.25.2",
|
||||
"@sinclair/typebox": "^0.34.41",
|
||||
"@vscode/copilot-api": "^0.2.12",
|
||||
"@vscode/copilot-api": "^0.2.13",
|
||||
"@vscode/extension-telemetry": "^1.5.1",
|
||||
"@vscode/l10n": "^0.0.18",
|
||||
"@vscode/prompt-tsx": "^0.4.0-alpha.6",
|
||||
|
||||
@@ -221,4 +221,7 @@ class TestEnvService extends EnvServiceImpl {
|
||||
return 'test-machine';
|
||||
}
|
||||
|
||||
override get devDeviceId(): string {
|
||||
return 'test-dev-device';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,6 +29,7 @@ export abstract class BaseCAPIClientService extends CAPIClient implements ICAPIC
|
||||
) {
|
||||
super({
|
||||
machineId: envService.machineId,
|
||||
deviceId: envService.devDeviceId,
|
||||
sessionId: envService.sessionId,
|
||||
vscodeVersion: envService.vscodeVersion,
|
||||
buildType: envService.getBuildType(),
|
||||
|
||||
Reference in New Issue
Block a user