hanyueqiang/dsh-git-branch

hanyueqiang★ 1TypeScript最后同步: 2026-08-16

在 GitHub 打开

README 摘要

dsh-git-branch English 中文 Show the current workspace git branch right after the composer mode controls (access mode / plan) in the DeepSeek Harness (DSH) Web UI. It renders only when the workspace is inside a git repository, and it refreshes automatically when you switch branches in another tool. Where it appears The composer tool row is laid out as [+ commands] [access mode] [plan] ← branch chip . This plugin registers into the conversation.input.left slot — the additive seat immediately after the resident mode chrome — so the branch chip sits right next to the mode controls. - Branch: ⎇ main - Detached HEAD: ⎇ detached @ a1b2c3d - Not a git repository: nothing renders - Click the chip: refresh immediately (tooltip explains) Install The package is a DSH bundle (it ships its own cordis.patch.yml ), so dsh plugin add both installs the dependency and activates it — no manual config: Then restart the profile and refresh the page: How it works: package.json declares dsh.bundle.patch = ./cordis.patch.yml , which - insert s one git-branch plugin row. dsh plugin add detects dsh.bundle and adds the package to dsh.profile.bundles ; on the next boot that patch layer takes effect, the host lo…

在 GitHub 查看完整 README →
工具/开发dsh-pluginweb ui

分类