()
| 198 | |
| 199 | // Get stats |
| 200 | stats() { |
| 201 | const types = {}; |
| 202 | for (const obj of this.objects.values()) { |
| 203 | types[obj.type] = (types[obj.type] || 0) + 1; |
| 204 | } |
| 205 | return { total: this.objects.size, byType: types }; |
| 206 | } |
| 207 | } |
| 208 | |
| 209 | // ─── MCP Tool Definitions for Memory ───────────────────────────────────────── |
no outgoing calls
no test coverage detected