Skip to content

The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.

fix: extract only the first line of launcher version output

0xken1524d560f310f0
diff --git a/cli/scripts/install.sh b/cli/scripts/install.sh
index 4a8ed484d..9eb944f0f 100755
--- a/cli/scripts/install.sh
+++ b/cli/scripts/install.sh
@@ -683,7 +683,9 @@ print_logo() {
# The explicit commands keep browser SSO and the long-lived daemon lifecycle understandable and
# scriptable: nothing here signs in or starts anything. Desktop mode is the app installing its own
# CLI — the app takes the person through sign-in itself, so it gets the one line and not the guide.
-installed_version="$("$LAUNCHER" version 2>/dev/null || true)"
+# One line of it: `harness version` prints the version alone today, and a notice it might add
+# tomorrow must not land inside this sentence.
+installed_version="$("$LAUNCHER" version 2>/dev/null | head -n 1 || true)"
if [ "$INSTALL_MODE" = "desktop" ]; then
echo ""
echo " harness${installed_version:+ $installed_version} installed."