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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@papr/cli

v1.2.0

Published

PAPR Memory-Enhanced Claude CLI - AI assistant with persistent memory

Readme

@papr/cli

PAPR Memory-Enhanced Claude CLI - An AI assistant with persistent memory that learns and remembers your conversations, preferences, and context.

Features

🧠 Persistent Memory - Remembers your conversations, preferences, and project context 🎯 Targeted Context - Automatically loads relevant memories at session start 🔧 Vercel AI SDK Support - Specialized migration guidance for v4→v5 tool calling ⚙️ Zero Configuration - One-command setup with sensible defaults 🎨 Enhanced Interface - Beautiful ASCII art and organized context display

Quick Start

# Install globally
npm install -g @papr/cli

# Initialize PAPR with your API key (get it from dashboard.papr.ai)
papr init

# Start Claude with memory context
papr start

Commands

papr init

Initialize PAPR with Claude CLI and memory hooks. Prompts for:

Options:

  • -k, --api-key <key> - Provide API key directly
  • -w, --workspace <id> - Set workspace ID

papr start

Launch Claude CLI with PAPR memory context loaded.

Options:

  • --no-memory - Start in clean mode without memory hooks

papr status

Check PAPR CLI configuration and dependencies.

papr update-hooks

Update memory hooks to the latest version.

papr uninstall

Remove PAPR hooks and restore clean Claude CLI.

AI Workflow Orchestration

PAPR CLI v1.1.0+ includes a comprehensive workflow orchestration system with 4 specialized agents that coordinate feature development:

🧠 Memory Agent

  • Purpose: Manages conversation context and memory operations
  • Capabilities: Searches previous conversations, saves important information, provides relevant context
  • Automatic: Activates when conversations need historical context

📋 PRD Agent

  • Purpose: Creates comprehensive Product Requirements Documents
  • Capabilities: Researches memory for context, structures requirements, defines success metrics
  • Usage: Automatically invoked for new feature requests, or manually with complex planning needs

🏗️ Architect Agent

  • Purpose: Technical design and implementation planning
  • Capabilities: Analyzes codebase patterns, creates technical architecture, breaks down features into tasks
  • Repository Access: Full access to analyze local repositories with Read, Glob, and Grep tools

🔄 Workflow Orchestrator

  • Purpose: Coordinates multi-agent feature development workflows
  • Capabilities: Detects workflow needs, manages agent handoffs, tracks progress in memory
  • Intelligence: Distinguishes between new feature work and continuing existing projects

Automatic Workflow Process

For New Features:

User Request → Workflow Orchestrator detects "new feature"
     ↓
1. PRD Agent creates requirements (searches memory for context)
     ↓
2. Architect Agent analyzes codebase & creates technical plan + tasks
     ↓
3. Implementation follows task list (updates progress in memory)

For Continuing Work:

User Request → Workflow Orchestrator detects "continue work"
     ↓
1. Memory Agent finds existing PRD, architecture, and task progress
     ↓
2. Resume implementation from current task status
     ↓
3. Update progress in memory as work continues

Workflow Triggers

New Feature Development:

  • "implement", "create feature", "build", "add functionality"
  • Complex requirements spanning multiple components
  • Features requiring architectural decisions

Continuing Work:

  • "continue", "keep working on", "update", "modify existing"
  • References to specific features or components
  • Bug fixes or enhancements to existing functionality

What You Get

When you run papr start, you'll see:

██████╗  █████╗ ██████╗ ██████╗
██╔══██╗██╔══██╗██╔══██╗██╔══██╗
██████╔╝███████║██████╔╝██████╔╝
██╔═══╝ ██╔══██║██╔═══╝ ██╔══██╗
██║     ██║  ██║██║     ██║  ██║
╚═╝     ╚═╝  ╚═╝╚═╝     ╚═╝  ╚═╝
        Memory-Enhanced Claude CLI

🧠 Session Context:
1. Memory: Your coding preferences and recent decisions...
2. Memory: Project priorities and workflow patterns...

🔧 Vercel AI SDK v5 Tool Calling Migration:
1. Migration Guide: Breaking changes in tool definitions...
2. Code Examples: Updated function calling patterns...

---

Memory Context

PAPR CLI automatically searches your memory for:

  1. General Context

    • User preferences and coding goals
    • Project priorities and workflow preferences
    • Recent decisions and important context
    • Settings, configurations, and patterns
  2. Vercel AI SDK v5 Migration

    • Tool calling migration guides
    • Breaking changes in tool definitions
    • API updates from v4 to v5
    • Code examples and migration steps

Requirements

  • Node.js 16+
  • Claude CLI (automatically installed)
  • PAPR Memory API key

Configuration

PAPR CLI creates/modifies ~/.claude/settings.json with:

{
  "hooks": {
    "SessionStart": [/* memory hooks */]
  },
  "env": {
    "PAPR_MEMORY_API_KEY": "your-api-key",
    "NEXT_PUBLIC_MEMORY_SERVER_URL": "https://memory.papr.ai",
    "PAPR_WORKSPACE_ID": "your-workspace-id"
  }
}

Troubleshooting

Memory not loading?

papr status  # Check configuration
papr init    # Reconfigure if needed

Claude CLI not found?

npm install -g @anthropics/claude

Clean start without memory?

papr start --no-memory

API

Get your PAPR Memory API key at dashboard.papr.ai

Support


Made with ❤️ by the PAPR team