@almadar/std 16.188.0 → 16.190.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.
- package/behaviors/lolo/ui/core/.hand-authored.json +0 -4
- package/behaviors/lolo/ui/core/atoms/std-calendar.lolo +20 -8
- package/behaviors/lolo/ui/core/atoms/std-record-detail.lolo +428 -26
- package/behaviors/lolo/ui/core/atoms/std-related.lolo +5 -1
- package/behaviors/lolo/ui/core/atoms/std-version-history.lolo +1 -1
- package/behaviors/lolo/ui/core/molecules/ui-document-details.lolo +80 -0
- package/behaviors/lolo/ui/core/molecules/ui-document-panel.lolo +213 -0
- package/behaviors/lolo/ui/core/molecules/{ui-rich-block-editor.lolo → ui-rich-text-editor.lolo} +25 -25
- package/behaviors/lolo/ui/game/atoms/std-choice-gate.lolo +100 -0
- package/behaviors/lolo/ui/game/atoms/std-coef-pad.lolo +114 -0
- package/behaviors/lolo/ui/game/atoms/std-curve-fog.lolo +50 -0
- package/behaviors/lolo/ui/game/atoms/std-pad-lock.lolo +5 -1
- package/behaviors/lolo/ui/game/atoms/std-platformer-body.lolo +29 -3
- package/behaviors/lolo/ui/game/atoms/std-zone-card.lolo +95 -0
- package/behaviors/lolo/ui/game/organisms/std-platformer-board-2d.lolo +9 -0
- package/behaviors/registry/ui/core/atoms/std-calendar.orb +51 -27
- package/behaviors/registry/ui/core/atoms/std-record-detail.orb +2399 -180
- package/behaviors/registry/ui/core/atoms/std-related.orb +23 -1
- package/behaviors/registry/ui/core/atoms/std-version-history.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-document-details.orb +342 -0
- package/behaviors/registry/ui/core/molecules/ui-document-panel.orb +655 -0
- package/behaviors/registry/ui/core/molecules/{ui-rich-block-editor.orb → ui-rich-text-editor.orb} +84 -97
- package/behaviors/registry/ui/game/atoms/std-choice-gate.orb +855 -0
- package/behaviors/registry/ui/game/atoms/std-coef-pad.orb +928 -0
- package/behaviors/registry/ui/game/atoms/std-curve-fog.orb +337 -0
- package/behaviors/registry/ui/game/atoms/std-pad-lock.orb +31 -1
- package/behaviors/registry/ui/game/atoms/std-platformer-body.orb +847 -401
- package/behaviors/registry/ui/game/atoms/std-zone-card.orb +642 -0
- package/behaviors/registry/ui/game/organisms/std-platformer-board-2d.orb +38 -6
- package/dist/behaviors/exports-reader.js +6491 -6163
- package/dist/behaviors/functions/index.d.ts +669 -300
- package/dist/behaviors/functions/index.js +6469 -6152
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +6492 -6164
- package/dist/behaviors/query.js +6491 -6163
- package/dist/behaviors-embeddings.hash.json +3 -3
- package/dist/behaviors-embeddings.json +367 -375
- package/dist/behaviors-registry.json +4104 -2597
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6492 -6164
- package/dist/knob-embeddings.hash.json +3 -3
- package/dist/knob-embeddings.json +1 -1
- package/dist/registry/factory-signatures.json +1 -1
- package/package.json +4 -4
- package/behaviors/lolo/ui/core/atoms/std-rich-editor.lolo +0 -790
- package/behaviors/registry/ui/core/atoms/std-rich-editor.orb +0 -2225
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "Headless prediction-fog mechanic for graph-riding boards: in configured world regions the road ahead is only partially REVEALED — the atom listens BODY_MOVED and stamps fogX (the reveal horizon = player x + the region's lookAhead) onto the shared entity, and the board's render layer clips or ghosts every road sample past it, so the player must commit to jumps before the landing is visible and internalize where the function GOES (blowup, flattening, slow growth, divergence). Outside every region fogX sits at a large sentinel, i.e. fully revealed. Physics is untouched: the collider keeps the whole curve — the fog is purely visual. Renders nothing; boards clip their own curve/region samples against @entity.fogX (the render authority).",
|
|
3
|
+
"ledger": {
|
|
4
|
+
"entries": {
|
|
5
|
+
"ent_01M1432AXMP8A6S2GYA39MDTNH": {
|
|
6
|
+
"bakedName": "CurveFogData",
|
|
7
|
+
"curName": "CurveFogData",
|
|
8
|
+
"id": "ent_01M1432AXMP8A6S2GYA39MDTNH",
|
|
9
|
+
"kind": "entity",
|
|
10
|
+
"owner": "workspace",
|
|
11
|
+
"renames": []
|
|
12
|
+
},
|
|
13
|
+
"evt_01M1432AXM2ZS75B3MVKWPF4BG": {
|
|
14
|
+
"bakedName": "RESTART",
|
|
15
|
+
"curName": "RESTART",
|
|
16
|
+
"id": "evt_01M1432AXM2ZS75B3MVKWPF4BG",
|
|
17
|
+
"kind": "event",
|
|
18
|
+
"owner": "workspace",
|
|
19
|
+
"parent": "trt_01M1432AXMEJAS9NMRDB3ETGC4",
|
|
20
|
+
"renames": []
|
|
21
|
+
},
|
|
22
|
+
"evt_01M1432AXMHYGBM68WP34P215T": {
|
|
23
|
+
"bakedName": "BODY_MOVED",
|
|
24
|
+
"curName": "BODY_MOVED",
|
|
25
|
+
"id": "evt_01M1432AXMHYGBM68WP34P215T",
|
|
26
|
+
"kind": "event",
|
|
27
|
+
"owner": "workspace",
|
|
28
|
+
"parent": "trt_01M1432AXMEJAS9NMRDB3ETGC4",
|
|
29
|
+
"renames": []
|
|
30
|
+
},
|
|
31
|
+
"evt_01M1432AXMKVDEJNW03QHCVH5W": {
|
|
32
|
+
"bakedName": "INIT",
|
|
33
|
+
"curName": "INIT",
|
|
34
|
+
"id": "evt_01M1432AXMKVDEJNW03QHCVH5W",
|
|
35
|
+
"kind": "event",
|
|
36
|
+
"owner": "workspace",
|
|
37
|
+
"parent": "trt_01M1432AXMEJAS9NMRDB3ETGC4",
|
|
38
|
+
"renames": []
|
|
39
|
+
},
|
|
40
|
+
"orb_01M1432AXM1T9RTRP1PCJ9XB74": {
|
|
41
|
+
"bakedName": "CurveFogOrbital",
|
|
42
|
+
"curName": "CurveFogOrbital",
|
|
43
|
+
"id": "orb_01M1432AXM1T9RTRP1PCJ9XB74",
|
|
44
|
+
"kind": "orbital",
|
|
45
|
+
"owner": "workspace",
|
|
46
|
+
"renames": []
|
|
47
|
+
},
|
|
48
|
+
"pag_01M1432AXN09KDF24242P6SHHW": {
|
|
49
|
+
"bakedName": "CurveFogPage",
|
|
50
|
+
"curName": "CurveFogPage",
|
|
51
|
+
"id": "pag_01M1432AXN09KDF24242P6SHHW",
|
|
52
|
+
"kind": "page",
|
|
53
|
+
"owner": "workspace",
|
|
54
|
+
"renames": []
|
|
55
|
+
},
|
|
56
|
+
"trt_01M1432AXMEJAS9NMRDB3ETGC4": {
|
|
57
|
+
"bakedName": "CurveFog",
|
|
58
|
+
"curName": "CurveFog",
|
|
59
|
+
"id": "trt_01M1432AXMEJAS9NMRDB3ETGC4",
|
|
60
|
+
"kind": "trait",
|
|
61
|
+
"owner": "workspace",
|
|
62
|
+
"renames": []
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"schemaVersion": 1
|
|
66
|
+
},
|
|
67
|
+
"name": "std-curve-fog",
|
|
68
|
+
"orbitals": [
|
|
69
|
+
{
|
|
70
|
+
"entity": {
|
|
71
|
+
"fields": [
|
|
72
|
+
{
|
|
73
|
+
"name": "id",
|
|
74
|
+
"required": true,
|
|
75
|
+
"type": "string"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"default": 99999.0,
|
|
79
|
+
"name": "fogX",
|
|
80
|
+
"type": "number"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"id": "ent_01M1432AXMP8A6S2GYA39MDTNH",
|
|
84
|
+
"name": "CurveFogData",
|
|
85
|
+
"persistence": "runtime",
|
|
86
|
+
"shared": true
|
|
87
|
+
},
|
|
88
|
+
"id": "orb_01M1432AXM1T9RTRP1PCJ9XB74",
|
|
89
|
+
"name": "CurveFogOrbital",
|
|
90
|
+
"pages": [
|
|
91
|
+
{
|
|
92
|
+
"id": "pag_01M1432AXN09KDF24242P6SHHW",
|
|
93
|
+
"name": "CurveFogPage",
|
|
94
|
+
"path": "/curve-fog",
|
|
95
|
+
"traits": [
|
|
96
|
+
{
|
|
97
|
+
"ref": "CurveFog",
|
|
98
|
+
"refId": "trt_01M1432AXMEJAS9NMRDB3ETGC4"
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
],
|
|
103
|
+
"traits": [
|
|
104
|
+
{
|
|
105
|
+
"category": "lifecycle",
|
|
106
|
+
"config": {
|
|
107
|
+
"regions": {
|
|
108
|
+
"default": [],
|
|
109
|
+
"description": "One row per fogged world span: x-range (x0..x1) and lookAhead — how far past the player the road stays revealed while inside. Small values force prediction (blowups), large values suit slow tail lessons. Empty list = no fog anywhere.",
|
|
110
|
+
"items": {
|
|
111
|
+
"properties": {
|
|
112
|
+
"lookAhead": {
|
|
113
|
+
"name": "lookAhead",
|
|
114
|
+
"required": true,
|
|
115
|
+
"type": "number"
|
|
116
|
+
},
|
|
117
|
+
"x0": {
|
|
118
|
+
"name": "x0",
|
|
119
|
+
"required": true,
|
|
120
|
+
"type": "number"
|
|
121
|
+
},
|
|
122
|
+
"x1": {
|
|
123
|
+
"name": "x1",
|
|
124
|
+
"required": true,
|
|
125
|
+
"type": "number"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"type": "object"
|
|
129
|
+
},
|
|
130
|
+
"label": "Fog Regions",
|
|
131
|
+
"tier": "domain",
|
|
132
|
+
"type": "[CurveFogRegion]"
|
|
133
|
+
},
|
|
134
|
+
"running": {
|
|
135
|
+
"default": true,
|
|
136
|
+
"description": "When true, BODY_MOVED tracks the reveal horizon; toggle to freeze the fog where it is.",
|
|
137
|
+
"label": "Running",
|
|
138
|
+
"tier": "domain",
|
|
139
|
+
"type": "boolean"
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"entityContract": {
|
|
143
|
+
"provides": [
|
|
144
|
+
"fogX"
|
|
145
|
+
],
|
|
146
|
+
"requires": []
|
|
147
|
+
},
|
|
148
|
+
"entityRebindable": true,
|
|
149
|
+
"entityRefIds": {
|
|
150
|
+
"CurveFogData": "ent_01M1432AXMP8A6S2GYA39MDTNH"
|
|
151
|
+
},
|
|
152
|
+
"id": "trt_01M1432AXMEJAS9NMRDB3ETGC4",
|
|
153
|
+
"linkedEntity": "CurveFogData",
|
|
154
|
+
"linkedEntityId": "ent_01M1432AXMP8A6S2GYA39MDTNH",
|
|
155
|
+
"name": "CurveFog",
|
|
156
|
+
"scope": "instance",
|
|
157
|
+
"stateMachine": {
|
|
158
|
+
"events": [
|
|
159
|
+
{
|
|
160
|
+
"id": "evt_01M1432AXMKVDEJNW03QHCVH5W",
|
|
161
|
+
"key": "INIT",
|
|
162
|
+
"name": "Initialize"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"id": "evt_01M1432AXMHYGBM68WP34P215T",
|
|
166
|
+
"key": "BODY_MOVED",
|
|
167
|
+
"name": "Body Moved",
|
|
168
|
+
"payloadSchema": [
|
|
169
|
+
{
|
|
170
|
+
"name": "x",
|
|
171
|
+
"required": true,
|
|
172
|
+
"type": "number"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"name": "y",
|
|
176
|
+
"required": true,
|
|
177
|
+
"type": "number"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"name": "vx",
|
|
181
|
+
"required": true,
|
|
182
|
+
"type": "number"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"name": "vy",
|
|
186
|
+
"required": true,
|
|
187
|
+
"type": "number"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"name": "grounded",
|
|
191
|
+
"required": true,
|
|
192
|
+
"type": "boolean"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"name": "skating",
|
|
196
|
+
"required": true,
|
|
197
|
+
"type": "boolean"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"name": "speed",
|
|
201
|
+
"required": true,
|
|
202
|
+
"type": "number"
|
|
203
|
+
}
|
|
204
|
+
]
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"id": "evt_01M1432AXM2ZS75B3MVKWPF4BG",
|
|
208
|
+
"key": "RESTART",
|
|
209
|
+
"name": "Restart",
|
|
210
|
+
"payloadSchema": [
|
|
211
|
+
{
|
|
212
|
+
"name": "id",
|
|
213
|
+
"type": "string"
|
|
214
|
+
}
|
|
215
|
+
]
|
|
216
|
+
}
|
|
217
|
+
],
|
|
218
|
+
"states": [
|
|
219
|
+
{
|
|
220
|
+
"isInitial": true,
|
|
221
|
+
"name": "active"
|
|
222
|
+
}
|
|
223
|
+
],
|
|
224
|
+
"transitions": [
|
|
225
|
+
{
|
|
226
|
+
"effects": [
|
|
227
|
+
[
|
|
228
|
+
"set",
|
|
229
|
+
"@entity.fogX",
|
|
230
|
+
99999.0
|
|
231
|
+
]
|
|
232
|
+
],
|
|
233
|
+
"event": "INIT",
|
|
234
|
+
"eventId": "evt_01M1432AXMKVDEJNW03QHCVH5W",
|
|
235
|
+
"from": "active",
|
|
236
|
+
"to": "active"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"effects": [
|
|
240
|
+
[
|
|
241
|
+
"let",
|
|
242
|
+
[
|
|
243
|
+
[
|
|
244
|
+
"rmatch",
|
|
245
|
+
[
|
|
246
|
+
"array/filter",
|
|
247
|
+
"@config.regions",
|
|
248
|
+
[
|
|
249
|
+
"fn",
|
|
250
|
+
"r",
|
|
251
|
+
[
|
|
252
|
+
"and",
|
|
253
|
+
[
|
|
254
|
+
">=",
|
|
255
|
+
"@payload.x",
|
|
256
|
+
[
|
|
257
|
+
"object/get",
|
|
258
|
+
"@r",
|
|
259
|
+
"x0"
|
|
260
|
+
]
|
|
261
|
+
],
|
|
262
|
+
[
|
|
263
|
+
"<",
|
|
264
|
+
"@payload.x",
|
|
265
|
+
[
|
|
266
|
+
"object/get",
|
|
267
|
+
"@r",
|
|
268
|
+
"x1"
|
|
269
|
+
]
|
|
270
|
+
]
|
|
271
|
+
]
|
|
272
|
+
]
|
|
273
|
+
]
|
|
274
|
+
]
|
|
275
|
+
],
|
|
276
|
+
[
|
|
277
|
+
"if",
|
|
278
|
+
[
|
|
279
|
+
">",
|
|
280
|
+
[
|
|
281
|
+
"array/len",
|
|
282
|
+
"@rmatch"
|
|
283
|
+
],
|
|
284
|
+
0.0
|
|
285
|
+
],
|
|
286
|
+
[
|
|
287
|
+
"set",
|
|
288
|
+
"@entity.fogX",
|
|
289
|
+
[
|
|
290
|
+
"+",
|
|
291
|
+
"@payload.x",
|
|
292
|
+
[
|
|
293
|
+
"object/get",
|
|
294
|
+
[
|
|
295
|
+
"array/first",
|
|
296
|
+
"@rmatch"
|
|
297
|
+
],
|
|
298
|
+
"lookAhead"
|
|
299
|
+
]
|
|
300
|
+
]
|
|
301
|
+
],
|
|
302
|
+
[
|
|
303
|
+
"set",
|
|
304
|
+
"@entity.fogX",
|
|
305
|
+
99999.0
|
|
306
|
+
]
|
|
307
|
+
]
|
|
308
|
+
]
|
|
309
|
+
],
|
|
310
|
+
"event": "BODY_MOVED",
|
|
311
|
+
"eventId": "evt_01M1432AXMHYGBM68WP34P215T",
|
|
312
|
+
"from": "active",
|
|
313
|
+
"guard": "@config.running",
|
|
314
|
+
"to": "active"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"effects": [
|
|
318
|
+
[
|
|
319
|
+
"set",
|
|
320
|
+
"@entity.fogX",
|
|
321
|
+
99999.0
|
|
322
|
+
]
|
|
323
|
+
],
|
|
324
|
+
"event": "RESTART",
|
|
325
|
+
"eventId": "evt_01M1432AXM2ZS75B3MVKWPF4BG",
|
|
326
|
+
"from": "active",
|
|
327
|
+
"to": "active"
|
|
328
|
+
}
|
|
329
|
+
]
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
]
|
|
333
|
+
}
|
|
334
|
+
],
|
|
335
|
+
"schemaVersion": 1,
|
|
336
|
+
"version": "1.0.0"
|
|
337
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"description": "Headless pad-lock mechanic: floor pads that light when the player steps on them, completing a set when every pad is lit. Listens BODY_MOVED and lights any unlit live pad the player's rect touches (|dx| <= reachX, |dy| <= reachY of the pad center); a lit pad stays lit. Pads may carry a group number (grp 0 = ungrouped, always live): when groups are used, only pads of the lowest uncompleted group are live — pads of later groups refuse to light until the current group finishes, so one sum must be finished before the next. When a group completes the trait emits PAD_GROUP_COMPLETED once for it (first newly completed group reports; the shared entity carries the rest); when every pad in the set is lit it stamps completed and emits PAD_SET_COMPLETED once. RESTART unlights every pad and resets the set. Renders nothing; boards draw the pads and read lit from the shared entity (the render authority).",
|
|
2
|
+
"description": "Headless pad-lock mechanic: floor pads that light when the player steps on them, completing a set when every pad is lit. Listens BODY_MOVED and lights any unlit live pad the player's rect touches (|dx| <= reachX, |dy| <= reachY of the pad center); a lit pad stays lit. Pads may carry a group number (grp 0 = ungrouped, always live): when groups are used, only pads of the lowest uncompleted group are live — pads of later groups refuse to light until the current group finishes, so one sum must be finished before the next. When a group completes the trait emits PAD_GROUP_COMPLETED once for it (first newly completed group reports; the shared entity carries the rest); when every pad in the set is lit it stamps completed and emits PAD_SET_COMPLETED once. The lowest uncompleted group is stamped on the shared entity as currentGrp so boards can pulse exactly the live pads (0 = no group open / ungrouped pads). RESTART unlights every pad and resets the set. Renders nothing; boards draw the pads and read lit from the shared entity (the render authority).",
|
|
3
3
|
"ledger": {
|
|
4
4
|
"entries": {
|
|
5
5
|
"ent_01M11SKWZK3WVGRB0CXK5XDRD1": {
|
|
@@ -135,6 +135,11 @@
|
|
|
135
135
|
"name": "groupsDone",
|
|
136
136
|
"type": "array"
|
|
137
137
|
},
|
|
138
|
+
{
|
|
139
|
+
"default": 0.0,
|
|
140
|
+
"name": "currentGrp",
|
|
141
|
+
"type": "number"
|
|
142
|
+
},
|
|
138
143
|
{
|
|
139
144
|
"default": false,
|
|
140
145
|
"name": "completed",
|
|
@@ -250,6 +255,7 @@
|
|
|
250
255
|
"entityContract": {
|
|
251
256
|
"provides": [
|
|
252
257
|
"completed",
|
|
258
|
+
"currentGrp",
|
|
253
259
|
"groupsDone",
|
|
254
260
|
"pads"
|
|
255
261
|
],
|
|
@@ -379,6 +385,11 @@
|
|
|
379
385
|
"@entity.groupsDone",
|
|
380
386
|
[]
|
|
381
387
|
],
|
|
388
|
+
[
|
|
389
|
+
"set",
|
|
390
|
+
"@entity.currentGrp",
|
|
391
|
+
0.0
|
|
392
|
+
],
|
|
382
393
|
[
|
|
383
394
|
"set",
|
|
384
395
|
"@entity.completed",
|
|
@@ -762,6 +773,20 @@
|
|
|
762
773
|
"@entity.pads",
|
|
763
774
|
"@newPads"
|
|
764
775
|
],
|
|
776
|
+
[
|
|
777
|
+
"set",
|
|
778
|
+
"@entity.currentGrp",
|
|
779
|
+
[
|
|
780
|
+
"if",
|
|
781
|
+
[
|
|
782
|
+
"==",
|
|
783
|
+
"@currentGrp",
|
|
784
|
+
9999.0
|
|
785
|
+
],
|
|
786
|
+
0.0,
|
|
787
|
+
"@currentGrp"
|
|
788
|
+
]
|
|
789
|
+
],
|
|
765
790
|
[
|
|
766
791
|
"if",
|
|
767
792
|
[
|
|
@@ -881,6 +906,11 @@
|
|
|
881
906
|
"@entity.groupsDone",
|
|
882
907
|
[]
|
|
883
908
|
],
|
|
909
|
+
[
|
|
910
|
+
"set",
|
|
911
|
+
"@entity.currentGrp",
|
|
912
|
+
0.0
|
|
913
|
+
],
|
|
884
914
|
[
|
|
885
915
|
"set",
|
|
886
916
|
"@entity.completed",
|