@almadar/std 16.201.0 → 16.202.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 (45) hide show
  1. package/behaviors/lolo/ui/core/molecules/ui-command-palette.lolo +116 -0
  2. package/behaviors/lolo/ui/core/molecules/ui-floating-toolbar.lolo +2 -1
  3. package/behaviors/lolo/ui/game/atoms/std-audio-cue.lolo +138 -0
  4. package/behaviors/lolo/ui/game/atoms/std-camera-rig.lolo +158 -0
  5. package/behaviors/lolo/ui/game/atoms/ui-canvas-2d.lolo +42 -0
  6. package/behaviors/lolo/ui/game/atoms/ui-canvas.lolo +42 -0
  7. package/behaviors/lolo/ui/game/atoms/ui-game-audio-cue.lolo +68 -0
  8. package/behaviors/lolo/ui/game/atoms/ui-game-audio-toggle.lolo +13 -0
  9. package/behaviors/lolo/ui/learning/atoms/ui-algo-graph-canvas.lolo +1 -0
  10. package/behaviors/lolo/ui/learning/atoms/ui-algorithm-canvas.lolo +1 -0
  11. package/behaviors/lolo/ui/learning/atoms/ui-biology-canvas.lolo +1 -0
  12. package/behaviors/lolo/ui/learning/atoms/ui-chemistry-canvas.lolo +1 -0
  13. package/behaviors/lolo/ui/learning/atoms/ui-learning-canvas.lolo +7 -0
  14. package/behaviors/lolo/ui/learning/atoms/ui-math-canvas.lolo +7 -0
  15. package/behaviors/lolo/ui/learning/atoms/ui-physics-canvas.lolo +1 -0
  16. package/behaviors/registry/ui/core/molecules/ui-command-palette.orb +589 -0
  17. package/behaviors/registry/ui/core/molecules/ui-floating-toolbar.orb +13 -2
  18. package/behaviors/registry/ui/game/atoms/std-audio-cue.orb +653 -0
  19. package/behaviors/registry/ui/game/atoms/std-camera-rig.orb +813 -0
  20. package/behaviors/registry/ui/game/atoms/ui-canvas-2d.orb +135 -0
  21. package/behaviors/registry/ui/game/atoms/ui-canvas.orb +134 -0
  22. package/behaviors/registry/ui/game/atoms/ui-game-audio-cue.orb +258 -0
  23. package/behaviors/registry/ui/game/atoms/ui-game-audio-toggle.orb +48 -0
  24. package/behaviors/registry/ui/learning/atoms/ui-algo-graph-canvas.orb +9 -0
  25. package/behaviors/registry/ui/learning/atoms/ui-algorithm-canvas.orb +13 -0
  26. package/behaviors/registry/ui/learning/atoms/ui-biology-canvas.orb +13 -0
  27. package/behaviors/registry/ui/learning/atoms/ui-chemistry-canvas.orb +13 -0
  28. package/behaviors/registry/ui/learning/atoms/ui-learning-canvas.orb +21 -0
  29. package/behaviors/registry/ui/learning/atoms/ui-math-canvas.orb +21 -0
  30. package/behaviors/registry/ui/learning/atoms/ui-physics-canvas.orb +13 -0
  31. package/dist/behaviors/exports-reader.js +3067 -2891
  32. package/dist/behaviors/functions/index.d.ts +407 -5
  33. package/dist/behaviors/functions/index.js +3048 -2884
  34. package/dist/behaviors/index.d.ts +1 -1
  35. package/dist/behaviors/index.js +3060 -2884
  36. package/dist/behaviors/query.js +3067 -2891
  37. package/dist/behaviors-embeddings.hash.json +3 -3
  38. package/dist/behaviors-embeddings.json +23 -7
  39. package/dist/behaviors-registry.json +2780 -391
  40. package/dist/index.d.ts +1 -1
  41. package/dist/index.js +3060 -2884
  42. package/dist/knob-embeddings.hash.json +3 -3
  43. package/dist/knob-embeddings.json +1 -1
  44. package/dist/registry/factory-signatures.json +1 -1
  45. package/package.json +2 -2
@@ -100,7 +100,8 @@
100
100
  "disabled": false,
101
101
  "icon": "circle",
102
102
  "id": "Id",
103
- "label": "Label"
103
+ "label": "Label",
104
+ "testId": "Test Id"
104
105
  },
105
106
  {
106
107
  "action": "Action 2",
@@ -108,7 +109,8 @@
108
109
  "disabled": true,
109
110
  "icon": "circle",
110
111
  "id": "Id 2",
111
- "label": "Label 2"
112
+ "label": "Label 2",
113
+ "testId": "Test Id 2"
112
114
  }
113
115
  ],
114
116
  "description": "Tool items rendered as icon buttons",
@@ -156,6 +158,11 @@
156
158
  "name": "label",
157
159
  "required": true,
158
160
  "type": "string"
161
+ },
162
+ "testId": {
163
+ "name": "testId",
164
+ "required": false,
165
+ "type": "string"
159
166
  }
160
167
  },
161
168
  "type": "object"
@@ -264,6 +271,10 @@
264
271
  {
265
272
  "name": "disabled",
266
273
  "type": "boolean"
274
+ },
275
+ {
276
+ "name": "testId",
277
+ "type": "string"
267
278
  }
268
279
  ]
269
280
  }
@@ -0,0 +1,653 @@
1
+ {
2
+ "description": "Headless-ish sound driver: the SOLE writer of cue/cueSeq/music/muted/volume, rendered through the game-audio-cue atom which mounts @almadar/ui's useGameAudio hook. Intents: CUE plays a one-shot SFX by manifest key (cueSeq increments so the same key can re-fire), MUSIC crossfades to a looping track by key, STOP_MUSIC fades it out, MUTE/UNMUTE/TOGGLE_MUTE flip playback and emit AUDIO_MUTED, SET_VOLUME sets master volume, RESTART reseeds from config. The manifest and baseUrl are config, not runtime state — swap them per game by rebinding this atom's config, never by hand-authoring a second audio layer.",
3
+ "ledger": {
4
+ "entries": {
5
+ "ent_01M1M6SDR1VN17FB43KGGYTXVH": {
6
+ "bakedName": "AudioState",
7
+ "curName": "AudioState",
8
+ "id": "ent_01M1M6SDR1VN17FB43KGGYTXVH",
9
+ "kind": "entity",
10
+ "owner": "workspace",
11
+ "renames": []
12
+ },
13
+ "evt_01M1M6SDR1825KS9GDK1GM6AX8": {
14
+ "bakedName": "SET_VOLUME",
15
+ "curName": "SET_VOLUME",
16
+ "id": "evt_01M1M6SDR1825KS9GDK1GM6AX8",
17
+ "kind": "event",
18
+ "owner": "workspace",
19
+ "parent": "trt_01M1M6SDR1WFKAGWXR797EQYMY",
20
+ "renames": []
21
+ },
22
+ "evt_01M1M6SDR1EKH269A77DW30YAT": {
23
+ "bakedName": "AUDIO_MUTED",
24
+ "curName": "AUDIO_MUTED",
25
+ "id": "evt_01M1M6SDR1EKH269A77DW30YAT",
26
+ "kind": "event",
27
+ "owner": "workspace",
28
+ "parent": "trt_01M1M6SDR1WFKAGWXR797EQYMY",
29
+ "renames": []
30
+ },
31
+ "evt_01M1M6SDR1HS1H8QBV1HSFT1YY": {
32
+ "bakedName": "RESTART",
33
+ "curName": "RESTART",
34
+ "id": "evt_01M1M6SDR1HS1H8QBV1HSFT1YY",
35
+ "kind": "event",
36
+ "owner": "workspace",
37
+ "parent": "trt_01M1M6SDR1WFKAGWXR797EQYMY",
38
+ "renames": []
39
+ },
40
+ "evt_01M1M6SDR1JZYH3CMHHCK2KNYM": {
41
+ "bakedName": "UNMUTE",
42
+ "curName": "UNMUTE",
43
+ "id": "evt_01M1M6SDR1JZYH3CMHHCK2KNYM",
44
+ "kind": "event",
45
+ "owner": "workspace",
46
+ "parent": "trt_01M1M6SDR1WFKAGWXR797EQYMY",
47
+ "renames": []
48
+ },
49
+ "evt_01M1M6SDR1NY7S30XE4E1BV5TR": {
50
+ "bakedName": "TOGGLE_MUTE",
51
+ "curName": "TOGGLE_MUTE",
52
+ "id": "evt_01M1M6SDR1NY7S30XE4E1BV5TR",
53
+ "kind": "event",
54
+ "owner": "workspace",
55
+ "parent": "trt_01M1M6SDR1WFKAGWXR797EQYMY",
56
+ "renames": []
57
+ },
58
+ "evt_01M1M6SDR1P7929V9054ET6B9F": {
59
+ "bakedName": "CUE",
60
+ "curName": "CUE",
61
+ "id": "evt_01M1M6SDR1P7929V9054ET6B9F",
62
+ "kind": "event",
63
+ "owner": "workspace",
64
+ "parent": "trt_01M1M6SDR1WFKAGWXR797EQYMY",
65
+ "renames": []
66
+ },
67
+ "evt_01M1M6SDR1PPFZ93F2SB68MCS2": {
68
+ "bakedName": "MUTE",
69
+ "curName": "MUTE",
70
+ "id": "evt_01M1M6SDR1PPFZ93F2SB68MCS2",
71
+ "kind": "event",
72
+ "owner": "workspace",
73
+ "parent": "trt_01M1M6SDR1WFKAGWXR797EQYMY",
74
+ "renames": []
75
+ },
76
+ "evt_01M1M6SDR1PXHSQVVVQTTAE63K": {
77
+ "bakedName": "STOP_MUSIC",
78
+ "curName": "STOP_MUSIC",
79
+ "id": "evt_01M1M6SDR1PXHSQVVVQTTAE63K",
80
+ "kind": "event",
81
+ "owner": "workspace",
82
+ "parent": "trt_01M1M6SDR1WFKAGWXR797EQYMY",
83
+ "renames": []
84
+ },
85
+ "evt_01M1M6SDR1XEYZMNRM1AGWSKWM": {
86
+ "bakedName": "MUSIC",
87
+ "curName": "MUSIC",
88
+ "id": "evt_01M1M6SDR1XEYZMNRM1AGWSKWM",
89
+ "kind": "event",
90
+ "owner": "workspace",
91
+ "parent": "trt_01M1M6SDR1WFKAGWXR797EQYMY",
92
+ "renames": []
93
+ },
94
+ "evt_01M1M6SDR1YMP6C6YHG2E1VFGP": {
95
+ "bakedName": "INIT",
96
+ "curName": "INIT",
97
+ "id": "evt_01M1M6SDR1YMP6C6YHG2E1VFGP",
98
+ "kind": "event",
99
+ "owner": "workspace",
100
+ "parent": "trt_01M1M6SDR1WFKAGWXR797EQYMY",
101
+ "renames": []
102
+ },
103
+ "orb_01M1M6SDR1QN5S7HECR8C736YS": {
104
+ "bakedName": "AudioCueOrbital",
105
+ "curName": "AudioCueOrbital",
106
+ "id": "orb_01M1M6SDR1QN5S7HECR8C736YS",
107
+ "kind": "orbital",
108
+ "owner": "workspace",
109
+ "renames": []
110
+ },
111
+ "pag_01M1M6SDR1ES3AJ842RWKX449Z": {
112
+ "bakedName": "AudioCuePage",
113
+ "curName": "AudioCuePage",
114
+ "id": "pag_01M1M6SDR1ES3AJ842RWKX449Z",
115
+ "kind": "page",
116
+ "owner": "workspace",
117
+ "renames": []
118
+ },
119
+ "trt_01M1M6SDR1WFKAGWXR797EQYMY": {
120
+ "bakedName": "AudioCue",
121
+ "curName": "AudioCue",
122
+ "id": "trt_01M1M6SDR1WFKAGWXR797EQYMY",
123
+ "kind": "trait",
124
+ "owner": "workspace",
125
+ "renames": []
126
+ }
127
+ },
128
+ "schemaVersion": 1
129
+ },
130
+ "name": "std-audio-cue",
131
+ "orbitals": [
132
+ {
133
+ "entity": {
134
+ "fields": [
135
+ {
136
+ "name": "id",
137
+ "required": true,
138
+ "type": "string"
139
+ },
140
+ {
141
+ "default": "",
142
+ "name": "cue",
143
+ "type": "string"
144
+ },
145
+ {
146
+ "default": 0.0,
147
+ "name": "cueSeq",
148
+ "type": "number"
149
+ },
150
+ {
151
+ "default": "",
152
+ "name": "music",
153
+ "type": "string"
154
+ },
155
+ {
156
+ "default": false,
157
+ "name": "muted",
158
+ "type": "boolean"
159
+ },
160
+ {
161
+ "default": 1.0,
162
+ "name": "volume",
163
+ "type": "number"
164
+ }
165
+ ],
166
+ "id": "ent_01M1M6SDR1VN17FB43KGGYTXVH",
167
+ "name": "AudioState",
168
+ "persistence": "runtime",
169
+ "shared": true
170
+ },
171
+ "id": "orb_01M1M6SDR1QN5S7HECR8C736YS",
172
+ "name": "AudioCueOrbital",
173
+ "pages": [
174
+ {
175
+ "id": "pag_01M1M6SDR1ES3AJ842RWKX449Z",
176
+ "name": "AudioCuePage",
177
+ "path": "/audio-cue",
178
+ "traits": [
179
+ {
180
+ "ref": "AudioCue",
181
+ "refId": "trt_01M1M6SDR1WFKAGWXR797EQYMY"
182
+ }
183
+ ]
184
+ }
185
+ ],
186
+ "traits": [
187
+ {
188
+ "category": "lifecycle",
189
+ "config": {
190
+ "baseUrl": {
191
+ "default": "",
192
+ "description": "Prefix prepended to every manifest path.",
193
+ "label": "Base Url",
194
+ "tier": "infra",
195
+ "type": "string"
196
+ },
197
+ "initialMusic": {
198
+ "default": "",
199
+ "description": "Manifest key auto-played as looping music on INIT/RESTART; empty plays none.",
200
+ "label": "Initial Music",
201
+ "tier": "presentation",
202
+ "type": "string"
203
+ },
204
+ "initialMuted": {
205
+ "default": false,
206
+ "description": "Muted state seeded on INIT/RESTART.",
207
+ "label": "Initial Muted",
208
+ "tier": "presentation",
209
+ "type": "boolean"
210
+ },
211
+ "initialVolume": {
212
+ "default": 1.0,
213
+ "description": "Master volume 0-1 seeded on INIT/RESTART.",
214
+ "label": "Initial Volume",
215
+ "tier": "presentation",
216
+ "type": "number"
217
+ },
218
+ "manifest": {
219
+ "default": {},
220
+ "description": "Sound definitions keyed by logical name — path(s), volume, loop, pooling, autostart, crossfade.",
221
+ "items": {
222
+ "properties": {
223
+ "autostart": {
224
+ "name": "autostart",
225
+ "required": false,
226
+ "type": "boolean"
227
+ },
228
+ "crossfade": {
229
+ "name": "crossfade",
230
+ "required": false,
231
+ "type": "boolean"
232
+ },
233
+ "crossfadeDurationMs": {
234
+ "name": "crossfadeDurationMs",
235
+ "required": false,
236
+ "type": "number"
237
+ },
238
+ "loop": {
239
+ "name": "loop",
240
+ "required": false,
241
+ "type": "boolean"
242
+ },
243
+ "path": {
244
+ "name": "path",
245
+ "required": false,
246
+ "type": "string"
247
+ },
248
+ "poolSize": {
249
+ "name": "poolSize",
250
+ "required": false,
251
+ "type": "number"
252
+ },
253
+ "volume": {
254
+ "name": "volume",
255
+ "required": false,
256
+ "type": "number"
257
+ }
258
+ },
259
+ "type": "object"
260
+ },
261
+ "label": "Manifest",
262
+ "tier": "domain",
263
+ "type": "Map<string,SoundEntry>"
264
+ }
265
+ },
266
+ "emits": [
267
+ {
268
+ "description": "Mute state changed via MUTE/UNMUTE/TOGGLE_MUTE.",
269
+ "event": "AUDIO_MUTED",
270
+ "eventId": "evt_01M1M6SDR1EKH269A77DW30YAT",
271
+ "payloadSchema": [
272
+ {
273
+ "name": "muted",
274
+ "required": true,
275
+ "type": "boolean"
276
+ }
277
+ ],
278
+ "scope": "external",
279
+ "synonyms": "mute-changed, sound-toggled",
280
+ "tier": "domain"
281
+ }
282
+ ],
283
+ "entityContract": {
284
+ "provides": [
285
+ "cue",
286
+ "cueSeq",
287
+ "music",
288
+ "muted",
289
+ "volume"
290
+ ],
291
+ "requires": []
292
+ },
293
+ "entityRebindable": true,
294
+ "entityRefIds": {
295
+ "AudioState": "ent_01M1M6SDR1VN17FB43KGGYTXVH"
296
+ },
297
+ "id": "trt_01M1M6SDR1WFKAGWXR797EQYMY",
298
+ "linkedEntity": "AudioState",
299
+ "linkedEntityId": "ent_01M1M6SDR1VN17FB43KGGYTXVH",
300
+ "name": "AudioCue",
301
+ "scope": "instance",
302
+ "stateMachine": {
303
+ "events": [
304
+ {
305
+ "id": "evt_01M1M6SDR1YMP6C6YHG2E1VFGP",
306
+ "key": "INIT",
307
+ "name": "Initialize"
308
+ },
309
+ {
310
+ "description": "Play a one-shot SFX by manifest key; re-fires even when key repeats.",
311
+ "id": "evt_01M1M6SDR1P7929V9054ET6B9F",
312
+ "key": "CUE",
313
+ "name": "Cue",
314
+ "payloadSchema": [
315
+ {
316
+ "name": "key",
317
+ "required": true,
318
+ "type": "string"
319
+ }
320
+ ],
321
+ "tier": "domain"
322
+ },
323
+ {
324
+ "description": "Crossfade to a looping background track by manifest key.",
325
+ "id": "evt_01M1M6SDR1XEYZMNRM1AGWSKWM",
326
+ "key": "MUSIC",
327
+ "name": "Music",
328
+ "payloadSchema": [
329
+ {
330
+ "name": "key",
331
+ "required": true,
332
+ "type": "string"
333
+ }
334
+ ],
335
+ "tier": "domain"
336
+ },
337
+ {
338
+ "description": "Fade out and stop the current music.",
339
+ "id": "evt_01M1M6SDR1PXHSQVVVQTTAE63K",
340
+ "key": "STOP_MUSIC",
341
+ "name": "Stop Music",
342
+ "tier": "domain"
343
+ },
344
+ {
345
+ "description": "Mute all playback.",
346
+ "id": "evt_01M1M6SDR1PPFZ93F2SB68MCS2",
347
+ "key": "MUTE",
348
+ "name": "Mute",
349
+ "tier": "domain"
350
+ },
351
+ {
352
+ "description": "Unmute playback.",
353
+ "id": "evt_01M1M6SDR1JZYH3CMHHCK2KNYM",
354
+ "key": "UNMUTE",
355
+ "name": "Unmute",
356
+ "tier": "domain"
357
+ },
358
+ {
359
+ "description": "Flip the current mute state.",
360
+ "id": "evt_01M1M6SDR1NY7S30XE4E1BV5TR",
361
+ "key": "TOGGLE_MUTE",
362
+ "name": "Toggle Mute",
363
+ "tier": "domain"
364
+ },
365
+ {
366
+ "description": "Set master volume 0-1.",
367
+ "id": "evt_01M1M6SDR1825KS9GDK1GM6AX8",
368
+ "key": "SET_VOLUME",
369
+ "name": "Set Volume",
370
+ "payloadSchema": [
371
+ {
372
+ "name": "volume",
373
+ "required": true,
374
+ "type": "number"
375
+ }
376
+ ],
377
+ "tier": "domain"
378
+ },
379
+ {
380
+ "description": "Reseed cue/music/muted/volume from config.",
381
+ "id": "evt_01M1M6SDR1HS1H8QBV1HSFT1YY",
382
+ "key": "RESTART",
383
+ "name": "Restart",
384
+ "tier": "domain"
385
+ },
386
+ {
387
+ "description": "Mute state changed via MUTE/UNMUTE/TOGGLE_MUTE.",
388
+ "id": "evt_01M1M6SDR1EKH269A77DW30YAT",
389
+ "key": "AUDIO_MUTED",
390
+ "name": "Audio Muted",
391
+ "payloadSchema": [
392
+ {
393
+ "name": "muted",
394
+ "required": true,
395
+ "type": "boolean"
396
+ }
397
+ ],
398
+ "synonyms": "mute-changed, sound-toggled",
399
+ "tier": "domain"
400
+ }
401
+ ],
402
+ "states": [
403
+ {
404
+ "isInitial": true,
405
+ "name": "active"
406
+ }
407
+ ],
408
+ "transitions": [
409
+ {
410
+ "effects": [
411
+ [
412
+ "set",
413
+ "@entity.cue",
414
+ ""
415
+ ],
416
+ [
417
+ "set",
418
+ "@entity.cueSeq",
419
+ 0.0
420
+ ],
421
+ [
422
+ "set",
423
+ "@entity.music",
424
+ "@config.initialMusic"
425
+ ],
426
+ [
427
+ "set",
428
+ "@entity.muted",
429
+ "@config.initialMuted"
430
+ ],
431
+ [
432
+ "set",
433
+ "@entity.volume",
434
+ "@config.initialVolume"
435
+ ],
436
+ [
437
+ "render-ui",
438
+ "main",
439
+ {
440
+ "baseUrl": "@config.baseUrl",
441
+ "cue": "@entity.cue",
442
+ "cueSeq": "@entity.cueSeq",
443
+ "manifest": "@config.manifest",
444
+ "music": "@entity.music",
445
+ "muted": "@entity.muted",
446
+ "type": "game-audio-cue",
447
+ "volume": "@entity.volume"
448
+ }
449
+ ]
450
+ ],
451
+ "event": "INIT",
452
+ "eventId": "evt_01M1M6SDR1YMP6C6YHG2E1VFGP",
453
+ "from": "active",
454
+ "to": "active"
455
+ },
456
+ {
457
+ "effects": [
458
+ [
459
+ "set",
460
+ "@entity.cue",
461
+ "@payload.key"
462
+ ],
463
+ [
464
+ "set",
465
+ "@entity.cueSeq",
466
+ [
467
+ "+",
468
+ "@entity.cueSeq",
469
+ 1.0
470
+ ]
471
+ ]
472
+ ],
473
+ "event": "CUE",
474
+ "eventId": "evt_01M1M6SDR1P7929V9054ET6B9F",
475
+ "from": "active",
476
+ "to": "active"
477
+ },
478
+ {
479
+ "effects": [
480
+ [
481
+ "set",
482
+ "@entity.music",
483
+ "@payload.key"
484
+ ]
485
+ ],
486
+ "event": "MUSIC",
487
+ "eventId": "evt_01M1M6SDR1XEYZMNRM1AGWSKWM",
488
+ "from": "active",
489
+ "to": "active"
490
+ },
491
+ {
492
+ "effects": [
493
+ [
494
+ "set",
495
+ "@entity.music",
496
+ ""
497
+ ]
498
+ ],
499
+ "event": "STOP_MUSIC",
500
+ "eventId": "evt_01M1M6SDR1PXHSQVVVQTTAE63K",
501
+ "from": "active",
502
+ "to": "active"
503
+ },
504
+ {
505
+ "effects": [
506
+ [
507
+ "set",
508
+ "@entity.muted",
509
+ true
510
+ ],
511
+ [
512
+ "emit",
513
+ "AUDIO_MUTED",
514
+ {
515
+ "muted": true
516
+ }
517
+ ]
518
+ ],
519
+ "event": "MUTE",
520
+ "eventId": "evt_01M1M6SDR1PPFZ93F2SB68MCS2",
521
+ "from": "active",
522
+ "to": "active"
523
+ },
524
+ {
525
+ "effects": [
526
+ [
527
+ "set",
528
+ "@entity.muted",
529
+ false
530
+ ],
531
+ [
532
+ "emit",
533
+ "AUDIO_MUTED",
534
+ {
535
+ "muted": false
536
+ }
537
+ ]
538
+ ],
539
+ "event": "UNMUTE",
540
+ "eventId": "evt_01M1M6SDR1JZYH3CMHHCK2KNYM",
541
+ "from": "active",
542
+ "to": "active"
543
+ },
544
+ {
545
+ "effects": [
546
+ [
547
+ "set",
548
+ "@entity.muted",
549
+ [
550
+ "not",
551
+ "@entity.muted"
552
+ ]
553
+ ],
554
+ [
555
+ "emit",
556
+ "AUDIO_MUTED",
557
+ {
558
+ "muted": "@entity.muted"
559
+ }
560
+ ]
561
+ ],
562
+ "event": "TOGGLE_MUTE",
563
+ "eventId": "evt_01M1M6SDR1NY7S30XE4E1BV5TR",
564
+ "from": "active",
565
+ "to": "active"
566
+ },
567
+ {
568
+ "effects": [
569
+ [
570
+ "set",
571
+ "@entity.volume",
572
+ "@payload.volume"
573
+ ]
574
+ ],
575
+ "event": "SET_VOLUME",
576
+ "eventId": "evt_01M1M6SDR1825KS9GDK1GM6AX8",
577
+ "from": "active",
578
+ "to": "active"
579
+ },
580
+ {
581
+ "effects": [
582
+ [
583
+ "set",
584
+ "@entity.cue",
585
+ ""
586
+ ],
587
+ [
588
+ "set",
589
+ "@entity.cueSeq",
590
+ 0.0
591
+ ],
592
+ [
593
+ "set",
594
+ "@entity.music",
595
+ "@config.initialMusic"
596
+ ],
597
+ [
598
+ "set",
599
+ "@entity.muted",
600
+ "@config.initialMuted"
601
+ ],
602
+ [
603
+ "set",
604
+ "@entity.volume",
605
+ "@config.initialVolume"
606
+ ]
607
+ ],
608
+ "event": "RESTART",
609
+ "eventId": "evt_01M1M6SDR1HS1H8QBV1HSFT1YY",
610
+ "from": "active",
611
+ "to": "active"
612
+ }
613
+ ]
614
+ }
615
+ }
616
+ ],
617
+ "types": {
618
+ "SoundEntry": [
619
+ {
620
+ "name": "path",
621
+ "type": "string"
622
+ },
623
+ {
624
+ "name": "volume",
625
+ "type": "number"
626
+ },
627
+ {
628
+ "name": "loop",
629
+ "type": "boolean"
630
+ },
631
+ {
632
+ "name": "poolSize",
633
+ "type": "number"
634
+ },
635
+ {
636
+ "name": "autostart",
637
+ "type": "boolean"
638
+ },
639
+ {
640
+ "name": "crossfade",
641
+ "type": "boolean"
642
+ },
643
+ {
644
+ "name": "crossfadeDurationMs",
645
+ "type": "number"
646
+ }
647
+ ]
648
+ }
649
+ }
650
+ ],
651
+ "schemaVersion": 1,
652
+ "version": "1.0.0"
653
+ }