@almadar/std 16.212.0 → 16.214.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 (60) hide show
  1. package/behaviors/lolo/agent/organisms/std-agent-rabit.lolo +1 -0
  2. package/behaviors/lolo/infra/atoms/std-notification-center.lolo +19 -1
  3. package/behaviors/lolo/ui/core/atoms/std-rating-review.lolo +214 -3
  4. package/behaviors/lolo/ui/core/molecules/ui-data-grid.lolo +13 -0
  5. package/behaviors/lolo/ui/core/molecules/ui-data-list.lolo +13 -0
  6. package/behaviors/lolo/ui/core/molecules/ui-table-view.lolo +13 -0
  7. package/behaviors/lolo/ui/core/organisms/ui-entity-table.lolo +13 -0
  8. package/behaviors/lolo/ui/game/atoms/ui-canvas-2d.lolo +2 -2
  9. package/behaviors/lolo/ui/game/atoms/ui-canvas.lolo +2 -2
  10. package/behaviors/lolo/ui/game/atoms/ui-control-grid.lolo +2 -2
  11. package/behaviors/lolo/ui/learning/atoms/ui-math-canvas.lolo +2 -2
  12. package/behaviors/registry/agent/organisms/std-agent-rabit.orb +8 -0
  13. package/behaviors/registry/infra/atoms/std-notification-center.orb +176 -1
  14. package/behaviors/registry/ui/core/atoms/std-rating-review.orb +443 -2
  15. package/behaviors/registry/ui/core/molecules/ui-data-grid.orb +58 -0
  16. package/behaviors/registry/ui/core/molecules/ui-data-list.orb +58 -0
  17. package/behaviors/registry/ui/core/molecules/ui-table-view.orb +58 -0
  18. package/behaviors/registry/ui/core/organisms/ui-entity-table.orb +58 -0
  19. package/behaviors/registry/ui/game/atoms/ui-canvas-2d.orb +2 -2
  20. package/behaviors/registry/ui/game/atoms/ui-canvas.orb +2 -2
  21. package/behaviors/registry/ui/game/atoms/ui-control-grid.orb +2 -2
  22. package/behaviors/registry/ui/learning/atoms/ui-math-canvas.orb +2 -2
  23. package/canonical-operators.json +322 -234
  24. package/dist/behaviors/exports-reader.js +626 -6
  25. package/dist/behaviors/functions/index.d.ts +27 -13
  26. package/dist/behaviors/functions/index.js +624 -7
  27. package/dist/behaviors/index.d.ts +1 -1
  28. package/dist/behaviors/index.js +627 -7
  29. package/dist/behaviors/query.js +626 -6
  30. package/dist/behaviors-embeddings.hash.json +3 -3
  31. package/dist/behaviors-embeddings.json +1 -1
  32. package/dist/behaviors-registry.json +293 -309
  33. package/dist/index.d.ts +1 -1
  34. package/dist/index.js +824 -208
  35. package/dist/knob-embeddings.hash.json +3 -3
  36. package/dist/knob-embeddings.json +1 -1
  37. package/dist/modules/array.js +22 -22
  38. package/dist/modules/behavior.js +2 -2
  39. package/dist/modules/browser.js +1 -1
  40. package/dist/modules/contract.js +6 -6
  41. package/dist/modules/core.js +18 -18
  42. package/dist/modules/data.js +7 -7
  43. package/dist/modules/graph.js +14 -14
  44. package/dist/modules/index.js +197 -201
  45. package/dist/modules/integration.js +1 -1
  46. package/dist/modules/llm.js +2 -2
  47. package/dist/modules/nn.js +6 -6
  48. package/dist/modules/object.js +11 -11
  49. package/dist/modules/prob.js +4 -4
  50. package/dist/modules/session.js +4 -4
  51. package/dist/modules/str.js +1 -1
  52. package/dist/modules/tensor.js +29 -29
  53. package/dist/modules/time.js +17 -17
  54. package/dist/modules/trace.js +1 -1
  55. package/dist/modules/train.js +23 -23
  56. package/dist/modules/validate.js +23 -27
  57. package/dist/modules/workspace.js +5 -5
  58. package/dist/registry/factory-signatures.json +1 -1
  59. package/dist/registry.js +197 -201
  60. package/package.json +2 -2
@@ -169,6 +169,33 @@
169
169
  "parent": "trt_01M0M65FFF9APPJEKH9Y561YA4",
170
170
  "renames": []
171
171
  },
172
+ "evt_01M2BBM09D1EGWWTFQ7KBXNCRQ": {
173
+ "bakedName": "INIT",
174
+ "curName": "INIT",
175
+ "id": "evt_01M2BBM09D1EGWWTFQ7KBXNCRQ",
176
+ "kind": "event",
177
+ "owner": "workspace",
178
+ "parent": "trt_01M0M65FFFH69MBB0G62CE4NHC",
179
+ "renames": []
180
+ },
181
+ "evt_01M2BBM09D80TYXT01NKWG60CV": {
182
+ "bakedName": "OPEN_DIGEST",
183
+ "curName": "OPEN_DIGEST",
184
+ "id": "evt_01M2BBM09D80TYXT01NKWG60CV",
185
+ "kind": "event",
186
+ "owner": "workspace",
187
+ "parent": "trt_01M0M65FFFH69MBB0G62CE4NHC",
188
+ "renames": []
189
+ },
190
+ "evt_01M2BBM09DTHEB42R4QPNGNXFN": {
191
+ "bakedName": "OPEN_SUBSCRIBE",
192
+ "curName": "OPEN_SUBSCRIBE",
193
+ "id": "evt_01M2BBM09DTHEB42R4QPNGNXFN",
194
+ "kind": "event",
195
+ "owner": "workspace",
196
+ "parent": "trt_01M0M65FFFH69MBB0G62CE4NHC",
197
+ "renames": []
198
+ },
172
199
  "orb_01M0M65FFF1A3816MJVC21AJN9": {
173
200
  "bakedName": "NotificationCenterOrbital",
174
201
  "curName": "NotificationCenterOrbital",
@@ -224,6 +251,22 @@
224
251
  "kind": "trait",
225
252
  "owner": "workspace",
226
253
  "renames": []
254
+ },
255
+ "trt_01M2BBM09DD6N4EZDAZRYTEGV8": {
256
+ "bakedName": "PreferenceEditorButtonDigest",
257
+ "curName": "PreferenceEditorButtonDigest",
258
+ "id": "trt_01M2BBM09DD6N4EZDAZRYTEGV8",
259
+ "kind": "trait",
260
+ "owner": "workspace",
261
+ "renames": []
262
+ },
263
+ "trt_01M2BBM09DW78BXQDGMHY05CJ3": {
264
+ "bakedName": "PreferenceEditorButtonSubscribe",
265
+ "curName": "PreferenceEditorButtonSubscribe",
266
+ "id": "trt_01M2BBM09DW78BXQDGMHY05CJ3",
267
+ "kind": "trait",
268
+ "owner": "workspace",
269
+ "renames": []
227
270
  }
228
271
  },
229
272
  "schemaVersion": 1
@@ -468,6 +511,14 @@
468
511
  {
469
512
  "ref": "PreferenceEditor",
470
513
  "refId": "trt_01M0M65FFFH69MBB0G62CE4NHC"
514
+ },
515
+ {
516
+ "ref": "PreferenceEditorButtonSubscribe",
517
+ "refId": "trt_01M2BBM09DW78BXQDGMHY05CJ3"
518
+ },
519
+ {
520
+ "ref": "PreferenceEditorButtonDigest",
521
+ "refId": "trt_01M2BBM09DD6N4EZDAZRYTEGV8"
471
522
  }
472
523
  ]
473
524
  },
@@ -776,13 +827,63 @@
776
827
  ]
777
828
  }
778
829
  },
830
+ {
831
+ "config": {
832
+ "action": {
833
+ "default": "OPEN_SUBSCRIBE",
834
+ "type": "unknown"
835
+ },
836
+ "label": {
837
+ "default": "Enable push notifications",
838
+ "type": "unknown"
839
+ }
840
+ },
841
+ "id": "trt_01M2BBM09DW78BXQDGMHY05CJ3",
842
+ "linkedEntity": "NotificationPreference",
843
+ "linkedEntityId": "ent_01M0M65FFF0G1ZEE15D76BK6XK",
844
+ "name": "PreferenceEditorButtonSubscribe",
845
+ "ref": "Button.traits.ButtonRender"
846
+ },
847
+ {
848
+ "config": {
849
+ "action": {
850
+ "default": "OPEN_DIGEST",
851
+ "type": "unknown"
852
+ },
853
+ "label": {
854
+ "default": "View notification digest",
855
+ "type": "unknown"
856
+ }
857
+ },
858
+ "id": "trt_01M2BBM09DD6N4EZDAZRYTEGV8",
859
+ "linkedEntity": "NotificationPreference",
860
+ "linkedEntityId": "ent_01M0M65FFF0G1ZEE15D76BK6XK",
861
+ "name": "PreferenceEditorButtonDigest",
862
+ "ref": "Button.traits.ButtonRender"
863
+ },
779
864
  {
780
865
  "category": "lifecycle",
781
866
  "effectRow": [
867
+ {
868
+ "kind": "fetch",
869
+ "resource": "NotificationPreference"
870
+ },
871
+ {
872
+ "kind": "navigate",
873
+ "resource": "/notifications/digest"
874
+ },
875
+ {
876
+ "kind": "navigate",
877
+ "resource": "/notifications/subscribe"
878
+ },
782
879
  {
783
880
  "kind": "persist",
784
881
  "resource": "NotificationPreference"
785
882
  },
883
+ {
884
+ "kind": "render-ui",
885
+ "resource": "main"
886
+ },
786
887
  {
787
888
  "kind": "render-ui",
788
889
  "resource": "toast"
@@ -839,6 +940,21 @@
839
940
  "scope": "instance",
840
941
  "stateMachine": {
841
942
  "events": [
943
+ {
944
+ "id": "evt_01M2BBM09D1EGWWTFQ7KBXNCRQ",
945
+ "key": "INIT",
946
+ "name": "Initialize"
947
+ },
948
+ {
949
+ "id": "evt_01M2BBM09DTHEB42R4QPNGNXFN",
950
+ "key": "OPEN_SUBSCRIBE",
951
+ "name": "Open Subscribe"
952
+ },
953
+ {
954
+ "id": "evt_01M2BBM09D80TYXT01NKWG60CV",
955
+ "key": "OPEN_DIGEST",
956
+ "name": "Open Digest"
957
+ },
842
958
  {
843
959
  "id": "evt_01M0M65FFFD1RTHPARJ5HZCKGZ",
844
960
  "key": "SAVE_PREFERENCE",
@@ -958,6 +1074,55 @@
958
1074
  }
959
1075
  ],
960
1076
  "transitions": [
1077
+ {
1078
+ "effects": [
1079
+ [
1080
+ "fetch",
1081
+ "NotificationPreference"
1082
+ ],
1083
+ [
1084
+ "render-ui",
1085
+ "main",
1086
+ {
1087
+ "children": [
1088
+ "@trait.PreferenceEditorButtonSubscribe",
1089
+ "@trait.PreferenceEditorButtonDigest"
1090
+ ],
1091
+ "direction": "vertical",
1092
+ "gap": "md",
1093
+ "type": "stack"
1094
+ }
1095
+ ]
1096
+ ],
1097
+ "event": "INIT",
1098
+ "eventId": "evt_01M2BBM09D1EGWWTFQ7KBXNCRQ",
1099
+ "from": "idle",
1100
+ "to": "idle"
1101
+ },
1102
+ {
1103
+ "effects": [
1104
+ [
1105
+ "navigate",
1106
+ "/notifications/subscribe"
1107
+ ]
1108
+ ],
1109
+ "event": "OPEN_SUBSCRIBE",
1110
+ "eventId": "evt_01M2BBM09DTHEB42R4QPNGNXFN",
1111
+ "from": "idle",
1112
+ "to": "idle"
1113
+ },
1114
+ {
1115
+ "effects": [
1116
+ [
1117
+ "navigate",
1118
+ "/notifications/digest"
1119
+ ]
1120
+ ],
1121
+ "event": "OPEN_DIGEST",
1122
+ "eventId": "evt_01M2BBM09D80TYXT01NKWG60CV",
1123
+ "from": "idle",
1124
+ "to": "idle"
1125
+ },
961
1126
  {
962
1127
  "effects": [
963
1128
  [
@@ -1087,6 +1252,10 @@
1087
1252
  "to": "idle"
1088
1253
  }
1089
1254
  ]
1255
+ },
1256
+ "traitEmbedIds": {
1257
+ "PreferenceEditorButtonDigest": "trt_01M2BBM09DD6N4EZDAZRYTEGV8",
1258
+ "PreferenceEditorButtonSubscribe": "trt_01M2BBM09DW78BXQDGMHY05CJ3"
1090
1259
  }
1091
1260
  },
1092
1261
  {
@@ -1818,7 +1987,13 @@
1818
1987
  "type": "string"
1819
1988
  }
1820
1989
  ]
1821
- }
1990
+ },
1991
+ "uses": [
1992
+ {
1993
+ "as": "Button",
1994
+ "from": "std/behaviors/ui-button"
1995
+ }
1996
+ ]
1822
1997
  }
1823
1998
  ],
1824
1999
  "schemaVersion": 1,