@@ -28,7 +28,7 @@ export interface ProfileContext {
2828
2929export interface CodeServerProfile {
3030 kind : CodeServerProfileKind
31- /** Public backend id (tunnel reports `code-serve-web`'s sibling `code` binary). */
31+ /** Public backend id (tunnel reports `ms- code-serve-web`'s sibling `code` binary). */
3232 backend : CodeServerBackend
3333 /** Default binary when the caller doesn't override `bin`. */
3434 defaultBin : string
@@ -87,7 +87,7 @@ const codeServerProfile: CodeServerProfile = {
8787/** Microsoft's `code serve-web`, with a connection token passed via `?tkn=`. */
8888const serveWebProfile : CodeServerProfile = {
8989 kind : 'serve-web' ,
90- backend : 'code-serve-web' ,
90+ backend : 'ms- code-serve-web' ,
9191 defaultBin : 'code' ,
9292 buildArgs : c => [
9393 'serve-web' ,
@@ -117,7 +117,7 @@ const DEVICE_LOGIN_RE = /log in(?:to)? (https?:\/\/\S+) and use code ([A-Z0-9-]+
117117/** Microsoft's `code tunnel`, embedding the hosted `vscode.dev` editor. */
118118const tunnelProfile : CodeServerProfile = {
119119 kind : 'tunnel' ,
120- backend : 'code-serve-web' ,
120+ backend : 'ms- code-serve-web' ,
121121 defaultBin : 'code' ,
122122 buildArgs : c => [
123123 'tunnel' ,
@@ -142,11 +142,11 @@ const tunnelProfile: CodeServerProfile = {
142142
143143const LOCAL_PROFILES : Record < CodeServerBackend , CodeServerProfile > = {
144144 'code-server' : codeServerProfile ,
145- 'code-serve-web' : serveWebProfile ,
145+ 'ms- code-serve-web' : serveWebProfile ,
146146}
147147
148148/** The ordered auto-detection candidates for `mode: 'local'` with no explicit backend. */
149- export const AUTO_DETECT_ORDER : CodeServerBackend [ ] = [ 'code-server' , 'code-serve-web' ]
149+ export const AUTO_DETECT_ORDER : CodeServerBackend [ ] = [ 'code-server' , 'ms- code-serve-web' ]
150150
151151/** Resolve the launch profile for a mode + backend. */
152152export function resolveProfile ( mode : CodeServerMode , backend : CodeServerBackend ) : CodeServerProfile {
0 commit comments