@alook/cli 0.0.69 → 0.0.71

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/dist/index.js CHANGED
@@ -17469,7 +17469,9 @@ class ClaudeBackend {
17469
17469
  const proc = spawn(this.cliPath, args, {
17470
17470
  cwd: options.cwd,
17471
17471
  stdio: ["pipe", "pipe", "pipe"],
17472
- env: { ...process.env, ...options.env }
17472
+ env: { ...process.env, ...options.env },
17473
+ shell: process.platform === "win32",
17474
+ windowsHide: true
17473
17475
  });
17474
17476
  if (!proc.pid) {
17475
17477
  const error51 = `Failed to start ${this.cliPath}: binary not found or not executable. Is 'claude' installed and on PATH?`;
@@ -17736,7 +17738,9 @@ class CodexBackend {
17736
17738
  const proc = spawn2(this.cliPath, ["app-server", "--listen", "stdio://", "--config", "sandbox_mode=danger-full-access"], {
17737
17739
  cwd: options.cwd,
17738
17740
  stdio: ["pipe", "pipe", "pipe"],
17739
- env: { ...process.env, ...options.env }
17741
+ env: { ...process.env, ...options.env },
17742
+ shell: process.platform === "win32",
17743
+ windowsHide: true
17740
17744
  });
17741
17745
  if (!proc.pid) {
17742
17746
  const error51 = `Failed to start ${this.cliPath}: binary not found or not executable. Is 'codex' installed and on PATH?`;
@@ -18224,7 +18228,9 @@ class OpenCodeBackend {
18224
18228
  const proc = spawn3(this.cliPath, args, {
18225
18229
  cwd: options.cwd,
18226
18230
  stdio: ["ignore", "pipe", "pipe"],
18227
- env: { ...process.env, ...options.env, OPENCODE_PERMISSION: '{"*":"allow"}' }
18231
+ env: { ...process.env, ...options.env, OPENCODE_PERMISSION: '{"*":"allow"}' },
18232
+ shell: process.platform === "win32",
18233
+ windowsHide: true
18228
18234
  });
18229
18235
  if (!proc.pid) {
18230
18236
  const error51 = `Failed to start ${this.cliPath}: binary not found or not executable. Is 'opencode' installed and on PATH?`;
@@ -16853,7 +16853,9 @@ class ClaudeBackend {
16853
16853
  const proc = spawn(this.cliPath, args, {
16854
16854
  cwd: options.cwd,
16855
16855
  stdio: ["pipe", "pipe", "pipe"],
16856
- env: { ...process.env, ...options.env }
16856
+ env: { ...process.env, ...options.env },
16857
+ shell: process.platform === "win32",
16858
+ windowsHide: true
16857
16859
  });
16858
16860
  if (!proc.pid) {
16859
16861
  const error51 = `Failed to start ${this.cliPath}: binary not found or not executable. Is 'claude' installed and on PATH?`;
@@ -17120,7 +17122,9 @@ class CodexBackend {
17120
17122
  const proc = spawn2(this.cliPath, ["app-server", "--listen", "stdio://", "--config", "sandbox_mode=danger-full-access"], {
17121
17123
  cwd: options.cwd,
17122
17124
  stdio: ["pipe", "pipe", "pipe"],
17123
- env: { ...process.env, ...options.env }
17125
+ env: { ...process.env, ...options.env },
17126
+ shell: process.platform === "win32",
17127
+ windowsHide: true
17124
17128
  });
17125
17129
  if (!proc.pid) {
17126
17130
  const error51 = `Failed to start ${this.cliPath}: binary not found or not executable. Is 'codex' installed and on PATH?`;
@@ -17608,7 +17612,9 @@ class OpenCodeBackend {
17608
17612
  const proc = spawn3(this.cliPath, args, {
17609
17613
  cwd: options.cwd,
17610
17614
  stdio: ["ignore", "pipe", "pipe"],
17611
- env: { ...process.env, ...options.env, OPENCODE_PERMISSION: '{"*":"allow"}' }
17615
+ env: { ...process.env, ...options.env, OPENCODE_PERMISSION: '{"*":"allow"}' },
17616
+ shell: process.platform === "win32",
17617
+ windowsHide: true
17612
17618
  });
17613
17619
  if (!proc.pid) {
17614
17620
  const error51 = `Failed to start ${this.cliPath}: binary not found or not executable. Is 'opencode' installed and on PATH?`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alook/cli",
3
- "version": "0.0.69",
3
+ "version": "0.0.71",
4
4
  "description": "Alook CLI — Enable Your Person Colleague",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/alookai/alook#readme",