The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
feat(release): include TUI binary in release tarballs
Steven Enamakela408392d2cdd
diff --git a/.github/workflows/release-packages.yml b/.github/workflows/release-packages.ymlindex 7c00733b34..72e97422bf 100644--- a/.github/workflows/release-packages.yml+++ b/.github/workflows/release-packages.yml@@ -83,10 +83,12 @@ jobs:OPENHUMAN_BUILD_SHA: ${{ github.sha }}OPENHUMAN_APP_ENV: productionrun: |- bash scripts/ci-cancel-aware.sh cargo build --release --bin openhuman-core+ bash scripts/ci-cancel-aware.sh cargo build --release -p openhuman --bin openhuman-core+ bash scripts/ci-cancel-aware.sh cargo build --release -p openhuman-tui --bin openhuman-tuiVERSION="${{ github.event.release.tag_name }}"bash scripts/release/package-cli-tarball.sh \target/release/openhuman-core \+ target/release/openhuman-tui \"${VERSION#v}" \aarch64-unknown-linux-gnudiff --git a/.github/workflows/release-production.yml b/.github/workflows/release-production.ymlindex bb24965ebe..56f69b9598 100644--- a/.github/workflows/release-production.yml+++ b/.github/workflows/release-production.yml@@ -523,14 +523,16 @@ jobs:exit 1fiecho "OPENHUMAN_CORE_SENTRY_DSN is set (length=${#OPENHUMAN_CORE_SENTRY_DSN})"- - name: Build openhuman-core binary+ - name: Build CLI binariesenv:OPENHUMAN_CORE_SENTRY_DSN: ${{ vars.OPENHUMAN_CORE_SENTRY_DSN || vars.OPENHUMAN_SENTRY_DSN }}# Match the runtime release tag (`openhuman@<version>+<short_sha>`)# baked elsewhere — see prepare-build.outputs.short_sha comment.OPENHUMAN_BUILD_SHA: ${{ needs.prepare-build.outputs.short_sha }}OPENHUMAN_APP_ENV: production- run: bash scripts/ci-cancel-aware.sh cargo build --release --bin openhuman-core+ run: |+ bash scripts/ci-cancel-aware.sh cargo build --release -p openhuman --bin openhuman-core+ bash scripts/ci-cancel-aware.sh cargo build --release -p openhuman-tui --bin openhuman-tui- name: Package and upload tarball to releaseenv:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}@@ -540,6 +542,7 @@ jobs:run: |bash scripts/release/package-cli-tarball.sh \target/release/openhuman-core \+ target/release/openhuman-tui \"$VERSION" \"$TARGET"diff --git a/scripts/release/package-cli-tarball.sh b/scripts/release/package-cli-tarball.shindex 4a6613107a..6347b430d1 100755--- a/scripts/release/package-cli-tarball.sh+++ b/scripts/release/package-cli-tarball.sh@@ -1,20 +1,22 @@#!/usr/bin/env bash-# Package the core CLI binary into a release tarball and optionally upload it.+# Package the core CLI and terminal UI binaries into a release tarball and+# optionally upload it.## Usage:-# package-cli-tarball.sh <binary_path> <version> <target>+# package-cli-tarball.sh <core_binary_path> <tui_binary_path> <version> <target>## Environment:# GITHUB_TOKEN — if set, uploads tarball + sha256 to the GitHub release# UPLOAD_REPO — GitHub repo slug (default: tinyhumansai/openhuman)## Example:-# package-cli-tarball.sh target/release/openhuman-core 0.5.0 aarch64-apple-darwin+# package-cli-tarball.sh target/release/openhuman-core target/release/openhuman-tui 0.5.0 aarch64-apple-darwinset -euo pipefail-BIN_PATH="${1:?Usage: package-cli-tarball.sh <binary_path> <version> <target>}"-VERSION="${2:?}"-TARGET="${3:?}"+CORE_BIN_PATH="${1:?Usage: package-cli-tarball.sh <core_binary_path> <tui_binary_path> <version> <target>}"+TUI_BIN_PATH="${2:?}"+VERSION="${3:?}"+TARGET="${4:?}"UPLOAD_REPO="${UPLOAD_REPO:-tinyhumansai/openhuman}"TARBALL="openhuman-core-${VERSION}-${TARGET}.tar.gz"@@ -22,9 +24,10 @@ TARBALL="openhuman-core-${VERSION}-${TARGET}.tar.gz"WORK=$(mktemp -d)trap 'rm -rf "$WORK"' EXIT-cp "$BIN_PATH" "$WORK/openhuman-core"-chmod +x "$WORK/openhuman-core"-tar -czf "$TARBALL" -C "$WORK" openhuman-core+cp "$CORE_BIN_PATH" "$WORK/openhuman-core"+cp "$TUI_BIN_PATH" "$WORK/openhuman-tui"+chmod +x "$WORK/openhuman-core" "$WORK/openhuman-tui"+tar -czf "$TARBALL" -C "$WORK" openhuman-core openhuman-tui# openssl dgst works on both macOS and Linuxopenssl dgst -sha256 -r "$TARBALL" | awk '{print $1}' > "${TARBALL}.sha256"