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

@finished/cli

v0.2.3

Published

Agent Fleet Management CLI - Phone Push Notifications When Agents Finish Tasks

Readme

@finished/cli

npm version license

Agent Fleet Management CLI — Get phone push notifications the moment your agents, builds, or background tasks complete.

Overview

finished is a lightweight CLI tool designed to notify you when long-running tasks finish. Whether you're training a model, running a complex build, or waiting for an AI agent to complete a task, finished sends a push notification directly to your phone (via the finished.dev web dashboard).

  • Zero dependencies: Fast and lightweight.
  • Reliable: Automatic retries with exponential backoff.
  • Integration-friendly: Works with any shell script, CI/CD pipeline, or agent workflow.
  • Cross-platform: Runs anywhere Bun or Node.js is available.

Installation

# Global install using Bun (recommended)
bun install -g @finished/cli

# Global install using npm
npm install -g @finished/cli

# Or run directly without installing
bunx @finished/cli ping "Quick task done"

Quick Start

  1. Sign Up: Create an account at finished.dev.
  2. Get API Key: Navigate to Settings > API Keys and create a new key (starts with fin_).
  3. Initialize: Run the setup command:
    finished init
  4. Send Notification:
    finished ping "My first notification!"

Commands

init

Interactive setup to configure your API key and server URL.

finished init

Stores configuration in ~/.finished/config.json.

ping <message>

Send a task completion notification.

finished ping "Backup completed"

Options:

  • --status <success|failure|cancelled>: Task outcome (default: success).
  • --source <name>: Identify where the task came from (e.g., claude, github-actions).
  • --duration <ms>: Include task duration in milliseconds.
  • --server <url>: Override the default server URL.

Example with options:

finished ping "Build failed" --status failure --source "jenkins" --duration 45000

test

Validate your API key and test the connection to the server.

finished test

status

Show your current configuration, including the masked API key and Machine ID.

finished status

Integration Examples

After a Build

npm run build && finished ping "Build successful" --source "local-build"

In a Python Script

python train_model.py && finished ping "Model training finished" --duration $SECONDS

With AI Agents

Add this to your agent's system prompt or toolset:

claude "Analyze this log file" && finished ping "Claude analysis done" --source claude

CI/CD Pipelines (GitHub Actions)

- name: Notify on completion
  if: always()
  run: npx @finished/cli ping "Workflow ${{ job.status }}" --status ${{ job.status }}
  env:
    FINISHED_API_KEY: ${{ secrets.FINISHED_API_KEY }}

(Note: Ensure you run finished init or have the config file present, or the CLI will support environment variables in future versions. For now, it relies on ~/.finished/config.json).

Troubleshooting

"Not configured. Run: finished init"

The CLI cannot find your configuration. Ensure you have run finished init and that ~/.finished/config.json exists and is readable.

Notifications not appearing

  1. Run finished test to verify your API key and connection.
  2. Check finished.dev to ensure your browser is registered for push notifications.
  3. Ensure your API key is valid and has not been deleted.

Connection Issues

If you are behind a corporate proxy, ensure the CLI can reach https://finished.dev. You can override the server URL using the --server flag if you are hosting a private instance.

License

MIT © finished.dev