11export type ProjectStatus = "running" | "stopped" | "unknown"
22
3- export type AgentProvider = "codex" | "opencode" | "claude" | "custom"
3+ export type AgentProvider = "codex" | "opencode" | "claude" | "grok" | " custom"
44
55export type AgentStatus = "starting" | "running" | "stopping" | "stopped" | "exited" | "failed"
66
@@ -74,6 +74,23 @@ export type ProjectPortForwardRequest = {
7474 readonly hostPort ?: number | undefined
7575}
7676
77+ export type PanelCloudflareTunnelStatus = "starting" | "running" | "stopped" | "failed"
78+
79+ export type PanelCloudflareTunnelSession = {
80+ readonly error : string | null
81+ readonly id : string
82+ readonly logTail : ReadonlyArray < string >
83+ readonly panelUrl : string
84+ readonly publicUrl : string | null
85+ readonly startedAt : string
86+ readonly status : PanelCloudflareTunnelStatus
87+ readonly stoppedAt : string | null
88+ }
89+
90+ export type StartPanelCloudflareTunnelRequest = {
91+ readonly panelUrl : string
92+ }
93+
7794export type ProjectBrowserStatus = "running" | "stopped" | "missing" | "unknown"
7895
7996export type ProjectBrowserSession = {
@@ -183,19 +200,23 @@ export type AuthMenuFlow =
183200 | "ClaudeLogout"
184201 | "GeminiApiKey"
185202 | "GeminiLogout"
203+ | "GrokApiKey"
204+ | "GrokLogout"
186205
187- export type AuthTerminalFlow = "ClaudeOauth" | "GeminiOauth"
206+ export type AuthTerminalFlow = "ClaudeOauth" | "GeminiOauth" | "GrokOauth"
188207
189208export type AuthSnapshot = {
190209 readonly globalEnvPath : string
191210 readonly claudeAuthPath : string
192211 readonly geminiAuthPath : string
212+ readonly grokAuthPath : string
193213 readonly totalEntries : number
194214 readonly githubTokenEntries : number
195215 readonly gitTokenEntries : number
196216 readonly gitUserEntries : number
197217 readonly claudeAuthEntries : number
198218 readonly geminiAuthEntries : number
219+ readonly grokAuthEntries : number
199220}
200221
201222export type AuthMenuRequest = {
@@ -249,6 +270,8 @@ export type ProjectAuthFlow =
249270 | "ProjectClaudeDisconnect"
250271 | "ProjectGeminiConnect"
251272 | "ProjectGeminiDisconnect"
273+ | "ProjectGrokConnect"
274+ | "ProjectGrokDisconnect"
252275
253276export type ProjectAuthSnapshot = {
254277 readonly projectDir : string
@@ -257,22 +280,25 @@ export type ProjectAuthSnapshot = {
257280 readonly envProjectPath : string
258281 readonly claudeAuthPath : string
259282 readonly geminiAuthPath : string
283+ readonly grokAuthPath : string
260284 readonly githubTokenEntries : number
261285 readonly gitTokenEntries : number
262286 readonly claudeAuthEntries : number
263287 readonly geminiAuthEntries : number
288+ readonly grokAuthEntries : number
264289 readonly activeGithubLabel : string | null
265290 readonly activeGitLabel : string | null
266291 readonly activeClaudeLabel : string | null
267292 readonly activeGeminiLabel : string | null
293+ readonly activeGrokLabel : string | null
268294}
269295
270296export type ProjectAuthRequest = {
271297 readonly flow : ProjectAuthFlow
272298 readonly label ?: string | null | undefined
273299}
274300
275- export type ProjectPromptKind = "claude" | "codex" | "gemini"
301+ export type ProjectPromptKind = "claude" | "codex" | "gemini" | "grok"
276302
277303export type ProjectPromptFile = {
278304 readonly kind : ProjectPromptKind
@@ -302,6 +328,7 @@ export type ProjectSkillScope =
302328 | "claude/skills"
303329 | "codex/skills"
304330 | "gemini/skills"
331+ | "grok/skills"
305332
306333export type ProjectSkillFile = {
307334 readonly id : string
@@ -357,6 +384,10 @@ export type UpProjectRequest = {
357384}
358385
359386export type ApplyProjectRequest = {
387+ readonly cpuLimit ?: string | undefined
388+ readonly ramLimit ?: string | undefined
389+ readonly playwrightCpuLimit ?: string | undefined
390+ readonly playwrightRamLimit ?: string | undefined
360391 readonly gpu ?: "none" | "all" | undefined
361392}
362393
@@ -385,6 +416,8 @@ export type CreateProjectRequest = {
385416 readonly codexHome ?: string | undefined
386417 readonly cpuLimit ?: string | undefined
387418 readonly ramLimit ?: string | undefined
419+ readonly playwrightCpuLimit ?: string | undefined
420+ readonly playwrightRamLimit ?: string | undefined
388421 readonly gpu ?: "none" | "all" | undefined
389422 readonly dockerNetworkMode ?: string | undefined
390423 readonly dockerSharedNetworkName ?: string | undefined
@@ -394,6 +427,8 @@ export type CreateProjectRequest = {
394427 readonly skipGithubAuth ?: boolean | undefined
395428 readonly codexTokenLabel ?: string | undefined
396429 readonly claudeTokenLabel ?: string | undefined
430+ readonly geminiTokenLabel ?: string | undefined
431+ readonly grokTokenLabel ?: string | undefined
397432 readonly agentAutoMode ?: string | undefined
398433 readonly up ?: boolean | undefined
399434 readonly openSsh ?: boolean | undefined
0 commit comments