peek

السجل الرسمي أدوات المطورين

Exposes recorded browser sessions (rrweb DOM, console, network) to AI coding agents, fully local

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package @peekdev/mcp
Claude Code
claude mcp add peek -- npx -y @peekdev/mcp@0.1.0-alpha.24
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "peek": {
            "command": "npx",
            "args": [
                "-y",
                "@peekdev/mcp@0.1.0-alpha.24"
            ]
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. rrweb-stack
  2. What's where
  3. Shared substrate
  4. Why two products, one repo
  5. Pre-launch state
  6. Security
  7. License
  8. Contributing
  9. Sponsor / support

rrweb-stack

Two OSS products on one rrweb-based substrate. Both ship as npm packages today.

ProductOne lineInstall
tracelaneThe recorder for your WebdriverIO and Playwright tests — Cypress on the roadmap. Self-contained HTML for every run — replay failures, audit successes, attach to any bug tracker. No SaaS, no dashboard, no signup.npx @tracelane/cli init
peekYour real browser, exposed to your AI coding agent over MCP — the agent reads recorded sessions and, with your explicit consent, drives the live page. Never leaves your machine.npm install -g @peekdev/cli && npx peek init

Above: npx @tracelane/cli init in a real WebdriverIO project — detect runner, install, edit wdio.conf.ts, ignore reports dir.

Above: peek sessions list then peek sessions show ... --format markdown — a recorded browser session as queryable structured output, AI-ready.

What's where

tracelane
PackageStatusWhat it does
@tracelane/wdioalphaWebdriverIO Service — capture + write HTML report
@tracelane/playwrightalphaPlaywright Reporter + auto-fixture — capture + write HTML report
@tracelane/cypressplannedJSON-output adapter (no Test Replay overlap)
@tracelane/corealphaFramework-agnostic capture engine — depended on by the adapters
@tracelane/reportalphaSelf-contained HTML report builder

Docs: tracelane.cubenest.in (source under apps/tracelane-docs/). The tracelane-wdio README is the right starting point.

peek
PackageStatusWhat it does
@peekdev/clialphapeek init installer + peek sessions query / export
@peekdev/mcpalphastdio MCP server — exposes captured sessions, plus consent-gated live read + act tools, to Claude Code, Cursor, Cline, Windsurf
peek-extensionalpha · on the Chrome Web StoreChrome MV3 extension — the real browser, recorded

Docs: peek.cubenest.in (source under apps/peek-docs/).

peek requires Node.js ≥ 22. Its native better-sqlite3 dependency only ships prebuilt binaries for Node 22+; on older Node (notably Windows, which has no C/C++ toolchain by default) the install falls back to compiling from source and fails.

Shared substrate

@cubenest/rrweb-core — vendored PostHog rrweb fork, PII masking primitives, large-DOM throttling, screenshot fallback, network/console capture abstractions, compression helpers. Used by both products. The fork is pinned by SHA + the substrate's NOTICE attributes both PostHog's plugin lineage and the upstream rrweb roots.

Why two products, one repo

Same recording engine, same trust model, two different consumer surfaces:

  • tracelane ships test-time captures into a self-contained HTML artifact your team and AI agents can read offline.
  • peek ships live-browser captures into an MCP server your AI coding agent can query — and, with your explicit per-origin consent, drive the live page through.

peek's live read + act tools are gated by a five-level per-origin permission model (0 Off → 1 Read-only → 2 Suggest-only → 3 Act-with-confirm → 4 YOLO, the default is Level 1) with a destructive-action blocklist that always prompts. No telemetry, no cloud — everything stays in ~/.peek.

Shared upstream means one fork to track, one masking surface to harden, one license + DCO + security policy.

Pre-launch state

Pre-1.0. Alpha packages live on npm. Branch protection is on main (PR + CI + DCO + linear history). All workflows use Trusted Publishing OIDC + SLSA provenance. Renovate runs with a 7-day cooldown (21 days for the @posthog/rrweb lineage) and config:best-practices. tracelane has publicly launched (npm alpha + a live demo report); peek is alpha on npm and its Chrome MV3 extension is available on the Chrome Web Store.

Security

Report a vulnerability via SECURITY.md. The shared threat model for both products lives in docs/SECURITY-NOTES.md.

License

Apache-2.0. See LICENSE.

Contributing

Apache 2.0. DCO sign-off required on all contributions. See CONTRIBUTING.md, CODE_OF_CONDUCT.md, SECURITY.md.

Sponsor / support

الأسئلة الشائعة

ما هو peek؟

Exposes recorded browser sessions (rrweb DOM, console, network) to AI coding agents, fully local

كيف أثبّت peek؟

يعمل على جهازك. في Claude Code: claude mcp add peek -- npx -y @peekdev/mcp@0.1.0-alpha.24. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج peek إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل peek مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص Apache-2.0.

من يصون peek؟

ينشره Cubenest. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.