/**
* AI PRO 本地 Web 控制台页面(单文件 HTML,JS/CSS 已内联)。
*
* 由 scripts/build/build-webui.mjs 从 web/ 的 Vue 工程生成,随源码提交,
* 因此编译二进制与 CI 不需要安装前端依赖。
*/
// 用 .txt 后缀:Bun 对 .html 的 text import 会推断成 HTMLBundle 而非 string。
import webuiHtml from "./generated/webui.txt" with { type: "text" };
export function getAiProWebUiHtml(): string {
return webuiHtml;
}