( memory: AgentMemoryScope | undefined, )
| 114 | } |
| 115 | |
| 116 | export function getMemoryScopeDisplay( |
| 117 | memory: AgentMemoryScope | undefined, |
| 118 | ): string { |
| 119 | switch (memory) { |
| 120 | case 'user': |
| 121 | return `User (${join(getMemoryBaseDir(), 'agent-memory')}/)` |
| 122 | case 'project': |
| 123 | return 'Project (.claude/agent-memory/)' |
| 124 | case 'local': |
| 125 | return `Local (${getLocalAgentMemoryDir('...')})` |
| 126 | default: |
| 127 | return 'None' |
| 128 | } |
| 129 | } |
| 130 | |
| 131 | /** |
| 132 | * Load persistent memory for an agent with memory enabled. |
no test coverage detected