@builder.io/ai-utils 0.98.0 → 0.100.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 +64 -22
- package/src/codegen.js +26 -16
- package/src/editor-ai.d.ts +4 -0
- package/src/editor-ai.js +8 -0
- package/src/events.d.ts +27 -2
- package/src/events.js +8 -0
- package/src/projects.d.ts +1246 -8
- package/src/projects.js +92 -11
- package/src/projects.test.js +40 -1
- package/src/publish-agent.d.ts +13 -0
- package/src/publish-agent.js +20 -0
- package/src/realtime.d.ts +118 -3
- package/src/realtime.js +70 -3
- package/src/realtime.spec.js +53 -5
package/src/projects.d.ts
CHANGED
|
@@ -843,6 +843,14 @@ export declare const ShapeAnswerSchema: z.ZodObject<{
|
|
|
843
843
|
guessOptionId: z.ZodOptional<z.ZodString>;
|
|
844
844
|
}, z.core.$strip>;
|
|
845
845
|
export type ShapeAnswer = z.infer<typeof ShapeAnswerSchema>;
|
|
846
|
+
export declare const ShapeQuestionDecisionSchema: z.ZodObject<{
|
|
847
|
+
questionId: z.ZodString;
|
|
848
|
+
ask: z.ZodBoolean;
|
|
849
|
+
llmOptionId: z.ZodOptional<z.ZodString>;
|
|
850
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
851
|
+
guessOptionId: z.ZodString;
|
|
852
|
+
}, z.core.$strip>;
|
|
853
|
+
export type ShapeQuestionDecision = z.infer<typeof ShapeQuestionDecisionSchema>;
|
|
846
854
|
export declare const ShapeSessionSchema: z.ZodObject<{
|
|
847
855
|
questionnaireId: z.ZodString;
|
|
848
856
|
catalogVersion: z.ZodString;
|
|
@@ -855,10 +863,17 @@ export declare const ShapeSessionSchema: z.ZodObject<{
|
|
|
855
863
|
pending: "pending";
|
|
856
864
|
resolved: "resolved";
|
|
857
865
|
}>;
|
|
858
|
-
selection: z.ZodEnum<{
|
|
866
|
+
selection: z.ZodOptional<z.ZodEnum<{
|
|
859
867
|
fallback: "fallback";
|
|
860
868
|
llm: "llm";
|
|
861
|
-
}
|
|
869
|
+
}>>;
|
|
870
|
+
decisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
871
|
+
questionId: z.ZodString;
|
|
872
|
+
ask: z.ZodBoolean;
|
|
873
|
+
llmOptionId: z.ZodOptional<z.ZodString>;
|
|
874
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
875
|
+
guessOptionId: z.ZodString;
|
|
876
|
+
}, z.core.$strip>>>;
|
|
862
877
|
questions: z.ZodArray<z.ZodObject<{
|
|
863
878
|
id: z.ZodString;
|
|
864
879
|
question: z.ZodString;
|
|
@@ -897,10 +912,22 @@ export declare const ShapeSessionSchema: z.ZodObject<{
|
|
|
897
912
|
llmOptionId: z.ZodOptional<z.ZodString>;
|
|
898
913
|
guessOptionId: z.ZodOptional<z.ZodString>;
|
|
899
914
|
}, z.core.$strip>>>;
|
|
915
|
+
issuedAt: z.ZodOptional<z.ZodString>;
|
|
900
916
|
assembledAt: z.ZodOptional<z.ZodString>;
|
|
901
917
|
resolvedAt: z.ZodOptional<z.ZodString>;
|
|
902
918
|
}, z.core.$strip>;
|
|
903
919
|
export type ShapeSession = z.infer<typeof ShapeSessionSchema>;
|
|
920
|
+
export declare const InitialPromptSchema: z.ZodObject<{
|
|
921
|
+
id: z.ZodString;
|
|
922
|
+
projectId: z.ZodString;
|
|
923
|
+
branchName: z.ZodOptional<z.ZodString>;
|
|
924
|
+
prompt: z.ZodString;
|
|
925
|
+
attachmentIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
926
|
+
createdBy: z.ZodString;
|
|
927
|
+
createdAt: z.ZodNumber;
|
|
928
|
+
deliveredAt: z.ZodOptional<z.ZodNumber>;
|
|
929
|
+
}, z.core.$strip>;
|
|
930
|
+
export type InitialPrompt = z.infer<typeof InitialPromptSchema>;
|
|
904
931
|
export declare const ProjectRolePermissionsSchema: z.ZodObject<{
|
|
905
932
|
view: z.ZodOptional<z.ZodBoolean>;
|
|
906
933
|
editCode: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1317,10 +1344,17 @@ export declare const ProjectSettingsSchema: z.ZodObject<{
|
|
|
1317
1344
|
pending: "pending";
|
|
1318
1345
|
resolved: "resolved";
|
|
1319
1346
|
}>;
|
|
1320
|
-
selection: z.ZodEnum<{
|
|
1347
|
+
selection: z.ZodOptional<z.ZodEnum<{
|
|
1321
1348
|
fallback: "fallback";
|
|
1322
1349
|
llm: "llm";
|
|
1323
|
-
}
|
|
1350
|
+
}>>;
|
|
1351
|
+
decisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1352
|
+
questionId: z.ZodString;
|
|
1353
|
+
ask: z.ZodBoolean;
|
|
1354
|
+
llmOptionId: z.ZodOptional<z.ZodString>;
|
|
1355
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
1356
|
+
guessOptionId: z.ZodString;
|
|
1357
|
+
}, z.core.$strip>>>;
|
|
1324
1358
|
questions: z.ZodArray<z.ZodObject<{
|
|
1325
1359
|
id: z.ZodString;
|
|
1326
1360
|
question: z.ZodString;
|
|
@@ -1359,6 +1393,7 @@ export declare const ProjectSettingsSchema: z.ZodObject<{
|
|
|
1359
1393
|
llmOptionId: z.ZodOptional<z.ZodString>;
|
|
1360
1394
|
guessOptionId: z.ZodOptional<z.ZodString>;
|
|
1361
1395
|
}, z.core.$strip>>>;
|
|
1396
|
+
issuedAt: z.ZodOptional<z.ZodString>;
|
|
1362
1397
|
assembledAt: z.ZodOptional<z.ZodString>;
|
|
1363
1398
|
resolvedAt: z.ZodOptional<z.ZodString>;
|
|
1364
1399
|
}, z.core.$strip>>;
|
|
@@ -1779,6 +1814,8 @@ export interface Project {
|
|
|
1779
1814
|
localPath?: string | null;
|
|
1780
1815
|
/** The state of the project. Use `isProjectDeleted()` helper for backwards-compatible checks. */
|
|
1781
1816
|
state?: EntityState;
|
|
1817
|
+
/** @deprecated Use `state` field instead. Kept for backwards compatibility. */
|
|
1818
|
+
deleted?: boolean;
|
|
1782
1819
|
/** MIGRATION: accepts both string and number during migration period */
|
|
1783
1820
|
deletedAt?: InMigrationDateNullable;
|
|
1784
1821
|
/** User ID of whoever deleted the project. */
|
|
@@ -3381,6 +3418,7 @@ export declare const GetHostingAiUsageResponseSchema: z.ZodObject<{
|
|
|
3381
3418
|
lastUsed: z.ZodOptional<z.ZodNumber>;
|
|
3382
3419
|
createdBy: z.ZodOptional<z.ZodString>;
|
|
3383
3420
|
}, z.core.$strip>>;
|
|
3421
|
+
managedProdEnvKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3384
3422
|
}, z.core.$strip>;
|
|
3385
3423
|
export type GetHostingAiUsageResponse = z.infer<typeof GetHostingAiUsageResponseSchema>;
|
|
3386
3424
|
/** Providers a customer may bring their own key for. */
|
|
@@ -3410,6 +3448,7 @@ export declare const SetHostingAiUsageRequestSchema: z.ZodObject<{
|
|
|
3410
3448
|
openai: "openai";
|
|
3411
3449
|
}>>;
|
|
3412
3450
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
3451
|
+
reuseExistingKey: z.ZodOptional<z.ZodBoolean>;
|
|
3413
3452
|
baseUrl: z.ZodOptional<z.ZodURL>;
|
|
3414
3453
|
}, z.core.$strict>;
|
|
3415
3454
|
export type SetHostingAiUsageRequest = z.infer<typeof SetHostingAiUsageRequestSchema>;
|
|
@@ -3420,6 +3459,7 @@ export declare const SetHostingAiUsageResponseSchema: z.ZodObject<{
|
|
|
3420
3459
|
skip: "skip";
|
|
3421
3460
|
}>;
|
|
3422
3461
|
configUpdatedAt: z.ZodOptional<z.ZodNumber>;
|
|
3462
|
+
managedProdEnvKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3423
3463
|
}, z.core.$strip>;
|
|
3424
3464
|
export type SetHostingAiUsageResponse = z.infer<typeof SetHostingAiUsageResponseSchema>;
|
|
3425
3465
|
/** Body for `POST /projects/hosting/ai-usage/revoke`. */
|
|
@@ -4191,10 +4231,17 @@ export declare const ProjectTemplateSchema: z.ZodObject<{
|
|
|
4191
4231
|
pending: "pending";
|
|
4192
4232
|
resolved: "resolved";
|
|
4193
4233
|
}>;
|
|
4194
|
-
selection: z.ZodEnum<{
|
|
4234
|
+
selection: z.ZodOptional<z.ZodEnum<{
|
|
4195
4235
|
fallback: "fallback";
|
|
4196
4236
|
llm: "llm";
|
|
4197
|
-
}
|
|
4237
|
+
}>>;
|
|
4238
|
+
decisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4239
|
+
questionId: z.ZodString;
|
|
4240
|
+
ask: z.ZodBoolean;
|
|
4241
|
+
llmOptionId: z.ZodOptional<z.ZodString>;
|
|
4242
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
4243
|
+
guessOptionId: z.ZodString;
|
|
4244
|
+
}, z.core.$strip>>>;
|
|
4198
4245
|
questions: z.ZodArray<z.ZodObject<{
|
|
4199
4246
|
id: z.ZodString;
|
|
4200
4247
|
question: z.ZodString;
|
|
@@ -4233,6 +4280,7 @@ export declare const ProjectTemplateSchema: z.ZodObject<{
|
|
|
4233
4280
|
llmOptionId: z.ZodOptional<z.ZodString>;
|
|
4234
4281
|
guessOptionId: z.ZodOptional<z.ZodString>;
|
|
4235
4282
|
}, z.core.$strip>>>;
|
|
4283
|
+
issuedAt: z.ZodOptional<z.ZodString>;
|
|
4236
4284
|
assembledAt: z.ZodOptional<z.ZodString>;
|
|
4237
4285
|
resolvedAt: z.ZodOptional<z.ZodString>;
|
|
4238
4286
|
}, z.core.$strip>>>;
|
|
@@ -4685,9 +4733,25 @@ export declare const ProjectTemplateOverridesSchema: z.ZodObject<{
|
|
|
4685
4733
|
}, z.core.$strip>>;
|
|
4686
4734
|
}, z.core.$strip>;
|
|
4687
4735
|
export type ProjectTemplateOverrides = z.infer<typeof ProjectTemplateOverridesSchema>;
|
|
4688
|
-
|
|
4736
|
+
/** Mirrors `ProjectSourceSchema`'s repo/template split for project creation. */
|
|
4737
|
+
export declare const CreateTemplateSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4738
|
+
kind: z.ZodLiteral<"project">;
|
|
4689
4739
|
sourceProjectId: z.ZodString;
|
|
4690
4740
|
sourceBranchName: z.ZodString;
|
|
4741
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4742
|
+
kind: z.ZodLiteral<"template">;
|
|
4743
|
+
templateId: z.ZodString;
|
|
4744
|
+
}, z.core.$strip>], "kind">;
|
|
4745
|
+
export type CreateTemplateSource = z.infer<typeof CreateTemplateSourceSchema>;
|
|
4746
|
+
export declare const CreateProjectTemplateFromProjectOptionsSchema: z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
|
|
4747
|
+
source: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4748
|
+
kind: z.ZodLiteral<"project">;
|
|
4749
|
+
sourceProjectId: z.ZodString;
|
|
4750
|
+
sourceBranchName: z.ZodString;
|
|
4751
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4752
|
+
kind: z.ZodLiteral<"template">;
|
|
4753
|
+
templateId: z.ZodString;
|
|
4754
|
+
}, z.core.$strip>], "kind">;
|
|
4691
4755
|
overrides: z.ZodOptional<z.ZodObject<{
|
|
4692
4756
|
name: z.ZodOptional<z.ZodString>;
|
|
4693
4757
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -5061,7 +5125,1181 @@ export declare const CreateProjectTemplateFromProjectOptionsSchema: z.ZodObject<
|
|
|
5061
5125
|
autoDeploy: z.ZodOptional<z.ZodBoolean>;
|
|
5062
5126
|
}, z.core.$strip>>;
|
|
5063
5127
|
}, z.core.$strip>>;
|
|
5064
|
-
}, z.core.$strip
|
|
5128
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5129
|
+
sourceProjectId: z.ZodString;
|
|
5130
|
+
sourceBranchName: z.ZodString;
|
|
5131
|
+
overrides: z.ZodOptional<z.ZodObject<{
|
|
5132
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5133
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5134
|
+
repoFullName: z.ZodOptional<z.ZodString>;
|
|
5135
|
+
repoProvider: z.ZodOptional<z.ZodEnum<{
|
|
5136
|
+
azure: "azure";
|
|
5137
|
+
bitbucket: "bitbucket";
|
|
5138
|
+
custom: "custom";
|
|
5139
|
+
github: "github";
|
|
5140
|
+
gitlab: "gitlab";
|
|
5141
|
+
internalHost: "internalHost";
|
|
5142
|
+
selfHostedGithub: "selfHostedGithub";
|
|
5143
|
+
}>>;
|
|
5144
|
+
repoUrl: z.ZodOptional<z.ZodString>;
|
|
5145
|
+
repoPrivate: z.ZodOptional<z.ZodBoolean>;
|
|
5146
|
+
screenshot: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
5147
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
5148
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
5149
|
+
isDefault: z.ZodOptional<z.ZodBoolean>;
|
|
5150
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
5151
|
+
isNativeApp: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
5152
|
+
autoDetectDevServer: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
5153
|
+
autoDetectDevServerPatterns: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
5154
|
+
fusionEnvironment: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
5155
|
+
cloud: "cloud";
|
|
5156
|
+
"cloud-v2": "cloud-v2";
|
|
5157
|
+
"container-less": "container-less";
|
|
5158
|
+
containerized: "containerized";
|
|
5159
|
+
}>>>;
|
|
5160
|
+
devServerPort: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
5161
|
+
installCommand: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5162
|
+
installNpmrc: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
5163
|
+
gitBranchNamingStrategy: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
5164
|
+
"ai-session": "ai-session";
|
|
5165
|
+
"branch-name": "branch-name";
|
|
5166
|
+
custom: "custom";
|
|
5167
|
+
}>>>;
|
|
5168
|
+
hostRequirements: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5169
|
+
name: z.ZodString;
|
|
5170
|
+
checkScript: z.ZodString;
|
|
5171
|
+
installScript: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5172
|
+
installLink: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5173
|
+
platform: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
5174
|
+
linux: "linux";
|
|
5175
|
+
macos: "macos";
|
|
5176
|
+
windows: "windows";
|
|
5177
|
+
}>>>;
|
|
5178
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5179
|
+
}, z.core.$strip>>>>;
|
|
5180
|
+
skills: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
5181
|
+
key: z.ZodString;
|
|
5182
|
+
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5183
|
+
agents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5184
|
+
source: z.ZodString;
|
|
5185
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5186
|
+
key: z.ZodString;
|
|
5187
|
+
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5188
|
+
agents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5189
|
+
type: z.ZodLiteral<"npm">;
|
|
5190
|
+
package: z.ZodString;
|
|
5191
|
+
version: z.ZodOptional<z.ZodString>;
|
|
5192
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5193
|
+
key: z.ZodString;
|
|
5194
|
+
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5195
|
+
agents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5196
|
+
type: z.ZodLiteral<"github">;
|
|
5197
|
+
repo: z.ZodString;
|
|
5198
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
5199
|
+
path: z.ZodOptional<z.ZodString>;
|
|
5200
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5201
|
+
key: z.ZodString;
|
|
5202
|
+
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5203
|
+
agents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5204
|
+
type: z.ZodLiteral<"url">;
|
|
5205
|
+
url: z.ZodString;
|
|
5206
|
+
}, z.core.$strip>]>>>>;
|
|
5207
|
+
gitBranchNamingCustom: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5208
|
+
askUserForBranchName: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
5209
|
+
allowBranchFromRemote: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
5210
|
+
devServerCommand: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5211
|
+
screenshotCommand: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5212
|
+
interactCommand: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5213
|
+
serverTimeout: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
5214
|
+
cpuKind: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
5215
|
+
performance: "performance";
|
|
5216
|
+
shared: "shared";
|
|
5217
|
+
standard: "standard";
|
|
5218
|
+
}>>>;
|
|
5219
|
+
cpus: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>]>>>;
|
|
5220
|
+
memory: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<2048>, z.ZodLiteral<4096>, z.ZodLiteral<8192>, z.ZodLiteral<16384>]>>>;
|
|
5221
|
+
memoryLimit: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1024>, z.ZodLiteral<2048>, z.ZodLiteral<4096>, z.ZodLiteral<8192>, z.ZodLiteral<16384>]>>>;
|
|
5222
|
+
autoStop: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
5223
|
+
off: "off";
|
|
5224
|
+
stop: "stop";
|
|
5225
|
+
suspend: "suspend";
|
|
5226
|
+
}>>>;
|
|
5227
|
+
mainBranchName: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5228
|
+
minMachinesRunning: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
5229
|
+
volumeSize: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<5>, z.ZodLiteral<10>, z.ZodLiteral<12>, z.ZodLiteral<15>, z.ZodLiteral<20>, z.ZodLiteral<25>, z.ZodLiteral<30>, z.ZodLiteral<50>]>>>;
|
|
5230
|
+
includePatterns: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
5231
|
+
errorIgnorePatterns: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
5232
|
+
environmentVariables: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5233
|
+
key: z.ZodString;
|
|
5234
|
+
value: z.ZodString;
|
|
5235
|
+
isSecret: z.ZodBoolean;
|
|
5236
|
+
placeholder: z.ZodOptional<z.ZodBoolean>;
|
|
5237
|
+
explanation: z.ZodOptional<z.ZodString>;
|
|
5238
|
+
}, z.core.$strip>>>>;
|
|
5239
|
+
requiredEnvironmentVariables: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5240
|
+
key: z.ZodString;
|
|
5241
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5242
|
+
optional: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5243
|
+
}, z.core.$strip>>>>;
|
|
5244
|
+
fileOverrides: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodXor<readonly [z.ZodObject<{
|
|
5245
|
+
path: z.ZodString;
|
|
5246
|
+
content: z.ZodString;
|
|
5247
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5248
|
+
path: z.ZodString;
|
|
5249
|
+
base64: z.ZodString;
|
|
5250
|
+
}, z.core.$strip>]>>>>;
|
|
5251
|
+
customInstructions: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5252
|
+
id: z.ZodString;
|
|
5253
|
+
name: z.ZodString;
|
|
5254
|
+
content: z.ZodString;
|
|
5255
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
5256
|
+
"agent-mode": "agent-mode";
|
|
5257
|
+
always: "always";
|
|
5258
|
+
}>>;
|
|
5259
|
+
filePath: z.ZodOptional<z.ZodString>;
|
|
5260
|
+
glob: z.ZodOptional<z.ZodString>;
|
|
5261
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5262
|
+
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5263
|
+
hideUI: z.ZodOptional<z.ZodBoolean>;
|
|
5264
|
+
isSkill: z.ZodOptional<z.ZodBoolean>;
|
|
5265
|
+
disableModelInvocation: z.ZodOptional<z.ZodBoolean>;
|
|
5266
|
+
userInvocable: z.ZodOptional<z.ZodBoolean>;
|
|
5267
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
5268
|
+
builtin: "builtin";
|
|
5269
|
+
plugin: "plugin";
|
|
5270
|
+
project: "project";
|
|
5271
|
+
user: "user";
|
|
5272
|
+
}>>;
|
|
5273
|
+
pluginName: z.ZodOptional<z.ZodString>;
|
|
5274
|
+
ownedAgents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5275
|
+
name: z.ZodString;
|
|
5276
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5277
|
+
}, z.core.$strip>>>;
|
|
5278
|
+
}, z.core.$strip>>>>;
|
|
5279
|
+
customAgents: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5280
|
+
name: z.ZodString;
|
|
5281
|
+
description: z.ZodOptional<z.ZodString>;
|
|
5282
|
+
systemPrompt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
5283
|
+
tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5284
|
+
model: z.ZodOptional<z.ZodString>;
|
|
5285
|
+
roundRobinModels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5286
|
+
position: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5287
|
+
"browser-testing": "browser-testing";
|
|
5288
|
+
"builder-code": "builder-code";
|
|
5289
|
+
"builder-code-panel": "builder-code-panel";
|
|
5290
|
+
"builder-publish-integration": "builder-publish-integration";
|
|
5291
|
+
cli: "cli";
|
|
5292
|
+
"code-review-orchestrator": "code-review-orchestrator";
|
|
5293
|
+
"create-app-firebase": "create-app-firebase";
|
|
5294
|
+
"create-app-lovable": "create-app-lovable";
|
|
5295
|
+
"design-system-indexer": "design-system-indexer";
|
|
5296
|
+
"dsi-mcp": "dsi-mcp";
|
|
5297
|
+
"editor-ai": "editor-ai";
|
|
5298
|
+
fusion: "fusion";
|
|
5299
|
+
"org-agent": "org-agent";
|
|
5300
|
+
"org-worker": "org-worker";
|
|
5301
|
+
"project-configuration": "project-configuration";
|
|
5302
|
+
"projects-scheduler-memory-extraction": "projects-scheduler-memory-extraction";
|
|
5303
|
+
"publish-agent": "publish-agent";
|
|
5304
|
+
"repo-indexing": "repo-indexing";
|
|
5305
|
+
"setup-project": "setup-project";
|
|
5306
|
+
unknown: "unknown";
|
|
5307
|
+
}>, z.ZodTemplateLiteral<"browser-testing-agent" | "builder-code-agent" | "builder-code-panel-agent" | "builder-publish-integration-agent" | "cli-agent" | "code-review-orchestrator-agent" | "create-app-firebase-agent" | "create-app-lovable-agent" | "design-system-indexer-agent" | "dsi-mcp-agent" | "editor-ai-agent" | "fusion-agent" | "org-agent-agent" | "org-worker-agent" | "project-configuration-agent" | "projects-scheduler-memory-extraction-agent" | "publish-agent-agent" | "repo-indexing-agent" | "setup-project-agent" | "unknown-agent">]>>;
|
|
5308
|
+
needDevServer: z.ZodOptional<z.ZodBoolean>;
|
|
5309
|
+
needValidation: z.ZodOptional<z.ZodBoolean>;
|
|
5310
|
+
includeMemories: z.ZodOptional<z.ZodBoolean>;
|
|
5311
|
+
resetAfterRun: z.ZodOptional<z.ZodBoolean>;
|
|
5312
|
+
mcpServers: z.ZodOptional<z.ZodBoolean>;
|
|
5313
|
+
asyncSubAgents: z.ZodOptional<z.ZodBoolean>;
|
|
5314
|
+
queueBehavior: z.ZodOptional<z.ZodObject<{
|
|
5315
|
+
schedule: z.ZodEnum<{
|
|
5316
|
+
interrupt: "interrupt";
|
|
5317
|
+
"interrupt-clear": "interrupt-clear";
|
|
5318
|
+
"interrupt-replace": "interrupt-replace";
|
|
5319
|
+
"next-turn": "next-turn";
|
|
5320
|
+
"until-idle": "until-idle";
|
|
5321
|
+
}>;
|
|
5322
|
+
coalesce: z.ZodEnum<{
|
|
5323
|
+
merge: "merge";
|
|
5324
|
+
"preserve-order": "preserve-order";
|
|
5325
|
+
"replace-latest": "replace-latest";
|
|
5326
|
+
}>;
|
|
5327
|
+
}, z.core.$strip>>;
|
|
5328
|
+
queueMode: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"next-turn">, z.ZodLiteral<"until-idle">, z.ZodObject<{
|
|
5329
|
+
schedule: z.ZodEnum<{
|
|
5330
|
+
interrupt: "interrupt";
|
|
5331
|
+
"interrupt-clear": "interrupt-clear";
|
|
5332
|
+
"interrupt-replace": "interrupt-replace";
|
|
5333
|
+
"next-turn": "next-turn";
|
|
5334
|
+
"until-idle": "until-idle";
|
|
5335
|
+
}>;
|
|
5336
|
+
coalesce: z.ZodEnum<{
|
|
5337
|
+
merge: "merge";
|
|
5338
|
+
"preserve-order": "preserve-order";
|
|
5339
|
+
"replace-latest": "replace-latest";
|
|
5340
|
+
}>;
|
|
5341
|
+
}, z.core.$strip>]>>;
|
|
5342
|
+
softContextWindow: z.ZodOptional<z.ZodNumber>;
|
|
5343
|
+
filePath: z.ZodOptional<z.ZodString>;
|
|
5344
|
+
maxTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
5345
|
+
maxCompletions: z.ZodOptional<z.ZodNumber>;
|
|
5346
|
+
reasoning: z.ZodOptional<z.ZodEnum<{
|
|
5347
|
+
auto: "auto";
|
|
5348
|
+
high: "high";
|
|
5349
|
+
low: "low";
|
|
5350
|
+
max: "max";
|
|
5351
|
+
medium: "medium";
|
|
5352
|
+
minimal: "minimal";
|
|
5353
|
+
none: "none";
|
|
5354
|
+
xhigh: "xhigh";
|
|
5355
|
+
}>>;
|
|
5356
|
+
defaultSyncChanges: z.ZodOptional<z.ZodObject<{
|
|
5357
|
+
remoteBranches: z.ZodOptional<z.ZodEnum<{
|
|
5358
|
+
ai: "ai";
|
|
5359
|
+
both: "both";
|
|
5360
|
+
main: "main";
|
|
5361
|
+
}>>;
|
|
5362
|
+
fastForward: z.ZodOptional<z.ZodEnum<{
|
|
5363
|
+
auto: "auto";
|
|
5364
|
+
never: "never";
|
|
5365
|
+
required: "required";
|
|
5366
|
+
}>>;
|
|
5367
|
+
canPush: z.ZodOptional<z.ZodBoolean>;
|
|
5368
|
+
uncommittedChanges: z.ZodOptional<z.ZodEnum<{
|
|
5369
|
+
commit: "commit";
|
|
5370
|
+
fail: "fail";
|
|
5371
|
+
stash: "stash";
|
|
5372
|
+
}>>;
|
|
5373
|
+
requestRefresh: z.ZodOptional<z.ZodBoolean>;
|
|
5374
|
+
allowUnrelatedHistory: z.ZodOptional<z.ZodBoolean>;
|
|
5375
|
+
resetToBase: z.ZodOptional<z.ZodBoolean>;
|
|
5376
|
+
updateLastCommits: z.ZodOptional<z.ZodBoolean>;
|
|
5377
|
+
}, z.core.$strip>>;
|
|
5378
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
5379
|
+
plugin: "plugin";
|
|
5380
|
+
project: "project";
|
|
5381
|
+
user: "user";
|
|
5382
|
+
}>>;
|
|
5383
|
+
pluginName: z.ZodOptional<z.ZodString>;
|
|
5384
|
+
}, z.core.$strip>>>>;
|
|
5385
|
+
mcpServers: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
5386
|
+
command: z.ZodString;
|
|
5387
|
+
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5388
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
5389
|
+
envFile: z.ZodOptional<z.ZodString>;
|
|
5390
|
+
retries: z.ZodOptional<z.ZodNumber>;
|
|
5391
|
+
}, z.core.$strip>>>>;
|
|
5392
|
+
commitMode: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
5393
|
+
commits: "commits";
|
|
5394
|
+
"draft-prs": "draft-prs";
|
|
5395
|
+
prs: "prs";
|
|
5396
|
+
}>>>;
|
|
5397
|
+
enableMergePR: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
5398
|
+
minRequiredApprovals: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
5399
|
+
requireApprovalBeforePR: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
5400
|
+
requiredApproverRoleIds: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
5401
|
+
requiredApproverRoleId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5402
|
+
defaultBranchType: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
5403
|
+
private: "private";
|
|
5404
|
+
shared: "shared";
|
|
5405
|
+
}>>>;
|
|
5406
|
+
dockerImagePath: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5407
|
+
ghcrUsername: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
5408
|
+
ghcrToken: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
5409
|
+
nodeVersion: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5410
|
+
designSystems: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
5411
|
+
designTokenStrictMode: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
5412
|
+
designModeSelector: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5413
|
+
folders: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5414
|
+
name: z.ZodString;
|
|
5415
|
+
remoteUrl: z.ZodString;
|
|
5416
|
+
mainBranchName: z.ZodOptional<z.ZodString>;
|
|
5417
|
+
includePath: z.ZodOptional<z.ZodString>;
|
|
5418
|
+
addedBy: z.ZodOptional<z.ZodString>;
|
|
5419
|
+
repoProvider: z.ZodOptional<z.ZodString>;
|
|
5420
|
+
repoProtocol: z.ZodOptional<z.ZodString>;
|
|
5421
|
+
enableGit: z.ZodOptional<z.ZodBoolean>;
|
|
5422
|
+
}, z.core.$strip>>>>;
|
|
5423
|
+
agentsMD: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5424
|
+
initializationCommand: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5425
|
+
https: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
5426
|
+
localHttpsDomain: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5427
|
+
browserAutomation: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
5428
|
+
backgroundAgents: z.ZodOptional<z.ZodBoolean>;
|
|
5429
|
+
builderApp: z.ZodOptional<z.ZodBoolean>;
|
|
5430
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
5431
|
+
authUser: z.ZodOptional<z.ZodString>;
|
|
5432
|
+
authPassword: z.ZodOptional<z.ZodString>;
|
|
5433
|
+
}, z.core.$strip>>>;
|
|
5434
|
+
prReviewer: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
5435
|
+
enabled: z.ZodBoolean;
|
|
5436
|
+
instructions: z.ZodOptional<z.ZodString>;
|
|
5437
|
+
reviewEffort: z.ZodOptional<z.ZodEnum<{
|
|
5438
|
+
high: "high";
|
|
5439
|
+
low: "low";
|
|
5440
|
+
medium: "medium";
|
|
5441
|
+
}>>;
|
|
5442
|
+
model: z.ZodOptional<z.ZodString>;
|
|
5443
|
+
}, z.core.$strip>>>;
|
|
5444
|
+
enableSnapshots: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
5445
|
+
postMergeMemories: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
5446
|
+
maxAgentCompletions: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
5447
|
+
enableAgentMode: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
5448
|
+
allowPreviewAutoSubmit: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
5449
|
+
enforceDesktopAppOnly: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
5450
|
+
disableDesktopProxying: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
5451
|
+
previewUrl: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
5452
|
+
recentUrls: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5453
|
+
url: z.ZodString;
|
|
5454
|
+
timestamp: z.ZodNumber;
|
|
5455
|
+
starred: z.ZodBoolean;
|
|
5456
|
+
}, z.core.$strip>>>>;
|
|
5457
|
+
httpsServerKeyPath: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5458
|
+
httpsServerCertPath: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5459
|
+
httpsServerCaPath: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5460
|
+
httpsServerKeyContent: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5461
|
+
httpsServerCertContent: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5462
|
+
httpsServerCaContent: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5463
|
+
httpsServerPfx: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5464
|
+
httpsServerPassphrase: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5465
|
+
httpsServerSecureProtocol: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5466
|
+
httpsServerSecureOptions: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
5467
|
+
httpsServerCiphers: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5468
|
+
httpsServerHonorCipherOrder: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
5469
|
+
httpsServerRequestCert: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
5470
|
+
httpsServerRejectUnauthorized: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
5471
|
+
isPreferredForRepo: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
5472
|
+
singleTenancyConfig: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5473
|
+
previewPasswordProtection: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
5474
|
+
enabled: z.ZodBoolean;
|
|
5475
|
+
password: z.ZodOptional<z.ZodString>;
|
|
5476
|
+
}, z.core.$strip>>>;
|
|
5477
|
+
}, z.core.$strip>>;
|
|
5478
|
+
hosting: z.ZodOptional<z.ZodObject<{
|
|
5479
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
5480
|
+
buildConfig: z.ZodOptional<z.ZodObject<{
|
|
5481
|
+
buildCommand: z.ZodOptional<z.ZodString>;
|
|
5482
|
+
buildOutputDir: z.ZodOptional<z.ZodString>;
|
|
5483
|
+
nodeVersion: z.ZodOptional<z.ZodString>;
|
|
5484
|
+
}, z.core.$strip>>;
|
|
5485
|
+
environment: z.ZodOptional<z.ZodObject<{
|
|
5486
|
+
build: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5487
|
+
key: z.ZodString;
|
|
5488
|
+
value: z.ZodString;
|
|
5489
|
+
isSecret: z.ZodBoolean;
|
|
5490
|
+
placeholder: z.ZodOptional<z.ZodBoolean>;
|
|
5491
|
+
explanation: z.ZodOptional<z.ZodString>;
|
|
5492
|
+
}, z.core.$strip>>>;
|
|
5493
|
+
prod: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5494
|
+
key: z.ZodString;
|
|
5495
|
+
value: z.ZodString;
|
|
5496
|
+
isSecret: z.ZodBoolean;
|
|
5497
|
+
placeholder: z.ZodOptional<z.ZodBoolean>;
|
|
5498
|
+
explanation: z.ZodOptional<z.ZodString>;
|
|
5499
|
+
}, z.core.$strip>>>;
|
|
5500
|
+
}, z.core.$strip>>;
|
|
5501
|
+
autoDeploy: z.ZodOptional<z.ZodBoolean>;
|
|
5502
|
+
}, z.core.$strip>>;
|
|
5503
|
+
}, z.core.$strip>>;
|
|
5504
|
+
}, z.core.$strip>]>, z.ZodTransform<{
|
|
5505
|
+
source: {
|
|
5506
|
+
kind: "project";
|
|
5507
|
+
sourceProjectId: string;
|
|
5508
|
+
sourceBranchName: string;
|
|
5509
|
+
} | {
|
|
5510
|
+
kind: "template";
|
|
5511
|
+
templateId: string;
|
|
5512
|
+
};
|
|
5513
|
+
overrides?: {
|
|
5514
|
+
name?: string | undefined;
|
|
5515
|
+
description?: string | undefined;
|
|
5516
|
+
repoFullName?: string | undefined;
|
|
5517
|
+
repoProvider?: "azure" | "bitbucket" | "custom" | "github" | "gitlab" | "internalHost" | "selfHostedGithub" | undefined;
|
|
5518
|
+
repoUrl?: string | undefined;
|
|
5519
|
+
repoPrivate?: boolean | undefined;
|
|
5520
|
+
screenshot?: string | null | undefined;
|
|
5521
|
+
order?: number | undefined;
|
|
5522
|
+
hidden?: boolean | undefined;
|
|
5523
|
+
isDefault?: boolean | undefined;
|
|
5524
|
+
settings?: {
|
|
5525
|
+
isNativeApp?: boolean | undefined;
|
|
5526
|
+
autoDetectDevServer?: boolean | undefined;
|
|
5527
|
+
autoDetectDevServerPatterns?: string[] | undefined;
|
|
5528
|
+
fusionEnvironment?: "cloud" | "cloud-v2" | "container-less" | "containerized" | undefined;
|
|
5529
|
+
devServerPort?: number | undefined;
|
|
5530
|
+
installCommand?: string | undefined;
|
|
5531
|
+
installNpmrc?: string | null | undefined;
|
|
5532
|
+
gitBranchNamingStrategy?: "ai-session" | "branch-name" | "custom" | undefined;
|
|
5533
|
+
hostRequirements?: {
|
|
5534
|
+
name: string;
|
|
5535
|
+
checkScript: string;
|
|
5536
|
+
installScript?: string | null | undefined;
|
|
5537
|
+
installLink?: string | null | undefined;
|
|
5538
|
+
platform?: "linux" | "macos" | "windows" | null | undefined;
|
|
5539
|
+
description?: string | undefined;
|
|
5540
|
+
}[] | undefined;
|
|
5541
|
+
skills?: ({
|
|
5542
|
+
key: string;
|
|
5543
|
+
skills?: string[] | undefined;
|
|
5544
|
+
agents?: string[] | undefined;
|
|
5545
|
+
source: string;
|
|
5546
|
+
} | {
|
|
5547
|
+
key: string;
|
|
5548
|
+
skills?: string[] | undefined;
|
|
5549
|
+
agents?: string[] | undefined;
|
|
5550
|
+
type: "npm";
|
|
5551
|
+
package: string;
|
|
5552
|
+
version?: string | undefined;
|
|
5553
|
+
} | {
|
|
5554
|
+
key: string;
|
|
5555
|
+
skills?: string[] | undefined;
|
|
5556
|
+
agents?: string[] | undefined;
|
|
5557
|
+
type: "github";
|
|
5558
|
+
repo: string;
|
|
5559
|
+
ref?: string | undefined;
|
|
5560
|
+
path?: string | undefined;
|
|
5561
|
+
} | {
|
|
5562
|
+
key: string;
|
|
5563
|
+
skills?: string[] | undefined;
|
|
5564
|
+
agents?: string[] | undefined;
|
|
5565
|
+
type: "url";
|
|
5566
|
+
url: string;
|
|
5567
|
+
})[] | undefined;
|
|
5568
|
+
gitBranchNamingCustom?: string | undefined;
|
|
5569
|
+
askUserForBranchName?: boolean | undefined;
|
|
5570
|
+
allowBranchFromRemote?: boolean | undefined;
|
|
5571
|
+
devServerCommand?: string | undefined;
|
|
5572
|
+
screenshotCommand?: string | undefined;
|
|
5573
|
+
interactCommand?: string | undefined;
|
|
5574
|
+
serverTimeout?: number | undefined;
|
|
5575
|
+
cpuKind?: "performance" | "shared" | "standard" | undefined;
|
|
5576
|
+
cpus?: 1 | 2 | 4 | undefined;
|
|
5577
|
+
memory?: 2048 | 4096 | 8192 | 16384 | undefined;
|
|
5578
|
+
memoryLimit?: 1024 | 2048 | 4096 | 8192 | 16384 | undefined;
|
|
5579
|
+
autoStop?: "off" | "stop" | "suspend" | undefined;
|
|
5580
|
+
mainBranchName?: string | undefined;
|
|
5581
|
+
minMachinesRunning?: number | undefined;
|
|
5582
|
+
volumeSize?: 5 | 10 | 12 | 15 | 20 | 25 | 30 | 50 | undefined;
|
|
5583
|
+
includePatterns?: string[] | undefined;
|
|
5584
|
+
errorIgnorePatterns?: string[] | undefined;
|
|
5585
|
+
environmentVariables?: {
|
|
5586
|
+
key: string;
|
|
5587
|
+
value: string;
|
|
5588
|
+
isSecret: boolean;
|
|
5589
|
+
placeholder?: boolean | undefined;
|
|
5590
|
+
explanation?: string | undefined;
|
|
5591
|
+
}[] | undefined;
|
|
5592
|
+
requiredEnvironmentVariables?: {
|
|
5593
|
+
key: string;
|
|
5594
|
+
description?: string | undefined;
|
|
5595
|
+
optional?: boolean | null | undefined;
|
|
5596
|
+
}[] | undefined;
|
|
5597
|
+
fileOverrides?: ({
|
|
5598
|
+
path: string;
|
|
5599
|
+
content: string;
|
|
5600
|
+
} | {
|
|
5601
|
+
path: string;
|
|
5602
|
+
base64: string;
|
|
5603
|
+
})[] | undefined;
|
|
5604
|
+
customInstructions?: {
|
|
5605
|
+
id: string;
|
|
5606
|
+
name: string;
|
|
5607
|
+
content: string;
|
|
5608
|
+
type?: "agent-mode" | "always" | undefined;
|
|
5609
|
+
filePath?: string | undefined;
|
|
5610
|
+
glob?: string | undefined;
|
|
5611
|
+
description?: string | undefined;
|
|
5612
|
+
allowedTools?: string[] | undefined;
|
|
5613
|
+
hideUI?: boolean | undefined;
|
|
5614
|
+
isSkill?: boolean | undefined;
|
|
5615
|
+
disableModelInvocation?: boolean | undefined;
|
|
5616
|
+
userInvocable?: boolean | undefined;
|
|
5617
|
+
scope?: "builtin" | "plugin" | "project" | "user" | undefined;
|
|
5618
|
+
pluginName?: string | undefined;
|
|
5619
|
+
ownedAgents?: {
|
|
5620
|
+
name: string;
|
|
5621
|
+
description?: string | undefined;
|
|
5622
|
+
}[] | undefined;
|
|
5623
|
+
}[] | undefined;
|
|
5624
|
+
customAgents?: {
|
|
5625
|
+
name: string;
|
|
5626
|
+
description?: string | undefined;
|
|
5627
|
+
systemPrompt?: string | string[] | undefined;
|
|
5628
|
+
tools?: string[] | undefined;
|
|
5629
|
+
model?: string | undefined;
|
|
5630
|
+
roundRobinModels?: string[] | undefined;
|
|
5631
|
+
position?: "browser-testing" | "browser-testing-agent" | "builder-code" | "builder-code-agent" | "builder-code-panel" | "builder-code-panel-agent" | "builder-publish-integration" | "builder-publish-integration-agent" | "cli" | "cli-agent" | "code-review-orchestrator" | "code-review-orchestrator-agent" | "create-app-firebase" | "create-app-firebase-agent" | "create-app-lovable" | "create-app-lovable-agent" | "design-system-indexer" | "design-system-indexer-agent" | "dsi-mcp" | "dsi-mcp-agent" | "editor-ai" | "editor-ai-agent" | "fusion" | "fusion-agent" | "org-agent" | "org-agent-agent" | "org-worker" | "org-worker-agent" | "project-configuration" | "project-configuration-agent" | "projects-scheduler-memory-extraction" | "projects-scheduler-memory-extraction-agent" | "publish-agent" | "publish-agent-agent" | "repo-indexing" | "repo-indexing-agent" | "setup-project" | "setup-project-agent" | "unknown" | "unknown-agent" | undefined;
|
|
5632
|
+
needDevServer?: boolean | undefined;
|
|
5633
|
+
needValidation?: boolean | undefined;
|
|
5634
|
+
includeMemories?: boolean | undefined;
|
|
5635
|
+
resetAfterRun?: boolean | undefined;
|
|
5636
|
+
mcpServers?: boolean | undefined;
|
|
5637
|
+
asyncSubAgents?: boolean | undefined;
|
|
5638
|
+
queueBehavior?: {
|
|
5639
|
+
schedule: "interrupt" | "interrupt-clear" | "interrupt-replace" | "next-turn" | "until-idle";
|
|
5640
|
+
coalesce: "merge" | "preserve-order" | "replace-latest";
|
|
5641
|
+
} | undefined;
|
|
5642
|
+
queueMode?: "next-turn" | "until-idle" | {
|
|
5643
|
+
schedule: "interrupt" | "interrupt-clear" | "interrupt-replace" | "next-turn" | "until-idle";
|
|
5644
|
+
coalesce: "merge" | "preserve-order" | "replace-latest";
|
|
5645
|
+
} | undefined;
|
|
5646
|
+
softContextWindow?: number | undefined;
|
|
5647
|
+
filePath?: string | undefined;
|
|
5648
|
+
maxTimeoutMs?: number | undefined;
|
|
5649
|
+
maxCompletions?: number | undefined;
|
|
5650
|
+
reasoning?: "auto" | "high" | "low" | "max" | "medium" | "minimal" | "none" | "xhigh" | undefined;
|
|
5651
|
+
defaultSyncChanges?: {
|
|
5652
|
+
remoteBranches?: "ai" | "both" | "main" | undefined;
|
|
5653
|
+
fastForward?: "auto" | "never" | "required" | undefined;
|
|
5654
|
+
canPush?: boolean | undefined;
|
|
5655
|
+
uncommittedChanges?: "commit" | "fail" | "stash" | undefined;
|
|
5656
|
+
requestRefresh?: boolean | undefined;
|
|
5657
|
+
allowUnrelatedHistory?: boolean | undefined;
|
|
5658
|
+
resetToBase?: boolean | undefined;
|
|
5659
|
+
updateLastCommits?: boolean | undefined;
|
|
5660
|
+
} | undefined;
|
|
5661
|
+
scope?: "plugin" | "project" | "user" | undefined;
|
|
5662
|
+
pluginName?: string | undefined;
|
|
5663
|
+
}[] | undefined;
|
|
5664
|
+
mcpServers?: Record<string, {
|
|
5665
|
+
command: string;
|
|
5666
|
+
args?: string[] | undefined;
|
|
5667
|
+
env?: Record<string, string> | undefined;
|
|
5668
|
+
envFile?: string | undefined;
|
|
5669
|
+
retries?: number | undefined;
|
|
5670
|
+
}> | undefined;
|
|
5671
|
+
commitMode?: "commits" | "draft-prs" | "prs" | undefined;
|
|
5672
|
+
enableMergePR?: boolean | undefined;
|
|
5673
|
+
minRequiredApprovals?: number | undefined;
|
|
5674
|
+
requireApprovalBeforePR?: boolean | undefined;
|
|
5675
|
+
requiredApproverRoleIds?: string[] | undefined;
|
|
5676
|
+
requiredApproverRoleId?: string | undefined;
|
|
5677
|
+
defaultBranchType?: "private" | "shared" | undefined;
|
|
5678
|
+
dockerImagePath?: string | undefined;
|
|
5679
|
+
ghcrUsername?: string | null | undefined;
|
|
5680
|
+
ghcrToken?: string | null | undefined;
|
|
5681
|
+
nodeVersion?: string | undefined;
|
|
5682
|
+
designSystems?: string[] | undefined;
|
|
5683
|
+
designTokenStrictMode?: boolean | undefined;
|
|
5684
|
+
designModeSelector?: string | undefined;
|
|
5685
|
+
folders?: {
|
|
5686
|
+
name: string;
|
|
5687
|
+
remoteUrl: string;
|
|
5688
|
+
mainBranchName?: string | undefined;
|
|
5689
|
+
includePath?: string | undefined;
|
|
5690
|
+
addedBy?: string | undefined;
|
|
5691
|
+
repoProvider?: string | undefined;
|
|
5692
|
+
repoProtocol?: string | undefined;
|
|
5693
|
+
enableGit?: boolean | undefined;
|
|
5694
|
+
}[] | undefined;
|
|
5695
|
+
agentsMD?: string | undefined;
|
|
5696
|
+
initializationCommand?: string | undefined;
|
|
5697
|
+
https?: boolean | undefined;
|
|
5698
|
+
localHttpsDomain?: string | undefined;
|
|
5699
|
+
browserAutomation?: {
|
|
5700
|
+
backgroundAgents?: boolean | undefined;
|
|
5701
|
+
builderApp?: boolean | undefined;
|
|
5702
|
+
instructions?: string | undefined;
|
|
5703
|
+
authUser?: string | undefined;
|
|
5704
|
+
authPassword?: string | undefined;
|
|
5705
|
+
} | undefined;
|
|
5706
|
+
prReviewer?: {
|
|
5707
|
+
enabled: boolean;
|
|
5708
|
+
instructions?: string | undefined;
|
|
5709
|
+
reviewEffort?: "high" | "low" | "medium" | undefined;
|
|
5710
|
+
model?: string | undefined;
|
|
5711
|
+
} | undefined;
|
|
5712
|
+
enableSnapshots?: boolean | undefined;
|
|
5713
|
+
postMergeMemories?: boolean | undefined;
|
|
5714
|
+
maxAgentCompletions?: number | undefined;
|
|
5715
|
+
enableAgentMode?: boolean | undefined;
|
|
5716
|
+
allowPreviewAutoSubmit?: boolean | undefined;
|
|
5717
|
+
enforceDesktopAppOnly?: boolean | undefined;
|
|
5718
|
+
disableDesktopProxying?: boolean | undefined;
|
|
5719
|
+
previewUrl?: string | null | undefined;
|
|
5720
|
+
recentUrls?: {
|
|
5721
|
+
url: string;
|
|
5722
|
+
timestamp: number;
|
|
5723
|
+
starred: boolean;
|
|
5724
|
+
}[] | undefined;
|
|
5725
|
+
httpsServerKeyPath?: string | undefined;
|
|
5726
|
+
httpsServerCertPath?: string | undefined;
|
|
5727
|
+
httpsServerCaPath?: string | undefined;
|
|
5728
|
+
httpsServerKeyContent?: string | undefined;
|
|
5729
|
+
httpsServerCertContent?: string | undefined;
|
|
5730
|
+
httpsServerCaContent?: string | undefined;
|
|
5731
|
+
httpsServerPfx?: string | undefined;
|
|
5732
|
+
httpsServerPassphrase?: string | undefined;
|
|
5733
|
+
httpsServerSecureProtocol?: string | undefined;
|
|
5734
|
+
httpsServerSecureOptions?: number | undefined;
|
|
5735
|
+
httpsServerCiphers?: string | undefined;
|
|
5736
|
+
httpsServerHonorCipherOrder?: boolean | undefined;
|
|
5737
|
+
httpsServerRequestCert?: boolean | undefined;
|
|
5738
|
+
httpsServerRejectUnauthorized?: boolean | undefined;
|
|
5739
|
+
isPreferredForRepo?: boolean | undefined;
|
|
5740
|
+
singleTenancyConfig?: string | undefined;
|
|
5741
|
+
previewPasswordProtection?: {
|
|
5742
|
+
enabled: boolean;
|
|
5743
|
+
password?: string | undefined;
|
|
5744
|
+
} | undefined;
|
|
5745
|
+
} | undefined;
|
|
5746
|
+
hosting?: {
|
|
5747
|
+
enabled?: boolean | undefined;
|
|
5748
|
+
buildConfig?: {
|
|
5749
|
+
buildCommand?: string | undefined;
|
|
5750
|
+
buildOutputDir?: string | undefined;
|
|
5751
|
+
nodeVersion?: string | undefined;
|
|
5752
|
+
} | undefined;
|
|
5753
|
+
environment?: {
|
|
5754
|
+
build?: {
|
|
5755
|
+
key: string;
|
|
5756
|
+
value: string;
|
|
5757
|
+
isSecret: boolean;
|
|
5758
|
+
placeholder?: boolean | undefined;
|
|
5759
|
+
explanation?: string | undefined;
|
|
5760
|
+
}[] | undefined;
|
|
5761
|
+
prod?: {
|
|
5762
|
+
key: string;
|
|
5763
|
+
value: string;
|
|
5764
|
+
isSecret: boolean;
|
|
5765
|
+
placeholder?: boolean | undefined;
|
|
5766
|
+
explanation?: string | undefined;
|
|
5767
|
+
}[] | undefined;
|
|
5768
|
+
} | undefined;
|
|
5769
|
+
autoDeploy?: boolean | undefined;
|
|
5770
|
+
} | undefined;
|
|
5771
|
+
} | undefined;
|
|
5772
|
+
}, {
|
|
5773
|
+
source: {
|
|
5774
|
+
kind: "project";
|
|
5775
|
+
sourceProjectId: string;
|
|
5776
|
+
sourceBranchName: string;
|
|
5777
|
+
} | {
|
|
5778
|
+
kind: "template";
|
|
5779
|
+
templateId: string;
|
|
5780
|
+
};
|
|
5781
|
+
overrides?: {
|
|
5782
|
+
name?: string | undefined;
|
|
5783
|
+
description?: string | undefined;
|
|
5784
|
+
repoFullName?: string | undefined;
|
|
5785
|
+
repoProvider?: "azure" | "bitbucket" | "custom" | "github" | "gitlab" | "internalHost" | "selfHostedGithub" | undefined;
|
|
5786
|
+
repoUrl?: string | undefined;
|
|
5787
|
+
repoPrivate?: boolean | undefined;
|
|
5788
|
+
screenshot?: string | null | undefined;
|
|
5789
|
+
order?: number | undefined;
|
|
5790
|
+
hidden?: boolean | undefined;
|
|
5791
|
+
isDefault?: boolean | undefined;
|
|
5792
|
+
settings?: {
|
|
5793
|
+
isNativeApp?: boolean | undefined;
|
|
5794
|
+
autoDetectDevServer?: boolean | undefined;
|
|
5795
|
+
autoDetectDevServerPatterns?: string[] | undefined;
|
|
5796
|
+
fusionEnvironment?: "cloud" | "cloud-v2" | "container-less" | "containerized" | undefined;
|
|
5797
|
+
devServerPort?: number | undefined;
|
|
5798
|
+
installCommand?: string | undefined;
|
|
5799
|
+
installNpmrc?: string | null | undefined;
|
|
5800
|
+
gitBranchNamingStrategy?: "ai-session" | "branch-name" | "custom" | undefined;
|
|
5801
|
+
hostRequirements?: {
|
|
5802
|
+
name: string;
|
|
5803
|
+
checkScript: string;
|
|
5804
|
+
installScript?: string | null | undefined;
|
|
5805
|
+
installLink?: string | null | undefined;
|
|
5806
|
+
platform?: "linux" | "macos" | "windows" | null | undefined;
|
|
5807
|
+
description?: string | undefined;
|
|
5808
|
+
}[] | undefined;
|
|
5809
|
+
skills?: ({
|
|
5810
|
+
key: string;
|
|
5811
|
+
skills?: string[] | undefined;
|
|
5812
|
+
agents?: string[] | undefined;
|
|
5813
|
+
source: string;
|
|
5814
|
+
} | {
|
|
5815
|
+
key: string;
|
|
5816
|
+
skills?: string[] | undefined;
|
|
5817
|
+
agents?: string[] | undefined;
|
|
5818
|
+
type: "npm";
|
|
5819
|
+
package: string;
|
|
5820
|
+
version?: string | undefined;
|
|
5821
|
+
} | {
|
|
5822
|
+
key: string;
|
|
5823
|
+
skills?: string[] | undefined;
|
|
5824
|
+
agents?: string[] | undefined;
|
|
5825
|
+
type: "github";
|
|
5826
|
+
repo: string;
|
|
5827
|
+
ref?: string | undefined;
|
|
5828
|
+
path?: string | undefined;
|
|
5829
|
+
} | {
|
|
5830
|
+
key: string;
|
|
5831
|
+
skills?: string[] | undefined;
|
|
5832
|
+
agents?: string[] | undefined;
|
|
5833
|
+
type: "url";
|
|
5834
|
+
url: string;
|
|
5835
|
+
})[] | undefined;
|
|
5836
|
+
gitBranchNamingCustom?: string | undefined;
|
|
5837
|
+
askUserForBranchName?: boolean | undefined;
|
|
5838
|
+
allowBranchFromRemote?: boolean | undefined;
|
|
5839
|
+
devServerCommand?: string | undefined;
|
|
5840
|
+
screenshotCommand?: string | undefined;
|
|
5841
|
+
interactCommand?: string | undefined;
|
|
5842
|
+
serverTimeout?: number | undefined;
|
|
5843
|
+
cpuKind?: "performance" | "shared" | "standard" | undefined;
|
|
5844
|
+
cpus?: 1 | 2 | 4 | undefined;
|
|
5845
|
+
memory?: 2048 | 4096 | 8192 | 16384 | undefined;
|
|
5846
|
+
memoryLimit?: 1024 | 2048 | 4096 | 8192 | 16384 | undefined;
|
|
5847
|
+
autoStop?: "off" | "stop" | "suspend" | undefined;
|
|
5848
|
+
mainBranchName?: string | undefined;
|
|
5849
|
+
minMachinesRunning?: number | undefined;
|
|
5850
|
+
volumeSize?: 5 | 10 | 12 | 15 | 20 | 25 | 30 | 50 | undefined;
|
|
5851
|
+
includePatterns?: string[] | undefined;
|
|
5852
|
+
errorIgnorePatterns?: string[] | undefined;
|
|
5853
|
+
environmentVariables?: {
|
|
5854
|
+
key: string;
|
|
5855
|
+
value: string;
|
|
5856
|
+
isSecret: boolean;
|
|
5857
|
+
placeholder?: boolean | undefined;
|
|
5858
|
+
explanation?: string | undefined;
|
|
5859
|
+
}[] | undefined;
|
|
5860
|
+
requiredEnvironmentVariables?: {
|
|
5861
|
+
key: string;
|
|
5862
|
+
description?: string | undefined;
|
|
5863
|
+
optional?: boolean | null | undefined;
|
|
5864
|
+
}[] | undefined;
|
|
5865
|
+
fileOverrides?: ({
|
|
5866
|
+
path: string;
|
|
5867
|
+
content: string;
|
|
5868
|
+
} | {
|
|
5869
|
+
path: string;
|
|
5870
|
+
base64: string;
|
|
5871
|
+
})[] | undefined;
|
|
5872
|
+
customInstructions?: {
|
|
5873
|
+
id: string;
|
|
5874
|
+
name: string;
|
|
5875
|
+
content: string;
|
|
5876
|
+
type?: "agent-mode" | "always" | undefined;
|
|
5877
|
+
filePath?: string | undefined;
|
|
5878
|
+
glob?: string | undefined;
|
|
5879
|
+
description?: string | undefined;
|
|
5880
|
+
allowedTools?: string[] | undefined;
|
|
5881
|
+
hideUI?: boolean | undefined;
|
|
5882
|
+
isSkill?: boolean | undefined;
|
|
5883
|
+
disableModelInvocation?: boolean | undefined;
|
|
5884
|
+
userInvocable?: boolean | undefined;
|
|
5885
|
+
scope?: "builtin" | "plugin" | "project" | "user" | undefined;
|
|
5886
|
+
pluginName?: string | undefined;
|
|
5887
|
+
ownedAgents?: {
|
|
5888
|
+
name: string;
|
|
5889
|
+
description?: string | undefined;
|
|
5890
|
+
}[] | undefined;
|
|
5891
|
+
}[] | undefined;
|
|
5892
|
+
customAgents?: {
|
|
5893
|
+
name: string;
|
|
5894
|
+
description?: string | undefined;
|
|
5895
|
+
systemPrompt?: string | string[] | undefined;
|
|
5896
|
+
tools?: string[] | undefined;
|
|
5897
|
+
model?: string | undefined;
|
|
5898
|
+
roundRobinModels?: string[] | undefined;
|
|
5899
|
+
position?: "browser-testing" | "browser-testing-agent" | "builder-code" | "builder-code-agent" | "builder-code-panel" | "builder-code-panel-agent" | "builder-publish-integration" | "builder-publish-integration-agent" | "cli" | "cli-agent" | "code-review-orchestrator" | "code-review-orchestrator-agent" | "create-app-firebase" | "create-app-firebase-agent" | "create-app-lovable" | "create-app-lovable-agent" | "design-system-indexer" | "design-system-indexer-agent" | "dsi-mcp" | "dsi-mcp-agent" | "editor-ai" | "editor-ai-agent" | "fusion" | "fusion-agent" | "org-agent" | "org-agent-agent" | "org-worker" | "org-worker-agent" | "project-configuration" | "project-configuration-agent" | "projects-scheduler-memory-extraction" | "projects-scheduler-memory-extraction-agent" | "publish-agent" | "publish-agent-agent" | "repo-indexing" | "repo-indexing-agent" | "setup-project" | "setup-project-agent" | "unknown" | "unknown-agent" | undefined;
|
|
5900
|
+
needDevServer?: boolean | undefined;
|
|
5901
|
+
needValidation?: boolean | undefined;
|
|
5902
|
+
includeMemories?: boolean | undefined;
|
|
5903
|
+
resetAfterRun?: boolean | undefined;
|
|
5904
|
+
mcpServers?: boolean | undefined;
|
|
5905
|
+
asyncSubAgents?: boolean | undefined;
|
|
5906
|
+
queueBehavior?: {
|
|
5907
|
+
schedule: "interrupt" | "interrupt-clear" | "interrupt-replace" | "next-turn" | "until-idle";
|
|
5908
|
+
coalesce: "merge" | "preserve-order" | "replace-latest";
|
|
5909
|
+
} | undefined;
|
|
5910
|
+
queueMode?: "next-turn" | "until-idle" | {
|
|
5911
|
+
schedule: "interrupt" | "interrupt-clear" | "interrupt-replace" | "next-turn" | "until-idle";
|
|
5912
|
+
coalesce: "merge" | "preserve-order" | "replace-latest";
|
|
5913
|
+
} | undefined;
|
|
5914
|
+
softContextWindow?: number | undefined;
|
|
5915
|
+
filePath?: string | undefined;
|
|
5916
|
+
maxTimeoutMs?: number | undefined;
|
|
5917
|
+
maxCompletions?: number | undefined;
|
|
5918
|
+
reasoning?: "auto" | "high" | "low" | "max" | "medium" | "minimal" | "none" | "xhigh" | undefined;
|
|
5919
|
+
defaultSyncChanges?: {
|
|
5920
|
+
remoteBranches?: "ai" | "both" | "main" | undefined;
|
|
5921
|
+
fastForward?: "auto" | "never" | "required" | undefined;
|
|
5922
|
+
canPush?: boolean | undefined;
|
|
5923
|
+
uncommittedChanges?: "commit" | "fail" | "stash" | undefined;
|
|
5924
|
+
requestRefresh?: boolean | undefined;
|
|
5925
|
+
allowUnrelatedHistory?: boolean | undefined;
|
|
5926
|
+
resetToBase?: boolean | undefined;
|
|
5927
|
+
updateLastCommits?: boolean | undefined;
|
|
5928
|
+
} | undefined;
|
|
5929
|
+
scope?: "plugin" | "project" | "user" | undefined;
|
|
5930
|
+
pluginName?: string | undefined;
|
|
5931
|
+
}[] | undefined;
|
|
5932
|
+
mcpServers?: Record<string, {
|
|
5933
|
+
command: string;
|
|
5934
|
+
args?: string[] | undefined;
|
|
5935
|
+
env?: Record<string, string> | undefined;
|
|
5936
|
+
envFile?: string | undefined;
|
|
5937
|
+
retries?: number | undefined;
|
|
5938
|
+
}> | undefined;
|
|
5939
|
+
commitMode?: "commits" | "draft-prs" | "prs" | undefined;
|
|
5940
|
+
enableMergePR?: boolean | undefined;
|
|
5941
|
+
minRequiredApprovals?: number | undefined;
|
|
5942
|
+
requireApprovalBeforePR?: boolean | undefined;
|
|
5943
|
+
requiredApproverRoleIds?: string[] | undefined;
|
|
5944
|
+
requiredApproverRoleId?: string | undefined;
|
|
5945
|
+
defaultBranchType?: "private" | "shared" | undefined;
|
|
5946
|
+
dockerImagePath?: string | undefined;
|
|
5947
|
+
ghcrUsername?: string | null | undefined;
|
|
5948
|
+
ghcrToken?: string | null | undefined;
|
|
5949
|
+
nodeVersion?: string | undefined;
|
|
5950
|
+
designSystems?: string[] | undefined;
|
|
5951
|
+
designTokenStrictMode?: boolean | undefined;
|
|
5952
|
+
designModeSelector?: string | undefined;
|
|
5953
|
+
folders?: {
|
|
5954
|
+
name: string;
|
|
5955
|
+
remoteUrl: string;
|
|
5956
|
+
mainBranchName?: string | undefined;
|
|
5957
|
+
includePath?: string | undefined;
|
|
5958
|
+
addedBy?: string | undefined;
|
|
5959
|
+
repoProvider?: string | undefined;
|
|
5960
|
+
repoProtocol?: string | undefined;
|
|
5961
|
+
enableGit?: boolean | undefined;
|
|
5962
|
+
}[] | undefined;
|
|
5963
|
+
agentsMD?: string | undefined;
|
|
5964
|
+
initializationCommand?: string | undefined;
|
|
5965
|
+
https?: boolean | undefined;
|
|
5966
|
+
localHttpsDomain?: string | undefined;
|
|
5967
|
+
browserAutomation?: {
|
|
5968
|
+
backgroundAgents?: boolean | undefined;
|
|
5969
|
+
builderApp?: boolean | undefined;
|
|
5970
|
+
instructions?: string | undefined;
|
|
5971
|
+
authUser?: string | undefined;
|
|
5972
|
+
authPassword?: string | undefined;
|
|
5973
|
+
} | undefined;
|
|
5974
|
+
prReviewer?: {
|
|
5975
|
+
enabled: boolean;
|
|
5976
|
+
instructions?: string | undefined;
|
|
5977
|
+
reviewEffort?: "high" | "low" | "medium" | undefined;
|
|
5978
|
+
model?: string | undefined;
|
|
5979
|
+
} | undefined;
|
|
5980
|
+
enableSnapshots?: boolean | undefined;
|
|
5981
|
+
postMergeMemories?: boolean | undefined;
|
|
5982
|
+
maxAgentCompletions?: number | undefined;
|
|
5983
|
+
enableAgentMode?: boolean | undefined;
|
|
5984
|
+
allowPreviewAutoSubmit?: boolean | undefined;
|
|
5985
|
+
enforceDesktopAppOnly?: boolean | undefined;
|
|
5986
|
+
disableDesktopProxying?: boolean | undefined;
|
|
5987
|
+
previewUrl?: string | null | undefined;
|
|
5988
|
+
recentUrls?: {
|
|
5989
|
+
url: string;
|
|
5990
|
+
timestamp: number;
|
|
5991
|
+
starred: boolean;
|
|
5992
|
+
}[] | undefined;
|
|
5993
|
+
httpsServerKeyPath?: string | undefined;
|
|
5994
|
+
httpsServerCertPath?: string | undefined;
|
|
5995
|
+
httpsServerCaPath?: string | undefined;
|
|
5996
|
+
httpsServerKeyContent?: string | undefined;
|
|
5997
|
+
httpsServerCertContent?: string | undefined;
|
|
5998
|
+
httpsServerCaContent?: string | undefined;
|
|
5999
|
+
httpsServerPfx?: string | undefined;
|
|
6000
|
+
httpsServerPassphrase?: string | undefined;
|
|
6001
|
+
httpsServerSecureProtocol?: string | undefined;
|
|
6002
|
+
httpsServerSecureOptions?: number | undefined;
|
|
6003
|
+
httpsServerCiphers?: string | undefined;
|
|
6004
|
+
httpsServerHonorCipherOrder?: boolean | undefined;
|
|
6005
|
+
httpsServerRequestCert?: boolean | undefined;
|
|
6006
|
+
httpsServerRejectUnauthorized?: boolean | undefined;
|
|
6007
|
+
isPreferredForRepo?: boolean | undefined;
|
|
6008
|
+
singleTenancyConfig?: string | undefined;
|
|
6009
|
+
previewPasswordProtection?: {
|
|
6010
|
+
enabled: boolean;
|
|
6011
|
+
password?: string | undefined;
|
|
6012
|
+
} | undefined;
|
|
6013
|
+
} | undefined;
|
|
6014
|
+
hosting?: {
|
|
6015
|
+
enabled?: boolean | undefined;
|
|
6016
|
+
buildConfig?: {
|
|
6017
|
+
buildCommand?: string | undefined;
|
|
6018
|
+
buildOutputDir?: string | undefined;
|
|
6019
|
+
nodeVersion?: string | undefined;
|
|
6020
|
+
} | undefined;
|
|
6021
|
+
environment?: {
|
|
6022
|
+
build?: {
|
|
6023
|
+
key: string;
|
|
6024
|
+
value: string;
|
|
6025
|
+
isSecret: boolean;
|
|
6026
|
+
placeholder?: boolean | undefined;
|
|
6027
|
+
explanation?: string | undefined;
|
|
6028
|
+
}[] | undefined;
|
|
6029
|
+
prod?: {
|
|
6030
|
+
key: string;
|
|
6031
|
+
value: string;
|
|
6032
|
+
isSecret: boolean;
|
|
6033
|
+
placeholder?: boolean | undefined;
|
|
6034
|
+
explanation?: string | undefined;
|
|
6035
|
+
}[] | undefined;
|
|
6036
|
+
} | undefined;
|
|
6037
|
+
autoDeploy?: boolean | undefined;
|
|
6038
|
+
} | undefined;
|
|
6039
|
+
} | undefined;
|
|
6040
|
+
} | {
|
|
6041
|
+
sourceProjectId: string;
|
|
6042
|
+
sourceBranchName: string;
|
|
6043
|
+
overrides?: {
|
|
6044
|
+
name?: string | undefined;
|
|
6045
|
+
description?: string | undefined;
|
|
6046
|
+
repoFullName?: string | undefined;
|
|
6047
|
+
repoProvider?: "azure" | "bitbucket" | "custom" | "github" | "gitlab" | "internalHost" | "selfHostedGithub" | undefined;
|
|
6048
|
+
repoUrl?: string | undefined;
|
|
6049
|
+
repoPrivate?: boolean | undefined;
|
|
6050
|
+
screenshot?: string | null | undefined;
|
|
6051
|
+
order?: number | undefined;
|
|
6052
|
+
hidden?: boolean | undefined;
|
|
6053
|
+
isDefault?: boolean | undefined;
|
|
6054
|
+
settings?: {
|
|
6055
|
+
isNativeApp?: boolean | undefined;
|
|
6056
|
+
autoDetectDevServer?: boolean | undefined;
|
|
6057
|
+
autoDetectDevServerPatterns?: string[] | undefined;
|
|
6058
|
+
fusionEnvironment?: "cloud" | "cloud-v2" | "container-less" | "containerized" | undefined;
|
|
6059
|
+
devServerPort?: number | undefined;
|
|
6060
|
+
installCommand?: string | undefined;
|
|
6061
|
+
installNpmrc?: string | null | undefined;
|
|
6062
|
+
gitBranchNamingStrategy?: "ai-session" | "branch-name" | "custom" | undefined;
|
|
6063
|
+
hostRequirements?: {
|
|
6064
|
+
name: string;
|
|
6065
|
+
checkScript: string;
|
|
6066
|
+
installScript?: string | null | undefined;
|
|
6067
|
+
installLink?: string | null | undefined;
|
|
6068
|
+
platform?: "linux" | "macos" | "windows" | null | undefined;
|
|
6069
|
+
description?: string | undefined;
|
|
6070
|
+
}[] | undefined;
|
|
6071
|
+
skills?: ({
|
|
6072
|
+
key: string;
|
|
6073
|
+
skills?: string[] | undefined;
|
|
6074
|
+
agents?: string[] | undefined;
|
|
6075
|
+
source: string;
|
|
6076
|
+
} | {
|
|
6077
|
+
key: string;
|
|
6078
|
+
skills?: string[] | undefined;
|
|
6079
|
+
agents?: string[] | undefined;
|
|
6080
|
+
type: "npm";
|
|
6081
|
+
package: string;
|
|
6082
|
+
version?: string | undefined;
|
|
6083
|
+
} | {
|
|
6084
|
+
key: string;
|
|
6085
|
+
skills?: string[] | undefined;
|
|
6086
|
+
agents?: string[] | undefined;
|
|
6087
|
+
type: "github";
|
|
6088
|
+
repo: string;
|
|
6089
|
+
ref?: string | undefined;
|
|
6090
|
+
path?: string | undefined;
|
|
6091
|
+
} | {
|
|
6092
|
+
key: string;
|
|
6093
|
+
skills?: string[] | undefined;
|
|
6094
|
+
agents?: string[] | undefined;
|
|
6095
|
+
type: "url";
|
|
6096
|
+
url: string;
|
|
6097
|
+
})[] | undefined;
|
|
6098
|
+
gitBranchNamingCustom?: string | undefined;
|
|
6099
|
+
askUserForBranchName?: boolean | undefined;
|
|
6100
|
+
allowBranchFromRemote?: boolean | undefined;
|
|
6101
|
+
devServerCommand?: string | undefined;
|
|
6102
|
+
screenshotCommand?: string | undefined;
|
|
6103
|
+
interactCommand?: string | undefined;
|
|
6104
|
+
serverTimeout?: number | undefined;
|
|
6105
|
+
cpuKind?: "performance" | "shared" | "standard" | undefined;
|
|
6106
|
+
cpus?: 1 | 2 | 4 | undefined;
|
|
6107
|
+
memory?: 2048 | 4096 | 8192 | 16384 | undefined;
|
|
6108
|
+
memoryLimit?: 1024 | 2048 | 4096 | 8192 | 16384 | undefined;
|
|
6109
|
+
autoStop?: "off" | "stop" | "suspend" | undefined;
|
|
6110
|
+
mainBranchName?: string | undefined;
|
|
6111
|
+
minMachinesRunning?: number | undefined;
|
|
6112
|
+
volumeSize?: 5 | 10 | 12 | 15 | 20 | 25 | 30 | 50 | undefined;
|
|
6113
|
+
includePatterns?: string[] | undefined;
|
|
6114
|
+
errorIgnorePatterns?: string[] | undefined;
|
|
6115
|
+
environmentVariables?: {
|
|
6116
|
+
key: string;
|
|
6117
|
+
value: string;
|
|
6118
|
+
isSecret: boolean;
|
|
6119
|
+
placeholder?: boolean | undefined;
|
|
6120
|
+
explanation?: string | undefined;
|
|
6121
|
+
}[] | undefined;
|
|
6122
|
+
requiredEnvironmentVariables?: {
|
|
6123
|
+
key: string;
|
|
6124
|
+
description?: string | undefined;
|
|
6125
|
+
optional?: boolean | null | undefined;
|
|
6126
|
+
}[] | undefined;
|
|
6127
|
+
fileOverrides?: ({
|
|
6128
|
+
path: string;
|
|
6129
|
+
content: string;
|
|
6130
|
+
} | {
|
|
6131
|
+
path: string;
|
|
6132
|
+
base64: string;
|
|
6133
|
+
})[] | undefined;
|
|
6134
|
+
customInstructions?: {
|
|
6135
|
+
id: string;
|
|
6136
|
+
name: string;
|
|
6137
|
+
content: string;
|
|
6138
|
+
type?: "agent-mode" | "always" | undefined;
|
|
6139
|
+
filePath?: string | undefined;
|
|
6140
|
+
glob?: string | undefined;
|
|
6141
|
+
description?: string | undefined;
|
|
6142
|
+
allowedTools?: string[] | undefined;
|
|
6143
|
+
hideUI?: boolean | undefined;
|
|
6144
|
+
isSkill?: boolean | undefined;
|
|
6145
|
+
disableModelInvocation?: boolean | undefined;
|
|
6146
|
+
userInvocable?: boolean | undefined;
|
|
6147
|
+
scope?: "builtin" | "plugin" | "project" | "user" | undefined;
|
|
6148
|
+
pluginName?: string | undefined;
|
|
6149
|
+
ownedAgents?: {
|
|
6150
|
+
name: string;
|
|
6151
|
+
description?: string | undefined;
|
|
6152
|
+
}[] | undefined;
|
|
6153
|
+
}[] | undefined;
|
|
6154
|
+
customAgents?: {
|
|
6155
|
+
name: string;
|
|
6156
|
+
description?: string | undefined;
|
|
6157
|
+
systemPrompt?: string | string[] | undefined;
|
|
6158
|
+
tools?: string[] | undefined;
|
|
6159
|
+
model?: string | undefined;
|
|
6160
|
+
roundRobinModels?: string[] | undefined;
|
|
6161
|
+
position?: "browser-testing" | "browser-testing-agent" | "builder-code" | "builder-code-agent" | "builder-code-panel" | "builder-code-panel-agent" | "builder-publish-integration" | "builder-publish-integration-agent" | "cli" | "cli-agent" | "code-review-orchestrator" | "code-review-orchestrator-agent" | "create-app-firebase" | "create-app-firebase-agent" | "create-app-lovable" | "create-app-lovable-agent" | "design-system-indexer" | "design-system-indexer-agent" | "dsi-mcp" | "dsi-mcp-agent" | "editor-ai" | "editor-ai-agent" | "fusion" | "fusion-agent" | "org-agent" | "org-agent-agent" | "org-worker" | "org-worker-agent" | "project-configuration" | "project-configuration-agent" | "projects-scheduler-memory-extraction" | "projects-scheduler-memory-extraction-agent" | "publish-agent" | "publish-agent-agent" | "repo-indexing" | "repo-indexing-agent" | "setup-project" | "setup-project-agent" | "unknown" | "unknown-agent" | undefined;
|
|
6162
|
+
needDevServer?: boolean | undefined;
|
|
6163
|
+
needValidation?: boolean | undefined;
|
|
6164
|
+
includeMemories?: boolean | undefined;
|
|
6165
|
+
resetAfterRun?: boolean | undefined;
|
|
6166
|
+
mcpServers?: boolean | undefined;
|
|
6167
|
+
asyncSubAgents?: boolean | undefined;
|
|
6168
|
+
queueBehavior?: {
|
|
6169
|
+
schedule: "interrupt" | "interrupt-clear" | "interrupt-replace" | "next-turn" | "until-idle";
|
|
6170
|
+
coalesce: "merge" | "preserve-order" | "replace-latest";
|
|
6171
|
+
} | undefined;
|
|
6172
|
+
queueMode?: "next-turn" | "until-idle" | {
|
|
6173
|
+
schedule: "interrupt" | "interrupt-clear" | "interrupt-replace" | "next-turn" | "until-idle";
|
|
6174
|
+
coalesce: "merge" | "preserve-order" | "replace-latest";
|
|
6175
|
+
} | undefined;
|
|
6176
|
+
softContextWindow?: number | undefined;
|
|
6177
|
+
filePath?: string | undefined;
|
|
6178
|
+
maxTimeoutMs?: number | undefined;
|
|
6179
|
+
maxCompletions?: number | undefined;
|
|
6180
|
+
reasoning?: "auto" | "high" | "low" | "max" | "medium" | "minimal" | "none" | "xhigh" | undefined;
|
|
6181
|
+
defaultSyncChanges?: {
|
|
6182
|
+
remoteBranches?: "ai" | "both" | "main" | undefined;
|
|
6183
|
+
fastForward?: "auto" | "never" | "required" | undefined;
|
|
6184
|
+
canPush?: boolean | undefined;
|
|
6185
|
+
uncommittedChanges?: "commit" | "fail" | "stash" | undefined;
|
|
6186
|
+
requestRefresh?: boolean | undefined;
|
|
6187
|
+
allowUnrelatedHistory?: boolean | undefined;
|
|
6188
|
+
resetToBase?: boolean | undefined;
|
|
6189
|
+
updateLastCommits?: boolean | undefined;
|
|
6190
|
+
} | undefined;
|
|
6191
|
+
scope?: "plugin" | "project" | "user" | undefined;
|
|
6192
|
+
pluginName?: string | undefined;
|
|
6193
|
+
}[] | undefined;
|
|
6194
|
+
mcpServers?: Record<string, {
|
|
6195
|
+
command: string;
|
|
6196
|
+
args?: string[] | undefined;
|
|
6197
|
+
env?: Record<string, string> | undefined;
|
|
6198
|
+
envFile?: string | undefined;
|
|
6199
|
+
retries?: number | undefined;
|
|
6200
|
+
}> | undefined;
|
|
6201
|
+
commitMode?: "commits" | "draft-prs" | "prs" | undefined;
|
|
6202
|
+
enableMergePR?: boolean | undefined;
|
|
6203
|
+
minRequiredApprovals?: number | undefined;
|
|
6204
|
+
requireApprovalBeforePR?: boolean | undefined;
|
|
6205
|
+
requiredApproverRoleIds?: string[] | undefined;
|
|
6206
|
+
requiredApproverRoleId?: string | undefined;
|
|
6207
|
+
defaultBranchType?: "private" | "shared" | undefined;
|
|
6208
|
+
dockerImagePath?: string | undefined;
|
|
6209
|
+
ghcrUsername?: string | null | undefined;
|
|
6210
|
+
ghcrToken?: string | null | undefined;
|
|
6211
|
+
nodeVersion?: string | undefined;
|
|
6212
|
+
designSystems?: string[] | undefined;
|
|
6213
|
+
designTokenStrictMode?: boolean | undefined;
|
|
6214
|
+
designModeSelector?: string | undefined;
|
|
6215
|
+
folders?: {
|
|
6216
|
+
name: string;
|
|
6217
|
+
remoteUrl: string;
|
|
6218
|
+
mainBranchName?: string | undefined;
|
|
6219
|
+
includePath?: string | undefined;
|
|
6220
|
+
addedBy?: string | undefined;
|
|
6221
|
+
repoProvider?: string | undefined;
|
|
6222
|
+
repoProtocol?: string | undefined;
|
|
6223
|
+
enableGit?: boolean | undefined;
|
|
6224
|
+
}[] | undefined;
|
|
6225
|
+
agentsMD?: string | undefined;
|
|
6226
|
+
initializationCommand?: string | undefined;
|
|
6227
|
+
https?: boolean | undefined;
|
|
6228
|
+
localHttpsDomain?: string | undefined;
|
|
6229
|
+
browserAutomation?: {
|
|
6230
|
+
backgroundAgents?: boolean | undefined;
|
|
6231
|
+
builderApp?: boolean | undefined;
|
|
6232
|
+
instructions?: string | undefined;
|
|
6233
|
+
authUser?: string | undefined;
|
|
6234
|
+
authPassword?: string | undefined;
|
|
6235
|
+
} | undefined;
|
|
6236
|
+
prReviewer?: {
|
|
6237
|
+
enabled: boolean;
|
|
6238
|
+
instructions?: string | undefined;
|
|
6239
|
+
reviewEffort?: "high" | "low" | "medium" | undefined;
|
|
6240
|
+
model?: string | undefined;
|
|
6241
|
+
} | undefined;
|
|
6242
|
+
enableSnapshots?: boolean | undefined;
|
|
6243
|
+
postMergeMemories?: boolean | undefined;
|
|
6244
|
+
maxAgentCompletions?: number | undefined;
|
|
6245
|
+
enableAgentMode?: boolean | undefined;
|
|
6246
|
+
allowPreviewAutoSubmit?: boolean | undefined;
|
|
6247
|
+
enforceDesktopAppOnly?: boolean | undefined;
|
|
6248
|
+
disableDesktopProxying?: boolean | undefined;
|
|
6249
|
+
previewUrl?: string | null | undefined;
|
|
6250
|
+
recentUrls?: {
|
|
6251
|
+
url: string;
|
|
6252
|
+
timestamp: number;
|
|
6253
|
+
starred: boolean;
|
|
6254
|
+
}[] | undefined;
|
|
6255
|
+
httpsServerKeyPath?: string | undefined;
|
|
6256
|
+
httpsServerCertPath?: string | undefined;
|
|
6257
|
+
httpsServerCaPath?: string | undefined;
|
|
6258
|
+
httpsServerKeyContent?: string | undefined;
|
|
6259
|
+
httpsServerCertContent?: string | undefined;
|
|
6260
|
+
httpsServerCaContent?: string | undefined;
|
|
6261
|
+
httpsServerPfx?: string | undefined;
|
|
6262
|
+
httpsServerPassphrase?: string | undefined;
|
|
6263
|
+
httpsServerSecureProtocol?: string | undefined;
|
|
6264
|
+
httpsServerSecureOptions?: number | undefined;
|
|
6265
|
+
httpsServerCiphers?: string | undefined;
|
|
6266
|
+
httpsServerHonorCipherOrder?: boolean | undefined;
|
|
6267
|
+
httpsServerRequestCert?: boolean | undefined;
|
|
6268
|
+
httpsServerRejectUnauthorized?: boolean | undefined;
|
|
6269
|
+
isPreferredForRepo?: boolean | undefined;
|
|
6270
|
+
singleTenancyConfig?: string | undefined;
|
|
6271
|
+
previewPasswordProtection?: {
|
|
6272
|
+
enabled: boolean;
|
|
6273
|
+
password?: string | undefined;
|
|
6274
|
+
} | undefined;
|
|
6275
|
+
} | undefined;
|
|
6276
|
+
hosting?: {
|
|
6277
|
+
enabled?: boolean | undefined;
|
|
6278
|
+
buildConfig?: {
|
|
6279
|
+
buildCommand?: string | undefined;
|
|
6280
|
+
buildOutputDir?: string | undefined;
|
|
6281
|
+
nodeVersion?: string | undefined;
|
|
6282
|
+
} | undefined;
|
|
6283
|
+
environment?: {
|
|
6284
|
+
build?: {
|
|
6285
|
+
key: string;
|
|
6286
|
+
value: string;
|
|
6287
|
+
isSecret: boolean;
|
|
6288
|
+
placeholder?: boolean | undefined;
|
|
6289
|
+
explanation?: string | undefined;
|
|
6290
|
+
}[] | undefined;
|
|
6291
|
+
prod?: {
|
|
6292
|
+
key: string;
|
|
6293
|
+
value: string;
|
|
6294
|
+
isSecret: boolean;
|
|
6295
|
+
placeholder?: boolean | undefined;
|
|
6296
|
+
explanation?: string | undefined;
|
|
6297
|
+
}[] | undefined;
|
|
6298
|
+
} | undefined;
|
|
6299
|
+
autoDeploy?: boolean | undefined;
|
|
6300
|
+
} | undefined;
|
|
6301
|
+
} | undefined;
|
|
6302
|
+
}>>;
|
|
5065
6303
|
export type CreateProjectTemplateFromProjectOptions = z.infer<typeof CreateProjectTemplateFromProjectOptionsSchema>;
|
|
5066
6304
|
/**
|
|
5067
6305
|
* Deliberately minimal: the stored template carries plaintext secret env values,
|