Skip to content

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

chore: add missing test module declarations

Steven Enamakel0ab56c298016
diff --git a/Cargo.lock b/Cargo.lock
index 11d70ed4c3..d1d522bf93 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -378,6 +378,7 @@ dependencies = [
"tower",
"tower-layer",
"tower-service",
+ "tracing",
]
[[package]]
@@ -396,6 +397,7 @@ dependencies = [
"sync_wrapper",
"tower-layer",
"tower-service",
+ "tracing",
]
[[package]]
@@ -4243,6 +4245,23 @@ dependencies = [
"url",
]
+[[package]]
+name = "openhuman-session"
+version = "0.63.28"
+dependencies = [
+ "async-trait",
+ "axum",
+ "chrono",
+ "log",
+ "reqwest",
+ "serde",
+ "serde_json",
+ "thiserror 2.0.20",
+ "tinyhumans-sdk",
+ "tokio",
+ "url",
+]
+
[[package]]
name = "openhuman-tui"
version = "0.63.28"
@@ -7121,6 +7140,7 @@ dependencies = [
"tokio",
"tower-layer",
"tower-service",
+ "tracing",
]
[[package]]
@@ -7159,6 +7179,7 @@ version = "0.1.44"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "63e71662fa4b2a2c3a26f570f037eb95bb1f85397f3cd8076caed2f026a6d100"
dependencies = [
+ "log",
"pin-project-lite",
"tracing-attributes",
"tracing-core",
diff --git a/Cargo.toml b/Cargo.toml
index fb0f23684d..f90204cb82 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
# Virtual workspace root. Members: `crates/openhuman-core` (package `openhuman`,
# the core + `openhuman-core` CLI), `crates/openhuman-embed` (library facade),
-# `crates/openhuman-rpc` (shared RPC contracts/client), and `crates/openhuman-tui`
-# (terminal client). `crates/openhuman-app` is deliberately excluded: it is its
+# `crates/openhuman-rpc` (shared RPC contracts/client), `crates/openhuman-session`
+# (login/session ownership for hosts), and `crates/openhuman-tui` (terminal client). `crates/openhuman-app` is deliberately excluded: it is its
# own Cargo world with its own lockfile and target directory so that root-only
# Cargo commands don't resolve GTK/WebKit/Tauri, and it must mirror this file's
# `[patch]` tables rather than inherit them. Vendored module workspaces are also
@@ -9,7 +9,13 @@
# own roots.
[workspace]
resolver = "2"
-members = ["crates/openhuman-core", "crates/openhuman-embed", "crates/openhuman-rpc", "crates/openhuman-tui"]
+members = [
+ "crates/openhuman-core",
+ "crates/openhuman-embed",
+ "crates/openhuman-rpc",
+ "crates/openhuman-session",
+ "crates/openhuman-tui",
+]
exclude = [
"vendor",
"worktrees",
@@ -27,6 +33,7 @@ repository = "https://github.com/tinyhumansai/openhuman"
[workspace.dependencies]
openhuman-core = { path = "crates/openhuman-core", package = "openhuman" }
openhuman-rpc = { path = "crates/openhuman-rpc", default-features = false }
+openhuman-session = { path = "crates/openhuman-session" }
# Patches are workspace-root settings; Cargo ignores them in member manifests.
[patch."https://github.com/tinyhumansai/tinymemory"]
diff --git a/crates/openhuman-session/src/cache_tests.rs b/crates/openhuman-session/src/cache_tests.rs
new file mode 100644
index 0000000000..4563e55b7b
--- /dev/null
+++ b/crates/openhuman-session/src/cache_tests.rs
@@ -0,0 +1 @@
+use super::*;
diff --git a/crates/openhuman-session/src/client_tests.rs b/crates/openhuman-session/src/client_tests.rs
new file mode 100644
index 0000000000..4563e55b7b
--- /dev/null
+++ b/crates/openhuman-session/src/client_tests.rs
@@ -0,0 +1 @@
+use super::*;
diff --git a/crates/openhuman-session/src/credential_tests.rs b/crates/openhuman-session/src/credential_tests.rs
new file mode 100644
index 0000000000..4563e55b7b
--- /dev/null
+++ b/crates/openhuman-session/src/credential_tests.rs
@@ -0,0 +1 @@
+use super::*;
diff --git a/crates/openhuman-session/src/link_tests.rs b/crates/openhuman-session/src/link_tests.rs
new file mode 100644
index 0000000000..4563e55b7b
--- /dev/null
+++ b/crates/openhuman-session/src/link_tests.rs
@@ -0,0 +1 @@
+use super::*;
diff --git a/crates/openhuman-session/src/manager_tests.rs b/crates/openhuman-session/src/manager_tests.rs
new file mode 100644
index 0000000000..4563e55b7b
--- /dev/null
+++ b/crates/openhuman-session/src/manager_tests.rs
@@ -0,0 +1 @@
+use super::*;