whoisjiahao/dsh-feishu-channel0

dsh-feishu-channel

Feishu/Lark IM channel for DeepSeek Harness: chats drive agents, answers render as streaming rich cards, approvals settle by button clicks

包名
dsh-feishu-channel
版本
0.8.0
许可证
MIT
最近更新
2026年8月22日

安装

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

常用配置

字段默认说明
appId / appSecret应用凭据;不填则扫码注册
domainopen.feishu.cn开放平台域名(国际版用 open.larksuite.com)
provider / model宿主默认聊天 agent 的模型路由
sessionScopechat会话面:chat / chat-thread(话题)/ chat-sender(按发送者)
requireMentiontrue群聊必须 @ 才响应
senderAllowlist[]私聊白名单(ou_…);空 = 平台可见者皆可
groupAllowlist[]群白名单(oc_…);空 = 任何被拉入的群
approvers[]审批点击者白名单;空 = 能驱动该聊天者皆可

完整配置表(渲染细节等)

字段默认说明
cwd~/.dsh-feishuagent 会话工作目录;不存在时自动创建
preset宿主默认聊天 agent 加入的 preset
showProcesstrue是否展示加载进度与完成态工具动作时间线(不展示原始 reasoning)
syncSlashCommandstrue同步命令到飞书斜杠面板
denyToolsask_user_question, exit_plan_mode聊天 agent 禁用的工具(答案无法到达聊天的工具)
footerFields见源码终态卡片展开详情字段(model/input/output tokens/cost/context)
pricing内置 DeepSeek 官方牌价模型单价表(每百万 token):默认已配好 deepseek-v4-flash / deepseek-v4-flash-vision-exp / deepseek-v4-pro 现行峰谷价;自定义条目按模型 id 与内置表合并,同名键整条覆盖。字段:input/output 高峰价、可选 cacheHitInput 缓存命中输入价(缺省按未命中价计,只会高估不会低估)、可选 currency 符号(默认 ¥)、可选 offPeak: { input, output, cacheHitInput? } 空闲档。配置后展开详情多一行「费用」,usage 落在空闲窗口内按折扣计并标「·低谷」,窗外按标准价计并标「·高峰」(未配分时价则不带档位标记)
offPeakWindowsDeepSeek 官方峰谷表空闲时段窗口(北京时间 HH:MM 半开区间;end 早于 start 表示跨午夜)。默认按 DeepSeek 定价页:高峰为北京时间 9:00–12:00 与 14:00–18:00,其余为空闲(价格为高峰一半);设为 [] 关闭分时计价
maxTimelineItems12时间线最大条目数
tableOverflowModecompact表格超限策略:compact(转字段列表)/ truncate(丢弃)