@benz-ai-x/dsh-research-graph 0.2.2-rc.1 → 0.2.2-rc.3
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 +78 -45
- package/lib/client.js.map +1 -1
- package/lib/migrate-merge-history.js +321 -125
- package/package.json +13 -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.
|
|
46
|
+
Version 0.2.2-rc.3 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.
|
|
71
|
-
| Required Host | **DSH 0.2.2-rc.
|
|
70
|
+
| Plugin release | [0.2.2-rc.3](https://github.com/benz-ai-x/dsh-research-graph/releases/tag/v0.2.2-rc.3), npm `latest` / `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.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.
|
|
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
|
|
85
85
|
dsh web
|
|
86
86
|
```
|
|
87
87
|
|
|
@@ -91,40 +91,17 @@ 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` | `0.2.2-rc.3` | Current release — reusable Workspace picker Factory and New Session HOC; requires Node.js `>=24.9.0`; npm `latest` / `next` |
|
|
99
|
+
| `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` |
|
|
100
|
+
| `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
101
|
| `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
|
-
|
|
102
|
-
| `0.2.1-rc.4` | `0.2.1-rc.4` | First adaptation of this DSH line |
|
|
103
|
-
| `0.2.1-rc.3.1` | `0.2.1-rc.3` | Workspace-owned sidebar categories |
|
|
104
|
-
| `0.2.1-rc.3` | `0.2.1-rc.3` | First release of this DSH line |
|
|
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` | Merge model selection and rename fix |
|
|
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` | Same-line revision (workbench design refresh) |
|
|
111
|
-
| `0.2.0-rc.2` | `0.2.0-rc.2` | First release of that DSH line |
|
|
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` | First release under the current package name; npm `latest` |
|
|
125
|
-
|
|
126
|
-
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.
|
|
102
|
+
|
|
103
|
+
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.
|
|
127
104
|
|
|
128
105
|
## Docs and support
|
|
129
106
|
|
|
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.
|
|
107
|
+
[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.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.
|
|
46
|
+
0.2.2-rc.3 的真实界面(演示数据),点击图片查看高清原图。
|
|
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](https://github.com/benz-ai-x/dsh-research-graph/releases/tag/v0.2.2-rc.3),npm `latest` / `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
|
|
84
84
|
dsh web
|
|
85
85
|
```
|
|
86
86
|
|
|
@@ -90,40 +90,17 @@ 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` | `0.2.2-rc.3` | 当前版本——可复用 Workspace Picker Factory 与新会话 HOC,要求 Node.js `>=24.9.0`;npm `latest` / `next` |
|
|
98
|
+
| `0.2.2-rc.2` | `0.2.2-rc.2` | 上一版本——适配 DSH rc.2 并迁移 Menu 锚点,要求 Node.js `>=24.9.0` |
|
|
99
|
+
| `0.2.2-rc.1` | `0.2.2-rc.1` | DSH 0.2.2-rc.1 首次适配,要求 Node.js `>=24.9.0` |
|
|
98
100
|
| `0.2.1-rc.5.2` | `0.2.1-rc.5` | **破坏性变更**:以自带侧栏替换官方侧栏并提供工作区文件夹(取代侧栏分类,旧分类数据保留但不再显示) |
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
| `0.2.1-rc.4` | `0.2.1-rc.4` | 该 DSH 线首次适配 |
|
|
102
|
-
| `0.2.1-rc.3.1` | `0.2.1-rc.3` | 工作区侧栏分类 |
|
|
103
|
-
| `0.2.1-rc.3` | `0.2.1-rc.3` | 该 DSH 线首个版本 |
|
|
104
|
-
| `0.2.1-rc.1` | `0.2.1-rc.1` | |
|
|
105
|
-
| `0.2.1-alpha.5` | `0.2.1-alpha.5` | |
|
|
106
|
-
| `0.2.1-alpha.2.1` | `0.2.1-alpha.2` | 汇聚模型选择与改名修复 |
|
|
107
|
-
| `0.2.1-alpha.2` | `0.2.1-alpha.2` | |
|
|
108
|
-
| `0.2.1-alpha.1` | `0.2.1-alpha.1` | |
|
|
109
|
-
| `0.2.0-rc.2.1` | `0.2.0-rc.2` | 同线修订(工作台设计刷新) |
|
|
110
|
-
| `0.2.0-rc.2` | `0.2.0-rc.2` | 该 DSH 线首个版本 |
|
|
111
|
-
| `0.1.7-rc.2` | `0.1.7-rc.2` | |
|
|
112
|
-
| `0.1.7-rc.1` | `0.1.7-rc.1` | |
|
|
113
|
-
| `0.1.6-alpha.2` | `0.1.6-alpha.2` | |
|
|
114
|
-
| `0.1.5-rc.2.8` | `0.1.5-rc.2` | |
|
|
115
|
-
| `0.1.5-rc.2.7` | `0.1.5-rc.2` | |
|
|
116
|
-
| `0.1.5-rc.2.6` | `0.1.5-rc.2` | |
|
|
117
|
-
| `0.1.5-rc.2.5` | `0.1.5-rc.2` | |
|
|
118
|
-
| `0.1.5-rc.2.4` | `0.1.5-rc.2` | |
|
|
119
|
-
| `0.1.5-rc.2.3` | `0.1.5-rc.2` | |
|
|
120
|
-
| `0.1.5-rc.2.2` | `0.1.5-rc.2` | |
|
|
121
|
-
| `0.1.5-rc.2.1` | `0.1.5-rc.2` | |
|
|
122
|
-
| `0.1.5-rc.2` | `0.1.5-rc.2` | |
|
|
123
|
-
| `0.1.5-rc.1` | `0.1.5-rc.1` | 当前包名下首个版本;npm `latest` |
|
|
124
|
-
|
|
125
|
-
至 `0.1.5-rc.1` 为止的版本也曾以旧包名 `@benz-ai-x/dsh-client-ui-session-graph` 发布,其更早的 `0.1.1`–`0.1.6` 线早于 DSH 对齐的发布政策。每个版本只在其钉版的 DSH 宿主上加载(profile 启动时执行精确 peer 校验),请按本机 DSH 版本选择对应行。
|
|
101
|
+
|
|
102
|
+
更早的宿主版本与历史包名请查[完整发布记录](https://github.com/benz-ai-x/dsh-research-graph/releases)或 [npm 全部版本](https://www.npmjs.com/package/@benz-ai-x/dsh-research-graph/versions)。
|
|
126
103
|
|
|
127
104
|
## 文档与支持
|
|
128
105
|
|
|
129
|
-
[使用指南](docs/user-guide.zh.md) · [故障排查](docs/user-guide.zh.md#故障排查) · [开发与发布](docs/development.zh.md) · [发布验收](docs/reviews/release-0.2.2-rc.
|
|
106
|
+
[使用指南](docs/user-guide.zh.md) · [故障排查](docs/user-guide.zh.md#故障排查) · [开发与发布](docs/development.zh.md) · [发布验收](docs/reviews/release-0.2.2-rc.3.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.
|
|
125
|
+
const SESSION_GRAPH_VERSION = "0.2.2-rc.3";
|
|
126
126
|
/** Content-derived identifier for the exact local browser build. */
|
|
127
|
-
const SESSION_GRAPH_BUILD_ID = "local-
|
|
127
|
+
const SESSION_GRAPH_BUILD_ID = "local-70cd4182";
|
|
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. */
|
|
@@ -14032,7 +14032,7 @@ window.__ModuleLoader__.load({
|
|
|
14032
14032
|
});
|
|
14033
14033
|
}
|
|
14034
14034
|
// \0dsh-session-graph-css:/home/runner/work/dsh-research-graph/dsh-research-graph/src/client/sidebar/SidebarRoot.module.css.mjs
|
|
14035
|
-
const css$4 = ".WeoXxG_root{--dsh-sidebar-inline-padding:12px;height:100%;padding:6px var(--dsh-sidebar-inline-padding);box-sizing:border-box;background:var(--dsw-specific-sidebar-fill);color:var(--dsw-alias-label-primary);--dsh-scrollbar-thumb:var(--dsw-alias-scrollbar-bg-l2);--dsh-scrollbar-thumb-hover:var(--dsw-alias-scrollbar-hover-l2);flex-direction:column;font-size:14px;display:flex}[data-platform=darwin] .WeoXxG_root{background:0 0}.WeoXxG_root.WeoXxG_collapsed{padding:18px 10px 6px}[data-windows-titlebar] .WeoXxG_root .WeoXxG_logoRow{height:40px;margin:0;padding:0}[data-windows-titlebar] .WeoXxG_toggle{top:calc((var(--dsh-windows-titlebar-height) - 28px) / 2);z-index:30;-webkit-app-region:no-drag;position:fixed;left:12px}[data-windows-titlebar] .WeoXxG_root.WeoXxG_collapsed .WeoXxG_logoRow{height:0}[data-windows-titlebar] .WeoXxG_root:not(.WeoXxG_collapsed) .WeoXxG_brand{padding-left:4px}[data-windows-titlebar] .WeoXxG_brandIdentity{transform:translateY(1px)}[data-windows-titlebar] .WeoXxG_brandMark{transform:translate(1px)}[data-windows-titlebar] .WeoXxG_brandName{font-weight:400}[data-windows-titlebar] .WeoXxG_root.WeoXxG_collapsed{padding:0}[data-windows-titlebar] .WeoXxG_root:not(.WeoXxG_collapsed) .WeoXxG_newSession{margin-top:8px;margin-left:0}[data-windows-titlebar] .WeoXxG_collapsed .WeoXxG_panelList,[data-windows-titlebar] .WeoXxG_collapsed .WeoXxG_regionArea,[data-windows-titlebar] .WeoXxG_collapsed .WeoXxG_footArea{display:none}html[data-windows-titlebar]:has([data-sidebar-collapsed=true]){--dsh-windows-menu-start:84px}[data-windows-titlebar] .WeoXxG_collapsed .WeoXxG_newSession{top:calc((var(--dsh-windows-titlebar-height) - 28px) / 2);z-index:30;-webkit-app-region:no-drag;border:none;margin:0;padding:0;position:fixed;left:48px}[data-windows-titlebar] .WeoXxG_railIn .WeoXxG_iconButton,[data-windows-titlebar] .WeoXxG_railIn .WeoXxG_newSession{animation:none}[data-windows-titlebar] .WeoXxG_collapsed .WeoXxG_toggle,[data-windows-titlebar] .WeoXxG_collapsed .WeoXxG_newSession{border-radius:var(--dsw-radius-sm);width:28px;height:28px;color:var(--dsw-alias-label-secondary)}[data-windows-titlebar] .WeoXxG_collapsed .WeoXxG_toggle .WeoXxG_panelIcon{display:inline}.WeoXxG_root.WeoXxG_quietBars{--dsh-scrollbar-thumb:transparent;--dsh-scrollbar-thumb-hover:transparent}.WeoXxG_fading>*{opacity:0;transition:opacity .15s var(--ds-ease-in-out)}.WeoXxG_wide{animation:WeoXxG_wide-in .2s var(--ds-ease-in-out)}@keyframes WeoXxG_wide-in{0%{opacity:0}}.WeoXxG_railIn .WeoXxG_iconButton,.WeoXxG_railIn .
|
|
14035
|
+
const css$4 = ".WeoXxG_root{--dsh-sidebar-inline-padding:12px;height:100%;padding:6px var(--dsh-sidebar-inline-padding);box-sizing:border-box;background:var(--dsw-specific-sidebar-fill);color:var(--dsw-alias-label-primary);--dsh-scrollbar-thumb:var(--dsw-alias-scrollbar-bg-l2);--dsh-scrollbar-thumb-hover:var(--dsw-alias-scrollbar-hover-l2);flex-direction:column;font-size:14px;display:flex}[data-platform=darwin] .WeoXxG_root{background:0 0}.WeoXxG_root.WeoXxG_collapsed{padding:18px 10px 6px}[data-windows-titlebar] .WeoXxG_root .WeoXxG_logoRow{height:40px;margin:0;padding:0}[data-windows-titlebar] .WeoXxG_toggle{top:calc((var(--dsh-windows-titlebar-height) - 28px) / 2);z-index:30;-webkit-app-region:no-drag;position:fixed;left:12px}[data-windows-titlebar] .WeoXxG_root.WeoXxG_collapsed .WeoXxG_logoRow{height:0}[data-windows-titlebar] .WeoXxG_root:not(.WeoXxG_collapsed) .WeoXxG_brand{padding-left:4px}[data-windows-titlebar] .WeoXxG_brandIdentity{transform:translateY(1px)}[data-windows-titlebar] .WeoXxG_brandMark{transform:translate(1px)}[data-windows-titlebar] .WeoXxG_brandName{font-weight:400}[data-windows-titlebar] .WeoXxG_root.WeoXxG_collapsed{padding:0}[data-windows-titlebar] .WeoXxG_root:not(.WeoXxG_collapsed) .WeoXxG_newSession{margin-top:8px;margin-left:0}[data-windows-titlebar] .WeoXxG_collapsed .WeoXxG_panelList,[data-windows-titlebar] .WeoXxG_collapsed .WeoXxG_regionArea,[data-windows-titlebar] .WeoXxG_collapsed .WeoXxG_footArea{display:none}html[data-windows-titlebar]:has([data-sidebar-collapsed=true]){--dsh-windows-menu-start:84px}[data-windows-titlebar] .WeoXxG_collapsed .WeoXxG_newSession{top:calc((var(--dsh-windows-titlebar-height) - 28px) / 2);z-index:30;-webkit-app-region:no-drag;border:none;margin:0;padding:0;position:fixed;left:48px}[data-windows-titlebar] .WeoXxG_railIn .WeoXxG_iconButton,[data-windows-titlebar] .WeoXxG_railIn .WeoXxG_newSession{animation:none}[data-windows-titlebar] .WeoXxG_collapsed .WeoXxG_toggle,[data-windows-titlebar] .WeoXxG_collapsed .WeoXxG_newSession{border-radius:var(--dsw-radius-sm);width:28px;height:28px;color:var(--dsw-alias-label-secondary)}[data-windows-titlebar] .WeoXxG_collapsed .WeoXxG_toggle .WeoXxG_panelIcon{display:inline}.WeoXxG_root.WeoXxG_quietBars{--dsh-scrollbar-thumb:transparent;--dsh-scrollbar-thumb-hover:transparent}.WeoXxG_fading>*{opacity:0;transition:opacity .15s var(--ds-ease-in-out)}.WeoXxG_wide{animation:WeoXxG_wide-in .2s var(--ds-ease-in-out)}@keyframes WeoXxG_wide-in{0%{opacity:0}}.WeoXxG_railIn .WeoXxG_iconButton,.WeoXxG_railIn .WeoXxG_newSessionRow>[data-slot=\"sidebar.session.action\"]>*,.WeoXxG_railIn .WeoXxG_panelList,.WeoXxG_railIn .WeoXxG_regionArea{animation:WeoXxG_rail-in .15s var(--ds-ease-in-out) backwards}.WeoXxG_railIn .WeoXxG_footArea{animation:WeoXxG_rail-fade-in .15s var(--ds-ease-in-out) backwards}@keyframes WeoXxG_rail-in{0%{opacity:0;transform:translate(49px)}}@keyframes WeoXxG_rail-fade-in{0%{opacity:0}}.WeoXxG_topStrip{box-sizing:border-box;height:52px;margin:-6px calc(-1 * var(--dsh-sidebar-inline-padding)) 0;flex:none;justify-content:flex-end;align-items:center;padding:0 12px 2px;display:flex}[data-fullscreen] .WeoXxG_topStrip{justify-content:flex-start}.WeoXxG_topStrip+.WeoXxG_logoRow{margin-top:-12px}.WeoXxG_logoRow{box-sizing:border-box;flex:none;justify-content:flex-end;align-items:center;gap:8px;height:60px;margin-bottom:4px;padding:8px 0 8px 4px;display:flex;overflow:hidden}.WeoXxG_collapsed .WeoXxG_logoRow{justify-content:flex-start;height:36px;margin-bottom:12px;padding:0;overflow:visible}.WeoXxG_brand{min-width:0;color:inherit;cursor:pointer;background:0 0;border:none;flex:1;align-items:center;padding:0;display:inline-flex;overflow:hidden}[data-platform=darwin] .WeoXxG_brand{cursor:default}.WeoXxG_brandIdentity{align-items:center;gap:8px;min-width:0;height:24px;display:inline-flex}.WeoXxG_brandMark{flex:none;justify-content:center;align-items:center;display:inline-flex}.WeoXxG_brandName{letter-spacing:.04em;align-items:center;gap:6px;min-width:0;height:24px;font-size:18px;font-weight:600;line-height:24px;display:inline-flex}.WeoXxG_fallbackBrandName{letter-spacing:0;white-space:nowrap;font-size:17px}.WeoXxG_localBuildBrand{white-space:nowrap;flex-direction:column;flex:none;justify-content:center;align-items:flex-start;gap:1px;height:24px;display:inline-flex}.WeoXxG_localBuildTitle{letter-spacing:0;font-size:12px;line-height:13px}.WeoXxG_iconButton{border-radius:var(--dsw-radius-sm);cursor:pointer;width:28px;height:28px;color:var(--dsw-alias-label-secondary);background:0 0;border:none;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex;position:relative}.WeoXxG_iconButton:hover{background:var(--dsw-alias-interactive-bg-hover)}.WeoXxG_iconButton.WeoXxG_toggle:focus-visible{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-2px}.WeoXxG_collapsed .WeoXxG_iconButton{border-radius:var(--dsw-radius-md);width:36px;height:36px}.WeoXxG_collapsed .WeoXxG_toggle .WeoXxG_panelIcon{display:none}.WeoXxG_collapsed .WeoXxG_toggle:hover .WeoXxG_panelIcon{display:inline}.WeoXxG_collapsed .WeoXxG_toggle:hover .WeoXxG_railMark{display:none}.WeoXxG_railMark{justify-content:center;align-items:center;display:inline-flex}.WeoXxG_collapsed .WeoXxG_iconButton{color:var(--dsw-alias-label-primary)}.WeoXxG_buildVersion{height:10px;color:var(--dsw-alias-label-primary-inverted);background:var(--dsw-alias-label-primary);font-family:var(--ds-font-family-code);white-space:nowrap;border-radius:2px;flex:none;align-items:center;padding:0 3px;font-size:6px;font-weight:500;line-height:10px;display:inline-flex}.WeoXxG_newSessionRow{flex:none;align-items:center;gap:6px;margin:0 2px;display:flex}.WeoXxG_newSession{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l3);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-button-elevated-fill);min-width:0;height:38px;color:var(--dsw-alias-label-primary);cursor:pointer;flex:auto;justify-content:center;align-items:center;gap:0;margin:0;padding:8px 12px;font-size:14px;font-weight:500;line-height:22px;display:flex;position:relative;overflow:hidden;container-type:inline-size}.WeoXxG_newSession:hover{background:var(--dsw-alias-button-floating-hover)}[data-platform=darwin] .WeoXxG_newSession{background:#ffffff8c}[data-platform=darwin] .WeoXxG_newSession:hover{background:#ffffff4d}[data-platform=darwin] [data-ds-dark-theme] .WeoXxG_newSession{background:#ffffff26}[data-platform=darwin] [data-ds-dark-theme] .WeoXxG_newSession:hover{background:#fff3}.WeoXxG_collapsed .WeoXxG_newSessionRow{flex-direction:column;align-items:flex-start;gap:4px;margin:0 0 12px}.WeoXxG_collapsed .WeoXxG_newSession{background:0 0;border-color:#0000;flex:none;align-self:flex-start;gap:0;width:36px;height:36px;margin:0;padding:0}.WeoXxG_collapsed .WeoXxG_newSession:hover{background:var(--dsw-alias-interactive-bg-hover)}.WeoXxG_newSessionLabel{white-space:nowrap;max-width:200px;overflow:hidden}.WeoXxG_collapsed .WeoXxG_newSessionLabel{max-width:0}.WeoXxG_newSessionLabelMask{flex:1;min-width:0}.WeoXxG_newSession:is(:hover,:focus-visible) .WeoXxG_newSessionLabelMask:has(+.WeoXxG_newSessionShortcut){overflow:hidden;mask-image:linear-gradient(90deg,#000 calc(100% - 16px),#0000)}.WeoXxG_newSessionContent{justify-content:center;align-items:center;gap:6px;width:100cqw;display:flex}.WeoXxG_newSessionContent>svg{flex:none}.WeoXxG_newSessionShortcut{opacity:0;pointer-events:none;flex:none;font-weight:400;display:inline-flex}.WeoXxG_newSession:is(:hover,:focus-visible) .WeoXxG_newSessionShortcut{opacity:1}.WeoXxG_panelList{flex-direction:column;flex:none;gap:2px;margin-bottom:8px;display:flex}.WeoXxG_panelRow{box-sizing:border-box;border-radius:var(--dsw-radius-md);min-height:36px;color:var(--dsw-alias-label-primary);font:inherit;text-align:left;cursor:pointer;background:0 0;border:none;align-items:center;gap:8px;margin:0 2px;padding:7px 8px;line-height:22px;display:flex}.WeoXxG_panelRow:hover{background:var(--dsw-alias-interactive-bg-hover)}.WeoXxG_panelRow.WeoXxG_panelActive{background:var(--dsw-alias-interactive-bg-hover);color:var(--dsw-alias-label-primary)}.WeoXxG_panelRow:focus-visible{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-2px}.WeoXxG_moreAnchor{flex-direction:column;display:flex}.WeoXxG_panelRow[aria-expanded=true]{background:var(--dsw-alias-interactive-bg-hover)}.WeoXxG_moreMenu{width:288px;max-width:calc(100vw - 24px)}.WeoXxG_panelGlyph{flex:none;justify-content:center;align-items:center;display:inline-flex}.WeoXxG_panelTitle{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.WeoXxG_collapsed .WeoXxG_panelList{gap:12px;margin-bottom:12px}.WeoXxG_collapsed .WeoXxG_panelRow{width:36px;height:36px;color:var(--dsw-alias-label-primary);justify-content:center;margin:0;padding:0}.WeoXxG_regionArea{min-height:0;margin-left:-4px;margin-right:calc(-1 * var(--dsh-sidebar-inline-padding));flex-direction:column;flex:1;padding-left:4px;display:flex;overflow:hidden}.WeoXxG_collapsed .WeoXxG_regionArea{margin-left:0;margin-right:0;padding-left:0}.WeoXxG_footArea{flex-direction:column;flex:none;display:flex}.WeoXxG_settingsArea,.WeoXxG_footerActions{flex:none;width:100%;min-width:0}.WeoXxG_footerActions{display:flex}.WeoXxG_collapsed .WeoXxG_footArea{align-items:center}.WeoXxG_collapsed .WeoXxG_settingsArea,.WeoXxG_collapsed .WeoXxG_footerActions{justify-content:center;width:auto;display:flex}@media (prefers-reduced-motion:reduce){.WeoXxG_wide,.WeoXxG_fading>*,.WeoXxG_railIn .WeoXxG_iconButton,.WeoXxG_railIn .WeoXxG_newSessionRow>[data-slot=\"sidebar.session.action\"]>*,.WeoXxG_railIn .WeoXxG_panelList,.WeoXxG_railIn .WeoXxG_footArea,.WeoXxG_railIn .WeoXxG_regionArea{transition:none;animation:none}}";
|
|
14036
14036
|
const tagId$4 = "@benz-ai-x/dsh-research-graph/SidebarRoot.module.css";
|
|
14037
14037
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$4) + "]") === null) {
|
|
14038
14038
|
const tag = document.createElement("style");
|
|
@@ -14062,6 +14062,7 @@ window.__ModuleLoader__.load({
|
|
|
14062
14062
|
"newSessionContent": "WeoXxG_newSessionContent",
|
|
14063
14063
|
"newSessionLabel": "WeoXxG_newSessionLabel",
|
|
14064
14064
|
"newSessionLabelMask": "WeoXxG_newSessionLabelMask",
|
|
14065
|
+
"newSessionRow": "WeoXxG_newSessionRow",
|
|
14065
14066
|
"newSessionShortcut": "WeoXxG_newSessionShortcut",
|
|
14066
14067
|
"panelActive": "WeoXxG_panelActive",
|
|
14067
14068
|
"panelGlyph": "WeoXxG_panelGlyph",
|
|
@@ -14359,33 +14360,36 @@ window.__ModuleLoader__.load({
|
|
|
14359
14360
|
});
|
|
14360
14361
|
})(), !darwinDesktop && toggle]
|
|
14361
14362
|
}),
|
|
14362
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(
|
|
14363
|
-
|
|
14364
|
-
|
|
14365
|
-
|
|
14366
|
-
|
|
14367
|
-
|
|
14368
|
-
|
|
14369
|
-
|
|
14370
|
-
|
|
14371
|
-
|
|
14372
|
-
|
|
14373
|
-
|
|
14374
|
-
|
|
14375
|
-
|
|
14376
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.
|
|
14377
|
-
className: SidebarRoot_module_css_default.
|
|
14378
|
-
children:
|
|
14379
|
-
className:
|
|
14380
|
-
children:
|
|
14381
|
-
|
|
14382
|
-
|
|
14383
|
-
|
|
14384
|
-
|
|
14385
|
-
|
|
14386
|
-
|
|
14387
|
-
|
|
14388
|
-
|
|
14363
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
14364
|
+
className: SidebarRoot_module_css_default.newSessionRow,
|
|
14365
|
+
children: renderSlot("sidebar.session.action", { wide }, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
|
|
14366
|
+
label: t("session.new.label"),
|
|
14367
|
+
shortcutKeys: newShortcut?.keys,
|
|
14368
|
+
delayMs: 500,
|
|
14369
|
+
side: captionTooltipSide,
|
|
14370
|
+
disabled: wide,
|
|
14371
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
|
|
14372
|
+
type: "button",
|
|
14373
|
+
className: SidebarRoot_module_css_default.newSession,
|
|
14374
|
+
"aria-label": t("session.new.label"),
|
|
14375
|
+
"aria-keyshortcuts": newShortcut?.aria,
|
|
14376
|
+
onClick: openNewSession,
|
|
14377
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
14378
|
+
className: SidebarRoot_module_css_default.newSessionLabelMask,
|
|
14379
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
14380
|
+
className: SidebarRoot_module_css_default.newSessionContent,
|
|
14381
|
+
children: [wide ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconNewChatOutlineMedium, { size: 14 }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconNewChatOutlineRegular, { size: windowsTitlebar ? 16 : 18 }), wide && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
14382
|
+
className: clsx(SidebarRoot_module_css_default.newSessionLabel, SidebarRoot_module_css_default.wide),
|
|
14383
|
+
children: t("session.new")
|
|
14384
|
+
})]
|
|
14385
|
+
})
|
|
14386
|
+
}), wide && newShortcut !== void 0 && newShortcut.keys.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
14387
|
+
className: SidebarRoot_module_css_default.newSessionShortcut,
|
|
14388
|
+
"aria-hidden": "true",
|
|
14389
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.ShortcutKeys, { keys: newShortcut.keys })
|
|
14390
|
+
})]
|
|
14391
|
+
})
|
|
14392
|
+
}) })
|
|
14389
14393
|
}),
|
|
14390
14394
|
panels.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("nav", {
|
|
14391
14395
|
className: SidebarRoot_module_css_default.panelList,
|
|
@@ -14563,6 +14567,10 @@ window.__ModuleLoader__.load({
|
|
|
14563
14567
|
"sidebar.footer.action": {
|
|
14564
14568
|
kind: "list",
|
|
14565
14569
|
scope: "root"
|
|
14570
|
+
},
|
|
14571
|
+
"sidebar.session.action": {
|
|
14572
|
+
kind: "hoc",
|
|
14573
|
+
scope: "root"
|
|
14566
14574
|
}
|
|
14567
14575
|
},
|
|
14568
14576
|
inject: injectProps
|
|
@@ -14750,7 +14758,7 @@ window.__ModuleLoader__.load({
|
|
|
14750
14758
|
};
|
|
14751
14759
|
});
|
|
14752
14760
|
}
|
|
14753
|
-
// node_modules/.pnpm/@deepseek-ai+dsh-util-values@0.2.2-rc.
|
|
14761
|
+
// node_modules/.pnpm/@deepseek-ai+dsh-util-values@0.2.2-rc.3_@deepseek-ai+cordis@4.1.0/node_modules/@deepseek-ai/dsh-util-values/lib/index.js
|
|
14754
14762
|
/**
|
|
14755
14763
|
* Lazily scanned view of one JSON object's top-level fields, built from text
|
|
14756
14764
|
* that may still be streaming or from an already parsed object. Nothing is
|
|
@@ -15384,7 +15392,7 @@ window.__ModuleLoader__.load({
|
|
|
15384
15392
|
const rendered = JSON.stringify(value) ?? String(value);
|
|
15385
15393
|
throw new Error(`unreachable variant${context ? ` in ${context}` : ""}: ${rendered}`);
|
|
15386
15394
|
}
|
|
15387
|
-
// node_modules/.pnpm/@deepseek-ai+dsh-util-workspace-path@0.2.2-rc.
|
|
15395
|
+
// node_modules/.pnpm/@deepseek-ai+dsh-util-workspace-path@0.2.2-rc.3_@deepseek-ai+cordis@4.1.0/node_modules/@deepseek-ai/dsh-util-workspace-path/lib/index.js
|
|
15388
15396
|
/**
|
|
15389
15397
|
* Browser-safe Workspace path and display helpers.
|
|
15390
15398
|
* @module @deepseek-ai/dsh-util-workspace-path
|
|
@@ -17336,9 +17344,9 @@ window.__ModuleLoader__.load({
|
|
|
17336
17344
|
* @returns menu + dialog elements.
|
|
17337
17345
|
*/
|
|
17338
17346
|
function WorkspacePickFlow({ t, open, anchorRef, useWorkspaces, createWorkspace, useDirectoryFlow, renderDirectoryFlow, onPick, onClose, addOnly = false, onBusyChange, side = "bottom", selectedId }) {
|
|
17347
|
+
const absentAnchor = (0, react.useRef)(null);
|
|
17339
17348
|
const workspaceSnapshot = useWorkspaces((state) => state);
|
|
17340
17349
|
const workspaces = workspaceSnapshot.items;
|
|
17341
|
-
const getAnchorRect = (0, react.useCallback)(() => anchorRef?.current?.getBoundingClientRect() ?? null, [anchorRef]);
|
|
17342
17350
|
const [errorOpen, setErrorOpen] = (0, react.useState)(false);
|
|
17343
17351
|
const [modalError, setModalError] = (0, react.useState)(null);
|
|
17344
17352
|
const [flowOpen, setFlowOpen] = (0, react.useState)(false);
|
|
@@ -17431,7 +17439,7 @@ window.__ModuleLoader__.load({
|
|
|
17431
17439
|
onClose,
|
|
17432
17440
|
side,
|
|
17433
17441
|
portal: true,
|
|
17434
|
-
|
|
17442
|
+
anchorRef: anchorRef ?? absentAnchor
|
|
17435
17443
|
}),
|
|
17436
17444
|
open && !addIsTheOnlyEntry && !menuIsEmpty && workspaceSnapshot.phase === "pending" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
17437
17445
|
className: WorkspacePicker_module_css_default.menuStatus,
|
|
@@ -17464,13 +17472,7 @@ window.__ModuleLoader__.load({
|
|
|
17464
17472
|
})
|
|
17465
17473
|
] });
|
|
17466
17474
|
}
|
|
17467
|
-
|
|
17468
|
-
* The conversation empty-state registration: adapts the owner share to the
|
|
17469
|
-
* core flow (all state and semantics live in the flow / the owner).
|
|
17470
|
-
* @param props - empty-state slot props (owner share + injected creation callback).
|
|
17471
|
-
* @returns the flow element.
|
|
17472
|
-
*/
|
|
17473
|
-
function WorkspacePicker({ open, anchorRef, useWorkspaces, selectedId, onPick, onClose, createWorkspace, useDirectoryFlow, renderSlot, t }) {
|
|
17475
|
+
function surfaceFlow({ t, open, anchorRef, useWorkspaces, createWorkspace, useDirectoryFlow, selectedId, onPick, onClose }, renderDirectoryFlow) {
|
|
17474
17476
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(WorkspacePickFlow, {
|
|
17475
17477
|
t,
|
|
17476
17478
|
open,
|
|
@@ -17478,12 +17480,32 @@ window.__ModuleLoader__.load({
|
|
|
17478
17480
|
useWorkspaces,
|
|
17479
17481
|
createWorkspace,
|
|
17480
17482
|
useDirectoryFlow,
|
|
17481
|
-
renderDirectoryFlow
|
|
17483
|
+
renderDirectoryFlow,
|
|
17482
17484
|
selectedId,
|
|
17483
17485
|
onPick,
|
|
17484
17486
|
onClose
|
|
17485
17487
|
});
|
|
17486
17488
|
}
|
|
17489
|
+
/**
|
|
17490
|
+
* The conversation empty-state registration: adapts the owner share to the
|
|
17491
|
+
* core flow (all state and semantics live in the flow / the owner).
|
|
17492
|
+
* @param props - empty-state slot props (owner share + injected creation callback).
|
|
17493
|
+
* @returns the flow element.
|
|
17494
|
+
*/
|
|
17495
|
+
function WorkspacePicker(props) {
|
|
17496
|
+
const { renderSlot } = props;
|
|
17497
|
+
return surfaceFlow(props, (owner) => renderSlot("conversation.hero.workspace.directoryFlow", owner));
|
|
17498
|
+
}
|
|
17499
|
+
/**
|
|
17500
|
+
* The `workspace.picker` Factory definition: the same flow for another
|
|
17501
|
+
* plugin's surface, under the Factory's own directory-flow hole.
|
|
17502
|
+
* @param props - caller input, injected creation share, and the locale seat.
|
|
17503
|
+
* @returns the flow element.
|
|
17504
|
+
*/
|
|
17505
|
+
function WorkspacePickerFactory(props) {
|
|
17506
|
+
const { renderSlot } = props;
|
|
17507
|
+
return surfaceFlow(props, (owner) => renderSlot("workspace.picker.directoryFlow", owner));
|
|
17508
|
+
}
|
|
17487
17509
|
// \0dsh-session-graph-css:/home/runner/work/dsh-research-graph/dsh-research-graph/src/client/workspace/rows/WorkspaceBrowser.module.css.mjs
|
|
17488
17510
|
const css = ".rl-J3q_root{--dsh-session-list-edge-inset:var(--dsh-sidebar-inline-padding);--dsh-session-list-scrollbar-width:5px;--dsh-session-list-scrollbar-offset:2px;box-sizing:border-box;min-height:0;padding-right:var(--dsh-session-list-edge-inset);flex-direction:column;flex:1;display:flex}.rl-J3q_root.rl-J3q_rail{padding-right:0}.rl-J3q_iconButton{border-radius:var(--dsw-radius-sm);cursor:pointer;width:28px;height:28px;color:var(--dsw-alias-label-secondary);background:0 0;border:none;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.rl-J3q_iconButton:focus-visible,.rl-J3q_searchButton:focus-visible,.rl-J3q_clearButton:focus-visible{outline:var(--dsw-focus-ring-width) solid var(--dsw-focus-ring-color,var(--dsw-alias-state-business-primary));outline-offset:-2px}.rl-J3q_iconButton:hover{background:var(--dsw-alias-interactive-bg-hover)}.rl-J3q_viewOptionsMenu{min-width:200px}.rl-J3q_sectionHeader{box-sizing:border-box;border-radius:var(--dsw-radius-md);height:36px;color:var(--dsw-alias-label-tertiary);flex:none;justify-content:flex-end;align-items:center;gap:4px;margin-bottom:4px;padding-left:4px;display:flex;overflow:hidden}.rl-J3q_root:not(.rl-J3q_rail) .rl-J3q_sectionHeader{margin-top:2px;margin-right:-4px}.rl-J3q_sectionLabel{white-space:nowrap;opacity:1;visibility:visible;min-width:0;max-width:45%;transition:max-width .18s var(--ds-ease-in-out), margin-right .18s var(--ds-ease-in-out), opacity .12s var(--ds-ease-in-out), transform .18s var(--ds-ease-in-out), visibility 0s linear;flex:none;line-height:20px;overflow:hidden}.rl-J3q_sectionLabelHidden{opacity:0;visibility:hidden;max-width:0;margin-right:-4px;transition-delay:0s,0s,0s,0s,.18s;transform:translate(-4px)}.rl-J3q_searchSlot{box-sizing:border-box;min-width:0;max-width:28px;transition:max-width .18s var(--ds-ease-in-out), padding-left .18s var(--ds-ease-in-out);flex:1;align-items:center;margin-left:auto;padding-left:0;display:flex}.rl-J3q_searchSlotExpanded{max-width:100%;padding-left:0}.rl-J3q_headerActions{opacity:1;visibility:visible;max-width:60px;transition:max-width .18s var(--ds-ease-in-out), opacity .12s var(--ds-ease-in-out), transform .18s var(--ds-ease-in-out), visibility 0s linear;flex:none;align-items:center;gap:4px;display:flex;overflow:hidden}.rl-J3q_headerActionsHidden{opacity:0;visibility:hidden;pointer-events:none;max-width:0;transition-delay:0s,0s,0s,.18s;transform:translate(4px)}.rl-J3q_search{box-sizing:border-box;border-radius:var(--dsw-radius-sm);cursor:text;width:100%;height:28px;color:var(--dsw-alias-label-secondary);transition:width .18s var(--ds-ease-in-out), padding .18s var(--ds-ease-in-out), border-color .18s var(--ds-ease-in-out), background-color .18s var(--ds-ease-in-out);background:0 0;border:none;flex:none;align-items:center;gap:0;margin:0;padding:0;display:flex;overflow:hidden}.rl-J3q_searchExpanded{border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);width:calc(100% + 4px);height:30px;color:var(--dsw-alias-label-caption);background:0 0;margin-inline:-2px;padding:0 4px 0 0}.rl-J3q_searchButton{border-radius:var(--dsw-radius-sm);cursor:pointer;width:28px;height:28px;color:inherit;background:0 0;border:none;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.rl-J3q_searchExpanded .rl-J3q_searchButton{width:28px;height:30px}.rl-J3q_searchButton:hover{background:var(--dsw-alias-interactive-bg-hover)}.rl-J3q_searchExpanded .rl-J3q_searchButton:hover{background:0 0}.rl-J3q_searchInput{opacity:0;pointer-events:none;width:0;min-width:0;color:var(--dsw-alias-label-primary);transition:opacity .12s var(--ds-ease-in-out);background:0 0;border:none;outline:none;flex:1;font-size:13px;line-height:18px}.rl-J3q_searchExpanded .rl-J3q_searchInput{opacity:1;pointer-events:auto;margin-left:-2px}.rl-J3q_searchInput::placeholder{color:var(--dsw-alias-label-tertiary)}.rl-J3q_clearButton{border-radius:var(--dsw-radius-sm);cursor:pointer;width:24px;height:24px;color:var(--dsw-alias-label-secondary);background:0 0;border:none;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.rl-J3q_clearButton:hover{background:var(--dsw-alias-interactive-bg-hover)}.rl-J3q_rail .rl-J3q_sectionHeader{justify-content:flex-start;gap:0;margin-bottom:12px;padding-left:0}.rl-J3q_rail .rl-J3q_headerActions{max-width:none}.rl-J3q_rail .rl-J3q_iconButton{border-radius:var(--dsw-radius-md);width:36px;height:36px;color:var(--dsw-alias-label-primary)}.rl-J3q_rail .rl-J3q_search{border-radius:var(--dsw-radius-md);background:0 0;border-color:#0000;gap:0;width:36px;height:36px;margin:0 0 12px;padding:0}.rl-J3q_rail .rl-J3q_searchButton{border-radius:var(--dsw-radius-md);width:36px;height:36px;color:var(--dsw-alias-label-primary)}.rl-J3q_rail .rl-J3q_searchButton:hover{background:var(--dsw-alias-interactive-bg-hover)}.rl-J3q_listArea{min-height:0;margin-left:-4px;margin-right:calc(-1 * var(--dsh-session-list-edge-inset));flex-direction:column;flex:1;padding-left:4px;display:flex;overflow:visible}.rl-J3q_rail .rl-J3q_listArea{margin-left:0;margin-right:0;padding-left:0}.rl-J3q_treeBody{flex-direction:column;flex:1;min-height:0;display:flex;position:relative}.rl-J3q_fade{left:0;right:var(--dsh-session-list-edge-inset);background:linear-gradient(to bottom, transparent, var(--dsw-specific-sidebar-fill));pointer-events:none;height:24px;position:absolute;bottom:0}[data-platform=darwin] .rl-J3q_fade{display:none}.rl-J3q_wide{animation:rl-J3q_wide-in .2s var(--ds-ease-in-out)}@keyframes rl-J3q_wide-in{0%{opacity:0}}.rl-J3q_list{min-height:0;margin-left:-4px;margin-right:var(--dsh-session-list-scrollbar-offset);padding-left:4px;padding-right:calc(var(--dsh-session-list-edge-inset) - var(--dsh-session-list-scrollbar-width) - var(--dsh-session-list-scrollbar-offset));scrollbar-gutter:stable;flex:1;padding-bottom:16px;overflow-y:auto}.rl-J3q_flatList>*+*,.rl-J3q_searchTree>[role=treeitem]+[role=treeitem],.rl-J3q_groupSection>*+*{margin-top:2px}.rl-J3q_searchStatus{color:var(--dsw-alias-label-tertiary);padding:10px 12px;font-size:12px;line-height:18px}.rl-J3q_skeletonRow{box-sizing:border-box;align-items:flex-start;gap:8px;min-height:48px;padding:6px 8px 7px;display:flex}.rl-J3q_skeletonDot{corner-shape:round;border-radius:50%;flex:none;width:16px;height:16px}.rl-J3q_skeletonBars{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex}.rl-J3q_skeletonDot,.rl-J3q_skeletonBar{background:var(--dsw-alias-bg-skeleton);animation:2s cubic-bezier(.36,0,.64,1) infinite rl-J3q_search-skeleton}.rl-J3q_skeletonBar{border-radius:var(--dsw-radius-xs);width:65%;height:16px}.rl-J3q_skeletonBarWide{width:90%;height:13px}@keyframes rl-J3q_search-skeleton{0%{opacity:1}40%{opacity:.6}80%,to{opacity:1}}.rl-J3q_groupSection{position:relative}.rl-J3q_groupSection+.rl-J3q_groupSection{margin-top:4px}.rl-J3q_listTopDropIndicator,.rl-J3q_workspaceDropBefore:before,.rl-J3q_workspaceDropAfter:after{content:\"\";z-index:1;background:linear-gradient(55deg, transparent calc(50% - 1px), var(--dsw-alias-state-business-primary) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)) 0 0 / 5px 7px no-repeat, linear-gradient(125deg, transparent calc(50% - 1px), var(--dsw-alias-state-business-primary) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)) 0 5px / 5px 7px no-repeat, linear-gradient(var(--dsw-alias-state-business-primary) 0 0) 4px 5px / calc(100% - 4px) 2px no-repeat;pointer-events:none;height:12px;position:absolute;left:0;right:0}.rl-J3q_listTopDropIndicator{top:-8px;left:0;right:var(--dsh-session-list-edge-inset)}.rl-J3q_listTopDropActive>.rl-J3q_workspaceDropBefore:first-child:before{display:none}.rl-J3q_workspaceDropBefore:before{top:-8px}.rl-J3q_workspaceDropAfter:after{bottom:-8px}.rl-J3q_sessionOverflowButton{border-radius:var(--dsw-radius-sm);width:100%;height:28px;padding:0 12px 0 calc(28px + var(--dsh-workspace-indent,0px));cursor:pointer;text-align:left;color:var(--dsw-alias-label-tertiary);background:0 0;border:none;font-size:12px}.rl-J3q_groupSection>.rl-J3q_sessionOverflowButton{margin-top:0}.rl-J3q_sessionOverflowButton:hover{color:var(--dsw-alias-label-secondary);background:0 0}.rl-J3q_empty{color:var(--dsw-alias-label-tertiary);padding:16px 12px;font-size:13px}.rl-J3q_emptyState{color:var(--dsw-alias-label-tertiary);flex-direction:column;align-items:center;gap:8px;margin-top:80px;padding:0 12px;font-size:13px;line-height:20px;display:flex}.rl-J3q_emptyState>svg{color:var(--dsw-alias-label-caption);margin-bottom:4px}.rl-J3q_emptyAction{cursor:pointer;color:var(--dsw-alias-link);background:0 0;border:none;padding:0;font-size:13px;line-height:20px}.rl-J3q_renameInput{box-sizing:border-box;border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-lg);width:100%;height:44px;color:var(--dsw-alias-label-primary);background:0 0;outline:none;padding:7px 14px;font-size:14px;font-weight:400;line-height:22px}.rl-J3q_renameInput:disabled{color:var(--dsw-alias-label-dimmed)}.rl-J3q_renameError{color:var(--dsw-alias-state-error-primary);margin-top:8px;font-size:12px;line-height:18px}.rl-J3q_deleteAction:not(:disabled){color:var(--dsw-alias-state-error-primary)}.rl-J3q_deleteStatus{color:var(--dsw-alias-label-secondary);font-size:12px;line-height:18px}.rl-J3q_archiveActivity{color:var(--dsw-alias-label-primary);margin:0 0 8px;padding-left:18px;font-size:13px;line-height:20px}.rl-J3q_archiveActivity li{overflow-wrap:anywhere}@media (prefers-reduced-motion:reduce){.rl-J3q_wide,.rl-J3q_skeletonDot,.rl-J3q_skeletonBar{animation:none}.rl-J3q_search,.rl-J3q_sectionLabel,.rl-J3q_searchSlot,.rl-J3q_searchInput,.rl-J3q_headerActions{transition:none}}";
|
|
17489
17511
|
const tagId = "@benz-ai-x/dsh-research-graph/WorkspaceBrowser.module.css";
|
|
@@ -20155,6 +20177,7 @@ window.__ModuleLoader__.load({
|
|
|
20155
20177
|
subscribe: (listener) => ctx.on("connection/reset", listener)
|
|
20156
20178
|
};
|
|
20157
20179
|
const pickerFlowSource = flowSource("conversation.hero.workspace.directoryFlow");
|
|
20180
|
+
const factoryFlowSource = flowSource("workspace.picker.directoryFlow");
|
|
20158
20181
|
const openSession = (sessionId) => {
|
|
20159
20182
|
uiWorkspace.openSession(sessionId);
|
|
20160
20183
|
};
|
|
@@ -20311,9 +20334,9 @@ window.__ModuleLoader__.load({
|
|
|
20311
20334
|
},
|
|
20312
20335
|
writeFolder
|
|
20313
20336
|
});
|
|
20314
|
-
const pickerInjected = () => ({
|
|
20337
|
+
const pickerInjected = (directoryFlow) => () => ({
|
|
20315
20338
|
createWorkspace: (input) => workspaces.create(input),
|
|
20316
|
-
hooks: { directoryFlow
|
|
20339
|
+
hooks: { directoryFlow }
|
|
20317
20340
|
});
|
|
20318
20341
|
ctx.slots.inject("sidebar.workspaces", () => ctx.slots.register({
|
|
20319
20342
|
name: "sidebar.workspaces",
|
|
@@ -20429,9 +20452,19 @@ window.__ModuleLoader__.load({
|
|
|
20429
20452
|
kind: "single",
|
|
20430
20453
|
scope: "root"
|
|
20431
20454
|
} },
|
|
20432
|
-
inject: pickerInjected,
|
|
20455
|
+
inject: pickerInjected(pickerFlowSource),
|
|
20433
20456
|
locale: NS
|
|
20434
20457
|
}, WorkspacePicker));
|
|
20458
|
+
ctx.slots.registerFactory({
|
|
20459
|
+
name: "workspace.picker",
|
|
20460
|
+
scope: "root",
|
|
20461
|
+
children: { "workspace.picker.directoryFlow": {
|
|
20462
|
+
kind: "single",
|
|
20463
|
+
scope: "root"
|
|
20464
|
+
} },
|
|
20465
|
+
inject: pickerInjected(factoryFlowSource),
|
|
20466
|
+
locale: NS
|
|
20467
|
+
}, WorkspacePickerFactory);
|
|
20435
20468
|
}
|
|
20436
20469
|
/**
|
|
20437
20470
|
* The activity a Host `workspace/session-active` refusal reported, or nothing
|