Skip to content

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

refactor(storage): take module schemas from the *-bus storage features, drop implementation-crate links

Steven Enamakela3483bb27852
diff --git a/Cargo.lock b/Cargo.lock
index 682c947eb0..1035fa44e2 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -5449,7 +5449,6 @@ dependencies = [
"tinyagents-tasks",
"tinybox-bus 0.1.36",
"tinybox-core",
- "tinybox-drivers",
"tinybus",
"tinybus-module",
"tinychannels",
@@ -5457,7 +5456,6 @@ dependencies = [
"tinychannels-module",
"tinychannels-runtime",
"tinycomputer-bus",
- "tinyconnectors",
"tinyconnectors-bus",
"tinydocs-bus",
"tinyflows",
@@ -5476,11 +5474,8 @@ dependencies = [
"tinyinference-providers",
"tinyinference-voice",
"tinyjuice-bus",
- "tinyjuice-drivers",
- "tinymcp",
"tinymcp-bus",
"tinymemes-bus",
- "tinymemes-module",
"tinymemory-api",
"tinymemory-integrations",
"tinymemory-tools",
@@ -5498,7 +5493,6 @@ dependencies = [
"tinyvoice-bus",
"tinywallet",
"tinywallet-bus",
- "tinywallet-x402",
"tokio",
"tokio-tungstenite 0.29.0",
"tokio-util",
@@ -8598,6 +8592,8 @@ name = "tinybox-bus"
version = "0.1.36"
dependencies = [
"serde",
+ "serde_json",
+ "tinystoragedrivers-core",
]
[[package]]
@@ -8636,6 +8632,7 @@ dependencies = [
"log",
"serde",
"serde_json",
+ "tinybox-bus 0.1.36",
"tinybox-core",
"tinybox-jail",
"tinystoragedrivers-core",
@@ -8821,6 +8818,7 @@ dependencies = [
"serde",
"serde_json",
"thiserror 2.0.20",
+ "tinystoragedrivers-core",
"tokio",
]
@@ -9010,6 +9008,7 @@ version = "0.19.3"
dependencies = [
"serde",
"serde_json",
+ "tinystoragedrivers-core",
]
[[package]]
@@ -9470,6 +9469,7 @@ dependencies = [
"serde",
"serde_json",
"thiserror 2.0.20",
+ "tinystoragedrivers-core",
]
[[package]]
@@ -9478,6 +9478,7 @@ version = "0.9.0"
dependencies = [
"log",
"tinyjuice",
+ "tinyjuice-bus",
"tinystoragedrivers-core",
]
@@ -9553,22 +9554,7 @@ dependencies = [
"schemars",
"serde",
"serde_json",
-]
-
-[[package]]
-name = "tinymemes"
-version = "0.4.0"
-dependencies = [
- "async-trait",
- "futures",
- "reqwest 0.12.28",
- "serde",
- "serde_json",
- "thiserror 2.0.20",
- "tinyinference-decisions 0.4.1",
- "tinymemes-bus",
- "tokio",
- "tracing",
+ "tinystoragedrivers-core",
]
[[package]]
@@ -9577,24 +9563,7 @@ version = "0.4.0"
dependencies = [
"serde",
"serde_json",
-]
-
-[[package]]
-name = "tinymemes-module"
-version = "0.4.0"
-dependencies = [
- "async-trait",
- "reqwest 0.12.28",
- "serde",
- "serde_json",
- "tinybus",
- "tinybus-module",
- "tinymemes",
- "tinymemes-bus",
- "tinystoragedrivers-bus",
"tinystoragedrivers-core",
- "tokio",
- "tracing",
]
[[package]]
@@ -10001,6 +9970,7 @@ dependencies = [
"serde",
"serde_json",
"thiserror 2.0.20",
+ "tinystoragedrivers-core",
]
[[package]]
@@ -10086,6 +10056,7 @@ dependencies = [
"sha3 0.12.0",
"thiserror 2.0.20",
"tinystoragedrivers-core",
+ "tinywallet-bus",
"tinywallet-crypto",
"tokio",
]
diff --git a/crates/openhuman-app/Cargo.lock b/crates/openhuman-app/Cargo.lock
index 569ea40136..041d7a5eaf 100644
--- a/crates/openhuman-app/Cargo.lock
+++ b/crates/openhuman-app/Cargo.lock
@@ -348,7 +348,7 @@ dependencies = [
"serde_json",
"serde_path_to_error",
"serde_urlencoded",
- "sha1 0.10.7",
+ "sha1",
"sync_wrapper",
"tokio",
"tokio-tungstenite 0.29.0",
@@ -804,12 +804,6 @@ dependencies = [
"windows-sys 0.61.2",
]
-[[package]]
-name = "cmov"
-version = "0.5.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0c9ea0ac24bc397ab3c98583a3c9ba74fa56b09a4449bbe172b9b1ddb016027a"
-
[[package]]
name = "combine"
version = "4.6.8"
@@ -861,29 +855,10 @@ version = "0.18.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1a373e3602691c3cdea496d2f0ee5935151e6168fe87739483c463db1b2f2f87"
dependencies = [
- "percent-encoding",
"time",
"version_check",
]
-[[package]]
-name = "cookie_store"
-version = "0.22.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "15b2c103cf610ec6cae3da84a766285b42fd16aad564758459e6ecf128c75206"
-dependencies = [
- "cookie",
- "document-features",
- "idna",
- "indexmap 2.14.2",
- "log",
- "serde",
- "serde_derive",
- "serde_json",
- "time",
- "url",
-]
-
[[package]]
name = "core-foundation"
version = "0.9.4"
@@ -1062,15 +1037,6 @@ dependencies = [
"cipher",
]
-[[package]]
-name = "ctutils"
-version = "0.4.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "03bb0e1cc970d482d121d9a1744999169b69a07470b3d644a7894e53fcaf4574"
-dependencies = [
- "cmov",
-]
-
[[package]]
name = "curve25519-dalek"
version = "4.1.3"
@@ -1245,7 +1211,6 @@ dependencies = [
"block-buffer 0.12.1",
"const-oid",
"crypto-common 0.2.2",
- "ctutils",
]
[[package]]
@@ -1275,15 +1240,6 @@ dependencies = [
"dirs-sys 0.5.0",
]
-[[package]]
-name = "dirs"
-version = "7.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8d57d423b3c82e89b9a24ca3091fee61f456a26edbd28d26c65906f4bc1dcd8f"
-dependencies = [
- "dirs-sys 0.5.0",
-]
-
[[package]]
name = "dirs-sys"
version = "0.4.1"
@@ -1372,15 +1328,6 @@ dependencies = [
"const-random",
]
-[[package]]
-name = "document-features"
-version = "0.2.12"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d4b8a88685455ed29a21542a33abd9cb6510b6b129abadabdcef0f4c55bc8f61"
-dependencies = [
- "litrs",
-]
-
[[package]]
name = "dom_query"
version = "0.27.0"
@@ -2321,7 +2268,7 @@ version = "0.12.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7b5f8eb2ad728638ea2c7d47a21db23b7b58a72ed6a38256b8a1849f15fbbdf7"
dependencies = [
- "hmac 0.12.1",
+ "hmac",
]
[[package]]
@@ -2333,15 +2280,6 @@ dependencies = [
"digest 0.10.7",
]
-[[package]]
-name = "hmac"
-version = "0.13.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6303bc9732ae41b04cb554b844a762b4115a61bfaa81e3e83050991eeb56863f"
-dependencies = [
- "digest 0.11.3",
-]
-
[[package]]
name = "hostname"
version = "0.4.2"
@@ -3049,17 +2987,6 @@ dependencies = [
"zeroize",
]
-[[package]]
-name = "landlock"
-version = "0.4.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4cca98e95f35b29d469dade6724c6f96cec9236640f745a0e99b0334ec320ab1"
-dependencies = [
- "enumflags2",
- "libc",
- "thiserror 2.0.20",
-]
-
[[package]]
name = "lazy_static"
version = "1.5.0"
@@ -3170,12 +3097,6 @@ version = "0.8.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "47d9d19d1d6efa0109d2f65ff4c85cddd50bd572e5a00127ab10987290bcefae"
-[[package]]
-name = "litrs"
-version = "1.0.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4744e383959f0db86ede514b809b1c53251889093803c05267acc7d4e7030d70"
-
[[package]]
name = "lock_api"
version = "0.4.14"
@@ -3873,7 +3794,7 @@ dependencies = [
"chrono",
"chrono-tz",
"directories 6.0.0",
- "dirs 6.0.0",
+ "dirs",
"dotenvy",
"flate2",
"fs2",
@@ -3881,7 +3802,7 @@ dependencies = [
"futures-util",
"hex",
"hkdf",
- "hmac 0.12.1",
+ "hmac",
"hostname",
"iana-time-zone",
"libc",
@@ -3914,14 +3835,11 @@ dependencies = [
"tinyagents-runtime",
"tinyagents-session",
"tinyagents-tasks",
- "tinybox-bus 0.1.36",
- "tinybox-drivers",
+ "tinybox-bus",
"tinybus",
"tinybus-module",
- "tinychannels",
"tinychannels-bus",
"tinycomputer-bus",
- "tinyconnectors",
"tinyconnectors-bus",
"tinydocs-bus",
"tinyflows",
@@ -3939,11 +3857,8 @@ dependencies = [
"tinyinference-providers",
"tinyinference-voice",
"tinyjuice-bus",
- "tinyjuice-drivers",
- "tinymcp",
"tinymcp-bus",
"tinymemes-bus",
- "tinymemes-module",
"tinymemory-api",
"tinymemory-integrations",
"tinymemory-tools",
@@ -3960,7 +3875,6 @@ dependencies = [
"tinytools-std",
"tinyvoice-bus",
"tinywallet-bus",
- "tinywallet-x402",
"tokio",
"tokio-tungstenite 0.29.0",
"tokio-util",
@@ -5683,17 +5597,6 @@ dependencies = [
"digest 0.10.7",
]
-[[package]]
-name = "sha1"
-version = "0.11.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aacc4cc499359472b4abe1bf11d0b12e688af9a805fa5e3016f9a386dc2d0214"
-dependencies = [
- "cfg-if",
- "cpufeatures 0.3.1",
- "digest 0.11.3",
-]
-
[[package]]
name = "sha2"
version = "0.10.9"
@@ -5841,17 +5744,6 @@ dependencies = [
"socketioxide-core",
]
-[[package]]
-name = "socks"
-version = "0.3.4"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f0c3dbbd9ae980613c6dd8e28a9407b50509d3803b57624d5dfe8315218cd58b"
-dependencies = [
- "byteorder",
- "libc",
- "winapi",
-]
-
[[package]]
name = "softbuffer"
version = "0.4.8"
@@ -6185,7 +6077,7 @@ dependencies = [
"bytes",
"cookie",
"data-url",
- "dirs 6.0.0",
+ "dirs",
"dunce",
"embed_plist",
"getrandom 0.3.4",
@@ -6235,7 +6127,7 @@ checksum = "bc9ce40b16101cb6ea63d3e221567affd1c3a9205f95d7bc574941a10636b632"
dependencies = [
"anyhow",
"cargo_toml",
- "dirs 6.0.0",
+ "dirs",
"glob",
"heck 0.5.0",
"json-patch",
@@ -6405,7 +6297,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b28d8cabdeb0564f03ae261963de4bc3d98321cd3d213e76a81b7d344e5df606"
dependencies = [
"base64 0.22.1",
- "dirs 6.0.0",
+ "dirs",
"flate2",
"futures-util",
"http",
@@ -6706,7 +6598,7 @@ dependencies = [
"base64 0.22.1",
"chrono",
"chrono-tz",
- "dirs 6.0.0",
+ "dirs",
"flate2",
"futures",
"regex",
@@ -6849,51 +6741,10 @@ name = "tinybox-bus"
version = "0.1.36"
dependencies = [
"serde",
-]
-
-[[package]]
-name = "tinybox-bus"
-version = "0.1.36"
-source = "git+https://github.com/tinyhumansai/tinybox?tag=v0.1.36#39fe22189431bdf787dafce5eea6d7d49d1a00f8"
-dependencies = [
- "serde",
-]
-
-[[package]]
-name = "tinybox-core"
-version = "0.1.36"
-dependencies = [
- "async-trait",
- "serde",
- "thiserror 2.0.20",
- "tinybox-bus 0.1.36",
-]
-
-[[package]]
-name = "tinybox-drivers"
-version = "0.1.36"
-dependencies = [
- "log",
- "serde",
"serde_json",
- "tinybox-core",
- "tinybox-jail",
"tinystoragedrivers-core",
]
-[[package]]
-name = "tinybox-jail"
-version = "0.1.36"
-dependencies = [
- "landlock",
- "log",
- "serde",
- "serde_json",
- "tinybox-bus 0.1.36",
- "tinybox-core",
- "windows-sys 0.61.2",
-]
-
[[package]]
name = "tinybus"
version = "0.1.6"
@@ -6936,44 +6787,6 @@ dependencies = [
"tracing",
]
-[[package]]
-name = "tinychannels"
-version = "0.1.34"
-dependencies = [
- "anyhow",
- "async-trait",
- "base64 0.23.1",
- "chrono",
- "directories 6.0.0",
- "futures",
- "futures-util",
- "hex",
- "hmac 0.13.0",
- "parking_lot",
- "rand 0.10.2",
- "reqwest 0.12.28",
- "rusqlite",
- "rustls",
- "rustls-pki-types",
- "schemars 1.2.2",
- "serde",
- "serde_json",
- "sha1 0.11.0",
- "sha2 0.11.0",
- "thiserror 2.0.20",
- "tinychannels-bus",
- "tinychannels-runtime",
- "tinystoragedrivers-core",
- "tokio",
- "tokio-rustls",
- "tokio-tungstenite 0.30.0",
- "tracing",
- "url",
- "urlencoding",
- "uuid",
- "webpki-roots 1.0.9",
-]
-
[[package]]
name = "tinychannels-bus"
version = "0.1.34"
@@ -6985,30 +6798,10 @@ dependencies = [
"serde",
"serde_json",
"thiserror 2.0.20",
+ "tinystoragedrivers-core",
"tokio",
]
-[[package]]
-name = "tinychannels-runtime"
-version = "0.1.34"
-dependencies = [
- "anyhow",
- "async-trait",
- "base64 0.23.1",
- "hex",
- "hmac 0.13.0",
- "parking_lot",
- "rand 0.10.2",
- "serde",
- "serde_json",
- "sha2 0.11.0",
- "tinychannels-bus",
- "tokio",
- "tokio-util",
- "tracing",
- "uuid",
-]
-
[[package]]
name = "tinycomputer-bus"
version = "0.14.0"
@@ -7018,43 +6811,13 @@ dependencies = [
"thiserror 2.0.20",
]
-[[package]]
-name = "tinyconnectors"
-version = "0.19.3"
-dependencies = [
- "async-trait",
- "chrono",
- "getrandom 0.4.3",
- "percent-encoding",
- "serde",
- "serde_json",
- "thiserror 2.0.20",
- "tinyconnectors-bus",
- "tinyconnectors-sync",
- "tinystoragedrivers-core",
- "tokio",
- "tracing",
- "ureq",
- "url",
-]
-
[[package]]
name = "tinyconnectors-bus"
version = "0.19.3"
dependencies = [
"serde",
"serde_json",
-]
-
-[[package]]
-name = "tinyconnectors-sync"
-version = "0.19.3"
-dependencies = [
- "async-trait",
- "serde",
- "serde_json",
- "thiserror 2.0.20",
- "tinyconnectors-bus",
+ "tinystoragedrivers-core",
]
[[package]]
@@ -7362,26 +7125,6 @@ dependencies = [
"tokio",
]
-[[package]]
-name = "tinyjuice"
-version = "0.10.5"
-dependencies = [
- "async-trait",
- "dirs 7.0.0",
- "hex",
- "log",
- "once_cell",
- "regex",
- "serde",
- "serde_json",
- "sha2 0.11.0",
- "thiserror 2.0.20",
- "tinyjuice-bus",
- "tokio",
- "unicode-segmentation",
- "unicode-width",
-]
-
[[package]]
name = "tinyjuice-bus"
version = "0.10.5"
@@ -7389,14 +7132,6 @@ dependencies = [
"serde",
"serde_json",
"thiserror 2.0.20",
-]
-
-[[package]]
-name = "tinyjuice-drivers"
-version = "0.9.0"
-dependencies = [
- "log",
- "tinyjuice",
"tinystoragedrivers-core",
]
@@ -7418,32 +7153,6 @@ dependencies = [
"url",
]
-[[package]]
-name = "tinymcp"
-version = "0.18.7"
-dependencies = [
- "base64 0.23.1",
- "dirs 7.0.0",
- "futures-util",
- "parking_lot",
- "reqwest 0.12.28",
- "serde",
- "serde_json",
- "sha2 0.11.0",
- "thiserror 2.0.20",
- "tinybox-bus 0.1.36 (git+https://github.com/tinyhumansai/tinybox?tag=v0.1.36)",
- "tinymcp-bus",
- "tinystoragedrivers-core",
- "tinystoragedrivers-secrets",
- "tinytools",
- "tinytools-std",
- "tokio",
- "tracing",
- "url",
- "urlencoding",
- "uuid",
-]
-
[[package]]
name = "tinymcp-bus"
version = "0.18.7"
@@ -7452,22 +7161,7 @@ dependencies = [
"schemars 1.2.2",
"serde",
"serde_json",
-]
-
-[[package]]
-name = "tinymemes"
-version = "0.4.0"
-dependencies = [
- "async-trait",
- "futures",
- "reqwest 0.12.28",
- "serde",
- "serde_json",
- "thiserror 2.0.20",
- "tinyinference-decisions",
- "tinymemes-bus",
- "tokio",
- "tracing",
+ "tinystoragedrivers-core",
]
[[package]]
@@ -7476,24 +7170,7 @@ version = "0.4.0"
dependencies = [
"serde",
"serde_json",
-]
-
-[[package]]
-name = "tinymemes-module"
-version = "0.4.0"
-dependencies = [
- "async-trait",
- "reqwest 0.12.28",
- "serde",
- "serde_json",
- "tinybus",
- "tinybus-module",
- "tinymemes",
- "tinymemes-bus",
- "tinystoragedrivers-bus",
"tinystoragedrivers-core",
- "tokio",
- "tracing",
]
[[package]]
@@ -7789,18 +7466,7 @@ dependencies = [
"serde",
"serde_json",
"thiserror 2.0.20",
-]
-
-[[package]]
-name = "tinywallet-x402"
-version = "0.23.3"
-dependencies = [
- "chrono",
- "log",
- "serde",
- "serde_json",
"tinystoragedrivers-core",
- "tokio",
]
[[package]]
@@ -7894,22 +7560,6 @@ dependencies = [
"webpki-roots 0.26.11",
]
-[[package]]
-name = "tokio-tungstenite"
-version = "0.30.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "17a073bfed563fa236697a068031408a93cd9522e08abf9933ead3e73411bd71"
-dependencies = [
- "futures-util",
- "log",
- "rustls",
- "rustls-pki-types",
- "tokio",
- "tokio-rustls",
- "tungstenite 0.30.0",
- "webpki-roots 0.26.11",
-]
-
[[package]]
name = "tokio-util"
version = "0.7.19"
@@ -8171,7 +7821,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "045979e3f037cd18ad1cb2a419dfda133c5c29c9f3453370079f2255d46c257e"
dependencies = [
"crossbeam-channel",
- "dirs 6.0.0",
+ "dirs",
"libappindicator",
"muda",
"objc2",
@@ -8205,7 +7855,7 @@ dependencies = [
"httparse",
"log",
"rand 0.8.8",
- "sha1 0.10.7",
+ "sha1",
"thiserror 1.0.69",
"utf-8",
]
@@ -8225,25 +7875,7 @@ dependencies = [
"rand 0.9.5",
"rustls",
"rustls-pki-types",
- "sha1 0.10.7",
- "thiserror 2.0.20",
-]
-
-[[package]]
-name = "tungstenite"
-version = "0.30.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e48ac77174b19c110a50ab2128b24215ac9cb40e0e12e093fb602d175c569d22"
-dependencies = [
- "bytes",
- "data-encoding",
- "http",
- "httparse",
- "log",
- "rand 0.10.2",
- "rustls",
- "rustls-pki-types",
- "sha1 0.11.0",
+ "sha1",
"thiserror 2.0.20",
]
@@ -8360,12 +7992,6 @@ version = "1.13.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8"
-[[package]]
-name = "unicode-width"
-version = "0.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254"
-
[[package]]
name = "universal-hash"
version = "0.5.1"
@@ -8405,16 +8031,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9a7ac20be9b7726e0bbdbf974c059676d9acb1cd414961f570a4e8231cacd7fc"
dependencies = [
"base64 0.23.1",
- "cookie_store",
"flate2",
"log",
"percent-encoding",
"rustls",
"rustls-pki-types",
- "rustls-platform-verifier",
- "serde",
- "serde_json",
- "socks",
"ureq-proto",
"utf8-zero",
"webpki-roots 1.0.9",
@@ -9494,7 +9115,7 @@ dependencies = [
"block2",
"cookie",
"crossbeam-channel",
- "dirs 6.0.0",
+ "dirs",
"dom_query",
"dpi",
"dunce",
diff --git a/crates/openhuman-core/Cargo.toml b/crates/openhuman-core/Cargo.toml
index bc8d417f3f..2ad89995cf 100644
--- a/crates/openhuman-core/Cargo.toml
+++ b/crates/openhuman-core/Cargo.toml
@@ -146,7 +146,7 @@ tinyagents-harness = { path = "../../vendor/tinyagents/crates/tinyagents-harness
"multimodal",
"builtin-tools",
] }
-tinybox-bus = { path = "../../vendor/tinybox/crates/tinybox-bus" }
+tinybox-bus = { path = "../../vendor/tinybox/crates/tinybox-bus", features = ["storage"] }
tiny-artifacts = { path = "../../vendor/tiny-artifacts/crates/tiny-artifacts" }
tinyagents-definition = { path = "../../vendor/tinyagents/crates/tinyagents-definition" }
# Live (realtime voice) agent sessions: `tinyagents-live` runs a
@@ -226,19 +226,19 @@ tinymemory-integrations = { path = "../../vendor/tinymemory/crates/tinymemory-in
# crate makes calls into the loaded `tinyconnectors` module and compiles none
# of it.
#
-tinyconnectors-bus = { path = "../../vendor/tinyconnectors/crates/tinyconnectors-bus" }
+tinyconnectors-bus = { path = "../../vendor/tinyconnectors/crates/tinyconnectors-bus", features = ["storage"] }
# tinymcp's contract, including the pure tool-UI rules (`tinymcp_bus::ui`). The
# MCP runtime itself runs as a module behind it.
-tinymcp-bus = { path = "../../vendor/tinymcp/crates/tinymcp-bus", features = ["schemars"] }
+tinymcp-bus = { path = "../../vendor/tinymcp/crates/tinymcp-bus", features = ["schemars", "storage"] }
# The transport-free channel vocabulary: inbound envelopes, outbound intents,
# the config schema, controller metadata and relay frames. UNCONDITIONAL — `DomainEvent` embeds
# `ChannelInboundEnvelope`, `config/schema/channels.rs` re-exports the config
# types, so this vocabulary is always-on kernel surface. It costs serde/schemars and nothing
# this build did not already have.
-tinychannels-bus = { version = "0.1", path = "../../vendor/tinychannels/crates/tinychannels-bus" }
+tinychannels-bus = { version = "0.1", path = "../../vendor/tinychannels/crates/tinychannels-bus", features = ["storage"] }
# tinybus — the message bus. Owns what `crates/openhuman-core/src/core/event_bus/` used to: the typed
# pub/sub surface (`EventBus`, `EventHandler`, `SubscriptionHandle`), the
# in-process zero-serialization request registry (`NativeRegistry`), and peer
@@ -271,18 +271,6 @@ tinyskills = { path = "../../vendor/tinyskills/crates/tinyskills" }
# over `DocumentStore`); ports only, the host picks the backend. Only the
# `skills` feature compiles the registry that uses it.
tinyskills-drivers = { path = "../../vendor/tinyskills/crates/tinyskills-drivers", optional = true }
-# Owner storage schemas. A host composes every owner's `storage_schema()` into
-# one registry (`storage::schema`) and generates each module's storage grant
-# from it. Only the schema declarations are used: the module bus adapters stay
-# off (`default-features = false`), so none of these links a TinyBus module or
-# exports module ABI symbols. They ride on `modules` (and `web3`/`tinymemes`).
-tinymcp = { path = "../../vendor/tinymcp/crates/tinymcp", default-features = false, optional = true }
-tinychannels = { path = "../../vendor/tinychannels", default-features = false, optional = true }
-tinyconnectors = { path = "../../vendor/tinyconnectors/crates/tinyconnectors", default-features = false, optional = true }
-tinybox-drivers = { path = "../../vendor/tinybox/crates/tinybox-drivers", optional = true }
-tinyjuice-drivers = { path = "../../vendor/tinyjuice/crates/tinyjuice-drivers", optional = true }
-tinywallet-x402 = { path = "../../vendor/tinywallet/crates/tinywallet-x402", default-features = false, features = ["ledger"], optional = true }
-tinymemes-module = { path = "../../vendor/tinymemes/crates/tinymemes-module", features = ["storage-schema", "static-link"], optional = true }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_path_to_error = "0.1"
@@ -315,7 +303,7 @@ log = "0.4"
# Final-reply slang + meme remix (runtime flag OPENHUMAN_TINYMEMES, off by
# default). The engine runs in the `tinymemes` module; the host links only its
# `*-bus` contract (vendored submodule: vendor/tinymemes).
-tinymemes-bus = { path = "../../vendor/tinymemes/crates/tinymemes-bus", optional = true }
+tinymemes-bus = { path = "../../vendor/tinymemes/crates/tinymemes-bus", features = ["storage"], optional = true }
# The Jev client the host serves to the module's `Evaluate` callback (managed
# Jev over the backend's System One proxy). Not a module implementation.
tinyinference-decisions = { path = "../../vendor/tinyagents/vendor/tinyinference/crates/tinyinference-decisions", optional = true }
@@ -461,7 +449,7 @@ tinyvoice-bus = { path = "../../vendor/tinyvoice/crates/tinyvoice-bus", optional
# no gate to hang off.
#
# After cloning: `git submodule update --init vendor/tinyjuice`.
-tinyjuice-bus = { path = "../../vendor/tinyjuice/crates/tinyjuice-bus" }
+tinyjuice-bus = { path = "../../vendor/tinyjuice/crates/tinyjuice-bus", features = ["storage"] }
# Transport-free vocabulary for the compiled TinyHosts provider module.
# Optional: exclusive to the default-OFF `hosting` feature.
@@ -492,7 +480,7 @@ tinyhosts-bus = { path = "../../vendor/tinyhosts/crates/tinyhosts-bus", optional
# The root crate is still taken under [dev-dependencies], where test fixtures
# derive a known account. Dev-dependency features are not linked into the
# shipped binary, so that does not undo the shed.
-tinywallet-bus = { path = "../../vendor/tinywallet/crates/tinywallet-bus", default-features = false, features = ["wire"], optional = true }
+tinywallet-bus = { path = "../../vendor/tinywallet/crates/tinywallet-bus", default-features = false, features = ["wire", "storage"], optional = true }
[target.'cfg(windows)'.dependencies]
@@ -687,7 +675,7 @@ hosting = ["modules", "dep:tinyhosts-bus"]
# 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 = ["modules", "dep:tinymemes-bus", "dep:tinyinference-decisions", "dep:tinymemes-module"]
+tinymemes = ["modules", "dep:tinymemes-bus", "dep:tinyinference-decisions"]
# 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 modules
@@ -718,11 +706,6 @@ modules = [
"dep:tinystoragedrivers-client",
"dep:tinystoragedrivers-busproxy",
"dep:tinybus-module",
- "dep:tinymcp",
- "dep:tinychannels",
- "dep:tinyconnectors",
- "dep:tinybox-drivers",
- "dep:tinyjuice-drivers",
]
# Voice domain: STT/TTS providers, the standalone dictation
# server, and always-on listening.
@@ -754,7 +737,6 @@ voice = [
# feature carries only the lightweight bus contract and generic HTTP client.
web3 = [
"dep:tinywallet-bus",
- "dep:tinywallet-x402",
"modules",
]
diff --git a/crates/openhuman-core/src/storage/schema.rs b/crates/openhuman-core/src/storage/schema.rs
index b6303a3ef1..8eac3f2ce5 100644
--- a/crates/openhuman-core/src/storage/schema.rs
+++ b/crates/openhuman-core/src/storage/schema.rs
@@ -11,7 +11,8 @@
//! gap, so a collision between two owners fails here, at boot and in
//! `scripts/ci/check-storage-schema.mjs`, never at a first write.
//!
-//! Owners whose crate is gated off in a build are absent from its registry, as
+//! Module owners come from their `*-bus` contract crates (optional `storage` feature),
+//! never from the implementation libraries. Owners whose crate is gated off in a build are absent from its registry, as
//! their data is.
use std::sync::OnceLock;
@@ -38,16 +39,16 @@ pub fn owner_schemas() -> Vec<Schema> {
schemas.push(tinyskills_drivers::storage_schema());
#[cfg(feature = "modules")]
{
- schemas.push(tinymcp::storage::storage_schema());
- schemas.push(tinychannels::storage::storage_schema());
- schemas.push(tinyconnectors::state::storage_schema());
- schemas.push(tinybox_drivers::storage_schema());
- schemas.push(tinyjuice_drivers::storage_schema());
+ schemas.push(tinymcp_bus::storage::storage_schema());
+ schemas.push(tinychannels_bus::storage::storage_schema());
+ schemas.push(tinyconnectors_bus::storage::storage_schema());
+ schemas.push(tinybox_bus::storage::storage_schema());
+ schemas.push(tinyjuice_bus::storage::storage_schema());
}
#[cfg(feature = "web3")]
- schemas.push(tinywallet_x402::ledger::storage_schema());
+ schemas.push(tinywallet_bus::storage::storage_schema());
#[cfg(feature = "tinymemes")]
- schemas.push(tinymemes_module::storage_schema());
+ schemas.push(tinymemes_bus::storage::storage_schema());
schemas
}
diff --git a/docs/storage-schema.md b/docs/storage-schema.md
index 9457be1258..ea0381afbf 100644
--- a/docs/storage-schema.md
+++ b/docs/storage-schema.md
@@ -106,6 +106,12 @@ Migration steps:
| collection | `flows.revisions` | 2 | tenant | `flow_id`, `created_ms` |
| collection | `flows.runs` | 2 | tenant | `flow_id`, `started_ms`, `status`, `started_ms`, `started_ms` |
| collection | `flows.suggestions` | 2 | tenant | `status`, `created_ms` |
+| collection | `flows.workflow_notes` | 2 | tenant | |
+| collection | `flows.workflow_proposals` | 2 | tenant | `workflow_id`, `created_ms` |
+| collection | `flows.workflow_quarantine` | 2 | tenant | |
+| collection | `flows.workflow_revisions` | 2 | tenant | `workflow_id`, `superseded_ms` |
+| collection | `flows.workflow_runs` | 2 | tenant | `workflow_id`, `started_ms`, `settled`, `started_ms` |
+| collection | `flows.workflows` | 2 | tenant | |
Migration steps:
@@ -114,6 +120,12 @@ Migration steps:
- `runs_v2`: `flows.runs` v1 to v2 from `flows_runs`
- `suggestions_v2`: `flows.suggestions` v1 to v2 from `flows_suggestions`
- `drafts_v2`: `flows.drafts` v1 to v2 from `flows_drafts`
+- `workflows_v2`: `flows.workflows` v1 to v2 from `wf_definitions`
+- `workflow_revisions_v2`: `flows.workflow_revisions` v1 to v2 from `wf_revisions`
+- `workflow_runs_v2`: `flows.workflow_runs` v1 to v2 from `wf_runs`
+- `workflow_notes_v2`: `flows.workflow_notes` v1 to v2 from `wf_notes`
+- `workflow_proposals_v2`: `flows.workflow_proposals` v1 to v2 from `wf_proposals`
+- `workflow_quarantine_v2`: `flows.workflow_quarantine` v1 to v2 from `wf_quarantine`
## graph