dsh-workbench-message 0.0.0-stage → 0.1.0
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/LICENSE +21 -0
- package/README.md +26 -2
- package/cordis.patch.yml +7 -0
- package/lib/client.js +3798 -0
- package/lib/db/db.js +110 -0
- package/lib/domain/messages.js +374 -0
- package/lib/index.js +149 -0
- package/lib/infra/config.js +280 -0
- package/lib/infra/data.js +216 -0
- package/package.json +92 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 ityq777
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,27 @@
|
|
|
1
|
-
#
|
|
1
|
+
# dsh-workbench-message
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
个人工作台消息插件:统一消息发送入口、收件箱、未读统计与提示音
|
|
4
|
+
|
|
5
|
+
## 安装
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
dsh plugin --profile web add dsh-workbench-message
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
安装或升级后按 DSH 提示重启/刷新。
|
|
12
|
+
|
|
13
|
+
消息只保存在本机,不参与云端同步,也不进入备份导出;已读消息默认 30 天后清理。
|
|
14
|
+
|
|
15
|
+
## 兼容性
|
|
16
|
+
|
|
17
|
+
- DSH:`>=0.2.0-rc.1 <0.3.0`
|
|
18
|
+
- Node:`>=22.5`
|
|
19
|
+
|
|
20
|
+
## 仓库
|
|
21
|
+
|
|
22
|
+
- 源码入口:https://github.com/ityyq777/dsh-workbench
|
|
23
|
+
- 问题反馈:https://github.com/ityyq777/dsh-workbench/issues
|
|
24
|
+
|
|
25
|
+
## 许可
|
|
26
|
+
|
|
27
|
+
MIT
|