feat: add URL-driven workspace state and streamed Codex research

This commit is contained in:
2026-09-28 20:08:28 +09:00
parent 85d23a328b
commit 8085ad2f90
207 changed files with 15287 additions and 16026 deletions
+6 -6
View File
@@ -1,12 +1,12 @@
import type { Post, PostPage } from './types'
import type { Post, PostPage } from "./types";
export function flattenPostPages(pages: PostPage[]): Post[] {
const seen = new Set<string>()
const seen = new Set<string>();
return pages.flatMap(({ tweets }) =>
tweets.filter(({ id }) => {
if (seen.has(id)) return false
seen.add(id)
return true
if (seen.has(id)) return false;
seen.add(id);
return true;
}),
)
);
}