feat(workspaces): implement foreground, background, and iterm2 UI targets

This commit is contained in:
mkorwel
2026-03-18 11:23:29 -07:00
parent d28188bf12
commit 0bf765bae0
2 changed files with 66 additions and 27 deletions
+2 -2
View File
@@ -64,8 +64,8 @@ and full builds) to a dedicated, high-performance GCP worker.
const zone = await prompt('Compute Zone', env.WORKSPACE_ZONE || 'us-west1-a',
'The physical location of your worker. us-west1-a is the team default.');
const terminalTarget = await prompt('Terminal UI Target (tab or window)', env.WORKSPACE_TERM_TARGET || 'tab',
'When a job starts, should it open in a new iTerm2 tab or a completely new window?');
const terminalTarget = await prompt('Terminal UI Target (foreground, background, tab, window)', env.WORKSPACE_TERM_TARGET || 'tab',
'When you start a job in gemini-cli, should it run as a foreground shell, background shell (no attach), new iterm2 tab, or new iterm2 window?');
// 2. Repository Discovery (Dynamic)
console.log('\n🔍 Detecting repository origins...');