@almadar/std 3.12.2 → 3.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/behaviors/exports/atoms/std-agent-activity-log.orb +559 -0
  2. package/behaviors/exports/atoms/std-agent-chat-thread.orb +774 -0
  3. package/behaviors/exports/atoms/std-agent-classifier.orb +871 -0
  4. package/behaviors/exports/atoms/std-agent-completion.orb +933 -0
  5. package/behaviors/exports/atoms/std-agent-context-window.orb +2294 -0
  6. package/behaviors/exports/atoms/std-agent-conversation.orb +1020 -0
  7. package/behaviors/exports/atoms/std-agent-memory.orb +879 -0
  8. package/behaviors/exports/atoms/std-agent-provider.orb +898 -0
  9. package/behaviors/exports/atoms/std-agent-search.orb +448 -0
  10. package/behaviors/exports/atoms/std-agent-session.orb +835 -0
  11. package/behaviors/exports/atoms/std-agent-step-progress.orb +850 -0
  12. package/behaviors/exports/atoms/std-agent-token-gauge.orb +1616 -0
  13. package/behaviors/exports/atoms/std-agent-tool-call.orb +1237 -0
  14. package/behaviors/exports/molecules/std-agent-fix-loop.orb +3177 -0
  15. package/behaviors/exports/molecules/std-agent-learner.orb +2950 -0
  16. package/behaviors/exports/molecules/std-agent-planner.orb +2655 -0
  17. package/behaviors/exports/molecules/std-agent-rag.orb +1871 -0
  18. package/behaviors/exports/molecules/std-agent-tool-loop.orb +4857 -0
  19. package/behaviors/exports/organisms/std-agent-assistant.orb +6440 -0
  20. package/behaviors/exports/organisms/std-agent-builder.orb +14863 -0
  21. package/behaviors/exports/organisms/std-agent-pipeline.orb +11950 -0
  22. package/behaviors/exports/organisms/std-agent-reviewer.orb +5405 -0
  23. package/behaviors/exports/organisms/std-agent-tutor.orb +5107 -0
  24. package/behaviors/exports/validation-report.json +2 -1099
  25. package/dist/behaviors/exports/atoms/std-agent-activity-log.orb +559 -0
  26. package/dist/behaviors/exports/atoms/std-agent-chat-thread.orb +774 -0
  27. package/dist/behaviors/exports/atoms/std-agent-classifier.orb +871 -0
  28. package/dist/behaviors/exports/atoms/std-agent-completion.orb +933 -0
  29. package/dist/behaviors/exports/atoms/std-agent-context-window.orb +2294 -0
  30. package/dist/behaviors/exports/atoms/std-agent-conversation.orb +1020 -0
  31. package/dist/behaviors/exports/atoms/std-agent-memory.orb +879 -0
  32. package/dist/behaviors/exports/atoms/std-agent-provider.orb +898 -0
  33. package/dist/behaviors/exports/atoms/std-agent-search.orb +448 -0
  34. package/dist/behaviors/exports/atoms/std-agent-session.orb +835 -0
  35. package/dist/behaviors/exports/atoms/std-agent-step-progress.orb +850 -0
  36. package/dist/behaviors/exports/atoms/std-agent-token-gauge.orb +1616 -0
  37. package/dist/behaviors/exports/atoms/std-agent-tool-call.orb +1237 -0
  38. package/dist/behaviors/exports/molecules/std-agent-fix-loop.orb +3177 -0
  39. package/dist/behaviors/exports/molecules/std-agent-learner.orb +2950 -0
  40. package/dist/behaviors/exports/molecules/std-agent-planner.orb +2655 -0
  41. package/dist/behaviors/exports/molecules/std-agent-rag.orb +1871 -0
  42. package/dist/behaviors/exports/molecules/std-agent-tool-loop.orb +4857 -0
  43. package/dist/behaviors/exports/organisms/std-agent-assistant.orb +6440 -0
  44. package/dist/behaviors/exports/organisms/std-agent-builder.orb +14863 -0
  45. package/dist/behaviors/exports/organisms/std-agent-pipeline.orb +11950 -0
  46. package/dist/behaviors/exports/organisms/std-agent-reviewer.orb +5405 -0
  47. package/dist/behaviors/exports/organisms/std-agent-tutor.orb +5107 -0
  48. package/dist/behaviors/exports/validation-report.json +2 -1099
  49. package/dist/behaviors/exports-reader.js +7156 -302
  50. package/dist/behaviors/exports-reader.js.map +1 -1
  51. package/dist/behaviors/functions/index.d.ts +781 -1
  52. package/dist/behaviors/functions/index.js +7080 -303
  53. package/dist/behaviors/functions/index.js.map +1 -1
  54. package/dist/behaviors/index.d.ts +1 -1
  55. package/dist/behaviors/index.js +7159 -305
  56. package/dist/behaviors/index.js.map +1 -1
  57. package/dist/behaviors/query.js +7158 -304
  58. package/dist/behaviors/query.js.map +1 -1
  59. package/dist/exports/atoms/std-agent-activity-log.orb +559 -0
  60. package/dist/exports/atoms/std-agent-chat-thread.orb +774 -0
  61. package/dist/exports/atoms/std-agent-classifier.orb +871 -0
  62. package/dist/exports/atoms/std-agent-completion.orb +933 -0
  63. package/dist/exports/atoms/std-agent-context-window.orb +2294 -0
  64. package/dist/exports/atoms/std-agent-conversation.orb +1020 -0
  65. package/dist/exports/atoms/std-agent-memory.orb +879 -0
  66. package/dist/exports/atoms/std-agent-provider.orb +898 -0
  67. package/dist/exports/atoms/std-agent-search.orb +448 -0
  68. package/dist/exports/atoms/std-agent-session.orb +835 -0
  69. package/dist/exports/atoms/std-agent-step-progress.orb +850 -0
  70. package/dist/exports/atoms/std-agent-token-gauge.orb +1616 -0
  71. package/dist/exports/atoms/std-agent-tool-call.orb +1237 -0
  72. package/dist/exports/molecules/std-agent-fix-loop.orb +3177 -0
  73. package/dist/exports/molecules/std-agent-learner.orb +2950 -0
  74. package/dist/exports/molecules/std-agent-planner.orb +2655 -0
  75. package/dist/exports/molecules/std-agent-rag.orb +1871 -0
  76. package/dist/exports/molecules/std-agent-tool-loop.orb +4857 -0
  77. package/dist/exports/organisms/std-agent-assistant.orb +6440 -0
  78. package/dist/exports/organisms/std-agent-builder.orb +14863 -0
  79. package/dist/exports/organisms/std-agent-pipeline.orb +11950 -0
  80. package/dist/exports/organisms/std-agent-reviewer.orb +5405 -0
  81. package/dist/exports/organisms/std-agent-tutor.orb +5107 -0
  82. package/dist/exports/validation-report.json +2 -1099
  83. package/dist/index.d.ts +1 -1
  84. package/dist/index.js +7159 -305
  85. package/dist/index.js.map +1 -1
  86. package/package.json +1 -1
@@ -0,0 +1,850 @@
1
+ {
2
+ "name": "AgentStepProgressOrbital",
3
+ "orbitals": [
4
+ {
5
+ "name": "AgentStepProgressOrbital",
6
+ "entity": {
7
+ "name": "AgentStepProgress",
8
+ "persistence": "runtime",
9
+ "fields": [
10
+ {
11
+ "name": "id",
12
+ "type": "string"
13
+ },
14
+ {
15
+ "name": "name",
16
+ "type": "string"
17
+ },
18
+ {
19
+ "name": "description",
20
+ "type": "string"
21
+ },
22
+ {
23
+ "name": "status",
24
+ "type": "string",
25
+ "default": "active",
26
+ "values": [
27
+ "active",
28
+ "inactive",
29
+ "pending"
30
+ ]
31
+ },
32
+ {
33
+ "name": "createdAt",
34
+ "type": "string"
35
+ },
36
+ {
37
+ "name": "steps",
38
+ "type": "string",
39
+ "default": "Initialize,Process,Validate,Complete"
40
+ },
41
+ {
42
+ "name": "currentStep",
43
+ "type": "number",
44
+ "default": 0
45
+ },
46
+ {
47
+ "name": "totalSteps",
48
+ "type": "number",
49
+ "default": 4
50
+ }
51
+ ]
52
+ },
53
+ "traits": [
54
+ {
55
+ "name": "AgentStepProgressProgress",
56
+ "linkedEntity": "AgentStepProgress",
57
+ "category": "interaction",
58
+ "emits": [
59
+ {
60
+ "event": "ADVANCE",
61
+ "scope": "external",
62
+ "payload": [
63
+ {
64
+ "name": "step",
65
+ "type": "number"
66
+ }
67
+ ]
68
+ },
69
+ {
70
+ "event": "COMPLETE",
71
+ "scope": "external",
72
+ "payload": [
73
+ {
74
+ "name": "totalSteps",
75
+ "type": "number"
76
+ }
77
+ ]
78
+ },
79
+ {
80
+ "event": "FAIL",
81
+ "scope": "external",
82
+ "payload": [
83
+ {
84
+ "name": "step",
85
+ "type": "number"
86
+ }
87
+ ]
88
+ }
89
+ ],
90
+ "listens": [
91
+ {
92
+ "event": "ADVANCE",
93
+ "triggers": "ADVANCE",
94
+ "scope": "external"
95
+ },
96
+ {
97
+ "event": "COMPLETE",
98
+ "triggers": "COMPLETE",
99
+ "scope": "external"
100
+ },
101
+ {
102
+ "event": "FAIL",
103
+ "triggers": "FAIL",
104
+ "scope": "external"
105
+ }
106
+ ],
107
+ "stateMachine": {
108
+ "states": [
109
+ {
110
+ "name": "idle",
111
+ "isInitial": true
112
+ },
113
+ {
114
+ "name": "in_progress"
115
+ },
116
+ {
117
+ "name": "completed"
118
+ },
119
+ {
120
+ "name": "failed"
121
+ }
122
+ ],
123
+ "events": [
124
+ {
125
+ "key": "INIT",
126
+ "name": "Initialize"
127
+ },
128
+ {
129
+ "key": "START",
130
+ "name": "Start Pipeline"
131
+ },
132
+ {
133
+ "key": "ADVANCE",
134
+ "name": "Advance Step"
135
+ },
136
+ {
137
+ "key": "COMPLETE",
138
+ "name": "Complete Pipeline"
139
+ },
140
+ {
141
+ "key": "FAIL",
142
+ "name": "Pipeline Failed"
143
+ },
144
+ {
145
+ "key": "RESET",
146
+ "name": "Reset Pipeline"
147
+ }
148
+ ],
149
+ "transitions": [
150
+ {
151
+ "from": "idle",
152
+ "to": "idle",
153
+ "event": "INIT",
154
+ "effects": [
155
+ [
156
+ "fetch",
157
+ "AgentStepProgress"
158
+ ],
159
+ [
160
+ "render-ui",
161
+ "main",
162
+ {
163
+ "type": "stack",
164
+ "direction": "vertical",
165
+ "gap": "lg",
166
+ "children": [
167
+ {
168
+ "type": "stack",
169
+ "direction": "horizontal",
170
+ "gap": "sm",
171
+ "align": "center",
172
+ "children": [
173
+ {
174
+ "type": "icon",
175
+ "name": "list-ordered",
176
+ "size": "lg"
177
+ },
178
+ {
179
+ "type": "typography",
180
+ "content": "AgentStepProgress",
181
+ "variant": "h2"
182
+ },
183
+ {
184
+ "type": "badge",
185
+ "label": "Idle",
186
+ "variant": "default"
187
+ }
188
+ ]
189
+ },
190
+ {
191
+ "type": "divider"
192
+ },
193
+ {
194
+ "type": "wizard-progress",
195
+ "currentStep": "@entity.currentStep",
196
+ "totalSteps": "@entity.totalSteps",
197
+ "steps": "@entity.steps"
198
+ },
199
+ {
200
+ "type": "button",
201
+ "label": "Start",
202
+ "event": "START",
203
+ "variant": "primary",
204
+ "icon": "play"
205
+ }
206
+ ]
207
+ }
208
+ ]
209
+ ]
210
+ },
211
+ {
212
+ "from": "idle",
213
+ "to": "in_progress",
214
+ "event": "START",
215
+ "effects": [
216
+ [
217
+ "set",
218
+ "@entity.status",
219
+ "in_progress"
220
+ ],
221
+ [
222
+ "set",
223
+ "@entity.currentStep",
224
+ 0
225
+ ],
226
+ [
227
+ "render-ui",
228
+ "main",
229
+ {
230
+ "type": "stack",
231
+ "direction": "vertical",
232
+ "gap": "lg",
233
+ "children": [
234
+ {
235
+ "type": "stack",
236
+ "direction": "horizontal",
237
+ "gap": "sm",
238
+ "align": "center",
239
+ "children": [
240
+ {
241
+ "type": "icon",
242
+ "name": "loader",
243
+ "size": "lg"
244
+ },
245
+ {
246
+ "type": "typography",
247
+ "content": "AgentStepProgress",
248
+ "variant": "h2"
249
+ },
250
+ {
251
+ "type": "badge",
252
+ "label": "In Progress",
253
+ "variant": "warning"
254
+ }
255
+ ]
256
+ },
257
+ {
258
+ "type": "divider"
259
+ },
260
+ {
261
+ "type": "wizard-progress",
262
+ "currentStep": "@entity.currentStep",
263
+ "totalSteps": "@entity.totalSteps",
264
+ "steps": "@entity.steps"
265
+ },
266
+ {
267
+ "type": "stack",
268
+ "direction": "horizontal",
269
+ "gap": "sm",
270
+ "align": "center",
271
+ "children": [
272
+ {
273
+ "type": "stat-display",
274
+ "label": "Current Step",
275
+ "value": "@entity.currentStep"
276
+ },
277
+ {
278
+ "type": "stat-display",
279
+ "label": "Total Steps",
280
+ "value": "@entity.totalSteps"
281
+ }
282
+ ]
283
+ },
284
+ {
285
+ "type": "stack",
286
+ "direction": "horizontal",
287
+ "gap": "sm",
288
+ "children": [
289
+ {
290
+ "type": "button",
291
+ "label": "Advance",
292
+ "event": "ADVANCE",
293
+ "variant": "primary",
294
+ "icon": "chevron-right"
295
+ },
296
+ {
297
+ "type": "button",
298
+ "label": "Reset",
299
+ "event": "RESET",
300
+ "variant": "ghost",
301
+ "icon": "rotate-ccw"
302
+ }
303
+ ]
304
+ }
305
+ ]
306
+ }
307
+ ]
308
+ ]
309
+ },
310
+ {
311
+ "from": "in_progress",
312
+ "to": "in_progress",
313
+ "event": "ADVANCE",
314
+ "guard": [
315
+ "<",
316
+ "@entity.currentStep",
317
+ "@entity.totalSteps"
318
+ ],
319
+ "effects": [
320
+ [
321
+ "set",
322
+ "@entity.currentStep",
323
+ [
324
+ "+",
325
+ "@entity.currentStep",
326
+ 1
327
+ ]
328
+ ],
329
+ [
330
+ "render-ui",
331
+ "main",
332
+ {
333
+ "type": "stack",
334
+ "direction": "vertical",
335
+ "gap": "lg",
336
+ "children": [
337
+ {
338
+ "type": "stack",
339
+ "direction": "horizontal",
340
+ "gap": "sm",
341
+ "align": "center",
342
+ "children": [
343
+ {
344
+ "type": "icon",
345
+ "name": "loader",
346
+ "size": "lg"
347
+ },
348
+ {
349
+ "type": "typography",
350
+ "content": "AgentStepProgress",
351
+ "variant": "h2"
352
+ },
353
+ {
354
+ "type": "badge",
355
+ "label": "In Progress",
356
+ "variant": "warning"
357
+ }
358
+ ]
359
+ },
360
+ {
361
+ "type": "divider"
362
+ },
363
+ {
364
+ "type": "wizard-progress",
365
+ "currentStep": "@entity.currentStep",
366
+ "totalSteps": "@entity.totalSteps",
367
+ "steps": "@entity.steps"
368
+ },
369
+ {
370
+ "type": "stack",
371
+ "direction": "horizontal",
372
+ "gap": "sm",
373
+ "align": "center",
374
+ "children": [
375
+ {
376
+ "type": "stat-display",
377
+ "label": "Current Step",
378
+ "value": "@entity.currentStep"
379
+ },
380
+ {
381
+ "type": "stat-display",
382
+ "label": "Total Steps",
383
+ "value": "@entity.totalSteps"
384
+ }
385
+ ]
386
+ },
387
+ {
388
+ "type": "stack",
389
+ "direction": "horizontal",
390
+ "gap": "sm",
391
+ "children": [
392
+ {
393
+ "type": "button",
394
+ "label": "Advance",
395
+ "event": "ADVANCE",
396
+ "variant": "primary",
397
+ "icon": "chevron-right"
398
+ },
399
+ {
400
+ "type": "button",
401
+ "label": "Reset",
402
+ "event": "RESET",
403
+ "variant": "ghost",
404
+ "icon": "rotate-ccw"
405
+ }
406
+ ]
407
+ }
408
+ ]
409
+ }
410
+ ]
411
+ ]
412
+ },
413
+ {
414
+ "from": "in_progress",
415
+ "to": "completed",
416
+ "event": "COMPLETE",
417
+ "effects": [
418
+ [
419
+ "set",
420
+ "@entity.status",
421
+ "completed"
422
+ ],
423
+ [
424
+ "set",
425
+ "@entity.currentStep",
426
+ "@entity.totalSteps"
427
+ ],
428
+ [
429
+ "render-ui",
430
+ "main",
431
+ {
432
+ "type": "stack",
433
+ "direction": "vertical",
434
+ "gap": "lg",
435
+ "children": [
436
+ {
437
+ "type": "stack",
438
+ "direction": "horizontal",
439
+ "gap": "sm",
440
+ "align": "center",
441
+ "children": [
442
+ {
443
+ "type": "icon",
444
+ "name": "check-circle",
445
+ "size": "lg"
446
+ },
447
+ {
448
+ "type": "typography",
449
+ "content": "AgentStepProgress",
450
+ "variant": "h2"
451
+ },
452
+ {
453
+ "type": "badge",
454
+ "label": "Completed",
455
+ "variant": "success"
456
+ }
457
+ ]
458
+ },
459
+ {
460
+ "type": "divider"
461
+ },
462
+ {
463
+ "type": "wizard-progress",
464
+ "currentStep": "@entity.totalSteps",
465
+ "totalSteps": "@entity.totalSteps",
466
+ "steps": "@entity.steps"
467
+ },
468
+ {
469
+ "type": "alert",
470
+ "variant": "success",
471
+ "message": "All steps completed successfully."
472
+ },
473
+ {
474
+ "type": "button",
475
+ "label": "Reset",
476
+ "event": "RESET",
477
+ "variant": "ghost",
478
+ "icon": "rotate-ccw"
479
+ }
480
+ ]
481
+ }
482
+ ]
483
+ ]
484
+ },
485
+ {
486
+ "from": "in_progress",
487
+ "to": "failed",
488
+ "event": "FAIL",
489
+ "effects": [
490
+ [
491
+ "set",
492
+ "@entity.status",
493
+ "failed"
494
+ ],
495
+ [
496
+ "render-ui",
497
+ "main",
498
+ {
499
+ "type": "stack",
500
+ "direction": "vertical",
501
+ "gap": "lg",
502
+ "children": [
503
+ {
504
+ "type": "stack",
505
+ "direction": "horizontal",
506
+ "gap": "sm",
507
+ "align": "center",
508
+ "children": [
509
+ {
510
+ "type": "icon",
511
+ "name": "x-circle",
512
+ "size": "lg"
513
+ },
514
+ {
515
+ "type": "typography",
516
+ "content": "AgentStepProgress",
517
+ "variant": "h2"
518
+ },
519
+ {
520
+ "type": "badge",
521
+ "label": "Failed",
522
+ "variant": "destructive"
523
+ }
524
+ ]
525
+ },
526
+ {
527
+ "type": "divider"
528
+ },
529
+ {
530
+ "type": "wizard-progress",
531
+ "currentStep": "@entity.currentStep",
532
+ "totalSteps": "@entity.totalSteps",
533
+ "steps": "@entity.steps"
534
+ },
535
+ {
536
+ "type": "alert",
537
+ "variant": "error",
538
+ "message": "Pipeline failed at the current step."
539
+ },
540
+ {
541
+ "type": "stack",
542
+ "direction": "horizontal",
543
+ "gap": "sm",
544
+ "children": [
545
+ {
546
+ "type": "stat-display",
547
+ "label": "Failed At Step",
548
+ "value": "@entity.currentStep"
549
+ }
550
+ ]
551
+ },
552
+ {
553
+ "type": "button",
554
+ "label": "Reset",
555
+ "event": "RESET",
556
+ "variant": "ghost",
557
+ "icon": "rotate-ccw"
558
+ }
559
+ ]
560
+ }
561
+ ]
562
+ ]
563
+ },
564
+ {
565
+ "from": "idle",
566
+ "to": "idle",
567
+ "event": "RESET",
568
+ "effects": [
569
+ [
570
+ "set",
571
+ "@entity.status",
572
+ "idle"
573
+ ],
574
+ [
575
+ "set",
576
+ "@entity.currentStep",
577
+ 0
578
+ ],
579
+ [
580
+ "render-ui",
581
+ "main",
582
+ {
583
+ "type": "stack",
584
+ "direction": "vertical",
585
+ "gap": "lg",
586
+ "children": [
587
+ {
588
+ "type": "stack",
589
+ "direction": "horizontal",
590
+ "gap": "sm",
591
+ "align": "center",
592
+ "children": [
593
+ {
594
+ "type": "icon",
595
+ "name": "list-ordered",
596
+ "size": "lg"
597
+ },
598
+ {
599
+ "type": "typography",
600
+ "content": "AgentStepProgress",
601
+ "variant": "h2"
602
+ },
603
+ {
604
+ "type": "badge",
605
+ "label": "Idle",
606
+ "variant": "default"
607
+ }
608
+ ]
609
+ },
610
+ {
611
+ "type": "divider"
612
+ },
613
+ {
614
+ "type": "wizard-progress",
615
+ "currentStep": "@entity.currentStep",
616
+ "totalSteps": "@entity.totalSteps",
617
+ "steps": "@entity.steps"
618
+ },
619
+ {
620
+ "type": "button",
621
+ "label": "Start",
622
+ "event": "START",
623
+ "variant": "primary",
624
+ "icon": "play"
625
+ }
626
+ ]
627
+ }
628
+ ]
629
+ ]
630
+ },
631
+ {
632
+ "from": "in_progress",
633
+ "to": "idle",
634
+ "event": "RESET",
635
+ "effects": [
636
+ [
637
+ "set",
638
+ "@entity.status",
639
+ "idle"
640
+ ],
641
+ [
642
+ "set",
643
+ "@entity.currentStep",
644
+ 0
645
+ ],
646
+ [
647
+ "render-ui",
648
+ "main",
649
+ {
650
+ "type": "stack",
651
+ "direction": "vertical",
652
+ "gap": "lg",
653
+ "children": [
654
+ {
655
+ "type": "stack",
656
+ "direction": "horizontal",
657
+ "gap": "sm",
658
+ "align": "center",
659
+ "children": [
660
+ {
661
+ "type": "icon",
662
+ "name": "list-ordered",
663
+ "size": "lg"
664
+ },
665
+ {
666
+ "type": "typography",
667
+ "content": "AgentStepProgress",
668
+ "variant": "h2"
669
+ },
670
+ {
671
+ "type": "badge",
672
+ "label": "Idle",
673
+ "variant": "default"
674
+ }
675
+ ]
676
+ },
677
+ {
678
+ "type": "divider"
679
+ },
680
+ {
681
+ "type": "wizard-progress",
682
+ "currentStep": "@entity.currentStep",
683
+ "totalSteps": "@entity.totalSteps",
684
+ "steps": "@entity.steps"
685
+ },
686
+ {
687
+ "type": "button",
688
+ "label": "Start",
689
+ "event": "START",
690
+ "variant": "primary",
691
+ "icon": "play"
692
+ }
693
+ ]
694
+ }
695
+ ]
696
+ ]
697
+ },
698
+ {
699
+ "from": "completed",
700
+ "to": "idle",
701
+ "event": "RESET",
702
+ "effects": [
703
+ [
704
+ "set",
705
+ "@entity.status",
706
+ "idle"
707
+ ],
708
+ [
709
+ "set",
710
+ "@entity.currentStep",
711
+ 0
712
+ ],
713
+ [
714
+ "render-ui",
715
+ "main",
716
+ {
717
+ "type": "stack",
718
+ "direction": "vertical",
719
+ "gap": "lg",
720
+ "children": [
721
+ {
722
+ "type": "stack",
723
+ "direction": "horizontal",
724
+ "gap": "sm",
725
+ "align": "center",
726
+ "children": [
727
+ {
728
+ "type": "icon",
729
+ "name": "list-ordered",
730
+ "size": "lg"
731
+ },
732
+ {
733
+ "type": "typography",
734
+ "content": "AgentStepProgress",
735
+ "variant": "h2"
736
+ },
737
+ {
738
+ "type": "badge",
739
+ "label": "Idle",
740
+ "variant": "default"
741
+ }
742
+ ]
743
+ },
744
+ {
745
+ "type": "divider"
746
+ },
747
+ {
748
+ "type": "wizard-progress",
749
+ "currentStep": "@entity.currentStep",
750
+ "totalSteps": "@entity.totalSteps",
751
+ "steps": "@entity.steps"
752
+ },
753
+ {
754
+ "type": "button",
755
+ "label": "Start",
756
+ "event": "START",
757
+ "variant": "primary",
758
+ "icon": "play"
759
+ }
760
+ ]
761
+ }
762
+ ]
763
+ ]
764
+ },
765
+ {
766
+ "from": "failed",
767
+ "to": "idle",
768
+ "event": "RESET",
769
+ "effects": [
770
+ [
771
+ "set",
772
+ "@entity.status",
773
+ "idle"
774
+ ],
775
+ [
776
+ "set",
777
+ "@entity.currentStep",
778
+ 0
779
+ ],
780
+ [
781
+ "render-ui",
782
+ "main",
783
+ {
784
+ "type": "stack",
785
+ "direction": "vertical",
786
+ "gap": "lg",
787
+ "children": [
788
+ {
789
+ "type": "stack",
790
+ "direction": "horizontal",
791
+ "gap": "sm",
792
+ "align": "center",
793
+ "children": [
794
+ {
795
+ "type": "icon",
796
+ "name": "list-ordered",
797
+ "size": "lg"
798
+ },
799
+ {
800
+ "type": "typography",
801
+ "content": "AgentStepProgress",
802
+ "variant": "h2"
803
+ },
804
+ {
805
+ "type": "badge",
806
+ "label": "Idle",
807
+ "variant": "default"
808
+ }
809
+ ]
810
+ },
811
+ {
812
+ "type": "divider"
813
+ },
814
+ {
815
+ "type": "wizard-progress",
816
+ "currentStep": "@entity.currentStep",
817
+ "totalSteps": "@entity.totalSteps",
818
+ "steps": "@entity.steps"
819
+ },
820
+ {
821
+ "type": "button",
822
+ "label": "Start",
823
+ "event": "START",
824
+ "variant": "primary",
825
+ "icon": "play"
826
+ }
827
+ ]
828
+ }
829
+ ]
830
+ ]
831
+ }
832
+ ]
833
+ }
834
+ }
835
+ ],
836
+ "pages": [
837
+ {
838
+ "name": "AgentStepProgressPage",
839
+ "path": "/agentstepprogresss",
840
+ "traits": [
841
+ {
842
+ "ref": "AgentStepProgressProgress"
843
+ }
844
+ ]
845
+ }
846
+ ]
847
+ }
848
+ ],
849
+ "description": "Pipeline/workflow step indicator atom. Tracks progress through a series of named steps with start/advance/complete/fail lifecycle. Listens for ADVANCE, COMPLETE, FAIL so orchestrating traits can drive the progress externally."
850
+ }