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

@debugbundle/cli

v1.17.0

Published

Command-line interface for DebugBundle

Readme

@debugbundle/cli

Command-line interface for DebugBundle.

Notification preferences support account and project scopes, personal email or shared destinations, per-channel pause/resume, and daily email with local time and timezone. Use debugbundle --help and the notification CLI guide.

Installation

npm install -g @debugbundle/cli

Supported Node.js versions: 22.x through 26.x.

An unreadable response, connection loss, or server error during an incident/improvement lifecycle write reports mutation_outcome_unconfirmed. JSON output includes outcome: "unknown" and retry_safe: false; exit code 1 means confirmation is unavailable, not that the write failed. Check the current state with a read before retrying. The CLI does not automatically repeat writes. A confirmed cloud result remains successful if only the local cache update fails; the incident carries cache_warning: "cloud_cache_update_unavailable". doctor exits 1 when its report contains errors; warning-only reports still exit 0. doctor --auth-file <path> can check an explicit saved login.

Check the installed CLI version with debugbundle --version or debugbundle -v.

Or install it as a project development dependency:

npm install --save-dev @debugbundle/cli

Quick start

debugbundle setup --non-interactive
debugbundle doctor --privacy
debugbundle verify local
debugbundle verify cloud --project-id <id> --trigger-5xx
debugbundle verify cloud --project-id <id> --trigger-4xx 403
debugbundle process
debugbundle incidents
debugbundle explain <incident-id> --source cloud

Agent-aware setup

debugbundle setup --agent codex --agent claude-code --agent gemini-cli --agent muse-code --non-interactive
debugbundle doctor --json
debugbundle validate --fix --json

Interactive setup offers detected agents as defaults. Repeat --agent to select integrations explicitly; JSON/non-interactive runs never prompt or infer new agents. Saved selections are reused. Codex, Gemini CLI, and Muse Code discover .agents/skills/debugbundle/ directly. Claude Code receives a relative link under .claude/skills/debugbundle/, with an owned copy fallback when links are unavailable. Only selected native instruction files are managed; existing references/imports are preserved.

Keep .debugbundle/agent-setup.json with the canonical skill. It stores ownership hashes and selection, without credentials. Doctor and validate report canonical health separately from native discovery. Repair refreshes unchanged generated artifacts and preserves user edits for manual review. Repeated setup preserves the reviewed profile and cloud connection. Unknown legacy files are retained; exact known 1.10.0 templates can upgrade safely.

debugbundle setup --agent none --non-interactive removes only unchanged owned native integrations while retaining the canonical skill and configuration. Edited conflicts remain and require review. A stale .debugbundle/agent-setup.lock may be removed only after confirming no setup/repair is running.

Muse Code uses --agent muse-code (the agent executable is muse). It respects Muse's existing instruction precedence, creates AGENTS.md only when no supported instruction file exists, and shares owned blocks safely with other agents. Detection uses .muse project evidence; AGENTS.md alone does not select Muse. Trust the repository in Muse before expecting project skills to load, then check with muse skills list --source project --json.

Portable plugin skills complement the project's profile and workflows. Setup does not install plugins, configure MCP, or change authentication. Project plugin settings are hints; doctor does not prove a running agent loaded the skill. Restart/reload the agent after setup. See the full contract and rollback guidance.

Configuration

The CLI reads local project configuration from .debugbundle/ and can use member-token authentication for connected cloud operations. Use debugbundle connect to configure cloud access, or pass --auth-file to commands that support explicit auth state.

Public status pages

Owners can publish selected health checks from their own projects through a stable public link:

debugbundle health status get --project-id <id> --json
debugbundle health status options --project-id <id> --json
debugbundle health status save --project-id <id> --settings-json '<settings>' --json
debugbundle health status preview --project-id <id> --json

Settings contain title, enabled and explicit projects entries with project_id and check_ids. Save with enabled: false to unpublish while retaining the URL. Only selected names and aggregate availability are public; endpoint URLs and diagnostics stay private. New checks remain private. Use member authentication and publish only on the owner's instruction. See the status-page guide.

AnalyticsBundle

Public project flows support customer-defined acquisition and activation steps across sites, auth pages and apps. Read definitions and aggregate reports with:

debugbundle analytics flows list --project <project-id> --json
debugbundle analytics flows report --project <project-id> --key onboarding --window 30d --json

Owners/admins can use analytics flows save --project <project-id> --definition-json '<JSON>' and analytics flows archive --project <project-id> --key onboarding. See the flow contract for definitions, capture, full UTC day report windows, and partial coverage.

Analytics commands require connected member authentication and a project with AnalyticsBundle enabled. They query aggregate rollups or request an asynchronous analysis artifact; they do not read raw analytics events.

debugbundle analytics summary --project <project-id> --last 7d
debugbundle analytics devices --project <project-id> --last 7d
debugbundle analytics journeys --project <project-id> --last 7d
debugbundle analytics opportunities --project <project-id>
debugbundle analytics opportunities --all-projects
debugbundle analytics bundle create --project <project-id> --kind journey_friction --last 7d
debugbundle analytics bundle list --project <project-id>
debugbundle analytics bundle list --all-projects
debugbundle analytics saved-funnels list --project <project-id>
debugbundle analytics saved-funnels create --project <project-id> --key signup --name "Signup" --steps-json '[{"step_key":"landing","display_name":"Landing"},{"step_key":"complete","display_name":"Complete"}]'

Use debugbundle analytics settings get --project <project-id> to inspect availability and capture/retention settings. Owners and admins can enable it with debugbundle analytics settings set --project <project-id> --enabled true; Team projects can additionally manage approved custom dimensions. Saved funnels are reusable project definitions, not per-visit bundles; members can list them and owners/admins can create, update, or archive them within the independent tier cap. Project tokens remain SDK-ingestion-only and cannot read analytics.

Documentation

Full CLI documentation: https://debugbundle.com/docs/cli

License

Apache-2.0