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

@khorsheed/dsh-local-agent

v0.2.2

Published

Local code-agent harness registry and glue: scoped homes, /<harness> login and sessions commands, delegation provider contracts, and the roster-driven browser settings section

Readme

@khorsheed/dsh-local-agent

English | 中文

让 DSH 把活交给你电脑上的 Kimi Code、Codex、Claude Code 或另一个 DSH,并在一张卡片里管好它们。

这是本机 agent 委派的底座,Kimi、Codex、Claude Code、DSH 四家都靠它运行。以前要同时用几个编码 agent,得在几个终端之间来回切,各自登录、各自记会话。装上之后,你在「插件」页的一张「本机 Agent 委派」卡片里给每家配好凭据和模型;在会话里把活交出去,交出去的子会话不是只读回放,你可以打开它直接接着聊;DSH 重启了,没做完的委派也接得上。

能做什么

  • 一张卡片管所有本机 agent:每家一节,展开就能填凭据、排「可用模型」、开关「常驻模式(live)」;没装 CLI 的一家会标出「未检测到 CLI」。
  • 子会话可以接着聊:打开交出去的子会话,在底部输入框里给成员发消息,继续的是同一个会话;生成中的内容实时出现。
  • 随时换模型和推理强度:子会话的输入栏里就能切;正在跑的时候选好,下一轮生效。
  • 重启也接得上:委派记录留在本机,DSH 重启之后,没做完的子会话照样能续上。
  • 说停就停:/local-agent stop <子会话编号> 停掉一个正在跑的委派,/local-agent list 列出装了哪几家。
  • 你电脑上原来的 CLI 一点不碰:每家都在插件自己的目录里运行,原有的配置、登录和会话保持原样。
  • 协作间里的本机成员也能求助:在协作间里,Kimi、Codex、Claude Code 成员也能去问别的会话,回信回到它自己手上。

安装

在 DSH 的「插件 → 添加插件」里输入下面的包名,点安装:

@khorsheed/dsh-bundle-local-agent

本插件会跟着「多Agent协作」套件一起装好,连同四家本机 agent 和协作间;开发套件 @khorsheed/dsh-dev-suite 也包含它。各家的 CLI(kimi、codex、claude)要你自己先装好。装完重启 DSH,到「插件」页的「本机 Agent 委派」卡片里配好要用的那几家,然后开一个「开发模式」会话,对 agent 说「把这个交给 Codex」。

已知限制

  • 各家 CLI 本体不代装;没装的那一家在卡片上显示「未检测到 CLI」。
  • 委派记录只增不减,用久了要你自己清理插件目录。

Compatibility

需要 DSH 0.1.5-rc.1 或更新版本,已在 0.2.1-rc.1 上验证。

给开发者

  • 各家怎么注册进来、委派调用的选项、模型的取值顺序、命名 scope(一家多份登录)、容器内委派、成员通道与实时输出等,都在完整参考里。
  • 单独安装时,底座要和至少一家一起点名:dsh plugin --profile web add @khorsheed/dsh-local-agent @khorsheed/dsh-local-agent-kimi(只装某一家不会自动带上底座)。
  • 隶属 dsh-plugins,问题与贡献请到该仓库;变更见 CHANGELOG.md。