@almadar/std 13.6.0 → 13.8.0

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 (174) hide show
  1. package/behaviors/registry/agent/atoms/std-agent-activity-log.orb +69 -69
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +120 -120
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +114 -114
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +124 -114
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +410 -395
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +93 -93
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +67 -117
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +149 -134
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +106 -106
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +194 -189
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +360 -355
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +69 -69
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +204 -199
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +174 -174
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +125 -125
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +127 -109
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +190 -185
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1209 -1155
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +3021 -3001
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2184 -2249
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1029 -1050
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +842 -804
  24. package/behaviors/registry/app/organisms/std-cms.orb +547 -547
  25. package/behaviors/registry/core/atoms/std-browse.orb +36 -36
  26. package/behaviors/registry/core/atoms/std-cache-aside.orb +111 -111
  27. package/behaviors/registry/core/atoms/std-calendar.orb +56 -51
  28. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +202 -187
  29. package/behaviors/registry/core/atoms/std-confirmation.orb +24 -27
  30. package/behaviors/registry/core/atoms/std-display.orb +2 -2
  31. package/behaviors/registry/core/atoms/std-drawer.orb +58 -58
  32. package/behaviors/registry/core/atoms/std-filter.orb +6 -9
  33. package/behaviors/registry/core/atoms/std-gallery.orb +46 -46
  34. package/behaviors/registry/core/atoms/std-graphs.orb +24 -24
  35. package/behaviors/registry/core/atoms/std-modal.orb +19 -19
  36. package/behaviors/registry/core/atoms/std-pagination.orb +14 -14
  37. package/behaviors/registry/core/atoms/std-push.orb +48 -90
  38. package/behaviors/registry/core/atoms/std-rate-limiter.orb +205 -190
  39. package/behaviors/registry/core/atoms/std-related.orb +31 -31
  40. package/behaviors/registry/core/atoms/std-search.orb +3 -3
  41. package/behaviors/registry/core/atoms/std-selection.orb +102 -102
  42. package/behaviors/registry/core/atoms/std-stats.orb +64 -64
  43. package/behaviors/registry/core/atoms/std-tabs.orb +18 -18
  44. package/behaviors/registry/core/molecules/std-cart.orb +64 -64
  45. package/behaviors/registry/core/molecules/std-dashboard.orb +46 -46
  46. package/behaviors/registry/core/molecules/std-filtered-list.orb +21 -21
  47. package/behaviors/registry/core/molecules/std-form-advanced.orb +172 -127
  48. package/behaviors/registry/core/molecules/std-list.orb +63 -63
  49. package/behaviors/registry/core/molecules/std-wizard-form.orb +145 -130
  50. package/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  51. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +42 -42
  52. package/behaviors/registry/game/atoms/std-overworld.orb +57 -57
  53. package/behaviors/registry/game/atoms/std-physics2d.orb +74 -74
  54. package/behaviors/registry/game/atoms/std-quest.orb +137 -137
  55. package/behaviors/registry/game/atoms/std-timer.orb +291 -291
  56. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +31 -31
  57. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +93 -78
  58. package/behaviors/registry/service/atoms/std-service-email.orb +91 -76
  59. package/behaviors/registry/service/atoms/std-service-github.orb +103 -83
  60. package/behaviors/registry/service/atoms/std-service-llm.orb +117 -112
  61. package/behaviors/registry/service/atoms/std-service-oauth.orb +131 -126
  62. package/behaviors/registry/service/atoms/std-service-redis.orb +123 -108
  63. package/behaviors/registry/service/atoms/std-service-storage.orb +125 -105
  64. package/behaviors/registry/service/atoms/std-service-stripe.orb +113 -103
  65. package/behaviors/registry/service/atoms/std-service-twilio.orb +102 -92
  66. package/behaviors/registry/service/atoms/std-service-youtube.orb +119 -114
  67. package/behaviors/registry/service/organisms/std-service-marketplace.orb +985 -873
  68. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +1027 -972
  69. package/dist/behaviors/behaviors-registry.json +2913 -322
  70. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +69 -69
  71. package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +120 -120
  72. package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +114 -114
  73. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +124 -114
  74. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +410 -395
  75. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +93 -93
  76. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +67 -117
  77. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +149 -134
  78. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
  79. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +106 -106
  80. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +194 -189
  81. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +360 -355
  82. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +69 -69
  83. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +204 -199
  84. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +174 -174
  85. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +125 -125
  86. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +127 -109
  87. package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +190 -185
  88. package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1209 -1155
  89. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3021 -3001
  90. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2184 -2249
  91. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1029 -1050
  92. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +842 -804
  93. package/dist/behaviors/registry/app/organisms/std-cms.orb +547 -547
  94. package/dist/behaviors/registry/core/atoms/std-browse.orb +36 -36
  95. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +111 -111
  96. package/dist/behaviors/registry/core/atoms/std-calendar.orb +56 -51
  97. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +202 -187
  98. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +24 -27
  99. package/dist/behaviors/registry/core/atoms/std-display.orb +2 -2
  100. package/dist/behaviors/registry/core/atoms/std-drawer.orb +58 -58
  101. package/dist/behaviors/registry/core/atoms/std-filter.orb +6 -9
  102. package/dist/behaviors/registry/core/atoms/std-gallery.orb +46 -46
  103. package/dist/behaviors/registry/core/atoms/std-graphs.orb +24 -24
  104. package/dist/behaviors/registry/core/atoms/std-modal.orb +19 -19
  105. package/dist/behaviors/registry/core/atoms/std-pagination.orb +14 -14
  106. package/dist/behaviors/registry/core/atoms/std-push.orb +48 -90
  107. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +205 -190
  108. package/dist/behaviors/registry/core/atoms/std-related.orb +31 -31
  109. package/dist/behaviors/registry/core/atoms/std-search.orb +3 -3
  110. package/dist/behaviors/registry/core/atoms/std-selection.orb +102 -102
  111. package/dist/behaviors/registry/core/atoms/std-stats.orb +64 -64
  112. package/dist/behaviors/registry/core/atoms/std-tabs.orb +18 -18
  113. package/dist/behaviors/registry/core/molecules/std-cart.orb +64 -64
  114. package/dist/behaviors/registry/core/molecules/std-dashboard.orb +46 -46
  115. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +21 -21
  116. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +172 -127
  117. package/dist/behaviors/registry/core/molecules/std-list.orb +63 -63
  118. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +145 -130
  119. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  120. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +42 -42
  121. package/dist/behaviors/registry/game/atoms/std-overworld.orb +57 -57
  122. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +74 -74
  123. package/dist/behaviors/registry/game/atoms/std-quest.orb +137 -137
  124. package/dist/behaviors/registry/game/atoms/std-timer.orb +291 -291
  125. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +31 -31
  126. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +93 -78
  127. package/dist/behaviors/registry/service/atoms/std-service-email.orb +91 -76
  128. package/dist/behaviors/registry/service/atoms/std-service-github.orb +103 -83
  129. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +117 -112
  130. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +131 -126
  131. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +123 -108
  132. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +125 -105
  133. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +113 -103
  134. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +102 -92
  135. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +119 -114
  136. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +985 -873
  137. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +1027 -972
  138. package/dist/behaviors-registry.json +2913 -322
  139. package/dist/index.d.ts +2 -2
  140. package/dist/index.js +26 -13
  141. package/dist/index.js.map +1 -1
  142. package/dist/modules/agent.d.ts +1 -1
  143. package/dist/modules/array.d.ts +1 -1
  144. package/dist/modules/array.js +16 -8
  145. package/dist/modules/array.js.map +1 -1
  146. package/dist/modules/async.d.ts +1 -1
  147. package/dist/modules/composition.d.ts +1 -1
  148. package/dist/modules/contract.d.ts +1 -1
  149. package/dist/modules/core.d.ts +1 -1
  150. package/dist/modules/core.js +6 -3
  151. package/dist/modules/core.js.map +1 -1
  152. package/dist/modules/data.d.ts +1 -1
  153. package/dist/modules/format.d.ts +1 -1
  154. package/dist/modules/graph.d.ts +1 -1
  155. package/dist/modules/index.d.ts +1 -1
  156. package/dist/modules/index.js +26 -13
  157. package/dist/modules/index.js.map +1 -1
  158. package/dist/modules/math.d.ts +1 -1
  159. package/dist/modules/nn.d.ts +1 -1
  160. package/dist/modules/object.d.ts +1 -1
  161. package/dist/modules/object.js +4 -2
  162. package/dist/modules/object.js.map +1 -1
  163. package/dist/modules/os.d.ts +1 -1
  164. package/dist/modules/prob.d.ts +1 -1
  165. package/dist/modules/str.d.ts +1 -1
  166. package/dist/modules/tensor.d.ts +1 -1
  167. package/dist/modules/time.d.ts +1 -1
  168. package/dist/modules/train.d.ts +1 -1
  169. package/dist/modules/validate.d.ts +1 -1
  170. package/dist/registry.d.ts +1 -1
  171. package/dist/registry.js +26 -13
  172. package/dist/registry.js.map +1 -1
  173. package/dist/{types-D7dG8fBF.d.ts → types-CdSN5hnD.d.ts} +43 -0
  174. package/package.json +1 -1
@@ -296,15 +296,23 @@
296
296
  "to": "idle",
297
297
  "event": "INIT",
298
298
  "effects": [
299
+ [
300
+ "set",
301
+ "@entity.maxAttempts",
302
+ 5.0
303
+ ],
299
304
  [
300
305
  "render-ui",
301
306
  "main",
302
307
  {
303
- "type": "stack",
304
- "gap": "lg",
305
308
  "direction": "vertical",
309
+ "gap": "lg",
306
310
  "children": [
307
311
  {
312
+ "align": "center",
313
+ "direction": "horizontal",
314
+ "type": "stack",
315
+ "gap": "sm",
308
316
  "children": [
309
317
  {
310
318
  "type": "icon",
@@ -315,42 +323,39 @@
315
323
  "variant": "h2",
316
324
  "type": "typography"
317
325
  }
318
- ],
319
- "direction": "horizontal",
320
- "gap": "sm",
321
- "align": "center",
322
- "type": "stack"
326
+ ]
323
327
  },
324
328
  {
325
329
  "type": "divider"
326
330
  },
327
331
  {
328
- "type": "card",
329
332
  "children": [
330
333
  {
331
- "gap": "md",
332
- "type": "stack",
333
- "direction": "vertical",
334
334
  "children": [
335
335
  {
336
336
  "variant": "body",
337
- "content": "Enter the target to validate and auto-fix",
338
- "type": "typography"
337
+ "type": "typography",
338
+ "content": "Enter the target to validate and auto-fix"
339
339
  },
340
340
  {
341
- "type": "form-section",
342
341
  "fields": [
343
342
  "target"
344
343
  ],
344
+ "mode": "edit",
345
+ "type": "form-section",
345
346
  "entity": "@entity",
346
- "submitEvent": "FIX",
347
- "mode": "edit"
347
+ "submitEvent": "FIX"
348
348
  }
349
- ]
349
+ ],
350
+ "direction": "vertical",
351
+ "gap": "md",
352
+ "type": "stack"
350
353
  }
351
- ]
354
+ ],
355
+ "type": "card"
352
356
  }
353
- ]
357
+ ],
358
+ "type": "stack"
354
359
  }
355
360
  ]
356
361
  ]
@@ -391,20 +396,27 @@
391
396
  "render-ui",
392
397
  "main",
393
398
  {
399
+ "gap": "lg",
400
+ "type": "stack",
401
+ "direction": "vertical",
402
+ "align": "center",
394
403
  "children": [
395
404
  {
396
405
  "type": "icon",
397
406
  "name": "shield-check"
398
407
  },
399
408
  {
400
- "variant": "h3",
401
409
  "content": "Validating...",
402
- "type": "typography"
410
+ "type": "typography",
411
+ "variant": "h3"
403
412
  },
404
413
  {
405
414
  "type": "spinner"
406
415
  },
407
416
  {
417
+ "type": "stack",
418
+ "direction": "horizontal",
419
+ "justify": "center",
408
420
  "children": [
409
421
  {
410
422
  "label": "@entity.target",
@@ -415,16 +427,9 @@
415
427
  "label": "@entity.maxAttempts"
416
428
  }
417
429
  ],
418
- "direction": "horizontal",
419
- "gap": "md",
420
- "type": "stack",
421
- "justify": "center"
430
+ "gap": "md"
422
431
  }
423
- ],
424
- "align": "center",
425
- "direction": "vertical",
426
- "gap": "lg",
427
- "type": "stack"
432
+ ]
428
433
  }
429
434
  ]
430
435
  ]
@@ -447,87 +452,87 @@
447
452
  "render-ui",
448
453
  "main",
449
454
  {
450
- "gap": "lg",
451
- "direction": "vertical",
452
455
  "type": "stack",
456
+ "direction": "vertical",
453
457
  "children": [
454
458
  {
459
+ "type": "stack",
460
+ "align": "center",
461
+ "gap": "sm",
462
+ "justify": "between",
455
463
  "children": [
456
464
  {
457
- "direction": "horizontal",
465
+ "gap": "sm",
466
+ "align": "center",
458
467
  "type": "stack",
468
+ "direction": "horizontal",
459
469
  "children": [
460
470
  {
461
471
  "name": "check-circle",
462
472
  "type": "icon"
463
473
  },
464
474
  {
465
- "type": "typography",
466
475
  "content": "Validation Passed",
467
- "variant": "h2"
476
+ "variant": "h2",
477
+ "type": "typography"
468
478
  }
469
- ],
470
- "align": "center",
471
- "gap": "sm"
479
+ ]
472
480
  },
473
481
  {
474
- "type": "button",
475
482
  "action": "RESET",
483
+ "label": "New Target",
484
+ "type": "button",
476
485
  "variant": "ghost",
477
- "icon": "rotate-ccw",
478
- "label": "New Target"
486
+ "icon": "rotate-ccw"
479
487
  }
480
488
  ],
481
- "direction": "horizontal",
482
- "align": "center",
483
- "gap": "sm",
484
- "type": "stack",
485
- "justify": "between"
489
+ "direction": "horizontal"
486
490
  },
487
491
  {
488
492
  "type": "divider"
489
493
  },
490
494
  {
491
495
  "cols": 2.0,
496
+ "type": "simple-grid",
492
497
  "children": [
493
498
  {
494
- "icon": "wrench",
495
- "value": "@entity.fixAttempts",
496
499
  "type": "stat-display",
497
- "label": "Fix Attempts"
500
+ "icon": "wrench",
501
+ "label": "Fix Attempts",
502
+ "value": "@entity.fixAttempts"
498
503
  },
499
504
  {
500
- "type": "stat-display",
501
505
  "value": "Passed",
506
+ "type": "stat-display",
502
507
  "icon": "check",
503
508
  "label": "Status"
504
509
  }
505
- ],
506
- "type": "simple-grid"
510
+ ]
507
511
  },
508
512
  {
509
- "type": "card",
510
513
  "children": [
511
514
  {
512
- "direction": "vertical",
513
- "type": "stack",
514
515
  "gap": "sm",
516
+ "type": "stack",
517
+ "direction": "vertical",
515
518
  "children": [
516
519
  {
517
- "type": "typography",
520
+ "content": "Target",
518
521
  "variant": "caption",
519
- "content": "Target"
522
+ "type": "typography"
520
523
  },
521
524
  {
525
+ "content": "@entity.target",
522
526
  "variant": "body",
523
- "type": "typography",
524
- "content": "@entity.target"
527
+ "type": "typography"
525
528
  }
526
529
  ]
527
530
  }
528
- ]
531
+ ],
532
+ "type": "card"
529
533
  }
530
- ]
534
+ ],
535
+ "gap": "lg"
531
536
  }
532
537
  ]
533
538
  ]
@@ -576,10 +581,20 @@
576
581
  "render-ui",
577
582
  "main",
578
583
  {
584
+ "gap": "lg",
579
585
  "children": [
580
586
  {
587
+ "type": "stack",
588
+ "direction": "horizontal",
589
+ "gap": "sm",
590
+ "align": "center",
591
+ "justify": "between",
581
592
  "children": [
582
593
  {
594
+ "type": "stack",
595
+ "align": "center",
596
+ "gap": "sm",
597
+ "direction": "horizontal",
583
598
  "children": [
584
599
  {
585
600
  "type": "icon",
@@ -590,32 +605,20 @@
590
605
  "variant": "h2",
591
606
  "content": "Generating fix..."
592
607
  }
593
- ],
594
- "align": "center",
595
- "gap": "sm",
596
- "direction": "horizontal",
597
- "type": "stack"
608
+ ]
598
609
  },
599
610
  {
600
611
  "label": "@entity.fixAttempts",
601
612
  "type": "badge"
602
613
  }
603
- ],
604
- "type": "stack",
605
- "direction": "horizontal",
606
- "align": "center",
607
- "justify": "between",
608
- "gap": "sm"
614
+ ]
609
615
  },
610
616
  {
611
617
  "type": "divider"
612
618
  },
613
619
  {
614
- "type": "card",
615
620
  "children": [
616
621
  {
617
- "gap": "sm",
618
- "type": "stack",
619
622
  "children": [
620
623
  {
621
624
  "variant": "caption",
@@ -623,22 +626,24 @@
623
626
  "content": "Validation Errors"
624
627
  },
625
628
  {
629
+ "message": "@entity.validationErrors",
626
630
  "type": "alert",
627
- "variant": "error",
628
- "message": "@entity.validationErrors"
631
+ "variant": "error"
629
632
  }
630
633
  ],
634
+ "gap": "sm",
635
+ "type": "stack",
631
636
  "direction": "vertical"
632
637
  }
633
- ]
638
+ ],
639
+ "type": "card"
634
640
  },
635
641
  {
636
642
  "type": "spinner"
637
643
  }
638
644
  ],
639
- "gap": "lg",
640
- "direction": "vertical",
641
- "type": "stack"
645
+ "type": "stack",
646
+ "direction": "vertical"
642
647
  }
643
648
  ]
644
649
  ]
@@ -666,8 +671,8 @@
666
671
  "render-ui",
667
672
  "main",
668
673
  {
674
+ "direction": "vertical",
669
675
  "align": "center",
670
- "gap": "lg",
671
676
  "children": [
672
677
  {
673
678
  "type": "icon",
@@ -679,29 +684,30 @@
679
684
  "content": "Fix Loop Failed"
680
685
  },
681
686
  {
682
- "message": "@entity.error",
687
+ "variant": "error",
683
688
  "type": "alert",
684
- "variant": "error"
689
+ "message": "@entity.error"
685
690
  },
686
691
  {
687
- "type": "simple-grid",
688
- "cols": 2.0,
689
692
  "children": [
690
693
  {
691
- "icon": "wrench",
692
- "type": "stat-display",
693
694
  "value": "@entity.fixAttempts",
694
- "label": "Attempts Used"
695
+ "type": "stat-display",
696
+ "label": "Attempts Used",
697
+ "icon": "wrench"
695
698
  },
696
699
  {
697
- "label": "Remaining Errors",
698
700
  "value": "@entity.errorCount",
699
701
  "type": "stat-display",
702
+ "label": "Remaining Errors",
700
703
  "icon": "alert-triangle"
701
704
  }
702
- ]
705
+ ],
706
+ "cols": 2.0,
707
+ "type": "simple-grid"
703
708
  },
704
709
  {
710
+ "type": "card",
705
711
  "children": [
706
712
  {
707
713
  "direction": "vertical",
@@ -710,8 +716,8 @@
710
716
  "children": [
711
717
  {
712
718
  "type": "typography",
713
- "content": "Last Validation Errors",
714
- "variant": "caption"
719
+ "variant": "caption",
720
+ "content": "Last Validation Errors"
715
721
  },
716
722
  {
717
723
  "variant": "body",
@@ -720,19 +726,18 @@
720
726
  }
721
727
  ]
722
728
  }
723
- ],
724
- "type": "card"
729
+ ]
725
730
  },
726
731
  {
732
+ "icon": "rotate-ccw",
727
733
  "label": "Retry",
728
734
  "type": "button",
729
- "action": "RESET",
730
735
  "variant": "primary",
731
- "icon": "rotate-ccw"
736
+ "action": "RESET"
732
737
  }
733
738
  ],
734
- "direction": "vertical",
735
- "type": "stack"
739
+ "type": "stack",
740
+ "gap": "lg"
736
741
  }
737
742
  ]
738
743
  ]
@@ -756,54 +761,54 @@
756
761
  "agent/invoke",
757
762
  "apply-fix",
758
763
  {
759
- "fix": "@payload.fix",
760
- "target": "@entity.target"
764
+ "target": "@entity.target",
765
+ "fix": "@payload.fix"
761
766
  }
762
767
  ],
763
768
  [
764
769
  "render-ui",
765
770
  "main",
766
771
  {
767
- "type": "stack",
772
+ "gap": "lg",
768
773
  "children": [
769
774
  {
770
- "name": "tool",
771
- "type": "icon"
775
+ "type": "icon",
776
+ "name": "tool"
772
777
  },
773
778
  {
774
779
  "type": "typography",
775
- "content": "Applying fix...",
776
- "variant": "h3"
780
+ "variant": "h3",
781
+ "content": "Applying fix..."
777
782
  },
778
783
  {
779
784
  "type": "spinner"
780
785
  },
781
786
  {
787
+ "type": "card",
782
788
  "children": [
783
789
  {
784
- "gap": "sm",
785
790
  "children": [
786
791
  {
787
- "content": "Proposed Fix",
788
792
  "variant": "caption",
789
- "type": "typography"
793
+ "type": "typography",
794
+ "content": "Proposed Fix"
790
795
  },
791
796
  {
792
- "type": "typography",
793
797
  "content": "@entity.currentFix",
794
- "variant": "body"
798
+ "variant": "body",
799
+ "type": "typography"
795
800
  }
796
801
  ],
797
802
  "type": "stack",
803
+ "gap": "sm",
798
804
  "direction": "vertical"
799
805
  }
800
- ],
801
- "type": "card"
806
+ ]
802
807
  }
803
808
  ],
804
- "gap": "lg",
805
- "direction": "vertical",
806
- "align": "center"
809
+ "type": "stack",
810
+ "align": "center",
811
+ "direction": "vertical"
807
812
  }
808
813
  ]
809
814
  ]
@@ -831,11 +836,12 @@
831
836
  "render-ui",
832
837
  "main",
833
838
  {
834
- "type": "stack",
839
+ "align": "center",
840
+ "gap": "lg",
835
841
  "children": [
836
842
  {
837
- "type": "icon",
838
- "name": "x-circle"
843
+ "name": "x-circle",
844
+ "type": "icon"
839
845
  },
840
846
  {
841
847
  "content": "Fix Loop Failed",
@@ -844,23 +850,23 @@
844
850
  },
845
851
  {
846
852
  "variant": "error",
847
- "message": "@entity.error",
848
- "type": "alert"
853
+ "type": "alert",
854
+ "message": "@entity.error"
849
855
  },
850
856
  {
851
857
  "type": "simple-grid",
852
858
  "cols": 2.0,
853
859
  "children": [
854
860
  {
855
- "icon": "wrench",
856
- "label": "Attempts Used",
861
+ "value": "@entity.fixAttempts",
857
862
  "type": "stat-display",
858
- "value": "@entity.fixAttempts"
863
+ "label": "Attempts Used",
864
+ "icon": "wrench"
859
865
  },
860
866
  {
861
- "type": "stat-display",
862
- "value": "@entity.errorCount",
863
867
  "label": "Remaining Errors",
868
+ "value": "@entity.errorCount",
869
+ "type": "stat-display",
864
870
  "icon": "alert-triangle"
865
871
  }
866
872
  ]
@@ -870,34 +876,33 @@
870
876
  "children": [
871
877
  {
872
878
  "gap": "sm",
873
- "direction": "vertical",
874
879
  "type": "stack",
875
880
  "children": [
876
881
  {
882
+ "content": "Last Validation Errors",
877
883
  "variant": "caption",
878
- "type": "typography",
879
- "content": "Last Validation Errors"
884
+ "type": "typography"
880
885
  },
881
886
  {
882
- "content": "@entity.validationErrors",
883
887
  "variant": "body",
884
- "type": "typography"
888
+ "type": "typography",
889
+ "content": "@entity.validationErrors"
885
890
  }
886
- ]
891
+ ],
892
+ "direction": "vertical"
887
893
  }
888
894
  ]
889
895
  },
890
896
  {
891
- "action": "RESET",
892
- "variant": "primary",
897
+ "label": "Retry",
893
898
  "icon": "rotate-ccw",
899
+ "action": "RESET",
894
900
  "type": "button",
895
- "label": "Retry"
901
+ "variant": "primary"
896
902
  }
897
903
  ],
898
- "direction": "vertical",
899
- "gap": "lg",
900
- "align": "center"
904
+ "type": "stack",
905
+ "direction": "vertical"
901
906
  }
902
907
  ]
903
908
  ]
@@ -925,37 +930,37 @@
925
930
  {
926
931
  "type": "stack",
927
932
  "align": "center",
928
- "direction": "vertical",
929
933
  "children": [
930
934
  {
931
- "type": "icon",
932
- "name": "shield-check"
935
+ "name": "shield-check",
936
+ "type": "icon"
933
937
  },
934
938
  {
935
939
  "content": "Validating...",
936
- "variant": "h3",
937
- "type": "typography"
940
+ "type": "typography",
941
+ "variant": "h3"
938
942
  },
939
943
  {
940
944
  "type": "spinner"
941
945
  },
942
946
  {
947
+ "gap": "md",
948
+ "direction": "horizontal",
943
949
  "children": [
944
950
  {
945
- "type": "badge",
946
- "label": "@entity.target"
951
+ "label": "@entity.target",
952
+ "type": "badge"
947
953
  },
948
954
  {
949
955
  "label": "@entity.maxAttempts",
950
956
  "type": "badge"
951
957
  }
952
958
  ],
953
- "gap": "md",
954
- "direction": "horizontal",
955
- "type": "stack",
956
- "justify": "center"
959
+ "justify": "center",
960
+ "type": "stack"
957
961
  }
958
962
  ],
963
+ "direction": "vertical",
959
964
  "gap": "lg"
960
965
  }
961
966
  ]
@@ -984,7 +989,6 @@
984
989
  "render-ui",
985
990
  "main",
986
991
  {
987
- "gap": "lg",
988
992
  "align": "center",
989
993
  "children": [
990
994
  {
@@ -992,8 +996,8 @@
992
996
  "name": "x-circle"
993
997
  },
994
998
  {
995
- "content": "Fix Loop Failed",
996
999
  "type": "typography",
1000
+ "content": "Fix Loop Failed",
997
1001
  "variant": "h2"
998
1002
  },
999
1003
  {
@@ -1007,15 +1011,15 @@
1007
1011
  "children": [
1008
1012
  {
1009
1013
  "value": "@entity.fixAttempts",
1010
- "icon": "wrench",
1014
+ "type": "stat-display",
1011
1015
  "label": "Attempts Used",
1012
- "type": "stat-display"
1016
+ "icon": "wrench"
1013
1017
  },
1014
1018
  {
1015
- "value": "@entity.errorCount",
1019
+ "label": "Remaining Errors",
1016
1020
  "icon": "alert-triangle",
1017
1021
  "type": "stat-display",
1018
- "label": "Remaining Errors"
1022
+ "value": "@entity.errorCount"
1019
1023
  }
1020
1024
  ]
1021
1025
  },
@@ -1023,33 +1027,34 @@
1023
1027
  "type": "card",
1024
1028
  "children": [
1025
1029
  {
1030
+ "direction": "vertical",
1026
1031
  "gap": "sm",
1032
+ "type": "stack",
1027
1033
  "children": [
1028
1034
  {
1035
+ "content": "Last Validation Errors",
1029
1036
  "type": "typography",
1030
- "variant": "caption",
1031
- "content": "Last Validation Errors"
1037
+ "variant": "caption"
1032
1038
  },
1033
1039
  {
1034
- "variant": "body",
1040
+ "content": "@entity.validationErrors",
1035
1041
  "type": "typography",
1036
- "content": "@entity.validationErrors"
1042
+ "variant": "body"
1037
1043
  }
1038
- ],
1039
- "direction": "vertical",
1040
- "type": "stack"
1044
+ ]
1041
1045
  }
1042
1046
  ]
1043
1047
  },
1044
1048
  {
1045
- "type": "button",
1046
1049
  "label": "Retry",
1050
+ "type": "button",
1047
1051
  "action": "RESET",
1048
1052
  "variant": "primary",
1049
1053
  "icon": "rotate-ccw"
1050
1054
  }
1051
1055
  ],
1052
1056
  "type": "stack",
1057
+ "gap": "lg",
1053
1058
  "direction": "vertical"
1054
1059
  }
1055
1060
  ]
@@ -1099,36 +1104,32 @@
1099
1104
  "render-ui",
1100
1105
  "main",
1101
1106
  {
1102
- "direction": "vertical",
1103
- "type": "stack",
1104
- "gap": "lg",
1105
1107
  "children": [
1106
1108
  {
1109
+ "align": "center",
1110
+ "type": "stack",
1111
+ "gap": "sm",
1107
1112
  "children": [
1108
1113
  {
1109
1114
  "name": "wrench",
1110
1115
  "type": "icon"
1111
1116
  },
1112
1117
  {
1113
- "content": "Validation-Fix Loop",
1114
1118
  "variant": "h2",
1115
- "type": "typography"
1119
+ "type": "typography",
1120
+ "content": "Validation-Fix Loop"
1116
1121
  }
1117
1122
  ],
1118
- "direction": "horizontal",
1119
- "gap": "sm",
1120
- "type": "stack",
1121
- "align": "center"
1123
+ "direction": "horizontal"
1122
1124
  },
1123
1125
  {
1124
1126
  "type": "divider"
1125
1127
  },
1126
1128
  {
1129
+ "type": "card",
1127
1130
  "children": [
1128
1131
  {
1129
1132
  "type": "stack",
1130
- "direction": "vertical",
1131
- "gap": "md",
1132
1133
  "children": [
1133
1134
  {
1134
1135
  "type": "typography",
@@ -1136,20 +1137,24 @@
1136
1137
  "variant": "body"
1137
1138
  },
1138
1139
  {
1140
+ "entity": "@entity",
1139
1141
  "type": "form-section",
1142
+ "mode": "edit",
1140
1143
  "submitEvent": "FIX",
1141
1144
  "fields": [
1142
1145
  "target"
1143
- ],
1144
- "mode": "edit",
1145
- "entity": "@entity"
1146
+ ]
1146
1147
  }
1147
- ]
1148
+ ],
1149
+ "gap": "md",
1150
+ "direction": "vertical"
1148
1151
  }
1149
- ],
1150
- "type": "card"
1152
+ ]
1151
1153
  }
1152
- ]
1154
+ ],
1155
+ "gap": "lg",
1156
+ "direction": "vertical",
1157
+ "type": "stack"
1153
1158
  }
1154
1159
  ]
1155
1160
  ]
@@ -1198,57 +1203,57 @@
1198
1203
  "render-ui",
1199
1204
  "main",
1200
1205
  {
1206
+ "direction": "vertical",
1201
1207
  "gap": "lg",
1202
- "type": "stack",
1203
1208
  "children": [
1204
1209
  {
1205
- "direction": "horizontal",
1206
1210
  "type": "stack",
1207
1211
  "align": "center",
1208
- "gap": "sm",
1209
1212
  "children": [
1210
1213
  {
1211
- "name": "wrench",
1212
- "type": "icon"
1214
+ "type": "icon",
1215
+ "name": "wrench"
1213
1216
  },
1214
1217
  {
1215
- "content": "Validation-Fix Loop",
1216
1218
  "variant": "h2",
1217
- "type": "typography"
1219
+ "type": "typography",
1220
+ "content": "Validation-Fix Loop"
1218
1221
  }
1219
- ]
1222
+ ],
1223
+ "gap": "sm",
1224
+ "direction": "horizontal"
1220
1225
  },
1221
1226
  {
1222
1227
  "type": "divider"
1223
1228
  },
1224
1229
  {
1230
+ "type": "card",
1225
1231
  "children": [
1226
1232
  {
1227
1233
  "children": [
1228
1234
  {
1229
- "type": "typography",
1230
1235
  "variant": "body",
1231
- "content": "Enter the target to validate and auto-fix"
1236
+ "content": "Enter the target to validate and auto-fix",
1237
+ "type": "typography"
1232
1238
  },
1233
1239
  {
1234
- "mode": "edit",
1235
1240
  "type": "form-section",
1236
- "submitEvent": "FIX",
1241
+ "entity": "@entity",
1237
1242
  "fields": [
1238
1243
  "target"
1239
1244
  ],
1240
- "entity": "@entity"
1245
+ "mode": "edit",
1246
+ "submitEvent": "FIX"
1241
1247
  }
1242
1248
  ],
1249
+ "direction": "vertical",
1243
1250
  "gap": "md",
1244
- "type": "stack",
1245
- "direction": "vertical"
1251
+ "type": "stack"
1246
1252
  }
1247
- ],
1248
- "type": "card"
1253
+ ]
1249
1254
  }
1250
1255
  ],
1251
- "direction": "vertical"
1256
+ "type": "stack"
1252
1257
  }
1253
1258
  ]
1254
1259
  ]