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-connect-feishu

v0.7.0

Published

Feishu/Lark channel adapter for dsh-connect: long-connection event intake, message normalization, streaming replies, and work summary cards

Readme

dsh-connect-feishu

English | 中文

面向 dsh-connect飞书 / Lark 渠道适配器:通过飞书开放平台的长连接(WebSocket)或自建 webhook 端点接收消息,转发给 DSH 智能体,并将回复流式返回飞书,支持交互式菜单卡片。

安装

dsh plugin --profile web add dsh-connect dsh-connect-feishu

配置

在 DSH profile 的 cordis.patch.yml 中。这些插件会通过各自的 bundle 清单自动注册,因此这里只需要**覆盖(override)**它们的配置——不要再用 insert 重新插入(重复的 id 会让 dsh 启动失败):

- id: connect
  name: dsh-connect
- id: connect-feishu
  name: dsh-connect-feishu
  config:
    appId: cli_xxx
    appSecret: cli_secret_xxx
    transport: websocket
    requireMention: true
    dmMode: open

| 键 | 默认值 | 说明 | |---|---|---| | appId / appSecret | env FEISHU_APP_ID / FEISHU_APP_SECRET | 飞书自建应用凭据 | | transport | websocket | 长连接(无需公网);webhook 运行内置 HTTP 服务,需要公网 HTTPS | | verificationToken | — | Webhook 验证令牌(仅 webhook 传输) | | encryptKey | — | Webhook 加密密钥(仅 webhook 传输) | | webhookPort | 9000 | transport: "webhook" 时内置 webhook 服务的 HTTP 端口 | | webhookPath | / | 飞书事件回调所 POST 的 URL 路径(webhook 传输) | | requireMention | true | 群聊中仅在 @机器人 时才会响应 | | dmMode | open | 私聊策略:open / allowlist / pair / disabled | | language | zh | 面向用户的消息语言:zh / en |

在飞书侧你还需要:启用机器人能力、订阅 im.message.receive_v1card.action.trigger 事件、发布应用版本。参见仓库中的 docs/feishu-setup.zh.md

文档

https://github.com/IvanWu2015/dsh-connect

许可

MIT