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-handoff

v0.5.0

Published

轻量级多 Agent 协作接力工具

Readme

AgentHandoff

轻量级多 Agent 协作接力工具。

安装

npm install -g agent-handoff

快速开始

1. 创建 workspace

agent-handoff init my-project

2. 编辑 brief.md

编辑 my-project/brief.md 描述你的需求。

3. 查看状态

agent-handoff status my-project

4. 获取下一步 prompt

agent-handoff next my-project

将输出的 Prompt 复制到 TRAE 新 Task 中执行。

命令

init

创建新的 workspace。

agent-handoff init <name> [--path <path>]

参数:

  • <name> - workspace 名称
  • --path, -p - 父目录路径(默认当前目录)

status

显示 workspace 状态。

agent-handoff status [workspace] [--json]

参数:

  • [workspace] - workspace 路径(默认当前目录)
  • --json, -j - JSON 格式输出

next

输出下一步执行指令和 prompt。

agent-handoff next [workspace] [--copy] [--no-event]

参数:

  • [workspace] - workspace 路径(默认当前目录)
  • --copy, -c - 复制 prompt 到剪贴板
  • --no-event - 不写入 events.jsonl

validate

校验 workflow 与产物结构。

agent-handoff validate [workspace]

advance

手动推进 workflow 状态,并可写入事件。

agent-handoff advance [workspace]

config

查看或生成配置文件。

agent-handoff config [workspace]

report

读取 workspace 下的自动化操作日志并生成报告(json/markdown/html)。

agent-handoff report [workspace] [--format markdown|json|html] [--session <id>] [--screenshots] [--output <path>]

export

导出静态 Web Timeline Viewer(离线 HTML,可直接打开)。

agent-handoff export [workspace] --format web [--output <dir>] [--limit <n>]

index

生成 workspace 索引,并支持 registry 管理。

agent-handoff index [workspace] [--add] [--remove <pathOrName>] [--list] [--output <file>] [--json]

search

在多个 workspace 索引上执行搜索。

agent-handoff search <query> [--workspace <pathOrName...>] [--type <t...>] [--step <id...>] [--work-item <id...>] [--limit <n>] [--json]

diff

对两个 workspace 做基于索引的差异对比。

agent-handoff diff <left> <right> [--format text|markdown|json] [--path <p...>] [--context <n>]

stats

输出 workspace 统计信息(summary/full)。

agent-handoff stats [workspace...] [--registry] [--mode summary|full] [--format json|markdown]

Workspace 结构

<workspace>/
├── workflow.yaml    # 工作流定义
├── state.json       # 当前状态
├── brief.md         # 需求描述
├── events.jsonl     # 事件日志
└── steps/
    └── <nn>-<id>/
        └── output.md

文档

License

MIT