MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / getSessionStore

Function getSessionStore

src/session/store.ts:483–486  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

481 logger.debug('FTS search failed; falling back to LIKE', { err: e?.message });
482 }
483 }
484 // Fallback: AND of LIKE clauses over the raw tokens, newest-first.
485 const tokens = factTokens(query);
486 if (!tokens.length) return [];
487 const likeClauses = tokens.map(() => `fact LIKE ?`).join(' AND ');
488 const likeArgs = tokens.map(t => `%${t}%`);
489 const rows = this.db.prepare(

Callers 15

index.tsFile · 0.85
executeMethod · 0.85
executeMethod · 0.85
executeMethod · 0.85
executeMethod · 0.85
executeMethod · 0.85
executeMethod · 0.85
projectTitleFunction · 0.85
exportMemoryFunction · 0.85
importMemoryFunction · 0.85
handleSlashCommandFunction · 0.85
AppFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected