keepview/dsh-lark
Minimal Lark
A minimal Lark/Feishu gateway for DeepSeek Harness: mention the bot in Feishu (or DM it) and it drives the dsh agent on your machine, with replies landing back in the same conversation — one topic equals one agent session. Its features are session mapping (one session per DM, topic messages isolated per topic while plain group messages can share one session; the bot never opens topics on its own, and sessions persist across restarts), native image input when the model supports vision, a built-in lark_deliver tool for sending workspace files or images back to the chat (strictly contained to the working directory), a single approval card updated in place with status, live steps and the reply body, and one-tap Allow/Reject approval cards for sensitive actions.
Install
dsh plugin --profile web add "github:keepview/dsh-lark"README's 'Install (one command)' block quoted verbatim; the README notes the build artifact (lib/) is committed, so the plugin works right after install with no local build step. Setup then needs a Feishu/Lark custom app with the bot capability, the im:message, im:message:send_as_bot and im:resource permissions, and long-connection event subscription to im.message.receive_v1. Registry check 2026-09-16: the npm name dsh-lark resolves at 0.0.1 but its registry repository field points at github.com/omdsh-dev/dsh-lark — a different repository — so no npm ownership is asserted and this page uses the README's GitHub form.
Compatibility
README: a WebSocket long connection, so no public callback URL is needed and it works from a laptop. Four source files, roughly 600 lines, per the README's 'lightweight' goal, and the open_id allowlist is on by default. It needs a Feishu/Lark custom app configured with the permissions and long-connection event subscription listed in the README.
Details
- Repo: keepview/dsh-lark
- Category: uncategorized
- Stars: 0
- Version: GitHub install (no npm claim; repo verified 2026-09-16, MIT, last push 2026-08-17)
- Last push: 2026-08-17
- First seen: 2026-08-16
Recent updates
The README documents the feature list and the Feishu app setup steps rather than a release-by-release table.
FAQ
- How do I install it?
- The README's one-command install is dsh plugin --profile web add "github:keepview/dsh-lark", after which you create and configure a Feishu/Lark custom app.
- Do I need a public server or callback URL?
- No — the README uses a WebSocket long connection, so it works from a laptop without a public callback URL.
- How are sessions mapped?
- Per the README, one session per DM, topic messages are isolated per topic, plain group messages share one session per chat (configurable), the bot never opens topics on its own, and sessions persist and resume across restarts.