@almadar/std 16.241.0 → 16.243.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 (109) hide show
  1. package/behaviors/behaviors-registry.json +4650 -535
  2. package/behaviors/lolo/agent/atoms/std-agent-memory.lolo +38 -1
  3. package/behaviors/lolo/agent/atoms/std-agent-session.lolo +1074 -47
  4. package/behaviors/lolo/agent/atoms/std-agent-tool-loop.lolo +8 -7
  5. package/behaviors/lolo/agent/organisms/std-agent-assistant.lolo +56 -37
  6. package/behaviors/lolo/infra/atoms/std-page-open.lolo +59 -0
  7. package/behaviors/lolo/infra/atoms/std-page-search.lolo +136 -0
  8. package/behaviors/lolo/infra/atoms/std-page-treat.lolo +59 -0
  9. package/behaviors/lolo/infra/atoms/std-page-watch.lolo +88 -0
  10. package/behaviors/lolo/ui/core/atoms/std-book-reader.lolo +25 -1
  11. package/behaviors/lolo/ui/core/atoms/std-card-grid.lolo +9 -0
  12. package/behaviors/lolo/ui/core/atoms/std-doc-page.lolo +153 -0
  13. package/behaviors/lolo/ui/learning/atoms/std-learn-arrangement.lolo +124 -92
  14. package/behaviors/lolo/ui/learning/atoms/std-learn-classify.lolo +114 -55
  15. package/behaviors/lolo/ui/learning/atoms/std-learn-compare.lolo +40 -14
  16. package/behaviors/lolo/ui/learning/atoms/std-learn-coupled-sim.lolo +363 -123
  17. package/behaviors/lolo/ui/learning/atoms/std-learn-derivation.lolo +93 -48
  18. package/behaviors/lolo/ui/learning/atoms/std-learn-diagram.lolo +60 -28
  19. package/behaviors/lolo/ui/learning/atoms/std-learn-doser.lolo +193 -96
  20. package/behaviors/lolo/ui/learning/atoms/std-learn-estimate.lolo +75 -32
  21. package/behaviors/lolo/ui/learning/atoms/std-learn-goal-seek.lolo +142 -86
  22. package/behaviors/lolo/ui/learning/atoms/std-learn-grid-sim.lolo +266 -98
  23. package/behaviors/lolo/ui/learning/atoms/std-learn-hotspot.lolo +103 -65
  24. package/behaviors/lolo/ui/learning/atoms/std-learn-live-sim.lolo +223 -109
  25. package/behaviors/lolo/ui/learning/atoms/std-learn-measure.lolo +232 -64
  26. package/behaviors/lolo/ui/learning/atoms/std-learn-param-explorer.lolo +69 -29
  27. package/behaviors/lolo/ui/learning/atoms/std-learn-perturb.lolo +363 -123
  28. package/behaviors/lolo/ui/learning/atoms/std-learn-predict.lolo +73 -41
  29. package/behaviors/lolo/ui/learning/atoms/std-learn-sample-accumulator.lolo +96 -38
  30. package/behaviors/lolo/ui/learning/atoms/std-learn-sandbox.lolo +65 -45
  31. package/behaviors/lolo/ui/learning/atoms/std-learn-scatter-fit.lolo +243 -117
  32. package/behaviors/lolo/ui/learning/atoms/std-learn-scenario.lolo +76 -28
  33. package/behaviors/lolo/ui/learning/atoms/std-learn-sim-3d.lolo +228 -109
  34. package/behaviors/lolo/ui/learning/atoms/std-learn-speed-drill.lolo +95 -44
  35. package/behaviors/lolo/ui/learning/atoms/std-learn-stepper.lolo +199 -125
  36. package/behaviors/lolo/ui/learning/atoms/std-learn-tour-3d.lolo +92 -48
  37. package/behaviors/lolo/ui/learning/atoms/std-learn-trace-player.lolo +239 -78
  38. package/behaviors/lolo/ui/learning/atoms/std-learn-transport.lolo +147 -38
  39. package/behaviors/lolo/ui/learning/atoms/std-learn-tree.lolo +123 -58
  40. package/behaviors/lolo/ui/learning/atoms/ui-algo-graph-canvas.lolo +22 -0
  41. package/behaviors/lolo/ui/learning/atoms/ui-algorithm-canvas.lolo +26 -0
  42. package/behaviors/lolo/ui/learning/atoms/ui-biology-canvas.lolo +26 -0
  43. package/behaviors/lolo/ui/learning/atoms/ui-chemistry-canvas.lolo +27 -1
  44. package/behaviors/lolo/ui/learning/atoms/ui-learning-canvas.lolo +27 -1
  45. package/behaviors/lolo/ui/learning/atoms/ui-math-canvas.lolo +29 -9
  46. package/behaviors/lolo/ui/learning/atoms/ui-physics-canvas.lolo +26 -0
  47. package/behaviors/lolo-behavior-contracts.json +1 -1
  48. package/behaviors/registry/agent/atoms/std-agent-memory.orb +372 -2
  49. package/behaviors/registry/agent/atoms/std-agent-session.orb +4752 -348
  50. package/behaviors/registry/agent/atoms/std-agent-tool-loop.orb +54 -42
  51. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +356 -122
  52. package/behaviors/registry/factory-signatures.json +1 -1
  53. package/behaviors/registry/infra/atoms/std-page-open.orb +435 -0
  54. package/behaviors/registry/infra/atoms/std-page-search.orb +885 -0
  55. package/behaviors/registry/infra/atoms/std-page-treat.orb +494 -0
  56. package/behaviors/registry/infra/atoms/std-page-watch.orb +572 -0
  57. package/behaviors/registry/ui/core/atoms/std-book-reader.orb +119 -0
  58. package/behaviors/registry/ui/core/atoms/std-card-grid.orb +61 -0
  59. package/behaviors/registry/ui/core/atoms/std-doc-page.orb +594 -0
  60. package/behaviors/registry/ui/learning/atoms/std-learn-arrangement.orb +903 -369
  61. package/behaviors/registry/ui/learning/atoms/std-learn-classify.orb +1002 -232
  62. package/behaviors/registry/ui/learning/atoms/std-learn-compare.orb +253 -74
  63. package/behaviors/registry/ui/learning/atoms/std-learn-coupled-sim.orb +3624 -921
  64. package/behaviors/registry/ui/learning/atoms/std-learn-derivation.orb +685 -144
  65. package/behaviors/registry/ui/learning/atoms/std-learn-diagram.orb +404 -52
  66. package/behaviors/registry/ui/learning/atoms/std-learn-doser.orb +1787 -210
  67. package/behaviors/registry/ui/learning/atoms/std-learn-estimate.orb +699 -71
  68. package/behaviors/registry/ui/learning/atoms/std-learn-goal-seek.orb +1102 -578
  69. package/behaviors/registry/ui/learning/atoms/std-learn-grid-sim.orb +2760 -872
  70. package/behaviors/registry/ui/learning/atoms/std-learn-hotspot.orb +689 -152
  71. package/behaviors/registry/ui/learning/atoms/std-learn-live-sim.orb +1431 -633
  72. package/behaviors/registry/ui/learning/atoms/std-learn-measure.orb +2485 -512
  73. package/behaviors/registry/ui/learning/atoms/std-learn-param-explorer.orb +501 -197
  74. package/behaviors/registry/ui/learning/atoms/std-learn-perturb.orb +3642 -928
  75. package/behaviors/registry/ui/learning/atoms/std-learn-predict.orb +705 -125
  76. package/behaviors/registry/ui/learning/atoms/std-learn-sample-accumulator.orb +624 -114
  77. package/behaviors/registry/ui/learning/atoms/std-learn-sandbox.orb +405 -153
  78. package/behaviors/registry/ui/learning/atoms/std-learn-scatter-fit.orb +1911 -611
  79. package/behaviors/registry/ui/learning/atoms/std-learn-scenario.orb +436 -128
  80. package/behaviors/registry/ui/learning/atoms/std-learn-sim-3d.orb +2482 -485
  81. package/behaviors/registry/ui/learning/atoms/std-learn-speed-drill.orb +896 -192
  82. package/behaviors/registry/ui/learning/atoms/std-learn-stepper.orb +2001 -759
  83. package/behaviors/registry/ui/learning/atoms/std-learn-tour-3d.orb +734 -228
  84. package/behaviors/registry/ui/learning/atoms/std-learn-trace-player.orb +2501 -764
  85. package/behaviors/registry/ui/learning/atoms/std-learn-transport.orb +1591 -173
  86. package/behaviors/registry/ui/learning/atoms/std-learn-tree.orb +883 -122
  87. package/behaviors/registry/ui/learning/atoms/ui-algo-graph-canvas.orb +176 -0
  88. package/behaviors/registry/ui/learning/atoms/ui-algorithm-canvas.orb +211 -0
  89. package/behaviors/registry/ui/learning/atoms/ui-biology-canvas.orb +211 -0
  90. package/behaviors/registry/ui/learning/atoms/ui-chemistry-canvas.orb +212 -1
  91. package/behaviors/registry/ui/learning/atoms/ui-learning-canvas.orb +212 -1
  92. package/behaviors/registry/ui/learning/atoms/ui-math-canvas.orb +203 -9
  93. package/behaviors/registry/ui/learning/atoms/ui-physics-canvas.orb +211 -0
  94. package/behaviors/signatures.lolo +325 -655
  95. package/dist/behaviors/exports-reader.js +16092 -9747
  96. package/dist/behaviors/functions/index.d.ts +1052 -136
  97. package/dist/behaviors/functions/index.js +16063 -9745
  98. package/dist/behaviors/index.d.ts +1 -1
  99. package/dist/behaviors/index.js +16093 -9748
  100. package/dist/behaviors/query.js +16092 -9747
  101. package/dist/behaviors-embeddings.hash.json +3 -3
  102. package/dist/behaviors-embeddings.json +45 -25
  103. package/dist/behaviors-registry.json +4650 -535
  104. package/dist/index.d.ts +1 -1
  105. package/dist/index.js +16093 -9748
  106. package/dist/knob-embeddings.hash.json +3 -3
  107. package/dist/knob-embeddings.json +607 -263
  108. package/dist/registry/factory-signatures.json +1 -1
  109. package/package.json +3 -3
@@ -247,7 +247,7 @@
247
247
  "type": "number"
248
248
  },
249
249
  "leftColor": {
250
- "default": "#3b82f6",
250
+ "default": "series-1",
251
251
  "label": "Left Color",
252
252
  "tier": "presentation",
253
253
  "type": "string"
@@ -327,7 +327,7 @@
327
327
  "type": "number"
328
328
  },
329
329
  "rightColor": {
330
- "default": "#f59e0b",
330
+ "default": "series-2",
331
331
  "label": "Right Color",
332
332
  "tier": "presentation",
333
333
  "type": "string"
@@ -351,6 +351,13 @@
351
351
  "tier": "presentation",
352
352
  "type": "boolean"
353
353
  },
354
+ "summary": {
355
+ "default": "",
356
+ "description": "One line under the title saying what the learner is looking at (keep it under ~65 characters). Empty shows no line.",
357
+ "label": "Concept",
358
+ "tier": "presentation",
359
+ "type": "string"
360
+ },
354
361
  "title": {
355
362
  "default": "Compare Two Settings",
356
363
  "description": "Title shown above the canvas.",
@@ -1101,14 +1108,72 @@
1101
1108
  {
1102
1109
  "children": [
1103
1110
  {
1104
- "content": "@entity.title",
1105
- "type": "typography",
1106
- "variant": "h4"
1111
+ "align": "start",
1112
+ "children": [
1113
+ {
1114
+ "children": [
1115
+ {
1116
+ "content": "@entity.title",
1117
+ "type": "typography",
1118
+ "variant": "h4"
1119
+ },
1120
+ [
1121
+ "if",
1122
+ [
1123
+ "==",
1124
+ "@config.summary",
1125
+ ""
1126
+ ],
1127
+ null,
1128
+ {
1129
+ "color": "muted",
1130
+ "content": "@config.summary",
1131
+ "type": "typography",
1132
+ "variant": "body2"
1133
+ }
1134
+ ]
1135
+ ],
1136
+ "direction": "vertical",
1137
+ "gap": "xs",
1138
+ "type": "stack"
1139
+ },
1140
+ {
1141
+ "label": [
1142
+ "str/concat",
1143
+ "Δ ",
1144
+ [
1145
+ "math/round",
1146
+ "@entity.delta",
1147
+ 3.0
1148
+ ]
1149
+ ],
1150
+ "type": "badge",
1151
+ "variant": "neutral"
1152
+ }
1153
+ ],
1154
+ "direction": "horizontal",
1155
+ "gap": "md",
1156
+ "justify": "between",
1157
+ "type": "stack"
1107
1158
  },
1108
1159
  {
1109
- "content": "@config.compareText",
1110
- "type": "typography",
1111
- "variant": "body"
1160
+ "animate": false,
1161
+ "curves": "@entity.curves",
1162
+ "gridStep": "@config.gridStep",
1163
+ "height": "@config.height",
1164
+ "interactive": false,
1165
+ "points": [],
1166
+ "shapes": [],
1167
+ "showAxes": "@config.showAxes",
1168
+ "showGrid": "@config.showGrid",
1169
+ "title": "",
1170
+ "type": "math-canvas",
1171
+ "vectors": [],
1172
+ "width": "@config.width",
1173
+ "xMax": "@config.xMax",
1174
+ "xMin": "@config.xMin",
1175
+ "yMax": "@entity.yMax",
1176
+ "yMin": "@entity.yMin"
1112
1177
  },
1113
1178
  {
1114
1179
  "children": [
@@ -1248,25 +1313,12 @@
1248
1313
  "type": "stack"
1249
1314
  },
1250
1315
  {
1251
- "animate": false,
1252
- "curves": "@entity.curves",
1253
- "gridStep": "@config.gridStep",
1254
- "height": "@config.height",
1255
- "interactive": false,
1256
- "points": [],
1257
- "shapes": [],
1258
- "showAxes": "@config.showAxes",
1259
- "showGrid": "@config.showGrid",
1260
- "title": "",
1261
- "type": "math-canvas",
1262
- "vectors": [],
1263
- "width": "@config.width",
1264
- "xMax": "@config.xMax",
1265
- "xMin": "@config.xMin",
1266
- "yMax": "@entity.yMax",
1267
- "yMin": "@entity.yMin"
1316
+ "content": "@config.compareText",
1317
+ "type": "typography",
1318
+ "variant": "body"
1268
1319
  },
1269
1320
  {
1321
+ "color": "muted",
1270
1322
  "content": [
1271
1323
  "str/concat",
1272
1324
  "At x=",
@@ -1299,7 +1351,7 @@
1299
1351
  ]
1300
1352
  ],
1301
1353
  "type": "typography",
1302
- "variant": "body"
1354
+ "variant": "caption"
1303
1355
  }
1304
1356
  ],
1305
1357
  "direction": "vertical",
@@ -1322,6 +1374,43 @@
1322
1374
  ],
1323
1375
  "to": "idle"
1324
1376
  },
1377
+ {
1378
+ "effects": [
1379
+ [
1380
+ "set",
1381
+ "@entity.active",
1382
+ false
1383
+ ],
1384
+ [
1385
+ "render-ui",
1386
+ "main",
1387
+ null
1388
+ ]
1389
+ ],
1390
+ "event": "MODE_SELECTED",
1391
+ "eventId": "evt_01M07580H5Q89M2Z3CM4P6NA63",
1392
+ "from": "idle",
1393
+ "guard": [
1394
+ "and",
1395
+ [
1396
+ "not",
1397
+ [
1398
+ "==",
1399
+ "@config.matchMode",
1400
+ ""
1401
+ ]
1402
+ ],
1403
+ [
1404
+ "not",
1405
+ [
1406
+ "==",
1407
+ "@payload.mode",
1408
+ "@config.matchMode"
1409
+ ]
1410
+ ]
1411
+ ],
1412
+ "to": "idle"
1413
+ },
1325
1414
  {
1326
1415
  "effects": [
1327
1416
  [
@@ -1841,14 +1930,72 @@
1841
1930
  {
1842
1931
  "children": [
1843
1932
  {
1844
- "content": "@entity.title",
1845
- "type": "typography",
1846
- "variant": "h4"
1933
+ "align": "start",
1934
+ "children": [
1935
+ {
1936
+ "children": [
1937
+ {
1938
+ "content": "@entity.title",
1939
+ "type": "typography",
1940
+ "variant": "h4"
1941
+ },
1942
+ [
1943
+ "if",
1944
+ [
1945
+ "==",
1946
+ "@config.summary",
1947
+ ""
1948
+ ],
1949
+ null,
1950
+ {
1951
+ "color": "muted",
1952
+ "content": "@config.summary",
1953
+ "type": "typography",
1954
+ "variant": "body2"
1955
+ }
1956
+ ]
1957
+ ],
1958
+ "direction": "vertical",
1959
+ "gap": "xs",
1960
+ "type": "stack"
1961
+ },
1962
+ {
1963
+ "label": [
1964
+ "str/concat",
1965
+ "Δ ",
1966
+ [
1967
+ "math/round",
1968
+ "@entity.delta",
1969
+ 3.0
1970
+ ]
1971
+ ],
1972
+ "type": "badge",
1973
+ "variant": "neutral"
1974
+ }
1975
+ ],
1976
+ "direction": "horizontal",
1977
+ "gap": "md",
1978
+ "justify": "between",
1979
+ "type": "stack"
1847
1980
  },
1848
1981
  {
1849
- "content": "@config.compareText",
1850
- "type": "typography",
1851
- "variant": "body"
1982
+ "animate": false,
1983
+ "curves": "@entity.curves",
1984
+ "gridStep": "@config.gridStep",
1985
+ "height": "@config.height",
1986
+ "interactive": false,
1987
+ "points": [],
1988
+ "shapes": [],
1989
+ "showAxes": "@config.showAxes",
1990
+ "showGrid": "@config.showGrid",
1991
+ "title": "",
1992
+ "type": "math-canvas",
1993
+ "vectors": [],
1994
+ "width": "@config.width",
1995
+ "xMax": "@config.xMax",
1996
+ "xMin": "@config.xMin",
1997
+ "yMax": "@entity.yMax",
1998
+ "yMin": "@entity.yMin"
1852
1999
  },
1853
2000
  {
1854
2001
  "children": [
@@ -1988,25 +2135,12 @@
1988
2135
  "type": "stack"
1989
2136
  },
1990
2137
  {
1991
- "animate": false,
1992
- "curves": "@entity.curves",
1993
- "gridStep": "@config.gridStep",
1994
- "height": "@config.height",
1995
- "interactive": false,
1996
- "points": [],
1997
- "shapes": [],
1998
- "showAxes": "@config.showAxes",
1999
- "showGrid": "@config.showGrid",
2000
- "title": "",
2001
- "type": "math-canvas",
2002
- "vectors": [],
2003
- "width": "@config.width",
2004
- "xMax": "@config.xMax",
2005
- "xMin": "@config.xMin",
2006
- "yMax": "@entity.yMax",
2007
- "yMin": "@entity.yMin"
2138
+ "content": "@config.compareText",
2139
+ "type": "typography",
2140
+ "variant": "body"
2008
2141
  },
2009
2142
  {
2143
+ "color": "muted",
2010
2144
  "content": [
2011
2145
  "str/concat",
2012
2146
  "At x=",
@@ -2039,7 +2173,7 @@
2039
2173
  ]
2040
2174
  ],
2041
2175
  "type": "typography",
2042
- "variant": "body"
2176
+ "variant": "caption"
2043
2177
  }
2044
2178
  ],
2045
2179
  "direction": "vertical",
@@ -2637,14 +2771,72 @@
2637
2771
  {
2638
2772
  "children": [
2639
2773
  {
2640
- "content": "@entity.title",
2641
- "type": "typography",
2642
- "variant": "h4"
2774
+ "align": "start",
2775
+ "children": [
2776
+ {
2777
+ "children": [
2778
+ {
2779
+ "content": "@entity.title",
2780
+ "type": "typography",
2781
+ "variant": "h4"
2782
+ },
2783
+ [
2784
+ "if",
2785
+ [
2786
+ "==",
2787
+ "@config.summary",
2788
+ ""
2789
+ ],
2790
+ null,
2791
+ {
2792
+ "color": "muted",
2793
+ "content": "@config.summary",
2794
+ "type": "typography",
2795
+ "variant": "body2"
2796
+ }
2797
+ ]
2798
+ ],
2799
+ "direction": "vertical",
2800
+ "gap": "xs",
2801
+ "type": "stack"
2802
+ },
2803
+ {
2804
+ "label": [
2805
+ "str/concat",
2806
+ "Δ ",
2807
+ [
2808
+ "math/round",
2809
+ "@entity.delta",
2810
+ 3.0
2811
+ ]
2812
+ ],
2813
+ "type": "badge",
2814
+ "variant": "neutral"
2815
+ }
2816
+ ],
2817
+ "direction": "horizontal",
2818
+ "gap": "md",
2819
+ "justify": "between",
2820
+ "type": "stack"
2643
2821
  },
2644
2822
  {
2645
- "content": "@config.compareText",
2646
- "type": "typography",
2647
- "variant": "body"
2823
+ "animate": false,
2824
+ "curves": "@entity.curves",
2825
+ "gridStep": "@config.gridStep",
2826
+ "height": "@config.height",
2827
+ "interactive": false,
2828
+ "points": [],
2829
+ "shapes": [],
2830
+ "showAxes": "@config.showAxes",
2831
+ "showGrid": "@config.showGrid",
2832
+ "title": "",
2833
+ "type": "math-canvas",
2834
+ "vectors": [],
2835
+ "width": "@config.width",
2836
+ "xMax": "@config.xMax",
2837
+ "xMin": "@config.xMin",
2838
+ "yMax": "@entity.yMax",
2839
+ "yMin": "@entity.yMin"
2648
2840
  },
2649
2841
  {
2650
2842
  "children": [
@@ -2784,25 +2976,12 @@
2784
2976
  "type": "stack"
2785
2977
  },
2786
2978
  {
2787
- "animate": false,
2788
- "curves": "@entity.curves",
2789
- "gridStep": "@config.gridStep",
2790
- "height": "@config.height",
2791
- "interactive": false,
2792
- "points": [],
2793
- "shapes": [],
2794
- "showAxes": "@config.showAxes",
2795
- "showGrid": "@config.showGrid",
2796
- "title": "",
2797
- "type": "math-canvas",
2798
- "vectors": [],
2799
- "width": "@config.width",
2800
- "xMax": "@config.xMax",
2801
- "xMin": "@config.xMin",
2802
- "yMax": "@entity.yMax",
2803
- "yMin": "@entity.yMin"
2979
+ "content": "@config.compareText",
2980
+ "type": "typography",
2981
+ "variant": "body"
2804
2982
  },
2805
2983
  {
2984
+ "color": "muted",
2806
2985
  "content": [
2807
2986
  "str/concat",
2808
2987
  "At x=",
@@ -2835,7 +3014,7 @@
2835
3014
  ]
2836
3015
  ],
2837
3016
  "type": "typography",
2838
- "variant": "body"
3017
+ "variant": "caption"
2839
3018
  }
2840
3019
  ],
2841
3020
  "direction": "vertical",