voyageai-cli 1.20.1 → 1.20.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "voyageai-cli",
3
- "version": "1.20.1",
3
+ "version": "1.20.2",
4
4
  "description": "CLI for Voyage AI embeddings, reranking, and MongoDB Atlas Vector Search",
5
5
  "bin": {
6
6
  "vai": "./src/cli.js"
@@ -99,8 +99,21 @@ function registerApp(program) {
99
99
  const electronPkg = path.join(electronDir, 'package.json');
100
100
 
101
101
  if (!fs.existsSync(electronPkg)) {
102
- console.error('❌ Electron app not found. Expected at:', electronDir);
103
- process.exit(1);
102
+ console.log('');
103
+ console.log('🖥️ The Vai desktop app is not installed locally.');
104
+ console.log('');
105
+ console.log(' Download the latest release for your platform:');
106
+ console.log('');
107
+ console.log(' vai app --download');
108
+ console.log('');
109
+ console.log(' Or grab it directly from GitHub:');
110
+ console.log(' https://github.com/mrlynn/voyageai-cli/releases/latest');
111
+ console.log('');
112
+ console.log(' Don\'t need the desktop app? Use the web playground instead:');
113
+ console.log('');
114
+ console.log(' vai playground');
115
+ console.log('');
116
+ return;
104
117
  }
105
118
 
106
119
  // Check if electron is installed