2026-02-19 15:54:07 -05:00
|
|
|
# goose ACP TUI
|
|
|
|
|
|
|
|
|
|
Early stage and part of goose's broader move to ACP
|
|
|
|
|
|
2026-04-07 01:34:48 -04:00
|
|
|
https://github.com/aaif-goose/goose/issues/6642
|
|
|
|
|
https://github.com/aaif-goose/goose/discussions/7309
|
2026-02-19 15:54:07 -05:00
|
|
|
|
|
|
|
|
## Running
|
|
|
|
|
|
2026-03-27 17:12:11 -04:00
|
|
|
The TUI automatically launches the goose ACP server using the `goose acp` command.
|
|
|
|
|
|
2026-04-14 10:17:01 -04:00
|
|
|
### Development (from source)
|
|
|
|
|
|
|
|
|
|
When running from source, `npm start` automatically builds the Rust binary from the workspace root if needed:
|
|
|
|
|
|
2026-03-27 17:12:11 -04:00
|
|
|
```bash
|
|
|
|
|
cd ui/text
|
|
|
|
|
npm i
|
|
|
|
|
npm run start
|
|
|
|
|
```
|
|
|
|
|
|
2026-04-14 10:17:01 -04:00
|
|
|
The `dev:binary` script checks if the Rust binary needs rebuilding by comparing timestamps of:
|
|
|
|
|
- `target/release/goose` binary
|
|
|
|
|
- `Cargo.toml` and `Cargo.lock`
|
|
|
|
|
- `crates/goose-cli/Cargo.toml`
|
|
|
|
|
|
|
|
|
|
If any source files are newer, it runs `cargo build --release -p goose-cli` automatically.
|
|
|
|
|
|
|
|
|
|
### Production (with prebuilt binaries)
|
|
|
|
|
|
|
|
|
|
In production, the TUI uses prebuilt binaries from the `@aaif/goose-binary-*` packages installed via `postinstall`.
|
|
|
|
|
|
|
|
|
|
### Custom server URL
|
|
|
|
|
|
|
|
|
|
To use a custom server URL instead of the built-in binary:
|
2026-03-27 17:12:11 -04:00
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
npm run start -- --server http://localhost:8080
|
|
|
|
|
```
|