builder.io 1.7.0 → 1.7.2
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 +330 -330
- 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 +66 -66
- package/server/index.mjs +65 -65
- package/types/cli/code-tools.d.ts +2 -1
- package/types/cli/codegen.d.ts +3 -1
- package/types/cli/repo-indexing/component-discovery.d.ts +1 -0
- package/types/tsconfig.tsbuildinfo +1 -1
|
@@ -7,6 +7,7 @@ export interface LLMToolCalls {
|
|
|
7
7
|
name: CodeGenTools;
|
|
8
8
|
input: Record<string, any>;
|
|
9
9
|
id: string;
|
|
10
|
+
abortController: AbortController;
|
|
10
11
|
}
|
|
11
12
|
export interface ToolResolution {
|
|
12
13
|
toolResult: string;
|
|
@@ -29,7 +30,7 @@ export interface ToolContext extends Partial<FusionContext> {
|
|
|
29
30
|
position: string;
|
|
30
31
|
emitter: CodeGenEventEmitter;
|
|
31
32
|
fusionConfig: FusionConfig | undefined;
|
|
32
|
-
signal: AbortSignal
|
|
33
|
+
signal: AbortSignal;
|
|
33
34
|
workingDirectory: string;
|
|
34
35
|
allowedCommands: RegExp[];
|
|
35
36
|
restore: (options: {
|
package/types/cli/codegen.d.ts
CHANGED
|
@@ -219,6 +219,9 @@ export declare class CodeGenSession {
|
|
|
219
219
|
getSessionContext(): SessionContext;
|
|
220
220
|
runSetupCommand(): Promise<import("./launch/dev-server-orchestrator").SetupCommandResult | undefined>;
|
|
221
221
|
abortSetupCommand(): void;
|
|
222
|
+
toolsRunning(): boolean;
|
|
223
|
+
abortAllTools(): void;
|
|
224
|
+
abortToolCall(id: string): boolean;
|
|
222
225
|
abort(cleanCurrentMessage?: boolean): Promise<boolean>;
|
|
223
226
|
stopEventLoop(): Promise<void>;
|
|
224
227
|
requestRefresh(): void;
|
|
@@ -237,7 +240,6 @@ export declare class CodeGenSession {
|
|
|
237
240
|
connectToEventLoop(shouldReplay: boolean, onStep: (step: GenerateCompletionStep) => void): () => void;
|
|
238
241
|
waitUntilIdle(): Promise<void>;
|
|
239
242
|
waitForEventLoop(): Promise<void>;
|
|
240
|
-
agentCompletion(userMessage: GenerateUserMessage, signal: AbortSignal | undefined, onStep: (step: GenerateCompletionStep) => void): Promise<void>;
|
|
241
243
|
commitWorkInProgress(lastTurn: CodegenTurn): Promise<string | undefined>;
|
|
242
244
|
getChangesReport(): Promise<{
|
|
243
245
|
diff: string;
|
|
@@ -3,6 +3,7 @@ import type { Credentials } from "../credentials";
|
|
|
3
3
|
import type { WorkspaceConfiguration } from "$/ai-utils";
|
|
4
4
|
import type { Component } from "./types";
|
|
5
5
|
export declare const discoverComponents: (sys: DevToolsSys, credentials: Credentials, sessionId: string, remoteComponents: Component[], opts?: {
|
|
6
|
+
force?: boolean;
|
|
6
7
|
designSystemPackage?: string;
|
|
7
8
|
designSystemVersion?: string;
|
|
8
9
|
workspaceConfig?: WorkspaceConfiguration;
|