@builder.io/ai-utils 0.18.3 → 0.18.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/ai-utils",
3
- "version": "0.18.3",
3
+ "version": "0.18.4",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/codegen.d.ts CHANGED
@@ -214,15 +214,21 @@ export interface RecordFrameToolInput {
214
214
  export interface AddQAReviewComment {
215
215
  file_path: string;
216
216
  line: number;
217
+ start_line?: number;
217
218
  title: string;
218
219
  body: string;
219
- severity: "critical" | "warning" | "info";
220
+ severity: "high" | "medium" | "low";
220
221
  debugInfo?: string;
222
+ gif_id?: string;
221
223
  }
222
224
  export interface AddQAReviewToolInput {
223
225
  summary: string;
224
226
  comments?: AddQAReviewComment[];
225
227
  gif_id: string;
228
+ recording_caption?: string;
229
+ }
230
+ export interface ResolveQACommentsToolInput {
231
+ thread_node_ids: string[];
226
232
  }
227
233
  export interface ReportUIIssueToolInput {
228
234
  title: string;
@@ -273,6 +279,7 @@ export interface CodeGenToolMap {
273
279
  ReadMcpResource: ReadMcpResourceToolInput;
274
280
  RecordFrame: RecordFrameToolInput;
275
281
  AddQAReview: AddQAReviewToolInput;
282
+ ResolveQAComments: ResolveQACommentsToolInput;
276
283
  ReportUIIssue: ReportUIIssueToolInput;
277
284
  }
278
285
  export type CodeGenTools = keyof CodeGenToolMap;
@@ -1437,6 +1444,8 @@ export interface FusionStatus {
1437
1444
  httpClients: number;
1438
1445
  /** VS Code Tunnel status for remote editor connections */
1439
1446
  tunnel?: TunnelStatusInfo;
1447
+ /** Event loop delays collected every 5 seconds (in milliseconds) for percentile calculation */
1448
+ eventLoopDelays?: number[];
1440
1449
  }
1441
1450
  export interface FusionMetrics {
1442
1451
  counters: {
@@ -1612,11 +1621,15 @@ export interface DevCommandResultFailure {
1612
1621
  code: number | null;
1613
1622
  output: string;
1614
1623
  }
1615
- export type ValidateCommandResult = ValidateCommandResultSuccess | ValidateCommandResultFailure;
1624
+ export type ValidateCommandResult = ValidateCommandResultSuccess | ValidateCommandResultAborted | ValidateCommandResultFailure;
1616
1625
  export interface ValidateCommandResultSuccess {
1617
1626
  status: "success";
1618
1627
  command: string | undefined;
1619
1628
  }
1629
+ export interface ValidateCommandResultAborted {
1630
+ status: "aborted";
1631
+ command: string | undefined;
1632
+ }
1620
1633
  export interface ValidateCommandResultFailure {
1621
1634
  status: "failure";
1622
1635
  command: string;
@@ -83,6 +83,10 @@ interface OrganizationSettings {
83
83
  enabled?: boolean;
84
84
  };
85
85
  disableFigmaImageUpload?: boolean;
86
+ enableTicketAssessment?: boolean;
87
+ ticketAssessmentPrompt?: string;
88
+ ticketAssessmentModel?: string;
89
+ ticketAssessmentDailyLimit?: number;
86
90
  }
87
91
  interface RoleOptions {
88
92
  read?: boolean;