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

koishi-plugin-aka-lark-center

v0.6.0-beta.4

Published

Koishi Lark/Feishu LLM tool gateway powered by self-managed lark-cli binary.

Readme

koishi-plugin-aka-lark-center

Positioning

Koishi 插件,通过自管理的 lark-cli 二进制将飞书 / Lark 的全部 CLI 能力暴露为 Koishi 命令和 ChatLuna LLM 工具。

Current Status

v0.6.0-beta —— 破坏性重构中,基于自管理 lark-cli 二进制完全重写。

Features

  • 自管理 lark-cli 二进制:插件启动时自动下载对应平台的官方 CLI 二进制到 Koishi data 目录,不依赖 npm postinstall 或宿主机 curl
  • 多租户用户身份隔离:每个 Koishi 用户可绑定自己的飞书身份
  • Device Flow 扫码绑定,首次使用个人功能时自动触发
  • 黑名单安全模型:默认暴露几乎全部 CLI 能力,仅禁止事件流和高风险 shell 操作
  • ChatLuna 桥接:自动将 lark-cli 命令注册为 LLM Tools
  • 风险分级:read / write / destructive / admin

Config

| 字段 | 说明 | |------|------| | appId | 飞书应用 App ID | | appSecret | 飞书应用 App Secret | | baseUrl | OpenAPI 基础地址 | | commandName | 主命令名,默认 lark | | larkCliConfigDir | CLI 配置持久化目录 | | chatlunaEnabled | 是否启用 ChatLuna 桥接 | | chatlunaRiskLevel | ChatLuna 工具风险等级 |

Commands

系统命令

  • lark.system.ping —— 验证 CLI 可用性并查看版本/路径
  • lark.system.cli.install —— 手动触发 lark-cli 二进制下载安装
  • lark.system.cli.version —— 查看当前捆绑的 lark-cli 版本

身份管理命令

  • lark.auth.status —— 查看当前用户绑定状态
  • lark.auth.bind —— 绑定个人飞书身份(Device Flow);首次绑定会自动在该用户独立 HOME 下初始化 lark-cli 配置
  • lark.auth.confirm <deviceCode> —— 确认 Device Flow 绑定
  • lark.auth.unbind —— 解绑个人飞书身份

Notes

  • 无需 curl:插件内部使用 Node.js https 模块下载 CLI 二进制,兼容无 curl 的 Docker 环境
  • 用户风险自担:开启 destructive / admin 风险等级后,LLM 可能执行删除、转移等不可逆操作
  • 配置持久化:确保 Koishi Docker 的 baseDir 映射到持久化卷,否则用户绑定状态会丢失