Skip to content

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

Merge branch 'epic-8131-440-legacy-import' into epic-8131-440-host-storage

Steven Enamakel107ca5251883
diff --cc crates/openhuman-core/src/storage/documents.rs
index a96d0fa28e,dbcd915e35..0c652c7f4e
--- a/crates/openhuman-core/src/storage/documents.rs
+++ b/crates/openhuman-core/src/storage/documents.rs
@@@ -12,12 -12,13 +12,13 @@@ use std::collections::HashMap
use std::future::Future;
use std::sync::{Arc, LazyLock, Mutex, PoisonError, Weak};
-use anyhow::{Context, Result, anyhow};
+use anyhow::{anyhow, Context, Result};
use serde_json::Value;
use tinystoragedrivers::{CollectionSpec, ErrorKind, Precondition, Versioned};
+ use tinystoragedrivers::WriteCondition;
use super::{
- DocumentStore, Scope, Storage, StorageBackend, StorageError, block_on, current_scope, installed,
+ block_on, current_scope, installed, DocumentStore, Scope, Storage, StorageBackend, StorageError,
};
/// Collections already declared, per process: `(backend address, scope,
diff --cc crates/openhuman-core/src/storage/import/mod.rs
index 43edacf571,3e888df408..20fe6c38d2
--- a/crates/openhuman-core/src/storage/import/mod.rs
+++ b/crates/openhuman-core/src/storage/import/mod.rs
@@@ -74,8 -82,9 +82,8 @@@ use anyhow::{anyhow, Context}
use sha2::Digest;
use tinystoragedrivers::CollectionSpec;
#[cfg(feature = "legacy-import")]
- use tinystoragedrivers::{ErrorKind, Precondition};
+ use tinystoragedrivers::{ErrorKind, Precondition, WriteOptions};
-use super::StorageBackend;
#[cfg(feature = "legacy-import")]
use super::block_on;
#[cfg(feature = "legacy-import")]