@builder.io/ai-utils 0.5.3 → 0.5.5

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder.io/ai-utils",
3
- "version": "0.5.3",
3
+ "version": "0.5.5",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/codegen.d.ts CHANGED
@@ -61,6 +61,8 @@ export interface DevServerControlInput {
61
61
  }
62
62
  export interface BashToolInput {
63
63
  command?: string;
64
+ timeout?: number;
65
+ description?: string;
64
66
  restart?: boolean;
65
67
  }
66
68
  export interface WebSearchToolInput {
@@ -77,6 +79,7 @@ export interface SearchReplaceInput {
77
79
  old_str: string;
78
80
  new_str: string;
79
81
  replace_all?: boolean;
82
+ apply_with_error?: boolean;
80
83
  }
81
84
  export interface MultiSearchReplaceInput {
82
85
  title: string;
@@ -86,6 +89,7 @@ export interface MultiSearchReplaceInput {
86
89
  new_str: string;
87
90
  replace_all?: boolean;
88
91
  }[];
92
+ apply_with_error?: boolean;
89
93
  }
90
94
  export interface FindMediaToolInput {
91
95
  query: string;
package/src/features.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export declare enum Feature {
2
- REPO_INDEXING = "repo-indexing"
2
+ REPO_INDEXING = "repo-indexing",
3
+ COMPONENT_MAPPING = "component-mapping"
3
4
  }
package/src/features.js CHANGED
@@ -1,4 +1,5 @@
1
1
  export var Feature;
2
2
  (function (Feature) {
3
3
  Feature["REPO_INDEXING"] = "repo-indexing";
4
+ Feature["COMPONENT_MAPPING"] = "component-mapping";
4
5
  })(Feature || (Feature = {}));
package/src/projects.d.ts CHANGED
@@ -157,6 +157,7 @@ export type GitConfig = {
157
157
  export type GitConfigs = Record<string, GitConfig>;
158
158
  export declare const EXAMPLE_REPOS: string[];
159
159
  export declare const STARTER_REPO = "BuilderIO/fusion-starter";
160
+ export declare const EXAMPLE_OR_STARTER_REPOS: string[];
160
161
  export interface GitBackupUploadUrlResult {
161
162
  signedUrl: string;
162
163
  filePath: string;
@@ -175,6 +176,7 @@ export interface GitBackupDownloadUrlResult {
175
176
  filePath: string;
176
177
  expiresAt: string;
177
178
  exists: boolean;
179
+ partial: boolean;
178
180
  }
179
181
  export interface GitBackupDownloadUrlOptions {
180
182
  projectId: string;
package/src/projects.js CHANGED
@@ -5,3 +5,4 @@ export const EXAMPLE_REPOS = [
5
5
  "steve8708/cloudscape-demos",
6
6
  ];
7
7
  export const STARTER_REPO = "BuilderIO/fusion-starter";
8
+ export const EXAMPLE_OR_STARTER_REPOS = [...EXAMPLE_REPOS, STARTER_REPO];