Skip to content

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

chore(threads): move worker thread and run mode modules

Steven Enamakela8915b7adccc
diff --git a/crates/openhuman-core/src/agent/session_host/runtime_session/memory_ingest.rs b/crates/openhuman-core/src/memory/lifecycle/session_hooks.rs
similarity index 100%
rename from crates/openhuman-core/src/agent/session_host/runtime_session/memory_ingest.rs
rename to crates/openhuman-core/src/memory/lifecycle/session_hooks.rs
diff --git a/crates/openhuman-core/src/agent/session_host/runtime_session/memory_ingest_tests.rs b/crates/openhuman-core/src/memory/lifecycle/session_hooks_tests.rs
similarity index 100%
rename from crates/openhuman-core/src/agent/session_host/runtime_session/memory_ingest_tests.rs
rename to crates/openhuman-core/src/memory/lifecycle/session_hooks_tests.rs
diff --git a/crates/openhuman-core/src/agent/tinyagents/run_mode.rs b/crates/openhuman-core/src/threads/run_mode.rs
similarity index 100%
rename from crates/openhuman-core/src/agent/tinyagents/run_mode.rs
rename to crates/openhuman-core/src/threads/run_mode.rs
diff --git a/crates/openhuman-core/src/agent/tinyagents/run_mode_tests.rs b/crates/openhuman-core/src/threads/run_mode_tests.rs
similarity index 100%
rename from crates/openhuman-core/src/agent/tinyagents/run_mode_tests.rs
rename to crates/openhuman-core/src/threads/run_mode_tests.rs
diff --git a/crates/openhuman-core/src/agent/subagent_host/ops/graph/worker_mirror.rs b/crates/openhuman-core/src/threads/worker_mirror.rs
similarity index 100%
rename from crates/openhuman-core/src/agent/subagent_host/ops/graph/worker_mirror.rs
rename to crates/openhuman-core/src/threads/worker_mirror.rs
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/worker_thread.rs b/crates/openhuman-core/src/threads/worker_thread.rs
similarity index 100%
rename from crates/openhuman-core/src/agent/orchestration/tools/worker_thread.rs
rename to crates/openhuman-core/src/threads/worker_thread.rs
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/worker_thread_tests.rs b/crates/openhuman-core/src/threads/worker_thread_tests.rs
similarity index 100%
rename from crates/openhuman-core/src/agent/orchestration/tools/worker_thread_tests.rs
rename to crates/openhuman-core/src/threads/worker_thread_tests.rs
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_worker_thread.rs b/crates/openhuman-core/src/tools/impl/threads/spawn_worker_thread.rs
similarity index 100%
rename from crates/openhuman-core/src/agent/orchestration/tools/spawn_worker_thread.rs
rename to crates/openhuman-core/src/tools/impl/threads/spawn_worker_thread.rs
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_worker_thread_tests.rs b/crates/openhuman-core/src/tools/impl/threads/spawn_worker_thread_tests.rs
similarity index 100%
rename from crates/openhuman-core/src/agent/orchestration/tools/spawn_worker_thread_tests.rs
rename to crates/openhuman-core/src/tools/impl/threads/spawn_worker_thread_tests.rs