Oliver0804/dsh-discord-bot0

dsh-discord-bot

将 DSH 工作区映射到 Discord 分类的插件,无需开放入站端口即可从任何地方查询会话轨迹和活跃子 Agent。

AI 分析

核心用途是通过 Discord 远程监控和交互 DSH 任务。适合需要移动端或多端协同查看 Agent 运行状态的用户,需创建 Discord 机器人。

套件
dsh-discord-bot
版本
0.1.0
最近更新
2026年8月15日

安裝

此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗

Configuration

KeyDefaultMeaning
guildIdrequiredThe one guild this bot serves. Interactions elsewhere are ignored.
tokenBot token inline. Prefer tokenFile.
tokenFileFile whose first non-comment line holds the token.
categoryNamedshCategory that holds the workspace channels.
allowedUserIds[]Discord user ids allowed to query. Empty means the guild owner alone.
manageChannelstrueWhether the bot may create and rename the category and channels.
privateChannelstrueDeny @everyone and grant only the bot and allowedUserIds.
allowRunfalseEnable /dsh run. Grants the allowlist agent execution on this machine.
listenToMessagesoffoff / mention / all — treat channel messages as prompts. Needs allowRun and the Message Content intent.
runVerbosityminimalminimal shows the answer; full streams the whole transcript.
followNewWorkspacestrueCreate a channel when a session appears for an unmapped workspace.
traceLimit25Default entries per /dsh trace.
sessionLimit15Default sessions per /dsh sessions.
retrySeconds30Delay between Discord login retries.

The token may also come from DSH_DISCORD_BOT_TOKEN or DISCORD_BOT_TOKEN. Precedence is tokentokenFile → environment.