feat(settings): 适配 kimi-code 新增 auto_session_title / repeat_breaker 顶层开关;最大输出未匹配回填 131072;watch 默认值修正 — bump to v0.8.1
Release / Version consistency (push) Canceled after 0s
Release / Build (macos-latest) (push) Canceled after 0s
Release / Build (ubuntu-latest) (push) Canceled after 0s
Release / Build (windows-latest) (push) Canceled after 0s
Release / Attach macOS install script (push) Canceled after 0s

包含未发布的 ef6749b / 24cb04b / 977f433 三个提交,官网同步更新至 v0.8.1
This commit is contained in:
KimiSwitch Dev committed 2026-10-04 00:59:59 +08:00
1 parent ef6749b208
commit ac82135dee
12 files changed
+96 -51

No files matched your search

+7
View File
@@ -6,6 +6,13 @@
--- ---
## v0.8.1 (2026-10-04)
- **全局配置新增两个顶层开关**:自动生成会话标题(`auto_session_title`)与重复调用拦截(`repeat_breaker`),默认开启,关闭显式写 `false`、开启删键跟随上游默认(适配 kimi-code #3962 / #3995)
- **最大输出未匹配 models.dev 时回填默认值 131072**(128K 兜底,编辑页回填与获取模型列表预填同口径)
- **修复 `[watch] enabled` 默认值显示**:上游 #4015 已翻回默认开启,设置页同步修正
- **「最大输出 Token」列名精简为「最大输出」**,描述对齐上游 #4091(留空即不发送输出上限)
## v0.8.0 (2026-10-03) ## v0.8.0 (2026-10-03)
- **模型映射新增「最大输出 Token」列**:逐模型设置 `max_output_size`(写入 config.toml,留空用上游默认),models.dev 有 output 上限时显示可点击参考值一键填入;获取模型列表时自动预填 - **模型映射新增「最大输出 Token」列**:逐模型设置 `max_output_size`(写入 config.toml,留空用上游默认),models.dev 有 output 上限时显示可点击参考值一键填入;获取模型列表时自动预填
@@ -0,0 +1,17 @@
# KimiSwitch v0.8.1
## 新功能
- **全局配置新增两个顶层开关**(适配 kimi-code 近期版本):
- **自动生成会话标题**(`auto_session_title`,上游 #3962):允许客户端自动生成会话标题,默认开启;关闭后显式写入 `false`,开启即删键跟随上游默认
- **重复调用拦截**(`repeat_breaker`,上游 #3995):连续重复相同工具调用时提醒并强制停止,默认开启;可被环境变量 `KIMI_CODE_REPEAT_BREAKER` 覆盖
- **最大输出未匹配时回填默认值 131072**(Kimi Code):打开供应商编辑页自动回填时,models.dev 未收录的模型按 128K(131072)兜底;「获取模型列表」新增模型同口径预填
## 修复
- **`[watch] enabled` 默认值修正为开启**:kimi-code #4015 已把文件监听默认值翻回开启(2.0.2 曾短暂默认关闭),设置页的开关显示默认值同步修正
- **「最大输出 Token」列名精简为「最大输出」**;列描述修正为「留空则不发送输出上限」(对齐上游 #4091:未显式配置时不发送 `max_tokens`,避免严格服务栈如 bare vLLM 报 400)
## 备注
- 前端 130 测试 / Rust 162 测试全量通过
+1 -1
View File
@@ -1,7 +1,7 @@
{ {
"name": "kimiswitch", "name": "kimiswitch",
"private": true, "private": true,
"version": "0.8.0", "version": "0.8.1",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
+16 -15
View File
@@ -23338,9 +23338,9 @@
"tool_call": true, "tool_call": true,
"structured_output": true, "structured_output": true,
"cost": { "cost": {
"input": 0.13, "input": 0.0825,
"output": 0.53, "output": 0.33,
"cache_read": 0.033 "cache_read": 0.020625
} }
}, },
"kilo/tencent/hy-mt2-7b": { "kilo/tencent/hy-mt2-7b": {
@@ -23361,9 +23361,9 @@
"tool_call": true, "tool_call": true,
"structured_output": true, "structured_output": true,
"cost": { "cost": {
"input": 0.834, "input": 0.7506,
"output": 2.501, "output": 2.2509,
"cache_read": 0.042 "cache_read": 0.0378
} }
}, },
"kilo/anthracite-org/magnum-v4-72b": { "kilo/anthracite-org/magnum-v4-72b": {
@@ -25260,9 +25260,10 @@
"image": true, "image": true,
"video": true, "video": true,
"cost": { "cost": {
"input": 0.99, "input": 3,
"output": 13, "output": 15,
"cache_read": 0.8 "cache_read": 0.3,
"cache_write": 3.75
} }
}, },
"kilo/moonshotai/kimi-k2.6": { "kilo/moonshotai/kimi-k2.6": {
@@ -35356,9 +35357,9 @@
"tool_call": true, "tool_call": true,
"structured_output": true, "structured_output": true,
"cost": { "cost": {
"input": 0.132, "input": 0.0825,
"output": 0.528, "output": 0.33,
"cache_read": 0.033 "cache_read": 0.020625
} }
}, },
"openrouter/tencent/hy-mt2-7b": { "openrouter/tencent/hy-mt2-7b": {
@@ -35379,9 +35380,9 @@
"tool_call": true, "tool_call": true,
"structured_output": true, "structured_output": true,
"cost": { "cost": {
"input": 0.834, "input": 0.7506,
"output": 2.501, "output": 2.2509,
"cache_read": 0.042 "cache_read": 0.0378
} }
}, },
"openrouter/anthracite-org/magnum-v4-72b": { "openrouter/anthracite-org/magnum-v4-72b": {
+1 -1
View File
@@ -1978,7 +1978,7 @@ dependencies = [
[[package]] [[package]]
name = "kimiswitch" name = "kimiswitch"
version = "0.8.0" version = "0.8.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"chrono", "chrono",
+1 -1
View File
@@ -1,6 +1,6 @@
[package] [package]
name = "kimiswitch" name = "kimiswitch"
version = "0.8.0" version = "0.8.1"
description = "Kimi Switch - model config manager" description = "Kimi Switch - model config manager"
authors = ["codingplan.site"] authors = ["codingplan.site"]
edition = "2021" edition = "2021"
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"productName": "Kimi Switch", "productName": "Kimi Switch",
"version": "0.8.0", "version": "0.8.1",
"identifier": "com.kimiswitch.app", "identifier": "com.kimiswitch.app",
"build": { "build": {
"beforeDevCommand": "npm run dev", "beforeDevCommand": "npm run dev",
+16 -15
View File
@@ -26175,9 +26175,9 @@
"id": "tencent/hy3", "id": "tencent/hy3",
"name": "Hy3", "name": "Hy3",
"cost": { "cost": {
"input": 0.13, "input": 0.0825,
"output": 0.53, "output": 0.33,
"cache_read": 0.033 "cache_read": 0.020625
}, },
"context": 262144, "context": 262144,
"input_limit": 192000, "input_limit": 192000,
@@ -26201,9 +26201,9 @@
"id": "tencent/hy4-preview", "id": "tencent/hy4-preview",
"name": "Hy4 preview", "name": "Hy4 preview",
"cost": { "cost": {
"input": 0.834, "input": 0.7506,
"output": 2.501, "output": 2.2509,
"cache_read": 0.042 "cache_read": 0.0378
}, },
"context": 1048576, "context": 1048576,
"output_limit": 64000, "output_limit": 64000,
@@ -28245,9 +28245,10 @@
"id": "moonshotai/kimi-k3", "id": "moonshotai/kimi-k3",
"name": "Kimi K3", "name": "Kimi K3",
"cost": { "cost": {
"input": 0.99, "input": 3,
"output": 13, "output": 15,
"cache_read": 0.8 "cache_read": 0.3,
"cache_write": 3.75
}, },
"context": 1048576, "context": 1048576,
"output_limit": 943718, "output_limit": 943718,
@@ -39344,9 +39345,9 @@
"id": "tencent/hy3", "id": "tencent/hy3",
"name": "Hy3", "name": "Hy3",
"cost": { "cost": {
"input": 0.132, "input": 0.0825,
"output": 0.528, "output": 0.33,
"cache_read": 0.033 "cache_read": 0.020625
}, },
"context": 262144, "context": 262144,
"input_limit": 192000, "input_limit": 192000,
@@ -39370,9 +39371,9 @@
"id": "tencent/hy4-preview", "id": "tencent/hy4-preview",
"name": "Hy4 preview", "name": "Hy4 preview",
"cost": { "cost": {
"input": 0.834, "input": 0.7506,
"output": 2.501, "output": 2.2509,
"cache_read": 0.042 "cache_read": 0.0378
}, },
"context": 1048576, "context": 1048576,
"output_limit": 64000, "output_limit": 64000,
+16 -15
View File
@@ -23338,9 +23338,9 @@
"tool_call": true, "tool_call": true,
"structured_output": true, "structured_output": true,
"cost": { "cost": {
"input": 0.13, "input": 0.0825,
"output": 0.53, "output": 0.33,
"cache_read": 0.033 "cache_read": 0.020625
} }
}, },
"kilo/tencent/hy-mt2-7b": { "kilo/tencent/hy-mt2-7b": {
@@ -23361,9 +23361,9 @@
"tool_call": true, "tool_call": true,
"structured_output": true, "structured_output": true,
"cost": { "cost": {
"input": 0.834, "input": 0.7506,
"output": 2.501, "output": 2.2509,
"cache_read": 0.042 "cache_read": 0.0378
} }
}, },
"kilo/anthracite-org/magnum-v4-72b": { "kilo/anthracite-org/magnum-v4-72b": {
@@ -25260,9 +25260,10 @@
"image": true, "image": true,
"video": true, "video": true,
"cost": { "cost": {
"input": 0.99, "input": 3,
"output": 13, "output": 15,
"cache_read": 0.8 "cache_read": 0.3,
"cache_write": 3.75
} }
}, },
"kilo/moonshotai/kimi-k2.6": { "kilo/moonshotai/kimi-k2.6": {
@@ -35356,9 +35357,9 @@
"tool_call": true, "tool_call": true,
"structured_output": true, "structured_output": true,
"cost": { "cost": {
"input": 0.132, "input": 0.0825,
"output": 0.528, "output": 0.33,
"cache_read": 0.033 "cache_read": 0.020625
} }
}, },
"openrouter/tencent/hy-mt2-7b": { "openrouter/tencent/hy-mt2-7b": {
@@ -35379,9 +35380,9 @@
"tool_call": true, "tool_call": true,
"structured_output": true, "structured_output": true,
"cost": { "cost": {
"input": 0.834, "input": 0.7506,
"output": 2.501, "output": 2.2509,
"cache_read": 0.042 "cache_read": 0.0378
} }
}, },
"openrouter/anthracite-org/magnum-v4-72b": { "openrouter/anthracite-org/magnum-v4-72b": {
+1 -1
View File
@@ -50,7 +50,7 @@
"url": "https://billowliu2.github.io/KimiSwitch/", "url": "https://billowliu2.github.io/KimiSwitch/",
"applicationCategory": "DeveloperApplication", "applicationCategory": "DeveloperApplication",
"operatingSystem": "Windows 10, Windows 11, macOS, Linux", "operatingSystem": "Windows 10, Windows 11, macOS, Linux",
"softwareVersion": "0.8.0", "softwareVersion": "0.8.1",
"dateModified": "2026-09-03", "dateModified": "2026-09-03",
"description": "桌面端 LLM 供应商配置管理器:22 个预设选好即写入 config.toml,用量与账单直读各厂商官方接口。Tauri + Rust,开源 MIT。", "description": "桌面端 LLM 供应商配置管理器:22 个预设选好即写入 config.toml,用量与账单直读各厂商官方接口。Tauri + Rust,开源 MIT。",
"downloadUrl": "https://github.com/billowliu2/KimiSwitch/releases", "downloadUrl": "https://github.com/billowliu2/KimiSwitch/releases",
+18
View File
@@ -140,6 +140,15 @@ const zh = {
syncedNote: "数据已同步 GitHub Releases", syncedNote: "数据已同步 GitHub Releases",
fallbackNote: "内置版本记录", fallbackNote: "内置版本记录",
entries: [ entries: [
{
version: "v0.8.1",
date: "2026-10-04",
items: [
"全局配置新增两个顶层开关:自动生成会话标题(auto_session_title)与重复调用拦截(repeat_breaker),默认开启",
"最大输出未匹配 models.dev 时回填默认值 131072(128K 兜底)",
"修复 [watch] enabled 默认值显示(上游 #4015 翻回默认开启);「最大输出」列描述对齐上游 #4091",
],
},
{ {
version: "v0.8.0", version: "v0.8.0",
date: "2026-10-03", date: "2026-10-03",
@@ -532,6 +541,15 @@ const en: Dict = {
syncedNote: "Synced from GitHub Releases", syncedNote: "Synced from GitHub Releases",
fallbackNote: "Built-in release notes", fallbackNote: "Built-in release notes",
entries: [ entries: [
{
version: "v0.8.1",
date: "2026-10-04",
items: [
"Two new top-level switches in Global Settings: auto session title (auto_session_title) and repeat breaker (repeat_breaker), on by default",
"Max output backfills a 131072 (128K) default when models.dev has no match",
"Fixed the [watch] enabled default display (upstream #4015 flipped it back on); Max output column wording aligned with upstream #4091",
],
},
{ {
version: "v0.8.0", version: "v0.8.0",
date: "2026-10-03", date: "2026-10-03",
+1 -1
View File
@@ -8,7 +8,7 @@ const icons: Record<string, Icon> = {
linux: LinuxLogo, linux: LinuxLogo,
}; };
const VERSION = "0.8.0"; const VERSION = "0.8.1";
const GITHUB = "https://github.com/billowliu2/KimiSwitch"; const GITHUB = "https://github.com/billowliu2/KimiSwitch";
const MIRROR_RELEASES = "https://git.codingplan.site/admin/KimiCodeSwitch/releases"; const MIRROR_RELEASES = "https://git.codingplan.site/admin/KimiCodeSwitch/releases";
const dl = (file: string) => `${GITHUB}/releases/download/v${VERSION}/${file}`; const dl = (file: string) => `${GITHUB}/releases/download/v${VERSION}/${file}`;