@almadar/std 8.2.0 → 8.3.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 (187) hide show
  1. package/behaviors/registry/agent/atoms/std-agent-activity-log.orb +83 -83
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +112 -112
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +107 -101
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +131 -116
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +408 -402
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +82 -82
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +81 -81
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +124 -118
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +74 -74
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +129 -129
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +202 -202
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +312 -312
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +59 -59
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +206 -206
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +186 -186
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +136 -136
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +116 -116
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +206 -206
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1131 -1131
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +3061 -3061
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2114 -2114
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1007 -1007
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +735 -735
  24. package/behaviors/registry/app/organisms/std-api-gateway.orb +805 -805
  25. package/behaviors/registry/app/organisms/std-booking-system.orb +1178 -1178
  26. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +781 -781
  27. package/behaviors/registry/app/organisms/std-cms.orb +445 -445
  28. package/behaviors/registry/app/organisms/std-coding-academy.orb +368 -368
  29. package/behaviors/registry/app/organisms/std-crm.orb +781 -781
  30. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1344 -1344
  31. package/behaviors/registry/app/organisms/std-ecommerce.orb +968 -968
  32. package/behaviors/registry/app/organisms/std-finance-tracker.orb +626 -626
  33. package/behaviors/registry/app/organisms/std-healthcare.orb +1286 -1286
  34. package/behaviors/registry/app/organisms/std-helpdesk.orb +636 -636
  35. package/behaviors/registry/app/organisms/std-hr-portal.orb +1160 -1160
  36. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +828 -828
  37. package/behaviors/registry/app/organisms/std-lms.orb +863 -863
  38. package/behaviors/registry/app/organisms/std-project-manager.orb +686 -686
  39. package/behaviors/registry/app/organisms/std-realtime-chat.orb +739 -739
  40. package/behaviors/registry/app/organisms/std-social-feed.orb +239 -239
  41. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +661 -661
  42. package/behaviors/registry/core/atoms/std-browse.orb +60 -60
  43. package/behaviors/registry/core/atoms/std-cache-aside.orb +92 -92
  44. package/behaviors/registry/core/atoms/std-calendar.orb +55 -55
  45. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +176 -176
  46. package/behaviors/registry/core/atoms/std-confirmation.orb +24 -42
  47. package/behaviors/registry/core/atoms/std-display.orb +371 -371
  48. package/behaviors/registry/core/atoms/std-drawer.orb +56 -56
  49. package/behaviors/registry/core/atoms/std-filter.orb +46 -46
  50. package/behaviors/registry/core/atoms/std-gallery.orb +50 -50
  51. package/behaviors/registry/core/atoms/std-modal.orb +14 -32
  52. package/behaviors/registry/core/atoms/std-pagination.orb +45 -45
  53. package/behaviors/registry/core/atoms/std-push.orb +42 -42
  54. package/behaviors/registry/core/atoms/std-rate-limiter.orb +172 -172
  55. package/behaviors/registry/core/atoms/std-related.orb +36 -36
  56. package/behaviors/registry/core/atoms/std-search.orb +71 -71
  57. package/behaviors/registry/core/atoms/std-selection.orb +89 -89
  58. package/behaviors/registry/core/atoms/std-tabs.orb +49 -49
  59. package/behaviors/registry/core/molecules/std-cart.orb +54 -54
  60. package/behaviors/registry/core/molecules/std-filtered-list.orb +5 -5
  61. package/behaviors/registry/core/molecules/std-form-advanced.orb +116 -116
  62. package/behaviors/registry/core/molecules/std-list.orb +60 -60
  63. package/behaviors/registry/core/molecules/std-wizard-form.orb +140 -140
  64. package/behaviors/registry/game/atoms/std-collision.orb +143 -143
  65. package/behaviors/registry/game/atoms/std-combat.orb +80 -80
  66. package/behaviors/registry/game/atoms/std-dialogue-box.orb +26 -26
  67. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
  68. package/behaviors/registry/game/atoms/std-gameflow.orb +35 -35
  69. package/behaviors/registry/game/atoms/std-movement.orb +300 -300
  70. package/behaviors/registry/game/atoms/std-overworld.orb +63 -63
  71. package/behaviors/registry/game/atoms/std-physics2d.orb +76 -76
  72. package/behaviors/registry/game/atoms/std-quest.orb +124 -124
  73. package/behaviors/registry/game/atoms/std-timer.orb +251 -260
  74. package/behaviors/registry/game/organisms/std-arcade-game.orb +149 -149
  75. package/behaviors/registry/game/organisms/std-logic-training.orb +77 -77
  76. package/behaviors/registry/game/organisms/std-platformer-app.orb +230 -230
  77. package/behaviors/registry/game/organisms/std-puzzle-app.orb +105 -105
  78. package/behaviors/registry/game/organisms/std-rpg-game.orb +350 -350
  79. package/behaviors/registry/game/organisms/std-stem-lab.orb +377 -377
  80. package/behaviors/registry/game/organisms/std-strategy-game.orb +529 -529
  81. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +12 -12
  82. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +70 -70
  83. package/behaviors/registry/service/atoms/std-service-email.orb +84 -84
  84. package/behaviors/registry/service/atoms/std-service-github.orb +99 -99
  85. package/behaviors/registry/service/atoms/std-service-llm.orb +115 -115
  86. package/behaviors/registry/service/atoms/std-service-oauth.orb +116 -116
  87. package/behaviors/registry/service/atoms/std-service-redis.orb +95 -95
  88. package/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
  89. package/behaviors/registry/service/atoms/std-service-stripe.orb +98 -98
  90. package/behaviors/registry/service/atoms/std-service-twilio.orb +99 -99
  91. package/behaviors/registry/service/atoms/std-service-youtube.orb +115 -115
  92. package/behaviors/registry/service/organisms/std-service-marketplace.orb +917 -917
  93. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +933 -933
  94. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +83 -83
  95. package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +112 -112
  96. package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +107 -101
  97. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +131 -116
  98. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +408 -402
  99. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +82 -82
  100. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +81 -81
  101. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +124 -118
  102. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +74 -74
  103. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +129 -129
  104. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +202 -202
  105. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +312 -312
  106. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +59 -59
  107. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +206 -206
  108. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +186 -186
  109. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +136 -136
  110. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +116 -116
  111. package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +206 -206
  112. package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1131 -1131
  113. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3061 -3061
  114. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2114 -2114
  115. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1007 -1007
  116. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +735 -735
  117. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +805 -805
  118. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1178 -1178
  119. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +781 -781
  120. package/dist/behaviors/registry/app/organisms/std-cms.orb +445 -445
  121. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +368 -368
  122. package/dist/behaviors/registry/app/organisms/std-crm.orb +781 -781
  123. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1344 -1344
  124. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +968 -968
  125. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +626 -626
  126. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1286 -1286
  127. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +636 -636
  128. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1160 -1160
  129. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +828 -828
  130. package/dist/behaviors/registry/app/organisms/std-lms.orb +863 -863
  131. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +686 -686
  132. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +739 -739
  133. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +239 -239
  134. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +661 -661
  135. package/dist/behaviors/registry/core/atoms/std-browse.orb +60 -60
  136. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +92 -92
  137. package/dist/behaviors/registry/core/atoms/std-calendar.orb +55 -55
  138. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +176 -176
  139. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +24 -42
  140. package/dist/behaviors/registry/core/atoms/std-display.orb +371 -371
  141. package/dist/behaviors/registry/core/atoms/std-drawer.orb +56 -56
  142. package/dist/behaviors/registry/core/atoms/std-filter.orb +46 -46
  143. package/dist/behaviors/registry/core/atoms/std-gallery.orb +50 -50
  144. package/dist/behaviors/registry/core/atoms/std-modal.orb +14 -32
  145. package/dist/behaviors/registry/core/atoms/std-pagination.orb +45 -45
  146. package/dist/behaviors/registry/core/atoms/std-push.orb +42 -42
  147. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +172 -172
  148. package/dist/behaviors/registry/core/atoms/std-related.orb +36 -36
  149. package/dist/behaviors/registry/core/atoms/std-search.orb +71 -71
  150. package/dist/behaviors/registry/core/atoms/std-selection.orb +89 -89
  151. package/dist/behaviors/registry/core/atoms/std-tabs.orb +49 -49
  152. package/dist/behaviors/registry/core/molecules/std-cart.orb +54 -54
  153. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +5 -5
  154. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +116 -116
  155. package/dist/behaviors/registry/core/molecules/std-list.orb +60 -60
  156. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +140 -140
  157. package/dist/behaviors/registry/game/atoms/std-collision.orb +143 -143
  158. package/dist/behaviors/registry/game/atoms/std-combat.orb +80 -80
  159. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +26 -26
  160. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
  161. package/dist/behaviors/registry/game/atoms/std-gameflow.orb +35 -35
  162. package/dist/behaviors/registry/game/atoms/std-movement.orb +300 -300
  163. package/dist/behaviors/registry/game/atoms/std-overworld.orb +63 -63
  164. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +76 -76
  165. package/dist/behaviors/registry/game/atoms/std-quest.orb +124 -124
  166. package/dist/behaviors/registry/game/atoms/std-timer.orb +251 -260
  167. package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +149 -149
  168. package/dist/behaviors/registry/game/organisms/std-logic-training.orb +77 -77
  169. package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +230 -230
  170. package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +105 -105
  171. package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +350 -350
  172. package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +377 -377
  173. package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +529 -529
  174. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +12 -12
  175. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +70 -70
  176. package/dist/behaviors/registry/service/atoms/std-service-email.orb +84 -84
  177. package/dist/behaviors/registry/service/atoms/std-service-github.orb +99 -99
  178. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +115 -115
  179. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +116 -116
  180. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +95 -95
  181. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +105 -105
  182. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +98 -98
  183. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +99 -99
  184. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +115 -115
  185. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +917 -917
  186. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +933 -933
  187. package/package.json +1 -1
@@ -79,7 +79,13 @@
79
79
  {
80
80
  "name": "notificationType",
81
81
  "type": "string",
82
- "default": "info"
82
+ "default": "info",
83
+ "values": [
84
+ "info",
85
+ "success",
86
+ "warning",
87
+ "error"
88
+ ]
83
89
  }
84
90
  ]
85
91
  },
@@ -294,14 +300,9 @@
294
300
  "render-ui",
295
301
  "main",
296
302
  {
297
- "type": "stack",
298
303
  "gap": "lg",
299
304
  "children": [
300
305
  {
301
- "align": "center",
302
- "direction": "horizontal",
303
- "gap": "sm",
304
- "type": "stack",
305
306
  "children": [
306
307
  {
307
308
  "type": "icon",
@@ -309,49 +310,54 @@
309
310
  },
310
311
  {
311
312
  "content": "Token Usage",
312
- "type": "typography",
313
- "variant": "h2"
313
+ "variant": "h2",
314
+ "type": "typography"
314
315
  },
315
316
  {
316
- "type": "badge",
317
317
  "label": "Normal",
318
+ "type": "badge",
318
319
  "variant": "default"
319
320
  }
320
- ]
321
+ ],
322
+ "gap": "sm",
323
+ "type": "stack",
324
+ "direction": "horizontal",
325
+ "align": "center"
321
326
  },
322
327
  {
323
328
  "type": "divider"
324
329
  },
325
330
  {
326
- "type": "progress-bar",
327
331
  "value": "@entity.current",
328
- "max": "@entity.max"
332
+ "max": "@entity.max",
333
+ "type": "progress-bar"
329
334
  },
330
335
  {
331
- "type": "stack",
332
336
  "direction": "horizontal",
337
+ "type": "stack",
333
338
  "gap": "md",
334
339
  "children": [
335
340
  {
336
- "label": "Tokens Used",
337
341
  "type": "stat-display",
342
+ "label": "Tokens Used",
338
343
  "value": "@entity.current"
339
344
  },
340
345
  {
341
- "type": "stat-display",
342
346
  "value": "@entity.max",
343
- "label": "Max Tokens"
347
+ "label": "Max Tokens",
348
+ "type": "stat-display"
344
349
  }
345
350
  ]
346
351
  },
347
352
  {
348
- "type": "button",
349
- "label": "Reset",
350
353
  "action": "RESET",
354
+ "label": "Reset",
355
+ "type": "button",
351
356
  "icon": "rotate-ccw",
352
357
  "variant": "ghost"
353
358
  }
354
359
  ],
360
+ "type": "stack",
355
361
  "direction": "vertical"
356
362
  }
357
363
  ]
@@ -380,65 +386,65 @@
380
386
  "render-ui",
381
387
  "main",
382
388
  {
383
- "gap": "lg",
389
+ "type": "stack",
384
390
  "children": [
385
391
  {
386
- "align": "center",
387
- "type": "stack",
388
- "gap": "sm",
392
+ "direction": "horizontal",
389
393
  "children": [
390
394
  {
391
- "name": "gauge",
392
- "type": "icon"
395
+ "type": "icon",
396
+ "name": "gauge"
393
397
  },
394
398
  {
395
- "type": "typography",
396
399
  "content": "Token Usage",
400
+ "type": "typography",
397
401
  "variant": "h2"
398
402
  },
399
403
  {
400
- "type": "badge",
401
404
  "variant": "default",
405
+ "type": "badge",
402
406
  "label": "Normal"
403
407
  }
404
408
  ],
405
- "direction": "horizontal"
409
+ "type": "stack",
410
+ "align": "center",
411
+ "gap": "sm"
406
412
  },
407
413
  {
408
414
  "type": "divider"
409
415
  },
410
416
  {
411
- "max": "@entity.max",
412
417
  "value": "@entity.current",
413
- "type": "progress-bar"
418
+ "type": "progress-bar",
419
+ "max": "@entity.max"
414
420
  },
415
421
  {
416
422
  "gap": "md",
423
+ "type": "stack",
417
424
  "children": [
418
425
  {
426
+ "type": "stat-display",
419
427
  "label": "Tokens Used",
420
- "value": "@entity.current",
421
- "type": "stat-display"
428
+ "value": "@entity.current"
422
429
  },
423
430
  {
424
431
  "label": "Max Tokens",
425
- "value": "@entity.max",
426
- "type": "stat-display"
432
+ "type": "stat-display",
433
+ "value": "@entity.max"
427
434
  }
428
435
  ],
429
- "type": "stack",
430
436
  "direction": "horizontal"
431
437
  },
432
438
  {
433
439
  "variant": "ghost",
434
- "icon": "rotate-ccw",
435
- "action": "RESET",
436
440
  "type": "button",
441
+ "action": "RESET",
442
+ "icon": "rotate-ccw",
437
443
  "label": "Reset"
438
444
  }
439
445
  ],
440
- "direction": "vertical",
441
- "type": "stack"
446
+ "gap": "lg",
447
+ "direction": "vertical"
442
448
  }
443
449
  ]
444
450
  ]
@@ -480,8 +486,8 @@
480
486
  {
481
487
  "children": [
482
488
  {
483
- "align": "center",
484
489
  "direction": "horizontal",
490
+ "align": "center",
485
491
  "gap": "sm",
486
492
  "type": "stack",
487
493
  "children": [
@@ -490,13 +496,13 @@
490
496
  "type": "icon"
491
497
  },
492
498
  {
493
- "variant": "h2",
494
499
  "type": "typography",
495
- "content": "Token Usage"
500
+ "content": "Token Usage",
501
+ "variant": "h2"
496
502
  },
497
503
  {
498
- "type": "badge",
499
504
  "label": "Warning",
505
+ "type": "badge",
500
506
  "variant": "warning"
501
507
  }
502
508
  ]
@@ -505,8 +511,8 @@
505
511
  "type": "divider"
506
512
  },
507
513
  {
508
- "variant": "warning",
509
514
  "message": "Token usage approaching limit. Consider compacting.",
515
+ "variant": "warning",
510
516
  "type": "alert"
511
517
  },
512
518
  {
@@ -515,47 +521,47 @@
515
521
  "type": "progress-bar"
516
522
  },
517
523
  {
518
- "type": "stack",
519
524
  "gap": "md",
520
525
  "children": [
521
526
  {
527
+ "type": "stat-display",
522
528
  "label": "Tokens Used",
523
- "value": "@entity.current",
524
- "type": "stat-display"
529
+ "value": "@entity.current"
525
530
  },
526
531
  {
527
- "label": "Max Tokens",
532
+ "type": "stat-display",
528
533
  "value": "@entity.max",
529
- "type": "stat-display"
534
+ "label": "Max Tokens"
530
535
  }
531
536
  ],
537
+ "type": "stack",
532
538
  "direction": "horizontal"
533
539
  },
534
540
  {
535
541
  "direction": "horizontal",
536
- "gap": "sm",
537
- "type": "stack",
538
542
  "children": [
539
543
  {
540
544
  "type": "button",
541
- "icon": "minimize-2",
542
- "variant": "primary",
545
+ "label": "Compact",
543
546
  "action": "COMPACT",
544
- "label": "Compact"
547
+ "icon": "minimize-2",
548
+ "variant": "primary"
545
549
  },
546
550
  {
547
551
  "icon": "rotate-ccw",
548
- "label": "Reset",
549
- "type": "button",
550
552
  "action": "RESET",
553
+ "type": "button",
554
+ "label": "Reset",
551
555
  "variant": "ghost"
552
556
  }
553
- ]
557
+ ],
558
+ "type": "stack",
559
+ "gap": "sm"
554
560
  }
555
561
  ],
556
- "direction": "vertical",
557
562
  "gap": "lg",
558
- "type": "stack"
563
+ "type": "stack",
564
+ "direction": "vertical"
559
565
  }
560
566
  ]
561
567
  ]
@@ -583,20 +589,19 @@
583
589
  "render-ui",
584
590
  "main",
585
591
  {
586
- "direction": "vertical",
587
- "type": "stack",
588
592
  "gap": "lg",
593
+ "direction": "vertical",
589
594
  "children": [
590
595
  {
591
596
  "children": [
592
597
  {
593
- "name": "alert-octagon",
594
- "type": "icon"
598
+ "type": "icon",
599
+ "name": "alert-octagon"
595
600
  },
596
601
  {
597
602
  "content": "Token Usage",
598
- "type": "typography",
599
- "variant": "h2"
603
+ "variant": "h2",
604
+ "type": "typography"
600
605
  },
601
606
  {
602
607
  "label": "Critical",
@@ -604,63 +609,64 @@
604
609
  "type": "badge"
605
610
  }
606
611
  ],
607
- "type": "stack",
608
- "align": "center",
612
+ "direction": "horizontal",
609
613
  "gap": "sm",
610
- "direction": "horizontal"
614
+ "align": "center",
615
+ "type": "stack"
611
616
  },
612
617
  {
613
618
  "type": "divider"
614
619
  },
615
620
  {
616
- "message": "Token usage critical. Compact immediately to avoid truncation.",
621
+ "type": "alert",
617
622
  "variant": "error",
618
- "type": "alert"
623
+ "message": "Token usage critical. Compact immediately to avoid truncation."
619
624
  },
620
625
  {
621
- "type": "progress-bar",
626
+ "max": "@entity.max",
622
627
  "value": "@entity.current",
623
- "max": "@entity.max"
628
+ "type": "progress-bar"
624
629
  },
625
630
  {
626
- "gap": "md",
627
631
  "direction": "horizontal",
628
632
  "type": "stack",
633
+ "gap": "md",
629
634
  "children": [
630
635
  {
636
+ "type": "stat-display",
631
637
  "label": "Tokens Used",
632
- "value": "@entity.current",
633
- "type": "stat-display"
638
+ "value": "@entity.current"
634
639
  },
635
640
  {
636
- "type": "stat-display",
637
641
  "value": "@entity.max",
642
+ "type": "stat-display",
638
643
  "label": "Max Tokens"
639
644
  }
640
645
  ]
641
646
  },
642
647
  {
643
- "direction": "horizontal",
644
648
  "gap": "sm",
645
649
  "type": "stack",
646
650
  "children": [
647
651
  {
648
- "label": "Compact Now",
649
- "action": "COMPACT",
650
652
  "variant": "primary",
653
+ "icon": "minimize-2",
651
654
  "type": "button",
652
- "icon": "minimize-2"
655
+ "label": "Compact Now",
656
+ "action": "COMPACT"
653
657
  },
654
658
  {
655
659
  "type": "button",
656
- "action": "RESET",
657
- "label": "Reset",
660
+ "icon": "rotate-ccw",
658
661
  "variant": "ghost",
659
- "icon": "rotate-ccw"
662
+ "action": "RESET",
663
+ "label": "Reset"
660
664
  }
661
- ]
665
+ ],
666
+ "direction": "horizontal"
662
667
  }
663
- ]
668
+ ],
669
+ "type": "stack"
664
670
  }
665
671
  ]
666
672
  ]
@@ -687,12 +693,11 @@
687
693
  {
688
694
  "children": [
689
695
  {
690
- "gap": "sm",
691
- "align": "center",
696
+ "type": "stack",
692
697
  "children": [
693
698
  {
694
- "name": "gauge",
695
- "type": "icon"
699
+ "type": "icon",
700
+ "name": "gauge"
696
701
  },
697
702
  {
698
703
  "variant": "h2",
@@ -700,50 +705,51 @@
700
705
  "content": "Token Usage"
701
706
  },
702
707
  {
708
+ "type": "badge",
703
709
  "label": "Normal",
704
- "variant": "default",
705
- "type": "badge"
710
+ "variant": "default"
706
711
  }
707
712
  ],
708
- "type": "stack",
709
- "direction": "horizontal"
713
+ "direction": "horizontal",
714
+ "align": "center",
715
+ "gap": "sm"
710
716
  },
711
717
  {
712
718
  "type": "divider"
713
719
  },
714
720
  {
715
- "value": "@entity.current",
716
721
  "max": "@entity.max",
717
- "type": "progress-bar"
722
+ "type": "progress-bar",
723
+ "value": "@entity.current"
718
724
  },
719
725
  {
726
+ "type": "stack",
727
+ "direction": "horizontal",
728
+ "gap": "md",
720
729
  "children": [
721
730
  {
722
- "type": "stat-display",
723
731
  "label": "Tokens Used",
724
- "value": "@entity.current"
732
+ "value": "@entity.current",
733
+ "type": "stat-display"
725
734
  },
726
735
  {
727
- "label": "Max Tokens",
728
736
  "type": "stat-display",
729
- "value": "@entity.max"
737
+ "value": "@entity.max",
738
+ "label": "Max Tokens"
730
739
  }
731
- ],
732
- "gap": "md",
733
- "type": "stack",
734
- "direction": "horizontal"
740
+ ]
735
741
  },
736
742
  {
737
- "type": "button",
738
743
  "variant": "ghost",
744
+ "action": "RESET",
745
+ "type": "button",
739
746
  "label": "Reset",
740
- "icon": "rotate-ccw",
741
- "action": "RESET"
747
+ "icon": "rotate-ccw"
742
748
  }
743
749
  ],
744
750
  "direction": "vertical",
745
- "type": "stack",
746
- "gap": "lg"
751
+ "gap": "lg",
752
+ "type": "stack"
747
753
  }
748
754
  ]
749
755
  ]
@@ -762,19 +768,16 @@
762
768
  "render-ui",
763
769
  "main",
764
770
  {
765
- "direction": "vertical",
766
771
  "children": [
767
772
  {
768
- "direction": "horizontal",
769
- "align": "center",
770
773
  "children": [
771
774
  {
772
- "type": "icon",
773
- "name": "gauge"
775
+ "name": "gauge",
776
+ "type": "icon"
774
777
  },
775
778
  {
776
- "type": "typography",
777
779
  "variant": "h2",
780
+ "type": "typography",
778
781
  "content": "Token Usage"
779
782
  },
780
783
  {
@@ -783,44 +786,47 @@
783
786
  "label": "Normal"
784
787
  }
785
788
  ],
789
+ "gap": "sm",
786
790
  "type": "stack",
787
- "gap": "sm"
791
+ "align": "center",
792
+ "direction": "horizontal"
788
793
  },
789
794
  {
790
795
  "type": "divider"
791
796
  },
792
797
  {
793
- "max": "@entity.max",
794
798
  "type": "progress-bar",
795
- "value": "@entity.current"
799
+ "value": "@entity.current",
800
+ "max": "@entity.max"
796
801
  },
797
802
  {
803
+ "gap": "md",
804
+ "type": "stack",
798
805
  "children": [
799
806
  {
800
- "value": "@entity.current",
807
+ "label": "Tokens Used",
801
808
  "type": "stat-display",
802
- "label": "Tokens Used"
809
+ "value": "@entity.current"
803
810
  },
804
811
  {
805
812
  "type": "stat-display",
806
- "label": "Max Tokens",
807
- "value": "@entity.max"
813
+ "value": "@entity.max",
814
+ "label": "Max Tokens"
808
815
  }
809
816
  ],
810
- "direction": "horizontal",
811
- "type": "stack",
812
- "gap": "md"
817
+ "direction": "horizontal"
813
818
  },
814
819
  {
815
- "icon": "rotate-ccw",
816
- "variant": "ghost",
817
- "type": "button",
820
+ "label": "Reset",
818
821
  "action": "RESET",
819
- "label": "Reset"
822
+ "type": "button",
823
+ "icon": "rotate-ccw",
824
+ "variant": "ghost"
820
825
  }
821
826
  ],
822
- "gap": "lg",
823
- "type": "stack"
827
+ "direction": "vertical",
828
+ "type": "stack",
829
+ "gap": "lg"
824
830
  }
825
831
  ]
826
832
  ]
@@ -860,27 +866,27 @@
860
866
  "render-ui",
861
867
  "main",
862
868
  {
863
- "gap": "lg",
869
+ "type": "stack",
864
870
  "children": [
865
871
  {
872
+ "type": "stack",
866
873
  "children": [
867
874
  {
868
- "type": "icon",
869
- "name": "alert-triangle"
875
+ "name": "alert-triangle",
876
+ "type": "icon"
870
877
  },
871
878
  {
872
- "type": "typography",
879
+ "content": "Token Usage",
873
880
  "variant": "h2",
874
- "content": "Token Usage"
881
+ "type": "typography"
875
882
  },
876
883
  {
877
- "label": "Warning",
878
884
  "type": "badge",
885
+ "label": "Warning",
879
886
  "variant": "warning"
880
887
  }
881
888
  ],
882
889
  "align": "center",
883
- "type": "stack",
884
890
  "direction": "horizontal",
885
891
  "gap": "sm"
886
892
  },
@@ -889,54 +895,54 @@
889
895
  },
890
896
  {
891
897
  "message": "Token usage approaching limit. Consider compacting.",
892
- "type": "alert",
893
- "variant": "warning"
898
+ "variant": "warning",
899
+ "type": "alert"
894
900
  },
895
901
  {
896
- "max": "@entity.max",
897
902
  "value": "@entity.current",
898
- "type": "progress-bar"
903
+ "type": "progress-bar",
904
+ "max": "@entity.max"
899
905
  },
900
906
  {
907
+ "gap": "md",
901
908
  "direction": "horizontal",
909
+ "type": "stack",
902
910
  "children": [
903
911
  {
904
912
  "value": "@entity.current",
905
- "type": "stat-display",
906
- "label": "Tokens Used"
913
+ "label": "Tokens Used",
914
+ "type": "stat-display"
907
915
  },
908
916
  {
909
- "value": "@entity.max",
910
917
  "type": "stat-display",
911
- "label": "Max Tokens"
918
+ "label": "Max Tokens",
919
+ "value": "@entity.max"
912
920
  }
913
- ],
914
- "gap": "md",
915
- "type": "stack"
921
+ ]
916
922
  },
917
923
  {
918
- "type": "stack",
919
- "gap": "sm",
920
924
  "direction": "horizontal",
921
925
  "children": [
922
926
  {
923
- "label": "Compact",
924
- "variant": "primary",
925
- "action": "COMPACT",
926
927
  "icon": "minimize-2",
927
- "type": "button"
928
+ "action": "COMPACT",
929
+ "label": "Compact",
930
+ "type": "button",
931
+ "variant": "primary"
928
932
  },
929
933
  {
930
- "type": "button",
931
- "variant": "ghost",
932
934
  "icon": "rotate-ccw",
933
- "label": "Reset",
934
- "action": "RESET"
935
+ "action": "RESET",
936
+ "variant": "ghost",
937
+ "type": "button",
938
+ "label": "Reset"
935
939
  }
936
- ]
940
+ ],
941
+ "type": "stack",
942
+ "gap": "sm"
937
943
  }
938
944
  ],
939
- "type": "stack",
945
+ "gap": "lg",
940
946
  "direction": "vertical"
941
947
  }
942
948
  ]
@@ -965,21 +971,21 @@
965
971
  "render-ui",
966
972
  "main",
967
973
  {
968
- "direction": "vertical",
969
974
  "type": "stack",
970
975
  "children": [
971
976
  {
977
+ "type": "stack",
972
978
  "direction": "horizontal",
973
- "align": "center",
979
+ "gap": "sm",
974
980
  "children": [
975
981
  {
976
- "type": "icon",
977
- "name": "alert-octagon"
982
+ "name": "alert-octagon",
983
+ "type": "icon"
978
984
  },
979
985
  {
980
- "variant": "h2",
986
+ "type": "typography",
981
987
  "content": "Token Usage",
982
- "type": "typography"
988
+ "variant": "h2"
983
989
  },
984
990
  {
985
991
  "type": "badge",
@@ -987,61 +993,61 @@
987
993
  "variant": "danger"
988
994
  }
989
995
  ],
990
- "type": "stack",
991
- "gap": "sm"
996
+ "align": "center"
992
997
  },
993
998
  {
994
999
  "type": "divider"
995
1000
  },
996
1001
  {
997
- "message": "Token usage critical. Compact immediately to avoid truncation.",
998
1002
  "type": "alert",
999
- "variant": "error"
1003
+ "variant": "error",
1004
+ "message": "Token usage critical. Compact immediately to avoid truncation."
1000
1005
  },
1001
1006
  {
1002
1007
  "type": "progress-bar",
1003
- "max": "@entity.max",
1004
- "value": "@entity.current"
1008
+ "value": "@entity.current",
1009
+ "max": "@entity.max"
1005
1010
  },
1006
1011
  {
1007
1012
  "gap": "md",
1008
- "direction": "horizontal",
1009
1013
  "type": "stack",
1010
1014
  "children": [
1011
1015
  {
1012
- "type": "stat-display",
1013
1016
  "label": "Tokens Used",
1014
- "value": "@entity.current"
1017
+ "value": "@entity.current",
1018
+ "type": "stat-display"
1015
1019
  },
1016
1020
  {
1017
1021
  "value": "@entity.max",
1018
- "type": "stat-display",
1019
- "label": "Max Tokens"
1022
+ "label": "Max Tokens",
1023
+ "type": "stat-display"
1020
1024
  }
1021
- ]
1025
+ ],
1026
+ "direction": "horizontal"
1022
1027
  },
1023
1028
  {
1024
- "gap": "sm",
1025
1029
  "direction": "horizontal",
1030
+ "gap": "sm",
1026
1031
  "type": "stack",
1027
1032
  "children": [
1028
1033
  {
1034
+ "variant": "primary",
1029
1035
  "action": "COMPACT",
1030
1036
  "label": "Compact Now",
1031
- "variant": "primary",
1032
- "icon": "minimize-2",
1033
- "type": "button"
1037
+ "type": "button",
1038
+ "icon": "minimize-2"
1034
1039
  },
1035
1040
  {
1041
+ "action": "RESET",
1042
+ "label": "Reset",
1036
1043
  "icon": "rotate-ccw",
1037
1044
  "type": "button",
1038
- "variant": "ghost",
1039
- "label": "Reset",
1040
- "action": "RESET"
1045
+ "variant": "ghost"
1041
1046
  }
1042
1047
  ]
1043
1048
  }
1044
1049
  ],
1050
+ "direction": "vertical",
1045
1051
  "gap": "lg"
1046
1052
  }
1047
1053
  ]
@@ -1070,9 +1076,12 @@
1070
1076
  "render-ui",
1071
1077
  "main",
1072
1078
  {
1073
- "gap": "lg",
1074
1079
  "children": [
1075
1080
  {
1081
+ "type": "stack",
1082
+ "gap": "sm",
1083
+ "direction": "horizontal",
1084
+ "align": "center",
1076
1085
  "children": [
1077
1086
  {
1078
1087
  "type": "icon",
@@ -1080,54 +1089,51 @@
1080
1089
  },
1081
1090
  {
1082
1091
  "variant": "h2",
1083
- "content": "Token Usage",
1084
- "type": "typography"
1092
+ "type": "typography",
1093
+ "content": "Token Usage"
1085
1094
  },
1086
1095
  {
1096
+ "type": "badge",
1087
1097
  "label": "Normal",
1088
- "variant": "default",
1089
- "type": "badge"
1098
+ "variant": "default"
1090
1099
  }
1091
- ],
1092
- "gap": "sm",
1093
- "align": "center",
1094
- "direction": "horizontal",
1095
- "type": "stack"
1100
+ ]
1096
1101
  },
1097
1102
  {
1098
1103
  "type": "divider"
1099
1104
  },
1100
1105
  {
1101
1106
  "max": "@entity.max",
1102
- "value": "@entity.current",
1103
- "type": "progress-bar"
1107
+ "type": "progress-bar",
1108
+ "value": "@entity.current"
1104
1109
  },
1105
1110
  {
1111
+ "type": "stack",
1112
+ "gap": "md",
1106
1113
  "children": [
1107
1114
  {
1108
- "type": "stat-display",
1109
1115
  "label": "Tokens Used",
1110
- "value": "@entity.current"
1116
+ "value": "@entity.current",
1117
+ "type": "stat-display"
1111
1118
  },
1112
1119
  {
1113
1120
  "type": "stat-display",
1114
- "label": "Max Tokens",
1115
- "value": "@entity.max"
1121
+ "value": "@entity.max",
1122
+ "label": "Max Tokens"
1116
1123
  }
1117
1124
  ],
1118
- "direction": "horizontal",
1119
- "gap": "md",
1120
- "type": "stack"
1125
+ "direction": "horizontal"
1121
1126
  },
1122
1127
  {
1123
- "label": "Reset",
1124
- "action": "RESET",
1125
- "type": "button",
1126
1128
  "icon": "rotate-ccw",
1127
- "variant": "ghost"
1129
+ "type": "button",
1130
+ "variant": "ghost",
1131
+ "label": "Reset",
1132
+ "action": "RESET"
1128
1133
  }
1129
1134
  ],
1130
1135
  "direction": "vertical",
1136
+ "gap": "lg",
1131
1137
  "type": "stack"
1132
1138
  }
1133
1139
  ]
@@ -1153,65 +1159,65 @@
1153
1159
  "render-ui",
1154
1160
  "main",
1155
1161
  {
1156
- "gap": "lg",
1157
- "direction": "vertical",
1158
- "type": "stack",
1159
1162
  "children": [
1160
1163
  {
1161
- "direction": "horizontal",
1162
- "type": "stack",
1163
- "align": "center",
1164
1164
  "children": [
1165
1165
  {
1166
- "type": "icon",
1167
- "name": "gauge"
1166
+ "name": "gauge",
1167
+ "type": "icon"
1168
1168
  },
1169
1169
  {
1170
- "content": "Token Usage",
1171
1170
  "variant": "h2",
1172
- "type": "typography"
1171
+ "type": "typography",
1172
+ "content": "Token Usage"
1173
1173
  },
1174
1174
  {
1175
- "label": "Normal",
1176
1175
  "variant": "default",
1176
+ "label": "Normal",
1177
1177
  "type": "badge"
1178
1178
  }
1179
1179
  ],
1180
- "gap": "sm"
1180
+ "align": "center",
1181
+ "direction": "horizontal",
1182
+ "gap": "sm",
1183
+ "type": "stack"
1181
1184
  },
1182
1185
  {
1183
1186
  "type": "divider"
1184
1187
  },
1185
1188
  {
1186
- "value": "@entity.current",
1189
+ "max": "@entity.max",
1187
1190
  "type": "progress-bar",
1188
- "max": "@entity.max"
1191
+ "value": "@entity.current"
1189
1192
  },
1190
1193
  {
1194
+ "type": "stack",
1195
+ "direction": "horizontal",
1196
+ "gap": "md",
1191
1197
  "children": [
1192
1198
  {
1193
1199
  "type": "stat-display",
1194
- "value": "@entity.current",
1195
- "label": "Tokens Used"
1200
+ "label": "Tokens Used",
1201
+ "value": "@entity.current"
1196
1202
  },
1197
1203
  {
1204
+ "type": "stat-display",
1198
1205
  "label": "Max Tokens",
1199
- "value": "@entity.max",
1200
- "type": "stat-display"
1206
+ "value": "@entity.max"
1201
1207
  }
1202
- ],
1203
- "gap": "md",
1204
- "type": "stack",
1205
- "direction": "horizontal"
1208
+ ]
1206
1209
  },
1207
1210
  {
1211
+ "type": "button",
1208
1212
  "label": "Reset",
1209
- "icon": "rotate-ccw",
1210
1213
  "action": "RESET",
1211
- "variant": "ghost",
1212
- "type": "button"
1214
+ "icon": "rotate-ccw",
1215
+ "variant": "ghost"
1213
1216
  }
1214
- ]
1217
+ ],
1218
+ "gap": "lg",
1219
+ "type": "stack",
1220
+ "direction": "vertical"
1215
1221
  }
1216
1222
  ]
1217
1223
  ]
@@ -1230,40 +1236,40 @@
1230
1236
  "render-ui",
1231
1237
  "main",
1232
1238
  {
1233
- "direction": "vertical",
1239
+ "type": "stack",
1234
1240
  "children": [
1235
1241
  {
1236
- "gap": "sm",
1237
- "align": "center",
1238
- "direction": "horizontal",
1239
- "type": "stack",
1240
1242
  "children": [
1241
1243
  {
1242
1244
  "name": "gauge",
1243
1245
  "type": "icon"
1244
1246
  },
1245
1247
  {
1246
- "variant": "h2",
1247
1248
  "type": "typography",
1248
- "content": "Token Usage"
1249
+ "content": "Token Usage",
1250
+ "variant": "h2"
1249
1251
  },
1250
1252
  {
1253
+ "label": "Normal",
1251
1254
  "variant": "default",
1252
- "type": "badge",
1253
- "label": "Normal"
1255
+ "type": "badge"
1254
1256
  }
1255
- ]
1257
+ ],
1258
+ "gap": "sm",
1259
+ "align": "center",
1260
+ "type": "stack",
1261
+ "direction": "horizontal"
1256
1262
  },
1257
1263
  {
1258
1264
  "type": "divider"
1259
1265
  },
1260
1266
  {
1267
+ "type": "progress-bar",
1261
1268
  "value": "@entity.current",
1262
- "max": "@entity.max",
1263
- "type": "progress-bar"
1269
+ "max": "@entity.max"
1264
1270
  },
1265
1271
  {
1266
- "type": "stack",
1272
+ "direction": "horizontal",
1267
1273
  "children": [
1268
1274
  {
1269
1275
  "label": "Tokens Used",
@@ -1271,24 +1277,24 @@
1271
1277
  "type": "stat-display"
1272
1278
  },
1273
1279
  {
1274
- "value": "@entity.max",
1275
1280
  "type": "stat-display",
1276
- "label": "Max Tokens"
1281
+ "label": "Max Tokens",
1282
+ "value": "@entity.max"
1277
1283
  }
1278
1284
  ],
1279
- "gap": "md",
1280
- "direction": "horizontal"
1285
+ "type": "stack",
1286
+ "gap": "md"
1281
1287
  },
1282
1288
  {
1283
1289
  "variant": "ghost",
1284
- "type": "button",
1285
- "label": "Reset",
1290
+ "action": "RESET",
1286
1291
  "icon": "rotate-ccw",
1287
- "action": "RESET"
1292
+ "type": "button",
1293
+ "label": "Reset"
1288
1294
  }
1289
1295
  ],
1290
1296
  "gap": "lg",
1291
- "type": "stack"
1297
+ "direction": "vertical"
1292
1298
  }
1293
1299
  ]
1294
1300
  ]
@@ -1316,42 +1322,43 @@
1316
1322
  "render-ui",
1317
1323
  "main",
1318
1324
  {
1319
- "direction": "vertical",
1325
+ "gap": "lg",
1320
1326
  "type": "stack",
1327
+ "direction": "vertical",
1321
1328
  "children": [
1322
1329
  {
1323
- "direction": "horizontal",
1324
1330
  "align": "center",
1325
- "type": "stack",
1326
1331
  "children": [
1327
- {
1328
- "name": "alert-octagon",
1329
- "type": "icon"
1332
+ {
1333
+ "type": "icon",
1334
+ "name": "alert-octagon"
1330
1335
  },
1331
1336
  {
1332
- "content": "Token Usage",
1333
1337
  "variant": "h2",
1334
- "type": "typography"
1338
+ "type": "typography",
1339
+ "content": "Token Usage"
1335
1340
  },
1336
1341
  {
1337
- "label": "Critical",
1338
1342
  "type": "badge",
1339
- "variant": "danger"
1343
+ "variant": "danger",
1344
+ "label": "Critical"
1340
1345
  }
1341
1346
  ],
1347
+ "type": "stack",
1348
+ "direction": "horizontal",
1342
1349
  "gap": "sm"
1343
1350
  },
1344
1351
  {
1345
1352
  "type": "divider"
1346
1353
  },
1347
1354
  {
1348
- "message": "Token usage critical. Compact immediately to avoid truncation.",
1349
1355
  "type": "alert",
1350
- "variant": "error"
1356
+ "variant": "error",
1357
+ "message": "Token usage critical. Compact immediately to avoid truncation."
1351
1358
  },
1352
1359
  {
1353
- "value": "@entity.current",
1354
1360
  "max": "@entity.max",
1361
+ "value": "@entity.current",
1355
1362
  "type": "progress-bar"
1356
1363
  },
1357
1364
  {
@@ -1363,8 +1370,8 @@
1363
1370
  },
1364
1371
  {
1365
1372
  "label": "Max Tokens",
1366
- "type": "stat-display",
1367
- "value": "@entity.max"
1373
+ "value": "@entity.max",
1374
+ "type": "stat-display"
1368
1375
  }
1369
1376
  ],
1370
1377
  "gap": "md",
@@ -1372,6 +1379,8 @@
1372
1379
  "type": "stack"
1373
1380
  },
1374
1381
  {
1382
+ "type": "stack",
1383
+ "direction": "horizontal",
1375
1384
  "children": [
1376
1385
  {
1377
1386
  "type": "button",
@@ -1384,16 +1393,13 @@
1384
1393
  "label": "Reset",
1385
1394
  "type": "button",
1386
1395
  "variant": "ghost",
1387
- "action": "RESET",
1388
- "icon": "rotate-ccw"
1396
+ "icon": "rotate-ccw",
1397
+ "action": "RESET"
1389
1398
  }
1390
1399
  ],
1391
- "direction": "horizontal",
1392
- "type": "stack",
1393
1400
  "gap": "sm"
1394
1401
  }
1395
- ],
1396
- "gap": "lg"
1402
+ ]
1397
1403
  }
1398
1404
  ]
1399
1405
  ]
@@ -1433,38 +1439,37 @@
1433
1439
  "render-ui",
1434
1440
  "main",
1435
1441
  {
1436
- "gap": "lg",
1437
1442
  "type": "stack",
1438
- "direction": "vertical",
1443
+ "gap": "lg",
1439
1444
  "children": [
1440
1445
  {
1441
- "direction": "horizontal",
1442
- "align": "center",
1446
+ "type": "stack",
1443
1447
  "children": [
1444
1448
  {
1445
- "type": "icon",
1446
- "name": "alert-triangle"
1449
+ "name": "alert-triangle",
1450
+ "type": "icon"
1447
1451
  },
1448
1452
  {
1453
+ "variant": "h2",
1449
1454
  "content": "Token Usage",
1450
- "type": "typography",
1451
- "variant": "h2"
1455
+ "type": "typography"
1452
1456
  },
1453
1457
  {
1458
+ "type": "badge",
1454
1459
  "variant": "warning",
1455
- "label": "Warning",
1456
- "type": "badge"
1460
+ "label": "Warning"
1457
1461
  }
1458
1462
  ],
1459
- "type": "stack",
1463
+ "direction": "horizontal",
1464
+ "align": "center",
1460
1465
  "gap": "sm"
1461
1466
  },
1462
1467
  {
1463
1468
  "type": "divider"
1464
1469
  },
1465
1470
  {
1466
- "message": "Token usage approaching limit. Consider compacting.",
1467
1471
  "type": "alert",
1472
+ "message": "Token usage approaching limit. Consider compacting.",
1468
1473
  "variant": "warning"
1469
1474
  },
1470
1475
  {
@@ -1475,42 +1480,43 @@
1475
1480
  {
1476
1481
  "type": "stack",
1477
1482
  "direction": "horizontal",
1478
- "gap": "md",
1479
1483
  "children": [
1480
1484
  {
1481
- "value": "@entity.current",
1482
1485
  "type": "stat-display",
1483
- "label": "Tokens Used"
1486
+ "label": "Tokens Used",
1487
+ "value": "@entity.current"
1484
1488
  },
1485
1489
  {
1486
- "value": "@entity.max",
1487
1490
  "type": "stat-display",
1488
- "label": "Max Tokens"
1491
+ "label": "Max Tokens",
1492
+ "value": "@entity.max"
1489
1493
  }
1490
- ]
1494
+ ],
1495
+ "gap": "md"
1491
1496
  },
1492
1497
  {
1493
- "type": "stack",
1494
- "direction": "horizontal",
1495
1498
  "gap": "sm",
1496
1499
  "children": [
1497
1500
  {
1498
- "icon": "minimize-2",
1499
- "variant": "primary",
1500
1501
  "label": "Compact",
1501
1502
  "type": "button",
1502
- "action": "COMPACT"
1503
+ "action": "COMPACT",
1504
+ "variant": "primary",
1505
+ "icon": "minimize-2"
1503
1506
  },
1504
1507
  {
1505
- "icon": "rotate-ccw",
1506
- "type": "button",
1507
- "label": "Reset",
1508
1508
  "action": "RESET",
1509
+ "label": "Reset",
1510
+ "type": "button",
1511
+ "icon": "rotate-ccw",
1509
1512
  "variant": "ghost"
1510
1513
  }
1511
- ]
1514
+ ],
1515
+ "direction": "horizontal",
1516
+ "type": "stack"
1512
1517
  }
1513
- ]
1518
+ ],
1519
+ "direction": "vertical"
1514
1520
  }
1515
1521
  ]
1516
1522
  ]
@@ -1538,43 +1544,41 @@
1538
1544
  "render-ui",
1539
1545
  "main",
1540
1546
  {
1541
- "type": "stack",
1542
1547
  "gap": "lg",
1543
1548
  "direction": "vertical",
1544
1549
  "children": [
1545
1550
  {
1551
+ "type": "stack",
1552
+ "direction": "horizontal",
1553
+ "align": "center",
1554
+ "gap": "sm",
1546
1555
  "children": [
1547
1556
  {
1548
- "name": "gauge",
1549
- "type": "icon"
1557
+ "type": "icon",
1558
+ "name": "gauge"
1550
1559
  },
1551
1560
  {
1552
1561
  "content": "Token Usage",
1553
- "type": "typography",
1554
- "variant": "h2"
1562
+ "variant": "h2",
1563
+ "type": "typography"
1555
1564
  },
1556
1565
  {
1557
- "label": "Normal",
1558
1566
  "variant": "default",
1559
- "type": "badge"
1567
+ "type": "badge",
1568
+ "label": "Normal"
1560
1569
  }
1561
- ],
1562
- "gap": "sm",
1563
- "direction": "horizontal",
1564
- "type": "stack",
1565
- "align": "center"
1570
+ ]
1566
1571
  },
1567
1572
  {
1568
1573
  "type": "divider"
1569
1574
  },
1570
1575
  {
1571
- "max": "@entity.max",
1576
+ "type": "progress-bar",
1572
1577
  "value": "@entity.current",
1573
- "type": "progress-bar"
1578
+ "max": "@entity.max"
1574
1579
  },
1575
1580
  {
1576
1581
  "gap": "md",
1577
- "type": "stack",
1578
1582
  "children": [
1579
1583
  {
1580
1584
  "type": "stat-display",
@@ -1582,21 +1586,23 @@
1582
1586
  "value": "@entity.current"
1583
1587
  },
1584
1588
  {
1585
- "label": "Max Tokens",
1586
1589
  "type": "stat-display",
1590
+ "label": "Max Tokens",
1587
1591
  "value": "@entity.max"
1588
1592
  }
1589
1593
  ],
1594
+ "type": "stack",
1590
1595
  "direction": "horizontal"
1591
1596
  },
1592
1597
  {
1593
- "icon": "rotate-ccw",
1594
- "action": "RESET",
1595
1598
  "label": "Reset",
1596
- "type": "button",
1597
- "variant": "ghost"
1599
+ "variant": "ghost",
1600
+ "action": "RESET",
1601
+ "icon": "rotate-ccw",
1602
+ "type": "button"
1598
1603
  }
1599
- ]
1604
+ ],
1605
+ "type": "stack"
1600
1606
  }
1601
1607
  ]
1602
1608
  ]
@@ -1621,9 +1627,11 @@
1621
1627
  "render-ui",
1622
1628
  "main",
1623
1629
  {
1624
- "direction": "vertical",
1625
1630
  "children": [
1626
1631
  {
1632
+ "direction": "horizontal",
1633
+ "align": "center",
1634
+ "type": "stack",
1627
1635
  "gap": "sm",
1628
1636
  "children": [
1629
1637
  {
@@ -1631,55 +1639,53 @@
1631
1639
  "name": "gauge"
1632
1640
  },
1633
1641
  {
1642
+ "content": "Token Usage",
1634
1643
  "variant": "h2",
1635
- "type": "typography",
1636
- "content": "Token Usage"
1644
+ "type": "typography"
1637
1645
  },
1638
1646
  {
1639
- "label": "Normal",
1647
+ "type": "badge",
1640
1648
  "variant": "default",
1641
- "type": "badge"
1649
+ "label": "Normal"
1642
1650
  }
1643
- ],
1644
- "type": "stack",
1645
- "align": "center",
1646
- "direction": "horizontal"
1651
+ ]
1647
1652
  },
1648
1653
  {
1649
1654
  "type": "divider"
1650
1655
  },
1651
1656
  {
1652
1657
  "type": "progress-bar",
1653
- "value": "@entity.current",
1654
- "max": "@entity.max"
1658
+ "max": "@entity.max",
1659
+ "value": "@entity.current"
1655
1660
  },
1656
1661
  {
1657
- "gap": "md",
1658
1662
  "type": "stack",
1659
1663
  "direction": "horizontal",
1660
1664
  "children": [
1661
1665
  {
1662
- "type": "stat-display",
1666
+ "value": "@entity.current",
1663
1667
  "label": "Tokens Used",
1664
- "value": "@entity.current"
1668
+ "type": "stat-display"
1665
1669
  },
1666
1670
  {
1667
- "value": "@entity.max",
1671
+ "type": "stat-display",
1668
1672
  "label": "Max Tokens",
1669
- "type": "stat-display"
1673
+ "value": "@entity.max"
1670
1674
  }
1671
- ]
1675
+ ],
1676
+ "gap": "md"
1672
1677
  },
1673
1678
  {
1674
- "variant": "ghost",
1675
1679
  "action": "RESET",
1676
- "label": "Reset",
1677
1680
  "type": "button",
1681
+ "label": "Reset",
1682
+ "variant": "ghost",
1678
1683
  "icon": "rotate-ccw"
1679
1684
  }
1680
1685
  ],
1681
1686
  "gap": "lg",
1682
- "type": "stack"
1687
+ "type": "stack",
1688
+ "direction": "vertical"
1683
1689
  }
1684
1690
  ]
1685
1691
  ]
@@ -1698,14 +1704,14 @@
1698
1704
  "render-ui",
1699
1705
  "main",
1700
1706
  {
1701
- "type": "stack",
1702
1707
  "direction": "vertical",
1708
+ "gap": "lg",
1709
+ "type": "stack",
1703
1710
  "children": [
1704
1711
  {
1705
- "direction": "horizontal",
1706
- "align": "center",
1707
1712
  "type": "stack",
1708
- "gap": "sm",
1713
+ "align": "center",
1714
+ "direction": "horizontal",
1709
1715
  "children": [
1710
1716
  {
1711
1717
  "type": "icon",
@@ -1717,46 +1723,46 @@
1717
1723
  "content": "Token Usage"
1718
1724
  },
1719
1725
  {
1720
- "label": "Normal",
1721
1726
  "variant": "default",
1722
- "type": "badge"
1727
+ "type": "badge",
1728
+ "label": "Normal"
1723
1729
  }
1724
- ]
1730
+ ],
1731
+ "gap": "sm"
1725
1732
  },
1726
1733
  {
1727
1734
  "type": "divider"
1728
1735
  },
1729
1736
  {
1730
- "max": "@entity.max",
1737
+ "value": "@entity.current",
1731
1738
  "type": "progress-bar",
1732
- "value": "@entity.current"
1739
+ "max": "@entity.max"
1733
1740
  },
1734
1741
  {
1735
- "gap": "md",
1736
- "direction": "horizontal",
1737
- "type": "stack",
1738
1742
  "children": [
1739
1743
  {
1744
+ "value": "@entity.current",
1740
1745
  "type": "stat-display",
1741
- "label": "Tokens Used",
1742
- "value": "@entity.current"
1746
+ "label": "Tokens Used"
1743
1747
  },
1744
1748
  {
1745
1749
  "value": "@entity.max",
1746
1750
  "label": "Max Tokens",
1747
1751
  "type": "stat-display"
1748
1752
  }
1749
- ]
1753
+ ],
1754
+ "direction": "horizontal",
1755
+ "type": "stack",
1756
+ "gap": "md"
1750
1757
  },
1751
1758
  {
1752
- "action": "RESET",
1753
- "type": "button",
1754
- "label": "Reset",
1755
1759
  "variant": "ghost",
1756
- "icon": "rotate-ccw"
1760
+ "label": "Reset",
1761
+ "icon": "rotate-ccw",
1762
+ "type": "button",
1763
+ "action": "RESET"
1757
1764
  }
1758
- ],
1759
- "gap": "lg"
1765
+ ]
1760
1766
  }
1761
1767
  ]
1762
1768
  ]
@@ -1963,8 +1969,8 @@
1963
1969
  "AgentContextWindow",
1964
1970
  {
1965
1971
  "emit": {
1966
- "failure": "AgentContextWindowLoadFailed",
1967
- "success": "AgentContextWindowLoaded"
1972
+ "success": "AgentContextWindowLoaded",
1973
+ "failure": "AgentContextWindowLoadFailed"
1968
1974
  }
1969
1975
  }
1970
1976
  ]
@@ -1989,59 +1995,59 @@
1989
1995
  "render-ui",
1990
1996
  "main",
1991
1997
  {
1992
- "type": "stack",
1993
- "direction": "vertical",
1994
1998
  "children": [
1995
1999
  {
1996
- "direction": "horizontal",
1997
- "gap": "md",
1998
- "align": "center",
1999
2000
  "children": [
2000
2001
  {
2001
2002
  "type": "stack",
2002
- "align": "center",
2003
2003
  "direction": "horizontal",
2004
+ "align": "center",
2005
+ "gap": "md",
2004
2006
  "children": [
2005
2007
  {
2006
2008
  "name": "layers",
2007
2009
  "type": "icon"
2008
2010
  },
2009
2011
  {
2010
- "variant": "h2",
2011
2012
  "type": "typography",
2012
- "content": "Context Window Alert"
2013
+ "content": "Context Window Alert",
2014
+ "variant": "h2"
2013
2015
  }
2014
- ],
2015
- "gap": "md"
2016
+ ]
2016
2017
  },
2017
2018
  {
2018
- "type": "button",
2019
2019
  "variant": "ghost",
2020
- "icon": "x",
2021
2020
  "action": "HIDE",
2022
- "label": "Dismiss"
2021
+ "type": "button",
2022
+ "label": "Dismiss",
2023
+ "icon": "x"
2023
2024
  }
2024
2025
  ],
2026
+ "align": "center",
2027
+ "gap": "md",
2025
2028
  "justify": "between",
2026
- "type": "stack"
2029
+ "type": "stack",
2030
+ "direction": "horizontal"
2027
2031
  },
2028
2032
  {
2029
2033
  "type": "divider"
2030
2034
  },
2031
2035
  {
2032
- "type": "alert",
2033
2036
  "variant": "@entity.notificationType",
2034
- "message": "@entity.message"
2037
+ "message": "@entity.message",
2038
+ "type": "alert"
2035
2039
  },
2036
2040
  {
2037
2041
  "type": "toast-slot"
2038
2042
  },
2039
2043
  {
2040
2044
  "type": "alert",
2041
- "message": "@entity.message",
2042
- "variant": "warning"
2045
+ "variant": "warning",
2046
+ "message": "@entity.message"
2043
2047
  }
2044
2048
  ],
2049
+ "type": "stack",
2050
+ "direction": "vertical",
2045
2051
  "gap": "lg"
2046
2052
  }
2047
2053
  ]
@@ -2068,37 +2074,37 @@
2068
2074
  {
2069
2075
  "children": [
2070
2076
  {
2071
- "type": "stack",
2077
+ "direction": "horizontal",
2072
2078
  "align": "center",
2073
2079
  "gap": "md",
2074
- "direction": "horizontal",
2080
+ "justify": "between",
2075
2081
  "children": [
2076
2082
  {
2077
- "align": "center",
2083
+ "direction": "horizontal",
2084
+ "gap": "md",
2085
+ "type": "stack",
2078
2086
  "children": [
2079
2087
  {
2080
2088
  "type": "icon",
2081
2089
  "name": "layers"
2082
2090
  },
2083
2091
  {
2084
- "variant": "h2",
2085
2092
  "content": "Context Window Alert",
2086
- "type": "typography"
2093
+ "type": "typography",
2094
+ "variant": "h2"
2087
2095
  }
2088
2096
  ],
2089
- "gap": "md",
2090
- "direction": "horizontal",
2091
- "type": "stack"
2097
+ "align": "center"
2092
2098
  },
2093
2099
  {
2094
- "action": "HIDE",
2095
- "variant": "ghost",
2096
2100
  "type": "button",
2097
- "icon": "x",
2098
- "label": "Dismiss"
2101
+ "variant": "ghost",
2102
+ "label": "Dismiss",
2103
+ "action": "HIDE",
2104
+ "icon": "x"
2099
2105
  }
2100
2106
  ],
2101
- "justify": "between"
2107
+ "type": "stack"
2102
2108
  },
2103
2109
  {
2104
2110
  "type": "divider"
@@ -2381,10 +2387,10 @@
2381
2387
  "render-ui",
2382
2388
  "main",
2383
2389
  {
2384
- "description": "Context Window is ready",
2385
- "type": "empty-state",
2386
2390
  "icon": "layers",
2387
- "title": "Context Window"
2391
+ "type": "empty-state",
2392
+ "title": "Context Window",
2393
+ "description": "Context Window is ready"
2388
2394
  }
2389
2395
  ]
2390
2396
  ]
@@ -2699,4 +2705,4 @@
2699
2705
  ]
2700
2706
  }
2701
2707
  ]
2702
- }
2708
+ }