@cubenest/rrweb-core
v0.1.0-alpha.7
Published
Shared rrweb-based capture substrate for tracelane and peek.
Maintainers
Readme
@cubenest/rrweb-core
The shared rrweb capture + masking engine behind tracelane and peek — vendored PostHog fork, PII masking, network/console capture, large-DOM throttling. Not a standalone product.
Shared rrweb-based capture substrate. Used by tracelane and peek.
Not intended for direct consumption — depend on a product package instead. It exists to share the masking and capture primitives (PII masking selectors + regex bank, body/header redaction, network/console capture, large-DOM throttling) between the two product families so the privacy and recording behaviour stay identical.
What's in here
- Vendored PostHog rrweb fork (
@posthog/[email protected]) - PII masking primitives (selectors + regex bank + body/header redaction)
- Large-DOM throttling defaults (mutation guard, data-URL guard, single-event size cap)
- Shadow DOM adapter
- Screenshot fallback interface
- Network capture abstraction (CDP and
chrome.webRequestimplementations) - Console capture
- Compression helpers (
fflate) - IndexedDB persistence helper
- Compatibility matrix
Versioning
Independent semver. Breaking changes are coordinated across tracelane and peek releases.
Related packages
The two product families that consume this substrate:
- tracelane — failed-test recorder for E2E suites. Start at
@tracelane/wdio(WebdriverIO) or@tracelane/playwright; engine is@tracelane/core. - peek — browser companion for AI coding agents. Install via
@peekdev/cli; the MCP server is@peekdev/mcpand the recorder is@peekdev/extension.
License
Apache 2.0. Vendored rrweb fork remains MIT-licensed; see NOTICE.
