MCPcopy Create free account
hub / github.com/Epic0522/Codex-Remote-Contact / fallbackMemoryStore

Function fallbackMemoryStore

src/server.js:35–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33const backlightRestoreScriptPath = join(projectDir, "modules", "system-control", "backlight-restore.command");
34
35function fallbackMemoryStore() {
36 return {
37 async read() {
38 return { entries: [], disabled: true, reason: "unified-memory module is not installed" };
39 },
40 async status() {
41 return { ok: true, enabled: false, count: 0, reason: "unified-memory module is not installed" };
42 },
43 async write() {
44 return { ok: false, skipped: true, reason: "unified-memory module is not installed" };
45 },
46 async clear() {
47 return { ok: false, skipped: true, reason: "unified-memory module is not installed" };
48 },
49 async formatForPrompt() {
50 return "";
51 }
52 };
53}
54
55let buildUnifiedMemoryJudgePrompt = () => "";
56let createUnifiedMemory = () => fallbackMemoryStore();

Callers 1

createUnifiedMemoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected