Skip to content

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

Merge remote-tracking branch 'upstream/main' into epic-8131-440-host-storage

Steven Enamakel018e33870269
diff --cc Cargo.lock
index e5cb080d20,6b9c3f45f8..97691f849d
--- a/Cargo.lock
+++ b/Cargo.lock
@@@ -10165,9 -9588,23 +10166,23 @@@ dependencies =
"tokio",
]
+ [[package]]
+ name = "tinyjuice-host"
+ version = "0.11.0"
+ dependencies = [
+ "anyhow",
+ "async-trait",
+ "log",
+ "serde_json",
+ "tinyjuice-bus",
+ "tinytools 0.6.0",
+ "tokio",
+ "uuid",
+ ]
+
[[package]]
name = "tinyjuice-module"
-version = "0.11.2"
+version = "0.11.0"
dependencies = [
"log",
"serde_json",
diff --cc crates/openhuman-app/Cargo.lock
index d9d0b288eb,ddf21fcb11..29c96c7c1c
--- a/crates/openhuman-app/Cargo.lock
+++ b/crates/openhuman-app/Cargo.lock
@@@ -97,6 -87,6 +97,56 @@@ version = "0.0.2
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e9d4ee0d472d1cd2e28c97dfa124b3d8d992e10eb0a035f33f5d12e3a177ba3b"
++[[package]]
++name = "amq-protocol"
++version = "10.6.3"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "b63f30a81ad95c7a278080be6d993d5b3e971d93e1b00bd894067220fc756804"
++dependencies = [
++ "amq-protocol-tcp",
++ "amq-protocol-types",
++ "amq-protocol-uri",
++ "cookie-factory",
++ "nom 8.0.0",
++ "serde",
++]
++
++[[package]]
++name = "amq-protocol-tcp"
++version = "10.6.3"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "2b1bcecdd743111f05c26294d26b887ba6b2e4789c27515aa48f0fe32066e96c"
++dependencies = [
++ "amq-protocol-uri",
++ "async-rs",
++ "cfg-if",
++ "tcp-stream",
++ "tracing",
++]
++
++[[package]]
++name = "amq-protocol-types"
++version = "10.6.3"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "8a268a50e97bd5d52292a8b96636f6436215def6f3d128fb8218318f5feb4c33"
++dependencies = [
++ "cookie-factory",
++ "nom 8.0.0",
++ "serde",
++ "serde_json",
++]
++
++[[package]]
++name = "amq-protocol-uri"
++version = "10.6.3"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "8a34581b010818ef3da6b5a853e94f6438b3903914baba77a15f7fb2c7ad8958"
++dependencies = [
++ "amq-protocol-types",
++ "percent-encoding",
++ "url",
++]
++
[[package]]
name = "android_system_properties"
version = "0.1.6"
@@@ -154,6 -144,6 +204,45 @@@ dependencies =
"zbus",
]
++[[package]]
++name = "asn1-rs"
++version = "0.7.2"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "b7f43a50ac4fdca5df8e885c21b835997f0a1cdee65494a6847694a98652d9d8"
++dependencies = [
++ "asn1-rs-derive",
++ "asn1-rs-impl",
++ "displaydoc",
++ "nom 7.1.3",
++ "num-traits",
++ "rusticata-macros",
++ "thiserror 2.0.21",
++ "time",
++]
++
++[[package]]
++name = "asn1-rs-derive"
++version = "0.6.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "3109e49b1e4909e9db6515a30c633684d68cdeaa252f215214cb4fa1a5bfee2c"
++dependencies = [
++ "proc-macro2",
++ "quote",
++ "syn 2.0.119",
++ "synstructure 0.13.2",
++]
++
++[[package]]
++name = "asn1-rs-impl"
++version = "0.2.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "7b18050c2cd6fe86c3a76584ef5e0baf286d038cda203eb6223df2cc413565f7"
++dependencies = [
++ "proc-macro2",
++ "quote",
++ "syn 2.0.119",
++]
++
[[package]]
name = "async-broadcast"
version = "0.7.2"
@@@ -178,6 -168,6 +267,19 @@@ dependencies =
"pin-project-lite",
]
++[[package]]
++name = "async-compat"
++version = "0.2.6"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "4c97d7ff3c25d6c10d64170c12acaf5d4245e76dece3779c1d92b153a64f11df"
++dependencies = [
++ "futures-core",
++ "futures-io",
++ "once_cell",
++ "pin-project-lite",
++ "tokio",
++]
++
[[package]]
name = "async-executor"
version = "1.14.0"
@@@ -192,6 -182,6 +294,20 @@@ dependencies =
"slab",
]
++[[package]]
++name = "async-global-executor"
++version = "3.1.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "13f937e26114b93193065fd44f507aa2e9169ad0cdabbb996920b1fe1ddea7ba"
++dependencies = [
++ "async-channel",
++ "async-executor",
++ "async-lock",
++ "blocking",
++ "futures-lite",
++ "tokio",
++]
++
[[package]]
name = "async-io"
version = "2.6.0"
@@@ -250,6 -240,6 +366,22 @@@ dependencies =
"syn 2.0.119",
]
++[[package]]
++name = "async-rs"
++version = "0.8.13"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "407bdac3815af195d2d63fa50595610ea8ba4d47b7fc5a37895b05d3b571c241"
++dependencies = [
++ "async-compat",
++ "async-global-executor",
++ "async-trait",
++ "futures-core",
++ "futures-io",
++ "hickory-resolver",
++ "tokio",
++ "tokio-stream",
++]
++
[[package]]
name = "async-signal"
version = "0.2.14"
@@@ -331,6 -321,6 +463,29 @@@ version = "1.5.1
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53"
++[[package]]
++name = "aws-lc-rs"
++version = "1.18.2"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "faac5829c2b74c28f830747e7818ccfb684261b5f48a1118b1e2a13d36dfab13"
++dependencies = [
++ "aws-lc-sys",
++ "zeroize",
++]
++
++[[package]]
++name = "aws-lc-sys"
++version = "0.46.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "f1622d8446a2d4b2ce0c7eefc73dd43a99779028d5ee5c2dd8073a658ba8a2bc"
++dependencies = [
++ "cc",
++ "cmake",
++ "dunce",
++ "fs_extra",
++ "pkg-config",
++]
++
[[package]]
name = "axum"
version = "0.8.9"
@@@ -358,7 -348,7 +513,7 @@@ dependencies =
"serde_json",
"serde_path_to_error",
"serde_urlencoded",
-- "sha1",
++ "sha1 0.10.7",
"sync_wrapper",
"tokio",
"tokio-tungstenite 0.29.0",
@@@ -398,6 -388,6 +553,15 @@@ dependencies =
"syn 2.0.119",
]
++[[package]]
++name = "backon"
++version = "1.6.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "cffb0e931875b666fc4fcb20fee52e9bbd1ef836fd9e9e04ec21555f9f85f7ef"
++dependencies = [
++ "fastrand",
++]
++
[[package]]
name = "backtrace"
version = "0.3.76"
@@@ -467,6 -457,6 +631,18 @@@ dependencies =
"serde_core",
]
++[[package]]
++name = "bitvec"
++version = "1.1.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "ddcec3d12c579d40898fe0a9a358a803c23e9c52ca3c425707f81c9436211837"
++dependencies = [
++ "funty",
++ "radium",
++ "tap",
++ "wyz",
++]
++
[[package]]
name = "blake2"
version = "0.10.6"
@@@ -494,6 -484,6 +670,15 @@@ dependencies =
"hybrid-array",
]
++[[package]]
++name = "block-padding"
++version = "0.3.3"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "a8894febbff9f758034a5b8e12d87918f56dfc64a8e1fe757d65e29041538d93"
++dependencies = [
++ "generic-array",
++]
++
[[package]]
name = "block2"
version = "0.6.2"
@@@ -531,6 -521,6 +716,29 @@@ dependencies =
"tinyvec",
]
++[[package]]
++name = "bson"
++version = "2.15.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "7969a9ba84b0ff843813e7249eed1678d9b6607ce5a3b8f0a47af3fcf7978e6e"
++dependencies = [
++ "ahash",
++ "base64 0.22.1",
++ "bitvec",
++ "getrandom 0.2.17",
++ "getrandom 0.3.4",
++ "hex",
++ "indexmap 2.14.2",
++ "js-sys",
++ "once_cell",
++ "rand 0.9.5",
++ "serde",
++ "serde_bytes",
++ "serde_json",
++ "time",
++ "uuid",
++]
++
[[package]]
name = "bumpalo"
version = "3.20.3"
@@@ -673,11 -663,11 +881,20 @@@ dependencies =
"toml 0.9.12+spec-1.1.0",
]
++[[package]]
++name = "cbc"
++version = "0.1.2"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "26b52a9543ae338f279b96b0b9fed9c8093744685043739079ce85cd58f289a6"
++dependencies = [
++ "cipher 0.4.4",
++]
++
[[package]]
name = "cc"
-version = "1.4.7"
+version = "1.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "54413ede23c2daf518f35156dfde027feb2374004d63bd497f983c8db9c0e313"
+checksum = "877bf67ac8e52449eb2f9e98a344ea163beb70dd1f9eebe3cc5357dcfeaee4df"
dependencies = [
"find-msvc-tools",
"jobserver",
@@@ -827,17 -793,11 +1044,38 @@@ dependencies =
"windows-sys 0.61.2",
]
++[[package]]
++name = "cmake"
++version = "0.1.58"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "c0f78a02292a74a88ac736019ab962ece0bc380e3f977bf72e376c5d78ff0678"
++dependencies = [
++ "cc",
++]
++
+[[package]]
+name = "cmov"
+version = "0.5.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "0c9ea0ac24bc397ab3c98583a3c9ba74fa56b09a4449bbe172b9b1ddb016027a"
+
++[[package]]
++name = "cms"
++version = "0.2.3"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "7b77c319abfd5219629c45c34c89ba945ed3c5e49fcde9d16b6c3885f118a730"
++dependencies = [
++ "const-oid 0.9.6",
++ "der",
++ "spki",
++ "x509-cert",
++]
++
[[package]]
name = "combine"
-version = "4.6.8"
+version = "4.6.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cfc320937d09e6de266b31b9afb480f197d7a861be86be7cb2ea7e5d1bfffc5e"
+checksum = "4356eba6976435498d05a311ee9fc486da3bc81c200d3f0d7dd9703b41913f92"
dependencies = [
"bytes",
"memchr",
@@@ -852,6 -812,6 +1090,12 @@@ dependencies =
"crossbeam-utils",
]
++[[package]]
++name = "const-oid"
++version = "0.9.6"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8"
++
[[package]]
name = "const-oid"
version = "0.10.2"
@@@ -878,6 -838,6 +1122,15 @@@ dependencies =
"tiny-keccak",
]
++[[package]]
++name = "convert_case"
++version = "0.10.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "633458d4ef8c78b72454de2d54fd6ab2e60f9e02be22f3c6104cdc8a4e0fceb9"
++dependencies = [
++ "unicode-segmentation",
++]
++
[[package]]
name = "cookie"
version = "0.18.2"
@@@ -888,6 -848,6 +1141,12 @@@ dependencies =
"version_check",
]
++[[package]]
++name = "cookie-factory"
++version = "0.3.3"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "9885fa71e26b8ab7855e2ec7cae6e9b380edff76cd052e07c683a0319d51b3a2"
++
[[package]]
name = "core-foundation"
version = "0.9.4"
@@@ -956,15 -916,15 +1215,31 @@@ dependencies =
"libc",
]
++[[package]]
++name = "crc-fast"
++version = "1.10.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "e75b2483e97a5a7da73ac68a05b629f9c53cff58d8ed1c77866079e18b00dba5"
++dependencies = [
++ "digest 0.10.7",
++ "spin 0.10.1",
++]
++
[[package]]
name = "crc32fast"
-version = "1.5.2"
+version = "1.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "01a7799fd6b852db0e61728dde9a204c423b44d689dbd432522543614b490e78"
+checksum = "0ba106e844045ddc02c20768ac4b0b7cb45f2cc2ecbd833ac9f5dacb183c2055"
dependencies = [
"cfg-if",
]
++[[package]]
++name = "critical-section"
++version = "1.2.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "790eea4361631c5e7d22598ecd5723ff611904e3344ce8720784c93e3d83d40b"
++
[[package]]
name = "crossbeam-channel"
version = "0.5.17"
@@@ -974,6 -934,6 +1249,15 @@@ dependencies =
"crossbeam-utils",
]
++[[package]]
++name = "crossbeam-epoch"
++version = "0.9.21"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "dc74980687109a3b14c72fd458107bf0baa1da1a1a805e178d15501ba9b86d9d"
++dependencies = [
++ "crossbeam-utils",
++]
++
[[package]]
name = "crossbeam-utils"
version = "0.8.23"
@@@ -1171,33 -1120,33 +1455,93 @@@ dependencies =
[[package]]
name = "defmt-parser"
-version = "1.0.0"
+version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "71958f69fb2de856c5dd51ac9377e986ca1aa5919f931bf5395a807277f889a0"
+dependencies = [
+ "thiserror 2.0.21",
+]
+
++[[package]]
++name = "der"
++version = "0.7.10"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "e7c1832837b905bbfb5101e07cc24c8deddf52f93225eee6ead5f4d63d53ddcb"
++dependencies = [
++ "const-oid 0.9.6",
++ "der_derive",
++ "flagset",
++ "pem-rfc7468",
++ "zeroize",
++]
++
++[[package]]
++name = "der-parser"
++version = "10.0.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "07da5016415d5a3c4dd39b11ed26f915f52fc4e0dc197d87908bc916e51bc1a6"
++dependencies = [
++ "asn1-rs",
++ "displaydoc",
++ "nom 7.1.3",
++ "num-bigint",
++ "num-traits",
++ "rusticata-macros",
++]
++
++[[package]]
++name = "der_derive"
++version = "0.7.3"
+ source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "10d60334b3b2e7c9d91ef8150abfb6fa4c1c39ebbcf4a81c2e346aad939fee3e"
++checksum = "8034092389675178f570469e6c3b0465d3d30b4505c294a6550db47f3c17ad18"
+ dependencies = [
- "thiserror 2.0.20",
++ "proc-macro2",
++ "quote",
++ "syn 2.0.119",
+ ]
+
[[package]]
name = "deranged"
-version = "0.5.8"
+version = "0.5.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c"
+checksum = "9e9de72ce2ad1f90dc62fa25f0f430ef85eb4b0d8fa0be4f30373bc40a21d28e"
dependencies = [
"serde_core",
]
+ [[package]]
-name = "derive_arbitrary"
-version = "1.4.2"
++name = "derive-syn-parse"
++version = "0.2.0"
+ source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1e567bd82dcff979e4b03460c307b3cdc9e96fde3d73bed1496d2bc75d9dd62a"
++checksum = "d65d7ce8132b7c0e54497a4d9a55a1c2a0912a0d786cf894472ba818fba45762"
+ dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 2.0.119",
+ ]
+
++[[package]]
++name = "derive-where"
++version = "1.7.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "2e2b94854e8576378ccda7c8de8a66ed8b4e8acbd2c50ec3418ea6c8aaf4b567"
++dependencies = [
++ "proc-macro2",
++ "quote",
++ "syn 3.0.9",
++]
++
+[[package]]
+name = "derive_arbitrary"
+version = "1.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1b034bd7d5f032402a2479444dcc6f74e36a03f31854d41680fb240ef682a1ac"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "syn 3.0.9",
+]
+
[[package]]
name = "derive_more"
version = "2.1.1"
@@@ -1213,10 -1162,10 +1557,21 @@@ version = "2.1.1
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "799a97264921d8623a957f6c3b9011f3b5492f557bbb7a5a19b7fa6d06ba8dcb"
dependencies = [
- "proc-macro2",
- "quote",
- "rustc_version",
- "syn 2.0.119",
++ "convert_case",
+ "proc-macro2",
+ "quote",
+ "rustc_version",
+ "syn 2.0.119",
++ "unicode-xid",
++]
++
++[[package]]
++name = "des"
++version = "0.8.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "ffdd80ce8ce993de27e9f063a444a4d53ce8e8db4c1f00cc03af5ad5a9867a1e"
++dependencies = [
++ "cipher 0.4.4",
]
[[package]]
@@@ -1237,9 -1186,8 +1592,9 @@@ source = "registry+https://github.com/r
checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2"
dependencies = [
"block-buffer 0.12.1",
-- "const-oid",
++ "const-oid 0.10.2",
"crypto-common 0.2.2",
+ "ctutils",
]
[[package]]
@@@ -1435,6 -1383,6 +1790,12 @@@ version = "1.0.20
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d0881ea181b1df73ff77ffaaf9c7544ecc11e82fba9b5f27b262a3c73a332555"
++[[package]]
++name = "either"
++version = "1.19.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be"
++
[[package]]
name = "email_address"
version = "0.2.9"
@@@ -1647,6 -1595,6 +2008,12 @@@ dependencies =
"winapi",
]
++[[package]]
++name = "flagset"
++version = "0.4.7"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "b7ac824320a75a52197e8f2d787f6a38b6718bb6897a35142d749af3c0e8f4fe"
++
[[package]]
name = "flate2"
version = "1.1.10"
@@@ -1669,6 -1617,6 +2036,17 @@@ dependencies =
"serde",
]
++[[package]]
++name = "flume"
++version = "0.12.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "5e139bc46ca777eb5efaf62df0ab8cc5fd400866427e56c68b22e414e53bd3be"
++dependencies = [
++ "futures-core",
++ "futures-sink",
++ "spin 0.9.9",
++]
++
[[package]]
name = "fnv"
version = "1.0.7"
@@@ -1773,6 -1721,6 +2151,18 @@@ dependencies =
"windows-sys 0.61.2",
]
++[[package]]
++name = "fs_extra"
++version = "1.3.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "42703706b716c37f96a77aea830392ad231f44c9e9a67872fa5548707e11b11c"
++
++[[package]]
++name = "funty"
++version = "2.0.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c"
++
[[package]]
name = "futures"
version = "0.3.34"
@@@ -1842,9 -1790,9 +2232,20 @@@ checksum = "9fb9654ba8355388abeb8dcb4fc
dependencies = [
"proc-macro2",
"quote",
- "syn 3.0.6",
+ "syn 3.0.9",
+]
+
++[[package]]
++name = "futures-rustls"
++version = "0.26.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "a8f2f12607f92c69b12ed746fabf9ca4f5c482cba46679c1a75b874ed7c26adb"
++dependencies = [
++ "futures-io",
++ "rustls",
++ "rustls-pki-types",
+ ]
+
[[package]]
name = "futures-sink"
version = "0.3.34"
@@@ -2240,11 -2188,11 +2641,81 @@@ source = "registry+https://github.com/r
checksum = "e17592d60ebacc7d5e169f4663c5f84f9161cc90328abcfe8456f41e4dfcb284"
[[package]]
- name = "hex"
- version = "0.4.3"
+ name = "hex"
+ version = "0.4.3"
+ source = "registry+https://github.com/rust-lang/crates.io-index"
+ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
+
++[[package]]
++name = "hickory-net"
++version = "0.26.3"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "c480823ed7c2c5d0f09c41020cb6b7c28029ce60ec42dc942158dcf22f8e0a4d"
++dependencies = [
++ "async-trait",
++ "cfg-if",
++ "data-encoding",
++ "futures-channel",
++ "futures-io",
++ "futures-util",
++ "hickory-proto",
++ "idna",
++ "ipnet",
++ "jni 0.22.4",
++ "rand 0.10.3",
++ "thiserror 2.0.21",
++ "tinyvec",
++ "tokio",
++ "tracing",
++ "url",
++]
++
++[[package]]
++name = "hickory-proto"
++version = "0.26.3"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "12b92608f679a6fa515dd1d15c1ff89443026e391200a2c840c7afcba482893d"
++dependencies = [
++ "data-encoding",
++ "idna",
++ "ipnet",
++ "jni 0.22.4",
++ "once_cell",
++ "prefix-trie",
++ "rand 0.10.3",
++ "ring",
++ "thiserror 2.0.21",
++ "tinyvec",
++ "tracing",
++ "url",
++]
++
++[[package]]
++name = "hickory-resolver"
++version = "0.26.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
- checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70"
++checksum = "3f3da5255c95d5a716857d54b5b8f4e8d67c3484d3beaaaae2ce25063b3ba981"
++dependencies = [
++ "cfg-if",
++ "futures-util",
++ "hickory-net",
++ "hickory-proto",
++ "ipconfig",
++ "ipnet",
++ "jni 0.22.4",
++ "moka",
++ "ndk-context",
++ "once_cell",
++ "parking_lot",
++ "rand 0.10.3",
++ "resolv-conf",
++ "smallvec",
++ "system-configuration",
++ "thiserror 2.0.21",
++ "tokio",
++ "tracing",
++]
+
[[package]]
name = "hkdf"
version = "0.12.4"
@@@ -2347,6 -2277,6 +2818,12 @@@ version = "1.0.3
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9"
++[[package]]
++name = "humantime"
++version = "2.4.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "15cdd26707701c53297e2fa6afb323d55fbc1d0810c3aec078ae3ef0424c3c15"
++
[[package]]
name = "hybrid-array"
version = "0.4.15"
@@@ -2619,6 -2548,6 +3096,7 @@@ version = "0.1.4
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "879f10e63c20629ecabbb64a8010319738c66a5cd0c29b02d63d272b03751d01"
dependencies = [
++ "block-padding",
"generic-array",
]
@@@ -2653,11 -2573,11 +3131,27 @@@ version = "3.0.1
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2f0fb0570afe1fed943c5c3d4102d5358592d8625fda6a0007fdbe65a92fba96"
++[[package]]
++name = "ipconfig"
++version = "0.3.4"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "4d40460c0ce33d6ce4b0630ad68ff63d6661961c48b6dba35e5a4d81cfb48222"
++dependencies = [
++ "socket2",
++ "widestring",
++ "windows-registry 0.6.1",
++ "windows-result 0.4.1",
++ "windows-sys 0.61.2",
++]
++
[[package]]
name = "ipnet"
version = "2.12.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "791930b43c0d5973160d90a8f3894509f2b273430f5c5c73b668636d0287c5c0"
++dependencies = [
++ "serde",
++]
[[package]]
name = "is-docker"
@@@ -2678,6 -2598,6 +3172,15 @@@ dependencies =
"once_cell",
]
++[[package]]
++name = "itertools"
++version = "0.15.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "8b4baf93f58d4425749ca49a51c50ebab072c5df6994d08fed93541c331481dc"
++dependencies = [
++ "either",
++]
++
[[package]]
name = "itoa"
version = "1.0.18"
@@@ -2957,11 -2877,11 +3460,29 @@@ dependencies =
"zeroize",
]
++[[package]]
++name = "lapin"
++version = "4.12.3"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "3212643cc0031d982f81a62360998106268587237d81d6e8501a0a323e13b656"
++dependencies = [
++ "amq-protocol",
++ "async-rs",
++ "async-trait",
++ "backon",
++ "cfg-if",
++ "event-listener",
++ "flume",
++ "futures-core",
++ "futures-io",
++ "tracing",
++]
++
[[package]]
name = "lazy_static"
-version = "1.5.0"
+version = "1.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
+checksum = "20870f649af7073d53e38067b2a84312175d56ea15217e1b15bc83506ec50afb"
[[package]]
name = "lazycell"
@@@ -3108,6 -3028,6 +3629,54 @@@ version = "0.7.0
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b0d28e293f2b8c9d2b2d1c0193bd3c1cbdc0d2cf396888dc01162f7cf9d6c3f3"
++[[package]]
++name = "macro_magic"
++version = "0.5.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "cc33f9f0351468d26fbc53d9ce00a096c8522ecb42f19b50f34f2c422f76d21d"
++dependencies = [
++ "macro_magic_core",
++ "macro_magic_macros",
++ "quote",
++ "syn 2.0.119",
++]
++
++[[package]]
++name = "macro_magic_core"
++version = "0.5.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "1687dc887e42f352865a393acae7cf79d98fab6351cde1f58e9e057da89bf150"
++dependencies = [
++ "const-random",
++ "derive-syn-parse",
++ "macro_magic_core_macros",
++ "proc-macro2",
++ "quote",
++ "syn 2.0.119",
++]
++
++[[package]]
++name = "macro_magic_core_macros"
++version = "0.5.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "b02abfe41815b5bd98dbd4260173db2c116dda171dc0fe7838cb206333b83308"
++dependencies = [
++ "proc-macro2",
++ "quote",
++ "syn 2.0.119",
++]
++
++[[package]]
++name = "macro_magic_macros"
++version = "0.5.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "73ea28ee64b88876bf45277ed9a5817c1817df061a74f2b988971a12570e5869"
++dependencies = [
++ "macro_magic_core",
++ "quote",
++ "syn 2.0.119",
++]
++
[[package]]
name = "markup5ever"
version = "0.38.0"
@@@ -3140,6 -3060,6 +3709,16 @@@ version = "0.3.4
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4facc753ae494aeb6e3c22f839b158aebd4f9270f55cd3c79906c45476c47ab4"
++[[package]]
++name = "md-5"
++version = "0.11.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "69b6441f590336821bb897fb28fc622898ccceb1d6cea3fde5ea86b090c4de98"
++dependencies = [
++ "cfg-if",
++ "digest 0.11.3",
++]
++
[[package]]
name = "memchr"
version = "2.8.3"
@@@ -3177,6 -3097,6 +3756,12 @@@ dependencies =
"unicase",
]
++[[package]]
++name = "minimal-lexical"
++version = "0.2.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
++
[[package]]
name = "minisign-verify"
version = "0.2.5"
@@@ -3214,6 -3134,6 +3799,99 @@@ dependencies =
"windows-sys 0.61.2",
]
++[[package]]
++name = "moka"
++version = "0.12.16"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "4293f18e7567a1caf3c584855554377025c65e0aa445344d04171f5ad63d19b9"
++dependencies = [
++ "crossbeam-channel",
++ "crossbeam-epoch",
++ "crossbeam-utils",
++ "equivalent",
++ "parking_lot",
++ "portable-atomic",
++ "smallvec",
++ "tagptr",
++ "uuid",
++]
++
++[[package]]
++name = "mongocrypt"
++version = "0.4.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "8426a875ded61430d4a811dbfda7633b6b8af0225c547fc6c28b8b0aa7d79a13"
++dependencies = [
++ "bson",
++ "mongocrypt-sys",
++ "once_cell",
++ "serde",
++]
++
++[[package]]
++name = "mongocrypt-sys"
++version = "0.1.6+1.18.2"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "851fac73f7fe22f6a3ab87f720ce509cae7c9fd08e7dd27866cc232dee07ccf4"
++
++[[package]]
++name = "mongodb"
++version = "3.9.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "af84443ae9878f59a6818686f339064479f42cdf293c4c637d8fc9c0a8c5eed6"
++dependencies = [
++ "base64 0.22.1",
++ "bitflags 2.13.2",
++ "bson",
++ "derive-where",
++ "derive_more",
++ "futures-core",
++ "futures-io",
++ "futures-util",
++ "hex",
++ "hickory-net",
++ "hickory-proto",
++ "hickory-resolver",
++ "hmac 0.13.0",
++ "macro_magic",
++ "md-5",
++ "mongocrypt",
++ "mongodb-internal-macros",
++ "pbkdf2 0.13.0",
++ "percent-encoding",
++ "rand 0.9.5",
++ "rustc_version_runtime",
++ "rustls",
++ "serde",
++ "serde_bytes",
++ "serde_with",
++ "sha1 0.11.0",
++ "sha2 0.11.1",
++ "socket2",
++ "stringprep",
++ "strsim",
++ "take_mut",
++ "thiserror 2.0.21",
++ "tokio",
++ "tokio-rustls",
++ "tokio-util",
++ "typed-builder",
++ "uuid",
++ "webpki-roots 1.0.10",
++]
++
++[[package]]
++name = "mongodb-internal-macros"
++version = "3.9.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "504024bbb83ab1bf1512007f7288b54d3a6343043f3f619c26a153346773598d"
++dependencies = [
++ "macro_magic",
++ "proc-macro2",
++ "quote",
++ "syn 2.0.119",
++]
++
[[package]]
name = "muda"
version = "0.19.3"
@@@ -3267,6 -3187,6 +3945,12 @@@ dependencies =
"thiserror 1.0.69",
]
++[[package]]
++name = "ndk-context"
++version = "0.1.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "27b02d87554356db9e9a873add8782d4ea6e3e58ea071a9adb9a2e8ddb884a8b"
++
[[package]]
name = "ndk-sys"
version = "0.6.0+11769913"
@@@ -3306,6 -3226,6 +3990,25 @@@ dependencies =
"libc",
]
++[[package]]
++name = "nom"
++version = "7.1.3"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a"
++dependencies = [
++ "memchr",
++ "minimal-lexical",
++]
++
++[[package]]
++name = "nom"
++version = "8.0.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "df9761775871bdef83bee530e60050f7e54b1105350d6884eb0fb4f46c2f9405"
++dependencies = [
++ "memchr",
++]
++
[[package]]
name = "notify-rust"
version = "4.18.0"
@@@ -3725,11 -3645,11 +4428,63 @@@ dependencies =
"memchr",
]
++[[package]]
++name = "object_store"
++version = "0.14.2"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "f1796bc93603f78c5760a69f2d58badc9618d22adade0a95385bb2adbae4eb94"
++dependencies = [
++ "async-trait",
++ "aws-lc-rs",
++ "base64 0.23.1",
++ "bytes",
++ "chrono",
++ "crc-fast",
++ "form_urlencoded",
++ "futures-channel",
++ "futures-core",
++ "futures-util",
++ "http",
++ "http-body-util",
++ "humantime",
++ "hyper",
++ "itertools",
++ "md-5",
++ "parking_lot",
++ "percent-encoding",
++ "quick-xml 0.41.0",
++ "rand 0.10.3",
++ "reqwest 0.13.5",
++ "rustls-pki-types",
++ "serde",
++ "serde_json",
++ "serde_urlencoded",
++ "thiserror 2.0.21",
++ "tokio",
++ "tracing",
++ "url",
++ "wasm-bindgen-futures",
++ "web-time",
++]
++
++[[package]]
++name = "oid-registry"
++version = "0.8.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "12f40cff3dde1b6087cc5d5f5d4d65712f34016a03ed60e9c08dcc392736b5b7"
++dependencies = [
++ "asn1-rs",
++]
++
[[package]]
name = "once_cell"
version = "1.21.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
++dependencies = [
++ "critical-section",
++ "portable-atomic",
++]
[[package]]
name = "opaque-debug"
@@@ -4124,6 -4042,6 +4880,29 @@@ version = "0.5.2
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1a80800c0488c3a21695ea981a54918fbb37abf04f4d0720c453632255e2ff0e"
++[[package]]
++name = "p12-keystore"
++version = "0.2.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "ffb9bf5222606eb712d3bb30e01bc9420545b00859970897e70c682353a034f2"
++dependencies = [
++ "base64 0.22.1",
++ "cbc",
++ "cms",
++ "der",
++ "des",
++ "hex",
++ "hmac 0.12.1",
++ "pkcs12",
++ "pkcs5",
++ "rand 0.10.3",
++ "rc2",
++ "sha1 0.10.7",
++ "sha2 0.10.9",
++ "thiserror 2.0.21",
++ "x509-parser",
++]
++
[[package]]
name = "pango"
version = "0.18.3"
@@@ -4169,26 -4087,26 +4948,54 @@@ dependencies =
name = "parking_lot_core"
version = "0.9.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
- checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1"
+ checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1"
+ dependencies = [
+ "cfg-if",
+ "libc",
+ "redox_syscall",
+ "smallvec",
+ "windows-link 0.2.1",
+ ]
+
+ [[package]]
+ name = "password-hash"
+ version = "0.5.0"
+ source = "registry+https://github.com/rust-lang/crates.io-index"
+ checksum = "346f04948ba92c43e8469c1ee6736c7563d71012b17d40745260fe106aac2166"
+ dependencies = [
+ "base64ct",
+ "rand_core 0.6.4",
+ "subtle",
+ ]
+
++[[package]]
++name = "pbkdf2"
++version = "0.12.2"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "f8ed6a7761f76e3b9f92dfb0a60a6a6477c61024b775147ff0973a02653abaf2"
++dependencies = [
++ "digest 0.10.7",
++ "hmac 0.12.1",
++]
++
++[[package]]
++name = "pbkdf2"
++version = "0.13.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "112d82ceb8c5bf524d9af484d4e4970c9fd5a0cc15ba14ad93dccd28873b0629"
+dependencies = [
- "cfg-if",
- "libc",
- "redox_syscall",
- "smallvec",
- "windows-link 0.2.1",
++ "digest 0.11.3",
+]
+
+[[package]]
- name = "password-hash"
- version = "0.5.0"
++name = "pem-rfc7468"
++version = "0.7.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
- checksum = "346f04948ba92c43e8469c1ee6736c7563d71012b17d40745260fe106aac2166"
++checksum = "88b39c9bfcfc231068454382784bb460aae594343fb030d46e9f50a645418412"
+dependencies = [
+ "base64ct",
- "rand_core 0.6.4",
- "subtle",
+]
+
[[package]]
name = "percent-encoding"
version = "2.3.2"
@@@ -4283,6 -4201,6 +5090,36 @@@ dependencies =
"futures-io",
]
++[[package]]
++name = "pkcs12"
++version = "0.1.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "695b3df3d3cc1015f12d70235e35b6b79befc5fa7a9b95b951eab1dd07c9efc2"
++dependencies = [
++ "cms",
++ "const-oid 0.9.6",
++ "der",
++ "digest 0.10.7",
++ "spki",
++ "x509-cert",
++ "zeroize",
++]
++
++[[package]]
++name = "pkcs5"
++version = "0.7.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "e847e2c91a18bfa887dd028ec33f2fe6f25db77db3619024764914affe8b69a6"
++dependencies = [
++ "aes",
++ "cbc",
++ "der",
++ "pbkdf2 0.12.2",
++ "scrypt",
++ "sha2 0.10.9",
++ "spki",
++]
++
[[package]]
name = "pkg-config"
version = "0.3.34"
@@@ -4420,6 -4328,6 +5257,17 @@@ version = "0.1.1
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c"
++[[package]]
++name = "prefix-trie"
++version = "0.8.4"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "4cf6e3177f0684016a5c209b00882e15f8bdd3f3bb48f0491df10cd102d0c6e7"
++dependencies = [
++ "either",
++ "ipnet",
++ "num-traits",
++]
++
[[package]]
name = "proc-macro-crate"
version = "1.3.1"
@@@ -4489,6 -4397,6 +5337,7 @@@ source = "registry+https://github.com/r
checksum = "e660451e55124f798a69a5af3f49ccfbefbd41910eefd25caf2393e1f3473ec1"
dependencies = [
"memchr",
++ "serde",
]
[[package]]
@@@ -4522,10 -4430,10 +5371,11 @@@ dependencies =
[[package]]
name = "quinn-proto"
-version = "0.11.18"
+version = "0.11.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a9746dbde176634f4f2f1faf2404e30a31b2bc1e9cafb5329c95d8177a18c9fc"
+checksum = "0e750cca55fe4f0439a15d0bb529da9651e79993e8e72c61a899a36d462befbe"
dependencies = [
++ "aws-lc-rs",
"bytes",
"getrandom 0.4.3",
"lru-slab",
@@@ -4577,6 -4485,6 +5427,12 @@@ version = "6.0.0
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf"
++[[package]]
++name = "radium"
++version = "0.7.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09"
++
[[package]]
name = "rand"
version = "0.8.8"
@@@ -4668,6 -4576,6 +5524,15 @@@ version = "0.6.2
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "20675572f6f24e9e76ef639bc5552774ed45f1c30e2951e1e99c59888861c539"
++[[package]]
++name = "rc2"
++version = "0.8.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "62c64daa8e9438b84aaae55010a93f396f8e60e3911590fcba770d04643fc1dd"
++dependencies = [
++ "cipher 0.4.4",
++]
++
[[package]]
name = "redox_syscall"
version = "0.5.18"
@@@ -4822,6 -4730,6 +5687,7 @@@ dependencies =
"bytes",
"futures-core",
"futures-util",
++ "h2",
"http",
"http-body",
"http-body-util",
@@@ -4832,6 -4740,6 +5698,7 @@@
"log",
"percent-encoding",
"pin-project-lite",
++ "quinn",
"rustls",
"rustls-pki-types",
"rustls-platform-verifier",
@@@ -4851,6 -4759,6 +5718,12 @@@
"web-sys",
]
++[[package]]
++name = "resolv-conf"
++version = "0.7.6"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "1e061d1b48cb8d38042de4ae0a7a6401009d6143dc80d2e2d6f31f0bdd6470c7"
++
[[package]]
name = "rfd"
version = "0.15.4"
@@@ -4946,6 -4854,6 +5819,25 @@@ dependencies =
"semver",
]
++[[package]]
++name = "rustc_version_runtime"
++version = "0.3.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "2dd18cd2bae1820af0b6ad5e54f4a51d0f3fcc53b05f845675074efcc7af071d"
++dependencies = [
++ "rustc_version",
++ "semver",
++]
++
++[[package]]
++name = "rusticata-macros"
++version = "4.1.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "faf0c4a6ece9950b9abdb62b1cfcf2a68b3b67a10ba445b3bb85be2a293d0632"
++dependencies = [
++ "nom 7.1.3",
++]
++
[[package]]
name = "rustix"
version = "0.38.44"
@@@ -4988,6 -4896,6 +5880,7 @@@ version = "0.23.46
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "48e13bd8c0e9365c43cfa5c9e8f9ad49d3c8444926c9aac819e0e4dc503c8fdf"
dependencies = [
++ "aws-lc-rs",
"log",
"once_cell",
"ring",
@@@ -4997,11 -4905,11 +5890,26 @@@
"zeroize",
]
++[[package]]
++name = "rustls-connector"
++version = "0.23.9"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "524994fd6957827c775abc941f41a146ce351bbd0a9b8cf632ee37f43a13c205"
++dependencies = [
++ "futures-io",
++ "futures-rustls",
++ "log",
++ "rustls",
++ "rustls-pki-types",
++ "rustls-webpki",
++ "webpki-root-certs",
++]
++
[[package]]
name = "rustls-native-certs"
-version = "0.8.4"
+version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dab5152771c58876a2146916e53e35057e1a4dfa2b9df0f0305b07f611fdea4d"
+checksum = "4a073f5dc7469f984c52ad2752b63b0807745133b6de880b7b64c1ac4c48aec4"
dependencies = [
"openssl-probe",
"rustls-pki-types",
@@@ -5052,6 -4960,6 +5960,7 @@@ version = "0.103.16
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4443b1b6d39d7c663139942cc4558262562d2c84123bb6282ef177009ca8b281"
dependencies = [
++ "aws-lc-rs",
"ring",
"rustls-pki-types",
"untrusted",
@@@ -5069,6 -4977,6 +5978,15 @@@ version = "1.0.23
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f"
++[[package]]
++name = "salsa20"
++version = "0.10.2"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "97a22f5af31f73a954c10289c93e8a50cc23d971e80ee446f1f6f7137a088213"
++dependencies = [
++ "cipher 0.4.4",
++]
++
[[package]]
name = "same-file"
version = "1.0.6"
@@@ -5163,6 -5071,6 +6081,17 @@@ version = "1.2.0
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
++[[package]]
++name = "scrypt"
++version = "0.11.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "0516a385866c09368f0b5bcd1caff3366aace790fcd46e2bb032697bb172fd1f"
++dependencies = [
++ "pbkdf2 0.12.2",
++ "salsa20",
++ "sha2 0.10.9",
++]
++
[[package]]
name = "security-framework"
version = "2.11.1"
@@@ -5354,6 -5262,6 +6283,16 @@@ dependencies =
"typeid",
]
++[[package]]
++name = "serde_bytes"
++version = "0.11.19"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "a5d440709e79d88e51ac01c4b72fc6cb7314017bb7da9eeff678aa94c10e3ea8"
++dependencies = [
++ "serde",
++ "serde_core",
++]
++
[[package]]
name = "serde_core"
version = "1.0.229"
@@@ -5408,10 -5316,10 +6347,12 @@@ dependencies =
[[package]]
name = "serde_json"
-version = "1.0.151"
+version = "1.0.154"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14"
+checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6"
dependencies = [
++ "foldhash",
++ "indexmap 2.14.2",
"itoa",
"memchr",
"serde",
@@@ -5559,6 -5467,6 +6500,17 @@@ 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"
@@@ -5754,6 -5662,6 +6706,31 @@@ dependencies =
"system-deps",
]
++[[package]]
++name = "spin"
++version = "0.9.9"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "3763264f6b73151db08c50ff20d7d8a0b8796e021cdea7ceedad07b80155fa0e"
++dependencies = [
++ "lock_api",
++]
++
++[[package]]
++name = "spin"
++version = "0.10.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "023a211cb3138dbc438680b32560ad89f699977624c9f8dbb95a47d5b4c07dd3"
++
++[[package]]
++name = "spki"
++version = "0.7.3"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d"
++dependencies = [
++ "base64ct",
++ "der",
++]
++
[[package]]
name = "sqlite-wasm-rs"
version = "0.5.5"
@@@ -5815,6 -5723,6 +6792,17 @@@ dependencies =
"quote",
]
++[[package]]
++name = "stringprep"
++version = "0.1.5"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "7b4df3d392d81bd458a8a621b8bffbd2302a12ffe288a9d931670948749463b1"
++dependencies = [
++ "unicode-bidi",
++ "unicode-normalization",
++ "unicode-properties",
++]
++
[[package]]
name = "strsim"
version = "0.11.1"
@@@ -5906,6 -5814,6 +6894,17 @@@ dependencies =
"futures-core",
]
++[[package]]
++name = "synstructure"
++version = "0.13.2"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2"
++dependencies = [
++ "proc-macro2",
++ "quote",
++ "syn 2.0.119",
++]
++
[[package]]
name = "synstructure"
version = "0.14.0"
@@@ -5964,6 -5872,6 +6963,18 @@@ dependencies =
"version-compare",
]
++[[package]]
++name = "tagptr"
++version = "0.2.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "7b2093cf4c8eb1e67749a6762251bc9cd836b6fc171623bd0a9d324d37af2417"
++
++[[package]]
++name = "take_mut"
++version = "0.2.2"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "f764005d11ee5f36500a149ace24e00e3da98b0158b3e2d53a7495660d3f4d60"
++
[[package]]
name = "tao"
version = "0.35.3"
@@@ -6012,6 -5920,6 +7023,12 @@@ dependencies =
"syn 2.0.119",
]
++[[package]]
++name = "tap"
++version = "1.0.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369"
++
[[package]]
name = "tar"
version = "0.4.46"
@@@ -6380,6 -6288,6 +7397,19 @@@ dependencies =
"windows-version",
]
++[[package]]
++name = "tcp-stream"
++version = "0.34.14"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "300d0735de48a565461c2ea14cc75b80ee5b6be3b4f5aeabe3553e4c2df8d23d"
++dependencies = [
++ "async-rs",
++ "cfg-if",
++ "futures-io",
++ "p12-keystore",
++ "rustls-connector",
++]
++
[[package]]
name = "tempfile"
version = "3.27.0"
@@@ -6743,6 -6635,7 +7773,7 @@@ version = "0.2.0
dependencies = [
"serde",
"serde_json",
- "tinystoragedrivers-core",
++ "tinystoragedrivers-types",
]
[[package]]
@@@ -6789,15 -6682,16 +7820,16 @@@ dependencies =
[[package]]
name = "tinychannels-bus"
--version = "0.1.38"
++version = "0.1.39"
dependencies = [
"anyhow",
"async-trait",
"base64 0.23.1",
- "schemars 1.2.2",
+ "schemars 1.2.3",
"serde",
"serde_json",
- "thiserror 2.0.20",
- "tinystoragedrivers-core",
+ "thiserror 2.0.21",
++ "tinystoragedrivers-types",
"tokio",
]
@@@ -7076,6 -7000,7 +8122,7 @@@ version = "0.4.1
dependencies = [
"serde",
"serde_json",
- "tinystoragedrivers-core",
++ "tinystoragedrivers-types",
]
[[package]]
@@@ -7189,44 -7113,12 +8236,48 @@@ dependencies =
[[package]]
name = "tinystoragedrivers"
-version = "1.0.0"
+version = "2.1.0"
dependencies = [
- "tinystoragedrivers-core",
- "tinystoragedrivers-file",
+ "tinystoragedrivers-api",
+ "tinystoragedrivers-blob",
+ "tinystoragedrivers-connect",
+ "tinystoragedrivers-document",
+ "tinystoragedrivers-kv",
+ "tinystoragedrivers-queue",
"tinystoragedrivers-secrets",
- "tinystoragedrivers-sqlite",
+ "tinystoragedrivers-types",
+]
+
+[[package]]
+name = "tinystoragedrivers-api"
+version = "2.1.0"
+dependencies = [
+ "async-trait",
+ "bytes",
+ "futures-core",
+ "serde",
+ "serde_json",
+ "tinystoragedrivers-types",
+ "zeroize",
+]
+
+[[package]]
+name = "tinystoragedrivers-blob"
+version = "2.1.0"
+dependencies = [
+ "async-trait",
+ "bytes",
+ "futures-core",
++ "futures-util",
++ "http",
++ "mongodb",
++ "object_store",
+ "serde",
+ "serde_json",
+ "sha2 0.10.9",
+ "tinystoragedrivers-api",
+ "tinystoragedrivers-connect",
+ "tinystoragedrivers-types",
]
[[package]]
@@@ -7257,14 -7145,16 +8308,18 @@@ dependencies =
]
[[package]]
-name = "tinystoragedrivers-client"
-version = "1.0.0"
+name = "tinystoragedrivers-connect"
+version = "2.1.0"
dependencies = [
- "async-trait",
- "serde",
++ "lapin",
++ "mongodb",
++ "object_store",
+ "rusqlite",
"serde_json",
- "tinystoragedrivers-bus",
- "tinystoragedrivers-core",
- "tinystoragedrivers-secrets",
+ "tinystoragedrivers-types",
"tokio",
++ "url",
+ "zstd",
]
[[package]]
@@@ -7273,42 -7163,34 +8328,51 @@@ version = "2.1.0
dependencies = [
"async-trait",
"data-encoding",
++ "futures-util",
++ "libc",
++ "mongodb",
+ "rusqlite",
"serde",
"serde_json",
- "sha2 0.10.9",
- "tinystoragedrivers-schema",
+ "sha2 0.11.1",
+ "tinystoragedrivers-api",
+ "tinystoragedrivers-connect",
+ "tinystoragedrivers-types",
"tokio",
- "ulid",
"zstd",
]
[[package]]
-name = "tinystoragedrivers-file"
-version = "1.0.0"
+name = "tinystoragedrivers-kv"
+version = "2.1.0"
dependencies = [
"async-trait",
++ "futures-util",
+ "libc",
++ "mongodb",
"serde",
"serde_json",
- "tinystoragedrivers-core",
- "tokio",
+ "tinystoragedrivers-api",
+ "tinystoragedrivers-connect",
++ "tinystoragedrivers-document",
+ "tinystoragedrivers-types",
]
[[package]]
-name = "tinystoragedrivers-schema"
-version = "1.0.0"
+name = "tinystoragedrivers-queue"
+version = "2.1.0"
dependencies = [
+ "async-trait",
+ "data-encoding",
++ "lapin",
"serde",
"serde_json",
- "thiserror 2.0.20",
+ "sha2 0.11.1",
+ "tinystoragedrivers-api",
++ "tinystoragedrivers-connect",
+ "tinystoragedrivers-types",
+ "tokio",
+ "ulid",
]
[[package]]
@@@ -7530,6 -7424,6 +8594,7 @@@ checksum = "e464cf451ba96ebfc6f9b6542f1
dependencies = [
"bytes",
"futures-core",
++ "futures-io",
"futures-sink",
"futures-util",
"libc",
@@@ -7817,7 -7711,7 +8882,7 @@@ dependencies =
"httparse",
"log",
"rand 0.8.8",
-- "sha1",
++ "sha1 0.10.7",
"thiserror 1.0.69",
"utf-8",
]
@@@ -7837,10 -7731,10 +8902,30 @@@ dependencies =
"rand 0.9.5",
"rustls",
"rustls-pki-types",
-- "sha1",
- "thiserror 2.0.20",
++ "sha1 0.10.7",
+ "thiserror 2.0.21",
+]
+
++[[package]]
++name = "typed-builder"
++version = "0.22.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "398a3a3c918c96de527dc11e6e846cd549d4508030b8a33e1da12789c856b81a"
++dependencies = [
++ "typed-builder-macro",
++]
++
++[[package]]
++name = "typed-builder-macro"
++version = "0.22.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "0e48cea23f68d1f78eb7bc092881b6bb88d3d6b5b7e6234f6f9c911da1ffb221"
++dependencies = [
++ "proc-macro2",
++ "quote",
++ "syn 2.0.119",
+ ]
+
[[package]]
name = "typed-path"
version = "0.12.4"
@@@ -7932,10 -7826,10 +9017,16 @@@ dependencies =
[[package]]
name = "unicase"
-version = "2.9.0"
+version = "2.10.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "357cc3acc6a036009fd6c973ed009037c732d60d0b4f6c673e9041497482a28f"
+
++[[package]]
++name = "unicode-bidi"
++version = "0.3.18"
+ source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dbc4bc3a9f746d862c45cb89d705aa10f187bb96c76001afab07a0d35ce60142"
++checksum = "5c1cb5db39152898a79168971543b1cb5020dff7fe43c8dc468b0885f5e29df5"
+
[[package]]
name = "unicode-general-category"
version = "1.1.0"
@@@ -7944,16 -7838,16 +9035,37 @@@ checksum = "0b993bddc193ae5bd0d623b49ec
[[package]]
name = "unicode-ident"
-version = "1.0.26"
+version = "1.0.27"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563"
+
++[[package]]
++name = "unicode-normalization"
++version = "0.1.26"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "75cd3fb03d5288b3ba9a1ee103ac7e9cbb59f0b03d64f8ddfcc04dd42758a85d"
++dependencies = [
++ "tinyvec",
++]
++
++[[package]]
++name = "unicode-properties"
++version = "0.1.4"
+ source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954"
++checksum = "7df058c713841ad818f1dc5d3fd88063241cc61f49f5fbea4b951e8cf5a8d71d"
+
[[package]]
name = "unicode-segmentation"
version = "1.13.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8"
++[[package]]
++name = "unicode-xid"
++version = "0.2.6"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853"
++
[[package]]
name = "universal-hash"
version = "0.5.1"
@@@ -8470,6 -8353,6 +9582,12 @@@ dependencies =
"windows-core 0.61.2",
]
++[[package]]
++name = "widestring"
++version = "1.2.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "72069c3113ab32ab29e5584db3c6ec55d416895e60715417b5b883a357c3e471"
++
[[package]]
name = "winapi"
version = "0.3.9"
@@@ -9159,6 -9000,6 +10277,15 @@@ dependencies =
"windows-version",
]
++[[package]]
++name = "wyz"
++version = "0.5.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed"
++dependencies = [
++ "tap",
++]
++
[[package]]
name = "x25519-dalek"
version = "2.0.1"
@@@ -9171,6 -9012,6 +10298,34 @@@ dependencies =
"zeroize",
]
++[[package]]
++name = "x509-cert"
++version = "0.2.5"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "1301e935010a701ae5f8655edc0ad17c44bad3ac5ce8c39185f75453b720ae94"
++dependencies = [
++ "const-oid 0.9.6",
++ "der",
++ "spki",
++]
++
++[[package]]
++name = "x509-parser"
++version = "0.18.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++checksum = "d43b0f71ce057da06bc0851b23ee24f3f86190b07203dd8f567d0b706a185202"
++dependencies = [
++ "asn1-rs",
++ "data-encoding",
++ "der-parser",
++ "lazy_static",
++ "nom 7.1.3",
++ "oid-registry",
++ "rusticata-macros",
++ "thiserror 2.0.21",
++ "time",
++]
++
[[package]]
name = "xattr"
version = "1.6.1"
@@@ -9200,8 -9041,8 +10355,8 @@@ checksum = "ec8ebde2db3681e8c9980cc2782
dependencies = [
"proc-macro2",
"quote",
- "syn 3.0.6",
- "synstructure",
+ "syn 3.0.9",
- "synstructure",
++ "synstructure 0.14.0",
]
[[package]]
@@@ -9312,8 -9153,8 +10467,8 @@@ checksum = "f75b4683f6c7f45248d4d64056a
dependencies = [
"proc-macro2",
"quote",
- "syn 3.0.6",
- "synstructure",
+ "syn 3.0.9",
- "synstructure",
++ "synstructure 0.14.0",
]
[[package]]
diff --cc crates/openhuman-core/src/channels/routes.rs
index 635e0bd7a7,8d7da1f05b..c9d29b9b1c
--- a/crates/openhuman-core/src/channels/routes.rs
+++ b/crates/openhuman-core/src/channels/routes.rs
@@@ -176,6 -193,6 +193,7 @@@ pub(crate) async fn handle_runtime_comm
(ChannelControlRequest::Route {
workspace_dir: ctx.workspace_dir.to_string_lossy().into_owned(),
message: Box::new(msg.clone()),
++ capabilities: None,
route: tinychannels_bus::module_remote::RemoteRoute {
provider: current.provider,
model: current.model,
diff --cc crates/openhuman-core/src/config/migrations/mod.rs
index 8a368b3e65,52f11d3d28..6f7018f51a
--- a/crates/openhuman-core/src/config/migrations/mod.rs
+++ b/crates/openhuman-core/src/config/migrations/mod.rs
@@@ -26,8 -26,7 +26,7 @@@ use crate::config::Config
mod enable_session_shadow_reads;
mod expand_autonomy_defaults;
mod migrate_legacy_embedding_provider;
- mod normalize_default_model_tier;
-mod phase_out_profile_md;
+pub(crate) mod phase_out_profile_md;
mod reconcile_orphaned_providers;
mod remove_write_auto_approve;
mod repair_http_request_limits;
diff --cc crates/openhuman-core/src/inference/provider/factory/chat_model.rs
index 9c6a5bdf5d,81f2c3aeb1..2e740cb59c
--- a/crates/openhuman-core/src/inference/provider/factory/chat_model.rs
+++ b/crates/openhuman-core/src/inference/provider/factory/chat_model.rs
@@@ -1,10 -1,409 +1,414 @@@
//! One-shot `create_chat_model*` entry points, the readiness probe, the
//! default-temperature wrapper, and the unresolved-route error builder.
- use super::*;
+ #[cfg(any(test, feature = "e2e-test-support", feature = "rss-bench"))]
+ use super::test_provider_override;
+ use super::{
+ access_gates::{emit_inference_egress, enforce_local_only_inference},
+ cloud_slug::{
+ resolve_cloud_slug_for, resolve_cloud_slug_with_access,
+ try_create_cloud_slug_chat_model_from_string_with_native_tools_for,
+ },
+ credentials::CredentialAccess,
+ local_runtime::try_create_local_runtime_chat_model_from_string,
+ provider_for_role,
+ subprocess_providers::OpenHumanMcpEndpoint,
+ BYOK_INCOMPLETE_SENTINEL, CLAUDE_AGENT_SDK_PREFIX, CLAUDE_AGENT_SDK_PROVIDER,
+ PROVIDER_OPENHUMAN,
+ };
+ use crate::config::ops::resolve_primary_cloud_provider_string;
+ use crate::config::Config;
use crate::core::runtime::DispatchCtx;
- #[cfg(not(test))]
- use crate::inference::provider::factory::access_gates::verify_session_active;
+ use crate::security::egress::EgressLedger;
+ use std::sync::Arc;
+ use tinyagents_harness::host::{
+ BuildOpts, ModelBuildGate, ModelBuildRequest, ModelFactory, ModelPurpose,
+ };
+ use tinyinference_llm::model::{
+ ChatModel, ModelRequestDefaults, ProfileOverrideModel, ResolvedModelRoute,
+ };
+ use tinyinference_providers::route::split_model_and_temperature;
+ use tinyinference_providers::route::{ProviderRoute, RouteKind};
+
+ /// OpenHuman's host policy and construction adapter for a harness turn.
+ ///
+ /// The harness owns turn assembly; this adapter resolves OpenHuman provider
+ /// configuration and enforces product access policy for each requested model.
+ pub(crate) struct OpenHumanModelFactory<'a> {
+ pub(crate) ctx: &'a DispatchCtx,
+ pub(crate) config: &'a Config,
+ pub(crate) primary_provider: Option<&'a str>,
+ pub(crate) egress: &'a EgressLedger,
+ pub(crate) thread_id: Option<&'a str>,
+ /// Attach OpenHuman's per-turn multimodal providers using the route this
+ /// factory actually selected. One-shot probes do not need host attachments.
+ pub(crate) attach_host_attachments: bool,
+ }
+
+ impl OpenHumanModelFactory<'_> {
+ fn route_name<'a>(request: &'a ModelBuildRequest, role: &'a str) -> &'a str {
+ request
+ .route
+ .as_deref()
+ .or_else(|| request.model_pin.as_deref().filter(|pin| !pin.is_empty()))
+ .unwrap_or(role)
+ }
+
+ fn provider_for(&self, request: &ModelBuildRequest) -> String {
+ match &request.purpose {
+ ModelPurpose::Primary | ModelPurpose::Summarization => self
+ .primary_provider
+ .map(str::to_owned)
+ .unwrap_or_else(|| provider_for_role(&request.role, self.config)),
+ ModelPurpose::WorkloadTier(_) => provider_for_role(&request.role, self.config),
+ }
+ }
+
+ fn injected(&self, request: &ModelBuildRequest) -> Option<Arc<dyn ChatModel<()>>> {
+ let route = request.route.as_deref();
+ let host_model = self
+ .ctx
+ .host_overrides()
+ .and_then(|local| match &request.purpose {
+ ModelPurpose::Primary => local.model_for(&request.role),
+ ModelPurpose::Summarization => local
+ .role_models
+ .get("summarization")
+ .cloned()
+ .or_else(|| local.model_for(&request.role)),
+ ModelPurpose::WorkloadTier(_) => route
+ .and_then(|route| local.role_models.get(route))
+ .or_else(|| local.role_models.get(&request.role))
+ .cloned(),
+ });
+ if host_model.is_some() {
+ return host_model;
+ }
+ #[cfg(any(test, feature = "e2e-test-support", feature = "rss-bench"))]
+ if let Some(model) = test_provider_override::current() {
+ return Some(model);
+ }
+ None
+ }
+
+ fn build_request(
+ &self,
+ request: &ModelBuildRequest,
+ ) -> anyhow::Result<(Arc<dyn ChatModel<()>>, ResolvedModelRoute)> {
+ let role = request.role.as_str();
+ let pin = request.model_pin.as_deref().unwrap_or("");
+ let provider = self.provider_for(request);
+ if let Some(model) = self.injected(request) {
+ let profile = model.profile().cloned().unwrap_or_default();
+ let route = ResolvedModelRoute::new(
+ profile.provider.as_deref().unwrap_or("injected"),
+ profile.model.as_deref().unwrap_or(pin),
+ Self::route_name(request, role),
+ );
+ return Ok((model, route));
+ }
+
+ let provider_route = ProviderRoute::parse(&provider);
+ let managed = match (&request.purpose, self.primary_provider) {
+ (ModelPurpose::Primary | ModelPurpose::Summarization, Some(provider)) => {
+ let provider = provider.trim();
+ provider.is_empty()
+ || provider == "cloud"
+ || provider == PROVIDER_OPENHUMAN
+ || provider_route
+ .as_ref()
+ .is_some_and(|route| matches!(route.kind(), RouteKind::Managed))
+ }
+ _ => resolves_to_managed_backend(role, self.config),
+ };
+ if managed {
+ let resolved = self.ctx.resolved();
+ let extensions = resolved
+ .as_deref()
+ .map(crate::core::runtime::CoreContext::extensions);
+ let (model, concrete) =
+ super::managed_backend::make_openhuman_backend_model_for_thread_in(
+ extensions,
+ role,
+ self.config,
+ (!pin.is_empty()).then_some(pin),
+ request.opts.native_tools,
+ self.thread_id,
+ self.egress,
+ )?;
+ let concrete = if concrete.trim().is_empty() {
+ pin
+ } else {
+ &concrete
+ };
+ return Ok((
+ model,
+ ResolvedModelRoute::new(
+ PROVIDER_OPENHUMAN,
+ concrete,
+ Self::route_name(request, role),
+ ),
+ ));
+ }
+
+ let resolved = self.ctx.resolved();
+ let context_extensions = resolved
+ .as_deref()
+ .map(crate::core::runtime::CoreContext::extensions);
+ let mut parsed_route = ProviderRoute::parse(&provider);
+ if parsed_route.is_none()
+ && provider
+ .trim()
+ .eq_ignore_ascii_case(CLAUDE_AGENT_SDK_PROVIDER)
+ {
+ parsed_route = Some(ProviderRoute {
+ provider: CLAUDE_AGENT_SDK_PROVIDER.to_owned(),
+ model: self.config.claude_agent_sdk.default_model.clone(),
+ temperature: None,
+ });
+ }
+ if let Some(route) = parsed_route.as_mut() {
+ if !pin.is_empty()
+ && matches!(
+ route.kind(),
+ RouteKind::ClaudeCode | RouteKind::ClaudeAgentSdk
+ )
+ {
+ route.model = pin.to_owned();
+ }
+ }
+ if let Some(route) = parsed_route.as_ref().filter(|route| {
+ matches!(
+ route.kind(),
+ RouteKind::ClaudeCode | RouteKind::ClaudeAgentSdk
+ )
+ }) {
+ if route.temperature.is_some() && matches!(route.kind(), RouteKind::ClaudeCode) {
+ log::warn!(
+ "[providers][chat-factory] claude-code provider: per-model temperature override \
+ is accepted but not wired through to the CLI — the @<temp> suffix is ignored"
+ );
+ }
+ let effective_model = route.model.trim();
+ anyhow::ensure!(
+ !effective_model.is_empty(),
+ "subprocess model route for role '{role}' has an empty model"
+ );
+ let route_kind = route.kind();
+ let egress_name = match route_kind {
+ RouteKind::ClaudeCode => format!(
+ "{}{}",
+ tinyagents_harness::providers::claude_code::PROVIDER_PREFIX,
+ effective_model
+ ),
+ RouteKind::ClaudeAgentSdk => format!("{CLAUDE_AGENT_SDK_PREFIX}{effective_model}"),
+ _ => unreachable!("subprocess route was filtered"),
+ };
+ emit_inference_egress(role, &egress_name, self.egress);
+ let workspace = self
+ .config
+ .config_path
+ .parent()
+ .map(std::path::Path::to_path_buf)
+ .unwrap_or_else(|| self.config.workspace_dir.clone());
++ let documents = crate::storage::current_scoped()?
++ .ok_or_else(|| anyhow::anyhow!("storage is unavailable for Claude provider state"))?
++ .documents()
++ .clone();
+ let context = tinyagents_harness::host::model_factory::SubprocessProviderContext {
+ workspace_dir: workspace,
+ action_dir: self.config.action_dir.clone(),
++ documents,
+ claude_agent_sdk: (&self.config.claude_agent_sdk).into(),
+ mcp_provider: Some(Arc::new(OpenHumanMcpEndpoint)),
+ };
+ let model = tinyagents_harness::host::model_factory::build_claude_subprocess_model(
+ route, &context,
+ )?
+ .ok_or_else(|| anyhow::anyhow!("unsupported subprocess route"))?;
+ let route_provider = route.provider.clone();
+ let resolved_model = effective_model.to_owned();
+ let route = ResolvedModelRoute::new(
+ route_provider,
+ resolved_model,
+ Self::route_name(request, role),
+ );
+ return Ok((model, route));
+ }
+
+ let (model, route_provider, resolved_model) =
+ match parsed_route.as_ref().map(ProviderRoute::kind) {
+ Some(RouteKind::Local(_)) | None
+ if tinyinference_local::profile::kind_from_provider_string(&provider)
+ .is_some() =>
+ {
+ let local = try_create_local_runtime_chat_model_from_string(
+ role,
+ &provider,
+ self.config,
+ self.egress,
+ );
+ let (model, resolved) = match local {
+ Some(result) => result?,
+ None => {
+ return Err(unresolved_chat_model_error_for(
+ role,
+ &provider,
+ self.config,
+ self.egress,
+ context_extensions,
+ ));
+ }
+ };
+ let provider = model
+ .profile()
+ .and_then(|p| p.provider.clone())
+ .unwrap_or_else(|| "local".into());
+ (model, provider, resolved)
+ }
+ Some(RouteKind::Cloud { .. }) => {
+ let cloud = try_create_cloud_slug_chat_model_from_string_with_native_tools_for(
+ role,
+ &provider,
+ self.config,
+ request.opts.native_tools,
+ self.egress,
+ context_extensions,
+ );
+ let (model, resolved) = match cloud {
+ Some(result) => result?,
+ None => {
+ return Err(unresolved_chat_model_error_for(
+ role,
+ &provider,
+ self.config,
+ self.egress,
+ context_extensions,
+ ));
+ }
+ };
+ let route_provider = model
+ .profile()
+ .and_then(|p| p.provider.clone())
+ .unwrap_or_else(|| {
+ parsed_route
+ .as_ref()
+ .expect("parsed cloud route")
+ .provider
+ .clone()
+ });
+ (model, route_provider, resolved)
+ }
+ _ => {
+ return Err(unresolved_chat_model_error_for(
+ role,
+ &provider,
+ self.config,
+ self.egress,
+ context_extensions,
+ ));
+ }
+ };
+
+ let route = ResolvedModelRoute::new(
+ route_provider,
+ resolved_model,
+ Self::route_name(request, role),
+ );
+ Ok((model, route))
+ }
+ }
+
+ fn build_one_shot(
+ ctx: &DispatchCtx,
+ role: &str,
+ provider: Option<&str>,
+ config: &Config,
+ ) -> anyhow::Result<(Arc<dyn ChatModel<()>>, String)> {
+ let egress = EgressLedger::none();
+ let factory = OpenHumanModelFactory {
+ ctx,
+ config,
+ primary_provider: provider,
+ egress: &egress,
+ thread_id: None,
+ attach_host_attachments: false,
+ };
+ let request = ModelBuildRequest {
+ role: role.to_owned(),
+ route: None,
+ purpose: ModelPurpose::Primary,
+ model_pin: None,
+ opts: BuildOpts {
+ native_tools: true,
+ temperature: None,
+ egress_tag: None,
+ },
+ };
+ factory.check(&request)?;
+ let (model, route) = factory.build(&request)?;
+ Ok((model, route.model))
+ }
+
+ impl ModelBuildGate for OpenHumanModelFactory<'_> {
+ fn check(&self, request: &ModelBuildRequest) -> tinyagents_harness::Result<()> {
+ // Explicit host model injection is authoritative and has no provider
+ // construction, credential, or egress side effect to gate.
+ if self.injected(request).is_some() {
+ return Ok(());
+ }
+ let provider = self.provider_for(request);
+ enforce_local_only_inference(&request.role, &provider)
+ .map_err(|error| tinyagents_harness::TinyAgentsError::Model(error.to_string()))?;
+ crate::inference::provider::factory::access_gates::verify_provider_session_in(
+ self.ctx,
+ self.config,
+ &provider,
+ )
+ .map_err(|error| tinyagents_harness::TinyAgentsError::Model(error.to_string()))
+ }
+ }
+
+ impl ModelFactory<()> for OpenHumanModelFactory<'_> {
+ fn build(
+ &self,
+ request: &ModelBuildRequest,
+ ) -> tinyagents_harness::Result<(Arc<dyn ChatModel<()>>, ResolvedModelRoute)> {
+ let (model, route) = self
+ .build_request(request)
+ .map_err(|error| tinyagents_harness::TinyAgentsError::Model(error.to_string()))?;
+ let opts = ModelRequestDefaults {
+ model: (!route.model.is_empty()).then(|| route.model.clone()),
+ temperature: request.opts.temperature,
+ };
+ let mut model = with_request_defaults(model, opts);
+ if self.attach_host_attachments {
+ model = if self.injected(request).is_some() {
+ crate::attachments::provider::wrap_injected(
+ self.ctx,
+ model,
+ Arc::new(self.config.clone()),
+ )
+ } else {
+ crate::attachments::provider::wrap(
+ self.ctx,
+ model,
+ Arc::new(self.config.clone()),
+ &route.model,
+ &route.provider,
+ )
+ };
+ }
+ Ok((model, route))
+ }
+ }
+
+ fn with_request_defaults(
+ model: Arc<dyn ChatModel<()>>,
+ defaults: ModelRequestDefaults,
+ ) -> Arc<dyn ChatModel<()>> {
+ Arc::new(ProfileOverrideModel::new_preserving_profile(model).with_defaults(defaults))
+ }
/// Build an `Arc<dyn ChatModel>` for the given workload role, under `ctx`.
///
diff --cc crates/openhuman-core/src/modules/storage_grant_schemas_tests.rs
index be6b3b2d81,d2c1916e52..4736157836
--- a/crates/openhuman-core/src/modules/storage_grant_schemas_tests.rs
+++ b/crates/openhuman-core/src/modules/storage_grant_schemas_tests.rs
@@@ -135,49 -115,12 +135,55 @@@ fn tinyjuice_reaches_only_its_blob_pref
&grant,
Object::Blobs,
"Get",
- json!({"key": "other/abc"})
+ json!({"key": "juice/ccr/abc"})
));
+ assert!(!allowed(
+ &grant,
+ Object::Blobs,
+ "Get",
+ json!({"key": "tinyjuice_ccr/abc"})
+ ));
}
+
+#[test]
+fn non_document_grants_match_the_owner_contracts_without_broad_prefixes() {
+ let connectors = declared("tinyconnectors").unwrap();
+ assert!(allowed(
+ &connectors,
+ Object::Streams,
+ "Append",
+ json!({"stream": "connectors.triggers/2026-10-21"})
+ ));
+ assert!(allowed(
+ &connectors,
+ Object::Streams,
+ "Append",
+ json!({"stream": "triggers/2026-10-21"})
+ ));
+ assert_eq!(
+ authorize(
+ &connectors,
+ Object::Streams,
+ "Append",
+ &json!({"stream": "other/2026-10-21"})
+ ),
+ Err(Denied::Target)
+ );
+
+ let wallet = declared("tinywallet").unwrap();
+ assert!(allowed(
+ &wallet,
+ Object::Streams,
+ "Append",
+ json!({"stream": "wallet.payments"})
+ ));
+ assert_eq!(
+ authorize(
+ &wallet,
+ Object::Streams,
+ "Append",
+ &json!({"stream": "other.payments"})
+ ),
+ Err(Denied::Target)
+ );
+}
diff --cc crates/openhuman-core/src/modules/storage_import_tinyjuice.rs
index 7a20be01ef,25fdc163d3..6e23460402
--- a/crates/openhuman-core/src/modules/storage_import_tinyjuice.rs
+++ b/crates/openhuman-core/src/modules/storage_import_tinyjuice.rs
@@@ -24,11 -24,9 +24,11 @@@ use std::path::Path
use std::time::{Duration, SystemTime};
use anyhow::{anyhow, Context, Result};
-use tinystoragedrivers::{Capability, ScopedStorage};
+use tinystoragedrivers_types::Capability;
+
+use crate::storage::Storage;
- use super::storage_grant_schemas::tinyjuice::{CCR_BLOB_PREFIX, MODULE_ID};
+ use super::storage_grant_schemas::tinyjuice::MODULE_ID;
use super::storage_import_support as support;
use crate::core::runtime::DispatchCtx;
diff --cc crates/openhuman-core/src/modules/storage_import_tinyjuice_tests.rs
index aa4f9f853c,a0e5da3926..12f0eb6e89
--- a/crates/openhuman-core/src/modules/storage_import_tinyjuice_tests.rs
+++ b/crates/openhuman-core/src/modules/storage_import_tinyjuice_tests.rs
@@@ -35,10 -36,10 +35,10 @@@ fn legacy_root() -> tempfile::TempDir
dir
}
-async fn read(scoped: &ScopedStorage, token: &str) -> Option<String> {
+async fn read(scoped: &Storage, token: &str) -> Option<String> {
scoped
.blobs()
- .get(&format!("{CCR_BLOB_PREFIX}{token}"))
+ .get(&ccr_key(token))
.await
.unwrap()
.map(|blob| String::from_utf8(blob.bytes).unwrap())
diff --cc crates/openhuman-core/src/storage/schema_tests.rs
index 06ee03f9d8,1e3adc358a..27e607fd4a
--- a/crates/openhuman-core/src/storage/schema_tests.rs
+++ b/crates/openhuman-core/src/storage/schema_tests.rs
@@@ -40,8 -26,79 +40,75 @@@ fn every_linked_crate_exposes_its_valid
}
#[test]
-fn module_items_are_the_owners_module_scoped_declarations() {
- let mcp = module_items("mcp");
- assert!(mcp
- .collections
- .iter()
- .any(|spec| spec.name == "mcp.servers"));
- assert!(mcp.streams.iter().any(|name| name == "mcp.audit"));
- assert!(module_items("no-such-owner").collections.is_empty());
+fn module_collections_are_limited_to_the_named_owner() {
+ let mcp = module_collections("mcp");
+ assert!(mcp.iter().any(|spec| spec.name == "mcp.servers"));
+ assert!(module_collections("no-such-owner").is_empty());
}
+
+ #[test]
+ fn tinyjuice_ccr_blobs_stay_inside_the_juice_owner_namespace() {
+ assert_eq!(module_items("juice").blobs, ["juice/ccr/"]);
+ }
+
+ #[cfg(feature = "modules")]
+ #[tokio::test]
+ async fn tinyjuice_legacy_ccr_blobs_migrate_with_the_owner_contract() {
+ use tinystoragedrivers::schema::{MigrateOptions, Registry};
+ use tinystoragedrivers::{MemoryStorage, Scope, StorageBackend};
+
+ let backend = MemoryStorage::new();
+ let scoped = backend.for_scope(&Scope::local()).unwrap();
+ let blobs = scoped.blobs();
+ blobs
+ .put(
+ "tinyjuice_ccr/0123456789abcdef",
+ b"original text".to_vec(),
+ Some("text/plain; charset=utf-8"),
+ )
+ .await
+ .unwrap();
+ blobs
+ .put("tinyjuice_ccr/fedcba9876543210", b"two".to_vec(), None)
+ .await
+ .unwrap();
+ blobs
+ .put("other/keep", b"keep".to_vec(), None)
+ .await
+ .unwrap();
+
+ let registry = Registry::compose([tinyjuice_storage_schema()]).unwrap();
+ let report = registry
+ .migrate(&scoped, &MigrateOptions::new())
+ .await
+ .unwrap();
+ assert_eq!(report.ran[0].written, 2);
+ assert!(blobs
+ .list(tinyjuice_bus::storage::LEGACY_CCR_PREFIX)
+ .await
+ .unwrap()
+ .is_empty());
+ let moved = blobs
+ .get("juice/ccr/0123456789abcdef")
+ .await
+ .unwrap()
+ .unwrap();
+ assert_eq!(moved.bytes, b"original text");
+ assert_eq!(
+ moved.meta.content_type.as_deref(),
+ Some("text/plain; charset=utf-8")
+ );
+ let moved = blobs
+ .get("juice/ccr/fedcba9876543210")
+ .await
+ .unwrap()
+ .unwrap();
+ assert_eq!(moved.meta.content_type, None);
+ assert!(blobs.get("other/keep").await.unwrap().is_some());
+
+ let again = registry
+ .migrate(&scoped, &MigrateOptions::new())
+ .await
+ .unwrap();
+ assert!(again.ran.is_empty());
+ }
diff --cc scripts/ci/module-boundaries.json
index 30b85fa8bf,047a6b2aac..ffa99d151d
--- a/scripts/ci/module-boundaries.json
+++ b/scripts/ci/module-boundaries.json
@@@ -160,6 -163,46 +163,46 @@@
"scope": "tinyflows-bus",
"package": "chrono",
"reason": "tinyflows-bus schedule contract v3 carries the job, run and schedule records (CronJob, CronRun, Schedule, DeliveryConfig, ...) with their DateTime<Utc> fields so hosts redeclare none of them. chrono is time arithmetic and RFC3339 serde only, with no I/O or runtime; the schedule maths themselves (cron expressions, time zones) run in the module. Recorded for contract-boundary review (tinyflows#143, openhuman cron cutover #7397)."
+ },
+ {
+ "scope": "tinyjuice-bus",
+ "package": "tinystoragedrivers-types",
+ "reason": "The TinyJuice bus storage schema uses tinystoragedrivers-types for data-only schema records; this crate has no I/O or runtime behavior. The bus no longer depends on tinystoragedrivers-core."
+ },
+ {
+ "scope": "tinyconnectors-bus",
- "package": "tinystoragedrivers-core",
- "reason": "Storage schema contract (docs/gitbooks/en/developing/architecture/storage.md, epic #7973): every module owner exports `storage_schema()` from its bus crate, behind an opt-in `storage` feature, so the host composes `storage::schema` from the contracts instead of linking implementation crates. The edge is the tinystoragedrivers ports crate only, never an implementation crate. tinystoragedrivers-core still carries async-trait/tokio/zstd in its own closure, which is not approved contract vocabulary: recorded for contract-boundary review, to be removed by splitting a ports-only crate out of tinystoragedrivers upstream."
++ "package": "tinystoragedrivers-types",
++ "reason": "Storage schema contract (docs/gitbooks/en/developing/architecture/storage.md, epic #7973): every module owner exports `storage_schema()` from its bus crate, behind an opt-in `storage` feature, so the host composes `storage::schema` from the contracts instead of linking implementation crates. The edge is the tinystoragedrivers ports crate only, never an implementation crate. tinystoragedrivers-types is data-only and contains no engine or runtime behavior."
+ },
+ {
+ "scope": "tinymcp-bus",
- "package": "tinystoragedrivers-core",
- "reason": "Storage schema contract (docs/gitbooks/en/developing/architecture/storage.md, epic #7973): every module owner exports `storage_schema()` from its bus crate, behind an opt-in `storage` feature, so the host composes `storage::schema` from the contracts instead of linking implementation crates. The edge is the tinystoragedrivers ports crate only, never an implementation crate. tinystoragedrivers-core still carries async-trait/tokio/zstd in its own closure, which is not approved contract vocabulary: recorded for contract-boundary review, to be removed by splitting a ports-only crate out of tinystoragedrivers upstream."
++ "package": "tinystoragedrivers-types",
++ "reason": "Storage schema contract (docs/gitbooks/en/developing/architecture/storage.md, epic #7973): every module owner exports `storage_schema()` from its bus crate, behind an opt-in `storage` feature, so the host composes `storage::schema` from the contracts instead of linking implementation crates. The edge is the tinystoragedrivers ports crate only, never an implementation crate. tinystoragedrivers-types is data-only and contains no engine or runtime behavior."
+ },
+ {
+ "scope": "tinychannels-bus",
- "package": "tinystoragedrivers-core",
- "reason": "Storage schema contract (docs/gitbooks/en/developing/architecture/storage.md, epic #7973): every module owner exports `storage_schema()` from its bus crate, behind an opt-in `storage` feature, so the host composes `storage::schema` from the contracts instead of linking implementation crates. The edge is the tinystoragedrivers ports crate only, never an implementation crate. tinystoragedrivers-core still carries async-trait/tokio/zstd in its own closure, which is not approved contract vocabulary: recorded for contract-boundary review, to be removed by splitting a ports-only crate out of tinystoragedrivers upstream."
++ "package": "tinystoragedrivers-types",
++ "reason": "Storage schema contract (docs/gitbooks/en/developing/architecture/storage.md, epic #7973): every module owner exports `storage_schema()` from its bus crate, behind an opt-in `storage` feature, so the host composes `storage::schema` from the contracts instead of linking implementation crates. The edge is the tinystoragedrivers ports crate only, never an implementation crate. tinystoragedrivers-types is data-only and contains no engine or runtime behavior."
+ },
+ {
+ "scope": "tinywallet-bus",
- "package": "tinystoragedrivers-core",
- "reason": "Storage schema contract (docs/gitbooks/en/developing/architecture/storage.md, epic #7973): every module owner exports `storage_schema()` from its bus crate, behind an opt-in `storage` feature, so the host composes `storage::schema` from the contracts instead of linking implementation crates. The edge is the tinystoragedrivers ports crate only, never an implementation crate. tinystoragedrivers-core still carries async-trait/tokio/zstd in its own closure, which is not approved contract vocabulary: recorded for contract-boundary review, to be removed by splitting a ports-only crate out of tinystoragedrivers upstream."
++ "package": "tinystoragedrivers-types",
++ "reason": "Storage schema contract (docs/gitbooks/en/developing/architecture/storage.md, epic #7973): every module owner exports `storage_schema()` from its bus crate, behind an opt-in `storage` feature, so the host composes `storage::schema` from the contracts instead of linking implementation crates. The edge is the tinystoragedrivers ports crate only, never an implementation crate. tinystoragedrivers-types is data-only and contains no engine or runtime behavior."
+ },
+ {
+ "scope": "tinymemes-bus",
- "package": "tinystoragedrivers-core",
- "reason": "Storage schema contract (docs/gitbooks/en/developing/architecture/storage.md, epic #7973): every module owner exports `storage_schema()` from its bus crate, behind an opt-in `storage` feature, so the host composes `storage::schema` from the contracts instead of linking implementation crates. The edge is the tinystoragedrivers ports crate only, never an implementation crate. tinystoragedrivers-core still carries async-trait/tokio/zstd in its own closure, which is not approved contract vocabulary: recorded for contract-boundary review, to be removed by splitting a ports-only crate out of tinystoragedrivers upstream."
++ "package": "tinystoragedrivers-types",
++ "reason": "Storage schema contract (docs/gitbooks/en/developing/architecture/storage.md, epic #7973): every module owner exports `storage_schema()` from its bus crate, behind an opt-in `storage` feature, so the host composes `storage::schema` from the contracts instead of linking implementation crates. The edge is the tinystoragedrivers ports crate only, never an implementation crate. tinystoragedrivers-types is data-only and contains no engine or runtime behavior."
+ },
+ {
+ "scope": "tinyeventqueues-bus",
- "package": "tinystoragedrivers-core",
- "reason": "Storage schema contract (docs/gitbooks/en/developing/architecture/storage.md, epic #7973): every module owner exports `storage_schema()` from its bus crate, behind an opt-in `storage` feature, so the host composes `storage::schema` from the contracts instead of linking implementation crates. The edge is the tinystoragedrivers ports crate only, never an implementation crate. tinystoragedrivers-core still carries async-trait/tokio/zstd in its own closure, which is not approved contract vocabulary: recorded for contract-boundary review, to be removed by splitting a ports-only crate out of tinystoragedrivers upstream."
++ "package": "tinystoragedrivers-types",
++ "reason": "Storage schema contract (docs/gitbooks/en/developing/architecture/storage.md, epic #7973): every module owner exports `storage_schema()` from its bus crate, behind an opt-in `storage` feature, so the host composes `storage::schema` from the contracts instead of linking implementation crates. The edge is the tinystoragedrivers ports crate only, never an implementation crate. tinystoragedrivers-types is data-only and contains no engine or runtime behavior."
+ },
+ {
+ "scope": "tinybox-bus",
- "package": "tinystoragedrivers-core",
- "reason": "Storage schema contract (docs/gitbooks/en/developing/architecture/storage.md, epic #7973): every module owner exports `storage_schema()` from its bus crate, behind an opt-in `storage` feature, so the host composes `storage::schema` from the contracts instead of linking implementation crates. The edge is the tinystoragedrivers ports crate only, never an implementation crate. tinystoragedrivers-core still carries async-trait/tokio/zstd in its own closure, which is not approved contract vocabulary: recorded for contract-boundary review, to be removed by splitting a ports-only crate out of tinystoragedrivers upstream."
++ "package": "tinystoragedrivers-types",
++ "reason": "Storage schema contract (docs/gitbooks/en/developing/architecture/storage.md, epic #7973): every module owner exports `storage_schema()` from its bus crate, behind an opt-in `storage` feature, so the host composes `storage::schema` from the contracts instead of linking implementation crates. The edge is the tinystoragedrivers ports crate only, never an implementation crate. tinystoragedrivers-types is data-only and contains no engine or runtime behavior."
}
],
"excludedSubsystems": [