@builder.io/ai-utils 0.21.1 → 0.22.0
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 -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";
|
|
@@ -914,6 +916,7 @@ export interface UserSourceBase {
|
|
|
914
916
|
}
|
|
915
917
|
export interface UserSourceOther extends UserSourceBase {
|
|
916
918
|
source: "slack" | "teams" | "jira" | "linear";
|
|
919
|
+
/** User ID from the external platform (Slack user ID, Jira account ID, etc.) */
|
|
917
920
|
userId?: string;
|
|
918
921
|
userName?: string;
|
|
919
922
|
userEmail?: string;
|
|
@@ -1876,6 +1879,8 @@ export interface CommitMessageRequest {
|
|
|
1876
1879
|
recentCommits: string[];
|
|
1877
1880
|
/** Whether to generate a long commit message */
|
|
1878
1881
|
longCommit?: boolean;
|
|
1882
|
+
/** Project ID for fetching project-specific commit instructions */
|
|
1883
|
+
projectId?: string;
|
|
1879
1884
|
}
|
|
1880
1885
|
/**
|
|
1881
1886
|
* Response from commit message generation
|
package/src/projects.d.ts
CHANGED