wsz987/dsh-channels--packages-channel-lark ↗★ 2
@wsz987/channel-lark
用于 DeepSeek Harness 的飞书/Lark 渠道适配器(支持线程、可编辑卡片流及编辑策略)
AI 分析
核心用途是将飞书/Lark 作为消息渠道接入 DeepSeek Harness,支持 SDK 和网关模式、卡片流式传输。适合需要在飞书企业内集成 DSH 智能体服务的团队。
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗Configuration
SDK mode:
- id: channels-lark
name: '@wsz987/channel-lark'
inject: [channels, credentials, channelControl]
config:
enabled: true
accountId: main
upstream:
mode: sdk
appId: "cli_xxx" # AppId(非机密)
domain: feishu # feishu(国内)| lark(海外)
# appSecretRef 默认 DSH_CHANNEL_LARK_MAIN_APP_SECRET
# 真实 AppSecret 只存 ctx.credentials
card:
createOnFirstDelta: true
typingIndicator: true
Gateway mode (legacy, self-hosted HTTP gateway):
- id: channels-lark
name: '@wsz987/channel-lark'
inject: [channels, credentials, channelControl]
config:
enabled: true
accountId: main
upstream:
mode: gateway
baseUrl: http://127.0.0.1:9300
longPollTimeoutMs: 25000
The AppSecret is resolved through ctx.credentials at startup and injected as
deps.appSecret. A legacy plaintext upstream.appSecret is migrated into the
credentials seam once and then stripped.