Skip to content

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

chore: files changed crates/openhuman-app/Cargo.toml,crates/openhuman-cli/Cargo.toml,crates/openhuma

Steven Enamakel6275364b93a1
diff --git a/crates/openhuman-app/Cargo.toml b/crates/openhuman-app/Cargo.toml
index f76fe0f54d..b43104350c 100644
--- a/crates/openhuman-app/Cargo.toml
+++ b/crates/openhuman-app/Cargo.toml
@@ -91,6 +91,7 @@ openhuman-rpc = { path = "../openhuman-rpc", default-features = false, features
"runtime-node",
"hosting",
"tinymemes",
+ "storage-sqlite",
] }
# Tauri core and plugins. Use upstream Tauri's native WebView runtime (Wry),
# rather than the removed Chromium/CEF fork.
diff --git a/crates/openhuman-cli/Cargo.toml b/crates/openhuman-cli/Cargo.toml
index 36489a8ade..b5a488ed10 100644
--- a/crates/openhuman-cli/Cargo.toml
+++ b/crates/openhuman-cli/Cargo.toml
@@ -345,6 +345,7 @@ default = [
"modules",
"jev",
"tinymemes",
+ "storage-sqlite",
]
# Every gate forwards to `openhuman-rpc` alone (chain: rpc -> tinyhumans ->
# embed -> core); `scripts/ci/check-feature-forwarding.mjs` checks the link.
diff --git a/crates/openhuman-core/Cargo.toml b/crates/openhuman-core/Cargo.toml
index 1f5af777d2..778a71a255 100644
--- a/crates/openhuman-core/Cargo.toml
+++ b/crates/openhuman-core/Cargo.toml
@@ -158,7 +158,7 @@ tinyagents-registry = { path = "../../vendor/tinyagents/crates/tinyagents-regist
tinyagents-session = { path = "../../vendor/tinyagents/crates/tinyagents-session", features = ["storage-drivers"] }
# The storage ports and the URL-to-backend facade (`storage` domain). No driver
# by default: the `storage-*` features below add them.
-tinystoragedrivers = { path = "../../vendor/tinyagents/vendor/tinystoragedrivers/crates/tinystoragedrivers", default-features = false, features = ["blocking", "secrets"] }
+tinystoragedrivers = { path = "../../vendor/tinyagents/vendor/tinystoragedrivers/crates/tinystoragedrivers", default-features = false, features = ["blocking", "secrets", "file"] }
tinyagents-runtime = { path = "../../vendor/tinyagents/crates/tinyagents-runtime" }
tinyagents-orchestration = { path = "../../vendor/tinyagents/crates/tinyagents-orchestration" }
tinyagents-tasks = { path = "../../vendor/tinyagents/crates/tinyagents-tasks" }
@@ -687,11 +687,18 @@ proptest = "1"
[features]
# Storage drivers for `[storage] url` / `OPENHUMAN_STORAGE_URL` (see the
-# `storage` domain). Memory is always available. Off in the product until a
-# desktop domain moves onto the ports; a cloud build turns on `storage-mongodb`.
+# `storage` domain). Memory and plain files are always available.
+# `storage-sqlite` is in the contributor set and the product: the small
+# desktop stores (approvals, devices, notifications, task sources) keep their
+# rows in it by default. `storage-mongodb` is in neither; a cloud build turns
+# it on. `storage-keyring` does not exist: the only tinystoragedrivers
+# `keyring` gate is `KeyringSecrets`, which the core does not use (its OS
+# keychain access is the `keyring` crate in `security/keyring`).
storage-sqlite = ["tinystoragedrivers/sqlite"]
storage-mongodb = ["tinystoragedrivers/mongodb"]
-storage-file = ["tinystoragedrivers/file"]
+# Always on (the dependency enables `file`); kept so existing feature lists
+# and the forwarding chain keep resolving.
+storage-file = []
# THE CONTRIBUTOR SET — not the product set.
#
# This list is what a bare `cargo check`, `cargo test` and rust-analyzer
@@ -724,7 +731,7 @@ storage-file = ["tinystoragedrivers/file"]
# costs no new native builds. It matches `scripts/ci/product-features.txt`. This
# does NOT move the kernel floor: that profile is
# `--no-default-features --features flows` and never reads this list.
-default = ["media", "skills", "flows", "mcp", "channels", "http-server", "scheduler-gate", "file-logging", "modules", "tinymemes"]
+default = ["media", "skills", "flows", "mcp", "channels", "http-server", "scheduler-gate", "file-logging", "modules", "tinymemes", "storage-sqlite"]
# The core's domain-owned HTTP surfaces (#5048): the `/v1` OpenAI-compatible
# router (`inference::http`), the WebSocket dictation handler
# (`voice::streaming`), the `openhuman text-input run` dev server, and the MCP
diff --git a/crates/openhuman-tui/Cargo.toml b/crates/openhuman-tui/Cargo.toml
index cb6e2be145..4126b33ef0 100644
--- a/crates/openhuman-tui/Cargo.toml
+++ b/crates/openhuman-tui/Cargo.toml
@@ -25,6 +25,7 @@ default = [
"scheduler-gate",
"file-logging",
"modules",
+ "storage-sqlite",
]
crash-reporting = ["openhuman-rpc/crash-reporting"]
jev = ["openhuman-rpc/jev"]
diff --git a/scripts/ci/product-features.txt b/scripts/ci/product-features.txt
index 5b2272ea8a..a780310460 100644
--- a/scripts/ci/product-features.txt
+++ b/scripts/ci/product-features.txt
@@ -104,3 +104,10 @@ hosting
# release can turn it on; still off at runtime until OPENHUMAN_TINYMEMES (or a
# build-time OPENHUMAN_TINYMEMES_DEFAULT) enables it.
tinymemes
+
+# Storage driver for the default on-disk layout: the small desktop stores
+# (approvals, devices, notifications, task sources) keep their rows in SQLite
+# document tables inside their existing `.db` files, importing the old tables
+# on first open. Also serves `sqlite:` in `[storage] url`. MongoDB is not part
+# of the product.
+storage-sqlite