@git-ai/cli 1.0.0 → 1.0.2

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.
package/README.md CHANGED
@@ -48,7 +48,7 @@ $ git ai
48
48
  git-ai verb @git-ai/cli@1.0.0
49
49
  git-ai verb 按 Ctrl+C 退出...
50
50
  git-ai success AI 生成的内容:
51
- docs(ligang): 更新文档和代码格式规范
51
+ docs(John): 更新文档和代码格式规范
52
52
 
53
53
  - 添加了 select-model 命令的环境变量配置说明
54
54
  - 统一了代码中的引号使用为双引号
@@ -304,8 +304,8 @@ feat(John): 添加用户登录功能
304
304
 
305
305
  配置信息存储在本地,使用 `configstore` 管理。配置文件位置:
306
306
 
307
- - **Linux/macOS**: `~/.config/@git-ai/cli/config.json`
308
- - **Windows**: `%APPDATA%\@git-ai\cli\config.json`
307
+ - **Linux/macOS**: `~/.config/configstore/git-ai/cli.json`
308
+ - **Windows**: `%APPDATA%\configstore\@git-ai\cli.json`
309
309
 
310
310
  ## 🔍 故障排除
311
311
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@git-ai/cli",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "一个基于 AI 的 Git 提交消息生成器 CLI 工具,可自动分析代码变更并生成符合规范的提交信息",
5
5
  "type": "module",
6
6
  "bin": {
@@ -55,6 +55,7 @@ export const chat = (data, baseURL, apiKey) => {
55
55
  data: {
56
56
  think: false,
57
57
  stream: false,
58
+ thinking: { type: "disabled" },
58
59
  model: data.model || getOpenAiConfig("model"),
59
60
  ...data,
60
61
  },