MCPcopy
hub / github.com/benjitaylor/agentation / getStore

Function getStore

mcp/src/server/store.ts:33–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31 * Get the store instance. Lazily initializes on first access.
32 */
33export function getStore(): AFSStore {
34 if (!_store) {
35 _store = initializeStore();
36 }
37 return _store;
38}
39
40/**
41 * Initialize the store. Tries SQLite first, falls back to in-memory.

Callers 15

instanceFunction · 0.85
createSessionFunction · 0.85
getSessionFunction · 0.85
updateSessionStatusFunction · 0.85
listSessionsFunction · 0.85
addAnnotationFunction · 0.85
getAnnotationFunction · 0.85
updateAnnotationFunction · 0.85
updateAnnotationStatusFunction · 0.85
addThreadMessageFunction · 0.85
getPendingAnnotationsFunction · 0.85

Calls 1

initializeStoreFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…