dsh-notify-tray 0.1.11 → 0.1.12
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 -6
- package/README.md +6 -6
- package/README.zh-CN.md +6 -6
- package/lib/client.js +47 -42
- package/package.json +1 -1
package/README.en.md
CHANGED
|
@@ -6,16 +6,16 @@ Get notified when tasks finish, fail, or need your attention. On macOS / Linux,
|
|
|
6
6
|
|
|
7
7
|
## Get started
|
|
8
8
|
|
|
9
|
-
1. Install and enable the plugin, then
|
|
9
|
+
1. Install and enable the plugin, then open **Settings → Whale Notify Station** in DSH. The whale icon in the main sidebar opens the same settings.
|
|
10
10
|
2. Under notifications, choose which events should alert you and whether to play a sound.
|
|
11
11
|
3. On macOS / Linux, enable the status-bar whale. macOS also offers text, a count, or just the icon beside the whale.
|
|
12
12
|
4. Changes **save automatically**, about half a second after you stop editing. A **Settings saved** banner confirms success; there is no Save button.
|
|
13
13
|
|
|
14
14
|
Failed saves retain your changes and offer **Retry saving**. Correct invalid input before saving. Leaving this page does not discard queued changes.
|
|
15
15
|
|
|
16
|
-
The plugin detail page contains this user guide in Chinese by default, with a link to this English version. Notification, status-bar, spend, and plan settings
|
|
16
|
+
The plugin detail page contains this user guide in Chinese by default, with a link to this English version. Notification, status-bar, spend, and plan settings are available under **Settings → Whale Notify Station**.
|
|
17
17
|
|
|
18
|
-
Existing settings and spend records are retained after an update.
|
|
18
|
+
Existing settings and spend records are retained after an update. If the Settings entry is missing, check that the plugin is enabled and restart DSH.
|
|
19
19
|
|
|
20
20
|
## Notifications
|
|
21
21
|
|
|
@@ -47,7 +47,7 @@ Click the whale to see running tasks, pending actions, recent results, daily usa
|
|
|
47
47
|
| Linux (UOS / Deepin / Kylin / KDE and others) | System notifications and a system-tray whale with state colors |
|
|
48
48
|
| Windows | System notifications; this plugin does not provide a Windows tray icon or tray settings |
|
|
49
49
|
|
|
50
|
-
If you hide the whale from its menu, use **Show the status-bar icon again** in the
|
|
50
|
+
If you hide the whale from its menu, use **Show the status-bar icon again** in the whale settings page. No restart is needed. GNOME generally needs an AppIndicator extension to display the tray icon.
|
|
51
51
|
|
|
52
52
|
## Spend and plans
|
|
53
53
|
|
|
@@ -73,7 +73,7 @@ Keep the channel on **Auto** and the DSH window running. The macOS system fallba
|
|
|
73
73
|
|
|
74
74
|
**Why are there no whale icon settings on Windows?**
|
|
75
75
|
|
|
76
|
-
This plugin implements only notifications on Windows. Status-bar features are for macOS / Linux. The
|
|
76
|
+
This plugin implements only notifications on Windows. Status-bar features are for macOS / Linux. The **Settings → Whale Notify Station** entry appears on all three platforms.
|
|
77
77
|
|
|
78
78
|
**Spend or quota looks wrong?**
|
|
79
79
|
|
|
@@ -89,7 +89,7 @@ In DSH, open **Plugins → Add plugin** and enter `dsh-notify-tray`. To select a
|
|
|
89
89
|
|
|
90
90
|
### Online updates
|
|
91
91
|
|
|
92
|
-
The **Updates** card at the bottom of the
|
|
92
|
+
The **Updates** card at the bottom of the whale settings page:
|
|
93
93
|
|
|
94
94
|
- Checks when you open the page, or when you click **Check for updates**.
|
|
95
95
|
- When a compatible stable release is available, **Update in Plugins** saves pending settings and opens Whale Notify Station in DSH’s built-in plugin manager.
|
package/README.md
CHANGED
|
@@ -6,16 +6,16 @@
|
|
|
6
6
|
|
|
7
7
|
## 从这里开始
|
|
8
8
|
|
|
9
|
-
1.
|
|
9
|
+
1. 安装并启用插件后,打开 DSH **「设置 → 小鲸鱼通知站」**。也可以点击主侧栏的鲸鱼图标打开同一份设置。
|
|
10
10
|
2. 在「提醒我」中选择需要的通知类型,按需开启提示音。
|
|
11
11
|
3. macOS / Linux 用户可以开启「显示小鲸鱼」;macOS 还可选择鲸鱼旁边显示文字、数字或只显示图标。
|
|
12
12
|
4. 修改后会**自动保存**,连续输入停止约半秒后提交。保存成功时会出现「设置已保存」小横幅,无需点击保存按钮。
|
|
13
13
|
|
|
14
14
|
保存失败会保留修改,并显示「重试保存」。输入无效时请先修正;离开设置页不会丢弃尚在排队的修改。
|
|
15
15
|
|
|
16
|
-
「插件 →
|
|
16
|
+
「插件 → 小鲸鱼通知站」详情页只显示这份使用说明。在「设置 → 小鲸鱼通知站」可以调整通知、状态栏、花费和套餐。
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
从旧版更新后,原有设置和花费记录会继续使用,无需重新填写。若设置列表里未出现「小鲸鱼通知站」,请确认插件已启用并重启 DSH。
|
|
19
19
|
|
|
20
20
|
## 通知怎么用
|
|
21
21
|
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
| Linux(UOS / Deepin / 麒麟 / KDE 等) | 系统通知、系统托盘鲸鱼,以颜色区分状态 |
|
|
48
48
|
| Windows | 系统通知;本插件不提供 Windows 托盘图标,设置页也不显示托盘选项 |
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
若从鲸鱼菜单隐藏了图标,可在小鲸鱼设置页点击「重新显示状态栏图标」,无需重启。GNOME 通常需要 AppIndicator 扩展才能显示托盘图标。
|
|
51
51
|
|
|
52
52
|
## 花费与套餐
|
|
53
53
|
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
|
|
74
74
|
**为什么 Windows 没有鲸鱼图标设置?**
|
|
75
75
|
|
|
76
|
-
本插件在 Windows 上仅实现通知,状态栏功能仅用于 macOS / Linux;DSH
|
|
76
|
+
本插件在 Windows 上仅实现通知,状态栏功能仅用于 macOS / Linux;DSH「设置 → 小鲸鱼通知站」入口在三个平台都会显示。
|
|
77
77
|
|
|
78
78
|
**花费或额度不准确?**
|
|
79
79
|
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
|
|
90
90
|
### 在线更新
|
|
91
91
|
|
|
92
|
-
|
|
92
|
+
小鲸鱼设置页底部提供「版本更新」卡片:
|
|
93
93
|
|
|
94
94
|
- 打开设置页时自动检查,也可以点击「检查更新」。
|
|
95
95
|
- 发现兼容的正式版后,点击「在插件管理中更新」。小鲸鱼会先保存设置,再打开 DSH 自带的小鲸鱼插件详情。
|
package/README.zh-CN.md
CHANGED
|
@@ -6,16 +6,16 @@
|
|
|
6
6
|
|
|
7
7
|
## 从这里开始
|
|
8
8
|
|
|
9
|
-
1.
|
|
9
|
+
1. 安装并启用插件后,打开 DSH **「设置 → 小鲸鱼通知站」**。也可以点击主侧栏的鲸鱼图标打开同一份设置。
|
|
10
10
|
2. 在「提醒我」中选择需要的通知类型,按需开启提示音。
|
|
11
11
|
3. macOS / Linux 用户可以开启「显示小鲸鱼」;macOS 还可选择鲸鱼旁边显示文字、数字或只显示图标。
|
|
12
12
|
4. 修改后会**自动保存**,连续输入停止约半秒后提交。保存成功时会出现「设置已保存」小横幅,无需点击保存按钮。
|
|
13
13
|
|
|
14
14
|
保存失败会保留修改,并显示「重试保存」。输入无效时请先修正;离开设置页不会丢弃尚在排队的修改。
|
|
15
15
|
|
|
16
|
-
「插件 →
|
|
16
|
+
「插件 → 小鲸鱼通知站」详情页只显示这份使用说明。在「设置 → 小鲸鱼通知站」可以调整通知、状态栏、花费和套餐。
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
从旧版更新后,原有设置和花费记录会继续使用,无需重新填写。若设置列表里未出现「小鲸鱼通知站」,请确认插件已启用并重启 DSH。
|
|
19
19
|
|
|
20
20
|
## 通知怎么用
|
|
21
21
|
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
| Linux(UOS / Deepin / 麒麟 / KDE 等) | 系统通知、系统托盘鲸鱼,以颜色区分状态 |
|
|
48
48
|
| Windows | 系统通知;本插件不提供 Windows 托盘图标,设置页也不显示托盘选项 |
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
若从鲸鱼菜单隐藏了图标,可在小鲸鱼设置页点击「重新显示状态栏图标」,无需重启。GNOME 通常需要 AppIndicator 扩展才能显示托盘图标。
|
|
51
51
|
|
|
52
52
|
## 花费与套餐
|
|
53
53
|
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
|
|
74
74
|
**为什么 Windows 没有鲸鱼图标设置?**
|
|
75
75
|
|
|
76
|
-
本插件在 Windows 上仅实现通知,状态栏功能仅用于 macOS / Linux;DSH
|
|
76
|
+
本插件在 Windows 上仅实现通知,状态栏功能仅用于 macOS / Linux;DSH「设置 → 小鲸鱼通知站」入口在三个平台都会显示。
|
|
77
77
|
|
|
78
78
|
**花费或额度不准确?**
|
|
79
79
|
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
|
|
90
90
|
### 在线更新
|
|
91
91
|
|
|
92
|
-
|
|
92
|
+
小鲸鱼设置页底部提供「版本更新」卡片:
|
|
93
93
|
|
|
94
94
|
- 打开设置页时自动检查,也可以点击「检查更新」。
|
|
95
95
|
- 发现兼容的正式版后,点击「在插件管理中更新」。小鲸鱼会先保存设置,再打开 DSH 自带的小鲸鱼插件详情。
|
package/lib/client.js
CHANGED
|
@@ -42,12 +42,12 @@ window.__ModuleLoader__.load({
|
|
|
42
42
|
return true
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
// Settings mount
|
|
45
|
+
// Settings entries mount when their slots and the host namespace are ready.
|
|
46
46
|
var inject = ['uiWorkspace', 'sessions', 'slots', 'locale', 'configForms']
|
|
47
47
|
|
|
48
48
|
// ------------------------------------------------------------------------
|
|
49
|
-
// Settings
|
|
50
|
-
//
|
|
49
|
+
// Settings and the main sidebar share a form over the `notify-tray`
|
|
50
|
+
// settings namespace (the `.volatile()` fields of
|
|
51
51
|
// lib/index.js Config, served by @deepseek-ai/dsh-settings), grouped into
|
|
52
52
|
// sections with toggles, segmented choices and number fields, saved automatically.
|
|
53
53
|
// Plain React.createElement, so no build step is needed.
|
|
@@ -666,6 +666,7 @@ window.__ModuleLoader__.load({
|
|
|
666
666
|
if (this.disposed) return
|
|
667
667
|
if (!this.openBundle()) return this.patch({ phase: 'manual' })
|
|
668
668
|
this.patch({ phase: 'available' })
|
|
669
|
+
return true
|
|
669
670
|
} catch (error) {
|
|
670
671
|
this.patch({ phase: 'manual', error: String(error.message || error) })
|
|
671
672
|
}
|
|
@@ -708,10 +709,15 @@ window.__ModuleLoader__.load({
|
|
|
708
709
|
React.useEffect(() => {
|
|
709
710
|
const fn = () => bump(n => n + 1)
|
|
710
711
|
live.listeners.add(fn)
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
712
|
+
if (live.listeners.size === 1) {
|
|
713
|
+
loadCatalog()
|
|
714
|
+
loadState()
|
|
715
|
+
live.timer = setInterval(loadState, LIVE_MS)
|
|
716
|
+
}
|
|
717
|
+
return () => {
|
|
718
|
+
live.listeners.delete(fn)
|
|
719
|
+
if (!live.listeners.size) clearInterval(live.timer)
|
|
720
|
+
}
|
|
715
721
|
}, [])
|
|
716
722
|
return live
|
|
717
723
|
}
|
|
@@ -769,14 +775,14 @@ window.__ModuleLoader__.load({
|
|
|
769
775
|
h(ui.Switch, { checked: field.text === 'on', disabled, label: t(name), onChange: next => edit(name, next ? 'on' : 'off') })))
|
|
770
776
|
}
|
|
771
777
|
|
|
772
|
-
function ChoiceRow({ t, name, field, options, disabled, edit, resetField, hint }) {
|
|
778
|
+
function ChoiceRow({ t, name, idPrefix, field, options, disabled, edit, resetField, hint }) {
|
|
773
779
|
return h('div', { style: { ...S.row, flexWrap: 'wrap' } },
|
|
774
780
|
h('div', { style: S.rowText },
|
|
775
781
|
h('div', { style: S.label }, t(name), h(Overridden, { t, field, disabled, onReset: () => resetField(name) })),
|
|
776
782
|
hint ? h('p', { style: S.hint }, t(hint)) : null),
|
|
777
783
|
h('div', { style: S.control },
|
|
778
784
|
h(ui.SegmentedControl, {
|
|
779
|
-
id:
|
|
785
|
+
id: `${idPrefix}-${name}`,
|
|
780
786
|
label: t(name),
|
|
781
787
|
value: field.text,
|
|
782
788
|
disabled,
|
|
@@ -798,9 +804,9 @@ window.__ModuleLoader__.load({
|
|
|
798
804
|
ui.Checkbox ? null : h('span', null, t(name))))))
|
|
799
805
|
}
|
|
800
806
|
|
|
801
|
-
function ValueField({ t, name, field, disabled, edit, resetField, numeric, placeholder, hint }) {
|
|
807
|
+
function ValueField({ t, name, idPrefix, field, disabled, edit, resetField, numeric, placeholder, hint }) {
|
|
802
808
|
return h(ui.SettingsValueField, {
|
|
803
|
-
id:
|
|
809
|
+
id: `${idPrefix}-${name}`,
|
|
804
810
|
label: t(name),
|
|
805
811
|
hint: hint === undefined ? t(`${name}Hint`) : hint,
|
|
806
812
|
overriddenLabel: t('overridden'),
|
|
@@ -820,9 +826,9 @@ window.__ModuleLoader__.load({
|
|
|
820
826
|
const TextField = props => h(ValueField, { ...props, numeric: false })
|
|
821
827
|
|
|
822
828
|
/** A bare dropdown (its row carries the label). */
|
|
823
|
-
function Select({ t, name, field, options, disabled, onChange }) {
|
|
829
|
+
function Select({ t, name, idPrefix, field, options, disabled, onChange }) {
|
|
824
830
|
return h('select', {
|
|
825
|
-
id:
|
|
831
|
+
id: `${idPrefix}-${name}`,
|
|
826
832
|
style: S.select,
|
|
827
833
|
value: field.text,
|
|
828
834
|
disabled,
|
|
@@ -976,8 +982,8 @@ window.__ModuleLoader__.load({
|
|
|
976
982
|
? h('p', { style: S.hint }, links.map(([key, url], i) => h(React.Fragment || 'span', { key }, i ? ' · ' : '', h('a', { href: url, target: '_blank', rel: 'noreferrer', style: S.link }, `${t(`${key}Page`)} ↗`))))
|
|
977
983
|
: h('p', { style: S.hint }, t('myPlanHint'))),
|
|
978
984
|
h('div', { style: { ...S.control, display: 'flex', gap: 8, flexWrap: 'wrap' } },
|
|
979
|
-
h(Select, {
|
|
980
|
-
providerId !== 'none' && plans.length ? h(Select, {
|
|
985
|
+
h(Select, { ...common, name: 'planProvider', field: f.planProvider, options: providerOptions, onChange: chooseProvider }),
|
|
986
|
+
providerId !== 'none' && plans.length ? h(Select, { ...common, name: 'planId', field: f.planId, options: planOptions, onChange: choosePlan }) : null))]
|
|
981
987
|
if (providerId === 'none') return children
|
|
982
988
|
|
|
983
989
|
// ---- remaining quota: the key reference and a refresh, when the provider has an endpoint ----
|
|
@@ -1056,9 +1062,11 @@ window.__ModuleLoader__.load({
|
|
|
1056
1062
|
}
|
|
1057
1063
|
|
|
1058
1064
|
const PAGE_CSS = `
|
|
1059
|
-
.dnt-page { --dnt-accent: #5085b2; --dnt-border: color-mix(in srgb, currentColor 11%, transparent);
|
|
1060
|
-
|
|
1065
|
+
.dnt-page { --dnt-accent: #5085b2; --dnt-border: color-mix(in srgb, currentColor 11%, transparent); }
|
|
1066
|
+
.dnt-panel { flex: 1; min-height: 0; overflow-y: auto; }
|
|
1067
|
+
html[data-platform='darwin'] .dnt-panel { margin-top: var(--dsh-frame-top-clearance, 0px); }
|
|
1061
1068
|
.dnt-content { max-width: 1040px; margin: auto; padding: 30px 26px 48px; }
|
|
1069
|
+
.dnt-settings .dnt-content { padding: 0; }
|
|
1062
1070
|
.dnt-hero { display: flex; align-items: center; gap: 18px; padding: 22px; margin-bottom: 24px; border-radius: 20px; background: linear-gradient(115deg, color-mix(in srgb, var(--dnt-accent) 12%, transparent), color-mix(in srgb, var(--dnt-accent) 2%, transparent)); border: 1px solid var(--dnt-border); }
|
|
1063
1071
|
.dnt-mascot { box-sizing: border-box; width: 80px; height: 80px; padding: 8px; flex: none; border-radius: 22px; border: 1px solid var(--dnt-border); background: var(--dsw-alias-bg-layer-1, #fff); box-shadow: 0 3px 10px #00000006; }
|
|
1064
1072
|
.dnt-mascot-window { width: 100%; height: 100%; overflow: hidden; border-radius: 15px; background: #050505; }
|
|
@@ -1111,7 +1119,7 @@ window.__ModuleLoader__.load({
|
|
|
1111
1119
|
const state = props.useNotifyTray(snapshot => snapshot)
|
|
1112
1120
|
const busy = state.saving || state.dirty
|
|
1113
1121
|
const status = !state.available ? 'unavailable' : !state.writable ? 'readOnly' : state.notice?.kind === 'saveFailed' ? 'saveFailed' : state.invalid ? 'fixSettings' : state.saving ? 'saving' : state.dirty ? 'pendingSave' : 'autoSave'
|
|
1114
|
-
return h('div', { className: 'dnt-page' },
|
|
1122
|
+
return h('div', { className: props.close ? 'dnt-page dnt-settings' : 'dnt-page dnt-panel' },
|
|
1115
1123
|
h('style', null, PAGE_CSS),
|
|
1116
1124
|
h('div', { className: 'dnt-content' },
|
|
1117
1125
|
h('header', { className: 'dnt-hero' },
|
|
@@ -1142,6 +1150,9 @@ window.__ModuleLoader__.load({
|
|
|
1142
1150
|
const t = props.t
|
|
1143
1151
|
const state = props.useNotifyUpdate(snapshot => snapshot)
|
|
1144
1152
|
React.useEffect(() => { props.checkUpdate() }, [])
|
|
1153
|
+
const openUpdate = async () => {
|
|
1154
|
+
if (await props.openPluginUpdate()) props.close?.()
|
|
1155
|
+
}
|
|
1145
1156
|
const busy = state.phase === 'checking' || state.phase === 'opening'
|
|
1146
1157
|
return h(Section, { title: t('updateTitle'), icon: 'update' },
|
|
1147
1158
|
h('div', { className: 'dnt-update-row' },
|
|
@@ -1153,7 +1164,7 @@ window.__ModuleLoader__.load({
|
|
|
1153
1164
|
state.error ? h('p', { className: 'dnt-note', style: S.error, role: 'alert' }, state.error === 'updateSaveFirst' ? t(state.error) : state.error) : null),
|
|
1154
1165
|
h('div', { className: 'dnt-update-actions' },
|
|
1155
1166
|
h('button', { type: 'button', style: S.button, disabled: busy, onClick: props.checkUpdate }, t('checkUpdate')),
|
|
1156
|
-
state.phase === 'available' ? h('button', { type: 'button', style: { ...S.button, background: 'var(--dnt-accent)', color: '#fff', borderColor: 'transparent' }, onClick:
|
|
1167
|
+
state.phase === 'available' ? h('button', { type: 'button', style: { ...S.button, background: 'var(--dnt-accent)', color: '#fff', borderColor: 'transparent' }, onClick: openUpdate }, t('openPluginUpdate')) : null)),
|
|
1157
1168
|
['unavailable', 'manual', 'local'].includes(state.phase) ? null : h('p', { className: 'dnt-note', style: { marginTop: 12 } }, t('updateHint')))
|
|
1158
1169
|
}
|
|
1159
1170
|
|
|
@@ -1170,7 +1181,8 @@ window.__ModuleLoader__.load({
|
|
|
1170
1181
|
const features = (platform && FEATURES[platform]) || ALL_FEATURES
|
|
1171
1182
|
const t = platformT(props.t, platform)
|
|
1172
1183
|
const disabled = !state.writable
|
|
1173
|
-
const
|
|
1184
|
+
const idPrefix = props.close ? 'notify-tray-settings' : 'notify-tray'
|
|
1185
|
+
const common = { t, disabled, idPrefix, edit: props.edit, resetField: props.resetField, flush: props.flush }
|
|
1174
1186
|
const f = state.fields
|
|
1175
1187
|
const toggle = name => h(ToggleRow, { key: name, name, field: f[name], ...common })
|
|
1176
1188
|
const titleStyle = f.titleStyle.text || 'text'
|
|
@@ -1207,28 +1219,21 @@ window.__ModuleLoader__.load({
|
|
|
1207
1219
|
})
|
|
1208
1220
|
ctx.effect(() => () => updater.dispose(), 'notify-tray: updates')
|
|
1209
1221
|
ctx.effect(() => () => card.dispose(), 'notify-tray: settings form')
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
id: PANEL_ID,
|
|
1226
|
-
order: 11,
|
|
1227
|
-
label: () => t('title'),
|
|
1228
|
-
}, WhaleIcon))
|
|
1229
|
-
return () => { stopSidebar(); stopMain() }
|
|
1230
|
-
}), 'notify-tray: sidebar settings')
|
|
1231
|
-
})
|
|
1222
|
+
const injectPage = () => {
|
|
1223
|
+
const face = card.inject()
|
|
1224
|
+
return { ...face, hooks: { ...face.hooks, notifyUpdate: updater.store }, checkUpdate: () => updater.check(), openPluginUpdate: () => updater.open() }
|
|
1225
|
+
}
|
|
1226
|
+
const label = () => t('title')
|
|
1227
|
+
ctx.effect(() => ctx.configForms.whileServed([NS], () => {
|
|
1228
|
+
const register = (options, component) => ctx.slots.inject(options.name, () => ctx.slots.register(options, component))
|
|
1229
|
+
const stops = [
|
|
1230
|
+
register({ name: 'settings.section', id: PANEL_ID, order: 8, label, locale: LOCALE_NS, inject: injectPage }, Page),
|
|
1231
|
+
register({ name: 'settings.section.icon', id: PANEL_ID }, WhaleIcon),
|
|
1232
|
+
register({ name: 'main', key: PANEL_ID, locale: LOCALE_NS, inject: injectPage }, Page),
|
|
1233
|
+
register({ name: 'sidebar.panellist', id: PANEL_ID, order: 11, label }, WhaleIcon),
|
|
1234
|
+
]
|
|
1235
|
+
return () => { for (const stop of stops.reverse()) stop() }
|
|
1236
|
+
}), 'notify-tray: settings entries')
|
|
1232
1237
|
}
|
|
1233
1238
|
|
|
1234
1239
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-notify-tray",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"description": "DeepSeek Harness 通知 + 状态栏插件:任务完成、需要输入、需要选择时弹系统通知(macOS / Windows / Linux);macOS 与 Linux(含 UOS、Deepin、麒麟)状态栏常驻小图标,显示任务进度与花费。Windows 没有状态栏,只弹通知。",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"deepseek",
|