From 12caf4479aa2b9306b34b1d32a82da4bef27449c Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Wed, 22 Jul 2026 17:57:42 +0400 Subject: [PATCH 1/2] fix(deps): unify TinyAgents 2.1 source --- Cargo.lock | 2 +- Cargo.toml | 13 ++++++++++--- vendor/tinyagents | 2 +- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1d87061..cf96fd2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1544,7 +1544,7 @@ dependencies = [ [[package]] name = "tinyagents" -version = "2.0.0" +version = "2.1.0" dependencies = [ "async-trait", "bytes", diff --git a/Cargo.toml b/Cargo.toml index bd1fd0b..57efad3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -64,9 +64,10 @@ serde_json = "1" schemars = "1" sha2 = "0.10" thiserror = "2" -# Kept in lockstep with OpenHuman's vendored TinyAgents checkout. Initialize it -# after cloning with `git submodule update --init vendor/tinyagents`. -tinyagents = { version = "2", path = "vendor/tinyagents" } +# Kept in lockstep with OpenHuman's vendored TinyAgents checkout. Downstream +# workspaces can now replace this crates.io source with their own shared patch, +# preserving a single TinyAgents trait identity across the dependency graph. +tinyagents = "2.1" toml = "0.8" uuid = { version = "1", features = ["serde", "v4"] } walkdir = "2" @@ -101,6 +102,12 @@ tempfile = "3" tokio = { version = "1", features = ["macros", "rt-multi-thread", "sync", "time"] } wiremock = "0.6" +# Standalone TinyCortex development still uses the pinned nested submodule. +# Cargo ignores dependency-local patches when TinyCortex is consumed by a host, +# allowing that host's crates.io patch to select its canonical TinyAgents copy. +[patch.crates-io] +tinyagents = { path = "vendor/tinyagents" } + [[test]] name = "composio_sync_mock" required-features = ["sync"] diff --git a/vendor/tinyagents b/vendor/tinyagents index 674d89f..2583fcc 160000 --- a/vendor/tinyagents +++ b/vendor/tinyagents @@ -1 +1 @@ -Subproject commit 674d89f3dd530c632ed6009afe6a610152fb3611 +Subproject commit 2583fccc213a00f2a3d94744ff1e0d1541368f97 From 18c91e19e5ea31a61cd6a4313d125b90d573b765 Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Wed, 22 Jul 2026 18:59:28 +0400 Subject: [PATCH 2/2] fix(deps): pin TinyAgents 2.1 exactly --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 57efad3..f53e8d2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -67,7 +67,7 @@ thiserror = "2" # Kept in lockstep with OpenHuman's vendored TinyAgents checkout. Downstream # workspaces can now replace this crates.io source with their own shared patch, # preserving a single TinyAgents trait identity across the dependency graph. -tinyagents = "2.1" +tinyagents = "=2.1.0" toml = "0.8" uuid = { version = "1", features = ["serde", "v4"] } walkdir = "2"