sandboxbox 2.4.5 → 2.4.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": "sandboxbox",
3
- "version": "2.4.5",
3
+ "version": "2.4.6",
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",
@@ -69,7 +69,7 @@ export function claudeCommand(projectDir, command = 'claude') {
69
69
  return true;
70
70
  } catch (error) {
71
71
  retries++;
72
- if (retries < maxRetries && (error.message.includes('Cannot connect to Podman') || error.message.includes('connectex') || error.message.includes('No connection could be made') || error.message.includes('actively refused'))) {
72
+ if (retries < maxRetries && (error.message.includes('Cannot connect to Podman') || error.message.includes('connectex') || error.message.includes('No connection could be made') || error.message.includes('actively refused') || error.message.includes('Command failed'))) {
73
73
  console.log(color('yellow', ` Backend not ready yet (${retries}/${maxRetries}), waiting 15 seconds...`));
74
74
  const start = Date.now();
75
75
  while (Date.now() - start < 15000) {
@@ -40,7 +40,7 @@ export function buildCommand(dockerfilePath) {
40
40
  return true;
41
41
  } catch (error) {
42
42
  retries++;
43
- if (retries < maxRetries && (error.message.includes('Cannot connect to Podman') || error.message.includes('connectex') || error.message.includes('No connection could be made') || error.message.includes('actively refused'))) {
43
+ if (retries < maxRetries && (error.message.includes('Cannot connect to Podman') || error.message.includes('connectex') || error.message.includes('No connection could be made') || error.message.includes('actively refused') || error.message.includes('Command failed'))) {
44
44
  console.log(color('yellow', ` Backend not ready yet (${retries}/${maxRetries}), waiting 15 seconds...`));
45
45
  const start = Date.now();
46
46
  while (Date.now() - start < 15000) {
@@ -102,7 +102,7 @@ export function runCommand(projectDir, cmd = 'bash') {
102
102
  console.log(color('cyan', ` Debug: Error message: "${error.message}"`));
103
103
  console.log(color('cyan', ` Debug: Checking retry patterns...`));
104
104
 
105
- if (retries < maxRetries && (error.message.includes('Cannot connect to Podman') || error.message.includes('connectex') || error.message.includes('No connection could be made') || error.message.includes('actively refused'))) {
105
+ if (retries < maxRetries && (error.message.includes('Cannot connect to Podman') || error.message.includes('connectex') || error.message.includes('No connection could be made') || error.message.includes('actively refused') || error.message.includes('Command failed'))) {
106
106
  console.log(color('yellow', ` Backend not ready yet (${retries}/${maxRetries}), waiting 15 seconds...`));
107
107
  const start = Date.now();
108
108
  while (Date.now() - start < 15000) {
@@ -158,7 +158,7 @@ export function shellCommand(projectDir) {
158
158
  return true;
159
159
  } catch (error) {
160
160
  retries++;
161
- if (retries < maxRetries && (error.message.includes('Cannot connect to Podman') || error.message.includes('connectex') || error.message.includes('No connection could be made') || error.message.includes('actively refused'))) {
161
+ if (retries < maxRetries && (error.message.includes('Cannot connect to Podman') || error.message.includes('connectex') || error.message.includes('No connection could be made') || error.message.includes('actively refused') || error.message.includes('Command failed'))) {
162
162
  console.log(color('yellow', ` Backend not ready yet (${retries}/${maxRetries}), waiting 15 seconds...`));
163
163
  const start = Date.now();
164
164
  while (Date.now() - start < 15000) {