Oliver0804/dsh-discord-bot ↗★ 0
dsh-discord-bot
Map dsh workspaces onto a Discord category — query session trajectories and live subagents from anywhere, with no inbound port.
AI 分析
核心用途是通过 Discord 远程监控和交互 DSH 任务。适合需要移动端或多端协同查看 Agent 运行状态的用户,需创建 Discord 机器人。
インストール
検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗
ドキュメント
README 全文を読む ↗Configuration
| Key | Default | Meaning |
|---|---|---|
guildId | required | The one guild this bot serves. Interactions elsewhere are ignored. |
token | — | Bot token inline. Prefer tokenFile. |
tokenFile | — | File whose first non-comment line holds the token. |
categoryName | dsh | Category that holds the workspace channels. |
allowedUserIds | [] | Discord user ids allowed to query. Empty means the guild owner alone. |
manageChannels | true | Whether the bot may create and rename the category and channels. |
privateChannels | true | Deny @everyone and grant only the bot and allowedUserIds. |
allowRun | false | Enable /dsh run. Grants the allowlist agent execution on this machine. |
listenToMessages | off | off / mention / all — treat channel messages as prompts. Needs allowRun and the Message Content intent. |
runVerbosity | minimal | minimal shows the answer; full streams the whole transcript. |
followNewWorkspaces | true | Create a channel when a session appears for an unmapped workspace. |
traceLimit | 25 | Default entries per /dsh trace. |
sessionLimit | 15 | Default sessions per /dsh sessions. |
retrySeconds | 30 | Delay between Discord login retries. |
The token may also come from DSH_DISCORD_BOT_TOKEN or DISCORD_BOT_TOKEN. Precedence is
token → tokenFile → environment.