dsh-sitmax 1.0.2 → 1.0.4
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 +19 -8
- package/package.json +7 -3
package/README.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
|
-
# dsh-sitmax
|
|
1
|
+
# dsh-sitmax
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/dsh-sitmax)
|
|
4
|
+
[](https://www.npmjs.com/package/dsh-sitmax)
|
|
5
|
+
|
|
6
|
+
DeepSeek Harness(DSH)插件:久坐提醒「跑道小人」。
|
|
7
|
+
|
|
8
|
+
久坐提醒插件:跑道环形 HUD 实时显示已坐时长,到点提醒你站起来,离开自动暂停,每天一份久坐报告。
|
|
4
9
|
|
|
5
10
|
- 顶部居中:**环形操场跑道**,一个小人沿跑道跑动(即本轮久坐进度,默认 15 分钟跑完一圈),跑道中心的沙金小字显示已坐时间 / 状态;
|
|
6
11
|
- 每连续坐 30 分钟弹出「该起来走走了」卡片(可休息 5 分钟 / 暂缓 5 分钟),附桌面系统通知 + 提示音;
|
|
@@ -19,18 +24,24 @@ DSH 插件包(npm bundle 形态,**自用、不分发**):久坐监督「
|
|
|
19
24
|
| `lib/client.js` | 构建产物(`build-client.cjs` 生成,随包发布) |
|
|
20
25
|
| `build-client.cjs` | 客户端 bundle 构建脚本(无外部构建依赖) |
|
|
21
26
|
|
|
22
|
-
## 安装 /
|
|
27
|
+
## 安装 / 升级
|
|
23
28
|
|
|
24
29
|
```powershell
|
|
25
|
-
#
|
|
26
|
-
dsh plugin --profile web add
|
|
30
|
+
# DSH 插件页 → 发现 → 搜索 dsh-sitmax → 安装;或命令行:
|
|
31
|
+
dsh plugin --profile web add dsh-sitmax
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
要求 DSH `>= 0.2.2-0 < 0.3.0`。纯客户端插件:安装后**刷新页面**即生效。
|
|
27
35
|
|
|
28
|
-
|
|
36
|
+
从源码运行(开发):
|
|
37
|
+
|
|
38
|
+
```powershell
|
|
39
|
+
git clone https://github.com/max-holo/dsh-sitmax.git
|
|
40
|
+
dsh plugin --profile web add <克隆目录>
|
|
41
|
+
# 改动 src-client/ 后重新构建,再刷新页面
|
|
29
42
|
node build-client.cjs
|
|
30
43
|
```
|
|
31
44
|
|
|
32
|
-
bundle 列表在 dsh web 启动时读取,安装/升级后需重启 dsh web 生效。
|
|
33
|
-
|
|
34
45
|
## 使用
|
|
35
46
|
|
|
36
47
|
- 点跑道:手动暂停 / 继续;
|
package/package.json
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-sitmax",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "DSH plugin bundle: anti-sedentary
|
|
3
|
+
"version": "1.0.4",
|
|
4
|
+
"description": "DSH plugin bundle: an anti-sedentary track-ring HUD — live sitting time, stand-up reminders with notification and sound, system-level idle auto-pause, and a daily sitting report.",
|
|
5
5
|
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/max-holo/dsh-sitmax.git"
|
|
9
|
+
},
|
|
6
10
|
"icon": "./icon.svg",
|
|
7
11
|
"type": "commonjs",
|
|
8
12
|
"main": "host.cjs",
|
|
@@ -26,7 +30,7 @@
|
|
|
26
30
|
],
|
|
27
31
|
"dependencies": {},
|
|
28
32
|
"engines": {
|
|
29
|
-
"dsh": ">=0.2.2 <0.3.0"
|
|
33
|
+
"dsh": ">=0.2.2-0 <0.3.0"
|
|
30
34
|
},
|
|
31
35
|
"dsh": {
|
|
32
36
|
"bundle": {
|