muonroi-cli 1.3.3 → 1.3.4

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
@@ -22,17 +22,9 @@
22
22
 
23
23
  ## Quick Start
24
24
 
25
- ### Prerequisites
26
-
27
- - **Node.js ≥ 20** (the CLI ships an ESM bundle and runs on bare Node — Bun is optional).
28
- - Optional native toolchain for `keytar` OS-keychain storage. If missing, the CLI still works — keys fall back to environment variables.
29
- - **Windows**: [Visual Studio Build Tools](https://visualstudio.microsoft.com/downloads/) (C++ workload)
30
- - **macOS**: `xcode-select --install`
31
- - **Linux**: `sudo apt-get install libsecret-1-dev`
32
-
33
25
  ### Install
34
26
 
35
- **Recommended — prebuilt standalone binary (zero runtime deps):**
27
+ **Recommended — prebuilt standalone binary (zero runtime deps, no prereqs):**
36
28
 
37
29
  Linux / macOS:
38
30
  ```bash
@@ -44,26 +36,15 @@ Windows PowerShell:
44
36
  irm https://raw.githubusercontent.com/muonroi/muonroi-cli/master/install.ps1 | iex
45
37
  ```
46
38
 
47
- The installers download a `bun --compile` binary from GitHub Releases. No Node, no Bun, no native build tools required.
39
+ The installers download a `bun --compile` binary from GitHub Releases single executable, all native deps bundled, no Node/Bun/build tools required.
48
40
 
49
- **Bun runtime:**
41
+ **Bun runtime (requires Bun ≥ 1.x):**
50
42
  ```bash
51
43
  bun add -g muonroi-cli
52
44
  muonroi-cli
53
45
  ```
54
46
 
55
- **Node runtime (npm):**
56
- ```bash
57
- npm install -g muonroi-cli
58
- muonroi-cli
59
- ```
60
-
61
- The package now ships a Node-compatible bundle (all relative imports include `.js`, SQLite picks `better-sqlite3` on Node and `bun:sqlite` on Bun automatically). `better-sqlite3` has prebuilt binaries for most platforms so the install rarely needs a local C++ toolchain.
62
-
63
- **No global install (try it without committing):**
64
- ```bash
65
- npx muonroi-cli
66
- ```
47
+ > **⚠ Why no `npm install -g`?** The TUI engine (`@opentui/core`) uses Bun-only `import ... with { type: "file" }` for Tree-sitter syntax highlight queries (`.scm` files). Node ESM cannot load these, so running under bare Node throws `ERR_UNKNOWN_FILE_EXTENSION`. Use the standalone installer (above) or `bun add -g`.
67
48
 
68
49
  ### First run
69
50
 
@@ -1,2 +1,2 @@
1
- export declare const PACKAGE_VERSION = "1.3.3";
1
+ export declare const PACKAGE_VERSION = "1.3.4";
2
2
  export declare const PACKAGE_DESCRIPTION = "BYOK AI coding agent with multi-model council debate, role-based routing, and auto-compact.";
@@ -1,5 +1,5 @@
1
1
  // AUTO-GENERATED by scripts/sync-version.cjs. DO NOT EDIT BY HAND.
2
2
  // Sourced from package.json at build time so it survives bun --compile bundling.
3
- export const PACKAGE_VERSION = "1.3.3";
3
+ export const PACKAGE_VERSION = "1.3.4";
4
4
  export const PACKAGE_DESCRIPTION = "BYOK AI coding agent with multi-model council debate, role-based routing, and auto-compact.";
5
5
  //# sourceMappingURL=version.js.map
@@ -1,3 +1,3 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env bun
2
2
  import type { StreamChunk } from "./types/index.js";
3
3
  export declare function setActiveEeYield(fn: ((chunk: StreamChunk) => void) | null): void;
package/dist/src/index.js CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env bun
2
2
  // SECURITY: Redactor must be the FIRST import. installGlobalPatches() wraps
3
3
  // console.* before any subsequent import side-effect or log can emit an API key.
4
4
  // See: PROV-07, Pitfall 2 (HIGH severity API key leakage).
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "workspaces": [
4
4
  "packages/*"
5
5
  ],
6
- "version": "1.3.3",
6
+ "version": "1.3.4",
7
7
  "description": "BYOK AI coding agent with multi-model council debate, role-based routing, and auto-compact.",
8
8
  "repository": {
9
9
  "type": "git",
@@ -1,4 +1,4 @@
1
1
  // AUTO-GENERATED by scripts/sync-version.cjs. DO NOT EDIT BY HAND.
2
2
  // Sourced from package.json at build time so it survives bun --compile bundling.
3
- export const PACKAGE_VERSION = "1.3.3";
3
+ export const PACKAGE_VERSION = "1.3.4";
4
4
  export const PACKAGE_DESCRIPTION = "BYOK AI coding agent with multi-model council debate, role-based routing, and auto-compact.";
package/src/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env bun
2
2
  // SECURITY: Redactor must be the FIRST import. installGlobalPatches() wraps
3
3
  // console.* before any subsequent import side-effect or log can emit an API key.
4
4
  // See: PROV-07, Pitfall 2 (HIGH severity API key leakage).