thaddeus 1.0.27 → 1.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -5,6 +5,7 @@ import { createServer } from 'http'
|
|
|
5
5
|
import * as React from 'react'
|
|
6
6
|
import type { LocalJSXCommandCall } from '../../types/command.js'
|
|
7
7
|
import { getProjectRoot } from '../../bootstrap/state.js'
|
|
8
|
+
import { getAutoMemPath } from '../../memdir/paths.js'
|
|
8
9
|
|
|
9
10
|
interface MemoryFile {
|
|
10
11
|
filename: string; name: string; description: string; type: string
|
|
@@ -860,9 +861,7 @@ export const call: LocalJSXCommandCall = async (onDone) => {
|
|
|
860
861
|
const projectRoot = getProjectRoot()
|
|
861
862
|
const engineMemDir = join(projectRoot, 'memory')
|
|
862
863
|
const engineMemories = parseMemoryDir(engineMemDir, 'engine')
|
|
863
|
-
const
|
|
864
|
-
const sanitizedRoot = projectRoot.replace(/\//g, '-')
|
|
865
|
-
const autoMemDir = join(homeDir, '.claude', 'projects', sanitizedRoot, 'memory')
|
|
864
|
+
const autoMemDir = getAutoMemPath().replace(/[/\\]+$/, '')
|
|
866
865
|
const autoMemories = parseMemoryDir(autoMemDir, 'auto')
|
|
867
866
|
const allMemories = [...engineMemories, ...autoMemories].sort((a, b) => b.modified.getTime() - a.modified.getTime())
|
|
868
867
|
|