Commit 418c139
feat: Add workflow session persistence and loop step support (#542)
* wip: Refactor workflow operations - add loop step and array indexing
Temporary commit of workflow automation refactoring:
- Add loop step implementation with nested loop support
- Enhance WorkflowContext with array indexing (e.g., tasks[0].items)
- Replace AI split/mapreduce operations with decompose operation
- Add operation schemas for better type safety
- Update tests to reflect new loop step functionality
- Remove deprecated workflow examples
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
* feat: Add session persistence to workflow engine and enhance error logging
- Add SessionManager integration to WorkflowEngine for state persistence
- Support session creation, resumption, and listing for workflows
- Save workflow state, step results, and outputs to sessions automatically
- Add load_from_session and resume_from_session methods for workflow recovery
- Update AI research demo to use session persistence and display session info
- Switch demo from copilot to claude CLI with haiku model
- Enhance CLI executor error logging with stdout/stderr details
This enables workflows to persist their state for debugging, resumption,
and long-running operations that may need to be interrupted and resumed.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
---------
Co-authored-by: Claude <[email protected]>1 parent 18f8fea commit 418c139
File tree
23 files changed
+1810
-2019
lines changed- plugins/automation
- runtime_data
- tests
- workflows
- examples
- steps
- operations
- utils/agent
23 files changed
+1810
-2019
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
95 | | - | |
| 96 | + | |
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
| 102 | + | |
101 | 103 | | |
102 | 104 | | |
103 | 105 | | |
| |||
106 | 108 | | |
107 | 109 | | |
108 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
109 | 115 | | |
110 | 116 | | |
111 | 117 | | |
| |||
130 | 136 | | |
131 | 137 | | |
132 | 138 | | |
133 | | - | |
| 139 | + | |
134 | 140 | | |
135 | | - | |
136 | | - | |
137 | | - | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
138 | 165 | | |
139 | 166 | | |
140 | | - | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
141 | 174 | | |
142 | 175 | | |
143 | 176 | | |
| |||
0 commit comments