@builder.io/dev-tools 1.19.4 → 1.19.6

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.
@@ -39,7 +39,7 @@ export declare const parseCLIURL: (url: string | undefined) => {
39
39
  export declare function getUserContext(sys: DevToolsSys, gitWorkingDirectory?: string): Promise<UserContext>;
40
40
  export declare function makeAsyncIterator<T>(): readonly [AsyncGenerator<T, void, void>, (event: T) => void, () => void];
41
41
  export declare function isAGENTSFile(filePath: string): boolean;
42
- export declare function isBaseImportantFile(filePath: string): boolean;
42
+ export declare function isBaseImportantFile(filePath: string, recommendedRootDir: string): boolean;
43
43
  export declare function hasBuildError(text: string): boolean;
44
44
  /**
45
45
  * Loads a workspace configuration from a JSON file
@@ -76,3 +76,4 @@ export declare function waitRace(promise: Promise<any>, timeout: number): Promis
76
76
  export declare function newAbortError(): Error;
77
77
  export declare function getDevServerStep(devServer: DevServerOrchestrator, fusionConfig: FusionConfig | undefined): GenerateCompletionStepDevServerState;
78
78
  export declare function moveArrayElement<T>(arr: T[], old_index: number, new_index: number): T[];
79
+ export declare function computeRecommendedRootDir(workspace: WorkspaceConfiguration | undefined): string;
@@ -7,8 +7,10 @@ import type { CustomInstruction } from "$/ai-utils";
7
7
  /**
8
8
  * Get custom instructions from the filesystem
9
9
  * Searches for instruction files in:
10
- * - .cursor/rules/
11
- * - .builder/rules/
10
+ * - .cursor/rules/ - Rule files (.mdc, .md, etc.)
11
+ * - .builder/rules/ - Rule files (.mdc, .md, etc.)
12
+ * - .claude/skills/ - SKILL.md files only (subdirectories supported)
13
+ * - .builder/skills/ - SKILL.md files only (subdirectories supported)
12
14
  * - .cursorrules, .builderrules, .windsurfrules
13
15
  * - .github/copilot-instructions.md
14
16
  *
@@ -16,7 +18,7 @@ import type { CustomInstruction } from "$/ai-utils";
16
18
  * @param projectDir - Project directory (used for relative paths)
17
19
  * @param currentDir - Starting directory for search
18
20
  * @param rootDir - Root directory to stop search
19
- * @returns Array of discovered custom instructions
21
+ * @returns Array of discovered custom instructions (both rules and skills)
20
22
  */
21
23
  export declare function getCustomInstructions({ sys, projectDir, currentDir, rootDir, }: {
22
24
  sys: DevToolsSys;
@@ -0,0 +1 @@
1
+ export {};