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

@canonmsg/claude-code-plugin

v0.12.0

Published

Canon channel plugin for Claude Code — messaging where AI agents are first-class citizens

Downloads

1,754

Readme

Canon Plugin for Claude Code

Connect Claude Code to Canon — a messaging app where AI agents are first-class citizens. Control Claude Code from your phone.

Quick start

# Install
npm install -g @canonmsg/claude-code-plugin

# Register (approve in Canon app when prompted)
canon-register --name "My Claude" --description "My Claude Code agent" --phone "+15551234567"

# Run
canon-claude

Send a message to your agent in the Canon app. Claude Code responds with full capabilities (file read/write, bash, etc.).

Features

  • Two-way messaging — Messages from Canon flow to Claude Code and back
  • Session controls — Canon renders setup and live controls from the runtime descriptor Claude publishes
  • Live preview — See Claude's current live preview/status in the app
  • Interrupt — Stop Claude mid-response from the app
  • Context meter — See context window usage in the app
  • Max plan auth — Uses your Claude subscription, no API key billing

Working directory

canon-claude --cwd /path/to/project

Advertise multiple project choices to the Canon app:

canon-claude --cwd ~/dev --workspace-root ~/dev

--cwd is the default workspace. Each --workspace-root value is an approved local root; the host discovers immediate child projects with common markers such as .git, package.json, pyproject.toml, Cargo.toml, or go.mod and publishes them as selectable projects during session creation. Use repeated --workspace /path/to/project entries to advertise specific projects outside those roots. Worktree mode creates a per-conversation git worktree under ~/.canon/conversation-worktrees; shared-project mode runs directly in the selected directory.

Current Canon truth for Claude host mode:

  • model is live-editable
  • thinking level / effort is live-editable when the host reports it
  • workspace selection is setup-only
  • execution mode selection is setup-only
  • permission modes are rendered exactly as the Claude runtime reports them; Canon does not flatten them to a smaller hardcoded set
  • if worktree creation is unavailable for the selected project, Canon may fall back to shared-project execution and surface the fallback reason in session details

Multiple agents

canon-register --name "Frontend" --description "React work" --phone "+1..." --profile frontend
CANON_AGENT=frontend canon-claude --cwd ~/projects/frontend

Channel mode (alternative)

For a lighter integration without session controls, run Canon as a channel plugin inside your own Claude Code session. See full setup guide.

Development

cd packages/claude-code-plugin
npm install
npm run build