@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/ai-utils",
3
- "version": "0.21.1",
3
+ "version": "0.21.2",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
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
@@ -540,6 +540,7 @@ export interface Project {
540
540
  instructions?: string;
541
541
  };
542
542
  postMergeMemories?: boolean;
543
+ commitInstructions?: string;
543
544
  httpsServerKeyPath?: string;
544
545
  httpsServerCertPath?: string;
545
546
  httpsServerCaPath?: string;