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 分析

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

パッケージ
dsh-discord-bot
バージョン
0.1.0
最終更新
2026/08/15

インストール

検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗

ドキュメント

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.