@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 +1 -1
- package/src/commands/hatch.ts +1 -10
- package/src/commands/retire.ts +2 -3
package/package.json
CHANGED
package/src/commands/hatch.ts
CHANGED
|
@@ -520,16 +520,7 @@ async function hatchLocal(species: Species, name: string | null, daemonOnly: boo
|
|
|
520
520
|
|
|
521
521
|
await startLocalDaemon();
|
|
522
522
|
|
|
523
|
-
|
|
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 = {
|
package/src/commands/retire.ts
CHANGED
|
@@ -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
|
|