From 6dd4802c15d2dd3b3dffd41e9b622a5a2568ba57 Mon Sep 17 00:00:00 2001 From: Meru143 Date: Sat, 4 Apr 2026 16:17:24 +0530 Subject: [PATCH 1/2] fix: align npm launcher help text with argus binary --- npm/bin/argus | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npm/bin/argus b/npm/bin/argus index 3100bfc..5e1b4be 100644 --- a/npm/bin/argus +++ b/npm/bin/argus @@ -13,7 +13,7 @@ if (process.platform === "win32") { if (!fs.existsSync(binary)) { console.error( - "argus binary not found. Run `npm install` or `npx argus-ai` to download it." + "argus binary not found. Run `npm install` or `npx argus` to download it." ); process.exit(1); } From de17dbdca311693781a2f96a895b26d9ada1df60 Mon Sep 17 00:00:00 2001 From: Meru143 Date: Sat, 4 Apr 2026 16:22:54 +0530 Subject: [PATCH 2/2] fix: restore argus-ai npm examples --- README.md | 10 +++++----- docs/index.html | 4 ++-- npm/bin/argus | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 854e8c6..3165d52 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Argus is a local-first AI code review platform for teams that want an independen The short version is simple: your coding agent should not grade its own homework. ```bash -git diff HEAD~1 | npx argus review --repo . +git diff HEAD~1 | npx argus-ai review --repo . ``` Live page: [merup.me/argus](https://merup.me/argus/) @@ -29,13 +29,13 @@ Live page: [merup.me/argus](https://merup.me/argus/) ```bash # 1. Install via npm -npx argus init # creates .argus.toml +npx argus-ai init # creates .argus.toml # 2. Set your key (Gemini, Anthropic, or OpenAI) export GEMINI_API_KEY="your-key" # 3. Review your changes -git diff HEAD~1 | npx argus review --repo . +git diff HEAD~1 | npx argus-ai review --repo . ``` ## Install @@ -50,7 +50,7 @@ brew install argus ### npm (Recommended) ```bash -npx argus --help +npx argus-ai --help # or npm install -g argus-ai ``` @@ -164,7 +164,7 @@ jobs: GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | - argus-ai review \ + argus review \ --diff origin/${{ github.base_ref }}..HEAD \ --pr ${{ github.repository }}#${{ github.event.pull_request.number }} \ --post-comments \ diff --git a/docs/index.html b/docs/index.html index 0455b7c..4350b99 100644 --- a/docs/index.html +++ b/docs/index.html @@ -175,9 +175,9 @@

Start with the package manager you already trust.

npm

-
npx argus init
+              
npx argus-ai init
 export GEMINI_API_KEY=your-key
-git diff HEAD~1 | npx argus review --repo .
+git diff HEAD~1 | npx argus-ai review --repo .

cargo

diff --git a/npm/bin/argus b/npm/bin/argus index 5e1b4be..b22b642 100644 --- a/npm/bin/argus +++ b/npm/bin/argus @@ -13,7 +13,7 @@ if (process.platform === "win32") { if (!fs.existsSync(binary)) { console.error( - "argus binary not found. Run `npm install` or `npx argus` to download it." + "argus binary not found. Run `npm install -g argus-ai` or `npx argus-ai` to download it." ); process.exit(1); }