fix(openclaw): persistent anonymous telemetry ID, flush fix, and email resolution (#4790)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Saket Aryan
2026-04-11 20:57:14 +05:30
committed by GitHub
co-authored by Claude Opus 4.6
parent 9d82e2329d
commit d39ebad09f
10 changed files with 215 additions and 11 deletions
+3
View File
@@ -506,6 +506,7 @@ export function providerToBackend(
msgs as Array<{ role: string; content: string }>,
{
user_id: opts.userId ?? userId,
source: "OPENCLAW",
...(opts.runId && { run_id: opts.runId }),
...(opts.metadata && { metadata: opts.metadata }),
...(opts.immutable && { immutable: true }),
@@ -524,6 +525,7 @@ export function providerToBackend(
keyword_search: opts.keyword,
reranking: opts.rerank,
filters: opts.filters,
source: "OPENCLAW",
});
return results as unknown as Record<string, unknown>[];
},
@@ -537,6 +539,7 @@ export function providerToBackend(
const items = await provider.getAll({
user_id: opts.userId ?? userId,
page_size: opts.pageSize,
source: "OPENCLAW",
});
return items as unknown as Record<string, unknown>[];
},