ghbhiee/dsh-plugin-discord0

dsh-plugin-discord

DeepSeek Harness 的 Discord 桥接器:在 Discord 中与 DSH 会话聊天并共享 Web UI 会话

AI 分析

核心用途是实现 Discord 与 DSH 的双向通信。适合需要通过 Discord 机器人管理和回复 DSH 会话,且需要配置 Bot Token 和用户白名单的团队或个人。

包名
dsh-plugin-discord
版本
0.1.0
许可证
MIT
最近更新
2026年8月18日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ghbhiee/dsh-plugin-discord

Configuration

FieldDefaultMeaning
token""Bot token; empty falls back to tokenEnv, then tokenFile
tokenEnvDSH_DISCORD_TOKENEnvironment 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
tokenFileKeyDISCORD_BOT_TOKENKey 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
cwdhome dirWorking directory of new sessions
preset""Agent preset for new sessions; empty composes the default
titlePrefix"[Discord] "Title prefix marking Discord-originated sessions
maxChunksPerReply6Cap on Discord messages per reply (overflow truncated with a notice)
stateFile""Channel→session binding file; empty derives one in the profile dir
typingIntervalMs8000Typing-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