feat(core): migrate chat recording to JSONL streaming (#23749)

This commit is contained in:
Spencer
2026-04-09 17:13:55 -04:00
committed by GitHub
parent 45100f7c0e
commit f744913584
15 changed files with 906 additions and 665 deletions
+3 -1
View File
@@ -353,7 +353,9 @@ export class Storage {
const chatsDir = path.join(this.getProjectTempDir(), 'chats');
try {
const files = await fs.promises.readdir(chatsDir);
const jsonFiles = files.filter((f) => f.endsWith('.json'));
const jsonFiles = files.filter(
(f) => f.endsWith('.json') || f.endsWith('.jsonl'),
);
const sessions = await Promise.all(
jsonFiles.map(async (file) => {