Preface¶
DeepSeek Harness (DSH) brings models, agents, and toolchains together under a single host, yet everyday development often gets stuck when “you’re not at your computer”: Feishu on your phone lets you chat, but it’s hard to switch sessions equivalently, modify workspaces, watch streaming progress, or isolate different Feishu apps in a multi-tenant manner. Self-hosted Webhook bots can forward messages, but you end up managing credentials, queues, session routing, and card display yourself—stacking up maintenance costs.
Below we introduce the community plugin @very12345/dsh-lark-link (repo Very12345/dsh-lark-link). It is a fork of amlyczz/dsh-lark-link, maintained by Very12345, with the goal of building a bidirectional bridge between Feishu/Lark and DSH: messages enter DSH for execution, and results return to Feishu as cards (including streaming status), with support for multi-app, multi-user isolation and session management. The plugin is categorized as workflow; the SkillHub catalog page can be found at skillhub.cn/plugins/Very12345/dsh-lark-link. The DSH ecosystem emphasizes “everything is a plugin”; SkillHub is an independent community directory and has no official affiliation with DeepSeek / High-Flyer.
What Is This¶
dsh-lark-link is a standalone DSH Feishu/Lark bridge plugin, npm package name @very12345/dsh-lark-link, MIT licensed. It is compatible with the official DSH 0.2 series; development and runtime require Node.js >= 24. It directly uses DSH’s models and sessions and does not require a WebAgent app or web model backend; if you want to use web models within Feishu, you need to separately install dsh-webagent-integration and connect its backend.
Credentials, the inbound WAL, Outbox, and runtime state are managed by the plugin; model and agent execution remains the responsibility of DSH. Feishu-side model tools and bridge prompts are only attached to agents that are “created or resumed from Feishu”; these tools will not appear in regular desktop/web conversations; DSH-side /lark management commands remain available.
Core Features¶
Messages & Execution¶
- Bidirectional bridge between Feishu messages and DSH, with streaming cards and stop current task support.
- Images go through the vision model; files go through text extraction.
- Confirmation-type questions initiated by the model are converted into Feishu intent confirmation cards, which can be answered by tapping or typing.
- Native DSH slash commands (e.g.,
/compact) can be triggered from the Feishu side, with results returned to Feishu.
Multi-App & Isolation¶
- Routing, sessions, workspaces, and model whitelists are mutually isolated across multiple apps and multiple users.
- The model whitelist is a enforced policy: if a session references a deselected model, it falls back to the default allowed model for that app; sending
/model provider/modelfrom Feishu cannot bypass this. The whitelist can only be modified from the Lark management panel in the Web UI; there is no/lark-configbypass.
Feishu-Side Operation Surface¶
- Button-based command palette (e.g.,
/menu), single-select cards to switch modes/permissions/models/thinking levels, goal console, session switching and confirmation, directory browser (/workspace,/files), structured/status, usage and diagnostics, etc. - Each command reply lands in an independent collapsible panel (color-coded for in-progress/success/failure), updating in place on the same card to avoid message flooding.
/doctorcan package a ZIP diagnostic (session log, redacted config, ISSUE template);/reconnectis for self-recovery from disconnections.
Configuration & Credentials¶
- App ID / Secret are written to the DSH credential service, not to regular config files;
/lark setupQR-scan and the Web UI Lark panel write to the same reference. - Common items can be hot-modified and persisted via
/lark-configor/stream on|off(group policy, streaming cards, emoji receipts, workspace root, attachment retention, etc., see the configuration table below).
Installation & Activation¶
Installation¶
Run on the DSH host (desktop profile example; CLI WebUI can optionally use --profile web):
dsh plugin --profile desktop add github:Very12345/dsh-lark-link
You can also npm pack inside the repo and install locally:
dsh plugin --profile <name> add file:/absolute/path/package.tgz
Git URL installation relies on the committed dist/ in the repo; if you modify src/ you must run npm run build first. After loading a new version, you need to restart the corresponding DSH host/profile.
If the installer prompts that the protobufjs build script is blocked, follow the prompt:
dsh plugin --profile <name> approve-builds protobufjs
The loading name in the bundle must be @very12345/dsh-lark-link to avoid mixing with the upstream bare package name.
First-Time Configuration & Startup¶
- Run
/lark setupin the DSH input box (QR-scan to create an app in one step, or use the environment variablesDSH_LARK_APP_ID/DSH_LARK_APP_SECRETfor the manual channel). - Run
/lark startto start the bridge. - Configure multiple apps and model whitelists in the Lark management panel of the Web UI.
Lifecycle and health checks:
/lark setup
/lark start|stop|restart|status
/lark uninstall-clean
/lark uninstall-clean clears credentials and the state directory; when switching App IDs, the plugin first stops the old WebSocket and clears old bot-related routing and WAL to avoid message replay.
Typical Usage¶
DSH Side¶
Bridge start/stop and status are in the previous section. Use /lark uninstall-clean for uninstall cleanup.
Feishu Side (Card-based, no need to memorize spelling)¶
| Category | Command | Behavior Summary |
|---|---|---|
| Control panel | /menu |
Grouped buttons, tap to execute |
| Selection | /mode /permission /model /reasoning (/thinking is a synonym) |
Single-select card switching |
| Goal | /goal [target\|pause\|resume\|clear] |
Goal console and template buttons |
| Status | /status /usage /whoami /help |
Health card, usage, current session, command list |
| Session | /new /resume /sessions /stop |
New session (confirmation card), resume, list, stop task |
| Workspace | /workspace /cwd /files [path] |
Directory browsing and switching; can browse up to the filesystem root, but the model tool lark_send_local_file only allows sending files within the current workspace |
| Diagnostics | /doctor /reconnect |
Diagnostic ZIP / reconnect |
| Hot-modify | /lark-config /stream on\|off |
Streaming, emoji receipts, group policy, etc. button panel |
| Bridge management | /lark [subcommand] |
Button panel when no argument |
Slash messages are either handled by the bridge or passed verbatim to DSH; they are never silently discarded. Non-command content can directly describe a task.
Common Configuration (/lark-config, effective immediately)¶
| Config Key | Default | Description |
|---|---|---|
groupPolicy |
open |
Group chat trigger: open / mention / keywords / reply |
groupKeywords |
["lark","bot"] |
Trigger words for keywords mode |
agentPreset |
code |
preset: standard/code/minimal/cordis or a GUI-created id |
permissionMode |
danger-full-access |
read-only / workspace-write / danger-full-access |
streaming.enabled |
true |
CardKit streaming cards |
reactions.enabled |
true |
Emoji receipts |
reactions.receipt / done / error |
OnIt / DONE / ERROR |
Three-state emoji (must be a type within Feishu’s official directory) |
allowlist |
[] |
open_id whitelist, empty means unrestricted |
denyList |
[] |
Command prefix deny list |
workspaceRoot |
`` | Bridge session workspace root, empty uses process.cwd() |
attachments.retentionHours |
168 |
Inbound media retention hours, 0 means permanent |
attachments.dir |
`` | Inbound media directory override, empty uses system tmpdir |
Use Cases & Notes¶
For whom: Teams or individuals already using DSH 0.2 who want to perform session switching, workspace browsing, model and permission switching within Feishu/Lark, and need multi-Feishu-app isolation; it is categorized as a workflow-oriented bridge, not a replacement for the DSH desktop itself.
Runtime & permissions: The plugin runs with the permissions of the current DSH process and can reach files and network resources that the process can access; before installing, read the source code and MIT license, and confirm that the group policy (default groupPolicy: open triggers without @ mention in groups) meets your security expectations.
Environment: Node.js >= 24; peer dependencies align with the DSH 0.2-rc series SDK (e.g., @deepseek-ai/dsh-agent, etc., per package.json). The current published version is 0.6.0-webagent.9 (per the repo’s package.json; do not infer from the old upstream README).
Troubleshooting: Send /doctor from Feishu to get a diagnostic package; /status to view connection, Outbox, replay, and session chain. Issues can be submitted to GitHub Issues.
Conclusion¶
dsh-lark-link turns Feishu into an operable frontend for DSH: streaming cards, session and workspace management, multi-app isolation, and diagnostic tools all live inside the plugin, while DSH remains responsible for models and agents. If you want to continue the same Harness workflow on mobile or in collaborative scenarios, you can install, setup, and start it using the commands above, then tighten model and whitelist policies in the Lark management panel.
- Catalog page: https://www.skillhub.cn/plugins/Very12345/dsh-lark-link
- Source code and README: https://github.com/Very12345/dsh-lark-link