@alook/cli 0.0.69 → 0.0.70

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,8 @@ 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"
17473
17474
  });
17474
17475
  if (!proc.pid) {
17475
17476
  const error51 = `Failed to start ${this.cliPath}: binary not found or not executable. Is 'claude' installed and on PATH?`;
@@ -17736,7 +17737,8 @@ class CodexBackend {
17736
17737
  const proc = spawn2(this.cliPath, ["app-server", "--listen", "stdio://", "--config", "sandbox_mode=danger-full-access"], {
17737
17738
  cwd: options.cwd,
17738
17739
  stdio: ["pipe", "pipe", "pipe"],
17739
- env: { ...process.env, ...options.env }
17740
+ env: { ...process.env, ...options.env },
17741
+ shell: process.platform === "win32"
17740
17742
  });
17741
17743
  if (!proc.pid) {
17742
17744
  const error51 = `Failed to start ${this.cliPath}: binary not found or not executable. Is 'codex' installed and on PATH?`;
@@ -18224,7 +18226,8 @@ class OpenCodeBackend {
18224
18226
  const proc = spawn3(this.cliPath, args, {
18225
18227
  cwd: options.cwd,
18226
18228
  stdio: ["ignore", "pipe", "pipe"],
18227
- env: { ...process.env, ...options.env, OPENCODE_PERMISSION: '{"*":"allow"}' }
18229
+ env: { ...process.env, ...options.env, OPENCODE_PERMISSION: '{"*":"allow"}' },
18230
+ shell: process.platform === "win32"
18228
18231
  });
18229
18232
  if (!proc.pid) {
18230
18233
  const error51 = `Failed to start ${this.cliPath}: binary not found or not executable. Is 'opencode' installed and on PATH?`;
@@ -16853,7 +16853,8 @@ 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"
16857
16858
  });
16858
16859
  if (!proc.pid) {
16859
16860
  const error51 = `Failed to start ${this.cliPath}: binary not found or not executable. Is 'claude' installed and on PATH?`;
@@ -17120,7 +17121,8 @@ class CodexBackend {
17120
17121
  const proc = spawn2(this.cliPath, ["app-server", "--listen", "stdio://", "--config", "sandbox_mode=danger-full-access"], {
17121
17122
  cwd: options.cwd,
17122
17123
  stdio: ["pipe", "pipe", "pipe"],
17123
- env: { ...process.env, ...options.env }
17124
+ env: { ...process.env, ...options.env },
17125
+ shell: process.platform === "win32"
17124
17126
  });
17125
17127
  if (!proc.pid) {
17126
17128
  const error51 = `Failed to start ${this.cliPath}: binary not found or not executable. Is 'codex' installed and on PATH?`;
@@ -17608,7 +17610,8 @@ class OpenCodeBackend {
17608
17610
  const proc = spawn3(this.cliPath, args, {
17609
17611
  cwd: options.cwd,
17610
17612
  stdio: ["ignore", "pipe", "pipe"],
17611
- env: { ...process.env, ...options.env, OPENCODE_PERMISSION: '{"*":"allow"}' }
17613
+ env: { ...process.env, ...options.env, OPENCODE_PERMISSION: '{"*":"allow"}' },
17614
+ shell: process.platform === "win32"
17612
17615
  });
17613
17616
  if (!proc.pid) {
17614
17617
  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.70",
4
4
  "description": "Alook CLI — Enable Your Person Colleague",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/alookai/alook#readme",