The-latest-one/dsh-branch-workspace-folders 预览 preview

The-latest-one/dsh-branch-workspace-folders

DeepSeek Harness (DSH) sidebar plugin: stack-safe fork tree, two-track indentation, marquee title, leading/hover slots, and cascade purge.

Project Overview项目介绍

dsh-branch-workspace-folders is a DSH-native sidebar enhancement plugin for the DeepSeek Harness, built strictly against the v0.2.0-rc.2 UI/UX contracts. It rearchitects the workspace sidebar and session tree with a heap-allocated, non-recursive stack-safe session engine, a placeFork clustering rule, decoupled two-track indentation variables, a constant-speed title marquee with edge-fade masking, four-state priority folding bubbling, archived tri-state filtering, and a physical cascading purge transaction engine that physically removes .zstd log residue with rollback safety. It mounts the official sidebar.session.row.leading sixteen-pixel arbitration cell and sidebar.session.row.hover injection slots so external task inspectors and automation indicators integrate natively.

The plugin installs as a pre-built asset via dsh plugin --profile web add ./dsh-branch-workspace-folders-0.2.0.tgz, or through dev_install_package when dsh-super-injector is available, while developers iterate with dev_inject_plugin for zero-config memory injection followed by dev_reload_package for deterministic hot reload. Typical users are heavy DSH operators managing dense forked sessions, nested directory workspaces, and subagent call trees who need immediate visual triage of approval, running, and archived states. It targets the web profile only, leaves WorkspacePickFlow permanently mounted, and forces all row actions through renderSlot.

The project is MIT-licensed, organized as a pnpm workspace, and enforced by a grounded verification gate comprising npm run typecheck, npm run build (tsdown with inline CSS), npm test (45/45 tests including a 20,000-depth recursion stress case), and a live dev_reload_package reload. First-run prerequisites include editing ~/.dsh/profiles/web/package.json to register the bundle under dsh.profile.bundles, running pnpm install, restarting DSH, and applying documented invariants such as merging local storage with local branch-collapse state, filtering origin === 'subagent' transient children, and reserving slot rendering for menu items.

dsh-branch-workspace-folders 是一款面向 DeepSeek Harness (DSH) 的原生侧边栏增强插件,针对 v0.2.0-rc.2 的 UI/UX 契约进行深度重构。核心能力包括基于堆分配非递归栈的会话树、placeFork 智能分叉聚类、双轨缩进解耦、常速标题跑马灯(带渐隐遮罩),以及四态折叠状态冒泡。它完整挂载 sidebar.session.row.leading 与 sidebar.session.row.hover 两级官方插槽,并提供物理级联清理事务引擎,可在 .zstd 日志残留场景下进行可回滚的真删除。

该插件通过 dsh plugin --profile web add 命令安装预构建 tarball,或在装有 dsh-super-injector 的环境中调用 dev_install_package 进行零重启挂载,开发者也可使用 dev_inject_plugin 进行内存热注入并通过 dev_reload_package 触发确定性热重载。典型用户为管理大量分叉会话、嵌套目录工作区与子智能体调用的 DSH 重度使用者,需要在侧边栏中实时识别审批、运行等高优先级状态。

依赖方面项目以 pnpm 管理 monorepo,并通过 npm run typecheck、npm run build、npm test(45/45 用例,含两万深度压力测试)以及 dev_reload_package 四步提交门禁。许可证为 MIT,但强制要求 WorkspacePickFlow 常驻 DOM、双轨折叠状态合并、必须使用 renderSlot 渲染行操作以及过滤 origin === 'subagent' 瞬态会话等不变量,首次运行前需在 web profile 中注册 bundle。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 5 stars - very few users, little community feedback星标只有 5,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add dsh-branch-workspace-folders

把 The-latest-one/dsh-branch-workspace-folders 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-branch-workspace-folders

🌐 English | 中文

Version DSH Compatibility CI GitHub Release License Tests

DeepSeek Harness (DSH) full-featured ecosystem extension: strictly aligned with official UI/UX design contracts to deeply rearchitect the sidebar workspace and session tree. Delivers heap-allocated non-recursive stack-safe session trees, placeFork intelligent fork clustering, two-track indentation decoupling, constant-speed title marquee with fade masking, official leading & hover slot compatibility, collapsed status bubbling, archived tri-state filtering, and a physical cascading purge transaction engine.


📸 Visual Preview

Sidebar Branch Tree Overview   Branch Hierarchy & Guide Rails

Left: Sidebar tree grouping, placeFork clustering & L-shaped vector rails  |  Right: Multi-tier indentation, solid triangle toggles & status bubbling


⚡ Quick Comparison: Native DSH vs. This Plugin

Capability / Pain Point Official Native DSH Other Community Plugins dsh-branch-workspace-folders
Forked Session Hierarchy ❌ Flat list only, scattered by recency ⚠️ Pop out standalone SVG panel ✅ Native in-place collapsible tree with L-shaped guide rails
New Fork Positioning ⚠️ Appended at arbitrary list ends ❌ Unchanged ✅ placeFork auto-clusters adjacent above parent session
Folded Status Bubbling ❌ None (blindspot for running tasks) ❌ None ✅ 4-state priority FSM (approval warnings bubble to root)
Physical Disk Deletion ❌ Soft archive only (.zstd logs persist) ⚠️ Standalone trash button / no cascade ✅ True cascading physical purge with rollback safety
Indentation Reliability ❌ Negative indentation in directory trees ❌ Overrides directory spacing ✅ Two-track decoupled variables (--dsh-branch & --dsh-ws)
Engine Recursion Safety ❌ N/A ⚠️ Direct recursion (risk of stack overflow) ✅ Heap-allocated explicit stacks (tested against 20,000 depth)
DSH v0.2.0-rc.2 Alignment ⚠️ Shipped in native ❌ Legacy 0.1.x baselines ✅ 100% aligned (two-tier slots, 0.03px/ms marquee, FLIP keys)

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-plugin-appshot 下一个 Next dsh-mcp-lazy →