@builder.io/ai-utils 0.21.1 → 0.21.2
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 +4 -0
- package/src/projects.d.ts +1 -0
package/package.json
CHANGED
package/src/codegen.d.ts
CHANGED
|
@@ -802,6 +802,7 @@ export interface GenerateCompletionStepGit {
|
|
|
802
802
|
isSessionDirty: boolean;
|
|
803
803
|
hasGeneratingPlaceholder: boolean;
|
|
804
804
|
remoteBranchExists: boolean;
|
|
805
|
+
remoteBranchHasChanges: boolean;
|
|
805
806
|
canPush: boolean;
|
|
806
807
|
canPull: boolean;
|
|
807
808
|
canSync: boolean;
|
|
@@ -813,6 +814,7 @@ export interface GenerateCompletionStepGit {
|
|
|
813
814
|
currentBranch: string;
|
|
814
815
|
remoteBranch: string;
|
|
815
816
|
pendingValidation: boolean;
|
|
817
|
+
unmergedFiles: string[];
|
|
816
818
|
}
|
|
817
819
|
export interface GenerateCompletionStepClose {
|
|
818
820
|
type: "close";
|
|
@@ -1876,6 +1878,8 @@ export interface CommitMessageRequest {
|
|
|
1876
1878
|
recentCommits: string[];
|
|
1877
1879
|
/** Whether to generate a long commit message */
|
|
1878
1880
|
longCommit?: boolean;
|
|
1881
|
+
/** Project ID for fetching project-specific commit instructions */
|
|
1882
|
+
projectId?: string;
|
|
1879
1883
|
}
|
|
1880
1884
|
/**
|
|
1881
1885
|
* Response from commit message generation
|
package/src/projects.d.ts
CHANGED