sandboxbox 3.0.45 → 3.0.46

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sandboxbox",
3
- "version": "3.0.45",
3
+ "version": "3.0.46",
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",
Binary file
@@ -21,34 +21,20 @@ export class ClaudeOptimizer {
21
21
  }
22
22
  }
23
23
 
24
- // Apply startup optimizations
24
+ // Apply startup optimizations - preserve bundled hooks!
25
25
  const optimizedSettings = {
26
26
  ...settings,
27
27
  // Reduce plugin timeouts
28
- pluginTimeout: 5000,
28
+ pluginTimeout: settings.pluginTimeout || 5000,
29
29
  // Disable unnecessary features for faster startup
30
- alwaysThinkingEnabled: false,
31
- // Optimize plugin loading
30
+ alwaysThinkingEnabled: settings.alwaysThinkingEnabled || false,
31
+ // Optimize plugin loading - preserve existing plugins
32
32
  enabledPlugins: {
33
33
  ...settings.enabledPlugins,
34
34
  // Only enable essential plugins for performance
35
35
  'glootie-cc@anentrypoint-plugins': true
36
- },
37
- // Add performance-focused hooks
38
- hooks: {
39
- ...(settings.hooks || {}),
40
- SessionStart: [
41
- {
42
- matcher: "*",
43
- hooks: [
44
- {
45
- type: "command",
46
- command: "echo 'Claude optimized session started'"
47
- }
48
- ]
49
- }
50
- ]
51
36
  }
37
+ // Note: DO NOT override hooks - preserve bundled settings hooks!
52
38
  };
53
39
 
54
40
  // Ensure directory exists