diff --git a/build/open-vsix/build.sh b/build/open-vsix/build.sh index a673553..6dacc7b 100755 --- a/build/open-vsix/build.sh +++ b/build/open-vsix/build.sh @@ -6,7 +6,7 @@ set -e SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -VERSION="1.1.0" +VERSION="2.0.1" OUTPUT_NAME="vsix-claude-code-chat-${VERSION}.vsix" echo "Building Open VSIX version ${VERSION}..." diff --git a/package.json b/package.json index 798bf0f..addaf3b 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "claude-code-chat", "displayName": "Chat for Claude Code", "description": "Beautiful Claude Code Chat Interface for VS Code", - "version": "2.0.0", + "version": "2.0.1", "publisher": "AndrePimenta", "author": "Andre Pimenta", "repository": { diff --git a/src/extension.ts b/src/extension.ts index 106cd56..589c998 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -3327,7 +3327,7 @@ class ClaudeChatProvider { } private _getHtmlForWebview(): string { - return getHtml(vscode.env?.isTelemetryEnabled, OPENCREDITS_API_URL, OPENCREDITS_WEB_URL, OPENCREDITS_PUBLISHABLE_KEY); + return getHtml(vscode.env?.isTelemetryEnabled, OPENCREDITS_API_URL, OPENCREDITS_WEB_URL, OPENCREDITS_PUBLISHABLE_KEY, vscode.env?.appName); } private _sendCurrentSettings(): void { diff --git a/src/ui.ts b/src/ui.ts index 3a1f2e1..68ae0c7 100644 --- a/src/ui.ts +++ b/src/ui.ts @@ -8,7 +8,7 @@ import getSkillsHtml from './skills-ui' import getPluginsHtml from './plugins-ui' -const getHtml = (isTelemetryEnabled: boolean, opencreditsApiUrl: string = 'https://ccc.api.opencredits.ai', opencreditsWebUrl: string = 'https://ccc.opencredits.ai', opencreditsPublishableKey: string = 'oc_pk_c43da4f9a9484ae484ad29bc97cc354f') => ` +const getHtml = (isTelemetryEnabled: boolean, opencreditsApiUrl: string = 'https://ccc.api.opencredits.ai', opencreditsWebUrl: string = 'https://ccc.opencredits.ai', opencreditsPublishableKey: string = 'oc_pk_c43da4f9a9484ae484ad29bc97cc354f', editorName: string = 'unknown') => `
@@ -1076,7 +1076,7 @@ const getHtml = (isTelemetryEnabled: boolean, opencreditsApiUrl: string = 'https 2. Do I need to display a cookie notice to users? No, Umami does not use any cookies in the tracking code. --> - ${isTelemetryEnabled ? '' : ''} + ${isTelemetryEnabled ? '' : ''} `;