@builder.io/ai-utils 0.5.22 → 0.5.24

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.5.22",
3
+ "version": "0.5.24",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/codegen.d.ts CHANGED
@@ -120,7 +120,6 @@ export interface TodoWriteToolInput {
120
120
  todos: {
121
121
  content: string;
122
122
  status: "pending" | "in_progress" | "completed";
123
- priority: "high" | "medium" | "low";
124
123
  id: string;
125
124
  }[];
126
125
  }
@@ -633,6 +632,8 @@ export interface CodegenFeedback {
633
632
  acceptedLines?: number;
634
633
  beforeCommit?: string;
635
634
  afterCommit?: string;
635
+ linesOfCodeAdded?: number;
636
+ linesOfCodeRemoved?: number;
636
637
  }
637
638
  export interface CodegenSetLastCompletion {
638
639
  sessionId: string;
@@ -717,6 +718,7 @@ export interface BranchBackup {
717
718
  status: "initiated" | "completed";
718
719
  contentMd5?: string;
719
720
  empty?: boolean;
721
+ repoUrl: string;
720
722
  version?: "v1" | "v2";
721
723
  }
722
724
  export interface CheckBackupDataResultValid {
@@ -727,7 +729,7 @@ export interface CheckBackupDataResultValid {
727
729
  }
728
730
  export interface CheckBackupDataResultInvalid {
729
731
  hasValidBackup: false;
730
- outcome: "valid" | "no-backup" | "hash-mismatch" | "error" | "not-completed" | "no-session-id" | "no-last-commit-hash" | "no-backup-file" | "empty-full-backup" | "no-vcpCodeGenEvent" | "no-after-commit" | "no-signed-url" | "no-git-branch-name" | "branch-uninitialized";
732
+ outcome: "valid" | "no-backup" | "hash-mismatch" | "error" | "not-completed" | "no-session-id" | "no-last-commit-hash" | "no-backup-file" | "empty-full-backup" | "no-vcpCodeGenEvent" | "no-after-commit" | "no-signed-url" | "no-git-branch-name" | "repo-url-mismatch" | "branch-uninitialized";
731
733
  message: string;
732
734
  backup: BranchBackup | undefined;
733
735
  }
@@ -740,6 +742,7 @@ export interface WorkspaceFolder {
740
742
  enableGit?: boolean;
741
743
  path: string;
742
744
  name?: string;
745
+ originalRepoUrl?: string;
743
746
  repoUrl?: string;
744
747
  repoName?: string;
745
748
  branchName?: string;
package/src/projects.d.ts CHANGED
@@ -189,6 +189,7 @@ export interface GitBackupRecordOptions {
189
189
  empty: boolean;
190
190
  status: "completed";
191
191
  contentMd5?: string;
192
+ repoUrl: string;
192
193
  version: "v1" | "v2";
193
194
  }
194
195
  export interface GitBackupRecordResult {