dsh-plugin-desktop-notify 0.5.5 → 0.5.6
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 +6 -4
- package/README.md +17 -5
- package/lib/client.js +1 -1
- package/package.json +1 -1
package/README.en.md
CHANGED
|
@@ -116,16 +116,18 @@ attributed to Windows PowerShell and without click-through).
|
|
|
116
116
|
|
|
117
117
|
## Install
|
|
118
118
|
|
|
119
|
-
Inside the DSH desktop app: **Plugins → Install**, then paste the
|
|
119
|
+
Inside the DSH desktop app: **Plugins → Install**, then paste the package name:
|
|
120
120
|
|
|
121
121
|
```
|
|
122
|
-
|
|
122
|
+
dsh-plugin-desktop-notify
|
|
123
123
|
```
|
|
124
124
|
|
|
125
125
|
Press **⌘R** afterwards so the renderer reloads the bundle (restart the app if it
|
|
126
|
-
says `restart-required`).
|
|
126
|
+
says `restart-required`). To update, uninstall and install it again.
|
|
127
127
|
|
|
128
|
-
|
|
128
|
+
Without access to npmjs.com (or offline), the repository address
|
|
129
|
+
(`https://github.com/chendaleiQ/dsh-plugin-desktop-notify`) and a local checkout
|
|
130
|
+
directory both work the same way.
|
|
129
131
|
For development, symlink it into the profile:
|
|
130
132
|
|
|
131
133
|
```bash
|
package/README.md
CHANGED
|
@@ -98,17 +98,29 @@ __DSH_DESKTOP_NOTIFY__.state().lastNotify // 插件最后一
|
|
|
98
98
|
|
|
99
99
|
## 安装
|
|
100
100
|
|
|
101
|
-
###
|
|
101
|
+
### 方式一:npm(推荐)
|
|
102
102
|
|
|
103
|
-
DSH 桌面版左侧栏 **插件** →
|
|
103
|
+
DSH 桌面版左侧栏 **插件** → **安装**,填包名:
|
|
104
104
|
|
|
105
105
|
```
|
|
106
|
-
|
|
106
|
+
dsh-plugin-desktop-notify
|
|
107
107
|
```
|
|
108
108
|
|
|
109
109
|
装完按 **⌘R** 刷新窗口(渲染层要重新加载)。提示 `restart-required` 就重启一次应用。
|
|
110
|
+
更新:插件页里卸载再装一次即为最新版。
|
|
111
|
+
|
|
112
|
+
> 国内网络可以给 npm 配镜像(`npm config set registry https://registry.npmmirror.com`),
|
|
113
|
+
> 或者直接用下面的 GitHub / 本地方式。
|
|
114
|
+
|
|
115
|
+
### 方式二:从 GitHub 安装
|
|
116
|
+
|
|
117
|
+
插件页 → 安装 → 填仓库地址:
|
|
118
|
+
|
|
119
|
+
```
|
|
120
|
+
https://github.com/chendaleiQ/dsh-plugin-desktop-notify
|
|
121
|
+
```
|
|
110
122
|
|
|
111
|
-
###
|
|
123
|
+
### 方式三:本地目录
|
|
112
124
|
|
|
113
125
|
```bash
|
|
114
126
|
git clone https://github.com/chendaleiQ/dsh-plugin-desktop-notify.git
|
|
@@ -120,7 +132,7 @@ git clone https://github.com/chendaleiQ/dsh-plugin-desktop-notify.git
|
|
|
120
132
|
/path/to/dsh-plugin-desktop-notify
|
|
121
133
|
```
|
|
122
134
|
|
|
123
|
-
###
|
|
135
|
+
### 方式四:开发调试(直接 link 进 profile)
|
|
124
136
|
|
|
125
137
|
```bash
|
|
126
138
|
git clone https://github.com/chendaleiQ/dsh-plugin-desktop-notify.git
|
package/lib/client.js
CHANGED
|
@@ -30,7 +30,7 @@ window.__ModuleLoader__.load({
|
|
|
30
30
|
factory: (require) => {
|
|
31
31
|
const NS = "dsh-plugin-desktop-notify"
|
|
32
32
|
/** Reported by capabilities(); keep in step with package.json (cross-machine support). */
|
|
33
|
-
const VERSION = "0.5.
|
|
33
|
+
const VERSION = "0.5.6"
|
|
34
34
|
const PREFERENCES_KEY = `${NS}:preferences`
|
|
35
35
|
|
|
36
36
|
/** Defaults; override per field with the localStorage JSON described in README. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-plugin-desktop-notify",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Codex-style macOS notifications and Dock badge for DeepSeek Harness: completion (including backgrounded windows), pending approval/question/plan, and failures, with click-through back to the session",
|
|
6
6
|
"license": "MIT",
|