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

@adam903/pvc

v1.0.5

Published

**Prompt Version Control (PVC)** is a CLI tool designed to track, analyze, and version control your AI coding sessions. It captures user prompts, assistant responses, and file edits, creating detailed reports to help you audit and improve your AI-assisted

Readme

PVC - Prompt Version Control (Version)

Prompt Version Control (PVC) is a CLI tool designed to track, analyze, and version control your AI coding sessions. It captures user prompts, assistant responses, and file edits, creating detailed reports to help you audit and improve your AI-assisted workflow.

📦 Installation

npm install -g @adam903/pvc

Note: Requires a valid prisma setup. The installer will automatically run prisma generate to prepare the database client.

🚀 Getting Started

1. Global Authentication

Log in once to authenticate. PVC uses SSH key challenge-response for secure authentication. Your session is stored globally, so you don't need to login for every project.

pvc login --ssh

2. Initialize a Project

Navigate to your project root and initialize PVC. This creates a .pvc directory and local configuration.

cd my-project
pvc init

3. Link Remote Workspace

Connect your local project to a remote PVC workspace to enable syncing.

pvc remote add <workspace-url>

🛠️ Core Commands

pvc watch

The heart of PVC. Starts a process that monitors your local AI session logs (e.g., from an IDE extension). It detects:

  • Prompts & Responses: What you asked and what the AI answered.
  • File Edits: Changes made to your codebase.
  • Security Risks: fast scans for leaked secrets in prompts or files.
pvc watch
# Or watch a specific session
pvc watch --session=<session-id>

pvc update-conv

Updates the local configuration with the ID of the most recent AI session found in your logs.

pvc update-conv

⚙️ Configuration

PVC uses a tiered configuration system:

  1. Global Config: Stores authentication tokens (userId, sessionToken).
    • Windows: %APPDATA%\pvc\config.json
    • macOS/Linux: ~/.pvc/config.json
  2. Local Config: Stores project specifics (workspaceId, remoteUrl).
    • Path: ./.pvc/config.json

🛡️ Security

PVC includes a built-in risk analyzer that checks for:

  • Secrets: API keys, tokens, passwords (using Gitleaks rules).
  • Sensitive Files: Uploading .env or certificates to the AI context.

Blocked prompts are logged locally and prevented from being sent if configured.

License

MIT