The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
refactor(attachments): expose staged attachment constants and update imports
Steven Enamakel521486ab009f
diff --git a/crates/openhuman-core/src/threads/attachments/staged.rs b/crates/openhuman-core/src/threads/attachments/staged.rsindex d73b110ed2..238649dc5c 100644--- a/crates/openhuman-core/src/threads/attachments/staged.rs+++ b/crates/openhuman-core/src/threads/attachments/staged.rs@@ -32,6 +32,7 @@ pub(crate) use native::{#[path = "staged/native.rs"]mod native;pub(super) use native::read_staged_file_bounded;+use native::{STAGED_COLLECTION, STAGED_DOMAIN, STAGED_TTL_SECS};pub(super) fn staged_doc_id(opaque_id: &str) -> Result<String, String> {let uuid = uuid::Uuid::parse_str(opaque_id)diff --git a/crates/openhuman-core/src/threads/attachments/staged/native.rs b/crates/openhuman-core/src/threads/attachments/staged/native.rsindex de1f4ed1bf..caf3a4ddce 100644--- a/crates/openhuman-core/src/threads/attachments/staged/native.rs+++ b/crates/openhuman-core/src/threads/attachments/staged/native.rs@@ -295,7 +295,7 @@ fn native_attachment_byte_limit(part: &ContentPart, config: &crate::config::Conf.min(tinychannels_bus::module_media::MEDIA_UPLOAD_MAX_BYTES)}-pub(super) async fn read_staged_file_bounded(+pub(in crate::threads::attachments) async fn read_staged_file_bounded(path: &std::path::Path,root: &std::path::Path,limit: usize,diff --git a/crates/openhuman-core/src/web_chat/turn_host_progress.rs b/crates/openhuman-core/src/web_chat/turn_host_progress.rsindex 039040f36d..5479b4ce5f 100644--- a/crates/openhuman-core/src/web_chat/turn_host_progress.rs+++ b/crates/openhuman-core/src/web_chat/turn_host_progress.rs@@ -1,8 +1,9 @@use std::time::Duration;-use super::progress::{ProgressProjection, INFERENCE_HEARTBEAT_SECS};-use super::turn_activity::TurnActivity;-use super::types::WebChatTaskResult;+use super::super::progress::{ProgressProjection, INFERENCE_HEARTBEAT_SECS};+use super::super::turn_activity::TurnActivity;+use super::super::types::WebChatTaskResult;+use super::{TurnSignal, WorkTracker};use crate::agent::queued_turn::QueuedPayload;use crate::core::runtime::DispatchCtx;use tinyagents_harness::progress::AgentProgress;