luzhengyangtx/dsh-telegram-duty0

@luzhengyangtx/dsh-telegram-duty

适用于 DeepSeek Harness 的 Telegram 值班网关:支持长轮询接入值班会话及全局审批转发

AI 分析

核心用途是通过 Telegram 远程接收和审批 DSH 任务。适合需要离线或移动端值班、远程管控 Agent 执行过程的用户。

套件
@luzhengyangtx/dsh-telegram-duty
版本
0.1.1
授權
NOASSERTION
最近更新
2026年8月15日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:luzhengyangtx/dsh-telegram-duty

Configuration

All fields live in the telegram-duty settings namespace (the web Settings page shows it, or put them under the patch row's config:).

FieldDefaultMeaning
tokenBot token (marked secret; never shown in settings UIs). Alternatively set credentialsFile to a JSON file with token / chat_id / proxy.
chatIdWhitelisted chat id.
proxy(empty)HTTP proxy used for Bot API calls. Leave empty for a direct connection — only set a local proxy (e.g. http://127.0.0.1:7890) when Telegram is blocked in your network.
sessionIdtelegram-dutyStable DSH session id; created on first message.
dutyCwdprocess cwdWorkspace directory of the duty session.
approvalTimeoutMinutes10Unanswered approvals are rejected after this.
watchModelocallocal (web popups) or duty (approvals to Telegram).
languageenLanguage of all Telegram messages: en or zh.
dataDir/storages/telegram-dutyOffset persistence directory.
credentialsFileOptional JSON file { token, chat_id, proxy } for credentials defaults.
replyChunkChars3800Split threshold for long replies (Telegram limit 4096).