Hira SDK Documentation
Welcome to the Hira Automation SDK documentation β the toolkit for building browser automation flows.
π¦ Whatβs inside
Getting Started
Install the SDK, create your first flow, and run it locally.
Core Concepts
Understand the flow lifecycle, config system, and type-safe inputs/outputs.
Browser Utils
Complete reference for all browser interaction methods β click, type, navigate, handle popups, write output, and more.
Excel Storage
Read profile input from Excel files and write automation output back to spreadsheets.
Script Context
Everything available inside your script() method β browser, page, profile, inputs, outputs, logger.
Anti-detect Providers
Configure and use GPM, Hidemium, and other anti-detect browser providers.
Advanced
Error handling, retry strategies, concurrency control, and window management.
π SDK Version
Current version: v1.0.16
Changelog
-
v1.0.16β Cursor Rewrite, Excel Mutex & Platform Features- Flow Library & Marketplace: upload, versioning, search, purchase flows
- Payment processing with transaction history
- User review & rating system for published flows
- Admin dashboard modules (users, flows, payments, analytics)
- HiraCursor rewrite: inline IIFE string prevents obfuscator breakage
- ExcelStorage per-file mutex:
acquireLock()serializes concurrent writes - BrowserUtils cursor init guard: captures inject errors via
_cursorInitPromise - Selector truncation limit increased from 60 β 200 characters
- Bumped
axios,typescript,@types/node,ghost-cursor
-
v1.0.8β Stealth Scripts & Virtual Cursor Toggle- Auto-remove automation fingerprints (
navigator.webdriver, empty plugins, CDP artifacts) via stealth scripts - New
IExecutionConfig.virtualCursortoggle (default:true) β disable SVG cursor overlay from Execution Settings - Stealth scripts re-applied when switching tabs
- All internal JSDoc translated to English
- Auto-remove automation fingerprints (
-
v1.0.7β HiraCursor Rewrite & New Interactions- New BΓ©zier curve mouse movement engine with realistic trajectory
- Smooth 60fps scroll via
requestAnimationFramewith ease-in-out curve - New:
select(),getPosition(), click by{ x, y }coordinates - Container scrolling:
scrollContainerDelta(),moveToContainer() - Segment-based cursor movement with natural jitter
-
v1.0.6β BrowserUtils API Overhaul- All methods now use options object instead of positional args
- New methods:
activeIframe(),activeMainFrame(),activeNewTab(),waitForNewTab(),waitForPopup() - Renamed:
switchToDefaultβactiveDefault,switchToPopupβactivePopup,switchToTabIndexβactiveTab - Removed deprecated:
switchToPopup,switchToTabIndex,switchToDefault - Default timeouts normalized to multiples of 4000ms
screenshot()changed to soft-fail (no longer throws)- Added comprehensive English JSDoc with
@param,@returns,@example - Fixed Hidemium adapter: window scaling and connection reliability
-
v1.0.5β Agent UX & Anti-detect Settings- Fixed Hidemium window scaling and connection reliability
- Added anti-detect browser selector in Execution Settings
- Settings sidebar, connection management
-
v1.0.4β Output Slots & Execution Chain- Implemented output slot CRUD with per-key merge and PIN-safe flush
- Slot-aware output persistence with merge strategy
- Pass
versionIdthrough flow execution chain for output slot
-
v1.0.3β Anti-detect provider selector, type-safewriteOutput()/writeProfileInput(), Excel storage -
v1.0.2β Published to npm, HMAC signing, gzip, module allow-list -
v1.0.1β Logger refactor (createBoundLogger), structured profile logging, fixcloseAll() -
v1.0.0β Initial release