@hoilab/ada-cli 0.84.16 → 0.84.17

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.
@@ -1002,8 +1002,11 @@ Task: given the CURRENT MEMORY and the LATEST CONVERSATION TURN, produce the COM
1002
1002
  // + audit) and redact it BEFORE it reaches the LLM, the session file
1003
1003
  // or the chat transcript. The user sees censored content; the raw
1004
1004
  // secret is never persisted anywhere.
1005
+ // The engine exists whenever the SDK is built with the memory module;
1006
+ // detection + redaction only need config (not the initialized stores),
1007
+ // so they are ALWAYS applied — a failed init must never disable them.
1005
1008
  const memoryEngine = this._resourceLoader.getMemoryEngine();
1006
- if (memoryEngine?.isInitialized) {
1009
+ if (memoryEngine) {
1007
1010
  memoryEngine.checkUserTextForSensitive(expandedText);
1008
1011
  expandedText = redactSensitive(expandedText, memoryEngine.privacyLevel);
1009
1012
  }