Skip to content

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

refactor(tinyflows): update tinyflows feature dependencies and exports

Steven Enamakele86e8fc346cb
diff --git a/crates/openhuman-core/Cargo.toml b/crates/openhuman-core/Cargo.toml
index b1d9ab8765..10f3849323 100644
--- a/crates/openhuman-core/Cargo.toml
+++ b/crates/openhuman-core/Cargo.toml
@@ -760,7 +760,7 @@ media = ["tinyagents-harness/media"]
# runtime `DomainSet::flows` flag (#4796): the feature narrows the compile-time
# surface, `DomainSet` gates it at runtime.
# NOTE: this gate does NOT drop `tinyagents` itself — 26+ domains consume it.
-flows = ["modules", "dep:tinyflows", "dep:tinyflows-catalog", "dep:tinyflows-copilot", "dep:tinyflows-drivers", "tinyflows-import/engine", "tinyflows-import/store", "tinyflows-import/catalog", "tinyflows-drivers/catalog", "tinyflows-drivers/schedule"]
+flows = ["modules", "dep:tinyflows", "dep:tinyflows-catalog", "dep:tinyflows-copilot", "dep:tinyflows-drivers", "tinyflows-import/flow-read", "tinyflows-import/checkpoint-read", "tinyflows-drivers/catalog", "tinyflows-drivers/schedule"]
# Skills domains: `openhuman::skills` (metadata/discovery/install),
# `openhuman::skill_runtime` (SKILL.md execution + the skill_executor agent),
# and `openhuman::skill_registry` (remote catalogs + the skill_setup agent).
diff --git a/crates/openhuman-core/src/modules/tinyflows.rs b/crates/openhuman-core/src/modules/tinyflows.rs
index 71c85ddb05..862cfd4a93 100644
--- a/crates/openhuman-core/src/modules/tinyflows.rs
+++ b/crates/openhuman-core/src/modules/tinyflows.rs
@@ -402,8 +402,9 @@ mod fixture;
pub(crate) use imp::serve_pair_after_first;
#[cfg(feature = "modules")]
pub(crate) use imp::{
- authoring_proxy, catalog_proxy, copilot_invoke_proxy, copilot_proxy, portability_proxy, proxy,
- run_proxy, runs_proxy, serve, serve_pair, serve_registered, unserve,
+ authoring_proxy, catalog_proxy, catalog_proxy_for_migration, copilot_invoke_proxy,
+ copilot_proxy, portability_proxy, proxy, run_proxy, runs_proxy, serve, serve_pair,
+ serve_registered, unserve,
};
#[cfg(not(feature = "modules"))]
@@ -440,6 +441,12 @@ mod imp {
Err(unavailable(config))
}
+ pub(crate) async fn catalog_proxy_for_migration(
+ config: &Config,
+ ) -> Result<tinybus::Proxy, String> {
+ Err(unavailable(config))
+ }
+
pub(crate) async fn portability_proxy(config: &Config) -> Result<tinybus::Proxy, String> {
Err(unavailable(config))
}
@@ -479,8 +486,9 @@ mod imp {
#[cfg(not(feature = "modules"))]
pub(crate) use imp::{
- authoring_proxy, catalog_proxy, copilot_invoke_proxy, copilot_proxy, portability_proxy, proxy,
- run_proxy, runs_proxy, serve, serve_pair, serve_registered, unserve,
+ authoring_proxy, catalog_proxy, catalog_proxy_for_migration, copilot_invoke_proxy,
+ copilot_proxy, portability_proxy, proxy, run_proxy, runs_proxy, serve, serve_pair,
+ serve_registered, unserve,
};
/// Whether the module can serve in this build and configuration (the switch