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

@khorsheed/dsh-worktrees

Worktree status visibility: a per-session repo/worktree badge in the session header plus a right-sidebar worktrees tab (the selected worktree's pending changes with diffs, IDE-style repository commit log, full repo browse) and a local-files browser, over a Typert Remote data face; the session-granted `worktrees` model tool ships as the package's `./tool` composition entry 适合需要直接在会话中监控和管理Git工作区及提交历史的开发者。

パッケージ
@khorsheed/dsh-worktrees
互換性
未検証
Harness ピア範囲
^0.1.0-rc.6
Cordis ピア範囲
^4.0.1
バージョン
0.3.0
ライセンス
MIT
最終更新
2026/09/28

インストール

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

ドキュメント

README 全文を読む ↗

配置

字段默认说明
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