Skip to content

Commit 1a7c8ee

Browse files
Update hivemind to v0.1.9
1 parent 6c0ba96 commit 1a7c8ee

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

Formula/hivemind.rb

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ class Hivemind < Formula
33

44
desc "Syncs agentic coding sessions to Weights & Biases"
55
homepage "https://github.com/wandb/agentstream-py"
6-
url "https://github.com/wandb/homebrew-taps/releases/download/hivemind-v0.1.8/hivemind-0.1.8-py3-none-any.whl"
7-
sha256 "50d6f29ece19d33a5d2e9a8a5163891d09f59107b8f537aa9cb2cbc854f2df19"
6+
url "https://github.com/wandb/homebrew-taps/releases/download/hivemind-v0.1.9/hivemind-0.1.9-py3-none-any.whl"
7+
sha256 "71ba1f94835a8e07a54e87f998e55c6b73db8b5b36f2e74c8bf021a964689acb"
88
license "MIT"
99

1010
depends_on "[email protected]"
1111

1212
resource "agentstream" do
13-
url "https://github.com/wandb/homebrew-taps/releases/download/hivemind-v0.1.8/agentstream-0.1.8-py3-none-any.whl"
14-
sha256 "7e2952dda3561bc93b3c23a35bd247ea5f585726c3e0bc16e2e249818b964caf"
13+
url "https://github.com/wandb/homebrew-taps/releases/download/hivemind-v0.1.9/agentstream-0.1.9-py3-none-any.whl"
14+
sha256 "88616c64aa5a750b26be407d5f3bba0678ba51952224f3f84e91fd81d8aba47f"
1515
end
1616

1717
def install
@@ -36,25 +36,28 @@ def install
3636
def post_install
3737
system bin/"hivemind", "auth-check", "--quiet"
3838

39-
if $?.success?
40-
system "brew", "services", "start", "hivemind"
41-
ohai "Hivemind daemon started successfully"
42-
else
39+
unless $?.success?
4340
opoo <<~EOS
44-
Could not authenticate automatically.
41+
GitHub authentication not configured.
4542
4643
The daemon requires GitHub authentication. Please run:
4744
gh auth login
48-
49-
Then start the service:
50-
brew services start hivemind
5145
EOS
5246
end
47+
48+
ohai <<~EOS
49+
To start the hivemind daemon:
50+
brew services start hivemind
51+
52+
Or run manually:
53+
hivemind run
54+
EOS
5355
end
5456

5557
service do
5658
run [opt_bin/"hivemind", "run"]
5759
keep_alive true
60+
environment_variables HIVEMIND_LOG_FILE: var/"log/hivemind.log"
5861
log_path var/"log/hivemind.log"
5962
error_log_path var/"log/hivemind.err"
6063
end

0 commit comments

Comments
 (0)