diff --git a/ui/goose-binary/goose-binary-darwin-arm64/package.json b/ui/goose-binary/goose-binary-darwin-arm64/package.json index 5b5b4f4a29..6be3fadbd9 100644 --- a/ui/goose-binary/goose-binary-darwin-arm64/package.json +++ b/ui/goose-binary/goose-binary-darwin-arm64/package.json @@ -1,6 +1,6 @@ { "name": "@aaif/goose-binary-darwin-arm64", - "version": "0.20.0", + "version": "0.20.1", "description": "Goose binary for macOS ARM64", "license": "Apache-2.0", "repository": { diff --git a/ui/goose-binary/goose-binary-darwin-x64/package.json b/ui/goose-binary/goose-binary-darwin-x64/package.json index a9854e1c52..9319454fad 100644 --- a/ui/goose-binary/goose-binary-darwin-x64/package.json +++ b/ui/goose-binary/goose-binary-darwin-x64/package.json @@ -1,6 +1,6 @@ { "name": "@aaif/goose-binary-darwin-x64", - "version": "0.20.0", + "version": "0.20.1", "description": "Goose binary for macOS x64", "license": "Apache-2.0", "repository": { diff --git a/ui/goose-binary/goose-binary-linux-arm64/package.json b/ui/goose-binary/goose-binary-linux-arm64/package.json index 19c954bb39..981d1dde46 100644 --- a/ui/goose-binary/goose-binary-linux-arm64/package.json +++ b/ui/goose-binary/goose-binary-linux-arm64/package.json @@ -1,6 +1,6 @@ { "name": "@aaif/goose-binary-linux-arm64", - "version": "0.20.0", + "version": "0.20.1", "description": "Goose binary for Linux ARM64", "license": "Apache-2.0", "repository": { diff --git a/ui/goose-binary/goose-binary-linux-x64/package.json b/ui/goose-binary/goose-binary-linux-x64/package.json index d4306e019d..69a70fbd7c 100644 --- a/ui/goose-binary/goose-binary-linux-x64/package.json +++ b/ui/goose-binary/goose-binary-linux-x64/package.json @@ -1,6 +1,6 @@ { "name": "@aaif/goose-binary-linux-x64", - "version": "0.20.0", + "version": "0.20.1", "description": "Goose binary for Linux x64", "license": "Apache-2.0", "repository": { diff --git a/ui/goose-binary/goose-binary-win32-x64/package.json b/ui/goose-binary/goose-binary-win32-x64/package.json index 2911201a42..bca0f064c9 100644 --- a/ui/goose-binary/goose-binary-win32-x64/package.json +++ b/ui/goose-binary/goose-binary-win32-x64/package.json @@ -1,6 +1,6 @@ { "name": "@aaif/goose-binary-win32-x64", - "version": "0.20.0", + "version": "0.20.1", "description": "Goose binary for Windows x64", "license": "Apache-2.0", "repository": { diff --git a/ui/goose2/package.json b/ui/goose2/package.json index 8b45e67376..dee6965d8d 100644 --- a/ui/goose2/package.json +++ b/ui/goose2/package.json @@ -1,7 +1,7 @@ { "name": "goose2", "private": true, - "version": "0.20.0", + "version": "0.20.1", "type": "module", "packageManager": "pnpm@10.33.0", "scripts": { diff --git a/ui/sdk/package.json b/ui/sdk/package.json index d9a8c6be6c..eecc08effc 100644 --- a/ui/sdk/package.json +++ b/ui/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@aaif/goose-sdk", - "version": "0.20.0", + "version": "0.20.1", "description": "Agent Client Protocol (ACP) SDK for Goose AI agent", "license": "Apache-2.0", "repository": { diff --git a/ui/text/package.json b/ui/text/package.json index f34a8681d5..533953abb2 100644 --- a/ui/text/package.json +++ b/ui/text/package.json @@ -1,6 +1,6 @@ { "name": "@aaif/goose", - "version": "0.20.0", + "version": "0.20.1", "description": "Goose - an open-source AI agent", "license": "Apache-2.0", "repository": { diff --git a/ui/text/src/tui.tsx b/ui/text/src/tui.tsx index 91c6ca2abd..778e0f91b8 100644 --- a/ui/text/src/tui.tsx +++ b/ui/text/src/tui.tsx @@ -140,6 +140,7 @@ const InputBar = React.memo(function InputBar({ borderStyle="round" borderColor={RULE_COLOR} paddingX={1} + marginTop={1} width={constrainedWidth} flexShrink={0} > @@ -847,7 +848,8 @@ function App({ ); const PAD_X = 2; - const PAD_Y = 1; + const PAD_TOP = 0; + const PAD_BOTTOM = 0; const safeTermWidth = Math.max(termWidth, 40); const safeTermHeight = Math.max(termHeight, 10); const contentWidth = Math.max(safeTermWidth - PAD_X * 2, 20); @@ -867,10 +869,12 @@ function App({ : 0; const inputExtraLines = (isPasteMode ? 1 : 0) + (queuedMessages.length > 0 ? 1 : 0); - const inputBarH = showInputBar ? 2 + inputContentRows + inputExtraLines : 0; + const inputBarH = showInputBar + ? 2 + inputContentRows + inputExtraLines + 1 // +1 for marginTop gap above input bar + : 0; const historyBarH = isViewingHistory ? 2 : 0; const viewportHeight = Math.max( - safeTermHeight - PAD_Y * 2 - headerH - inputBarH - historyBarH, + safeTermHeight - PAD_TOP - PAD_BOTTOM - headerH - inputBarH - historyBarH, 3, ); @@ -1130,13 +1134,17 @@ function App({ width={safeTermWidth} height={safeTermHeight} paddingX={PAD_X} - paddingY={PAD_Y} + paddingTop={PAD_TOP} + paddingBottom={PAD_BOTTOM} > {bannerVisible ? (