Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions internal/runtime/conversation_runner_login.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ func PrepareRunnerAgentCLILogin(sandbox Sandbox, command CommandSpec) (map[strin
}
return nil, nil, err
}
// The generic tail of prepareRunnerLogin returns a nil env map; the
// OAuth and Antigravity branches build their own. Any future login spec
// that takes the generic path panics here without the guard.
if env == nil {
env = map[string]string{}
}
_, homeEnv := privateHomePaths(sandbox, sandbox.Workspace(), command)
env["HOME"] = homeEnv
tmp, err := EnsureControlDirectory(sandbox.Workspace(), "tmp", PrivateHomeName(command))
Expand Down