@coreviz/cli 1.0.4 → 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 CHANGED
@@ -48,12 +48,18 @@ Describe an image:
48
48
  npx @coreviz/cli describe path/to/image.jpg
49
49
  ```
50
50
 
51
+ ![Screenshot of CoreViz CLI describing an image using AI.](./screenshots/describe.png)
52
+
53
+
54
+
51
55
  Edit an image with a text prompt:
52
56
 
53
57
  ```bash
54
58
  npx @coreviz/cli edit path/to/image.jpg --prompt "make it cyberpunk style"
55
59
  ```
56
60
 
61
+ ![Screenshot of CoreViz CLI editing an image using AI.](./screenshots/edit.png)
62
+
57
63
  Search local images using natural language:
58
64
 
59
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.4",
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.5",
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",
Binary file
Binary file