@vellumai/cli 0.1.14 → 0.3.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": "@vellumai/cli",
3
- "version": "0.1.14",
3
+ "version": "0.3.0",
4
4
  "description": "CLI tools for vellum-assistant",
5
5
  "type": "module",
6
6
  "exports": {
@@ -520,16 +520,7 @@ async function hatchLocal(species: Species, name: string | null, daemonOnly: boo
520
520
 
521
521
  await startLocalDaemon();
522
522
 
523
- // The desktop app communicates with the daemon directly via Unix socket,
524
- // so the HTTP gateway is only needed for non-desktop (CLI) usage.
525
- let runtimeUrl: string;
526
-
527
- if (process.env.VELLUM_DESKTOP_APP) {
528
- // No gateway needed — the macOS app uses DaemonClient over the Unix socket.
529
- runtimeUrl = "local";
530
- } else {
531
- runtimeUrl = await startGateway();
532
- }
523
+ const runtimeUrl = await startGateway();
533
524
 
534
525
  const baseDataDir = join(process.env.BASE_DATA_DIR?.trim() || (process.env.HOME ?? userInfo().homedir), ".vellum");
535
526
  const localEntry: AssistantEntry = {
@@ -59,11 +59,10 @@ async function retireLocal(): Promise<void> {
59
59
  child.on("error", () => resolve());
60
60
  });
61
61
  } catch {}
62
-
63
- // Only delete ~/.vellum in non-desktop mode
64
- rmSync(vellumDir, { recursive: true, force: true });
65
62
  }
66
63
 
64
+ rmSync(vellumDir, { recursive: true, force: true });
65
+
67
66
  console.log("\u2705 Local instance retired.");
68
67
  }
69
68