Skip to content

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

chore(deps): explain why the tinystoragedrivers patch is still needed

Steven Enamakel13a190468f81
diff --git a/Cargo.toml b/Cargo.toml
index 88509a4e26..404f2ed1e8 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -61,10 +61,16 @@ tinytools-agent = { path = "vendor/tinyagents/vendor/tinytools/crates/tinytools-
tinybus = { path = "vendor/tinybus/crates/tinybus" }
[patch."https://github.com/tinyhumansai/tinystoragedrivers"]
-# tinyflows names the storage crates by git tag so it can build on its own.
-# Redirect them to the copy tinyagents vendors — the one the session store and
-# the core `storage` domain link — so there is exactly one `DocumentStore`
-# trait and one `libsqlite3-sys` (`links = "sqlite3"`) in the graph.
+# tinyflows (tinyflows-drivers, tinyflows-import) names the storage crates by
+# git tag (v0.7.0, the version tinyagents vendors) so it can build on its own,
+# and its published `tinyflows` crate cannot carry a path or crates.io
+# dependency on them (tinystoragedrivers is not on crates.io). A git source and a
+# path source are different packages to cargo even at the same commit, so
+# without this redirect to the copy tinyagents vendors — the one the session
+# store and the core `storage` domain link — the graph would hold two
+# `DocumentStore` traits and two `libsqlite3-sys` (`links = "sqlite3"`). The pins
+# now agree on v0.7.0, but the sources still differ, so the patch stays until
+# tinyflows takes the storage crates from the same source as tinyagents.
tinystoragedrivers-core = { path = "vendor/tinyagents/vendor/tinystoragedrivers/crates/tinystoragedrivers-core" }
tinystoragedrivers-sqlite = { path = "vendor/tinyagents/vendor/tinystoragedrivers/crates/tinystoragedrivers-sqlite" }
diff --git a/crates/openhuman-app/Cargo.toml b/crates/openhuman-app/Cargo.toml
index 531751bcad..03cd7556fd 100644
--- a/crates/openhuman-app/Cargo.toml
+++ b/crates/openhuman-app/Cargo.toml
@@ -309,9 +309,10 @@ tinyinference-voice = { path = "../../vendor/tinyagents/vendor/tinyinference/cra
tinybus = { path = "../../vendor/tinybus/crates/tinybus" }
[patch."https://github.com/tinyhumansai/tinystoragedrivers"]
-# tinyflows names the storage crates by git tag; redirect them to the copy
-# tinyagents vendors so this world links one `DocumentStore` trait and one
-# `libsqlite3-sys`. Mirrors the root Cargo.toml.
+# tinyflows names the storage crates by git tag (v0.7.0); redirect them to the
+# copy tinyagents vendors so this world links one `DocumentStore` trait and one
+# `libsqlite3-sys`. Still needed although the versions agree: a git and a path
+# source are distinct packages. Mirrors the root Cargo.toml.
tinystoragedrivers-core = { path = "../../vendor/tinyagents/vendor/tinystoragedrivers/crates/tinystoragedrivers-core" }
tinystoragedrivers-sqlite = { path = "../../vendor/tinyagents/vendor/tinystoragedrivers/crates/tinystoragedrivers-sqlite" }