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
修复「改名后模型别名保留旧前缀,僵尸条目删了又出现」这一类配置不一致。 - 改名时同步重键模型别名、全局默认模型、供应商记住的默认模型、子代理池条目 - 改名冲突(撞已存在供应商名 / 遗留裸别名)加 -2/-3 后缀,不再静默吞模型 - 修复复制供应商复用移动语义 rekey 导致源供应商模型被清空 - 加载时不再合并「供应商已不存在」的 SQLite 僵尸模型 - 删除供应商/模型时清理子代理池条目、池默认回落、default_model 置空、 SQLite 用量查询配置(不误删另一 agent,读取失败即跳过) - 防呆:复制供应商改为 dirty-only,放弃修改不再落盘 - 测试基建:统一 crate 级 test_state 锁,消除环境变量并发竞争 测试:前端 146(新增 16)、Rust 197(新增 4)
46 lines
1.4 KiB
TOML
46 lines
1.4 KiB
TOML
[package]
|
|
name = "kimiswitch"
|
|
version = "0.8.3-rc1"
|
|
description = "Kimi Switch - model config manager"
|
|
authors = ["codingplan.site"]
|
|
edition = "2021"
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2.0.0", features = [] }
|
|
|
|
[dependencies]
|
|
tauri = { version = "2.0.0", features = ["tray-icon"] }
|
|
tauri-plugin-opener = "2.0.0"
|
|
tauri-plugin-single-instance = "2.0.0"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
indexmap = { version = "2.2", features = ["serde"] }
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
anyhow = "1.0"
|
|
regex = "1"
|
|
walkdir = "2"
|
|
fs_extra = "1"
|
|
reqwest = { version = "0.12", features = ["json", "rustls-tls", "stream"], default-features = false }
|
|
futures-util = "0.3"
|
|
dirs = "5.0"
|
|
toml = "0.8"
|
|
rusqlite = { version = "0.32", features = ["bundled", "chrono"] }
|
|
tokio = { version = "1", features = ["sync", "fs", "io-util"] }
|
|
# Plugin marketplace: zip extraction (deflate-only; no extra compression
|
|
# backends needed for plugin archives).
|
|
zip = { version = "2", default-features = false, features = ["deflate"] }
|
|
# Scoped OAuth credential keys (oauth/kimi-code-env-<sha256>) for non-mainland
|
|
# regions, mirroring the official CLI's resolveKimiCodeOAuthKey.
|
|
sha2 = "0.10"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3"
|
|
|
|
[lib]
|
|
name = "kimiswitch_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[features]
|
|
default = ["custom-protocol"]
|
|
custom-protocol = ["tauri/custom-protocol"]
|