Skip to content

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

feat(storage): enable file storage by default and add opt-in drivers

Steven Enamakelfdd6ae9a464c
diff --git a/crates/openhuman-app/Cargo.toml b/crates/openhuman-app/Cargo.toml
index b44c2b54f6..c90b419fcf 100644
--- a/crates/openhuman-app/Cargo.toml
+++ b/crates/openhuman-app/Cargo.toml
@@ -96,6 +96,7 @@ openhuman-rpc = { path = "../openhuman-rpc", default-features = false, features
"tinymemes",
"inbound-queues",
"storage-sqlite",
+ "storage-file",
"secret-file",
"legacy-import",
] }
@@ -286,6 +287,9 @@ gateways = []
# turns this on automatically for release; do not put it in `default` or
# every `pnpm dev:app` will silently load the production bundle. DO NOT REMOVE!!
custom-protocol = ["tauri/custom-protocol"]
+storage-mongodb = ["openhuman-rpc/storage-mongodb"]
+storage-s3 = ["openhuman-rpc/storage-s3"]
+storage-rabbitmq = ["openhuman-rpc/storage-rabbitmq"]
# Forwarded down the chain (rpc -> tinyhumans -> embed -> core) to expose
# `openhuman.test_reset`. Off by default; the E2E build flips it on via
# `cargo tauri build --features e2e-test-support`. See app/scripts/e2e-build.sh.
diff --git a/crates/openhuman-cli/Cargo.toml b/crates/openhuman-cli/Cargo.toml
index 490519eaf0..00322433d2 100644
--- a/crates/openhuman-cli/Cargo.toml
+++ b/crates/openhuman-cli/Cargo.toml
@@ -470,6 +470,7 @@ default = [
"tinymemes",
"inbound-queues",
"storage-sqlite",
+ "storage-file",
"secret-file",
"legacy-import",
]
diff --git a/crates/openhuman-tui/Cargo.toml b/crates/openhuman-tui/Cargo.toml
index c9984fdeb1..27b038243a 100644
--- a/crates/openhuman-tui/Cargo.toml
+++ b/crates/openhuman-tui/Cargo.toml
@@ -29,6 +29,7 @@ default = [
"file-logging",
"modules",
"storage-sqlite",
+ "storage-file",
"secret-file",
"legacy-import",
]
diff --git a/scripts/ci/product-features.txt b/scripts/ci/product-features.txt
index 8ed07c2105..aff89c96af 100644
--- a/scripts/ci/product-features.txt
+++ b/scripts/ci/product-features.txt
@@ -106,11 +106,13 @@ tinymemes
# [components] eventqueues and [inbound] enabled.
inbound-queues
-# Storage driver for the default backend, `sqlite:<workspace>/storage`: every
+# Storage drivers for the default backend, `sqlite:<workspace>/storage`: every
# store, the session store included, lives in it, and older installs' per-domain
# databases and transcript files are imported into it once. Also serves
-# `sqlite:` in `[storage] url`. MongoDB is not part of the product.
+# `sqlite:` in `[storage] url`. Plain file storage supports local blobs.
+# MongoDB, S3 and RabbitMQ are opt-in deployment features.
storage-sqlite
+storage-file
# The process keyring's encrypted file backend is independent from storage-file.
secret-file