@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
@@ -43,6 +43,30 @@
43
43
  "required": true
44
44
  }
45
45
  ]
46
+ },
47
+ {
48
+ "event": "ProbeCreateLoaded",
49
+ "scope": "internal",
50
+ "payloadSchema": [
51
+ {
52
+ "name": "data",
53
+ "type": "[Probe]"
54
+ }
55
+ ]
56
+ },
57
+ {
58
+ "event": "ProbeCreateLoadFailed",
59
+ "scope": "internal",
60
+ "payloadSchema": [
61
+ {
62
+ "name": "error",
63
+ "type": "string"
64
+ },
65
+ {
66
+ "name": "code",
67
+ "type": "string"
68
+ }
69
+ ]
46
70
  }
47
71
  ],
48
72
  "stateMachine": {
@@ -57,6 +81,30 @@
57
81
  "key": "INIT",
58
82
  "name": "Initialize"
59
83
  },
84
+ {
85
+ "key": "ProbeCreateLoaded",
86
+ "name": "Probe create loaded",
87
+ "payloadSchema": [
88
+ {
89
+ "name": "data",
90
+ "type": "[Probe]"
91
+ }
92
+ ]
93
+ },
94
+ {
95
+ "key": "ProbeCreateLoadFailed",
96
+ "name": "Probe create load failed",
97
+ "payloadSchema": [
98
+ {
99
+ "name": "error",
100
+ "type": "string"
101
+ },
102
+ {
103
+ "name": "code",
104
+ "type": "string"
105
+ }
106
+ ]
107
+ },
60
108
  {
61
109
  "key": "SAVE",
62
110
  "name": "Save",
@@ -80,17 +128,57 @@
80
128
  "event": "INIT",
81
129
  "effects": [
82
130
  [
83
- "ref",
84
- "Probe"
131
+ "fetch",
132
+ "Probe",
133
+ {
134
+ "emit": {
135
+ "failure": "ProbeCreateLoadFailed",
136
+ "success": "ProbeCreateLoaded"
137
+ }
138
+ }
85
139
  ],
86
140
  [
87
141
  "render-ui",
88
142
  "main",
89
143
  {
90
- "label": "Fire Create SAVE",
144
+ "action": "SAVE",
145
+ "type": "button",
146
+ "variant": "primary",
147
+ "label": "Fire Create SAVE"
148
+ }
149
+ ]
150
+ ]
151
+ },
152
+ {
153
+ "from": "idle",
154
+ "to": "idle",
155
+ "event": "ProbeCreateLoaded",
156
+ "effects": [
157
+ [
158
+ "render-ui",
159
+ "main",
160
+ {
161
+ "variant": "primary",
91
162
  "type": "button",
163
+ "label": "Fire Create SAVE",
164
+ "action": "SAVE"
165
+ }
166
+ ]
167
+ ]
168
+ },
169
+ {
170
+ "from": "idle",
171
+ "to": "idle",
172
+ "event": "ProbeCreateLoadFailed",
173
+ "effects": [
174
+ [
175
+ "render-ui",
176
+ "main",
177
+ {
178
+ "variant": "primary",
179
+ "label": "Fire Create SAVE",
92
180
  "action": "SAVE",
93
- "variant": "primary"
181
+ "type": "button"
94
182
  }
95
183
  ]
96
184
  ]
@@ -111,10 +199,10 @@
111
199
  "render-ui",
112
200
  "main",
113
201
  {
114
- "action": "SAVE",
115
202
  "type": "button",
116
203
  "variant": "primary",
117
- "label": "Fire Create SAVE"
204
+ "label": "Fire Create SAVE",
205
+ "action": "SAVE"
118
206
  }
119
207
  ]
120
208
  ]
@@ -138,6 +226,30 @@
138
226
  "required": true
139
227
  }
140
228
  ]
229
+ },
230
+ {
231
+ "event": "ProbeEditLoaded",
232
+ "scope": "internal",
233
+ "payloadSchema": [
234
+ {
235
+ "name": "data",
236
+ "type": "[Probe]"
237
+ }
238
+ ]
239
+ },
240
+ {
241
+ "event": "ProbeEditLoadFailed",
242
+ "scope": "internal",
243
+ "payloadSchema": [
244
+ {
245
+ "name": "error",
246
+ "type": "string"
247
+ },
248
+ {
249
+ "name": "code",
250
+ "type": "string"
251
+ }
252
+ ]
141
253
  }
142
254
  ],
143
255
  "stateMachine": {
@@ -152,6 +264,30 @@
152
264
  "key": "INIT",
153
265
  "name": "Initialize"
154
266
  },
267
+ {
268
+ "key": "ProbeEditLoaded",
269
+ "name": "Probe edit loaded",
270
+ "payloadSchema": [
271
+ {
272
+ "name": "data",
273
+ "type": "[Probe]"
274
+ }
275
+ ]
276
+ },
277
+ {
278
+ "key": "ProbeEditLoadFailed",
279
+ "name": "Probe edit load failed",
280
+ "payloadSchema": [
281
+ {
282
+ "name": "error",
283
+ "type": "string"
284
+ },
285
+ {
286
+ "name": "code",
287
+ "type": "string"
288
+ }
289
+ ]
290
+ },
155
291
  {
156
292
  "key": "SAVE",
157
293
  "name": "Save",
@@ -175,17 +311,57 @@
175
311
  "event": "INIT",
176
312
  "effects": [
177
313
  [
178
- "ref",
179
- "Probe"
314
+ "fetch",
315
+ "Probe",
316
+ {
317
+ "emit": {
318
+ "failure": "ProbeEditLoadFailed",
319
+ "success": "ProbeEditLoaded"
320
+ }
321
+ }
180
322
  ],
181
323
  [
182
324
  "render-ui",
183
325
  "main",
184
326
  {
185
- "label": "Fire Edit SAVE",
327
+ "action": "SAVE",
186
328
  "type": "button",
329
+ "label": "Fire Edit SAVE",
330
+ "variant": "secondary"
331
+ }
332
+ ]
333
+ ]
334
+ },
335
+ {
336
+ "from": "idle",
337
+ "to": "idle",
338
+ "event": "ProbeEditLoaded",
339
+ "effects": [
340
+ [
341
+ "render-ui",
342
+ "main",
343
+ {
344
+ "label": "Fire Edit SAVE",
187
345
  "variant": "secondary",
188
- "action": "SAVE"
346
+ "action": "SAVE",
347
+ "type": "button"
348
+ }
349
+ ]
350
+ ]
351
+ },
352
+ {
353
+ "from": "idle",
354
+ "to": "idle",
355
+ "event": "ProbeEditLoadFailed",
356
+ "effects": [
357
+ [
358
+ "render-ui",
359
+ "main",
360
+ {
361
+ "action": "SAVE",
362
+ "type": "button",
363
+ "label": "Fire Edit SAVE",
364
+ "variant": "secondary"
189
365
  }
190
366
  ]
191
367
  ]
@@ -206,9 +382,9 @@
206
382
  "render-ui",
207
383
  "main",
208
384
  {
385
+ "action": "SAVE",
209
386
  "type": "button",
210
387
  "label": "Fire Edit SAVE",
211
- "action": "SAVE",
212
388
  "variant": "secondary"
213
389
  }
214
390
  ]
@@ -270,6 +446,30 @@
270
446
  "type": "string"
271
447
  }
272
448
  ]
449
+ },
450
+ {
451
+ "event": "ProbePersistorLoaded",
452
+ "scope": "internal",
453
+ "payloadSchema": [
454
+ {
455
+ "name": "data",
456
+ "type": "[Probe]"
457
+ }
458
+ ]
459
+ },
460
+ {
461
+ "event": "ProbePersistorLoadFailed",
462
+ "scope": "internal",
463
+ "payloadSchema": [
464
+ {
465
+ "name": "error",
466
+ "type": "string"
467
+ },
468
+ {
469
+ "name": "code",
470
+ "type": "string"
471
+ }
472
+ ]
273
473
  }
274
474
  ],
275
475
  "listens": [
@@ -302,6 +502,30 @@
302
502
  "key": "INIT",
303
503
  "name": "Initialize"
304
504
  },
505
+ {
506
+ "key": "ProbePersistorLoaded",
507
+ "name": "Probe persistor loaded",
508
+ "payloadSchema": [
509
+ {
510
+ "name": "data",
511
+ "type": "[Probe]"
512
+ }
513
+ ]
514
+ },
515
+ {
516
+ "key": "ProbePersistorLoadFailed",
517
+ "name": "Probe persistor load failed",
518
+ "payloadSchema": [
519
+ {
520
+ "name": "error",
521
+ "type": "string"
522
+ },
523
+ {
524
+ "name": "code",
525
+ "type": "string"
526
+ }
527
+ ]
528
+ },
305
529
  {
306
530
  "key": "DO_CREATE",
307
531
  "name": "Do Create"
@@ -366,16 +590,54 @@
366
590
  "event": "INIT",
367
591
  "effects": [
368
592
  [
369
- "ref",
370
- "Probe"
593
+ "fetch",
594
+ "Probe",
595
+ {
596
+ "emit": {
597
+ "failure": "ProbePersistorLoadFailed",
598
+ "success": "ProbePersistorLoaded"
599
+ }
600
+ }
371
601
  ],
372
602
  [
373
603
  "render-ui",
374
604
  "main",
375
605
  {
376
606
  "type": "typography",
607
+ "content": "Persistor idle",
608
+ "variant": "caption"
609
+ }
610
+ ]
611
+ ]
612
+ },
613
+ {
614
+ "from": "idle",
615
+ "to": "idle",
616
+ "event": "ProbePersistorLoaded",
617
+ "effects": [
618
+ [
619
+ "render-ui",
620
+ "main",
621
+ {
622
+ "content": "Persistor idle",
623
+ "variant": "caption",
624
+ "type": "typography"
625
+ }
626
+ ]
627
+ ]
628
+ },
629
+ {
630
+ "from": "idle",
631
+ "to": "idle",
632
+ "event": "ProbePersistorLoadFailed",
633
+ "effects": [
634
+ [
635
+ "render-ui",
636
+ "main",
637
+ {
638
+ "content": "Persistor idle",
377
639
  "variant": "caption",
378
- "content": "Persistor idle"
640
+ "type": "typography"
379
641
  }
380
642
  ]
381
643
  ]
@@ -404,9 +666,9 @@
404
666
  "render-ui",
405
667
  "main",
406
668
  {
669
+ "type": "typography",
407
670
  "variant": "caption",
408
- "content": "DO_CREATE fired",
409
- "type": "typography"
671
+ "content": "DO_CREATE fired"
410
672
  }
411
673
  ]
412
674
  ]
@@ -421,8 +683,8 @@
421
683
  "create",
422
684
  "Probe",
423
685
  {
424
- "kind": "edit",
425
- "name": "probe-updated"
686
+ "name": "probe-updated",
687
+ "kind": "edit"
426
688
  },
427
689
  {
428
690
  "emit": {
@@ -435,9 +697,9 @@
435
697
  "render-ui",
436
698
  "main",
437
699
  {
438
- "variant": "caption",
700
+ "type": "typography",
439
701
  "content": "DO_UPDATE fired",
440
- "type": "typography"
702
+ "variant": "caption"
441
703
  }
442
704
  ]
443
705
  ]