Files
openclaw/extensions/browser/scripts/build-copilot-runtime.d.mts
2026-07-18 06:42:27 +01:00

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>;