dsh-lark-plus: DeepSeek Harness × Feishu/Lark Two-way Bridge

Preface

The core philosophy of DeepSeek Harness (DSH) is “everything is a plugin.” When developers use DSH to build agents and need to integrate with Feishu or Lark, they typically face the challenges of cumbersome configuration (requiring a public server and callback setup) or voice processing that relies on cloud APIs. dsh-lark-plus resolves both pain points: it provides a zero-friction QR-code-based app creation method and implements a fully local voice transcription pipeline.

Core Features

This plugin embeds DSH agent capabilities directly into Feishu, offering the following features:

  • Bidirectional Bridge & Persistence: Supports private and group chats with dual persistence mechanisms (Outbox + WAL), ensuring messages and responses are not lost after process crashes or hot updates. Connection self-healing is supported.
  • Zero-Friction Integration: Create a Feishu app by scanning a QR code via /lark setup, with no manual callback configuration required.
  • Local Voice Transcription: Audio processing is entirely local, with no cloud voice API calls. Uses the SenseVoice engine for transcription and provides a playback bar on the DSH web interface.
  • Agent Capabilities: Supports multi-mode agents (standard/PTC/minimal, etc.), with permission tiers (read-only/workspace write/full access), intent confirmation forwarding, and command routing.
  • Interaction Experience: Supports card buttons, Markdown rendering, streaming output, and emoji receipts.

Installation & Activation

Prerequisites:
- Node.js ≥ 24
- ffmpeg (for voice transcription)

Installation:

dsh plugin --profile <your-profile> add dsh-lark-plus

Activation Steps:
1. Run /lark setup in the DSH input box, scan the QR code with Feishu on your phone to create an app and write credentials.
2. Run /lark start to establish a long-lived connection.
3. Run /lark status to view connection, session, and replay counts.

Typical Usage

  • Command Routing: /mode, /permission, and /goal on the Feishu side are all card-based single-select commands; click to switch modes, permissions, or goal states.
  • Diagnostics: Send /doctor to obtain a diagnostic package containing session logs and configuration information.
  • Hot Configuration Changes: Send /lark-config key=value to modify configuration in real time (e.g., streaming.enabled=true).
  • Multimedia Support: Send images or files; the plugin forwards them to the vision model or text extraction tool.

Notes

  • The voice model is approximately 228MB, downloaded only on first use, and fully offline thereafter.
  • The desktop profile of the desktop DSH version is exclusively occupied by Electron, and the voice feature is unavailable.
  • Licensed under MIT (forked from dsh-lark-link).

Conclusion

dsh-lark-plus is a fully-featured DSH plugin that not only solves the configuration challenges of Feishu integration but also ensures data privacy through local voice processing. For developers who need to run DSH agents within a Feishu environment, this is a practical choice.

GitHub Repository

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye