wsz987/dsh-channels--packages-channel-lark ↗★ 2

@wsz987/channel-lark

Lark / Feishu channel adapter for DeepSeek Harness (threads, editable card streaming, edit strategy) 核心用途是将飞书/Lark 作为消息渠道接入 DeepSeek Harness,支持 SDK 和网关模式、卡片流式传输。适合需要在飞书企业内集成 DSH 智能体服务的团队。

Package
@wsz987/channel-lark
Compatibility
Unverified
Version
0.6.3
License
MIT
Last updated
Aug 16, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full 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.