@coreviz/cli 1.0.5 → 1.0.6
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 +2 -0
- package/bin/cli.js +1 -1
- package/package.json +2 -2
- package/screenshots/describe.png +0 -0
- package/screenshots/edit.png +0 -0
package/README.md
CHANGED
|
@@ -58,6 +58,8 @@ Edit an image with a text prompt:
|
|
|
58
58
|
npx @coreviz/cli edit path/to/image.jpg --prompt "make it cyberpunk style"
|
|
59
59
|
```
|
|
60
60
|
|
|
61
|
+

|
|
62
|
+
|
|
61
63
|
Search local images using natural language:
|
|
62
64
|
|
|
63
65
|
```bash
|
package/bin/cli.js
CHANGED
|
@@ -373,7 +373,7 @@ program.command('search <query>')
|
|
|
373
373
|
spinner.text = "Processing search query...";
|
|
374
374
|
|
|
375
375
|
try {
|
|
376
|
-
const { embedding: queryEmbedding } = await coreviz.embed(query, { type: 'text' });
|
|
376
|
+
const { embedding: queryEmbedding } = await coreviz.embed(query, { type: 'text', mode: 'local' });
|
|
377
377
|
|
|
378
378
|
const rows = db.prepare('SELECT path, embedding FROM images').all();
|
|
379
379
|
const results = [];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coreviz/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "CoreViz CLI tool",
|
|
6
6
|
"main": "index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"homepage": "https://github.com/CoreViz/cli#readme",
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@clack/prompts": "^0.11.0",
|
|
30
|
-
"@coreviz/sdk": "^1.0.
|
|
30
|
+
"@coreviz/sdk": "^1.0.7",
|
|
31
31
|
"better-auth": "^1.4.2",
|
|
32
32
|
"better-sqlite3": "^12.4.6",
|
|
33
33
|
"chalk": "^5.6.2",
|
package/screenshots/describe.png
CHANGED
|
Binary file
|
|
Binary file
|