sandboxbox 3.0.70 → 3.0.71
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.
|
@@ -7,19 +7,5 @@
|
|
|
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
|
-
},
|
|
24
10
|
"alwaysThinkingEnabled": true
|
|
25
11
|
}
|
package/package.json
CHANGED
package/utils/commands/claude.js
CHANGED
|
@@ -271,8 +271,7 @@ export async function claudeCommand(projectDir, prompt, flags = {}) {
|
|
|
271
271
|
const claudeArgs = [
|
|
272
272
|
'--verbose',
|
|
273
273
|
'--output-format', 'stream-json',
|
|
274
|
-
'--dangerously-skip-permissions'
|
|
275
|
-
'--mcp-config', join(sandboxDir, '.claude', 'mcp.json')
|
|
274
|
+
'--dangerously-skip-permissions'
|
|
276
275
|
];
|
|
277
276
|
|
|
278
277
|
return new Promise((resolve, reject) => {
|
package/utils/sandbox.js
CHANGED
|
@@ -234,25 +234,6 @@ node_modules/
|
|
|
234
234
|
const sandboxSettingsPath = join(sandboxClaudeDir, 'settings.json');
|
|
235
235
|
cpSync(claudeSandboxSettingsPath, sandboxSettingsPath);
|
|
236
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
|
-
// Create separate mcp.json file for --mcp-config flag
|
|
251
|
-
const mcpConfigPath = join(sandboxClaudeDir, 'mcp.json');
|
|
252
|
-
const mcpConfig = { mcpServers: settings.mcpServers };
|
|
253
|
-
writeFileSync(mcpConfigPath, JSON.stringify(mcpConfig, null, 2));
|
|
254
|
-
}
|
|
255
|
-
|
|
256
237
|
if (VERBOSE_OUTPUT) {
|
|
257
238
|
console.log('✅ Copied .claude-sandbox settings to sandbox');
|
|
258
239
|
}
|