@mesrai/cli 0.4.21 → 0.4.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +30 -97
  2. package/package.json +9 -4
package/README.md CHANGED
@@ -1,6 +1,11 @@
1
- <!-- TODO: Add banner image/logo here -->
1
+ <p align="center">
2
+ <a href="https://mesrai.com"><img src="https://www.mesrai.com/og-image.png" alt="Mesrai" width="800"></a>
3
+ </p>
2
4
 
3
- <h1 align="center">Mesrai CLI</h1>
5
+ <h1 align="center">
6
+ <img src="https://www.mesrai.com/logo.png" alt="Mesrai" width="40" align="center">
7
+ Mesrai CLI
8
+ </h1>
4
9
 
5
10
  <p align="center">
6
11
  <strong>Catch bugs before they reach your pull request — AI code review from the terminal.</strong>
@@ -9,15 +14,14 @@
9
14
  <p align="center">
10
15
  <a href="https://www.npmjs.com/package/@mesrai/cli"><img src="https://img.shields.io/npm/v/@mesrai/cli.svg" alt="npm version"></a>
11
16
  <a href="https://www.npmjs.com/package/@mesrai/cli"><img src="https://img.shields.io/npm/dm/@mesrai/cli.svg" alt="npm downloads"></a>
12
- <a href="https://github.com/mesraiofficial/cli/blob/main/LICENSE"><img src="https://img.shields.io/github/license/mesraiofficial/cli" alt="license"></a>
13
- <a href="https://github.com/mesraiofficial/cli"><img src="https://img.shields.io/github/stars/mesraiofficial/cli" alt="stars"></a>
14
17
  <a href="https://nodejs.org"><img src="https://img.shields.io/badge/node-%3E%3D20-brightgreen" alt="node version"></a>
15
18
  </p>
16
19
 
17
20
  <p align="center">
18
21
  <a href="https://mesrai.com">Website</a> &middot;
19
22
  <a href="https://app.mesrai.com">Sign Up</a> &middot;
20
- <a href="https://github.com/mesraiofficial/cli/issues">Issues</a>
23
+ <a href="https://docs.mesrai.com">Docs</a> &middot;
24
+ <a href="mailto:contact@mesrai.com">Support</a>
21
25
  </p>
22
26
 
23
27
  ---
@@ -132,21 +136,14 @@ Mesrai is designed to work **inside AI coding agents**. While you can use it sta
132
136
 
133
137
  ### Install the Skill (recommended)
134
138
 
135
- The fastest way to get started. Auto-detects your installed IDEs and sets everything up:
136
-
137
- macOS/Linux:
139
+ Two commands. Installs the CLI globally + deploys the review skill into every supported agent on your machine Claude Code, Cursor, Windsurf, and others.
138
140
 
139
141
  ```bash
140
- curl -fsSL https://raw.githubusercontent.com/mesraiofficial/cli/main/install.sh | bash
142
+ npm install -g @mesrai/cli
143
+ mesrai skills install
141
144
  ```
142
145
 
143
- Windows PowerShell:
144
-
145
- ```powershell
146
- powershell -NoProfile -ExecutionPolicy Bypass -Command "$tmp = Join-Path $env:TEMP 'mesrai-install.ps1'; Invoke-WebRequest https://raw.githubusercontent.com/mesraiofficial/cli/main/install.ps1 -OutFile $tmp; & $tmp"
147
- ```
148
-
149
- This installs the Mesrai CLI globally and deploys the review skill into every supported agent on your machine — Claude Code, Cursor, Windsurf, and others. One command, all environments.
146
+ Auto-detects installed IDEs. Re-run `mesrai skills install` anytime to add new agents.
150
147
 
151
148
  ### How It Works With Agents
152
149
 
@@ -212,66 +209,25 @@ The copied prompt includes file path, line numbers, severity, and detailed sugge
212
209
 
213
210
  ## Installation
214
211
 
215
- ### Skill installer (recommended — CLI + all your agents)
216
-
217
- macOS/Linux:
212
+ ### Recommended — CLI + skills for all your agents
218
213
 
219
214
  ```bash
220
- curl -fsSL https://raw.githubusercontent.com/mesraiofficial/cli/main/install.sh | bash
215
+ npm install -g @mesrai/cli
216
+ mesrai skills install
221
217
  ```
222
218
 
223
- Windows PowerShell:
224
-
225
- ```powershell
226
- powershell -NoProfile -ExecutionPolicy Bypass -Command "$tmp = Join-Path $env:TEMP 'mesrai-install.ps1'; Invoke-WebRequest https://raw.githubusercontent.com/mesraiofficial/cli/main/install.ps1 -OutFile $tmp; & $tmp"
227
- ```
228
-
229
- Installs the CLI and deploys the review skill to all detected agents in one step.
230
-
231
- ### Keep everything updated
232
-
233
- `mesrai update` updates the CLI package.
234
-
235
- For end users, the recommended way to refresh skills and agent integrations is:
236
-
237
- macOS/Linux:
238
-
239
- ```bash
240
- curl -fsSL https://raw.githubusercontent.com/mesraiofficial/cli/main/install.sh | bash
241
- ```
242
-
243
- Windows PowerShell:
244
-
245
- ```powershell
246
- powershell -NoProfile -ExecutionPolicy Bypass -Command "$tmp = Join-Path $env:TEMP 'mesrai-install.ps1'; Invoke-WebRequest https://raw.githubusercontent.com/mesraiofficial/cli/main/install.ps1 -OutFile $tmp; & $tmp"
247
- ```
248
-
249
- Fallback via CLI for common local agent roots:
250
-
251
- ```bash
252
- mesrai skills install # install into detected local agent roots
253
- mesrai skills resync # re-sync/refresh managed skills
254
- mesrai skills uninstall # remove managed skills from detected targets
255
- ```
219
+ `mesrai skills install` auto-detects installed agents (Claude Code, Cursor, Windsurf, and others) and deploys the review skill into each.
256
220
 
257
- If you want to inspect the script before execution:
221
+ ### CLI only
258
222
 
259
- macOS/Linux:
223
+ <details>
224
+ <summary><strong>npm</strong></summary>
260
225
 
261
226
  ```bash
262
- curl -fsSL https://raw.githubusercontent.com/mesraiofficial/cli/main/install.sh -o /tmp/mesrai-install.sh
263
- less /tmp/mesrai-install.sh
264
- bash /tmp/mesrai-install.sh
227
+ npm install -g @mesrai/cli
265
228
  ```
266
229
 
267
- Windows PowerShell:
268
-
269
- ```powershell
270
- powershell -NoProfile -ExecutionPolicy Bypass -Command "Invoke-WebRequest https://raw.githubusercontent.com/mesraiofficial/cli/main/install.ps1 -OutFile install.ps1"
271
- powershell -NoProfile -ExecutionPolicy Bypass -File .\install.ps1
272
- ```
273
-
274
- ### CLI only
230
+ </details>
275
231
 
276
232
  <details>
277
233
  <summary><strong>yarn</strong></summary>
@@ -291,29 +247,12 @@ npx @mesrai/cli review
291
247
 
292
248
  </details>
293
249
 
294
- <details>
295
- <summary><strong>curl</strong></summary>
296
-
297
- ```bash
298
- curl -fsSL https://raw.githubusercontent.com/mesraiofficial/cli/main/install.sh | bash
299
- ```
300
-
301
- </details>
302
-
303
- <details>
304
- <summary><strong>PowerShell</strong></summary>
305
-
306
- ```powershell
307
- powershell -NoProfile -ExecutionPolicy Bypass -Command "$tmp = Join-Path $env:TEMP 'mesrai-install.ps1'; Invoke-WebRequest https://raw.githubusercontent.com/mesraiofficial/cli/main/install.ps1 -OutFile $tmp; & $tmp"
308
- ```
309
-
310
- </details>
311
-
312
- <details>
313
- <summary><strong>Homebrew (coming soon)</strong></summary>
250
+ ### Keep everything updated
314
251
 
315
252
  ```bash
316
- brew install mesrai/tap/mesrai
253
+ mesrai update # update CLI to latest npm release
254
+ mesrai skills resync # refresh agent skills after update
255
+ mesrai skills uninstall # remove managed skills from detected targets
317
256
  ```
318
257
 
319
258
  </details>
@@ -654,17 +593,11 @@ Mesrai sends your code diffs to the Mesrai API for analysis. We take this seriou
654
593
  - **Minimal data** — Only diffs and context files are sent, not your entire codebase.
655
594
  - **Credentials stored locally** — Auth tokens are kept in `~/.mesrai/credentials.json` on your machine.
656
595
 
657
- ## Contributing
596
+ ## Support
658
597
 
659
- We welcome contributions! Please see our [issues page](https://github.com/mesraiofficial/cli/issues) to get started.
660
-
661
- ```bash
662
- yarn install # Install dependencies
663
- yarn build # Build
664
- yarn dev # Watch mode
665
- yarn test # Run tests
666
- ```
598
+ Email: [contact@mesrai.com](mailto:contact@mesrai.com)
599
+ Docs: [docs.mesrai.com](https://docs.mesrai.com)
667
600
 
668
601
  ## License
669
602
 
670
- [MIT](LICENSE)
603
+ Copyright (c) 2026 Mesrai. All rights reserved.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mesrai/cli",
3
- "version": "0.4.21",
3
+ "version": "0.4.23",
4
4
  "description": "Mesrai CLI - AI-powered code review from your terminal",
5
5
  "type": "module",
6
6
  "bin": {
@@ -14,7 +14,8 @@
14
14
  },
15
15
  "homepage": "https://mesrai.com",
16
16
  "bugs": {
17
- "url": "https://github.com/mesraiofficial/mesrai-engine/issues"
17
+ "email": "contact@mesrai.com",
18
+ "url": "https://mesrai.com/support"
18
19
  },
19
20
  "scripts": {
20
21
  "build": "yarn clean && tsc && chmod +x dist/index.js",
@@ -45,8 +46,12 @@
45
46
  "cli",
46
47
  "git"
47
48
  ],
48
- "author": "Mesrai",
49
- "license": "MIT",
49
+ "author": {
50
+ "name": "Mesrai",
51
+ "email": "contact@mesrai.com",
52
+ "url": "https://mesrai.com"
53
+ },
54
+ "license": "UNLICENSED",
50
55
  "dependencies": {
51
56
  "@inquirer/prompts": "^8.4.2",
52
57
  "boxen": "^8.0.1",