@builder.io/ai-utils 0.18.7 → 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.
- package/package.json +1 -1
- package/src/codegen.d.ts +14 -6
- package/src/repo-indexing.d.ts +8 -0
package/package.json
CHANGED
package/src/codegen.d.ts
CHANGED
|
@@ -301,21 +301,28 @@ export interface VerifyRuntimeDependencyToolInput {
|
|
|
301
301
|
version: string;
|
|
302
302
|
source?: string;
|
|
303
303
|
}
|
|
304
|
-
|
|
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"
|
|
311
|
+
severity: "high" | "medium";
|
|
311
312
|
debugInfo?: string;
|
|
312
313
|
gif_id?: string;
|
|
313
314
|
}
|
|
314
|
-
|
|
315
|
+
/** SubmitPRReview - Fast code review without recording */
|
|
316
|
+
export interface SubmitPRReviewToolInput {
|
|
315
317
|
summary: string;
|
|
316
|
-
comments?:
|
|
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
|
|
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;
|
package/src/repo-indexing.d.ts
CHANGED
|
@@ -16,13 +16,21 @@ export interface TokenDocument extends DocumentBase {
|
|
|
16
16
|
type: "token";
|
|
17
17
|
hash: string;
|
|
18
18
|
relevantFiles: string[];
|
|
19
|
+
rawTokens?: string[];
|
|
20
|
+
tokenValues?: Record<string, string>;
|
|
19
21
|
}
|
|
20
22
|
export interface IconDocument extends DocumentBase {
|
|
21
23
|
type: "icon";
|
|
22
24
|
hash: string;
|
|
23
25
|
}
|
|
26
|
+
export interface RawComponent {
|
|
27
|
+
name: string;
|
|
28
|
+
description: string;
|
|
29
|
+
}
|
|
24
30
|
export interface AgentDocument extends DocumentBase {
|
|
25
31
|
type: "agent";
|
|
32
|
+
rawComponents?: RawComponent[];
|
|
33
|
+
rawTokenGroups?: string[];
|
|
26
34
|
}
|
|
27
35
|
export interface InstallationDocument extends DocumentBase {
|
|
28
36
|
type: "installation";
|