honoriomelo/dsh-commit-ai ↗★ 0
dsh-commit-ai
DSH 提交框 AI 助手:在 SCM 面板中注入「✨ 使用 AI 生成」按钮,利用默认大模型根据暂存的 diff 自动填写 commit 信息。
AI 分析
核心用途是自动撰写 Git 提交说明。适合在 DSH 解决方案浏览器中进行版本控制的开发者,能根据代码差异快速生成规范的 commit message。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:honoriomelo/dsh-commit-ai說明文件
閱讀完整 README ↗Configuration
The plugin's config schema (in package.json → dsh.bundle.config once
mounted) is:
| Key | Default | Description |
|---|---|---|
maxOutputTokens | 220 | Max output tokens for the commit message model call. |
temperature | 0.2 | Sampling temperature. |
maxDiffChars | 14000 | Hard cap on diff size (chars) sent to the model. |
maxFilesListed | 50 | Max staged file paths listed in the prompt. |