@builder.io/ai-utils 0.100.2 → 0.101.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/ai-utils",
3
- "version": "0.100.2",
3
+ "version": "0.101.0",
4
4
  "description": "Builder.io AI utils",
5
5
  "files": [
6
6
  "src"
package/src/projects.d.ts CHANGED
@@ -2602,6 +2602,8 @@ export declare const ProjectHostingSchema: z.ZodObject<{
2602
2602
  skip: "skip";
2603
2603
  }>>;
2604
2604
  configUpdatedAt: z.ZodOptional<z.ZodNumber>;
2605
+ originLockPendingAt: z.ZodOptional<z.ZodString>;
2606
+ originLockedAt: z.ZodOptional<z.ZodString>;
2605
2607
  }, z.core.$strip>;
2606
2608
  export type ProjectHosting = z.infer<typeof ProjectHostingSchema>;
2607
2609
  /**
@@ -3177,6 +3179,7 @@ export declare const DeploySchema: z.ZodObject<{
3177
3179
  uploading: "uploading";
3178
3180
  }>;
3179
3181
  netlifyDeployId: z.ZodOptional<z.ZodString>;
3182
+ netlifyOriginLockCodeSha: z.ZodOptional<z.ZodString>;
3180
3183
  url: z.ZodOptional<z.ZodString>;
3181
3184
  migrationApplied: z.ZodOptional<z.ZodBoolean>;
3182
3185
  error: z.ZodOptional<z.ZodString>;
@@ -4406,6 +4409,8 @@ export declare const ProjectTemplateSchema: z.ZodObject<{
4406
4409
  skip: "skip";
4407
4410
  }>>;
4408
4411
  configUpdatedAt: z.ZodOptional<z.ZodNumber>;
4412
+ originLockPendingAt: z.ZodOptional<z.ZodString>;
4413
+ originLockedAt: z.ZodOptional<z.ZodString>;
4409
4414
  }, z.core.$strip>>;
4410
4415
  }, z.core.$strip>;
4411
4416
  export type ProjectTemplate = z.infer<typeof ProjectTemplateSchema>;
package/src/projects.js CHANGED
@@ -1256,6 +1256,12 @@ export const ProjectHostingSchema = z.object({
1256
1256
  configUpdatedAt: z.number().optional().meta({
1257
1257
  description: "Epoch ms of the last change to a hosting field that requires a redeploy. Compare against `lastDeployAt`.",
1258
1258
  }),
1259
+ originLockPendingAt: z.string().optional().meta({
1260
+ description: "ISO timestamp when origin-lock activation began. Route reconcilers preserve the header until activation completes.",
1261
+ }),
1262
+ originLockedAt: z.string().optional().meta({
1263
+ description: "ISO timestamp of the first successful origin-locked deploy. Absent means activation has not completed.",
1264
+ }),
1259
1265
  });
1260
1266
  /**
1261
1267
  * Mask of the hosting sub-fields a client may write via `PATCH`. Everything
@@ -1450,6 +1456,9 @@ export const DeploySchema = z.object({
1450
1456
  }),
1451
1457
  status: DeployStatusSchema,
1452
1458
  netlifyDeployId: z.string().optional(),
1459
+ netlifyOriginLockCodeSha: z.string().optional().meta({
1460
+ description: "Origin-lock edge-function SHA declared when the persisted Netlify deploy was created.",
1461
+ }),
1453
1462
  url: z.string().optional(),
1454
1463
  migrationApplied: z.boolean().optional().meta({
1455
1464
  description: "Whether Drizzle migrations were applied during this deploy. Absent when no migration ran.",
@@ -18,6 +18,16 @@ export const PUBLISH_AGENT_SKILLS_INFO = [
18
18
  name: "create-page",
19
19
  description: "Create a new page in the Builder CMS space. Use when the user asks to create, add, or scaffold a new page.",
20
20
  },
21
+ {
22
+ id: "publish-agent-skill-scaffold-site",
23
+ name: "scaffold-site",
24
+ description: "Plan and scaffold a site's information architecture from a CSV, sitemap, or existing-site URL, with a review step before implementation.",
25
+ },
26
+ {
27
+ id: "publish-agent-skill-import-records",
28
+ name: "import-records",
29
+ description: "Import records from an attached CSV into an existing Builder model, with column mapping and a row preview before execution.",
30
+ },
21
31
  ];
22
32
  export const PublishAgentSessionCursorSchema = z
23
33
  .object({