()
| 83 | * 2. ~/.claude (default config home) |
| 84 | */ |
| 85 | export function getMemoryBaseDir(): string { |
| 86 | if (process.env.CLAUDE_CODE_REMOTE_MEMORY_DIR) { |
| 87 | return process.env.CLAUDE_CODE_REMOTE_MEMORY_DIR |
| 88 | } |
| 89 | return getClaudeConfigHomeDir() |
| 90 | } |
| 91 | |
| 92 | const AUTO_MEM_DIRNAME = 'memory' |
| 93 | const AUTO_MEM_ENTRYPOINT_NAME = 'MEMORY.md' |
no outgoing calls
no test coverage detected