Skip to content

Commit 95f44ab

Browse files
Merge pull request #29 from littleCareless/develop
Develop
2 parents 8a045c5 + c3c7098 commit 95f44ab

35 files changed

+16862
-7926
lines changed

.vscodeignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ README.cursor.md
2727
out/
2828

2929
# 保留 changelog.md 和 readme.md 作为主要文档
30+
images/demo.gif

CHANGELOG.md

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,85 @@ All notable changes to this project will be documented in this file.
66

77
The format is based on [Keep a Changelog](https://keepachangelog.com/zh-CN/1.0.0/)
88

9+
## 0.21.1 (2025-06-13)
10+
11+
### ♻ Code Refactoring
12+
13+
- **ai-provider**: Refactor AI provider streaming request parameter processing ([1544c46](https://github.com/littleCareless/dish-ai-commit/commit/1544c46))
14+
15+
- **progress**: Optimize command progress display and user feedback ([1c098fa](https://github.com/littleCareless/dish-ai-commit/commit/1c098fa))
16+
17+
### 🎫 Chores
18+
19+
- **i18n**: Added internationalized text related to PR summary generation progress ([e437a0c](https://github.com/littleCareless/dish-ai-commit/commit/e437a0c))
20+
21+
- **release**: Release 0.21.0 Version ([f79a70c](https://github.com/littleCareless/dish-ai-commit/commit/f79a70c))
22+
23+
# 0.21.0 (2025-06-13)
24+
25+
### ✨ Features
26+
27+
- **ai-provider**: Implement PR summary generation for AI provider ([c0c9d48](https://github.com/littleCareless/dish-ai-commit/commit/c0c9d48))
28+
- **config**: Add PR summary config option ([d933c69](https://github.com/littleCareless/dish-ai-commit/commit/d933c69))
29+
- **extension**: Add PR summary generation ([d9b1d21](https://github.com/littleCareless/dish-ai-commit/commit/d9b1d21))
30+
- **pr-summary**: Add PR summary generation ([5867855](https://github.com/littleCareless/dish-ai-commit/commit/5867855))
31+
- **pr-summary**: Added the function of generating PR summary ([78c92c1](https://github.com/littleCareless/dish-ai-commit/commit/78c92c1))
32+
- **scm**: Added the function of obtaining commit log and branch list ([be86233](https://github.com/littleCareless/dish-ai-commit/commit/be86233))
33+
34+
### 🎫 Chores
35+
36+
- **i18n**: Updated internationalization files to support new features such as PR summary ([9a29abb](https://github.com/littleCareless/dish-ai-commit/commit/9a29abb))
37+
- **release**: Release 0.20.2 version ([08a3d09](https://github.com/littleCareless/dish-ai-commit/commit/08a3d09))
38+
39+
## 0.20.2 (2025-06-12)
40+
41+
### 🎫 Chores
42+
43+
- **vscode**: Add images/demo.gif to ignore list ([e0938ba](https://github.com/littleCareless/dish-ai-commit/commit/e0938ba))
44+
45+
### 🐛 Bug Fixes
46+
47+
- **build**: Fix dependency and Node engine compatibility issues ([d1f8daa](https://github.com/littleCareless/dish-ai-commit/commit/d1f8daa))
48+
49+
- **core**: Improve command usability and update to 0.20.1 version ([de573b0](https://github.com/littleCareless/dish-ai-commit/commit/de573b0))
50+
51+
## 0.20.1 (2025-06-11)
52+
53+
### ♻ Code Refactoring
54+
55+
- **gemini**: Refactor Gemini AI provider ([8469266](https://github.com/littleCareless/dish-ai-commit/commit/8469266))
56+
57+
- **zhipu**: Remove obsolete models ([483bf38](https://github.com/littleCareless/dish-ai-commit/commit/483bf38))
58+
59+
### 🎫 Chores
60+
61+
- **deps**: Downgrade vscode engine and type definition version ([75bb17d](https://github.com/littleCareless/dish-ai-commit/commit/75bb17d))
62+
63+
- **deps**: Update dependencies and remove package-lock.json ([7e5c9e8](https://github.com/littleCareless/dish-ai-commit/commit/7e5c9e8))
64+
- **model-picker**: Add annotations to model selection logic ([2ec10db](https://github.com/littleCareless/dish-ai-commit/commit/2ec10db))
65+
- **release**: Release 0.20.0 ([f276e47](https://github.com/littleCareless/dish-ai-commit/commit/f276e47))
66+
67+
### 🐛 Bug Fixes
68+
69+
- **openai**: Fix model acquisition failure log ([887bbeb](https://github.com/littleCareless/dish-ai-commit/commit/887bbeb))
70+
71+
# 0.20.0 (2025-06-10)
72+
73+
### ✨ Features
74+
75+
- **command**: Integrate AI Terms of Service confirmation and support streaming task cancellation ([276f709](https://github.com/littleCareless/dish-ai-commit/commit/276f709))
76+
- **images**: Add demo GIF images ([33ab53c](https://github.com/littleCareless/dish-ai-commit/commit/33ab53c))
77+
- **state**: Introduce state management module ([48dd04f](https://github.com/littleCareless/dish-ai-commit/commit/48dd04f))
78+
79+
### 🎫 Chores
80+
81+
- **i18n**: Add localized entries related to AI Terms of Service and user cancellation operations ([ad38e39](https://github.com/littleCareless/dish-ai-commit/commit/ad38e39))
82+
- **release**: Upgrade version to 0.19.0 and update change log ([1711136](https://github.com/littleCareless/dish-ai-commit/commit/1711136))
83+
84+
### 🐛 Bug Fixes
85+
86+
- **scm**: Fix special character escape of author name in Git log query ([924a7b7](https://github.com/littleCareless/dish-ai-commit/commit/924a7b7))
87+
988
# 0.19.0 (2025-06-04)
1089

1190
### ♻ Code Refactoring

CHANGELOG.zh-CN.md

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,80 @@ All notable changes to this project will be documented in this file.
66

77
The format is based on [Keep a Changelog](https://keepachangelog.com/zh-CN/1.0.0/)
88

9+
## 0.21.1 (2025-06-13)
10+
11+
### ♻ Code Refactoring
12+
13+
- **ai-provider**: 重构 AI 提供程序流式请求参数处理 ([1544c46](https://github.com/littleCareless/dish-ai-commit/commit/1544c46))
14+
- **progress**: 优化命令进度显示与用户反馈 ([1c098fa](https://github.com/littleCareless/dish-ai-commit/commit/1c098fa))
15+
16+
### 🎫 Chores
17+
18+
- **i18n**: 新增 PR 摘要生成进度相关的国际化文案 ([e437a0c](https://github.com/littleCareless/dish-ai-commit/commit/e437a0c))
19+
- **release**: 发布 0.21.0 版本 ([f79a70c](https://github.com/littleCareless/dish-ai-commit/commit/f79a70c))
20+
21+
# 0.21.0 (2025-06-13)
22+
23+
### ✨ Features
24+
25+
- **ai-provider**: 为 AI 提供程序实现 PR 摘要生成功能 ([c0c9d48](https://github.com/littleCareless/dish-ai-commit/commit/c0c9d48))
26+
- **config**: 添加 PR 摘要配置选项 ([d933c69](https://github.com/littleCareless/dish-ai-commit/commit/d933c69))
27+
- **extension**: 添加生成 PR 摘要功能 ([d9b1d21](https://github.com/littleCareless/dish-ai-commit/commit/d9b1d21))
28+
- **pr-summary**: 添加生成 PR 摘要功能 ([5867855](https://github.com/littleCareless/dish-ai-commit/commit/5867855))
29+
- **pr-summary**: 添加生成 PR 摘要功能 ([78c92c1](https://github.com/littleCareless/dish-ai-commit/commit/78c92c1))
30+
- **scm**: 新增获取提交日志与分支列表功能 ([be86233](https://github.com/littleCareless/dish-ai-commit/commit/be86233))
31+
32+
### 🎫 Chores
33+
34+
- **i18n**: 更新国际化文件,支持 PR 摘要等新功能 ([9a29abb](https://github.com/littleCareless/dish-ai-commit/commit/9a29abb))
35+
- **release**: 发布 0.20.2 版本 ([08a3d09](https://github.com/littleCareless/dish-ai-commit/commit/08a3d09))
36+
37+
## 0.20.2 (2025-06-12)
38+
39+
### 🎫 Chores
40+
41+
- **vscode**: 将 images/demo.gif 添加到忽略列表 ([e0938ba](https://github.com/littleCareless/dish-ai-commit/commit/e0938ba))
42+
43+
### 🐛 Bug Fixes
44+
45+
- **build**: 修复依赖和 Node 引擎兼容性问题 ([d1f8daa](https://github.com/littleCareless/dish-ai-commit/commit/d1f8daa))
46+
- **core**: 改进命令可用性并更新至 0.20.1 版本 ([de573b0](https://github.com/littleCareless/dish-ai-commit/commit/de573b0))
47+
48+
## 0.20.1 (2025-06-11)
49+
50+
### ♻ Code Refactoring
51+
52+
- **gemini**: 重构 Gemini AI 提供者 ([8469266](https://github.com/littleCareless/dish-ai-commit/commit/8469266))
53+
- **zhipu**: 移除过时模型 ([483bf38](https://github.com/littleCareless/dish-ai-commit/commit/483bf38))
54+
55+
### 🎫 Chores
56+
57+
- **deps**: 降级 vscode 引擎及类型定义版本 ([75bb17d](https://github.com/littleCareless/dish-ai-commit/commit/75bb17d))
58+
- **deps**: 更新依赖项并删除 package-lock.json ([7e5c9e8](https://github.com/littleCareless/dish-ai-commit/commit/7e5c9e8))
59+
- **model-picker**: 为模型选择逻辑添加注释 ([2ec10db](https://github.com/littleCareless/dish-ai-commit/commit/2ec10db))
60+
- **release**: 发布 0.20.0 版本 ([f276e47](https://github.com/littleCareless/dish-ai-commit/commit/f276e47))
61+
62+
### 🐛 Bug Fixes
63+
64+
- **openai**: 修复模型获取失败的日志 ([887bbeb](https://github.com/littleCareless/dish-ai-commit/commit/887bbeb))
65+
66+
# 0.20.0 (2025-06-10)
67+
68+
### ✨ Features
69+
70+
- **command**: 集成 AI 服务条款确认并支持流式任务取消 ([276f709](https://github.com/littleCareless/dish-ai-commit/commit/276f709))
71+
- **images**: 新增演示 GIF 图像 ([33ab53c](https://github.com/littleCareless/dish-ai-commit/commit/33ab53c))
72+
- **state**: 引入状态管理模块 ([48dd04f](https://github.com/littleCareless/dish-ai-commit/commit/48dd04f))
73+
74+
### 🎫 Chores
75+
76+
- **i18n**: 添加 AI 服务条款与用户取消操作相关的本地化条目 ([ad38e39](https://github.com/littleCareless/dish-ai-commit/commit/ad38e39))
77+
- **release**: 升级版本至 0.19.0 并更新变更日志 ([1711136](https://github.com/littleCareless/dish-ai-commit/commit/1711136))
78+
79+
### 🐛 Bug Fixes
80+
81+
- **scm**: 修复 Git 日志查询中作者名特殊字符转义 ([924a7b7](https://github.com/littleCareless/dish-ai-commit/commit/924a7b7))
82+
983
# 0.19.0 (2025-06-04)
1084

1185
### ♻ Code Refactoring

i18n/en.json

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@
104104
"no.changes.selected": "No changes selected! Please select files to analyze",
105105
"no.changes.found": "No changes found in selected files",
106106
"please.select.valid.files": "Some selected files are invalid, please reselect files for review",
107-
"no.changes.found": "No changes found for review",
108107
"review.file.failed": "Failed to review file: {0}",
109108
"code.review.failed": "Code review failed: {0}",
110109
"svn.no.files.selected": "No files selected to commit",
@@ -151,5 +150,31 @@
151150
"analyzing.description": "Analyzing description...",
152151
"commit.message.generated.stream": "Commit message generated successfully (streamed by {1} - {2})",
153152
"generate.commit.stream.failed": "Failed to generate commit message via stream: {0}",
154-
"provider.does.not.support.streaming": "Provider {0} does not support streaming generation."
153+
"provider.does.not.support.streaming": "Provider {0} does not support streaming generation.",
154+
"confirm.ai.provider.tos.accept": "Accept",
155+
"confirm.ai.provider.tos.acceptWorkspace": "Accept Only for this Workspace",
156+
"confirm.ai.provider.tos.cancel": "Cancel",
157+
"confirm.ai.provider.tos.message": "Dish AI features can send code snippets, diffs, and other context to your selected AI provider for analysis.",
158+
"user.cancelled.operation.log": "User cancelled the operation",
159+
"user.cancelled.operation.error": "Operation cancelled by user",
160+
"pr.summary.git.only": "PR Summary generation is only available for Git repositories",
161+
"pr.summary.no.commits": "No commits found to generate PR summary",
162+
"progress.generating.pr.summary": "Generating PR summary...",
163+
"detecting.scm.provider": "Detecting SCM provider...",
164+
"fetching.branches": "Fetching branches...",
165+
"fetching.commit.log": "Fetching commit log...",
166+
"validating.model": "Validating model...",
167+
"analyzing.commits": "Analyzing commits...",
168+
"pr.summary.title": "PR Summary",
169+
"pr.summary.generated": "PR Summary generated successfully and opened in a new tab",
170+
"pr.summary.generation.failed": "Failed to generate PR summary",
171+
"pr.summary.generation.failed.error": "Failed to generate PR summary: {0}",
172+
"command.pr.summary.failed": "PR Summary generation command failed: {0}",
173+
"provider.does.not.support.feature": "Provider {0} does not support {1}.",
174+
"svn.log.failed": "Failed to get SVN commit log: {0}",
175+
"git.branch.list.failed": "Failed to get Git branch list: {0}",
176+
"pr.summary.select.base.branch.placeholder": "Select base branch to compare with (current: {0})",
177+
"pr.summary.select.base.branch.title": "Select Base Branch for PR Summary",
178+
"pr.summary.base.branch.selection.cancelled": "Base branch selection cancelled. PR summary generation aborted.",
179+
"pr.summary.no.branches.found": "No branches found in the repository. Using default base branch."
155180
}

i18n/zh-cn.json

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,8 @@
9191
"dashscope.apiKey.missing": "DashScope API Key 未配置。是否现在配置?",
9292
"doubao.apiKey.missing": "豆包 API Key 未配置。是否现在配置?",
9393
"reviewing.code": "正在进行代码评审",
94-
"getting.file.changes": "正在获取文件变更...",
9594
"no.valid.changes.selected": "未选择有效的待评审变更",
9695
"reviewing.file": "评审文件:{0}",
97-
"preparing.results": "正在准备评审结果...",
9896
"review.all.failed": "所有文件评审失败",
9997
"review.complete.count": "已完成 {0} 个文件的代码评审",
10098
"review.results.title": "代码评审结果",
@@ -121,7 +119,6 @@
121119
"branch.name.git.only": "分支名称生成功能仅适用于Git仓库",
122120
"command.branch.name.failed": "分支名称生成命令执行失败:{0}",
123121
"please.select.valid.files": "选择的文件中包含无效项,请重新选择要评审的文件",
124-
"no.changes.found": "未找到需要评审的变更",
125122
"review.file.failed": "评审文件失败: {0}",
126123
"code.review.failed": "代码评审失败: {0}",
127124
"svn.no.files.selected": "未选择要提交的文件",
@@ -155,5 +152,31 @@
155152
"analyzing.description": "正在分析描述...",
156153
"commit.message.generated.stream": "提交信息已通过流式方式成功生成 (由 {1} - {2} 生成)",
157154
"generate.commit.stream.failed": "通过流式方式生成提交信息失败: {0}",
158-
"provider.does.not.support.streaming": "提供商 {0} 不支持流式生成。"
155+
"provider.does.not.support.streaming": "提供商 {0} 不支持流式生成。",
156+
"confirm.ai.provider.tos.accept": "接受",
157+
"confirm.ai.provider.tos.acceptWorkspace": "仅针对此工作区接受",
158+
"confirm.ai.provider.tos.cancel": "取消",
159+
"confirm.ai.provider.tos.message": "Dish AI 功能可以将代码片段、差异和其他上下文发送到您选择的 AI 提供商进行分析。",
160+
"user.cancelled.operation.log": "用户取消了操作",
161+
"user.cancelled.operation.error": "操作已被用户取消",
162+
"pr.summary.git.only": "PR摘要生成功能仅适用于Git仓库",
163+
"pr.summary.no.commits": "未找到可用于生成PR摘要的提交记录",
164+
"progress.generating.pr.summary": "正在生成PR摘要...",
165+
"detecting.scm.provider": "正在检测SCM提供商...",
166+
"fetching.branches": "正在获取分支列表...",
167+
"fetching.commit.log": "正在获取提交日志...",
168+
"validating.model": "正在验证模型...",
169+
"analyzing.commits": "正在分析提交记录...",
170+
"pr.summary.title": "PR摘要",
171+
"pr.summary.generated": "PR摘要已成功生成并在新标签页中打开",
172+
"pr.summary.generation.failed": "生成PR摘要失败",
173+
"pr.summary.generation.failed.error": "生成PR摘要失败: {0}",
174+
"command.pr.summary.failed": "PR摘要生成命令执行失败: {0}",
175+
"provider.does.not.support.feature": "提供商 {0} 不支持 {1} 功能。",
176+
"svn.log.failed": "获取 SVN 提交日志失败: {0}",
177+
"git.branch.list.failed": "获取 Git 分支列表失败: {0}",
178+
"pr.summary.select.base.branch.placeholder": "选择要对比的基础分支 (当前: {0})",
179+
"pr.summary.select.base.branch.title": "选择PR摘要的基础分支",
180+
"pr.summary.base.branch.selection.cancelled": "已取消选择基础分支。PR摘要生成已中止。",
181+
"pr.summary.no.branches.found": "仓库中未找到分支。将使用默认基础分支。"
159182
}

0 commit comments

Comments
 (0)