@builder.io/ai-utils 0.11.15 → 0.11.17
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 +24 -24
package/package.json
CHANGED
package/src/codegen.d.ts
CHANGED
|
@@ -259,6 +259,7 @@ export interface CodeGenInputOptions {
|
|
|
259
259
|
userContext?: UserContext;
|
|
260
260
|
aclPolicy?: AclPolicy;
|
|
261
261
|
repoIndexingConfig?: RepoIndexingConfig;
|
|
262
|
+
recommendedRoot?: string;
|
|
262
263
|
enabledTools?: CodeGenTools[];
|
|
263
264
|
enabledMCPs?: string[];
|
|
264
265
|
/**
|
|
@@ -875,7 +876,7 @@ export interface BackupMetadata {
|
|
|
875
876
|
check: CheckBackupDataResultValid | CheckBackupDataResultStale | CheckBackupDataResultForcedBackup;
|
|
876
877
|
downloadUrl: GitBackupDownloadUrlResult | undefined;
|
|
877
878
|
}
|
|
878
|
-
export
|
|
879
|
+
export interface WorkspaceFolder {
|
|
879
880
|
enableGit?: boolean;
|
|
880
881
|
path: string;
|
|
881
882
|
name?: string;
|
|
@@ -885,7 +886,8 @@ export type WorkspaceFolder = {
|
|
|
885
886
|
branchName?: string;
|
|
886
887
|
backupMetadata?: BackupMetadata;
|
|
887
888
|
initializationCommand?: string;
|
|
888
|
-
|
|
889
|
+
recommendedRoot?: string;
|
|
890
|
+
}
|
|
889
891
|
export interface WorkspaceConfiguration {
|
|
890
892
|
agentsMD?: string;
|
|
891
893
|
folders: WorkspaceFolder[];
|
|
@@ -1012,6 +1014,13 @@ export interface FusionConfig {
|
|
|
1012
1014
|
localHttpsDomain?: string;
|
|
1013
1015
|
https?: boolean;
|
|
1014
1016
|
nativeApp?: boolean;
|
|
1017
|
+
/**
|
|
1018
|
+
* If true, automatically update /etc/hosts file for non-localhost proxy servers.
|
|
1019
|
+
* This is useful for custom domains like "development.local".
|
|
1020
|
+
*
|
|
1021
|
+
* @default false
|
|
1022
|
+
*/
|
|
1023
|
+
autoConfigureHosts?: boolean;
|
|
1015
1024
|
/**
|
|
1016
1025
|
* Local MCP server configurations.
|
|
1017
1026
|
* Servers defined here will be merged with servers from mcp.json.
|
|
@@ -1176,6 +1185,7 @@ export interface ConfigureDevOrchestratorUpdates {
|
|
|
1176
1185
|
devCommand: boolean;
|
|
1177
1186
|
setupCommand: boolean;
|
|
1178
1187
|
proxyServer: boolean;
|
|
1188
|
+
hosts: boolean;
|
|
1179
1189
|
env: boolean;
|
|
1180
1190
|
setupResult: SetupCommandResult | undefined;
|
|
1181
1191
|
devResult: DevCommandResult | undefined;
|
|
@@ -1204,35 +1214,25 @@ export interface FrameworkInfo {
|
|
|
1204
1214
|
confidence: "high" | "medium" | "low";
|
|
1205
1215
|
indicators: string[];
|
|
1206
1216
|
}
|
|
1217
|
+
export interface EnvVariableInfo {
|
|
1218
|
+
key: string;
|
|
1219
|
+
placeholderValue?: string;
|
|
1220
|
+
source: string;
|
|
1221
|
+
}
|
|
1222
|
+
export interface SetupRequirement {
|
|
1223
|
+
tool: string;
|
|
1224
|
+
version?: string;
|
|
1225
|
+
}
|
|
1207
1226
|
export interface RepoMetrics {
|
|
1208
1227
|
languages: LanguageInfo[];
|
|
1209
1228
|
isEmpty: boolean;
|
|
1210
1229
|
isMonorepo: boolean;
|
|
1211
1230
|
monorepoType?: "npm-workspaces" | "yarn-workspaces" | "pnpm-workspaces" | "lerna" | "nx" | "turborepo" | "cargo-workspaces" | "other";
|
|
1212
1231
|
frameworks: FrameworkInfo[];
|
|
1213
|
-
setupRequirements:
|
|
1214
|
-
hasPrivatePackages: boolean;
|
|
1215
|
-
requiresNpmrc: boolean;
|
|
1216
|
-
requiresEnvFile: boolean;
|
|
1217
|
-
requiresNodeVersion: boolean;
|
|
1218
|
-
nodeVersion?: string;
|
|
1219
|
-
requiresRustToolchain: boolean;
|
|
1220
|
-
rustVersion?: string;
|
|
1221
|
-
requiresPythonVersion: boolean;
|
|
1222
|
-
pythonVersion?: string;
|
|
1223
|
-
requiresGoVersion: boolean;
|
|
1224
|
-
goVersion?: string;
|
|
1225
|
-
requiresRubyVersion: boolean;
|
|
1226
|
-
rubyVersion?: string;
|
|
1227
|
-
requiresDockerCompose: boolean;
|
|
1228
|
-
requiresDatabase: boolean;
|
|
1229
|
-
databaseTypes?: string[];
|
|
1230
|
-
};
|
|
1232
|
+
setupRequirements: SetupRequirement[];
|
|
1231
1233
|
packageManagers: string[];
|
|
1232
1234
|
buildTools: string[];
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
cicd: string[];
|
|
1236
|
-
containerization: string[];
|
|
1235
|
+
environmentVariables?: EnvVariableInfo[];
|
|
1236
|
+
possibleMonorepoRoots?: string[];
|
|
1237
1237
|
errors?: string[];
|
|
1238
1238
|
}
|