camouflage-tui 2.4.0-beta.5 → 2.4.0-beta.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "camouflage-tui",
3
- "version": "2.4.0-beta.5",
3
+ "version": "2.4.0-beta.6",
4
4
  "description": "High-performance terminal renderer for AI agent applications. A React Ink alternative built for streaming, persistence, and replay.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -9,7 +9,7 @@
9
9
  */
10
10
 
11
11
  import { createWriteStream, mkdirSync, chmodSync, existsSync, unlinkSync } from "node:fs";
12
- import { execSync } from "node:child_process";
12
+ import { execFileSync } from "node:child_process";
13
13
  import { join, dirname } from "node:path";
14
14
  import { fileURLToPath } from "node:url";
15
15
  import { get as httpsGet } from "node:https";
@@ -64,7 +64,7 @@ async function main() {
64
64
  await download(url, tmpPath);
65
65
 
66
66
  // Extract the binary from the tarball (Windows 10+ ships tar.exe).
67
- execSync(`tar xzf "${tmpPath}" -C "${BIN_DIR}"`, { stdio: "pipe" });
67
+ execFileSync("tar", ["xzf", tmpPath, "-C", BIN_DIR], { stdio: "pipe" });
68
68
  unlinkSync(tmpPath);
69
69
 
70
70
  chmodSync(BIN_PATH, 0o755);