Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/core/webview/ClineProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2534,9 +2534,15 @@ 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 properties: Record<string, any> = {}

// Add extension version
if (appVersion) {
properties.appVersion = appVersion
}

// Add current mode
if (mode) {
properties.mode = mode
Expand Down