Khorsheed/dsh-plugins--packages-worktrees ↗★ 0

@khorsheed/dsh-worktrees

在会话头部和右侧栏展示Git工作区状态与提交日志 适合需要直接在会话中监控和管理Git工作区及提交历史的开发者。

套件
@khorsheed/dsh-worktrees
相容性
待驗證
Harness 依賴範圍
^0.1.0-rc.6
Cordis 依賴範圍
^4.0.1
版本
0.3.0
授權
MIT
最近更新
2026年9月28日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Khorsheed/dsh-plugins#548eeabe331c121621b2d08deab4278ad81d6312&path:packages/worktrees

配置

字段默认说明
baseRefmain「已提交」段(base...HEAD)与 ahead/behind 的基准分支;设为 '' 则完全禁用已提交段
visiblePresets[]徽标与右栏 tab 显隐的手动 override。缺省或空数组 = 走组合判据:读官方 pluginInventory 的 preset 组合数据,当前会话的 preset 组合里有 @khorsheed/dsh-worktrees/tool 行则显示、没有则隐藏;组合数据不可得(无 namespace、RPC 失败、preset 组缺席或 broken)、没有 preset 的会话以及无会话的首页状态都保持显示(fail-open)。配了非空名单则退回试点语义:preset id 不在列表里的会话不渲染徽标、不注册 tab 类型。配置经 Remote 的 badgeConfig 方法到达浏览器端——web 引导不给 client 条目传 config