@builder.io/ai-utils 0.0.36 → 0.0.38

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.
Files changed (2) hide show
  1. package/dist/events.d.ts +6 -0
  2. package/package.json +1 -1
package/dist/events.d.ts CHANGED
@@ -212,6 +212,10 @@ export interface AssistantStats {
212
212
  * If the user provided custom instructions for the prompt.
213
213
  */
214
214
  hasCustomInstructions: boolean;
215
+ /**
216
+ * The deployed version.
217
+ */
218
+ version: string;
215
219
  /**
216
220
  * Error message if there was one.
217
221
  */
@@ -258,6 +262,7 @@ export interface ThreadMessageFeedback {
258
262
  */
259
263
  messageId: string;
260
264
  userId: string;
265
+ commitId?: string;
261
266
  feedbackText: string;
262
267
  thread: Thread;
263
268
  platformId: string;
@@ -288,6 +293,7 @@ export interface ThreadMessageCompletedEvent {
288
293
  export interface ThreadMessageCompleted {
289
294
  platformId: string;
290
295
  threadId: string;
296
+ commitId?: string;
291
297
  message: AssistantMessage;
292
298
  }
293
299
  export interface ThreadRunRequiresActionEvent {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/ai-utils",
3
- "version": "0.0.36",
3
+ "version": "0.0.38",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",