mirror of
https://github.com/hansjone/dsh-im-ops.git
synced 2026-10-09 00:33:20 +08:00
chore: release v4.6.0
This commit is contained in:
parent
9d2e9c800b
commit
52deb872aa
5 changed files with 12 additions and 6 deletions
|
|
@ -6,11 +6,16 @@ This file records the notable changes in each dsh-im release. Its format follows
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
## [4.6.0] - 2026-09-02
|
||||
|
||||
### Added / 新增
|
||||
|
||||
- 非视觉模型收到图片时不再直接报错丢图:宿主以 `MODEL_DOES_NOT_SUPPORT_IMAGES` 拒绝带图片的 prompt 后,自动把同一批图片字节按入站文件管线落盘到 Session 工作区,并以"原文本 + 工具分析指引 + `<dsh_im_files>` 清单"的纯文本 prompt 复用同一 rpcId 重试一次,使非视觉模型仍可通过 run_code/pwsh 等工具识图;视觉模型与文件消息行为不变,其余图片错误仍按原样提示。
|
||||
Sending an image to a non-vision model no longer fails outright: when the Host rejects an image-bearing prompt with `MODEL_DOES_NOT_SUPPORT_IMAGES`, the same image bytes are automatically staged into the Session workspace through the inbound-file pipeline and retried once as a text-only prompt (original text plus tool-analysis guidance and the `<dsh_im_files>` manifest) under the same rpcId, so non-vision models can still inspect images via tools such as run_code/pwsh. Vision models and file messages are unchanged, and other image errors keep their existing messages.
|
||||
|
||||
- 九个 IM 渠道统一支持引用或回复消息上下文:Harness 会在当前问题之前收到安全序列化的 `<dsh_im_reply_to>`,包含平台可提供的原消息文字、作者及附件类型/名称;缺少正文快照的渠道仅在访问控制和本地交互完成后进行同会话、有界的延迟查询或 Session 历史恢复,失败时不阻断当前问题,也不会把引用内容误当作命令、审批或问题回答。
|
||||
All nine IM channels now preserve quoted or replied-to message context. Harness receives a safely serialized `<dsh_im_reply_to>` before the current question with the original text, author, and attachment type/name when available. Channels without a content snapshot perform only bounded, same-conversation lazy lookup or Session-history recovery after access control and local interactions; lookup failure does not block the current question, and quoted content cannot be interpreted as a command, approval, or question answer.
|
||||
|
||||
### Fixed / 修复
|
||||
|
||||
- 非视觉模型图片回退在文件落盘阶段收到取消信号时,现在会保留调用方的取消原因并停止处理,不再误报模型不支持图片。
|
||||
|
|
@ -577,7 +582,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/v4.5.0...HEAD
|
||||
[Unreleased]: https://github.com/xmanrui/dsh-im/compare/v4.6.0...HEAD
|
||||
[4.6.0]: https://github.com/xmanrui/dsh-im/compare/v4.5.0...v4.6.0
|
||||
[4.5.0]: https://github.com/xmanrui/dsh-im/compare/v4.4.0...v4.5.0
|
||||
[4.4.0]: https://github.com/xmanrui/dsh-im/compare/v4.3.0...v4.4.0
|
||||
[4.3.0]: https://github.com/xmanrui/dsh-im/compare/v4.2.1...v4.3.0
|
||||
|
|
|
|||
|
|
@ -571,7 +571,7 @@ var React23 = __toESM(require("react"), 1);
|
|||
// package.json
|
||||
var package_default = {
|
||||
name: "@xmanrui/dsh-im",
|
||||
version: "4.5.0",
|
||||
version: "4.6.0",
|
||||
description: "\u628A\u4E5D\u79CD IM \u673A\u5668\u4EBA\u548C\u516C\u7F51 AI Office \u63A5\u5165\u672C\u673A DeepSeek Harness\u3002 Connect nine IM channels and a public AI Office to a local DeepSeek Harness.",
|
||||
keywords: [
|
||||
"deepseek-harness",
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
4
package-lock.json
generated
4
package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@xmanrui/dsh-im",
|
||||
"version": "4.5.0",
|
||||
"version": "4.6.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@xmanrui/dsh-im",
|
||||
"version": "4.5.0",
|
||||
"version": "4.6.0",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@tencent-connect/qqbot-connector": "1.2.0",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@xmanrui/dsh-im",
|
||||
"version": "4.5.0",
|
||||
"version": "4.6.0",
|
||||
"description": "把九种 IM 机器人和公网 AI Office 接入本机 DeepSeek Harness。 Connect nine IM channels and a public AI Office to a local DeepSeek Harness.",
|
||||
"keywords": [
|
||||
"deepseek-harness",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue