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

dsh-agent-crew-handoff-ui

v0.2.0

Published

Handoffs tab: agent cards with live state and lanes of the tasks a Session handed to each subagent

Readme


description: "交接标签页:显示智能体卡片的实时状态,以及 Session 交给每个子智能体的任务列表,并与其他 crew 页面共享。" kind: "package-reference"

dsh-agent-crew-handoff-ui

English | 中文

概述

Session 委派工作后,工作就离开了视线。本客户端插件在右侧面板添加 交接 标签页:Session 本身和它创建的每个子智能体各一张卡片,显示 crew 成员的头像和名称、预设、是在工作、等待你还是空闲,以及当前任务。卡片下方每个智能体一列,按从新到旧列出交给它的每项任务,包括简短的任务标签、简要说明的第一行、交接时间和所用工具。其他 crew 页面通过 ctx.crewHandoffs 复用该视图。

目录


使用本包

crew-agents bundle 挂载本插件。在任意 Session 中从右侧面板的指南打开 交接;点击卡片会打开该智能体的 Session。列中最新的一项在智能体工作或等待你时显示 在…处,空闲后显示 已交回。


实现原理

交接是指展示元数据为 { kind: 'activation', name } 的成功工具结果,每个子智能体委派工具都会返回它;对应的 tool/call 提供 description、prompt 和 agent_preset 参数。标签页读取 Session 已加载的事件窗口、用于子智能体的 subagentCatalog 投影,以及用于每张卡片预设和状态的 Session 列表与状态。

| 源码 | 内容 | |---|---| | src/client/handoffs.ts | 从事件读取交接 | | src/client/view.ts | 卡片与列 | | src/client/HandoffView.tsx | 视图 | | src/client/HandoffTab.tsx | 标签页主体 | | src/client/index.ts | 注册与 ctx.crewHandoffs | | tests/ | 读取、构建与绘制 |


延伸阅读

模型体验

无,本包是浏览器视图,不注册任何面向模型的内容。

KV Cache 影响

无;本包既不组装也不发送模型提供方请求。

已知限制与后续工作

  • 不显示每个智能体的费用;dsh 记录的是 token 用量而不是价格。
  • 只显示 Session 日志中已加载部分的交接。
  • 子智能体之间的交接显示在委派方子智能体自己的 Session 中,而不是负责人的 Session 中。

开发备注

测试用真实事件结构读取合成事件,并用构建出的模型渲染视图。