Skip to content

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

feat(config): add config struct for source settings

Steven Enamakelf099c949e0b5
diff --git a/crates/openhuman-core/src/config/schema/storage.rs b/crates/openhuman-core/src/config/schema/storage.rs
index a91e4fd51d..7750047a4b 100644
--- a/crates/openhuman-core/src/config/schema/storage.rs
+++ b/crates/openhuman-core/src/config/schema/storage.rs
@@ -1,9 +1,10 @@
//! Storage backend configuration (`[storage]`).
//!
//! Where the core keeps durable state that has moved onto the
-//! `tinystoragedrivers` ports. Empty (the default) keeps the classic on-disk
-//! layout under the workspace, which is what the desktop app uses. A URL
-//! points the process at one backend instead:
+//! `tinystoragedrivers` ports. Empty (the default) keeps the on-disk layout
+//! under the workspace, which is what the desktop app uses: the small stores
+//! keep document tables in their own SQLite files. `classic` opts out to the
+//! pure legacy tables. A URL points the process at one backend instead:
//!
//! ```toml
//! [storage]
@@ -24,7 +25,7 @@ use serde::{Deserialize, Serialize};
pub struct StorageConfig {
/// The storage URL: `memory`, `sqlite:<path>`, `mongodb://…/<db>`,
/// `mongodb+srv://…/<db>` or `file:<dir>`. Empty or absent keeps the
- /// classic on-disk layout.
+ /// default on-disk layout; `classic` keeps the pure legacy tables.
#[serde(default, skip_serializing_if = "Option::is_none")]
pub url: Option<String>,
}