Remove hardcoded Claude code path and update project directory handling in XML import script
This commit is contained in:
@@ -1098,7 +1098,6 @@ Skip routine operations:
|
|||||||
|----------|---------|---------|----------------|
|
|----------|---------|---------|----------------|
|
||||||
| `CLAUDE_MEM_MODEL` | `claude-sonnet-4-5` | AI model for processing | Invalid = SDK fails |
|
| `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_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
|
### Constants
|
||||||
|
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ function buildTimestampMap(): TimestampMapping {
|
|||||||
const data = JSON.parse(line);
|
const data = JSON.parse(line);
|
||||||
const timestamp = data.timestamp;
|
const timestamp = data.timestamp;
|
||||||
const sessionId = data.sessionId;
|
const sessionId = data.sessionId;
|
||||||
const project = data.cwd || '/Users/alexnewman/Scripts/claude-mem';
|
const project = data.cwd;
|
||||||
|
|
||||||
if (timestamp && sessionId) {
|
if (timestamp && sessionId) {
|
||||||
// Round timestamp to second for matching with XML timestamps
|
// Round timestamp to second for matching with XML timestamps
|
||||||
|
|||||||
Reference in New Issue
Block a user