@almadar/std 6.5.1 → 7.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 (27) hide show
  1. package/behaviors/registry/atoms/std-agent-memory.orb +164 -7
  2. package/behaviors/registry/atoms/std-browse.orb +39 -2
  3. package/behaviors/registry/atoms/std-confirmation.orb +84 -9
  4. package/behaviors/registry/atoms/std-filter.orb +2 -1
  5. package/behaviors/registry/atoms/std-modal.orb +73 -8
  6. package/behaviors/registry/atoms/std-push.orb +5 -4
  7. package/behaviors/registry/atoms/std-related.orb +44 -3
  8. package/behaviors/registry/atoms/std-search.orb +2 -1
  9. package/behaviors/registry/molecules/std-cart.orb +91 -14
  10. package/behaviors/registry/molecules/std-detail.orb +3 -3
  11. package/behaviors/registry/molecules/std-drawer-master-list.orb +2 -1
  12. package/behaviors/registry/molecules/std-filtered-list.orb +2 -1
  13. package/behaviors/registry/molecules/std-wizard-form.orb +2 -1
  14. package/dist/behaviors/registry/atoms/std-agent-memory.orb +164 -7
  15. package/dist/behaviors/registry/atoms/std-browse.orb +39 -2
  16. package/dist/behaviors/registry/atoms/std-confirmation.orb +84 -9
  17. package/dist/behaviors/registry/atoms/std-filter.orb +2 -1
  18. package/dist/behaviors/registry/atoms/std-modal.orb +73 -8
  19. package/dist/behaviors/registry/atoms/std-push.orb +5 -4
  20. package/dist/behaviors/registry/atoms/std-related.orb +44 -3
  21. package/dist/behaviors/registry/atoms/std-search.orb +2 -1
  22. package/dist/behaviors/registry/molecules/std-cart.orb +91 -14
  23. package/dist/behaviors/registry/molecules/std-detail.orb +3 -3
  24. package/dist/behaviors/registry/molecules/std-drawer-master-list.orb +2 -1
  25. package/dist/behaviors/registry/molecules/std-filtered-list.orb +2 -1
  26. package/dist/behaviors/registry/molecules/std-wizard-form.orb +2 -1
  27. package/package.json +2 -2
@@ -168,6 +168,14 @@
168
168
  "type": "object"
169
169
  }
170
170
  ]
171
+ },
172
+ {
173
+ "key": "AgentMemoryLoaded",
174
+ "name": "AgentMemory loaded"
175
+ },
176
+ {
177
+ "key": "AgentMemoryLoadFailed",
178
+ "name": "AgentMemory load failed"
171
179
  }
172
180
  ],
173
181
  "transitions": [
@@ -177,8 +185,14 @@
177
185
  "event": "INIT",
178
186
  "effects": [
179
187
  [
180
- "ref",
181
- "AgentMemory"
188
+ "fetch",
189
+ "AgentMemory",
190
+ {
191
+ "emit": {
192
+ "success": "AgentMemoryLoaded",
193
+ "failure": "AgentMemoryLoadFailed"
194
+ }
195
+ }
182
196
  ],
183
197
  [
184
198
  "render-ui",
@@ -312,7 +326,72 @@
312
326
  ]
313
327
  }
314
328
  ]
315
- }
329
+ },
330
+ "scope": "collection",
331
+ "emits": [
332
+ {
333
+ "event": "AgentMemoryLoaded",
334
+ "scope": "internal",
335
+ "description": "Fired when AgentMemory finishes loading",
336
+ "payload": [
337
+ {
338
+ "name": "id",
339
+ "type": "string"
340
+ },
341
+ {
342
+ "name": "name",
343
+ "type": "string"
344
+ },
345
+ {
346
+ "name": "description",
347
+ "type": "string"
348
+ },
349
+ {
350
+ "name": "status",
351
+ "type": "string"
352
+ },
353
+ {
354
+ "name": "createdAt",
355
+ "type": "string"
356
+ },
357
+ {
358
+ "name": "content",
359
+ "type": "string"
360
+ },
361
+ {
362
+ "name": "category",
363
+ "type": "string"
364
+ },
365
+ {
366
+ "name": "strength",
367
+ "type": "number"
368
+ },
369
+ {
370
+ "name": "pinned",
371
+ "type": "boolean"
372
+ },
373
+ {
374
+ "name": "scope",
375
+ "type": "string"
376
+ },
377
+ {
378
+ "name": "lastAccessedAt",
379
+ "type": "string"
380
+ }
381
+ ]
382
+ },
383
+ {
384
+ "event": "AgentMemoryLoadFailed",
385
+ "scope": "internal",
386
+ "description": "Fired when AgentMemory fails to load",
387
+ "payload": [
388
+ {
389
+ "name": "message",
390
+ "type": "string"
391
+ }
392
+ ]
393
+ }
394
+ ]
316
395
  },
317
396
  {
318
397
  "name": "AgentMemoryCreate",
@@ -326,6 +405,68 @@
326
405
  {
327
406
  "event": "MEMORIZED",
328
407
  "scope": "external"
408
+ },
409
+ {
410
+ "event": "AgentMemoryLoaded",
411
+ "scope": "internal",
412
+ "description": "Fired when AgentMemory finishes loading",
413
+ "payload": [
414
+ {
415
+ "name": "id",
416
+ "type": "string"
417
+ },
418
+ {
419
+ "name": "name",
420
+ "type": "string"
421
+ },
422
+ {
423
+ "name": "description",
424
+ "type": "string"
425
+ },
426
+ {
427
+ "name": "status",
428
+ "type": "string"
429
+ },
430
+ {
431
+ "name": "createdAt",
432
+ "type": "string"
433
+ },
434
+ {
435
+ "name": "content",
436
+ "type": "string"
437
+ },
438
+ {
439
+ "name": "category",
440
+ "type": "string"
441
+ },
442
+ {
443
+ "name": "strength",
444
+ "type": "number"
445
+ },
446
+ {
447
+ "name": "pinned",
448
+ "type": "boolean"
449
+ },
450
+ {
451
+ "name": "scope",
452
+ "type": "string"
453
+ },
454
+ {
455
+ "name": "lastAccessedAt",
456
+ "type": "string"
457
+ }
458
+ ]
459
+ },
460
+ {
461
+ "event": "AgentMemoryLoadFailed",
462
+ "scope": "internal",
463
+ "description": "Fired when AgentMemory fails to load",
464
+ "payload": [
465
+ {
466
+ "name": "message",
467
+ "type": "string"
468
+ }
469
+ ]
329
470
  }
330
471
  ],
331
472
  "stateMachine": {
@@ -361,6 +502,14 @@
361
502
  "required": true
362
503
  }
363
504
  ]
505
+ },
506
+ {
507
+ "key": "AgentMemoryLoaded",
508
+ "name": "AgentMemory loaded"
509
+ },
510
+ {
511
+ "key": "AgentMemoryLoadFailed",
512
+ "name": "AgentMemory load failed"
364
513
  }
365
514
  ],
366
515
  "transitions": [
@@ -370,8 +519,14 @@
370
519
  "event": "INIT",
371
520
  "effects": [
372
521
  [
373
- "ref",
374
- "AgentMemory"
522
+ "fetch",
523
+ "AgentMemory",
524
+ {
525
+ "emit": {
526
+ "success": "AgentMemoryLoaded",
527
+ "failure": "AgentMemoryLoadFailed"
528
+ }
529
+ }
375
530
  ]
376
531
  ]
377
532
  },
@@ -465,7 +620,8 @@
465
620
  ]
466
621
  }
467
622
  ]
468
- }
623
+ },
624
+ "scope": "instance"
469
625
  },
470
626
  {
471
627
  "name": "AgentMemoryAgent",
@@ -747,7 +903,8 @@
747
903
  ]
748
904
  }
749
905
  ]
750
- }
906
+ },
907
+ "scope": "collection"
751
908
  }
752
909
  ],
753
910
  "pages": [
@@ -114,6 +114,29 @@
114
114
  "name": "BrowseItemBrowse",
115
115
  "linkedEntity": "BrowseItem",
116
116
  "category": "interaction",
117
+ "scope": "collection",
118
+ "emits": [
119
+ {
120
+ "event": "BrowseItemLoaded",
121
+ "scope": "internal",
122
+ "description": "Fired when the BrowseItem collection finishes loading",
123
+ "payload": [
124
+ { "name": "id", "type": "string" },
125
+ { "name": "name", "type": "string" },
126
+ { "name": "description", "type": "string" },
127
+ { "name": "status", "type": "string" },
128
+ { "name": "createdAt", "type": "string" }
129
+ ]
130
+ },
131
+ {
132
+ "event": "BrowseItemLoadFailed",
133
+ "scope": "internal",
134
+ "description": "Fired when the BrowseItem collection fails to load",
135
+ "payload": [
136
+ { "name": "message", "type": "string" }
137
+ ]
138
+ }
139
+ ],
117
140
  "stateMachine": {
118
141
  "states": [
119
142
  {
@@ -125,6 +148,14 @@
125
148
  {
126
149
  "key": "INIT",
127
150
  "name": "Initialize"
151
+ },
152
+ {
153
+ "key": "BrowseItemLoaded",
154
+ "name": "Browse items loaded"
155
+ },
156
+ {
157
+ "key": "BrowseItemLoadFailed",
158
+ "name": "Browse items load failed"
128
159
  }
129
160
  ],
130
161
  "transitions": [
@@ -134,8 +165,14 @@
134
165
  "event": "INIT",
135
166
  "effects": [
136
167
  [
137
- "ref",
138
- "BrowseItem"
168
+ "fetch",
169
+ "BrowseItem",
170
+ {
171
+ "emit": {
172
+ "success": "BrowseItemLoaded",
173
+ "failure": "BrowseItemLoadFailed"
174
+ }
175
+ }
139
176
  ],
140
177
  [
141
178
  "render-ui",
@@ -51,6 +51,48 @@
51
51
  {
52
52
  "event": "CONFIRM",
53
53
  "scope": "external"
54
+ },
55
+ {
56
+ "event": "ConfirmActionLoaded",
57
+ "scope": "internal",
58
+ "description": "Fired when ConfirmAction finishes loading",
59
+ "payload": [
60
+ {
61
+ "name": "id",
62
+ "type": "string"
63
+ },
64
+ {
65
+ "name": "name",
66
+ "type": "string"
67
+ },
68
+ {
69
+ "name": "description",
70
+ "type": "string"
71
+ },
72
+ {
73
+ "name": "status",
74
+ "type": "string"
75
+ },
76
+ {
77
+ "name": "createdAt",
78
+ "type": "string"
79
+ },
80
+ {
81
+ "name": "pendingId",
82
+ "type": "string"
83
+ }
84
+ ]
85
+ },
86
+ {
87
+ "event": "ConfirmActionLoadFailed",
88
+ "scope": "internal",
89
+ "description": "Fired when ConfirmAction fails to load",
90
+ "payload": [
91
+ {
92
+ "name": "message",
93
+ "type": "string"
94
+ }
95
+ ]
54
96
  }
55
97
  ],
56
98
  "stateMachine": {
@@ -90,6 +132,14 @@
90
132
  {
91
133
  "key": "CLOSE",
92
134
  "name": "Close"
135
+ },
136
+ {
137
+ "key": "ConfirmActionLoaded",
138
+ "name": "ConfirmAction loaded"
139
+ },
140
+ {
141
+ "key": "ConfirmActionLoadFailed",
142
+ "name": "ConfirmAction load failed"
93
143
  }
94
144
  ],
95
145
  "transitions": [
@@ -99,8 +149,14 @@
99
149
  "event": "INIT",
100
150
  "effects": [
101
151
  [
102
- "ref",
103
- "ConfirmAction"
152
+ "fetch",
153
+ "ConfirmAction",
154
+ {
155
+ "emit": {
156
+ "success": "ConfirmActionLoaded",
157
+ "failure": "ConfirmActionLoadFailed"
158
+ }
159
+ }
104
160
  ],
105
161
  [
106
162
  "render-ui",
@@ -254,8 +310,14 @@
254
310
  null
255
311
  ],
256
312
  [
257
- "ref",
258
- "ConfirmAction"
313
+ "fetch",
314
+ "ConfirmAction",
315
+ {
316
+ "emit": {
317
+ "success": "ConfirmActionLoaded",
318
+ "failure": "ConfirmActionLoadFailed"
319
+ }
320
+ }
259
321
  ],
260
322
  [
261
323
  "render-ui",
@@ -332,8 +394,14 @@
332
394
  null
333
395
  ],
334
396
  [
335
- "ref",
336
- "ConfirmAction"
397
+ "fetch",
398
+ "ConfirmAction",
399
+ {
400
+ "emit": {
401
+ "success": "ConfirmActionLoaded",
402
+ "failure": "ConfirmActionLoadFailed"
403
+ }
404
+ }
337
405
  ],
338
406
  [
339
407
  "render-ui",
@@ -410,8 +478,14 @@
410
478
  null
411
479
  ],
412
480
  [
413
- "ref",
414
- "ConfirmAction"
481
+ "fetch",
482
+ "ConfirmAction",
483
+ {
484
+ "emit": {
485
+ "success": "ConfirmActionLoaded",
486
+ "failure": "ConfirmActionLoadFailed"
487
+ }
488
+ }
415
489
  ],
416
490
  [
417
491
  "render-ui",
@@ -478,7 +552,8 @@
478
552
  ]
479
553
  }
480
554
  ]
481
- }
555
+ },
556
+ "scope": "instance"
482
557
  }
483
558
  ],
484
559
  "pages": [
@@ -618,7 +618,8 @@
618
618
  ]
619
619
  }
620
620
  ]
621
- }
621
+ },
622
+ "scope": "collection"
622
623
  }
623
624
  ],
624
625
  "pages": [
@@ -46,6 +46,44 @@
46
46
  {
47
47
  "event": "SAVE",
48
48
  "scope": "external"
49
+ },
50
+ {
51
+ "event": "ModalRecordLoaded",
52
+ "scope": "internal",
53
+ "description": "Fired when ModalRecord finishes loading",
54
+ "payload": [
55
+ {
56
+ "name": "id",
57
+ "type": "string"
58
+ },
59
+ {
60
+ "name": "name",
61
+ "type": "string"
62
+ },
63
+ {
64
+ "name": "description",
65
+ "type": "string"
66
+ },
67
+ {
68
+ "name": "status",
69
+ "type": "string"
70
+ },
71
+ {
72
+ "name": "createdAt",
73
+ "type": "string"
74
+ }
75
+ ]
76
+ },
77
+ {
78
+ "event": "ModalRecordLoadFailed",
79
+ "scope": "internal",
80
+ "description": "Fired when ModalRecord fails to load",
81
+ "payload": [
82
+ {
83
+ "name": "message",
84
+ "type": "string"
85
+ }
86
+ ]
49
87
  }
50
88
  ],
51
89
  "stateMachine": {
@@ -87,6 +125,14 @@
87
125
  "required": true
88
126
  }
89
127
  ]
128
+ },
129
+ {
130
+ "key": "ModalRecordLoaded",
131
+ "name": "ModalRecord loaded"
132
+ },
133
+ {
134
+ "key": "ModalRecordLoadFailed",
135
+ "name": "ModalRecord load failed"
90
136
  }
91
137
  ],
92
138
  "transitions": [
@@ -96,8 +142,14 @@
96
142
  "event": "INIT",
97
143
  "effects": [
98
144
  [
99
- "ref",
100
- "ModalRecord"
145
+ "fetch",
146
+ "ModalRecord",
147
+ {
148
+ "emit": {
149
+ "success": "ModalRecordLoaded",
150
+ "failure": "ModalRecordLoadFailed"
151
+ }
152
+ }
101
153
  ],
102
154
  [
103
155
  "render-ui",
@@ -283,8 +335,14 @@
283
335
  "info"
284
336
  ],
285
337
  [
286
- "ref",
287
- "ModalRecord"
338
+ "fetch",
339
+ "ModalRecord",
340
+ {
341
+ "emit": {
342
+ "success": "ModalRecordLoaded",
343
+ "failure": "ModalRecordLoadFailed"
344
+ }
345
+ }
288
346
  ],
289
347
  [
290
348
  "render-ui",
@@ -351,8 +409,14 @@
351
409
  null
352
410
  ],
353
411
  [
354
- "ref",
355
- "ModalRecord"
412
+ "fetch",
413
+ "ModalRecord",
414
+ {
415
+ "emit": {
416
+ "success": "ModalRecordLoaded",
417
+ "failure": "ModalRecordLoadFailed"
418
+ }
419
+ }
356
420
  ],
357
421
  [
358
422
  "render-ui",
@@ -409,7 +473,8 @@
409
473
  ]
410
474
  }
411
475
  ]
412
- }
476
+ },
477
+ "scope": "instance"
413
478
  }
414
479
  ],
415
480
  "pages": [
@@ -425,4 +490,4 @@
425
490
  ]
426
491
  }
427
492
  ]
428
- }
493
+ }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "std-push",
3
3
  "version": "1.0.0",
4
- "description": "External-event subscription atom. Wraps os/watch-http with a lifecycle state machine (idle subscribed reconnecting) using emit: config to turn incoming messages + failures into closed-circuit events.",
4
+ "description": "External-event subscription atom. Wraps os/watch-http with a lifecycle state machine (idle \u2192 subscribed \u2194 reconnecting) using emit: config to turn incoming messages + failures into closed-circuit events.",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "PushSubscriberOrbital",
@@ -89,7 +89,7 @@
89
89
  {
90
90
  "type": "typography",
91
91
  "variant": "caption",
92
- "content": "Connecting"
92
+ "content": "Connecting\u2026"
93
93
  }
94
94
  ],
95
95
  "gap": "sm"
@@ -157,7 +157,7 @@
157
157
  {
158
158
  "type": "typography",
159
159
  "variant": "caption",
160
- "content": "Reconnecting"
160
+ "content": "Reconnecting\u2026"
161
161
  }
162
162
  ],
163
163
  "type": "stack",
@@ -233,7 +233,8 @@
233
233
  ]
234
234
  }
235
235
  ]
236
- }
236
+ },
237
+ "scope": "instance"
237
238
  }
238
239
  ],
239
240
  "pages": [
@@ -29,6 +29,32 @@
29
29
  "emits": [
30
30
  {
31
31
  "event": "SELECT_RELATED"
32
+ },
33
+ {
34
+ "event": "RelatedItemLoaded",
35
+ "scope": "internal",
36
+ "description": "Fired when RelatedItem finishes loading",
37
+ "payload": [
38
+ {
39
+ "name": "id",
40
+ "type": "string"
41
+ },
42
+ {
43
+ "name": "name",
44
+ "type": "string"
45
+ }
46
+ ]
47
+ },
48
+ {
49
+ "event": "RelatedItemLoadFailed",
50
+ "scope": "internal",
51
+ "description": "Fired when RelatedItem fails to load",
52
+ "payload": [
53
+ {
54
+ "name": "message",
55
+ "type": "string"
56
+ }
57
+ ]
32
58
  }
33
59
  ],
34
60
  "stateMachine": {
@@ -41,6 +67,14 @@
41
67
  "events": [
42
68
  {
43
69
  "key": "INIT"
70
+ },
71
+ {
72
+ "key": "RelatedItemLoaded",
73
+ "name": "RelatedItem loaded"
74
+ },
75
+ {
76
+ "key": "RelatedItemLoadFailed",
77
+ "name": "RelatedItem load failed"
44
78
  }
45
79
  ],
46
80
  "transitions": [
@@ -50,8 +84,14 @@
50
84
  "event": "INIT",
51
85
  "effects": [
52
86
  [
53
- "ref",
54
- "RelatedItem"
87
+ "fetch",
88
+ "RelatedItem",
89
+ {
90
+ "emit": {
91
+ "success": "RelatedItemLoaded",
92
+ "failure": "RelatedItemLoadFailed"
93
+ }
94
+ }
55
95
  ],
56
96
  [
57
97
  "render-ui",
@@ -111,7 +151,8 @@
111
151
  ]
112
152
  }
113
153
  ]
114
- }
154
+ },
155
+ "scope": "collection"
115
156
  }
116
157
  ],
117
158
  "pages": [
@@ -371,7 +371,8 @@
371
371
  ]
372
372
  }
373
373
  ]
374
- }
374
+ },
375
+ "scope": "collection"
375
376
  }
376
377
  ],
377
378
  "pages": [