feat: add agent response scheduler

This commit is contained in:
2026-07-01 23:50:38 +01:00
parent 952f8e4fb0
commit af4df2cd2c
33 changed files with 1690 additions and 505 deletions

View File

@@ -146,6 +146,19 @@ export const ConversationEntryMetadata = type({
/** Metadata bag attached to a conversation entry. */
export type ConversationEntryMetadata = typeof ConversationEntryMetadata.infer
export const ToolCallPayload = type({
toolName: "string",
})
export type ToolCallPayload = typeof ToolCallPayload.infer
export const ToolResultPayload = type({
toolName: "string",
ok: "boolean",
})
export type ToolResultPayload = typeof ToolResultPayload.infer
/** Generic object payload used by operational entries. */
export const GenericObjectPayload = type("Record<string, unknown>")
@@ -158,4 +171,6 @@ export type ConversationEntryPayload =
| AssistantMessagePayload
| AttachmentPayload
| ContextSummaryPayload
| ToolCallPayload
| ToolResultPayload
| GenericObjectPayload

View File

@@ -23,6 +23,8 @@ export {
ModelRunMetadata,
TextMessagePart,
UserMessagePayload,
ToolCallPayload,
ToolResultPayload,
} from "./conversation"
// Feed