@lijian-ui/dsh-session-cleaner 0.1.0 → 0.1.2
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 +4 -2
- package/README.md +4 -2
- package/lib/client.js +737 -630
- package/lib/index.js +83 -30
- package/package.json +87 -87
- /package/lib/{index-DdPrDbW6.d.ts → index.d.ts} +0 -0
package/README.en.md
CHANGED
|
@@ -24,8 +24,10 @@ dsh plugin --profile web add @lijian-ui/dsh-session-cleaner
|
|
|
24
24
|
|
|
25
25
|
Open Settings → **会话管理** (Session Manager) after starting dsh:
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+

|
|
28
|
+
|
|
29
|
+
- Top: session count and total disk usage; upper-right **刷新** (Refresh) re-scans / **打开配置文件** (Open config file) reveals the official `workspace.json`
|
|
30
|
+
- Tabs: 全部 (All) / 已归档 (Archived) / 游离 (Orphan) — with live count badges
|
|
29
31
|
- Each row: **click** → preview dialog (title, ID, created time, size + recent conversation); row buttons: **归档** (Archive — hides in the official list instantly) / **恢复** (Restore) / **删除** (Delete — confirm dialog, real delete)
|
|
30
32
|
- The preview dialog also has a "删除此会话" (Delete this session) entry
|
|
31
33
|
|
package/README.md
CHANGED
|
@@ -23,8 +23,10 @@ dsh plugin --profile web add @lijian-ui/dsh-session-cleaner
|
|
|
23
23
|
|
|
24
24
|
启动 dsh 后打开设置 → **会话管理**:
|
|
25
25
|
|
|
26
|
-
-
|
|
27
|
-
|
|
26
|
+

|
|
27
|
+
|
|
28
|
+
- 顶部:会话总数与总占用,右上「刷新」重新扫描 / 「打开配置文件」定位官方 workspace.json
|
|
29
|
+
- 标签页:全部 / 已归档 / 游离(数字徽标实时统计)
|
|
28
30
|
- 每行:**点击** → 预览弹窗(标题、ID、创建时间、大小 + 最近对话);行内按钮:**归档**(官方列表即时隐藏)/ **恢复**(移出归档)/ **删除**(二次确认,真删除)
|
|
29
31
|
- 预览弹窗底部也有「删除此会话」入口
|
|
30
32
|
|