跳到正文

sliverp/DeepSeek-harness-lark

30最近提交 2026年8月14日

DeepSeek-harness-lark DSH 插件

该插件利用官方 WebSocket 传输将 DeepSeek Harness 与飞书/Lark 集成,无需公网回调服务器。支持文本、图片和文件输入,并将模型回复、生成的图片和工作区文件传回聊天。每个聊天拥有持久化、隔离的 Harness 会话,并支持代理预设回退。

如何安装 DeepSeek-harness-lark DSH 插件

dsh plugin --profile web add github:sliverp/DeepSeek-harness-lark

复制不会执行命令。安装 DeepSeek-harness-lark DSH 插件前请核对仓库和版本。

DeepSeek-harness-lark DSH 插件数据来源

DeepSeek-harness-lark DSH 插件快照日期:2026年8月16日

discovered

DeepSeek-harness-lark DSH 插件能做什么

  • 官方 WebSocket 连接与自动重连
  • 支持文本、富文本、图片和普通文件输入
  • 每个聊天拥有持久化隔离会话;`/new` 切换至空白会话但保留历史
  • 代理预设挂载与记录,默认预设为 `standard`
  • 注册的斜杠命令直接执行而不发送给模型(如 `/bot-ping`、`/bot-help`、`/bot-image-test`、`/bot-file-test`、`/bot-status`、`/bot-cancel`)
  • 工作区文件传送至聊天,包含路径验证和安全检查

DeepSeek-harness-lark DSH 插件适合哪些场景

  • 通过飞书或 Lark 即时消息与 DeepSeek 模型对话
  • 上传图片或文件让模型使用文件系统工具进行分析
  • 使用斜杠命令快速测试连通性、获取帮助或取消操作
  • 在群聊中@机器人进行 AI 辅助协作
  • 将模型生成的文件(如 CSV)作为可下载附件发送回聊天

DeepSeek-harness-lark DSH 插件适合谁

  • 希望无需配置公网服务器即可通过飞书或 Lark 访问 DeepSeek Harness 的用户
  • 在企业聊天环境中使用飞书或 Lark 部署 AI 助手的管理员

DeepSeek-harness-lark DSH 插件的限制

  • 需要创建飞书/Lark 应用,配置权限(im:message.p2p_msg:readonly 等)并订阅 im.message.receive_v1 事件
  • 每消息文件上传限制:10 个文件,每个 50 MiB,总计 100 MiB;回复文件限制:5 个文件,每个 30 MiB
  • 仅支持 Node.js >=22.19,安装需使用 PNPM
  • App Secret 必须通过 Harness 凭据服务或环境变量存储,禁止提交凭证到代码仓库

DeepSeek-harness-lark DSH 插件的仓库 README 摘录

以下文字摘自 DeepSeek-harness-lark DSH 插件的上游仓库 sliverp/DeepSeek-harness-lark 的 README,版权归原作者,仅作引用。

A DeepSeek Harness channel powered by the official `@larksuiteoapi/node-sdk`. It uses the official WebSocket transport, so no public callback server is required, and supports both Feishu and international Lark. ## Features - Official WebSocket connection and automatic reconnection - Direct and group access policies; groups require a bot mention by default - Text, rich-text, image, and ordinary-file input - Durable Harness attachments with model-aware multimodal input - Ordinary files are downloaded into `.dsh-lark/inbox/` under the Agent workspace so filesystem tools can inspect them - Model text replies, generated-image upload, and workspace-file delivery - Persistent, isolated Harness sessions per chat; `/new` retains old history and switches to a blank session - Agent presets are mounted and recorded for both creation and resume; the default is `standard` - Registered Harness slash commands execute directly instead of being sent to the model - `/bot-ping`, `/bot-help`, `/bot-image-test`, `/bot-file-test`, `/bot-status`, `/bot-cancel` - App Secret resolution through the Harness credential service - Dormant startup when App ID or App Secret is not configured, so installation alo

阅读完整 README仓库许可: MIT

DeepSeek-harness-lark DSH 插件常见问题

如何安装这个插件?

运行 `pnpm dsh plugin --profile web add github:sliverp/DeepSeek-harness-lark` 从 GitHub 添加。或者克隆仓库后使用 `pnpm dsh plugin --profile web add /绝对路径/到/DeepSeek-harness-lark` 进行本地安装。

飞书/ Lark 应用需要哪些权限?

需要授予以下权限:`im:message.p2p_msg:readonly`、`im:message.group_at_msg:readonly`、`im:message:readonly`、`im:message:send_as_bot` 和 `im:resource`。此外,需使用长连接方式订阅 `im.message.receive_v1` 事件。

如何配置 App Secret?

将 App Secret 存储在 Harness 凭证引用 `LARK_APP_SECRET` 下。开发时也可使用环境变量 `LARK_APP_ID` 和 `LARK_APP_SECRET`。生产环境建议将 App ID 放入 `~/.dsh/.env`,并通过 Harness 凭证设置界面存储密钥。

插件是否支持国际版 Lark?

支持,同时兼容飞书和国际 Lark。将配置中的 `domain` 设置为 `lark` 即可使用国际 Lark 的端点。

如何验证插件是否正常工作?

发送 `/bot-ping`,机器人应回复 `pong`。然后尝试 `/bot-image-test` 接收蓝色诊断图片,以及 `/bot-file-test` 获取可下载的文本文件。最后发送普通消息测试对话流程。