@builder.io/ai-utils 0.13.1 → 0.13.2

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.d.ts +9 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/ai-utils",
3
- "version": "0.13.1",
3
+ "version": "0.13.2",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/codegen.d.ts CHANGED
@@ -123,6 +123,14 @@ export interface FindMediaToolInput {
123
123
  orientation?: "landscape" | "portrait" | "square" | null;
124
124
  hex_color?: string | null;
125
125
  }
126
+ export interface MediaToolInput {
127
+ query: string;
128
+ type: "image" | "video" | "gen-image";
129
+ orientation?: "landscape" | "portrait" | "square" | null;
130
+ hex_color?: string | null;
131
+ /** Reference image URLs for AI image generation (only used with type: "gen-image") */
132
+ input_image_urls?: string[] | null;
133
+ }
126
134
  export interface MemoryToolInput {
127
135
  memory: string;
128
136
  memory_id?: string | null;
@@ -216,6 +224,7 @@ export interface CodeGenToolMap {
216
224
  GetScreenshot: GetScreenshotToolInput;
217
225
  MultiEdit: MultiSearchReplaceInput;
218
226
  FindMedia: FindMediaToolInput;
227
+ Media: MediaToolInput;
219
228
  Memory: MemoryToolInput;
220
229
  Bash: BashToolInput;
221
230
  PowerShell: PowerShellToolInput;