@telosmaylx/dsh-session-notify 0.1.0 → 0.1.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.md +10 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
# dsh-session-notify
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@telosmaylx/dsh-session-notify)
|
|
4
|
+
[](https://www.npmjs.com/package/@telosmaylx/dsh-session-notify)
|
|
5
|
+
[](LICENSE)
|
|
6
|
+
|
|
3
7
|
**DeepSeek Harness plugin that notifies you when a session finishes** — a durable system message is appended into the session log (plugin-source notice, persisted to JSONL), and the browser gets a real push (Web Notification + toast). Which session, how long it took, tokens, cache-hit rate and generation speed — all customizable from the official settings panel.
|
|
4
8
|
|
|
9
|
+
```bash
|
|
10
|
+
npm install @telosmaylx/dsh-session-notify
|
|
11
|
+
```
|
|
12
|
+
|
|
5
13
|
- **Dual channel**: host system message + browser push (each notification has its own tag; toast always shows as a safety net)
|
|
6
14
|
- **Official settings panel** (`设置 → 插件配置 → 会话完成提醒`): preset library, title template, per-reason message templates with insertable tags, live preview
|
|
7
15
|
- **5 languages** (zh / zh-tw / en / ja / ko) for both the panel and the generated messages
|
|
@@ -38,14 +46,14 @@
|
|
|
38
46
|
|
|
39
47
|
## 安装
|
|
40
48
|
|
|
41
|
-
### 方式一:GitHub
|
|
49
|
+
### 方式一:GitHub 仓库
|
|
42
50
|
|
|
43
51
|
```bash
|
|
44
52
|
# 在 Web GUI 会话中执行
|
|
45
53
|
dev_install_package github=TelosmaYLX/dsh-session-notify # 或 dsh plugin add github:TelosmaYLX/dsh-session-notify
|
|
46
54
|
```
|
|
47
55
|
|
|
48
|
-
### 方式二:npm
|
|
56
|
+
### 方式二:npm 包
|
|
49
57
|
|
|
50
58
|
```bash
|
|
51
59
|
npm install @telosmaylx/dsh-session-notify # 或从 npm 下载 tgz 解压
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telosmaylx/dsh-session-notify",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "DSH session completion notifier: appends a plugin system message to the session log on turn/end and pushes browser notifications (Web Notification + toast), with a fully customizable official settings panel (presets, 5-language templates, cache-hit rate & tok/s from official projections).",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|