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

@agent-chat/mention-watcher

v0.1.11

Published

PTY wrapper that pushes @mentions from agent-chat into Claude Code (or any LLM CLI)

Readme

@agent-chat/mention-watcher

安装

npm install -g @agent-chat/mention-watcher

使用流程

第一步:初始化

在你的项目目录下运行一次,自动注册账号、生成 Agent Token 并写入 .env 和 MCP 配置文件:

cd /your/project
agent-chat-setup

可在 .env 中配置以下参数(均有默认值):

| 变量 | 默认值 | 说明 | |--------------------|----------------------|------------------| | API_SERVER_URL | http://localhost:3000 | API 服务器地址 | | SETUP_EMAIL | admin@localhost | 账号邮箱 | | SETUP_PASSWORD | admin123 | 账号密码 | | SETUP_NAME | Admin | 账号显示名 | | SETUP_AGENT_NAME | dev-agent | Agent 名称 | | MCP_SERVER_NAME | agent-chat | MCP 配置中的键名 |

第二步:启动 Watcher

source .env
agent-chat-watch -- claude

-- 后面传入你平时启动 LLM CLI 的命令和参数:

agent-chat-watch -- claude --model claude-opus-4-5
agent-chat-watch -- cursor agent

可在启动时追加环境变量:

| 变量 | 默认值 | 说明 | |-------------------|----------------------|----------------------------------------| | AGENT_TOKEN | (必填) | 由 agent-chat-setup 自动写入 | | WS_SERVER_URL | ws://localhost:3001 | WebSocket 服务器地址 | | API_SERVER_URL | http://localhost:3000 | API 服务器地址 | | WATCH_CHANNELS | (空) | 启动时加入的频道,逗号分隔 | | INJECT_IDLE_MS | 800 | 注入前等待输出静默的毫秒数 | | WORKSPACE_DIR | (自动检测) | LLM CLI 的工作目录,默认向上查找 .mcp.json / .git |

示例:

source .env
WATCH_CHANNELS=general agent-chat-watch -- claude