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
feat(attachments): add mime hints to attachment access scope
Steven Enamakelc1b0882c692e
diff --git a/crates/openhuman-core/src/attachments/mod.rs b/crates/openhuman-core/src/attachments/mod.rsindex 50aa36c312..ff6f0d6702 100644--- a/crates/openhuman-core/src/attachments/mod.rs+++ b/crates/openhuman-core/src/attachments/mod.rs@@ -23,6 +23,9 @@ pub(crate) mod provider;pub(crate) struct AttachmentAccessScope {pub(crate) external_channel: bool,pub(crate) workspace: Option<PathBuf>,+ /// MIME hints captured from typed transcript blocks before the owner+ /// request adapter resolves their source strings.+ pub(crate) mime_hints: std::collections::HashMap<String, String>,}const REQUEST_SCOPE_KEY: &str = "__openhuman_attachment_access_scope";@@ -62,6 +65,7 @@ pub(crate) fn take_request_scope(metadata: &mut serde_json::Value) -> Attachment.get("workspace").and_then(serde_json::Value::as_str).map(PathBuf::from),+ mime_hints: Default::default(),}}