@builder.io/ai-utils 0.12.10 → 0.12.12

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.12.10",
3
+ "version": "0.12.12",
4
4
  "description": "Builder.io AI utils",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
package/src/codegen.d.ts CHANGED
@@ -1046,6 +1046,7 @@ export interface FusionConfig {
1046
1046
  conflictBehavior: "replace" | "exit" | "kill";
1047
1047
  };
1048
1048
  miseLocationPath?: string;
1049
+ proxyOrigin?: string;
1049
1050
  setupDependencies?: SetupDependency[];
1050
1051
  projectId?: string;
1051
1052
  branchName?: string;
@@ -1309,6 +1310,57 @@ export interface CodegenApiTerminal {
1309
1310
  exitCode: number | undefined;
1310
1311
  initialCommand?: string;
1311
1312
  }
1313
+ export interface FolderWatchEvent {
1314
+ type: "folder-watch";
1315
+ watchId: string;
1316
+ event: "add" | "change" | "unlink" | "addDir" | "unlinkDir";
1317
+ /** Relative path from workspace root */
1318
+ path: string;
1319
+ /** Timestamp of the event */
1320
+ timestamp: number;
1321
+ }
1322
+ export interface SearchFilesOptions {
1323
+ /** Search query/pattern */
1324
+ query: string;
1325
+ /** Case insensitive search */
1326
+ caseInsensitive?: boolean;
1327
+ /** Include glob pattern (e.g., "*.ts", "src/**") */
1328
+ includeGlob?: string;
1329
+ /** Exclude glob pattern */
1330
+ excludeGlob?: string;
1331
+ /** Maximum number of results to return */
1332
+ maxResults?: number;
1333
+ /** Include context lines before each match */
1334
+ contextBefore?: number;
1335
+ /** Include context lines after each match */
1336
+ contextAfter?: number;
1337
+ }
1338
+ export interface SearchFileMatch {
1339
+ /** Relative file path */
1340
+ filePath: string;
1341
+ /** Line number (1-indexed) */
1342
+ lineNumber: number;
1343
+ /** Line content */
1344
+ lineContent: string;
1345
+ /** Column number where match starts (0-indexed) */
1346
+ columnStart?: number;
1347
+ /** Column number where match ends (0-indexed) */
1348
+ columnEnd?: number;
1349
+ /** Context lines before the match */
1350
+ contextBefore?: string[];
1351
+ /** Context lines after the match */
1352
+ contextAfter?: string[];
1353
+ }
1354
+ export interface SearchFilesResult {
1355
+ /** Array of search matches */
1356
+ matches: SearchFileMatch[];
1357
+ /** Total number of matches found */
1358
+ totalMatches: number;
1359
+ /** Number of files with matches */
1360
+ filesWithMatches: number;
1361
+ /** Whether results were truncated */
1362
+ truncated: boolean;
1363
+ }
1312
1364
  export interface SetupCommandResult {
1313
1365
  code: number | null;
1314
1366
  output: string;
@@ -31,6 +31,7 @@ interface OrganizationSettings {
31
31
  fusionShareableUrlSuffix?: string;
32
32
  autoDetectDevServerPatterns?: string[];
33
33
  environmentVariables?: EnvironmentVariable[];
34
+ fusionPrLabel?: string;
34
35
  runInPty?: boolean;
35
36
  privacyMode?: Pick<PrivacyMode, "mcpServers" | "redactUserMessages" | "redactLLMMessages"> & {
36
37
  enabled?: boolean;
package/src/projects.d.ts CHANGED
@@ -373,6 +373,7 @@ export interface Project {
373
373
  refreshPreview?: boolean;
374
374
  installCommand?: string;
375
375
  validateCommand?: string;
376
+ proxyOrigin?: string;
376
377
  gitBranchNamingStrategy?: "ai-session" | "branch-name" | "custom";
377
378
  setupDependencies?: SetupDependency[];
378
379
  gitBranchNamingCustom?: string;