Skip to content

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

refactor(todo): rename TodoItem to TodoArg for clarity

Steven Enamakel8c56c8f1110d
diff --git a/crates/openhuman-core/src/agent/tools/todo.rs b/crates/openhuman-core/src/agent/tools/todo.rs
index ea569d20c8..c8dc542c01 100644
--- a/crates/openhuman-core/src/agent/tools/todo.rs
+++ b/crates/openhuman-core/src/agent/tools/todo.rs
@@ -65,7 +65,7 @@ impl Default for TodoTool {
/// `pending` / `in_progress` / `completed` plus the older `todo` / `done`
/// spellings the store already parses.
#[derive(Deserialize)]
-struct TodoItem {
+struct TodoArg {
content: String,
#[serde(default)]
status: Option<String>,
@@ -140,7 +140,7 @@ impl TodoTool {
let result = match args.get("todos") {
None | Some(serde_json::Value::Null) => ops::list(&scope).await,
Some(raw) => {
- let items: Vec<TodoItem> = serde_json::from_value(raw.clone())
+ let items: Vec<TodoArg> = serde_json::from_value(raw.clone())
.map_err(|e| anyhow::anyhow!("invalid `todos`: {e}"))?;
let mut todos = Vec::with_capacity(items.len());
for item in items {
diff --git a/vendor/tinymcp b/vendor/tinymcp
index 8b0627d1e0..d3e4561562 160000
--- a/vendor/tinymcp
+++ b/vendor/tinymcp
@@ -1 +1 @@
-Subproject commit 8b0627d1e0054375e3935535fedb5e997194e90a
+Subproject commit d3e4561562c884f64fd5c83c8992fd34742ed2b0