mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 12:57:40 +00:00
fix(relay): guard QR smoke mode
This commit is contained in:
@@ -28,6 +28,7 @@
|
|||||||
- Docs: add ClawdHub guide and hubs link for browsing, install, and sync workflows.
|
- Docs: add ClawdHub guide and hubs link for browsing, install, and sync workflows.
|
||||||
- Docs: add FAQ for PNPM/Bun lockfile migration warning; link AgentSkills spec + ClawdHub guide (`/clawdhub`) from skills docs.
|
- Docs: add FAQ for PNPM/Bun lockfile migration warning; link AgentSkills spec + ClawdHub guide (`/clawdhub`) from skills docs.
|
||||||
- Build: import tool-display JSON as a module instead of runtime file reads. Thanks @mukhtharcm for PR #312.
|
- Build: import tool-display JSON as a module instead of runtime file reads. Thanks @mukhtharcm for PR #312.
|
||||||
|
- Build: fix macOS packaging QR smoke test for the bun-compiled relay. Thanks @dbhurley for PR #358.
|
||||||
- Browser: fix `browser snapshot`/`browser act` timeouts under Bun by patching Playwright’s CDP WebSocket selection. Thanks @azade-c for PR #307.
|
- Browser: fix `browser snapshot`/`browser act` timeouts under Bun by patching Playwright’s CDP WebSocket selection. Thanks @azade-c for PR #307.
|
||||||
- Browser: add `--browser-profile` flag and honor profile in tabs routes + browser tool. Thanks @jamesgroat for PR #324.
|
- Browser: add `--browser-profile` flag and honor profile in tabs routes + browser tool. Thanks @jamesgroat for PR #324.
|
||||||
- Gmail: include tailscale command exit codes/output when hook setup fails (easier debugging).
|
- Gmail: include tailscale command exit codes/output when hook setup fails (easier debugging).
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ async function main() {
|
|||||||
|
|
||||||
// Smoke test for QR modules in bun-compiled binaries.
|
// Smoke test for QR modules in bun-compiled binaries.
|
||||||
// Verifies that QR code generation works in the bundled relay.
|
// Verifies that QR code generation works in the bundled relay.
|
||||||
if (process.env.CLAWDBOT_SMOKE_QR === "1") {
|
if (process.env.CLAWDBOT_SMOKE_QR === "1" && args.length === 0) {
|
||||||
try {
|
try {
|
||||||
const { renderQrPngBase64 } = await import("../web/qr-image.js");
|
const { renderQrPngBase64 } = await import("../web/qr-image.js");
|
||||||
await renderQrPngBase64("smoke-test");
|
await renderQrPngBase64("smoke-test");
|
||||||
|
|||||||
Reference in New Issue
Block a user