@almadar/std 9.0.0 → 11.0.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 +80 -80
  2. package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +103 -103
  3. package/behaviors/registry/agent/atoms/std-agent-classifier.orb +131 -113
  4. package/behaviors/registry/agent/atoms/std-agent-completion.orb +116 -98
  5. package/behaviors/registry/agent/atoms/std-agent-context-window.orb +384 -384
  6. package/behaviors/registry/agent/atoms/std-agent-conversation.orb +106 -106
  7. package/behaviors/registry/agent/atoms/std-agent-memory.orb +75 -75
  8. package/behaviors/registry/agent/atoms/std-agent-provider.orb +163 -139
  9. package/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
  10. package/behaviors/registry/agent/atoms/std-agent-session.orb +130 -130
  11. package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +185 -185
  12. package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +344 -344
  13. package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +81 -63
  14. package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +189 -189
  15. package/behaviors/registry/agent/molecules/std-agent-learner.orb +163 -163
  16. package/behaviors/registry/agent/molecules/std-agent-planner.orb +120 -120
  17. package/behaviors/registry/agent/molecules/std-agent-rag.orb +108 -108
  18. package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
  19. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1097 -1072
  20. package/behaviors/registry/agent/organisms/std-agent-builder.orb +3183 -3043
  21. package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2309 -2217
  22. package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1083 -1029
  23. package/behaviors/registry/agent/organisms/std-agent-tutor.orb +793 -768
  24. package/behaviors/registry/app/organisms/std-api-gateway.orb +929 -887
  25. package/behaviors/registry/app/organisms/std-booking-system.orb +1247 -1163
  26. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +822 -780
  27. package/behaviors/registry/app/organisms/std-cms.orb +608 -512
  28. package/behaviors/registry/app/organisms/std-coding-academy.orb +393 -393
  29. package/behaviors/registry/app/organisms/std-crm.orb +887 -791
  30. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1408 -1366
  31. package/behaviors/registry/app/organisms/std-ecommerce.orb +1147 -1021
  32. package/behaviors/registry/app/organisms/std-finance-tracker.orb +670 -616
  33. package/behaviors/registry/app/organisms/std-healthcare.orb +1447 -1351
  34. package/behaviors/registry/app/organisms/std-helpdesk.orb +720 -666
  35. package/behaviors/registry/app/organisms/std-hr-portal.orb +1286 -1202
  36. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +925 -883
  37. package/behaviors/registry/app/organisms/std-lms.orb +935 -893
  38. package/behaviors/registry/app/organisms/std-project-manager.orb +834 -750
  39. package/behaviors/registry/app/organisms/std-realtime-chat.orb +735 -681
  40. package/behaviors/registry/app/organisms/std-social-feed.orb +235 -211
  41. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +730 -688
  42. package/behaviors/registry/core/atoms/std-browse.orb +56 -56
  43. package/behaviors/registry/core/atoms/std-cache-aside.orb +95 -95
  44. package/behaviors/registry/core/atoms/std-calendar.orb +54 -54
  45. package/behaviors/registry/core/atoms/std-circuit-breaker.orb +180 -180
  46. package/behaviors/registry/core/atoms/std-confirmation.orb +25 -25
  47. package/behaviors/registry/core/atoms/std-display.orb +388 -388
  48. package/behaviors/registry/core/atoms/std-drawer.orb +54 -54
  49. package/behaviors/registry/core/atoms/std-filter.orb +47 -47
  50. package/behaviors/registry/core/atoms/std-gallery.orb +51 -51
  51. package/behaviors/registry/core/atoms/std-modal.orb +12 -12
  52. package/behaviors/registry/core/atoms/std-pagination.orb +42 -42
  53. package/behaviors/registry/core/atoms/std-push.orb +43 -43
  54. package/behaviors/registry/core/atoms/std-rate-limiter.orb +194 -194
  55. package/behaviors/registry/core/atoms/std-related.orb +37 -37
  56. package/behaviors/registry/core/atoms/std-search.orb +68 -68
  57. package/behaviors/registry/core/atoms/std-selection.orb +90 -90
  58. package/behaviors/registry/core/atoms/std-tabs.orb +44 -44
  59. package/behaviors/registry/core/molecules/std-cart.orb +55 -59
  60. package/behaviors/registry/core/molecules/std-filtered-list.orb +6 -6
  61. package/behaviors/registry/core/molecules/std-form-advanced.orb +132 -132
  62. package/behaviors/registry/core/molecules/std-list.orb +79 -85
  63. package/behaviors/registry/core/molecules/std-wizard-form.orb +146 -146
  64. package/behaviors/registry/game/atoms/std-collision.orb +122 -122
  65. package/behaviors/registry/game/atoms/std-combat.orb +66 -66
  66. package/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  67. package/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
  68. package/behaviors/registry/game/atoms/std-gameflow.orb +37 -37
  69. package/behaviors/registry/game/atoms/std-movement.orb +291 -291
  70. package/behaviors/registry/game/atoms/std-overworld.orb +69 -69
  71. package/behaviors/registry/game/atoms/std-physics2d.orb +77 -77
  72. package/behaviors/registry/game/atoms/std-quest.orb +133 -133
  73. package/behaviors/registry/game/atoms/std-timer.orb +291 -291
  74. package/behaviors/registry/game/organisms/std-arcade-game.orb +139 -139
  75. package/behaviors/registry/game/organisms/std-logic-training.orb +81 -81
  76. package/behaviors/registry/game/organisms/std-platformer-app.orb +273 -237
  77. package/behaviors/registry/game/organisms/std-puzzle-app.orb +98 -98
  78. package/behaviors/registry/game/organisms/std-rpg-game.orb +407 -371
  79. package/behaviors/registry/game/organisms/std-stem-lab.orb +378 -378
  80. package/behaviors/registry/game/organisms/std-strategy-game.orb +557 -557
  81. package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +282 -20
  82. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +84 -84
  83. package/behaviors/registry/service/atoms/std-service-email.orb +88 -88
  84. package/behaviors/registry/service/atoms/std-service-github.orb +88 -88
  85. package/behaviors/registry/service/atoms/std-service-llm.orb +119 -119
  86. package/behaviors/registry/service/atoms/std-service-oauth.orb +122 -122
  87. package/behaviors/registry/service/atoms/std-service-redis.orb +99 -99
  88. package/behaviors/registry/service/atoms/std-service-storage.orb +109 -109
  89. package/behaviors/registry/service/atoms/std-service-stripe.orb +105 -105
  90. package/behaviors/registry/service/atoms/std-service-twilio.orb +112 -112
  91. package/behaviors/registry/service/atoms/std-service-youtube.orb +111 -111
  92. package/behaviors/registry/service/organisms/std-service-marketplace.orb +1098 -1014
  93. package/behaviors/registry/service/organisms/std-service-research-assistant.orb +956 -956
  94. package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +80 -80
  95. package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +103 -103
  96. package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +131 -113
  97. package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +116 -98
  98. package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +384 -384
  99. package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +106 -106
  100. package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +75 -75
  101. package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +163 -139
  102. package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
  103. package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +130 -130
  104. package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +185 -185
  105. package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +344 -344
  106. package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +81 -63
  107. package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +189 -189
  108. package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +163 -163
  109. package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +120 -120
  110. package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +108 -108
  111. package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
  112. package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1097 -1072
  113. package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3183 -3043
  114. package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2309 -2217
  115. package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1083 -1029
  116. package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +793 -768
  117. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +929 -887
  118. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1247 -1163
  119. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +822 -780
  120. package/dist/behaviors/registry/app/organisms/std-cms.orb +608 -512
  121. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +393 -393
  122. package/dist/behaviors/registry/app/organisms/std-crm.orb +887 -791
  123. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1408 -1366
  124. package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +1147 -1021
  125. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +670 -616
  126. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1447 -1351
  127. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +720 -666
  128. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1286 -1202
  129. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +925 -883
  130. package/dist/behaviors/registry/app/organisms/std-lms.orb +935 -893
  131. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +834 -750
  132. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +735 -681
  133. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +235 -211
  134. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +730 -688
  135. package/dist/behaviors/registry/core/atoms/std-browse.orb +56 -56
  136. package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +95 -95
  137. package/dist/behaviors/registry/core/atoms/std-calendar.orb +54 -54
  138. package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +180 -180
  139. package/dist/behaviors/registry/core/atoms/std-confirmation.orb +25 -25
  140. package/dist/behaviors/registry/core/atoms/std-display.orb +388 -388
  141. package/dist/behaviors/registry/core/atoms/std-drawer.orb +54 -54
  142. package/dist/behaviors/registry/core/atoms/std-filter.orb +47 -47
  143. package/dist/behaviors/registry/core/atoms/std-gallery.orb +51 -51
  144. package/dist/behaviors/registry/core/atoms/std-modal.orb +12 -12
  145. package/dist/behaviors/registry/core/atoms/std-pagination.orb +42 -42
  146. package/dist/behaviors/registry/core/atoms/std-push.orb +43 -43
  147. package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +194 -194
  148. package/dist/behaviors/registry/core/atoms/std-related.orb +37 -37
  149. package/dist/behaviors/registry/core/atoms/std-search.orb +68 -68
  150. package/dist/behaviors/registry/core/atoms/std-selection.orb +90 -90
  151. package/dist/behaviors/registry/core/atoms/std-tabs.orb +44 -44
  152. package/dist/behaviors/registry/core/molecules/std-cart.orb +55 -59
  153. package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +6 -6
  154. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +132 -132
  155. package/dist/behaviors/registry/core/molecules/std-list.orb +79 -85
  156. package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +146 -146
  157. package/dist/behaviors/registry/game/atoms/std-collision.orb +122 -122
  158. package/dist/behaviors/registry/game/atoms/std-combat.orb +66 -66
  159. package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
  160. package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
  161. package/dist/behaviors/registry/game/atoms/std-gameflow.orb +37 -37
  162. package/dist/behaviors/registry/game/atoms/std-movement.orb +291 -291
  163. package/dist/behaviors/registry/game/atoms/std-overworld.orb +69 -69
  164. package/dist/behaviors/registry/game/atoms/std-physics2d.orb +77 -77
  165. package/dist/behaviors/registry/game/atoms/std-quest.orb +133 -133
  166. package/dist/behaviors/registry/game/atoms/std-timer.orb +291 -291
  167. package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +139 -139
  168. package/dist/behaviors/registry/game/organisms/std-logic-training.orb +81 -81
  169. package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +273 -237
  170. package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +98 -98
  171. package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +407 -371
  172. package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +378 -378
  173. package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +557 -557
  174. package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +282 -20
  175. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +84 -84
  176. package/dist/behaviors/registry/service/atoms/std-service-email.orb +88 -88
  177. package/dist/behaviors/registry/service/atoms/std-service-github.orb +88 -88
  178. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +119 -119
  179. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +122 -122
  180. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +99 -99
  181. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +109 -109
  182. package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +105 -105
  183. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +112 -112
  184. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +111 -111
  185. package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +1098 -1014
  186. package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +956 -956
  187. package/package.json +1 -1
@@ -95,96 +95,96 @@
95
95
  "render-ui",
96
96
  "main",
97
97
  {
98
- "type": "stack",
99
- "gap": "lg",
100
98
  "children": [
101
99
  {
100
+ "gap": "md",
101
+ "direction": "horizontal",
102
+ "type": "stack",
103
+ "align": "center",
104
+ "justify": "between",
102
105
  "children": [
103
106
  {
104
- "direction": "horizontal",
107
+ "type": "stack",
105
108
  "children": [
106
109
  {
107
- "name": "shield",
108
- "type": "icon"
110
+ "type": "icon",
111
+ "name": "shield"
109
112
  },
110
113
  {
114
+ "variant": "h2",
111
115
  "type": "typography",
112
- "content": "RateBucket Rate Limiter",
113
- "variant": "h2"
116
+ "content": "RateBucket Rate Limiter"
114
117
  }
115
118
  ],
116
- "type": "stack",
119
+ "align": "center",
117
120
  "gap": "md",
118
- "align": "center"
121
+ "direction": "horizontal"
119
122
  },
120
123
  {
121
124
  "status": "online",
122
125
  "type": "status-dot",
123
- "pulse": false,
124
- "label": "Open"
126
+ "label": "Open",
127
+ "pulse": false
125
128
  }
126
- ],
127
- "type": "stack",
128
- "gap": "md",
129
- "direction": "horizontal",
130
- "align": "center",
131
- "justify": "between"
129
+ ]
132
130
  },
133
131
  {
134
132
  "type": "divider"
135
133
  },
136
134
  {
137
- "type": "simple-grid",
138
135
  "children": [
139
136
  {
137
+ "label": "Requests",
140
138
  "value": "@entity.count",
141
- "type": "stat-display",
142
- "label": "Requests"
139
+ "type": "stat-display"
143
140
  },
144
141
  {
145
142
  "label": "Window",
146
- "type": "stat-display",
147
- "value": "@entity.window"
143
+ "value": "@entity.window",
144
+ "type": "stat-display"
148
145
  }
149
146
  ],
150
- "cols": 2.0
147
+ "cols": 2.0,
148
+ "type": "simple-grid"
151
149
  },
152
150
  {
153
- "value": "@entity.count",
154
- "min": 0.0,
155
151
  "max": 100.0,
152
+ "min": 0.0,
153
+ "value": "@entity.count",
156
154
  "type": "meter"
157
155
  },
158
156
  {
159
- "max": 100.0,
160
157
  "value": "@entity.count",
158
+ "max": 100.0,
161
159
  "showPercentage": true,
162
160
  "type": "progress-bar"
163
161
  },
164
162
  {
165
- "justify": "center",
166
- "direction": "horizontal",
167
163
  "children": [
168
164
  {
169
- "type": "button",
170
- "label": "Request",
171
- "variant": "primary",
172
165
  "icon": "send",
173
- "action": "REQUEST"
166
+ "variant": "primary",
167
+ "action": "REQUEST",
168
+ "label": "Request",
169
+ "type": "button"
174
170
  },
175
171
  {
176
- "type": "button",
177
- "label": "Reset",
178
- "variant": "ghost",
179
172
  "icon": "rotate-ccw",
180
- "action": "RESET"
173
+ "label": "Reset",
174
+ "action": "RESET",
175
+ "type": "button",
176
+ "variant": "ghost"
181
177
  }
182
178
  ],
179
+ "gap": "sm",
180
+ "justify": "center",
183
181
  "type": "stack",
184
- "gap": "sm"
182
+ "direction": "horizontal"
185
183
  }
186
184
  ],
187
- "direction": "vertical"
185
+ "direction": "vertical",
186
+ "type": "stack",
187
+ "gap": "lg"
188
188
  }
189
189
  ]
190
190
  ]
@@ -198,96 +198,96 @@
198
198
  "render-ui",
199
199
  "main",
200
200
  {
201
+ "gap": "lg",
201
202
  "children": [
202
203
  {
204
+ "direction": "horizontal",
205
+ "type": "stack",
206
+ "justify": "between",
203
207
  "children": [
204
208
  {
209
+ "gap": "md",
205
210
  "children": [
206
211
  {
207
- "name": "shield",
208
- "type": "icon"
212
+ "type": "icon",
213
+ "name": "shield"
209
214
  },
210
215
  {
211
216
  "content": "RateBucket Rate Limiter",
212
- "type": "typography",
213
- "variant": "h2"
217
+ "variant": "h2",
218
+ "type": "typography"
214
219
  }
215
220
  ],
216
- "gap": "md",
217
- "type": "stack",
218
221
  "align": "center",
222
+ "type": "stack",
219
223
  "direction": "horizontal"
220
224
  },
221
225
  {
222
226
  "pulse": false,
223
- "label": "Open",
224
227
  "type": "status-dot",
228
+ "label": "Open",
225
229
  "status": "online"
226
230
  }
227
231
  ],
228
- "type": "stack",
229
- "align": "center",
230
- "direction": "horizontal",
231
232
  "gap": "md",
232
- "justify": "between"
233
+ "align": "center"
233
234
  },
234
235
  {
235
236
  "type": "divider"
236
237
  },
237
238
  {
238
- "cols": 2.0,
239
239
  "type": "simple-grid",
240
+ "cols": 2.0,
240
241
  "children": [
241
242
  {
242
- "type": "stat-display",
243
243
  "value": "@entity.count",
244
- "label": "Requests"
244
+ "label": "Requests",
245
+ "type": "stat-display"
245
246
  },
246
247
  {
248
+ "value": "@entity.window",
247
249
  "type": "stat-display",
248
- "label": "Window",
249
- "value": "@entity.window"
250
+ "label": "Window"
250
251
  }
251
252
  ]
252
253
  },
253
254
  {
254
- "value": "@entity.count",
255
- "max": 100.0,
255
+ "min": 0.0,
256
256
  "type": "meter",
257
- "min": 0.0
257
+ "value": "@entity.count",
258
+ "max": 100.0
258
259
  },
259
260
  {
260
- "type": "progress-bar",
261
261
  "value": "@entity.count",
262
+ "type": "progress-bar",
262
263
  "max": 100.0,
263
264
  "showPercentage": true
264
265
  },
265
266
  {
266
- "justify": "center",
267
+ "type": "stack",
268
+ "gap": "sm",
267
269
  "children": [
268
270
  {
271
+ "type": "button",
269
272
  "label": "Request",
270
273
  "action": "REQUEST",
271
- "icon": "send",
272
- "type": "button",
273
- "variant": "primary"
274
+ "variant": "primary",
275
+ "icon": "send"
274
276
  },
275
277
  {
276
- "variant": "ghost",
277
- "icon": "rotate-ccw",
278
- "type": "button",
279
278
  "action": "RESET",
280
- "label": "Reset"
279
+ "type": "button",
280
+ "icon": "rotate-ccw",
281
+ "label": "Reset",
282
+ "variant": "ghost"
281
283
  }
282
284
  ],
283
- "gap": "sm",
284
- "type": "stack",
285
+ "justify": "center",
285
286
  "direction": "horizontal"
286
287
  }
287
288
  ],
288
289
  "type": "stack",
289
- "direction": "vertical",
290
- "gap": "lg"
290
+ "direction": "vertical"
291
291
  }
292
292
  ]
293
293
  ]
@@ -308,56 +308,56 @@
308
308
  {
309
309
  "children": [
310
310
  {
311
+ "align": "center",
312
+ "justify": "between",
313
+ "gap": "md",
311
314
  "children": [
312
315
  {
316
+ "type": "stack",
317
+ "align": "center",
318
+ "direction": "horizontal",
319
+ "gap": "md",
313
320
  "children": [
314
321
  {
315
- "type": "icon",
316
- "name": "shield"
322
+ "name": "shield",
323
+ "type": "icon"
317
324
  },
318
325
  {
326
+ "type": "typography",
319
327
  "content": "RateBucket Rate Limiter",
320
- "variant": "h2",
321
- "type": "typography"
328
+ "variant": "h2"
322
329
  }
323
- ],
324
- "align": "center",
325
- "type": "stack",
326
- "direction": "horizontal",
327
- "gap": "md"
330
+ ]
328
331
  },
329
332
  {
330
- "pulse": true,
331
- "type": "status-dot",
333
+ "label": "Throttled",
332
334
  "status": "critical",
333
- "label": "Throttled"
335
+ "type": "status-dot",
336
+ "pulse": true
334
337
  }
335
338
  ],
336
- "align": "center",
337
339
  "direction": "horizontal",
338
- "type": "stack",
339
- "justify": "between",
340
- "gap": "md"
340
+ "type": "stack"
341
341
  },
342
342
  {
343
343
  "type": "divider"
344
344
  },
345
345
  {
346
- "variant": "error",
346
+ "message": "Rate limit exceeded. Requests are being throttled.",
347
347
  "type": "alert",
348
- "message": "Rate limit exceeded. Requests are being throttled."
348
+ "variant": "error"
349
349
  },
350
350
  {
351
351
  "children": [
352
352
  {
353
- "type": "stat-display",
354
353
  "label": "Requests",
355
- "value": "@entity.count"
354
+ "value": "@entity.count",
355
+ "type": "stat-display"
356
356
  },
357
357
  {
358
- "value": "@entity.window",
359
358
  "type": "stat-display",
360
- "label": "Window"
359
+ "label": "Window",
360
+ "value": "@entity.window"
361
361
  }
362
362
  ],
363
363
  "cols": 2.0,
@@ -365,29 +365,29 @@
365
365
  },
366
366
  {
367
367
  "min": 0.0,
368
- "value": "@entity.count",
369
368
  "max": 100.0,
370
- "type": "meter"
369
+ "type": "meter",
370
+ "value": "@entity.count"
371
371
  },
372
372
  {
373
- "type": "stack",
374
373
  "direction": "horizontal",
375
- "gap": "sm",
376
374
  "justify": "center",
377
375
  "children": [
378
376
  {
379
- "type": "button",
380
- "action": "RESET",
381
377
  "label": "Reset",
382
378
  "variant": "primary",
383
- "icon": "rotate-ccw"
379
+ "icon": "rotate-ccw",
380
+ "type": "button",
381
+ "action": "RESET"
384
382
  }
385
- ]
383
+ ],
384
+ "gap": "sm",
385
+ "type": "stack"
386
386
  }
387
387
  ],
388
- "gap": "lg",
389
388
  "direction": "vertical",
390
- "type": "stack"
389
+ "type": "stack",
390
+ "gap": "lg"
391
391
  }
392
392
  ]
393
393
  ]
@@ -411,21 +411,21 @@
411
411
  "render-ui",
412
412
  "main",
413
413
  {
414
- "type": "stack",
415
- "direction": "vertical",
416
414
  "children": [
417
415
  {
418
- "gap": "md",
419
- "direction": "horizontal",
420
416
  "align": "center",
417
+ "direction": "horizontal",
418
+ "justify": "between",
419
+ "gap": "md",
420
+ "type": "stack",
421
421
  "children": [
422
422
  {
423
- "gap": "md",
423
+ "type": "stack",
424
424
  "align": "center",
425
425
  "children": [
426
426
  {
427
- "name": "shield",
428
- "type": "icon"
427
+ "type": "icon",
428
+ "name": "shield"
429
429
  },
430
430
  {
431
431
  "content": "RateBucket Rate Limiter",
@@ -433,73 +433,73 @@
433
433
  "variant": "h2"
434
434
  }
435
435
  ],
436
- "type": "stack",
437
- "direction": "horizontal"
436
+ "direction": "horizontal",
437
+ "gap": "md"
438
438
  },
439
439
  {
440
- "label": "Open",
441
- "pulse": false,
440
+ "status": "online",
442
441
  "type": "status-dot",
443
- "status": "online"
442
+ "label": "Open",
443
+ "pulse": false
444
444
  }
445
- ],
446
- "type": "stack",
447
- "justify": "between"
445
+ ]
448
446
  },
449
447
  {
450
448
  "type": "divider"
451
449
  },
452
450
  {
453
- "type": "simple-grid",
454
451
  "cols": 2.0,
452
+ "type": "simple-grid",
455
453
  "children": [
456
454
  {
457
- "value": "@entity.count",
458
455
  "label": "Requests",
456
+ "value": "@entity.count",
459
457
  "type": "stat-display"
460
458
  },
461
459
  {
462
- "type": "stat-display",
463
460
  "label": "Window",
461
+ "type": "stat-display",
464
462
  "value": "@entity.window"
465
463
  }
466
464
  ]
467
465
  },
468
466
  {
469
467
  "value": "@entity.count",
470
- "max": 100.0,
471
468
  "type": "meter",
472
- "min": 0.0
469
+ "min": 0.0,
470
+ "max": 100.0
473
471
  },
474
472
  {
475
- "max": 100.0,
476
473
  "showPercentage": true,
477
474
  "type": "progress-bar",
478
- "value": "@entity.count"
475
+ "value": "@entity.count",
476
+ "max": 100.0
479
477
  },
480
478
  {
481
- "gap": "sm",
482
- "justify": "center",
483
479
  "type": "stack",
484
480
  "direction": "horizontal",
481
+ "justify": "center",
485
482
  "children": [
486
483
  {
487
- "type": "button",
488
484
  "variant": "primary",
489
- "icon": "send",
485
+ "type": "button",
490
486
  "action": "REQUEST",
491
- "label": "Request"
487
+ "label": "Request",
488
+ "icon": "send"
492
489
  },
493
490
  {
494
- "type": "button",
495
491
  "variant": "ghost",
496
492
  "action": "RESET",
493
+ "label": "Reset",
497
494
  "icon": "rotate-ccw",
498
- "label": "Reset"
495
+ "type": "button"
499
496
  }
500
- ]
497
+ ],
498
+ "gap": "sm"
501
499
  }
502
500
  ],
501
+ "type": "stack",
502
+ "direction": "vertical",
503
503
  "gap": "lg"
504
504
  }
505
505
  ]
@@ -524,21 +524,15 @@
524
524
  "render-ui",
525
525
  "main",
526
526
  {
527
- "type": "stack",
528
- "direction": "vertical",
529
- "gap": "lg",
530
527
  "children": [
531
528
  {
532
- "align": "center",
533
529
  "gap": "md",
534
530
  "justify": "between",
535
- "type": "stack",
536
531
  "children": [
537
532
  {
538
- "direction": "horizontal",
539
533
  "align": "center",
534
+ "direction": "horizontal",
540
535
  "type": "stack",
541
- "gap": "md",
542
536
  "children": [
543
537
  {
544
538
  "name": "shield",
@@ -549,71 +543,77 @@
549
543
  "content": "RateBucket Rate Limiter",
550
544
  "type": "typography"
551
545
  }
552
- ]
546
+ ],
547
+ "gap": "md"
553
548
  },
554
549
  {
555
550
  "status": "online",
556
- "type": "status-dot",
557
551
  "pulse": false,
558
- "label": "Open"
552
+ "label": "Open",
553
+ "type": "status-dot"
559
554
  }
560
555
  ],
561
- "direction": "horizontal"
556
+ "align": "center",
557
+ "direction": "horizontal",
558
+ "type": "stack"
562
559
  },
563
560
  {
564
561
  "type": "divider"
565
562
  },
566
563
  {
564
+ "cols": 2.0,
565
+ "type": "simple-grid",
567
566
  "children": [
568
567
  {
568
+ "value": "@entity.count",
569
569
  "type": "stat-display",
570
- "label": "Requests",
571
- "value": "@entity.count"
570
+ "label": "Requests"
572
571
  },
573
572
  {
574
573
  "value": "@entity.window",
575
- "label": "Window",
576
- "type": "stat-display"
574
+ "type": "stat-display",
575
+ "label": "Window"
577
576
  }
578
- ],
579
- "type": "simple-grid",
580
- "cols": 2.0
577
+ ]
581
578
  },
582
579
  {
583
- "type": "meter",
584
- "min": 0.0,
580
+ "max": 100.0,
585
581
  "value": "@entity.count",
586
- "max": 100.0
582
+ "min": 0.0,
583
+ "type": "meter"
587
584
  },
588
585
  {
589
- "type": "progress-bar",
590
- "value": "@entity.count",
586
+ "max": 100.0,
591
587
  "showPercentage": true,
592
- "max": 100.0
588
+ "type": "progress-bar",
589
+ "value": "@entity.count"
593
590
  },
594
591
  {
595
- "type": "stack",
596
- "gap": "sm",
597
592
  "justify": "center",
593
+ "direction": "horizontal",
598
594
  "children": [
599
595
  {
596
+ "type": "button",
600
597
  "action": "REQUEST",
601
- "label": "Request",
602
598
  "variant": "primary",
603
599
  "icon": "send",
604
- "type": "button"
600
+ "label": "Request"
605
601
  },
606
602
  {
607
- "variant": "ghost",
608
- "icon": "rotate-ccw",
609
603
  "type": "button",
604
+ "action": "RESET",
610
605
  "label": "Reset",
611
- "action": "RESET"
606
+ "variant": "ghost",
607
+ "icon": "rotate-ccw"
612
608
  }
613
609
  ],
614
- "direction": "horizontal"
610
+ "gap": "sm",
611
+ "type": "stack"
615
612
  }
616
- ]
613
+ ],
614
+ "type": "stack",
615
+ "direction": "vertical",
616
+ "gap": "lg"
617
617
  }
618
618
  ]
619
619
  ]
@@ -627,88 +627,88 @@
627
627
  "render-ui",
628
628
  "main",
629
629
  {
630
- "gap": "lg",
631
630
  "type": "stack",
631
+ "direction": "vertical",
632
+ "gap": "lg",
632
633
  "children": [
633
634
  {
635
+ "direction": "horizontal",
636
+ "type": "stack",
634
637
  "justify": "between",
635
638
  "children": [
636
639
  {
637
640
  "type": "stack",
641
+ "direction": "horizontal",
642
+ "gap": "md",
638
643
  "align": "center",
639
644
  "children": [
640
645
  {
641
- "type": "icon",
642
- "name": "shield"
646
+ "name": "shield",
647
+ "type": "icon"
643
648
  },
644
649
  {
645
- "type": "typography",
646
650
  "variant": "h2",
651
+ "type": "typography",
647
652
  "content": "RateBucket Rate Limiter"
648
653
  }
649
- ],
650
- "direction": "horizontal",
651
- "gap": "md"
654
+ ]
652
655
  },
653
656
  {
654
- "label": "Throttled",
655
657
  "type": "status-dot",
656
658
  "pulse": true,
659
+ "label": "Throttled",
657
660
  "status": "critical"
658
661
  }
659
662
  ],
660
- "direction": "horizontal",
661
- "type": "stack",
662
- "align": "center",
663
- "gap": "md"
663
+ "gap": "md",
664
+ "align": "center"
664
665
  },
665
666
  {
666
667
  "type": "divider"
667
668
  },
668
669
  {
670
+ "message": "Rate limit exceeded. Requests are being throttled.",
669
671
  "type": "alert",
670
- "variant": "error",
671
- "message": "Rate limit exceeded. Requests are being throttled."
672
+ "variant": "error"
672
673
  },
673
674
  {
674
675
  "cols": 2.0,
675
676
  "children": [
676
677
  {
677
- "label": "Requests",
678
678
  "value": "@entity.count",
679
- "type": "stat-display"
679
+ "type": "stat-display",
680
+ "label": "Requests"
680
681
  },
681
682
  {
682
- "type": "stat-display",
683
+ "value": "@entity.window",
683
684
  "label": "Window",
684
- "value": "@entity.window"
685
+ "type": "stat-display"
685
686
  }
686
687
  ],
687
688
  "type": "simple-grid"
688
689
  },
689
690
  {
690
- "value": "@entity.count",
691
- "min": 0.0,
692
691
  "type": "meter",
693
- "max": 100.0
692
+ "max": 100.0,
693
+ "min": 0.0,
694
+ "value": "@entity.count"
694
695
  },
695
696
  {
696
- "gap": "sm",
697
- "justify": "center",
697
+ "type": "stack",
698
698
  "children": [
699
699
  {
700
+ "action": "RESET",
700
701
  "variant": "primary",
701
702
  "icon": "rotate-ccw",
702
- "action": "RESET",
703
- "type": "button",
704
- "label": "Reset"
703
+ "label": "Reset",
704
+ "type": "button"
705
705
  }
706
706
  ],
707
+ "justify": "center",
707
708
  "direction": "horizontal",
708
- "type": "stack"
709
+ "gap": "sm"
709
710
  }
710
- ],
711
- "direction": "vertical"
711
+ ]
712
712
  }
713
713
  ]
714
714
  ]