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.
- package/.claude/settings.local.json +2 -1
- package/.claude-sandbox/settings.json +14 -0
- package/package.json +1 -1
- package/utils/sandbox.js +17 -1
|
@@ -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
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
|
-
|
|
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
|
}
|