We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3a54a99 + 4c6f062 commit b761c24Copy full SHA for b761c24
src/core/webview/ClineProvider.ts
@@ -2534,8 +2534,19 @@ export class ClineProvider implements vscode.WebviewViewProvider {
2534
*/
2535
public async getTelemetryProperties(): Promise<Record<string, any>> {
2536
const { mode, apiConfiguration } = await this.getState()
2537
+ const appVersion = this.context.extension?.packageJSON?.version
2538
+ const vscodeVersion = vscode.version
2539
+ const platform = process.platform
2540
- const properties: Record<string, any> = {}
2541
+ const properties: Record<string, any> = {
2542
+ vscodeVersion,
2543
+ platform,
2544
+ }
2545
+
2546
+ // Add extension version
2547
+ if (appVersion) {
2548
+ properties.appVersion = appVersion
2549
2550
2551
// Add current mode
2552
if (mode) {
0 commit comments