@builder.io/ai-utils 0.0.52 → 0.0.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/events.d.ts CHANGED
@@ -112,6 +112,7 @@ interface ContentPatchBase {
112
112
  description?: string;
113
113
  index: number;
114
114
  value: string;
115
+ displayValue?: string;
115
116
  ts: number;
116
117
  /**
117
118
  * Any additional data about the patch. For example, this payload could contain the
@@ -3,6 +3,10 @@ export interface AssistantSettings {
3
3
  viewId?: string;
4
4
  cssOverrides?: string;
5
5
  headingText: string;
6
+ headingTitle?: string;
7
+ headingImage?: string;
8
+ suggestedPrompts?: SuggestedPrompt[];
9
+ hideNewChatIfNoMessages?: boolean;
6
10
  hideFrameworkPicker?: boolean;
7
11
  hideHeader?: boolean;
8
12
  messagePlaceholder: string;
@@ -21,6 +25,10 @@ export interface AssistantSettings {
21
25
  theme?: "dark" | "light";
22
26
  transparentBackground?: boolean;
23
27
  }
28
+ export interface SuggestedPrompt {
29
+ text: string;
30
+ type: "modify" | "interactivity" | "data";
31
+ }
24
32
  export interface Snippet {
25
33
  /**
26
34
  * The text that will be displayed in the chat snippet button.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/ai-utils",
3
- "version": "0.0.52",
3
+ "version": "0.0.53",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",