@builder.io/ai-utils 0.0.24 → 0.0.25

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.
@@ -91,6 +91,14 @@ export interface BuiderEditorState {
91
91
  * Builder space id.
92
92
  */
93
93
  spaceId?: string;
94
+ /**
95
+ * Builder user id.
96
+ */
97
+ userId?: string;
98
+ /**
99
+ * Builder session id.
100
+ */
101
+ sessionId?: string;
94
102
  }
95
103
  export type OnPromptSubmit = (opts: {
96
104
  prompt?: string;
package/dist/events.d.ts CHANGED
@@ -123,7 +123,6 @@ export interface ContentComplete {
123
123
  threadId: string;
124
124
  completionId: string;
125
125
  modelId: string;
126
- duration: number;
127
126
  message: AssistantMessage;
128
127
  ts: number;
129
128
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/ai-utils",
3
- "version": "0.0.24",
3
+ "version": "0.0.25",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",