@almadar/std 16.183.0 → 16.185.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 (44) hide show
  1. package/behaviors/lolo/ui/core/.hand-authored.json +4 -0
  2. package/behaviors/lolo/ui/core/atoms/std-browse.lolo +11 -0
  3. package/behaviors/lolo/ui/core/atoms/std-related.lolo +86 -9
  4. package/behaviors/lolo/ui/core/atoms/std-rich-editor.lolo +368 -1
  5. package/behaviors/lolo/ui/core/atoms/std-tag-taxonomy.lolo +62 -2
  6. package/behaviors/lolo/ui/core/atoms/std-thread.lolo +43 -2
  7. package/behaviors/lolo/ui/core/atoms/std-tree.lolo +247 -0
  8. package/behaviors/lolo/ui/core/atoms/std-version-history.lolo +110 -2
  9. package/behaviors/lolo/ui/core/molecules/ui-file-tree.lolo +18 -2
  10. package/behaviors/lolo/ui/core/organisms/ui-detail-panel.lolo +12 -2
  11. package/behaviors/lolo/ui/core/organisms/ui-form-section.lolo +2 -2
  12. package/behaviors/lolo/ui/core/organisms/ui-form.lolo +2 -2
  13. package/behaviors/lolo/ui/game/atoms/std-tutorial-autodemo.lolo +136 -0
  14. package/behaviors/lolo/ui/game/atoms/std-tutorial-overlay.lolo +41 -8
  15. package/behaviors/lolo/ui/learning/atoms/ui-math-canvas.lolo +3 -3
  16. package/behaviors/registry/ui/core/atoms/std-browse.orb +17 -0
  17. package/behaviors/registry/ui/core/atoms/std-related.orb +256 -3
  18. package/behaviors/registry/ui/core/atoms/std-rich-editor.orb +898 -1
  19. package/behaviors/registry/ui/core/atoms/std-tag-taxonomy.orb +240 -8
  20. package/behaviors/registry/ui/core/atoms/std-thread.orb +254 -4
  21. package/behaviors/registry/ui/core/atoms/std-tree.orb +656 -0
  22. package/behaviors/registry/ui/core/atoms/std-version-history.orb +479 -6
  23. package/behaviors/registry/ui/core/molecules/ui-file-tree.orb +43 -19
  24. package/behaviors/registry/ui/core/organisms/ui-detail-panel.orb +37 -3
  25. package/behaviors/registry/ui/core/organisms/ui-form-section.orb +8 -2
  26. package/behaviors/registry/ui/core/organisms/ui-form.orb +8 -2
  27. package/behaviors/registry/ui/game/atoms/std-tutorial-autodemo.orb +732 -0
  28. package/behaviors/registry/ui/game/atoms/std-tutorial-overlay.orb +305 -153
  29. package/behaviors/registry/ui/learning/atoms/ui-math-canvas.orb +26 -0
  30. package/dist/behaviors/exports-reader.js +5132 -2398
  31. package/dist/behaviors/functions/index.d.ts +261 -44
  32. package/dist/behaviors/functions/index.js +5118 -2396
  33. package/dist/behaviors/index.d.ts +1 -1
  34. package/dist/behaviors/index.js +5133 -2399
  35. package/dist/behaviors/query.js +5132 -2398
  36. package/dist/behaviors-embeddings.hash.json +3 -3
  37. package/dist/behaviors-embeddings.json +310 -302
  38. package/dist/behaviors-registry.json +820 -35
  39. package/dist/index.d.ts +1 -1
  40. package/dist/index.js +5133 -2399
  41. package/dist/knob-embeddings.hash.json +3 -3
  42. package/dist/knob-embeddings.json +1 -1
  43. package/dist/registry/factory-signatures.json +1 -1
  44. package/package.json +2 -2
@@ -0,0 +1,732 @@
1
+ {
2
+ "description": "Generic scripted input-replay atom: the demo half of a tutorial. Holds one or more named cue scripts (each an ordered list of { at, event, arg } rows where at is a millisecond offset and event is LEFT/RIGHT/JUMP/STOP); listens for TUTORIAL_DEMO_START { demoId } (from std-tutorial-overlay's demoId step) and plays the matching script on a 32ms clock, emitting the semantic DEMO_LEFT / DEMO_RIGHT / DEMO_JUMP / DEMO_STOP events the host board maps onto its own movement. TUTORIAL_DEMO_STOP, DEMO_CANCEL (real user input), or exhausting the cue list end the demo and emit DEMO_STOP so the character stops moving. Renders a small Demo badge while playing. Domain-agnostic: the demo never emits board events (OW_*, etc.) — the organism maps DEMO_* to its own steering, so a demo cannot self-cancel through the board's input path.",
3
+ "ledger": {
4
+ "entries": {
5
+ "ent_01M0S0KZGXRP84QBEANPR575BA": {
6
+ "bakedName": "AutoDemoData",
7
+ "curName": "AutoDemoData",
8
+ "id": "ent_01M0S0KZGXRP84QBEANPR575BA",
9
+ "kind": "entity",
10
+ "owner": "workspace",
11
+ "renames": []
12
+ },
13
+ "evt_01M0S0KZGXT6T1C7K55SM27EMB": {
14
+ "bakedName": "INIT",
15
+ "curName": "INIT",
16
+ "id": "evt_01M0S0KZGXT6T1C7K55SM27EMB",
17
+ "kind": "event",
18
+ "owner": "workspace",
19
+ "parent": "trt_01M0S0KZGXGG682M0QJGPTTGNE",
20
+ "renames": []
21
+ },
22
+ "evt_01M0S0KZGZ2H7SJB723R308HR0": {
23
+ "bakedName": "DEMO_JUMP",
24
+ "curName": "DEMO_JUMP",
25
+ "id": "evt_01M0S0KZGZ2H7SJB723R308HR0",
26
+ "kind": "event",
27
+ "owner": "workspace",
28
+ "parent": "trt_01M0S0KZGXGG682M0QJGPTTGNE",
29
+ "renames": []
30
+ },
31
+ "evt_01M0S0KZGZ3N188KYCBHEJ7TXF": {
32
+ "bakedName": "TUTORIAL_DEMO_START",
33
+ "curName": "TUTORIAL_DEMO_START",
34
+ "id": "evt_01M0S0KZGZ3N188KYCBHEJ7TXF",
35
+ "kind": "event",
36
+ "owner": "workspace",
37
+ "parent": "trt_01M0S0KZGXGG682M0QJGPTTGNE",
38
+ "renames": []
39
+ },
40
+ "evt_01M0S0KZGZ4753J09AGYJGJKNQ": {
41
+ "bakedName": "DEMO_RIGHT",
42
+ "curName": "DEMO_RIGHT",
43
+ "id": "evt_01M0S0KZGZ4753J09AGYJGJKNQ",
44
+ "kind": "event",
45
+ "owner": "workspace",
46
+ "parent": "trt_01M0S0KZGXGG682M0QJGPTTGNE",
47
+ "renames": []
48
+ },
49
+ "evt_01M0S0KZGZ6F85W936CAQKPMSX": {
50
+ "bakedName": "DEMO_CANCEL",
51
+ "curName": "DEMO_CANCEL",
52
+ "id": "evt_01M0S0KZGZ6F85W936CAQKPMSX",
53
+ "kind": "event",
54
+ "owner": "workspace",
55
+ "parent": "trt_01M0S0KZGXGG682M0QJGPTTGNE",
56
+ "renames": []
57
+ },
58
+ "evt_01M0S0KZGZN19YHQE8NGP53TKF": {
59
+ "bakedName": "DEMO_STOP",
60
+ "curName": "DEMO_STOP",
61
+ "id": "evt_01M0S0KZGZN19YHQE8NGP53TKF",
62
+ "kind": "event",
63
+ "owner": "workspace",
64
+ "parent": "trt_01M0S0KZGXGG682M0QJGPTTGNE",
65
+ "renames": []
66
+ },
67
+ "evt_01M0S0KZGZQ2Q298H0ZCSZ39A8": {
68
+ "bakedName": "TUTORIAL_DEMO_STOP",
69
+ "curName": "TUTORIAL_DEMO_STOP",
70
+ "id": "evt_01M0S0KZGZQ2Q298H0ZCSZ39A8",
71
+ "kind": "event",
72
+ "owner": "workspace",
73
+ "parent": "trt_01M0S0KZGXGG682M0QJGPTTGNE",
74
+ "renames": []
75
+ },
76
+ "evt_01M0S0KZGZYA08RHH67AF8CYT6": {
77
+ "bakedName": "DEMO_LEFT",
78
+ "curName": "DEMO_LEFT",
79
+ "id": "evt_01M0S0KZGZYA08RHH67AF8CYT6",
80
+ "kind": "event",
81
+ "owner": "workspace",
82
+ "parent": "trt_01M0S0KZGXGG682M0QJGPTTGNE",
83
+ "renames": []
84
+ },
85
+ "orb_01M0S0KZGX9ZJR16GC4GPCXMXM": {
86
+ "bakedName": "TutorialAutoDemoOrbital",
87
+ "curName": "TutorialAutoDemoOrbital",
88
+ "id": "orb_01M0S0KZGX9ZJR16GC4GPCXMXM",
89
+ "kind": "orbital",
90
+ "owner": "workspace",
91
+ "renames": []
92
+ },
93
+ "pag_01M0S0KZGZEQ6H4KH70H7VM1V3": {
94
+ "bakedName": "TutorialAutoDemoPage",
95
+ "curName": "TutorialAutoDemoPage",
96
+ "id": "pag_01M0S0KZGZEQ6H4KH70H7VM1V3",
97
+ "kind": "page",
98
+ "owner": "workspace",
99
+ "renames": []
100
+ },
101
+ "trt_01M0S0KZGXGG682M0QJGPTTGNE": {
102
+ "bakedName": "AutoDemo",
103
+ "curName": "AutoDemo",
104
+ "id": "trt_01M0S0KZGXGG682M0QJGPTTGNE",
105
+ "kind": "trait",
106
+ "owner": "workspace",
107
+ "renames": []
108
+ }
109
+ },
110
+ "schemaVersion": 1
111
+ },
112
+ "name": "std-tutorial-autodemo",
113
+ "orbitals": [
114
+ {
115
+ "entity": {
116
+ "fields": [
117
+ {
118
+ "name": "id",
119
+ "required": true,
120
+ "type": "string"
121
+ },
122
+ {
123
+ "default": false,
124
+ "name": "playing",
125
+ "type": "boolean"
126
+ },
127
+ {
128
+ "default": "",
129
+ "name": "scriptId",
130
+ "type": "string"
131
+ },
132
+ {
133
+ "default": 0.0,
134
+ "name": "elapsed",
135
+ "type": "number"
136
+ },
137
+ {
138
+ "default": 0.0,
139
+ "name": "cueIndex",
140
+ "type": "number"
141
+ }
142
+ ],
143
+ "id": "ent_01M0S0KZGXRP84QBEANPR575BA",
144
+ "name": "AutoDemoData",
145
+ "persistence": "runtime"
146
+ },
147
+ "id": "orb_01M0S0KZGX9ZJR16GC4GPCXMXM",
148
+ "name": "TutorialAutoDemoOrbital",
149
+ "pages": [
150
+ {
151
+ "id": "pag_01M0S0KZGZEQ6H4KH70H7VM1V3",
152
+ "name": "TutorialAutoDemoPage",
153
+ "path": "/tutorial-autodemo",
154
+ "traits": [
155
+ {
156
+ "ref": "AutoDemo",
157
+ "refId": "trt_01M0S0KZGXGG682M0QJGPTTGNE"
158
+ }
159
+ ]
160
+ }
161
+ ],
162
+ "traits": [
163
+ {
164
+ "category": "interaction",
165
+ "config": {
166
+ "scripts": {
167
+ "default": [],
168
+ "description": "Named cue scripts keyed by the tutorial step's demoId; each cue fires its event after `at` milliseconds of the demo clock.",
169
+ "items": {
170
+ "properties": {
171
+ "cues": {
172
+ "items": {
173
+ "properties": {
174
+ "arg": {
175
+ "name": "arg",
176
+ "required": false,
177
+ "type": "number"
178
+ },
179
+ "at": {
180
+ "name": "at",
181
+ "required": true,
182
+ "type": "number"
183
+ },
184
+ "event": {
185
+ "name": "event",
186
+ "required": true,
187
+ "type": "string"
188
+ }
189
+ },
190
+ "type": "object"
191
+ },
192
+ "name": "cues",
193
+ "required": true,
194
+ "type": "array"
195
+ },
196
+ "id": {
197
+ "name": "id",
198
+ "required": true,
199
+ "type": "string"
200
+ }
201
+ },
202
+ "type": "object"
203
+ },
204
+ "label": "Scripts",
205
+ "tier": "domain",
206
+ "type": "[DemoScript]"
207
+ }
208
+ },
209
+ "emits": [
210
+ {
211
+ "description": "Scripted run-left cue; the host board maps this to its own steer-left.",
212
+ "event": "DEMO_LEFT",
213
+ "eventId": "evt_01M0S0KZGZYA08RHH67AF8CYT6",
214
+ "scope": "external",
215
+ "tier": "domain"
216
+ },
217
+ {
218
+ "description": "Scripted run-right cue; the host board maps this to its own steer-right.",
219
+ "event": "DEMO_RIGHT",
220
+ "eventId": "evt_01M0S0KZGZ4753J09AGYJGJKNQ",
221
+ "scope": "external",
222
+ "tier": "domain"
223
+ },
224
+ {
225
+ "description": "Scripted jump cue; the host board maps this to its own jump.",
226
+ "event": "DEMO_JUMP",
227
+ "eventId": "evt_01M0S0KZGZ2H7SJB723R308HR0",
228
+ "scope": "external",
229
+ "tier": "domain"
230
+ },
231
+ {
232
+ "description": "Scripted stop cue (or demo end/cancel); the host board maps this to stop movement.",
233
+ "event": "DEMO_STOP",
234
+ "eventId": "evt_01M0S0KZGZN19YHQE8NGP53TKF",
235
+ "scope": "external",
236
+ "tier": "domain"
237
+ }
238
+ ],
239
+ "entityContract": {
240
+ "provides": [
241
+ "cueIndex",
242
+ "elapsed",
243
+ "playing",
244
+ "scriptId"
245
+ ],
246
+ "requires": []
247
+ },
248
+ "entityRebindable": true,
249
+ "entityRefIds": {
250
+ "AutoDemoData": "ent_01M0S0KZGXRP84QBEANPR575BA"
251
+ },
252
+ "id": "trt_01M0S0KZGXGG682M0QJGPTTGNE",
253
+ "linkedEntity": "AutoDemoData",
254
+ "linkedEntityId": "ent_01M0S0KZGXRP84QBEANPR575BA",
255
+ "name": "AutoDemo",
256
+ "scope": "instance",
257
+ "stateMachine": {
258
+ "events": [
259
+ {
260
+ "id": "evt_01M0S0KZGXT6T1C7K55SM27EMB",
261
+ "key": "INIT",
262
+ "name": "Initialize"
263
+ },
264
+ {
265
+ "description": "A tutorial step carrying a demoId was shown (std-tutorial-overlay); begin playing the cue script whose id matches demoId.",
266
+ "id": "evt_01M0S0KZGZ3N188KYCBHEJ7TXF",
267
+ "key": "TUTORIAL_DEMO_START",
268
+ "name": "Tutorial Demo Start",
269
+ "payloadSchema": [
270
+ {
271
+ "name": "demoId",
272
+ "required": true,
273
+ "type": "string"
274
+ }
275
+ ],
276
+ "tier": "domain"
277
+ },
278
+ {
279
+ "description": "The tutorial left a demo step or was dismissed; stop the demo and release control.",
280
+ "id": "evt_01M0S0KZGZQ2Q298H0ZCSZ39A8",
281
+ "key": "TUTORIAL_DEMO_STOP",
282
+ "name": "Tutorial Demo Stop",
283
+ "tier": "domain"
284
+ },
285
+ {
286
+ "description": "Real user input was received by the host board; stop the demo immediately and hand control back to the player.",
287
+ "id": "evt_01M0S0KZGZ6F85W936CAQKPMSX",
288
+ "key": "DEMO_CANCEL",
289
+ "name": "Demo Cancel",
290
+ "tier": "domain"
291
+ },
292
+ {
293
+ "description": "Scripted run-left cue; the host board maps this to its own steer-left.",
294
+ "id": "evt_01M0S0KZGZYA08RHH67AF8CYT6",
295
+ "key": "DEMO_LEFT",
296
+ "name": "Demo Left",
297
+ "tier": "domain"
298
+ },
299
+ {
300
+ "description": "Scripted run-right cue; the host board maps this to its own steer-right.",
301
+ "id": "evt_01M0S0KZGZ4753J09AGYJGJKNQ",
302
+ "key": "DEMO_RIGHT",
303
+ "name": "Demo Right",
304
+ "tier": "domain"
305
+ },
306
+ {
307
+ "description": "Scripted jump cue; the host board maps this to its own jump.",
308
+ "id": "evt_01M0S0KZGZ2H7SJB723R308HR0",
309
+ "key": "DEMO_JUMP",
310
+ "name": "Demo Jump",
311
+ "tier": "domain"
312
+ },
313
+ {
314
+ "description": "Scripted stop cue (or demo end/cancel); the host board maps this to stop movement.",
315
+ "id": "evt_01M0S0KZGZN19YHQE8NGP53TKF",
316
+ "key": "DEMO_STOP",
317
+ "name": "Demo Stop",
318
+ "tier": "domain"
319
+ }
320
+ ],
321
+ "states": [
322
+ {
323
+ "isInitial": true,
324
+ "name": "idle"
325
+ },
326
+ {
327
+ "name": "playing"
328
+ }
329
+ ],
330
+ "transitions": [
331
+ {
332
+ "effects": [
333
+ [
334
+ "render-ui",
335
+ "hud-top",
336
+ null
337
+ ]
338
+ ],
339
+ "event": "INIT",
340
+ "eventId": "evt_01M0S0KZGXT6T1C7K55SM27EMB",
341
+ "from": "idle",
342
+ "to": "idle"
343
+ },
344
+ {
345
+ "effects": [
346
+ [
347
+ "set",
348
+ "@entity.scriptId",
349
+ "@payload.demoId"
350
+ ],
351
+ [
352
+ "set",
353
+ "@entity.elapsed",
354
+ 0.0
355
+ ],
356
+ [
357
+ "set",
358
+ "@entity.cueIndex",
359
+ 0.0
360
+ ],
361
+ [
362
+ "set",
363
+ "@entity.playing",
364
+ true
365
+ ],
366
+ [
367
+ "render-ui",
368
+ "hud-top",
369
+ {
370
+ "label": "Demo",
371
+ "type": "badge",
372
+ "variant": "info"
373
+ }
374
+ ]
375
+ ],
376
+ "event": "TUTORIAL_DEMO_START",
377
+ "eventId": "evt_01M0S0KZGZ3N188KYCBHEJ7TXF",
378
+ "from": "idle",
379
+ "to": "playing"
380
+ },
381
+ {
382
+ "effects": [
383
+ [
384
+ "render-ui",
385
+ "hud-top",
386
+ null
387
+ ]
388
+ ],
389
+ "event": "TUTORIAL_DEMO_STOP",
390
+ "eventId": "evt_01M0S0KZGZQ2Q298H0ZCSZ39A8",
391
+ "from": "idle",
392
+ "to": "idle"
393
+ },
394
+ {
395
+ "effects": [
396
+ [
397
+ "render-ui",
398
+ "hud-top",
399
+ null
400
+ ]
401
+ ],
402
+ "event": "DEMO_CANCEL",
403
+ "eventId": "evt_01M0S0KZGZ6F85W936CAQKPMSX",
404
+ "from": "idle",
405
+ "to": "idle"
406
+ },
407
+ {
408
+ "effects": [
409
+ [
410
+ "set",
411
+ "@entity.scriptId",
412
+ "@payload.demoId"
413
+ ],
414
+ [
415
+ "set",
416
+ "@entity.elapsed",
417
+ 0.0
418
+ ],
419
+ [
420
+ "set",
421
+ "@entity.cueIndex",
422
+ 0.0
423
+ ],
424
+ [
425
+ "render-ui",
426
+ "hud-top",
427
+ {
428
+ "label": "Demo",
429
+ "type": "badge",
430
+ "variant": "info"
431
+ }
432
+ ]
433
+ ],
434
+ "event": "TUTORIAL_DEMO_START",
435
+ "eventId": "evt_01M0S0KZGZ3N188KYCBHEJ7TXF",
436
+ "from": "playing",
437
+ "to": "playing"
438
+ },
439
+ {
440
+ "effects": [
441
+ [
442
+ "set",
443
+ "@entity.playing",
444
+ false
445
+ ],
446
+ [
447
+ "render-ui",
448
+ "hud-top",
449
+ null
450
+ ],
451
+ [
452
+ "emit",
453
+ "DEMO_STOP",
454
+ {}
455
+ ]
456
+ ],
457
+ "event": "TUTORIAL_DEMO_STOP",
458
+ "eventId": "evt_01M0S0KZGZQ2Q298H0ZCSZ39A8",
459
+ "from": "playing",
460
+ "to": "idle"
461
+ },
462
+ {
463
+ "effects": [
464
+ [
465
+ "set",
466
+ "@entity.playing",
467
+ false
468
+ ],
469
+ [
470
+ "render-ui",
471
+ "hud-top",
472
+ null
473
+ ],
474
+ [
475
+ "emit",
476
+ "DEMO_STOP",
477
+ {}
478
+ ]
479
+ ],
480
+ "event": "DEMO_CANCEL",
481
+ "eventId": "evt_01M0S0KZGZ6F85W936CAQKPMSX",
482
+ "from": "playing",
483
+ "to": "idle"
484
+ }
485
+ ]
486
+ },
487
+ "ticks": [
488
+ {
489
+ "effects": [
490
+ [
491
+ "set",
492
+ "@entity.elapsed",
493
+ [
494
+ "+",
495
+ "@entity.elapsed",
496
+ 32.0
497
+ ]
498
+ ],
499
+ [
500
+ "let",
501
+ [
502
+ [
503
+ "scriptMatch",
504
+ [
505
+ "array/filter",
506
+ "@config.scripts",
507
+ [
508
+ "fn",
509
+ "s",
510
+ [
511
+ "==",
512
+ [
513
+ "object/get",
514
+ "@s",
515
+ "id"
516
+ ],
517
+ "@entity.scriptId"
518
+ ]
519
+ ]
520
+ ]
521
+ ]
522
+ ],
523
+ [
524
+ "let",
525
+ [
526
+ [
527
+ "cueList",
528
+ [
529
+ "if",
530
+ [
531
+ ">",
532
+ [
533
+ "array/len",
534
+ "@scriptMatch"
535
+ ],
536
+ 0.0
537
+ ],
538
+ [
539
+ "object/get",
540
+ [
541
+ "array/first",
542
+ "@scriptMatch"
543
+ ],
544
+ "cues",
545
+ []
546
+ ],
547
+ []
548
+ ]
549
+ ]
550
+ ],
551
+ [
552
+ "let",
553
+ [
554
+ [
555
+ "cue",
556
+ [
557
+ "if",
558
+ [
559
+ "<",
560
+ "@entity.cueIndex",
561
+ [
562
+ "array/len",
563
+ "@cueList"
564
+ ]
565
+ ],
566
+ [
567
+ "array/nth",
568
+ "@cueList",
569
+ "@entity.cueIndex"
570
+ ],
571
+ {
572
+ "at": 999999.0,
573
+ "event": ""
574
+ }
575
+ ]
576
+ ]
577
+ ],
578
+ [
579
+ "do",
580
+ [
581
+ "if",
582
+ [
583
+ "<=",
584
+ [
585
+ "object/get",
586
+ "@cue",
587
+ "at",
588
+ 0.0
589
+ ],
590
+ "@entity.elapsed"
591
+ ],
592
+ [
593
+ "do",
594
+ [
595
+ "set",
596
+ "@entity.cueIndex",
597
+ [
598
+ "+",
599
+ "@entity.cueIndex",
600
+ 1.0
601
+ ]
602
+ ],
603
+ [
604
+ "if",
605
+ [
606
+ "==",
607
+ [
608
+ "object/get",
609
+ "@cue",
610
+ "event",
611
+ ""
612
+ ],
613
+ "LEFT"
614
+ ],
615
+ [
616
+ "emit",
617
+ "DEMO_LEFT",
618
+ {}
619
+ ],
620
+ null
621
+ ],
622
+ [
623
+ "if",
624
+ [
625
+ "==",
626
+ [
627
+ "object/get",
628
+ "@cue",
629
+ "event",
630
+ ""
631
+ ],
632
+ "RIGHT"
633
+ ],
634
+ [
635
+ "emit",
636
+ "DEMO_RIGHT",
637
+ {}
638
+ ],
639
+ null
640
+ ],
641
+ [
642
+ "if",
643
+ [
644
+ "==",
645
+ [
646
+ "object/get",
647
+ "@cue",
648
+ "event",
649
+ ""
650
+ ],
651
+ "JUMP"
652
+ ],
653
+ [
654
+ "emit",
655
+ "DEMO_JUMP",
656
+ {}
657
+ ],
658
+ null
659
+ ],
660
+ [
661
+ "if",
662
+ [
663
+ "==",
664
+ [
665
+ "object/get",
666
+ "@cue",
667
+ "event",
668
+ ""
669
+ ],
670
+ "STOP"
671
+ ],
672
+ [
673
+ "emit",
674
+ "DEMO_STOP",
675
+ {}
676
+ ],
677
+ null
678
+ ]
679
+ ],
680
+ null
681
+ ],
682
+ [
683
+ "if",
684
+ [
685
+ ">=",
686
+ "@entity.cueIndex",
687
+ [
688
+ "array/len",
689
+ "@cueList"
690
+ ]
691
+ ],
692
+ [
693
+ "do",
694
+ [
695
+ "set",
696
+ "@entity.playing",
697
+ false
698
+ ],
699
+ [
700
+ "render-ui",
701
+ "hud-top",
702
+ null
703
+ ],
704
+ [
705
+ "emit",
706
+ "DEMO_STOP",
707
+ {}
708
+ ]
709
+ ],
710
+ null
711
+ ]
712
+ ]
713
+ ]
714
+ ]
715
+ ]
716
+ ],
717
+ "guard": [
718
+ "==",
719
+ "@entity.playing",
720
+ true
721
+ ],
722
+ "interval": 32.0,
723
+ "name": "demoTick"
724
+ }
725
+ ]
726
+ }
727
+ ]
728
+ }
729
+ ],
730
+ "schemaVersion": 1,
731
+ "version": "1.0.0"
732
+ }