IvanWu2015/dsh-connect--packages-connect-web0

dsh-connect-web

Web channel adapter for dsh-connect: mirrors Feishu conversations to DSH Web GUI

AI 분석

核心用途是将飞书上的对话实时同步镜像到本地的DSH Web界面中。适合习惯在飞书提问,但需要在Web端查看、管理或继续会话的用户。

패키지
dsh-connect-web
버전
1.0.0
라이선스
MIT
최근 업데이트
2026. 8. 16.

설치

검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 README 읽기 ↗

Usage

Automatic Mirroring (Default)

No setup required! Every Feishu conversation automatically gets a Web mirror:

  1. Start chatting with the bot in Feishu
  2. Open DSH Web GUI at http://127.0.0.1:3080
  3. The conversation appears automatically ✨

The mirror is created when:

  • A new session is started
  • An existing session is resumed

Manual Mirror Control (Optional)

The /mirror command is still available for viewing status:

/mirror

This shows:

  • Current mirror session ID
  • Lock owner and timeout
  • Queued message count

Viewing Mirrors in Web GUI

Once a conversation starts in Feishu:

  1. Open DSH Web GUI at http://127.0.0.1:3080
  2. The mirrored session appears automatically
  3. You can view the full conversation history
  4. Send messages (subject to lock ownership)

Session Locking

To prevent conflicts when both Feishu and Web are active:

  • Lock Owner: Only the lock owner can send messages that trigger agent execution
  • Read-Only Mode: Non-owner can view but messages are queued
  • Timeout: Locks auto-release after 5 minutes of inactivity
  • Manual Release: Use /unlock in Feishu to release the lock early

Commands

From Feishu:

  • /mirror - Create or show Web mirror status
  • /unlock - Manually release the session lock

From Web GUI:

  • Messages are automatically queued if lock is held by Feishu
  • Queue is processed when lock is released

Configuration

OptionTypeDefaultDescription
pollIntervalMsnumber1000Polling interval for mirror detection (ms)

High CPU usage

Reduce polling frequency:

plugins:
  connect-web:
    pollIntervalMs: 5000  # Poll every 5 seconds