Oliver0804/dsh-discord-bot0

dsh-discord-bot

Map dsh workspaces onto a Discord category — query session trajectories and live subagents from anywhere, with no inbound port.

AI Analysis

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

Package
dsh-discord-bot
Version
0.1.0
Last updated
Aug 15, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full 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.