IvanWu2015/dsh-connect--packages-connect-web ↗★ 0
dsh-connect-web
Web channel adapter for dsh-connect: mirrors Feishu conversations to DSH Web GUI
AI Analysis
核心用途是将飞书上的对话实时同步镜像到本地的DSH Web界面中。适合习惯在飞书提问,但需要在Web端查看、管理或继续会话的用户。
Install
This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗
README
Read the full README ↗Usage
Automatic Mirroring (Default)
No setup required! Every Feishu conversation automatically gets a Web mirror:
- Start chatting with the bot in Feishu
- Open DSH Web GUI at http://127.0.0.1:3080
- 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:
- Open DSH Web GUI at http://127.0.0.1:3080
- The mirrored session appears automatically
- You can view the full conversation history
- 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
/unlockin 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
| Option | Type | Default | Description |
|---|---|---|---|
pollIntervalMs | number | 1000 | Polling interval for mirror detection (ms) |
High CPU usage
Reduce polling frequency:
plugins:
connect-web:
pollIntervalMs: 5000 # Poll every 5 seconds