dsh-workspace-badge
Manifest validShow the workspace (project folder) on each session row in the flat, recency-sorted sidebar list
dsh-workspace-badge · 会话行工作区标签
DSH 侧边栏会话列表在「单列 / 最新在上」(flat + updated)模式下不显示每条会话属于哪个 工作区(项目文件夹)——项目一多就无法分辨。本插件在每行标题旁注入工作区标签, 排序逻辑完全不动,最新依然在最上。
Shows the workspace (project folder) badge on each session row in the flat, recency-sorted sidebar list of DeepSeek Harness. Sorting is untouched.
效果
- flat 模式:
标题 [工作区] 3分钟前—— 每行常显工作区名(cwd basename) - 分组模式(按工作区 / 工作区树):自动不注入(行上已有分组头)
- 运行中的工作区自动置顶:分组顺序官方只跟随手动拖拽的注册表顺序(「最近更新」只排
组内会话);本插件监听会话运行状态,把含运行中会话的工作区通过官方
insertBefore命令浮到最前(多个时按其运行中会话的最新活动时间排序)。会话停止后不自动复位, 可随时拖拽调整。 - 悬停卡片兜底:通过官方
sidebar.session.row.hover槽位显示完整工作区路径
安装
dsh plugin add github:ChrisLou-bioinfo/dsh-workspace-badge
适配 DSH 0.2.0-rc.2+(依赖行上的 data-row-key="session:<id>" 锚点,0.2 起官方渲染自带)。
实现说明
- 纯客户端 DOM patch:
data-row-key取 sessionId →ctx.sessions.list快照查cwd→ basename 注入行内 badge;MutationObserver + microtask 合帧,已标记行跳过。 - flat 模式判定读 localStorage
dsh.workspace.view.v5(官方视图 store 的持久化键)。 - 搜索结果行自带工作区名,插件检测到后跳过,不重复显示。
- 宿主 DOM 结构若随版本变化,badge 静默失效,不影响列表本身。
License
Comments
Loading…
From the same category
by ccch1mneyyy
DSH 官方公众号收录的 TUI 补位插件:Claude Code 风,鲸鱼顶栏/实时状态/流式思考/双击 Esc 回滚/上下文进度+TPS。npm 一键装。 DSH official WeChat featured TUI plugin — Claude Code style: whale bar, live status, streaming thoughts, double-Esc rol
★ 4.6k
↓ 11.6k/wk
MIT
TypeScript
Oct 14, 2026
dsh plugin --profile terminal add @deepseek-harness-tui/dsh-tuiby strukto-ai
The World's First Virtual Terminal for AI Agents
★ 3.7k
↓ 374/wk
Apache-2.0
TypeScript
Oct 14, 2026
dsh plugin --profile agent add @struktoai/mirage-dshby bowenliang123
The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,
★ 2.1k
↓ 44k/wk
Apache-2.0
TypeScript
Oct 13, 2026
dsh plugin --profile web add dsh-contextby huiliyi37
官方 DeepSeek Harness 的交互式终端 UI 插件:自研 ANSI 极简交互渲染、流式 Markdown/工具卡、16+ 主题、slash 命令与选择器、输入历史与本地偏好持久化、LSP 诊断、memory记忆,很丝滑的开发体验。
★ 285
↓ 486/wk
Apache-2.0
TypeScript
Sep 30, 2026
dsh plugin --profile terminal add @huiliyi37/dsh-tianshu-tuiby Hilbert-beinghappy
面向 DeepSeek Harness 的 Claude Code 风格终端界面,支持 Windows、macOS 与 Linux,兼容透明终端、VS Code 主题和自定义配色。
★ 196
↓ 108/wk
MIT
TypeScript
Oct 13, 2026
dsh plugin --profile web add seekttyby T-Auto
deepseek-harness Plugin Access and Implementation Standards / deepseek-harness交互生态插件规范与实施标准
★ 83
MIT
JavaScript
Oct 10, 2026