ghbhiee/dsh-plugin-discord ↗★ 0
dsh-plugin-discord
DeepSeek Harness 的 Discord 桥接器:在 Discord 中与 DSH 会话聊天并共享 Web UI 会话
AI 分析
核心用途是实现 Discord 与 DSH 的双向通信。适合需要通过 Discord 机器人管理和回复 DSH 会话,且需要配置 Bot Token 和用户白名单的团队或个人。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ghbhiee/dsh-plugin-discord说明文档
阅读完整 README ↗Configuration
| Field | Default | Meaning |
|---|---|---|
token | "" | Bot token; empty falls back to tokenEnv, then tokenFile |
tokenEnv | DSH_DISCORD_TOKEN | Environment variable consulted when token is empty |
tokenFile | "" | File holding the token — raw, or env-style KEY=value lines. Keeps the secret out of profile YAML |
tokenFileKey | DISCORD_BOT_TOKEN | Key looked up when tokenFile is env-style |
allowedUsers | [] | Discord user ids allowed to talk (required for DMs) |
allowedChannels | [] | Guild channel ids the bridge listens in; empty = DM-only |
cwd | home dir | Working directory of new sessions |
preset | "" | Agent preset for new sessions; empty composes the default |
titlePrefix | "[Discord] " | Title prefix marking Discord-originated sessions |
maxChunksPerReply | 6 | Cap on Discord messages per reply (overflow truncated with a notice) |
stateFile | "" | Channel→session binding file; empty derives one in the profile dir |
typingIntervalMs | 8000 | Typing-indicator refresh while a turn runs |
gatewayUrl | "" | Gateway URL override — a test seam for scripts/fake-discord.mjs |
restBaseUrl | "" | REST origin override — same test seam |