@banzhe/dsh-workbench 0.2.0 → 0.3.0
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 +2 -2
- package/README.zh-CN.md +2 -2
- package/lib/client.js +253 -276
- package/lib/client.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ A Web Client [DSH](https://github.com/deepseek-ai/deepseek-harness) Bundle for t
|
|
|
11
11
|
- `sidebar.workspaces` — the whole browsing region: the In work region, section header, search, grouped/flat Session rows, the "Show more" watermark, Workspace dialogs, and the Session row's leading/trailing/hover seats.
|
|
12
12
|
- `conversation.hero.workspace` — the picker in the blank-Session hero and the New Session view.
|
|
13
13
|
- The `uiWorkspace` client service, the `useWorkspaces` / `useWorkspaceAccess` root hooks, the `workspace` locale namespace, and the navigation shortcuts (new session, session search, add workspace, rename, fork, archive).
|
|
14
|
-
- **In work** — a block above the list with two independent, collapsible groups: **Running** (every Session
|
|
14
|
+
- **In work** — a block above the list with two independent, collapsible groups: **Running** (every Session running itself or over running subagent work, pinned or not) and **Unread** (finished-unread Sessions plus pinned Sessions with no running work). Subagent Sessions take no row in either group, at any depth: delegated work reaches the region through the lead Session that spawned it. A Session lists once: pinned running work stays in Running, and pinned unread or idle work stays in Unread. Each group header carries its own count, and the region draws no title or total above them: an empty group renders no fold, and with both groups empty the region renders nothing. It persists nothing and refreshes nothing: opening a row goes through the workspace owner's navigation, which is what clears an unread finish, and the only write is releasing a pin. In the desktop shell the same model drives the Windows taskbar pulse: indeterminate while Sessions run and nothing is waiting on the user or finished-unread, cleared otherwise; a browser is inert. This is where the retired `@banzhe/dsh-session-attention` panel's content now lives.
|
|
15
15
|
- Its own `cordis.patch.yml` disables the shipped `ui-workspace` row and inserts this Bundle as `workbench-personal`. Exactly one row may own those slots and the `uiWorkspace` service, so the two are never active together.
|
|
16
16
|
|
|
17
17
|
Behaviour is a fork of the shipped plugin at DSH `0.2.2-rc.2`; `ui-schedule`, `ui-open-in-app`, the directory pickers, `ui-context-menu` and this workspace's other Bundles keep contributing through the same slot declarations.
|
|
@@ -44,7 +44,7 @@ Rebuild after a source change and restart `dsh web`: the profile's client module
|
|
|
44
44
|
|
|
45
45
|
The workspace browsing region and picker are forked from `@deepseek-ai/dsh-client-ui-workspace` in [deepseek-ai/deepseek-harness](https://github.com/deepseek-ai/deepseek-harness) (`packages/client/ui-workspace`), MIT, copyright DeepSeek.
|
|
46
46
|
|
|
47
|
-
The In work model is adapted from `
|
|
47
|
+
The In work model is adapted from the `session-attention` Bundle this repository carried until it was retired (MIT); its last source is in git history.
|
|
48
48
|
|
|
49
49
|
## License
|
|
50
50
|
|
package/README.zh-CN.md
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
- `sidebar.workspaces` —— 整个浏览区:进行中区、分区标题、搜索、分组/扁平会话行、"显示更多"水位、工作区弹窗,以及会话行的 leading/trailing/hover 座位。
|
|
12
12
|
- `conversation.hero.workspace` —— 空白会话 hero 与新会话视图里的选择器。
|
|
13
13
|
- `uiWorkspace` 客户端服务、`useWorkspaces` / `useWorkspaceAccess` 根 hooks、`workspace` locale 命名空间,以及导航快捷键(新建会话、会话搜索、添加工作区、重命名、分叉、归档)。
|
|
14
|
-
- **进行中** ——
|
|
14
|
+
- **进行中** —— 列表上方的一块,包含两个各自可收起的组:**运行中**(自己正在运行、或其下有 subagent 在运行的会话,含置顶)与**未读**(已完成未读的会话,以及没有运行任务的置顶会话)。subagent 会话在两组中都不占行,任意委派深度皆然:被委派的工作只会通过发起它的 lead 会话进入本区。每个会话只出现一次:置顶且运行中的只进运行中,置顶且未读或静止的只进未读。每组标题各自显示本组计数,两组之上没有总标题也没有总数:空组不渲染折叠,两组都为空时整块不渲染。它不持久化任何状态、不发起额外刷新:点击行走工作区所有者的导航(未读标记由那里的 ui-session 清除),唯一的写入是取消置顶。桌面版里同一个模型还驱动 Windows 任务栏脉动:有会话在运行、且没有等待用户或已完成未读的会话时显示不确定进度,否则清除;浏览器中不生效。已停用的 `@banzhe/dsh-session-attention` 面板内容现在在这里。
|
|
15
15
|
- 自带的 `cordis.patch.yml` 会禁用官方 `ui-workspace` 行并以 `workbench-personal` 插入本 Bundle。这些槽位与 `uiWorkspace` 服务只能有一个所有者,因此两行永不共存。
|
|
16
16
|
|
|
17
17
|
行为是 DSH `0.2.2-rc.2` 官方插件的分叉;`ui-schedule`、`ui-open-in-app`、目录选择器、`ui-context-menu` 以及本仓库其它 Bundle 仍通过相同的槽位声明继续贡献。
|
|
@@ -44,7 +44,7 @@ dsh plugin --profile web remove @banzhe/dsh-workbench
|
|
|
44
44
|
|
|
45
45
|
工作区浏览区与选择器分叉自 [deepseek-ai/deepseek-harness](https://github.com/deepseek-ai/deepseek-harness) 的 `@deepseek-ai/dsh-client-ui-workspace`(`packages/client/ui-workspace`),MIT,版权归 DeepSeek。
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
进行中模型改编自本仓库曾维护、现已退役的 `session-attention` Bundle(MIT);最后的源码见 git 历史。
|
|
48
48
|
|
|
49
49
|
## 许可
|
|
50
50
|
|