builder.io 1.7.20 → 1.7.22
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 +336 -336
- 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 +3 -3
- package/server/index.mjs +3 -3
- package/types/cli/launch/InitStateMachine.d.ts +2 -0
- package/types/cli/launch/dry-run-backup.d.ts +9 -0
- package/types/cli/launch/helpers.d.ts +1 -0
- package/types/cli/launch/machine-health.d.ts +12 -0
- package/types/tsconfig.tsbuildinfo +1 -1
|
@@ -8,6 +8,7 @@ export interface InitConfig {
|
|
|
8
8
|
credentials: Credentials;
|
|
9
9
|
sys: DevToolsSys;
|
|
10
10
|
debug?: boolean;
|
|
11
|
+
sentryTags?: Record<string, string>;
|
|
11
12
|
}
|
|
12
13
|
export interface InitStatus {
|
|
13
14
|
message: string;
|
|
@@ -34,6 +35,7 @@ export declare class InitStateMachine {
|
|
|
34
35
|
step2ConfigureGitRepositories(config: InitConfig, repositories: Required<WorkspaceFolder>[], signal?: AbortSignal): Promise<void>;
|
|
35
36
|
step3ConfigureGitUser(config: InitConfig, repositories: Required<WorkspaceFolder>[], signal?: AbortSignal): Promise<void>;
|
|
36
37
|
step4StashChanges(config: InitConfig, repositories: Required<WorkspaceFolder>[], signal?: AbortSignal): Promise<void>;
|
|
38
|
+
step5CollectRepoInfo(config: InitConfig, repositories: Required<WorkspaceFolder>[], signal?: AbortSignal): Promise<void>;
|
|
37
39
|
private isGitConfigured;
|
|
38
40
|
private getGitRemoteUrl;
|
|
39
41
|
private sanitizeGitRemoteUrl;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type InitConfig } from "./InitStateMachine";
|
|
2
|
+
import type { InitState } from "$/ai-utils";
|
|
3
|
+
export declare const attemptDryRunBackupGit: ({ sys, fusionConfig, debug, credentials }: InitConfig, realInitState: InitState) => Promise<{
|
|
4
|
+
success: boolean;
|
|
5
|
+
error: string;
|
|
6
|
+
} | {
|
|
7
|
+
success: boolean;
|
|
8
|
+
error?: undefined;
|
|
9
|
+
}>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { DevToolsSys } from "@builder.io/dev-tools/core";
|
|
2
|
+
import type { Credentials } from "../credentials";
|
|
3
|
+
import type { FusionConfig, LaunchServerStatus } from "$/ai-utils";
|
|
4
|
+
interface FusionStatusMonitor {
|
|
5
|
+
start: () => void;
|
|
6
|
+
stop: () => void;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Creates a fusion status monitor that pings the status endpoint periodically
|
|
10
|
+
*/
|
|
11
|
+
export declare function createFusionStatusMonitor(sys: DevToolsSys, credentials: Credentials, fusionConfig: FusionConfig, sharedState: LaunchServerStatus): FusionStatusMonitor | null;
|
|
12
|
+
export {};
|