Skip to content

v0.2.6: Fast CLI startup, SPA-compatible click

Choose a tag to compare

@mikuh mikuh released this 13 Feb 07:27
· 8 commits to main since this release

What's New

⚡ Fast CLI Startup

  • Replaced urllib with raw-socket HTTP in the client — eliminates heavy imports
  • Lazy module loading in CLI — only imports what's needed per command
  • Cold start reduced to ~5ms (previously ~30ms)

🖱️ SPA-Compatible Click

  • New three-phase click mechanism for maximum SPA compatibility:
    1. Phase 1 (ISOLATED): Dispatch pointer/mouse events for hover states and tracking
    2. Phase 2 (MAIN): Hook window.open() + dispatch click in page context
    3. Phase 3 (background): Navigate via chrome.tabs.create if popup was intercepted
  • bctl click now works reliably on Tencent Video, Bilibili, and other Vue/React SPAs that use window.open() for navigation

📦 Server Improvements

  • Expanded batchable operations: dblclick, focus, input-text, check, uncheck, snapshot, is-visible, get-value can now be batched via pipe/batch

📝 Documentation

  • SKILL.md streamlined for AI agents — removed project structure section, added SPA tips
  • README/README_CN updated with bctl setup subcommands, SPA click feature, and performance notes
  • Added SPA click row to comparison table

Full Changelog: v0.2.5...v0.2.6