The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore(docs): clarify feature-gating and dependency notes\n\nUpdated the Cargo.toml comment for the tinywallet dependency to explain that the web3 feature is off in the contributor default set and on in the product set, so a bare cargo check does not pay for it. Refined the registry.rs doc comment to state that the binary does not link the root tinywallet crate at all, only the tinywallet-bus contract crate, and updated the btc.rs test comment to clarify that the derived address comes from the root tinywallet crate running inside the wallet module in production.\n\nAuto-committed-on: dragonfly\n
Steven Enamakel91aeb7207c04
diff --git a/Cargo.toml b/Cargo.tomlindex b1b8d303d0..06703e0bbd 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -523,7 +523,10 @@ tinyhosts = { path = "vendor/tinyhosts", default-features = false, features = ["# published to crates.io, so there is no `[patch.crates-io]` entry for it.# After cloning: `git submodule update --init vendor/tinywallet`.#-# Optional: exclusive to the default-ON `web3` feature.+# Optional: exclusive to the `web3` feature — OFF in the contributor set+# (`[features] default`) and ON in the product set+# (`scripts/ci/product-features.txt`), so it ships but a bare `cargo check` does+# not pay for it. See the two-set note above `default`.## Taken as `tinywallet-bus`, the contract crate, and NOT the root `tinywallet`# crate. The root crate is where key derivation, transaction building, signingdiff --git a/src/openhuman/modules/registry.rs b/src/openhuman/modules/registry.rsindex 280ee9a53e..7db56d9483 100644--- a/src/openhuman/modules/registry.rs+++ b/src/openhuman/modules/registry.rs@@ -105,8 +105,10 @@ const TINYDOCS: ModuleRecord = ModuleRecord {////// **This host sends it the recovery phrase, over confidential calls, and never/// derives or signs itself.** All four chains — Bitcoin, EVM, Solana and Tron —-/// derive and sign inside the module. This binary links neither `tinywallet`'s-/// `key` feature nor `k256`; see the note on the `tinywallet` dependency.+/// derive and sign inside the module. This binary does not link the root+/// `tinywallet` crate at all — it takes `tinywallet-bus`, the wire contract,+/// which carries no `key` gate — nor does it link `k256`; see the note on the+/// `tinywallet-bus` dependency.////// The phrase is only sent to a module tinybus has attested *and* whose digest/// matches one of the entries below — `super::wallet::attested_proxy` checksdiff --git a/src/openhuman/web3/wallet/chains/btc.rs b/src/openhuman/web3/wallet/chains/btc.rsindex 40f831e10a..3230dcf675 100644--- a/src/openhuman/web3/wallet/chains/btc.rs+++ b/src/openhuman/web3/wallet/chains/btc.rs@@ -664,8 +664,10 @@ mod tests {assert!(matches!(pubkey[0], 0x02 | 0x03));// The known-good vector for this mnemonic and path, unchanged by the- // move off the `bitcoin` crate. Derived through `tinywallet`, which is- // the same code the address in `execute_btc_quote` comes from.+ // move off the `bitcoin` crate. Derived through the root `tinywallet`+ // crate, which is the same code that produces the address in+ // `execute_btc_quote` — in production it runs inside the wallet module+ // rather than here, but it is the same crate and the same walk.let derived =tinywallet::key::derive(tinywallet::Chain::Btc, mnemonic, "m/84'/0'/0'/0/0").unwrap();assert_eq!(