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
+8 -8
View File
@@ -1,17 +1,17 @@
import { TwitterClient } from '@yuta/bird'
import type { BirdReader } from './post-service'
import { TwitterClient } from "@yuta/bird";
import type { BirdReader } from "./post-service";
const clients = new Map<string, TwitterClient>()
const clients = new Map<string, TwitterClient>();
export function getBirdReader(profileName: string): BirdReader {
const existing = clients.get(profileName)
if (existing) return existing
const existing = clients.get(profileName);
if (existing) return existing;
const client = new TwitterClient({
relayBaseUrl: process.env.TWITTER_RELAY_BASE_URL,
profileName,
timeoutMs: 20_000,
})
clients.set(profileName, client)
return client
});
clients.set(profileName, client);
return client;
}