@almadar/std 16.181.0 → 16.183.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 (90) hide show
  1. package/behaviors/lolo/infra/atoms/std-calendar-sync.lolo +290 -0
  2. package/behaviors/lolo/infra/atoms/std-migration-job.lolo +2 -2
  3. package/behaviors/lolo/infra/atoms/std-notification-center.lolo +290 -0
  4. package/behaviors/lolo/infra/atoms/std-notify-on-event.lolo +238 -40
  5. package/behaviors/lolo/ui/core/atoms/std-esign-flow.lolo +180 -3
  6. package/behaviors/lolo/ui/core/molecules/ui-calendar-grid.lolo +6 -0
  7. package/behaviors/lolo/ui/core/organisms/ui-detail-panel.lolo +4 -4
  8. package/behaviors/lolo/ui/game/.hand-authored.json +1 -1
  9. package/behaviors/lolo/ui/game/atoms/std-fx-trail.lolo +63 -0
  10. package/behaviors/lolo/ui/game/atoms/std-gate-lock.lolo +96 -0
  11. package/behaviors/lolo/ui/game/atoms/std-lives.lolo +121 -0
  12. package/behaviors/lolo/ui/game/atoms/std-patrol-hazard.lolo +96 -0
  13. package/behaviors/lolo/ui/game/atoms/std-tutorial-overlay.lolo +164 -0
  14. package/behaviors/lolo/ui/game/atoms/ui-control-grid.lolo +5 -0
  15. package/behaviors/lolo/ui/game/atoms/ui-game-hud.lolo +5 -0
  16. package/behaviors/lolo/ui/game/templates/ui-game-shell.lolo +5 -5
  17. package/behaviors/lolo/ui/learning/atoms/std-learn-slope-probe.lolo +117 -0
  18. package/behaviors/lolo/ui/learning/atoms/ui-math-canvas.lolo +18 -0
  19. package/behaviors/registry/infra/atoms/std-calendar-sync.orb +1643 -0
  20. package/behaviors/registry/infra/atoms/std-migration-job.orb +2 -2
  21. package/behaviors/registry/infra/atoms/std-notification-center.orb +1621 -0
  22. package/behaviors/registry/infra/atoms/std-notify-on-event.orb +1734 -169
  23. package/behaviors/registry/ui/core/atoms/std-esign-flow.orb +846 -2
  24. package/behaviors/registry/ui/core/molecules/ui-calendar-grid.orb +9 -0
  25. package/behaviors/registry/ui/core/organisms/ui-detail-panel.orb +4 -2
  26. package/behaviors/registry/ui/game/atoms/std-fx-trail.orb +376 -0
  27. package/behaviors/registry/ui/game/atoms/std-gate-lock.orb +852 -0
  28. package/behaviors/registry/ui/game/atoms/std-lives.orb +739 -0
  29. package/behaviors/registry/ui/game/atoms/std-patrol-hazard.orb +768 -0
  30. package/behaviors/registry/ui/game/atoms/std-tutorial-overlay.orb +1060 -0
  31. package/behaviors/registry/ui/game/atoms/ui-control-grid.orb +13 -1
  32. package/behaviors/registry/ui/game/atoms/ui-game-hud.orb +13 -1
  33. package/behaviors/registry/ui/game/templates/ui-game-shell.orb +5 -5
  34. package/behaviors/registry/ui/learning/atoms/std-learn-slope-probe.orb +908 -0
  35. package/canonical-operators.json +21 -1
  36. package/dist/behaviors/exports-reader.js +9021 -3497
  37. package/dist/behaviors/functions/index.d.ts +1001 -10
  38. package/dist/behaviors/functions/index.js +18568 -13079
  39. package/dist/behaviors/index.d.ts +1 -1
  40. package/dist/behaviors/index.js +9022 -3498
  41. package/dist/behaviors/query.js +9021 -3497
  42. package/dist/behaviors-embeddings.hash.json +3 -3
  43. package/dist/behaviors-embeddings.json +347 -315
  44. package/dist/behaviors-registry.json +2694 -56
  45. package/dist/index.d.ts +3 -3
  46. package/dist/index.js +8502 -2941
  47. package/dist/knob-embeddings.hash.json +3 -3
  48. package/dist/knob-embeddings.json +1 -1
  49. package/dist/modules/anim.d.ts +1 -1
  50. package/dist/modules/array.d.ts +1 -1
  51. package/dist/modules/async.d.ts +1 -1
  52. package/dist/modules/behavior.d.ts +1 -1
  53. package/dist/modules/browser.d.ts +1 -1
  54. package/dist/modules/browser.js +21 -0
  55. package/dist/modules/composition.d.ts +1 -1
  56. package/dist/modules/contract.d.ts +1 -1
  57. package/dist/modules/core.d.ts +1 -1
  58. package/dist/modules/core.js +18 -2
  59. package/dist/modules/data.d.ts +1 -1
  60. package/dist/modules/ease.d.ts +1 -1
  61. package/dist/modules/format.d.ts +1 -1
  62. package/dist/modules/geo.d.ts +1 -1
  63. package/dist/modules/graph.d.ts +1 -1
  64. package/dist/modules/grid.d.ts +1 -1
  65. package/dist/modules/index.d.ts +1 -1
  66. package/dist/modules/index.js +39 -2
  67. package/dist/modules/integration.d.ts +1 -1
  68. package/dist/modules/llm.d.ts +1 -1
  69. package/dist/modules/math.d.ts +1 -1
  70. package/dist/modules/memory.d.ts +1 -1
  71. package/dist/modules/nn.d.ts +1 -1
  72. package/dist/modules/noise.d.ts +1 -1
  73. package/dist/modules/object.d.ts +1 -1
  74. package/dist/modules/os.d.ts +1 -1
  75. package/dist/modules/path.d.ts +1 -1
  76. package/dist/modules/prob.d.ts +1 -1
  77. package/dist/modules/session.d.ts +1 -1
  78. package/dist/modules/str.d.ts +1 -1
  79. package/dist/modules/tensor.d.ts +1 -1
  80. package/dist/modules/time.d.ts +1 -1
  81. package/dist/modules/trace.d.ts +1 -1
  82. package/dist/modules/train.d.ts +1 -1
  83. package/dist/modules/validate.d.ts +1 -1
  84. package/dist/modules/vector.d.ts +1 -1
  85. package/dist/modules/workspace.d.ts +1 -1
  86. package/dist/registry/factory-signatures.json +1 -1
  87. package/dist/registry.d.ts +1 -1
  88. package/dist/registry.js +39 -2
  89. package/dist/{types-DGJ6Y6nW.d.ts → types-BXWzEjFm.d.ts} +1 -1
  90. package/package.json +3 -3
@@ -182,6 +182,13 @@
182
182
  "tier": "presentation",
183
183
  "type": "string"
184
184
  },
185
+ "endField": {
186
+ "default": "endTime",
187
+ "description": "Row field holding the end timestamp (ISO or epoch). Defaults to `endTime`. When a row carries an end, the event's chip renders in its start slot and every further slot it covers shows a subdued continuation bar — without this, multi-hour events silently collapsed to their first hour.",
188
+ "label": "End Field",
189
+ "tier": "presentation",
190
+ "type": "string"
191
+ },
185
192
  "longPressEvent": {
186
193
  "default": "LONG_PRESS",
187
194
  "description": "Event emitted on long-press of a time slot: UI:{longPressEvent} with { date, time, ...longPressPayload }",
@@ -513,6 +520,7 @@
513
520
  "className": "@config.className",
514
521
  "colorField": "@config.colorField",
515
522
  "dayWindow": "@config.dayWindow",
523
+ "endField": "@config.endField",
516
524
  "events": "@entity",
517
525
  "longPressEvent": "@config.longPressEvent",
518
526
  "longPressPayload": "@config.longPressPayload",
@@ -543,6 +551,7 @@
543
551
  "className": "@config.className",
544
552
  "colorField": "@config.colorField",
545
553
  "dayWindow": "@config.dayWindow",
554
+ "endField": "@config.endField",
546
555
  "events": "@payload.data",
547
556
  "longPressEvent": "@config.longPressEvent",
548
557
  "longPressPayload": "@config.longPressPayload",
@@ -316,7 +316,8 @@
316
316
  "type": "boolean"
317
317
  },
318
318
  "maxInlineActions": {
319
- "description": "Max inline action buttons before the rest collapse into a '⋯' overflow menu (mirrors DataGrid's maxInlineActions). Omit = all inline.",
319
+ "default": 2.0,
320
+ "description": "Max inline action buttons before the rest collapse into a '⋯' overflow menu (mirrors DataGrid's maxInlineActions). Defaults to 2 — primary + secondary visible, the rest under the menu — so every detail panel carries the same action pattern.",
320
321
  "label": "Max Inline Actions",
321
322
  "tier": "presentation",
322
323
  "type": "number"
@@ -450,7 +451,8 @@
450
451
  "type": "[string]"
451
452
  },
452
453
  "showActions": {
453
- "description": "Show actions flag",
454
+ "default": true,
455
+ "description": "When false, hides the action buttons + overflow menu (and the close ×). Defaults to true.",
454
456
  "label": "Show Actions",
455
457
  "tier": "presentation",
456
458
  "type": "boolean"
@@ -0,0 +1,376 @@
1
+ {
2
+ "description": "Headless motion-trail mechanic: records the moving body's recent positions as timestamped dots on a [runtime, shared] entity so the render layer can draw a fading comet trail. Rides the body authority's BODY_MOVED — appends a dot only when the body's speed exceeds minSpeed (standing still leaves no trail) and prunes dots older than ttl on the same pass, so no decay tick is needed and a stopped body's trail simply stops growing (the render side fades each dot by bornAt/ttl). RESTART clears. Renders nothing.",
3
+ "ledger": {
4
+ "entries": {
5
+ "ent_01M0PCAKRAB0PFSPQ98X9S0BNF": {
6
+ "bakedName": "FxTrailData",
7
+ "curName": "FxTrailData",
8
+ "id": "ent_01M0PCAKRAB0PFSPQ98X9S0BNF",
9
+ "kind": "entity",
10
+ "owner": "workspace",
11
+ "renames": []
12
+ },
13
+ "evt_01M0PCAKRA14YFRZZGT8CDR3BE": {
14
+ "bakedName": "INIT",
15
+ "curName": "INIT",
16
+ "id": "evt_01M0PCAKRA14YFRZZGT8CDR3BE",
17
+ "kind": "event",
18
+ "owner": "workspace",
19
+ "parent": "trt_01M0PCAKRAJE43ZB66D52QJSGZ",
20
+ "renames": []
21
+ },
22
+ "evt_01M0PCAKRAK7M2V40695X450BC": {
23
+ "bakedName": "RESTART",
24
+ "curName": "RESTART",
25
+ "id": "evt_01M0PCAKRAK7M2V40695X450BC",
26
+ "kind": "event",
27
+ "owner": "workspace",
28
+ "parent": "trt_01M0PCAKRAJE43ZB66D52QJSGZ",
29
+ "renames": []
30
+ },
31
+ "evt_01M0PCAKRAWHX8VG91V45K7YYE": {
32
+ "bakedName": "BODY_MOVED",
33
+ "curName": "BODY_MOVED",
34
+ "id": "evt_01M0PCAKRAWHX8VG91V45K7YYE",
35
+ "kind": "event",
36
+ "owner": "workspace",
37
+ "parent": "trt_01M0PCAKRAJE43ZB66D52QJSGZ",
38
+ "renames": []
39
+ },
40
+ "orb_01M0PCAKRAXW91Y5Y34VV62FV0": {
41
+ "bakedName": "FxTrailOrbital",
42
+ "curName": "FxTrailOrbital",
43
+ "id": "orb_01M0PCAKRAXW91Y5Y34VV62FV0",
44
+ "kind": "orbital",
45
+ "owner": "workspace",
46
+ "renames": []
47
+ },
48
+ "pag_01M0PCAKRAY62QVZS832H2XSWS": {
49
+ "bakedName": "FxTrailPage",
50
+ "curName": "FxTrailPage",
51
+ "id": "pag_01M0PCAKRAY62QVZS832H2XSWS",
52
+ "kind": "page",
53
+ "owner": "workspace",
54
+ "renames": []
55
+ },
56
+ "trt_01M0PCAKRAJE43ZB66D52QJSGZ": {
57
+ "bakedName": "FxTrail",
58
+ "curName": "FxTrail",
59
+ "id": "trt_01M0PCAKRAJE43ZB66D52QJSGZ",
60
+ "kind": "trait",
61
+ "owner": "workspace",
62
+ "renames": []
63
+ }
64
+ },
65
+ "schemaVersion": 1
66
+ },
67
+ "name": "std-fx-trail",
68
+ "orbitals": [
69
+ {
70
+ "entity": {
71
+ "fields": [
72
+ {
73
+ "name": "id",
74
+ "required": true,
75
+ "type": "string"
76
+ },
77
+ {
78
+ "default": [],
79
+ "items": {
80
+ "properties": {
81
+ "bornAt": {
82
+ "name": "bornAt",
83
+ "required": true,
84
+ "type": "number"
85
+ },
86
+ "id": {
87
+ "name": "id",
88
+ "required": true,
89
+ "type": "string"
90
+ },
91
+ "ttl": {
92
+ "name": "ttl",
93
+ "required": true,
94
+ "type": "number"
95
+ },
96
+ "x": {
97
+ "name": "x",
98
+ "required": true,
99
+ "type": "number"
100
+ },
101
+ "y": {
102
+ "name": "y",
103
+ "required": true,
104
+ "type": "number"
105
+ }
106
+ },
107
+ "type": "object"
108
+ },
109
+ "name": "trail",
110
+ "type": "array"
111
+ },
112
+ {
113
+ "default": 0.0,
114
+ "name": "seq",
115
+ "type": "number"
116
+ }
117
+ ],
118
+ "id": "ent_01M0PCAKRAB0PFSPQ98X9S0BNF",
119
+ "name": "FxTrailData",
120
+ "persistence": "runtime",
121
+ "shared": true
122
+ },
123
+ "id": "orb_01M0PCAKRAXW91Y5Y34VV62FV0",
124
+ "name": "FxTrailOrbital",
125
+ "pages": [
126
+ {
127
+ "id": "pag_01M0PCAKRAY62QVZS832H2XSWS",
128
+ "name": "FxTrailPage",
129
+ "path": "/fx-trail",
130
+ "traits": [
131
+ {
132
+ "ref": "FxTrail",
133
+ "refId": "trt_01M0PCAKRAJE43ZB66D52QJSGZ"
134
+ }
135
+ ]
136
+ }
137
+ ],
138
+ "traits": [
139
+ {
140
+ "category": "lifecycle",
141
+ "config": {
142
+ "minSpeed": {
143
+ "default": 0.5,
144
+ "description": "Body speed (units/s, from BODY_MOVED) below which no dot is appended, so a resting body doesn't pile dots on one spot.",
145
+ "label": "Min Speed",
146
+ "tier": "domain",
147
+ "type": "number"
148
+ },
149
+ "running": {
150
+ "default": true,
151
+ "description": "When true, BODY_MOVED appends trail dots; toggle to freeze the trail (existing dots still age out).",
152
+ "label": "Running",
153
+ "tier": "domain",
154
+ "type": "boolean"
155
+ },
156
+ "ttl": {
157
+ "default": 600.0,
158
+ "description": "Milliseconds a trail dot lives; at a 33ms move cadence ~600ms keeps the last eighteen positions. The ttl is also the natural length cap — no separate limit needed.",
159
+ "label": "Trail Ttl (ms)",
160
+ "tier": "presentation",
161
+ "type": "number"
162
+ }
163
+ },
164
+ "entityContract": {
165
+ "provides": [
166
+ "seq",
167
+ "trail"
168
+ ],
169
+ "requires": []
170
+ },
171
+ "entityRebindable": true,
172
+ "entityRefIds": {
173
+ "FxTrailData": "ent_01M0PCAKRAB0PFSPQ98X9S0BNF"
174
+ },
175
+ "id": "trt_01M0PCAKRAJE43ZB66D52QJSGZ",
176
+ "linkedEntity": "FxTrailData",
177
+ "linkedEntityId": "ent_01M0PCAKRAB0PFSPQ98X9S0BNF",
178
+ "name": "FxTrail",
179
+ "scope": "instance",
180
+ "stateMachine": {
181
+ "events": [
182
+ {
183
+ "id": "evt_01M0PCAKRA14YFRZZGT8CDR3BE",
184
+ "key": "INIT",
185
+ "name": "Initialize"
186
+ },
187
+ {
188
+ "id": "evt_01M0PCAKRAWHX8VG91V45K7YYE",
189
+ "key": "BODY_MOVED",
190
+ "name": "Body Moved",
191
+ "payloadSchema": [
192
+ {
193
+ "name": "x",
194
+ "required": true,
195
+ "type": "number"
196
+ },
197
+ {
198
+ "name": "y",
199
+ "required": true,
200
+ "type": "number"
201
+ },
202
+ {
203
+ "name": "vx",
204
+ "required": true,
205
+ "type": "number"
206
+ },
207
+ {
208
+ "name": "vy",
209
+ "required": true,
210
+ "type": "number"
211
+ },
212
+ {
213
+ "name": "grounded",
214
+ "required": true,
215
+ "type": "boolean"
216
+ },
217
+ {
218
+ "name": "skating",
219
+ "required": true,
220
+ "type": "boolean"
221
+ },
222
+ {
223
+ "name": "speed",
224
+ "required": true,
225
+ "type": "number"
226
+ }
227
+ ]
228
+ },
229
+ {
230
+ "id": "evt_01M0PCAKRAK7M2V40695X450BC",
231
+ "key": "RESTART",
232
+ "name": "Restart",
233
+ "payloadSchema": [
234
+ {
235
+ "name": "id",
236
+ "type": "string"
237
+ }
238
+ ]
239
+ }
240
+ ],
241
+ "states": [
242
+ {
243
+ "isInitial": true,
244
+ "name": "active"
245
+ }
246
+ ],
247
+ "transitions": [
248
+ {
249
+ "effects": [
250
+ [
251
+ "set",
252
+ "@entity.trail",
253
+ []
254
+ ],
255
+ [
256
+ "set",
257
+ "@entity.seq",
258
+ 0.0
259
+ ]
260
+ ],
261
+ "event": "INIT",
262
+ "eventId": "evt_01M0PCAKRA14YFRZZGT8CDR3BE",
263
+ "from": "active",
264
+ "to": "active"
265
+ },
266
+ {
267
+ "effects": [
268
+ [
269
+ "set",
270
+ "@entity.trail",
271
+ [
272
+ "array/filter",
273
+ [
274
+ "if",
275
+ [
276
+ ">",
277
+ "@payload.speed",
278
+ "@config.minSpeed"
279
+ ],
280
+ [
281
+ "array/concat",
282
+ "@entity.trail",
283
+ [
284
+ {
285
+ "bornAt": [
286
+ "time/now"
287
+ ],
288
+ "id": [
289
+ "str/concat",
290
+ "trail-",
291
+ [
292
+ "+",
293
+ "@entity.seq",
294
+ 1.0
295
+ ]
296
+ ],
297
+ "ttl": "@config.ttl",
298
+ "x": "@payload.x",
299
+ "y": "@payload.y"
300
+ }
301
+ ]
302
+ ],
303
+ "@entity.trail"
304
+ ],
305
+ [
306
+ "fn",
307
+ "d",
308
+ [
309
+ "<",
310
+ [
311
+ "-",
312
+ [
313
+ "time/now"
314
+ ],
315
+ [
316
+ "object/get",
317
+ "@d",
318
+ "bornAt"
319
+ ]
320
+ ],
321
+ [
322
+ "object/get",
323
+ "@d",
324
+ "ttl"
325
+ ]
326
+ ]
327
+ ]
328
+ ]
329
+ ],
330
+ [
331
+ "if",
332
+ [
333
+ ">",
334
+ "@payload.speed",
335
+ "@config.minSpeed"
336
+ ],
337
+ [
338
+ "set",
339
+ "@entity.seq",
340
+ [
341
+ "+",
342
+ "@entity.seq",
343
+ 1.0
344
+ ]
345
+ ],
346
+ null
347
+ ]
348
+ ],
349
+ "event": "BODY_MOVED",
350
+ "eventId": "evt_01M0PCAKRAWHX8VG91V45K7YYE",
351
+ "from": "active",
352
+ "guard": "@config.running",
353
+ "to": "active"
354
+ },
355
+ {
356
+ "effects": [
357
+ [
358
+ "set",
359
+ "@entity.trail",
360
+ []
361
+ ]
362
+ ],
363
+ "event": "RESTART",
364
+ "eventId": "evt_01M0PCAKRAK7M2V40695X450BC",
365
+ "from": "active",
366
+ "to": "active"
367
+ }
368
+ ]
369
+ }
370
+ }
371
+ ]
372
+ }
373
+ ],
374
+ "schemaVersion": 1,
375
+ "version": "1.0.0"
376
+ }