Skip to content

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

chore: files changed crates/openhuman-core/src/agent_registry/agents/orchestrator/prompt.rs,crates/o

Steven Enamakeled6af8686f0c
diff --git a/crates/openhuman-core/src/agent_registry/agents/orchestrator/prompt.rs b/crates/openhuman-core/src/agent_registry/agents/orchestrator/prompt.rs
index a1716e32a5..a60e13ebf3 100644
--- a/crates/openhuman-core/src/agent_registry/agents/orchestrator/prompt.rs
+++ b/crates/openhuman-core/src/agent_registry/agents/orchestrator/prompt.rs
@@ -418,7 +418,7 @@ fn render_installed_skills(
// chars / instruction fences) and cap so a single installed
// skill can't bloat the prompt or smuggle routing instructions;
// full details stay one `describe_workflow` call away.
- tinytools_std::sanitize::sanitize_for_llm(&skill.description, SKILL_DESCRIPTION_CHARS)
+ tinytools::sanitize::sanitize_for_llm(&skill.description, SKILL_DESCRIPTION_CHARS)
.replace(['\n', '\t'], " ")
.trim()
.to_string()
@@ -505,7 +505,7 @@ fn format_connected_mcp_block(
let capability = if capability_raw.is_empty() {
String::new()
} else {
- tinytools_std::sanitize::sanitize_for_llm(capability_raw, 120)
+ tinytools::sanitize::sanitize_for_llm(capability_raw, 120)
.replace(['\n', '\t'], " ")
.trim()
.to_string()
diff --git a/crates/openhuman-core/src/doctor/checks/storage.rs b/crates/openhuman-core/src/doctor/checks/storage.rs
index affbec1d73..ee138718f4 100644
--- a/crates/openhuman-core/src/doctor/checks/storage.rs
+++ b/crates/openhuman-core/src/doctor/checks/storage.rs
@@ -138,7 +138,17 @@ async fn inspect_storage_config(check_id: &str, config: StorageConfig, depth: u8
}
fn sqlite_probe(path: &std::path::Path) -> bool {
- tinystoragedrivers::sqlite::SqliteStorage::probe_read_only(path).is_ok()
+ let file = if path.extension().is_some_and(|ext| ext == "db" || ext == "sqlite") {
+ path.to_path_buf()
+ } else {
+ path.join("storage.db")
+ };
+ let Ok(mut file) = std::fs::File::open(file) else {
+ return false;
+ };
+ let mut header = [0; 16];
+ use std::io::Read;
+ file.read_exact(&mut header).is_ok() && &header == b"SQLite format 3\0"
}
fn file_probe(path: &std::path::Path) -> bool {
diff --git a/crates/openhuman-core/src/modules/storage_import_support.rs b/crates/openhuman-core/src/modules/storage_import_support.rs
index ea4c2ec93b..4d1edbb5d7 100644
--- a/crates/openhuman-core/src/modules/storage_import_support.rs
+++ b/crates/openhuman-core/src/modules/storage_import_support.rs
@@ -48,7 +48,7 @@ fn capture_module_storage(
let caller_context = ctx
.resolved()
.ok_or_else(|| anyhow!("profile import has no admitted caller context"))?;
- let host = crate::profiles::host()
+ let host = crate::profiles::host::host()
.ok_or_else(|| anyhow!("profile import has no active profile host"))?;
let id = crate::profiles::ProfileId::parse(&profile_id)
.map_err(|error| anyhow!("invalid caller profile id: {error}"))?;
diff --git a/crates/openhuman-core/src/skills/search.rs b/crates/openhuman-core/src/skills/search.rs
index 8def090d17..ed3e7ec02d 100644
--- a/crates/openhuman-core/src/skills/search.rs
+++ b/crates/openhuman-core/src/skills/search.rs
@@ -49,7 +49,7 @@ pub const SKILL_SEARCH_NAME: &str = "skill_search";
/// Compact per-result projection, via the module's capped projection with the
/// host's `sanitize_for_llm` supplied as the sanitiser.
fn project(workflow: &Workflow) -> tinyskills::SkillHit {
- tinyskills::project(workflow, tinytools_std::sanitize::sanitize_for_llm)
+ tinyskills::project(workflow, tinytools::sanitize::sanitize_for_llm)
}
/// Search installed skills by capability.