mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-25 05:38:38 +08:00
ed47480fc7
* feat(omo): integrate Oh My OpenCode profile management into Provider system Adds full-stack OMO support: backend config read/write/import, OMO-specific provider CRUD with exclusive switching, frontend profile editor with agent/category/model configuration, global config management, and i18n support. * feat(omo): add model/variant dropdowns from enabled providers Replace model text inputs with Select dropdowns sourced from enabled OpenCode providers, add thinking-level variant selection, and prevent auto-enabling newly added OMO providers. * fix(omo): use standard provider action styles for OMO switch button * fix(omo): replace hardcoded isZh strings with proper i18n t() calls
40 lines
634 B
Rust
40 lines
634 B
Rust
#![allow(non_snake_case)]
|
|
|
|
mod config;
|
|
mod deeplink;
|
|
mod env;
|
|
mod failover;
|
|
mod global_proxy;
|
|
mod import_export;
|
|
mod mcp;
|
|
mod misc;
|
|
mod omo;
|
|
mod plugin;
|
|
mod prompt;
|
|
mod provider;
|
|
mod proxy;
|
|
mod session_manager;
|
|
mod settings;
|
|
pub mod skill;
|
|
mod stream_check;
|
|
mod usage;
|
|
|
|
pub use config::*;
|
|
pub use deeplink::*;
|
|
pub use env::*;
|
|
pub use failover::*;
|
|
pub use global_proxy::*;
|
|
pub use import_export::*;
|
|
pub use mcp::*;
|
|
pub use misc::*;
|
|
pub use omo::*;
|
|
pub use plugin::*;
|
|
pub use prompt::*;
|
|
pub use provider::*;
|
|
pub use proxy::*;
|
|
pub use session_manager::*;
|
|
pub use settings::*;
|
|
pub use skill::*;
|
|
pub use stream_check::*;
|
|
pub use usage::*;
|