npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

agent-browser-plugin-cloak

v0.1.2

Published

Thin browser.provider plugin for agent-browser connecting to CloakBrowser

Readme

agent-browser-plugin-cloak

Thin browser.provider plugin for agent-browser that launches CloakBrowser and exposes it over CDP.

Requirements

  • Node.js 20+
  • agent-browser with plugin support (tested with 0.33.2)
  • A CloakBrowser Chromium build installed in ~/.cloakbrowser

Install the default bundled/keyless CloakBrowser build once:

npx cloakbrowser install

Install

Install the built release tarball (no source-build toolchain required):

npm install -g https://github.com/monet88/agent-browser-plugin-cloak/releases/download/v0.1.2/agent-browser-plugin-cloak-0.1.2.tgz
agent-browser-plugin-cloak-install
agent-browser plugin show cloak

Once 0.1.2 is available on npm, npm install -g [email protected] is equivalent.

The installer writes the provider to ~/.agent-browser/config.json using the absolute Node executable and plugin CLI path. This also avoids the Windows npx.cmd spawn issue in agent-browser 0.33.2.

Then use it as the browser provider:

agent-browser --provider cloak open https://example.com

For a visible foreground window from an IDE/background agent on Windows, request headed mode explicitly:

agent-browser --provider cloak --session main-dev --headed open https://google.com

Explicit --headed launches use a delayed foreground handoff so the CloakBrowser window is brought back in front after the calling IDE/terminal finishes the open command. Non-headed launches do not intentionally steal foreground focus.

When the npm registry package is available, replace the first command with npm install -g agent-browser-plugin-cloak.

Binary modes

The provider supports three binary-selection modes:

  • bundled (default): scan ~/.cloakbrowser/chromium-146.* and select the newest installed 146 patch. The patch directory is never pinned. Override the major with CLOAKBROWSER_BUNDLED_MAJOR when required.
  • latest: let the CloakBrowser SDK resolve the latest build for the current login/license state.
  • explicit: use executablePath, CLOAKBROWSER_PATH, or CLOAKBROWSER_BINARY_PATH exactly.

An explicit path automatically selects explicit when no mode is configured.

Environment

CLOAKBROWSER_BINARY_MODE=bundled|latest|explicit
CLOAKBROWSER_PATH=C:\path\to\chrome.exe
CLOAKBROWSER_BINARY_PATH=C:\path\to\chrome.exe
CLOAKBROWSER_CACHE_DIR=C:\custom\cache
CLOAKBROWSER_BUNDLED_MAJOR=146
CLOAKBROWSER_HOST=127.0.0.1
CLOAKBROWSER_PORT=0
CLOAKBROWSER_START_TIMEOUT=15000
CLOAK_PLUGIN_LOG=C:\path\to\plugin.log

The response metadata includes binaryMode and executablePath, so logs can prove which CloakBrowser binary was launched. Each account/session receives its own fingerprint seed and temporary profile unless a profile is supplied explicitly.

Local development

npm run build
npm test
npm pack

The npm executable is agent-browser-plugin-cloak and points to dist/cli.js. The source adapter at scripts/plugin-stdio.ts is only a development wrapper around the same CLI implementation.

Release

npm whoami
npm publish --access public

prepublishOnly runs the test suite and prepack rebuilds dist before npm creates the release tarball.