Skip to content

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

chore: files changed src/openhuman/flows/schemas.rs

Steven Enamakel947cb6da0a67
diff --git a/src/openhuman/flows/schemas.rs b/src/openhuman/flows/schemas.rs
index 6eac534d44..f2bb6b2022 100644
--- a/src/openhuman/flows/schemas.rs
+++ b/src/openhuman/flows/schemas.rs
@@ -509,6 +509,14 @@ pub fn schemas(function: &str) -> ControllerSchema {
comment: "Human-readable flow name.",
required: true,
},
+ FieldSchema {
+ name: "description",
+ ty: TypeSchema::Option(Box::new(TypeSchema::String)),
+ comment: "One line saying what this automation is for. Surfaced in the \
+ skills catalogue and ranked by skill_search; omitted, the \
+ catalogue can only report the graph's shape.",
+ required: false,
+ },
FieldSchema {
name: "graph",
ty: TypeSchema::Json,
@@ -661,6 +669,13 @@ pub fn schemas(function: &str) -> ControllerSchema {
comment: "New name, if changing it.",
required: false,
},
+ FieldSchema {
+ name: "description",
+ ty: TypeSchema::Option(Box::new(TypeSchema::String)),
+ comment: "New one-line summary, if changing it. Absent leaves the stored \
+ one untouched; an empty string clears it.",
+ required: false,
+ },
FieldSchema {
name: "graph",
ty: TypeSchema::Option(Box::new(TypeSchema::Json)),
@@ -1339,6 +1354,13 @@ pub fn schemas(function: &str) -> ControllerSchema {
comment: "New name, if changing it.",
required: false,
},
+ FieldSchema {
+ name: "description",
+ ty: TypeSchema::Option(Box::new(TypeSchema::String)),
+ comment: "New one-line summary, if changing it. Absent leaves the stored \
+ one untouched; an empty string clears it.",
+ required: false,
+ },
FieldSchema {
name: "graph",
ty: TypeSchema::Option(Box::new(TypeSchema::Json)),