Skip to content

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

build(deps): add shared tinytools path dependency

Steven Enamakelbfd2c09d287e
diff --git a/Cargo.toml b/Cargo.toml
index 58e36ceb53..0d953f3169 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -175,6 +175,22 @@ tinyflows = { version = "0.8", features = ["mock"], optional = true }
# profile, so turning it on moves neither the package count nor the native
# build count that `scripts/check-kernel-floor.sh` ratchets.
tinyagents = { version = "2.1", features = ["sqlite", "multimodal"] }
+# TinyTools — the tool vocabulary: the `Tool` trait, `ToolResult`, and the
+# permission / scope / timeout classifications this host enforces around a call.
+#
+# Reached through tinyagents' own vendored checkout **on purpose**, not through
+# a second `vendor/tinytools` submodule of our own. Two path dependencies on
+# the same repository are two distinct packages to cargo, and
+# `tinytools::ToolResult` from one would not be the same type as from the
+# other — every tool in this crate would stop satisfying the harness's trait,
+# with a type error that names the same path twice. tinyagents declares
+# `vendor/tinytools/crates/tinytools` relative to itself, so naming that exact
+# path here resolves to one package.
+#
+# No `[patch.crates-io]` entry: the crate is not published, so the path is the
+# whole address — the same arrangement as `tinyhumans-sdk` and the `-bus`
+# crates. After cloning: `git submodule update --init --recursive vendor/`.
+tinytools = { path = "vendor/tinyagents/vendor/tinytools/crates/tinytools" }
# TinyCortex — Rust core for the memory engine (store/chunks/tree/retrieval/
# queue/ingest/score + long tail), vendored as a git submodule and patched
# below to `vendor/tinycortex`. OpenHuman's memory subsystem migrates onto this
diff --git a/app/src-tauri/Cargo.toml b/app/src-tauri/Cargo.toml
index c24f39bb5d..a2716f9647 100644
--- a/app/src-tauri/Cargo.toml
+++ b/app/src-tauri/Cargo.toml
@@ -296,6 +296,10 @@ motosan-ai-oauth = { path = "../../vendor/motosan-ai-oauth" }
# released tag) — same patch as the root Cargo world so both resolve the
# in-tree SDK source. `git submodule update --init vendor/tinyagents` first.
tinyagents = { path = "../../vendor/tinyagents" }
+# TinyTools rides in through tinyagents' own vendored checkout. The path must
+# match the one the core crate names, or cargo resolves two distinct packages
+# and the shell's `dyn Tool` stops being the core's. See the core manifest.
+tinytools = { path = "../../vendor/tinyagents/vendor/tinytools/crates/tinytools" }
# TinyFlows, TinyCortex, TinyChannels, and TinyPlace are vendored beside
# TinyAgents so integration work can test crate changes against OpenHuman before
# publishing.