@almadar/std 16.239.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.
Files changed (167) hide show
  1. package/behaviors/behaviors-registry.json +4814 -553
  2. package/behaviors/lolo/agent/atoms/std-agent-memory.lolo +38 -1
  3. package/behaviors/lolo/agent/atoms/std-agent-session.lolo +1074 -47
  4. package/behaviors/lolo/agent/atoms/std-agent-tool-loop.lolo +8 -7
  5. package/behaviors/lolo/agent/organisms/std-agent-assistant.lolo +56 -37
  6. package/behaviors/lolo/infra/atoms/std-page-open.lolo +59 -0
  7. package/behaviors/lolo/infra/atoms/std-page-search.lolo +134 -0
  8. package/behaviors/lolo/infra/atoms/std-page-treat.lolo +59 -0
  9. package/behaviors/lolo/infra/atoms/std-page-watch.lolo +86 -0
  10. package/behaviors/lolo/ui/core/atoms/std-board.lolo +53 -6
  11. package/behaviors/lolo/ui/core/atoms/std-book-reader.lolo +25 -1
  12. package/behaviors/lolo/ui/core/atoms/std-card-grid.lolo +9 -0
  13. package/behaviors/lolo/ui/core/atoms/std-doc-page.lolo +153 -0
  14. package/behaviors/lolo/ui/core/atoms/std-site-header.lolo +15 -3
  15. package/behaviors/lolo/ui/core/atoms/std-tag-strip.lolo +2 -2
  16. package/behaviors/lolo/ui/core/atoms/std-tag-taxonomy.lolo +7 -7
  17. package/behaviors/lolo/ui/core/atoms/std-version-history.lolo +1 -1
  18. package/behaviors/lolo/ui/core/molecules/ui-header.lolo +5 -0
  19. package/behaviors/lolo/ui/learning/atoms/std-learn-arrangement.lolo +124 -92
  20. package/behaviors/lolo/ui/learning/atoms/std-learn-classify.lolo +114 -55
  21. package/behaviors/lolo/ui/learning/atoms/std-learn-compare.lolo +40 -14
  22. package/behaviors/lolo/ui/learning/atoms/std-learn-coupled-sim.lolo +363 -123
  23. package/behaviors/lolo/ui/learning/atoms/std-learn-derivation.lolo +93 -48
  24. package/behaviors/lolo/ui/learning/atoms/std-learn-diagram.lolo +60 -28
  25. package/behaviors/lolo/ui/learning/atoms/std-learn-doser.lolo +193 -96
  26. package/behaviors/lolo/ui/learning/atoms/std-learn-estimate.lolo +75 -32
  27. package/behaviors/lolo/ui/learning/atoms/std-learn-goal-seek.lolo +142 -86
  28. package/behaviors/lolo/ui/learning/atoms/std-learn-grid-sim.lolo +266 -98
  29. package/behaviors/lolo/ui/learning/atoms/std-learn-hotspot.lolo +103 -65
  30. package/behaviors/lolo/ui/learning/atoms/std-learn-live-sim.lolo +223 -109
  31. package/behaviors/lolo/ui/learning/atoms/std-learn-measure.lolo +232 -64
  32. package/behaviors/lolo/ui/learning/atoms/std-learn-param-explorer.lolo +69 -29
  33. package/behaviors/lolo/ui/learning/atoms/std-learn-perturb.lolo +363 -123
  34. package/behaviors/lolo/ui/learning/atoms/std-learn-predict.lolo +73 -41
  35. package/behaviors/lolo/ui/learning/atoms/std-learn-sample-accumulator.lolo +96 -38
  36. package/behaviors/lolo/ui/learning/atoms/std-learn-sandbox.lolo +65 -45
  37. package/behaviors/lolo/ui/learning/atoms/std-learn-scatter-fit.lolo +243 -117
  38. package/behaviors/lolo/ui/learning/atoms/std-learn-scenario.lolo +76 -28
  39. package/behaviors/lolo/ui/learning/atoms/std-learn-sim-3d.lolo +228 -109
  40. package/behaviors/lolo/ui/learning/atoms/std-learn-speed-drill.lolo +95 -44
  41. package/behaviors/lolo/ui/learning/atoms/std-learn-stepper.lolo +199 -125
  42. package/behaviors/lolo/ui/learning/atoms/std-learn-tour-3d.lolo +92 -48
  43. package/behaviors/lolo/ui/learning/atoms/std-learn-trace-player.lolo +239 -78
  44. package/behaviors/lolo/ui/learning/atoms/std-learn-transport.lolo +147 -38
  45. package/behaviors/lolo/ui/learning/atoms/std-learn-tree.lolo +123 -58
  46. package/behaviors/lolo/ui/learning/atoms/ui-algo-graph-canvas.lolo +22 -0
  47. package/behaviors/lolo/ui/learning/atoms/ui-algorithm-canvas.lolo +26 -0
  48. package/behaviors/lolo/ui/learning/atoms/ui-biology-canvas.lolo +26 -0
  49. package/behaviors/lolo/ui/learning/atoms/ui-chemistry-canvas.lolo +27 -1
  50. package/behaviors/lolo/ui/learning/atoms/ui-learning-canvas.lolo +27 -1
  51. package/behaviors/lolo/ui/learning/atoms/ui-math-canvas.lolo +29 -9
  52. package/behaviors/lolo/ui/learning/atoms/ui-physics-canvas.lolo +26 -0
  53. package/behaviors/lolo-behavior-contracts.json +1 -1
  54. package/behaviors/registry/agent/atoms/std-agent-memory.orb +372 -2
  55. package/behaviors/registry/agent/atoms/std-agent-session.orb +4752 -348
  56. package/behaviors/registry/agent/atoms/std-agent-tool-loop.orb +54 -42
  57. package/behaviors/registry/agent/organisms/std-agent-assistant.orb +356 -122
  58. package/behaviors/registry/factory-signatures.json +1 -1
  59. package/behaviors/registry/infra/atoms/std-page-open.orb +435 -0
  60. package/behaviors/registry/infra/atoms/std-page-search.orb +867 -0
  61. package/behaviors/registry/infra/atoms/std-page-treat.orb +494 -0
  62. package/behaviors/registry/infra/atoms/std-page-watch.orb +554 -0
  63. package/behaviors/registry/ui/core/atoms/std-board.orb +110 -14
  64. package/behaviors/registry/ui/core/atoms/std-book-reader.orb +119 -0
  65. package/behaviors/registry/ui/core/atoms/std-card-grid.orb +61 -0
  66. package/behaviors/registry/ui/core/atoms/std-doc-page.orb +594 -0
  67. package/behaviors/registry/ui/core/atoms/std-site-header.orb +40 -2
  68. package/behaviors/registry/ui/core/atoms/std-tag-strip.orb +2 -0
  69. package/behaviors/registry/ui/core/atoms/std-tag-taxonomy.orb +24 -0
  70. package/behaviors/registry/ui/core/atoms/std-version-history.orb +8 -1
  71. package/behaviors/registry/ui/core/molecules/ui-header.orb +7 -0
  72. package/behaviors/registry/ui/learning/atoms/std-learn-arrangement.orb +903 -369
  73. package/behaviors/registry/ui/learning/atoms/std-learn-classify.orb +1002 -232
  74. package/behaviors/registry/ui/learning/atoms/std-learn-compare.orb +253 -74
  75. package/behaviors/registry/ui/learning/atoms/std-learn-coupled-sim.orb +3624 -921
  76. package/behaviors/registry/ui/learning/atoms/std-learn-derivation.orb +685 -144
  77. package/behaviors/registry/ui/learning/atoms/std-learn-diagram.orb +404 -52
  78. package/behaviors/registry/ui/learning/atoms/std-learn-doser.orb +1787 -210
  79. package/behaviors/registry/ui/learning/atoms/std-learn-estimate.orb +699 -71
  80. package/behaviors/registry/ui/learning/atoms/std-learn-goal-seek.orb +1102 -578
  81. package/behaviors/registry/ui/learning/atoms/std-learn-grid-sim.orb +2760 -872
  82. package/behaviors/registry/ui/learning/atoms/std-learn-hotspot.orb +689 -152
  83. package/behaviors/registry/ui/learning/atoms/std-learn-live-sim.orb +1431 -633
  84. package/behaviors/registry/ui/learning/atoms/std-learn-measure.orb +2485 -512
  85. package/behaviors/registry/ui/learning/atoms/std-learn-param-explorer.orb +501 -197
  86. package/behaviors/registry/ui/learning/atoms/std-learn-perturb.orb +3642 -928
  87. package/behaviors/registry/ui/learning/atoms/std-learn-predict.orb +705 -125
  88. package/behaviors/registry/ui/learning/atoms/std-learn-sample-accumulator.orb +624 -114
  89. package/behaviors/registry/ui/learning/atoms/std-learn-sandbox.orb +405 -153
  90. package/behaviors/registry/ui/learning/atoms/std-learn-scatter-fit.orb +1911 -611
  91. package/behaviors/registry/ui/learning/atoms/std-learn-scenario.orb +436 -128
  92. package/behaviors/registry/ui/learning/atoms/std-learn-sim-3d.orb +2482 -485
  93. package/behaviors/registry/ui/learning/atoms/std-learn-speed-drill.orb +896 -192
  94. package/behaviors/registry/ui/learning/atoms/std-learn-stepper.orb +2001 -759
  95. package/behaviors/registry/ui/learning/atoms/std-learn-tour-3d.orb +734 -228
  96. package/behaviors/registry/ui/learning/atoms/std-learn-trace-player.orb +2501 -764
  97. package/behaviors/registry/ui/learning/atoms/std-learn-transport.orb +1591 -173
  98. package/behaviors/registry/ui/learning/atoms/std-learn-tree.orb +883 -122
  99. package/behaviors/registry/ui/learning/atoms/ui-algo-graph-canvas.orb +176 -0
  100. package/behaviors/registry/ui/learning/atoms/ui-algorithm-canvas.orb +211 -0
  101. package/behaviors/registry/ui/learning/atoms/ui-biology-canvas.orb +211 -0
  102. package/behaviors/registry/ui/learning/atoms/ui-chemistry-canvas.orb +212 -1
  103. package/behaviors/registry/ui/learning/atoms/ui-learning-canvas.orb +212 -1
  104. package/behaviors/registry/ui/learning/atoms/ui-math-canvas.orb +203 -9
  105. package/behaviors/registry/ui/learning/atoms/ui-physics-canvas.orb +211 -0
  106. package/behaviors/signatures.lolo +325 -655
  107. package/canonical-operators.json +35 -1
  108. package/dist/behaviors/exports-reader.js +41980 -35508
  109. package/dist/behaviors/functions/index.d.ts +1063 -140
  110. package/dist/behaviors/functions/index.js +41951 -35506
  111. package/dist/behaviors/index.d.ts +1 -1
  112. package/dist/behaviors/index.js +41981 -35509
  113. package/dist/behaviors/query.js +41980 -35508
  114. package/dist/behaviors-embeddings.hash.json +3 -3
  115. package/dist/behaviors-embeddings.json +47 -27
  116. package/dist/behaviors-registry.json +4814 -553
  117. package/dist/index.d.ts +4 -4
  118. package/dist/index.js +42019 -35509
  119. package/dist/knob-embeddings.hash.json +3 -3
  120. package/dist/knob-embeddings.json +623 -263
  121. package/dist/modules/anim.d.ts +1 -1
  122. package/dist/modules/array.d.ts +1 -1
  123. package/dist/modules/async.d.ts +1 -1
  124. package/dist/modules/behavior.d.ts +1 -1
  125. package/dist/modules/browser.d.ts +1 -1
  126. package/dist/modules/composition.d.ts +1 -1
  127. package/dist/modules/contract.d.ts +1 -1
  128. package/dist/modules/core.d.ts +1 -1
  129. package/dist/modules/core.js +2 -0
  130. package/dist/modules/data.d.ts +1 -1
  131. package/dist/modules/ease.d.ts +1 -1
  132. package/dist/modules/format.d.ts +1 -1
  133. package/dist/modules/geo.d.ts +1 -1
  134. package/dist/modules/graph.d.ts +1 -1
  135. package/dist/modules/grid.d.ts +1 -1
  136. package/dist/modules/i18n.d.ts +17 -0
  137. package/dist/modules/i18n.js +22 -0
  138. package/dist/modules/index.d.ts +2 -1
  139. package/dist/modules/index.js +24 -1
  140. package/dist/modules/integration.d.ts +1 -1
  141. package/dist/modules/json.d.ts +1 -1
  142. package/dist/modules/llm.d.ts +1 -1
  143. package/dist/modules/math.d.ts +1 -1
  144. package/dist/modules/memory.d.ts +1 -1
  145. package/dist/modules/nn.d.ts +1 -1
  146. package/dist/modules/noise.d.ts +1 -1
  147. package/dist/modules/object.d.ts +1 -1
  148. package/dist/modules/os.d.ts +1 -1
  149. package/dist/modules/path.d.ts +1 -1
  150. package/dist/modules/prob.d.ts +1 -1
  151. package/dist/modules/session.d.ts +1 -1
  152. package/dist/modules/str.d.ts +1 -1
  153. package/dist/modules/tensor.d.ts +1 -1
  154. package/dist/modules/time.d.ts +1 -1
  155. package/dist/modules/trace.d.ts +1 -1
  156. package/dist/modules/train.d.ts +1 -1
  157. package/dist/modules/validate.d.ts +1 -1
  158. package/dist/modules/vector.d.ts +1 -1
  159. package/dist/modules/workspace.d.ts +1 -1
  160. package/dist/registry/factory-signatures.json +1 -1
  161. package/dist/registry.d.ts +10 -3
  162. package/dist/registry.js +31 -1
  163. package/dist/{types-DLx38UFZ.d.ts → types-Cdb321uM.d.ts} +9 -3
  164. package/i18n/ar.json +1 -0
  165. package/i18n/en.json +1 -0
  166. package/i18n/sl.json +1 -0
  167. 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
+ }