@builder.io/ai-utils 0.74.2 → 0.74.3

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.74.2",
3
+ "version": "0.74.3",
4
4
  "description": "Builder.io AI utils",
5
5
  "files": [
6
6
  "src"
package/src/codegen.d.ts CHANGED
@@ -1367,15 +1367,6 @@ export declare const IDEDiagnosticsToolInputSchema: z.ZodObject<{
1367
1367
  file_path: z.ZodOptional<z.ZodString>;
1368
1368
  }, z.core.$strip>;
1369
1369
  export type IDEDiagnosticsToolInput = z.infer<typeof IDEDiagnosticsToolInputSchema>;
1370
- export declare const GetCodegenEventToolInputSchema: z.ZodObject<{
1371
- event_id: z.ZodString;
1372
- }, z.core.$strip>;
1373
- export type GetCodegenEventToolInput = z.infer<typeof GetCodegenEventToolInputSchema>;
1374
- export declare const ListCodegenSessionEventsToolInputSchema: z.ZodObject<{
1375
- session_or_event_id: z.ZodString;
1376
- limit: z.ZodOptional<z.ZodNumber>;
1377
- }, z.core.$strip>;
1378
- export type ListCodegenSessionEventsToolInput = z.infer<typeof ListCodegenSessionEventsToolInputSchema>;
1379
1370
  export declare const PullPrototypeToolInputSchema: z.ZodObject<{
1380
1371
  url: z.ZodString;
1381
1372
  project_id: z.ZodOptional<z.ZodString>;
@@ -1970,13 +1961,6 @@ export declare const CodeGenToolMapSchema: z.ZodObject<{
1970
1961
  draft: z.ZodOptional<z.ZodBoolean>;
1971
1962
  }, z.core.$strip>;
1972
1963
  GenerateDesignSystemAgentMd: z.ZodObject<{}, z.core.$strip>;
1973
- GetCodegenEvent: z.ZodObject<{
1974
- event_id: z.ZodString;
1975
- }, z.core.$strip>;
1976
- ListCodegenSessionEvents: z.ZodObject<{
1977
- session_or_event_id: z.ZodString;
1978
- limit: z.ZodOptional<z.ZodNumber>;
1979
- }, z.core.$strip>;
1980
1964
  }, z.core.$strip>;
1981
1965
  export type CodeGenToolMap = z.infer<typeof CodeGenToolMapSchema>;
1982
1966
  export declare const CodeGenToolsSchema: z.ZodEnum<{
@@ -2002,14 +1986,12 @@ export declare const CodeGenToolsSchema: z.ZodEnum<{
2002
1986
  FindMedia: "FindMedia";
2003
1987
  GenerateDesignSystemAgentMd: "GenerateDesignSystemAgentMd";
2004
1988
  GetAvailableRepos: "GetAvailableRepos";
2005
- GetCodegenEvent: "GetCodegenEvent";
2006
1989
  GetLastBrowserTest: "GetLastBrowserTest";
2007
1990
  GetScreenshot: "GetScreenshot";
2008
1991
  GetStyleInspiration: "GetStyleInspiration";
2009
1992
  Glob: "Glob";
2010
1993
  Grep: "Grep";
2011
1994
  IDEDiagnostics: "IDEDiagnostics";
2012
- ListCodegenSessionEvents: "ListCodegenSessionEvents";
2013
1995
  Media: "Media";
2014
1996
  MultiEdit: "MultiEdit";
2015
1997
  NavigatePreview: "NavigatePreview";
@@ -2727,14 +2709,12 @@ export declare const CodeGenInputOptionsSchema: z.ZodObject<{
2727
2709
  FindMedia: "FindMedia";
2728
2710
  GenerateDesignSystemAgentMd: "GenerateDesignSystemAgentMd";
2729
2711
  GetAvailableRepos: "GetAvailableRepos";
2730
- GetCodegenEvent: "GetCodegenEvent";
2731
2712
  GetLastBrowserTest: "GetLastBrowserTest";
2732
2713
  GetScreenshot: "GetScreenshot";
2733
2714
  GetStyleInspiration: "GetStyleInspiration";
2734
2715
  Glob: "Glob";
2735
2716
  Grep: "Grep";
2736
2717
  IDEDiagnostics: "IDEDiagnostics";
2737
- ListCodegenSessionEvents: "ListCodegenSessionEvents";
2738
2718
  Media: "Media";
2739
2719
  MultiEdit: "MultiEdit";
2740
2720
  NavigatePreview: "NavigatePreview";
package/src/codegen.js CHANGED
@@ -1453,23 +1453,6 @@ export const IDEDiagnosticsToolInputSchema = z
1453
1453
  }),
1454
1454
  })
1455
1455
  .meta({ title: "IDEDiagnosticsToolInput" });
1456
- export const GetCodegenEventToolInputSchema = z
1457
- .object({
1458
- event_id: z.string().meta({
1459
- description: "The codegen event ID to load (e.g. cgen-<eventId>).",
1460
- }),
1461
- })
1462
- .meta({ title: "GetCodegenEventToolInput" });
1463
- export const ListCodegenSessionEventsToolInputSchema = z
1464
- .object({
1465
- session_or_event_id: z.string().meta({
1466
- description: "A session ID or codegen event ID. When an event ID is given, its session is resolved first.",
1467
- }),
1468
- limit: z.number().optional().meta({
1469
- description: "Maximum number of events to return.",
1470
- }),
1471
- })
1472
- .meta({ title: "ListCodegenSessionEventsToolInput" });
1473
1456
  export const PullPrototypeToolInputSchema = z
1474
1457
  .object({
1475
1458
  url: z.string().meta({
@@ -1577,8 +1560,6 @@ export const CodeGenToolMapSchema = z.object({
1577
1560
  ConnectMCP: ConnectMCPToolInputSchema,
1578
1561
  EnsurePR: EnsurePRToolInputSchema,
1579
1562
  GenerateDesignSystemAgentMd: GenerateDesignSystemAgentMdInputSchema,
1580
- GetCodegenEvent: GetCodegenEventToolInputSchema,
1581
- ListCodegenSessionEvents: ListCodegenSessionEventsToolInputSchema,
1582
1563
  });
1583
1564
  export const CodeGenToolsSchema = CodeGenToolMapSchema.keyof().meta({
1584
1565
  title: "CodeGenTools",