@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
@@ -412,6 +412,18 @@
412
412
  {
413
413
  "category": "interaction",
414
414
  "config": {
415
+ "addPlacement": {
416
+ "default": "floating",
417
+ "description": "Where the add-item button sits: 'floating' (default) pins a floating action button to the screen corner; 'inline' renders an ordinary Add button above the columns, for a board embedded in a card or panel.",
418
+ "label": "Add button placement",
419
+ "synonyms": "add button position, floating add, inline add, add item button placement. user phrases: 'put the add button inside the board' / 'no floating button' -> inline",
420
+ "tier": "presentation",
421
+ "type": "string",
422
+ "values": [
423
+ "floating",
424
+ "inline"
425
+ ]
426
+ },
415
427
  "boardLook": {
416
428
  "default": "columns",
417
429
  "description": "Layer 3 body layout: default N-column data-grid ('columns'), or a Trello-style wide-column kanban with sticky column headers ('kanban-classic').",
@@ -426,6 +438,35 @@
426
438
  "bodyContent": {
427
439
  "default": {
428
440
  "children": [
441
+ [
442
+ "if",
443
+ [
444
+ "=",
445
+ "@config.addPlacement",
446
+ "inline"
447
+ ],
448
+ {
449
+ "children": [
450
+ {
451
+ "action": "ADD_CARD",
452
+ "icon": "plus",
453
+ "label": "Add item",
454
+ "size": "sm",
455
+ "type": "button",
456
+ "variant": "secondary"
457
+ }
458
+ ],
459
+ "direction": "horizontal",
460
+ "gap": "sm",
461
+ "justify": "end",
462
+ "type": "stack"
463
+ },
464
+ {
465
+ "children": [],
466
+ "gap": "none",
467
+ "type": "stack"
468
+ }
469
+ ],
429
470
  [
430
471
  "if",
431
472
  "@config.showHeader",
@@ -626,13 +667,26 @@
626
667
  ],
627
668
  "type": "data-grid"
628
669
  },
629
- {
630
- "action": "ADD_CARD",
631
- "icon": "plus",
632
- "label": "Add item",
633
- "type": "floating-action-button",
634
- "variant": "primary"
635
- }
670
+ [
671
+ "if",
672
+ [
673
+ "=",
674
+ "@config.addPlacement",
675
+ "floating"
676
+ ],
677
+ {
678
+ "action": "ADD_CARD",
679
+ "icon": "plus",
680
+ "label": "Add item",
681
+ "type": "floating-action-button",
682
+ "variant": "primary"
683
+ },
684
+ {
685
+ "children": [],
686
+ "gap": "none",
687
+ "type": "stack"
688
+ }
689
+ ]
636
690
  ],
637
691
  "direction": "vertical",
638
692
  "gap": "md",
@@ -958,6 +1012,35 @@
958
1012
  "kanbanClassicBodyContent": {
959
1013
  "default": {
960
1014
  "children": [
1015
+ [
1016
+ "if",
1017
+ [
1018
+ "=",
1019
+ "@config.addPlacement",
1020
+ "inline"
1021
+ ],
1022
+ {
1023
+ "children": [
1024
+ {
1025
+ "action": "ADD_CARD",
1026
+ "icon": "plus",
1027
+ "label": "Add card",
1028
+ "size": "sm",
1029
+ "type": "button",
1030
+ "variant": "secondary"
1031
+ }
1032
+ ],
1033
+ "direction": "horizontal",
1034
+ "gap": "sm",
1035
+ "justify": "end",
1036
+ "type": "stack"
1037
+ },
1038
+ {
1039
+ "children": [],
1040
+ "gap": "none",
1041
+ "type": "stack"
1042
+ }
1043
+ ],
961
1044
  [
962
1045
  "if",
963
1046
  "@config.showHeader",
@@ -1182,13 +1265,26 @@
1182
1265
  "scrollX": true,
1183
1266
  "type": "data-grid"
1184
1267
  },
1185
- {
1186
- "action": "ADD_CARD",
1187
- "icon": "plus",
1188
- "label": "Add card",
1189
- "type": "floating-action-button",
1190
- "variant": "primary"
1191
- }
1268
+ [
1269
+ "if",
1270
+ [
1271
+ "=",
1272
+ "@config.addPlacement",
1273
+ "floating"
1274
+ ],
1275
+ {
1276
+ "action": "ADD_CARD",
1277
+ "icon": "plus",
1278
+ "label": "Add card",
1279
+ "type": "floating-action-button",
1280
+ "variant": "primary"
1281
+ },
1282
+ {
1283
+ "children": [],
1284
+ "gap": "none",
1285
+ "type": "stack"
1286
+ }
1287
+ ]
1192
1288
  ],
1193
1289
  "className": "h-full",
1194
1290
  "direction": "vertical",
@@ -409,6 +409,17 @@
409
409
  "tier": "presentation",
410
410
  "type": "string"
411
411
  },
412
+ "opensAt": {
413
+ "default": "cover",
414
+ "description": "Where the reader opens: the cover, or straight into the first chapter (an article read in place)",
415
+ "label": "Opens at",
416
+ "tier": "presentation",
417
+ "type": "string",
418
+ "values": [
419
+ "cover",
420
+ "reading"
421
+ ]
422
+ },
412
423
  "previousLabel": {
413
424
  "default": "Previous",
414
425
  "label": "Previous button label",
@@ -425,6 +436,29 @@
425
436
  {
426
437
  "align": "start",
427
438
  "children": [
439
+ {
440
+ "className": "text-balance",
441
+ "content": "@config.title",
442
+ "type": "typography",
443
+ "variant": "h5",
444
+ "weight": "semibold"
445
+ },
446
+ {
447
+ "className": [
448
+ "if",
449
+ [
450
+ "==",
451
+ "@config.author",
452
+ ""
453
+ ],
454
+ "hidden",
455
+ "pb-2"
456
+ ],
457
+ "color": "muted",
458
+ "content": "@config.author",
459
+ "type": "typography",
460
+ "variant": "caption"
461
+ },
428
462
  {
429
463
  "action": "BACK_TO_COVER",
430
464
  "label": "@config.coverLabel",
@@ -767,8 +801,93 @@
767
801
  "event": "INIT",
768
802
  "eventId": "evt_01M3B9EHG2JYGWZ0NEKDDJ06CR",
769
803
  "from": "cover",
804
+ "guard": [
805
+ "==",
806
+ "@config.opensAt",
807
+ "cover"
808
+ ],
770
809
  "to": "cover"
771
810
  },
811
+ {
812
+ "effects": [
813
+ [
814
+ "set",
815
+ "@entity.chapterIndex",
816
+ 0.0
817
+ ],
818
+ [
819
+ "set",
820
+ "@entity.chapterTitle",
821
+ [
822
+ "object/get",
823
+ [
824
+ "array/nth",
825
+ "@config.chapters",
826
+ 0.0
827
+ ],
828
+ "title",
829
+ ""
830
+ ]
831
+ ],
832
+ [
833
+ "set",
834
+ "@entity.chapterContent",
835
+ [
836
+ "object/get",
837
+ [
838
+ "array/nth",
839
+ "@config.chapters",
840
+ 0.0
841
+ ],
842
+ "content",
843
+ ""
844
+ ]
845
+ ],
846
+ [
847
+ "set",
848
+ "@entity.isFirst",
849
+ true
850
+ ],
851
+ [
852
+ "set",
853
+ "@entity.isLast",
854
+ [
855
+ "<=",
856
+ [
857
+ "array/len",
858
+ "@config.chapters"
859
+ ],
860
+ 1.0
861
+ ]
862
+ ],
863
+ [
864
+ "set",
865
+ "@entity.progressLabel",
866
+ [
867
+ "str/concat",
868
+ "1 / ",
869
+ [
870
+ "array/len",
871
+ "@config.chapters"
872
+ ]
873
+ ]
874
+ ],
875
+ [
876
+ "render-ui",
877
+ "main",
878
+ "@config.readingContent"
879
+ ]
880
+ ],
881
+ "event": "INIT",
882
+ "eventId": "evt_01M3B9EHG2JYGWZ0NEKDDJ06CR",
883
+ "from": "cover",
884
+ "guard": [
885
+ "==",
886
+ "@config.opensAt",
887
+ "reading"
888
+ ],
889
+ "to": "reading"
890
+ },
772
891
  {
773
892
  "effects": [
774
893
  [
@@ -549,6 +549,21 @@
549
549
  "center",
550
550
  "left"
551
551
  ],
552
+ "className": [
553
+ "if",
554
+ [
555
+ "==",
556
+ [
557
+ "object/get",
558
+ "@item",
559
+ "href",
560
+ ""
561
+ ],
562
+ ""
563
+ ],
564
+ "",
565
+ "hidden"
566
+ ],
552
567
  "content": [
553
568
  "object/get",
554
569
  "@item",
@@ -559,6 +574,52 @@
559
574
  "variant": "h4",
560
575
  "weight": "semibold"
561
576
  },
577
+ {
578
+ "action": "CARD_OPEN",
579
+ "actionPayload": {
580
+ "href": [
581
+ "object/get",
582
+ "@item",
583
+ "href",
584
+ ""
585
+ ],
586
+ "title": [
587
+ "object/get",
588
+ "@item",
589
+ "title",
590
+ ""
591
+ ]
592
+ },
593
+ "className": [
594
+ "if",
595
+ [
596
+ "==",
597
+ [
598
+ "object/get",
599
+ "@item",
600
+ "href",
601
+ ""
602
+ ],
603
+ ""
604
+ ],
605
+ "hidden",
606
+ "text-lg font-semibold text-foreground whitespace-normal text-start"
607
+ ],
608
+ "href": [
609
+ "object/get",
610
+ "@item",
611
+ "href",
612
+ ""
613
+ ],
614
+ "label": [
615
+ "object/get",
616
+ "@item",
617
+ "title",
618
+ ""
619
+ ],
620
+ "type": "button",
621
+ "variant": "link"
622
+ },
562
623
  {
563
624
  "align": [
564
625
  "if",