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

@subtextdev/subtext-wizard

v0.3.0

Published

Set up Subtext session capture in your app using your own coding agent

Readme

Subtext setup wizard

NPM Downloads NPM Last Updated NPM Version

Session replay, built for agents. Subtext is agentic session review: it captures production sessions of your app and connects them to your coding agent — Claude Code, Cursor, Codex, Devin, your own harness — so it can review what real users did, reproduce reported bugs, verify its own UI changes, and manage capture privacy rules, all without leaving the terminal.

This wizard is the fastest way to set that up. One command, run in your project directory:

npx @subtextdev/subtext-wizard

Requires a free Subtext account — no credit card. Subtext is a hosted service that records and stores your app's sessions. Your account is where they live, and where your agent reads them from. When the wizard opens the login page, create an account, then come back to finish.

What it does

  1. Signs you in — opens Subtext in your browser to log in or create your free account.
  2. Fetches your capture snippet — grabs the session-capture snippet for your org.
  3. Asks about your stack — pick the analytics and product tools you use (PostHog, Amplitude, Mixpanel, Sentry, Segment, and more) so setup can link them up.
  4. Finds your coding agent — detects Claude Code, Codex, Gemini CLI, Cursor, Windsurf, VS Code, Zed, or Claude Desktop.
  5. Hands the install to your own agent — no bundled agent; it drives the one you already use to wire up the capture snippet, MCP server, skills, and commands.

When it finishes, your agent is connected to your sessions. See the Subtext repo for what it can do from there.

What runs on your machine: the wizard hands the install to your own coding agent and runs it autonomously against the target directory — editing files, and (depending on the agent) running commands, with approvals auto-accepted. It also has the agent fetch Subtext's docs. Run it in a project directory you trust, and review the changes (and subtext-setup-report.md) before you deploy. The wizard asks you to confirm before the agent launches; pass --yes only for trusted, non-interactive/CI use.

Options

--dir <path>            App directory to instrument (default: current directory)
--api-key <key>         Skip the browser login and authenticate with a Fullstory
                        API key or OAuth access token (auto-detected)
--api-key-oauth <token> Like --api-key, but always treats the value as an OAuth
                        access token (mutually exclusive with --api-key)
--agent <id>            Skip the agent picker (claude-code, codex, gemini, cursor,
                        windsurf, vscode, zed, claude-desktop, manual)
--integrations <list>   Comma-separated tools to target, skips the picker
--print-prompt          Print the install prompt instead of launching an agent
--no-telemetry          Opt out of telemetry. Anonymous install telemetry (step
                        progress, outcomes, timings, and agent token usage;
                        never your code or data) is on by default — this flag,
                        or DO_NOT_TRACK=1 / DISABLE_TELEMETRY=1, turns it off
--debug                 Verbose output
--help                  Show all options

Development

Requires Node 18.17+.

npm install
npm run build             # tsc → dist/
node dist/bin.js --mock   # run the full flow with no network calls