chore: save wip changes

This commit is contained in:
2026-06-20 16:07:12 +01:00
parent 2e6cae4d02
commit 25713ef614
11 changed files with 275 additions and 199 deletions

View File

@@ -152,6 +152,14 @@ export const GenericObjectPayload = type("Record<string, unknown>")
/** Fallback payload shape for tool calls, tool results, and system notes. */
export type GenericObjectPayload = typeof GenericObjectPayload.infer
export const ConversationEntryPayload = type.or(
UserMessagePayload,
AssistantMessagePayload,
AttachmentPayload,
ContextSummaryPayload,
GenericObjectPayload,
)
/** Union of payload shapes that can be stored on a conversation entry. */
export type ConversationEntryPayload =
| UserMessagePayload