@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 +1 -1
- package/src/codegen.d.ts +5 -2
- package/src/projects.d.ts +1 -0
package/package.json
CHANGED
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;
|