feat(tui): replace Textual with a Go/Bubble Tea interface (#941)

This commit is contained in:
oyasumi
2026-08-03 19:23:07 -07:00
committed by GitHub
parent a51ca18666
commit 5bb9fe896b
128 changed files with 16229 additions and 6562 deletions
+14
View File
@@ -39,6 +39,12 @@ if ! command -v uv &> /dev/null; then
exit 1
fi
if ! command -v go &> /dev/null; then
echo -e "${RED}Error: Go is not installed${NC}"
echo "Go 1.24 or newer is required to build the Bubble Tea TUI."
exit 1
fi
echo -e "\n${BLUE}Installing dependencies...${NC}"
uv sync --frozen
@@ -48,6 +54,14 @@ echo -e "${YELLOW}Version:${NC} $VERSION"
echo -e "\n${BLUE}Cleaning previous builds...${NC}"
rm -rf build/ dist/
echo -e "\n${BLUE}Building Bubble Tea sidecar...${NC}"
TUI_BINARY="build/sidecar/strix-tui"
if [ "$OS_NAME" = "windows" ]; then
TUI_BINARY="${TUI_BINARY}.exe"
fi
mkdir -p build/sidecar
(cd strix/interface/tui && CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o "../../../$TUI_BINARY" ./cmd/strix-tui)
echo -e "\n${BLUE}Building binary with PyInstaller...${NC}"
uv run pyinstaller strix.spec --noconfirm