跳转至

dsh-git-branch-switcher

类型 插件 分类 开发者工具
星数 状态 ✅ 活跃
能力 git, ui 更新时间 2026-08-14

📖 项目简介

A DeepSeek Harness (DSH) Web plugin: a Git branch pill in the session header that shows the current branch of the session's workspace and lets you switch branches straight from the UI.

✨ 核心特性

  • Shows the current git branch in the top-right session header (only for git-managed workspaces)
  • Click the pill to open the branch panel: local branches, current one highlighted with ✓
  • Click any branch to git checkout it; the pill updates immediately
  • Detached HEAD support: shows the short commit hash with an explanation
  • Auto-refresh every 30s (picks up terminal-side switches) plus a manual refresh button
  • Checkout failures (e.g. conflicting local changes) surface git's own error message

📦 安装

dsh plugin --profile web add "github:mixin-ai/dsh-git-branch-switcher#main"

🚀 快速开始

dsh --profile web

🔗 链接