@@ -167,6 +167,26 @@ const vscodeInsiders = createVSCodeClient("vscode-insiders", "VS Code Insiders")
167167const vscodium = createVSCodeClient ( "vscodium" , "VSCodium" ) ;
168168const cursor = createVSCodeClient ( "cursor" , "Cursor" ) ;
169169
170+ const kiroClient : OAuthClient = {
171+ id : "kiro-gitpod" ,
172+ secret : "kiro-gitpod-secret" ,
173+ name : "Kiro Editor: Gitpod extension" ,
174+ redirectUris : [ "kiro://gitpod.extension/complete-gitpod-auth" ] ,
175+ allowedGrants : [ "authorization_code" ] ,
176+ scopes : [
177+ { name : "function:getGitpodTokenScopes" } ,
178+ { name : "function:getLoggedInUser" } ,
179+ { name : "function:getWorkspace" } ,
180+ { name : "function:getWorkspaces" } ,
181+ { name : "function:getOwnerToken" } ,
182+ { name : "function:startWorkspace" } ,
183+ { name : "function:stopWorkspace" } ,
184+ { name : "function:deleteWorkspace" } ,
185+ { name : "function:listenForWorkspaceInstanceUpdates" } ,
186+ { name : "resource:default" } ,
187+ ] ,
188+ } ;
189+
170190export const inMemoryDatabase : InMemory = {
171191 clients : {
172192 [ localClient . id ] : localClient ,
@@ -178,6 +198,7 @@ export const inMemoryDatabase: InMemory = {
178198 [ cursor . id ] : cursor ,
179199 [ desktopClient . id ] : desktopClient ,
180200 [ toolbox . id ] : toolbox ,
201+ [ kiroClient . id ] : kiroClient ,
181202 } ,
182203 tokens : { } ,
183204 scopes : { } ,
0 commit comments