Commit Graph
5 Commits
Author SHA1 Message Date
Ljy-0827 3cfa9eceef feat(bsk): fix upload function that cannot bypass layout 2026-08-21 11:14:51 +08:00
Ljy-0827 34f47d7387 feat(bsk): fix different type of upload 2026-08-20 18:59:22 +08:00
BB-fat f81a1e7796 fix(screenshot): fall back to CDP capture when captureVisibleTab fails (#83)
chrome.tabs.captureVisibleTab reads back the window surface, which fails
outright on some Windows/Chrome combinations (Chromium
FAILURE_REASON_READBACK_FAILED: "Failed to capture tab: image readback
failed"), leaving full-tab screenshots without any working path.

Capture the full tab via CDP Page.captureScreenshot (fromSurface) when
the visible-tab capture rejects; the CDP path goes through the
renderer BeginFrame pipeline instead of the surface readback. When both
paths fail, return cdp_failed with data.reason=screenshot_capture_failed
carrying both underlying messages, and render a CLI hint that points at
the browser-side readback cause.

Refs #71
2026-08-12 22:10:09 +08:00
klkl 7bee906ffb fix(bsk-cli): Correct the incorrect command examples in the error message that does not indicate the mistake. 2026-07-17 15:42:52 +08:00
BB-fat f1036a860c Initial public release 2026-06-22 17:36:26 +08:00