dsh-message-rewind 1.3.0 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.en.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <img src="https://raw.githubusercontent.com/xCube007/dsh-message-rewind/main/img/cover-v1.3.0.png" alt="dsh-message-rewind: sent it wrong? fix it and resend — edit a sent message, roll back everything after it, or roll the recorded file changes back" width="100%">
2
+ <img src="https://raw.githubusercontent.com/xCube007/dsh-message-rewind/main/img/cover-v1.3.1.png" alt="dsh-message-rewind: sent it wrong? fix it and resend — edit a sent message, roll back everything after it, or roll the recorded file changes back" width="100%">
3
3
  </p>
4
4
 
5
5
  <div align="center">
@@ -16,7 +16,7 @@
16
16
  [![npm package](https://img.shields.io/npm/v/dsh-message-rewind.svg?label=npm%20package&color=brightgreen)](https://www.npmjs.com/package/dsh-message-rewind)
17
17
  [![npm downloads](https://img.shields.io/npm/dt/dsh-message-rewind.svg?label=npm%20downloads&color=orange)](https://www.npmjs.com/package/dsh-message-rewind)
18
18
  [![DSH Web Plugin](https://img.shields.io/badge/DSH%20Web-Plugin-0f766e.svg)](#install)
19
- [![DSH up to 0.2.2-rc.3](https://img.shields.io/badge/DSH-up%20to%200.2.2--rc.3-2563eb.svg)](#install)
19
+ [![DSH up to 0.2.2-rc.5](https://img.shields.io/badge/DSH-up%20to%200.2.2--rc.5-2563eb.svg)](#install)
20
20
 
21
21
  </div>
22
22
 
@@ -61,7 +61,7 @@ When file changes were recorded, snapshot and Git-worktree limits are shown in t
61
61
 
62
62
  ## Install
63
63
 
64
- Requires DSH 0.2.2-rc.1 or newer (0.2.x) and Node.js ≥ 20; verified on 0.2.2-rc.1 and 0.2.2-rc.3. DSH validates `engines.dsh` at startup and refuses to load the plugin on an older host.
64
+ Requires DSH 0.2.2-rc.1 or newer (0.2.x) and Node.js ≥ 20; tested end to end on 0.2.2-rc.1 and 0.2.2-rc.3, and the DSH surfaces it uses were re-checked against 0.2.2-rc.5 (Host services, Session events, and Client slots are unchanged). DSH validates `engines.dsh` at startup and refuses to load the plugin on an older host.
65
65
 
66
66
  ### From npm (recommended)
67
67
 
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <img src="https://raw.githubusercontent.com/xCube007/dsh-message-rewind/main/img/cover-v1.3.0.png" alt="dsh-message-rewind:发错了,改掉重发 —— 编辑已发送的消息、回滚越界的对话、连文件一起回滚" width="100%">
2
+ <img src="https://raw.githubusercontent.com/xCube007/dsh-message-rewind/main/img/cover-v1.3.1.png" alt="dsh-message-rewind:发错了,改掉重发 —— 编辑已发送的消息、回滚越界的对话、连文件一起回滚" width="100%">
3
3
  </p>
4
4
 
5
5
  <div align="center">
@@ -16,7 +16,7 @@
16
16
  [![npm package](https://img.shields.io/npm/v/dsh-message-rewind.svg?label=npm%20package&color=brightgreen)](https://www.npmjs.com/package/dsh-message-rewind)
17
17
  [![npm 下载量](https://img.shields.io/npm/dt/dsh-message-rewind.svg?label=npm%20%E4%B8%8B%E8%BD%BD%E9%87%8F&color=orange)](https://www.npmjs.com/package/dsh-message-rewind)
18
18
  [![DSH Web Plugin](https://img.shields.io/badge/DSH%20Web-Plugin-0f766e.svg)](#%E5%AE%89%E8%A3%85)
19
- [![DSH 支持至 0.2.2-rc.3](https://img.shields.io/badge/DSH-%E6%94%AF%E6%8C%81%E8%87%B3%200.2.2--rc.3-2563eb.svg)](#%E5%AE%89%E8%A3%85)
19
+ [![DSH 支持至 0.2.2-rc.5](https://img.shields.io/badge/DSH-%E6%94%AF%E6%8C%81%E8%87%B3%200.2.2--rc.5-2563eb.svg)](#%E5%AE%89%E8%A3%85)
20
20
 
21
21
  </div>
22
22
 
@@ -63,7 +63,7 @@
63
63
 
64
64
  ## 安装
65
65
 
66
- 需要 DSH 0.2.2-rc.1 及以上(0.2.x),Node.js ≥ 20;已在 0.2.2-rc.1 与 0.2.2-rc.3 上验证。宿主启动时会按 `engines.dsh` 校验,低于该版本会拒绝加载。
66
+ 需要 DSH 0.2.2-rc.1 及以上(0.2.x),Node.js ≥ 20;已在 0.2.2-rc.1 与 0.2.2-rc.3 上实测跑通,并按 0.2.2-rc.5 复核了用到的接口面(Host 服务、会话事件、客户端槽位均无变化)。宿主启动时会按 `engines.dsh` 校验,低于该版本会拒绝加载。
67
67
 
68
68
  ### 从 npm 安装(推荐)
69
69
 
package/icon.svg CHANGED
@@ -1,6 +1,18 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" fill="none">
2
- <rect x="7" y="9" width="50" height="42" rx="13" fill="#247bbf"/>
3
- <path d="M22 24h20M22 32h13M22 40h9" stroke="white" stroke-width="4" stroke-linecap="round"/>
4
- <path d="M40 45a11 11 0 1 0 1-17" stroke="#bce5ff" stroke-width="4" stroke-linecap="round"/>
5
- <path d="m39 23 10 5-10 5" fill="#bce5ff"/>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36" role="img" aria-label="dsh-message-rewind">
2
+ <defs>
3
+ <linearGradient id="dmr-tile" x1=".12" y1="0" x2=".86" y2="1">
4
+ <stop offset="0" stop-color="#5e89ff"/>
5
+ <stop offset=".55" stop-color="#4166f5"/>
6
+ <stop offset="1" stop-color="#2f4fe4"/>
7
+ </linearGradient>
8
+ </defs>
9
+ <rect x="2.2" y="2.2" width="31.6" height="31.6" rx="9.6" fill="url(#dmr-tile)"/>
10
+ <rect x="2.85" y="2.85" width="30.3" height="30.3" rx="9" fill="none" stroke="#fff" stroke-opacity=".17"/>
11
+ <g fill="none" stroke="#fff" stroke-width="2.7" stroke-linecap="round" stroke-linejoin="round">
12
+ <path d="M8.4 8.4H22.4"/>
13
+ <path d="M8.4 13H18.8"/>
14
+ <path d="M8.4 17.6H15.2"/>
15
+ <path d="M19 22.4H23.4A3.6 3.6 0 0 1 23.4 29.6H20"/>
16
+ <path d="M19 19.6L16.2 22.4L19 25.2"/>
17
+ </g>
6
18
  </svg>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-message-rewind",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "DeepSeek Harness plugin: edit sent messages and roll back following turns, optionally restoring recorded file changes.",
5
5
  "license": "MIT",
6
6
  "author": "xCube007",