@benz-ai-x/dsh-research-graph 0.2.2-rc.1 → 0.2.2-rc.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.md CHANGED
@@ -43,7 +43,7 @@ flowchart LR
43
43
  </a>
44
44
  </p>
45
45
 
46
- Version 0.2.1-rc.3 with demo data. Click the image for the full-resolution screenshot.
46
+ Version 0.2.2-rc.2 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.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.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` |
70
+ | Plugin release | [0.2.2-rc.2](https://github.com/benz-ai-x/dsh-research-graph/releases/tag/v0.2.2-rc.2), npm `next` |
71
+ | Required Host | **DSH 0.2.2-rc.2 · 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.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.2-rc.1** (Node.js `>=24.9.0`), with both `dsh` and `pnpm` on your `PATH`. Stop any running `dsh web`, then run:
81
+ Requires **DSH 0.2.2-rc.2** (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.1
84
+ dsh plugin --profile web add @benz-ai-x/dsh-research-graph@0.2.2-rc.2
85
85
  dsh web
86
86
  ```
87
87
 
@@ -95,7 +95,8 @@ 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.2-rc.1` | `0.2.2-rc.1` | Current release — first adaptation of this DSH line; requires Node.js `>=24.9.0`; npm `next` |
98
+ | `0.2.2-rc.2` | `0.2.2-rc.2` | Current release — DSH rc.2 compatibility and Menu anchor migration; requires Node.js `>=24.9.0`; npm `next` |
99
+ | `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` |
99
100
  | `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
101
  | `0.2.1-rc.5.1` | `0.2.1-rc.5` | Native-style sidebar categories and footer view switching |
101
102
  | `0.2.1-rc.5` | `0.2.1-rc.5` | First adaptation of this DSH line |
@@ -127,4 +128,4 @@ Releases up to `0.1.5-rc.1` were also published under the previous package name
127
128
 
128
129
  ## Docs and support
129
130
 
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)
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.2.md) · [Report an issue](https://github.com/benz-ai-x/dsh-research-graph/issues)
package/README.zh.md CHANGED
@@ -43,7 +43,7 @@ flowchart LR
43
43
  </a>
44
44
  </p>
45
45
 
46
- 0.2.1-rc.3 的真实界面(演示数据),点击图片查看高清原图。
46
+ 0.2.2-rc.2 的真实界面(演示数据),点击图片查看高清原图。
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.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` |
69
+ | 当前插件 | [0.2.2-rc.2](https://github.com/benz-ai-x/dsh-research-graph/releases/tag/v0.2.2-rc.2),npm `next` |
70
+ | 适配宿主 | **DSH 0.2.2-rc.2 · 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.1**(Node.js `>=24.9.0`),并确保 `dsh`、`pnpm` 均在 `PATH` 中。如有正在运行的 `dsh web`,先停止,再执行:
80
+ 需要 **DSH 0.2.2-rc.2**(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.1
83
+ dsh plugin --profile web add @benz-ai-x/dsh-research-graph@0.2.2-rc.2
84
84
  dsh web
85
85
  ```
86
86
 
@@ -94,7 +94,8 @@ dsh web
94
94
 
95
95
  | 插件版本 | 要求的 DSH | 备注 |
96
96
  | --- | --- | --- |
97
- | `0.2.2-rc.1` | `0.2.2-rc.1` | 当前版本——该 DSH 线首次适配,要求 Node.js `>=24.9.0`;npm `next` |
97
+ | `0.2.2-rc.2` | `0.2.2-rc.2` | 当前版本——适配 DSH rc.2 并迁移 Menu 锚点,要求 Node.js `>=24.9.0`;npm `next` |
98
+ | `0.2.2-rc.1` | `0.2.2-rc.1` | DSH 0.2.2-rc.1 首次适配,要求 Node.js `>=24.9.0` |
98
99
  | `0.2.1-rc.5.2` | `0.2.1-rc.5` | **破坏性变更**:以自带侧栏替换官方侧栏并提供工作区文件夹(取代侧栏分类,旧分类数据保留但不再显示) |
99
100
  | `0.2.1-rc.5.1` | `0.2.1-rc.5` | 原生风格侧栏分类与底部视图切换 |
100
101
  | `0.2.1-rc.5` | `0.2.1-rc.5` | 该 DSH 线首次适配 |
@@ -126,4 +127,4 @@ dsh web
126
127
 
127
128
  ## 文档与支持
128
129
 
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)
130
+ [使用指南](docs/user-guide.zh.md) · [故障排查](docs/user-guide.zh.md#故障排查) · [开发与发布](docs/development.zh.md) · [发布验收](docs/reviews/release-0.2.2-rc.2.md) · [问题反馈](https://github.com/benz-ai-x/dsh-research-graph/issues)
package/lib/client.js CHANGED
@@ -122,9 +122,9 @@ window.__ModuleLoader__.load({
122
122
  /** Published package identity shown in the Graph header tooltip. */
123
123
  const SESSION_GRAPH_PACKAGE_NAME = "@benz-ai-x/dsh-research-graph";
124
124
  /** Package version from package.json at build time. */
125
- const SESSION_GRAPH_VERSION = "0.2.2-rc.1";
125
+ const SESSION_GRAPH_VERSION = "0.2.2-rc.2";
126
126
  /** Content-derived identifier for the exact local browser build. */
127
- const SESSION_GRAPH_BUILD_ID = "local-3e166337";
127
+ const SESSION_GRAPH_BUILD_ID = "local-1c4e78ae";
128
128
  /** Compact user-visible version badge. */
129
129
  const SESSION_GRAPH_BUILD_LABEL = `Research Graph v${SESSION_GRAPH_VERSION} · ${SESSION_GRAPH_BUILD_ID}`;
130
130
  /** Complete native-tooltip text for the version badge. */
@@ -14750,7 +14750,7 @@ window.__ModuleLoader__.load({
14750
14750
  };
14751
14751
  });
14752
14752
  }
14753
- // node_modules/.pnpm/@deepseek-ai+dsh-util-values@0.2.2-rc.1_@deepseek-ai+cordis@4.1.0/node_modules/@deepseek-ai/dsh-util-values/lib/index.js
14753
+ // node_modules/.pnpm/@deepseek-ai+dsh-util-values@0.2.2-rc.2_@deepseek-ai+cordis@4.1.0/node_modules/@deepseek-ai/dsh-util-values/lib/index.js
14754
14754
  /**
14755
14755
  * Lazily scanned view of one JSON object's top-level fields, built from text
14756
14756
  * that may still be streaming or from an already parsed object. Nothing is
@@ -15384,7 +15384,7 @@ window.__ModuleLoader__.load({
15384
15384
  const rendered = JSON.stringify(value) ?? String(value);
15385
15385
  throw new Error(`unreachable variant${context ? ` in ${context}` : ""}: ${rendered}`);
15386
15386
  }
15387
- // node_modules/.pnpm/@deepseek-ai+dsh-util-workspace-path@0.2.2-rc.1_@deepseek-ai+cordis@4.1.0/node_modules/@deepseek-ai/dsh-util-workspace-path/lib/index.js
15387
+ // node_modules/.pnpm/@deepseek-ai+dsh-util-workspace-path@0.2.2-rc.2_@deepseek-ai+cordis@4.1.0/node_modules/@deepseek-ai/dsh-util-workspace-path/lib/index.js
15388
15388
  /**
15389
15389
  * Browser-safe Workspace path and display helpers.
15390
15390
  * @module @deepseek-ai/dsh-util-workspace-path
@@ -17336,9 +17336,9 @@ window.__ModuleLoader__.load({
17336
17336
  * @returns menu + dialog elements.
17337
17337
  */
17338
17338
  function WorkspacePickFlow({ t, open, anchorRef, useWorkspaces, createWorkspace, useDirectoryFlow, renderDirectoryFlow, onPick, onClose, addOnly = false, onBusyChange, side = "bottom", selectedId }) {
17339
+ const absentAnchor = (0, react.useRef)(null);
17339
17340
  const workspaceSnapshot = useWorkspaces((state) => state);
17340
17341
  const workspaces = workspaceSnapshot.items;
17341
- const getAnchorRect = (0, react.useCallback)(() => anchorRef?.current?.getBoundingClientRect() ?? null, [anchorRef]);
17342
17342
  const [errorOpen, setErrorOpen] = (0, react.useState)(false);
17343
17343
  const [modalError, setModalError] = (0, react.useState)(null);
17344
17344
  const [flowOpen, setFlowOpen] = (0, react.useState)(false);
@@ -17431,7 +17431,7 @@ window.__ModuleLoader__.load({
17431
17431
  onClose,
17432
17432
  side,
17433
17433
  portal: true,
17434
- getAnchorRect
17434
+ anchorRef: anchorRef ?? absentAnchor
17435
17435
  }),
17436
17436
  open && !addIsTheOnlyEntry && !menuIsEmpty && workspaceSnapshot.phase === "pending" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
17437
17437
  className: WorkspacePicker_module_css_default.menuStatus,