@edihasaj/recall 0.8.18 → 0.8.19

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.
@@ -11,7 +11,7 @@ import {
11
11
  listInjectedHistoryIdsForSession,
12
12
  signalOutcomeFallback,
13
13
  startSessionLifecycle
14
- } from "./chunk-C6YBSU6B.js";
14
+ } from "./chunk-QKN6IWJ3.js";
15
15
  import {
16
16
  detectCorrections,
17
17
  isHighRiskRule,
@@ -1109,4 +1109,4 @@ export {
1109
1109
  readCodexSessionEndInputFromStdin,
1110
1110
  dispatchCodexNotify
1111
1111
  };
1112
- //# sourceMappingURL=chunk-SRRPUFXI.js.map
1112
+ //# sourceMappingURL=chunk-3Z6XZX7N.js.map
@@ -5033,7 +5033,8 @@ async function compileContextHybrid(db, req) {
5033
5033
  const retrievalItem = retrievalById.get(memory.id);
5034
5034
  if (effectiveQuery) {
5035
5035
  if (!retrievalItem) return false;
5036
- if (embeddingConfig && retrievalItem.similarity < QUERY_VECTOR_RELEVANCE_FLOOR) {
5036
+ const hasStrongLexicalMatch = retrievalItem.lexical_score >= QUERY_TEXT_MATCH_FLOOR;
5037
+ if (embeddingConfig && retrievalItem.similarity < QUERY_VECTOR_RELEVANCE_FLOOR && !hasStrongLexicalMatch) {
5037
5038
  return false;
5038
5039
  }
5039
5040
  return true;
@@ -6500,4 +6501,4 @@ export {
6500
6501
  pruneMemories,
6501
6502
  formatPruneReport
6502
6503
  };
6503
- //# sourceMappingURL=chunk-C6YBSU6B.js.map
6504
+ //# sourceMappingURL=chunk-QKN6IWJ3.js.map