Browse Source

Add vscodeVersion and platform too

Matt Rubens 10 months ago
parent
commit
4c6f0628e3
1 changed files with 6 additions and 1 deletions
  1. 6 1
      src/core/webview/ClineProvider.ts

+ 6 - 1
src/core/webview/ClineProvider.ts

@@ -2535,8 +2535,13 @@ export class ClineProvider implements vscode.WebviewViewProvider {
 	public async getTelemetryProperties(): Promise<Record<string, any>> {
 		const { mode, apiConfiguration } = await this.getState()
 		const appVersion = this.context.extension?.packageJSON?.version
+		const vscodeVersion = vscode.version
+		const platform = process.platform
 
-		const properties: Record<string, any> = {}
+		const properties: Record<string, any> = {
+			vscodeVersion,
+			platform,
+		}
 
 		// Add extension version
 		if (appVersion) {