@almadar/std 13.7.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 (139) 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/package.json +1 -1
@@ -91,43 +91,57 @@
91
91
  "to": "open",
92
92
  "event": "INIT",
93
93
  "effects": [
94
+ [
95
+ "set",
96
+ "@entity.count",
97
+ 0.0
98
+ ],
99
+ [
100
+ "set",
101
+ "@entity.window",
102
+ 60.0
103
+ ],
104
+ [
105
+ "set",
106
+ "@entity.limiterStatus",
107
+ "open"
108
+ ],
94
109
  [
95
110
  "render-ui",
96
111
  "main",
97
112
  {
98
- "direction": "vertical",
99
113
  "children": [
100
114
  {
101
- "type": "stack",
102
115
  "direction": "horizontal",
103
- "gap": "md",
104
- "justify": "between",
105
116
  "align": "center",
117
+ "justify": "between",
106
118
  "children": [
107
119
  {
120
+ "type": "stack",
121
+ "direction": "horizontal",
122
+ "align": "center",
108
123
  "children": [
109
124
  {
110
125
  "type": "icon",
111
126
  "name": "shield"
112
127
  },
113
128
  {
114
- "content": "RateBucket Rate Limiter",
115
129
  "type": "typography",
130
+ "content": "RateBucket Rate Limiter",
116
131
  "variant": "h2"
117
132
  }
118
133
  ],
119
- "direction": "horizontal",
120
- "type": "stack",
121
- "gap": "md",
122
- "align": "center"
134
+ "gap": "md"
123
135
  },
124
136
  {
125
- "status": "online",
126
- "label": "Open",
137
+ "pulse": false,
127
138
  "type": "status-dot",
128
- "pulse": false
139
+ "status": "online",
140
+ "label": "Open"
129
141
  }
130
- ]
142
+ ],
143
+ "type": "stack",
144
+ "gap": "md"
131
145
  },
132
146
  {
133
147
  "type": "divider"
@@ -136,55 +150,56 @@
136
150
  "cols": 2.0,
137
151
  "children": [
138
152
  {
153
+ "label": "Requests",
139
154
  "type": "stat-display",
140
- "value": "@entity.count",
141
- "label": "Requests"
155
+ "value": "@entity.count"
142
156
  },
143
157
  {
144
- "label": "Window",
158
+ "value": "@entity.window",
145
159
  "type": "stat-display",
146
- "value": "@entity.window"
160
+ "label": "Window"
147
161
  }
148
162
  ],
149
163
  "type": "simple-grid"
150
164
  },
151
165
  {
152
- "type": "meter",
153
166
  "value": "@entity.count",
154
- "min": 0.0,
155
- "max": 100.0
167
+ "max": 100.0,
168
+ "type": "meter",
169
+ "min": 0.0
156
170
  },
157
171
  {
158
- "showPercentage": true,
159
- "max": 100.0,
160
172
  "type": "progress-bar",
173
+ "max": 100.0,
174
+ "showPercentage": true,
161
175
  "value": "@entity.count"
162
176
  },
163
177
  {
178
+ "type": "stack",
164
179
  "direction": "horizontal",
180
+ "gap": "sm",
181
+ "justify": "center",
165
182
  "children": [
166
183
  {
167
- "type": "button",
168
- "action": "REQUEST",
184
+ "label": "Request",
169
185
  "icon": "send",
170
- "variant": "primary",
171
- "label": "Request"
186
+ "action": "REQUEST",
187
+ "type": "button",
188
+ "variant": "primary"
172
189
  },
173
190
  {
174
191
  "action": "RESET",
192
+ "type": "button",
175
193
  "variant": "ghost",
176
- "label": "Reset",
177
194
  "icon": "rotate-ccw",
178
- "type": "button"
195
+ "label": "Reset"
179
196
  }
180
- ],
181
- "justify": "center",
182
- "gap": "sm",
183
- "type": "stack"
197
+ ]
184
198
  }
185
199
  ],
186
- "gap": "lg",
187
- "type": "stack"
200
+ "direction": "vertical",
201
+ "type": "stack",
202
+ "gap": "lg"
188
203
  }
189
204
  ]
190
205
  ]
@@ -198,96 +213,96 @@
198
213
  "render-ui",
199
214
  "main",
200
215
  {
201
- "gap": "lg",
202
- "type": "stack",
203
216
  "children": [
204
217
  {
205
218
  "direction": "horizontal",
206
- "type": "stack",
219
+ "justify": "between",
207
220
  "gap": "md",
221
+ "type": "stack",
208
222
  "children": [
209
223
  {
224
+ "gap": "md",
225
+ "type": "stack",
226
+ "direction": "horizontal",
227
+ "align": "center",
210
228
  "children": [
211
229
  {
212
- "type": "icon",
213
- "name": "shield"
230
+ "name": "shield",
231
+ "type": "icon"
214
232
  },
215
233
  {
216
- "variant": "h2",
217
234
  "content": "RateBucket Rate Limiter",
235
+ "variant": "h2",
218
236
  "type": "typography"
219
237
  }
220
- ],
221
- "align": "center",
222
- "direction": "horizontal",
223
- "type": "stack",
224
- "gap": "md"
238
+ ]
225
239
  },
226
240
  {
227
- "type": "status-dot",
228
- "pulse": false,
229
241
  "status": "online",
230
- "label": "Open"
242
+ "label": "Open",
243
+ "type": "status-dot",
244
+ "pulse": false
231
245
  }
232
246
  ],
233
- "align": "center",
234
- "justify": "between"
247
+ "align": "center"
235
248
  },
236
249
  {
237
250
  "type": "divider"
238
251
  },
239
252
  {
240
- "cols": 2.0,
241
253
  "children": [
242
254
  {
243
- "value": "@entity.count",
244
255
  "label": "Requests",
256
+ "value": "@entity.count",
245
257
  "type": "stat-display"
246
258
  },
247
259
  {
248
260
  "label": "Window",
249
- "value": "@entity.window",
250
- "type": "stat-display"
261
+ "type": "stat-display",
262
+ "value": "@entity.window"
251
263
  }
252
264
  ],
253
- "type": "simple-grid"
265
+ "type": "simple-grid",
266
+ "cols": 2.0
254
267
  },
255
268
  {
256
- "max": 100.0,
257
269
  "type": "meter",
258
270
  "min": 0.0,
271
+ "max": 100.0,
259
272
  "value": "@entity.count"
260
273
  },
261
274
  {
262
- "max": 100.0,
263
- "value": "@entity.count",
264
275
  "showPercentage": true,
276
+ "value": "@entity.count",
277
+ "max": 100.0,
265
278
  "type": "progress-bar"
266
279
  },
267
280
  {
268
- "gap": "sm",
269
- "direction": "horizontal",
270
281
  "justify": "center",
271
- "type": "stack",
272
282
  "children": [
273
283
  {
274
- "label": "Request",
275
284
  "variant": "primary",
276
- "icon": "send",
285
+ "action": "REQUEST",
277
286
  "type": "button",
278
- "action": "REQUEST"
287
+ "icon": "send",
288
+ "label": "Request"
279
289
  },
280
290
  {
281
- "type": "button",
282
291
  "action": "RESET",
292
+ "label": "Reset",
283
293
  "variant": "ghost",
284
294
  "icon": "rotate-ccw",
285
- "label": "Reset"
295
+ "type": "button"
286
296
  }
287
- ]
297
+ ],
298
+ "type": "stack",
299
+ "gap": "sm",
300
+ "direction": "horizontal"
288
301
  }
289
302
  ],
290
- "direction": "vertical"
303
+ "direction": "vertical",
304
+ "type": "stack",
305
+ "gap": "lg"
291
306
  }
292
307
  ]
293
308
  ]
@@ -306,18 +321,18 @@
306
321
  "render-ui",
307
322
  "main",
308
323
  {
309
- "gap": "lg",
310
324
  "type": "stack",
325
+ "direction": "vertical",
326
+ "gap": "lg",
311
327
  "children": [
312
328
  {
313
- "justify": "between",
314
329
  "type": "stack",
330
+ "gap": "md",
331
+ "align": "center",
332
+ "justify": "between",
315
333
  "direction": "horizontal",
316
334
  "children": [
317
335
  {
318
- "type": "stack",
319
- "direction": "horizontal",
320
- "gap": "md",
321
336
  "align": "center",
322
337
  "children": [
323
338
  {
@@ -325,28 +340,29 @@
325
340
  "name": "shield"
326
341
  },
327
342
  {
328
- "variant": "h2",
329
343
  "content": "RateBucket Rate Limiter",
344
+ "variant": "h2",
330
345
  "type": "typography"
331
346
  }
332
- ]
347
+ ],
348
+ "type": "stack",
349
+ "direction": "horizontal",
350
+ "gap": "md"
333
351
  },
334
352
  {
335
- "status": "critical",
336
353
  "pulse": true,
354
+ "status": "critical",
337
355
  "type": "status-dot",
338
356
  "label": "Throttled"
339
357
  }
340
- ],
341
- "gap": "md",
342
- "align": "center"
358
+ ]
343
359
  },
344
360
  {
345
361
  "type": "divider"
346
362
  },
347
363
  {
348
- "message": "Rate limit exceeded. Requests are being throttled.",
349
364
  "type": "alert",
365
+ "message": "Rate limit exceeded. Requests are being throttled.",
350
366
  "variant": "error"
351
367
  },
352
368
  {
@@ -354,40 +370,39 @@
354
370
  "cols": 2.0,
355
371
  "children": [
356
372
  {
357
- "type": "stat-display",
358
373
  "label": "Requests",
359
- "value": "@entity.count"
374
+ "value": "@entity.count",
375
+ "type": "stat-display"
360
376
  },
361
377
  {
362
378
  "label": "Window",
363
- "value": "@entity.window",
364
- "type": "stat-display"
379
+ "type": "stat-display",
380
+ "value": "@entity.window"
365
381
  }
366
382
  ]
367
383
  },
368
384
  {
385
+ "type": "meter",
369
386
  "max": 100.0,
370
- "min": 0.0,
371
387
  "value": "@entity.count",
372
- "type": "meter"
388
+ "min": 0.0
373
389
  },
374
390
  {
375
- "justify": "center",
391
+ "type": "stack",
376
392
  "gap": "sm",
377
393
  "children": [
378
394
  {
379
- "type": "button",
380
- "variant": "primary",
381
- "icon": "rotate-ccw",
395
+ "action": "RESET",
382
396
  "label": "Reset",
383
- "action": "RESET"
397
+ "variant": "primary",
398
+ "type": "button",
399
+ "icon": "rotate-ccw"
384
400
  }
385
401
  ],
386
402
  "direction": "horizontal",
387
- "type": "stack"
403
+ "justify": "center"
388
404
  }
389
- ],
390
- "direction": "vertical"
405
+ ]
391
406
  }
392
407
  ]
393
408
  ]
@@ -411,21 +426,17 @@
411
426
  "render-ui",
412
427
  "main",
413
428
  {
414
- "type": "stack",
415
429
  "direction": "vertical",
430
+ "type": "stack",
416
431
  "gap": "lg",
417
432
  "children": [
418
433
  {
434
+ "align": "center",
435
+ "gap": "md",
419
436
  "justify": "between",
420
437
  "direction": "horizontal",
421
- "gap": "md",
422
- "type": "stack",
423
- "align": "center",
424
438
  "children": [
425
439
  {
426
- "type": "stack",
427
- "gap": "md",
428
- "align": "center",
429
440
  "children": [
430
441
  {
431
442
  "type": "icon",
@@ -433,72 +444,76 @@
433
444
  },
434
445
  {
435
446
  "type": "typography",
436
- "variant": "h2",
437
- "content": "RateBucket Rate Limiter"
447
+ "content": "RateBucket Rate Limiter",
448
+ "variant": "h2"
438
449
  }
439
450
  ],
440
- "direction": "horizontal"
451
+ "align": "center",
452
+ "gap": "md",
453
+ "direction": "horizontal",
454
+ "type": "stack"
441
455
  },
442
456
  {
443
- "pulse": false,
444
457
  "type": "status-dot",
445
458
  "status": "online",
459
+ "pulse": false,
446
460
  "label": "Open"
447
461
  }
448
- ]
462
+ ],
463
+ "type": "stack"
449
464
  },
450
465
  {
451
466
  "type": "divider"
452
467
  },
453
468
  {
454
- "type": "simple-grid",
455
- "cols": 2.0,
456
469
  "children": [
457
470
  {
458
471
  "type": "stat-display",
459
- "label": "Requests",
460
- "value": "@entity.count"
472
+ "value": "@entity.count",
473
+ "label": "Requests"
461
474
  },
462
475
  {
463
- "label": "Window",
464
476
  "value": "@entity.window",
465
- "type": "stat-display"
477
+ "type": "stat-display",
478
+ "label": "Window"
466
479
  }
467
- ]
480
+ ],
481
+ "cols": 2.0,
482
+ "type": "simple-grid"
468
483
  },
469
484
  {
470
- "value": "@entity.count",
471
- "type": "meter",
472
485
  "max": 100.0,
486
+ "type": "meter",
487
+ "value": "@entity.count",
473
488
  "min": 0.0
474
489
  },
475
490
  {
476
- "max": 100.0,
477
491
  "type": "progress-bar",
478
492
  "value": "@entity.count",
493
+ "max": 100.0,
479
494
  "showPercentage": true
480
495
  },
481
496
  {
482
497
  "direction": "horizontal",
498
+ "justify": "center",
499
+ "type": "stack",
483
500
  "children": [
484
501
  {
502
+ "action": "REQUEST",
485
503
  "icon": "send",
486
- "variant": "primary",
487
504
  "type": "button",
488
- "action": "REQUEST",
505
+ "variant": "primary",
489
506
  "label": "Request"
490
507
  },
491
508
  {
492
- "variant": "ghost",
493
509
  "icon": "rotate-ccw",
494
- "label": "Reset",
510
+ "variant": "ghost",
495
511
  "type": "button",
496
- "action": "RESET"
512
+ "action": "RESET",
513
+ "label": "Reset"
497
514
  }
498
515
  ],
499
- "type": "stack",
500
- "gap": "sm",
501
- "justify": "center"
516
+ "gap": "sm"
502
517
  }
503
518
  ]
504
519
  }
@@ -524,95 +539,95 @@
524
539
  "render-ui",
525
540
  "main",
526
541
  {
527
- "gap": "lg",
528
542
  "type": "stack",
529
543
  "children": [
530
544
  {
531
545
  "direction": "horizontal",
546
+ "justify": "between",
547
+ "align": "center",
548
+ "gap": "md",
532
549
  "type": "stack",
533
550
  "children": [
534
551
  {
552
+ "gap": "md",
553
+ "direction": "horizontal",
554
+ "type": "stack",
555
+ "align": "center",
535
556
  "children": [
536
557
  {
537
- "type": "icon",
538
- "name": "shield"
558
+ "name": "shield",
559
+ "type": "icon"
539
560
  },
540
561
  {
541
562
  "type": "typography",
542
563
  "content": "RateBucket Rate Limiter",
543
564
  "variant": "h2"
544
565
  }
545
- ],
546
- "type": "stack",
547
- "direction": "horizontal",
548
- "align": "center",
549
- "gap": "md"
566
+ ]
550
567
  },
551
568
  {
552
- "pulse": false,
553
569
  "label": "Open",
570
+ "status": "online",
554
571
  "type": "status-dot",
555
- "status": "online"
572
+ "pulse": false
556
573
  }
557
- ],
558
- "align": "center",
559
- "justify": "between",
560
- "gap": "md"
574
+ ]
561
575
  },
562
576
  {
563
577
  "type": "divider"
564
578
  },
565
579
  {
566
- "cols": 2.0,
567
580
  "children": [
568
581
  {
569
- "value": "@entity.count",
570
582
  "type": "stat-display",
583
+ "value": "@entity.count",
571
584
  "label": "Requests"
572
585
  },
573
586
  {
574
- "value": "@entity.window",
575
587
  "type": "stat-display",
576
- "label": "Window"
588
+ "label": "Window",
589
+ "value": "@entity.window"
577
590
  }
578
591
  ],
579
- "type": "simple-grid"
592
+ "type": "simple-grid",
593
+ "cols": 2.0
580
594
  },
581
595
  {
582
- "value": "@entity.count",
583
- "min": 0.0,
584
596
  "max": 100.0,
585
- "type": "meter"
597
+ "type": "meter",
598
+ "value": "@entity.count",
599
+ "min": 0.0
586
600
  },
587
601
  {
588
602
  "showPercentage": true,
589
603
  "max": 100.0,
590
- "value": "@entity.count",
591
- "type": "progress-bar"
604
+ "type": "progress-bar",
605
+ "value": "@entity.count"
592
606
  },
593
607
  {
608
+ "type": "stack",
609
+ "direction": "horizontal",
594
610
  "children": [
595
611
  {
596
- "icon": "send",
597
- "variant": "primary",
598
- "label": "Request",
599
612
  "type": "button",
600
- "action": "REQUEST"
613
+ "label": "Request",
614
+ "action": "REQUEST",
615
+ "variant": "primary",
616
+ "icon": "send"
601
617
  },
602
618
  {
603
- "label": "Reset",
604
- "action": "RESET",
605
- "variant": "ghost",
606
619
  "type": "button",
607
- "icon": "rotate-ccw"
620
+ "icon": "rotate-ccw",
621
+ "variant": "ghost",
622
+ "label": "Reset",
623
+ "action": "RESET"
608
624
  }
609
625
  ],
610
626
  "justify": "center",
611
- "type": "stack",
612
- "direction": "horizontal",
613
627
  "gap": "sm"
614
628
  }
615
629
  ],
630
+ "gap": "lg",
616
631
  "direction": "vertical"
617
632
  }
618
633
  ]
@@ -627,88 +642,88 @@
627
642
  "render-ui",
628
643
  "main",
629
644
  {
630
- "direction": "vertical",
645
+ "gap": "lg",
631
646
  "type": "stack",
647
+ "direction": "vertical",
632
648
  "children": [
633
649
  {
650
+ "justify": "between",
651
+ "direction": "horizontal",
652
+ "type": "stack",
653
+ "align": "center",
634
654
  "children": [
635
655
  {
656
+ "direction": "horizontal",
657
+ "type": "stack",
658
+ "gap": "md",
636
659
  "align": "center",
637
660
  "children": [
638
661
  {
639
- "name": "shield",
640
- "type": "icon"
662
+ "type": "icon",
663
+ "name": "shield"
641
664
  },
642
665
  {
643
- "content": "RateBucket Rate Limiter",
644
666
  "variant": "h2",
645
- "type": "typography"
667
+ "type": "typography",
668
+ "content": "RateBucket Rate Limiter"
646
669
  }
647
- ],
648
- "direction": "horizontal",
649
- "gap": "md",
650
- "type": "stack"
670
+ ]
651
671
  },
652
672
  {
653
- "label": "Throttled",
654
- "pulse": true,
673
+ "status": "critical",
655
674
  "type": "status-dot",
656
- "status": "critical"
675
+ "pulse": true,
676
+ "label": "Throttled"
657
677
  }
658
678
  ],
659
- "type": "stack",
660
- "align": "center",
661
- "direction": "horizontal",
662
- "justify": "between",
663
679
  "gap": "md"
664
680
  },
665
681
  {
666
682
  "type": "divider"
667
683
  },
668
684
  {
669
- "message": "Rate limit exceeded. Requests are being throttled.",
670
685
  "type": "alert",
671
- "variant": "error"
686
+ "variant": "error",
687
+ "message": "Rate limit exceeded. Requests are being throttled."
672
688
  },
673
689
  {
690
+ "cols": 2.0,
674
691
  "children": [
675
692
  {
676
- "value": "@entity.count",
677
693
  "type": "stat-display",
694
+ "value": "@entity.count",
678
695
  "label": "Requests"
679
696
  },
680
697
  {
681
698
  "type": "stat-display",
682
- "value": "@entity.window",
683
- "label": "Window"
699
+ "label": "Window",
700
+ "value": "@entity.window"
684
701
  }
685
702
  ],
686
- "type": "simple-grid",
687
- "cols": 2.0
703
+ "type": "simple-grid"
688
704
  },
689
705
  {
690
- "min": 0.0,
706
+ "value": "@entity.count",
691
707
  "max": 100.0,
692
708
  "type": "meter",
693
- "value": "@entity.count"
709
+ "min": 0.0
694
710
  },
695
711
  {
696
- "type": "stack",
697
712
  "gap": "sm",
698
713
  "direction": "horizontal",
714
+ "type": "stack",
699
715
  "justify": "center",
700
716
  "children": [
701
717
  {
718
+ "label": "Reset",
702
719
  "icon": "rotate-ccw",
703
- "action": "RESET",
704
- "type": "button",
705
720
  "variant": "primary",
706
- "label": "Reset"
721
+ "action": "RESET",
722
+ "type": "button"
707
723
  }
708
724
  ]
709
725
  }
710
- ],
711
- "gap": "lg"
726
+ ]
712
727
  }
713
728
  ]
714
729
  ]
@@ -731,4 +746,4 @@
731
746
  ]
732
747
  }
733
748
  ]
734
- }
749
+ }