scai 0.1.99 โ 0.1.100
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 +23 -15
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- ๐ฌ **Suggests intelligent Git commit messages** based on your staged diff
|
|
8
8
|
- ๐ค **Reviews open pull requests** and provides AIโdriven feedback (BETA)
|
|
9
|
-
- ๐
|
|
9
|
+
- ๐ **Generates comments for multiple files** while you keep coding
|
|
10
10
|
- ๐ Autoโupdates your changelog
|
|
11
11
|
- ๐ (ALPHA) Search & ask questions across your codebase
|
|
12
12
|
- ๐ 100% local โ no API keys, no cloud, no telemetry
|
|
@@ -225,22 +225,12 @@ This will:
|
|
|
225
225
|
### ๐ ๏ธ Code Generation Commands (`gen` group)
|
|
226
226
|
|
|
227
227
|
```bash
|
|
228
|
-
scai gen summ <file>
|
|
229
228
|
scai gen comm <file|folder...>
|
|
229
|
+
scai gen summ <file>
|
|
230
230
|
scai gen changelog
|
|
231
231
|
scai gen tests <file>
|
|
232
232
|
```
|
|
233
233
|
|
|
234
|
-
* `summ`: Summarize a file
|
|
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
|
-
|
|
244
234
|
* `comm`: Add comments to one or more files, or to all matching files in a folder (recursive).
|
|
245
235
|
|
|
246
236
|
</br>
|
|
@@ -255,6 +245,17 @@ scai gen tests <file>
|
|
|
255
245
|
|
|
256
246
|
</br>
|
|
257
247
|
|
|
248
|
+
* `summ`: Summarize a file
|
|
249
|
+
|
|
250
|
+
You can also pipe file content directly:
|
|
251
|
+
|
|
252
|
+
```bash
|
|
253
|
+
cat src/utils/math.ts | scai gen summ
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
</br>
|
|
257
|
+
|
|
258
|
+
|
|
258
259
|
* `changelog`: Update or create `CHANGELOG.md` from Git diff
|
|
259
260
|
|
|
260
261
|
* `tests`: Create Jest test stubs (ALPHA)
|
|
@@ -268,17 +269,24 @@ scai stores settings in `~/.scai/config.json`. You can override or view them:
|
|
|
268
269
|
* **Set model:**
|
|
269
270
|
|
|
270
271
|
```bash
|
|
271
|
-
scai set
|
|
272
|
+
scai config set-model codellama:7b
|
|
272
273
|
```
|
|
273
274
|
* **Set language:**
|
|
274
275
|
|
|
275
276
|
```bash
|
|
276
|
-
scai set
|
|
277
|
+
scai config set-lang ts
|
|
277
278
|
```
|
|
278
279
|
* **Show config:**
|
|
279
280
|
|
|
281
|
+
To see the config for the active repo
|
|
280
282
|
```bash
|
|
281
|
-
scai config
|
|
283
|
+
scai config show
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
To see the config for all repos
|
|
287
|
+
|
|
288
|
+
```bash
|
|
289
|
+
scai config show --raw
|
|
282
290
|
```
|
|
283
291
|
|
|
284
292
|
---
|