mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-22 20:41:11 +00:00
21 lines
514 B
TypeScript
21 lines
514 B
TypeScript
type CopilotRuntimeBuild = (options: {
|
|
bundle: boolean;
|
|
entryPoints: string[];
|
|
format: string;
|
|
legalComments: string;
|
|
minify: boolean;
|
|
outfile: string;
|
|
platform: string;
|
|
target: string;
|
|
tsconfig: string;
|
|
write: false;
|
|
}) => Promise<{
|
|
outputFiles?: Array<{ text: string }>;
|
|
}>;
|
|
|
|
/** Builds the Browser copilot runtime and returns whether the generated asset changed. */
|
|
export function buildCopilotRuntime(params?: {
|
|
build?: CopilotRuntimeBuild;
|
|
outputPath?: string;
|
|
}): Promise<boolean>;
|