dsh-gitkit
界面增强 活跃维护

dsh-gitkit

snow-The/dsh-gitkit

提供 status、diff、log、commit、branch 等结构化 Git 操作,内置路径校验与免 shell 执行,可直接替代第三方 Git 插件。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
TypeScript
主要语言
MIT
开源协议
57 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:snow-The/dsh-gitkit
git clone https://github.com/snow-The/dsh-gitkit.git
git clone git@github.com:snow-The/dsh-gitkit.git
README.md main

dsh-gitkit

Structured Git tools for DeepSeek Harness — an own-built replacement for
third-party git plugins. No bare-shell git calls: every command goes through
child_process.execFile('git', args) with path validation (no absolute
paths, no .. traversal, no shell metacharacters).

Tools

  • git_status — working tree status (porcelain), optional path filter
  • git_diff — diff of working tree or between refs (--stat or full)
  • git_log — recent commits (count, optional path filter)
  • git_commit — commit staged changes with validated message
  • git_branch — list branches / current branch

Install

dsh plugin --profile web add file:~/dsh-own-plugins/dsh-gitkit

License

MIT