@banzhe/dsh-workbench 0.3.0 → 0.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # @banzhe/dsh-workbench
2
2
 
3
- The sidebar's Workspace browsing region, the Session hero's Workspace picker, and the In work region that leads the list, delivered as one Bundle that **replaces** the shipped `ui-workspace` row.
3
+ The sidebar's Workspace browsing region, the Session hero's Workspace picker, and the foldable browsing groups that lead the list, delivered as one Bundle that **replaces** the shipped `ui-workspace` row.
4
4
 
5
5
  [中文版](./README.zh-CN.md)
6
6
 
@@ -8,10 +8,10 @@ A Web Client [DSH](https://github.com/deepseek-ai/deepseek-harness) Bundle for t
8
8
 
9
9
  ## What it contributes
10
10
 
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.
11
+ - `sidebar.workspaces` — the whole browsing region: the unread/pinned/running folds, section header, search, the grouped/flat Session tree as the fourth fold, 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 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.
14
+ - **Browsing folds** — the list is four independent, collapsible groups: **Unread** (finished-unread Sessions with no pin), **Pinned** (every pinned Session, whatever its work state), **Running** (unpinned Sessions running themselves or over running subagent work), and the browsing list itself — **All workspaces**, or **All sessions** in the one-list view — always last, open by default, and folded without losing its "Show more" state, group expansion or scroll position. A pinned Session lists only under Pinned, and its dot still reports its real state, running, finished-unread or waiting on the user, so a group never stands in for the state. Subagent Sessions take no row of their own, at any depth: delegated work reaches the region through the lead Session that spawned it, which carries the running dot. A quick group's rows are the browsing list's own rows — the same status dots, one-at-a-time hover cards, row menu, hover actions, pin mark, rename and relative time, with reordering left to the tree. Each quick group's header carries its count, and the region draws no title or total above the folds: an empty quick group renders no fold, while the browsing list's fold always renders. 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 rows' actions are the same slot entries the tree uses. 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, and a pinned Session at rest is not a notification; 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.
package/README.zh-CN.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @banzhe/dsh-workbench
2
2
 
3
- 侧栏工作区浏览区、会话 hero 的工作区选择器,以及列表上方的进行中区,作为一个 Bundle 交付,并**替换**官方 `ui-workspace` 行。
3
+ 侧栏工作区浏览区、会话 hero 的工作区选择器,以及列表上方的可折叠浏览组,作为一个 Bundle 交付,并**替换**官方 `ui-workspace` 行。
4
4
 
5
5
  [English](./README.md)
6
6
 
@@ -8,10 +8,10 @@
8
8
 
9
9
  ## 提供什么
10
10
 
11
- - `sidebar.workspaces` —— 整个浏览区:进行中区、分区标题、搜索、分组/扁平会话行、"显示更多"水位、工作区弹窗,以及会话行的 leading/trailing/hover 座位。
11
+ - `sidebar.workspaces` —— 整个浏览区:未读/置顶/运行中三个折叠组、分区标题、搜索、作为第四个折叠组的分组/扁平会话树、"显示更多"水位、工作区弹窗,以及会话行的 leading/trailing/hover 座位。
12
12
  - `conversation.hero.workspace` —— 空白会话 hero 与新会话视图里的选择器。
13
13
  - `uiWorkspace` 客户端服务、`useWorkspaces` / `useWorkspaceAccess` 根 hooks、`workspace` locale 命名空间,以及导航快捷键(新建会话、会话搜索、添加工作区、重命名、分叉、归档)。
14
- - **进行中** —— 列表上方的一块,包含两个各自可收起的组:**运行中**(自己正在运行、或其下有 subagent 在运行的会话,含置顶)与**未读**(已完成未读的会话,以及没有运行任务的置顶会话)。subagent 会话在两组中都不占行,任意委派深度皆然:被委派的工作只会通过发起它的 lead 会话进入本区。每个会话只出现一次:置顶且运行中的只进运行中,置顶且未读或静止的只进未读。每组标题各自显示本组计数,两组之上没有总标题也没有总数:空组不渲染折叠,两组都为空时整块不渲染。它不持久化任何状态、不发起额外刷新:点击行走工作区所有者的导航(未读标记由那里的 ui-session 清除),唯一的写入是取消置顶。桌面版里同一个模型还驱动 Windows 任务栏脉动:有会话在运行、且没有等待用户或已完成未读的会话时显示不确定进度,否则清除;浏览器中不生效。已停用的 `@banzhe/dsh-session-attention` 面板内容现在在这里。
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 仍通过相同的槽位声明继续贡献。