From fd4ebed2fbe96efe58b2b92623e436a95b6087e8 Mon Sep 17 00:00:00 2001 From: Transaction Science Date: Mon, 26 Oct 2026 19:22:24 -0400 Subject: [PATCH 1/2] wai 0.3.0: a draft formula, waiting for the release The WAI command line and what wai dev runs (the relay, the room service, the room client, the remote desktop host and the packager), from the archives the open-standards release workflow attaches to wai-v0.3.0. The release writes this file with each archive's SHA-256 (wai/quickstart/formulae.py); until then each digest reads SET-BY-THE-RELEASE and nothing installs. Co-Authored-By: Claude Opus 5.5 --- Formula/wai.rb | 41 +++++++++++++++++++++++++++++++++++++++++ README.md | 17 +++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 Formula/wai.rb diff --git a/Formula/wai.rb b/Formula/wai.rb new file mode 100644 index 0000000..45aec11 --- /dev/null +++ b/Formula/wai.rb @@ -0,0 +1,41 @@ +# DRAFT: the release writes this file (wai/quickstart/formulae.py in open-standards), with each +# archive's SHA-256 in place of SET-BY-THE-RELEASE; until then it does not install. +class Wai < Formula + desc "WAI, an open media standard: its command line, and a local relay and room service" + homepage "https://wai.transaction.science/docs/quickstart/" + version "0.3.0" + license "Apache-2.0" + on_macos do + on_arm do + url "https://git.transaction.science/Transaction-Science/open-standards/releases/download/wai-v0.3.0/wai-0.3.0-aarch64-apple-darwin.tar.gz" + sha256 "SET-BY-THE-RELEASE" + end + on_intel do + url "https://git.transaction.science/Transaction-Science/open-standards/releases/download/wai-v0.3.0/wai-0.3.0-x86_64-apple-darwin.tar.gz" + sha256 "SET-BY-THE-RELEASE" + end + end + on_linux do + on_arm do + url "https://git.transaction.science/Transaction-Science/open-standards/releases/download/wai-v0.3.0/wai-0.3.0-aarch64-unknown-linux-musl.tar.gz" + sha256 "SET-BY-THE-RELEASE" + end + on_intel do + url "https://git.transaction.science/Transaction-Science/open-standards/releases/download/wai-v0.3.0/wai-0.3.0-x86_64-unknown-linux-musl.tar.gz" + sha256 "SET-BY-THE-RELEASE" + end + end + + def install + # bin/ and share/wai/web/ side by side: `wai dev` finds the relay, the room service and the + # room client beside its own binary. + bin.install Dir["bin/*"] + (share/"wai").install "share/wai/web" + end + + test do + assert_match "video-room", shell_output("#{bin}/wai create --list") + assert_match "delivered-verified", shell_output("#{bin}/wai hello #{testpath}/hello") + assert_match "verified", shell_output("#{bin}/wai verify #{testpath}/hello") + end +end diff --git a/README.md b/README.md index 6f9a948..6f8498a 100644 --- a/README.md +++ b/README.md @@ -42,3 +42,20 @@ Intel; Linux on x86_64 and arm64, linked statically. Homepage: https://wai.transaction.science/quantum-studio/ Source: https://git.transaction.science/Transaction-Science/open-standards/src/branch/main/wai/wai-quantum-cli Releases: https://git.transaction.science/Transaction-Science/open-standards/releases (tags `wai-quantum-cli-v…`) + +## wai + +The WAI command line, and what `wai dev` runs on your own machine: a relay, a room service, the +room client a browser loads, a remote desktop host and the packager. `wai hello` shows WAI's +four steps on a sample; `wai create` makes a project from one of the examples; `wai dev` runs it. + +```sh +brew tap transaction-science/tap https://git.transaction.science/Transaction-Science/homebrew-tap +brew install transaction-science/tap/wai +wai hello +``` + +macOS and Linux, arm64 and x86_64. + +Homepage: https://wai.transaction.science/docs/quickstart/ +Source and releases: https://git.transaction.science/Transaction-Science/open-standards -- 2.54.0 (Apple Git-157) From 56eca3f6a9d931f01a5d9c79750d643b74f0c4bd Mon Sep 17 00:00:00 2001 From: David Charlot Date: Thu, 29 Oct 2026 06:31:37 -0400 Subject: [PATCH 2/2] wai 0.4.0: the formula the release wrote Formula/wai.rb is the file the wai-v0.4.0 release attached (wai/quickstart/formulae.py in open-standards), each archive's SHA-256 checked against the .sha256 the release attached beside it. Co-Authored-By: Claude Opus 5.5 --- Formula/wai.rb | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/Formula/wai.rb b/Formula/wai.rb index 45aec11..605d295 100644 --- a/Formula/wai.rb +++ b/Formula/wai.rb @@ -1,28 +1,26 @@ -# DRAFT: the release writes this file (wai/quickstart/formulae.py in open-standards), with each -# archive's SHA-256 in place of SET-BY-THE-RELEASE; until then it does not install. class Wai < Formula desc "WAI, an open media standard: its command line, and a local relay and room service" homepage "https://wai.transaction.science/docs/quickstart/" - version "0.3.0" + version "0.4.0" license "Apache-2.0" on_macos do on_arm do - url "https://git.transaction.science/Transaction-Science/open-standards/releases/download/wai-v0.3.0/wai-0.3.0-aarch64-apple-darwin.tar.gz" - sha256 "SET-BY-THE-RELEASE" + url "https://git.transaction.science/Transaction-Science/open-standards/releases/download/wai-v0.4.0/wai-0.4.0-aarch64-apple-darwin.tar.gz" + sha256 "bd86291604a444208bbd39ad02739a7fcff5f286db32fa7175cd06d39bc5d793" end on_intel do - url "https://git.transaction.science/Transaction-Science/open-standards/releases/download/wai-v0.3.0/wai-0.3.0-x86_64-apple-darwin.tar.gz" - sha256 "SET-BY-THE-RELEASE" + url "https://git.transaction.science/Transaction-Science/open-standards/releases/download/wai-v0.4.0/wai-0.4.0-x86_64-apple-darwin.tar.gz" + sha256 "1a4a734d7845ffab9a4d53eb478370ab51b1f4de03fef5f667207fa2993939b0" end end on_linux do on_arm do - url "https://git.transaction.science/Transaction-Science/open-standards/releases/download/wai-v0.3.0/wai-0.3.0-aarch64-unknown-linux-musl.tar.gz" - sha256 "SET-BY-THE-RELEASE" + url "https://git.transaction.science/Transaction-Science/open-standards/releases/download/wai-v0.4.0/wai-0.4.0-aarch64-unknown-linux-musl.tar.gz" + sha256 "0ea60ffb5dfd82cd8c5f70ce37631a4e052c2a50675f87143a49630d104cadb0" end on_intel do - url "https://git.transaction.science/Transaction-Science/open-standards/releases/download/wai-v0.3.0/wai-0.3.0-x86_64-unknown-linux-musl.tar.gz" - sha256 "SET-BY-THE-RELEASE" + url "https://git.transaction.science/Transaction-Science/open-standards/releases/download/wai-v0.4.0/wai-0.4.0-x86_64-unknown-linux-musl.tar.gz" + sha256 "9cf15a8ce823e22469b9d99147e36d2ea897c5a4e9fd040fa8e0357ec163cf29" end end -- 2.54.0 (Apple Git-157)