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

@synappsisai/crm-cli

v0.3.3

Published

Agent-first CLI for the Synappsis multi-tenant CRM

Downloads

1,138

Readme

synappsis-crm-cli

Agent-first CLI for the Synappsis multi-tenant CRM. Designed primarily to be invoked by LLM agents running in a Claude Managed Agents sandbox, but also usable by humans at a terminal.

See AGENT-CONTEXT.md for the agent-oriented reference. This README is for humans.

Install

Published to npm:

npm install -g @synappsisai/crm-cli

Or, in a CMA environment, add it to the packages.npm field of the environment config:

{
  "config": {
    "type": "cloud",
    "packages": {
      "npm": ["@synappsisai/crm-cli"]
    }
  }
}

The binary is crm.

Configure

The CLI reads its credentials from environment variables. There is no config file, no ~/.crm/ directory, no interactive login.

export CRM_SUPABASE_URL="https://<your-project>.supabase.co"
export CRM_SUPABASE_KEY="<service_role key>"
export CRM_TENANT_ID="synappsis"

In AgentFleet, these are injected per turn by the worker Lambda before the agent runs.

Usage

# List the latest 10 deals
crm deals list --limit 10

# Filter by stage, get JSON
crm deals list --stage prospecto --json

# Show a specific deal
crm deals show <uuid>

# Search contacts
crm contacts search "Alonso Bravo"

# Discover the full API
crm schema

Design principles

This CLI follows the Synappsis house standard for agent-first CLIs. See docs/AGENT-FIRST-CLI-DESIGN.md in the AgentFleet repo for the full rationale. Summary:

  • Noun-verb command hierarchy (crm <noun> <verb>)
  • JSON to stdout, everything else to stderr
  • TTY-aware default output mode (JSON when piped, table when interactive)
  • Meaningful exit codes (2 = usage, 3 = not found, 4 = permission, 5 = conflict, 6 = rate limited, 7 = upstream, 1 = internal)
  • Structured errors with code, message, and suggestion fields
  • No interactive prompts
  • crm schema dumps the full API contract as JSON

Development

cd cli
npm install
npm run dev -- deals list --limit 5    # run via tsx without compiling
npm run build                            # compile to dist/
./dist/index.js deals list --limit 5     # run the compiled binary

Publishing

cd cli
npm version patch   # or minor/major
npm publish

prepublishOnly runs the build automatically.

Status

v0.1.0 — POC / read-only. Only deals list, deals show, contacts search, contacts show, and schema are implemented. Mutations (create, update, delete, ensure) are deliberately not in this version — they come once the auth model is tightened (see AgentFleet docs/CRM-RLS-AUTH-SPEC.md).