fix(snapshot): send Buzz shares as PNG avatar cards (#1811)

Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
Co-authored-by: npub1mn7jgtj4w2pd0g0zeuhxsa6jy6p0rewxz4kujt98my82ahfmp72sxjexk7 <dcfd242e557282d7a1e2cf2e6877522682f1e5c6156dc92ca7d90eaedd3b0f95@sprout-oss.stage.blox.sqprod.co>
This commit is contained in:
Will Pfleger
2026-07-13 13:58:24 -04:00
committed by GitHub
parent d41b4c3905
commit a6cfd65511
19 changed files with 558 additions and 247 deletions

View File

@@ -124,12 +124,14 @@ export async function exportAgentSnapshot(
memoryLevel: SnapshotMemoryLevel,
format: SnapshotFormat,
memorySourcePubkey?: string | null,
avatarPngDataUrl?: string,
): Promise<boolean> {
return invokeTauri<boolean>("export_agent_snapshot", {
id,
memorySourcePubkey: memorySourcePubkey ?? null,
memoryLevel,
format,
avatarPngDataUrl: avatarPngDataUrl ?? null,
});
}
@@ -154,12 +156,14 @@ export async function encodeAgentSnapshotForSend(
memoryLevel: SnapshotMemoryLevel,
format: SnapshotFormat,
memorySourcePubkey?: string | null,
avatarPngDataUrl?: string,
): Promise<EncodedSnapshotPayload> {
return invokeTauri<EncodedSnapshotPayload>("encode_agent_snapshot_for_send", {
id,
memorySourcePubkey: memorySourcePubkey ?? null,
memoryLevel,
format,
avatarPngDataUrl: avatarPngDataUrl ?? null,
});
}