@siftd/connect-agent 0.2.36 → 0.2.37

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.
@@ -4,7 +4,10 @@
4
4
  */
5
5
  import { exec } from 'child_process';
6
6
  import { promisify } from 'util';
7
+ import { existsSync } from 'fs';
7
8
  const execAsync = promisify(exec);
9
+ // Detect available shell - prefer bash for cross-platform compatibility
10
+ const SHELL = existsSync('/bin/bash') ? '/bin/bash' : '/bin/sh';
8
11
  const MAX_OUTPUT_LENGTH = 10000;
9
12
  const DEFAULT_TIMEOUT = 30000;
10
13
  const MAX_TIMEOUT = 120000;
@@ -28,7 +31,7 @@ export class BashTool {
28
31
  cwd: this.workspaceDir,
29
32
  timeout: effectiveTimeout,
30
33
  maxBuffer: 1024 * 1024 * 10, // 10MB
31
- shell: '/bin/zsh',
34
+ shell: SHELL,
32
35
  env: { ...process.env }
33
36
  });
34
37
  let output = '';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@siftd/connect-agent",
3
- "version": "0.2.36",
3
+ "version": "0.2.37",
4
4
  "description": "Master orchestrator agent - control Claude Code remotely via web",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",