implement components

This commit is contained in:
bracesproul
2025-03-07 10:47:08 -08:00
parent 066b219107
commit 7ebcbb3a28
19 changed files with 472 additions and 37 deletions

View File

@@ -12,7 +12,9 @@ export const GenerativeUIAnnotation = Annotation.Root({
UIMessage | RemoveUIMessage | (UIMessage | RemoveUIMessage)[]
>({ default: () => [], reducer: uiMessageReducer }),
timestamp: Annotation<number>,
next: Annotation<"stockbroker" | "tripPlanner" | "generalInput">(),
next: Annotation<
"stockbroker" | "tripPlanner" | "openCode" | "generalInput"
>(),
});
export type GenerativeUIState = typeof GenerativeUIAnnotation.State;