DSH Plugins Marketplace

DSH Plugins

Plugins

/

Development & Infrastructure

/

dsh-codex-parity

d

dsh-codex-parity

Manifest valid

Codex-style Git panel for DeepSeek Harness: a header button opens a menu with commit, push, branch switching and creation, and repository initialization; shows the current branch and the total additio

UI (client)hasBundlePatch

dsh-codex-parity

为 DeepSeek Harness (DSH Desktop) 加一个 Codex 风格的 Git 面板。

QQ20261006-164336 QQ20261006-164327

插件只做一件事:在会话头部的工作区 pill 左侧加一个独立的 Git 按钮,点开是一个轻量菜单。

项目说明
入口会话头部工作区 pill 左侧的「Git」按钮(图标 + 文字,独立于右侧按钮组)
汇总菜单顶部显示当前分支与总增减:main +154 -117
菜单项提交 / 推送 / 切换分支 / 初始化 Git(初始化在最下)
提交弹窗填写 commit message,git add -A 后提交
推送推送当前分支;没有 upstream 时提示先手动建立
切换分支搜索并切换本地分支,当前分支标记勾号,并显示未提交文件数
创建并切换输入新分支名,以当前分支为基点创建并切换
初始化 Git目录还不是仓库时可用;已是仓库时按钮置灰

非 Git 仓库时,提交 / 推送 / 切换分支置灰,只有初始化可用。

字体统一使用思源黑体 Light(回退到思源黑体常规族,再回退系统无衬线),面板整体字号为基准的 1.2 倍。

安装

dsh plugin --profile desktop add <插件目录>\release\dsh-codex-parity.tgz

卸载:

dsh plugin --profile desktop remove dsh-codex-parity

架构

两半,零依赖、无构建步骤:

文件职责
dist/formal-host.mjsGit RPC:ping、gitState、gitCommit、gitPush、gitBranchSwitch、gitBranchCreate、gitInit
dist/formal-client.cjsGit 按钮、菜单、分支与提交弹窗、操作 toast

工作目录来自会话 header 记录的 cwd;所有 Git 操作都在该目录真实执行。

客户端注册两个槽位:shell.overlay(操作 toast)与 conversation.session.header.utilities(Git 入口按钮)。该槽 kind: list 且升序渲染,原生工作区 pill(open-in-app)占 order: -10;Git 按钮用 order: -20 注册,因此落在它紧左侧、独立成组。按钮的 DOM 由宿主渲染持有,插件不做 DOM 注入也不轮询。

菜单与弹窗是挂在 document.body 上的浮层,靠内联 position:fixed 定位;插件样式表在每次挂载浮层时重新断言,宿主清理后无需重启即可恢复。

开发

npm test      # 离线测试
node scripts/pack.mjs   # 重新打包 release tarball

Comments

Loading…

Similar plugins

dsh-wending-git-workbench

by dd2673

Codex-style Git workbench: workspace-scoped changes, diff, stage, commit, guarded branch operations, graph history, fetch, fast-forward pull, and upstream push through official plugin APIs.

Development & InfrastructureManifest valid

★ 1

Apache-2.0

TypeScript

Aug 16, 2026

dsh plugin --profile web add dsh-wending-git-workbench

Git panel for DeepSeek Harness — branch dropdown, commit graph, and previews in the left rail, plus an always-on footer dock that follows your session

Development & InfrastructureManifest valid

★ 0

MIT

TypeScript

dsh plugin --profile web add dsh-web-git-sidebar

Git workspace manager for DeepSeek Harness: a repo-gated composer button opens a settings-style panel for diff/commit, branch, conflict, and worktree management, plus a commit history with branch-grap

Development & InfrastructureManifest valid

★ 1

↓ 65/wk

MIT

JavaScript

dsh plugin --profile web add @duke-dsh-plugins/dsh-git-manager

by kaixinbaba

Git development workbench for DeepSeek Harness: captures branch, status, worktrees, stashes and recent commits, with commands, tools and a settings UI.

Development & InfrastructureManifest valid

★ 0

↓ 67/wk

MIT

JavaScript

Aug 20, 2026

dsh plugin --profile web add dsh-git-workbench

by EasyTZ

Git panel plugin for DeepSeek Harness (dsh) — visual staging, commits, push and branch switching in the sidebar

Development & InfrastructureTerminal & ClientsManifest valid

★ 1

↓ 488/wk

MIT

JavaScript

Oct 8, 2026

dsh plugin --profile web add @easytz/dsh-git

by enoughpower

Git view for DeepSeek Harness: status, commit graph, branches, diff, staging/commit, push/pull and blame.

Development & InfrastructureTerminal & ClientsManifest valid

★ 5

↓ 322/wk

MIT

JavaScript

Sep 30, 2026

dsh plugin --profile web add dsh-git-graph