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
+17
View File
@@ -7,6 +7,7 @@ Thank you for your interest in contributing to Strix! This guide will help you g
### Prerequisites
- Python 3.12+
- Latest Go 1.24.x patch (only for Bubble Tea TUI development and release artifacts)
- Docker (running)
- [uv](https://docs.astral.sh/uv/) (for dependency management)
- Git
@@ -113,6 +114,22 @@ make viewer # or: cd strix/interface/viewer/frontend && npm ci && npm run buil
Commit both the source change and the regenerated `strix/interface/viewer/static/`.
## Package builds
Editable installs do not need Go; they run the TUI from source (`go run`).
Wheels always bundle the matching Go sidecar and are platform-specific:
```bash
make wheel
```
The build hook (`scripts/tui_sidecar_hook.py`) compiles the sidecar, embeds it as
`strix/bin/strix-tui`, and assigns the current platform tag. It requires Go
1.24.x or newer and fails rather than producing a wheel without the sidecar.
`scripts/build.sh` and `strix.spec` are likewise strict for frozen PyInstaller
releases.
## 🤝 Community
- **Discord**: [Join our community](https://discord.gg/strix-ai)