dsh-del-chat 0.2.8 → 0.2.9

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.md CHANGED
@@ -56,14 +56,19 @@ DSH bundle whose patch inserts one row:
56
56
  name: dsh-del-chat
57
57
  ```
58
58
 
59
- Install straight from this repository — the bundle is not on npm:
59
+ Install it from npm:
60
60
 
61
61
  ```bash
62
- dsh plugin add git+https://github.com/SLZ2025/dsh-del-chat.git
62
+ dsh plugin add dsh-del-chat
63
63
  ```
64
64
 
65
- Add `#<commit>` to pin a revision. A local checkout installs the same way:
66
- `dsh plugin add D:\path\to\dsh-del-chat`.
65
+ Or straight from this repository, pinning a revision:
66
+
67
+ ```bash
68
+ dsh plugin add git+https://github.com/SLZ2025/dsh-del-chat.git#<commit>
69
+ ```
70
+
71
+ A local checkout installs the same way: `dsh plugin add D:\path\to\dsh-del-chat`.
67
72
 
68
73
  Either way, **quit DSH completely and start it again** afterwards. A page refresh
69
74
  loads only the client half: the menu item shows up, but the Host routes stay
package/README.zh.md CHANGED
@@ -50,14 +50,19 @@ Host 侧还有一道独立防线:**没归档过的会话会被 409 拒绝**,
50
50
  name: dsh-del-chat
51
51
  ```
52
52
 
53
- 直接从本仓库安装(还没有发布到 npm):
53
+ 从 npm 安装:
54
54
 
55
55
  ```bash
56
- dsh plugin add git+https://github.com/SLZ2025/dsh-del-chat.git
56
+ dsh plugin add dsh-del-chat
57
57
  ```
58
58
 
59
- 加 `#<commit>` 可以锁定具体提交。本地 checkout 也一样:
60
- `dsh plugin add D:\path\to\dsh-del-chat`。
59
+ 也可以直接从本仓库安装并锁定提交:
60
+
61
+ ```bash
62
+ dsh plugin add git+https://github.com/SLZ2025/dsh-del-chat.git#<commit>
63
+ ```
64
+
65
+ 本地 checkout 也一样:`dsh plugin add D:\path\to\dsh-del-chat`。
61
66
 
62
67
  装完必须**完全退出 DSH 再重新启动**。刷新网页只会加载客户端部分:菜单项会冒出来,
63
68
  但 Host 端路由并没有注册,点下去会提示 Host 端未加载。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-del-chat",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
4
4
  "type": "module",
5
5
  "description": "Adds a “Delete archive” item to the DSH sidebar Session menu that permanently removes an archived Session's JSONL log, projection cache and Workspace record from disk.",
6
6
  "license": "MIT",