sandboxbox 2.5.2 → 2.5.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sandboxbox",
3
- "version": "2.5.2",
3
+ "version": "2.5.4",
4
4
  "description": "Portable container runner with Podman - Claude Code & Playwright support. Works on Windows, macOS, and Linux.",
5
5
  "type": "module",
6
6
  "main": "cli.js",
@@ -34,7 +34,7 @@ export function buildCommand(dockerfilePath) {
34
34
  cwd: dirname(dockerfilePath),
35
35
  shell: process.platform === 'win32',
36
36
  windowsHide: process.platform === 'win32',
37
- timeout: 30000 // 30 second timeout
37
+ timeout: 300000 // 5 minutes for container builds
38
38
  });
39
39
  console.log(color('green', '\n✅ Container built successfully!'));
40
40
  return true;
@@ -102,7 +102,12 @@ export function runCommand(projectDir, cmd = 'bash') {
102
102
  }).trim();
103
103
  console.log(output);
104
104
  } else {
105
- execSync(`"${podmanPath}" run --rm -it ${mounts.join(' ')} -w /workspace sandboxbox:latest ${cmd}`, containerOptions);
105
+ // For longer-running commands, use extended timeout
106
+ const longRunningOptions = {
107
+ ...containerOptions,
108
+ timeout: 600000 // 10 minutes for longer operations
109
+ };
110
+ execSync(`"${podmanPath}" run --rm -it ${mounts.join(' ')} -w /workspace sandboxbox:latest ${cmd}`, longRunningOptions);
106
111
  }
107
112
 
108
113
  cleanup();
@@ -213,7 +218,7 @@ export function shellCommand(projectDir) {
213
218
  stdio: process.platform === 'win32' ? ['pipe', 'pipe', 'pipe'] : 'inherit',
214
219
  shell: process.platform === 'win32',
215
220
  windowsHide: process.platform === 'win32',
216
- timeout: 30000 // 30 second timeout
221
+ timeout: 600000 // 10 minutes for interactive shell sessions
217
222
  });
218
223
 
219
224
  cleanup();