scai 0.1.94 → 0.1.95
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.
- package/README.md +16 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
> AI-powered CLI tool for commit messages **and** pull request reviews — using local models.
|
|
4
4
|
|
|
5
5
|
**scai** is your AI pair‑programmer in the terminal. Focus on coding while scai:
|
|
6
|
-
|
|
7
|
-
- 🤖 **Reviews open pull requests** and provides AI‑driven feedback (BETA)
|
|
6
|
+
|
|
8
7
|
- 💬 **Suggests intelligent Git commit messages** based on your staged diff
|
|
8
|
+
- 🤖 **Reviews open pull requests** and provides AI‑driven feedback (BETA)
|
|
9
9
|
- 📝 Summarizes files in plain English
|
|
10
10
|
- 📜 Auto‑updates your changelog
|
|
11
11
|
- 🔍 (ALPHA) Search & ask questions across your codebase
|
|
@@ -233,25 +233,32 @@ scai gen tests <file>
|
|
|
233
233
|
|
|
234
234
|
* `summ`: Summarize a file
|
|
235
235
|
|
|
236
|
+
You can also pipe file content directly:
|
|
237
|
+
|
|
238
|
+
```bash
|
|
239
|
+
cat src/utils/math.ts | scai gen summ
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
</br>
|
|
243
|
+
|
|
236
244
|
* `comm`: Add comments to one or more files, or to all matching files in a folder (recursive).
|
|
237
|
-
|
|
245
|
+
|
|
246
|
+
</br>
|
|
238
247
|
|
|
239
248
|
```bash
|
|
240
249
|
scai gen comm src/ utils/helpers.ts
|
|
241
250
|
```
|
|
242
251
|
|
|
252
|
+
</br>
|
|
253
|
+
|
|
243
254
|
This will add comments to all `.ts` and `.js` files under `src/` and to `utils/helpers.ts`.
|
|
244
255
|
|
|
256
|
+
</br>
|
|
257
|
+
|
|
245
258
|
* `changelog`: Update or create `CHANGELOG.md` from Git diff
|
|
246
259
|
|
|
247
260
|
* `tests`: Create Jest test stubs (ALPHA)
|
|
248
261
|
|
|
249
|
-
You can also pipe file content directly:
|
|
250
|
-
|
|
251
|
-
```bash
|
|
252
|
-
cat src/utils/math.ts | scai gen summ
|
|
253
|
-
```
|
|
254
|
-
|
|
255
262
|
---
|
|
256
263
|
|
|
257
264
|
## ⚙️ Configuration
|