coder-config 0.44.40 → 0.44.41

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/lib/constants.js CHANGED
@@ -2,7 +2,7 @@
2
2
  * Constants and tool path configurations
3
3
  */
4
4
 
5
- const VERSION = '0.44.40';
5
+ const VERSION = '0.44.41';
6
6
 
7
7
  // Tool-specific path configurations
8
8
  const TOOL_PATHS = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coder-config",
3
- "version": "0.44.40",
3
+ "version": "0.44.41",
4
4
  "description": "Configuration manager for AI coding tools - Claude Code, Gemini CLI, Codex CLI, Antigravity. Manage MCPs, rules, permissions, memory, and workstreams.",
5
5
  "author": "regression.io",
6
6
  "main": "config-loader.js",
@@ -592,14 +592,20 @@ function fixRalphLoopPluginStructure() {
592
592
  const skillsDir = path.join(versionDir, 'skills');
593
593
  const hooksDir = path.join(versionDir, 'hooks');
594
594
 
595
- // Fix hooks.json - replace ${CLAUDE_PLUGIN_ROOT} with actual path
595
+ // Disable plugin's hooks.json - we use our own env-var-based hooks
596
+ // The plugin's hooks use project-local state files which affect ALL terminals
597
+ // in the same project, causing input freezing in other Claude sessions
596
598
  const hooksJsonPath = path.join(hooksDir, 'hooks.json');
597
599
  if (fs.existsSync(hooksJsonPath)) {
598
600
  try {
599
- let hooksContent = fs.readFileSync(hooksJsonPath, 'utf8');
600
- if (hooksContent.includes('${CLAUDE_PLUGIN_ROOT}')) {
601
- hooksContent = hooksContent.replace(/\$\{CLAUDE_PLUGIN_ROOT\}/g, versionDir);
602
- fs.writeFileSync(hooksJsonPath, hooksContent, 'utf8');
601
+ const hooksContent = fs.readFileSync(hooksJsonPath, 'utf8');
602
+ const hooks = JSON.parse(hooksContent);
603
+ // Only disable if it has hooks defined (not already disabled)
604
+ if (hooks.hooks && Object.keys(hooks.hooks).length > 0) {
605
+ hooks._disabled_hooks = hooks.hooks; // Keep for reference
606
+ hooks.hooks = {}; // Disable all hooks
607
+ hooks._disabled_reason = 'Disabled by coder-config - using env-var-based hooks instead';
608
+ fs.writeFileSync(hooksJsonPath, JSON.stringify(hooks, null, 2), 'utf8');
603
609
  }
604
610
  } catch (e) {
605
611
  // Ignore errors fixing hooks