Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,18 @@ jobs:
brew trust asdecided/tap

- name: Audit formulas
run: brew audit --strict --online asdecided/tap/asdecided-core
run: |
brew audit --strict --online asdecided/tap/asdecided-core
brew audit --strict --online asdecided/tap/wayfinder-router

- name: Install and test asdecided-core
run: |
brew install asdecided/tap/asdecided-core
brew test asdecided/tap/asdecided-core
decided --version

- name: Install and test wayfinder-router
run: |
brew install asdecided/tap/wayfinder-router
brew test asdecided/tap/wayfinder-router
wayfinder-router --version
19 changes: 19 additions & 0 deletions Formula/wayfinder-router.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
class WayfinderRouter < Formula
desc "Local execution policy for AI model routing"
homepage "https://github.com/asdecided/WayfinderRouter"
url "https://github.com/asdecided/WayfinderRouter/archive/refs/tags/router-v2026.8.0.tar.gz"
sha256 "88da91e17fd06c329a6004649ecca672b8f9d87ae947491562c9be3bbba8ff56"
license "Apache-2.0"

depends_on "rust" => :build

def install
system "cargo", "install", *std_cargo_args(path: "rust/crates/wayfinder-cli")
end

test do
output = pipe_output("#{bin}/wayfinder-router route --json -", "Say hello")
assert_match '"schema_version": "3"', output
assert_match '"recommendation": "local"', output
end
end
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,17 @@ brew install asdecided/tap/asdecided-core
server from signed-version GitHub Release archives published by
[`asdecided/core`](https://github.com/asdecided/core).

Install Wayfinder's local execution policy and model-routing gateway:

```sh
brew install asdecided/tap/wayfinder-router
```

`wayfinder-router` is built from the immutable tagged Rust source published by
[`asdecided/WayfinderRouter`](https://github.com/asdecided/WayfinderRouter).
Installation does not create a policy, start a service, or change provider
credentials. Begin with `wayfinder-router init` and `wayfinder-router doctor`.

`asdecided-full` is reserved for the complete ecosystem install. It will be
added only when the SDK, connectors, editors, and other companions have
independent release artifacts that this tap can install honestly.
Expand Down
Loading