@vedtechsolutions/engram-mcp 1.0.17 → 1.0.18
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/dist/hook.js +1 -0
- package/package.json +1 -1
package/dist/hook.js
CHANGED
|
@@ -5976,6 +5976,7 @@ function handlePromptCheck(stdinJson, argFallback) {
|
|
|
5976
5976
|
if (!rawContent || typeof rawContent !== "string" || rawContent.length < 3) return;
|
|
5977
5977
|
const content = rawContent.length > INPUT.MAX_CONTENT_LENGTH ? rawContent.slice(0, INPUT.MAX_CONTENT_LENGTH) : rawContent;
|
|
5978
5978
|
const state = loadWatcherState();
|
|
5979
|
+
sanitizeCognitiveState(state);
|
|
5979
5980
|
const budget = new OutputBudget();
|
|
5980
5981
|
if (!state.active_project) {
|
|
5981
5982
|
const inferred = inferProjectFromCwd();
|