dsh-session-autarchive 0.1.1 → 0.1.3
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 +8 -1
- package/README.md +10 -1
- package/package.json +4 -3
package/README.en.md
CHANGED
|
@@ -29,7 +29,7 @@ dsh plugin --profile desktop add github:taoziliyouchong/dsh-session-autarchive
|
|
|
29
29
|
|
|
30
30
|
Restart DSH afterwards. Replace `desktop` with your own profile name if you use another one.
|
|
31
31
|
|
|
32
|
-
Compatible with DSH 0.2.1
|
|
32
|
+
Compatible with the DSH 0.2.1 line (alpha / rc / stable); 0.3 and later are not guaranteed.
|
|
33
33
|
|
|
34
34
|
Once published to npm, this also works:
|
|
35
35
|
|
|
@@ -99,6 +99,13 @@ npm run check # syntax
|
|
|
99
99
|
|
|
100
100
|
The smoke run uses a temporary `$DSH_HOME`; it never reads or changes your session data. Build rules: keep `react` and `react/jsx-runtime` external (the DSH client module table provides them); the `id` inside the `window.__ModuleLoader__.load({ id, factory })` envelope must equal the package name.
|
|
101
101
|
|
|
102
|
+
## Feedback
|
|
103
|
+
|
|
104
|
+
- Open an issue: https://github.com/taoziliyouchong/dsh-session-autarchive/issues — searchable, and others can help.
|
|
105
|
+
- Or reach me on QQ: **2171960697** (mention which plugin you installed when adding the contact).
|
|
106
|
+
|
|
107
|
+
Please include: DSH version, plugin version, the exact error text, and a screenshot.
|
|
108
|
+
|
|
102
109
|
## License
|
|
103
110
|
|
|
104
111
|
MIT
|
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@ dsh plugin --profile desktop add github:taoziliyouchong/dsh-session-autarchive
|
|
|
29
29
|
|
|
30
30
|
装完重启 DSH。用别的 profile 就把 `desktop` 换成你的 profile 名。
|
|
31
31
|
|
|
32
|
-
兼容:DSH 0.2.1
|
|
32
|
+
兼容:DSH 0.2.1 系列(alpha / rc / 正式版均可);0.3 起不保证。
|
|
33
33
|
|
|
34
34
|
发布到 npm 之后也可以:
|
|
35
35
|
|
|
@@ -99,6 +99,15 @@ npm run check # 语法
|
|
|
99
99
|
|
|
100
100
|
冒烟全程用临时 `$DSH_HOME`,不读也不改你的会话数据。打包要求:`react` 与 `react/jsx-runtime` 保持 external(由 DSH 客户端模块表提供);产物外壳 `window.__ModuleLoader__.load({ id, factory })` 里的 `id` 必须等于包名。
|
|
101
101
|
|
|
102
|
+
## 反馈
|
|
103
|
+
|
|
104
|
+
插件有问题,按这个顺序:
|
|
105
|
+
|
|
106
|
+
1. 开 Issue:https://github.com/taoziliyouchong/dsh-session-autarchive/issues —— 能留痕、能搜历史,别人也可能已经遇过;
|
|
107
|
+
2. 急着问或不想开 Issue,QQ 号:**2171960697**(加好友请注明装的是哪个插件)。
|
|
108
|
+
|
|
109
|
+
反馈时带上:DSH 版本、插件版本、报错原文、截图。少一样多半要再问一轮。
|
|
110
|
+
|
|
102
111
|
## 许可
|
|
103
112
|
|
|
104
113
|
MIT
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-session-autarchive",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.1.3",
|
|
4
|
+
"description": "把长期没动过的会话自动归档(默认 5 天),单个会话可以标成不归档。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"exports": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
],
|
|
25
25
|
"engines": {
|
|
26
26
|
"node": "^22.19.0 || >=24.0.0",
|
|
27
|
-
"dsh": ">=0.2.1-
|
|
27
|
+
"dsh": ">=0.2.1-0 <0.3.0-0"
|
|
28
28
|
},
|
|
29
29
|
"dsh": {
|
|
30
30
|
"client": {
|
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"esbuild": "^0.28.1"
|
|
55
55
|
},
|
|
56
|
+
"author": "taoziliyouchong",
|
|
56
57
|
"license": "MIT",
|
|
57
58
|
"repository": {
|
|
58
59
|
"type": "git",
|