@builder.io/ai-utils
Advanced tools
Comparing version 0.0.65 to 0.0.66
import type { BuilderContent, BuilderElement, Component } from "@builder.io/sdk"; | ||
import type { Message, MessageParam } from "./messages"; | ||
import type { BuilderModel } from "./events"; | ||
import type { Message, MessageParam } from "./messages.js"; | ||
import type { BuilderModel } from "./events.js"; | ||
export type BuilderContentData = BuilderContent["data"]; | ||
@@ -5,0 +5,0 @@ export type { BuilderContent, BuilderElement, Component }; |
import type { BuilderContent, BuilderElement } from "@builder.io/sdk"; | ||
import type { Thread } from "./thread"; | ||
import type { AssistantMessage } from "./messages"; | ||
import { AssistantSettings } from "./settings"; | ||
import type { Thread } from "./thread.js"; | ||
import type { AssistantMessage } from "./messages.js"; | ||
import { AssistantSettings } from "./settings.js"; | ||
export type BuilderAssistantEventHandler = (ev: BuilderAssistantEvent) => void; | ||
@@ -17,3 +17,2 @@ 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; | ||
status?: number; | ||
stack?: string; | ||
} | ||
@@ -20,0 +19,0 @@ export interface AssistantErrorEvent { |
@@ -1,2 +0,2 @@ | ||
import { ContentUpdatePatch } from "./events"; | ||
import { ContentUpdatePatch } from "./events.js"; | ||
/** | ||
@@ -3,0 +3,0 @@ * Message param does not know the id of the message. |
@@ -63,4 +63,5 @@ export interface AssistantSettings { | ||
userId: string; | ||
userToken: string; | ||
privateKey: string; | ||
} | ||
export {}; |
@@ -1,2 +0,2 @@ | ||
import type { Message } from "./messages"; | ||
import type { Message } from "./messages.js"; | ||
export interface Thread { | ||
@@ -3,0 +3,0 @@ /** |
{ | ||
"name": "@builder.io/ai-utils", | ||
"version": "0.0.65", | ||
"version": "0.0.66", | ||
"description": "Builder.io AI utils", | ||
@@ -5,0 +5,0 @@ "type": "module", |
28577