fix: bundle qr renderer in relay

This commit is contained in:
Peter Steinberger
2026-01-05 02:19:49 +01:00
parent 0c632f4855
commit e4335ea094
4 changed files with 24 additions and 8 deletions

View File

@@ -32,6 +32,13 @@ async function main() {
process.exit(0);
}
if (process.env.CLAWDBOT_SMOKE_QR === "1") {
const { renderQrPngBase64 } = await import("../web/qr-image.js");
await renderQrPngBase64("clawdbot-smoke");
console.log("smoke: qr ok");
return;
}
await patchBunLongForProtobuf();
const { loadDotEnv } = await import("../infra/dotenv.js");