Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-harness/blob/main/cli/package.sh # omega-harness Agent skills for operating, encoding and communicating in Omega (.om) and the AIEN repositories Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-harness / cli / package.sh` 40 lines · 1486 bytes Raw Blame History 1 #!/bin/sh 2 # Build a self-contained, reproducible release tarball of Ω Omega Harness CLI + manifest. 3 set -eu 4 DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd) 5 cd "$DIR" 6 OUT_DIR=${1:-"$DIR/release"} 7 VER=$(node -p "require('./package.json').version") 8 HARNESS_SHA=$(git -C "$DIR/.." rev-parse HEAD 2>/dev/null || echo "unknown") 9 OMEGA_MV_SHA=$(git -C "$DIR/../../omega-mv" rev-parse HEAD 2>/dev/null || echo "unknown") 10 NAME="omega-harness-cli-${VER}" 11 STAGE=$(mktemp -d) 12 trap 'rm -rf "$STAGE"' EXIT 13 14 npm run build 15 npm test 16 17 mkdir -p "$STAGE/$NAME" "$OUT_DIR" 18 cp -R dist package.json package-lock.json README.md install.sh "$STAGE/$NAME/" 19 chmod +x "$STAGE/$NAME/install.sh" "$STAGE/$NAME/dist/index.js" 20 21 cat > "$STAGE/$NAME/MANIFEST.txt" <L6) 33 - Live /health Arboris telemetry + omega start/up/down/rebuild lifecycle 34 EOF 35 36 TARBALL="$OUT_DIR/${NAME}.tar.gz" 37 tar -czf "$TARBALL" -C "$STAGE" "$NAME" 38 shasum -a 256 "$TARBALL" > "${TARBALL}.sha256" 39 echo "Ω Packaged: $TARBALL" 40 cat "${TARBALL}.sha256"