Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

refactor(session): expose session commands module

Steven Enamakelb3c57c3497f7
diff --git a/crates/openhuman-app/src/lib.rs b/crates/openhuman-app/src/lib.rs
index 8d9403a772..42417a6489 100644
--- a/crates/openhuman-app/src/lib.rs
+++ b/crates/openhuman-app/src/lib.rs
@@ -3441,11 +3441,11 @@ pub fn run() {
app_quit,
restart_app,
get_active_user_id,
- session::auth_login_with_token,
- session::auth_store_session,
- session::auth_logout,
- session::auth_state,
- session::auth_current_user,
+ session::commands::auth_login_with_token,
+ session::commands::auth_store_session,
+ session::commands::auth_logout,
+ session::commands::auth_state,
+ session::commands::auth_current_user,
register_dictation_hotkey,
unregister_dictation_hotkey,
register_ptt_hotkey,
diff --git a/crates/openhuman-app/src/session/mod.rs b/crates/openhuman-app/src/session/mod.rs
index 730f6487a4..ea84eda803 100644
--- a/crates/openhuman-app/src/session/mod.rs
+++ b/crates/openhuman-app/src/session/mod.rs
@@ -8,7 +8,7 @@
//! process, with the same `x-sdk-name` / version attribution headers the core
//! sends on its own backend traffic.
-mod commands;
+pub(crate) mod commands;
mod link;
use std::sync::Arc;
@@ -19,9 +19,6 @@ use tauri::{AppHandle, Emitter, Manager};
use crate::core_process::CoreProcessHandle;
use crate::AppRuntime;
-pub(crate) use commands::{
- auth_current_user, auth_login_with_token, auth_logout, auth_state, auth_store_session,
-};
pub(crate) use link::HttpCoreLink;
/// Tauri event emitted whenever the credential or the current user changes.