Invoice-Downloader
EthanYoQ
电子发票整理与报销准备工具:从邮箱批量收集 PDF/OFD/XML 发票,OCR 识别、分类归档并生成 Excel 汇总;提供 Windows/macOS 桌面版与 DSH 插件。
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Blue-2571/dsh-telegram-bot
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A minimal single-purpose DeepSeek Harness (dsh) plugin: connect a Telegram bot to your dsh agent via long polling — no public endpoint needed.
Inspired by dsh-im-hub, but reduced to Telegram only: one adapter, no web settings card, no HTTP webhook surface.
telegram:<chatId>), multi-turn context retained.agent.preset and the bot's sessions mount that preset, getting the same tools (bash, fs, ssh, ...) as a Web GUI session.allowedUserIds)./help /reset /status /model.agent.idleTimeoutMs.dsh plugin --profile web add @blue/dsh-telegram-bot
The row is disabled by default. Enable it from the profile's cordis.patch.yml:
- id: dsh-telegram-bot
disabled: false
config:
telegram:
token: '123456:ABC-DEF...' # from @BotFather
allowedUserIds: [6354114195] # your numeric Telegram user id
agent:
preset: standard # mount the standard preset for full tools
Then restart the profile (dsh web).
| Key | Default | Description |
|---|---|---|
enabled |
true |
Master switch. |
telegram.token |
'' |
Bot token from @BotFather. |
telegram.allowedUserIds |
[] |
Numeric user ids allowed to talk to the bot; empty = everyone. Set it in production. |
telegram.timeoutSeconds |
50 |
getUpdates long-poll timeout. |
telegram.pollIntervalMs |
500 |
Gap after a poll timeout/error. |
agent.cwd |
'' |
Working directory for agent sessions (defaults to dsh's cwd). |
agent.provider / agent.model |
'' |
Override model; empty = deployment default. |
agent.preset |
'' |
Agent preset id to mount for bot sessions ('' = deployment default). |
agent.maxMessageLength |
4000 |
Max chars per outbound message. |
agent.idleTimeoutMs |
1800000 |
Idle time before a chat's agent is disposed (0 = never). |
agent.instructionPrefix |
'' |
Prefix prepended to every user message. |
| Command | Effect |
|---|---|
/help |
Show command help. |
/reset |
Clear this chat's context (fresh agent). |
/status |
Show active chats / agents. |
/model |
Show the current model selection. |
allowedUserIds means anyone with the token can drive your agent — which can execute tools on the host.cordis.patch.yml; keep that file private (or reference an environment variable via !!js process.env.TG_BOT_TOKEN).MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: telegram。