@builder.io/ai-utils 0.7.2 → 0.7.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.7.2",
3
+ "version": "0.7.3",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/codegen.d.ts CHANGED
@@ -438,6 +438,7 @@ export interface CodeGenHealthStatus {
438
438
  proxyServer: string | undefined;
439
439
  devCommand: string | undefined;
440
440
  setupCommand: string | undefined;
441
+ hasMergeConflict: boolean;
441
442
  logs: string | undefined;
442
443
  prompt: string;
443
444
  message: string;
@@ -515,6 +516,7 @@ export interface GenerateCompletionStepGit {
515
516
  canSync: boolean;
516
517
  ahead: number;
517
518
  behind: number;
519
+ hasMergeConflict: boolean;
518
520
  currentCommit: string;
519
521
  currentBranch: string;
520
522
  remoteBranch: string;
@@ -687,6 +689,7 @@ export interface CodegenFeedback {
687
689
  afterCommit?: string;
688
690
  linesOfCodeAdded?: number;
689
691
  linesOfCodeRemoved?: number;
692
+ commitFailed?: boolean;
690
693
  position?: CodeGenPosition;
691
694
  }
692
695
  export interface CodegenSetLastCompletion {
@@ -770,6 +773,7 @@ export interface BranchBackup {
770
773
  at: number;
771
774
  size: number;
772
775
  gitBranchName: string;
776
+ initialBranch: string | undefined;
773
777
  initialCommitHash: string | undefined;
774
778
  lastCommitHash: string;
775
779
  partial: boolean;
@@ -779,6 +783,7 @@ export interface BranchBackup {
779
783
  repoUrl: string;
780
784
  version?: "v1" | "v2";
781
785
  forced: ForcedBackup;
786
+ metadata?: Record<string, any>;
782
787
  }
783
788
  export interface CheckBackupDataResultValid {
784
789
  state: "valid";
package/src/projects.d.ts CHANGED
@@ -182,6 +182,7 @@ export interface GitBackupRecordOptions {
182
182
  branchName: string;
183
183
  size: number;
184
184
  gitBranchName: string;
185
+ initialBranch: string;
185
186
  initialCommitHash: string | undefined;
186
187
  lastCommitHash: string;
187
188
  partial: boolean;
@@ -191,6 +192,7 @@ export interface GitBackupRecordOptions {
191
192
  repoUrl: string;
192
193
  version: "v1" | "v2";
193
194
  forced: ForcedBackup;
195
+ metadata?: Record<string, string | undefined>;
194
196
  }
195
197
  export interface GitBackupRecordResult {
196
198
  success: boolean;
@@ -73,4 +73,7 @@ export interface DesignSystem {
73
73
  status: "in-progress" | "completed" | "failed";
74
74
  scope: DesignSystemScope;
75
75
  }
76
+ export interface DisplayDesignSystem extends DesignSystem {
77
+ docCount: number;
78
+ }
76
79
  export {};