The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
feat(tinymemes): gate tinymemes behind a cargo feature
killbillaf8bada77e2a
diff --git a/crates/openhuman-app/Cargo.toml b/crates/openhuman-app/Cargo.tomlindex 056911cc6e..f76fe0f54d 100644--- a/crates/openhuman-app/Cargo.toml+++ b/crates/openhuman-app/Cargo.toml@@ -61,6 +61,8 @@ serde_json = "1"# silently unenforced.# - `file-logging` — the packaged app's only durable log.# - `hosting` — registration stays credential-gated in tools/ops.rs.+# - `tinymemes` — compiled in; still off at runtime until `OPENHUMAN_TINYMEMES`+# (or a build-time `OPENHUMAN_TINYMEMES_DEFAULT`) turns it on.## `scripts/ci/check-feature-forwarding.mjs` fails CI when the product gates# here drift from `scripts/ci/product-features.txt` (#4919) — do not@@ -88,6 +90,7 @@ openhuman-rpc = { path = "../openhuman-rpc", default-features = false, features"file-logging","runtime-node","hosting",+ "tinymemes",] }# 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.tomlindex e15948e9fc..490ee136a6 100644--- a/crates/openhuman-cli/Cargo.toml+++ b/crates/openhuman-cli/Cargo.toml@@ -328,6 +328,7 @@ default = ["file-logging","modules","jev",+ "tinymemes",]# Every gate forwards to `openhuman-rpc` alone (chain: rpc -> tinyhumans -># embed -> core); `scripts/ci/check-feature-forwarding.mjs` checks the link.@@ -337,6 +338,7 @@ http-server = ["openhuman-rpc/http-server"]inference = ["openhuman-rpc/inference"]documents = ["openhuman-rpc/documents"]hosting = ["openhuman-rpc/hosting"]+tinymemes = ["openhuman-rpc/tinymemes"]modules = ["openhuman-rpc/modules"]voice = ["openhuman-rpc/voice"]web3 = ["openhuman-rpc/web3"]diff --git a/crates/openhuman-core/Cargo.toml b/crates/openhuman-core/Cargo.tomlindex cf2de28d66..1a6e146244 100644--- a/crates/openhuman-core/Cargo.toml+++ b/crates/openhuman-core/Cargo.toml@@ -361,7 +361,7 @@ parking_lot = "0.12"log = "0.4"# Final-reply slang + meme remix (runtime flag OPENHUMAN_TINYMEMES, off by# default). Vendored submodule: vendor/tinymemes.-tinymemes = { path = "../../vendor/tinymemes" }+tinymemes = { path = "../../vendor/tinymemes", optional = true }libc = "0.2"nu-ansi-term = "0.50"base64 = "0.22"@@ -721,7 +721,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"]+default = ["media", "skills", "flows", "mcp", "channels", "http-server", "scheduler-gate", "file-logging", "modules", "tinymemes"]# 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@@ -792,6 +792,12 @@ documents = ["modules", "dep:tinydocs-bus", "tinymemory-integrations/documents-o# `[hosting].api_key` or the provider's environment variable — because a tool# that cannot work is worse than a tool that is not there.hosting = ["dep:tinyhosts"]+# TinyMemes: remixes the final reply with the user's register, regional slang+# and, sometimes, a reaction meme. Compiled into product builds; at runtime it+# is still off until `OPENHUMAN_TINYMEMES` (or a build-time+# `OPENHUMAN_TINYMEMES_DEFAULT`) turns it on. Off in the minimal kernel+# profiles, so they stay free of its dependencies.+tinymemes = ["dep:tinymemes"]# The dynamic module host (`openhuman::modules`): the loader that admits a# compiled `cdylib` through tinybus's ABI descriptor, manifest, dependency and# SHA-256 gates, plus the `modules` RPC namespace and the registry of modulesdiff --git a/crates/openhuman-core/src/lib.rs b/crates/openhuman-core/src/lib.rsindex b35a3a3fd4..29631b80c1 100644--- a/crates/openhuman-core/src/lib.rs+++ b/crates/openhuman-core/src/lib.rs@@ -83,6 +83,7 @@ pub mod storage;#[cfg(feature = "e2e-test-support")]pub mod test_support;pub mod threads;+#[cfg(feature = "tinymemes")]pub mod tinymemes;pub mod tools;pub mod user_agents;diff --git a/crates/openhuman-core/src/web_chat/run_task.rs b/crates/openhuman-core/src/web_chat/run_task.rsindex 3db2030a43..21e19315d2 100644--- a/crates/openhuman-core/src/web_chat/run_task.rs+++ b/crates/openhuman-core/src/web_chat/run_task.rs@@ -162,7 +162,10 @@ pub(crate) async fn run_chat_task(bridge_metadata.agent_id = Some(current_fp.target_agent_id.clone());// A TinyMemes treatment thread surfaces only the remixed reply, so the// original answer text is not streamed ahead of it.- bridge_metadata.hold_text_stream = crate::tinymemes::holds_text_stream(thread_id);+ #[cfg(feature = "tinymemes")]+ {+ bridge_metadata.hold_text_stream = crate::tinymemes::holds_text_stream(thread_id);+ }let bridge = spawn_progress_bridge(progress_rx,client_id.to_string(),@@ -177,6 +180,7 @@ pub(crate) async fn run_chat_task(// wrappers below hold a pointer rather than inlining the whole future into// this already-large `run_chat_task` frame (which otherwise overflows the// default test-thread stack — see the channels web-turn coverage tests).+ #[cfg(feature = "tinymemes")]let turn_started = std::time::Instant::now();let turn = Box::pin(agent.run_single_with_origin(message, Some(origin)));let mut result = match turn.await {@@ -295,6 +299,7 @@ pub(crate) async fn run_chat_task(// TinyMemes: remix the final reply (slang + memes) when the flag puts this// thread in the treatment arm. Runs after reply speech so TTS reads the// original wording, and skips the budget-exhausted placeholder. Fails open.+ #[cfg(feature = "tinymemes")]if let Ok(ref mut task_result) = result {let is_placeholder = task_result.full_response == inference_budget_exceeded_user_message();if !is_placeholder && !task_result.full_response.trim().is_empty() {diff --git a/crates/openhuman-embed/Cargo.toml b/crates/openhuman-embed/Cargo.tomlindex 54bb6c6da0..a2bde0d60a 100644--- a/crates/openhuman-embed/Cargo.toml+++ b/crates/openhuman-embed/Cargo.toml@@ -14,6 +14,7 @@ http-server = ["openhuman-core/http-server"]inference = ["openhuman-core/inference"]documents = ["openhuman-core/documents"]hosting = ["openhuman-core/hosting"]+tinymemes = ["openhuman-core/tinymemes"]modules = ["openhuman-core/modules"]voice = ["openhuman-core/voice"]web3 = ["openhuman-core/web3"]diff --git a/crates/openhuman-rpc/Cargo.toml b/crates/openhuman-rpc/Cargo.tomlindex 2bfe3a0822..10b10fcce6 100644--- a/crates/openhuman-rpc/Cargo.toml+++ b/crates/openhuman-rpc/Cargo.toml@@ -49,6 +49,7 @@ http-server = ["openhuman-tinyhumans/http-server"]inference = ["openhuman-tinyhumans/inference"]documents = ["openhuman-tinyhumans/documents"]hosting = ["openhuman-tinyhumans/hosting"]+tinymemes = ["openhuman-tinyhumans/tinymemes"]modules = ["openhuman-tinyhumans/modules"]voice = ["openhuman-tinyhumans/voice"]web3 = ["openhuman-tinyhumans/web3"]diff --git a/crates/openhuman-tinyhumans/Cargo.toml b/crates/openhuman-tinyhumans/Cargo.tomlindex e2822687f3..c1f71fc9d9 100644--- a/crates/openhuman-tinyhumans/Cargo.toml+++ b/crates/openhuman-tinyhumans/Cargo.toml@@ -22,6 +22,7 @@ http-server = ["openhuman-embed/http-server"]inference = ["openhuman-embed/inference"]documents = ["openhuman-embed/documents"]hosting = ["openhuman-embed/hosting"]+tinymemes = ["openhuman-embed/tinymemes"]modules = ["openhuman-embed/modules"]voice = ["openhuman-embed/voice"]web3 = ["openhuman-embed/web3"]diff --git a/crates/openhuman-tui/Cargo.toml b/crates/openhuman-tui/Cargo.tomlindex 91052d788b..cb6e2be145 100644--- a/crates/openhuman-tui/Cargo.toml+++ b/crates/openhuman-tui/Cargo.toml@@ -32,6 +32,7 @@ http-server = ["openhuman-rpc/http-server"]inference = ["openhuman-rpc/inference"]documents = ["openhuman-rpc/documents"]hosting = ["openhuman-rpc/hosting"]+tinymemes = ["openhuman-rpc/tinymemes"]modules = ["openhuman-rpc/modules"]voice = ["openhuman-rpc/voice"]web3 = ["openhuman-rpc/web3"]diff --git a/scripts/ci/check-dep-sim-calibration.sh b/scripts/ci/check-dep-sim-calibration.shindex 017a9f7d1b..12f688278b 100755--- a/scripts/ci/check-dep-sim-calibration.sh+++ b/scripts/ci/check-dep-sim-calibration.sh@@ -107,8 +107,11 @@ cd "$(dirname "$0")/../.."# 314 -> 315 on 2026-10-09: secrets on the storage backend add the# first-party tinystoragedrivers-secrets crate (its crypto deps were already# in the graph).-# This matches the current `flows:337:315:2` entry in+# 315 -> 311 on 2026-10-09: measured 333 packages / 311 names on the+# merged main; the tinymemes PR (#7189) keeps its crates out of this profile+# behind the `tinymemes` feature and ratchets the floor down to match.+# This matches the current `flows:333:311:2` entry in# scripts/kernel-floor.limits; its preceding entries are historical.-EXPECTED_NAMES=315+EXPECTED_NAMES=311exec python3 scripts/dep-sim.py --cut-nothing --expect-names "${EXPECTED_NAMES}"diff --git a/scripts/ci/product-features.txt b/scripts/ci/product-features.txtindex b21a1d7fe1..5b2272ea8a 100644--- a/scripts/ci/product-features.txt+++ b/scripts/ci/product-features.txt@@ -99,3 +99,8 @@ hosting# Memory v2 has no gate: the `memory` domain is always compiled, and with no# usable engine (signed out, no CortexDB key) it reports itself off at runtime.++# TinyMemes final-reply remix (region slang, reaction memes). Compiled in so a+# release can turn it on; still off at runtime until OPENHUMAN_TINYMEMES (or a+# build-time OPENHUMAN_TINYMEMES_DEFAULT) enables it.+tinymemesdiff --git a/scripts/kernel-floor.limits b/scripts/kernel-floor.limitsindex 2e05796738..3327ea9974 100644--- a/scripts/kernel-floor.limits+++ b/scripts/kernel-floor.limits@@ -665,4 +665,4 @@# from the Linux flows graph; native builds remain at 3.# 337/315/2 2026-10-09 secrets on the storage backend add the first-party# tinystoragedrivers-secrets crate (one package, one name).-flows:337:315:2+flows:333:311:2