@builder.io/ai-utils 0.45.0 → 0.45.1

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.45.0",
3
+ "version": "0.45.1",
4
4
  "description": "Builder.io AI utils",
5
5
  "files": [
6
6
  "src"
package/src/projects.d.ts CHANGED
@@ -796,7 +796,7 @@ export interface WebhookConfig {
796
796
  }
797
797
  export interface CreateBranchOptions {
798
798
  projectId: string;
799
- userMessage: GenerateUserMessage;
799
+ userMessage?: GenerateUserMessage;
800
800
  devToolsVersion?: string;
801
801
  webhook?: WebhookConfig;
802
802
  branchFriendlyName?: string;
@@ -820,6 +820,8 @@ export interface CreateBranchOptions {
820
820
  metadata?: Record<string, unknown>;
821
821
  /** The git branch name this Fusion branch corresponds to (used by push/pull CLI commands) */
822
822
  gitAiBranch?: string | null;
823
+ /** Contextual information (e.g., a git diff) used by the backend to generate a friendly branch name via LLM */
824
+ branchContext?: string;
823
825
  }
824
826
  interface BaseCreateBranchMessage {
825
827
  }