@builder.io/ai-utils 0.8.2 → 0.8.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.8.2",
3
+ "version": "0.8.3",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/codegen.d.ts CHANGED
@@ -157,6 +157,7 @@ export interface GetScreenshotToolInput {
157
157
  export interface WebFetchToolInput {
158
158
  url: string;
159
159
  prompt?: string;
160
+ include_styles?: boolean;
160
161
  }
161
162
  export interface SetImportantFilesToolInput {
162
163
  important_files: {
@@ -238,6 +239,7 @@ export interface CodeGenInputOptions {
238
239
  redactUserMessages?: boolean;
239
240
  redactLLMMessages?: boolean;
240
241
  environmentVariables?: EnvironmentVariable[];
242
+ dirtyEnvironmentVariables?: boolean;
241
243
  builderContent?: BuilderContent;
242
244
  framework?: CodeGenFramework;
243
245
  styleLibrary?: CodeGenStyleLibrary;
@@ -684,6 +686,7 @@ export interface CodegenTurn {
684
686
  userMessage: GenerateUserMessage | undefined;
685
687
  beforeCommit: string | undefined;
686
688
  afterCommit: string | undefined;
689
+ lastCommit: string | undefined;
687
690
  cachedToolResults?: ContentMessageItemToolResult[];
688
691
  autoContinue: boolean;
689
692
  }
@@ -712,6 +715,17 @@ export interface CodegenFeedback {
712
715
  commitFailed?: boolean;
713
716
  position?: CodeGenPosition;
714
717
  }
718
+ export interface CodegenFinalize {
719
+ sessionId: string;
720
+ completionId?: string;
721
+ projectId?: string;
722
+ branchName?: string;
723
+ userCompletionId?: string;
724
+ beforeCommit?: string;
725
+ afterCommit?: string;
726
+ lastCommit?: string;
727
+ commitFailed?: boolean;
728
+ }
715
729
  export interface CodegenSetLastCompletion {
716
730
  sessionId: string;
717
731
  lastCompletionId: string | undefined;
@@ -937,6 +951,7 @@ export interface FusionConfig {
937
951
  machine?: RemoteMachineConfig;
938
952
  _attemptDryRunBackupGit?: boolean;
939
953
  mode?: Mode;
954
+ autoDetectDevServer?: boolean;
940
955
  /** @deprecated use devCommand */
941
956
  command?: string;
942
957
  }
@@ -49,20 +49,12 @@ export interface AddDesignSystemInput {
49
49
  }
50
50
  export interface UpdateDesignSystemInput {
51
51
  id: string;
52
- designSystemName: string;
53
- scope: DesignSystemScope;
52
+ designSystemName?: string;
53
+ scope?: DesignSystemScope;
54
54
  designSystemPackage?: string;
55
55
  designSystemVersion?: string;
56
56
  status?: "in-progress" | "completed" | "failed";
57
57
  }
58
- export interface UpdateDesignSystemScopeInput {
59
- id: string;
60
- scope: DesignSystemScope;
61
- }
62
- export interface UpdateDesignSystemNameInput {
63
- id: string;
64
- designSystemName: string;
65
- }
66
58
  export interface DesignSystem {
67
59
  id: string;
68
60
  spaceId: string;