@almadar/std 10.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.
- package/behaviors/registry/agent/atoms/std-agent-activity-log.orb +80 -80
- package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +103 -103
- package/behaviors/registry/agent/atoms/std-agent-classifier.orb +131 -113
- package/behaviors/registry/agent/atoms/std-agent-completion.orb +116 -98
- package/behaviors/registry/agent/atoms/std-agent-context-window.orb +384 -384
- package/behaviors/registry/agent/atoms/std-agent-conversation.orb +106 -106
- package/behaviors/registry/agent/atoms/std-agent-memory.orb +75 -75
- package/behaviors/registry/agent/atoms/std-agent-provider.orb +163 -139
- package/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
- package/behaviors/registry/agent/atoms/std-agent-session.orb +130 -130
- package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +185 -185
- package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +344 -344
- package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +81 -63
- package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +189 -189
- package/behaviors/registry/agent/molecules/std-agent-learner.orb +163 -163
- package/behaviors/registry/agent/molecules/std-agent-planner.orb +120 -120
- package/behaviors/registry/agent/molecules/std-agent-rag.orb +108 -108
- package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
- package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1097 -1072
- package/behaviors/registry/agent/organisms/std-agent-builder.orb +3183 -3043
- package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2309 -2217
- package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1083 -1029
- package/behaviors/registry/agent/organisms/std-agent-tutor.orb +793 -768
- package/behaviors/registry/app/organisms/std-api-gateway.orb +929 -887
- package/behaviors/registry/app/organisms/std-booking-system.orb +1247 -1163
- package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +822 -780
- package/behaviors/registry/app/organisms/std-cms.orb +608 -512
- package/behaviors/registry/app/organisms/std-coding-academy.orb +393 -393
- package/behaviors/registry/app/organisms/std-crm.orb +887 -791
- package/behaviors/registry/app/organisms/std-devops-dashboard.orb +1408 -1366
- package/behaviors/registry/app/organisms/std-ecommerce.orb +1147 -1021
- package/behaviors/registry/app/organisms/std-finance-tracker.orb +670 -616
- package/behaviors/registry/app/organisms/std-healthcare.orb +1447 -1351
- package/behaviors/registry/app/organisms/std-helpdesk.orb +720 -666
- package/behaviors/registry/app/organisms/std-hr-portal.orb +1286 -1202
- package/behaviors/registry/app/organisms/std-iot-dashboard.orb +925 -883
- package/behaviors/registry/app/organisms/std-lms.orb +935 -893
- package/behaviors/registry/app/organisms/std-project-manager.orb +834 -750
- package/behaviors/registry/app/organisms/std-realtime-chat.orb +735 -681
- package/behaviors/registry/app/organisms/std-social-feed.orb +235 -211
- package/behaviors/registry/app/organisms/std-trading-dashboard.orb +730 -688
- package/behaviors/registry/core/atoms/std-browse.orb +56 -56
- package/behaviors/registry/core/atoms/std-cache-aside.orb +95 -95
- package/behaviors/registry/core/atoms/std-calendar.orb +54 -54
- package/behaviors/registry/core/atoms/std-circuit-breaker.orb +180 -180
- package/behaviors/registry/core/atoms/std-confirmation.orb +25 -25
- package/behaviors/registry/core/atoms/std-display.orb +388 -388
- package/behaviors/registry/core/atoms/std-drawer.orb +54 -54
- package/behaviors/registry/core/atoms/std-filter.orb +47 -47
- package/behaviors/registry/core/atoms/std-gallery.orb +51 -51
- package/behaviors/registry/core/atoms/std-modal.orb +12 -12
- package/behaviors/registry/core/atoms/std-pagination.orb +42 -42
- package/behaviors/registry/core/atoms/std-push.orb +43 -43
- package/behaviors/registry/core/atoms/std-rate-limiter.orb +194 -194
- package/behaviors/registry/core/atoms/std-related.orb +37 -37
- package/behaviors/registry/core/atoms/std-search.orb +68 -68
- package/behaviors/registry/core/atoms/std-selection.orb +90 -90
- package/behaviors/registry/core/atoms/std-tabs.orb +44 -44
- package/behaviors/registry/core/molecules/std-cart.orb +47 -47
- package/behaviors/registry/core/molecules/std-filtered-list.orb +6 -6
- package/behaviors/registry/core/molecules/std-form-advanced.orb +132 -132
- package/behaviors/registry/core/molecules/std-list.orb +79 -85
- package/behaviors/registry/core/molecules/std-wizard-form.orb +146 -146
- package/behaviors/registry/game/atoms/std-collision.orb +122 -122
- package/behaviors/registry/game/atoms/std-combat.orb +66 -66
- package/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
- package/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
- package/behaviors/registry/game/atoms/std-gameflow.orb +37 -37
- package/behaviors/registry/game/atoms/std-movement.orb +291 -291
- package/behaviors/registry/game/atoms/std-overworld.orb +69 -69
- package/behaviors/registry/game/atoms/std-physics2d.orb +77 -77
- package/behaviors/registry/game/atoms/std-quest.orb +133 -133
- package/behaviors/registry/game/atoms/std-timer.orb +291 -291
- package/behaviors/registry/game/organisms/std-arcade-game.orb +139 -139
- package/behaviors/registry/game/organisms/std-logic-training.orb +81 -81
- package/behaviors/registry/game/organisms/std-platformer-app.orb +273 -237
- package/behaviors/registry/game/organisms/std-puzzle-app.orb +98 -98
- package/behaviors/registry/game/organisms/std-rpg-game.orb +407 -371
- package/behaviors/registry/game/organisms/std-stem-lab.orb +378 -378
- package/behaviors/registry/game/organisms/std-strategy-game.orb +557 -557
- package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +282 -20
- package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +84 -84
- package/behaviors/registry/service/atoms/std-service-email.orb +88 -88
- package/behaviors/registry/service/atoms/std-service-github.orb +88 -88
- package/behaviors/registry/service/atoms/std-service-llm.orb +119 -119
- package/behaviors/registry/service/atoms/std-service-oauth.orb +122 -122
- package/behaviors/registry/service/atoms/std-service-redis.orb +99 -99
- package/behaviors/registry/service/atoms/std-service-storage.orb +109 -109
- package/behaviors/registry/service/atoms/std-service-stripe.orb +105 -105
- package/behaviors/registry/service/atoms/std-service-twilio.orb +112 -112
- package/behaviors/registry/service/atoms/std-service-youtube.orb +111 -111
- package/behaviors/registry/service/organisms/std-service-marketplace.orb +1098 -1014
- package/behaviors/registry/service/organisms/std-service-research-assistant.orb +956 -956
- package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +80 -80
- package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +103 -103
- package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +131 -113
- package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +116 -98
- package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +384 -384
- package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +106 -106
- package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +75 -75
- package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +163 -139
- package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
- package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +130 -130
- package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +185 -185
- package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +344 -344
- package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +81 -63
- package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +189 -189
- package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +163 -163
- package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +120 -120
- package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +108 -108
- package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +188 -188
- package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1097 -1072
- package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3183 -3043
- package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2309 -2217
- package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1083 -1029
- package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +793 -768
- package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +929 -887
- package/dist/behaviors/registry/app/organisms/std-booking-system.orb +1247 -1163
- package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +822 -780
- package/dist/behaviors/registry/app/organisms/std-cms.orb +608 -512
- package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +393 -393
- package/dist/behaviors/registry/app/organisms/std-crm.orb +887 -791
- package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +1408 -1366
- package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +1147 -1021
- package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +670 -616
- package/dist/behaviors/registry/app/organisms/std-healthcare.orb +1447 -1351
- package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +720 -666
- package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +1286 -1202
- package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +925 -883
- package/dist/behaviors/registry/app/organisms/std-lms.orb +935 -893
- package/dist/behaviors/registry/app/organisms/std-project-manager.orb +834 -750
- package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +735 -681
- package/dist/behaviors/registry/app/organisms/std-social-feed.orb +235 -211
- package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +730 -688
- package/dist/behaviors/registry/core/atoms/std-browse.orb +56 -56
- package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +95 -95
- package/dist/behaviors/registry/core/atoms/std-calendar.orb +54 -54
- package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +180 -180
- package/dist/behaviors/registry/core/atoms/std-confirmation.orb +25 -25
- package/dist/behaviors/registry/core/atoms/std-display.orb +388 -388
- package/dist/behaviors/registry/core/atoms/std-drawer.orb +54 -54
- package/dist/behaviors/registry/core/atoms/std-filter.orb +47 -47
- package/dist/behaviors/registry/core/atoms/std-gallery.orb +51 -51
- package/dist/behaviors/registry/core/atoms/std-modal.orb +12 -12
- package/dist/behaviors/registry/core/atoms/std-pagination.orb +42 -42
- package/dist/behaviors/registry/core/atoms/std-push.orb +43 -43
- package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +194 -194
- package/dist/behaviors/registry/core/atoms/std-related.orb +37 -37
- package/dist/behaviors/registry/core/atoms/std-search.orb +68 -68
- package/dist/behaviors/registry/core/atoms/std-selection.orb +90 -90
- package/dist/behaviors/registry/core/atoms/std-tabs.orb +44 -44
- package/dist/behaviors/registry/core/molecules/std-cart.orb +47 -47
- package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +6 -6
- package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +132 -132
- package/dist/behaviors/registry/core/molecules/std-list.orb +79 -85
- package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +146 -146
- package/dist/behaviors/registry/game/atoms/std-collision.orb +122 -122
- package/dist/behaviors/registry/game/atoms/std-combat.orb +66 -66
- package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
- package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +43 -43
- package/dist/behaviors/registry/game/atoms/std-gameflow.orb +37 -37
- package/dist/behaviors/registry/game/atoms/std-movement.orb +291 -291
- package/dist/behaviors/registry/game/atoms/std-overworld.orb +69 -69
- package/dist/behaviors/registry/game/atoms/std-physics2d.orb +77 -77
- package/dist/behaviors/registry/game/atoms/std-quest.orb +133 -133
- package/dist/behaviors/registry/game/atoms/std-timer.orb +291 -291
- package/dist/behaviors/registry/game/organisms/std-arcade-game.orb +139 -139
- package/dist/behaviors/registry/game/organisms/std-logic-training.orb +81 -81
- package/dist/behaviors/registry/game/organisms/std-platformer-app.orb +273 -237
- package/dist/behaviors/registry/game/organisms/std-puzzle-app.orb +98 -98
- package/dist/behaviors/registry/game/organisms/std-rpg-game.orb +407 -371
- package/dist/behaviors/registry/game/organisms/std-stem-lab.orb +378 -378
- package/dist/behaviors/registry/game/organisms/std-strategy-game.orb +557 -557
- package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +282 -20
- package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +84 -84
- package/dist/behaviors/registry/service/atoms/std-service-email.orb +88 -88
- package/dist/behaviors/registry/service/atoms/std-service-github.orb +88 -88
- package/dist/behaviors/registry/service/atoms/std-service-llm.orb +119 -119
- package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +122 -122
- package/dist/behaviors/registry/service/atoms/std-service-redis.orb +99 -99
- package/dist/behaviors/registry/service/atoms/std-service-storage.orb +109 -109
- package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +105 -105
- package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +112 -112
- package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +111 -111
- package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +1098 -1014
- package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +956 -956
- package/package.json +1 -1
|
@@ -135,22 +135,22 @@
|
|
|
135
135
|
"render-ui",
|
|
136
136
|
"main",
|
|
137
137
|
{
|
|
138
|
-
"type": "stack",
|
|
139
|
-
"gap": "lg",
|
|
140
138
|
"align": "center",
|
|
141
|
-
"direction": "vertical",
|
|
142
|
-
"className": "max-w-5xl mx-auto w-full py-12",
|
|
143
139
|
"children": [
|
|
144
140
|
{
|
|
145
141
|
"type": "spinner"
|
|
146
142
|
},
|
|
147
143
|
{
|
|
148
|
-
"
|
|
144
|
+
"type": "typography",
|
|
149
145
|
"color": "muted",
|
|
150
|
-
"
|
|
151
|
-
"
|
|
146
|
+
"variant": "caption",
|
|
147
|
+
"content": "Loading BrowseItems…"
|
|
152
148
|
}
|
|
153
|
-
]
|
|
149
|
+
],
|
|
150
|
+
"type": "stack",
|
|
151
|
+
"className": "max-w-5xl mx-auto w-full py-12",
|
|
152
|
+
"gap": "lg",
|
|
153
|
+
"direction": "vertical"
|
|
154
154
|
}
|
|
155
155
|
]
|
|
156
156
|
]
|
|
@@ -164,17 +164,13 @@
|
|
|
164
164
|
"render-ui",
|
|
165
165
|
"main",
|
|
166
166
|
{
|
|
167
|
-
"gap": "lg",
|
|
168
|
-
"type": "stack",
|
|
169
167
|
"direction": "vertical",
|
|
170
168
|
"children": [
|
|
171
169
|
{
|
|
172
170
|
"children": [
|
|
173
171
|
{
|
|
174
|
-
"align": "center",
|
|
175
|
-
"direction": "horizontal",
|
|
176
|
-
"gap": "sm",
|
|
177
172
|
"type": "stack",
|
|
173
|
+
"gap": "sm",
|
|
178
174
|
"children": [
|
|
179
175
|
{
|
|
180
176
|
"type": "icon",
|
|
@@ -185,46 +181,48 @@
|
|
|
185
181
|
"content": "BrowseItems",
|
|
186
182
|
"variant": "h2"
|
|
187
183
|
}
|
|
188
|
-
]
|
|
184
|
+
],
|
|
185
|
+
"direction": "horizontal",
|
|
186
|
+
"align": "center"
|
|
189
187
|
}
|
|
190
188
|
],
|
|
189
|
+
"direction": "horizontal",
|
|
191
190
|
"gap": "md",
|
|
192
|
-
"align": "center",
|
|
193
191
|
"type": "stack",
|
|
194
|
-
"
|
|
195
|
-
"
|
|
192
|
+
"justify": "between",
|
|
193
|
+
"align": "center"
|
|
196
194
|
},
|
|
197
195
|
{
|
|
198
196
|
"type": "divider"
|
|
199
197
|
},
|
|
200
198
|
{
|
|
201
|
-
"type": "data-grid",
|
|
202
199
|
"entity": "@payload.data",
|
|
200
|
+
"type": "data-grid",
|
|
203
201
|
"fields": [
|
|
204
202
|
{
|
|
205
|
-
"variant": "h4",
|
|
206
|
-
"icon": "list",
|
|
207
203
|
"label": "Name",
|
|
208
|
-
"name": "name"
|
|
204
|
+
"name": "name",
|
|
205
|
+
"icon": "list",
|
|
206
|
+
"variant": "h4"
|
|
209
207
|
},
|
|
210
208
|
{
|
|
209
|
+
"name": "description",
|
|
210
|
+
"variant": "badge",
|
|
211
211
|
"colorMap": {
|
|
212
212
|
"disabled": "neutral",
|
|
213
|
-
"active": "success",
|
|
214
|
-
"failed": "destructive",
|
|
215
|
-
"done": "success",
|
|
216
|
-
"completed": "success",
|
|
217
|
-
"error": "destructive",
|
|
218
213
|
"scheduled": "warning",
|
|
219
|
-
"
|
|
220
|
-
"
|
|
214
|
+
"completed": "success",
|
|
215
|
+
"active": "success",
|
|
221
216
|
"draft": "warning",
|
|
217
|
+
"archived": "neutral",
|
|
218
|
+
"inactive": "neutral",
|
|
222
219
|
"pending": "warning",
|
|
223
|
-
"
|
|
220
|
+
"error": "destructive",
|
|
221
|
+
"done": "success",
|
|
222
|
+
"cancelled": "destructive",
|
|
223
|
+
"failed": "destructive"
|
|
224
224
|
},
|
|
225
|
-
"
|
|
226
|
-
"label": "Description",
|
|
227
|
-
"variant": "badge"
|
|
225
|
+
"label": "Description"
|
|
228
226
|
},
|
|
229
227
|
{
|
|
230
228
|
"label": "Status",
|
|
@@ -239,6 +237,8 @@
|
|
|
239
237
|
"action": "INIT"
|
|
240
238
|
}
|
|
241
239
|
],
|
|
240
|
+
"type": "stack",
|
|
241
|
+
"gap": "lg",
|
|
242
242
|
"className": "max-w-5xl mx-auto w-full"
|
|
243
243
|
}
|
|
244
244
|
]
|
|
@@ -255,34 +255,34 @@
|
|
|
255
255
|
{
|
|
256
256
|
"children": [
|
|
257
257
|
{
|
|
258
|
-
"name": "alert-triangle",
|
|
259
258
|
"color": "destructive",
|
|
260
|
-
"type": "icon"
|
|
259
|
+
"type": "icon",
|
|
260
|
+
"name": "alert-triangle"
|
|
261
261
|
},
|
|
262
262
|
{
|
|
263
263
|
"type": "typography",
|
|
264
|
-
"
|
|
265
|
-
"
|
|
264
|
+
"variant": "h3",
|
|
265
|
+
"content": "Failed to load BrowseItems"
|
|
266
266
|
},
|
|
267
267
|
{
|
|
268
268
|
"variant": "body",
|
|
269
|
+
"content": "@payload.error",
|
|
269
270
|
"type": "typography",
|
|
270
|
-
"color": "muted"
|
|
271
|
-
"content": "@payload.error"
|
|
271
|
+
"color": "muted"
|
|
272
272
|
},
|
|
273
273
|
{
|
|
274
|
-
"
|
|
274
|
+
"type": "button",
|
|
275
275
|
"label": "Retry",
|
|
276
|
+
"action": "INIT",
|
|
276
277
|
"icon": "rotate-ccw",
|
|
277
|
-
"
|
|
278
|
-
"action": "INIT"
|
|
278
|
+
"variant": "primary"
|
|
279
279
|
}
|
|
280
280
|
],
|
|
281
281
|
"type": "stack",
|
|
282
282
|
"gap": "md",
|
|
283
283
|
"align": "center",
|
|
284
|
-
"
|
|
285
|
-
"
|
|
284
|
+
"direction": "vertical",
|
|
285
|
+
"className": "max-w-5xl mx-auto w-full py-12"
|
|
286
286
|
}
|
|
287
287
|
]
|
|
288
288
|
]
|
|
@@ -306,22 +306,22 @@
|
|
|
306
306
|
"render-ui",
|
|
307
307
|
"main",
|
|
308
308
|
{
|
|
309
|
+
"className": "max-w-5xl mx-auto w-full py-12",
|
|
310
|
+
"direction": "vertical",
|
|
311
|
+
"gap": "lg",
|
|
312
|
+
"align": "center",
|
|
309
313
|
"children": [
|
|
310
314
|
{
|
|
311
315
|
"type": "spinner"
|
|
312
316
|
},
|
|
313
317
|
{
|
|
314
|
-
"type": "typography",
|
|
315
318
|
"variant": "caption",
|
|
316
319
|
"color": "muted",
|
|
320
|
+
"type": "typography",
|
|
317
321
|
"content": "Refreshing…"
|
|
318
322
|
}
|
|
319
323
|
],
|
|
320
|
-
"
|
|
321
|
-
"type": "stack",
|
|
322
|
-
"gap": "lg",
|
|
323
|
-
"direction": "vertical",
|
|
324
|
-
"align": "center"
|
|
324
|
+
"type": "stack"
|
|
325
325
|
}
|
|
326
326
|
]
|
|
327
327
|
]
|
|
@@ -336,8 +336,8 @@
|
|
|
336
336
|
"BrowseItem",
|
|
337
337
|
{
|
|
338
338
|
"emit": {
|
|
339
|
-
"
|
|
340
|
-
"
|
|
339
|
+
"success": "BrowseItemLoaded",
|
|
340
|
+
"failure": "BrowseItemLoadFailed"
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
],
|
|
@@ -345,22 +345,22 @@
|
|
|
345
345
|
"render-ui",
|
|
346
346
|
"main",
|
|
347
347
|
{
|
|
348
|
-
"type": "stack",
|
|
349
348
|
"direction": "vertical",
|
|
350
|
-
"
|
|
349
|
+
"className": "max-w-5xl mx-auto w-full py-12",
|
|
350
|
+
"type": "stack",
|
|
351
351
|
"children": [
|
|
352
352
|
{
|
|
353
353
|
"type": "spinner"
|
|
354
354
|
},
|
|
355
355
|
{
|
|
356
|
+
"color": "muted",
|
|
356
357
|
"content": "Retrying…",
|
|
357
358
|
"variant": "caption",
|
|
358
|
-
"type": "typography"
|
|
359
|
-
"color": "muted"
|
|
359
|
+
"type": "typography"
|
|
360
360
|
}
|
|
361
361
|
],
|
|
362
362
|
"gap": "lg",
|
|
363
|
-
"
|
|
363
|
+
"align": "center"
|
|
364
364
|
}
|
|
365
365
|
]
|
|
366
366
|
]
|
|
@@ -213,14 +213,17 @@
|
|
|
213
213
|
"render-ui",
|
|
214
214
|
"main",
|
|
215
215
|
{
|
|
216
|
-
"gap": "lg",
|
|
217
|
-
"type": "stack",
|
|
218
216
|
"direction": "vertical",
|
|
217
|
+
"type": "stack",
|
|
218
|
+
"gap": "lg",
|
|
219
219
|
"children": [
|
|
220
220
|
{
|
|
221
|
-
"
|
|
221
|
+
"direction": "horizontal",
|
|
222
|
+
"gap": "md",
|
|
222
223
|
"children": [
|
|
223
224
|
{
|
|
225
|
+
"type": "stack",
|
|
226
|
+
"direction": "horizontal",
|
|
224
227
|
"children": [
|
|
225
228
|
{
|
|
226
229
|
"name": "database",
|
|
@@ -232,29 +235,26 @@
|
|
|
232
235
|
"content": "Cache (empty)"
|
|
233
236
|
}
|
|
234
237
|
],
|
|
235
|
-
"type": "stack",
|
|
236
|
-
"direction": "horizontal",
|
|
237
238
|
"gap": "md"
|
|
238
239
|
},
|
|
239
240
|
{
|
|
240
|
-
"label": "Fetch",
|
|
241
|
-
"variant": "primary",
|
|
242
|
-
"icon": "download",
|
|
243
241
|
"action": "FETCH",
|
|
244
|
-
"type": "button"
|
|
242
|
+
"type": "button",
|
|
243
|
+
"icon": "download",
|
|
244
|
+
"variant": "primary",
|
|
245
|
+
"label": "Fetch"
|
|
245
246
|
}
|
|
246
247
|
],
|
|
247
|
-
"
|
|
248
|
-
"direction": "horizontal",
|
|
248
|
+
"type": "stack",
|
|
249
249
|
"justify": "between"
|
|
250
250
|
},
|
|
251
251
|
{
|
|
252
252
|
"type": "divider"
|
|
253
253
|
},
|
|
254
254
|
{
|
|
255
|
+
"title": "Cache is empty",
|
|
255
256
|
"type": "empty-state",
|
|
256
257
|
"icon": "inbox",
|
|
257
|
-
"title": "Cache is empty",
|
|
258
258
|
"description": "Fetch data to populate the cache."
|
|
259
259
|
}
|
|
260
260
|
]
|
|
@@ -281,20 +281,20 @@
|
|
|
281
281
|
"render-ui",
|
|
282
282
|
"main",
|
|
283
283
|
{
|
|
284
|
-
"className": "py-12",
|
|
285
|
-
"align": "center",
|
|
286
|
-
"direction": "vertical",
|
|
287
284
|
"children": [
|
|
288
285
|
{
|
|
289
286
|
"type": "spinner"
|
|
290
287
|
},
|
|
291
288
|
{
|
|
289
|
+
"content": "Fetching cache…",
|
|
292
290
|
"type": "typography",
|
|
293
291
|
"variant": "caption",
|
|
294
|
-
"color": "muted"
|
|
295
|
-
"content": "Fetching cache…"
|
|
292
|
+
"color": "muted"
|
|
296
293
|
}
|
|
297
294
|
],
|
|
295
|
+
"direction": "vertical",
|
|
296
|
+
"className": "py-12",
|
|
297
|
+
"align": "center",
|
|
298
298
|
"gap": "md",
|
|
299
299
|
"type": "stack"
|
|
300
300
|
}
|
|
@@ -310,21 +310,20 @@
|
|
|
310
310
|
"render-ui",
|
|
311
311
|
"main",
|
|
312
312
|
{
|
|
313
|
+
"type": "stack",
|
|
314
|
+
"gap": "lg",
|
|
313
315
|
"direction": "vertical",
|
|
314
316
|
"children": [
|
|
315
317
|
{
|
|
316
|
-
"type": "stack",
|
|
317
318
|
"justify": "between",
|
|
318
|
-
"
|
|
319
|
-
"direction": "horizontal",
|
|
319
|
+
"type": "stack",
|
|
320
320
|
"children": [
|
|
321
321
|
{
|
|
322
|
-
"
|
|
323
|
-
"gap": "md",
|
|
322
|
+
"direction": "horizontal",
|
|
324
323
|
"children": [
|
|
325
324
|
{
|
|
326
|
-
"
|
|
327
|
-
"
|
|
325
|
+
"name": "database",
|
|
326
|
+
"type": "icon"
|
|
328
327
|
},
|
|
329
328
|
{
|
|
330
329
|
"variant": "h2",
|
|
@@ -332,49 +331,55 @@
|
|
|
332
331
|
"content": "Cache (hot)"
|
|
333
332
|
}
|
|
334
333
|
],
|
|
335
|
-
"
|
|
334
|
+
"gap": "md",
|
|
335
|
+
"type": "stack"
|
|
336
336
|
},
|
|
337
337
|
{
|
|
338
338
|
"type": "stack",
|
|
339
|
-
"direction": "horizontal",
|
|
340
339
|
"gap": "sm",
|
|
341
340
|
"align": "center",
|
|
341
|
+
"direction": "horizontal",
|
|
342
342
|
"children": [
|
|
343
343
|
{
|
|
344
|
-
"label": "Cached",
|
|
345
|
-
"status": "online",
|
|
346
344
|
"pulse": false,
|
|
347
|
-
"type": "status-dot"
|
|
345
|
+
"type": "status-dot",
|
|
346
|
+
"status": "online",
|
|
347
|
+
"label": "Cached"
|
|
348
348
|
},
|
|
349
349
|
{
|
|
350
|
-
"
|
|
350
|
+
"action": "INVALIDATE",
|
|
351
351
|
"icon": "trash",
|
|
352
352
|
"type": "button",
|
|
353
353
|
"variant": "ghost",
|
|
354
|
-
"
|
|
354
|
+
"label": "Invalidate"
|
|
355
355
|
}
|
|
356
356
|
]
|
|
357
357
|
}
|
|
358
|
-
]
|
|
358
|
+
],
|
|
359
|
+
"gap": "md",
|
|
360
|
+
"direction": "horizontal"
|
|
359
361
|
},
|
|
360
362
|
{
|
|
361
363
|
"type": "divider"
|
|
362
364
|
},
|
|
363
365
|
{
|
|
366
|
+
"type": "data-grid",
|
|
367
|
+
"fields": [],
|
|
364
368
|
"entity": "@payload.data",
|
|
365
369
|
"renderItem": [
|
|
366
370
|
"fn",
|
|
367
371
|
"item",
|
|
368
372
|
{
|
|
369
373
|
"type": "stack",
|
|
370
|
-
"
|
|
374
|
+
"direction": "vertical",
|
|
371
375
|
"children": [
|
|
372
376
|
{
|
|
373
|
-
"
|
|
374
|
-
"type": "stack",
|
|
375
|
-
"direction": "horizontal",
|
|
377
|
+
"align": "center",
|
|
376
378
|
"children": [
|
|
377
379
|
{
|
|
380
|
+
"type": "stack",
|
|
381
|
+
"align": "center",
|
|
382
|
+
"direction": "horizontal",
|
|
378
383
|
"children": [
|
|
379
384
|
{
|
|
380
385
|
"name": "database",
|
|
@@ -386,33 +391,28 @@
|
|
|
386
391
|
"variant": "h4"
|
|
387
392
|
}
|
|
388
393
|
],
|
|
389
|
-
"gap": "sm"
|
|
390
|
-
"align": "center",
|
|
391
|
-
"type": "stack",
|
|
392
|
-
"direction": "horizontal"
|
|
394
|
+
"gap": "sm"
|
|
393
395
|
},
|
|
394
396
|
{
|
|
395
|
-
"
|
|
396
|
-
"
|
|
397
|
+
"label": "@item.description",
|
|
398
|
+
"type": "badge"
|
|
397
399
|
}
|
|
398
400
|
],
|
|
399
|
-
"
|
|
401
|
+
"justify": "between",
|
|
402
|
+
"direction": "horizontal",
|
|
403
|
+
"type": "stack"
|
|
400
404
|
},
|
|
401
405
|
{
|
|
402
|
-
"content": "@item.status",
|
|
403
406
|
"variant": "caption",
|
|
404
|
-
"type": "typography"
|
|
407
|
+
"type": "typography",
|
|
408
|
+
"content": "@item.status"
|
|
405
409
|
}
|
|
406
410
|
],
|
|
407
|
-
"
|
|
411
|
+
"gap": "sm"
|
|
408
412
|
}
|
|
409
|
-
]
|
|
410
|
-
"type": "data-grid",
|
|
411
|
-
"fields": []
|
|
413
|
+
]
|
|
412
414
|
}
|
|
413
|
-
]
|
|
414
|
-
"type": "stack",
|
|
415
|
-
"gap": "lg"
|
|
415
|
+
]
|
|
416
416
|
}
|
|
417
417
|
]
|
|
418
418
|
]
|
|
@@ -426,36 +426,36 @@
|
|
|
426
426
|
"render-ui",
|
|
427
427
|
"main",
|
|
428
428
|
{
|
|
429
|
-
"
|
|
429
|
+
"className": "py-12",
|
|
430
430
|
"gap": "md",
|
|
431
|
+
"direction": "vertical",
|
|
432
|
+
"align": "center",
|
|
431
433
|
"type": "stack",
|
|
432
434
|
"children": [
|
|
433
435
|
{
|
|
436
|
+
"type": "icon",
|
|
434
437
|
"name": "alert-triangle",
|
|
435
|
-
"color": "destructive"
|
|
436
|
-
"type": "icon"
|
|
438
|
+
"color": "destructive"
|
|
437
439
|
},
|
|
438
440
|
{
|
|
439
|
-
"type": "typography",
|
|
440
441
|
"variant": "h3",
|
|
441
|
-
"content": "Failed to load"
|
|
442
|
+
"content": "Failed to load",
|
|
443
|
+
"type": "typography"
|
|
442
444
|
},
|
|
443
445
|
{
|
|
444
|
-
"variant": "body",
|
|
445
|
-
"content": "@payload.error",
|
|
446
446
|
"type": "typography",
|
|
447
|
-
"color": "muted"
|
|
447
|
+
"color": "muted",
|
|
448
|
+
"variant": "body",
|
|
449
|
+
"content": "@payload.error"
|
|
448
450
|
},
|
|
449
451
|
{
|
|
450
|
-
"variant": "primary",
|
|
451
|
-
"type": "button",
|
|
452
452
|
"label": "Retry",
|
|
453
|
+
"variant": "primary",
|
|
453
454
|
"icon": "rotate-ccw",
|
|
454
|
-
"action": "FETCH"
|
|
455
|
+
"action": "FETCH",
|
|
456
|
+
"type": "button"
|
|
455
457
|
}
|
|
456
|
-
]
|
|
457
|
-
"direction": "vertical",
|
|
458
|
-
"className": "py-12"
|
|
458
|
+
]
|
|
459
459
|
}
|
|
460
460
|
]
|
|
461
461
|
]
|
|
@@ -469,64 +469,64 @@
|
|
|
469
469
|
"render-ui",
|
|
470
470
|
"main",
|
|
471
471
|
{
|
|
472
|
-
"
|
|
472
|
+
"type": "stack",
|
|
473
|
+
"direction": "vertical",
|
|
473
474
|
"children": [
|
|
474
475
|
{
|
|
475
476
|
"gap": "md",
|
|
477
|
+
"justify": "between",
|
|
476
478
|
"direction": "horizontal",
|
|
477
|
-
"type": "stack",
|
|
478
479
|
"children": [
|
|
479
480
|
{
|
|
481
|
+
"type": "stack",
|
|
480
482
|
"direction": "horizontal",
|
|
483
|
+
"gap": "md",
|
|
481
484
|
"children": [
|
|
482
485
|
{
|
|
483
|
-
"
|
|
484
|
-
"
|
|
486
|
+
"type": "icon",
|
|
487
|
+
"name": "database"
|
|
485
488
|
},
|
|
486
489
|
{
|
|
487
|
-
"
|
|
490
|
+
"content": "Cache (stale)",
|
|
488
491
|
"variant": "h2",
|
|
489
|
-
"
|
|
492
|
+
"type": "typography"
|
|
490
493
|
}
|
|
491
|
-
]
|
|
492
|
-
"type": "stack",
|
|
493
|
-
"gap": "md"
|
|
494
|
+
]
|
|
494
495
|
},
|
|
495
496
|
{
|
|
496
|
-
"type": "stack",
|
|
497
497
|
"gap": "sm",
|
|
498
|
-
"
|
|
498
|
+
"direction": "horizontal",
|
|
499
|
+
"type": "stack",
|
|
499
500
|
"children": [
|
|
500
501
|
{
|
|
501
|
-
"label": "Stale",
|
|
502
|
-
"status": "warning",
|
|
503
502
|
"type": "status-dot",
|
|
504
|
-
"pulse": true
|
|
503
|
+
"pulse": true,
|
|
504
|
+
"status": "warning",
|
|
505
|
+
"label": "Stale"
|
|
505
506
|
},
|
|
506
507
|
{
|
|
507
|
-
"icon": "refresh-cw",
|
|
508
508
|
"type": "button",
|
|
509
|
-
"label": "Refresh",
|
|
510
509
|
"action": "REFRESH",
|
|
511
|
-
"variant": "primary"
|
|
510
|
+
"variant": "primary",
|
|
511
|
+
"icon": "refresh-cw",
|
|
512
|
+
"label": "Refresh"
|
|
512
513
|
}
|
|
513
514
|
],
|
|
514
|
-
"
|
|
515
|
+
"align": "center"
|
|
515
516
|
}
|
|
516
517
|
],
|
|
517
|
-
"
|
|
518
|
+
"type": "stack"
|
|
518
519
|
},
|
|
519
520
|
{
|
|
520
521
|
"type": "divider"
|
|
521
522
|
},
|
|
522
523
|
{
|
|
523
|
-
"
|
|
524
|
+
"variant": "warning",
|
|
524
525
|
"type": "alert",
|
|
525
|
-
"
|
|
526
|
+
"message": "Cache data is stale. Refresh to get the latest data."
|
|
526
527
|
}
|
|
527
528
|
],
|
|
528
|
-
"
|
|
529
|
-
"type": "stack"
|
|
529
|
+
"gap": "lg"
|
|
530
530
|
}
|
|
531
531
|
]
|
|
532
532
|
]
|
|
@@ -543,8 +543,8 @@
|
|
|
543
543
|
"@payload.data",
|
|
544
544
|
{
|
|
545
545
|
"emit": {
|
|
546
|
-
"
|
|
547
|
-
"
|
|
546
|
+
"success": "CacheEntryUpdated",
|
|
547
|
+
"failure": "CacheEntryUpdateFailed"
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
550
|
],
|
|
@@ -626,8 +626,8 @@
|
|
|
626
626
|
{
|
|
627
627
|
"type": "empty-state",
|
|
628
628
|
"title": "Cache is empty",
|
|
629
|
-
"
|
|
630
|
-
"
|
|
629
|
+
"icon": "inbox",
|
|
630
|
+
"description": "Fetch data to populate the cache."
|
|
631
631
|
}
|
|
632
632
|
]
|
|
633
633
|
]
|
|
@@ -642,8 +642,8 @@
|
|
|
642
642
|
"CacheEntry",
|
|
643
643
|
{
|
|
644
644
|
"emit": {
|
|
645
|
-
"
|
|
646
|
-
"
|
|
645
|
+
"failure": "CacheEntryLoadFailed",
|
|
646
|
+
"success": "CacheEntryLoaded"
|
|
647
647
|
}
|
|
648
648
|
}
|
|
649
649
|
],
|