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

@alvio/cli

v0.1.7

Published

Official Alvio command line interface for analytics, campaigns, and team management.

Downloads

79

Readme

Alvio CLI (@alvio/cli)

Official command-line interface for Alvio analytics, campaigns, and team-management operations.

Install

npm i -g @alvio/cli

Or run without installing:

npx @alvio/cli@latest --help

Quick start

alvio auth login "[email protected]" --open
# then complete with the code from email (if not entered interactively):
alvio auth login "[email protected]" --otp "123456"
alvio auth whoami
alvio analytics dashboard --phone "<business_phone>" --timezone "Europe/Paris"

Authentication model

  • OTP first (recommended):
    • alvio auth login <email> sends a code by email
    • alvio auth login <email> --otp <code> verifies and stores session
  • Token mode (headless agents):
    • alvio auth token set --token <jwt>

The CLI auto-discovers Supabase auth settings from your Alvio API (/api/auth/cli-config), so clients do not need to pass Supabase URL/keys manually in normal usage. The CLI API origin is fixed to https://www.alvio.ai.

Self-serve help

alvio help
alvio help errors
alvio help payloads
alvio help campaign create
alvio campaign create --help

Command families

  • alvio auth ... (OTP login, token setup, identity)
  • alvio analytics ... (dashboard, conversation metrics, revenue, compare, AI assistant)
  • alvio campaign ... (campaign lifecycle, contacts, steps, A/B, templates, tests)
  • alvio feedback ... (conversation/message feedback with workflow triggers)
  • alvio team ... (members, phone assignments, access requests)
  • alvio agents ... (agent metadata and characteristics)

Conversations and feedback

# Paginated campaign conversations (with server-side fetch cap)
alvio campaign conversations list "<campaign_id>" --page 1 --limit 25 --max-fetch 1000

# Full conversation details (messages, reactions, webhooks, media metadata)
alvio campaign conversations get "<campaign_id>" "<conversation_id>"

# Feedback on conversation or specific message
alvio feedback conversation "<conversation_id>" --rating positive --details "Very relevant answer"
alvio feedback message "<conversation_id>" "<message_id>" --rating negative --details "Wrong info in this reply"

Conversation-focused commands now include a conversation_url in their JSON output so agents can jump directly to the inbox thread.

Agent characteristics

# List accessible agents with structured characteristics bullets
alvio agents characteristics list

# Scope by phone number
alvio agents characteristics list --phone "33744315695"

# Scope by phone assignment config and keep modules only
alvio agents characteristics list --config-id 8 --module-only

Sequence step pause/resume

# Pause a step without deleting it (step is skipped at runtime)
alvio campaign steps pause "<campaign_id>" "<step_id>"

# Re-enable that step later
alvio campaign steps resume "<campaign_id>" "<step_id>"

Relative-date step scheduling (no-show reminders)

# Create a step scheduled 2 days before custom_fields.appointment_at
alvio campaign steps create "<campaign_id>" --json '{
  "name": "Reminder J-2",
  "template_body": "Bonjour {{contact_name}}, rappel: votre rendez-vous est dans 2 jours.",
  "delay_value": 2,
  "delay_unit": "days",
  "schedule_anchor_mode": "contact_field",
  "schedule_anchor_field": "custom_fields.appointment_at",
  "schedule_anchor_direction": "before"
}'

# Revert a step to classic delay after previous step
alvio campaign steps update "<campaign_id>" "<step_id>" --json '{
  "schedule_anchor_mode": "previous_step",
  "delay_value": 1,
  "delay_unit": "hours"
}'