Commit fc8f6b7
committed
feat(plugins): implement core plugin nodes (flow/sleep, http/request, file/transfer)
- Add flow/sleep node for workflow delay control with context cancellation support
- Add http/request node for REST API integration with auto-JSON handling and retry logic
- Add file/transfer node for secure SFTP/SCP file operations
- Implement comprehensive Node interface with metadata, validation, and error classification
- Add validator with ParamSpec validation for type, pattern, enum, and range checks
- Update plugin manager to support dynamically loaded plugin nodes
- Add plugin development examples (echo, template) with tests
- Add 60+ unit tests and integration tests achieving high coverage
- Document node development guide and reference documentation
Implementation highlights:
- All nodes follow standardized Node interface pattern
- Built-in Temporal error classification for smart retry behavior
- Complete input validation with detailed error messages
- Comprehensive test coverage (unit + integration)
- Production-ready with proper error handling and logging
- Refactor validator to reduce complexity (split into smaller functions)1 parent ccaeaaf commit fc8f6b7
61 files changed
Lines changed: 15616 additions & 124 deletions
File tree
- docs
- adr
- guides
- sprint-artifacts
- examples
- plugins
- echo
- template
- workflows
- internal/agent
- pkg/dsl/node
- builtin
- plugins
- exec/script
- file/transfer
- flow/sleep
- http/request
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Binary file not shown.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
412 | | - | |
| 412 | + | |
413 | 413 | | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
414 | 427 | | |
415 | 428 | | |
416 | 429 | | |
417 | 430 | | |
418 | 431 | | |
419 | 432 | | |
420 | | - | |
421 | | - | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
422 | 459 | | |
423 | 460 | | |
424 | 461 | | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
425 | 478 | | |
426 | 479 | | |
427 | 480 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1031 | 1031 | | |
1032 | 1032 | | |
1033 | 1033 | | |
1034 | | - | |
| 1034 | + | |
1035 | 1035 | | |
1036 | 1036 | | |
1037 | 1037 | | |
1038 | 1038 | | |
1039 | 1039 | | |
1040 | 1040 | | |
1041 | 1041 | | |
1042 | | - | |
| 1042 | + | |
1043 | 1043 | | |
1044 | 1044 | | |
1045 | 1045 | | |
| |||
1163 | 1163 | | |
1164 | 1164 | | |
1165 | 1165 | | |
1166 | | - | |
| 1166 | + | |
1167 | 1167 | | |
1168 | 1168 | | |
1169 | | - | |
1170 | | - | |
| 1169 | + | |
| 1170 | + | |
1171 | 1171 | | |
1172 | 1172 | | |
1173 | 1173 | | |
| 1174 | + | |
1174 | 1175 | | |
1175 | | - | |
| 1176 | + | |
1176 | 1177 | | |
1177 | | - | |
| 1178 | + | |
| 1179 | + | |
1178 | 1180 | | |
1179 | 1181 | | |
1180 | | - | |
1181 | | - | |
1182 | | - | |
1183 | | - | |
1184 | | - | |
1185 | | - | |
1186 | | - | |
1187 | | - | |
1188 | | - | |
| 1182 | + | |
| 1183 | + | |
1189 | 1184 | | |
| 1185 | + | |
1190 | 1186 | | |
1191 | | - | |
| 1187 | + | |
1192 | 1188 | | |
1193 | | - | |
| 1189 | + | |
1194 | 1190 | | |
1195 | 1191 | | |
1196 | | - | |
1197 | | - | |
1198 | | - | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
| 1222 | + | |
| 1223 | + | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
1199 | 1229 | | |
1200 | 1230 | | |
1201 | 1231 | | |
1202 | 1232 | | |
1203 | 1233 | | |
1204 | 1234 | | |
1205 | 1235 | | |
1206 | | - | |
| 1236 | + | |
1207 | 1237 | | |
1208 | 1238 | | |
1209 | 1239 | | |
1210 | 1240 | | |
1211 | 1241 | | |
1212 | | - | |
| 1242 | + | |
| 1243 | + | |
1213 | 1244 | | |
1214 | 1245 | | |
1215 | 1246 | | |
| |||
0 commit comments