chore: bump version to 0.1528

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
arkon
2026-02-18 07:06:34 +01:00
co-authored by Claude Opus 4.6
parent 9d67a571ba
commit 31d3e7bc70
14 changed files with 540 additions and 303 deletions
+7 -1
View File
@@ -141,6 +141,7 @@ const EVENT_DEBOUNCE_MS = 50;
* Prevents unbounded growth if many unique phrases are seen.
*/
const MAX_COMPLETION_PHRASE_ENTRIES = 50;
const MAX_PLAN_HISTORY = 10;
/**
* Common/generic completion phrases that may cause false positives.
@@ -3711,7 +3712,7 @@ export class RalphTracker extends EventEmitter {
});
// Limit history size
if (this._planHistory.length > 10) {
if (this._planHistory.length > MAX_PLAN_HISTORY) {
this._planHistory.shift();
}
}
@@ -3846,6 +3847,11 @@ export class RalphTracker extends EventEmitter {
this._alternateCompletionPhrases.clear();
this._completionPhraseCount.clear();
this._planTasks.clear();
this._completionTimes.length = 0;
this._lineBuffer = '';
this._partialPromiseBuffer = '';
this._statusBlockBuffer.length = 0;
this._planHistory.length = 0;
this.removeAllListeners();
}
}