@builder.io/ai-utils 0.12.11 → 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 +1 -1
- package/src/codegen.d.ts +51 -0
package/package.json
CHANGED
package/src/codegen.d.ts
CHANGED
|
@@ -1310,6 +1310,57 @@ export interface CodegenApiTerminal {
|
|
|
1310
1310
|
exitCode: number | undefined;
|
|
1311
1311
|
initialCommand?: string;
|
|
1312
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
|
+
}
|
|
1313
1364
|
export interface SetupCommandResult {
|
|
1314
1365
|
code: number | null;
|
|
1315
1366
|
output: string;
|