dsh-session-dates
Manifest validGroups the sessions of every workspace in the DSH sidebar by day, with explicit date labels, a live running indicator and date-based search.
dsh-session-dates · 会话按日期分组
给 DeepSeek Harness(dsh)侧边栏的「工作区 / 会话」区域加一层日期分组:每个工作区里,会话按自然日分开,每一天写明具体日期,而不是只给一个「3 天前」。
▾ deepseekharness 12
2026年10月28日 周三 · 今天 3
● 会话标题甲 14:32
○ 会话标题乙 11:07
2026年10月27日 周二 · 昨天 2
○ 会话标题丙 22:41
2026年10月20日 周二 · 8天前 5
安装后它接管侧边栏的 sidebar.workspaces 槽位,保留「按工作区」的骨架,只在每个工作区内部按日期切段。
功能
- 日期分桶:每个工作区内部按自然日分组,桶标题是硬日期(
2026年10月28日 周三),右侧附「今天 / 昨天 / N 天前」。 - 当天内排序:置顶会话在前,其余按时间倒序;同一行右侧显示
HH:mm。 - 运行状态:会话正在运行时,行首圆点变成主题色并脉动;等待你输入是琥珀色,有新结果未读是绿色;有子代理在跑时显示子代理数量角标。
- 工作区折叠:点标题折叠/展开,状态记在 localStorage。
- 搜索:搜索框既按会话标题过滤,也接受日期查询——
2026-10-28、10-28、10月28日、今天、昨天、前天、本周、上周。 - 归档:默认隐藏已归档会话,右上「档」按钮切换为显示。
- 会话菜单:每行
⋯里保留原插件的会话操作(置顶、重命名、创建分支、归档、复制会话 ID),它们由原插件自己注册,本插件只是把它们渲染出来。 - 工作区操作:
+新建会话、+工作区选择目录新建工作区;工作区标题右键菜单可重命名 / 删除。
安装
装进某个 profile:
dsh plugin --profile <profile> add dsh-session-dates
或在应用内「插件」页的插件市场里安装(见 PUBLISHING.md〔发布说明〕)。装好后刷新页面即可。
本地开发时也可以由插件管理器直接装目录:
plugin_manager action=install_bundle target=/path/to/dsh-session-dates
兼容性与边界
- 只接管的浏览区域:
sidebar.workspaces及其子槽位(sidebar.workspaces.session.menu.item、sidebar.workspaces.session.row.action、sidebar.session.row.leading、sidebar.workspaces.directoryFlow)。会话操作、重命名弹窗、归档确认等仍由原插件提供。 - 不做拖拽排序,也不切换「平铺 / 工作区树」视图——日期分组是固定形态。手动排序请用原插件的「视图选项」。
- 搜索是本地过滤(标题 + 日期),不是引擎级全文检索。
- 刷新时先重新取一次会话状态;若某个子槽位渲染失败,行内会降级而不是整块白屏。
- 主题色、圆角、字色全部走 dsh 的
--dsw-alias-*变量,深浅色主题自适应。
变更记录
0.2.0— 恢复运行状态指示:运行中脉动圆点、等待输入、未读结果、子代理计数角标;补充 README / LICENSE / 市场索引。0.1.0— 首个版本:按工作区 + 日期分桶、日期标签、搜索与归档开关。
许可
MIT,见 LICENSE。
Comments
Loading…
Similar plugins
Adds a Session without workspace entry to the DSH Workspace picker, creates isolated date-organized directories, and keeps started sessions resumable under Ungrouped.
★ 2
↓ 150/wk
MIT
TypeScript
dsh plugin --profile web add dsh-projectless-sessionby kyrsieger
Adds cross-workspace pinned and recent session sections to the DSH sidebar, with status indicators and display settings.
★ 1
MIT
JavaScript
Oct 26, 2026
dsh plugin --profile web add dsh-up-sessionby 439436269-ctrl
DSH 插件:侧栏内联的「置顶」会话分组(原生度量 + 就地搜索)。A pinned-session group in the DeepSeek Harness sidebar.
★ 0
MIT
JavaScript
Oct 7, 2026
dsh plugin --profile web add @vfvrpq/dsh-pinned-sessionsby EugeneVl
Session folders for the DSH web sidebar: one-level named folders per workspace, drag-and-drop or context menu to group sessions, server-side persistence. No harness changes.
★ 10
↓ 164/wk
MIT
JavaScript
Oct 22, 2026
dsh plugin --profile web add dsh-session-foldersby kiligzzz
Sidebar panel for archived sessions in DeepSeek Harness: group by workspace, search by title, preview user questions, one-click restore, or delete with confirmation.
★ 3
MIT
TypeScript
Sep 15, 2026
dsh plugin --profile web add @kiligzzz/dsh-session-archiveby GT-610
Group DSH workspaces into named groups and browse group > workspace > session in the sidebar.
★ 1
MIT
TypeScript
Oct 23, 2026
dsh plugin --profile web add dsh-workspace-organize