sandboxbox 3.0.66 → 3.0.68

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.
@@ -10,7 +10,8 @@
10
10
  "Bash(git commit:*)",
11
11
  "Bash(npm version:*)",
12
12
  "Bash(npm publish)",
13
- "Bash(./run-parallel-test.sh)"
13
+ "Bash(./run-parallel-test.sh)",
14
+ "Bash(./test-mcp.sh:*)"
14
15
  ],
15
16
  "deny": [],
16
17
  "ask": []
@@ -7,5 +7,19 @@
7
7
  "enabledPlugins": {
8
8
  "glootie-cc@anentrypoint-glootie-cc": true
9
9
  },
10
+ "mcpServers": {
11
+ "glootie": {
12
+ "command": "node",
13
+ "args": ["${HOME}/.claude/plugins/marketplaces/anentrypoint-glootie-cc/node_modules/mcp-glootie/src/index.js"]
14
+ },
15
+ "playwright": {
16
+ "command": "node",
17
+ "args": ["${HOME}/.claude/plugins/marketplaces/anentrypoint-glootie-cc/node_modules/@playwright/mcp/cli.js"]
18
+ },
19
+ "vexify": {
20
+ "command": "node",
21
+ "args": ["${HOME}/.claude/plugins/marketplaces/anentrypoint-glootie-cc/node_modules/vexify/lib/bin/cli.js", "mcp"]
22
+ }
23
+ },
10
24
  "alwaysThinkingEnabled": true
11
25
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sandboxbox",
3
- "version": "3.0.66",
3
+ "version": "3.0.68",
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",
package/utils/sandbox.js CHANGED
@@ -231,7 +231,23 @@ node_modules/
231
231
  // Copy settings.json
232
232
  const claudeSandboxSettingsPath = join(claudeSandboxDir, 'settings.json');
233
233
  if (existsSync(claudeSandboxSettingsPath)) {
234
- cpSync(claudeSandboxSettingsPath, join(sandboxClaudeDir, 'settings.json'));
234
+ const sandboxSettingsPath = join(sandboxClaudeDir, 'settings.json');
235
+ cpSync(claudeSandboxSettingsPath, sandboxSettingsPath);
236
+
237
+ // Update MCP server paths to use actual sandbox directory
238
+ const settings = JSON.parse(readFileSync(sandboxSettingsPath, 'utf8'));
239
+ if (settings.mcpServers) {
240
+ Object.keys(settings.mcpServers).forEach(serverName => {
241
+ const server = settings.mcpServers[serverName];
242
+ if (server.args) {
243
+ server.args = server.args.map(arg =>
244
+ arg.replace('${HOME}', sandboxDir)
245
+ );
246
+ }
247
+ });
248
+ writeFileSync(sandboxSettingsPath, JSON.stringify(settings, null, 2));
249
+ }
250
+
235
251
  if (VERBOSE_OUTPUT) {
236
252
  console.log('✅ Copied .claude-sandbox settings to sandbox');
237
253
  }