mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-26 12:26:38 -06:00
b41d5293b2
* refactor(mantis): replace Telegram proof compiler with frozen visible replay * refactor(mantis): let Codex own Telegram proof scenarios * fix(mantis): isolate proof publication * fix(mantis): bind baseline cache to revision * chore(mantis): remove stale scenario-designer wording * fix(mantis): align readable worktrees with trusted proof * fix(mantis): register proof collector tooling * refactor(mantis): keep collector functions private * fix(mantis): publish agent-selected Telegram proof * fix(mantis): trim proof media to final turn * fix(mantis): fence lanes before evidence collection * fix(mantis): verify lane termination before unlock
16 lines
719 B
Bash
Executable File
16 lines
719 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
test "$(uname -m)" = x86_64
|
|
install_dir="${RUNNER_TEMP}/crabbox"
|
|
archive="$install_dir/crabbox.tar.gz"
|
|
mkdir -p "$install_dir"
|
|
curl --fail --location --silent --show-error \
|
|
--connect-timeout 15 --max-time 120 --retry 3 --retry-all-errors \
|
|
--output "$archive" \
|
|
"https://github.com/openclaw/crabbox/releases/download/v${CRABBOX_VERSION}/crabbox_${CRABBOX_VERSION}_linux_amd64.tar.gz"
|
|
printf '%s %s\n' "$CRABBOX_LINUX_AMD64_SHA256" "$archive" | sha256sum --check --strict
|
|
tar -xzf "$archive" -C "$install_dir" crabbox
|
|
sudo install -m 0755 "$install_dir/crabbox" /usr/local/bin/crabbox
|
|
test "$(crabbox --version)" = "$CRABBOX_VERSION"
|
|
crabbox media preview --help >/dev/null
|