@benz-ai-x/dsh-research-graph 0.2.1-rc.5.1 → 0.2.2-rc.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 +10 -8
- package/README.zh.md +10 -8
- package/THIRD-PARTY-NOTICES.md +34 -2
- package/cordis.patch.yml +9 -1
- package/lib/client.js +9485 -4798
- package/lib/client.js.map +1 -1
- package/lib/index.js +197 -214
- package/lib/migrate-merge-history.js +5325 -2537
- package/lib/types/client.d.ts +12 -13
- package/lib/types/index.d.ts +24 -45
- package/lib/types/{research-relations-Df-z3mct.d.ts → research-relations-RSWlj5-q.d.ts} +0 -26
- package/package.json +21 -13
package/README.md
CHANGED
|
@@ -53,7 +53,7 @@ Version 0.2.1-rc.3 with demo data. Click the image for the full-resolution scree
|
|
|
53
53
|
| Capability | What you can do |
|
|
54
54
|
| --- | --- |
|
|
55
55
|
| **Research graph** | Organize discussions, inspect branches and merges; drag, collapse, and relayout; cards show turn counts and the inspector reports Session stats |
|
|
56
|
-
| **
|
|
56
|
+
| **Own sidebar with Workspace folders** | Replaces the official sidebar with this package's copy and adds user-created folders inside each Workspace: create/rename/delete from the workspace menu, drag Sessions in or out, native row menus everywhere. Uninstalling the plugin restores the official sidebar |
|
|
57
57
|
| **Source tracing** | Search discussion text and return to the exact original turns |
|
|
58
58
|
| **Knowledge capture** | Save conclusions, conditions, and open questions; edit through new revisions |
|
|
59
59
|
| **AI analysis** | Extract selected discussion and compare 2–3 materials; review before saving |
|
|
@@ -67,9 +67,9 @@ Version 0.2.1-rc.3 with demo data. Click the image for the full-resolution scree
|
|
|
67
67
|
|
|
68
68
|
| Item | Details |
|
|
69
69
|
| --- | --- |
|
|
70
|
-
| Plugin release | [0.2.
|
|
71
|
-
| Required Host | **DSH 0.2.
|
|
72
|
-
| Data | Research records and
|
|
70
|
+
| Plugin release | [0.2.2-rc.1](https://github.com/benz-ai-x/dsh-research-graph/releases/tag/v0.2.2-rc.1), npm `next` |
|
|
71
|
+
| Required Host | **DSH 0.2.2-rc.1 · Web**, Node.js `>=24.9.0` |
|
|
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) |
|
|
75
75
|
| Stack and license | TypeScript · React · [MIT](LICENSE) |
|
|
@@ -78,10 +78,10 @@ Version 0.2.1-rc.3 with demo data. Click the image for the full-resolution scree
|
|
|
78
78
|
|
|
79
79
|
## Quick start
|
|
80
80
|
|
|
81
|
-
Requires **DSH 0.2.
|
|
81
|
+
Requires **DSH 0.2.2-rc.1** (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.
|
|
84
|
+
dsh plugin --profile web add @benz-ai-x/dsh-research-graph@0.2.2-rc.1
|
|
85
85
|
dsh web
|
|
86
86
|
```
|
|
87
87
|
|
|
@@ -95,7 +95,9 @@ Every npm release of the current package name, with its required DSH Host (taken
|
|
|
95
95
|
|
|
96
96
|
| Plugin release | Required DSH | Notes |
|
|
97
97
|
| --- | --- | --- |
|
|
98
|
-
| `0.2.
|
|
98
|
+
| `0.2.2-rc.1` | `0.2.2-rc.1` | Current release — first adaptation of this DSH line; requires Node.js `>=24.9.0`; npm `next` |
|
|
99
|
+
| `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) |
|
|
100
|
+
| `0.2.1-rc.5.1` | `0.2.1-rc.5` | Native-style sidebar categories and footer view switching |
|
|
99
101
|
| `0.2.1-rc.5` | `0.2.1-rc.5` | First adaptation of this DSH line |
|
|
100
102
|
| `0.2.1-rc.4` | `0.2.1-rc.4` | First adaptation of this DSH line |
|
|
101
103
|
| `0.2.1-rc.3.1` | `0.2.1-rc.3` | Workspace-owned sidebar categories |
|
|
@@ -125,4 +127,4 @@ Releases up to `0.1.5-rc.1` were also published under the previous package name
|
|
|
125
127
|
|
|
126
128
|
## Docs and support
|
|
127
129
|
|
|
128
|
-
[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.
|
|
130
|
+
[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.1.md) · [Report an issue](https://github.com/benz-ai-x/dsh-research-graph/issues)
|
package/README.zh.md
CHANGED
|
@@ -52,7 +52,7 @@ flowchart LR
|
|
|
52
52
|
| 能力 | 你可以做什么 |
|
|
53
53
|
| --- | --- |
|
|
54
54
|
| **图谱组织** | 组织讨论、查看分支与汇聚,支持拖动、折叠与重排;卡片直读轮数,详情展示会话统计 |
|
|
55
|
-
|
|
|
55
|
+
| **自有侧栏与工作区文件夹** | 以本包自带的侧栏替换官方侧栏,并支持在工作区内自建文件夹:通过工作区菜单新建/重命名/删除,拖拽会话移入移出,所有会话行保留原生菜单。卸载插件即还原官方侧栏 |
|
|
56
56
|
| **来源追溯** | 检索讨论正文,按准确轮次回到原文 |
|
|
57
57
|
| **知识沉淀** | 保存结论、适用条件与待验证问题,编辑形成新修订 |
|
|
58
58
|
| **AI 归纳** | 提炼选定原文,对照 2–3 份材料,审核后保存 |
|
|
@@ -66,9 +66,9 @@ flowchart LR
|
|
|
66
66
|
|
|
67
67
|
| 项目 | 说明 |
|
|
68
68
|
| --- | --- |
|
|
69
|
-
| 当前插件 | [0.2.
|
|
70
|
-
| 适配宿主 | **DSH 0.2.
|
|
71
|
-
| 数据保存 |
|
|
69
|
+
| 当前插件 | [0.2.2-rc.1](https://github.com/benz-ai-x/dsh-research-graph/releases/tag/v0.2.2-rc.1),npm `next` |
|
|
70
|
+
| 适配宿主 | **DSH 0.2.2-rc.1 · Web**,Node.js `>=24.9.0` |
|
|
71
|
+
| 数据保存 | 研究数据与工作区文件夹保存在 DSH Host;视图偏好和工作位置保存在浏览器,主题排列需显式保存 |
|
|
72
72
|
| 模型调用 | 浏览、手工留卡、导出不调用模型;AI 生成与新讨论按需调用 |
|
|
73
73
|
| Agent 能力 | 模型、工具、预设与 Agent 执行由 DSH 提供;插件不内置预设或 Agent Team 启动器。[详细说明](docs/user-guide.zh.md#dsh-与-agent-预设) |
|
|
74
74
|
| 技术与许可 | TypeScript · React · [MIT](LICENSE) |
|
|
@@ -77,10 +77,10 @@ flowchart LR
|
|
|
77
77
|
|
|
78
78
|
## 快速开始
|
|
79
79
|
|
|
80
|
-
需要 **DSH 0.2.
|
|
80
|
+
需要 **DSH 0.2.2-rc.1**(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.
|
|
83
|
+
dsh plugin --profile web add @benz-ai-x/dsh-research-graph@0.2.2-rc.1
|
|
84
84
|
dsh web
|
|
85
85
|
```
|
|
86
86
|
|
|
@@ -94,7 +94,9 @@ dsh web
|
|
|
94
94
|
|
|
95
95
|
| 插件版本 | 要求的 DSH | 备注 |
|
|
96
96
|
| --- | --- | --- |
|
|
97
|
-
| `0.2.
|
|
97
|
+
| `0.2.2-rc.1` | `0.2.2-rc.1` | 当前版本——该 DSH 线首次适配,要求 Node.js `>=24.9.0`;npm `next` |
|
|
98
|
+
| `0.2.1-rc.5.2` | `0.2.1-rc.5` | **破坏性变更**:以自带侧栏替换官方侧栏并提供工作区文件夹(取代侧栏分类,旧分类数据保留但不再显示) |
|
|
99
|
+
| `0.2.1-rc.5.1` | `0.2.1-rc.5` | 原生风格侧栏分类与底部视图切换 |
|
|
98
100
|
| `0.2.1-rc.5` | `0.2.1-rc.5` | 该 DSH 线首次适配 |
|
|
99
101
|
| `0.2.1-rc.4` | `0.2.1-rc.4` | 该 DSH 线首次适配 |
|
|
100
102
|
| `0.2.1-rc.3.1` | `0.2.1-rc.3` | 工作区侧栏分类 |
|
|
@@ -124,4 +126,4 @@ dsh web
|
|
|
124
126
|
|
|
125
127
|
## 文档与支持
|
|
126
128
|
|
|
127
|
-
[使用指南](docs/user-guide.zh.md) · [故障排查](docs/user-guide.zh.md#故障排查) · [开发与发布](docs/development.zh.md) · [发布验收](docs/reviews/release-0.2.
|
|
129
|
+
[使用指南](docs/user-guide.zh.md) · [故障排查](docs/user-guide.zh.md#故障排查) · [开发与发布](docs/development.zh.md) · [发布验收](docs/reviews/release-0.2.2-rc.1.md) · [问题反馈](https://github.com/benz-ai-x/dsh-research-graph/issues)
|
package/THIRD-PARTY-NOTICES.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Bundled dependency notices
|
|
2
2
|
|
|
3
|
-
The browser module bundles clsx. The offline history recovery command bundles
|
|
3
|
+
The browser module bundles clsx plus `@deepseek-ai/dsh-util-values` and `@deepseek-ai/dsh-util-workspace-path`, and includes the vendored sidebar/workspace client code below. The offline history recovery command bundles additional Harness libraries and their utility dependencies. The bundled `@deepseek-ai/dsh-*` libraries are aligned to DSH `0.2.1-rc.5`.
|
|
4
4
|
|
|
5
5
|
## @deepseek-ai/cordis, @deepseek-ai/cosmokit, @deepseek-ai/schemastery
|
|
6
6
|
|
|
@@ -28,7 +28,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
28
28
|
SOFTWARE.
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
## @deepseek-ai/dsh-brand, @deepseek-ai/dsh-llm, @deepseek-ai/dsh-session, @deepseek-ai/dsh-session-format, @deepseek-ai/dsh-session-format-catalog, @deepseek-ai/dsh-session-format-v0-to-v1, @deepseek-ai/dsh-session-format-v1-to-v2, @deepseek-ai/dsh-session-format-v2-to-v3, @deepseek-ai/dsh-timeout, @deepseek-ai/dsh-typert-protocol, @deepseek-ai/dsh-util-values
|
|
31
|
+
## @deepseek-ai/dsh-brand, @deepseek-ai/dsh-llm, @deepseek-ai/dsh-session, @deepseek-ai/dsh-session-format, @deepseek-ai/dsh-session-format-catalog, @deepseek-ai/dsh-session-format-v0-to-v1, @deepseek-ai/dsh-session-format-v1-to-v2, @deepseek-ai/dsh-session-format-v2-to-v3, @deepseek-ai/dsh-timeout, @deepseek-ai/dsh-typert-protocol, @deepseek-ai/dsh-util-values, @deepseek-ai/dsh-util-workspace-path
|
|
32
32
|
|
|
33
33
|
```text
|
|
34
34
|
MIT License
|
|
@@ -67,3 +67,35 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
67
67
|
|
|
68
68
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
69
69
|
```
|
|
70
|
+
|
|
71
|
+
## DeepSeek Harness sidebar and workspace client code
|
|
72
|
+
|
|
73
|
+
The `src/client/sidebar/` and `src/client/workspace/` directories vendor the
|
|
74
|
+
browser halves of `@deepseek-ai/dsh-client-ui-sidebar` and
|
|
75
|
+
`@deepseek-ai/dsh-client-ui-workspace` from the DeepSeek Harness monorepo
|
|
76
|
+
(tag `dsh-v0.2.1-rc.5`), modified as recorded in `VENDORED.md`. The upstream
|
|
77
|
+
license:
|
|
78
|
+
|
|
79
|
+
```text
|
|
80
|
+
MIT License
|
|
81
|
+
|
|
82
|
+
Copyright (c) 2026 DeepSeek
|
|
83
|
+
|
|
84
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
85
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
86
|
+
in the Software without restriction, including without limitation the rights
|
|
87
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
88
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
89
|
+
furnished to do so, subject to the following conditions:
|
|
90
|
+
|
|
91
|
+
The above copyright notice and this permission notice shall be included in
|
|
92
|
+
all copies or substantial portions of the Software.
|
|
93
|
+
|
|
94
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
95
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
96
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
97
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
98
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
99
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
100
|
+
SOFTWARE.
|
|
101
|
+
```
|
package/cordis.patch.yml
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
# Optional Web Profile Bundle: add the Research Graph view
|
|
1
|
+
# Optional Web Profile Bundle: add the Research Graph view and let this
|
|
2
|
+
# package's vendored sidebar + workspace browsing halves replace the official
|
|
3
|
+
# client plugins. Bundle patch layers apply after the shipped web-app layers,
|
|
4
|
+
# so these overrides disable the official rows while this bundle is enabled;
|
|
5
|
+
# uninstalling it restores the official sidebar.
|
|
6
|
+
- id: ui-sidebar
|
|
7
|
+
disabled: true
|
|
8
|
+
- id: ui-workspace
|
|
9
|
+
disabled: true
|
|
2
10
|
- insert:
|
|
3
11
|
- id: ui-session-graph
|
|
4
12
|
name: '@benz-ai-x/dsh-research-graph'
|