sandboxbox 3.0.53 ā 3.0.55
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.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
test content from manual integration
|
package/package.json
CHANGED
package/utils/commands/claude.js
CHANGED
|
@@ -342,20 +342,11 @@ ${gitWorkflowGuidelines}
|
|
|
342
342
|
|
|
343
343
|
${prompt}`;
|
|
344
344
|
|
|
345
|
-
//
|
|
346
|
-
const networkIsolatedEnv = {
|
|
347
|
-
...env,
|
|
348
|
-
// Force network isolation through environment variables
|
|
349
|
-
SANDBOX_NETWORK_ISOLATED: 'true',
|
|
350
|
-
// Add unique sandbox identifier for port isolation
|
|
351
|
-
SANDBOX_ID: Math.random().toString(36).substr(2, 9),
|
|
352
|
-
// Restrict network binding to localhost when possible
|
|
353
|
-
NODE_OPTIONS: (env.NODE_OPTIONS || '') + ' --no-force-async-hooks-checks'
|
|
354
|
-
};
|
|
345
|
+
// Environment is now properly configured with same permissions as run command
|
|
355
346
|
|
|
356
347
|
const proc = spawn('claude', claudeArgs, {
|
|
357
348
|
cwd: workspacePath, // Set working directory directly
|
|
358
|
-
env:
|
|
349
|
+
env: env, // Use the same environment as run command for Git permissions
|
|
359
350
|
stdio: ['pipe', 'pipe', 'pipe'],
|
|
360
351
|
shell: false, // Don't use shell since we're setting cwd directly
|
|
361
352
|
detached: false
|
|
@@ -508,11 +499,6 @@ ${prompt}`;
|
|
|
508
499
|
}
|
|
509
500
|
}
|
|
510
501
|
|
|
511
|
-
// Git sync reminder for session end
|
|
512
|
-
if (VERBOSE_OUTPUT) {
|
|
513
|
-
console.log(color('yellow', `\nš Git Sync Reminder: Check if any files need to be committed to the host repository`));
|
|
514
|
-
}
|
|
515
|
-
|
|
516
502
|
cleanup();
|
|
517
503
|
resolve(true);
|
|
518
504
|
});
|