@builder.io/ai-utils 0.5.15 → 0.5.16
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 +6 -1
package/package.json
CHANGED
package/src/codegen.d.ts
CHANGED
|
@@ -173,6 +173,9 @@ export interface CodeGenToolMap {
|
|
|
173
173
|
export type CodeGenTools = keyof CodeGenToolMap;
|
|
174
174
|
export type AllCodeGenTools = CodeGenTools | "web_search";
|
|
175
175
|
export type CodeGenMode = "quality" | "quality-v3" | "quality-v4" | "quality-v4-agent";
|
|
176
|
+
export interface RepoIndexingConfig {
|
|
177
|
+
designSystems: string[];
|
|
178
|
+
}
|
|
176
179
|
export interface CodeGenInputOptions {
|
|
177
180
|
position: string;
|
|
178
181
|
eventName?: string;
|
|
@@ -197,6 +200,7 @@ export interface CodeGenInputOptions {
|
|
|
197
200
|
typescript?: boolean;
|
|
198
201
|
userContext?: UserContext;
|
|
199
202
|
aclPolicy?: AclPolicy;
|
|
203
|
+
repoIndexingConfig?: RepoIndexingConfig;
|
|
200
204
|
enabledTools?: CodeGenTools[];
|
|
201
205
|
maxTokens?: number;
|
|
202
206
|
maxPages?: number;
|
|
@@ -795,6 +799,7 @@ export interface FusionConfig {
|
|
|
795
799
|
isLocal?: boolean;
|
|
796
800
|
envVariables?: Record<string, string>;
|
|
797
801
|
accessControl?: AclPolicy;
|
|
802
|
+
repoIndexingConfig?: RepoIndexingConfig;
|
|
798
803
|
machine?: RemoteMachineConfig;
|
|
799
804
|
_attemptDryRunBackupGit?: boolean;
|
|
800
805
|
/** @deprecated use devCommand */
|
|
@@ -849,7 +854,7 @@ export interface InitState {
|
|
|
849
854
|
branch: string;
|
|
850
855
|
}[];
|
|
851
856
|
}
|
|
852
|
-
export type LaunchServerState = "initial" | "init-running" | "init-complete" | "ready" | "active-session" | "error";
|
|
857
|
+
export type LaunchServerState = "initial" | "init-running" | "init-complete" | "ready" | "active-session" | "error" | "closing";
|
|
853
858
|
export interface LaunchServerStatus {
|
|
854
859
|
status: "ok";
|
|
855
860
|
state: LaunchServerState;
|