builder.io 1.6.105 → 1.6.107

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.
@@ -1,6 +1,6 @@
1
1
  import type { DevToolsSys } from "../types";
2
2
  import { type Credentials } from "./credentials";
3
- import type { CodegenFeedback, CodegenTurn, CommitMode, CustomInstruction, GenerateCompletionState, GenerateCompletionStep, GenerateCompletionStepGit, GenerateUserMessage, UserContext, WorkspaceConfiguration, WorkspaceFolder, LoadWholeSessionOptions, LoadWholeSessionResult, LoadHistoryResult } from "$/ai-utils";
3
+ import type { CodegenFeedback, CodegenTurn, CommitMode, CustomInstruction, FusionConfig, GenerateCompletionState, GenerateCompletionStep, GenerateCompletionStepGit, GenerateUserMessage, UserContext, WorkspaceConfiguration, WorkspaceFolder, LoadWholeSessionOptions, LoadWholeSessionResult, LoadHistoryResult } from "$/ai-utils";
4
4
  import prettier from "prettier";
5
5
  import { type FusionContext } from "./code-tools";
6
6
  import EventEmitter from "node:events";
@@ -25,6 +25,7 @@ export interface CodeGenSessionOptionsBase {
25
25
  mode?: "quality" | "quality-v3";
26
26
  builtInCustomInstructions?: CustomInstruction[];
27
27
  fusionContext?: FusionContext;
28
+ fusionConfig?: FusionConfig;
28
29
  workingDirectory?: string;
29
30
  workspace?: WorkspaceConfiguration;
30
31
  mcpServers?: boolean;
@@ -4,7 +4,7 @@ export declare function extractSignatureInfo(content: string): {
4
4
  sessionKey?: string;
5
5
  snippetId?: string;
6
6
  };
7
- export declare function getAllProjectFiles(basePath: string, ignorePatterns?: (path: string) => boolean, globPattern?: string): Promise<string[]>;
7
+ export declare function getAllProjectFiles(basePath: string, globPattern?: string, extraIgnorePatterns?: string[]): Promise<string[]>;
8
8
  export declare function findBuilderFiles(basePath: string, targetContentId: string, targetSessionKey: string): Promise<FileNode[]>;
9
9
  export declare function filterNonImportantFiles(files: string[]): string[];
10
10
  export declare function getIgnorePatterns(basePath: string): (path: string) => boolean;
@@ -7,7 +7,8 @@ export declare class TerminalBuffer {
7
7
  private currentLine;
8
8
  private currentColumn;
9
9
  private maxLines;
10
- constructor(maxLines?: number);
10
+ private maxColumns;
11
+ constructor(maxLines?: number, maxColumns?: number);
11
12
  write(data: string): void;
12
13
  private ensureLineExists;
13
14
  getContent(): string;