llamacaddy 0.9.0 → 0.9.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/README.md CHANGED
@@ -1,17 +1,19 @@
1
- # LlamaCaddy (npm package)
2
-
3
- Installez la dernière version :
4
-
5
- ```bash
6
- npm install -g llamacaddy
7
- ```
8
-
9
- Puis lancez :
10
-
11
- ```bash
12
- llamacaddy
13
- ```
14
-
15
- Mise à jour : `npm install -g llamacaddy@latest` (ou bouton « Update available » dans l'application).
16
-
17
- Ce package contient le binaire natif Windows (`bin/LlamaCaddy.exe`). Variable d'environnement `LLAMACADDY_BIN` pour pointer un autre binaire.
1
+ # LlamaCaddy (npm package)
2
+
3
+ Installez la dernière version :
4
+
5
+ ```bash
6
+ npm install -g llamacaddy
7
+ ```
8
+
9
+ Puis lancez :
10
+
11
+ ```bash
12
+ llamacaddy
13
+ ```
14
+
15
+ Ou sans installation : `npx llamacaddy`.
16
+
17
+ Mise à jour : `npm install -g llamacaddy@latest`, ou bouton « Update available » dans l'application (il ouvre un terminal qui lance cette commande). Notes de version : [CHANGELOG](https://github.com/10skro/LlamaCaddy/blob/main/CHANGELOG.md).
18
+
19
+ Ce package contient le binaire natif Windows (`bin/LlamaCaddy.exe`). Variable d'environnement `LLAMACADDY_BIN` pour pointer un autre binaire.
Binary file
package/bin/cli.js CHANGED
@@ -1,23 +1,23 @@
1
- #!/usr/bin/env node
2
- // LlamaCaddy launcher: resolves the bundled native binary and starts it detached.
3
- import { spawn } from "node:child_process";
4
- import { existsSync } from "node:fs";
5
- import path from "node:path";
6
- import { fileURLToPath } from "node:url";
7
-
8
- const here = path.dirname(fileURLToPath(import.meta.url));
9
-
10
- const candidates = [
11
- process.env.LLAMACADDY_BIN,
12
- path.join(here, "..", "bin", "LlamaCaddy.exe"),
13
- ].filter(Boolean);
14
-
15
- const bin = candidates.find((p) => existsSync(p));
16
- if (!bin) {
17
- console.error("LlamaCaddy binary not found. Reinstall the package or set LLAMACADDY_BIN.");
18
- process.exit(1);
19
- }
20
-
21
- const child = spawn(bin, process.argv.slice(2), { detached: true, stdio: "ignore" });
22
- child.unref();
23
- console.log(`LlamaCaddy started (pid ${child.pid})`);
1
+ #!/usr/bin/env node
2
+ // LlamaCaddy launcher: resolves the bundled native binary and starts it detached.
3
+ import { spawn } from "node:child_process";
4
+ import { existsSync } from "node:fs";
5
+ import path from "node:path";
6
+ import { fileURLToPath } from "node:url";
7
+
8
+ const here = path.dirname(fileURLToPath(import.meta.url));
9
+
10
+ const candidates = [
11
+ process.env.LLAMACADDY_BIN,
12
+ path.join(here, "..", "bin", "LlamaCaddy.exe"),
13
+ ].filter(Boolean);
14
+
15
+ const bin = candidates.find((p) => existsSync(p));
16
+ if (!bin) {
17
+ console.error("LlamaCaddy binary not found. Reinstall the package or set LLAMACADDY_BIN.");
18
+ process.exit(1);
19
+ }
20
+
21
+ const child = spawn(bin, process.argv.slice(2), { detached: true, stdio: "ignore" });
22
+ child.unref();
23
+ console.log(`LlamaCaddy started (pid ${child.pid})`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "llamacaddy",
3
- "version": "0.9.0",
3
+ "version": "0.9.2",
4
4
  "description": "LlamaCaddy - browse, download, configure and run llama.cpp server builds on Windows. Launch with: llamacaddy",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -22,4 +22,4 @@
22
22
  "cpu": [
23
23
  "x64"
24
24
  ]
25
- }
25
+ }