sandboxbox 3.0.5 → 3.0.7

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": "3.0.5",
3
+ "version": "3.0.7",
4
4
  "description": "Lightweight process containment sandbox for CLI tools - Playwright, Claude Code, and more. Pure Node.js, no dependencies.",
5
5
  "type": "module",
6
6
  "main": "cli.js",
@@ -68,7 +68,7 @@ export async function claudeCommand(projectDir, prompt) {
68
68
  const proc = spawn('sh', ['-c', `cd "${join(sandboxDir, 'workspace')}" && claude ${claudeArgs.join(' ')}`], {
69
69
  env: env, // Use the environment directly without modification
70
70
  stdio: ['pipe', 'pipe', 'pipe'],
71
- shell: false, // Don't use nested shell
71
+ shell: true, // Use shell for proper directory handling
72
72
  detached: false
73
73
  });
74
74
 
package/utils/sandbox.js CHANGED
@@ -110,6 +110,16 @@ export function createSandbox(projectDir) {
110
110
  if (existsSync(pluginsDir)) {
111
111
  const sandboxPluginsDir = join(sandboxClaudeDir, 'plugins');
112
112
  cpSync(pluginsDir, sandboxPluginsDir, { recursive: true });
113
+
114
+ // Verify the marketplace plugin was copied
115
+ const marketplacePlugin = join(sandboxPluginsDir, 'marketplaces', 'anentrypoint-plugins');
116
+ if (existsSync(marketplacePlugin)) {
117
+ console.error('DEBUG: Marketplace plugin copied successfully');
118
+ } else {
119
+ console.error('DEBUG: Marketplace plugin copy failed');
120
+ }
121
+ } else {
122
+ console.error('DEBUG: No plugins directory found at:', pluginsDir);
113
123
  }
114
124
  }
115
125