增加直接创建会话

This commit is contained in:
2025-10-16 11:34:10 +08:00
parent b2be1ac401
commit 9d30fd0dac
13 changed files with 818 additions and 25 deletions

View File

@@ -86,6 +86,10 @@ use commands::ccr::{
stop_ccr_service, restart_ccr_service, open_ccr_ui, get_ccr_config_path,
};
use commands::system::flush_dns;
use commands::smart_sessions::{
create_smart_quick_start_session, get_smart_session_config, update_smart_session_config,
list_smart_sessions_command, toggle_smart_session_mode, cleanup_old_smart_sessions_command,
};
use process::ProcessRegistryState;
use file_watcher::FileWatcherState;
use std::sync::Mutex;
@@ -425,6 +429,14 @@ fn main() {
storage_execute_sql,
storage_reset_database,
// Smart Sessions Management
create_smart_quick_start_session,
get_smart_session_config,
update_smart_session_config,
list_smart_sessions_command,
toggle_smart_session_mode,
cleanup_old_smart_sessions_command,
// Slash Commands
commands::slash_commands::slash_commands_list,
commands::slash_commands::slash_command_get,