Update sigit formula to use prebuilt binaries and new repo

- Switch to getsigit/sigit repository and update URLs - Use versioned prebuilt binaries for macOS (arm64, amd64) - Update license, homepage, and test block - Revise README for new install instructions and requirements

paydii committed Apr 24, 2026 at 10:55 UTC 160dc41d52c705d266a384e1243c0eb845ce87e8
2 files changed +41 -27
Formula/sigit.rb
+17 -10
index 1607c45..f05a552 100644 --- a/Formula/sigit.rb +++ b/Formula/sigit.rb @@ -1,22 +1,29 @@ # frozen_string_literal: true -# Builds from source — expect a few minutes on first install. +# Homebrew formula for siGit Code (`sigit` binary). +# Updated automatically by CI — do not edit manually. class Sigit < Formula desc 'AI coding agent powered by local LLM via Onde Inference' - homepage 'https://github.com/setoelkahfi/sigit' - license any_of: ['MIT', 'Apache-2.0'] + homepage 'https://github.com/getsigit/sigit' + version '0.1.1' + license 'Apache-2.0' - head 'https://github.com/setoelkahfi/sigit.git', branch: 'main' - - depends_on 'rust' => :build + on_macos do + on_arm do + url 'https://github.com/getsigit/sigit/releases/download/v0.1.1/sigit-macos-arm64.tar.gz' + sha256 'PLACEHOLDER' + end + on_intel do + url 'https://github.com/getsigit/sigit/releases/download/v0.1.1/sigit-macos-amd64.tar.gz' + sha256 'PLACEHOLDER' + end + end def install - system 'cargo', 'install', *std_cargo_args + bin.install 'sigit' end test do - # Non-TTY stdin triggers ACP mode; the version line lands on stderr. - output = shell_output("echo '' | #{bin}/sigit 2>&1") - assert_match 'siGit', output + assert_match version.to_s, shell_output("#{bin}/sigit --version", 1) end end
README.md
+24 -17
index 4c5f21c..a194811 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,14 @@ -# siGit Code +# siGit Code — Homebrew Tap -[siGit Code](https://github.com/setoelkahfi/sigit) is an AI coding agent that runs a local LLM on your machine. No cloud, no API key. +[siGit Code](https://github.com/getsigit/sigit) is an AI coding agent that runs a local LLM on your machine. ## Install ```bash -brew tap setoelkahfi/sigit https://github.com/setoelkahfi/sigit-homebrew-tap -brew install --HEAD sigit +brew install getsigit/sigit/sigit ``` -The first install builds from source, so expect a few minutes while Cargo pulls the world. Grab a coffee. +Pre-built binaries are downloaded — no Rust toolchain needed. ## Usage @@ -17,14 +16,14 @@ The first install builds from source, so expect a few minutes while Cargo pulls sigit # opens the interactive chat TUI ``` -For Zed, add this to `~/.config/zed/settings.json` and it just works: +For Zed, add to `~/.config/zed/settings.json`: ```json { "agent_servers": { - "siGit": { - "command": "sigit", - "args": [] + "siGit Code": { + "type": "custom", + "command": "sigit" } } } @@ -33,25 +32,33 @@ For Zed, add this to `~/.config/zed/settings.json` and it just works: ## Upgrade ```bash -brew upgrade --fetch-HEAD sigit +brew upgrade sigit ``` ## Uninstall ```bash brew uninstall sigit -brew untap setoelkahfi/sigit +brew untap getsigit/sigit ``` -## Requirements +## Other install methods -- macOS 14 or later -- ~2 GB free disk for the default model — downloaded on first run, not at install time +| Method | Command | +|--------|---------| +| pip | `pip install sigit` | +| npm | `npm install -g @smbcloud/sigit` | +| Cargo | `cargo install sigit` | -## Notes +## Requirements -No tagged releases yet, so `--HEAD` is required. Once versions are cut the formula will get a stable `url` and `sha256` and you won't need the flag. +- macOS 14 or later (Apple Silicon or Intel) +- ~2 GB free disk for the default model (downloaded on first run) ## License -MIT OR Apache-2.0 \ No newline at end of file +Apache-2.0 + +## Copyright + +2026 smbCloud (Splitfire AB). \ No newline at end of file