@builder.io/ai-utils
Advanced tools
Comparing version 0.0.29 to 0.0.30
@@ -110,2 +110,6 @@ import type { BuilderContent, BuilderElement, Component } from "@builder.io/sdk"; | ||
sessionId?: string; | ||
/** | ||
* Custom instructions that could be add into the prompt. | ||
*/ | ||
customInstructions?: Record<string, string>; | ||
} | ||
@@ -112,0 +116,0 @@ /** |
@@ -100,3 +100,3 @@ import type { BuilderContent, BuilderElement } from "@builder.io/sdk"; | ||
} | ||
export type ContentUpdatePatch = ContentInsertBeforePatch | ContentInsertAfterPatch | ContentPropsUpdatePatch | ContentSetChildrenPatch | ContentStyleUpdatePatch; | ||
export type ContentUpdatePatch = ContentInsertBeforePatch | ContentInsertAfterPatch | ContentPropsUpdatePatch | ContentSetChildrenPatch | ContentStyleUpdatePatch | ContentDeletePatch; | ||
export interface NodeData { | ||
@@ -139,2 +139,5 @@ /** | ||
} | ||
export interface ContentDeletePatch extends ContentPatchBase { | ||
type: "delete"; | ||
} | ||
export interface ContentCompleteEvent { | ||
@@ -141,0 +144,0 @@ type: "assistant.content.complete"; |
{ | ||
"name": "@builder.io/ai-utils", | ||
"version": "0.0.29", | ||
"version": "0.0.30", | ||
"description": "Builder.io AI utils", | ||
@@ -5,0 +5,0 @@ "type": "module", |
22304
723