Skip to content

Commit 2fb7b27

Browse files
committed
docs: update changelog and configuration docs for v0.1.0
- Add MiMo thinking format support documentation - Update CHANGELOG.md with v0.1.0 release notes - Update npm package versions to 0.1.0
1 parent 89cd59a commit 2fb7b27

11 files changed

Lines changed: 149 additions & 31 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,19 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.1.0] - 2026-05-15
9+
10+
### Added
11+
- **MiMo thinking format support**: New `thinkingFormat` config option in provider settings to support Xiaomi MiMo API format
12+
- **OpenAI provider**: Use `thinking: {type: "enabled"}` format for xiaomi endpoints
13+
- **Anthropic provider**: Make `budget_tokens` optional (omit for xiaomi endpoints)
14+
- **URL auto-detect**: Automatic detection of xiaomimimo endpoints when `thinkingFormat` not explicitly set
15+
- **Debug logging**: Enable debug output with `VIBECODING_DEBUG` environment variable
16+
17+
### Changed
18+
- `thinkingFormat` configuration is now passed from config to providers instead of relying solely on URL-based detection
19+
- Anthropic `budget_tokens` changed from required to optional (`*int` with `omitempty`)
20+
821
## [0.0.9] - 2026-05-15
922

1023
### Added

docs/en/configuration.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ Multi-provider configuration. Each provider contains:
9494
| `baseUrl` | string || API base URL |
9595
| `apiKey` | string | - | API key (optional, can also use environment variables) |
9696
| `api` | string | - | API type: `openai-chat` or `anthropic-messages` |
97+
| `thinkingFormat` | string | - | Thinking parameter format: `""`, `"openai"`, `"anthropic"`, `"xiaomi"` |
9798
| `models` | array | - | List of available models |
9899

99100
#### api field
@@ -105,6 +106,30 @@ If not specified, auto-detected based on `baseUrl`:
105106
- Contains "anthropic" → `anthropic-messages`
106107
- Others → `openai-chat`
107108

109+
#### thinkingFormat field
110+
111+
Specifies how thinking/reasoning parameters are sent to the API:
112+
113+
- `""` (empty): Auto-detect based on URL
114+
- `"openai"`: Use OpenAI `reasoning_effort` format
115+
- `"anthropic"`: Use Anthropic `thinking` with `budget_tokens`
116+
- `"xiaomi"`: Use `thinking: {type: "enabled"}` format (for Xiaomi MiMo API)
117+
118+
When not set, automatically detects `xiaomi` format if URL contains `xiaomimimo`.
119+
120+
```json
121+
{
122+
"providers": {
123+
"xiaomi": {
124+
"baseUrl": "https://api.xiaomimimo.com/v1",
125+
"apiKey": "sk-...",
126+
"api": "openai-chat",
127+
"thinkingFormat": "xiaomi"
128+
}
129+
}
130+
}
131+
```
132+
108133
#### models array
109134

110135
```json

docs/zh/changelog.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# 更新日志
22

3+
## v0.1.0
4+
5+
### ✨ 新功能
6+
7+
- **小米 MiMo thinking 格式支持**
8+
- 新增 `thinkingFormat` 配置选项,支持小米 MiMo API 格式
9+
- OpenAI provider: 小米端点使用 `thinking: {type: "enabled"}` 格式
10+
- Anthropic provider: 小米端点省略 `budget_tokens`
11+
- URL 自动检测:未设置 `thinkingFormat` 时自动检测 `xiaomimimo` 端点
12+
- 调试日志:通过 `VIBECODING_DEBUG` 环境变量启用
13+
14+
### 🛠 改进
15+
16+
- **配置灵活性**
17+
- `thinkingFormat` 从配置传递到 provider,不再仅依赖 URL 检测
18+
- Anthropic `budget_tokens` 从必需改为可选(指针类型 + `omitempty`
19+
20+
---
21+
322
## v0.0.9
423

524
### ✨ 新功能

docs/zh/configuration.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ VibeCoding 使用两个配置文件:
9494
| `baseUrl` | string || API 基础 URL |
9595
| `apiKey` | string | - | API 密钥 (可选,也可通过环境变量) |
9696
| `api` | string | - | API 类型: `openai-chat``anthropic-messages` |
97+
| `thinkingFormat` | string | - | 思考参数格式: `""`, `"openai"`, `"anthropic"`, `"xiaomi"` |
9798
| `models` | array | - | 可用模型列表 |
9899

99100
#### api 字段
@@ -105,6 +106,30 @@ VibeCoding 使用两个配置文件:
105106
- 包含 "anthropic" → `anthropic-messages`
106107
- 其他 → `openai-chat`
107108

109+
#### thinkingFormat 字段
110+
111+
指定思考/推理参数如何发送到 API:
112+
113+
- `""` (空): 根据 URL 自动检测
114+
- `"openai"`: 使用 OpenAI `reasoning_effort` 格式
115+
- `"anthropic"`: 使用 Anthropic `thinking``budget_tokens`
116+
- `"xiaomi"`: 使用 `thinking: {type: "enabled"}` 格式 (用于小米 MiMo API)
117+
118+
未设置时,如果 URL 包含 `xiaomimimo` 则自动检测为 `xiaomi` 格式。
119+
120+
```json
121+
{
122+
"providers": {
123+
"xiaomi": {
124+
"baseUrl": "https://api.xiaomimimo.com/v1",
125+
"apiKey": "sk-...",
126+
"api": "openai-chat",
127+
"thinkingFormat": "xiaomi"
128+
}
129+
}
130+
}
131+
```
132+
108133
#### models 数组
109134

110135
```json

npm/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vibecoding-installer",
3-
"version": "v0.0.9-dirty",
3+
"version": "0.1.0",
44
"description": "AI coding assistant for the terminal",
55
"main": "index.js",
66
"bin": {
@@ -30,11 +30,11 @@
3030
"node": ">=14"
3131
},
3232
"optionalDependencies": {
33-
"vibecoding-installer-linux-x64": "v0.0.9-dirty",
34-
"vibecoding-installer-linux-arm64": "v0.0.9-dirty",
35-
"vibecoding-installer-darwin-x64": "v0.0.9-dirty",
36-
"vibecoding-installer-darwin-arm64": "v0.0.9-dirty",
37-
"vibecoding-installer-win32-x64": "v0.0.9-dirty",
38-
"vibecoding-installer-win32-arm64": "v0.0.9-dirty"
33+
"vibecoding-installer-linux-x64": "0.1.0",
34+
"vibecoding-installer-linux-arm64": "0.1.0",
35+
"vibecoding-installer-darwin-x64": "0.1.0",
36+
"vibecoding-installer-darwin-arm64": "0.1.0",
37+
"vibecoding-installer-win32-x64": "0.1.0",
38+
"vibecoding-installer-win32-arm64": "0.1.0"
3939
}
4040
}

npm/packages/vibecoding-installer-darwin-arm64/package.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
{
22
"name": "vibecoding-installer-darwin-arm64",
3-
"version": "v0.0.9-dirty",
3+
"version": "0.1.0",
44
"description": "VibeCoding native binary for darwin-arm64",
5-
"os": ["darwin"],
6-
"cpu": ["arm64"],
7-
"files": ["bin/"],
5+
"os": [
6+
"darwin"
7+
],
8+
"cpu": [
9+
"arm64"
10+
],
11+
"files": [
12+
"bin/"
13+
],
814
"license": "MIT",
915
"repository": {
1016
"type": "git",

npm/packages/vibecoding-installer-darwin-x64/package.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
{
22
"name": "vibecoding-installer-darwin-x64",
3-
"version": "v0.0.9-dirty",
3+
"version": "0.1.0",
44
"description": "VibeCoding native binary for darwin-x64",
5-
"os": ["darwin"],
6-
"cpu": ["x64"],
7-
"files": ["bin/"],
5+
"os": [
6+
"darwin"
7+
],
8+
"cpu": [
9+
"x64"
10+
],
11+
"files": [
12+
"bin/"
13+
],
814
"license": "MIT",
915
"repository": {
1016
"type": "git",

npm/packages/vibecoding-installer-linux-arm64/package.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
{
22
"name": "vibecoding-installer-linux-arm64",
3-
"version": "v0.0.9-dirty",
3+
"version": "0.1.0",
44
"description": "VibeCoding native binary for linux-arm64",
5-
"os": ["linux"],
6-
"cpu": ["arm64"],
7-
"files": ["bin/"],
5+
"os": [
6+
"linux"
7+
],
8+
"cpu": [
9+
"arm64"
10+
],
11+
"files": [
12+
"bin/"
13+
],
814
"license": "MIT",
915
"repository": {
1016
"type": "git",

npm/packages/vibecoding-installer-linux-x64/package.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
{
22
"name": "vibecoding-installer-linux-x64",
3-
"version": "v0.0.9-dirty",
3+
"version": "0.1.0",
44
"description": "VibeCoding native binary for linux-x64",
5-
"os": ["linux"],
6-
"cpu": ["x64"],
7-
"files": ["bin/"],
5+
"os": [
6+
"linux"
7+
],
8+
"cpu": [
9+
"x64"
10+
],
11+
"files": [
12+
"bin/"
13+
],
814
"license": "MIT",
915
"repository": {
1016
"type": "git",

npm/packages/vibecoding-installer-win32-arm64/package.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
{
22
"name": "vibecoding-installer-win32-arm64",
3-
"version": "v0.0.9-dirty",
3+
"version": "0.1.0",
44
"description": "VibeCoding native binary for win32-arm64",
5-
"os": ["win32"],
6-
"cpu": ["arm64"],
7-
"files": ["bin/"],
5+
"os": [
6+
"win32"
7+
],
8+
"cpu": [
9+
"arm64"
10+
],
11+
"files": [
12+
"bin/"
13+
],
814
"license": "MIT",
915
"repository": {
1016
"type": "git",

0 commit comments

Comments
 (0)