@builder.io/ai-utils
Advanced tools
Comparing version 0.0.67 to 0.0.68
@@ -6,3 +6,3 @@ import type { BuilderContent, BuilderElement } from "@builder.io/sdk"; | ||
export type BuilderAssistantEventHandler = (ev: BuilderAssistantEvent) => void; | ||
export type BuilderAssistantEvent = AssistantCompletionResultEvent | AssistantErrorEvent | AssistantStreamErrorEvent | AppCloseEvent | AppMessagesClickEvent | AppMessagesGenerationEvent | AppMessageEditCustomInstructionsEvent | AppPromptAbortEvent | AppPromptFocusEvent | AppPromptTextEvent | AppReadyEvent | AppSettingsResetEvent | AppSettingsSetEvent | AppThreadNewEvent | AssistantStatsEvent | BuilderEditorAuthEvent | BuilderEditorStateEvent | ContentUpdateEvent | ContentApplySnapshotEvent | ModelCreateEvent | ModelUpdateEvent | ModelUndoEvent | ModelRedoEvent | ResultEvent | ThreadCreatedEvent | ThreadMessageCompletedEvent | ThreadMessageCreatedEvent | ThreadMessageDeltaEvent | ThreadMessageFeedbackEvent | ThreadRunRequiresActionEvent | ThreadRunStepCreatedEvent | ThreadRunStepDeltaEvent | AppAcceptChangeEvent | AppAcceptRejectEvent | AssistantTrackEvent; | ||
export type BuilderAssistantEvent = AssistantCompletionResultEvent | AssistantErrorEvent | AssistantStreamErrorEvent | AppCloseEvent | AppMessagesClickEvent | AppMessagesGenerationEvent | AppMessageEditCustomInstructionsEvent | AppPromptAbortEvent | AppPromptFocusEvent | AppPromptTextEvent | AppReadyEvent | AppSettingsResetEvent | AppSettingsSetEvent | AppThreadNewEvent | AssistantStatsEvent | BuilderEditorAuthEvent | BuilderEditorStateEvent | ContentUpdateEvent | ContentApplySnapshotEvent | ModelCreateEvent | ModelUpdateEvent | ModelUndoEvent | ModelRedoEvent | ResultEvent | ThreadCreatedEvent | ThreadMessageCompletedEvent | ThreadMessageCreatedEvent | ThreadMessageDeltaEvent | ThreadMessageFeedbackEvent | ThreadRunRequiresActionEvent | ThreadRunStepCreatedEvent | ThreadRunStepDeltaEvent | AppAcceptChangeEvent | AppAcceptRejectEvent | AssistantTrackEvent | AssistantEditorAuthMessage; | ||
export interface AssistantCompletionResultEvent { | ||
@@ -88,2 +88,5 @@ type: "assistant.result"; | ||
} | ||
export interface AssistantEditorAuthMessage { | ||
type: "assistant.editor.auth.update"; | ||
} | ||
export interface BuilderEditorAuthEvent extends AwaitResultEvent { | ||
@@ -90,0 +93,0 @@ type: "assistant.editor.auth"; |
{ | ||
"name": "@builder.io/ai-utils", | ||
"version": "0.0.67", | ||
"version": "0.0.68", | ||
"description": "Builder.io AI utils", | ||
@@ -5,0 +5,0 @@ "type": "module", |
28672
935