itsnone-liu/dsh-feishu0

dsh-feishu

Feishu/Lark chat channel for DeepSeek Harness (dsh) — a sibling surface over dsh-base

包名
dsh-feishu
版本
0.1.0
最近更新
2026年8月19日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:itsnone-liu/dsh-feishu

飞书侧配置(一次性)

  1. 开放平台 → 创建企业自建应用
  2. 添加「机器人」能力
  3. 权限:im:message(收)、im:message:send_as_bot(发)
  4. 事件订阅:选择 长连接(WebSocket)模式,订阅 im.message.receive_v1card.action.trigger
  5. 拿到 App ID / App Secret

配置(~/.dsh/feishu/config.json

默认说明
allowedOpenIds[]硬门槛:只处理这些 open_id,其余静默丢弃
defaultCwd新 chat 的默认工作区
allowedWorkspaces[defaultCwd]工作区白名单(含子目录)
agentPresetminimal新 session 的 preset
provider / model空=DSH 默认模型覆盖(如 glm-coding/glm-5.3)
approvalcardscards=按钮审批;never=自动拒绝
throttleMs900卡片节流(也是频控保护)
askTimeoutMs0提问超时(0=永久等)
transportautosdk/vendored/mock;auto=有官方 SDK 用之

环境变量:FEISHU_APP_ID FEISHU_APP_SECRET(密钥只走环境); DSH_FEISHU_LOG=debugFEISHU_API_BASE(Lark 海外版 https://open.larksuite.com)。