dsh-long-archive 2.0.0 → 2.0.1

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 CHANGED
@@ -26,18 +26,18 @@ Developed against `@deepseek-ai/dsh` **0.1.0-rc.6**. Relies on official internal
26
26
  From npm (one command):
27
27
 
28
28
  ```sh
29
- npx @deepseek-ai/dsh plugin --profile web add dsh-archive-manager
29
+ npx @deepseek-ai/dsh plugin --profile web add dsh-long-archive
30
30
  ```
31
31
 
32
32
  Or from a git checkout:
33
33
 
34
34
  ```sh
35
35
  # 1. Clone the repo — any location works; this is just an example
36
- git clone https://github.com/Jasonrale/dsh-archive-manager.git ~/dsh-archive-manager
36
+ git clone https://github.com/jackylong1987/dsh-long-archive.git ~/dsh-long-archive
37
37
 
38
38
  # 2. Register it (the profile is created automatically if missing;
39
39
  # replace the path with the one YOU cloned to)
40
- npx @deepseek-ai/dsh plugin --profile web add ~/dsh-archive-manager
40
+ npx @deepseek-ai/dsh plugin --profile web add ~/dsh-long-archive
41
41
 
42
42
  # 3. Restart dsh web
43
43
  ```
@@ -47,14 +47,14 @@ npx @deepseek-ai/dsh plugin --profile web add ~/dsh-archive-manager
47
47
  A local install is a snapshot, not a live link — after changing the plugin sources, re-register:
48
48
 
49
49
  ```sh
50
- npx @deepseek-ai/dsh plugin --profile web remove dsh-archive-manager
51
- npx @deepseek-ai/dsh plugin --profile web add ~/dsh-archive-manager
50
+ npx @deepseek-ai/dsh plugin --profile web remove dsh-long-archive
51
+ npx @deepseek-ai/dsh plugin --profile web add ~/dsh-long-archive
52
52
  ```
53
53
 
54
54
  ## Uninstall
55
55
 
56
56
  ```sh
57
- npx @deepseek-ai/dsh plugin --profile web remove dsh-archive-manager
57
+ npx @deepseek-ai/dsh plugin --profile web remove dsh-long-archive
58
58
  ```
59
59
 
60
60
  Then restart dsh web (the source directory can be kept or deleted).
package/README.zh.md ADDED
@@ -0,0 +1,52 @@
1
+ # dsh-long-archive
2
+
3
+ [English](README.md) | 中文
4
+
5
+ [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) WebUI 的归档会话管理插件:侧栏底部“已归档”入口,按工作区分组的归档面板,支持打开继续对话、恢复、删除(完整停止 live agent + 物理删除日志)。
6
+
7
+ 原生 DSH 只有“归档”动作(把会话从侧栏隐藏),没有任何查看/恢复/删除归档会话的入口——本插件补上这一块。
8
+
9
+ ## 功能
10
+
11
+ - **归档列表**——侧栏底部新增“已归档”入口,打开面板按工作区分组浏览,视觉与官方侧栏一致
12
+ - **继续对话**——点击归档会话直接打开,接着聊;归档状态不变
13
+ - **恢复(取消归档)**——一键把会话放回原工作区,位置不变
14
+ - **彻底删除**——先安全停止会话,再删除磁盘上的完整记录;删除前弹确认框
15
+ - **搜索**——按标题、工作区名即时过滤,还能搜索对话消息(你的提问和助手回复);与官方搜索行为一致
16
+ - **视图同步**——按工作区 / 单列表分组、手动 / 最近更新排序、拖拽调整顺序,全部与官方侧栏实时双向同步
17
+ - **双语界面**——中英文自动跟随系统语言
18
+ - 会话状态一目了然:运行中 / 已完成 / 等待你操作,与官方一致
19
+
20
+ ## 兼容性
21
+
22
+ 针对 `@deepseek-ai/dsh` **0.1.0-rc.6** 开发。依赖官方内部形态(`workspaceRegistry.enqueueOperation`、`AgentHandle.dispose`、client runtime 服务形状),dsh 升级可能需要适配——升级后若行为异常请先确认本仓库是否已跟进新版本。
23
+
24
+ ## 安装
25
+
26
+ 从 npm 安装:
27
+
28
+ ```sh
29
+ npx @deepseek-ai/dsh plugin --profile web add dsh-long-archive
30
+ ```
31
+
32
+ ### 更新
33
+
34
+ ```sh
35
+ npx @deepseek-ai/dsh plugin --profile web update dsh-long-archive
36
+ ```
37
+
38
+ ## 卸载
39
+
40
+ ```sh
41
+ npx @deepseek-ai/dsh plugin --profile web remove dsh-long-archive
42
+ ```
43
+
44
+ 然后重启 dsh web。
45
+
46
+ ## 已知限制
47
+
48
+ - 若在本插件**热重载**时有会话正在运行,这些会话之后将无法删除——插件会明确拒绝并提示先重启 dsh。普通使用不受影响:装好即用,包括安装插件之前就已归档的会话,全部可以查看、继续、恢复和删除
49
+
50
+ ## License
51
+
52
+ MIT
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dsh-long-archive",
3
3
  "description": "Archived-session manager for DSH Web: sidebar footer entry, grouped archive panel, restore/delete with full agent teardown (DSH 0.1.5-rc.2 适配版)",
4
- "version": "2.0.0",
4
+ "version": "2.0.1",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
@@ -49,7 +49,7 @@
49
49
  ],
50
50
  "repository": {
51
51
  "type": "git",
52
- "url": "git+https://github.com/Jasonrale/dsh-archive-manager.git"
52
+ "url": "git+https://github.com/jackylong1987/dsh-long-archive.git"
53
53
  },
54
54
  "keywords": [
55
55
  "dsh",
@@ -61,5 +61,9 @@
61
61
  "license": "MIT",
62
62
  "engines": {
63
63
  "node": ">=22"
64
+ },
65
+ "homepage": "https://github.com/jackylong1987/dsh-long-archive#readme",
66
+ "bugs": {
67
+ "url": "https://github.com/jackylong1987/dsh-long-archive/issues"
64
68
  }
65
69
  }