feat: add import and event commands, refactor CLI, remove baseUrl config, update docs

This commit is contained in:
kartik-mem0
2026-04-05 01:24:56 +05:30
parent 4642a1d6e3
commit 6f43487c34
9 changed files with 219 additions and 97 deletions
+7
View File
@@ -34,3 +34,10 @@ export function mkdirp(dirPath: string, mode?: number): void {
export function unlink(filePath: string): void {
fs.unlinkSync(filePath);
}
export function bootstrapTelemetryFlag(): void {
const val = process.env.MEM0_TELEMETRY;
if (val !== undefined) {
(globalThis as any).__mem0_telemetry_override = val;
}
}