Skip to content

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.

feat(scm): add Pull/Push/Sync to the Source Control '…' menu

enes3a9e6b108d49
diff --git a/src/renderer/components/SourceControlPanel.tsx b/src/renderer/components/SourceControlPanel.tsx
index adfa8fc49..a27232229 100644
--- a/src/renderer/components/SourceControlPanel.tsx
+++ b/src/renderer/components/SourceControlPanel.tsx
@@ -594,6 +594,17 @@ export function SourceControlPanel({
zIndex={80}
onClose={() => setMoreMenu(null)}
items={[
+ // Plain Pull/Push/Sync (always available when the branch has an upstream), independent
+ // of the morphing primary button's current state — like VS Code's "…" menu. SSH-project
+ // repos route these to the remote over the master via the Phase-4 git chokepoint.
+ ...(status.hasUpstream
+ ? ([
+ { label: 'Pull', onClick: () => void act(() => git.pull(cwd!)) },
+ { label: 'Push', onClick: () => void act(() => git.push(cwd!)) },
+ { label: 'Sync', onClick: () => void act(() => git.sync(cwd!)) },
+ { type: 'separator' }
+ ] as MenuItem[])
+ : []),
{ label: 'Fetch', onClick: () => void act(() => git.fetch(cwd!)) },
{
label: 'Force Push',