erty3244/dsh-feishu-bridge ↗★ 0
dsh-feishu-bridge
Feishu (Lark) ↔ DeepSeek Harness bridge over a self-built app's WebSocket long connection: deliver IM messages into a DSH session and reply from the session back to the chat. Zero third-party dependencies.
Other repositories with this package name
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:erty3244/dsh-feishu-bridgeREADME
Read the full README ↗配置
插件的配置走 profile 的 cordis.patch.yml,凭据单独放一个 JSON 文件(不放进插件配置,避免跟着插件一起被备份/导出):
- insert:
- id: dsh-feishu-bridge
name: 'dsh-feishu-bridge'
config:
configPath: 'C:\Users\you\.dsh\feishu-config.json'
bindingFile: 'C:\Users\you\.dsh\feishu-target-session.txt'
stateDir: 'C:\Users\you\.dsh\feishu-bridge'
feishu-config.json:
{
"appId": "cli_xxx",
"appSecret": "xxx",
"allowOpenIds": ["ou_xxx"],
"allowChatIds": ["oc_xxx"],
"note": "allowOpenIds / allowChatIds 是白名单;留空 = 谁都不放行"
}
bindingFile:只有一行,内容是要投递的目标会话 id(session-xxxx)。改一行、下一轮生效。- 也可以直接在 config 里写
sessionId,bindingFile优先生效。 - 白名单留空等于谁都不放行,不是放行所有人——这点别反着理解。
- 密钥可以不放明文:配
appSecretRef+ DSH 的凭证机制(ctx.credentials.resolve),配置文件里只留引用名。 - 默认值:自动回帖默认开(只有显式写
autoReply: false才关);回执文字ackText默认「已收到」;dryRun默认关。