-
-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathomni.rb
More file actions
50 lines (44 loc) · 1.73 KB
/
Copy pathomni.rb
File metadata and controls
50 lines (44 loc) · 1.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
class Omni < Formula
desc "Semantic Signal Engine — Less noise. More signal. Right signal."
homepage "https://github.com/fajarhide/omni"
version "0.6.2"
license "MIT"
on_macos do
on_arm do
url "https://github.com/fajarhide/omni/releases/download/v#{version}/omni-v#{version}-aarch64-apple-darwin.tar.gz"
sha256 "f628ef8261a9d5d6a2413d464c4958c52363e9223290628bcdf087d96ef3def1"
end
on_intel do
url "https://github.com/fajarhide/omni/releases/download/v#{version}/omni-v#{version}-x86_64-apple-darwin.tar.gz"
sha256 "29802135c606318a6b492253d33a0cf48b0c54aeb2515ca3744ee02a04b017db"
end
end
on_linux do
on_arm do
url "https://github.com/fajarhide/omni/releases/download/v#{version}/omni-v#{version}-aarch64-unknown-linux-musl.tar.gz"
sha256 "085e0f1ff4d73763228a885c5cdb9d2887027b996d85bb548ec3040fdd4cdf7a"
end
on_intel do
url "https://github.com/fajarhide/omni/releases/download/v#{version}/omni-v#{version}-x86_64-unknown-linux-musl.tar.gz"
sha256 "3768d00d9ce1a0dd687b3d70442402b4b9bb4eda82e8f173611f9d8c2a8e2f37"
end
end
def install
bin.install "omni"
end
def caveats
<<~EOS
Quick start:
omni init # Initialize OMNI setup (interactive)
omni doctor # Verify installation
omni stats # View token savings
OMNI works automatically — no configuration needed.
Hooks intercept Claude Code tool outputs and distill them in real-time.
EOS
end
test do
assert_match "omni", shell_output("#{bin}/omni version")
assert_match "Signal Report", shell_output("#{bin}/omni stats 2>&1", 0)
assert_match "OMNI Doctor", shell_output("#{bin}/omni doctor 2>&1", 0)
end
end