wolverine-ai 3.7.0 → 3.7.1

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": "wolverine-ai",
3
- "version": "3.7.0",
3
+ "version": "3.7.1",
4
4
  "description": "Self-healing Node.js server framework powered by AI. Catches crashes, diagnoses errors, generates fixes, verifies, and restarts — automatically.",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -260,6 +260,9 @@ class WolverineRunner {
260
260
 
261
261
  restart() {
262
262
  console.log(chalk.blue("\n 🔄 Restarting server..."));
263
+ // Reset config cache so restart picks up any settings.json changes
264
+ const { resetConfig } = require("./config");
265
+ resetConfig();
263
266
  this.healthMonitor.stop();
264
267
  this._clearStabilityTimer();
265
268
 
@@ -126,7 +126,7 @@ class ErrorMonitor {
126
126
  */
127
127
  reset() {
128
128
  this.routes.clear();
129
- // Keep cooldowns — don't re-trigger immediately after restart
129
+ this._cooldowns.clear(); // Clear cooldowns on restart fresh start, fresh heal eligibility
130
130
  }
131
131
  }
132
132