@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.
- package/behaviors/registry/agent/atoms/std-agent-activity-log.orb +69 -69
- package/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +120 -120
- package/behaviors/registry/agent/atoms/std-agent-classifier.orb +114 -114
- package/behaviors/registry/agent/atoms/std-agent-completion.orb +124 -114
- package/behaviors/registry/agent/atoms/std-agent-context-window.orb +410 -395
- package/behaviors/registry/agent/atoms/std-agent-conversation.orb +93 -93
- package/behaviors/registry/agent/atoms/std-agent-memory.orb +67 -117
- package/behaviors/registry/agent/atoms/std-agent-provider.orb +149 -134
- package/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
- package/behaviors/registry/agent/atoms/std-agent-session.orb +106 -106
- package/behaviors/registry/agent/atoms/std-agent-step-progress.orb +194 -189
- package/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +360 -355
- package/behaviors/registry/agent/atoms/std-agent-tool-call.orb +69 -69
- package/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +204 -199
- package/behaviors/registry/agent/molecules/std-agent-learner.orb +174 -174
- package/behaviors/registry/agent/molecules/std-agent-planner.orb +125 -125
- package/behaviors/registry/agent/molecules/std-agent-rag.orb +127 -109
- package/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +190 -185
- package/behaviors/registry/agent/organisms/std-agent-assistant.orb +1209 -1155
- package/behaviors/registry/agent/organisms/std-agent-builder.orb +3021 -3001
- package/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2184 -2249
- package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1029 -1050
- package/behaviors/registry/agent/organisms/std-agent-tutor.orb +842 -804
- package/behaviors/registry/app/organisms/std-cms.orb +547 -547
- package/behaviors/registry/core/atoms/std-browse.orb +36 -36
- package/behaviors/registry/core/atoms/std-cache-aside.orb +111 -111
- package/behaviors/registry/core/atoms/std-calendar.orb +56 -51
- package/behaviors/registry/core/atoms/std-circuit-breaker.orb +202 -187
- package/behaviors/registry/core/atoms/std-confirmation.orb +24 -27
- package/behaviors/registry/core/atoms/std-display.orb +2 -2
- package/behaviors/registry/core/atoms/std-drawer.orb +58 -58
- package/behaviors/registry/core/atoms/std-filter.orb +6 -9
- package/behaviors/registry/core/atoms/std-gallery.orb +46 -46
- package/behaviors/registry/core/atoms/std-graphs.orb +24 -24
- package/behaviors/registry/core/atoms/std-modal.orb +19 -19
- package/behaviors/registry/core/atoms/std-pagination.orb +14 -14
- package/behaviors/registry/core/atoms/std-push.orb +48 -90
- package/behaviors/registry/core/atoms/std-rate-limiter.orb +205 -190
- package/behaviors/registry/core/atoms/std-related.orb +31 -31
- package/behaviors/registry/core/atoms/std-search.orb +3 -3
- package/behaviors/registry/core/atoms/std-selection.orb +102 -102
- package/behaviors/registry/core/atoms/std-stats.orb +64 -64
- package/behaviors/registry/core/atoms/std-tabs.orb +18 -18
- package/behaviors/registry/core/molecules/std-cart.orb +64 -64
- package/behaviors/registry/core/molecules/std-dashboard.orb +46 -46
- package/behaviors/registry/core/molecules/std-filtered-list.orb +21 -21
- package/behaviors/registry/core/molecules/std-form-advanced.orb +172 -127
- package/behaviors/registry/core/molecules/std-list.orb +63 -63
- package/behaviors/registry/core/molecules/std-wizard-form.orb +145 -130
- package/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
- package/behaviors/registry/game/atoms/std-game-canvas2d.orb +42 -42
- package/behaviors/registry/game/atoms/std-overworld.orb +57 -57
- package/behaviors/registry/game/atoms/std-physics2d.orb +74 -74
- package/behaviors/registry/game/atoms/std-quest.orb +137 -137
- package/behaviors/registry/game/atoms/std-timer.orb +291 -291
- package/behaviors/registry/probes/molecules/std-source-scope-probe.orb +31 -31
- package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +93 -78
- package/behaviors/registry/service/atoms/std-service-email.orb +91 -76
- package/behaviors/registry/service/atoms/std-service-github.orb +103 -83
- package/behaviors/registry/service/atoms/std-service-llm.orb +117 -112
- package/behaviors/registry/service/atoms/std-service-oauth.orb +131 -126
- package/behaviors/registry/service/atoms/std-service-redis.orb +123 -108
- package/behaviors/registry/service/atoms/std-service-storage.orb +125 -105
- package/behaviors/registry/service/atoms/std-service-stripe.orb +113 -103
- package/behaviors/registry/service/atoms/std-service-twilio.orb +102 -92
- package/behaviors/registry/service/atoms/std-service-youtube.orb +119 -114
- package/behaviors/registry/service/organisms/std-service-marketplace.orb +985 -873
- package/behaviors/registry/service/organisms/std-service-research-assistant.orb +1027 -972
- package/dist/behaviors/behaviors-registry.json +2913 -322
- package/dist/behaviors/registry/agent/atoms/std-agent-activity-log.orb +69 -69
- package/dist/behaviors/registry/agent/atoms/std-agent-chat-thread.orb +120 -120
- package/dist/behaviors/registry/agent/atoms/std-agent-classifier.orb +114 -114
- package/dist/behaviors/registry/agent/atoms/std-agent-completion.orb +124 -114
- package/dist/behaviors/registry/agent/atoms/std-agent-context-window.orb +410 -395
- package/dist/behaviors/registry/agent/atoms/std-agent-conversation.orb +93 -93
- package/dist/behaviors/registry/agent/atoms/std-agent-memory.orb +67 -117
- package/dist/behaviors/registry/agent/atoms/std-agent-provider.orb +149 -134
- package/dist/behaviors/registry/agent/atoms/std-agent-search.orb +64 -64
- package/dist/behaviors/registry/agent/atoms/std-agent-session.orb +106 -106
- package/dist/behaviors/registry/agent/atoms/std-agent-step-progress.orb +194 -189
- package/dist/behaviors/registry/agent/atoms/std-agent-token-gauge.orb +360 -355
- package/dist/behaviors/registry/agent/atoms/std-agent-tool-call.orb +69 -69
- package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +204 -199
- package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +174 -174
- package/dist/behaviors/registry/agent/molecules/std-agent-planner.orb +125 -125
- package/dist/behaviors/registry/agent/molecules/std-agent-rag.orb +127 -109
- package/dist/behaviors/registry/agent/molecules/std-agent-tool-loop.orb +190 -185
- package/dist/behaviors/registry/agent/organisms/std-agent-assistant.orb +1209 -1155
- package/dist/behaviors/registry/agent/organisms/std-agent-builder.orb +3021 -3001
- package/dist/behaviors/registry/agent/organisms/std-agent-pipeline.orb +2184 -2249
- package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +1029 -1050
- package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +842 -804
- package/dist/behaviors/registry/app/organisms/std-cms.orb +547 -547
- package/dist/behaviors/registry/core/atoms/std-browse.orb +36 -36
- package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +111 -111
- package/dist/behaviors/registry/core/atoms/std-calendar.orb +56 -51
- package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +202 -187
- package/dist/behaviors/registry/core/atoms/std-confirmation.orb +24 -27
- package/dist/behaviors/registry/core/atoms/std-display.orb +2 -2
- package/dist/behaviors/registry/core/atoms/std-drawer.orb +58 -58
- package/dist/behaviors/registry/core/atoms/std-filter.orb +6 -9
- package/dist/behaviors/registry/core/atoms/std-gallery.orb +46 -46
- package/dist/behaviors/registry/core/atoms/std-graphs.orb +24 -24
- package/dist/behaviors/registry/core/atoms/std-modal.orb +19 -19
- package/dist/behaviors/registry/core/atoms/std-pagination.orb +14 -14
- package/dist/behaviors/registry/core/atoms/std-push.orb +48 -90
- package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +205 -190
- package/dist/behaviors/registry/core/atoms/std-related.orb +31 -31
- package/dist/behaviors/registry/core/atoms/std-search.orb +3 -3
- package/dist/behaviors/registry/core/atoms/std-selection.orb +102 -102
- package/dist/behaviors/registry/core/atoms/std-stats.orb +64 -64
- package/dist/behaviors/registry/core/atoms/std-tabs.orb +18 -18
- package/dist/behaviors/registry/core/molecules/std-cart.orb +64 -64
- package/dist/behaviors/registry/core/molecules/std-dashboard.orb +46 -46
- package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +21 -21
- package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +172 -127
- package/dist/behaviors/registry/core/molecules/std-list.orb +63 -63
- package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +145 -130
- package/dist/behaviors/registry/game/atoms/std-dialogue-box.orb +25 -25
- package/dist/behaviors/registry/game/atoms/std-game-canvas2d.orb +42 -42
- package/dist/behaviors/registry/game/atoms/std-overworld.orb +57 -57
- package/dist/behaviors/registry/game/atoms/std-physics2d.orb +74 -74
- package/dist/behaviors/registry/game/atoms/std-quest.orb +137 -137
- package/dist/behaviors/registry/game/atoms/std-timer.orb +291 -291
- package/dist/behaviors/registry/probes/molecules/std-source-scope-probe.orb +31 -31
- package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +93 -78
- package/dist/behaviors/registry/service/atoms/std-service-email.orb +91 -76
- package/dist/behaviors/registry/service/atoms/std-service-github.orb +103 -83
- package/dist/behaviors/registry/service/atoms/std-service-llm.orb +117 -112
- package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +131 -126
- package/dist/behaviors/registry/service/atoms/std-service-redis.orb +123 -108
- package/dist/behaviors/registry/service/atoms/std-service-storage.orb +125 -105
- package/dist/behaviors/registry/service/atoms/std-service-stripe.orb +113 -103
- package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +102 -92
- package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +119 -114
- package/dist/behaviors/registry/service/organisms/std-service-marketplace.orb +985 -873
- package/dist/behaviors/registry/service/organisms/std-service-research-assistant.orb +1027 -972
- package/dist/behaviors-registry.json +2913 -322
- package/package.json +1 -1
|
@@ -171,12 +171,12 @@
|
|
|
171
171
|
"fetch",
|
|
172
172
|
"BrowseItem",
|
|
173
173
|
{
|
|
174
|
-
"offset": 0.0,
|
|
175
|
-
"limit": "@config.pageSize",
|
|
176
174
|
"emit": {
|
|
177
|
-
"
|
|
178
|
-
"
|
|
179
|
-
}
|
|
175
|
+
"success": "BrowseItemLoaded",
|
|
176
|
+
"failure": "BrowseItemLoadFailed"
|
|
177
|
+
},
|
|
178
|
+
"offset": 0.0,
|
|
179
|
+
"limit": "@config.pageSize"
|
|
180
180
|
}
|
|
181
181
|
],
|
|
182
182
|
[
|
|
@@ -198,16 +198,16 @@
|
|
|
198
198
|
"render-ui",
|
|
199
199
|
"main",
|
|
200
200
|
{
|
|
201
|
-
"
|
|
201
|
+
"direction": "vertical",
|
|
202
202
|
"children": [
|
|
203
203
|
{
|
|
204
|
+
"entity": "@payload.data",
|
|
204
205
|
"fields": "@config.fields",
|
|
205
|
-
"pageSize": "@config.displayPageSize",
|
|
206
206
|
"type": "data-grid",
|
|
207
|
-
"
|
|
207
|
+
"pageSize": "@config.displayPageSize"
|
|
208
208
|
}
|
|
209
209
|
],
|
|
210
|
-
"
|
|
210
|
+
"type": "stack"
|
|
211
211
|
}
|
|
212
212
|
]
|
|
213
213
|
]
|
|
@@ -221,10 +221,10 @@
|
|
|
221
221
|
"render-ui",
|
|
222
222
|
"main",
|
|
223
223
|
{
|
|
224
|
-
"
|
|
224
|
+
"type": "typography",
|
|
225
225
|
"color": "error",
|
|
226
|
-
"
|
|
227
|
-
"
|
|
226
|
+
"variant": "caption",
|
|
227
|
+
"content": "@payload.error"
|
|
228
228
|
}
|
|
229
229
|
]
|
|
230
230
|
]
|
|
@@ -241,8 +241,8 @@
|
|
|
241
241
|
"limit": "@config.pageSize",
|
|
242
242
|
"offset": 0.0,
|
|
243
243
|
"emit": {
|
|
244
|
-
"
|
|
245
|
-
"
|
|
244
|
+
"failure": "BrowseItemLoadFailed",
|
|
245
|
+
"success": "BrowseItemLoaded"
|
|
246
246
|
}
|
|
247
247
|
}
|
|
248
248
|
],
|
|
@@ -265,12 +265,12 @@
|
|
|
265
265
|
"fetch",
|
|
266
266
|
"BrowseItem",
|
|
267
267
|
{
|
|
268
|
+
"limit": "@config.pageSize",
|
|
268
269
|
"offset": 0.0,
|
|
269
270
|
"emit": {
|
|
270
271
|
"failure": "BrowseItemLoadFailed",
|
|
271
272
|
"success": "BrowseItemLoaded"
|
|
272
273
|
},
|
|
273
|
-
"limit": "@config.pageSize",
|
|
274
274
|
"filter": [
|
|
275
275
|
"or",
|
|
276
276
|
[
|
|
@@ -301,12 +301,6 @@
|
|
|
301
301
|
"fetch",
|
|
302
302
|
"BrowseItem",
|
|
303
303
|
{
|
|
304
|
-
"offset": 0.0,
|
|
305
|
-
"limit": "@config.pageSize",
|
|
306
|
-
"emit": {
|
|
307
|
-
"success": "BrowseItemLoaded",
|
|
308
|
-
"failure": "BrowseItemLoadFailed"
|
|
309
|
-
},
|
|
310
304
|
"filter": [
|
|
311
305
|
"or",
|
|
312
306
|
[
|
|
@@ -323,7 +317,13 @@
|
|
|
323
317
|
],
|
|
324
318
|
"@payload.value"
|
|
325
319
|
]
|
|
326
|
-
]
|
|
320
|
+
],
|
|
321
|
+
"emit": {
|
|
322
|
+
"success": "BrowseItemLoaded",
|
|
323
|
+
"failure": "BrowseItemLoadFailed"
|
|
324
|
+
},
|
|
325
|
+
"limit": "@config.pageSize",
|
|
326
|
+
"offset": 0.0
|
|
327
327
|
}
|
|
328
328
|
]
|
|
329
329
|
]
|
|
@@ -337,6 +337,11 @@
|
|
|
337
337
|
"fetch",
|
|
338
338
|
"BrowseItem",
|
|
339
339
|
{
|
|
340
|
+
"emit": {
|
|
341
|
+
"failure": "BrowseItemLoadFailed",
|
|
342
|
+
"success": "BrowseItemLoaded"
|
|
343
|
+
},
|
|
344
|
+
"limit": "@config.pageSize",
|
|
340
345
|
"offset": [
|
|
341
346
|
"*",
|
|
342
347
|
[
|
|
@@ -345,12 +350,7 @@
|
|
|
345
350
|
1.0
|
|
346
351
|
],
|
|
347
352
|
"@config.pageSize"
|
|
348
|
-
]
|
|
349
|
-
"emit": {
|
|
350
|
-
"success": "BrowseItemLoaded",
|
|
351
|
-
"failure": "BrowseItemLoadFailed"
|
|
352
|
-
},
|
|
353
|
-
"limit": "@config.pageSize"
|
|
353
|
+
]
|
|
354
354
|
}
|
|
355
355
|
]
|
|
356
356
|
]
|
|
@@ -364,7 +364,6 @@
|
|
|
364
364
|
"render-ui",
|
|
365
365
|
"main",
|
|
366
366
|
{
|
|
367
|
-
"type": "stack",
|
|
368
367
|
"direction": "vertical",
|
|
369
368
|
"children": [
|
|
370
369
|
{
|
|
@@ -373,7 +372,8 @@
|
|
|
373
372
|
"fields": "@config.fields",
|
|
374
373
|
"pageSize": "@config.displayPageSize"
|
|
375
374
|
}
|
|
376
|
-
]
|
|
375
|
+
],
|
|
376
|
+
"type": "stack"
|
|
377
377
|
}
|
|
378
378
|
]
|
|
379
379
|
]
|
|
@@ -387,20 +387,20 @@
|
|
|
387
387
|
"fetch",
|
|
388
388
|
"BrowseItem",
|
|
389
389
|
{
|
|
390
|
-
"
|
|
390
|
+
"limit": "@config.pageSize",
|
|
391
391
|
"emit": {
|
|
392
|
-
"
|
|
393
|
-
"
|
|
392
|
+
"success": "BrowseItemLoaded",
|
|
393
|
+
"failure": "BrowseItemLoadFailed"
|
|
394
394
|
},
|
|
395
|
-
"
|
|
395
|
+
"offset": 0.0
|
|
396
396
|
}
|
|
397
397
|
],
|
|
398
398
|
[
|
|
399
399
|
"render-ui",
|
|
400
400
|
"main",
|
|
401
401
|
{
|
|
402
|
-
"
|
|
403
|
-
"
|
|
402
|
+
"type": "spinner",
|
|
403
|
+
"size": "sm"
|
|
404
404
|
}
|
|
405
405
|
]
|
|
406
406
|
]
|
|
@@ -213,7 +213,8 @@
|
|
|
213
213
|
"render-ui",
|
|
214
214
|
"main",
|
|
215
215
|
{
|
|
216
|
-
"
|
|
216
|
+
"type": "stack",
|
|
217
|
+
"direction": "vertical",
|
|
217
218
|
"children": [
|
|
218
219
|
{
|
|
219
220
|
"direction": "horizontal",
|
|
@@ -222,27 +223,27 @@
|
|
|
222
223
|
"gap": "md",
|
|
223
224
|
"children": [
|
|
224
225
|
{
|
|
226
|
+
"gap": "md",
|
|
225
227
|
"children": [
|
|
226
228
|
{
|
|
227
|
-
"
|
|
228
|
-
"
|
|
229
|
+
"name": "database",
|
|
230
|
+
"type": "icon"
|
|
229
231
|
},
|
|
230
232
|
{
|
|
233
|
+
"content": "Cache (empty)",
|
|
231
234
|
"type": "typography",
|
|
232
|
-
"variant": "h2"
|
|
233
|
-
"content": "Cache (empty)"
|
|
235
|
+
"variant": "h2"
|
|
234
236
|
}
|
|
235
237
|
],
|
|
236
|
-
"gap": "md",
|
|
237
238
|
"direction": "horizontal",
|
|
238
239
|
"type": "stack"
|
|
239
240
|
},
|
|
240
241
|
{
|
|
242
|
+
"variant": "primary",
|
|
241
243
|
"icon": "download",
|
|
242
244
|
"label": "Fetch",
|
|
243
|
-
"
|
|
244
|
-
"type": "button"
|
|
245
|
-
"action": "FETCH"
|
|
245
|
+
"action": "FETCH",
|
|
246
|
+
"type": "button"
|
|
246
247
|
}
|
|
247
248
|
]
|
|
248
249
|
},
|
|
@@ -250,14 +251,13 @@
|
|
|
250
251
|
"type": "divider"
|
|
251
252
|
},
|
|
252
253
|
{
|
|
253
|
-
"
|
|
254
|
-
"description": "Fetch data to populate the cache.",
|
|
254
|
+
"icon": "inbox",
|
|
255
255
|
"title": "Cache is empty",
|
|
256
|
-
"
|
|
256
|
+
"description": "Fetch data to populate the cache.",
|
|
257
|
+
"type": "empty-state"
|
|
257
258
|
}
|
|
258
259
|
],
|
|
259
|
-
"
|
|
260
|
-
"type": "stack"
|
|
260
|
+
"gap": "lg"
|
|
261
261
|
}
|
|
262
262
|
]
|
|
263
263
|
]
|
|
@@ -281,22 +281,22 @@
|
|
|
281
281
|
"render-ui",
|
|
282
282
|
"main",
|
|
283
283
|
{
|
|
284
|
-
"type": "stack",
|
|
285
|
-
"className": "py-12",
|
|
286
|
-
"gap": "md",
|
|
287
|
-
"align": "center",
|
|
288
284
|
"children": [
|
|
289
285
|
{
|
|
290
286
|
"type": "spinner"
|
|
291
287
|
},
|
|
292
288
|
{
|
|
293
|
-
"color": "muted",
|
|
294
|
-
"variant": "caption",
|
|
295
289
|
"type": "typography",
|
|
296
|
-
"
|
|
290
|
+
"variant": "caption",
|
|
291
|
+
"content": "Fetching cache…",
|
|
292
|
+
"color": "muted"
|
|
297
293
|
}
|
|
298
294
|
],
|
|
299
|
-
"direction": "vertical"
|
|
295
|
+
"direction": "vertical",
|
|
296
|
+
"type": "stack",
|
|
297
|
+
"gap": "md",
|
|
298
|
+
"align": "center",
|
|
299
|
+
"className": "py-12"
|
|
300
300
|
}
|
|
301
301
|
]
|
|
302
302
|
]
|
|
@@ -310,6 +310,8 @@
|
|
|
310
310
|
"render-ui",
|
|
311
311
|
"main",
|
|
312
312
|
{
|
|
313
|
+
"type": "stack",
|
|
314
|
+
"direction": "vertical",
|
|
313
315
|
"children": [
|
|
314
316
|
{
|
|
315
317
|
"gap": "md",
|
|
@@ -317,41 +319,41 @@
|
|
|
317
319
|
"justify": "between",
|
|
318
320
|
"children": [
|
|
319
321
|
{
|
|
320
|
-
"direction": "horizontal",
|
|
321
322
|
"gap": "md",
|
|
323
|
+
"direction": "horizontal",
|
|
322
324
|
"type": "stack",
|
|
323
325
|
"children": [
|
|
324
326
|
{
|
|
325
|
-
"
|
|
326
|
-
"
|
|
327
|
+
"name": "database",
|
|
328
|
+
"type": "icon"
|
|
327
329
|
},
|
|
328
330
|
{
|
|
329
|
-
"content": "Cache (hot)",
|
|
330
331
|
"variant": "h2",
|
|
331
|
-
"type": "typography"
|
|
332
|
+
"type": "typography",
|
|
333
|
+
"content": "Cache (hot)"
|
|
332
334
|
}
|
|
333
335
|
]
|
|
334
336
|
},
|
|
335
337
|
{
|
|
336
|
-
"direction": "horizontal",
|
|
337
338
|
"align": "center",
|
|
339
|
+
"type": "stack",
|
|
340
|
+
"direction": "horizontal",
|
|
341
|
+
"gap": "sm",
|
|
338
342
|
"children": [
|
|
339
343
|
{
|
|
340
|
-
"
|
|
341
|
-
"type": "status-dot",
|
|
344
|
+
"status": "online",
|
|
342
345
|
"label": "Cached",
|
|
343
|
-
"
|
|
346
|
+
"pulse": false,
|
|
347
|
+
"type": "status-dot"
|
|
344
348
|
},
|
|
345
349
|
{
|
|
346
350
|
"action": "INVALIDATE",
|
|
347
|
-
"
|
|
348
|
-
"type": "button",
|
|
351
|
+
"icon": "trash",
|
|
349
352
|
"variant": "ghost",
|
|
350
|
-
"
|
|
353
|
+
"type": "button",
|
|
354
|
+
"label": "Invalidate"
|
|
351
355
|
}
|
|
352
|
-
]
|
|
353
|
-
"type": "stack",
|
|
354
|
-
"gap": "sm"
|
|
356
|
+
]
|
|
355
357
|
}
|
|
356
358
|
],
|
|
357
359
|
"direction": "horizontal"
|
|
@@ -360,59 +362,57 @@
|
|
|
360
362
|
"type": "divider"
|
|
361
363
|
},
|
|
362
364
|
{
|
|
363
|
-
"type": "data-grid",
|
|
364
365
|
"entity": "@payload.data",
|
|
366
|
+
"type": "data-grid",
|
|
367
|
+
"fields": [],
|
|
365
368
|
"renderItem": [
|
|
366
369
|
"fn",
|
|
367
370
|
"item",
|
|
368
371
|
{
|
|
369
|
-
"direction": "vertical",
|
|
370
|
-
"gap": "sm",
|
|
371
|
-
"type": "stack",
|
|
372
372
|
"children": [
|
|
373
373
|
{
|
|
374
|
+
"justify": "between",
|
|
375
|
+
"direction": "horizontal",
|
|
376
|
+
"type": "stack",
|
|
377
|
+
"align": "center",
|
|
374
378
|
"children": [
|
|
375
379
|
{
|
|
376
|
-
"
|
|
377
|
-
"align": "center",
|
|
380
|
+
"direction": "horizontal",
|
|
378
381
|
"children": [
|
|
379
382
|
{
|
|
380
383
|
"type": "icon",
|
|
381
384
|
"name": "database"
|
|
382
385
|
},
|
|
383
386
|
{
|
|
384
|
-
"content": "@item.name",
|
|
385
387
|
"variant": "h4",
|
|
386
|
-
"type": "typography"
|
|
388
|
+
"type": "typography",
|
|
389
|
+
"content": "@item.name"
|
|
387
390
|
}
|
|
388
391
|
],
|
|
389
|
-
"
|
|
390
|
-
"gap": "sm"
|
|
392
|
+
"type": "stack",
|
|
393
|
+
"gap": "sm",
|
|
394
|
+
"align": "center"
|
|
391
395
|
},
|
|
392
396
|
{
|
|
393
397
|
"type": "badge",
|
|
394
398
|
"label": "@item.description"
|
|
395
399
|
}
|
|
396
|
-
]
|
|
397
|
-
"type": "stack",
|
|
398
|
-
"justify": "between",
|
|
399
|
-
"direction": "horizontal",
|
|
400
|
-
"align": "center"
|
|
400
|
+
]
|
|
401
401
|
},
|
|
402
402
|
{
|
|
403
|
-
"
|
|
403
|
+
"type": "typography",
|
|
404
404
|
"content": "@item.status",
|
|
405
|
-
"
|
|
405
|
+
"variant": "caption"
|
|
406
406
|
}
|
|
407
|
-
]
|
|
407
|
+
],
|
|
408
|
+
"type": "stack",
|
|
409
|
+
"gap": "sm",
|
|
410
|
+
"direction": "vertical"
|
|
408
411
|
}
|
|
409
|
-
]
|
|
410
|
-
"fields": []
|
|
412
|
+
]
|
|
411
413
|
}
|
|
412
414
|
],
|
|
413
|
-
"gap": "lg"
|
|
414
|
-
"type": "stack",
|
|
415
|
-
"direction": "vertical"
|
|
415
|
+
"gap": "lg"
|
|
416
416
|
}
|
|
417
417
|
]
|
|
418
418
|
]
|
|
@@ -426,36 +426,36 @@
|
|
|
426
426
|
"render-ui",
|
|
427
427
|
"main",
|
|
428
428
|
{
|
|
429
|
+
"className": "py-12",
|
|
430
|
+
"align": "center",
|
|
431
|
+
"direction": "vertical",
|
|
429
432
|
"gap": "md",
|
|
433
|
+
"type": "stack",
|
|
430
434
|
"children": [
|
|
431
435
|
{
|
|
436
|
+
"color": "destructive",
|
|
432
437
|
"type": "icon",
|
|
433
|
-
"name": "alert-triangle"
|
|
434
|
-
"color": "destructive"
|
|
438
|
+
"name": "alert-triangle"
|
|
435
439
|
},
|
|
436
440
|
{
|
|
437
|
-
"
|
|
441
|
+
"variant": "h3",
|
|
438
442
|
"type": "typography",
|
|
439
|
-
"
|
|
443
|
+
"content": "Failed to load"
|
|
440
444
|
},
|
|
441
445
|
{
|
|
442
|
-
"
|
|
446
|
+
"content": "@payload.error",
|
|
443
447
|
"color": "muted",
|
|
444
448
|
"type": "typography",
|
|
445
|
-
"
|
|
449
|
+
"variant": "body"
|
|
446
450
|
},
|
|
447
451
|
{
|
|
448
|
-
"label": "Retry",
|
|
449
|
-
"type": "button",
|
|
450
|
-
"action": "FETCH",
|
|
451
452
|
"icon": "rotate-ccw",
|
|
452
|
-
"
|
|
453
|
+
"type": "button",
|
|
454
|
+
"variant": "primary",
|
|
455
|
+
"label": "Retry",
|
|
456
|
+
"action": "FETCH"
|
|
453
457
|
}
|
|
454
|
-
]
|
|
455
|
-
"className": "py-12",
|
|
456
|
-
"type": "stack",
|
|
457
|
-
"direction": "vertical",
|
|
458
|
-
"align": "center"
|
|
458
|
+
]
|
|
459
459
|
}
|
|
460
460
|
]
|
|
461
461
|
]
|
|
@@ -471,62 +471,62 @@
|
|
|
471
471
|
{
|
|
472
472
|
"type": "stack",
|
|
473
473
|
"direction": "vertical",
|
|
474
|
-
"gap": "lg",
|
|
475
474
|
"children": [
|
|
476
475
|
{
|
|
477
|
-
"type": "stack",
|
|
478
|
-
"direction": "horizontal",
|
|
479
476
|
"gap": "md",
|
|
480
|
-
"justify": "between",
|
|
481
477
|
"children": [
|
|
482
478
|
{
|
|
483
|
-
"
|
|
479
|
+
"type": "stack",
|
|
480
|
+
"gap": "md",
|
|
484
481
|
"children": [
|
|
485
482
|
{
|
|
486
|
-
"
|
|
487
|
-
"
|
|
483
|
+
"type": "icon",
|
|
484
|
+
"name": "database"
|
|
488
485
|
},
|
|
489
486
|
{
|
|
490
|
-
"variant": "h2",
|
|
491
487
|
"type": "typography",
|
|
488
|
+
"variant": "h2",
|
|
492
489
|
"content": "Cache (stale)"
|
|
493
490
|
}
|
|
494
491
|
],
|
|
495
|
-
"
|
|
496
|
-
"type": "stack"
|
|
492
|
+
"direction": "horizontal"
|
|
497
493
|
},
|
|
498
494
|
{
|
|
499
|
-
"
|
|
495
|
+
"type": "stack",
|
|
500
496
|
"children": [
|
|
501
497
|
{
|
|
502
|
-
"label": "Stale",
|
|
503
498
|
"pulse": true,
|
|
499
|
+
"type": "status-dot",
|
|
504
500
|
"status": "warning",
|
|
505
|
-
"
|
|
501
|
+
"label": "Stale"
|
|
506
502
|
},
|
|
507
503
|
{
|
|
508
|
-
"action": "REFRESH",
|
|
509
|
-
"label": "Refresh",
|
|
510
|
-
"variant": "primary",
|
|
511
504
|
"icon": "refresh-cw",
|
|
512
|
-
"
|
|
505
|
+
"label": "Refresh",
|
|
506
|
+
"action": "REFRESH",
|
|
507
|
+
"type": "button",
|
|
508
|
+
"variant": "primary"
|
|
513
509
|
}
|
|
514
510
|
],
|
|
515
511
|
"direction": "horizontal",
|
|
516
|
-
"
|
|
512
|
+
"align": "center",
|
|
517
513
|
"gap": "sm"
|
|
518
514
|
}
|
|
519
|
-
]
|
|
515
|
+
],
|
|
516
|
+
"direction": "horizontal",
|
|
517
|
+
"justify": "between",
|
|
518
|
+
"type": "stack"
|
|
520
519
|
},
|
|
521
520
|
{
|
|
522
521
|
"type": "divider"
|
|
523
522
|
},
|
|
524
523
|
{
|
|
525
|
-
"message": "Cache data is stale. Refresh to get the latest data.",
|
|
526
524
|
"variant": "warning",
|
|
527
|
-
"type": "alert"
|
|
525
|
+
"type": "alert",
|
|
526
|
+
"message": "Cache data is stale. Refresh to get the latest data."
|
|
528
527
|
}
|
|
529
|
-
]
|
|
528
|
+
],
|
|
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
|
],
|
|
@@ -553,8 +553,8 @@
|
|
|
553
553
|
"CacheEntry",
|
|
554
554
|
{
|
|
555
555
|
"emit": {
|
|
556
|
-
"
|
|
557
|
-
"
|
|
556
|
+
"success": "CacheEntryLoaded",
|
|
557
|
+
"failure": "CacheEntryLoadFailed"
|
|
558
558
|
}
|
|
559
559
|
}
|
|
560
560
|
],
|
|
@@ -577,8 +577,8 @@
|
|
|
577
577
|
"CacheEntry",
|
|
578
578
|
{
|
|
579
579
|
"emit": {
|
|
580
|
-
"
|
|
581
|
-
"
|
|
580
|
+
"success": "CacheEntryLoaded",
|
|
581
|
+
"failure": "CacheEntryLoadFailed"
|
|
582
582
|
}
|
|
583
583
|
}
|
|
584
584
|
],
|
|
@@ -601,8 +601,8 @@
|
|
|
601
601
|
"CacheEntry",
|
|
602
602
|
{
|
|
603
603
|
"emit": {
|
|
604
|
-
"
|
|
605
|
-
"
|
|
604
|
+
"failure": "CacheEntryLoadFailed",
|
|
605
|
+
"success": "CacheEntryLoaded"
|
|
606
606
|
}
|
|
607
607
|
}
|
|
608
608
|
],
|
|
@@ -624,10 +624,10 @@
|
|
|
624
624
|
"render-ui",
|
|
625
625
|
"main",
|
|
626
626
|
{
|
|
627
|
-
"
|
|
627
|
+
"description": "Fetch data to populate the cache.",
|
|
628
628
|
"title": "Cache is empty",
|
|
629
|
-
"
|
|
630
|
-
"
|
|
629
|
+
"type": "empty-state",
|
|
630
|
+
"icon": "inbox"
|
|
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
|
],
|
|
@@ -674,4 +674,4 @@
|
|
|
674
674
|
]
|
|
675
675
|
}
|
|
676
676
|
]
|
|
677
|
-
}
|
|
677
|
+
}
|