builder.io 1.11.4 → 1.11.5

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.
@@ -132,7 +132,7 @@ export declare class CodeGenSession {
132
132
  setDebug(debug: boolean): void;
133
133
  getAllFiles(options?: {
134
134
  getDotFiles?: boolean;
135
- globbyPattern?: string;
135
+ globbyPattern?: string | string[];
136
136
  includePattern?: string;
137
137
  }): Promise<string[]>;
138
138
  getSessionId(): string;
@@ -213,6 +213,7 @@ export declare class CodeGenSession {
213
213
  toolFullfilment(id: string, result: ToolResolution | string): boolean;
214
214
  fulfillToolCall(id: string, result: ToolResolution): boolean;
215
215
  abortToolCall(id: string): boolean;
216
+ acceptCode(): Promise<void>;
216
217
  abort(cleanCurrentMessage?: boolean): Promise<boolean>;
217
218
  stopEventLoop(): Promise<void>;
218
219
  requestRefresh(): void;
@@ -4,13 +4,3 @@ export declare const spinner: () => {
4
4
  message: (msg?: string) => void;
5
5
  extra: (msg?: string) => void;
6
6
  };
7
- export declare function block({ input, output, overwrite, hideCursor, }?: {
8
- input?: (NodeJS.ReadStream & {
9
- fd: 0;
10
- }) | undefined;
11
- output?: (NodeJS.WriteStream & {
12
- fd: 1;
13
- }) | undefined;
14
- overwrite?: boolean | undefined;
15
- hideCursor?: boolean | undefined;
16
- }): () => void;
@@ -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, globPattern?: string, extraIgnorePatterns?: string[], getDotFiles?: boolean): Promise<string[]>;
7
+ export declare function getAllProjectFiles(basePath: string, globPatterns?: string | string[], extraIgnorePatterns?: string[], getDotFiles?: boolean): 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;