@almadar/std 16.243.0 → 16.244.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/behaviors-registry.json +4470 -513
- package/behaviors/lolo/agent/atoms/std-agent-context.lolo +24 -4
- package/behaviors/lolo/agent/atoms/std-agent-memory.lolo +20 -5
- package/behaviors/lolo/agent/atoms/std-agent-proposal.lolo +550 -0
- package/behaviors/lolo/agent/atoms/std-agent-session.lolo +284 -25
- package/behaviors/lolo/agent/atoms/std-agent-suggestions.lolo +841 -0
- package/behaviors/lolo/agent/atoms/std-agent-tool-loop.lolo +58 -8
- package/behaviors/lolo/agent/organisms/std-agent-assistant.lolo +1 -0
- package/behaviors/lolo/infra/atoms/std-page-treat.lolo +28 -1
- package/behaviors/lolo/ui/avl/atoms/ui-avl-state-machine.lolo +22 -0
- package/behaviors/lolo/ui/avl/atoms/ui-avl-transition-explainer.lolo +175 -0
- package/behaviors/lolo/ui/avl/atoms/ui-module-card.lolo +22 -0
- package/behaviors/lolo/ui/core/atoms/std-app-layout.lolo +23 -4
- package/behaviors/lolo/ui/core/atoms/std-hero.lolo +72 -33
- package/behaviors/lolo/ui/core/molecules/ui-agent-chat-feed.lolo +1 -1
- package/behaviors/lolo/ui/core/molecules/ui-markdown-content.lolo +54 -0
- package/behaviors/lolo/ui/core/molecules/ui-upload-drop-zone.lolo +5 -0
- package/behaviors/lolo/ui/core/organisms/ui-segment-renderer.lolo +127 -3
- package/behaviors/lolo/ui/core/organisms/ui-state-machine-view.lolo +22 -0
- package/behaviors/lolo/ui/core/templates/ui-dashboard-layout.lolo +2 -2
- package/behaviors/lolo/ui/learning/atoms/std-learn-arrangement.lolo +87 -17
- package/behaviors/lolo/ui/learning/atoms/std-learn-classify.lolo +172 -37
- package/behaviors/lolo/ui/learning/atoms/std-learn-coupled-sim.lolo +183 -70
- package/behaviors/lolo/ui/learning/atoms/std-learn-derivation.lolo +78 -13
- package/behaviors/lolo/ui/learning/atoms/std-learn-diagram.lolo +58 -2
- package/behaviors/lolo/ui/learning/atoms/std-learn-doser.lolo +107 -12
- package/behaviors/lolo/ui/learning/atoms/std-learn-estimate.lolo +83 -10
- package/behaviors/lolo/ui/learning/atoms/std-learn-goal-seek.lolo +130 -9
- package/behaviors/lolo/ui/learning/atoms/std-learn-grid-sim.lolo +143 -59
- package/behaviors/lolo/ui/learning/atoms/std-learn-hotspot.lolo +96 -22
- package/behaviors/lolo/ui/learning/atoms/std-learn-live-sim.lolo +66 -5
- package/behaviors/lolo/ui/learning/atoms/std-learn-predict.lolo +84 -6
- package/behaviors/lolo/ui/learning/atoms/std-learn-sandbox.lolo +80 -14
- package/behaviors/lolo/ui/learning/atoms/std-learn-scatter-fit.lolo +99 -5
- package/behaviors/lolo/ui/learning/atoms/std-learn-scenario.lolo +81 -7
- package/behaviors/lolo/ui/learning/atoms/std-learn-speed-drill.lolo +83 -7
- package/behaviors/lolo/ui/learning/atoms/std-learn-stepper.lolo +224 -99
- package/behaviors/lolo/ui/learning/atoms/std-learn-tour-3d.lolo +63 -2
- package/behaviors/lolo/ui/learning/atoms/std-learn-trace-player.lolo +99 -38
- package/behaviors/lolo/ui/learning/atoms/std-learn-transport.lolo +7 -7
- package/behaviors/lolo/ui/learning/atoms/std-learn-tree.lolo +69 -4
- package/behaviors/lolo-behavior-contracts.json +1 -1
- package/behaviors/registry/agent/atoms/std-agent-context.orb +205 -6
- package/behaviors/registry/agent/atoms/std-agent-memory.orb +146 -4
- package/behaviors/registry/agent/atoms/std-agent-proposal.orb +1972 -0
- package/behaviors/registry/agent/atoms/std-agent-session.orb +2021 -597
- package/behaviors/registry/agent/atoms/std-agent-suggestions.orb +5079 -0
- package/behaviors/registry/agent/atoms/std-agent-tool-loop.orb +287 -5
- package/behaviors/registry/agent/organisms/std-agent-assistant.orb +7 -0
- package/behaviors/registry/factory-signatures.json +1 -1
- package/behaviors/registry/infra/atoms/std-page-treat.orb +327 -2
- package/behaviors/registry/ui/avl/atoms/ui-avl-state-machine.orb +134 -0
- package/behaviors/registry/ui/avl/atoms/ui-avl-transition-explainer.orb +678 -0
- package/behaviors/registry/ui/avl/atoms/ui-module-card.orb +122 -0
- package/behaviors/registry/ui/core/atoms/std-app-layout.orb +73 -4
- package/behaviors/registry/ui/core/atoms/std-hero.orb +174 -97
- package/behaviors/registry/ui/core/molecules/ui-markdown-content.orb +204 -1
- package/behaviors/registry/ui/core/molecules/ui-upload-drop-zone.orb +12 -0
- package/behaviors/registry/ui/core/organisms/ui-segment-renderer.orb +683 -30
- package/behaviors/registry/ui/learning/atoms/std-learn-arrangement.orb +748 -21
- package/behaviors/registry/ui/learning/atoms/std-learn-classify.orb +1429 -41
- package/behaviors/registry/ui/learning/atoms/std-learn-coupled-sim.orb +1031 -185
- package/behaviors/registry/ui/learning/atoms/std-learn-derivation.orb +807 -132
- package/behaviors/registry/ui/learning/atoms/std-learn-diagram.orb +553 -6
- package/behaviors/registry/ui/learning/atoms/std-learn-doser.orb +987 -21
- package/behaviors/registry/ui/learning/atoms/std-learn-estimate.orb +582 -16
- package/behaviors/registry/ui/learning/atoms/std-learn-goal-seek.orb +954 -13
- package/behaviors/registry/ui/learning/atoms/std-learn-grid-sim.orb +828 -88
- package/behaviors/registry/ui/learning/atoms/std-learn-hotspot.orb +730 -28
- package/behaviors/registry/ui/learning/atoms/std-learn-live-sim.orb +479 -9
- package/behaviors/registry/ui/learning/atoms/std-learn-predict.orb +797 -46
- package/behaviors/registry/ui/learning/atoms/std-learn-sandbox.orb +757 -58
- package/behaviors/registry/ui/learning/atoms/std-learn-scatter-fit.orb +1176 -164
- package/behaviors/registry/ui/learning/atoms/std-learn-scenario.orb +599 -12
- package/behaviors/registry/ui/learning/atoms/std-learn-speed-drill.orb +832 -150
- package/behaviors/registry/ui/learning/atoms/std-learn-stepper.orb +1561 -127
- package/behaviors/registry/ui/learning/atoms/std-learn-tour-3d.orb +655 -6
- package/behaviors/registry/ui/learning/atoms/std-learn-trace-player.orb +634 -43
- package/behaviors/registry/ui/learning/atoms/std-learn-transport.orb +85 -31
- package/behaviors/registry/ui/learning/atoms/std-learn-tree.orb +425 -9
- package/canonical-operators.json +45 -2
- package/dist/behaviors/exports-reader.js +16667 -7868
- package/dist/behaviors/functions/index.d.ts +711 -32
- package/dist/behaviors/functions/index.js +16651 -7869
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +16668 -7869
- package/dist/behaviors/query.js +16667 -7868
- package/dist/behaviors-embeddings.hash.json +3 -3
- package/dist/behaviors-embeddings.json +77 -53
- package/dist/behaviors-registry.json +4470 -513
- package/dist/index.d.ts +3 -3
- package/dist/index.js +16101 -7275
- package/dist/knob-embeddings.hash.json +3 -3
- package/dist/knob-embeddings.json +1309 -685
- package/dist/modules/anim.d.ts +1 -1
- package/dist/modules/array.d.ts +1 -1
- package/dist/modules/async.d.ts +1 -1
- package/dist/modules/behavior.d.ts +1 -1
- package/dist/modules/browser.d.ts +1 -1
- package/dist/modules/composition.d.ts +1 -1
- package/dist/modules/contract.d.ts +1 -1
- package/dist/modules/core.d.ts +1 -1
- package/dist/modules/core.js +29 -2
- package/dist/modules/data.d.ts +1 -1
- package/dist/modules/ease.d.ts +1 -1
- package/dist/modules/format.d.ts +1 -1
- package/dist/modules/geo.d.ts +1 -1
- package/dist/modules/graph.d.ts +1 -1
- package/dist/modules/grid.d.ts +1 -1
- package/dist/modules/i18n.d.ts +1 -1
- package/dist/modules/index.d.ts +1 -1
- package/dist/modules/index.js +29 -2
- package/dist/modules/integration.d.ts +1 -1
- package/dist/modules/json.d.ts +1 -1
- package/dist/modules/llm.d.ts +1 -1
- package/dist/modules/math.d.ts +1 -1
- package/dist/modules/memory.d.ts +1 -1
- package/dist/modules/nn.d.ts +1 -1
- package/dist/modules/noise.d.ts +1 -1
- package/dist/modules/object.d.ts +1 -1
- package/dist/modules/os.d.ts +1 -1
- package/dist/modules/path.d.ts +1 -1
- package/dist/modules/prob.d.ts +1 -1
- package/dist/modules/session.d.ts +1 -1
- package/dist/modules/str.d.ts +1 -1
- package/dist/modules/tensor.d.ts +1 -1
- package/dist/modules/time.d.ts +1 -1
- package/dist/modules/trace.d.ts +1 -1
- package/dist/modules/train.d.ts +1 -1
- package/dist/modules/validate.d.ts +1 -1
- package/dist/modules/vector.d.ts +1 -1
- package/dist/modules/workspace.d.ts +1 -1
- package/dist/registry/factory-signatures.json +1 -1
- package/dist/registry.d.ts +2 -2
- package/dist/registry.js +29 -2
- package/dist/{types-Cdb321uM.d.ts → types-Y-yYWEOX.d.ts} +1 -1
- package/i18n/ar.json +3 -1
- package/i18n/en.json +2 -0
- package/i18n/sl.json +3 -1
- package/package.json +3 -3
|
@@ -100,6 +100,15 @@
|
|
|
100
100
|
"parent": "trt_01M07580RX52695MAC42HPZBTK",
|
|
101
101
|
"renames": []
|
|
102
102
|
},
|
|
103
|
+
"evt_01M459WM3WBX4QC9DQRQ7GX6AB": {
|
|
104
|
+
"bakedName": "ROSTER_LOADED",
|
|
105
|
+
"curName": "ROSTER_LOADED",
|
|
106
|
+
"id": "evt_01M459WM3WBX4QC9DQRQ7GX6AB",
|
|
107
|
+
"kind": "event",
|
|
108
|
+
"owner": "workspace",
|
|
109
|
+
"parent": "trt_01M07580RX52695MAC42HPZBTK",
|
|
110
|
+
"renames": []
|
|
111
|
+
},
|
|
103
112
|
"orb_01M07580RX0RP4X8BB9P83K6CW": {
|
|
104
113
|
"bakedName": "EstimateOrbital",
|
|
105
114
|
"curName": "EstimateOrbital",
|
|
@@ -146,6 +155,35 @@
|
|
|
146
155
|
"name": "title",
|
|
147
156
|
"type": "string"
|
|
148
157
|
},
|
|
158
|
+
{
|
|
159
|
+
"items": {
|
|
160
|
+
"properties": {
|
|
161
|
+
"answer": {
|
|
162
|
+
"name": "answer",
|
|
163
|
+
"required": true,
|
|
164
|
+
"type": "number"
|
|
165
|
+
},
|
|
166
|
+
"hint": {
|
|
167
|
+
"name": "hint",
|
|
168
|
+
"required": false,
|
|
169
|
+
"type": "string"
|
|
170
|
+
},
|
|
171
|
+
"prompt": {
|
|
172
|
+
"name": "prompt",
|
|
173
|
+
"required": true,
|
|
174
|
+
"type": "string"
|
|
175
|
+
},
|
|
176
|
+
"unit": {
|
|
177
|
+
"name": "unit",
|
|
178
|
+
"required": false,
|
|
179
|
+
"type": "string"
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
"type": "object"
|
|
183
|
+
},
|
|
184
|
+
"name": "prompts",
|
|
185
|
+
"type": "array"
|
|
186
|
+
},
|
|
149
187
|
{
|
|
150
188
|
"default": 0.0,
|
|
151
189
|
"name": "promptIndex",
|
|
@@ -334,6 +372,17 @@
|
|
|
334
372
|
"tier": "presentation",
|
|
335
373
|
"type": "string"
|
|
336
374
|
},
|
|
375
|
+
"rosterSource": {
|
|
376
|
+
"default": "config",
|
|
377
|
+
"description": "Where the prompt roster comes from: config reads the prompts knob at INIT; event waits for ROSTER_LOADED and takes the roster from its payload.",
|
|
378
|
+
"label": "Roster Source",
|
|
379
|
+
"tier": "domain",
|
|
380
|
+
"type": "string",
|
|
381
|
+
"values": [
|
|
382
|
+
"config",
|
|
383
|
+
"event"
|
|
384
|
+
]
|
|
385
|
+
},
|
|
337
386
|
"sliderDefault": {
|
|
338
387
|
"default": 100.0,
|
|
339
388
|
"description": "Starting position of the estimate slider for each prompt.",
|
|
@@ -437,6 +486,10 @@
|
|
|
437
486
|
"kind": "set",
|
|
438
487
|
"resource": "@entity.promptText"
|
|
439
488
|
},
|
|
489
|
+
{
|
|
490
|
+
"kind": "set",
|
|
491
|
+
"resource": "@entity.prompts"
|
|
492
|
+
},
|
|
440
493
|
{
|
|
441
494
|
"kind": "set",
|
|
442
495
|
"resource": "@entity.score"
|
|
@@ -550,6 +603,7 @@
|
|
|
550
603
|
"promptHint",
|
|
551
604
|
"promptIndex",
|
|
552
605
|
"promptText",
|
|
606
|
+
"prompts",
|
|
553
607
|
"score",
|
|
554
608
|
"title",
|
|
555
609
|
"totalPrompts",
|
|
@@ -587,6 +641,45 @@
|
|
|
587
641
|
],
|
|
588
642
|
"tier": "domain"
|
|
589
643
|
},
|
|
644
|
+
{
|
|
645
|
+
"description": "Runtime content feed, honoured only when rosterSource is event — mode names the instrument it is for (the matchMode it carries, blank when standalone) and prompts is the prompt list; a matching instrument re-initialises from it exactly as INIT does from config, any other instrument hides.",
|
|
646
|
+
"id": "evt_01M459WM3WBX4QC9DQRQ7GX6AB",
|
|
647
|
+
"key": "ROSTER_LOADED",
|
|
648
|
+
"name": "Roster Loaded",
|
|
649
|
+
"payloadSchema": [
|
|
650
|
+
{
|
|
651
|
+
"name": "mode",
|
|
652
|
+
"required": true,
|
|
653
|
+
"type": "string"
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
"name": "prompts",
|
|
657
|
+
"properties": [
|
|
658
|
+
{
|
|
659
|
+
"name": "prompt",
|
|
660
|
+
"required": true,
|
|
661
|
+
"type": "string"
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
"name": "answer",
|
|
665
|
+
"required": true,
|
|
666
|
+
"type": "number"
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
"name": "unit",
|
|
670
|
+
"type": "string"
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
"name": "hint",
|
|
674
|
+
"type": "string"
|
|
675
|
+
}
|
|
676
|
+
],
|
|
677
|
+
"required": true,
|
|
678
|
+
"type": "[object]"
|
|
679
|
+
}
|
|
680
|
+
],
|
|
681
|
+
"tier": "domain"
|
|
682
|
+
},
|
|
590
683
|
{
|
|
591
684
|
"description": "Learner moved the estimate slider — value is the current guess, not yet graded.",
|
|
592
685
|
"id": "evt_01M07580S1NJJ70QS86GC0R5GP",
|
|
@@ -709,6 +802,11 @@
|
|
|
709
802
|
"transitions": [
|
|
710
803
|
{
|
|
711
804
|
"effects": [
|
|
805
|
+
[
|
|
806
|
+
"set",
|
|
807
|
+
"@entity.prompts",
|
|
808
|
+
"@config.prompts"
|
|
809
|
+
],
|
|
712
810
|
[
|
|
713
811
|
"let",
|
|
714
812
|
[
|
|
@@ -716,7 +814,7 @@
|
|
|
716
814
|
"first",
|
|
717
815
|
[
|
|
718
816
|
"array/nth",
|
|
719
|
-
"@
|
|
817
|
+
"@entity.prompts",
|
|
720
818
|
0.0
|
|
721
819
|
]
|
|
722
820
|
]
|
|
@@ -743,7 +841,7 @@
|
|
|
743
841
|
"@entity.totalPrompts",
|
|
744
842
|
[
|
|
745
843
|
"array/len",
|
|
746
|
-
"@
|
|
844
|
+
"@entity.prompts"
|
|
747
845
|
]
|
|
748
846
|
],
|
|
749
847
|
[
|
|
@@ -1090,9 +1188,17 @@
|
|
|
1090
1188
|
"eventId": "evt_01M07580RXB3P80VXGSNZ13RQ1",
|
|
1091
1189
|
"from": "idle",
|
|
1092
1190
|
"guard": [
|
|
1093
|
-
"
|
|
1094
|
-
|
|
1095
|
-
|
|
1191
|
+
"and",
|
|
1192
|
+
[
|
|
1193
|
+
"==",
|
|
1194
|
+
"@config.matchMode",
|
|
1195
|
+
""
|
|
1196
|
+
],
|
|
1197
|
+
[
|
|
1198
|
+
"==",
|
|
1199
|
+
"@config.rosterSource",
|
|
1200
|
+
"config"
|
|
1201
|
+
]
|
|
1096
1202
|
],
|
|
1097
1203
|
"to": "idle"
|
|
1098
1204
|
},
|
|
@@ -1135,6 +1241,11 @@
|
|
|
1135
1241
|
},
|
|
1136
1242
|
{
|
|
1137
1243
|
"effects": [
|
|
1244
|
+
[
|
|
1245
|
+
"set",
|
|
1246
|
+
"@entity.prompts",
|
|
1247
|
+
"@config.prompts"
|
|
1248
|
+
],
|
|
1138
1249
|
[
|
|
1139
1250
|
"let",
|
|
1140
1251
|
[
|
|
@@ -1142,7 +1253,7 @@
|
|
|
1142
1253
|
"first",
|
|
1143
1254
|
[
|
|
1144
1255
|
"array/nth",
|
|
1145
|
-
"@
|
|
1256
|
+
"@entity.prompts",
|
|
1146
1257
|
0.0
|
|
1147
1258
|
]
|
|
1148
1259
|
]
|
|
@@ -1169,7 +1280,7 @@
|
|
|
1169
1280
|
"@entity.totalPrompts",
|
|
1170
1281
|
[
|
|
1171
1282
|
"array/len",
|
|
1172
|
-
"@
|
|
1283
|
+
"@entity.prompts"
|
|
1173
1284
|
]
|
|
1174
1285
|
],
|
|
1175
1286
|
[
|
|
@@ -1516,9 +1627,464 @@
|
|
|
1516
1627
|
"eventId": "evt_01M07580S12EWNDQQZKD0R318W",
|
|
1517
1628
|
"from": "idle",
|
|
1518
1629
|
"guard": [
|
|
1519
|
-
"
|
|
1520
|
-
|
|
1521
|
-
|
|
1630
|
+
"and",
|
|
1631
|
+
[
|
|
1632
|
+
"==",
|
|
1633
|
+
"@payload.mode",
|
|
1634
|
+
"@config.matchMode"
|
|
1635
|
+
],
|
|
1636
|
+
[
|
|
1637
|
+
"==",
|
|
1638
|
+
"@config.rosterSource",
|
|
1639
|
+
"config"
|
|
1640
|
+
]
|
|
1641
|
+
],
|
|
1642
|
+
"to": "idle"
|
|
1643
|
+
},
|
|
1644
|
+
{
|
|
1645
|
+
"effects": [
|
|
1646
|
+
[
|
|
1647
|
+
"set",
|
|
1648
|
+
"@entity.prompts",
|
|
1649
|
+
"@payload.prompts"
|
|
1650
|
+
],
|
|
1651
|
+
[
|
|
1652
|
+
"let",
|
|
1653
|
+
[
|
|
1654
|
+
[
|
|
1655
|
+
"first",
|
|
1656
|
+
[
|
|
1657
|
+
"array/nth",
|
|
1658
|
+
"@entity.prompts",
|
|
1659
|
+
0.0
|
|
1660
|
+
]
|
|
1661
|
+
]
|
|
1662
|
+
],
|
|
1663
|
+
[
|
|
1664
|
+
"do",
|
|
1665
|
+
[
|
|
1666
|
+
"set",
|
|
1667
|
+
"@entity.active",
|
|
1668
|
+
true
|
|
1669
|
+
],
|
|
1670
|
+
[
|
|
1671
|
+
"set",
|
|
1672
|
+
"@entity.title",
|
|
1673
|
+
"@config.title"
|
|
1674
|
+
],
|
|
1675
|
+
[
|
|
1676
|
+
"set",
|
|
1677
|
+
"@entity.promptIndex",
|
|
1678
|
+
0.0
|
|
1679
|
+
],
|
|
1680
|
+
[
|
|
1681
|
+
"set",
|
|
1682
|
+
"@entity.totalPrompts",
|
|
1683
|
+
[
|
|
1684
|
+
"array/len",
|
|
1685
|
+
"@entity.prompts"
|
|
1686
|
+
]
|
|
1687
|
+
],
|
|
1688
|
+
[
|
|
1689
|
+
"set",
|
|
1690
|
+
"@entity.estimate",
|
|
1691
|
+
"@config.sliderDefault"
|
|
1692
|
+
],
|
|
1693
|
+
[
|
|
1694
|
+
"set",
|
|
1695
|
+
"@entity.locked",
|
|
1696
|
+
false
|
|
1697
|
+
],
|
|
1698
|
+
[
|
|
1699
|
+
"set",
|
|
1700
|
+
"@entity.band",
|
|
1701
|
+
""
|
|
1702
|
+
],
|
|
1703
|
+
[
|
|
1704
|
+
"set",
|
|
1705
|
+
"@entity.score",
|
|
1706
|
+
0.0
|
|
1707
|
+
],
|
|
1708
|
+
[
|
|
1709
|
+
"set",
|
|
1710
|
+
"@entity.done",
|
|
1711
|
+
false
|
|
1712
|
+
],
|
|
1713
|
+
[
|
|
1714
|
+
"set",
|
|
1715
|
+
"@entity.promptText",
|
|
1716
|
+
[
|
|
1717
|
+
"object/get",
|
|
1718
|
+
"@first",
|
|
1719
|
+
"prompt"
|
|
1720
|
+
]
|
|
1721
|
+
],
|
|
1722
|
+
[
|
|
1723
|
+
"set",
|
|
1724
|
+
"@entity.promptHint",
|
|
1725
|
+
[
|
|
1726
|
+
"object/get",
|
|
1727
|
+
"@first",
|
|
1728
|
+
"hint",
|
|
1729
|
+
""
|
|
1730
|
+
]
|
|
1731
|
+
],
|
|
1732
|
+
[
|
|
1733
|
+
"set",
|
|
1734
|
+
"@entity.answer",
|
|
1735
|
+
[
|
|
1736
|
+
"object/get",
|
|
1737
|
+
"@first",
|
|
1738
|
+
"answer"
|
|
1739
|
+
]
|
|
1740
|
+
],
|
|
1741
|
+
[
|
|
1742
|
+
"set",
|
|
1743
|
+
"@entity.unit",
|
|
1744
|
+
[
|
|
1745
|
+
"object/get",
|
|
1746
|
+
"@first",
|
|
1747
|
+
"unit",
|
|
1748
|
+
""
|
|
1749
|
+
]
|
|
1750
|
+
],
|
|
1751
|
+
[
|
|
1752
|
+
"set",
|
|
1753
|
+
"@entity.feedback",
|
|
1754
|
+
""
|
|
1755
|
+
],
|
|
1756
|
+
[
|
|
1757
|
+
"set",
|
|
1758
|
+
"@entity.view",
|
|
1759
|
+
[
|
|
1760
|
+
{
|
|
1761
|
+
"children": [
|
|
1762
|
+
{
|
|
1763
|
+
"content": "@entity.promptText",
|
|
1764
|
+
"type": "typography",
|
|
1765
|
+
"variant": "body"
|
|
1766
|
+
},
|
|
1767
|
+
{
|
|
1768
|
+
"color": "muted",
|
|
1769
|
+
"content": "@entity.promptHint",
|
|
1770
|
+
"type": "typography",
|
|
1771
|
+
"variant": "caption"
|
|
1772
|
+
}
|
|
1773
|
+
],
|
|
1774
|
+
"padding": "md",
|
|
1775
|
+
"type": "card",
|
|
1776
|
+
"variant": "bordered"
|
|
1777
|
+
},
|
|
1778
|
+
{
|
|
1779
|
+
"children": [
|
|
1780
|
+
{
|
|
1781
|
+
"content": [
|
|
1782
|
+
"str/concat",
|
|
1783
|
+
"Your estimate: ",
|
|
1784
|
+
[
|
|
1785
|
+
"math/round",
|
|
1786
|
+
"@entity.estimate",
|
|
1787
|
+
2.0
|
|
1788
|
+
],
|
|
1789
|
+
" ",
|
|
1790
|
+
"@entity.unit"
|
|
1791
|
+
],
|
|
1792
|
+
"type": "typography",
|
|
1793
|
+
"variant": "caption"
|
|
1794
|
+
},
|
|
1795
|
+
{
|
|
1796
|
+
"action": "SET_ESTIMATE",
|
|
1797
|
+
"max": "@config.sliderMax",
|
|
1798
|
+
"min": "@config.sliderMin",
|
|
1799
|
+
"showTooltip": true,
|
|
1800
|
+
"step": "@config.sliderStep",
|
|
1801
|
+
"type": "range-slider",
|
|
1802
|
+
"value": "@entity.estimate"
|
|
1803
|
+
}
|
|
1804
|
+
],
|
|
1805
|
+
"direction": "vertical",
|
|
1806
|
+
"gap": "xs",
|
|
1807
|
+
"type": "stack"
|
|
1808
|
+
},
|
|
1809
|
+
{
|
|
1810
|
+
"align": "center",
|
|
1811
|
+
"children": [
|
|
1812
|
+
{
|
|
1813
|
+
"action": "LOCK_IN",
|
|
1814
|
+
"disabled": [
|
|
1815
|
+
"if",
|
|
1816
|
+
"@entity.locked",
|
|
1817
|
+
true,
|
|
1818
|
+
false
|
|
1819
|
+
],
|
|
1820
|
+
"icon": "check",
|
|
1821
|
+
"label": "@config.lockLabel",
|
|
1822
|
+
"type": "button",
|
|
1823
|
+
"variant": "primary"
|
|
1824
|
+
},
|
|
1825
|
+
{
|
|
1826
|
+
"action": "NEXT",
|
|
1827
|
+
"disabled": [
|
|
1828
|
+
"if",
|
|
1829
|
+
"@entity.locked",
|
|
1830
|
+
false,
|
|
1831
|
+
true
|
|
1832
|
+
],
|
|
1833
|
+
"icon": "chevron-right",
|
|
1834
|
+
"label": "@config.nextLabel",
|
|
1835
|
+
"type": "button",
|
|
1836
|
+
"variant": "secondary"
|
|
1837
|
+
}
|
|
1838
|
+
],
|
|
1839
|
+
"direction": "horizontal",
|
|
1840
|
+
"gap": "sm",
|
|
1841
|
+
"type": "stack",
|
|
1842
|
+
"wrap": true
|
|
1843
|
+
},
|
|
1844
|
+
{
|
|
1845
|
+
"children": [
|
|
1846
|
+
{
|
|
1847
|
+
"content": "@entity.feedback",
|
|
1848
|
+
"type": "typography",
|
|
1849
|
+
"variant": "body"
|
|
1850
|
+
}
|
|
1851
|
+
],
|
|
1852
|
+
"direction": "horizontal",
|
|
1853
|
+
"gap": "xs",
|
|
1854
|
+
"type": "stack"
|
|
1855
|
+
},
|
|
1856
|
+
{
|
|
1857
|
+
"label": "Score",
|
|
1858
|
+
"max": [
|
|
1859
|
+
"*",
|
|
1860
|
+
"@entity.totalPrompts",
|
|
1861
|
+
"@config.exactPoints"
|
|
1862
|
+
],
|
|
1863
|
+
"type": "stat-display",
|
|
1864
|
+
"value": "@entity.score"
|
|
1865
|
+
}
|
|
1866
|
+
]
|
|
1867
|
+
]
|
|
1868
|
+
]
|
|
1869
|
+
],
|
|
1870
|
+
[
|
|
1871
|
+
"render-ui",
|
|
1872
|
+
"main",
|
|
1873
|
+
{
|
|
1874
|
+
"children": [
|
|
1875
|
+
{
|
|
1876
|
+
"children": [
|
|
1877
|
+
{
|
|
1878
|
+
"align": "start",
|
|
1879
|
+
"children": [
|
|
1880
|
+
{
|
|
1881
|
+
"children": [
|
|
1882
|
+
{
|
|
1883
|
+
"content": "@entity.title",
|
|
1884
|
+
"type": "typography",
|
|
1885
|
+
"variant": "h4"
|
|
1886
|
+
},
|
|
1887
|
+
[
|
|
1888
|
+
"if",
|
|
1889
|
+
[
|
|
1890
|
+
"==",
|
|
1891
|
+
"@config.summary",
|
|
1892
|
+
""
|
|
1893
|
+
],
|
|
1894
|
+
null,
|
|
1895
|
+
{
|
|
1896
|
+
"color": "muted",
|
|
1897
|
+
"content": "@config.summary",
|
|
1898
|
+
"type": "typography",
|
|
1899
|
+
"variant": "body2"
|
|
1900
|
+
}
|
|
1901
|
+
]
|
|
1902
|
+
],
|
|
1903
|
+
"direction": "vertical",
|
|
1904
|
+
"gap": "xs",
|
|
1905
|
+
"type": "stack"
|
|
1906
|
+
},
|
|
1907
|
+
{
|
|
1908
|
+
"label": [
|
|
1909
|
+
"if",
|
|
1910
|
+
"@entity.done",
|
|
1911
|
+
"Complete",
|
|
1912
|
+
[
|
|
1913
|
+
"if",
|
|
1914
|
+
[
|
|
1915
|
+
"==",
|
|
1916
|
+
"@entity.band",
|
|
1917
|
+
"exact"
|
|
1918
|
+
],
|
|
1919
|
+
"Spot on",
|
|
1920
|
+
[
|
|
1921
|
+
"if",
|
|
1922
|
+
[
|
|
1923
|
+
"==",
|
|
1924
|
+
"@entity.band",
|
|
1925
|
+
"close"
|
|
1926
|
+
],
|
|
1927
|
+
"Close",
|
|
1928
|
+
[
|
|
1929
|
+
"if",
|
|
1930
|
+
[
|
|
1931
|
+
"==",
|
|
1932
|
+
"@entity.band",
|
|
1933
|
+
"off"
|
|
1934
|
+
],
|
|
1935
|
+
"Off",
|
|
1936
|
+
"Estimating"
|
|
1937
|
+
]
|
|
1938
|
+
]
|
|
1939
|
+
]
|
|
1940
|
+
],
|
|
1941
|
+
"type": "badge",
|
|
1942
|
+
"variant": [
|
|
1943
|
+
"if",
|
|
1944
|
+
"@entity.done",
|
|
1945
|
+
"success",
|
|
1946
|
+
[
|
|
1947
|
+
"if",
|
|
1948
|
+
[
|
|
1949
|
+
"==",
|
|
1950
|
+
"@entity.band",
|
|
1951
|
+
"exact"
|
|
1952
|
+
],
|
|
1953
|
+
"success",
|
|
1954
|
+
[
|
|
1955
|
+
"if",
|
|
1956
|
+
[
|
|
1957
|
+
"==",
|
|
1958
|
+
"@entity.band",
|
|
1959
|
+
"close"
|
|
1960
|
+
],
|
|
1961
|
+
"warning",
|
|
1962
|
+
[
|
|
1963
|
+
"if",
|
|
1964
|
+
[
|
|
1965
|
+
"==",
|
|
1966
|
+
"@entity.band",
|
|
1967
|
+
"off"
|
|
1968
|
+
],
|
|
1969
|
+
"danger",
|
|
1970
|
+
"neutral"
|
|
1971
|
+
]
|
|
1972
|
+
]
|
|
1973
|
+
]
|
|
1974
|
+
]
|
|
1975
|
+
}
|
|
1976
|
+
],
|
|
1977
|
+
"direction": "horizontal",
|
|
1978
|
+
"gap": "md",
|
|
1979
|
+
"justify": "between",
|
|
1980
|
+
"type": "stack"
|
|
1981
|
+
},
|
|
1982
|
+
{
|
|
1983
|
+
"label": [
|
|
1984
|
+
"str/concat",
|
|
1985
|
+
"Prompt ",
|
|
1986
|
+
[
|
|
1987
|
+
"str/concat",
|
|
1988
|
+
"",
|
|
1989
|
+
[
|
|
1990
|
+
"+",
|
|
1991
|
+
"@entity.promptIndex",
|
|
1992
|
+
1.0
|
|
1993
|
+
]
|
|
1994
|
+
],
|
|
1995
|
+
" of ",
|
|
1996
|
+
[
|
|
1997
|
+
"str/concat",
|
|
1998
|
+
"",
|
|
1999
|
+
"@entity.totalPrompts"
|
|
2000
|
+
]
|
|
2001
|
+
],
|
|
2002
|
+
"max": "@entity.totalPrompts",
|
|
2003
|
+
"showPercentage": false,
|
|
2004
|
+
"type": "progress-bar",
|
|
2005
|
+
"value": [
|
|
2006
|
+
"+",
|
|
2007
|
+
"@entity.promptIndex",
|
|
2008
|
+
1.0
|
|
2009
|
+
]
|
|
2010
|
+
},
|
|
2011
|
+
{
|
|
2012
|
+
"children": "@entity.view",
|
|
2013
|
+
"direction": "vertical",
|
|
2014
|
+
"gap": "md",
|
|
2015
|
+
"type": "stack"
|
|
2016
|
+
}
|
|
2017
|
+
],
|
|
2018
|
+
"direction": "vertical",
|
|
2019
|
+
"gap": "md",
|
|
2020
|
+
"type": "stack"
|
|
2021
|
+
}
|
|
2022
|
+
],
|
|
2023
|
+
"padding": "md",
|
|
2024
|
+
"type": "box"
|
|
2025
|
+
}
|
|
2026
|
+
]
|
|
2027
|
+
],
|
|
2028
|
+
"event": "ROSTER_LOADED",
|
|
2029
|
+
"eventId": "evt_01M459WM3WBX4QC9DQRQ7GX6AB",
|
|
2030
|
+
"from": "idle",
|
|
2031
|
+
"guard": [
|
|
2032
|
+
"and",
|
|
2033
|
+
[
|
|
2034
|
+
"==",
|
|
2035
|
+
"@config.rosterSource",
|
|
2036
|
+
"event"
|
|
2037
|
+
],
|
|
2038
|
+
[
|
|
2039
|
+
"and",
|
|
2040
|
+
[
|
|
2041
|
+
"==",
|
|
2042
|
+
"@payload.mode",
|
|
2043
|
+
"@config.matchMode"
|
|
2044
|
+
],
|
|
2045
|
+
[
|
|
2046
|
+
">",
|
|
2047
|
+
[
|
|
2048
|
+
"array/len",
|
|
2049
|
+
"@payload.prompts"
|
|
2050
|
+
],
|
|
2051
|
+
0.0
|
|
2052
|
+
]
|
|
2053
|
+
]
|
|
2054
|
+
],
|
|
2055
|
+
"to": "idle"
|
|
2056
|
+
},
|
|
2057
|
+
{
|
|
2058
|
+
"effects": [
|
|
2059
|
+
[
|
|
2060
|
+
"set",
|
|
2061
|
+
"@entity.active",
|
|
2062
|
+
false
|
|
2063
|
+
],
|
|
2064
|
+
[
|
|
2065
|
+
"render-ui",
|
|
2066
|
+
"main",
|
|
2067
|
+
null
|
|
2068
|
+
]
|
|
2069
|
+
],
|
|
2070
|
+
"event": "ROSTER_LOADED",
|
|
2071
|
+
"eventId": "evt_01M459WM3WBX4QC9DQRQ7GX6AB",
|
|
2072
|
+
"from": "idle",
|
|
2073
|
+
"guard": [
|
|
2074
|
+
"and",
|
|
2075
|
+
[
|
|
2076
|
+
"==",
|
|
2077
|
+
"@config.rosterSource",
|
|
2078
|
+
"event"
|
|
2079
|
+
],
|
|
2080
|
+
[
|
|
2081
|
+
"not",
|
|
2082
|
+
[
|
|
2083
|
+
"==",
|
|
2084
|
+
"@payload.mode",
|
|
2085
|
+
"@config.matchMode"
|
|
2086
|
+
]
|
|
2087
|
+
]
|
|
1522
2088
|
],
|
|
1523
2089
|
"to": "idle"
|
|
1524
2090
|
},
|
|
@@ -2286,7 +2852,7 @@
|
|
|
2286
2852
|
],
|
|
2287
2853
|
[
|
|
2288
2854
|
"array/len",
|
|
2289
|
-
"@
|
|
2855
|
+
"@entity.prompts"
|
|
2290
2856
|
]
|
|
2291
2857
|
],
|
|
2292
2858
|
[
|
|
@@ -2296,7 +2862,7 @@
|
|
|
2296
2862
|
"score": "@entity.score",
|
|
2297
2863
|
"total": [
|
|
2298
2864
|
"array/len",
|
|
2299
|
-
"@
|
|
2865
|
+
"@entity.prompts"
|
|
2300
2866
|
]
|
|
2301
2867
|
}
|
|
2302
2868
|
],
|
|
@@ -2320,7 +2886,7 @@
|
|
|
2320
2886
|
"@nextIndex",
|
|
2321
2887
|
[
|
|
2322
2888
|
"array/len",
|
|
2323
|
-
"@
|
|
2889
|
+
"@entity.prompts"
|
|
2324
2890
|
]
|
|
2325
2891
|
]
|
|
2326
2892
|
],
|
|
@@ -2328,7 +2894,7 @@
|
|
|
2328
2894
|
"next",
|
|
2329
2895
|
[
|
|
2330
2896
|
"array/nth",
|
|
2331
|
-
"@
|
|
2897
|
+
"@entity.prompts",
|
|
2332
2898
|
[
|
|
2333
2899
|
"math/min",
|
|
2334
2900
|
"@nextIndex",
|
|
@@ -2336,7 +2902,7 @@
|
|
|
2336
2902
|
"-",
|
|
2337
2903
|
[
|
|
2338
2904
|
"array/len",
|
|
2339
|
-
"@
|
|
2905
|
+
"@entity.prompts"
|
|
2340
2906
|
],
|
|
2341
2907
|
1.0
|
|
2342
2908
|
]
|
|
@@ -2788,7 +3354,7 @@
|
|
|
2788
3354
|
"first",
|
|
2789
3355
|
[
|
|
2790
3356
|
"array/nth",
|
|
2791
|
-
"@
|
|
3357
|
+
"@entity.prompts",
|
|
2792
3358
|
0.0
|
|
2793
3359
|
]
|
|
2794
3360
|
]
|