feat: combine TUI UX from alexhancock/tui-goodness with publishing config from jackamadeo/package-tui (#7683)

Co-authored-by: Jack Amadeo <jamadeo@squareup.com>
This commit is contained in:
Alex Hancock
2026-03-06 14:22:37 -05:00
committed by GitHub
parent 178197923e
commit a36ca9a07b
27 changed files with 4101 additions and 429 deletions
+1
View File
@@ -0,0 +1 @@
*/bin/
+35
View File
@@ -0,0 +1,35 @@
# Native Binary Packages
This directory contains the npm package scaffolding for distributing the
`goose-acp-server` Rust binary as platform-specific npm packages.
## Packages
| Package | Platform |
|---------|----------|
| `@block/goose-acp-server-darwin-arm64` | macOS Apple Silicon |
| `@block/goose-acp-server-darwin-x64` | macOS Intel |
| `@block/goose-acp-server-linux-arm64` | Linux ARM64 |
| `@block/goose-acp-server-linux-x64` | Linux x64 |
| `@block/goose-acp-server-win32-x64` | Windows x64 |
## Building
From the repository root:
```bash
# Build for all platforms (requires cross-compilation toolchains)
./ui/text/scripts/build-native-packages.sh
# Build for a single platform
./ui/text/scripts/build-native-packages.sh darwin-arm64
```
The built binaries are placed into `npm/goose-acp-server-{platform}/bin/`.
These directories are git-ignored.
## Publishing
```bash
./ui/text/scripts/publish.sh
```
@@ -0,0 +1,19 @@
{
"name": "@block/goose-acp-server-darwin-arm64",
"version": "0.1.0",
"description": "Goose ACP server binary for macOS ARM64",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/block/goose.git"
},
"os": [
"darwin"
],
"cpu": [
"arm64"
],
"files": [
"bin/goose-acp-server"
]
}
@@ -0,0 +1,19 @@
{
"name": "@block/goose-acp-server-darwin-x64",
"version": "0.1.0",
"description": "Goose ACP server binary for macOS x64",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/block/goose.git"
},
"os": [
"darwin"
],
"cpu": [
"x64"
],
"files": [
"bin/goose-acp-server"
]
}
@@ -0,0 +1,19 @@
{
"name": "@block/goose-acp-server-linux-arm64",
"version": "0.1.0",
"description": "Goose ACP server binary for Linux ARM64",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/block/goose.git"
},
"os": [
"linux"
],
"cpu": [
"arm64"
],
"files": [
"bin/goose-acp-server"
]
}
@@ -0,0 +1,19 @@
{
"name": "@block/goose-acp-server-linux-x64",
"version": "0.1.0",
"description": "Goose ACP server binary for Linux x64",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/block/goose.git"
},
"os": [
"linux"
],
"cpu": [
"x64"
],
"files": [
"bin/goose-acp-server"
]
}
@@ -0,0 +1,19 @@
{
"name": "@block/goose-acp-server-win32-x64",
"version": "0.1.0",
"description": "Goose ACP server binary for Windows x64",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/block/goose.git"
},
"os": [
"win32"
],
"cpu": [
"x64"
],
"files": [
"bin/goose-acp-server.exe"
]
}