Community plugin

ramuzes / dsh-feishu-gateway

Feishu (Lark) bot gateway for dsh: p2p messages drive bound workspace sessions; questions/approvals round-trip as interactive cards

  • JavaScript
  • License not detected
  • 0 stars
  • Dec 3, 2026

About this plugin

Written by the registry from verified metadata, not from the README.

dsh-feishu-gateway is a DSH plugin published from the packages/feishu-gateway package in the ramuzes/dsharp repository.

  • Listing statusManifest verified
  • Manifest checkedDec 3, 2026
  • Packagedsh-feishu-gateway
  • Package pathpackages/feishu-gateway
  • Package version0.1.3
  • Source commitf724d82
  • Repository createdOct 2, 2026

Capabilities and topics

agent
From the repository README

README

Everything below this line is the repository's own document, cached here. This site did not write or review it.

Cached versionView on GitHub

dsh-feishu-gateway

Feishu (Lark) bot gateway: connects one Feishu custom-app bot's p2p chat to dsh. Messages drive a bound workspace session; structured questions and permission approvals round-trip as interactive cards; workspace / session / model switching happens inside the chat with a status card echo.

Chinese README: README.zh-CN.md. Development rules: DEVELOPMENT.md and the root AGENTS.md.

Config

FieldDescription
appIdFeishu custom-app App ID (cli_-prefixed)
App Secret (secret control)Typed once, stored in the dsh credential store (FEISHU_APP_SECRET ref); never echoed back. Exporting FEISHU_APP_SECRET also works (headless).
domainhttps://open.feishu.cn (https://open.larksuite.com international)

Unresolved credentials leave the plugin silently inactive (one log line).

Feishu console checklist

  1. Custom app → add capability Bot; create a version and publish.
  2. Permissions (after release): im:message, im:message.p2p_msg, im:chat:readonly, im:resource.
  3. Events: subscription mode persistent connection (长连接), event im.message.receive_v1.
  4. Callbacks: long connection, configure card.action.trigger (a 200340 error on button presses usually means this is misconfigured).
  5. Availability scope: add users so they can chat with the bot.

Chat commands

CommandEffect
/ws [list] / /ws use <name> / /ws new <path> [title]Workspace list / switch pointer / register+bind
/session [list] / /session new / /session resume [idx|prefix]Session list / new / resume (idle required)
/stop / /releaseInterrupt the turn / detach IM delivery (binding kept)
/modelModel picker (selectable while running, effective next turn)
/status / /doctor / /helpStatus card / self-check / help

Plain text goes to the active session (steering while running); each turn ends with the final reply (markdown→rich text, chunked) and a changes card. Questions and approvals are answered via card buttons.

Badge

Listed here? Link back with this badge — paste the snippet into your repository README.

Listed on DSH Plugin badge
[![Listed on DSH Plugin](https://dsh-plugin.com/badges/listed.svg)](https://dsh-plugin.com/plugins/ramuzes/dsharp/packages/feishu-gateway)