builder.io 1.6.138 → 1.6.139

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.
@@ -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;
@@ -45,7 +45,9 @@ export declare class CodeGenSession {
45
45
  #private;
46
46
  constructor(options: CodeGenSessionOptions);
47
47
  get workingDirectory(): string;
48
- initializeSession(): Promise<void>;
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