grepmax 0.14.7 → 0.14.8

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.
@@ -131,7 +131,10 @@ class Daemon {
131
131
  stale: 120000,
132
132
  onCompromised: () => {
133
133
  console.error("[daemon] Lock compromised — another daemon took over. Shutting down.");
134
- this.shutdown();
134
+ // Force exit after timeout — shutdown() is async and may not fully
135
+ // clear event loop references, leaving zombie daemon processes.
136
+ setTimeout(() => process.exit(1), 10000).unref();
137
+ this.shutdown().finally(() => process.exit(0));
135
138
  },
136
139
  });
137
140
  (0, logger_1.debug)("daemon", "lock acquired");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grepmax",
3
- "version": "0.14.7",
3
+ "version": "0.14.8",
4
4
  "author": "Robert Owens <78518764+reowens@users.noreply.github.com>",
5
5
  "homepage": "https://github.com/reowens/grepmax",
6
6
  "bugs": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grepmax",
3
- "version": "0.14.7",
3
+ "version": "0.14.8",
4
4
  "description": "Semantic code search for Claude Code. Automatically indexes your project and provides intelligent search capabilities.",
5
5
  "author": {
6
6
  "name": "Robert Owens",