sandboxbox 3.0.21 → 3.0.22

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/utils/sandbox.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sandboxbox",
3
- "version": "3.0.21",
3
+ "version": "3.0.22",
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
@@ -180,7 +180,7 @@ export function createSandbox(projectDir) {
180
180
  const hostFile = join(hostClaudeDir, file);
181
181
  const sandboxFile = join(sandboxClaudeDir, file);
182
182
 
183
- if (existsSync(hostFile)) {
183
+ if (existsSync(hostFile) && hostFile !== sandboxFile) {
184
184
  cpSync(hostFile, sandboxFile);
185
185
  if (VERBOSE_OUTPUT && file === 'settings.json') {
186
186
  // Show hook information for copied settings