@almadar/std 16.241.0 → 16.242.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 +4650 -535
- package/behaviors/lolo/agent/atoms/std-agent-memory.lolo +38 -1
- package/behaviors/lolo/agent/atoms/std-agent-session.lolo +1074 -47
- package/behaviors/lolo/agent/atoms/std-agent-tool-loop.lolo +8 -7
- package/behaviors/lolo/agent/organisms/std-agent-assistant.lolo +56 -37
- package/behaviors/lolo/infra/atoms/std-page-open.lolo +59 -0
- package/behaviors/lolo/infra/atoms/std-page-search.lolo +134 -0
- package/behaviors/lolo/infra/atoms/std-page-treat.lolo +59 -0
- package/behaviors/lolo/infra/atoms/std-page-watch.lolo +86 -0
- package/behaviors/lolo/ui/core/atoms/std-book-reader.lolo +25 -1
- package/behaviors/lolo/ui/core/atoms/std-card-grid.lolo +9 -0
- package/behaviors/lolo/ui/core/atoms/std-doc-page.lolo +153 -0
- package/behaviors/lolo/ui/learning/atoms/std-learn-arrangement.lolo +124 -92
- package/behaviors/lolo/ui/learning/atoms/std-learn-classify.lolo +114 -55
- package/behaviors/lolo/ui/learning/atoms/std-learn-compare.lolo +40 -14
- package/behaviors/lolo/ui/learning/atoms/std-learn-coupled-sim.lolo +363 -123
- package/behaviors/lolo/ui/learning/atoms/std-learn-derivation.lolo +93 -48
- package/behaviors/lolo/ui/learning/atoms/std-learn-diagram.lolo +60 -28
- package/behaviors/lolo/ui/learning/atoms/std-learn-doser.lolo +193 -96
- package/behaviors/lolo/ui/learning/atoms/std-learn-estimate.lolo +75 -32
- package/behaviors/lolo/ui/learning/atoms/std-learn-goal-seek.lolo +142 -86
- package/behaviors/lolo/ui/learning/atoms/std-learn-grid-sim.lolo +266 -98
- package/behaviors/lolo/ui/learning/atoms/std-learn-hotspot.lolo +103 -65
- package/behaviors/lolo/ui/learning/atoms/std-learn-live-sim.lolo +223 -109
- package/behaviors/lolo/ui/learning/atoms/std-learn-measure.lolo +232 -64
- package/behaviors/lolo/ui/learning/atoms/std-learn-param-explorer.lolo +69 -29
- package/behaviors/lolo/ui/learning/atoms/std-learn-perturb.lolo +363 -123
- package/behaviors/lolo/ui/learning/atoms/std-learn-predict.lolo +73 -41
- package/behaviors/lolo/ui/learning/atoms/std-learn-sample-accumulator.lolo +96 -38
- package/behaviors/lolo/ui/learning/atoms/std-learn-sandbox.lolo +65 -45
- package/behaviors/lolo/ui/learning/atoms/std-learn-scatter-fit.lolo +243 -117
- package/behaviors/lolo/ui/learning/atoms/std-learn-scenario.lolo +76 -28
- package/behaviors/lolo/ui/learning/atoms/std-learn-sim-3d.lolo +228 -109
- package/behaviors/lolo/ui/learning/atoms/std-learn-speed-drill.lolo +95 -44
- package/behaviors/lolo/ui/learning/atoms/std-learn-stepper.lolo +199 -125
- package/behaviors/lolo/ui/learning/atoms/std-learn-tour-3d.lolo +92 -48
- package/behaviors/lolo/ui/learning/atoms/std-learn-trace-player.lolo +239 -78
- package/behaviors/lolo/ui/learning/atoms/std-learn-transport.lolo +147 -38
- package/behaviors/lolo/ui/learning/atoms/std-learn-tree.lolo +123 -58
- package/behaviors/lolo/ui/learning/atoms/ui-algo-graph-canvas.lolo +22 -0
- package/behaviors/lolo/ui/learning/atoms/ui-algorithm-canvas.lolo +26 -0
- package/behaviors/lolo/ui/learning/atoms/ui-biology-canvas.lolo +26 -0
- package/behaviors/lolo/ui/learning/atoms/ui-chemistry-canvas.lolo +27 -1
- package/behaviors/lolo/ui/learning/atoms/ui-learning-canvas.lolo +27 -1
- package/behaviors/lolo/ui/learning/atoms/ui-math-canvas.lolo +29 -9
- package/behaviors/lolo/ui/learning/atoms/ui-physics-canvas.lolo +26 -0
- package/behaviors/lolo-behavior-contracts.json +1 -1
- package/behaviors/registry/agent/atoms/std-agent-memory.orb +372 -2
- package/behaviors/registry/agent/atoms/std-agent-session.orb +4752 -348
- package/behaviors/registry/agent/atoms/std-agent-tool-loop.orb +54 -42
- package/behaviors/registry/agent/organisms/std-agent-assistant.orb +356 -122
- package/behaviors/registry/factory-signatures.json +1 -1
- package/behaviors/registry/infra/atoms/std-page-open.orb +435 -0
- package/behaviors/registry/infra/atoms/std-page-search.orb +867 -0
- package/behaviors/registry/infra/atoms/std-page-treat.orb +494 -0
- package/behaviors/registry/infra/atoms/std-page-watch.orb +554 -0
- package/behaviors/registry/ui/core/atoms/std-book-reader.orb +119 -0
- package/behaviors/registry/ui/core/atoms/std-card-grid.orb +61 -0
- package/behaviors/registry/ui/core/atoms/std-doc-page.orb +594 -0
- package/behaviors/registry/ui/learning/atoms/std-learn-arrangement.orb +903 -369
- package/behaviors/registry/ui/learning/atoms/std-learn-classify.orb +1002 -232
- package/behaviors/registry/ui/learning/atoms/std-learn-compare.orb +253 -74
- package/behaviors/registry/ui/learning/atoms/std-learn-coupled-sim.orb +3624 -921
- package/behaviors/registry/ui/learning/atoms/std-learn-derivation.orb +685 -144
- package/behaviors/registry/ui/learning/atoms/std-learn-diagram.orb +404 -52
- package/behaviors/registry/ui/learning/atoms/std-learn-doser.orb +1787 -210
- package/behaviors/registry/ui/learning/atoms/std-learn-estimate.orb +699 -71
- package/behaviors/registry/ui/learning/atoms/std-learn-goal-seek.orb +1102 -578
- package/behaviors/registry/ui/learning/atoms/std-learn-grid-sim.orb +2760 -872
- package/behaviors/registry/ui/learning/atoms/std-learn-hotspot.orb +689 -152
- package/behaviors/registry/ui/learning/atoms/std-learn-live-sim.orb +1431 -633
- package/behaviors/registry/ui/learning/atoms/std-learn-measure.orb +2485 -512
- package/behaviors/registry/ui/learning/atoms/std-learn-param-explorer.orb +501 -197
- package/behaviors/registry/ui/learning/atoms/std-learn-perturb.orb +3642 -928
- package/behaviors/registry/ui/learning/atoms/std-learn-predict.orb +705 -125
- package/behaviors/registry/ui/learning/atoms/std-learn-sample-accumulator.orb +624 -114
- package/behaviors/registry/ui/learning/atoms/std-learn-sandbox.orb +405 -153
- package/behaviors/registry/ui/learning/atoms/std-learn-scatter-fit.orb +1911 -611
- package/behaviors/registry/ui/learning/atoms/std-learn-scenario.orb +436 -128
- package/behaviors/registry/ui/learning/atoms/std-learn-sim-3d.orb +2482 -485
- package/behaviors/registry/ui/learning/atoms/std-learn-speed-drill.orb +896 -192
- package/behaviors/registry/ui/learning/atoms/std-learn-stepper.orb +2001 -759
- package/behaviors/registry/ui/learning/atoms/std-learn-tour-3d.orb +734 -228
- package/behaviors/registry/ui/learning/atoms/std-learn-trace-player.orb +2501 -764
- package/behaviors/registry/ui/learning/atoms/std-learn-transport.orb +1591 -173
- package/behaviors/registry/ui/learning/atoms/std-learn-tree.orb +883 -122
- package/behaviors/registry/ui/learning/atoms/ui-algo-graph-canvas.orb +176 -0
- package/behaviors/registry/ui/learning/atoms/ui-algorithm-canvas.orb +211 -0
- package/behaviors/registry/ui/learning/atoms/ui-biology-canvas.orb +211 -0
- package/behaviors/registry/ui/learning/atoms/ui-chemistry-canvas.orb +212 -1
- package/behaviors/registry/ui/learning/atoms/ui-learning-canvas.orb +212 -1
- package/behaviors/registry/ui/learning/atoms/ui-math-canvas.orb +203 -9
- package/behaviors/registry/ui/learning/atoms/ui-physics-canvas.orb +211 -0
- package/behaviors/signatures.lolo +325 -655
- package/dist/behaviors/exports-reader.js +16092 -9747
- package/dist/behaviors/functions/index.d.ts +1052 -136
- package/dist/behaviors/functions/index.js +16063 -9745
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +16093 -9748
- package/dist/behaviors/query.js +16092 -9747
- package/dist/behaviors-embeddings.hash.json +3 -3
- package/dist/behaviors-embeddings.json +45 -25
- package/dist/behaviors-registry.json +4650 -535
- package/dist/index.d.ts +1 -1
- package/dist/index.js +16093 -9748
- package/dist/knob-embeddings.hash.json +3 -3
- package/dist/knob-embeddings.json +607 -263
- package/dist/registry/factory-signatures.json +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,435 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "std-page-open — opens a URL in a new, focused browser tab and reports the tab. Wire OPEN to something the person does (a button or a row action), so a page only ever opens because they asked for it. Needs a host with the `page` service (a browser extension).",
|
|
3
|
+
"ledger": {
|
|
4
|
+
"entries": {
|
|
5
|
+
"ent_01M431PN0KSD8MG45T02AFJ6GT": {
|
|
6
|
+
"bakedName": "PageOpenRecord",
|
|
7
|
+
"curName": "PageOpenRecord",
|
|
8
|
+
"id": "ent_01M431PN0KSD8MG45T02AFJ6GT",
|
|
9
|
+
"kind": "entity",
|
|
10
|
+
"owner": "workspace",
|
|
11
|
+
"renames": []
|
|
12
|
+
},
|
|
13
|
+
"evt_01M431PN0K02VCAD6HHBX0X79K": {
|
|
14
|
+
"bakedName": "INIT",
|
|
15
|
+
"curName": "INIT",
|
|
16
|
+
"id": "evt_01M431PN0K02VCAD6HHBX0X79K",
|
|
17
|
+
"kind": "event",
|
|
18
|
+
"owner": "workspace",
|
|
19
|
+
"parent": "trt_01M431PN0K5GPYNKXH8FTP89HZ",
|
|
20
|
+
"renames": []
|
|
21
|
+
},
|
|
22
|
+
"evt_01M431PN0K1N201KGMB6JVT1A6": {
|
|
23
|
+
"bakedName": "TAB_OPENED",
|
|
24
|
+
"curName": "TAB_OPENED",
|
|
25
|
+
"id": "evt_01M431PN0K1N201KGMB6JVT1A6",
|
|
26
|
+
"kind": "event",
|
|
27
|
+
"owner": "workspace",
|
|
28
|
+
"parent": "trt_01M431PN0K5GPYNKXH8FTP89HZ",
|
|
29
|
+
"renames": []
|
|
30
|
+
},
|
|
31
|
+
"evt_01M431PN0KAX5H95KBFRFZWWHH": {
|
|
32
|
+
"bakedName": "OPENED",
|
|
33
|
+
"curName": "OPENED",
|
|
34
|
+
"id": "evt_01M431PN0KAX5H95KBFRFZWWHH",
|
|
35
|
+
"kind": "event",
|
|
36
|
+
"owner": "workspace",
|
|
37
|
+
"parent": "trt_01M431PN0K5GPYNKXH8FTP89HZ",
|
|
38
|
+
"renames": []
|
|
39
|
+
},
|
|
40
|
+
"evt_01M431PN0KCRTDR7X5PZQ2D7C7": {
|
|
41
|
+
"bakedName": "OPEN_CALL_FAILED",
|
|
42
|
+
"curName": "OPEN_CALL_FAILED",
|
|
43
|
+
"id": "evt_01M431PN0KCRTDR7X5PZQ2D7C7",
|
|
44
|
+
"kind": "event",
|
|
45
|
+
"owner": "workspace",
|
|
46
|
+
"parent": "trt_01M431PN0K5GPYNKXH8FTP89HZ",
|
|
47
|
+
"renames": []
|
|
48
|
+
},
|
|
49
|
+
"evt_01M431PN0KK13NVCTES9Q99811": {
|
|
50
|
+
"bakedName": "OPEN_FAILED",
|
|
51
|
+
"curName": "OPEN_FAILED",
|
|
52
|
+
"id": "evt_01M431PN0KK13NVCTES9Q99811",
|
|
53
|
+
"kind": "event",
|
|
54
|
+
"owner": "workspace",
|
|
55
|
+
"parent": "trt_01M431PN0K5GPYNKXH8FTP89HZ",
|
|
56
|
+
"renames": []
|
|
57
|
+
},
|
|
58
|
+
"evt_01M431PN0KR69363MDB3QE1GCE": {
|
|
59
|
+
"bakedName": "OPEN",
|
|
60
|
+
"curName": "OPEN",
|
|
61
|
+
"id": "evt_01M431PN0KR69363MDB3QE1GCE",
|
|
62
|
+
"kind": "event",
|
|
63
|
+
"owner": "workspace",
|
|
64
|
+
"parent": "trt_01M431PN0K5GPYNKXH8FTP89HZ",
|
|
65
|
+
"renames": []
|
|
66
|
+
},
|
|
67
|
+
"orb_01M431PN0KHS31XGK3K5Q8BMW8": {
|
|
68
|
+
"bakedName": "PageOpenOrbital",
|
|
69
|
+
"curName": "PageOpenOrbital",
|
|
70
|
+
"id": "orb_01M431PN0KHS31XGK3K5Q8BMW8",
|
|
71
|
+
"kind": "orbital",
|
|
72
|
+
"owner": "workspace",
|
|
73
|
+
"renames": []
|
|
74
|
+
},
|
|
75
|
+
"pag_01M431PN0KDN01JMAZAXMW6BKG": {
|
|
76
|
+
"bakedName": "PageOpenPage",
|
|
77
|
+
"curName": "PageOpenPage",
|
|
78
|
+
"id": "pag_01M431PN0KDN01JMAZAXMW6BKG",
|
|
79
|
+
"kind": "page",
|
|
80
|
+
"owner": "workspace",
|
|
81
|
+
"renames": []
|
|
82
|
+
},
|
|
83
|
+
"trt_01M431PN0K5GPYNKXH8FTP89HZ": {
|
|
84
|
+
"bakedName": "PageOpen",
|
|
85
|
+
"curName": "PageOpen",
|
|
86
|
+
"id": "trt_01M431PN0K5GPYNKXH8FTP89HZ",
|
|
87
|
+
"kind": "trait",
|
|
88
|
+
"owner": "workspace",
|
|
89
|
+
"renames": []
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"schemaVersion": 1
|
|
93
|
+
},
|
|
94
|
+
"name": "std-page-open",
|
|
95
|
+
"orbitals": [
|
|
96
|
+
{
|
|
97
|
+
"entity": {
|
|
98
|
+
"fields": [
|
|
99
|
+
{
|
|
100
|
+
"default": 0.0,
|
|
101
|
+
"description": "How many pages were opened",
|
|
102
|
+
"name": "opened",
|
|
103
|
+
"synonyms": "count",
|
|
104
|
+
"type": "number"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"default": "",
|
|
108
|
+
"description": "Why the last page could not be opened; blank = none",
|
|
109
|
+
"name": "errorMessage",
|
|
110
|
+
"synonyms": "error, failure reason",
|
|
111
|
+
"type": "string"
|
|
112
|
+
}
|
|
113
|
+
],
|
|
114
|
+
"id": "ent_01M431PN0KSD8MG45T02AFJ6GT",
|
|
115
|
+
"name": "PageOpenRecord",
|
|
116
|
+
"persistence": "runtime"
|
|
117
|
+
},
|
|
118
|
+
"id": "orb_01M431PN0KHS31XGK3K5Q8BMW8",
|
|
119
|
+
"name": "PageOpenOrbital",
|
|
120
|
+
"pages": [
|
|
121
|
+
{
|
|
122
|
+
"id": "pag_01M431PN0KDN01JMAZAXMW6BKG",
|
|
123
|
+
"name": "PageOpenPage",
|
|
124
|
+
"path": "/page-open",
|
|
125
|
+
"traits": [
|
|
126
|
+
{
|
|
127
|
+
"ref": "PageOpen",
|
|
128
|
+
"refId": "trt_01M431PN0K5GPYNKXH8FTP89HZ"
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
}
|
|
132
|
+
],
|
|
133
|
+
"traits": [
|
|
134
|
+
{
|
|
135
|
+
"category": "interaction",
|
|
136
|
+
"config": {
|
|
137
|
+
"statusSlot": {
|
|
138
|
+
"default": "main",
|
|
139
|
+
"description": "Where the atom shows its one-line status; an organism running it in the background sends it to `system`",
|
|
140
|
+
"label": "Status slot",
|
|
141
|
+
"synonyms": "status area, slot",
|
|
142
|
+
"tier": "presentation",
|
|
143
|
+
"type": "slot"
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"effectRow": [
|
|
147
|
+
{
|
|
148
|
+
"kind": "call-service",
|
|
149
|
+
"resource": "page.openTab"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"kind": "emit",
|
|
153
|
+
"resource": "OPENED"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"kind": "emit",
|
|
157
|
+
"resource": "OPEN_FAILED"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"kind": "render-ui",
|
|
161
|
+
"resolved": false,
|
|
162
|
+
"resource": "@config.statusSlot"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"kind": "render-ui",
|
|
166
|
+
"resource": "toast"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"kind": "set",
|
|
170
|
+
"resource": "@entity.errorMessage"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"kind": "set",
|
|
174
|
+
"resource": "@entity.opened"
|
|
175
|
+
}
|
|
176
|
+
],
|
|
177
|
+
"emits": [
|
|
178
|
+
{
|
|
179
|
+
"description": "The page service opened the tab",
|
|
180
|
+
"event": "TAB_OPENED",
|
|
181
|
+
"eventId": "evt_01M431PN0K1N201KGMB6JVT1A6",
|
|
182
|
+
"payloadSchema": [
|
|
183
|
+
{
|
|
184
|
+
"name": "tab",
|
|
185
|
+
"required": true,
|
|
186
|
+
"type": "number"
|
|
187
|
+
}
|
|
188
|
+
],
|
|
189
|
+
"tier": "secondary"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"description": "The page service could not open the tab",
|
|
193
|
+
"event": "OPEN_CALL_FAILED",
|
|
194
|
+
"eventId": "evt_01M431PN0KCRTDR7X5PZQ2D7C7",
|
|
195
|
+
"payloadSchema": [
|
|
196
|
+
{
|
|
197
|
+
"name": "error",
|
|
198
|
+
"required": true,
|
|
199
|
+
"type": "string"
|
|
200
|
+
}
|
|
201
|
+
],
|
|
202
|
+
"tier": "secondary"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"description": "The page is open in a new, focused tab",
|
|
206
|
+
"event": "OPENED",
|
|
207
|
+
"eventId": "evt_01M431PN0KAX5H95KBFRFZWWHH",
|
|
208
|
+
"payloadSchema": [
|
|
209
|
+
{
|
|
210
|
+
"name": "tab",
|
|
211
|
+
"required": true,
|
|
212
|
+
"type": "number"
|
|
213
|
+
}
|
|
214
|
+
],
|
|
215
|
+
"scope": "external",
|
|
216
|
+
"synonyms": "opened, launched, visited",
|
|
217
|
+
"tier": "primary"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"description": "The page could not be opened",
|
|
221
|
+
"event": "OPEN_FAILED",
|
|
222
|
+
"eventId": "evt_01M431PN0KK13NVCTES9Q99811",
|
|
223
|
+
"payloadSchema": [
|
|
224
|
+
{
|
|
225
|
+
"name": "error",
|
|
226
|
+
"required": true,
|
|
227
|
+
"type": "string"
|
|
228
|
+
}
|
|
229
|
+
],
|
|
230
|
+
"scope": "external",
|
|
231
|
+
"tier": "primary"
|
|
232
|
+
}
|
|
233
|
+
],
|
|
234
|
+
"entityRefIds": {
|
|
235
|
+
"PageOpenRecord": "ent_01M431PN0KSD8MG45T02AFJ6GT"
|
|
236
|
+
},
|
|
237
|
+
"id": "trt_01M431PN0K5GPYNKXH8FTP89HZ",
|
|
238
|
+
"linkedEntity": "PageOpenRecord",
|
|
239
|
+
"linkedEntityId": "ent_01M431PN0KSD8MG45T02AFJ6GT",
|
|
240
|
+
"name": "PageOpen",
|
|
241
|
+
"scope": "instance",
|
|
242
|
+
"stateMachine": {
|
|
243
|
+
"events": [
|
|
244
|
+
{
|
|
245
|
+
"id": "evt_01M431PN0K02VCAD6HHBX0X79K",
|
|
246
|
+
"key": "INIT",
|
|
247
|
+
"name": "Initialize"
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"description": "Open `url` in a new, focused tab — wire it to something the person does",
|
|
251
|
+
"external": true,
|
|
252
|
+
"id": "evt_01M431PN0KR69363MDB3QE1GCE",
|
|
253
|
+
"key": "OPEN",
|
|
254
|
+
"name": "Open",
|
|
255
|
+
"payloadSchema": [
|
|
256
|
+
{
|
|
257
|
+
"name": "url",
|
|
258
|
+
"required": true,
|
|
259
|
+
"type": "string"
|
|
260
|
+
}
|
|
261
|
+
]
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"description": "The page service opened the tab",
|
|
265
|
+
"id": "evt_01M431PN0K1N201KGMB6JVT1A6",
|
|
266
|
+
"key": "TAB_OPENED",
|
|
267
|
+
"name": "Tab Opened",
|
|
268
|
+
"payloadSchema": [
|
|
269
|
+
{
|
|
270
|
+
"name": "tab",
|
|
271
|
+
"required": true,
|
|
272
|
+
"type": "number"
|
|
273
|
+
}
|
|
274
|
+
],
|
|
275
|
+
"tier": "secondary"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"description": "The page service could not open the tab",
|
|
279
|
+
"id": "evt_01M431PN0KCRTDR7X5PZQ2D7C7",
|
|
280
|
+
"key": "OPEN_CALL_FAILED",
|
|
281
|
+
"name": "Open Call Failed",
|
|
282
|
+
"payloadSchema": [
|
|
283
|
+
{
|
|
284
|
+
"name": "error",
|
|
285
|
+
"required": true,
|
|
286
|
+
"type": "string"
|
|
287
|
+
}
|
|
288
|
+
],
|
|
289
|
+
"tier": "secondary"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"description": "The page is open in a new, focused tab",
|
|
293
|
+
"id": "evt_01M431PN0KAX5H95KBFRFZWWHH",
|
|
294
|
+
"key": "OPENED",
|
|
295
|
+
"name": "Opened",
|
|
296
|
+
"payloadSchema": [
|
|
297
|
+
{
|
|
298
|
+
"name": "tab",
|
|
299
|
+
"required": true,
|
|
300
|
+
"type": "number"
|
|
301
|
+
}
|
|
302
|
+
],
|
|
303
|
+
"synonyms": "opened, launched, visited",
|
|
304
|
+
"tier": "primary"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"description": "The page could not be opened",
|
|
308
|
+
"id": "evt_01M431PN0KK13NVCTES9Q99811",
|
|
309
|
+
"key": "OPEN_FAILED",
|
|
310
|
+
"name": "Open Failed",
|
|
311
|
+
"payloadSchema": [
|
|
312
|
+
{
|
|
313
|
+
"name": "error",
|
|
314
|
+
"required": true,
|
|
315
|
+
"type": "string"
|
|
316
|
+
}
|
|
317
|
+
],
|
|
318
|
+
"tier": "primary"
|
|
319
|
+
}
|
|
320
|
+
],
|
|
321
|
+
"states": [
|
|
322
|
+
{
|
|
323
|
+
"isInitial": true,
|
|
324
|
+
"name": "ready"
|
|
325
|
+
}
|
|
326
|
+
],
|
|
327
|
+
"transitions": [
|
|
328
|
+
{
|
|
329
|
+
"effects": [
|
|
330
|
+
[
|
|
331
|
+
"render-ui",
|
|
332
|
+
"@config.statusSlot",
|
|
333
|
+
{
|
|
334
|
+
"content": "Ready to open pages",
|
|
335
|
+
"role": "status",
|
|
336
|
+
"type": "typography",
|
|
337
|
+
"variant": "body"
|
|
338
|
+
}
|
|
339
|
+
]
|
|
340
|
+
],
|
|
341
|
+
"event": "INIT",
|
|
342
|
+
"eventId": "evt_01M431PN0K02VCAD6HHBX0X79K",
|
|
343
|
+
"from": "ready",
|
|
344
|
+
"to": "ready"
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"effects": [
|
|
348
|
+
[
|
|
349
|
+
"call-service",
|
|
350
|
+
"page",
|
|
351
|
+
"openTab",
|
|
352
|
+
{
|
|
353
|
+
"active": true,
|
|
354
|
+
"url": "@payload.url"
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"emit": {
|
|
358
|
+
"failure": "OPEN_CALL_FAILED",
|
|
359
|
+
"success": "TAB_OPENED"
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
]
|
|
363
|
+
],
|
|
364
|
+
"event": "OPEN",
|
|
365
|
+
"eventId": "evt_01M431PN0KR69363MDB3QE1GCE",
|
|
366
|
+
"from": "ready",
|
|
367
|
+
"to": "ready"
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"effects": [
|
|
371
|
+
[
|
|
372
|
+
"set",
|
|
373
|
+
"@entity.opened",
|
|
374
|
+
[
|
|
375
|
+
"+",
|
|
376
|
+
"@entity.opened",
|
|
377
|
+
1.0
|
|
378
|
+
]
|
|
379
|
+
],
|
|
380
|
+
[
|
|
381
|
+
"emit",
|
|
382
|
+
"OPENED",
|
|
383
|
+
{
|
|
384
|
+
"tab": "@payload.tab"
|
|
385
|
+
}
|
|
386
|
+
]
|
|
387
|
+
],
|
|
388
|
+
"event": "TAB_OPENED",
|
|
389
|
+
"eventId": "evt_01M431PN0K1N201KGMB6JVT1A6",
|
|
390
|
+
"from": "ready",
|
|
391
|
+
"to": "ready"
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"effects": [
|
|
395
|
+
[
|
|
396
|
+
"set",
|
|
397
|
+
"@entity.errorMessage",
|
|
398
|
+
"@payload.error"
|
|
399
|
+
],
|
|
400
|
+
[
|
|
401
|
+
"emit",
|
|
402
|
+
"OPEN_FAILED",
|
|
403
|
+
{
|
|
404
|
+
"error": "@payload.error"
|
|
405
|
+
}
|
|
406
|
+
],
|
|
407
|
+
[
|
|
408
|
+
"render-ui",
|
|
409
|
+
"toast",
|
|
410
|
+
{
|
|
411
|
+
"dismissible": true,
|
|
412
|
+
"message": [
|
|
413
|
+
"str/concat",
|
|
414
|
+
"Couldn't open the page — ",
|
|
415
|
+
"@payload.error"
|
|
416
|
+
],
|
|
417
|
+
"type": "alert",
|
|
418
|
+
"variant": "error"
|
|
419
|
+
}
|
|
420
|
+
]
|
|
421
|
+
],
|
|
422
|
+
"event": "OPEN_CALL_FAILED",
|
|
423
|
+
"eventId": "evt_01M431PN0KCRTDR7X5PZQ2D7C7",
|
|
424
|
+
"from": "ready",
|
|
425
|
+
"to": "ready"
|
|
426
|
+
}
|
|
427
|
+
]
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
]
|
|
431
|
+
}
|
|
432
|
+
],
|
|
433
|
+
"schemaVersion": 1,
|
|
434
|
+
"version": "1.0.0"
|
|
435
|
+
}
|