sandboxbox 3.0.69 → 3.0.70
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 +1 -1
- package/utils/commands/claude.js +1 -1
- package/utils/sandbox.js +5 -0
package/package.json
CHANGED
package/utils/commands/claude.js
CHANGED
|
@@ -272,7 +272,7 @@ export async function claudeCommand(projectDir, prompt, flags = {}) {
|
|
|
272
272
|
'--verbose',
|
|
273
273
|
'--output-format', 'stream-json',
|
|
274
274
|
'--dangerously-skip-permissions',
|
|
275
|
-
'--mcp-config', join(sandboxDir, '.claude', '
|
|
275
|
+
'--mcp-config', join(sandboxDir, '.claude', 'mcp.json')
|
|
276
276
|
];
|
|
277
277
|
|
|
278
278
|
return new Promise((resolve, reject) => {
|
package/utils/sandbox.js
CHANGED
|
@@ -246,6 +246,11 @@ node_modules/
|
|
|
246
246
|
}
|
|
247
247
|
});
|
|
248
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));
|
|
249
254
|
}
|
|
250
255
|
|
|
251
256
|
if (VERBOSE_OUTPUT) {
|