File tree Expand file tree Collapse file tree 2 files changed +16
-9
lines changed
Expand file tree Collapse file tree 2 files changed +16
-9
lines changed Original file line number Diff line number Diff line change 22
33## Unreleased
44
5+ ### Added
6+
7+ - Support for paths that begin with a tilde (` ~ ` ).
8+
59### Fixed
610
711- Fixed race condition when multiple VS Code windows download the Coder CLI binary simultaneously.
812 Other windows now wait and display real-time progress instead of attempting concurrent downloads,
913 preventing corruption and failures.
14+ - Remove duplicate "Cancel" buttons on the workspace update dialog.
1015
1116### Changed
1217
1520
1621## [ v1.11.4] ( https://github.com/coder/vscode-coder/releases/tag/v1.11.4 ) 2025-11-20
1722
18- ### Fixed
23+ ### Added
1924
20- - Add support for ` google.antigravity-remote-openssh ` Remote SSH extension.
25+ - Support for the ` google.antigravity-remote-openssh ` Remote SSH extension.
2126
2227### Changed
2328
5560
5661### Changed
5762
58- - Always enable verbose (` -v ` ) flag when a log directory is configured (` coder.proxyLogDir ` ).
63+ - Always enable verbose (` -v ` ) flag when a log directory is configured (` coder.proxyLogDirectory ` ).
5964- Automatically start a workspace without prompting if it is explicitly opened but not running.
6065
6166### Added
134139
135140### Added
136141
137- - Coder extension sidebar now displays available app statuses, and let's
142+ - Coder extension sidebar now displays available app statuses, and lets
138143 the user click them to drop into a session with a running AI Agent.
139144
140145## [ v1.7.1] ( https://github.com/coder/vscode-coder/releases/tag/v1.7.1 ) (2025-04-14)
Original file line number Diff line number Diff line change @@ -119,13 +119,14 @@ export function toSafeHost(rawUrl: string): string {
119119}
120120
121121/**
122- * Expand a path with ${userHome} in the input string
123- * @param input string
124- * @returns string
122+ * Expand a path if it starts with tilda (~) or contains ${userHome}.
125123 */
126124export function expandPath ( input : string ) : string {
127125 const userHome = os . homedir ( ) ;
128- return input . replace ( / \$ { userHome} / g, userHome ) ;
126+ if ( input . startsWith ( "~" ) ) {
127+ input = userHome + input . substring ( "~" . length ) ;
128+ }
129+ return input . replaceAll ( "${userHome}" , userHome ) ;
129130}
130131
131132/**
@@ -145,5 +146,6 @@ export function countSubstring(needle: string, haystack: string): number {
145146}
146147
147148export function escapeCommandArg ( arg : string ) : string {
148- return `"${ arg . replace ( / " / g, '\\"' ) } "` ;
149+ const escapedString = arg . replaceAll ( '"' , String . raw `\"` ) ;
150+ return `"${ escapedString } "` ;
149151}
You can’t perform that action at this time.
0 commit comments