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

@sowork-app/cli

v0.1.0

Published

Local-first CLI that imports, indexes, and searches AI agent session history across Claude Code, Cursor, Codex, and more.

Readme

@sowork-app/cli

Local-first context hub that imports, indexes, and searches conversation history across AI coding agents. One CLI to sync, search, and list sessions from Claude Code, Cursor, Codex, and OpenClaw.

Install

npm install -g @sowork-app/cli

Quick Start

# Sync sessions from your agents
sowork sync claude-code
sowork sync cursor

# Search across all imported sessions
sowork search "database migration"
sowork search "auth" --agent claude-code --limit 20

# List recent sessions
sowork list
sowork list --agent cursor

# Print a full session
sowork print-session <session-id>

# Install real-time sync plugins (auto-import on session end)
sowork plugin install claude-code
sowork plugin install cursor
sowork plugin status

# Cloud account
sowork login
sowork whoami
sowork logout

# Check version
sowork version

Commands

| Command | Description | |---------|-------------| | sync <source> | Sync sessions from an agent source (claude-code, cursor, codex, openclaw) | | search <query> | Full-text search across all imported messages | | list | List sessions, optionally filtered by agent | | print-session <id> | Print a full session transcript | | plugin install <agent> | Install a real-time sync plugin/hook for an agent | | plugin status | Show installed plugin status | | login | Authenticate with the Sowork cloud | | logout | Log out of the Sowork cloud | | whoami | Show the currently logged-in user | | version | Print the CLI version |

How It Works

Sessions are stored locally in a SQLite database at ~/.sowork/sowork.db. Override the base directory with the SOWORK_DIR environment variable.

When you run sowork sync, the CLI scans the agent's local session files, parses them, and indexes messages with FTS5 for fast full-text search. Plugins/hooks can be installed to auto-sync sessions in real time.

Optionally, sessions can be synced to the Sowork cloud after logging in with sowork login.

Development

pnpm install
pnpm build

# Watch mode
pnpm dev

# Run tests
pnpm test

# Clean build output
pnpm clean

Stack: TypeScript (CommonJS), Node >= 20, SQLite via better-sqlite3, Commander, chalk@4.

License

MIT