KimiSwitch Dev
36fc9c50a8
chore(release): bump to v0.7.13 — 适配 kimi-code 0.41.0 + CodingPlan.site NewAPI 自动识别 + 账单查询体验修复
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
2026-09-05 16:05:13 +08:00
KimiSwitch Dev
1a11cfbaaf
feat(usage): CodingPlan.site 自动识别 NewAPI + 账单查询体验修复
...
- detect_provider 新增 codingplan.site → balance:newapi(该站为
NewAPI 实例,实测确认),保存补齐 TS 侧缺失的 balance:newapi 断言
- 凭据缺失等确定性错误改走 Ok(failure)(原 Err 被前端一律显示为
「网络异常」),错误消息按 kind 前缀包裹后仍可本地化映射
- formatAmount 收口到 usage-display 统一复用:¤ 占位符号不再渲染、
金额统一两位小数(配置弹窗此前直接拼原始数值)
2026-09-05 16:04:38 +08:00
KimiSwitch Dev
81699e757d
feat: 适配 kimi-code 0.41.0 —— 移除 file_history 镜像 + 守卫文案更新
...
- file_history flag 上游已移除(turn-level file history 恒开):
从 EXPERIMENTAL_FLAGS / env 探测 / FLAG_LABELS / i18n 全链路删除,
清单回至 9 个;用户 config 残留键被上游静默忽略
- 危险命令守卫行为更新:auto 模式自 0.41.0 起不再拦截危险命令,
仅 Manual/YOLO 强制询问——开关描述文案(中英)与类型注释同步
2026-09-05 16:04:21 +08:00
KimiSwitch Dev
4de13ad353
feat(website): 更新官网至 v0.7.12 并去 AI 味改版
...
- 版本号/下载链接模板化(VERSION 单点维护),changelog 增 v0.7.12 条目
- 数据修正:模型库 5910 → 7495 / 供应商 212,JSON-LD softwareVersion 同步
- 文案重写:清除一键/开箱即用/一目了然等八股措辞(中英 ~50 处),
改为具体可验证的说法;英文标题 sentence case
- 视觉降 AI 感:删网格底纹与光晕、主色降饱和、Download 三等宽卡改
Windows 主推不对称布局、Privacy 改单面板、Features 双列错落
- gh-pages 已随本次改动重新部署
2026-09-03 10:53:09 +08:00
KimiSwitch Dev
5138a295e0
chore(release): bump to v0.7.12 — 适配 kimi-code 0.40.1(flag 清单/优先级/危险命令守卫)+ WebUI 竞态修复 + models-dev 7495/212
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
2026-09-03 10:12:17 +08:00
KimiSwitch Dev
a02179c9da
chore(data): 同步 models-dev 最新快照(7495 模型 / 212 供应商)
2026-09-03 10:11:10 +08:00
KimiSwitch Dev
86a128efea
feat: 适配 kimi-code 0.40.1 —— flag 清单/优先级语义/危险命令守卫
...
- flag 清单 9→10:新增 file_history、search_worker;secondary-model
0.40.1 起默认开启(defaultEnabled)
- env 探测补齐为 12 项元组(10 flag + master + legacy),修正此前
tower/subagent_fork/wait_for/auto_session_title 四项漏探
- 优先级语义跟随上游 flagService:单 flag env > [experimental] 显式值
> master env(仅强制开)> 默认。master env 不再锁定 UI;setExperimentalFlag
增加 explicitFalse 路径,关闭默认开/master 强开的 flag 时写字面 false
- 权限设置新增 dangerous_command_guard 开关(默认开,写 [permission]
蛇形键;env KIMI_CODE_DANGEROUS_COMMAND_GUARD 运行时覆盖 config)
- 新增 11 个测试(注册表/写语义/守卫读写)
2026-09-03 10:10:52 +08:00
KimiSwitch Dev
6a7c8f5393
fix(webui): 修复首次打开慢时多次点击导致的竞态报错
...
open_kimi_web_embedded 加 launch_lock 串行化并发调用,拿锁后重查单例;
oneshot 在锁内等待主线程建窗完成,封死命令返回后的残留空档。
spawned_by_me 门控失败路径的 server 清理,复用的 server 不再被误杀;
spawn 前用 try_wait 检查已有子进程避免覆盖泄漏。前端两个打开按钮加
busy 态防重入(打开中...)。
2026-09-03 10:10:40 +08:00
KimiSwitch Dev
8b597496b3
chore(release): bump to v0.7.11 — 适配 kimi-code 0.39.1(thinking keep/loop_control/flags)+ 归档元数据化 + 子代理池修复 + models-dev 7482/207
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
2026-08-29 11:15:40 +08:00
KimiSwitch Dev
8ce3f290ed
chore(data): 同步 models-dev 最新快照(7482 模型 / 207 供应商)
2026-08-29 11:14:11 +08:00
KimiSwitch Dev
8639188968
fix(sessions): 归档迁移为 state.json 元数据(archived/archivedAt,与上游 v2 setArchived 逐字段一致),不再物理搬目录;遗留 .kcd-archive 目录兼容识别与恢复;归档不再动 session_index
2026-08-29 11:14:01 +08:00
KimiSwitch Dev
45ec073e6f
fix(config): 适配 kimi-code 0.39.1——thinking keep 写字符串 off(布尔会整节作废)、存量布尔归一化;loop_control 默认只写 v2 键(legacy flag 才双写);effort 移除 max 档;实验 flags 补 remote-control、wait_for/minidb 标默认开启
2026-08-29 11:13:58 +08:00
KimiSwitch Dev
7435198fcc
chore(release): bump to v0.7.10 — 配置写回保护(导入基线 + 未知供应商类型原样保留)
Release / Version consistency (push) Canceled after 0s
Release / Attach macOS install script (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
2026-08-29 00:10:52 +08:00
KimiSwitch Dev
67db19eda4
fix(config): 保存不再误删 CLI 后加的顶层配置节 + 未知供应商类型原样保留
...
- 导出 stale-key 清理增加导入基线(imported_section_keys):CLI 在导入后
新增的顶层节(kimi-code 0.38+ 的 [task]/[swarm]/[cron] 等)在保存时
原样保留;用户在 UI 显式删除的节仍被移除;空基线(SQLite 快照恢复)
不删任何键(安全退化)
- ProviderType 增加 Unknown(String) 变体,手写 serde 保持纯字符串线格式,
上游新增的 type 值往返不再被改写为 kimi;SQLite 快照恢复路径同步修复;
模型发现对未知类型返回明确错误,不再误用 KIMI_API_KEY
- 新增 3 个往返测试(106 个 Rust 测试全绿),前端 tsc/vitest 通过
2026-08-29 00:09:55 +08:00
KimiSwitch Dev
9764929919
chore(release): bump to v0.7.9 — models.dev 数据同步(GLM-5.3/5.3-Flash、Qwen3.8、豆包 Seed 2.x)
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
2026-08-27 09:42:14 +08:00
KimiSwitch Dev
f40e4be577
chore(data): 同步 models-dev 2026-08-27 快照(7343 模型 / 203 供应商)— 新增 GLM-5.3/5.3-Flash、Qwen3.8、豆包 Seed 2.x 等 74 模型,58 处价格与 56 处能力更新;补齐 public/ 静态资源(原停留在 08-01)
2026-08-27 09:37:26 +08:00
KimiSwitch Dev
138a2b8547
chore(data): 同步 models-dev 最新模型数据(7284 模型 / 199 供应商)
2026-08-25 13:12:11 +08:00
KimiSwitch Dev
769852c4b5
feat(flags): v0.7.8 — 实验开关同步 kimi-code 上游 7 旗标(tower/subagent_fork/wait_for/auto_session_title 新增,acp-v2 移除)+ 修复模型用量上下显示不同步(状态提升至卡片层)
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
2026-08-25 11:20:34 +08:00
KimiSwitch Dev
8221e05db1
feat(oauth): v0.7.7 — 双区域 OAuth 支持(适配 kimi-code 0.38.0 global 账号)+ 修复模型占位别名跟随 + models.dev 快照刷新
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
2026-08-22 14:00:20 +08:00
KimiSwitch Dev
6b761251bc
feat(usage): v0.7.6 — OpenCode Go 套餐用量查询(5h/7天/30天三窗口)+ 插件市场入口暂时隐藏(功能保留)
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
2026-08-18 19:09:54 +08:00
KimiSwitch Dev
9a3875d990
feat(subagent): v0.7.5 — 适配 kimi-code 0.36.0 子代理模型池(双写兼容/池管理/force/前置校验)+ 热力图详情按需加载 + models.dev 刷新(GLM-5.3)
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
2026-08-15 23:21:22 +08:00
KimiSwitch Dev
89c71fbfe6
feat(dashboard): v0.7.4 — 热力图双击弹窗展示当日模型用量(Token/请求/费用/命中率)+ by_model 结构化升级
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
2026-08-09 01:40:44 +08:00
KimiSwitch Dev
7c88099ce1
style(website): 下载统计并入页脚版权行(一行展示,不再单独成行)
2026-08-07 23:39:22 +08:00
KimiSwitch Dev
cf9707326c
feat(website): 页脚低调展示 GitHub 累计下载量(客户端实时拉取,1h 缓存)
2026-08-07 23:19:57 +08:00
KimiSwitch Dev
93c5720769
fix(website): 下载链接按 GitHub CI 实际资产名改回点号命名(Kimi.Switch_…),并修正 release 模板 dmg 文件名提示
2026-08-07 16:07:32 +08:00
KimiSwitch Dev
a0e36e928d
feat(webui): v0.7.3 — Kimi Code WebUI 应用内嵌窗口(单例/独立顶层窗口/服务器自动清理)+ 发布说明与网站同步
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
2026-08-07 15:46:45 +08:00
KimiSwitch Dev
fc09a29b9f
chore(release): bump to v0.7.2 — 高级设置 + WebUI 快捷入口 + loop_control 兼容 + macOS 安装脚本
Release / Attach macOS install script (push) Canceled after 0s
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
2026-08-07 10:21:47 +08:00
KimiSwitch Dev
24d37fbbf4
chore: 设置出品公司为 codingplan.site
2026-08-06 15:09:12 +08:00
KimiSwitch Dev
54110316b4
chore(data): 同步 models.dev 最新模型数据
2026-08-06 15:00:04 +08:00
KimiSwitch Dev
75e48bc4c6
feat(website): 官网企业版视觉升级
...
- 引入 Geist 字体,去除紫色渐变,克制阴影与交互态
- 导航/卡片/按钮统一企业风格,各区块视觉收敛
2026-08-06 01:56:37 +08:00
KimiSwitch Dev
b2f6e7a166
chore(data): 更新 models-dev 模型列表
2026-08-06 01:56:36 +08:00
KimiSwitch Dev
90cc4a16d2
fix(subagent): 实验开关改为滑动开关,修复开启态因 bg-primary 未定义而隐形
...
- Toggle 开启态改用已定义的 bg-blue-600(tailwind 配置无 primary 背景色,
导致开启态滑轨透明、白色滑块在白底上不可见)
- 子代理开关移至模型下拉之后,统一使用滑动开关
2026-08-06 01:56:35 +08:00
KimiSwitch Dev
8aed04898c
feat(subagent): 实验功能设置新增子代理模型配置
...
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
- 子代理设置页支持选择次主力模型,仅保存模型引用(不再写补丁字段),
子代理直接继承所选模型的上下文长度与思考模式
- 界面只读展示继承的上下文长度与思考模式,移除补丁编辑项
- 仪表盘统计识别子代理请求(__secondary__):归为「子代理模型(估算)」
并缓存次主力模型定价;自定义网关模型价格按官方同名模型跨 provider 匹配
- bump v0.7.1
2026-08-05 23:38:05 +08:00
KimiSwitch Dev
8b0daabd95
fix(tray): 托盘图标悬停气泡显示程序名(Kimi Switch)
2026-08-05 11:19:30 +08:00
KimiSwitch Dev
6e38bed092
docs(website): v0.7.0 更新日志补入 Kimi Eyes 插件站链接
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
2026-08-02 18:18:34 +08:00
KimiSwitch Dev
6df9095ee8
feat(settings): 关于页新增 Kimi Eyes 插件站链接(billowliu2.github.io/kimi-eyes)
2026-08-02 18:12:29 +08:00
KimiSwitch Dev
d06fb41f48
chore: bump v0.7.0 + 官网版本文案/更新日志同步
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
2026-08-02 17:17:12 +08:00
KimiSwitch Dev
69f9b8d603
feat(usage): 订阅套餐计价修正 + 识图能力可编辑 + 单套餐用量显示修复
...
- 订阅套餐零价条目按官方付费模型计价(zhipuai-coding-plan/glm-5.2 → zhipuai/glm-5.2 牌价)
- -highspeed / -free 派生变体自动回退到基础模型价格;Kimi For Coding 无牌价时按旗舰 kimi-k3 估算
- 设置页:image_in 识图能力可手动编辑,原生多模态模型不再提示 kimi-eyes 插件
- 修复仅单个套餐档位时用量卡片不显示的问题
- kimi usages 响应异常时透出原始返回(仅用量数字),便于对照接口排查
- models.dev 价格快照同步
2026-08-02 17:17:06 +08:00
KimiSwitch Dev
2f75929fda
ci: release 重跑时覆盖同名资产(overwrite: true)
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
2026-08-02 00:38:51 +08:00
KimiSwitch Dev
a1c3f06bdf
feat(settings): 关于页新增官方网站链接(billowliu2.github.io/KimiSwitch)
2026-08-02 00:37:28 +08:00
KimiSwitch Dev
acde6d97c2
merge: Dev_20260801 → main(v0.6.9:仪表盘缓存命中列 + 人民币计价 + 性能优化)
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
2026-08-02 00:18:49 +08:00
KimiSwitch Dev
6cbaea7159
chore: bump v0.6.9 + 官网版本文案/更新日志同步
2026-08-02 00:18:23 +08:00
KimiSwitch Dev
f0d5e27bb4
chore: models.dev 价格快照同步
2026-08-02 00:18:22 +08:00
KimiSwitch Dev
38a11666ac
feat(dashboard): 最近请求缓存命中列 + 中文模式人民币计价 + 价格解析记忆化
...
- 最近请求表新增缓存命中率列(缓存读取/总输入)
- useCurrency:中文界面费用按最新 USD→CNY 汇率显示 ¥,英文保持 $(open.er-api.com,缓存 12h,失败兜底 7.2)
- match_price 记忆化缓存:O(记录数×5910) → O(模型种类×5910),扫描从秒级降到百毫秒级
- 仪表盘右上角显示加载耗时/数据量(get_summary 往返埋点);Rust 侧分段计时
2026-08-02 00:18:19 +08:00
KimiSwitch Dev
de132ffb3a
feat(website): GLM 推广图标换为智谱官方 Z 字标;SEO 关键词补充 Kimi Switch / KimiCode Switch
2026-08-01 20:38:53 +08:00
KimiSwitch Dev
a285d192eb
feat(website): 首页 Hero 徽标显示 v0.6.8 + 更新日志缓存按版本失效
2026-08-01 20:35:32 +08:00
KimiSwitch Dev
127818a7c3
merge: Dev_20260801 → main(官网 v0.6.8 文案)
2026-08-01 20:32:43 +08:00
KimiSwitch Dev
6bc9e4644e
feat(website): 版本号更新到 v0.6.8 + 更新日志内置 v0.6.8 条目
...
- Nav 下载按钮 / 下载页副标题 / 三平台已发布文案
- 内置更新日志补 v0.6.8(GitHub API 不可达时兜底也能看到最新版本说明)
2026-08-01 20:32:27 +08:00
KimiSwitch Dev
dfd41d12c0
merge: Dev_20260801 → main(release.yml 自动发布)
2026-08-01 20:18:32 +08:00
KimiSwitch Dev
615dfb54e0
ci: 去掉 releaseDraft,tag 推送时自动发布 Release
...
之前 releaseDraft: true 导致每次发版后 release 停在草稿状态,下载直链 404,需手动 PATCH 发布
2026-08-01 20:18:05 +08:00
KimiSwitch Dev
8914b40bec
merge: main → Dev_20260801(SEO 升级)
2026-08-01 19:58:47 +08:00
KimiSwitch Dev
4071930aff
chore: Cargo.lock 同步 v0.6.8
2026-08-01 19:57:40 +08:00
KimiSwitch Dev
1b5cd0f416
feat(website): SEO 升级 — BrowserRouter + 每页独立 meta
...
- HashRouter → BrowserRouter(basename /KimiSwitch),GitHub Pages 用 404.html SPA 回退,/features /download /changelog 变为可收录的独立 URL
- 每页独立 title / description / OG / canonical(RouteMeta 随语言切换)
- og:image 改为绝对地址;sitemap 更新为干净路径
2026-08-01 19:56:54 +08:00
KimiSwitch Dev
5788624d12
merge: Dev_20260801 → main(v0.6.8 发布:仪表盘性能优化 + 官网下载页三平台)
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
2026-08-01 19:37:54 +08:00
KimiSwitch Dev
beff12a90e
chore: bump version to v0.6.8
2026-08-01 19:37:23 +08:00
KimiSwitch Dev
63761e763c
feat(website): 下载页支持三平台真实下载链接
...
- macOS / Linux 由开发中改为已发布,直连 GitHub Releases 资产(.dmg / .deb / .AppImage / .rpm)
- Windows 保留 MSI + 国内镜像双入口
2026-08-01 19:37:21 +08:00
KimiSwitch Dev
1fecb161a9
perf(dashboard): 仪表盘加载提速
...
- models-dev 快照移出主 bundle(1.35MB→515KB),改为 /models-dev.json 运行时异步加载,就绪后重渲染
- Rust 启动时后台预热价格索引(warm_price_index),首次 get_summary 不再卡
- get_summary 扫描结果 8s TTL 缓存(按 home),切 tab/改范围复用;刷新按钮 refresh=true 强制重扫
2026-08-01 19:37:20 +08:00
KimiSwitch Dev
9fd22ef55a
fix(dashboard): k3-256k 按 k3 牌价计费
...
- 命中零价订阅条目(kimi-for-coding/k3-256k)时,剥掉上下文长度后缀重查基础模型(k3-256k → moonshotai/kimi-k3)
- 无命中时同样先尝试剥后缀再回落旧表
- cache_write 改按解析后的 price_id 取值
- 新增回归测试 context_suffix_variant_bills_at_base_model
2026-08-01 19:04:35 +08:00
KimiSwitch Dev
3fbd70932c
feat(website): 官网多页面 + 中英文切换 + Kimi 风格科技风重设计
...
- 多页路由:首页 / 功能 / 更新日志 / 下载(HashRouter,适配 GitHub Pages)
- 中英文切换(zh/en 双语文案 + localStorage 记忆)
- Kimi 品牌配色(中性灰 + 蓝)+ 科技风(网格底纹 / 辉光按钮 / 渐变强调词)
- 更新日志页:运行时同步 GitHub Releases,localStorage 缓存 1h,网络失败回退内置列表
- 功能页 8 张截图卡片;下载页含自动更新说明
- 修复资源路径 404(asset() + %BASE_URL%);自托管 Inter/Fira Code 字体
2026-08-01 19:04:33 +08:00
KimiSwitch Dev
ce282524db
feat: Kimi 设备授权登录(应用内置 kimi login)+ 外链打开统一走 Rust 命令(v0.6.7)
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
2026-08-01 14:49:14 +08:00
KimiSwitch Dev
fc6789a941
feat: models.dev 价格对标 + 基元律动供应商 + 设置文案优化(v0.6.6)
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
2026-08-01 13:44:13 +08:00
KimiSwitch Dev
2464500ef5
feat: 优化更新检查逻辑 + 修复按量余额显示(v0.6.5)
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
2026-08-01 10:51:54 +08:00
KimiSwitch Dev
c6da421d2f
docs: 交接文档更新 v0.6.4 发布状态
2026-08-01 09:48:57 +08:00
KimiSwitch Dev
ace9842556
feat: 新增部分套餐账单查询(v0.6.4)
...
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
- 账单/用量查询:balance:kimi(Moonshot 开放平台余额)、NewAPI 中转站余额(accessToken+userId)、Kimi/智谱/MiniMax 套餐档位(5小时/7天)
- managed:kimi-code 走 Kimi Code OAuth 登录凭据查询订阅用量,access token 过期自动 refresh 并写回凭据(单 flight 锁 + 写回前重读防 CLI 竞态)
- 全屏「配置用量查询」页面:启用开关 / 自动检测 vs NewAPI 模板 / 超时与自动查询间隔 / 测试查询
- 供应商卡片紧凑用量行(切换使用左侧)+ 多档明细行;managed 供应商列表置顶(仅展示层)
- 用量显示中英文适配(five_hour→5小时、weekly_limit→7天,Rust 错误串本地化映射)
- 修复:usage_kinds serde rename 导致账单入口不显示;测试查询因 save 触发 loading 翻页卸载面板导致结果丢失(silent save)
2026-08-01 09:44:36 +08:00
KimiSwitch Dev
12dcb17771
docs: 账单查询适配调研 + OpenCode Zen 预设补推荐链接
...
- 新增 docs/USAGE-QUERY-ADAPTATION.md:cc-switch/OpenCode/官方 API 账单查询适配调研(含 Kimi 余额 API 缺口 P0、OpenCode Go 不可查结论、遗漏盘点)
- opencode-zen 预设 apiKeyUrl 补推荐链接 ref=DFCNADQCEM(Zen 控制台页无 ref 参数)
2026-07-31 21:58:53 +08:00
KimiSwitch Dev
02555daff4
build: 恢复 NSIS 打包支持(工具链缓存到本地,含 msi+nsis 双格式)
2026-07-31 14:56:34 +08:00
KimiSwitch Dev
b9ea6426d8
merge Dev_260708 → main: v0.6.1~v0.6.3 发版合入主线
...
# Conflicts:
# src-tauri/src/commands.rs
2026-07-31 10:57:27 +08:00
KimiSwitch Dev
0889eeba24
chore: update Cargo.lock for v0.6.3
2026-07-30 14:30:45 +08:00
KimiSwitch Dev
f35924e15c
v0.6.3: 添加默认供应商支持
...
- 新增 StepFun Plan 套餐预设
- 供应商编辑页 API Key 下方添加获取 Key 链接(支持推广链接)
- 修复链接无法打开浏览器的问题(Rust open_external_url)
- 无推广链接时回退打开官网
- 必填字段(供应商名称/API Key/请求地址)添加红色 * 标注
- 用户自定义预设方案文档
2026-07-30 14:19:27 +08:00
KimiSwitch Dev
bee981aefa
v0.6.2: 仪表盘布局重构 + 每日趋势折线图 + OpenCode Go/Zen 预设
...
仪表盘:
- 新增每日用量趋势折线图(Token/缓存命中率/请求数三线)
- 用量趋势 Tab 组(每日/模型/供应商模型)与模型表格同行等高
- 热力图独立整行,格子放大 16px
- 折线图坐标轴文字改 HTML 覆盖层(修复 SVG 拉伸变形)
- 表格 border-collapse + 行线与边框同色
- 模型表格估算标签行内显示(行高统一)
- 最近请求容器 max-h 限制
- 页脚归属放内容流末尾
模型唯一性:
- 获取模型列表时自动勾选已存在模型 + 已添加徽章
- 批量添加跳过同供应商已存在 model id
- onBulkAdd 同供应商 model id 去重
新增预设:
- OpenCode Go(套餐 subscription,带推荐链接)
- OpenCode Zen(按量 pay_as_you_go)
折线图优化:
- 缓存命中率 0-1 映射修复
- 请求数默认显示
- 直线连接 + 渐变填充
2026-07-30 11:50:05 +08:00
KimiSwitch Dev
2614f80d0f
v0.6.0: 预设供应商 + 供应商账单查询
...
## 新增
- 15 条主流供应商预设(Kimi Coding / Moonshot / Anthropic /
DeepSeek / 智谱 GLM / z.ai / 阿里百炼 / MiniMax / StepFun /
SiliconFlow / Novita / OpenRouter / OpenAI / Google AI Studio /
火山方舟),通过 PresetPickerModal 一键填表
- 供应商余额/套餐查询(卡片底部 UsageFooter):余额类
(DeepSeek / SiliconFlow / OpenRouter / StepFun / Novita) +
套餐类(Kimi For Coding / 智谱 GLM / MiniMax),5min stale TTL +
force_refresh + 并发 ≤3
- Rust 端 services/ 模块(balance / coding_plan / usage_types),
参考 cc-switch(MIT,© Jason Young)实现
- query_provider_usage 命令:Rust 端从 config 加载 key,
不经 IPC 序列化 API key
- usageKinds 持久化到 SQLite settings(JSON 数组),
load 时合并回 config,导出 config.toml 时不写
- detect_provider 启发式:旧用户升级后自动获得账单支持
- save-time 校验:未完成供应商(缺 api_key / base_url / 模型)
保存时弹 confirm 列出原因;新增未提交 back 时静默 drop
- docs/PROPOSAL-presets-and-usage.md(v0.4-draft 实施档)
- docs/VERIFICATION-CHECKLIST.md(70+ 项手动验证清单)
## 修复
- handleDuplicateProvider 的 alias.slice 漏洞:老数据
非规范 alias 复制不再错位
- handleSelectPreset 不再 auto-save,半成品不会落盘
- handleSwitchProvider 校验取消时自动 refresh 回滚,
不会出现内存改 / 盘没动的脏态
## 文档
- README / README_EN 致谢段补 cc-switch(预设 + 账单)
- README 已知限制与后续建议段(/reload 上游限制调研结论)
- i18n 补 5 条校验 key + 11 条预设 UI key + 12 条账单 key
详见 docs/PROPOSAL-presets-and-usage.md 与
docs/VERIFICATION-CHECKLIST.md
2026-07-29 20:59:53 +08:00
KimiSwitch Dev
a1fdc6c93d
feat: v0.5.2 - daily trend refactor + provider/model two-level drill-down
...
- Dashboard: 用量趋势卡片改为外层 tab 容器(下划线 tab),移除卡片标题与内部 pill 切换器
- 用量趋势: 新增 供应商模型用量趋势 tab,与 模型用量趋势 并列
- 供应商 tab 弹窗: 每日用量详情改为两级(供应商 → 模型)分组
- 后端: DailyRow 新增 by_provider_model 嵌套聚合
- 前端: DailyBars 通用化(dimension/colorMap),DailyDetailModal 按 tab 维度渲染
- i18n: 新增 providerDistribution(中/英)
- 版本: 0.5.1 → 0.5.2(tauri.conf / Cargo.toml / package.json / README)
2026-07-29 13:41:04 +08:00
KimiSwitch Dev
3dd1fd93fe
fix: v0.5.1 - window/tray behavior, model table & capability UI polish
...
- Window: minimize keeps taskbar button (remove minimize-to-tray hook); close button hides to tray; tray left-click always shows + focuses window
- Dashboard model table: model column auto-width (whitespace-nowrap, no truncation)
- Capabilities editor: expose only thinking; image_in/video_in/tool_use still auto-derived from models.dev
- Model mapping table: theme-aware row divider (fix harsh dark line in light mode)
2026-07-29 10:01:17 +08:00
KimiSwitch Dev
b1d137f072
feat: v0.5.0 - provider icon actions, duplicate & connectivity test, dashboard chart fixes
...
- ProviderList: icon buttons (edit/copy/test/delete) via lucide-react, speed-test badge before enable/switch button
- Duplicate provider: deep-copy provider + models as xxx-copy
- test_connectivity command (cc-switch semantics: GET base_url, any HTTP response = reachable), latency badge green/orange/red, auto-dismiss 6s
- Dashboard: daily bars anchored to panel bottom, Card flex height fix (heatmap stays content-height)
2026-07-28 21:04:47 +08:00
KimiSwitch Dev
6b172914be
fix: v0.4.1 - paginate model discovery for OpenAI / Anthropic / Google
...
- fetch_openai_models: loop on has_more + last_id (?after=) and fall back to next_page_token (?page_token=)
- fetch_anthropic_models: loop on has_more + last_id (?after_id=&limit=1000)
- fetch_google_genai_models: loop on nextPageToken (?pageToken=&pageSize=1000)
- Dedup by id across pages, MAX_PAGES safety cap per provider
- Bump version to 0.4.1
2026-07-28 16:24:36 +08:00
KimiSwitch Dev
ebf2dd28d5
feat: v0.4.0 - provider icon system, settings modal & polish
...
- Add provider icon system with extracted icon library (cc-switch based)
- Persist icon and icon_color in SQLite and config.toml
- Add Settings modal (theme / language / update check / silent download)
- Add useTheme and useUpdateCheck hooks
- Add provider icon picker (IconPicker) with search and grid
- Fix icon frame 2-layer color difference in ProviderEdit
- Dashboard heatmap and daily usage improvements
- Sessions page polish and adaptive layout
- Bump version to 0.4.0
2026-07-28 16:01:11 +08:00
KimiSwitch Dev
14d48500bf
docs: update README with v0.3.0 release notes, add dashboard & sessions features, thanks to kimicode-dashboard
2026-07-28 09:53:48 +08:00
KimiSwitch Dev
32de98bff5
feat: v0.3.0 re-release - add dashboard & sessions, hide pi option
...
- Usage dashboard: KPIs, model split, daily bars, year heatmap, recent requests
- Sessions management: list/preview/archive/delete with streaming preview
- Double-click daily bar opens per-model breakdown modal
- Paginated recent requests (30/page)
- Hide pi option from nav (kept code, just removed from UI)
- Timezone fixes: today/day_key/heatmap now use local calendar day
- Streaming preview with 20MB byte cap + 500-char frontend clip
- README attribution to kimicode-dashboard (MIT, JochenYang)
2026-07-28 09:16:21 +08:00
KimiSwitch Dev
139af18826
feat: v0.3.0 - fix provider data loss, oauth corruption & switch UX
...
Bug fixes:
- Fix config.toml wiped to single provider on switch (now writes all providers)
- Fix managed:kimi-code oauth key corruption (oauth/kimi-code was rewritten
to oauth/managed-kimi-code, breaking the official subscription)
- Fix default_model not switching due to React 18 deferred state update
(updateConfig now sets configRef synchronously before setConfig)
- Strip KimiSwitch-private default_model from config.toml provider output
Architecture:
- config.toml is now the authoritative source for Kimi Code provider data
- SQLite stores only metadata (notes, official URLs, remembered models)
- Load reconciles config.toml with SQLite for external /provider changes
- Activate is a no-op for KimiCode (save already writes config.toml)
Features:
- Selected provider moves to top of list on switch
- Add models-dev context size lookup
- Add tauri-plugin-single-instance
Tests:
- 3 new regression tests: oauth key round-trip, all-providers write,
private default_model strip
2026-07-27 22:36:42 +08:00
KimiSwitch Dev
5806fac056
chore: sync Cargo.lock version to 0.2.0
2026-07-25 17:33:30 +08:00
KimiSwitch Dev
948e96352e
feat: v0.2.0 - add system tray, clean up unused role field
...
- Replace text '+' icon with centered SVG plus icon for the add-provider button
- Add system tray: minimize-to-tray and quit-from-tray menu (minimize hides window, close exits app)
- Remove unused model role field (no functional effect, only stored/displayed)
- Fix multiple providers showing as active in Kimi Code mode: only the default_model's provider is marked active
- Copy /reload to clipboard after provider switch as a convenience hint
- Bump version to 0.2.0
2026-07-25 16:39:20 +08:00
KimiSwitch Dev
0ce89b09d9
docs: add English README and cross-link both language versions
...
- New README_EN.md with full English documentation mirroring the Chinese README
- Add language switcher links (English | 中文) at the top of both files
2026-07-22 14:50:55 +08:00
KimiSwitch Dev
0bf0f50aaa
docs: fix README inaccuracies found in audit
...
- Validation: validators.rs is a stub, i18n keys reserved but not wired.
Reworded to 'reserved, not wired' instead of claiming active checks.
- Backup: actually 7-day retention by mtime, timestamp-based naming,
stored in backups/ subdirectory (not 7 copies with .bak.N alongside).
- Wording: 'one edit, two effects' was wrong; Kimi Code and Pi have
separate SQLite configs behind the agent tab.
- TOC: removed broken 'screenshot' anchor and stale 'License' anchor.
- Deduped the two trailing license lines.
- Rust version: drop unsupported '>= 1.77' claim; Cargo.toml has no
rust-version field, so say 'stable latest'.
- Manual test list: removed Vertex validation item (validator not wired).
2026-07-22 13:53:59 +08:00
KimiSwitch Dev
dd22d769f4
docs: add MIT LICENSE and update README license reference
...
- Add LICENSE file under MIT, copyright 2026 CodingPlan.site
- Replace 'All rights reserved' note in README with link to LICENSE
- Switch License badge from 'Private' to 'MIT'
2026-07-22 13:35:02 +08:00
KimiSwitch Dev
c32f3f458f
docs: rewrite README with full project documentation
...
Cover what the project does, architecture, supported providers, storage
locations, dev workflow, Tauri commands, shortcuts, i18n, testing, build,
FAQ, and security notes.
2026-07-22 13:32:59 +08:00
KimiSwitch Dev
211986a1e5
feat: update provider/model config handling
2026-07-15 19:15:04 +08:00
KimiSwitch Dev
a394e5f730
refactor: auto-generate model role from model name[provider name] format
2026-07-09 11:00:36 +08:00
KimiSwitch Dev
b01a5661b4
feat: unify provider active logic and add env field support for kimi_code_io
2026-07-09 08:44:11 +08:00
KimiSwitch Dev
3b12844342
docs: add design specs and implementation plans for reload hint and global settings panel
2026-07-09 08:41:28 +08:00
KimiSwitch Dev
675e8ba24d
fix: correct effort type assertion in AgentSettingsPanel
2026-07-09 01:05:41 +08:00
KimiSwitch Dev
5fcdc333b1
feat: apply smart default max_context_size when adding models
2026-07-09 01:04:24 +08:00
KimiSwitch Dev
2b25c62ffc
chore: pass rawOther to ProviderEdit
2026-07-09 01:02:59 +08:00
KimiSwitch Dev
0cd70b9dbc
feat: render AgentSettingsPanel in ProviderEdit for Kimi Code
2026-07-09 01:02:26 +08:00
KimiSwitch Dev
70c52aeaca
feat: add AgentSettingsPanel component
2026-07-09 01:01:13 +08:00
KimiSwitch Dev
a0ec266129
i18n: add agent settings panel translations
2026-07-09 00:59:37 +08:00
KimiSwitch Dev
7296f322de
feat: add agent settings read/write helpers
2026-07-09 00:58:55 +08:00
KimiSwitch Dev
c564bda282
feat: add model default max_context_size lookup table
2026-07-09 00:58:20 +08:00
KimiSwitch Dev
35b6a9af4c
types: add AgentSettings and related Kimi Code config types
2026-07-09 00:57:33 +08:00
KimiSwitch Dev
fb72df6cfd
chore: pass current agent to ProviderList
2026-07-09 00:06:21 +08:00
KimiSwitch Dev
43b7ad18d0
feat: show /reload hint next to switch provider button in Kimi Code tab
2026-07-09 00:06:03 +08:00