@almadar/std 16.239.0 → 16.242.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 (167) hide show
  1. package/behaviors/behaviors-registry.json +4814 -553
  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 +134 -0
  8. package/behaviors/lolo/infra/atoms/std-page-treat.lolo +59 -0
  9. package/behaviors/lolo/infra/atoms/std-page-watch.lolo +86 -0
  10. package/behaviors/lolo/ui/core/atoms/std-board.lolo +53 -6
  11. package/behaviors/lolo/ui/core/atoms/std-book-reader.lolo +25 -1
  12. package/behaviors/lolo/ui/core/atoms/std-card-grid.lolo +9 -0
  13. package/behaviors/lolo/ui/core/atoms/std-doc-page.lolo +153 -0
  14. package/behaviors/lolo/ui/core/atoms/std-site-header.lolo +15 -3
  15. package/behaviors/lolo/ui/core/atoms/std-tag-strip.lolo +2 -2
  16. package/behaviors/lolo/ui/core/atoms/std-tag-taxonomy.lolo +7 -7
  17. package/behaviors/lolo/ui/core/atoms/std-version-history.lolo +1 -1
  18. package/behaviors/lolo/ui/core/molecules/ui-header.lolo +5 -0
  19. package/behaviors/lolo/ui/learning/atoms/std-learn-arrangement.lolo +124 -92
  20. package/behaviors/lolo/ui/learning/atoms/std-learn-classify.lolo +114 -55
  21. package/behaviors/lolo/ui/learning/atoms/std-learn-compare.lolo +40 -14
  22. package/behaviors/lolo/ui/learning/atoms/std-learn-coupled-sim.lolo +363 -123
  23. package/behaviors/lolo/ui/learning/atoms/std-learn-derivation.lolo +93 -48
  24. package/behaviors/lolo/ui/learning/atoms/std-learn-diagram.lolo +60 -28
  25. package/behaviors/lolo/ui/learning/atoms/std-learn-doser.lolo +193 -96
  26. package/behaviors/lolo/ui/learning/atoms/std-learn-estimate.lolo +75 -32
  27. package/behaviors/lolo/ui/learning/atoms/std-learn-goal-seek.lolo +142 -86
  28. package/behaviors/lolo/ui/learning/atoms/std-learn-grid-sim.lolo +266 -98
  29. package/behaviors/lolo/ui/learning/atoms/std-learn-hotspot.lolo +103 -65
  30. package/behaviors/lolo/ui/learning/atoms/std-learn-live-sim.lolo +223 -109
  31. package/behaviors/lolo/ui/learning/atoms/std-learn-measure.lolo +232 -64
  32. package/behaviors/lolo/ui/learning/atoms/std-learn-param-explorer.lolo +69 -29
  33. package/behaviors/lolo/ui/learning/atoms/std-learn-perturb.lolo +363 -123
  34. package/behaviors/lolo/ui/learning/atoms/std-learn-predict.lolo +73 -41
  35. package/behaviors/lolo/ui/learning/atoms/std-learn-sample-accumulator.lolo +96 -38
  36. package/behaviors/lolo/ui/learning/atoms/std-learn-sandbox.lolo +65 -45
  37. package/behaviors/lolo/ui/learning/atoms/std-learn-scatter-fit.lolo +243 -117
  38. package/behaviors/lolo/ui/learning/atoms/std-learn-scenario.lolo +76 -28
  39. package/behaviors/lolo/ui/learning/atoms/std-learn-sim-3d.lolo +228 -109
  40. package/behaviors/lolo/ui/learning/atoms/std-learn-speed-drill.lolo +95 -44
  41. package/behaviors/lolo/ui/learning/atoms/std-learn-stepper.lolo +199 -125
  42. package/behaviors/lolo/ui/learning/atoms/std-learn-tour-3d.lolo +92 -48
  43. package/behaviors/lolo/ui/learning/atoms/std-learn-trace-player.lolo +239 -78
  44. package/behaviors/lolo/ui/learning/atoms/std-learn-transport.lolo +147 -38
  45. package/behaviors/lolo/ui/learning/atoms/std-learn-tree.lolo +123 -58
  46. package/behaviors/lolo/ui/learning/atoms/ui-algo-graph-canvas.lolo +22 -0
  47. package/behaviors/lolo/ui/learning/atoms/ui-algorithm-canvas.lolo +26 -0
  48. package/behaviors/lolo/ui/learning/atoms/ui-biology-canvas.lolo +26 -0
  49. package/behaviors/lolo/ui/learning/atoms/ui-chemistry-canvas.lolo +27 -1
  50. package/behaviors/lolo/ui/learning/atoms/ui-learning-canvas.lolo +27 -1
  51. package/behaviors/lolo/ui/learning/atoms/ui-math-canvas.lolo +29 -9
  52. package/behaviors/lolo/ui/learning/atoms/ui-physics-canvas.lolo +26 -0
  53. package/behaviors/lolo-behavior-contracts.json +1 -1
  54. package/behaviors/registry/agent/atoms/std-agent-memory.orb +372 -2
  55. package/behaviors/registry/agent/atoms/std-agent-session.orb +4752 -348
  56. package/behaviors/registry/agent/atoms/std-agent-tool-loop.orb +54 -42
  57. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +356 -122
  58. package/behaviors/registry/factory-signatures.json +1 -1
  59. package/behaviors/registry/infra/atoms/std-page-open.orb +435 -0
  60. package/behaviors/registry/infra/atoms/std-page-search.orb +867 -0
  61. package/behaviors/registry/infra/atoms/std-page-treat.orb +494 -0
  62. package/behaviors/registry/infra/atoms/std-page-watch.orb +554 -0
  63. package/behaviors/registry/ui/core/atoms/std-board.orb +110 -14
  64. package/behaviors/registry/ui/core/atoms/std-book-reader.orb +119 -0
  65. package/behaviors/registry/ui/core/atoms/std-card-grid.orb +61 -0
  66. package/behaviors/registry/ui/core/atoms/std-doc-page.orb +594 -0
  67. package/behaviors/registry/ui/core/atoms/std-site-header.orb +40 -2
  68. package/behaviors/registry/ui/core/atoms/std-tag-strip.orb +2 -0
  69. package/behaviors/registry/ui/core/atoms/std-tag-taxonomy.orb +24 -0
  70. package/behaviors/registry/ui/core/atoms/std-version-history.orb +8 -1
  71. package/behaviors/registry/ui/core/molecules/ui-header.orb +7 -0
  72. package/behaviors/registry/ui/learning/atoms/std-learn-arrangement.orb +903 -369
  73. package/behaviors/registry/ui/learning/atoms/std-learn-classify.orb +1002 -232
  74. package/behaviors/registry/ui/learning/atoms/std-learn-compare.orb +253 -74
  75. package/behaviors/registry/ui/learning/atoms/std-learn-coupled-sim.orb +3624 -921
  76. package/behaviors/registry/ui/learning/atoms/std-learn-derivation.orb +685 -144
  77. package/behaviors/registry/ui/learning/atoms/std-learn-diagram.orb +404 -52
  78. package/behaviors/registry/ui/learning/atoms/std-learn-doser.orb +1787 -210
  79. package/behaviors/registry/ui/learning/atoms/std-learn-estimate.orb +699 -71
  80. package/behaviors/registry/ui/learning/atoms/std-learn-goal-seek.orb +1102 -578
  81. package/behaviors/registry/ui/learning/atoms/std-learn-grid-sim.orb +2760 -872
  82. package/behaviors/registry/ui/learning/atoms/std-learn-hotspot.orb +689 -152
  83. package/behaviors/registry/ui/learning/atoms/std-learn-live-sim.orb +1431 -633
  84. package/behaviors/registry/ui/learning/atoms/std-learn-measure.orb +2485 -512
  85. package/behaviors/registry/ui/learning/atoms/std-learn-param-explorer.orb +501 -197
  86. package/behaviors/registry/ui/learning/atoms/std-learn-perturb.orb +3642 -928
  87. package/behaviors/registry/ui/learning/atoms/std-learn-predict.orb +705 -125
  88. package/behaviors/registry/ui/learning/atoms/std-learn-sample-accumulator.orb +624 -114
  89. package/behaviors/registry/ui/learning/atoms/std-learn-sandbox.orb +405 -153
  90. package/behaviors/registry/ui/learning/atoms/std-learn-scatter-fit.orb +1911 -611
  91. package/behaviors/registry/ui/learning/atoms/std-learn-scenario.orb +436 -128
  92. package/behaviors/registry/ui/learning/atoms/std-learn-sim-3d.orb +2482 -485
  93. package/behaviors/registry/ui/learning/atoms/std-learn-speed-drill.orb +896 -192
  94. package/behaviors/registry/ui/learning/atoms/std-learn-stepper.orb +2001 -759
  95. package/behaviors/registry/ui/learning/atoms/std-learn-tour-3d.orb +734 -228
  96. package/behaviors/registry/ui/learning/atoms/std-learn-trace-player.orb +2501 -764
  97. package/behaviors/registry/ui/learning/atoms/std-learn-transport.orb +1591 -173
  98. package/behaviors/registry/ui/learning/atoms/std-learn-tree.orb +883 -122
  99. package/behaviors/registry/ui/learning/atoms/ui-algo-graph-canvas.orb +176 -0
  100. package/behaviors/registry/ui/learning/atoms/ui-algorithm-canvas.orb +211 -0
  101. package/behaviors/registry/ui/learning/atoms/ui-biology-canvas.orb +211 -0
  102. package/behaviors/registry/ui/learning/atoms/ui-chemistry-canvas.orb +212 -1
  103. package/behaviors/registry/ui/learning/atoms/ui-learning-canvas.orb +212 -1
  104. package/behaviors/registry/ui/learning/atoms/ui-math-canvas.orb +203 -9
  105. package/behaviors/registry/ui/learning/atoms/ui-physics-canvas.orb +211 -0
  106. package/behaviors/signatures.lolo +325 -655
  107. package/canonical-operators.json +35 -1
  108. package/dist/behaviors/exports-reader.js +41980 -35508
  109. package/dist/behaviors/functions/index.d.ts +1063 -140
  110. package/dist/behaviors/functions/index.js +41951 -35506
  111. package/dist/behaviors/index.d.ts +1 -1
  112. package/dist/behaviors/index.js +41981 -35509
  113. package/dist/behaviors/query.js +41980 -35508
  114. package/dist/behaviors-embeddings.hash.json +3 -3
  115. package/dist/behaviors-embeddings.json +47 -27
  116. package/dist/behaviors-registry.json +4814 -553
  117. package/dist/index.d.ts +4 -4
  118. package/dist/index.js +42019 -35509
  119. package/dist/knob-embeddings.hash.json +3 -3
  120. package/dist/knob-embeddings.json +623 -263
  121. package/dist/modules/anim.d.ts +1 -1
  122. package/dist/modules/array.d.ts +1 -1
  123. package/dist/modules/async.d.ts +1 -1
  124. package/dist/modules/behavior.d.ts +1 -1
  125. package/dist/modules/browser.d.ts +1 -1
  126. package/dist/modules/composition.d.ts +1 -1
  127. package/dist/modules/contract.d.ts +1 -1
  128. package/dist/modules/core.d.ts +1 -1
  129. package/dist/modules/core.js +2 -0
  130. package/dist/modules/data.d.ts +1 -1
  131. package/dist/modules/ease.d.ts +1 -1
  132. package/dist/modules/format.d.ts +1 -1
  133. package/dist/modules/geo.d.ts +1 -1
  134. package/dist/modules/graph.d.ts +1 -1
  135. package/dist/modules/grid.d.ts +1 -1
  136. package/dist/modules/i18n.d.ts +17 -0
  137. package/dist/modules/i18n.js +22 -0
  138. package/dist/modules/index.d.ts +2 -1
  139. package/dist/modules/index.js +24 -1
  140. package/dist/modules/integration.d.ts +1 -1
  141. package/dist/modules/json.d.ts +1 -1
  142. package/dist/modules/llm.d.ts +1 -1
  143. package/dist/modules/math.d.ts +1 -1
  144. package/dist/modules/memory.d.ts +1 -1
  145. package/dist/modules/nn.d.ts +1 -1
  146. package/dist/modules/noise.d.ts +1 -1
  147. package/dist/modules/object.d.ts +1 -1
  148. package/dist/modules/os.d.ts +1 -1
  149. package/dist/modules/path.d.ts +1 -1
  150. package/dist/modules/prob.d.ts +1 -1
  151. package/dist/modules/session.d.ts +1 -1
  152. package/dist/modules/str.d.ts +1 -1
  153. package/dist/modules/tensor.d.ts +1 -1
  154. package/dist/modules/time.d.ts +1 -1
  155. package/dist/modules/trace.d.ts +1 -1
  156. package/dist/modules/train.d.ts +1 -1
  157. package/dist/modules/validate.d.ts +1 -1
  158. package/dist/modules/vector.d.ts +1 -1
  159. package/dist/modules/workspace.d.ts +1 -1
  160. package/dist/registry/factory-signatures.json +1 -1
  161. package/dist/registry.d.ts +10 -3
  162. package/dist/registry.js +31 -1
  163. package/dist/{types-DLx38UFZ.d.ts → types-Cdb321uM.d.ts} +9 -3
  164. package/i18n/ar.json +1 -0
  165. package/i18n/en.json +1 -0
  166. package/i18n/sl.json +1 -0
  167. 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,