Remove hardcoded Claude code path and update project directory handling in XML import script

This commit is contained in:
Alex Newman
2025-10-25 13:18:31 -04:00
parent 99af5fdf13
commit e82d9e075b
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -1098,7 +1098,6 @@ Skip routine operations:
|----------|---------|---------|----------------|
| `CLAUDE_MEM_MODEL` | `claude-sonnet-4-5` | AI model for processing | Invalid = SDK fails |
| `CLAUDE_MEM_WORKER_PORT` | `37777` | HTTP server port | Invalid = Worker won't start |
| `CLAUDE_CODE_PATH` | `/Users/alexnewman/.nvm/versions/node/v24.5.0/bin/claude` | Path to Claude Code | Invalid = SDK fails |
### Constants
+1 -1
View File
@@ -61,7 +61,7 @@ function buildTimestampMap(): TimestampMapping {
const data = JSON.parse(line);
const timestamp = data.timestamp;
const sessionId = data.sessionId;
const project = data.cwd || '/Users/alexnewman/Scripts/claude-mem';
const project = data.cwd;
if (timestamp && sessionId) {
// Round timestamp to second for matching with XML timestamps