Skip to content

Commit 2326b15

Browse files
authored
Merge pull request #251130 from Homebrew/vibe-log-cli
vibe-log-cli 0.7.2 (new formula)
2 parents 4f402c3 + 10bac25 commit 2326b15

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

Formula/v/vibe-log-cli.rb

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
class VibeLogCli < Formula
2+
desc "CLI tool for analyzing Claude Code sessions"
3+
homepage "https://vibe-log.dev/"
4+
url "https://registry.npmjs.org/vibe-log-cli/-/vibe-log-cli-0.7.2.tgz"
5+
sha256 "830ce89a5c6863cd8712f83b26b9924485789fdc3a8359a6ef2872cfe85981a7"
6+
license "MIT"
7+
8+
bottle do
9+
sha256 cellar: :any, arm64_tahoe: "441fb451e5e9ecb74248a229d45bbb4141d19d7489cd1d9485a54a8cdb6d8ea8"
10+
sha256 cellar: :any, arm64_sequoia: "b4bab11e4b314b86f202563b4cfd2ebfdfcbafb19745a5c1aa22c04e81bafe24"
11+
sha256 cellar: :any, arm64_sonoma: "b4bab11e4b314b86f202563b4cfd2ebfdfcbafb19745a5c1aa22c04e81bafe24"
12+
sha256 cellar: :any, sonoma: "feb2d5586ce77002cc4f9b7d9d803936635409149b6c2b78b82c183fb62cff3b"
13+
sha256 cellar: :any_skip_relocation, x86_64_linux: "7472e3f1a5972317e4eb9610240d7186a48c1c605d5a41476e56391e3f381c25"
14+
end
15+
16+
depends_on "node"
17+
18+
def install
19+
system "npm", "install", *std_npm_args
20+
bin.install_symlink Dir["#{libexec}/bin/*"]
21+
22+
# Remove incompatible pre-built binaries
23+
ripgrep_vendor_dir = libexec/"lib/node_modules/vibe-log-cli/node_modules/@anthropic-ai/claude-code/vendor/ripgrep"
24+
rm_r(ripgrep_vendor_dir)
25+
end
26+
27+
test do
28+
assert_match version.to_s, shell_output("#{bin}/vibe-log --version")
29+
assert_match "Failed to send sessions", shell_output("#{bin}/vibe-log send --silent 2>&1")
30+
end
31+
end

0 commit comments

Comments
 (0)