builder.io 1.6.138 → 1.6.140
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 +285 -286
- 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 +150 -150
- package/server/index.mjs +146 -146
- package/types/cli/code-tools.d.ts +1 -0
- package/types/cli/codegen.d.ts +3 -4
- package/types/tsconfig.tsbuildinfo +1 -1
|
@@ -26,6 +26,7 @@ export interface ToolContext extends Partial<FusionContext> {
|
|
|
26
26
|
credentials: Credentials;
|
|
27
27
|
files: ProjectFile[];
|
|
28
28
|
user: UserSource;
|
|
29
|
+
position: string;
|
|
29
30
|
emitter: CodeGenEventEmitter;
|
|
30
31
|
fusionConfig: FusionConfig | undefined;
|
|
31
32
|
signal: AbortSignal | undefined;
|
package/types/cli/codegen.d.ts
CHANGED
|
@@ -45,7 +45,9 @@ export declare class CodeGenSession {
|
|
|
45
45
|
#private;
|
|
46
46
|
constructor(options: CodeGenSessionOptions);
|
|
47
47
|
get workingDirectory(): string;
|
|
48
|
-
initializeSession(
|
|
48
|
+
initializeSession(opts?: {
|
|
49
|
+
skipSessionLoading?: boolean;
|
|
50
|
+
}): Promise<void>;
|
|
49
51
|
loadHistory(): Promise<LoadHistoryResult>;
|
|
50
52
|
loadWholeSession(opts?: LoadWholeSessionOptions): Promise<LoadWholeSessionResult>;
|
|
51
53
|
loadMoreTurns(): Promise<CodegenTurn[]>;
|
|
@@ -133,9 +135,6 @@ export declare class CodeGenSession {
|
|
|
133
135
|
* Get the AI branch name
|
|
134
136
|
*/
|
|
135
137
|
getAiBranch(): string | undefined;
|
|
136
|
-
/**
|
|
137
|
-
* Helper to run git commands
|
|
138
|
-
*/
|
|
139
138
|
runGitCommand(command: string, cwd?: string): Promise<string>;
|
|
140
139
|
/**
|
|
141
140
|
* Helper to run git commands
|