@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
@@ -594,6 +594,30 @@
594
594
  "tier": "presentation",
595
595
  "type": "boolean"
596
596
  },
597
+ "keyMap": {
598
+ "default": {
599
+ "item": "INIT"
600
+ },
601
+ "description": "Maps a keydown `e.code` (optionally `Mod+`/`Shift+`/`Alt+` prefixed) to a SEMANTIC event emitted as `UI:{event}` — e.g. `{ Space: TOGGLE_RUN, ArrowRight: STEP, KeyR: RESET }`; keystrokes inside inputs never route.",
602
+ "items": {
603
+ "type": "string"
604
+ },
605
+ "label": "Key Map",
606
+ "tier": "presentation",
607
+ "type": "Map<string,string>"
608
+ },
609
+ "keyUpMap": {
610
+ "default": {
611
+ "item": "INIT"
612
+ },
613
+ "description": "Maps a keyup `e.code` to a semantic event emitted as `UI:{event}`.",
614
+ "items": {
615
+ "type": "string"
616
+ },
617
+ "label": "Key Up Map",
618
+ "tier": "presentation",
619
+ "type": "Map<string,string>"
620
+ },
597
621
  "lang": {
598
622
  "description": "Language of this element's content (BCP 47, e.g. ar, sl, en).",
599
623
  "label": "Lang",
@@ -1028,6 +1052,16 @@
1028
1052
  "tier": "presentation",
1029
1053
  "type": "[PhysicsCanvasSceneObjectsItem]"
1030
1054
  },
1055
+ "series": {
1056
+ "default": [],
1057
+ "description": "Overrides the theme's categorical palette (`series-1…N`) for this canvas — real-world conventions like CPK atom colors or resistor bands. Unset, the theme's `--color-series-*` apply.",
1058
+ "items": {
1059
+ "type": "string"
1060
+ },
1061
+ "label": "Series",
1062
+ "tier": "presentation",
1063
+ "type": "[string]"
1064
+ },
1031
1065
  "shadows": {
1032
1066
  "description": "3D only: enable shadows. Omitted → the host default.",
1033
1067
  "label": "Shadows",
@@ -1083,6 +1117,56 @@
1083
1117
  "required": false,
1084
1118
  "type": "string"
1085
1119
  },
1120
+ "fillStyle": {
1121
+ "name": "fillStyle",
1122
+ "required": false,
1123
+ "type": "string",
1124
+ "values": [
1125
+ "solid",
1126
+ "tint",
1127
+ "outline",
1128
+ "hatch"
1129
+ ]
1130
+ },
1131
+ "fillTone": {
1132
+ "name": "fillTone",
1133
+ "required": false,
1134
+ "type": "string",
1135
+ "values": [
1136
+ "ink",
1137
+ "label",
1138
+ "guide",
1139
+ "axis",
1140
+ "grid",
1141
+ "highlight",
1142
+ "fill",
1143
+ "series-1",
1144
+ "series-2",
1145
+ "series-3",
1146
+ "series-4",
1147
+ "series-5",
1148
+ "series-6",
1149
+ "series-7",
1150
+ "series-8",
1151
+ "primary",
1152
+ "accent",
1153
+ "success",
1154
+ "warning",
1155
+ "error",
1156
+ "info",
1157
+ "muted"
1158
+ ]
1159
+ },
1160
+ "font": {
1161
+ "name": "font",
1162
+ "required": false,
1163
+ "type": "string",
1164
+ "values": [
1165
+ "body",
1166
+ "display",
1167
+ "mono"
1168
+ ]
1169
+ },
1086
1170
  "fontFamily": {
1087
1171
  "name": "fontFamily",
1088
1172
  "required": false,
@@ -1184,11 +1268,72 @@
1184
1268
  "required": false,
1185
1269
  "type": "number"
1186
1270
  },
1271
+ "stroke": {
1272
+ "name": "stroke",
1273
+ "required": false,
1274
+ "type": "string",
1275
+ "values": [
1276
+ "thin",
1277
+ "normal",
1278
+ "bold"
1279
+ ]
1280
+ },
1187
1281
  "text": {
1188
1282
  "name": "text",
1189
1283
  "required": false,
1190
1284
  "type": "string"
1191
1285
  },
1286
+ "textCase": {
1287
+ "name": "textCase",
1288
+ "required": false,
1289
+ "type": "string",
1290
+ "values": [
1291
+ "theme",
1292
+ "verbatim"
1293
+ ]
1294
+ },
1295
+ "textSize": {
1296
+ "name": "textSize",
1297
+ "required": false,
1298
+ "type": "string",
1299
+ "values": [
1300
+ "xs",
1301
+ "sm",
1302
+ "base",
1303
+ "lg",
1304
+ "xl",
1305
+ "2xl"
1306
+ ]
1307
+ },
1308
+ "tone": {
1309
+ "name": "tone",
1310
+ "required": false,
1311
+ "type": "string",
1312
+ "values": [
1313
+ "ink",
1314
+ "label",
1315
+ "guide",
1316
+ "axis",
1317
+ "grid",
1318
+ "highlight",
1319
+ "fill",
1320
+ "series-1",
1321
+ "series-2",
1322
+ "series-3",
1323
+ "series-4",
1324
+ "series-5",
1325
+ "series-6",
1326
+ "series-7",
1327
+ "series-8",
1328
+ "primary",
1329
+ "accent",
1330
+ "success",
1331
+ "warning",
1332
+ "error",
1333
+ "info",
1334
+ "muted"
1335
+ ]
1336
+ },
1192
1337
  "type": {
1193
1338
  "name": "type",
1194
1339
  "required": true,
@@ -1742,6 +1887,10 @@
1742
1887
  "key": "UPDATE",
1743
1888
  "name": "Update",
1744
1889
  "payloadSchema": [
1890
+ {
1891
+ "name": "series",
1892
+ "type": "[string]"
1893
+ },
1745
1894
  {
1746
1895
  "name": "bodies",
1747
1896
  "properties": [
@@ -2087,6 +2236,34 @@
2087
2236
  {
2088
2237
  "name": "shapes",
2089
2238
  "properties": [
2239
+ {
2240
+ "name": "tone",
2241
+ "type": "string"
2242
+ },
2243
+ {
2244
+ "name": "fillTone",
2245
+ "type": "string"
2246
+ },
2247
+ {
2248
+ "name": "stroke",
2249
+ "type": "string"
2250
+ },
2251
+ {
2252
+ "name": "textSize",
2253
+ "type": "string"
2254
+ },
2255
+ {
2256
+ "name": "font",
2257
+ "type": "string"
2258
+ },
2259
+ {
2260
+ "name": "textCase",
2261
+ "type": "string"
2262
+ },
2263
+ {
2264
+ "name": "fillStyle",
2265
+ "type": "string"
2266
+ },
2090
2267
  {
2091
2268
  "name": "type",
2092
2269
  "required": true,
@@ -2393,6 +2570,8 @@
2393
2570
  "height": "@config.height",
2394
2571
  "interactive": "@config.interactive",
2395
2572
  "isLoading": "@config.isLoading",
2573
+ "keyMap": "@config.keyMap",
2574
+ "keyUpMap": "@config.keyUpMap",
2396
2575
  "lang": "@config.lang",
2397
2576
  "lighting": "@config.lighting",
2398
2577
  "meters": "@config.meters",
@@ -2402,6 +2581,7 @@
2402
2581
  "readouts": "@config.readouts",
2403
2582
  "role": "@config.role",
2404
2583
  "sceneObjects": "@config.sceneObjects",
2584
+ "series": "@config.series",
2405
2585
  "shadows": "@config.shadows",
2406
2586
  "shapes": "@config.shapes",
2407
2587
  "showForces": "@config.showForces",
@@ -2459,6 +2639,8 @@
2459
2639
  "height": "@config.height",
2460
2640
  "interactive": "@config.interactive",
2461
2641
  "isLoading": "@config.isLoading",
2642
+ "keyMap": "@config.keyMap",
2643
+ "keyUpMap": "@config.keyUpMap",
2462
2644
  "lang": "@config.lang",
2463
2645
  "lighting": "@config.lighting",
2464
2646
  "meters": "@payload.meters",
@@ -2468,6 +2650,7 @@
2468
2650
  "readouts": "@payload.readouts",
2469
2651
  "role": "@config.role",
2470
2652
  "sceneObjects": "@payload.sceneObjects",
2653
+ "series": "@payload.series",
2471
2654
  "shadows": "@config.shadows",
2472
2655
  "shapes": "@payload.shapes",
2473
2656
  "showForces": "@config.showForces",
@@ -3077,6 +3260,34 @@
3077
3260
  }
3078
3261
  ],
3079
3262
  "PhysicsCanvasShapesItem": [
3263
+ {
3264
+ "name": "tone",
3265
+ "type": "string"
3266
+ },
3267
+ {
3268
+ "name": "fillTone",
3269
+ "type": "string"
3270
+ },
3271
+ {
3272
+ "name": "stroke",
3273
+ "type": "string"
3274
+ },
3275
+ {
3276
+ "name": "textSize",
3277
+ "type": "string"
3278
+ },
3279
+ {
3280
+ "name": "font",
3281
+ "type": "string"
3282
+ },
3283
+ {
3284
+ "name": "textCase",
3285
+ "type": "string"
3286
+ },
3287
+ {
3288
+ "name": "fillStyle",
3289
+ "type": "string"
3290
+ },
3080
3291
  {
3081
3292
  "name": "type",
3082
3293
  "required": true,