@builder.io/ai-utils 0.69.0 → 0.70.0
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 +7 -0
- package/src/codegen.js +4 -0
- package/src/projects.d.ts +2 -0
package/package.json
CHANGED
package/src/codegen.d.ts
CHANGED
|
@@ -486,6 +486,7 @@ export declare const TimelineEventCategorySchema: z.ZodEnum<{
|
|
|
486
486
|
milestone: "milestone";
|
|
487
487
|
navigation: "navigation";
|
|
488
488
|
observation: "observation";
|
|
489
|
+
verified: "verified";
|
|
489
490
|
}>;
|
|
490
491
|
export type TimelineEventCategory = z.infer<typeof TimelineEventCategorySchema>;
|
|
491
492
|
export declare const TestOutcomeSchema: z.ZodEnum<{
|
|
@@ -519,8 +520,10 @@ export declare const RecordFrameToolInputSchema: z.ZodObject<{
|
|
|
519
520
|
milestone: "milestone";
|
|
520
521
|
navigation: "navigation";
|
|
521
522
|
observation: "observation";
|
|
523
|
+
verified: "verified";
|
|
522
524
|
}>>;
|
|
523
525
|
description: z.ZodOptional<z.ZodString>;
|
|
526
|
+
pr_highlight: z.ZodOptional<z.ZodBoolean>;
|
|
524
527
|
}, z.core.$strip>;
|
|
525
528
|
export type RecordFrameToolInput = z.infer<typeof RecordFrameToolInputSchema>;
|
|
526
529
|
export declare const ReportTestOutcomeToolInputSchema: z.ZodObject<{
|
|
@@ -580,6 +583,8 @@ export interface TimelineFrameMetadata {
|
|
|
580
583
|
displayDurationMs: number;
|
|
581
584
|
fileName?: string;
|
|
582
585
|
image_url?: string;
|
|
586
|
+
prHighlight?: boolean;
|
|
587
|
+
description?: string;
|
|
583
588
|
cursorX?: number | null;
|
|
584
589
|
cursorY?: number | null;
|
|
585
590
|
viewportWidth?: number;
|
|
@@ -1587,8 +1592,10 @@ export declare const CodeGenToolMapSchema: z.ZodObject<{
|
|
|
1587
1592
|
milestone: "milestone";
|
|
1588
1593
|
navigation: "navigation";
|
|
1589
1594
|
observation: "observation";
|
|
1595
|
+
verified: "verified";
|
|
1590
1596
|
}>>;
|
|
1591
1597
|
description: z.ZodOptional<z.ZodString>;
|
|
1598
|
+
pr_highlight: z.ZodOptional<z.ZodBoolean>;
|
|
1592
1599
|
}, z.core.$strip>;
|
|
1593
1600
|
SubmitPRReview: z.ZodObject<{
|
|
1594
1601
|
summary: z.ZodString;
|
package/src/codegen.js
CHANGED
|
@@ -609,6 +609,7 @@ export const TimelineEventCategorySchema = z
|
|
|
609
609
|
"milestone",
|
|
610
610
|
"code-change",
|
|
611
611
|
"observation",
|
|
612
|
+
"verified",
|
|
612
613
|
])
|
|
613
614
|
.meta({ title: "TimelineEventCategory" });
|
|
614
615
|
export const TestOutcomeSchema = z
|
|
@@ -642,6 +643,9 @@ export const RecordFrameToolInputSchema = z
|
|
|
642
643
|
description: z.string().optional().meta({
|
|
643
644
|
description: "Optional longer description providing context about what this frame shows.",
|
|
644
645
|
}),
|
|
646
|
+
pr_highlight: z.boolean().optional().meta({
|
|
647
|
+
description: "Set true to mark this as a 'verified screenshot' worth showing in the PR description — i.e. visual proof of how the fix/feature behaves. Use sparingly (1–3 per session) for the key moments that demonstrate the feature working. The title is used as the caption.",
|
|
648
|
+
}),
|
|
645
649
|
})
|
|
646
650
|
.meta({ title: "RecordFrameToolInput" });
|
|
647
651
|
export const ReportTestOutcomeToolInputSchema = z
|
package/src/projects.d.ts
CHANGED
|
@@ -880,6 +880,8 @@ export interface ProjectDatabase {
|
|
|
880
880
|
role: string;
|
|
881
881
|
/** @internal Plaintext credential — Firestore IAM enforces access. Never serialize to client responses. */
|
|
882
882
|
password: string;
|
|
883
|
+
/** Database name (white-labeled to "main"); needed to build connection URIs. */
|
|
884
|
+
database: string;
|
|
883
885
|
region: string;
|
|
884
886
|
createdAt: number;
|
|
885
887
|
createdBy: string;
|