2286893544/feishu-dsh-plugin
Project Overview项目介绍
This repository is a native plugin for DeepSeek Harness (DSH) named dsh-plugin-feishu, shipping with a bundle-manifest and twenty-five feishu_* tools that cover group chat messaging, docx documents (with image, table, and chart insertion), bitable records, classic sheets v2 range reads and writes, and drive permission management, all accessed through a self-built Feishu (Lark) enterprise app. The implementation is pure Node with no external runtime dependencies and no Python, and the client half registers a sidebar settings.section under Settings → 飞书(Feishu) that writes into the feishu-bridge namespace, while a /dsh-plugin-feishu/test-connection host route validates stored credentials and returns only non-secret facts such as app name, tenant name, masked key fingerprint, and the configuration layer that supplied each value.
The intended audience is operators wiring DSH agents into a Feishu workspace so the model can list chats and members, send or recall messages, read chat history, create and edit docx documents, append blocks, insert tables and charts, query bitable schemas, write and read records, and adjust document sharing; new documents are by default shared with grantOpenId (full_access) so the human driving the bot keeps control, and setting wikiSpaceId places new files inside a knowledge base and returns /wiki/ URLs. Installation runs dsh plugin --profile web add dsh-plugin-feishu (or the GitHub variant), after which the profile is reloaded and the sidebar card accepts appId, appSecret, tenantDomain, defaultChatId, grantOpenId, wikiSpaceId, and wikiParentNodeToken, with appSecret tagged role("secret") so it renders as a blank password field and is redacted on every read.
Dependencies and limits include requiring a self-built enterprise app with the bot capability enabled and scopes published for im:message.group_msg, docx read/write, bitable, sheets, and drive permission management, plus the bot being a member of any chat it must read and documents being explicitly shared with the app; charts are rendered locally with a pure-Node PNG encoder and a 5×7 ASCII font so titles and category labels must be ASCII (Chinese labels must be generated externally and inserted via feishu_insert_image_into_document), the sheets tools use the classic v2 range API, and only chats the bot has joined are readable. When no settings service is present the card is hidden and configuration falls back to a profile config patch or the environment variables FEISHU_APP_ID, FEISHU_APP_SECRET, and FEISHU_TENANT_DOMAIN; first-run validation can be performed offline with node scripts/verify-registration.mjs (registers all 25 tools plus the bundled feishu skill and renders a chart) and live-tested with node scripts/smoke.mjs using real credentials, and the project is released under the MIT license.
这是一个面向 DeepSeek Harness(DSH)的飞书/Lark 原生插件,仓库自带 bundle-manifest 清单,共暴露 25 个 feishu_* 工具,覆盖群聊消息、docx 文档(含图片、表格、图表)、多维表格(bitable)、电子表格 v2 区间读写,以及云文档权限管理;通过自建飞书企业应用接入,纯 Node 实现,零外部依赖、无需 Python。安装方式为 dsh plugin --profile web add,支持从 npm 或 GitHub 添加,刷新 profile 后在设置页的"飞书(Feishu)"侧边栏填写 appId、appSecret、tenantDomain、defaultChatId、grantOpenId、wikiSpaceId 等参数,appSecret 会被标记为 role("secret") 自动脱敏。
典型使用场景是企业内把飞书办公套件交给 DSH 代理:让模型读取群历史、群发消息、撤回消息,或创建/读写 docx、多维表格、表格区域,调用图表工具时本地用纯 Node PNG 编码器加 5×7 ASCII 字体渲染;新建文档默认共享给操作者本人,配置 wikiSpaceId 后会写入知识空间并返回 /wiki/ 链接,配 /dsh-plugin-feishu/test-connection 路由可仅用非敏感信息(应用名、租户名、掩码后的密钥指纹)校验连通性。
依赖与限制方面,需要在飞书开放平台开通机器人并发布 im:message.group_msg、docx 读写、bitable、sheets、drive 权限等作用域,机器人必须加入目标群、要读的文档需先共享给应用;图表标题与类别仅支持 ASCII,中文标签需自行生成图片后用 feishu_insert_image_into_document 写入,表格走经典 sheets v2 区间 API,且只能读取机器人已加入的会话。配置缺失设置服务时会回退到 profile patch 或环境变量 FEISHU_APP_ID 等,离线校验脚本 node scripts/verify-registration.mjs 可注册全部 25 个工具并渲染图表,仓库采用 MIT 协议。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:feishu-dsh-plugin(2286893544/feishu-dsh-plugin)
仓库:https://github.com/2286893544/feishu-dsh-plugin
本站详情页:https://www.yhbd.top/plugins/2286893544-feishu-dsh-plugin/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 2 · 最近提交 2026-09-11 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add dsh-plugin-feishu
把 2286893544/feishu-dsh-plugin 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-plugin-feishu
Feishu (Lark) tools for DeepSeek Harness: 25 feishu_* tools covering chat
messages, cloud documents (including images, generated charts and tables),
bitable records, spreadsheet ranges and drive permissions — through your own
enterprise self-built Feishu app. Pure Node, no external dependencies, no Python.
Install
Requires DeepSeek Harness with plugin support (dsh plugin).
dsh plugin --profile web add dsh-plugin-feishu # once published to npm
dsh plugin --profile web add github:2286893544/feishu-dsh-plugin # straight from GitHub
Reload the profile, then configure the plugin on its own settings page:
Settings → 飞书(Feishu). The client half (client/client.js) contributes
that sidebar page (a settings.section, the same slot community plugins such as
the side card use); it writes into the feishu-bridge settings namespace, so a
saved change applies immediately:
| Field | Meaning |
|---|---|
appId |
Feishu app ID of your self-built app (cli_...) |
appSecret |
Feishu app secret — declared role("secret"), so it is redacted from every page read and shown as a password control that starts blank |
tenantDomain |
Optional (acme.feishu.cn); auto-detected from the tenant API when empty |
defaultChatId |
Optional (oc_...) used by the chat tools when a call omits chat_id |
grantOpenId |
Optional (ou_...) — every document/bitable the plugin creates is shared with this user (full_access), so the person operating the bot keeps control of what the bot made |
wikiSpaceId |
Optional knowledge-base space id; when set, new documents are created inside that knowledge base and the returned URL is a /wiki/ link |
wikiParentNodeToken |
Optional default parent node for new wiki documents (empty means the knowledge-base root) |
On a host without a settings service the card is simply absent and the composed
configuration stands. Both fallbacks remain: the profile patch entry
(config: { appId, appSecret, ... }) and the environment variables
FEISHU_APP_ID, FEISHU_APP_SECRET, FEISHU_TENANT_DOMAIN.
The page also carries a 测试连接 (test connection) button. It POSTs to the
host route /dsh-plugin-feishu/test-connection, which exercises the stored
credentials against the Feishu API and answers with non-secret facts only: the
app name, the tenant name and domain, a masked key fingerprint
(pkQi…E2h (len 32)) and which configuration layers supplied the values. The raw
secret never leaves the host, and the route refuses GETs and cross-origin calls.
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
xmanrui/dsh-im
tencent-connect/dsh-qqbot
flymysql/dsh-remote
whiteguo233/dsh-openbiliclaw
omdsh-dev/dsh-lark
hanshanyike/dsh-yolo
THEWOLFWALKER/dsh-notifier