feat: implement Pi Switch i18n UI and agent config switch

This commit is contained in:
KimiSwitch Dev committed 2026-07-08 08:53:26 +08:00
1 parent 7d69aac08f
commit af991a7bda
86 files changed
+4214 -235

No files matched your search

+8 -13
View File
@@ -1,23 +1,18 @@
pub mod commands;
pub mod config_io;
pub mod kimi_code_io;
pub mod models;
pub mod profile_manager;
pub mod validators;
pub mod pi_io;
pub fn run() {
tauri::Builder::default()
.plugin(tauri_plugin_shell::init())
.plugin(tauri_plugin_opener::init())
.invoke_handler(tauri::generate_handler![
commands::load_config_command,
commands::save_config_command,
commands::list_profiles,
commands::load_profile,
commands::save_profile,
commands::switch_profile,
commands::rename_profile,
commands::delete_profile,
commands::open_config_dir,
commands::load_agent_config_command,
commands::save_agent_config_command,
commands::open_agent_config_dir,
commands::get_app_version,
commands::list_provider_models,
commands::debug_log,
])
.run(tauri::generate_context!())
.expect("error while running tauri application");