chore(openclaw): add tsup build pipeline with ESM output and type declarations (#4335)

This commit is contained in:
Saket Aryan
2026-03-15 00:41:07 +05:30
committed by GitHub
parent df79a43925
commit dc6122ec3d
8 changed files with 4189 additions and 1 deletions
+1 -1
View File
@@ -138,7 +138,7 @@ class PlatformProvider implements Mem0Provider {
private async _init(): Promise<void> {
const { default: MemoryClient } = await import("mem0ai");
const opts: Record<string, string> = { apiKey: this.apiKey };
const opts: { apiKey: string; org_id?: string; project_id?: string } = { apiKey: this.apiKey };
if (this.orgId) opts.org_id = this.orgId;
if (this.projectId) opts.project_id = this.projectId;
this.client = new MemoryClient(opts);