@almadar/std 16.186.0 → 16.188.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 (83) hide show
  1. package/behaviors/lolo/ui/core/.hand-authored.json +4 -0
  2. package/behaviors/lolo/ui/core/atoms/std-board.lolo +138 -4
  3. package/behaviors/lolo/ui/core/atoms/std-browse.lolo +148 -8
  4. package/behaviors/lolo/ui/core/atoms/std-calendar.lolo +141 -3
  5. package/behaviors/lolo/ui/core/atoms/std-event-log.lolo +255 -2
  6. package/behaviors/lolo/ui/core/atoms/std-gallery.lolo +148 -1
  7. package/behaviors/lolo/ui/core/atoms/std-list.lolo +193 -1
  8. package/behaviors/lolo/ui/core/atoms/std-record-detail.lolo +329 -0
  9. package/behaviors/lolo/ui/core/atoms/std-selection.lolo +182 -1
  10. package/behaviors/lolo/ui/core/atoms/std-tree.lolo +113 -3
  11. package/behaviors/lolo/ui/game/atoms/std-area-fill.lolo +93 -0
  12. package/behaviors/lolo/ui/game/atoms/std-loop-lock.lolo +79 -0
  13. package/behaviors/lolo/ui/game/atoms/std-pad-lock.lolo +93 -0
  14. package/behaviors/lolo/ui/game/atoms/std-patrol-hazard.lolo +14 -7
  15. package/behaviors/lolo/ui/game/atoms/std-platformer-body.lolo +21 -4
  16. package/behaviors/lolo/ui/game/atoms/std-velocity-gate.lolo +101 -0
  17. package/behaviors/registry/infra/atoms/std-approval-gate.orb +16 -8
  18. package/behaviors/registry/infra/atoms/std-cache-aside.orb +62 -31
  19. package/behaviors/registry/infra/atoms/std-circuit-breaker.orb +32 -16
  20. package/behaviors/registry/infra/atoms/std-data-erasure.orb +16 -8
  21. package/behaviors/registry/infra/atoms/std-mod-queue.orb +16 -8
  22. package/behaviors/registry/infra/atoms/std-rate-limiter.orb +28 -14
  23. package/behaviors/registry/infra/organisms/std-status-lifecycle-control.orb +2 -1
  24. package/behaviors/registry/ml/organisms/std-escalating-decision.orb +10 -5
  25. package/behaviors/registry/ml/organisms/std-knowledge-tracing.orb +4 -2
  26. package/behaviors/registry/ui/core/atoms/std-billable-hour.orb +2 -1
  27. package/behaviors/registry/ui/core/atoms/std-board.orb +355 -2
  28. package/behaviors/registry/ui/core/atoms/std-browse.orb +304 -31
  29. package/behaviors/registry/ui/core/atoms/std-calendar.orb +344 -0
  30. package/behaviors/registry/ui/core/atoms/std-dashboard-grid-embedded.orb +2 -1
  31. package/behaviors/registry/ui/core/atoms/std-esign-flow.orb +4 -2
  32. package/behaviors/registry/ui/core/atoms/std-esign-request.orb +6 -3
  33. package/behaviors/registry/ui/core/atoms/std-event-log.orb +773 -0
  34. package/behaviors/registry/ui/core/atoms/std-export.orb +4 -2
  35. package/behaviors/registry/ui/core/atoms/std-gallery.orb +390 -0
  36. package/behaviors/registry/ui/core/atoms/std-import.orb +4 -2
  37. package/behaviors/registry/ui/core/atoms/std-list.orb +451 -0
  38. package/behaviors/registry/ui/core/atoms/std-record-detail.orb +1141 -0
  39. package/behaviors/registry/ui/core/atoms/std-selection.orb +436 -0
  40. package/behaviors/registry/ui/core/atoms/std-tree.orb +292 -1
  41. package/behaviors/registry/ui/game/atoms/std-area-fill.orb +955 -0
  42. package/behaviors/registry/ui/game/atoms/std-fx-trail.orb +1 -1
  43. package/behaviors/registry/ui/game/atoms/std-gate-lock.orb +1 -1
  44. package/behaviors/registry/ui/game/atoms/std-lives.orb +1 -1
  45. package/behaviors/registry/ui/game/atoms/std-loop-lock.orb +785 -0
  46. package/behaviors/registry/ui/game/atoms/std-pad-lock.orb +903 -0
  47. package/behaviors/registry/ui/game/atoms/std-patrol-hazard.orb +190 -44
  48. package/behaviors/registry/ui/game/atoms/std-platformer-body.orb +868 -637
  49. package/behaviors/registry/ui/game/atoms/std-velocity-gate.orb +1040 -0
  50. package/behaviors/registry/ui/game/organisms/std-arcade-board-3d.orb +8 -4
  51. package/behaviors/registry/ui/game/organisms/std-crew-board-2d.orb +6 -3
  52. package/behaviors/registry/ui/game/organisms/std-dungeon-board-2d.orb +10 -5
  53. package/behaviors/registry/ui/game/organisms/std-market-board-3d.orb +8 -4
  54. package/behaviors/registry/ui/game/organisms/std-objective-board-3d.orb +8 -4
  55. package/behaviors/registry/ui/game/organisms/std-platformer-board-2d.orb +7 -4
  56. package/behaviors/registry/ui/game/organisms/std-survival-board-3d.orb +8 -4
  57. package/behaviors/registry/ui/game/organisms/std-tactics-board-2d.orb +12 -6
  58. package/behaviors/registry/ui/game/organisms/std-tactics-board-3d.orb +8 -4
  59. package/behaviors/registry/ui/game/organisms/std-worldmap-board-2d.orb +6 -3
  60. package/behaviors/registry/ui/learning/atoms/std-learn-slope-probe.orb +1 -1
  61. package/behaviors/registry/ui/marketing/atoms/std-marketing-article.orb +2 -1
  62. package/behaviors/registry/ui/marketing/atoms/std-marketing-footer.orb +2 -1
  63. package/behaviors/registry/ui/marketing/atoms/std-marketing-split.orb +2 -1
  64. package/behaviors/registry/ui/marketing/atoms/std-marketing-stats.orb +2 -1
  65. package/behaviors/registry/ui/marketing/atoms/std-marketing-steps.orb +2 -1
  66. package/behaviors/registry/ui/marketing/atoms/std-marketing-team.orb +2 -1
  67. package/dist/behaviors/exports-reader.js +7822 -3996
  68. package/dist/behaviors/functions/index.d.ts +598 -270
  69. package/dist/behaviors/functions/index.js +7805 -3989
  70. package/dist/behaviors/index.d.ts +1 -1
  71. package/dist/behaviors/index.js +7823 -3997
  72. package/dist/behaviors/query.js +7822 -3996
  73. package/dist/behaviors-embeddings.hash.json +3 -3
  74. package/dist/behaviors-embeddings.json +535 -519
  75. package/dist/behaviors-registry.json +2877 -2268
  76. package/dist/index.d.ts +1 -1
  77. package/dist/index.js +7823 -3997
  78. package/dist/knob-embeddings.hash.json +3 -3
  79. package/dist/knob-embeddings.json +1 -1
  80. package/dist/registry/factory-signatures.json +1 -1
  81. package/package.json +1 -1
  82. package/behaviors/lolo/ui/core/organisms/ui-ui-slot-renderer.lolo +0 -71
  83. package/behaviors/registry/ui/core/organisms/ui-ui-slot-renderer.orb +0 -234
@@ -1,5 +1,5 @@
1
1
  {
2
- "description": "Headless patrol-hazard mechanic for side-view boards: moves each configured patrol back and forth along its [x0, x1] beat at its own speed (33ms tick, ping-pong with clamped turnarounds), tracks the player position off the body authority's BODY_MOVED, and emits PATROL_HIT once per contact — a per-patrol hit flag re-arms only after the player separates, so damage rules stay sparse (when two patrols connect on the same tick the first reports; the other reports on the next tick). Patrols live on a [runtime, shared] entity for the render layer (boards draw them as markers/sprites); damage, lives, and respawn stay downstream (std-lives) — this atom simulates, it never judges. Renders nothing.",
2
+ "description": "Headless patrol-hazard mechanic for side-view boards: moves each configured patrol back and forth along its [x0, x1] beat at its own speed (33ms tick, ping-pong with clamped turnarounds; a patrol declaring waveAmp/wavePeriod also bobs vertically — cy = y + waveAmp·sin(2πt/wavePeriod from a per-row time accumulator — and the hit test and render read cy, so a waveAmp of 0 keeps the flat beat), tracks the player position off the body authority's BODY_MOVED, and emits PATROL_HIT once per contact — a per-patrol hit flag re-arms only after the player separates, so damage rules stay sparse (when two patrols connect on the same tick the first reports; the other reports on the next tick). Patrols live on a [runtime, shared] entity for the render layer (boards draw them as markers/sprites); damage, lives, and respawn stay downstream (std-lives) — this atom simulates, it never judges. Renders nothing.",
3
3
  "ledger": {
4
4
  "entries": {
5
5
  "ent_01M0PCAKKXX0TFABTMPC8BNH64": {
@@ -87,6 +87,11 @@
87
87
  "default": [],
88
88
  "items": {
89
89
  "properties": {
90
+ "cy": {
91
+ "name": "cy",
92
+ "required": false,
93
+ "type": "number"
94
+ },
90
95
  "dir": {
91
96
  "name": "dir",
92
97
  "required": false,
@@ -107,11 +112,26 @@
107
112
  "required": true,
108
113
  "type": "number"
109
114
  },
115
+ "t": {
116
+ "name": "t",
117
+ "required": false,
118
+ "type": "number"
119
+ },
110
120
  "touching": {
111
121
  "name": "touching",
112
122
  "required": false,
113
123
  "type": "boolean"
114
124
  },
125
+ "waveAmp": {
126
+ "name": "waveAmp",
127
+ "required": false,
128
+ "type": "number"
129
+ },
130
+ "wavePeriod": {
131
+ "name": "wavePeriod",
132
+ "required": false,
133
+ "type": "number"
134
+ },
115
135
  "x": {
116
136
  "name": "x",
117
137
  "required": false,
@@ -182,9 +202,14 @@
182
202
  },
183
203
  "patrols": {
184
204
  "default": [],
185
- "description": "One row per patroller: id, the [x0, x1] beat it walks, its fixed y, and its speed in units/s. Current x/dir/touching/hit are stamped at runtime.",
205
+ "description": "One row per patroller: id, the [x0, x1] beat it walks, its base y, its speed in units/s, and optionally waveAmp/wavePeriod for a vertical sine bob (waveAmp 0 = flat ping-pong). Current x/dir/t/cy/touching/hit are stamped at runtime.",
186
206
  "items": {
187
207
  "properties": {
208
+ "cy": {
209
+ "name": "cy",
210
+ "required": false,
211
+ "type": "number"
212
+ },
188
213
  "dir": {
189
214
  "name": "dir",
190
215
  "required": false,
@@ -205,11 +230,26 @@
205
230
  "required": true,
206
231
  "type": "number"
207
232
  },
233
+ "t": {
234
+ "name": "t",
235
+ "required": false,
236
+ "type": "number"
237
+ },
208
238
  "touching": {
209
239
  "name": "touching",
210
240
  "required": false,
211
241
  "type": "boolean"
212
242
  },
243
+ "waveAmp": {
244
+ "name": "waveAmp",
245
+ "required": false,
246
+ "type": "number"
247
+ },
248
+ "wavePeriod": {
249
+ "name": "wavePeriod",
250
+ "required": false,
251
+ "type": "number"
252
+ },
213
253
  "x": {
214
254
  "name": "x",
215
255
  "required": false,
@@ -409,8 +449,14 @@
409
449
  "object/merge",
410
450
  "@p",
411
451
  {
452
+ "cy": [
453
+ "object/get",
454
+ "@p",
455
+ "y"
456
+ ],
412
457
  "dir": 1.0,
413
458
  "hit": false,
459
+ "t": 0.0,
414
460
  "touching": false,
415
461
  "x": [
416
462
  "object/get",
@@ -471,8 +517,14 @@
471
517
  "object/merge",
472
518
  "@p",
473
519
  {
520
+ "cy": [
521
+ "object/get",
522
+ "@p",
523
+ "y"
524
+ ],
474
525
  "dir": 1.0,
475
526
  "hit": false,
527
+ "t": 0.0,
476
528
  "touching": false,
477
529
  "x": [
478
530
  "object/get",
@@ -612,61 +664,155 @@
612
664
  "let",
613
665
  [
614
666
  [
615
- "near",
667
+ "nt",
616
668
  [
617
- "and",
669
+ "+",
618
670
  [
619
- "<=",
671
+ "object/get",
672
+ "@p",
673
+ "t"
674
+ ],
675
+ 0.033
676
+ ]
677
+ ]
678
+ ],
679
+ [
680
+ "let",
681
+ [
682
+ [
683
+ "amp",
684
+ [
685
+ "if",
620
686
  [
621
- "math/abs",
687
+ "==",
622
688
  [
623
- "-",
624
- "@entity.px",
625
- "@cx"
626
- ]
689
+ "object/get",
690
+ "@p",
691
+ "waveAmp"
692
+ ],
693
+ null
627
694
  ],
628
- "@config.hitRadius"
629
- ],
695
+ 0.0,
696
+ [
697
+ "object/get",
698
+ "@p",
699
+ "waveAmp"
700
+ ]
701
+ ]
702
+ ],
703
+ [
704
+ "period",
630
705
  [
631
- "<=",
706
+ "if",
632
707
  [
633
- "math/abs",
708
+ "==",
634
709
  [
635
- "-",
636
- "@entity.py",
637
- [
638
- "object/get",
639
- "@p",
640
- "y"
641
- ]
642
- ]
710
+ "object/get",
711
+ "@p",
712
+ "wavePeriod"
713
+ ],
714
+ null
643
715
  ],
644
- "@config.hitRadius"
716
+ 3.0,
717
+ [
718
+ "object/get",
719
+ "@p",
720
+ "wavePeriod"
721
+ ]
645
722
  ]
646
723
  ]
647
- ]
648
- ],
649
- [
650
- "object/merge",
651
- "@p",
652
- {
653
- "dir": "@cdir",
654
- "hit": [
655
- "and",
656
- "@near",
724
+ ],
725
+ [
726
+ "let",
727
+ [
657
728
  [
658
- "==",
729
+ "cy",
659
730
  [
660
- "object/get",
661
- "@p",
662
- "touching"
663
- ],
664
- false
731
+ "+",
732
+ [
733
+ "object/get",
734
+ "@p",
735
+ "y"
736
+ ],
737
+ [
738
+ "*",
739
+ "@amp",
740
+ [
741
+ "math/sin",
742
+ [
743
+ "/",
744
+ [
745
+ "*",
746
+ 6.283185307179586,
747
+ "@nt"
748
+ ],
749
+ "@period"
750
+ ]
751
+ ]
752
+ ]
753
+ ]
665
754
  ]
666
755
  ],
667
- "touching": "@near",
668
- "x": "@cx"
669
- }
756
+ [
757
+ "let",
758
+ [
759
+ [
760
+ "near",
761
+ [
762
+ "and",
763
+ [
764
+ "<=",
765
+ [
766
+ "math/abs",
767
+ [
768
+ "-",
769
+ "@entity.px",
770
+ "@cx"
771
+ ]
772
+ ],
773
+ "@config.hitRadius"
774
+ ],
775
+ [
776
+ "<=",
777
+ [
778
+ "math/abs",
779
+ [
780
+ "-",
781
+ "@entity.py",
782
+ "@cy"
783
+ ]
784
+ ],
785
+ "@config.hitRadius"
786
+ ]
787
+ ]
788
+ ]
789
+ ],
790
+ [
791
+ "object/merge",
792
+ "@p",
793
+ {
794
+ "cy": "@cy",
795
+ "dir": "@cdir",
796
+ "hit": [
797
+ "and",
798
+ "@near",
799
+ [
800
+ "==",
801
+ [
802
+ "object/get",
803
+ "@p",
804
+ "touching"
805
+ ],
806
+ false
807
+ ]
808
+ ],
809
+ "t": "@nt",
810
+ "touching": "@near",
811
+ "x": "@cx"
812
+ }
813
+ ]
814
+ ]
815
+ ]
670
816
  ]
671
817
  ]
672
818
  ]
@@ -735,7 +881,7 @@
735
881
  "array/first",
736
882
  "@hits"
737
883
  ],
738
- "y"
884
+ "cy"
739
885
  ]
740
886
  }
741
887
  ],
@@ -765,4 +911,4 @@
765
911
  ],
766
912
  "schemaVersion": 1,
767
913
  "version": "1.0.0"
768
- }
914
+ }