Skip to content

Commit 9ae024b

Browse files
Merge pull request #24 from littleCareless/develop
Develop
2 parents 4e0508a + 924a7b7 commit 9ae024b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+7444
-657
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ dist
33
node_modules
44
.vscode-test/
55
*.vsix
6+
.DS_Store

.versionrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
},
4242
{
4343
"type": "build",
44-
"section": "📦‍ Build System"
44+
"section": "️‍📦️ Build System"
4545
},
4646
{
4747
"type": "chore",

.vscode/extensions.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
2-
// See http://go.microsoft.com/fwlink/?LinkId=827846
3-
// for the documentation about the extensions.json format
4-
"recommendations": [
5-
"dbaeumer.vscode-eslint",
6-
"ms-vscode.extension-test-runner"
7-
]
2+
// See http://go.microsoft.com/fwlink/?LinkId=827846
3+
// for the documentation about the extensions.json format
4+
"recommendations": [
5+
"dbaeumer.vscode-eslint",
6+
"ms-vscode.extension-test-runner",
7+
"connor4312.esbuild-problem-matchers"
8+
]
89
}

.vscode/launch.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
1-
// A launch configuration that compiles the extension and then opens it inside a new window
2-
// Use IntelliSense to learn about possible attributes.
3-
// Hover to view descriptions of existing attributes.
4-
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
51
{
62
"version": "0.2.0",
73
"configurations": [
84
{
9-
"name": "Run Extension",
105
"type": "extensionHost",
116
"request": "launch",
7+
"name": "启动扩展",
8+
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
129
"args": [
1310
// "--disable-extensions",
1411
"--enable-extension=littleCareless.svn-scm-ai",
@@ -17,7 +14,6 @@
1714
"--enable-extension=GitHub.copilot-chat",
1815
"--extensionDevelopmentPath=${workspaceFolder}"
1916
],
20-
"outFiles": ["${workspaceFolder}/out/**/*.js"],
2117
"preLaunchTask": "${defaultBuildTask}"
2218
}
2319
]

.vscode/tasks.json

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
1-
// See https://go.microsoft.com/fwlink/?LinkId=733558
2-
// for the documentation about the tasks.json format
31
{
4-
"version": "2.0.0",
5-
"tasks": [
6-
{
7-
"type": "npm",
8-
"script": "watch",
9-
"problemMatcher": "$tsc-watch",
10-
"isBackground": true,
11-
"presentation": {
12-
"reveal": "never"
13-
},
14-
"group": {
15-
"kind": "build",
16-
"isDefault": true
17-
}
18-
}
19-
]
2+
// See https://go.microsoft.com/fwlink/?LinkId=733558
3+
// for the documentation about the tasks.json format
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"type": "npm",
8+
"script": "watch:esbuild-bundle",
9+
"problemMatcher": "$esbuild-watch",
10+
"label": "npm: bundle",
11+
"detail": "esbuild src/extension.ts --bundle --outdir=dist --external:vscode --platform=node --target=node12.18 --minify --sourcemap",
12+
"isBackground": true,
13+
"presentation": {
14+
"reveal": "never"
15+
},
16+
"group": {
17+
"kind": "build",
18+
"isDefault": true
19+
}
20+
}
21+
]
2022
}

.vscodeignore

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,21 @@ vsc-extension-quickstart.md
99
**/*.map
1010
**/*.ts
1111
**/.vscode-test.*
12+
13+
node_modules
14+
15+
# 额外排除的文件和目录
16+
.github/**
17+
.husky/**
18+
commitlint.config.mjs
19+
eslint.config.mjs
20+
.versionrc
21+
pnpm-lock.yaml
22+
SECURITY.md
23+
CHANGELOG.zh-CN.md
24+
README.zh-CN.md
25+
README.cursor.md
26+
27+
out/
28+
29+
# 保留 changelog.md 和 readme.md 作为主要文档

CHANGELOG.md

Lines changed: 224 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,230 @@ 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.19.0 (2025-06-04)
10+
11+
### ♻ Code Refactoring
12+
13+
- **generatecommitcommand**: Refactor the commit generation command and remove the old execution logic ([342d3a0](https://github.com/littleCareless/dish-ai-commit/commit/342d3a0))
14+
15+
### ✨ Features
16+
17+
- **ai-providers**: Implement AI provider streaming request and update Zhipu configuration ([31c5899](https://github.com/littleCareless/dish-ai-commit/commit/31c5899))
18+
19+
- **ai**: Add streaming generation of commit information function ([663ac26](https://github.com/littleCareless/dish-ai-commit/commit/663ac26))
20+
- **generate-commit-command**: Implement streaming generation of commit information ([4ef52fa](https://github.com/littleCareless/dish-ai-commit/commit/4ef52fa))
21+
- **scm**: Add streaming input support for SCM providers ([de1f6b2](https://github.com/littleCareless/dish-ai-commit/commit/de1f6b2))
22+
23+
### 🎫 Chores
24+
25+
- **i18n**: Added internationalization text related to streaming generation ([49a2b90](https://github.com/littleCareless/dish-ai-commit/commit/49a2b90))
26+
- **version**: Upgraded version to 0.18.0 ([bf5dbf2](https://github.com/littleCareless/dish-ai-commit/commit/bf5dbf2))
27+
28+
### 📝 Documentation
29+
30+
- **changelog**: Updated changelog to version 0.18.0 ([6bb864d](https://github.com/littleCareless/dish-ai-commit/commit/6bb864d))
31+
32+
# 0.18.0 (2025-06-03)
33+
34+
### ✨ Features
35+
36+
- **ai**: Add optional users parameter to support team member reporting ([91bb290](https://github.com/littleCareless/dish-ai-commit/commit/91bb290))
37+
38+
- **generate-branch-name-command**: Optimize the generate branch name command ([edba80f](https://github.com/littleCareless/dish-ai-commit/commit/edba80f))
39+
40+
### 🎫 Chores
41+
42+
- **i18n**: Update internationalization files ([16fc868](https://github.com/littleCareless/dish-ai-commit/commit/16fc868))
43+
44+
- **release**: Release 0.17.0 ([d3d2c51](https://github.com/littleCareless/dish-ai-commit/commit/d3d2c51))
45+
46+
# 0.17.0 (2025-05-28)
47+
48+
### ✨ Features
49+
50+
- **editor**: Enhance the editor, synchronize format status and improve the style ([4c6499d](https://github.com/littleCareless/dish-ai-commit/commit/4c6499d))
51+
52+
- **prompt**: Enhance the weekly report prompt, add prohibited operations and HTML output instructions ([d8ff7ad](https://github.com/littleCareless/dish-ai-commit/commit/d8ff7ad))
53+
54+
### 👷 Build System
55+
56+
- **deps**: Upgrade the version to 0.16.0 and introduce @typescript/native-preview ([9e92ca0](https://github.com/littleCareless/dish-ai-commit/commit/9e92ca0))
57+
58+
# 0.16.0 (2025-05-23)
59+
60+
### ✨ Features
61+
62+
- **gemini**: Add new version Gemini 2.5 model support ([ac6bdca](https://github.com/littleCareless/dish-ai-commit/commit/ac6bdca))
63+
64+
### 🐛 Bug Fixes
65+
66+
- **package**: Fix VCS conditional expression format ([cd1cb34](https://github.com/littleCareless/dish-ai-commit/commit/cd1cb34))
67+
68+
### 📝 Documentation
69+
70+
- **changelog**: Update changelog and version number to 0.15.2 ([24f0d4a](https://github.com/littleCareless/dish-ai-commit/commit/24f0d4a))
71+
72+
## 0.15.2 (2025-05-22)
73+
74+
### 🐛 Bug Fixes
75+
76+
- **package**: Optimize command display conditional logic ([3cf6755](https://github.com/littleCareless/dish-ai-commit/commit/3cf6755))
77+
78+
### 👷 Build System
79+
80+
- **version**: Release v0.15.0 ([64a92a3](https://github.com/littleCareless/dish-ai-commit/commit/64a92a3))
81+
82+
# 0.15.0 (2025-05-09)
83+
84+
### ✨ Features
85+
86+
- **config**: Add commit message body switch configuration item ([e2011f0](https://github.com/littleCareless/dish-ai-commit/commit/e2011f0))
87+
88+
- **prompt**: Refactor commit message generation logic ([0d5da20](https://github.com/littleCareless/dish-ai-commit/commit/0d5da20))
89+
90+
### 👷 Build System
91+
92+
- **version**: Release v0.14.2 version ([e3b8c78](https://github.com/littleCareless/dish-ai-commit/commit/e3b8c78))
93+
94+
## 0.14.2 (2025-05-07)
95+
96+
### 🎫 Chores
97+
98+
- **build**: Update build configuration and AI provider implementation ([f9e057b](https://github.com/littleCareless/dish-ai-commit/commit/f9e057b))
99+
100+
### 👷 Build System
101+
102+
- **version**: Release v0.14.0 ([813446d](https://github.com/littleCareless/dish-ai-commit/commit/813446d))
103+
104+
# 0.14.0 (2025-04-22)
105+
106+
### ✨ Features
107+
108+
- **log**: Enhanced version control log extraction function ([1b2dcf8](https://github.com/littleCareless/dish-ai-commit/commit/1b2dcf8))
109+
110+
### 🎫 Chores
111+
112+
- **config**: Adjust system configuration and weekly report generation prompter ([b63b18a](https://github.com/littleCareless/dish-ai-commit/commit/b63b18a))
113+
114+
### 👷 Build System
115+
116+
- **version**: Released v0.13.3 version ([6dc6bfc](https://github.com/littleCareless/dish-ai-commit/commit/6dc6bfc))
117+
118+
## 0.13.3 (2025-04-18)
119+
120+
### 🎫 Chores
121+
122+
- **config**: Optimize plugin configuration and build scripts ([f71ea75](https://github.com/littleCareless/dish-ai-commit/commit/f71ea75))
123+
124+
### 👷 Build System
125+
126+
- **version**: Release v0.13.2 ([1d1f40b](https://github.com/littleCareless/dish-ai-commit/commit/1d1f40b))
127+
128+
## 0.13.2 (2025-04-18)
129+
130+
### 🐛 Bug Fixes
131+
132+
- **package**: Fix menu command order error ([070fd6c](https://github.com/littleCareless/dish-ai-commit/commit/070fd6c))
133+
134+
### 👷 Build System
135+
136+
- **version**: Release v0.13.1 ([2e41c7f](https://github.com/littleCareless/dish-ai-commit/commit/2e41c7f))
137+
138+
### 💄 Styles
139+
140+
- Ignore .DS_Store files ([c8fa89a](https://github.com/littleCareless/dish-ai-commit/commit/c8fa89a))
141+
142+
## 0.13.1 (2025-04-18)
143+
144+
### 🎫 Chores
145+
146+
- **release**: Release v0.13.0 ([0f45fcc](https://github.com/littleCareless/dish-ai-commit/commit/0f45fcc))
147+
148+
### 🐛 Bug Fixes
149+
150+
- **git**: Optimize the generated commit information content processing ([8e8a528](https://github.com/littleCareless/dish-ai-commit/commit/8e8a528))
151+
152+
# 0.13.0 (2025-04-18)
153+
154+
### ♻ Code Refactoring
155+
156+
- **ai**: Optimize the temperature configuration parameters of AI service providers ([cf82e72](https://github.com/littleCareless/dish-ai-commit/commit/cf82e72))
157+
158+
### ✨ Features
159+
160+
- **gemini**: Fully update the Gemini series model and refactor the service provider ([48d9ea4](https://github.com/littleCareless/dish-ai-commit/commit/48d9ea4))
161+
162+
- **model**: Refactor the AI ​​model recognition mechanism ([65bfa2a](https://github.com/littleCareless/dish-ai-commit/commit/65bfa2a))
163+
164+
### 🎫 Chores
165+
166+
- **ai**: Adjust AI provider configuration and error handling ([be7debd](https://github.com/littleCareless/dish-ai-commit/commit/be7debd))
167+
- **config**: Fix emoji display issues ([eb9c48d](https://github.com/littleCareless/dish-ai-commit/commit/eb9c48d))
168+
- **locale**: Add translations for build failure and model selection ([1cce980](https://github.com/littleCareless/dish-ai-commit/commit/1cce980))
169+
- **version**: Update project version to 0.12.5 ([884e2ff](https://github.com/littleCareless/dish-ai-commit/commit/884e2ff))
170+
171+
### 👷 Build System
172+
173+
- **deps**: Add @google/genai dependency package ([cceb650](https://github.com/littleCareless/dish-ai-commit/commit/cceb650))
174+
175+
## 0.12.5 (2025-04-17)
176+
177+
### 🎫 Chores
178+
179+
- **version**: Update the project version to 0.12.4 ([28d5d8e](https://github.com/littleCareless/dish-ai-commit/commit/28d5d8e))
180+
181+
### 🐛 Bug Fixes
182+
183+
- **misc**: Optimize the commit information and branch name generation function ([78530f3](https://github.com/littleCareless/dish-ai-commit/commit/78530f3))
184+
185+
## 0.12.4 (2025-04-17)
186+
187+
### 📝 Documentation
188+
189+
- **version**: Updated version number to 0.12.3 ([bba3f9d](https://github.com/littleCareless/dish-ai-commit/commit/bba3f9d))
190+
191+
## 0.12.3 (2025-04-16)
192+
193+
### 🎫 Chores
194+
195+
- **build**: Optimize VSCode plugin packaging configuration ([bfe8766](https://github.com/littleCareless/dish-ai-commit/commit/bfe8766))
196+
197+
- **vscode**: Update VSCode configuration file ([178e4d3](https://github.com/littleCareless/dish-ai-commit/commit/178e4d3))
198+
199+
### 👷 Build System
200+
201+
- **bundle**: Add esbuild packaging support ([bcc989f](https://github.com/littleCareless/dish-ai-commit/commit/bcc989f))
202+
203+
### 📝 Documentation
204+
205+
- **changelog**: Update version to 0.12.2 ([d7cf90d](https://github.com/littleCareless/dish-ai-commit/commit/d7cf90d))
206+
207+
## 0.12.2 (2025-04-16)
208+
209+
### 🐛 Bug Fixes
210+
211+
- **scm**: Optimize sub-directory Git repository detection logic ([7a478af](https://github.com/littleCareless/dish-ai-commit/commit/7a478af))
212+
213+
### 👷 Build System
214+
215+
- **release**: Release version v0.12.1 ([4567997](https://github.com/littleCareless/dish-ai-commit/commit/4567997))
216+
217+
## 0.12.1 (2025-04-15)
218+
219+
### ♻ Code Refactoring
220+
221+
- **config**: Adjust the default values ​​and formats of configuration items ([82d6f70](https://github.com/littleCareless/dish-ai-commit/commit/82d6f70))
222+
223+
### 🎫 Chores
224+
225+
- **ci**: Add pnpm environment configuration ([aa361d8](https://github.com/littleCareless/dish-ai-commit/commit/aa361d8))
226+
227+
- **deps**: Switch build scripts from pnpm to npm ([e06bda5](https://github.com/littleCareless/dish-ai-commit/commit/e06bda5))
228+
229+
### 👷 Build System
230+
231+
- **version**: Upgraded the project version to 0.12.0 ([4c86577](https://github.com/littleCareless/dish-ai-commit/commit/4c86577))
232+
9233
# 0.12.0 (2025-04-14)
10234

11235
### ✨ Features

0 commit comments

Comments
 (0)