Skip to content

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

build(deps): vendor tinystoragedrivers and patch it to a local path

Steven Enamakel05f6f30493b4
diff --git a/.gitmodules b/.gitmodules
index 1a4b6bf600..02077bd8f0 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -60,3 +60,7 @@
[submodule "vendor/tinymemes"]
path = vendor/tinymemes
url = https://github.com/tinyhumansai/tinymemes.git
+[submodule "vendor/tinystoragedrivers"]
+ path = vendor/tinystoragedrivers
+ url = https://github.com/tinyhumansai/tinystoragedrivers.git
+ branch = main
diff --git a/Cargo.lock b/Cargo.lock
index 44f28b01bb..e775591de1 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -9613,7 +9613,6 @@ dependencies = [
[[package]]
name = "tinystoragedrivers"
version = "0.11.0"
-source = "git+https://github.com/tinyhumansai/tinystoragedrivers?tag=v0.11.0#9eeef54aea403ac07461a612189bdf4982782823"
dependencies = [
"tinystoragedrivers-core",
"tinystoragedrivers-file",
@@ -9626,7 +9625,6 @@ dependencies = [
[[package]]
name = "tinystoragedrivers-bus"
version = "0.11.0"
-source = "git+https://github.com/tinyhumansai/tinystoragedrivers?tag=v0.11.0#9eeef54aea403ac07461a612189bdf4982782823"
dependencies = [
"serde",
"serde_json",
@@ -9636,7 +9634,6 @@ dependencies = [
[[package]]
name = "tinystoragedrivers-busproxy"
version = "0.11.0"
-source = "git+https://github.com/tinyhumansai/tinystoragedrivers?tag=v0.11.0#9eeef54aea403ac07461a612189bdf4982782823"
dependencies = [
"async-trait",
"serde",
@@ -9651,7 +9648,6 @@ dependencies = [
[[package]]
name = "tinystoragedrivers-client"
version = "0.11.0"
-source = "git+https://github.com/tinyhumansai/tinystoragedrivers?tag=v0.11.0#9eeef54aea403ac07461a612189bdf4982782823"
dependencies = [
"async-trait",
"serde",
@@ -9665,7 +9661,6 @@ dependencies = [
[[package]]
name = "tinystoragedrivers-core"
version = "0.11.0"
-source = "git+https://github.com/tinyhumansai/tinystoragedrivers?tag=v0.11.0#9eeef54aea403ac07461a612189bdf4982782823"
dependencies = [
"async-trait",
"serde",
@@ -9677,7 +9672,6 @@ dependencies = [
[[package]]
name = "tinystoragedrivers-file"
version = "0.11.0"
-source = "git+https://github.com/tinyhumansai/tinystoragedrivers?tag=v0.11.0#9eeef54aea403ac07461a612189bdf4982782823"
dependencies = [
"async-trait",
"libc",
@@ -9690,7 +9684,6 @@ dependencies = [
[[package]]
name = "tinystoragedrivers-mongodb"
version = "0.11.0"
-source = "git+https://github.com/tinyhumansai/tinystoragedrivers?tag=v0.11.0#9eeef54aea403ac07461a612189bdf4982782823"
dependencies = [
"async-trait",
"futures-util",
@@ -9705,7 +9698,6 @@ dependencies = [
[[package]]
name = "tinystoragedrivers-s3"
version = "0.11.0"
-source = "git+https://github.com/tinyhumansai/tinystoragedrivers?tag=v0.11.0#9eeef54aea403ac07461a612189bdf4982782823"
dependencies = [
"bytes",
"futures-util",
@@ -9720,7 +9712,6 @@ dependencies = [
[[package]]
name = "tinystoragedrivers-secrets"
version = "0.11.0"
-source = "git+https://github.com/tinyhumansai/tinystoragedrivers?tag=v0.11.0#9eeef54aea403ac07461a612189bdf4982782823"
dependencies = [
"async-trait",
"atomicwrites",
@@ -9744,7 +9735,6 @@ dependencies = [
[[package]]
name = "tinystoragedrivers-sqlite"
version = "0.11.0"
-source = "git+https://github.com/tinyhumansai/tinystoragedrivers?tag=v0.11.0#9eeef54aea403ac07461a612189bdf4982782823"
dependencies = [
"rusqlite",
"serde_json",
@@ -12143,3 +12133,7 @@ checksum = "27bc9d5b815bc103f142aa054f561d9187d191692ec7c2d1e2b4737f8dbd7296"
dependencies = [
"zune-core",
]
+
+[[patch.unused]]
+name = "tinystoragedrivers-tinybus"
+version = "0.11.0"
diff --git a/Cargo.toml b/Cargo.toml
index 3bebbcc421..7f0440c1ab 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -63,6 +63,25 @@ tinybus = { path = "vendor/tinybus/crates/tinybus" }
tinybus-macros = { path = "vendor/tinybus/crates/tinybus-macros" }
tinybus-module = { path = "vendor/tinybus/crates/tinybus-module" }
+[patch."https://github.com/tinyhumansai/tinystoragedrivers"]
+# One editable checkout every module resolves onto: each vendor/tiny* manifest
+# names tinystoragedrivers by git tag, and this redirects them all to
+# vendor/tinystoragedrivers. This reverses #7754's removal of the patch on
+# purpose. The vendored commit must stay semver-compatible with the tag modules
+# declare; scripts/ci/check-storage-owner.mjs enforces that every tsd package
+# resolves to a path under vendor/tinystoragedrivers/.
+tinystoragedrivers = { path = "vendor/tinystoragedrivers/crates/tinystoragedrivers" }
+tinystoragedrivers-bus = { path = "vendor/tinystoragedrivers/crates/tinystoragedrivers-bus" }
+tinystoragedrivers-busproxy = { path = "vendor/tinystoragedrivers/crates/tinystoragedrivers-busproxy" }
+tinystoragedrivers-client = { path = "vendor/tinystoragedrivers/crates/tinystoragedrivers-client" }
+tinystoragedrivers-core = { path = "vendor/tinystoragedrivers/crates/tinystoragedrivers-core" }
+tinystoragedrivers-file = { path = "vendor/tinystoragedrivers/crates/tinystoragedrivers-file" }
+tinystoragedrivers-mongodb = { path = "vendor/tinystoragedrivers/crates/tinystoragedrivers-mongodb" }
+tinystoragedrivers-s3 = { path = "vendor/tinystoragedrivers/crates/tinystoragedrivers-s3" }
+tinystoragedrivers-secrets = { path = "vendor/tinystoragedrivers/crates/tinystoragedrivers-secrets" }
+tinystoragedrivers-sqlite = { path = "vendor/tinystoragedrivers/crates/tinystoragedrivers-sqlite" }
+tinystoragedrivers-tinybus = { path = "vendor/tinystoragedrivers/crates/tinystoragedrivers-tinybus" }
+
[patch."https://github.com/tinyhumansai/tinyinference"]
# tinymemes depends on the Jev client by git; resolve it to the vendored copy.
tinyinference-decisions = { path = "vendor/tinyagents/vendor/tinyinference/crates/tinyinference-decisions" }
diff --git a/crates/openhuman-app/Cargo.toml b/crates/openhuman-app/Cargo.toml
index d31f3276cc..5572f96f95 100644
--- a/crates/openhuman-app/Cargo.toml
+++ b/crates/openhuman-app/Cargo.toml
@@ -311,6 +311,25 @@ tinyinference-voice = { path = "../../vendor/tinyagents/vendor/tinyinference/cra
# `Connection`) instead of a second one compiled only for the storage wire types.
tinybus = { path = "../../vendor/tinybus/crates/tinybus" }
+[patch."https://github.com/tinyhumansai/tinystoragedrivers"]
+# One editable checkout every module resolves onto: each vendor/tiny* manifest
+# names tinystoragedrivers by git tag, and this redirects them all to
+# vendor/tinystoragedrivers. This reverses #7754's removal of the patch on
+# purpose. The vendored commit must stay semver-compatible with the tag modules
+# declare; scripts/ci/check-storage-owner.mjs enforces that every tsd package
+# resolves to a path under vendor/tinystoragedrivers/.
+tinystoragedrivers = { path = "../../vendor/tinystoragedrivers/crates/tinystoragedrivers" }
+tinystoragedrivers-bus = { path = "../../vendor/tinystoragedrivers/crates/tinystoragedrivers-bus" }
+tinystoragedrivers-busproxy = { path = "../../vendor/tinystoragedrivers/crates/tinystoragedrivers-busproxy" }
+tinystoragedrivers-client = { path = "../../vendor/tinystoragedrivers/crates/tinystoragedrivers-client" }
+tinystoragedrivers-core = { path = "../../vendor/tinystoragedrivers/crates/tinystoragedrivers-core" }
+tinystoragedrivers-file = { path = "../../vendor/tinystoragedrivers/crates/tinystoragedrivers-file" }
+tinystoragedrivers-mongodb = { path = "../../vendor/tinystoragedrivers/crates/tinystoragedrivers-mongodb" }
+tinystoragedrivers-s3 = { path = "../../vendor/tinystoragedrivers/crates/tinystoragedrivers-s3" }
+tinystoragedrivers-secrets = { path = "../../vendor/tinystoragedrivers/crates/tinystoragedrivers-secrets" }
+tinystoragedrivers-sqlite = { path = "../../vendor/tinystoragedrivers/crates/tinystoragedrivers-sqlite" }
+tinystoragedrivers-tinybus = { path = "../../vendor/tinystoragedrivers/crates/tinystoragedrivers-tinybus" }
+
[patch.crates-io]
# Keep reqwest defaults disabled in this independent Cargo world too. Without
# this patch, the registry release reintroduces native-tls/OpenSSL on Linux.
diff --git a/vendor/tinystoragedrivers b/vendor/tinystoragedrivers
new file mode 160000
index 0000000000..9eeef54aea
--- /dev/null
+++ b/vendor/tinystoragedrivers
@@ -0,0 +1 @@
+Subproject commit 9eeef54aea403ac07461a612189bdf4982782823