use json schema for state schema

This commit is contained in:
lda
2026-05-20 19:14:00 +07:00 Verified
parent 7322e7ad5f
commit 9f265c3f80
16 changed files with 758 additions and 170 deletions
+6 -7
View File
@@ -244,14 +244,13 @@ arguments:
"required": ["text"]
},
"state_schema": {
"fields": [
{
"path": "state.echoed",
"schema": {
"type": "string"
}
"type": "object",
"properties": {
"echoed": {
"type": "string",
"reducer": "wf.std.replace"
}
]
}
},
"output_schema": {
"type": "object",