修复工作流检查点序列化 (#193)

Co-authored-by: ruanmingchen <“ruanm@chenchen”>
This commit is contained in:
chenchen
2026-07-11 01:38:10 +08:00
committed by GitHub
co-authored by ruanmingchen
parent ca0bcc21d4
commit 612015b6d7
2 changed files with 92 additions and 0 deletions
+7
View File
@@ -11,6 +11,13 @@ import (
func init() {
schema.RegisterName[*WorkflowLocalState]("_cyberstrike_workflow_local_state")
schema.RegisterName[NodeOutputEnvelope]("_cyberstrike_workflow_node_output_envelope")
schema.RegisterName[StartOutput]("_cyberstrike_workflow_start_output")
schema.RegisterName[ConditionOutput]("_cyberstrike_workflow_condition_output")
schema.RegisterName[ToolOutput]("_cyberstrike_workflow_tool_output")
schema.RegisterName[AgentOutput]("_cyberstrike_workflow_agent_output")
schema.RegisterName[HITLOutput]("_cyberstrike_workflow_hitl_output")
schema.RegisterName[OutputNodeOutput]("_cyberstrike_workflow_output_node_output")
}
// WorkflowLocalState is the Eino WithGenLocalState payload (checkpoint-serializable).