omdsh-dev/dsh-lark
Lark/Feishu IM机器人渠道,用于DeepSeek Harness | 飞书 DeepSeek Harness (DSH)插件
Project Overview项目介绍
This is a native plugin built exclusively for DeepSeek Harness (DSH) that connects DSH to the Feishu/Lark messaging platform. It can be installed globally via npm with the command npm i -g dsh-lark-channel, then started with dsh-lark-channel start, or run directly without a global install using npx dsh-lark-channel@latest start. After startup, a QR code will be displayed in the terminal; you scan it with the Feishu app to complete application creation, and can start interacting with your DSH agent directly via the bot in private or group chats.
The plugin lets you assign tasks, check execution progress, switch workspaces and models, and handle approvals all within Feishu/Lark, so you do not need to switch back to the terminal to interact with DSH. It ships with over 20 slash commands for common operations like checking status, switching models, managing sessions, and adjusting permission presets. It supports persistent sessions that can be recovered after a restart, and allows multiple DSH agents with independent configurations and sessions to collaborate in a single group chat.
This project is licensed under BSD-3-Clause, and it requires Node.js version ^22.19.0 or >=24, DSH version 0.1.0-rc.6 or newer, and an active Feishu/Lark tenant. By default, the maximum single file size for transfer is 20 MiB, and a group chat can have at most 3 pending file approvals to avoid memory risks. It is an unofficial community-developed plugin, and is not affiliated with, endorsed by, or sponsored by DeepSeek, Feishu, or Lark.
这是一个专为 DeepSeek Harness(DSH)开发的原生插件,用于将 DSH 接入飞书 / Lark 平台。用户可以直接在飞书聊天中给 DSH 代理分配任务、查看执行过程、切换工作区和模型,遇到提问、计划确认或工具审批也无需回到终端,直接在飞书中处理即可,还支持多个 DSH 代理在同一个群聊中协作。
开发者安装完成后,终端会生成二维码,扫码即可完成飞书应用创建,之后直接私聊机器人或在群中 @ 机器人就能开始使用。它提供了数十个斜杠命令,可查看状态、切换工作区和模型、管理会话,支持会话持久化,重启后可恢复之前的任务进度,适合习惯在飞书内处理工作、不想频繁切换终端的开发者。
该项目遵循 BSD-3-Clause 开源协议,要求 Node.js 版本为 22.19.0 以上或 24 以上,DSH 版本不低于 0.1.0-rc.6,还需要有飞书或 Lark 租户。单文件收发默认上限为 20 MiB,最多同时允许 3 个待审批文件,语音消息仅落盘不转文字,属于非官方社区开发项目,无官方背书。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-lark(omdsh-dev/dsh-lark)
仓库:https://github.com/omdsh-dev/dsh-lark
本站详情页:https://www.yhbd.top/plugins/omdsh-dev-dsh-lark/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 BSD-3-Clause · ⭐ 55 · 最近提交 2026-08-19 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【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 更稳。
- This site's static screen found no obvious risk signal (stars, license, activity, manifest)本站静态筛查没发现明显风险信号(星标、许可证、更新活跃度、清单完整度)
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-lark-channel@latest
把 omdsh-dev/dsh-lark 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-lark · DeepSeek Harness 飞书 / Lark 插件
简体中文 | English
把你正在使用的 DeepSeek Harness(DSH)接进飞书。
直接在聊天里给 Agent 派任务、看执行过程、切换工作区和模型。遇到提问、计划确认或工具审批,也不用回到终端,直接在飞书里处理。需要时,还能把多个 Agent 放进同一个群里协作。
快速开始
npm i -g dsh-lark-channel
dsh-lark-channel start
终端会显示二维码。用飞书扫码完成应用创建,然后私聊机器人,或在群里 @ 它即可开始。
启动命令会在首次安装依赖前写好 profile 的 pnpm 构建策略:未经批准的依赖构建脚本一律警告并跳过,而不是让安装失败;protobufjs 那个只打印提示的 postinstall 还会被按名字记为跳过。因此不需要手工执行 pnpm approve-builds。
不想装到全局也可以直接跑,只是之后每条命令都要带 npx:
npx dsh-lark-channel@latest start
如果还没有安装 DeepSeek Harness,先运行:
npm i -g @deepseek-ai/dsh
无需公网服务器,也无需配置回调地址。
为什么值得装
- 不用守着终端:从飞书发起任务,随时查看进度和结果。
- 不只是聊天机器人:可以切换真实工作区和模型,执行 Harness 已有的命令与工具。
- 关键决定仍由你控制:模型提问、计划审阅和工具审批都会回到当前聊天,按钮或文字都能作答。
- 上下文不会混在一起:不同聊天、话题和工作区可以保留各自的会话。
- Agent 之间也能协作:一条命令添加更多机器人,让它们在群聊中通过 @ 交接回合,并用轮数上限防止无限对话。
可以这样开始
先看看当前状态和可用工作区:
/status
/ws
/cd my-project
/model
然后直接派一个任务:
检查这个项目为什么构建失败。先给我计划,需要操作时让我确认。
Agent 的执行过程会显示在飞书中;需要你参与时,会发送提问、计划或审批卡片。渠道自带文案会按每位读者的飞书语言显示中文或英文。
主要能力
| 能力 | 使用体验 |
|---|---|
| 持久会话 | 重启后可以恢复;后续消息继续当前上下文,/new 可以原地重开一个 |
| 接续已有会话 | /sessions 列出这个工作区里可以接续的会话——自己的历史,以及网页端/命令行开的——点一行就切过去;/cd、/new 会回到自动派生的会话 |
| 多工作区 | /ws 查看、/cd 切换;回到原工作区时继续之前的任务 |
| 模型切换 | /model 打开模型选择卡片;切换后保留当前会话,也可随时恢复默认模型 |
| 原生执行过程 | 在飞书中查看推理、工具调用和结果,最终答案单独发送 |
| 人机协作卡片 | 单选、多选或文字回答问题;批准计划或提出修改意见;允许或拒绝工具调用 |
| 权限预设 | /permission 打开预设卡片,写明每个预设能碰到什么、会不会弹审批;放开沙箱需要审批人权限,切回更安全的预设不需要 |
| 实时状态 | /status 展示工作区、模型、session 和当前权限预设;可用时还显示上下文占用与累计 token,并支持刷新 |
| 会话隔离 | 可按聊天、话题或群成员划分独立 Agent 会话 |
| 多 Agent 协作 | 多个机器人拥有独立设置、凭据和 session,可以在同一个群里对话与交接任务 |
| 斜杠命令 | 宿主自带的命令(/plan、/compact 等)直接进入 DSH 命令运行时 |
| 文件收发 | 人发文件进聊天,agent 在工作区里读;agent 的产物发回聊天,群聊里先弹审批卡 |
常用命令
| 命令 | 用途 |
|---|---|
/status |
查看并刷新工作区、模型和 session;可用时包含上下文与 token 状态 |
/ws |
查看可用工作区 |
/cd <名称或路径> |
切换工作区 |
/get <路径> |
把工作区里的文件发到聊天 |
/model |
打开模型选择卡片 |
/model use <provider/model> |
直接切换模型 |
/model reset |
恢复默认模型 |
/permission |
打开权限预设卡片 |
/permission <预设名> |
直接切换权限预设 |
/new |
原地开一个新会话,清空上下文,工作区和模型保持不变 |
/sessions |
列出可接续的会话,点一行切过去 |
/sessions <关键词> |
按标题或 id 过滤列表 |
/stop |
停止当前任务 |
/help |
查看全部命令(含宿主提供的) |
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
hanshanyike/dsh-yolo
THEWOLFWALKER/dsh-notifier
GDWhisper/dsh-web-startup-auth