@builder.io/ai-utils 0.45.0 → 0.46.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 +1 -1
- package/src/projects.d.ts +3 -1
package/package.json
CHANGED
package/src/codegen.d.ts
CHANGED
|
@@ -416,7 +416,7 @@ export interface UpdateSetupValueToolInput {
|
|
|
416
416
|
};
|
|
417
417
|
reason: string;
|
|
418
418
|
}
|
|
419
|
-
export type ExitState = "verified" | "no-frontend" | "empty-project" | "user-question" | "other" | "started";
|
|
419
|
+
export type ExitState = "verified" | "no-frontend" | "empty-project" | "mobile-project" | "user-question" | "other" | "started";
|
|
420
420
|
export interface ExitToolInput {
|
|
421
421
|
state: ExitState;
|
|
422
422
|
summary: string;
|
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
|
|
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
|
}
|