@builder.io/ai-utils 0.4.10 → 0.4.11
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 +5 -6
package/package.json
CHANGED
package/src/codegen.d.ts
CHANGED
|
@@ -74,9 +74,6 @@ export interface SearchReplaceInput {
|
|
|
74
74
|
old_str: string;
|
|
75
75
|
new_str: string;
|
|
76
76
|
}
|
|
77
|
-
export interface GetDSDocumentsToolInput {
|
|
78
|
-
componentNames: string[];
|
|
79
|
-
}
|
|
80
77
|
export interface FindMediaToolInput {
|
|
81
78
|
query: string;
|
|
82
79
|
type: "image" | "video";
|
|
@@ -94,7 +91,6 @@ export interface CodeGenToolMap {
|
|
|
94
91
|
web_search: WebSearchToolInput;
|
|
95
92
|
write_file: WriteFileInput;
|
|
96
93
|
search_replace_file: SearchReplaceInput;
|
|
97
|
-
get_design_system_docs: GetDSDocumentsToolInput;
|
|
98
94
|
find_media: FindMediaToolInput;
|
|
99
95
|
}
|
|
100
96
|
export type CodeGenTools = keyof CodeGenToolMap;
|
|
@@ -301,7 +297,7 @@ export interface GenerateCompletionStepContinue {
|
|
|
301
297
|
id: string;
|
|
302
298
|
url: string;
|
|
303
299
|
}
|
|
304
|
-
export type DevCommandState = "running" | "stopped" | "unset";
|
|
300
|
+
export type DevCommandState = "running" | "stopped" | "failed" | "unset";
|
|
305
301
|
export type SetupCommandState = "not-installed" | "installing" | "installed" | "install-failed";
|
|
306
302
|
export type HttpServerState = "ok-2xx" | "error-4xx" | "error-5xx" | "error-fetch" | "stopped" | "connecting";
|
|
307
303
|
export interface CodeGenHealthStatus {
|
|
@@ -393,7 +389,7 @@ export interface GenerateCompletionStepSession {
|
|
|
393
389
|
createdUnixTime: number;
|
|
394
390
|
updatedUnixTime: number;
|
|
395
391
|
id: string;
|
|
396
|
-
|
|
392
|
+
turns: number;
|
|
397
393
|
}
|
|
398
394
|
export interface GenerateCompletionStepServerToolResult {
|
|
399
395
|
type: "server_tool_result";
|
|
@@ -470,12 +466,15 @@ export interface CodegenTurn {
|
|
|
470
466
|
}
|
|
471
467
|
export interface GetSessionTurnsResult {
|
|
472
468
|
turns: CodegenTurn[];
|
|
469
|
+
allIds: string[];
|
|
470
|
+
lastCompletionId: string | undefined;
|
|
473
471
|
sessionId: string;
|
|
474
472
|
initialUrl: string | undefined;
|
|
475
473
|
beforeCommit: string | undefined;
|
|
476
474
|
title: string | undefined;
|
|
477
475
|
createdUnixTime: number | undefined;
|
|
478
476
|
updatedUnixTime: number | undefined;
|
|
477
|
+
canLoadMore: boolean;
|
|
479
478
|
}
|
|
480
479
|
export interface CodegenFeedback {
|
|
481
480
|
id: string;
|