fix(workspaces): seed shells only for blank selection (#19940)

* fix(workspaces): seed shells only for blank selection

* fix(workspaces): create runtime-owned launch surfaces

* fix(workspaces): report runtime surface failures

---------

Co-authored-by: Merge Sim <sim@local>
This commit is contained in:
Brennan Benson
2026-09-10 22:05:30 -07:00
committed by GitHub
co-authored by Merge Sim
parent d33354cfd2
commit 2ffac471bd
24 changed files with 701 additions and 95 deletions
@@ -172,7 +172,7 @@ export async function createRuntimeFolderWorktree(args: {
undefined,
args.startup && !didSpawnStartup ? args.startup : undefined
)
} else if (deps.ptySpawnAvailable && !didSpawnStartup) {
} else if (deps.ptySpawnAvailable && !didSpawnStartup && !args.createdWithAgent) {
try {
await deps.createTerminal(`id:${worktree.id}`, { surfaceOwner: false })
} catch (error) {