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

@squawkpipe/cli

v1.1.4

Published

Squawk CLI for the Squawk conversation platform

Readme

Squawkpipe CLI

The Control Plane for Agentic Conversations

Squawkpipe is the guardian layer for the autonomous era. It provides the essential "Human-in-the-Loop" (HITL) infrastructure required to monitor, intercept and govern AI-to-human communications in real-time.

The Squawkpipe CLI is a developer-first tool designed to pipe conversation data into any agentic workflow, allowing you to build human-in-the-loop guardrails or deploy reactive AI agents with full oversight.

Core Use Cases

  • Agentic Responding: Link your AI agents directly to conversation pipes to enable real-time, autonomous customer interaction under human supervision.

  • Realtime Guardrails: Pipe live streams into auditing agents to detect hallucinations, PII leaks, or policy violations before they reach the end user.

  • Structured Routing: Transform unstructured conversation data into structured payloads for downstream agents, webhooks or internal analysis tools.

Quick Start

# Install the CLI
npm install -g @squawkpipe/cli

# Initialize configuration (one-time setup with API key)
squawk init

# Authenticate (alternative to using API key)
squawk login

# Link an agent to a specific conversation pipe
squawk link --agent ./my-agent-script.js --pipe channel-id

# Watch for new activity
squawk listen

# Get a conversation (JSON, for piping)
squawk conversation conv_abc123

# Send a reply
squawk reply conv_abc123 --body "Your order has been shipped!"

Installation

Via npm

npm install -g @squawkpipe/cli
squawk --version

Uninstall via npm

npm unisntall -g @squawkpipe/cli

Configuration

Configuration is stored in ~/.squawkrc (all platforms, including Windows).

Set up configuration:

squawk init

This prompts you for:

  • API Key
  • Tenant ID (optional, can be set per-command)

Manual editing:

Edit ~/.squawkrc directly (JSON format):

{
  "tenant_id": "your-tenant-id"
}

Config precedence (highest to lowest):

  1. Command flags: squawk listen --tenant my-tenant
  2. Environment variables: SQUAWKPIPE_TENANT_ID=my-tenant
  3. Config file: ~/.squawkrc

Commands

| Command | Description | |-----------------------------------------------|-------------| | squawk init | Set up configuration interactively | | squawk login | Authenticate via browser (Firebase PKCE) | | squawk logout | Remove stored credentials | | squawk api-key | Store an API key for agent/CI use | | squawk listen | Interactive TUI — watch for new activity | | squawk listen --json | JSONL stream to stdout (AI-pipe mode) | | squawk link --agent <prompt> --pipe <pipes> | Auto-reply using Claude with a custom prompt | | squawk conversation <id> | Get full message history as JSON | | squawk reply <id> --body "..." | Send a reply |

AI Integration

# Auto-reply using Claude with a custom prompt
squawk listen --claude "You are a friendly dental receptionist. Reply to conversations in a professional but warm tone."

# Log everything to a file
squawk listen --claude "Reply professionally to customer inquiries" | tee replies.log

# Manual pipeline — watch for conversations and auto-respond
squawk listen --json | while read -r line; do
  echo "$line" | claude -p "Draft a helpful reply for this conversation"
done

# Read context and generate + send a reply in one pipeline
squawk conversation conv_abc123 \
  | claude --prompt "Draft a concise, helpful reply" \
  | squawk reply conv_abc123

Environment Variables

| Variable | Description | |----------------------|-------------| | SQUAWK_API_URL | Override the API base URL | | SQUAWK_TENANT_ID | Set the tenant ID | | FIREBASE_API_KEY | Firebase project API key (for login) | | FIREBASE_CLIENT_ID | Firebase OAuth client ID (for login) |