@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
@@ -306,6 +306,21 @@
306
306
  "to": "idle",
307
307
  "event": "INIT",
308
308
  "effects": [
309
+ [
310
+ "set",
311
+ "@entity.key",
312
+ ""
313
+ ],
314
+ [
315
+ "set",
316
+ "@entity.ttl",
317
+ 3600.0
318
+ ],
319
+ [
320
+ "set",
321
+ "@entity.value",
322
+ ""
323
+ ],
309
324
  [
310
325
  "fetch",
311
326
  "ServiceRedis",
@@ -320,10 +335,13 @@
320
335
  "render-ui",
321
336
  "main",
322
337
  {
338
+ "gap": "lg",
323
339
  "type": "stack",
324
340
  "children": [
325
341
  {
342
+ "gap": "md",
326
343
  "type": "stack",
344
+ "align": "center",
327
345
  "children": [
328
346
  {
329
347
  "type": "icon",
@@ -335,14 +353,14 @@
335
353
  "type": "typography"
336
354
  }
337
355
  ],
338
- "direction": "horizontal",
339
- "gap": "md",
340
- "align": "center"
356
+ "direction": "horizontal"
341
357
  },
342
358
  {
343
359
  "type": "divider"
344
360
  },
345
361
  {
362
+ "type": "stack",
363
+ "direction": "vertical",
346
364
  "children": [
347
365
  {
348
366
  "placeholder": "cache-key",
@@ -353,48 +371,45 @@
353
371
  "type": "input"
354
372
  },
355
373
  {
356
- "type": "input",
374
+ "inputType": "number",
357
375
  "placeholder": "3600",
358
- "inputType": "number"
376
+ "type": "input"
359
377
  }
360
378
  ],
361
- "gap": "md",
362
- "type": "stack",
363
- "direction": "vertical"
379
+ "gap": "md"
364
380
  },
365
381
  {
366
- "justify": "center",
367
382
  "type": "stack",
383
+ "direction": "horizontal",
384
+ "gap": "sm",
385
+ "justify": "center",
368
386
  "children": [
369
387
  {
370
- "label": "Get",
371
388
  "type": "button",
389
+ "label": "Get",
390
+ "action": "GET_KEY",
372
391
  "variant": "primary",
373
- "icon": "download",
374
- "action": "GET_KEY"
392
+ "icon": "download"
375
393
  },
376
394
  {
377
- "variant": "primary",
378
- "action": "SET_KEY",
379
- "type": "button",
380
395
  "icon": "upload",
381
- "label": "Set"
396
+ "type": "button",
397
+ "label": "Set",
398
+ "action": "SET_KEY",
399
+ "variant": "primary"
382
400
  },
383
401
  {
384
- "action": "DELETE_KEY",
385
- "icon": "trash-2",
386
402
  "variant": "danger",
403
+ "label": "Delete",
387
404
  "type": "button",
388
- "label": "Delete"
405
+ "action": "DELETE_KEY",
406
+ "icon": "trash-2"
389
407
  }
390
- ],
391
- "gap": "sm",
392
- "direction": "horizontal"
408
+ ]
393
409
  }
394
410
  ],
395
411
  "align": "center",
396
- "direction": "vertical",
397
- "gap": "lg"
412
+ "direction": "vertical"
398
413
  }
399
414
  ]
400
415
  ]
@@ -409,8 +424,8 @@
409
424
  "main",
410
425
  {
411
426
  "type": "loading-state",
412
- "message": "Running redis operation...",
413
- "title": "Executing..."
427
+ "title": "Executing...",
428
+ "message": "Running redis operation..."
414
429
  }
415
430
  ],
416
431
  [
@@ -422,8 +437,8 @@
422
437
  },
423
438
  {
424
439
  "emit": {
425
- "success": "ServiceRedisRedisCompleted",
426
- "failure": "ServiceRedisRedisFailed"
440
+ "failure": "ServiceRedisRedisFailed",
441
+ "success": "ServiceRedisRedisCompleted"
427
442
  }
428
443
  }
429
444
  ]
@@ -438,9 +453,9 @@
438
453
  "render-ui",
439
454
  "main",
440
455
  {
441
- "title": "Executing...",
442
456
  "type": "loading-state",
443
- "message": "Running redis operation..."
457
+ "message": "Running redis operation...",
458
+ "title": "Executing..."
444
459
  }
445
460
  ],
446
461
  [
@@ -448,14 +463,14 @@
448
463
  "redis",
449
464
  "set",
450
465
  {
466
+ "ttl": "@entity.ttl",
451
467
  "value": "@entity.value",
452
- "key": "@entity.key",
453
- "ttl": "@entity.ttl"
468
+ "key": "@entity.key"
454
469
  },
455
470
  {
456
471
  "emit": {
457
- "success": "ServiceRedisRedisCompleted",
458
- "failure": "ServiceRedisRedisFailed"
472
+ "failure": "ServiceRedisRedisFailed",
473
+ "success": "ServiceRedisRedisCompleted"
459
474
  }
460
475
  }
461
476
  ]
@@ -470,9 +485,9 @@
470
485
  "render-ui",
471
486
  "main",
472
487
  {
488
+ "message": "Running redis operation...",
473
489
  "type": "loading-state",
474
- "title": "Executing...",
475
- "message": "Running redis operation..."
490
+ "title": "Executing..."
476
491
  }
477
492
  ],
478
493
  [
@@ -484,8 +499,8 @@
484
499
  },
485
500
  {
486
501
  "emit": {
487
- "failure": "ServiceRedisRedisFailed",
488
- "success": "ServiceRedisRedisCompleted"
502
+ "success": "ServiceRedisRedisCompleted",
503
+ "failure": "ServiceRedisRedisFailed"
489
504
  }
490
505
  }
491
506
  ]
@@ -505,34 +520,34 @@
505
520
  "render-ui",
506
521
  "main",
507
522
  {
508
- "type": "stack",
523
+ "direction": "vertical",
509
524
  "gap": "lg",
525
+ "type": "stack",
526
+ "align": "center",
510
527
  "children": [
511
528
  {
512
- "name": "check-circle",
513
- "type": "icon"
529
+ "type": "icon",
530
+ "name": "check-circle"
514
531
  },
515
532
  {
516
533
  "variant": "success",
517
- "type": "alert",
518
- "message": "Operation complete"
534
+ "message": "Operation complete",
535
+ "type": "alert"
519
536
  },
520
537
  {
521
- "type": "typography",
522
538
  "color": "muted",
539
+ "variant": "body",
523
540
  "content": "@entity.result",
524
- "variant": "body"
541
+ "type": "typography"
525
542
  },
526
543
  {
527
544
  "label": "Reset",
528
545
  "type": "button",
529
- "variant": "ghost",
530
546
  "action": "RESET",
531
- "icon": "rotate-ccw"
547
+ "icon": "rotate-ccw",
548
+ "variant": "ghost"
532
549
  }
533
- ],
534
- "direction": "vertical",
535
- "align": "center"
550
+ ]
536
551
  }
537
552
  ]
538
553
  ]
@@ -551,10 +566,10 @@
551
566
  "render-ui",
552
567
  "main",
553
568
  {
554
- "type": "error-state",
555
- "onRetry": "RESET",
556
569
  "title": "Redis Error",
557
- "message": "@entity.error"
570
+ "type": "error-state",
571
+ "message": "@entity.error",
572
+ "onRetry": "RESET"
558
573
  }
559
574
  ]
560
575
  ]
@@ -568,81 +583,81 @@
568
583
  "render-ui",
569
584
  "main",
570
585
  {
571
- "type": "stack",
572
- "align": "center",
586
+ "gap": "lg",
573
587
  "children": [
574
588
  {
575
- "type": "stack",
576
- "direction": "horizontal",
577
589
  "gap": "md",
590
+ "type": "stack",
578
591
  "children": [
579
592
  {
580
- "name": "database",
581
- "type": "icon"
593
+ "type": "icon",
594
+ "name": "database"
582
595
  },
583
596
  {
584
- "variant": "h2",
585
597
  "type": "typography",
586
- "content": "Redis Cache"
598
+ "content": "Redis Cache",
599
+ "variant": "h2"
587
600
  }
588
601
  ],
589
- "align": "center"
602
+ "align": "center",
603
+ "direction": "horizontal"
590
604
  },
591
605
  {
592
606
  "type": "divider"
593
607
  },
594
608
  {
609
+ "type": "stack",
610
+ "gap": "md",
611
+ "direction": "vertical",
595
612
  "children": [
596
613
  {
597
- "type": "input",
598
- "placeholder": "cache-key"
614
+ "placeholder": "cache-key",
615
+ "type": "input"
599
616
  },
600
617
  {
601
- "placeholder": "cache-value",
602
- "type": "input"
618
+ "type": "input",
619
+ "placeholder": "cache-value"
603
620
  },
604
621
  {
605
- "placeholder": "3600",
606
622
  "type": "input",
607
- "inputType": "number"
623
+ "inputType": "number",
624
+ "placeholder": "3600"
608
625
  }
609
- ],
610
- "gap": "md",
611
- "direction": "vertical",
612
- "type": "stack"
626
+ ]
613
627
  },
614
628
  {
615
629
  "direction": "horizontal",
616
- "justify": "center",
617
630
  "gap": "sm",
618
- "type": "stack",
631
+ "justify": "center",
619
632
  "children": [
620
633
  {
634
+ "icon": "download",
621
635
  "label": "Get",
622
- "type": "button",
623
636
  "action": "GET_KEY",
624
637
  "variant": "primary",
625
- "icon": "download"
638
+ "type": "button"
626
639
  },
627
640
  {
628
- "variant": "primary",
629
641
  "label": "Set",
630
642
  "icon": "upload",
643
+ "action": "SET_KEY",
631
644
  "type": "button",
632
- "action": "SET_KEY"
645
+ "variant": "primary"
633
646
  },
634
647
  {
635
- "action": "DELETE_KEY",
636
- "type": "button",
637
- "variant": "danger",
648
+ "icon": "trash-2",
638
649
  "label": "Delete",
639
- "icon": "trash-2"
650
+ "variant": "danger",
651
+ "action": "DELETE_KEY",
652
+ "type": "button"
640
653
  }
641
- ]
654
+ ],
655
+ "type": "stack"
642
656
  }
643
657
  ],
644
658
  "direction": "vertical",
645
- "gap": "lg"
659
+ "align": "center",
660
+ "type": "stack"
646
661
  }
647
662
  ]
648
663
  ]
@@ -656,25 +671,22 @@
656
671
  "render-ui",
657
672
  "main",
658
673
  {
659
- "align": "center",
660
- "gap": "lg",
661
- "type": "stack",
662
674
  "children": [
663
675
  {
676
+ "type": "stack",
677
+ "direction": "horizontal",
678
+ "gap": "md",
664
679
  "children": [
665
680
  {
666
- "name": "database",
667
- "type": "icon"
681
+ "type": "icon",
682
+ "name": "database"
668
683
  },
669
684
  {
670
- "variant": "h2",
671
685
  "type": "typography",
672
- "content": "Redis Cache"
686
+ "content": "Redis Cache",
687
+ "variant": "h2"
673
688
  }
674
689
  ],
675
- "gap": "md",
676
- "direction": "horizontal",
677
- "type": "stack",
678
690
  "align": "center"
679
691
  },
680
692
  {
@@ -682,7 +694,6 @@
682
694
  },
683
695
  {
684
696
  "type": "stack",
685
- "gap": "md",
686
697
  "direction": "vertical",
687
698
  "children": [
688
699
  {
@@ -694,43 +705,47 @@
694
705
  "placeholder": "cache-value"
695
706
  },
696
707
  {
697
- "placeholder": "3600",
698
708
  "inputType": "number",
699
- "type": "input"
709
+ "type": "input",
710
+ "placeholder": "3600"
700
711
  }
701
- ]
712
+ ],
713
+ "gap": "md"
702
714
  },
703
715
  {
716
+ "type": "stack",
704
717
  "justify": "center",
705
718
  "children": [
706
719
  {
720
+ "icon": "download",
721
+ "variant": "primary",
707
722
  "type": "button",
708
723
  "label": "Get",
709
- "variant": "primary",
710
- "icon": "download",
711
724
  "action": "GET_KEY"
712
725
  },
713
726
  {
714
- "type": "button",
715
- "action": "SET_KEY",
716
727
  "variant": "primary",
728
+ "label": "Set",
729
+ "type": "button",
717
730
  "icon": "upload",
718
- "label": "Set"
731
+ "action": "SET_KEY"
719
732
  },
720
733
  {
734
+ "type": "button",
735
+ "icon": "trash-2",
721
736
  "label": "Delete",
722
737
  "action": "DELETE_KEY",
723
- "icon": "trash-2",
724
- "type": "button",
725
738
  "variant": "danger"
726
739
  }
727
740
  ],
728
- "type": "stack",
729
741
  "direction": "horizontal",
730
742
  "gap": "sm"
731
743
  }
732
744
  ],
733
- "direction": "vertical"
745
+ "direction": "vertical",
746
+ "align": "center",
747
+ "type": "stack",
748
+ "gap": "lg"
734
749
  }
735
750
  ]
736
751
  ]
@@ -753,4 +768,4 @@
753
768
  ]
754
769
  }
755
770
  ]
756
- }
771
+ }