mirror of
https://github.com/hansjone/dsh-im-ops.git
synced 2026-10-17 15:50:46 +08:00
chore: release v2.0.0
This commit is contained in:
parent
d4b8666495
commit
e577e66a93
5 changed files with 24 additions and 6 deletions
20
CHANGELOG.md
20
CHANGELOG.md
|
|
@ -6,16 +6,33 @@ This file records the notable changes in each dsh-im release. Its format follows
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
## [2.0.0] - 2026-08-24
|
||||
|
||||
### Added / 新增
|
||||
|
||||
- Discord 服务器文字和公告频道首次 @ 机器人后会创建原生 Thread;后续消息、流式回答和结果文件都留在该 Thread,并在重启、事件重放和并发创建时保持同一会话。
|
||||
The first bot mention in a Discord server text or announcement channel now creates a native Thread; follow-up messages, streamed replies, and result files stay in that Thread, with stable routing across restarts, event replays, and concurrent creation attempts.
|
||||
- Telegram 新增原生 Rich Message:私聊使用可更新 Draft 并持久化唯一最终消息,群聊和 Topic 原位完成占位消息,同时保留 Markdown 结构、长内容拆分和确定性纯文本降级。
|
||||
Added native Telegram Rich Messages: private chats update a Draft and persist one final message, while groups and Topics finalize their placeholder in place, preserving Markdown structure, long-content splitting, and deterministic plain-text fallback.
|
||||
- 新增机器人聊天消息的英文支持:Host 配置 `language: en`(或环境变量 `DSH_IM_LANGUAGE=en`)后,各渠道发送给用户的提示、命令帮助和交互消息会切换为英文;未设置或未收录的文案仍以中文原样输出,不影响现有中文用户。
|
||||
Added English support for bot chat messages: with `language: en` in the Host config (or the `DSH_IM_LANGUAGE=en` environment variable), prompts, command help, and interaction messages sent by every channel switch to English; unset or untranslated text is still sent verbatim in Chinese, so existing Chinese users are unaffected.
|
||||
|
||||
### Changed / 变更
|
||||
|
||||
- **重大变更:** Discord 服务器父频道中的任务现在默认迁移到机器人创建的 Public Thread。部署方需要启用 **Message Content Intent**,并授予 **Create Public Threads**、**Send Messages in Threads**、**Send Messages** 和 **Read Message History**;文件交付还需要 **Attach Files**。
|
||||
**Breaking:** Discord tasks started in server parent channels now move into bot-created Public Threads by default. Deployments must enable **Message Content Intent** and grant **Create Public Threads**, **Send Messages in Threads**, **Send Messages**, and **Read Message History**; file delivery also requires **Attach Files**.
|
||||
- Harness 助手增量和最终回答现在保留 Markdown 呈现意图,Telegram 交付回执会记录 Rich、纯文本降级、失败或不确定终态,并避免重复最终消息。
|
||||
Harness assistant updates and final replies now preserve Markdown presentation intent; Telegram delivery receipts record Rich delivery, plain-text fallback, failure, or uncertain terminal outcomes without duplicating final messages.
|
||||
- 统一各渠道共用的英文文案到共享词典,消除同名键在不同渠道词典中的重复定义。
|
||||
Consolidated English copy shared across channels into the shared dictionaries, removing duplicate keys that were defined in multiple channel dictionaries.
|
||||
|
||||
### Fixed / 修复
|
||||
|
||||
- 最终文本交付明确失败时会向渠道上层报告安全错误,同时仍然完成已登记结果文件的交付,不会重复运行 Prompt。
|
||||
Definite final-text delivery failures now surface a safe channel-level error while registered result files still settle, without rerunning the Prompt.
|
||||
- 收紧 Host 语言值识别并修复 Discord、Slack、Telegram 等渠道的英文消息边界,未知语言继续可靠回退为中文。
|
||||
Hardened Host language-value recognition and English-message handling in Discord, Slack, Telegram, and other channels, while unknown languages continue to fall back reliably to Chinese.
|
||||
|
||||
## [1.5.0] - 2026-08-24
|
||||
|
||||
### Added / 新增
|
||||
|
|
@ -222,7 +239,8 @@ This file records the notable changes in each dsh-im release. Its format follows
|
|||
- 改进 npm 发布包结构,保留 CLI 入口并避免安装脚本拦截。
|
||||
Improved npm package contents to preserve the CLI entry point and avoid install-script blocking.
|
||||
|
||||
[Unreleased]: https://github.com/xmanrui/dsh-im/compare/v1.5.0...HEAD
|
||||
[Unreleased]: https://github.com/xmanrui/dsh-im/compare/v2.0.0...HEAD
|
||||
[2.0.0]: https://github.com/xmanrui/dsh-im/compare/v1.5.0...v2.0.0
|
||||
[1.5.0]: https://github.com/xmanrui/dsh-im/compare/v1.4.0...v1.5.0
|
||||
[1.4.0]: https://github.com/xmanrui/dsh-im/compare/v1.3.0...v1.4.0
|
||||
[1.3.0]: https://github.com/xmanrui/dsh-im/compare/v1.2.0...v1.3.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue