The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
feat(commands): add CommandsListResponse struct for consistent list response shape
Steven Enamakel393af5e3d747
diff --git a/crates/openhuman-core/src/commands/types.rs b/crates/openhuman-core/src/commands/types.rsindex 9d8120d19e..ef09e6d7f3 100644--- a/crates/openhuman-core/src/commands/types.rs+++ b/crates/openhuman-core/src/commands/types.rs@@ -32,6 +32,14 @@ pub struct CommandEntry {pub insert: Option<String>,}+/// Wire shape for `commands.list`'s result: `{"commands": [...]}`, matching+/// `skills.list`'s `{"skills": [...]}` / `flows.list`'s `{"flows": [...]}`+/// convention rather than a bare array.+#[derive(Debug, Clone, Serialize, Deserialize)]+pub struct CommandsListResponse {+ pub commands: Vec<CommandEntry>,+}+#[cfg(test)]#[path = "types_tests.rs"]mod tests;