builder.io 1.6.53 → 1.6.55
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 +265 -263
- 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 +72 -72
- package/server/index.mjs +77 -77
- package/types/cli/code-tools.d.ts +3 -0
- package/types/cli/launch/logger.d.ts +3 -2
- package/types/cli/launch.d.ts +1 -1
- package/types/tsconfig.tsbuildinfo +1 -1
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import type { CodeGenTools, ContentMessageItemToolResult, GenerateCompletionStep, ProjectFile } from "$/ai-utils";
|
|
2
2
|
import type { DevToolsSys } from "../core";
|
|
3
|
+
import { type ChildProcessByStdio } from "child_process";
|
|
3
4
|
import type { RunCommandCtx } from "./codegen";
|
|
4
5
|
import type EventEmitter from "events";
|
|
6
|
+
import type { Readable } from "stream";
|
|
5
7
|
export interface LLMToolCalls {
|
|
6
8
|
name: CodeGenTools;
|
|
7
9
|
input: Record<string, any>;
|
|
@@ -44,4 +46,5 @@ interface RipgrepResult {
|
|
|
44
46
|
}
|
|
45
47
|
export declare function runRipgrep(workingDirectory: string, pattern: string, includeGlob?: string, excludeGlob?: string): Promise<RipgrepResult>;
|
|
46
48
|
export declare function newAbortError(): Error;
|
|
49
|
+
export declare function killProcess(sys: DevToolsSys, proc: ChildProcessByStdio<null, Readable, Readable> | undefined, timeout?: number): Promise<void>;
|
|
47
50
|
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ChildProcessByStdio } from "child_process";
|
|
2
|
+
import type { Readable } from "stream";
|
|
2
3
|
/**
|
|
3
4
|
* Initialize logging by wrapping all console methods to write to logs file
|
|
4
5
|
*/
|
|
@@ -10,7 +11,7 @@ export declare function resetLogging(): void;
|
|
|
10
11
|
/**
|
|
11
12
|
* Capture and log child process output
|
|
12
13
|
*/
|
|
13
|
-
export declare function setupChildProcessLogging(childProcess:
|
|
14
|
+
export declare function setupChildProcessLogging(childProcess: ChildProcessByStdio<null, Readable, Readable>, prefix: string): void;
|
|
14
15
|
/**
|
|
15
16
|
* Display intro message with logging
|
|
16
17
|
*/
|
package/types/cli/launch.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { DevToolsSys } from "@builder.io/dev-tools/core";
|
|
2
2
|
import type { CLIArgs } from "./index";
|
|
3
|
-
import type
|
|
3
|
+
import { type CommitMode } from "./code-tools";
|
|
4
4
|
/**
|
|
5
5
|
* Large random-ish port number that is unlikely to be used
|
|
6
6
|
*/
|