@almadar/std 16.202.0 → 16.204.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 (64) hide show
  1. package/behaviors/lolo/ui/core/atoms/std-modal-editor.lolo +230 -0
  2. package/behaviors/lolo/ui/core/molecules/ui-code-block.lolo +302 -0
  3. package/behaviors/lolo/ui/core/molecules/ui-pagination.lolo +1 -1
  4. package/behaviors/lolo/ui/core/molecules/ui-table-view.lolo +1 -1
  5. package/behaviors/lolo/ui/game/atoms/std-choice-gate.lolo +1 -1
  6. package/behaviors/lolo/ui/game/atoms/std-fx-narrative.lolo +1 -1
  7. package/behaviors/lolo/ui/game/atoms/std-fx-particles.lolo +1 -1
  8. package/behaviors/lolo/ui/game/atoms/std-game-design-sheet.lolo +69 -0
  9. package/behaviors/lolo/ui/game/atoms/std-gate-lock.lolo +1 -1
  10. package/behaviors/lolo/ui/game/atoms/std-lives.lolo +1 -1
  11. package/behaviors/lolo/ui/game/atoms/std-loop-lock.lolo +1 -1
  12. package/behaviors/lolo/ui/game/atoms/std-objective-flow.lolo +1 -1
  13. package/behaviors/lolo/ui/game/atoms/std-pad-lock.lolo +1 -1
  14. package/behaviors/lolo/ui/game/atoms/std-patrol-hazard.lolo +1 -1
  15. package/behaviors/lolo/ui/game/atoms/std-pickup.lolo +1 -1
  16. package/behaviors/lolo/ui/game/atoms/std-platformer-body.lolo +1 -1
  17. package/behaviors/lolo/ui/game/atoms/std-tutorial-overlay.lolo +1 -1
  18. package/behaviors/lolo/ui/game/atoms/std-velocity-gate.lolo +1 -1
  19. package/behaviors/lolo/ui/learning/atoms/ui-algo-graph-canvas.lolo +1 -1
  20. package/behaviors/lolo/ui/learning/atoms/ui-algorithm-canvas.lolo +1 -1
  21. package/behaviors/lolo/ui/learning/atoms/ui-biology-canvas.lolo +1 -1
  22. package/behaviors/lolo/ui/learning/atoms/ui-chemistry-canvas.lolo +1 -1
  23. package/behaviors/lolo/ui/learning/atoms/ui-learning-canvas.lolo +1 -1
  24. package/behaviors/lolo/ui/learning/atoms/ui-math-canvas.lolo +3 -3
  25. package/behaviors/lolo/ui/learning/atoms/ui-physics-canvas.lolo +1 -1
  26. package/behaviors/registry/ui/core/atoms/std-modal-editor.orb +1450 -0
  27. package/behaviors/registry/ui/core/molecules/ui-code-block.orb +687 -1
  28. package/behaviors/registry/ui/core/molecules/ui-pagination.orb +6 -1
  29. package/behaviors/registry/ui/game/atoms/std-choice-gate.orb +82 -2
  30. package/behaviors/registry/ui/game/atoms/std-fx-narrative.orb +1 -1
  31. package/behaviors/registry/ui/game/atoms/std-fx-particles.orb +82 -2
  32. package/behaviors/registry/ui/game/atoms/std-game-design-sheet.orb +527 -0
  33. package/behaviors/registry/ui/game/atoms/std-gate-lock.orb +48 -2
  34. package/behaviors/registry/ui/game/atoms/std-lives.orb +26 -2
  35. package/behaviors/registry/ui/game/atoms/std-loop-lock.orb +56 -2
  36. package/behaviors/registry/ui/game/atoms/std-objective-flow.orb +1 -1
  37. package/behaviors/registry/ui/game/atoms/std-pad-lock.orb +30 -2
  38. package/behaviors/registry/ui/game/atoms/std-patrol-hazard.orb +63 -2
  39. package/behaviors/registry/ui/game/atoms/std-pickup.orb +1 -1
  40. package/behaviors/registry/ui/game/atoms/std-platformer-body.orb +1 -1
  41. package/behaviors/registry/ui/game/atoms/std-tutorial-overlay.orb +24 -2
  42. package/behaviors/registry/ui/game/atoms/std-velocity-gate.orb +75 -2
  43. package/behaviors/registry/ui/learning/atoms/ui-algo-graph-canvas.orb +1 -0
  44. package/behaviors/registry/ui/learning/atoms/ui-algorithm-canvas.orb +1 -0
  45. package/behaviors/registry/ui/learning/atoms/ui-biology-canvas.orb +1 -0
  46. package/behaviors/registry/ui/learning/atoms/ui-chemistry-canvas.orb +1 -0
  47. package/behaviors/registry/ui/learning/atoms/ui-learning-canvas.orb +1 -0
  48. package/behaviors/registry/ui/learning/atoms/ui-math-canvas.orb +3 -0
  49. package/behaviors/registry/ui/learning/atoms/ui-physics-canvas.orb +1 -0
  50. package/dist/behaviors/exports-reader.js +2589 -2501
  51. package/dist/behaviors/functions/index.d.ts +244 -16
  52. package/dist/behaviors/functions/index.js +2584 -2502
  53. package/dist/behaviors/index.d.ts +1 -1
  54. package/dist/behaviors/index.js +2590 -2502
  55. package/dist/behaviors/query.js +2589 -2501
  56. package/dist/behaviors-embeddings.hash.json +3 -3
  57. package/dist/behaviors-embeddings.json +35 -27
  58. package/dist/behaviors-registry.json +1729 -212
  59. package/dist/index.d.ts +1 -1
  60. package/dist/index.js +2590 -2502
  61. package/dist/knob-embeddings.hash.json +3 -3
  62. package/dist/knob-embeddings.json +1 -1
  63. package/dist/registry/factory-signatures.json +1 -1
  64. package/package.json +2 -2
@@ -167,7 +167,12 @@
167
167
  "type": "event"
168
168
  },
169
169
  "pageSizeOptions": {
170
- "default": [],
170
+ "default": [
171
+ 10.0,
172
+ 20.0,
173
+ 50.0,
174
+ 100.0
175
+ ],
171
176
  "description": "Page size options",
172
177
  "items": {
173
178
  "type": "number"
@@ -1,5 +1,5 @@
1
1
  {
2
- "description": "Headless choice-gate mechanic for side-view boards: a gate of N labeled option platforms where progress stops until the player commits to an answer. Listens BODY_MOVED and judges a gate when the player stands grounded on one of its option platforms (|dx| <= reachX of the option center, |dy| <= reachY of the gate's option plane — the pad-lock touch pattern): the correct option stamps the gate solved + chosen on the shared entity and emits CHOICE_CORRECT once (a solved gate never judges again, so the path stays open); a wrong option emits CHOICE_WRONG carrying the gate id, the chosen optionId, and the option's world position, so the board can bounce the player back and float the gate's hint (the board owns the bounce — the atom only reports). RESTART unsolves every gate. Renders nothing; boards draw the option platforms and labels from the shared entity (the render authority).",
2
+ "description": "Headless choice-gate mechanic for side-view boards: a gate of N labeled option platforms where progress stops until the player commits to an answer. Listens BODY_MOVED and judges a gate when the player stands grounded on one of its option platforms (|dx| <= reachX of the option center, |dy| <= reachY of the gate's option plane — the pad-lock touch pattern): the correct option stamps the gate solved + chosen on the shared entity and emits CHOICE_CORRECT once (a solved gate never judges again, so the path stays open); a wrong option emits CHOICE_WRONG carrying the gate id, the chosen optionId, and the option's world position, so the board can bounce the player back and float the gate's hint (the board owns the bounce — the atom only reports). RESTART unsolves every gate. Renders nothing; boards draw the option platforms and labels from the shared entity (the render authority). Corresponds to the design-sheet field(s): challenge, agency.",
3
3
  "ledger": {
4
4
  "entries": {
5
5
  "ent_01M144Y1KF1D8W68N3195C53AC": {
@@ -847,7 +847,87 @@
847
847
  ]
848
848
  }
849
849
  }
850
- ]
850
+ ],
851
+ "types": {
852
+ "ChoiceGate": [
853
+ {
854
+ "name": "id",
855
+ "required": true,
856
+ "type": "string"
857
+ },
858
+ {
859
+ "name": "x",
860
+ "required": true,
861
+ "type": "number"
862
+ },
863
+ {
864
+ "name": "y",
865
+ "required": true,
866
+ "type": "number"
867
+ },
868
+ {
869
+ "name": "hint",
870
+ "type": "string"
871
+ },
872
+ {
873
+ "name": "options",
874
+ "properties": [
875
+ {
876
+ "name": "id",
877
+ "required": true,
878
+ "type": "string"
879
+ },
880
+ {
881
+ "name": "dx",
882
+ "required": true,
883
+ "type": "number"
884
+ },
885
+ {
886
+ "name": "label",
887
+ "required": true,
888
+ "type": "string"
889
+ },
890
+ {
891
+ "name": "correct",
892
+ "required": true,
893
+ "type": "boolean"
894
+ }
895
+ ],
896
+ "required": true,
897
+ "type": "[object]"
898
+ },
899
+ {
900
+ "name": "solved",
901
+ "type": "boolean"
902
+ },
903
+ {
904
+ "name": "chosen",
905
+ "type": "string"
906
+ }
907
+ ],
908
+ "ChoiceOption": [
909
+ {
910
+ "name": "id",
911
+ "required": true,
912
+ "type": "string"
913
+ },
914
+ {
915
+ "name": "dx",
916
+ "required": true,
917
+ "type": "number"
918
+ },
919
+ {
920
+ "name": "label",
921
+ "required": true,
922
+ "type": "string"
923
+ },
924
+ {
925
+ "name": "correct",
926
+ "required": true,
927
+ "type": "boolean"
928
+ }
929
+ ]
930
+ }
851
931
  }
852
932
  ],
853
933
  "schemaVersion": 1,
@@ -1,5 +1,5 @@
1
1
  {
2
- "description": "Headless pedagogy→fx translator for game boards and learning shells: turns high-level narrative events into big transient screen-space or world-space text effects consumed by std-fx-particles / fx-overlay. Levels emit NARRATE { text, style } and get a correctly styled, centered (or positioned) floating text burst without hand-rolling particle structs. Tutorials emit TUTORIAL_SHOW and the atom forwards SHOW to a composed std-tutorial-overlay trait. Renders nothing; centralizes the FX vocabulary so every level's teaching text looks and behaves the same.",
2
+ "description": "Headless pedagogy→fx translator for game boards and learning shells: turns high-level narrative events into big transient screen-space or world-space text effects consumed by std-fx-particles / fx-overlay. Levels emit NARRATE { text, style } and get a correctly styled, centered (or positioned) floating text burst without hand-rolling particle structs. Tutorials emit TUTORIAL_SHOW and the atom forwards SHOW to a composed std-tutorial-overlay trait. Renders nothing; centralizes the FX vocabulary so every level's teaching text looks and behaves the same. Corresponds to the design-sheet field(s): feedback.",
3
3
  "ledger": {
4
4
  "entries": {
5
5
  "ent_01M1GXD11PARSZADDZ8Y7G9B7Q": {
@@ -1,5 +1,5 @@
1
1
  {
2
- "description": "Headless transient-fx mechanic serving BOTH game boards and learning shells: appends spawned particles on BURST — stamping maxTtl (fade envelope) and bornAt (epoch ms, smooth render interpolation) when absent — decays each entry's ttl every tick, drops the dead ones, and clears on RESTART. Name-blind mechanism: the effect-kind vocabulary is consumer-declared (FxPreset tables at the render call sites). Composed onto a [runtime, shared] entity; renders nothing — the board/shell owns the single render authority (draw-fx-layer for space \"world\", fx-overlay for space \"screen\").",
2
+ "description": "Headless transient-fx mechanic serving BOTH game boards and learning shells: appends spawned particles on BURST — stamping maxTtl (fade envelope) and bornAt (epoch ms, smooth render interpolation) when absent — decays each entry's ttl every tick, drops the dead ones, and clears on RESTART. Name-blind mechanism: the effect-kind vocabulary is consumer-declared (FxPreset tables at the render call sites). Composed onto a [runtime, shared] entity; renders nothing — the board/shell owns the single render authority (draw-fx-layer for space \"world\", fx-overlay for space \"screen\"). Corresponds to the design-sheet field(s): feedback, rewards.",
3
3
  "ledger": {
4
4
  "entries": {
5
5
  "ent_01KXG04TFZP9QXE9KF516SP9KC": {
@@ -643,7 +643,87 @@
643
643
  }
644
644
  ]
645
645
  }
646
- ]
646
+ ],
647
+ "types": {
648
+ "Fx": [
649
+ {
650
+ "name": "id",
651
+ "required": true,
652
+ "type": "string"
653
+ },
654
+ {
655
+ "name": "type",
656
+ "required": true,
657
+ "type": "string"
658
+ },
659
+ {
660
+ "name": "x",
661
+ "required": true,
662
+ "type": "number"
663
+ },
664
+ {
665
+ "name": "z",
666
+ "type": "number"
667
+ },
668
+ {
669
+ "name": "y",
670
+ "type": "number"
671
+ },
672
+ {
673
+ "name": "message",
674
+ "type": "string"
675
+ },
676
+ {
677
+ "name": "ttl",
678
+ "required": true,
679
+ "type": "number"
680
+ },
681
+ {
682
+ "name": "maxTtl",
683
+ "type": "number"
684
+ },
685
+ {
686
+ "name": "bornAt",
687
+ "type": "number"
688
+ },
689
+ {
690
+ "name": "space",
691
+ "type": "string"
692
+ },
693
+ {
694
+ "name": "effect",
695
+ "type": "string"
696
+ },
697
+ {
698
+ "name": "color",
699
+ "type": "string"
700
+ },
701
+ {
702
+ "name": "size",
703
+ "type": "number"
704
+ },
705
+ {
706
+ "name": "vx",
707
+ "type": "number"
708
+ },
709
+ {
710
+ "name": "vy",
711
+ "type": "number"
712
+ },
713
+ {
714
+ "name": "vz",
715
+ "type": "number"
716
+ },
717
+ {
718
+ "name": "particleCount",
719
+ "type": "number"
720
+ },
721
+ {
722
+ "name": "animation",
723
+ "type": "string"
724
+ }
725
+ ]
726
+ }
647
727
  }
648
728
  ],
649
729
  "schemaVersion": 1,