wsz987/dsh-channels--packages-channel-dingtalk ↗★ 2
@wsz987/channel-dingtalk
DingTalk channel adapter for DeepSeek Harness (AI Card streaming, edit strategy)
AI 분석
核心用途是将 DSH 的 AI 能力接入钉钉。适合需要通过钉钉群聊或单聊与 DSH Agent 交互,并要求支持富文本卡片流式更新的企业或个人用户。
설치
검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 README 읽기 ↗
Configuration
SDK mode:
- id: channels-dingtalk
name: '@wsz987/channel-dingtalk'
inject: [channels, credentials, channelControl]
config:
enabled: true
accountId: main
upstream:
mode: sdk
clientId: "ding-xxx" # AppKey(非机密)
# clientSecretRef 默认 DSH_CHANNEL_DINGTALK_MAIN_CLIENT_SECRET
# 真实 AppSecret 只存 ctx.credentials
card:
createOnFirstDelta: true
Gateway mode (legacy, self-hosted HTTP gateway):
- id: channels-dingtalk
name: '@wsz987/channel-dingtalk'
inject: [channels, credentials, channelControl]
config:
enabled: true
accountId: main
upstream:
mode: gateway
baseUrl: http://127.0.0.1:9100
longPollTimeoutMs: 25000
The AppSecret is resolved through ctx.credentials at startup and injected as
deps.clientSecret. A legacy plaintext upstream.clientSecret is migrated into
the credentials seam once and then deleted.