mirror of
https://github.com/hansjone/dsh-im-ops.git
synced 2026-10-09 01:53:21 +08:00
15 KiB
15 KiB
Changelog / 更新日志
本文件记录 dsh-im 各正式版本的重要变化。格式参考 Keep a Changelog,版本号遵循 Semantic Versioning。
This file records the notable changes in each dsh-im release. Its format follows Keep a Changelog, and its versions follow Semantic Versioning.
Unreleased
Fixed / 修复
- 一个 IM 渠道激活失败时,Host 现在会记录错误并继续依次激活其他渠道,避免单个渠道的本地配置或初始化故障阻断其余渠道。 When one IM channel fails to activate, the Host now logs the error and continues activating the remaining channels in order, so a channel-local configuration or initialization failure cannot block the others.
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: withlanguage: enin the Host config (or theDSH_IM_LANGUAGE=enenvironment 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 / 新增
- Harness 返回的图片现在会在九个内置 IM 渠道中优先使用原生图片消息呈现;渠道不支持或明确拒绝图片发送时自动回退为文件附件。 Images returned by Harness now prefer native image messages across all nine built-in IM channels, with automatic file-attachment fallback when a channel does not support or definitively rejects image delivery.
Changed / 变更
- 统一结果文件与图片的发送、交付回执、失败提示和资源释放,并在发送结果不确定时避免补发文件造成重复消息。 Unified result-file and image sending, delivery receipts, failure notices, and resource cleanup, while avoiding duplicate file fallback when an image delivery result is uncertain.
1.4.0 - 2026-08-24
Added / 新增
- QQ 最终回答现在支持 Markdown;长回答会尽量按代码块和 GFM 表格边界切分,平台拒绝 Markdown 时自动回退为纯文本。 QQ final answers now support Markdown; long answers are split around code blocks and GFM tables where possible, with automatic plain-text fallback when QQ rejects Markdown.
Changed / 变更
- QQ 私聊把进度和最终答案收束在一个回复气泡中,群聊只发送最终答案;工具失败会附在最终回答中,避免成功工具和状态消息刷屏。 QQ private chats keep progress and the final answer in one reply bubble, while group chats send only the final answer; tool failures are appended to the final response without spamming successful tool or status messages.
- 长 QQ 回答使用唯一消息序号并避开被动回复额度,降低重复去重和超额发送失败。 Long QQ answers use unique message sequence numbers and avoid passive-reply quotas, reducing duplicate suppression and over-quota delivery failures.
1.3.0 - 2026-08-23
Added / 新增
- 九个内置 IM 渠道现在都能接收普通文件,并把文件随同用户消息安全地交给当前 Harness Session。 All nine built-in IM channels can now receive ordinary files and safely pass them with the user message to the active Harness Session.
Changed / 变更
- 统一入站文件的提前下载、工作区暂存、路径保护、失败提示和 Turn 结束清理,并继续由各消息平台决定文件类型、数量和大小限制。 Unified inbound-file prefetching, workspace staging, path protection, failure messages, and end-of-Turn cleanup, while leaving file type, count, and size limits to each messaging platform.
1.2.0 - 2026-08-23
Added / 新增
- WhatsApp 新增仅自己、指定联系人和开放响应三种访问模式;旧机器人和新接入机器人均默认仅响应账号自聊。 Added Only me, Selected contacts, and Open responses access modes for WhatsApp; existing and newly linked bots now default to self-chat only.
1.1.0 - 2026-08-23
Added / 新增
- 新增 Harness 结果文件的原生交付能力,支持通过钉钉、Discord、飞书、QQ、Slack、Telegram、企业微信、微信和 WhatsApp 返回文件。 Added native delivery of Harness result files through DingTalk, Discord, Feishu, QQ, Slack, Telegram, WeCom, Weixin, and WhatsApp.
- 新增统一的结果文件快照、交付回执、失败分类与消息 ID 追踪。 Added unified result-file snapshots, delivery receipts, failure classifications, and message ID tracking.
Changed / 变更
- 压缩机器人连接元数据布局,并统一各频道卡片的反馈样式。 Compacted bot connection metadata and unified feedback styling across channel cards.
- 将 Agent Preset 使用说明移入可访问的帮助提示。 Moved Agent Preset guidance into an accessible help tooltip.
Fixed / 修复
- 改进微信对 Harness 访问失败、回环地址拒绝和健康检查错误的提示。 Improved Weixin messages for Harness access failures, loopback denials, and health-check errors.
1.0.2 - 2026-08-22
Fixed / 修复
- 飞书 REST 请求和 WebSocket 连接现在都会遵循系统代理设置。 Feishu REST requests and WebSocket connections now honor system proxy settings.
1.0.1 - 2026-08-22
Fixed / 修复
- 改进微信对 Harness 健康检查失败的分类和安全提示。 Improved the classification and safe messaging of Harness health-check failures in Weixin.
1.0.0 - 2026-08-22
Added / 新增
- 新增
/presetlist与/preset聊天命令,可查看和切换 Agent Preset,并支持恢复跟随 Host 默认值。 Added/presetlistand/presetchat commands for viewing and switching Agent Presets, including returning to the Host default.
0.19.0 - 2026-08-22
Added / 新增
- Telegram 启动时注册命令菜单和菜单按钮。 Telegram now registers its command menu and menu button when the bot starts.
- 飞书新增群聊响应模式配置和群消息权限授权流程。 Added configurable group response modes and group-message permission authorization for Feishu.
0.18.0 - 2026-08-22
Added / 新增
- 支持为每个机器人独立选择 Agent Preset,并完成创建、持久化和会话启动生命周期。 Added per-bot Agent Preset selection across bot creation, persistence, and session startup.
0.17.1 - 2026-08-21
Fixed / 修复
- 当模型不支持图片输入时,各频道会返回更明确的提示。 Channels now provide clearer feedback when a model does not support image input.
0.17.0 - 2026-08-21
Added / 新增
- 飞书新增持久化 Session 关注、完成推送和菜单入口。 Added persistent Session watches, completion notifications, and a watch menu entry for Feishu.
- 飞书 Session 列表支持关注按钮、归档标记和
/archived on|off切换。 Feishu Session lists now include watch buttons, archived badges, and the/archived on|offtoggle.
Fixed / 修复
- 改进飞书关注完成消息的可靠交付和重连补偿。 Improved reliable delivery and reconnect compensation for Feishu watch completions.
0.16.0 - 2026-08-21
Added / 新增
- 飞书新增交互式菜单卡片、Session/工作区列表卡片和一键回调修复。 Added interactive menu cards, Session and workspace list cards, and one-click callback repair for Feishu.
Fixed / 修复
- 改进飞书交互卡片回调的可靠性。 Improved the reliability of Feishu interactive-card callbacks.
0.15.0 - 2026-08-21
Changed / 变更
- 将 AI Office 连接器标记为实验性功能。 Marked the AI Office connector as experimental.
Fixed / 修复
- 改进微信机器人激活失败的分类和提示。 Improved classification and messaging for Weixin bot activation failures.
0.14.0 - 2026-08-21
Added / 新增
- 新增 AI Office 连接器,并支持在 Harness 中执行 Office 任务。 Added the AI Office connector and support for executing Office jobs in Harness.
- 加强 Telegram 私聊访问控制。 Strengthened access control for Telegram private chats.
Changed / 变更
- 更新插件品牌、README 视觉和 AI Office 配置示例。 Updated plugin branding, README visuals, and the AI Office configuration example.
0.13.0 - 2026-08-20
Added / 新增
- 支持通过编号选择模型。 Added model selection by list number.
Changed / 变更
- 完善机器人交互、多机器人能力和频道配置文档。 Expanded documentation for bot interactions, multi-bot support, and channel setup.
- 加强发布包检查,避免捆绑 DSH 运行时包。 Strengthened package verification to prevent bundling DSH runtime packages.
0.12.0 - 2026-08-20
Added / 新增
- 新增模型查看、模型切换、停止和引导当前 Turn 的聊天命令。 Added chat commands for listing and switching models, stopping work, and steering the active Turn.
Changed / 变更
- 改进 npm 安装文档、包元数据和项目徽章。 Improved npm installation documentation, package metadata, and project badges.
0.11.0 - 2026-08-19
Added / 新增
- 建立统一 IM 插件的首个保留标签版本,集中管理飞书、微信、钉钉、企业微信、QQ、Slack、Telegram、Discord 和 WhatsApp。 Established the first retained tag of the unified IM plugin, covering Feishu, Weixin, DingTalk, WeCom, QQ, Slack, Telegram, Discord, and WhatsApp.
- 支持多机器人、工作区切换、Session 列表与绑定、Harness 交互和审批、图片输入及连接测试。 Added multi-bot support, workspace switching, Session listing and binding, Harness interactions and approvals, image input, and connection tests.
- 支持按 Harness 默认 Agent Preset 创建 IM Session。 Added IM Session creation using the Harness default Agent Preset.
Changed / 变更
- 完成双语 README、插件品牌、深色主题和紧凑机器人卡片。 Added a bilingual README, plugin branding, dark-theme support, and compact bot cards.
- 改进 npm 发布包结构,保留 CLI 入口并避免安装脚本拦截。 Improved npm package contents to preserve the CLI entry point and avoid install-script blocking.