Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
e997866
chore(modules): finish the TinyBox v0.2.1 re-pin
M3gA-Mind Oct 23, 2026
4256667
chore(modules): re-pin TinyMCP to v0.20.2
M3gA-Mind Oct 23, 2026
0012fb8
chore(app): bring tinydocs-bus to 0.2.5 in the app lockfile
M3gA-Mind Oct 23, 2026
c5f7659
chore(modules): re-pin TinyHosts to v0.4.3
M3gA-Mind Oct 23, 2026
0079592
chore(modules): re-pin TinySearch to v0.5.3
M3gA-Mind Oct 23, 2026
413b9bc
chore(modules): re-pin TinyChannels to v0.1.40
M3gA-Mind Oct 23, 2026
c98f47d
chore(modules): re-pin TinyJuice to v0.11.3
M3gA-Mind Oct 23, 2026
3774866
chore(modules): re-pin TinyWallet to v0.26.0
M3gA-Mind Oct 23, 2026
034565f
chore(modules): re-pin TinyConnectors to v0.22.0
M3gA-Mind Oct 23, 2026
cfa1aef
chore(modules): re-pin TinyVoice to v0.4.0
M3gA-Mind Oct 23, 2026
d76740a
chore(deps): lock TinyVoice v0.4.0's new dependencies
M3gA-Mind Oct 23, 2026
3454217
test(module-pins): drop two attestations of exemptions that no longer…
M3gA-Mind Oct 23, 2026
ea5cb15
Merge remote-tracking branch 'upstream/main' into chore/module-releas…
M3gA-Mind Oct 23, 2026
7b10218
test(modules): move the TinyChannels and TinyVoice manifest tests to …
M3gA-Mind Oct 23, 2026
eef70dc
chore(modules): re-pin TinyComputer to v0.15.1
M3gA-Mind Oct 23, 2026
248e393
chore(modules): re-pin TinyFlows to v0.9.0
M3gA-Mind Oct 23, 2026
a2def99
test(flows): gate the published-module e2e tests on the v0.9.0 libraries
M3gA-Mind Oct 23, 2026
2e22168
chore(modules): re-pin TinyEventQueues to v0.2.1 and send it its stor…
M3gA-Mind Oct 23, 2026
fcc7d77
chore(deps): lock TinyComputer v0.15.1's dependency changes
M3gA-Mind Oct 23, 2026
1048107
fix(modules): keep the TinyFlows record in its released host order
M3gA-Mind Oct 23, 2026
966fd23
fix(ci): allowlist the release-manifest tests and rustfmt the storage…
M3gA-Mind Oct 24, 2026
091c601
fix(inbound): serve host storage to the linked TinyEventQueues fixture
M3gA-Mind Oct 24, 2026
fa49607
fix(modules): grant TinyConnectors the v1 preferences its migration r…
M3gA-Mind Oct 24, 2026
90047f0
test(modules): every generated grant reaches each collection its owne…
M3gA-Mind Oct 24, 2026
b3aee66
fix(composio): give the module tests a memory backend, not SQLite
M3gA-Mind Oct 24, 2026
a7f7c62
test(composio): take the module guard in the two connected-integratio…
M3gA-Mind Oct 24, 2026
5166ecb
Merge upstream main into chore/module-release-repin-2026-10-23
M3gA-Mind Oct 24, 2026
1702b18
test(credentials): take the module lock without the test storage
M3gA-Mind Oct 24, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
507 changes: 322 additions & 185 deletions Cargo.lock

Large diffs are not rendered by default.

21 changes: 11 additions & 10 deletions crates/openhuman-app/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions crates/openhuman-core/src/hosting/hosting_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,14 +185,14 @@ fn tool_declarations_match_the_released_module_contract() {
#[test]
fn the_module_registry_pins_the_released_hosts_artifact_set() {
let record = crate::modules::registry::find("tinyhosts").expect("registered module");
assert_eq!(record.version, "0.4.1");
assert_eq!(record.assets.len(), 11);
assert_eq!(record.version, "0.4.3");
assert_eq!(record.assets.len(), 17);
assert!(record.assets.iter().all(|asset| {
asset.archive.starts_with("tinyhosts-0.4.1-") && asset.sha256.len() == 64
asset.archive.starts_with("tinyhosts-0.4.3-") && asset.sha256.len() == 64
}));
assert_eq!(
record.asset_for("ubuntu-24.04-x86_64").unwrap().sha256,
"7e8a72b7951db71cc98c94fed0908660a58bd3f2cbf23103d953e28e1315d4d5"
"70da542ec03e90485c84b8ef1f75867b15f09292ac941d3a457be8bec410f6bc"
);
}

Expand Down
18 changes: 18 additions & 0 deletions crates/openhuman-core/src/inbound/linked_fixture.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ use tinybus::transport::memory::MemoryBus;
use tinybus::{Connection, ObjectPath};
use tinyeventqueues_bus::names;
use tinyeventqueues_bus::storage::SHIPPED_PIPELINE_JSON;
use tinystoragedrivers_api::StorageBackend;
use tinystoragedrivers_busproxy::{PerCallerEndpoint, ServedStorage, StorageServer};
use tinystoragedrivers_testkit::MemoryBackend;

use super::deliver::Deliverer;
use super::host::InboundHost;
Expand Down Expand Up @@ -297,6 +300,7 @@ pub(crate) struct Rig {
/// The triage the host callbacks run.
pub(crate) triage: Arc<ScriptedTriage>,
_host: Connection,
_storage: ServedStorage,
_modules: ModuleHost,
}

Expand Down Expand Up @@ -344,12 +348,25 @@ impl Rig {
.await
.unwrap();
host.request_name(names::host::INTERFACE).await.unwrap();
// The module keeps its queues in host storage and refuses to set up
// without it, so the rig serves the Storage service from memory.
let backend = Arc::new(MemoryBackend::new());
let storage = tinystoragedrivers_busproxy::serve(
&host,
Arc::new(PerCallerEndpoint::new(move |_caller| {
let storage = backend.for_scope(&crate::storage::Scope::local()).ok()?;
Some(StorageServer::new(storage))
})),
)
.await
.unwrap();

let modules = ModuleHost::new(broker);
modules
.attach_linked_with_config(
tinyeventqueues::linked_module().unwrap(),
json!({
"storage_callback": tinystoragedrivers_bus::STORAGE_INTERFACE,
"pipeline": pipeline,
"timer": { "min_interval_ms": 5, "max_interval_ms": 25 },
}),
Expand All @@ -373,6 +390,7 @@ impl Rig {
client: crate::modules::ops::fixture_client(proxy),
triage,
_host: host,
_storage: storage,
_modules: modules,
}
}
Expand Down
4 changes: 4 additions & 0 deletions crates/openhuman-core/src/inbound/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,11 @@ pub fn module_config(config: &Config) -> Value {
"[inbound] configuring the tinyeventqueues module"
);
let resolved = remember(resolved);
// The module keeps its queues in host storage and refuses to load without
// the bus name that serves it; the host still derives the scope and grant
// from the authenticated caller, never from this value.
json!({
"storage_callback": tinystoragedrivers_bus::STORAGE_INTERFACE.to_string(),
Comment thread
M3gA-Mind marked this conversation as resolved.
Resolved
"queues": resolved.queues_json,
"pipeline": resolved.pipeline_json,
})
Expand Down
5 changes: 5 additions & 0 deletions crates/openhuman-core/src/inbound/settings_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ async fn the_module_config_is_what_the_storage_grant_declares() {
config.inbound.queues_path = Some(queues.path().to_path_buf());

let blob = module_config(&config);
// The module refuses to load without the bus name serving its storage.
assert_eq!(
blob["storage_callback"],
"ai.tinyhumans.tinystorage.Storage"
);
assert_eq!(blob["queues"]["queues"][0]["max_attempts"], 4);
assert_eq!(blob["pipeline"]["version"], 1);
let grant = queue_grant().unwrap();
Expand Down
29 changes: 28 additions & 1 deletion crates/openhuman-core/src/integrations/composio/module_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -311,9 +311,36 @@ pub async fn call_bare<Reply: serde::de::DeserializeOwned>(
#[cfg(test)]
pub(crate) static MODULE_LOCK: tokio::sync::Mutex<()> = tokio::sync::Mutex::const_new(());

/// The module lock, and the storage the module keeps its preferences in.
#[cfg(test)]
pub(crate) struct ModuleGuard {
// Fields drop in order: the previous storage slot comes back before the
// next test may take the module.
_storage: crate::storage::test_support::InstalledBackendGuard,
_lock: tokio::sync::MutexGuard<'static, ()>,
}

/// Take the module lock for the rest of the test.
///
/// The module refuses a preference call when the host serves no storage, and
/// a module call carries no workspace for the host to fall back to, so the
/// guard installs storage as a booted host has it (memory, the one driver
/// every build has), restored on drop.
#[cfg(test)]
pub(crate) async fn module_guard() -> ModuleGuard {
let lock = module_lock_guard().await;
ModuleGuard {
_storage: crate::storage::test_support::install_backend_for_test(
crate::storage::test_support::memory_backend(),
),
_lock: lock,
}
}

/// The module lock without [`module_guard`]'s storage, for tests of the
/// process keyring: an installed backend moves user secrets into storage.
#[cfg(test)]
pub(crate) async fn module_guard() -> tokio::sync::MutexGuard<'static, ()> {
pub(crate) async fn module_lock_guard() -> tokio::sync::MutexGuard<'static, ()> {
// Tests that take the module drive its backend mode against a local mock;
// give this thread the stand-in route a host would register.
super::test_backend_route::register();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ async fn offline_local_session_never_fetches_hosted_integrations() {

#[tokio::test]
async fn fetch_connected_integrations_via_mock_aggregates_tools() {
crate::integrations::composio::test_backend_route::register();
// The connection list asks the module, which keeps preferences in storage.
let _serialised = module_guard().await;
let _guard = cache_guard_async().await;
// Connections: gmail + notion. Tools: filtered to those toolkits
// and prefixed with the uppercased slug. The toolkits route
Expand Down Expand Up @@ -91,7 +92,8 @@ async fn fetch_connected_integrations_via_mock_aggregates_tools() {

#[tokio::test]
async fn fetch_connected_integrations_treats_slack_and_telegram_status_like_ui() {
crate::integrations::composio::test_backend_route::register();
// The connection list asks the module, which keeps preferences in storage.
let _serialised = module_guard().await;
let _guard = cache_guard_async().await;
let app = Router::new()
.route(
Expand Down
72 changes: 36 additions & 36 deletions crates/openhuman-core/src/modules/registry/records_computer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,96 +8,96 @@ pub(crate) const TINYCOMPUTER: ModuleRecord = ModuleRecord {
description: "Permission-aware desktop and browser observation and control",
bus_name: names::INTERFACE,
object_path: names::OBJECT_PATH,
version: "0.15.0",
release_url: "https://github.com/tinyhumansai/tinycomputer/releases/tag/v0.15.0",
version: "0.15.1",
release_url: "https://github.com/tinyhumansai/tinycomputer/releases/tag/v0.15.1",
// All seventeen published archives were checked against checksum.toml
// and GitHub asset digests before pinning. Linux permission probes are
// part of the shipped voice surface alongside macOS and Windows.
assets: &[
PlatformAsset {
host_key: "archlinux-arm64",
archive: "tinycomputer-0.15.0-archlinux-arm64.tar.gz",
sha256: "9594283a45e3f99179e4a578fee7f9f534c79079d64a66f7509dd2af2ba29540",
archive: "tinycomputer-0.15.1-archlinux-arm64.tar.gz",
sha256: "6ad069503afe943824ae566a2057d2c3494d080f3c545ebd9c43b46648f09821",
},
PlatformAsset {
host_key: "archlinux-x86_64",
archive: "tinycomputer-0.15.0-archlinux-x86_64.tar.gz",
sha256: "47f7ef561b52ea268209f760217812ae289a25c9aa9b32494b1626a90f7c8d7e",
archive: "tinycomputer-0.15.1-archlinux-x86_64.tar.gz",
sha256: "5056d62922f5ef240b4d98fb1ceaf32cb12872e1505e18b5b716daf71ec7cf07",
},
PlatformAsset {
host_key: "fedora-43-arm64",
archive: "tinycomputer-0.15.0-fedora-43-arm64.tar.gz",
sha256: "14ee1251f8c08c6d40f36154bc051f7d4437eceb9bbe859fab20eca19a8a463e",
archive: "tinycomputer-0.15.1-fedora-43-arm64.tar.gz",
sha256: "aa0f965bc364b746ecc9463ad6d0e9aea6ea3c2d12f3c3b9a751802cc8b76e0e",
},
PlatformAsset {
host_key: "fedora-43-x86_64",
archive: "tinycomputer-0.15.0-fedora-43-x86_64.tar.gz",
sha256: "1aba06a3c89c010cf2a185e031ece42303286f705f78b57d6950bc69bfe24337",
archive: "tinycomputer-0.15.1-fedora-43-x86_64.tar.gz",
sha256: "017ce21785624ad5422883060c854af372f62b625fcdd2a3aaef386b52cb9958",
},
PlatformAsset {
host_key: "fedora-44-arm64",
archive: "tinycomputer-0.15.0-fedora-44-arm64.tar.gz",
sha256: "5909114d9ad1298dea846e58fafe87c2d9e2b33f188843858aa6df4bf4d9845b",
archive: "tinycomputer-0.15.1-fedora-44-arm64.tar.gz",
sha256: "3d084b6f73010230ec1b3cd94b92118751094713ec1ee9ec9fe9fcf0379dc882",
},
PlatformAsset {
host_key: "fedora-44-x86_64",
archive: "tinycomputer-0.15.0-fedora-44-x86_64.tar.gz",
sha256: "afed59c358d01e1aff00880c623c8c0aa351b805783f93cb129cfb7912b1718c",
archive: "tinycomputer-0.15.1-fedora-44-x86_64.tar.gz",
sha256: "a4b24930c6b1a8144554f8dd37f5746d4b8fca0f47ba1a36b740f523095f260c",
},
PlatformAsset {
host_key: "macos-15-arm64",
archive: "tinycomputer-0.15.0-macos-15-arm64.tar.gz",
sha256: "c09efc9942a9242d47ea72513f1cc547fe5ff98e5cb1f20615307481965662d5",
archive: "tinycomputer-0.15.1-macos-15-arm64.tar.gz",
sha256: "4f783bdcebc4b16af54aa85b963dda5b0083a2c7c8b20a4b8e9807e1351f9c31",
},
PlatformAsset {
host_key: "macos-15-x86_64",
archive: "tinycomputer-0.15.0-macos-15-x86_64.tar.gz",
sha256: "e0ec88e2d4767388c348dc098980dc4430b78efaac5622fc2c3b106853583119",
archive: "tinycomputer-0.15.1-macos-15-x86_64.tar.gz",
sha256: "58725f5838a3788d6a970b86e91dca5796b84589b1e9b1fd357e9ac6465a9252",
},
PlatformAsset {
host_key: "macos-26-arm64",
archive: "tinycomputer-0.15.0-macos-26-arm64.tar.gz",
sha256: "9bacf2451dc9b1113bd5293f268743048bbe4e92db4f343b9e6a9dadea68249b",
archive: "tinycomputer-0.15.1-macos-26-arm64.tar.gz",
sha256: "ef10caa01120d71b9045d70cca3b559ac95c9d7e05734b8d2215d8e0eb5d0559",
},
PlatformAsset {
host_key: "macos-26-x86_64",
archive: "tinycomputer-0.15.0-macos-26-x86_64.tar.gz",
sha256: "20d4b2db0b3c3c0f816996074ce766618e563bd3f11e5b98c0a7213b28a23c47",
archive: "tinycomputer-0.15.1-macos-26-x86_64.tar.gz",
sha256: "55f93c8f9893055e092c8a3ef711757f3bd76afd38eca84ad70ca47b83c07ebd",
},
PlatformAsset {
host_key: "ubuntu-22.04-arm64",
archive: "tinycomputer-0.15.0-ubuntu-22.04-arm64.tar.gz",
sha256: "8941f58d64fdb5c7e11d5d1ca32ce8db280ee6e976fbcc5b9781a31906565aad",
archive: "tinycomputer-0.15.1-ubuntu-22.04-arm64.tar.gz",
sha256: "f2e37604107fcbac023abf5ca0e54acf556668deb6225bb9a325e119aac4fc13",
},
PlatformAsset {
host_key: "ubuntu-22.04-x86_64",
archive: "tinycomputer-0.15.0-ubuntu-22.04-x86_64.tar.gz",
sha256: "02b4bda6743d83dad400fdc57ed63eecf7c5efe113861a163ad9389d0a619749",
archive: "tinycomputer-0.15.1-ubuntu-22.04-x86_64.tar.gz",
sha256: "4e7ee56bda5a6e4755ac0610f4da22cac71c5df2d3a3321dd83dfd0bc19427df",
},
PlatformAsset {
host_key: "ubuntu-24.04-arm64",
archive: "tinycomputer-0.15.0-ubuntu-24.04-arm64.tar.gz",
sha256: "9d25a2456010cf624480449f70b5763e38cdc8eccbe7a7a1aa6e7e04b9528123",
archive: "tinycomputer-0.15.1-ubuntu-24.04-arm64.tar.gz",
sha256: "88be9bc3f75fc233b286dd18667cd88e5a1f75a40579950b0f5335b1457f83ff",
},
PlatformAsset {
host_key: "ubuntu-24.04-x86_64",
archive: "tinycomputer-0.15.0-ubuntu-24.04-x86_64.tar.gz",
sha256: "c33256574bbffcff991d1da852c10f7ae5b5b838fe94ce70d801bdaa0975e190",
archive: "tinycomputer-0.15.1-ubuntu-24.04-x86_64.tar.gz",
sha256: "cc839ff33bec552e8e1550a203f914af70772258d2070929e45b57cd8a00e9bb",
},
PlatformAsset {
host_key: "windows-11-arm64",
archive: "tinycomputer-0.15.0-windows-11-arm64.zip",
sha256: "8791e25d19387aa1ccc8e3252aba2aaae3182e847e36b6da98bf2ab651e2a952",
archive: "tinycomputer-0.15.1-windows-11-arm64.zip",
sha256: "c312551895d5c5e2b2bd9e42d02177e94c637c88ef0f9c1c0e8ae891096d4507",
},
PlatformAsset {
host_key: "windows-2022-x86_64",
archive: "tinycomputer-0.15.0-windows-2022-x86_64.zip",
sha256: "2fe46f2e6d4c1759676e807b74c6353e63dae3d1c4b71e5e7d32c1ddb5cf783c",
archive: "tinycomputer-0.15.1-windows-2022-x86_64.zip",
sha256: "34b11d7bb2e291b853215492f8d8263a353fba42605535e08d2718403129d5f5",
},
PlatformAsset {
host_key: "windows-2025-x86_64",
archive: "tinycomputer-0.15.0-windows-2025-x86_64.zip",
sha256: "930967e93bb9bd00f369bcd1abeaa14d938f252101e6ca69fd5a6127f87a22e4",
archive: "tinycomputer-0.15.1-windows-2025-x86_64.zip",
sha256: "016dfb8b620e6f1582230cf20075d5060e96b84b7bd2b19ad171afedae7e0d5c",
},
],
load: LoadPolicy::Lazy,
Expand Down
Loading
Loading