Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.
TypeScript adhdagent-orchestrationai-agentscanvasclaude-codecodexcoding-agentsdeveloper-toolselectrongeminilinuxmacosmultiplexeropencodeparallel-agentsterminalterminal-emulatorterminal-multiplexertmuxworkspace-manager
feat(scm): chain gh login into repo creation in Publish to GitHub
enese60f6a6b702f
diff --git a/src/renderer/components/SourceControlPanel.tsx b/src/renderer/components/SourceControlPanel.tsxindex 4f1bbf9db..2e810d0f1 100644--- a/src/renderer/components/SourceControlPanel.tsx+++ b/src/renderer/components/SourceControlPanel.tsx@@ -192,9 +192,14 @@ export function SourceControlPanel({if (status.ghAuthed) {act(() => git.publish(cwd!, project?.name || 'repo', true))} else {- // Sign in on demand — only when the user actually chooses to publish,- // never proactively after `git init`.- onRunInTerminal('gh auth login')+ // Not signed in: do the whole publish inside one flow. gh auth login is+ // interactive (browser / device code), so it runs in a terminal — but it's+ // chained straight into creating + pushing the repo, so a successful login+ // publishes without a second step. Single-quote the name as one shell arg.+ const name = (project?.name || 'repo').replace(/'/g, `'\\''`)+ onRunInTerminal(+ `gh auth login && gh repo create '${name}' --private --source=. --push`+ )onClose()}}}