addozhang/dsh-discord ↗★ 4

@addozhang/dsh-discord

Discord adapter for DeepSeek Harness · DeepSeek Harness 的 Discord 适配器 适合需要通过Discord频道访问和管理DSH工作区的团队或个人。

Package
@addozhang/dsh-discord
Compatibility
Unverified
Cordis peer range
^4.0.3
Version
0.6.0-rc.1
License
MIT
Last updated
Oct 6, 2026

Install

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

Configuration

All keys live in the dsh-discord settings namespace and can be set either from the settings card or by editing the profile's user settings (settings.yaml):

KeyDefaultMeaning
enabledfalseAdapter master switch; the card's Connect starts it once a token is stored.
allowedGuildIds[]Guild allowlist. Anything outside is ignored with zero adapter or DSH calls.
memberUserIds / memberRoleIds[]Member-level authorization inside an allowed guild.
administratorUserIds / administratorRoleIds[]Workspace-administrator level (/project bind).
deniedUserIds / deniedRoleIds[]Deny entries; they win over every grant above.
hostOperatorUserIds[]Host operators (/guild forget; /model select when modelSelectOperatorOnly is enabled).
modelSelectOperatorOnlyfalseRestrict /model select to Host operators (settings.yaml only; the card does not expose it). Default false: any authorized member may switch, and the switch still updates the Host default.
permissionSelectOperatorOnlytrueRestrict /permission set to Host operators (settings.yaml only). Default true — stricter than /model because danger-full-access disables both sandbox and approval; loosen to let any authorized member switch.
defaultVerbosityessential-toolsTool-activity row granularity: text-only, essential-tools, or full-tools.
languageautoBot-visible copy language: auto follows the DSH language preference (non-Chinese renders English), or pin zh/en.
streamUpdateIntervalMs800Coalescing budget for stream edits (250–10000).
typingIntervalMs7000Typing-indicator heartbeat (1000–30000).
approvalTimeoutMs600000Approval ask deadline (30000–86400000); overdue asks auto-reject.
questionTimeoutMs1800000Question ask deadline (30000–86400000); expiry cancels the owning turn.
threadAutoArchiveMinutes1440Task-thread auto-archive: 60, 1440, 4320, or 10080.
dsh-discord:
  allowedGuildIds: ["1517134847850709032"]
  language: auto

The settings card exposes the three high-frequency fields (guild allowlist, auto-archive, language) plus the connection and token surface; every other key is fully supported through settings.yaml. An invalid stored section preserves the last known-good configuration.

The Discord settings card: connection, guild allowlist, auto-archive, bot language