dsh-memory-cloud 1.0.0 → 1.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.
Files changed (2) hide show
  1. package/README.md +22 -3
  2. package/package.json +18 -6
package/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # dsh-memory-cloud
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/dsh-memory-cloud.svg)](https://www.npmjs.com/package/dsh-memory-cloud)
4
+ [![license](https://img.shields.io/npm/l/dsh-memory-cloud.svg)](./LICENSE)
5
+
3
6
  把当前 DSH(DeepSeek Harness)的**全部会话记忆**聚合成一幅可交互的 **3D 星云图**,并提供「神经元信号」皮肤切换。
4
7
 
5
8
  DSH 没有独立的记忆库:每一条持久记忆都是 `$DSH_HOME/sessions` 里某个会话日志中的一条已提交事件。本插件冷读所有 `session.v4.jsonl.zstd`(concatenated zstd frames 包裹的 JSONL),把每个会话折叠成一个记忆星云团,再依据 fork 血缘、共同话题、同工作区、共享工具与时间邻近计算会话之间的关联边,最后用纯 Canvas 2D 自实现的 3D 投影渲染。
@@ -27,14 +30,24 @@ DSH 没有独立的记忆库:每一条持久记忆都是 `$DSH_HOME/sessions`
27
30
 
28
31
  ## 安装
29
32
 
30
- 在 DSH 中安装本地 bundle:
33
+ 已发布到 npm:**<https://www.npmjs.com/package/dsh-memory-cloud>**
34
+
35
+ ```bash
36
+ # 方式一:DSH CLI
37
+ dsh plugin --profile web add dsh-memory-cloud
31
38
 
39
+ # 方式二:在 DSH 对话里让 agent 安装
40
+ plugin_manager install_bundle dsh-memory-cloud
32
41
  ```
42
+
43
+ 也可以在 **Settings → Plugins** 里安装。安装后 bundle 会在当前 profile 全局启用。
44
+
45
+ 本地开发时改成安装目录即可(该方式为软链接,改动即时生效):
46
+
47
+ ```bash
33
48
  plugin_manager install_bundle D:\dsh-memory-cloud
34
49
  ```
35
50
 
36
- 或在插件管理界面选择该目录安装。安装后 bundle 会在当前 profile 全局启用。
37
-
38
51
  安装成功后,从左侧栏底部的「记忆星云」按钮打开;也可直接访问:
39
52
 
40
53
  ```
@@ -43,6 +56,12 @@ http://127.0.0.1:3080/memory-cloud/
43
56
 
44
57
  > 该 URL 无需 DSH Web GUI 的启动 token(插件路由自带 Host 头校验,仅允许 localhost)。
45
58
 
59
+ ## 卸载
60
+
61
+ ```bash
62
+ dsh plugin --profile web remove dsh-memory-cloud
63
+ ```
64
+
46
65
  ## 结构
47
66
 
48
67
  | 文件 | 作用 |
package/package.json CHANGED
@@ -1,13 +1,18 @@
1
1
  {
2
2
  "name": "dsh-memory-cloud",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "type": "module",
5
5
  "description": "Visualize every DSH session memory as an interactive 3D nebula, with a neuron-signal skin and zoom-driven detail levels.",
6
6
  "license": "MIT",
7
7
  "author": "faruzanCN",
8
8
  "homepage": "https://github.com/faruzanCN/dsh-memory-cloud#readme",
9
- "repository": { "type": "git", "url": "git+https://github.com/faruzanCN/dsh-memory-cloud.git" },
10
- "bugs": { "url": "https://github.com/faruzanCN/dsh-memory-cloud/issues" },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/faruzanCN/dsh-memory-cloud.git"
12
+ },
13
+ "bugs": {
14
+ "url": "https://github.com/faruzanCN/dsh-memory-cloud/issues"
15
+ },
11
16
  "keywords": [
12
17
  "dsh",
13
18
  "dsh-plugin",
@@ -19,7 +24,9 @@
19
24
  "canvas",
20
25
  "3d"
21
26
  ],
22
- "engines": { "node": ">=22.15.0" },
27
+ "engines": {
28
+ "node": ">=22.15.0"
29
+ },
23
30
  "exports": {
24
31
  ".": "./index.js",
25
32
  "./client": "./client.js",
@@ -43,11 +50,16 @@
43
50
  "assets/*"
44
51
  ],
45
52
  "dsh": {
46
- "bundle": { "patch": "./cordis.patch.yml" },
53
+ "bundle": {
54
+ "patch": "./cordis.patch.yml"
55
+ },
47
56
  "client": {
48
57
  "platform": "web",
49
58
  "immediately": true,
50
- "inject": ["@deepseek-ai/dsh-client-ui-layout", "@deepseek-ai/dsh-client-ui-sidebar"]
59
+ "inject": [
60
+ "@deepseek-ai/dsh-client-ui-layout",
61
+ "@deepseek-ai/dsh-client-ui-sidebar"
62
+ ]
51
63
  }
52
64
  }
53
65
  }