builder.io 1.7.8 → 1.7.10
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 +252 -252
- 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 +4 -4
- package/server/index.mjs +4 -4
- package/types/cli/codegen.d.ts +3 -26
- package/types/cli/launch/helpers.d.ts +0 -11
- package/types/tsconfig.tsbuildinfo +1 -1
package/types/cli/codegen.d.ts
CHANGED
|
@@ -56,33 +56,13 @@ export declare class CodeGenSession {
|
|
|
56
56
|
getRepoUrl(): string | undefined;
|
|
57
57
|
setPrUrl(prUrl: string): void;
|
|
58
58
|
prExists(): boolean;
|
|
59
|
-
pushRepoV2({ repoFullName
|
|
59
|
+
pushRepoV2({ repoFullName }: {
|
|
60
60
|
repoFullName: string;
|
|
61
|
-
remoteUrl: string;
|
|
62
61
|
}): Promise<{
|
|
63
|
-
output: string;
|
|
64
|
-
upToDate: boolean;
|
|
65
|
-
createdBranch: boolean;
|
|
66
|
-
setUpToStream: boolean;
|
|
67
|
-
status: GenerateCompletionStepGit | null;
|
|
68
|
-
success: boolean;
|
|
69
|
-
error?: undefined;
|
|
70
|
-
details?: undefined;
|
|
71
|
-
} | {
|
|
72
62
|
success: boolean;
|
|
73
63
|
error: string;
|
|
74
|
-
details
|
|
64
|
+
details?: undefined;
|
|
75
65
|
} | {
|
|
76
|
-
success: boolean;
|
|
77
|
-
error: string;
|
|
78
|
-
}>;
|
|
79
|
-
pushRepo(...args: [
|
|
80
|
-
{
|
|
81
|
-
repoFullName: string;
|
|
82
|
-
githubToken: string;
|
|
83
|
-
githubBaseUrl?: string;
|
|
84
|
-
}
|
|
85
|
-
] | [string, string, string?]): Promise<{
|
|
86
66
|
output: string;
|
|
87
67
|
upToDate: boolean;
|
|
88
68
|
createdBranch: boolean;
|
|
@@ -95,9 +75,6 @@ export declare class CodeGenSession {
|
|
|
95
75
|
success: boolean;
|
|
96
76
|
error: string;
|
|
97
77
|
details: string;
|
|
98
|
-
} | {
|
|
99
|
-
success: boolean;
|
|
100
|
-
error: string;
|
|
101
78
|
}>;
|
|
102
79
|
archiveProject(): Promise<string>;
|
|
103
80
|
isIdle(): Promise<boolean>;
|
|
@@ -241,7 +218,7 @@ export declare class CodeGenSession {
|
|
|
241
218
|
sendFeedback(feedback: Partial<CodegenFeedback>): Promise<void>;
|
|
242
219
|
lastTurnHasChanges(): Promise<boolean>;
|
|
243
220
|
waitUntilState(state: GenerateCompletionState, timeout?: number): Promise<void>;
|
|
244
|
-
clearSession(): void
|
|
221
|
+
clearSession(): Promise<void>;
|
|
245
222
|
sendMessage(message: GenerateUserMessage, immediate?: boolean): Promise<void>;
|
|
246
223
|
getTurns(): CodegenTurn[];
|
|
247
224
|
getSessionContext(): SessionContext;
|
|
@@ -1,12 +1 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Get the GitHub remote URL for a given repository
|
|
3
|
-
* @param repoFullName - The full name of the repository (e.g. "BuilderIO/fusion-starter")
|
|
4
|
-
* @param githubToken - The GitHub token to use for the remote URL
|
|
5
|
-
* @returns The GitHub remote URL
|
|
6
|
-
*/
|
|
7
|
-
export declare const getGitHubRemoteUrl: ({ repoFullName, githubToken, githubHost, }: {
|
|
8
|
-
repoFullName: string;
|
|
9
|
-
githubToken: string | undefined;
|
|
10
|
-
githubHost: string;
|
|
11
|
-
}) => string;
|
|
12
1
|
export declare const getCommandWithShellArgs: (command: string, shell: string) => string[];
|