qingyou002/dsh-git-commit ↗★ 0

dsh-git-commit

DSH slash command /commit: stage every change, summarize the staged diff with the session model, and commit. 适合需要AI自动总结代码差异并快速提交Git的开发者。

패키지
dsh-git-commit
호환성
미검증
Harness peer 범위
^0.1.5-rc.1
버전
1.1.1
라이선스
MIT
최근 업데이트
2026. 9. 27.

같은 패키지 이름의 다른 저장소

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:qingyou002/dsh-git-commit

Usage

/commit                   # the model writes the message
/commit 修复登录超时       # your text becomes the title; no model call

Example output:

✅ 已提交 a1b2c3d:后台: 修复令牌过期后未刷新

📝 改动要点
- 令牌过期时改为静默刷新并重试原请求
- 新增刷新失败后的登出提示

📦 文件清单(3 个文件:修改 2,新增 1)
  修改 application/api/auth.js (+18 -4)
  新增 application/api/token.js (+42 -0)
  修改 public/assets/app.js (+3 -1)

Configuration

Every option is optional; defaults shown.

OptionDefaultMeaning
timeoutMs90000Deadline for the summarizing model call, in milliseconds.
maxDiffChars48000The staged diff is truncated beyond this many characters — head plus tail with a marked gap — before it is sent.
maxTokens2048Token ceiling for the summarizing call.
maxTitleChars100Hard cap on the first line; a longer title is cut and suffixed with ....
maxBullets12Maximum number of bullet lines kept from the reply.

Override them in your profile patch layer: