voyageai-cli 1.28.0 → 1.29.0

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.28.0",
3
+ "version": "1.29.0",
4
4
  "description": "CLI for Voyage AI embeddings, reranking, and MongoDB Atlas Vector Search",
5
5
  "bin": {
6
6
  "vai": "./src/cli.js"
@@ -42,6 +42,7 @@
42
42
  "dependencies": {
43
43
  "@clack/prompts": "^1.0.0",
44
44
  "@modelcontextprotocol/sdk": "^1.26.0",
45
+ "@vaicli/vai-workflow-model-shootout": "^1.0.0",
45
46
  "commander": "^12.0.0",
46
47
  "dotenv": "^17.2.3",
47
48
  "mongodb": "^6.0.0",
@@ -138,6 +138,21 @@ function registerApp(program) {
138
138
  const electronPkg = path.join(electronDir, 'package.json');
139
139
 
140
140
  if (!fs.existsSync(electronPkg)) {
141
+ // Check for system-installed Vai.app on macOS
142
+ if (process.platform === 'darwin') {
143
+ const appPaths = [
144
+ '/Applications/Vai.app',
145
+ path.join(process.env.HOME || '', 'Applications', 'Vai.app'),
146
+ ];
147
+ const installed = appPaths.find((p) => fs.existsSync(p));
148
+ if (installed) {
149
+ console.log('🧭 Launching Vai desktop app...');
150
+ spawn('open', ['-a', installed], { stdio: 'ignore', detached: true }).unref();
151
+ setTimeout(() => process.exit(0), 500);
152
+ return;
153
+ }
154
+ }
155
+
141
156
  console.log('');
142
157
  console.log('🖥️ The Vai desktop app is not installed locally.');
143
158
  console.log('');