@deepseek-ai/dsh-tool-git
智能 Git 操作工具插件,支持自动生成提交信息、变更差异总结、变更日志、冲突风险评估及发布准备。
AI 分析
核心用途是辅助进行智能化的版本控制管理。适合需要 Agent 自动编写高质量 Commit、整理 Changelog 或评估合并风险的开发任务。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:gxinxing/dsh-tool-git说明文档
阅读完整 README ↗TypeScript Usage
The package ships TypeScript declarations at lib/types/index.d.ts.
import type {
GitOpsConfig,
GitOpsResult,
GitOpsMode,
GitOpsParams,
CommitMessageDetails,
DiffSummaryDetails,
ChangelogDetails,
ConflictRiskDetails,
ReleasePrepDetails,
GIT_OPS_EXAMPLE_PARAMS
} from "@deepseek-ai/dsh-tool-git";
Runtime import
import { Config, apply, inject, name } from "@deepseek-ai/dsh-tool-git";
// Use with Cordis plugin loader
const plugin = { name, inject, Config, apply };
Parameter typing
const params: GitOpsParams = {
mode: "commit-message",
range: "v1.0.0..HEAD",
context_path: "."
};