From 39fa333fa6a7c074254403984f00f5c7f871c99d Mon Sep 17 00:00:00 2001 From: Ethan Dickson Date: Mon, 3 Mar 2025 05:59:21 +0000 Subject: [PATCH 1/3] fix: set `usage-app` to `vscode` on `coder ssh` --- src/remote.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/remote.ts b/src/remote.ts index e587a70d..54bb64be 100644 --- a/src/remote.ts +++ b/src/remote.ts @@ -627,7 +627,7 @@ export class Remote { const proxyCommand = featureSet.wildcardSSH ? `${escape(binaryPath)}${headerArg} --global-config ${escape( path.dirname(this.storage.getSessionTokenPath(label)), - )} ssh --stdio --network-info-dir ${escape(this.storage.getNetworkInfoPath())}${await this.formatLogArg(logDir)} --ssh-host-prefix ${hostPrefix} %h` + )} ssh --stdio --usage-app=vscode --network-info-dir ${escape(this.storage.getNetworkInfoPath())}${await this.formatLogArg(logDir)} --ssh-host-prefix ${hostPrefix} %h` : `${escape(binaryPath)}${headerArg} vscodessh --network-info-dir ${escape( this.storage.getNetworkInfoPath(), )}${await this.formatLogArg(logDir)} --session-token-file ${escape(this.storage.getSessionTokenPath(label))} --url-file ${escape( From 0548280239a706b4c7965f009255b0f483ccd0d0 Mon Sep 17 00:00:00 2001 From: Ethan Dickson Date: Tue, 4 Mar 2025 00:55:24 +0000 Subject: [PATCH 2/3] changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 35a1909d..b0722300 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - Remove agent singleton so that client TLS certificates are reloaded on every API request. - Use Axios client to receive event stream so TLS settings are properly applied. +- Set `usage-app=vscode` on `coder ssh` to fix deployment session counting ## [v1.4.1](https://github.com/coder/vscode-coder/releases/tag/v1.4.1) (2025-02-19) From c4dec6b0ca490151a84bb678cd9de1949d9794f8 Mon Sep 17 00:00:00 2001 From: Ethan Dickson Date: Tue, 4 Mar 2025 00:56:47 +0000 Subject: [PATCH 3/3] fullstop --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b0722300..90df75b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ - Remove agent singleton so that client TLS certificates are reloaded on every API request. - Use Axios client to receive event stream so TLS settings are properly applied. -- Set `usage-app=vscode` on `coder ssh` to fix deployment session counting +- Set `usage-app=vscode` on `coder ssh` to fix deployment session counting. ## [v1.4.1](https://github.com/coder/vscode-coder/releases/tag/v1.4.1) (2025-02-19)