From 41835954bee8bdb5fafbb102e8f4943c29eb33de Mon Sep 17 00:00:00 2001 From: Alex Newman Date: Sun, 30 Nov 2025 22:52:13 -0500 Subject: [PATCH] fix: Remove orphaned closing brace in smart-install.js causing syntax error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes a SyntaxError where an extra closing brace on line 392 was causing "Missing catch or finally after try" error. The PM2 worker startup try/catch block was properly formed but had an orphaned closing brace that didn't match any opening brace. This was breaking the SessionStart hook and preventing the plugin from loading correctly. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .claude-plugin/marketplace.json | 2 +- CLAUDE.md | 2 +- package.json | 2 +- plugin/.claude-plugin/plugin.json | 2 +- scripts/smart-install.js | 1 - 5 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 99ffb74a..7ee38f2a 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -10,7 +10,7 @@ "plugins": [ { "name": "claude-mem", - "version": "6.3.6", + "version": "6.3.7", "source": "./plugin", "description": "Persistent memory system for Claude Code - context compression across sessions" } diff --git a/CLAUDE.md b/CLAUDE.md index 09624a96..137e5a5d 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -6,7 +6,7 @@ Claude-mem is a Claude Code plugin providing persistent memory across sessions. It captures tool usage, compresses observations using the Claude Agent SDK, and injects relevant context into future sessions. -**Current Version**: 6.3.6 +**Current Version**: 6.3.7 ## Architecture diff --git a/package.json b/package.json index 445839d9..482adf3f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "claude-mem", - "version": "6.3.6", + "version": "6.3.7", "description": "Memory compression system for Claude Code - persist context across sessions", "keywords": [ "claude", diff --git a/plugin/.claude-plugin/plugin.json b/plugin/.claude-plugin/plugin.json index 65c97668..76d0fb92 100644 --- a/plugin/.claude-plugin/plugin.json +++ b/plugin/.claude-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "claude-mem", - "version": "6.3.6", + "version": "6.3.7", "description": "Persistent memory system for Claude Code - seamlessly preserve context across sessions", "author": { "name": "Alex Newman" diff --git a/scripts/smart-install.js b/scripts/smart-install.js index be36c4ca..26988faf 100644 --- a/scripts/smart-install.js +++ b/scripts/smart-install.js @@ -389,7 +389,6 @@ async function main() { // The ensureWorkerRunning() function will handle auto-start when needed log('ℹ️ Worker will start automatically when needed', colors.dim); } - } // Success - dependencies installed (if needed) process.exit(0);