@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/codegen.ts +8 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/ai-utils",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/codegen.ts CHANGED
@@ -91,7 +91,10 @@ export interface GetRuleToolInput {
91
91
  name: string;
92
92
  }
93
93
 
94
- export interface GetBuildOutputToolInput {}
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
- get_build_output: GetBuildOutputToolInput;
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 {