fuzzi-cli 0.1.4 → 0.1.6

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
@@ -28,6 +28,17 @@ fuzzi
28
28
 
29
29
  No browser? Use **`/auth-key`** to paste an API key from [Settings → API Keys](https://fuzzi-ten.vercel.app/settings/api-keys).
30
30
 
31
+ ### Windows
32
+
33
+ Works in **Windows Terminal**, **PowerShell**, and **cmd**. Requires **Node.js 18+**.
34
+
35
+ ```powershell
36
+ npm install -g fuzzi-cli
37
+ fuzzi
38
+ ```
39
+
40
+ If `fuzzi` is not found, restart the terminal or add `%AppData%\npm` to your PATH.
41
+
31
42
  ---
32
43
 
33
44
  ## Two ways to use it
@@ -1,4 +1,24 @@
1
1
  [
2
+ {
3
+ "version": "0.1.6",
4
+ "date": "2026-06-19",
5
+ "highlights": [
6
+ "Windows compatibility: fixed entry point and browser launch",
7
+ "ANSI colors enabled on Windows Terminal and PowerShell",
8
+ "Cross-platform paths for assets and credentials",
9
+ "Works on macOS, Linux, and Windows"
10
+ ]
11
+ },
12
+ {
13
+ "version": "0.1.5",
14
+ "date": "2026-06-19",
15
+ "highlights": [
16
+ "Fixed API error parsing (msg.toLowerCase crash)",
17
+ "Loading spinners on all commands",
18
+ "Login state persists from saved credentials",
19
+ "Fixed readline prompt after interactive menus"
20
+ ]
21
+ },
2
22
  {
3
23
  "version": "0.1.4",
4
24
  "date": "2026-06-19",
package/bin/fuzzi.js CHANGED
@@ -1,6 +1,13 @@
1
1
  #!/usr/bin/env node
2
- import { fileURLToPath } from "node:url";
2
+ import { fileURLToPath, pathToFileURL } from "node:url";
3
3
  import { dirname, join } from "node:path";
4
4
 
5
5
  const here = dirname(fileURLToPath(import.meta.url));
6
- await import(join(here, "..", "dist", "index.js"));
6
+ const entry = pathToFileURL(join(here, "..", "dist", "index.js")).href;
7
+
8
+ try {
9
+ await import(entry);
10
+ } catch (err) {
11
+ console.error(err instanceof Error ? err.message : err);
12
+ process.exit(1);
13
+ }