@builder.io/ai-utils 0.3.7 → 0.3.8
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.ts +8 -3
package/package.json
CHANGED
package/src/codegen.ts
CHANGED
|
@@ -91,7 +91,10 @@ export interface GetRuleToolInput {
|
|
|
91
91
|
name: string;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
export interface
|
|
94
|
+
export interface DevServerControlInput {
|
|
95
|
+
restart?: boolean;
|
|
96
|
+
getLogs?: boolean;
|
|
97
|
+
}
|
|
95
98
|
|
|
96
99
|
export interface BashToolInput {
|
|
97
100
|
command?: string;
|
|
@@ -107,7 +110,7 @@ export interface CodeGenToolMap {
|
|
|
107
110
|
glob_search: GlobSearchToolInput;
|
|
108
111
|
grep_search: GrepSearchToolInput;
|
|
109
112
|
get_rule: GetRuleToolInput;
|
|
110
|
-
|
|
113
|
+
dev_server_control: DevServerControlInput;
|
|
111
114
|
bash: BashToolInput;
|
|
112
115
|
web_search: WebSearchToolInput;
|
|
113
116
|
}
|
|
@@ -402,8 +405,9 @@ export interface GenerateCompletionStepClose {
|
|
|
402
405
|
|
|
403
406
|
export interface GenerateCompletionStepStdio {
|
|
404
407
|
type: "stdio";
|
|
408
|
+
command: string;
|
|
405
409
|
stream: "stdout" | "stderr";
|
|
406
|
-
source: "run-command";
|
|
410
|
+
source: "run-command" | "tool-command";
|
|
407
411
|
content: string;
|
|
408
412
|
}
|
|
409
413
|
|
|
@@ -456,6 +460,7 @@ export interface GenerateUserMessage {
|
|
|
456
460
|
includeBaseFiles?: boolean;
|
|
457
461
|
skipSearch?: boolean;
|
|
458
462
|
attachments?: Attachment[];
|
|
463
|
+
debugMode?: boolean;
|
|
459
464
|
}
|
|
460
465
|
|
|
461
466
|
export interface UserInput {
|