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
fix(notifications): restore document and import store modules
Steven Enamakel79ad180225ac
diff --git a/crates/openhuman-core/src/desktop/notifications/store_documents.rs b/crates/openhuman-core/src/desktop/notifications/store_documents.rsindex fd9b662eb1..cd542744ae 100644--- a/crates/openhuman-core/src/desktop/notifications/store_documents.rs+++ b/crates/openhuman-core/src/desktop/notifications/store_documents.rs@@ -279,13 +279,6 @@ async fn release_content(}}-/// The core-notification document id: the workspace is part of the key, since-/// each workspace's events are persisted separately in the SQL store (one-/// database per workspace) and event ids repeat across them.-pub(super) fn core_id(workspace: &str, event_id: &str) -> String {- format!("{}:{workspace}/{event_id}", workspace.len())-}-/// The notification store over one scoped document handle.#[derive(Clone)]pub(super) struct Docs(Repo, String);diff --git a/crates/openhuman-core/src/desktop/notifications/store_import.rs b/crates/openhuman-core/src/desktop/notifications/store_import.rsindex 6eda8532a9..7e18d2d2dd 100644--- a/crates/openhuman-core/src/desktop/notifications/store_import.rs+++ b/crates/openhuman-core/src/desktop/notifications/store_import.rs@@ -23,6 +23,7 @@ use serde_json::json;mod store_rows;use store_rows::rows_to_notifications;+use super::store_documents::LOCAL_WORKSPACE;use super::storage_schema::{LEGACY_CORE, LEGACY_NOTIFICATIONS, LEGACY_SETTINGS};use super::types::IntegrationNotification;use crate::config::Config;diff --git a/crates/openhuman-core/src/integrations/task_sources/mod.rs b/crates/openhuman-core/src/integrations/task_sources/mod.rsindex 67ee9c66aa..870888ff63 100644--- a/crates/openhuman-core/src/integrations/task_sources/mod.rs+++ b/crates/openhuman-core/src/integrations/task_sources/mod.rs@@ -26,6 +26,7 @@ pub mod store;mod storage_schema;mod store_documents;mod store_import;+pub(crate) use storage_schema::storage_schema;pub(crate) use store_documents::import_source;pub mod tools;pub mod types;diff --git a/crates/openhuman-core/src/storage/schema.rs b/crates/openhuman-core/src/storage/schema.rsindex 8eac3f2ce5..3b7dba1087 100644--- a/crates/openhuman-core/src/storage/schema.rs+++ b/crates/openhuman-core/src/storage/schema.rs@@ -29,6 +29,10 @@ pub fn owner_schemas() -> Vec<Schema> {tinyagents_session::conversations_storage_schema(),tinyagents_graph::storage_schema(),tinyagents_tasks::storage_schema(),+ crate::security::approval::storage_schema(),+ crate::security::devices::storage_schema(),+ crate::desktop::notifications::storage_schema(),+ crate::integrations::task_sources::storage_schema(),];#[cfg(feature = "flows")]{