@builder.io/ai-utils 0.19.0 → 0.19.1

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/package.json +1 -1
  2. package/src/codegen.d.ts +14 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/ai-utils",
3
- "version": "0.19.0",
3
+ "version": "0.19.1",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/codegen.d.ts CHANGED
@@ -301,21 +301,28 @@ export interface VerifyRuntimeDependencyToolInput {
301
301
  version: string;
302
302
  source?: string;
303
303
  }
304
- export interface AddQAReviewComment {
304
+ /** Comment for PR review - used by both SubmitPRReview and SubmitRecording */
305
+ export interface PRReviewComment {
305
306
  file_path: string;
306
307
  line: number;
307
308
  start_line?: number;
308
309
  title: string;
309
310
  body: string;
310
- severity: "high" | "medium" | "low";
311
+ severity: "high" | "medium";
311
312
  debugInfo?: string;
312
313
  gif_id?: string;
313
314
  }
314
- export interface AddQAReviewToolInput {
315
+ /** SubmitPRReview - Fast code review without recording */
316
+ export interface SubmitPRReviewToolInput {
315
317
  summary: string;
316
- comments?: AddQAReviewComment[];
318
+ comments?: PRReviewComment[];
319
+ }
320
+ /** SubmitRecording - Visual verification with recording (posted as separate review) */
321
+ export interface SubmitRecordingToolInput {
317
322
  gif_id: string;
318
- recording_caption?: string;
323
+ recording_caption: string;
324
+ summary?: string;
325
+ comments?: PRReviewComment[];
319
326
  }
320
327
  export interface ResolveQACommentsToolInput {
321
328
  thread_node_ids: string[];
@@ -370,9 +377,10 @@ export interface CodeGenToolMap {
370
377
  ExitPlanMode: ExitPlanModeToolInput;
371
378
  ReadMcpResource: ReadMcpResourceToolInput;
372
379
  RecordFrame: RecordFrameToolInput;
380
+ SubmitPRReview: SubmitPRReviewToolInput;
381
+ SubmitRecording: SubmitRecordingToolInput;
373
382
  ProposeConfig: ProposeConfigToolInput;
374
383
  UpdateSetupValue: UpdateSetupValueToolInput;
375
- AddQAReview: AddQAReviewToolInput;
376
384
  ResolveQAComments: ResolveQACommentsToolInput;
377
385
  ReportUIIssue: ReportUIIssueToolInput;
378
386
  VerifyInstallCommand: VerifyInstallCommandToolInput;