@builder.io/ai-utils 0.79.3 → 0.80.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 +1 -0
- package/src/design-systems.d.ts +1 -0
- package/src/design-systems.js +1 -0
- package/src/events.d.ts +10 -0
- package/src/organization.d.ts +1 -0
- package/src/projects.d.ts +1 -0
package/package.json
CHANGED
package/src/codegen.d.ts
CHANGED
package/src/design-systems.d.ts
CHANGED
|
@@ -99,6 +99,7 @@ export declare const uploadTokenPayloadSchema: z.ZodObject<{
|
|
|
99
99
|
mimetype: z.ZodString;
|
|
100
100
|
originalName: z.ZodString;
|
|
101
101
|
idx: z.ZodNumber;
|
|
102
|
+
declaredSize: z.ZodOptional<z.ZodNumber>;
|
|
102
103
|
}, z.core.$strip>;
|
|
103
104
|
export type UploadTokenPayload = z.infer<typeof uploadTokenPayloadSchema>;
|
|
104
105
|
export interface UploadStartResponseItem {
|
package/src/design-systems.js
CHANGED
|
@@ -71,6 +71,7 @@ export const uploadTokenPayloadSchema = z.object({
|
|
|
71
71
|
mimetype: z.string().min(1),
|
|
72
72
|
originalName: z.string().min(1),
|
|
73
73
|
idx: z.number().int().nonnegative(),
|
|
74
|
+
declaredSize: z.number().int().nonnegative().optional(),
|
|
74
75
|
});
|
|
75
76
|
/**
|
|
76
77
|
* Request body for the signed-URL variant of `POST /design-systems/v1/generate`.
|
package/src/events.d.ts
CHANGED
|
@@ -397,6 +397,8 @@ export interface ThreadMessageCompleted extends AssistantMessage {
|
|
|
397
397
|
commitId?: string;
|
|
398
398
|
creditsUsed?: number;
|
|
399
399
|
model?: string;
|
|
400
|
+
/** Pass to `/codegen/sessions/set-last-completion` to revert the session to this turn. */
|
|
401
|
+
codegenId?: string;
|
|
400
402
|
}
|
|
401
403
|
export interface ThreadRunStepDeltaEvent {
|
|
402
404
|
type: "assistant.thread.run.step.delta";
|
|
@@ -1104,6 +1106,14 @@ export interface FigmaFrameManifestEntry {
|
|
|
1104
1106
|
htmlSizeBytes: number;
|
|
1105
1107
|
/** True if this frame's HTML upload failed after retry; HTML may be missing. */
|
|
1106
1108
|
uploadError?: boolean;
|
|
1109
|
+
/**
|
|
1110
|
+
* Deterministically extracted component names from `data-component-name`
|
|
1111
|
+
* attributes in this frame's HTML. Populated during the decode job while the
|
|
1112
|
+
* HTML is already in memory. Used by the discovery agent as a guaranteed
|
|
1113
|
+
* floor — additional components may exist in the codebase that are not
|
|
1114
|
+
* represented in the Figma file.
|
|
1115
|
+
*/
|
|
1116
|
+
componentNames?: string[];
|
|
1107
1117
|
}
|
|
1108
1118
|
export interface FigmaFrameAsset {
|
|
1109
1119
|
/** Bucket-relative GCS path. */
|
package/src/organization.d.ts
CHANGED
package/src/projects.d.ts
CHANGED
|
@@ -635,6 +635,7 @@ export interface ProjectRolePermissions {
|
|
|
635
635
|
modifyMcpServers?: boolean;
|
|
636
636
|
modifyWorkflowIntegrations?: boolean;
|
|
637
637
|
modifyProjectSettings?: boolean;
|
|
638
|
+
fusionHostingPublish?: boolean;
|
|
638
639
|
}
|
|
639
640
|
export interface ProjectAccessControl {
|
|
640
641
|
roles: Record<string, ProjectRolePermissions | null>;
|