@benz-ai-x/dsh-research-graph 0.2.2-rc.2 → 0.2.2-rc.3.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 +13 -36
- package/README.zh.md +13 -36
- package/lib/client.js +279 -63
- package/lib/client.js.map +1 -1
- package/lib/index.js +587 -203
- package/lib/migrate-merge-history.js +16 -16
- package/lib/types/client.d.ts +20 -1
- package/lib/types/index.d.ts +36 -1
- package/lib/types/{research-relations-RSWlj5-q.d.ts → research-relations-BiHS4ABw.d.ts} +32 -1
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -39,11 +39,11 @@ flowchart LR
|
|
|
39
39
|
|
|
40
40
|
<p align="center">
|
|
41
41
|
<a href="docs/assets/readme/research-workbench.png">
|
|
42
|
-
<img src="docs/assets/readme/research-workbench.png" alt="Research workbench
|
|
42
|
+
<img src="docs/assets/readme/research-workbench.png" alt="Research workbench showing a Workspace graph with session cards, branches, and the minimap" width="100%" />
|
|
43
43
|
</a>
|
|
44
44
|
</p>
|
|
45
45
|
|
|
46
|
-
Version 0.2.2-rc.
|
|
46
|
+
Version 0.2.2-rc.3.1 with demo data. Click the image for the full-resolution screenshot.
|
|
47
47
|
|
|
48
48
|
<a id="features"></a>
|
|
49
49
|
<a id="what-it-adds"></a>
|
|
@@ -67,8 +67,8 @@ Version 0.2.2-rc.2 with demo data. Click the image for the full-resolution scree
|
|
|
67
67
|
|
|
68
68
|
| Item | Details |
|
|
69
69
|
| --- | --- |
|
|
70
|
-
| Plugin release | [0.2.2-rc.
|
|
71
|
-
| Required Host | **DSH 0.2.2-rc.
|
|
70
|
+
| Plugin release | [0.2.2-rc.3.1](https://github.com/benz-ai-x/dsh-research-graph/releases/tag/v0.2.2-rc.3.1), npm `next` |
|
|
71
|
+
| Required Host | **DSH 0.2.2-rc.3 · Web**, Node.js `>=24.9.0` |
|
|
72
72
|
| Data | Research records and Workspace folders live on the DSH Host; view preferences and working positions stay in the browser, and Topic arrangements require explicit saving |
|
|
73
73
|
| Model calls | Browsing, manual capture, and export make no model call; AI generation and new discussions use models on demand |
|
|
74
74
|
| Agent capabilities | DSH provides models, tools, presets, and agent execution; this plugin includes no preset or Agent Team launcher. [Details](docs/user-guide.md#dsh-and-agent-presets) |
|
|
@@ -78,10 +78,10 @@ Version 0.2.2-rc.2 with demo data. Click the image for the full-resolution scree
|
|
|
78
78
|
|
|
79
79
|
## Quick start
|
|
80
80
|
|
|
81
|
-
Requires **DSH 0.2.2-rc.
|
|
81
|
+
Requires **DSH 0.2.2-rc.3** (Node.js `>=24.9.0`), with both `dsh` and `pnpm` on your `PATH`. Stop any running `dsh web`, then run:
|
|
82
82
|
|
|
83
83
|
```sh
|
|
84
|
-
dsh plugin --profile web add @benz-ai-x/dsh-research-graph@0.2.2-rc.
|
|
84
|
+
dsh plugin --profile web add @benz-ai-x/dsh-research-graph@0.2.2-rc.3.1
|
|
85
85
|
dsh web
|
|
86
86
|
```
|
|
87
87
|
|
|
@@ -91,41 +91,18 @@ Open the login URL printed in the terminal, enter a **non-blank Session**, and s
|
|
|
91
91
|
|
|
92
92
|
## Installable versions
|
|
93
93
|
|
|
94
|
-
|
|
94
|
+
Install a release that matches your DSH Host with `dsh plugin --profile web add @benz-ai-x/dsh-research-graph@<version>`. Each release pins its Host through the exact `@deepseek-ai/dsh-llm` peer, enforced when the profile starts.
|
|
95
95
|
|
|
96
96
|
| Plugin release | Required DSH | Notes |
|
|
97
97
|
| --- | --- | --- |
|
|
98
|
-
| `0.2.2-rc.
|
|
98
|
+
| `0.2.2-rc.3.1` | `0.2.2-rc.3` | Current release — restores Branch links for independent ordinary forks; requires Node.js `>=24.9.0`; npm `next` |
|
|
99
|
+
| `0.2.2-rc.3` | `0.2.2-rc.3` | Reusable Workspace picker Factory and New Session HOC; requires Node.js `>=24.9.0` |
|
|
100
|
+
| `0.2.2-rc.2` | `0.2.2-rc.2` | Previous release — DSH rc.2 compatibility and Menu anchor migration; requires Node.js `>=24.9.0` |
|
|
99
101
|
| `0.2.2-rc.1` | `0.2.2-rc.1` | First adaptation of DSH 0.2.2-rc.1; requires Node.js `>=24.9.0` |
|
|
100
102
|
| `0.2.1-rc.5.2` | `0.2.1-rc.5` | **Breaking change**: replaces the official sidebar with the vendored copy and Workspace folders (supersedes sidebar categories; old category data stays dormant) |
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
| `0.2.1-rc.4` | `0.2.1-rc.4` | First adaptation of this DSH line |
|
|
104
|
-
| `0.2.1-rc.3.1` | `0.2.1-rc.3` | Workspace-owned sidebar categories |
|
|
105
|
-
| `0.2.1-rc.3` | `0.2.1-rc.3` | First release of this DSH line |
|
|
106
|
-
| `0.2.1-rc.1` | `0.2.1-rc.1` | |
|
|
107
|
-
| `0.2.1-alpha.5` | `0.2.1-alpha.5` | |
|
|
108
|
-
| `0.2.1-alpha.2.1` | `0.2.1-alpha.2` | Merge model selection and rename fix |
|
|
109
|
-
| `0.2.1-alpha.2` | `0.2.1-alpha.2` | |
|
|
110
|
-
| `0.2.1-alpha.1` | `0.2.1-alpha.1` | |
|
|
111
|
-
| `0.2.0-rc.2.1` | `0.2.0-rc.2` | Same-line revision (workbench design refresh) |
|
|
112
|
-
| `0.2.0-rc.2` | `0.2.0-rc.2` | First release of that DSH line |
|
|
113
|
-
| `0.1.7-rc.2` | `0.1.7-rc.2` | |
|
|
114
|
-
| `0.1.7-rc.1` | `0.1.7-rc.1` | |
|
|
115
|
-
| `0.1.6-alpha.2` | `0.1.6-alpha.2` | |
|
|
116
|
-
| `0.1.5-rc.2.8` | `0.1.5-rc.2` | |
|
|
117
|
-
| `0.1.5-rc.2.7` | `0.1.5-rc.2` | |
|
|
118
|
-
| `0.1.5-rc.2.6` | `0.1.5-rc.2` | |
|
|
119
|
-
| `0.1.5-rc.2.5` | `0.1.5-rc.2` | |
|
|
120
|
-
| `0.1.5-rc.2.4` | `0.1.5-rc.2` | |
|
|
121
|
-
| `0.1.5-rc.2.3` | `0.1.5-rc.2` | |
|
|
122
|
-
| `0.1.5-rc.2.2` | `0.1.5-rc.2` | |
|
|
123
|
-
| `0.1.5-rc.2.1` | `0.1.5-rc.2` | |
|
|
124
|
-
| `0.1.5-rc.2` | `0.1.5-rc.2` | |
|
|
125
|
-
| `0.1.5-rc.1` | `0.1.5-rc.1` | First release under the current package name; npm `latest` |
|
|
126
|
-
|
|
127
|
-
Releases up to `0.1.5-rc.1` were also published under the previous package name `@benz-ai-x/dsh-client-ui-session-graph`, whose earlier `0.1.1`–`0.1.6` line predates the DSH-aligned release policy. A release loads only on its pinned DSH Host (profile boot enforces the exact peer check), so pick the row matching your DSH installation.
|
|
103
|
+
|
|
104
|
+
See the [full release history](https://github.com/benz-ai-x/dsh-research-graph/releases) or [all npm versions](https://www.npmjs.com/package/@benz-ai-x/dsh-research-graph/versions) for older Host lines and package names.
|
|
128
105
|
|
|
129
106
|
## Docs and support
|
|
130
107
|
|
|
131
|
-
[User guide](docs/user-guide.md) · [Troubleshooting](docs/user-guide.md#troubleshooting) · [Development and release](docs/development.md) · [Release acceptance](docs/reviews/release-0.2.2-rc.
|
|
108
|
+
[User guide](docs/user-guide.md) · [Troubleshooting](docs/user-guide.md#troubleshooting) · [Development and release](docs/development.md) · [Release acceptance](docs/reviews/release-0.2.2-rc.3.1.md) · [Report an issue](https://github.com/benz-ai-x/dsh-research-graph/issues)
|
package/README.zh.md
CHANGED
|
@@ -39,11 +39,11 @@ flowchart LR
|
|
|
39
39
|
|
|
40
40
|
<p align="center">
|
|
41
41
|
<a href="docs/assets/readme/research-workbench.png">
|
|
42
|
-
<img src="docs/assets/readme/research-workbench.png" alt="
|
|
42
|
+
<img src="docs/assets/readme/research-workbench.png" alt="研图工作台:工作区会话卡片、分支关系与迷你地图" width="100%" />
|
|
43
43
|
</a>
|
|
44
44
|
</p>
|
|
45
45
|
|
|
46
|
-
0.2.2-rc.
|
|
46
|
+
0.2.2-rc.3.1 的真实界面(演示数据),点击图片查看高清原图。
|
|
47
47
|
|
|
48
48
|
<a id="核心能力"></a>
|
|
49
49
|
|
|
@@ -66,8 +66,8 @@ flowchart LR
|
|
|
66
66
|
|
|
67
67
|
| 项目 | 说明 |
|
|
68
68
|
| --- | --- |
|
|
69
|
-
| 当前插件 | [0.2.2-rc.
|
|
70
|
-
| 适配宿主 | **DSH 0.2.2-rc.
|
|
69
|
+
| 当前插件 | [0.2.2-rc.3.1](https://github.com/benz-ai-x/dsh-research-graph/releases/tag/v0.2.2-rc.3.1),npm `next` |
|
|
70
|
+
| 适配宿主 | **DSH 0.2.2-rc.3 · Web**,Node.js `>=24.9.0` |
|
|
71
71
|
| 数据保存 | 研究数据与工作区文件夹保存在 DSH Host;视图偏好和工作位置保存在浏览器,主题排列需显式保存 |
|
|
72
72
|
| 模型调用 | 浏览、手工留卡、导出不调用模型;AI 生成与新讨论按需调用 |
|
|
73
73
|
| Agent 能力 | 模型、工具、预设与 Agent 执行由 DSH 提供;插件不内置预设或 Agent Team 启动器。[详细说明](docs/user-guide.zh.md#dsh-与-agent-预设) |
|
|
@@ -77,10 +77,10 @@ flowchart LR
|
|
|
77
77
|
|
|
78
78
|
## 快速开始
|
|
79
79
|
|
|
80
|
-
需要 **DSH 0.2.2-rc.
|
|
80
|
+
需要 **DSH 0.2.2-rc.3**(Node.js `>=24.9.0`),并确保 `dsh`、`pnpm` 均在 `PATH` 中。如有正在运行的 `dsh web`,先停止,再执行:
|
|
81
81
|
|
|
82
82
|
```sh
|
|
83
|
-
dsh plugin --profile web add @benz-ai-x/dsh-research-graph@0.2.2-rc.
|
|
83
|
+
dsh plugin --profile web add @benz-ai-x/dsh-research-graph@0.2.2-rc.3.1
|
|
84
84
|
dsh web
|
|
85
85
|
```
|
|
86
86
|
|
|
@@ -90,41 +90,18 @@ dsh web
|
|
|
90
90
|
|
|
91
91
|
## 可安装版本
|
|
92
92
|
|
|
93
|
-
|
|
93
|
+
请按本机 DSH 宿主版本安装:`dsh plugin --profile web add @benz-ai-x/dsh-research-graph@<版本>`。每个版本都通过精确的 `@deepseek-ai/dsh-llm` peer 钉版,profile 启动时会强制校验。
|
|
94
94
|
|
|
95
95
|
| 插件版本 | 要求的 DSH | 备注 |
|
|
96
96
|
| --- | --- | --- |
|
|
97
|
-
| `0.2.2-rc.
|
|
97
|
+
| `0.2.2-rc.3.1` | `0.2.2-rc.3` | 当前版本——恢复独立普通 fork 的分支连线,要求 Node.js `>=24.9.0`;npm `next` |
|
|
98
|
+
| `0.2.2-rc.3` | `0.2.2-rc.3` | 可复用 Workspace Picker Factory 与新会话 HOC,要求 Node.js `>=24.9.0` |
|
|
99
|
+
| `0.2.2-rc.2` | `0.2.2-rc.2` | 上一版本——适配 DSH rc.2 并迁移 Menu 锚点,要求 Node.js `>=24.9.0` |
|
|
98
100
|
| `0.2.2-rc.1` | `0.2.2-rc.1` | DSH 0.2.2-rc.1 首次适配,要求 Node.js `>=24.9.0` |
|
|
99
101
|
| `0.2.1-rc.5.2` | `0.2.1-rc.5` | **破坏性变更**:以自带侧栏替换官方侧栏并提供工作区文件夹(取代侧栏分类,旧分类数据保留但不再显示) |
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
| `0.2.1-rc.4` | `0.2.1-rc.4` | 该 DSH 线首次适配 |
|
|
103
|
-
| `0.2.1-rc.3.1` | `0.2.1-rc.3` | 工作区侧栏分类 |
|
|
104
|
-
| `0.2.1-rc.3` | `0.2.1-rc.3` | 该 DSH 线首个版本 |
|
|
105
|
-
| `0.2.1-rc.1` | `0.2.1-rc.1` | |
|
|
106
|
-
| `0.2.1-alpha.5` | `0.2.1-alpha.5` | |
|
|
107
|
-
| `0.2.1-alpha.2.1` | `0.2.1-alpha.2` | 汇聚模型选择与改名修复 |
|
|
108
|
-
| `0.2.1-alpha.2` | `0.2.1-alpha.2` | |
|
|
109
|
-
| `0.2.1-alpha.1` | `0.2.1-alpha.1` | |
|
|
110
|
-
| `0.2.0-rc.2.1` | `0.2.0-rc.2` | 同线修订(工作台设计刷新) |
|
|
111
|
-
| `0.2.0-rc.2` | `0.2.0-rc.2` | 该 DSH 线首个版本 |
|
|
112
|
-
| `0.1.7-rc.2` | `0.1.7-rc.2` | |
|
|
113
|
-
| `0.1.7-rc.1` | `0.1.7-rc.1` | |
|
|
114
|
-
| `0.1.6-alpha.2` | `0.1.6-alpha.2` | |
|
|
115
|
-
| `0.1.5-rc.2.8` | `0.1.5-rc.2` | |
|
|
116
|
-
| `0.1.5-rc.2.7` | `0.1.5-rc.2` | |
|
|
117
|
-
| `0.1.5-rc.2.6` | `0.1.5-rc.2` | |
|
|
118
|
-
| `0.1.5-rc.2.5` | `0.1.5-rc.2` | |
|
|
119
|
-
| `0.1.5-rc.2.4` | `0.1.5-rc.2` | |
|
|
120
|
-
| `0.1.5-rc.2.3` | `0.1.5-rc.2` | |
|
|
121
|
-
| `0.1.5-rc.2.2` | `0.1.5-rc.2` | |
|
|
122
|
-
| `0.1.5-rc.2.1` | `0.1.5-rc.2` | |
|
|
123
|
-
| `0.1.5-rc.2` | `0.1.5-rc.2` | |
|
|
124
|
-
| `0.1.5-rc.1` | `0.1.5-rc.1` | 当前包名下首个版本;npm `latest` |
|
|
125
|
-
|
|
126
|
-
至 `0.1.5-rc.1` 为止的版本也曾以旧包名 `@benz-ai-x/dsh-client-ui-session-graph` 发布,其更早的 `0.1.1`–`0.1.6` 线早于 DSH 对齐的发布政策。每个版本只在其钉版的 DSH 宿主上加载(profile 启动时执行精确 peer 校验),请按本机 DSH 版本选择对应行。
|
|
102
|
+
|
|
103
|
+
更早的宿主版本与历史包名请查[完整发布记录](https://github.com/benz-ai-x/dsh-research-graph/releases)或 [npm 全部版本](https://www.npmjs.com/package/@benz-ai-x/dsh-research-graph/versions)。
|
|
127
104
|
|
|
128
105
|
## 文档与支持
|
|
129
106
|
|
|
130
|
-
[使用指南](docs/user-guide.zh.md) · [故障排查](docs/user-guide.zh.md#故障排查) · [开发与发布](docs/development.zh.md) · [发布验收](docs/reviews/release-0.2.2-rc.
|
|
107
|
+
[使用指南](docs/user-guide.zh.md) · [故障排查](docs/user-guide.zh.md#故障排查) · [开发与发布](docs/development.zh.md) · [发布验收](docs/reviews/release-0.2.2-rc.3.1.md) · [问题反馈](https://github.com/benz-ai-x/dsh-research-graph/issues)
|