Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore: files changed crates/openhuman-core/src/modules/README.md,scripts/release/package-cli-tarball

Steven Enamakel862058f27f9b
diff --git a/crates/openhuman-core/src/modules/README.md b/crates/openhuman-core/src/modules/README.md
index 9de21d4c08..01b2b47f15 100644
--- a/crates/openhuman-core/src/modules/README.md
+++ b/crates/openhuman-core/src/modules/README.md
@@ -70,12 +70,17 @@ layer.
it against the digest pinned in `registry.rs`, hashes the archive, extracts,
and `dlopen`s: on the module runtime's blocking pool so a cold download
never stalls another task.
- On Windows desktop installs, the installer contains the registry-pinned
- `windows-2022-x86_64` archives and their extracted DLLs under
- `bundled-modules/`. The host registers that read-only directory before
- starting the core. The same archive digest and TinyBus admission checks run
- against these local files first, so normal use needs no runtime download.
- Headless and development hosts continue to use the release cache.
+ Every shipped artifact carries the registry-pinned archives, staged at
+ build time by `scripts/release/stage-modules.mjs` (oldest published key per
+ OS/arch: `macos-15`, `ubuntu-22.04`, `windows-2022` / `windows-11-arm64`):
+ desktop installers as the `bundled-modules/` Tauri resource, the Docker
+ image under `/opt/openhuman/bundled-modules`, the CLI tarball and the bench
+ bundle beside the binary. `modules::ops` resolves that directory from the
+ host's `set_bundled_releases_dir`, then `OPENHUMAN_BUNDLED_MODULES`, then
+ `bundled-modules/` beside the executable. The same archive digest and
+ TinyBus admission checks run against these local files first, so normal use
+ needs no runtime download. Plain `cargo build` hosts keep using the release
+ cache.
6. tinybus's ABI descriptor, manifest, and dependency gates decide whether the
artifact is *admitted*; a faulted or refused module is recorded as
`Resolution::Failed` in the resolution table (surfaced as
diff --git a/scripts/release/package-cli-tarball.sh b/scripts/release/package-cli-tarball.sh
index 9f15e58bca..fea4a2f506 100755
--- a/scripts/release/package-cli-tarball.sh
+++ b/scripts/release/package-cli-tarball.sh
@@ -28,7 +28,7 @@ cp "$CORE_BIN_PATH" "$WORK/openhuman-core"
cp "$TUI_BIN_PATH" "$WORK/openhuman-tui"
chmod +x "$WORK/openhuman-core" "$WORK/openhuman-tui"
# Pinned native modules, staged at build time and found by the core beside its
-# binary. Skipped (with a loud warning) only when the host has no published key.
+# binary; the target's host key comes from the runner, so build natively.
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
node "$REPO_ROOT/scripts/release/stage-modules.mjs" --output "$WORK/bundled-modules"
tar -czf "$TARBALL" -C "$WORK" openhuman-core openhuman-tui bundled-modules