MCPcopy
hub / github.com/Doorman11991/smallcode / remember

Method remember

bin/memory.js:98–103  ·  view source on GitHub ↗
(type, title, content, { tags, source, relations } = {})

Source from the content-addressed store, hash-verified

96
97 // Save/remember a new memory object
98 remember(type, title, content, { tags, source, relations } = {}) {
99 const obj = new MemoryObject({ type, title, content, tags, source, relations });
100 this.objects.set(obj.id, obj);
101 this.save();
102 return obj;
103 }
104
105 // Load relevant memory for a task (keyword-based retrieval)
106 loadForTask(taskDescription) {

Callers 4

recordEvidenceFunction · 0.80
handleMCPToolCallFunction · 0.80
executeToolFunction · 0.80
executeMemoryToolFunction · 0.80

Calls 1

saveMethod · 0.95

Tested by

no test coverage detected