Skip to content

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

chore: update module paths and imports after refactor

Steven Enamakelaaaa80340ec1
diff --git a/crates/openhuman-core/src/agent/progress_tracing/README.md b/crates/openhuman-core/src/agent/progress_tracing/README.md
index 9e99b7a759..80257b7b3e 100644
--- a/crates/openhuman-core/src/agent/progress_tracing/README.md
+++ b/crates/openhuman-core/src/agent/progress_tracing/README.md
@@ -4,14 +4,14 @@ Turns the agent's real-time [`AgentProgress`](../progress.rs) event stream into
OpenTelemetry/Langfuse-style trace spans (`agent.turn` -> `agent.iteration` ->
`tool.*`/`subagent.*`), correlated by session id, for offline inspection and
debugging long multi-agent runs (issue #3886). The module doc on
-[`agent/progress_tracing.rs`](../progress_tracing.rs) has the full span-tree shape and the
+[`core/observability/progress_tracing.rs`](../progress_tracing.rs) has the full span-tree shape and the
content-capture privacy gate (`observability.agent_tracing.capture_content`,
default on; enforced once, in `SpanCollector`, so no exporter can leak
content).
## Key files
-- `agent/progress_tracing.rs` (parent module file) declares the submodules
+- `core/observability/progress_tracing.rs` (parent module file) declares the submodules
below it. `collector/` holds `SpanCollector` (a pure state machine: feed it
progress events plus a timestamp, it accumulates finished `TraceSpan`s).
The data model (`TraceContext`, `RunType`, `SpanKind`/`SpanStatus`), content
diff --git a/crates/openhuman-core/src/agent/registration.rs b/crates/openhuman-core/src/agent/registration.rs
index 952d85a2e7..318a5fbf7a 100644
--- a/crates/openhuman-core/src/agent/registration.rs
+++ b/crates/openhuman-core/src/agent/registration.rs
@@ -8,6 +8,7 @@ use super::orchestration::tools::{
#[cfg(feature = "skills")]
use crate::skills::run_workflow::{AwaitWorkflowTool, RunWorkflowTool};
use super::tools::{PlanExitTool, TodoTool};
+use crate::tools::delegate::DelegateTool;
use crate::config::Config;
use std::path::Path;
use tinyagents_harness::tools as harness_tools;
diff --git a/crates/openhuman-core/src/channels/prompt.rs b/crates/openhuman-core/src/channels/prompt.rs
index 943c5b83b7..faae085c0d 100644
--- a/crates/openhuman-core/src/channels/prompt.rs
+++ b/crates/openhuman-core/src/channels/prompt.rs
@@ -21,7 +21,7 @@
//! `misty-bubbling-bunny` plan file for the roadmap toward a unified
//! builder.
-use crate::agent::prompts::inject_inline_content;
+use crate::prompts::inject_inline_content;
use std::path::Path;
/// Maximum characters per injected workspace file (matches `OpenClaw` default).
diff --git a/crates/openhuman-core/src/tools/mod.rs b/crates/openhuman-core/src/tools/mod.rs
index 5339180ebc..25999d5c1e 100644
--- a/crates/openhuman-core/src/tools/mod.rs
+++ b/crates/openhuman-core/src/tools/mod.rs
@@ -1,5 +1,5 @@
pub mod host_extensions;
-pub(crate) mod delegate;
+pub(crate) pub(crate) mod delegate;
pub(crate) mod native_ops;
mod native_ops_types;
pub mod ops;