@builder.io/dev-tools 1.28.6-dev.202602230921.2c1e3402d → 1.28.7-dev.202602240904.9bde2c916
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/cli/index.cjs +200 -171
- package/cli/index.cjs.map +4 -4
- package/core/index.cjs +1 -1
- package/core/index.mjs +1 -1
- package/node/index.cjs +1 -1
- package/node/index.mjs +1 -1
- package/package.json +1 -1
- package/server/index.cjs +2 -2
- package/server/index.mjs +2 -2
- package/types/cli/backup.d.ts +5 -3
- package/types/cli/utils/rules-discovery.d.ts +2 -0
- package/types/tsconfig.tsbuildinfo +1 -1
package/types/cli/backup.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { DevToolsSys } from "../types";
|
|
2
2
|
import type { Credentials } from "./credentials";
|
|
3
|
-
import { type GitBackupUploadUrlResult, type GitBackupUploadUrlOptions, type
|
|
3
|
+
import { type GitBackupUploadUrlResult, type GitBackupUploadUrlOptions, type GitBackupRecordBody, type GitBackupRecordResult, type BackupMetadata, type WorkspaceConfiguration, type CodegenRuntimeStatus, type BackupGitRepoResult } from "$/ai-utils";
|
|
4
4
|
interface BackupGitRepoOptions {
|
|
5
5
|
sys: DevToolsSys;
|
|
6
6
|
credentials: Credentials;
|
|
@@ -18,6 +18,8 @@ interface BackupGitRepoOptions {
|
|
|
18
18
|
debug: boolean;
|
|
19
19
|
forcedFullBackup: boolean;
|
|
20
20
|
canAbortMerge: boolean;
|
|
21
|
+
folderName?: string;
|
|
22
|
+
repoUrl?: string;
|
|
21
23
|
}
|
|
22
24
|
/**
|
|
23
25
|
* Creates a backup of git repository changes made by the AI system.
|
|
@@ -31,7 +33,7 @@ interface BackupGitRepoOptions {
|
|
|
31
33
|
* The aiBranch is where the AI creates commits as work progresses, while featureBranch
|
|
32
34
|
* is the base branch where work started (usually "main").
|
|
33
35
|
*/
|
|
34
|
-
export declare function backupGitRepo({ sys, credentials, projectId, branchName, repoPath, aiBranch, featureBranch, workspace, isConnectedToProvider, debug, forcedFullBackup, canAbortMerge, }: BackupGitRepoOptions): Promise<BackupGitRepoResult>;
|
|
36
|
+
export declare function backupGitRepo({ sys, credentials, projectId, branchName, repoPath, aiBranch, featureBranch, workspace, isConnectedToProvider, debug, forcedFullBackup, canAbortMerge, folderName, repoUrl, }: BackupGitRepoOptions): Promise<BackupGitRepoResult>;
|
|
35
37
|
type InitialCommitHashResult = {
|
|
36
38
|
initialBranch: string;
|
|
37
39
|
initialCommitHash: string | undefined;
|
|
@@ -73,7 +75,7 @@ export declare function requestSignedUploadUrl(credentials: Credentials, body: G
|
|
|
73
75
|
/**
|
|
74
76
|
* Records a successful git backup in Firebase
|
|
75
77
|
*/
|
|
76
|
-
export declare function recordBackup(credentials: Credentials, body:
|
|
78
|
+
export declare function recordBackup(credentials: Credentials, body: GitBackupRecordBody): Promise<GitBackupRecordResult>;
|
|
77
79
|
export interface GitBackupDownloadResultValid {
|
|
78
80
|
success: true;
|
|
79
81
|
partial: boolean;
|
|
@@ -9,8 +9,10 @@ import type { CustomInstruction } from "$/ai-utils";
|
|
|
9
9
|
* Searches for instruction files in:
|
|
10
10
|
* - .cursor/rules/ - Rule files (.mdc or RULE.md only)
|
|
11
11
|
* - .builder/rules/ - Rule files (.mdc or RULE.md only)
|
|
12
|
+
* - .agents/rules/ - Rule files (.mdc or RULE.md only)
|
|
12
13
|
* - .claude/skills/ - SKILL.md files only (subdirectories supported)
|
|
13
14
|
* - .builder/skills/ - SKILL.md files only (subdirectories supported)
|
|
15
|
+
* - .agents/skills/ - SKILL.md files only (subdirectories supported)
|
|
14
16
|
* - .cursorrules, .builderrules, .windsurfrules
|
|
15
17
|
* - .github/copilot-instructions.md
|
|
16
18
|
*
|