@builder.io/ai-utils 0.11.3 → 0.11.5
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 +32 -18
package/package.json
CHANGED
package/src/codegen.d.ts
CHANGED
|
@@ -608,48 +608,42 @@ export interface ApplyActionsResult {
|
|
|
608
608
|
content?: string;
|
|
609
609
|
oldContent?: string;
|
|
610
610
|
}
|
|
611
|
-
export
|
|
611
|
+
export type UserSourcePermission = "editCode" | "modifyMcpServers" | "modifyProjectSettings" | "createBranches" | "sendPullRequests" | "view";
|
|
612
|
+
export interface UserSourceBase {
|
|
613
|
+
role: "user" | "agent";
|
|
614
|
+
principals?: string[];
|
|
615
|
+
permissions?: UserSourcePermission[];
|
|
616
|
+
}
|
|
617
|
+
export interface UserSourceBuilder extends UserSourceBase {
|
|
612
618
|
source: "builder.io";
|
|
613
619
|
userId?: string;
|
|
614
620
|
userName?: string;
|
|
615
621
|
userEmail?: string;
|
|
616
|
-
role: "user" | "agent";
|
|
617
622
|
photoURL?: string;
|
|
618
|
-
principals?: string[];
|
|
619
623
|
}
|
|
620
|
-
export interface UserSourceGithub {
|
|
624
|
+
export interface UserSourceGithub extends UserSourceBase {
|
|
621
625
|
source: "github";
|
|
622
626
|
userName: string;
|
|
623
627
|
userEmail?: string;
|
|
624
628
|
link?: string;
|
|
625
|
-
role: "user" | "agent";
|
|
626
|
-
principals?: string[];
|
|
627
629
|
}
|
|
628
|
-
export interface UserSourceGitlab {
|
|
630
|
+
export interface UserSourceGitlab extends UserSourceBase {
|
|
629
631
|
source: "gitlab";
|
|
630
632
|
userName: string;
|
|
631
633
|
link?: string;
|
|
632
|
-
role: "user" | "agent";
|
|
633
|
-
principals?: string[];
|
|
634
634
|
}
|
|
635
|
-
export interface UserSourceAzure {
|
|
635
|
+
export interface UserSourceAzure extends UserSourceBase {
|
|
636
636
|
source: "azure";
|
|
637
637
|
userName: string;
|
|
638
638
|
link?: string;
|
|
639
|
-
role: "user" | "agent";
|
|
640
|
-
principals?: string[];
|
|
641
639
|
}
|
|
642
|
-
export interface UserSourceBitbucket {
|
|
640
|
+
export interface UserSourceBitbucket extends UserSourceBase {
|
|
643
641
|
source: "bitbucket";
|
|
644
642
|
userName: string;
|
|
645
643
|
link?: string;
|
|
646
|
-
role: "user" | "agent";
|
|
647
|
-
principals?: string[];
|
|
648
644
|
}
|
|
649
|
-
export interface UserSourceAgent {
|
|
645
|
+
export interface UserSourceAgent extends UserSourceBase {
|
|
650
646
|
source: "agent";
|
|
651
|
-
role: "agent" | "user";
|
|
652
|
-
principals?: string[];
|
|
653
647
|
}
|
|
654
648
|
export type UserSource = UserSourceBuilder | UserSourceGithub | UserSourceGitlab | UserSourceAzure | UserSourceBitbucket | UserSourceAgent;
|
|
655
649
|
export interface GenerateUserMessage {
|
|
@@ -976,6 +970,26 @@ export interface FusionConfig {
|
|
|
976
970
|
autoDetectDevServer?: boolean;
|
|
977
971
|
autoDetectDevServerPatterns?: string[];
|
|
978
972
|
runInPty?: boolean;
|
|
973
|
+
httpsServerFiles?: {
|
|
974
|
+
key?: string;
|
|
975
|
+
cert?: string;
|
|
976
|
+
ca?: string;
|
|
977
|
+
};
|
|
978
|
+
httpsServerOptions?: {
|
|
979
|
+
key?: string;
|
|
980
|
+
cert?: string;
|
|
981
|
+
ca?: string;
|
|
982
|
+
pfx?: string;
|
|
983
|
+
passphrase?: string;
|
|
984
|
+
secureProtocol?: string;
|
|
985
|
+
secureOptions?: number;
|
|
986
|
+
ciphers?: string;
|
|
987
|
+
honorCipherOrder?: boolean;
|
|
988
|
+
requestCert?: boolean;
|
|
989
|
+
rejectUnauthorized?: boolean;
|
|
990
|
+
};
|
|
991
|
+
localHttpsDomain?: string;
|
|
992
|
+
https?: boolean;
|
|
979
993
|
/** @deprecated use devCommand */
|
|
980
994
|
command?: string;
|
|
981
995
|
}
|