diff --git a/src/browser/components/ChatInput/CreationControls.tsx b/src/browser/components/ChatInput/CreationControls.tsx
index 34dcb0a50a..bd0d0efd6a 100644
--- a/src/browser/components/ChatInput/CreationControls.tsx
+++ b/src/browser/components/ChatInput/CreationControls.tsx
@@ -25,28 +25,7 @@ export function CreationControls(props: CreationControlsProps) {
return (
- {/* Trunk Branch Selector - hidden for Local runtime */}
- {showTrunkBranchSelector && (
-
-
-
-
- )}
-
- {/* Runtime Selector */}
+ {/* Runtime Selector - first */}
- {props.runtimeMode === RUNTIME_MODE.SSH && (
-
props.onRuntimeChange(RUNTIME_MODE.SSH, e.target.value)}
- placeholder="user@host"
- disabled={props.disabled}
- className="bg-separator text-foreground border-border-medium focus:border-accent w-32 rounded border px-1 py-0.5 text-xs focus:outline-none disabled:opacity-50"
- />
- )}
?
@@ -90,6 +59,39 @@ export function CreationControls(props: CreationControlsProps) {
+
+ {/* Trunk Branch Selector - hidden for Local runtime */}
+ {showTrunkBranchSelector && (
+
+
+
+
+ )}
+
+ {/* SSH Host Input - after From selector */}
+ {props.runtimeMode === RUNTIME_MODE.SSH && (
+ props.onRuntimeChange(RUNTIME_MODE.SSH, e.target.value)}
+ placeholder="user@host"
+ disabled={props.disabled}
+ className="bg-separator text-foreground border-border-medium focus:border-accent w-32 rounded border px-1 py-0.5 text-xs focus:outline-none disabled:opacity-50"
+ />
+ )}
);
}