@makefinks/daemon 0.7.0 → 0.7.1
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
|
@@ -11,8 +11,6 @@ import { getAppConfigDir } from "../../utils/preferences";
|
|
|
11
11
|
import { getMemoryModel } from "../model-config";
|
|
12
12
|
|
|
13
13
|
const MEMORY_USER_ID = "daemon_global";
|
|
14
|
-
const MEMORY_DB_FILE = "memory.db";
|
|
15
|
-
|
|
16
14
|
/** Raw memory entry from mem0 API */
|
|
17
15
|
interface Mem0RawEntry {
|
|
18
16
|
id: string;
|
|
@@ -103,7 +101,6 @@ class MemoryManager {
|
|
|
103
101
|
|
|
104
102
|
try {
|
|
105
103
|
const configDir = getAppConfigDir();
|
|
106
|
-
const historyDbPath = path.join(configDir, MEMORY_DB_FILE);
|
|
107
104
|
const vectorDbPath = path.join(configDir, "vector_store.db");
|
|
108
105
|
const llmModel = getMemoryModel();
|
|
109
106
|
|
|
@@ -124,12 +121,7 @@ class MemoryManager {
|
|
|
124
121
|
dbPath: vectorDbPath,
|
|
125
122
|
},
|
|
126
123
|
},
|
|
127
|
-
|
|
128
|
-
provider: "sqlite",
|
|
129
|
-
config: {
|
|
130
|
-
historyDbPath,
|
|
131
|
-
},
|
|
132
|
-
},
|
|
124
|
+
disableHistory: true,
|
|
133
125
|
llm: {
|
|
134
126
|
provider: "openai",
|
|
135
127
|
config: {
|
|
@@ -138,13 +130,11 @@ class MemoryManager {
|
|
|
138
130
|
baseURL: "https://openrouter.ai/api/v1",
|
|
139
131
|
},
|
|
140
132
|
},
|
|
141
|
-
historyDbPath,
|
|
142
133
|
});
|
|
143
134
|
|
|
144
135
|
this._isAvailable = true;
|
|
145
136
|
debug.info("memory-init", {
|
|
146
137
|
message: `Memory system initialized`,
|
|
147
|
-
historyDbPath,
|
|
148
138
|
vectorDbPath,
|
|
149
139
|
llmModel,
|
|
150
140
|
});
|