Refactor SSE event handling and consolidate notification contexts

This commit is contained in:
Chris Scott committed 2026-01-12 23:56:50 -05:00
1 parent 9851ec06e0
commit f7fd3176d4
30 files changed
+2226 -988

No files matched your search

+1
View File
@@ -3,3 +3,4 @@ export * from './repo'
export * from './files'
export * from './opencode'
export * from './auth'
export * from './sse'
+8
View File
@@ -0,0 +1,8 @@
import { z } from "zod";
export const SSESubscribeSchema = z.object({
clientId: z.string().min(1),
directories: z.array(z.string()),
});
export type SSESubscribeRequest = z.infer<typeof SSESubscribeSchema>;