MCPcopy Create free account
hub / github.com/MarsWang42/Awel / MemoryEntry

Interface MemoryEntry

packages/cli/src/memory.ts:5–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import { randomUUID } from 'crypto';
4
5export interface MemoryEntry {
6 id: string;
7 content: string;
8 tags: string[];
9 scope: 'always' | 'contextual';
10 source: 'user' | 'agent';
11 createdAt: string;
12 usageCount: number;
13 lastUsedAt: string;
14}
15
16function memoryPath(projectCwd: string): string {
17 return join(projectCwd, '.awel', 'memory.json');

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected