ai-git-tools 2.0.2 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/cli.js +17 -17
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -29,36 +29,36 @@ program
29
29
  // Commit 命令
30
30
  program
31
31
  .command('commit')
32
- .description('AI 自动生成 commit message 并提交')
32
+ .description('AI 自動生成 commit message 並提交')
33
33
  .option('--model <model>', '指定 AI 模型')
34
- .option('-v, --verbose', '顯示详细输出')
35
- .option('--max-diff <number>', '最大 diff 长度')
36
- .option('--max-retries <number>', '最大重试次数')
34
+ .option('-v, --verbose', '顯示詳細輸出')
35
+ .option('--max-diff <number>', '最大 diff 長度')
36
+ .option('--max-retries <number>', '最大重試次數')
37
37
  .action(commitCommand);
38
38
 
39
39
  // Commit All 命令
40
40
  program
41
41
  .command('commit-all')
42
- .description('智慧分析所有變更并自动分組提交')
42
+ .description('智慧分析所有變更並自動分組提交')
43
43
  .option('--model <model>', '指定 AI 模型')
44
- .option('-v, --verbose', '顯示详细输出')
45
- .option('--max-diff <number>', '最大 diff 长度')
46
- .option('--max-retries <number>', '最大重试次数')
44
+ .option('-v, --verbose', '顯示詳細輸出')
45
+ .option('--max-diff <number>', '最大 diff 長度')
46
+ .option('--max-retries <number>', '最大重試次數')
47
47
  .action(commitAllCommand);
48
48
 
49
49
  // PR 命令
50
50
  program
51
51
  .command('pr')
52
- .description('AI 自动生成 PR 并创建 Pull Request')
53
- .option('--base <branch>', '指定目标分支')
54
- .option('--head <branch>', '指定来源分支')
52
+ .description('AI 自動生成 PR 並創建 Pull Request')
53
+ .option('--base <branch>', '指定目標分支')
54
+ .option('--head <branch>', '指定來源分支')
55
55
  .option('--model <model>', '指定 AI 模型')
56
- .option('--org <org-name>', '指定 GitHub 組织名称')
57
- .option('--draft', '创建草稿 PR')
58
- .option('--preview', '仅预览 PR 内容,不实际创建')
59
- .option('--no-confirm', '跳過确认直接创建')
60
- .option('--auto-reviewers', '自动选择 reviewers')
61
- .option('--auto-labels', '自动添加 Labels')
56
+ .option('--org <org-name>', '指定 GitHub 組織名稱')
57
+ .option('--draft', '創建草稿 PR')
58
+ .option('--preview', '僅預覽 PR 內容,不實際創建')
59
+ .option('--no-confirm', '跳過確認直接創建')
60
+ .option('--auto-reviewers', '自動選擇 reviewers')
61
+ .option('--auto-labels', '自動添加 Labels')
62
62
  .option('--no-labels', '不添加 Labels')
63
63
  .action(prCommand);
64
64
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-git-tools",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "AI-powered Git automation tools for commit messages and PR generation",
5
5
  "main": "src/index.js",
6
6
  "type": "module",