Repository navigation
v0.2.6: Fast CLI startup, SPA-compatible click
What's New
⚡ Fast CLI Startup
- Replaced
urllibwith 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:
- Phase 1 (ISOLATED): Dispatch pointer/mouse events for hover states and tracking
- Phase 2 (MAIN): Hook
window.open()+ dispatch click in page context - Phase 3 (background): Navigate via
chrome.tabs.createif popup was intercepted
bctl clicknow works reliably on Tencent Video, Bilibili, and other Vue/React SPAs that usewindow.open()for navigation
📦 Server Improvements
- Expanded batchable operations:
dblclick,focus,input-text,check,uncheck,snapshot,is-visible,get-valuecan now be batched viapipe/batch
📝 Documentation
- SKILL.md streamlined for AI agents — removed project structure section, added SPA tips
- README/README_CN updated with
bctl setupsubcommands, SPA click feature, and performance notes - Added SPA click row to comparison table
Full Changelog: v0.2.5...v0.2.6