@littlepress/renderer-web 0.0.0-stage → 1.0.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/LICENSE +202 -0
- package/NOTICE +20 -0
- package/README.md +229 -2
- package/dist/answer/answerComponents.d.ts +107 -0
- package/dist/answer/answerComponents.js +637 -0
- package/dist/answer/download.d.ts +63 -0
- package/dist/answer/download.js +109 -0
- package/dist/answer/downloadExport.d.ts +44 -0
- package/dist/answer/downloadExport.js +266 -0
- package/dist/answer/hostValues.d.ts +28 -0
- package/dist/answer/hostValues.js +379 -0
- package/dist/answer/mapComponent.d.ts +6 -0
- package/dist/answer/mapComponent.js +213 -0
- package/dist/answer/math.d.ts +57 -0
- package/dist/answer/math.js +168 -0
- package/dist/answer/surfaceStream.d.ts +51 -0
- package/dist/answer/surfaceStream.js +260 -0
- package/dist/answer/tableLayout.d.ts +42 -0
- package/dist/answer/tableLayout.js +89 -0
- package/dist/controls/ActionFeedback.d.ts +5 -0
- package/dist/controls/ActionFeedback.js +43 -0
- package/dist/controls/actionDispatch.d.ts +51 -0
- package/dist/controls/actionDispatch.js +211 -0
- package/dist/controls/actionOutcome.generated.d.ts +64 -0
- package/dist/controls/actionOutcome.generated.js +64 -0
- package/dist/controls/calculationPublisher.d.ts +14 -0
- package/dist/controls/calculationPublisher.js +6 -0
- package/dist/controls/calculations.d.ts +20 -0
- package/dist/controls/calculations.generated.d.ts +73 -0
- package/dist/controls/calculations.generated.js +85 -0
- package/dist/controls/calculations.js +208 -0
- package/dist/controls/controlState.d.ts +84 -0
- package/dist/controls/controlState.js +256 -0
- package/dist/controls/fieldMessages.d.ts +41 -0
- package/dist/controls/fieldMessages.js +81 -0
- package/dist/controls/fieldValidation.d.ts +19 -0
- package/dist/controls/fieldValidation.js +98 -0
- package/dist/controls/formComponents.d.ts +23 -0
- package/dist/controls/formComponents.js +738 -0
- package/dist/controls/formProgress.d.ts +63 -0
- package/dist/controls/formProgress.js +122 -0
- package/dist/controls/inputDrafts.d.ts +55 -0
- package/dist/controls/inputDrafts.js +183 -0
- package/dist/controls/inputValidation.d.ts +33 -0
- package/dist/controls/inputValidation.js +119 -0
- package/dist/controls/localWrites.d.ts +9 -0
- package/dist/controls/localWrites.js +29 -0
- package/dist/core/A2uiSurface.d.ts +13 -0
- package/dist/core/A2uiSurface.js +15 -0
- package/dist/core/AtlasIcon.d.ts +18 -0
- package/dist/core/AtlasIcon.js +22 -0
- package/dist/core/AtlasMedia.d.ts +22 -0
- package/dist/core/AtlasMedia.js +45 -0
- package/dist/core/Carousel.d.ts +61 -0
- package/dist/core/Carousel.js +183 -0
- package/dist/core/CoreMedia.d.ts +19 -0
- package/dist/core/CoreMedia.js +25 -0
- package/dist/core/FoundationA2uiSurface.d.ts +86 -0
- package/dist/core/FoundationA2uiSurface.js +440 -0
- package/dist/core/ImagePreview.d.ts +42 -0
- package/dist/core/ImagePreview.js +73 -0
- package/dist/core/LucideIcon.d.ts +19 -0
- package/dist/core/LucideIcon.js +42 -0
- package/dist/core/SurfaceLink.d.ts +35 -0
- package/dist/core/SurfaceLink.js +60 -0
- package/dist/core/appearance/aegis.d.ts +49 -0
- package/dist/core/appearance/aegis.js +34 -0
- package/dist/core/appearance/colour.d.ts +24 -0
- package/dist/core/appearance/colour.js +103 -0
- package/dist/core/appearance/css.d.ts +17 -0
- package/dist/core/appearance/css.js +153 -0
- package/dist/core/appearance/presets.generated.d.ts +4 -0
- package/dist/core/appearance/presets.generated.js +1184 -0
- package/dist/core/appearance/react.d.ts +29 -0
- package/dist/core/appearance/react.js +110 -0
- package/dist/core/appearance/resolve.d.ts +76 -0
- package/dist/core/appearance/resolve.js +127 -0
- package/dist/core/appearance/textScale.d.ts +11 -0
- package/dist/core/appearance/textScale.js +51 -0
- package/dist/core/appearance/theme.d.ts +138 -0
- package/dist/core/appearance/theme.js +274 -0
- package/dist/core/baseComponents.d.ts +53 -0
- package/dist/core/baseComponents.js +480 -0
- package/dist/core/binding.d.ts +46 -0
- package/dist/core/binding.js +118 -0
- package/dist/core/bundle.d.ts +23 -0
- package/dist/core/bundle.js +75 -0
- package/dist/core/catalog/catalog-index.generated.d.ts +44 -0
- package/dist/core/catalog/catalog-index.generated.js +79 -0
- package/dist/core/catalog/icons.generated.d.ts +6 -0
- package/dist/core/catalog/icons.generated.js +1788 -0
- package/dist/core/catalog.d.ts +6 -0
- package/dist/core/catalog.generated.d.ts +50 -0
- package/dist/core/catalog.generated.js +2174 -0
- package/dist/core/catalog.js +8 -0
- package/dist/core/chartRows.d.ts +7 -0
- package/dist/core/chartRows.js +38 -0
- package/dist/core/component-support.d.ts +39 -0
- package/dist/core/component-support.js +127 -0
- package/dist/core/components/actions.d.ts +4 -0
- package/dist/core/components/actions.js +21 -0
- package/dist/core/components/cards.d.ts +9 -0
- package/dist/core/components/cards.js +227 -0
- package/dist/core/components/charts.d.ts +18 -0
- package/dist/core/components/charts.js +412 -0
- package/dist/core/components/comparisonTable.d.ts +50 -0
- package/dist/core/components/comparisonTable.js +89 -0
- package/dist/core/components/content.d.ts +13 -0
- package/dist/core/components/content.js +108 -0
- package/dist/core/components/seriesCharts.d.ts +531 -0
- package/dist/core/components/seriesCharts.js +1053 -0
- package/dist/core/components/stepFlow.d.ts +7 -0
- package/dist/core/components/stepFlow.js +13 -0
- package/dist/core/components.full.d.ts +10 -0
- package/dist/core/components.full.js +41 -0
- package/dist/core/context.d.ts +207 -0
- package/dist/core/context.js +172 -0
- package/dist/core/coverage.d.ts +30 -0
- package/dist/core/coverage.js +93 -0
- package/dist/core/foundation.d.ts +21 -0
- package/dist/core/foundation.js +22 -0
- package/dist/core/fullTheme.d.ts +5 -0
- package/dist/core/fullTheme.js +9 -0
- package/dist/core/iconNodes.generated.d.ts +7 -0
- package/dist/core/iconNodes.generated.js +5 -0
- package/dist/core/lucideIcons.d.ts +5 -0
- package/dist/core/lucideIcons.js +7 -0
- package/dist/core/messages.d.ts +111 -0
- package/dist/core/messages.js +134 -0
- package/dist/core/pointer.d.ts +17 -0
- package/dist/core/pointer.js +104 -0
- package/dist/core/registry.d.ts +12 -0
- package/dist/core/registry.js +114 -0
- package/dist/core/runtime.d.ts +8 -0
- package/dist/core/runtime.js +6 -0
- package/dist/core/state.d.ts +73 -0
- package/dist/core/state.js +274 -0
- package/dist/core/surfaceMotion.d.ts +5 -0
- package/dist/core/surfaceMotion.js +46 -0
- package/dist/core/theme.d.ts +5 -0
- package/dist/core/theme.js +7 -0
- package/dist/core/useSurfaceImage.d.ts +20 -0
- package/dist/core/useSurfaceImage.js +65 -0
- package/dist/graph/RelationshipGraph.d.ts +14 -0
- package/dist/graph/RelationshipGraph.js +206 -0
- package/dist/graph/model.d.ts +20 -0
- package/dist/graph/model.js +36 -0
- package/dist/graph/program/assets.d.ts +3 -0
- package/dist/graph/program/assets.js +3 -0
- package/dist/graph/program/bridge.d.ts +6 -0
- package/dist/graph/program/bridge.generated.d.ts +136 -0
- package/dist/graph/program/bridge.generated.js +1 -0
- package/dist/graph/program/bridge.js +24 -0
- package/dist/graph/program/bridge.schema.json +717 -0
- package/dist/graph/program/bridgeValidator.cjs +2 -0
- package/dist/graph/program/bridgeValidator.d.cts +4 -0
- package/dist/graph/program/runner.d.ts +1 -0
- package/dist/graph/program/runner.html +2193 -0
- package/dist/graph/program/runner.js +157 -0
- package/dist/graph/program/runtime-manifest.json +1 -0
- package/dist/graph/program/view.d.ts +11 -0
- package/dist/graph/program/view.js +210 -0
- package/dist/graph/program/worker.d.ts +1 -0
- package/dist/graph/program/worker.js +2186 -0
- package/dist/index.d.ts +20 -0
- package/dist/index.js +45 -0
- package/dist/internal/dsh.d.ts +4 -0
- package/dist/internal/dsh.js +3 -0
- package/dist/internal/relationship-graph.d.ts +4 -0
- package/dist/internal/relationship-graph.js +7202 -0
- package/dist/page/layoutComponents.d.ts +6 -0
- package/dist/page/layoutComponents.js +123 -0
- package/dist/page/layoutGeometry.d.ts +68 -0
- package/dist/page/layoutGeometry.js +174 -0
- package/dist/page/pageFormat.d.ts +34 -0
- package/dist/page/pageFormat.js +119 -0
- package/dist/page/printFit.d.ts +81 -0
- package/dist/page/printFit.js +338 -0
- package/dist/react/index.d.ts +5 -0
- package/dist/react/index.js +2 -0
- package/dist/report/locate.d.ts +42 -0
- package/dist/report/locate.js +34 -0
- package/dist/styles/renderer.css +4580 -0
- package/licenses/LUCIDE-LICENSE.txt +43 -0
- package/licenses/QUICKJS-EMSCRIPTEN-LICENSE.txt +21 -0
- package/licenses/QUICKJS-VARIANT-LICENSE.txt +47 -0
- package/package.json +68 -3
|
@@ -0,0 +1,717 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://littlepress.ai/schemas/program-graph-bridge-v1.json",
|
|
4
|
+
"description": "Foundation-owned relationship graph runtime bridge v1; not a general Canvas protocol.",
|
|
5
|
+
"$defs": {
|
|
6
|
+
"GraphData": {
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"nodes": {
|
|
10
|
+
"type": "array",
|
|
11
|
+
"minItems": 1,
|
|
12
|
+
"maxItems": 24,
|
|
13
|
+
"items": {
|
|
14
|
+
"type": "object",
|
|
15
|
+
"properties": {
|
|
16
|
+
"id": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"pattern": "^[A-Za-z0-9_-]{1,64}$"
|
|
19
|
+
},
|
|
20
|
+
"label": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"minLength": 1,
|
|
23
|
+
"maxLength": 160
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"required": [
|
|
27
|
+
"id",
|
|
28
|
+
"label"
|
|
29
|
+
],
|
|
30
|
+
"additionalProperties": false
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"edges": {
|
|
34
|
+
"type": "array",
|
|
35
|
+
"maxItems": 64,
|
|
36
|
+
"items": {
|
|
37
|
+
"type": "object",
|
|
38
|
+
"properties": {
|
|
39
|
+
"from": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"pattern": "^[A-Za-z0-9_-]{1,64}$"
|
|
42
|
+
},
|
|
43
|
+
"to": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"pattern": "^[A-Za-z0-9_-]{1,64}$"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"required": [
|
|
49
|
+
"from",
|
|
50
|
+
"to"
|
|
51
|
+
],
|
|
52
|
+
"additionalProperties": false
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"required": [
|
|
57
|
+
"nodes",
|
|
58
|
+
"edges"
|
|
59
|
+
],
|
|
60
|
+
"additionalProperties": false
|
|
61
|
+
},
|
|
62
|
+
"GraphPoint": {
|
|
63
|
+
"type": "object",
|
|
64
|
+
"properties": {
|
|
65
|
+
"id": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"pattern": "^[A-Za-z0-9_-]{1,64}$"
|
|
68
|
+
},
|
|
69
|
+
"x": {
|
|
70
|
+
"type": "number",
|
|
71
|
+
"minimum": 0,
|
|
72
|
+
"maximum": 10000
|
|
73
|
+
},
|
|
74
|
+
"y": {
|
|
75
|
+
"type": "number",
|
|
76
|
+
"minimum": 0,
|
|
77
|
+
"maximum": 10000
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"required": [
|
|
81
|
+
"id",
|
|
82
|
+
"x",
|
|
83
|
+
"y"
|
|
84
|
+
],
|
|
85
|
+
"additionalProperties": false
|
|
86
|
+
},
|
|
87
|
+
"GraphConnectedMessage": {
|
|
88
|
+
"type": "object",
|
|
89
|
+
"properties": {
|
|
90
|
+
"bridge_version": {
|
|
91
|
+
"const": 1
|
|
92
|
+
},
|
|
93
|
+
"instance_id": {
|
|
94
|
+
"type": "string",
|
|
95
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
96
|
+
},
|
|
97
|
+
"session_id": {
|
|
98
|
+
"type": "string",
|
|
99
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
100
|
+
},
|
|
101
|
+
"execution_id": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
104
|
+
},
|
|
105
|
+
"state_revision": {
|
|
106
|
+
"type": "integer",
|
|
107
|
+
"minimum": 0,
|
|
108
|
+
"maximum": 9007199254740991
|
|
109
|
+
},
|
|
110
|
+
"kind": {
|
|
111
|
+
"const": "connected"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"required": [
|
|
115
|
+
"bridge_version",
|
|
116
|
+
"instance_id",
|
|
117
|
+
"session_id",
|
|
118
|
+
"execution_id",
|
|
119
|
+
"state_revision",
|
|
120
|
+
"kind"
|
|
121
|
+
],
|
|
122
|
+
"additionalProperties": false
|
|
123
|
+
},
|
|
124
|
+
"GraphInitializeMessage": {
|
|
125
|
+
"type": "object",
|
|
126
|
+
"properties": {
|
|
127
|
+
"bridge_version": {
|
|
128
|
+
"const": 1
|
|
129
|
+
},
|
|
130
|
+
"instance_id": {
|
|
131
|
+
"type": "string",
|
|
132
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
133
|
+
},
|
|
134
|
+
"session_id": {
|
|
135
|
+
"type": "string",
|
|
136
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
137
|
+
},
|
|
138
|
+
"execution_id": {
|
|
139
|
+
"type": "string",
|
|
140
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
141
|
+
},
|
|
142
|
+
"state_revision": {
|
|
143
|
+
"type": "integer",
|
|
144
|
+
"minimum": 0,
|
|
145
|
+
"maximum": 9007199254740991
|
|
146
|
+
},
|
|
147
|
+
"kind": {
|
|
148
|
+
"const": "initialize"
|
|
149
|
+
},
|
|
150
|
+
"body": {
|
|
151
|
+
"type": "object",
|
|
152
|
+
"properties": {
|
|
153
|
+
"graph": {
|
|
154
|
+
"$ref": "#/$defs/GraphData"
|
|
155
|
+
},
|
|
156
|
+
"selectedId": {
|
|
157
|
+
"anyOf": [
|
|
158
|
+
{
|
|
159
|
+
"type": "string",
|
|
160
|
+
"pattern": "^[A-Za-z0-9_-]{1,64}$"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"type": "null"
|
|
164
|
+
}
|
|
165
|
+
]
|
|
166
|
+
},
|
|
167
|
+
"sourceText": {
|
|
168
|
+
"type": "string",
|
|
169
|
+
"minLength": 1,
|
|
170
|
+
"maxLength": 1048576
|
|
171
|
+
},
|
|
172
|
+
"locale": {
|
|
173
|
+
"enum": [
|
|
174
|
+
"en",
|
|
175
|
+
"zh"
|
|
176
|
+
]
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
"required": [
|
|
180
|
+
"graph",
|
|
181
|
+
"selectedId",
|
|
182
|
+
"sourceText",
|
|
183
|
+
"locale"
|
|
184
|
+
],
|
|
185
|
+
"additionalProperties": false
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
"required": [
|
|
189
|
+
"bridge_version",
|
|
190
|
+
"instance_id",
|
|
191
|
+
"session_id",
|
|
192
|
+
"execution_id",
|
|
193
|
+
"state_revision",
|
|
194
|
+
"kind",
|
|
195
|
+
"body"
|
|
196
|
+
],
|
|
197
|
+
"additionalProperties": false
|
|
198
|
+
},
|
|
199
|
+
"GraphStateMessage": {
|
|
200
|
+
"type": "object",
|
|
201
|
+
"properties": {
|
|
202
|
+
"bridge_version": {
|
|
203
|
+
"const": 1
|
|
204
|
+
},
|
|
205
|
+
"instance_id": {
|
|
206
|
+
"type": "string",
|
|
207
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
208
|
+
},
|
|
209
|
+
"session_id": {
|
|
210
|
+
"type": "string",
|
|
211
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
212
|
+
},
|
|
213
|
+
"execution_id": {
|
|
214
|
+
"type": "string",
|
|
215
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
216
|
+
},
|
|
217
|
+
"state_revision": {
|
|
218
|
+
"type": "integer",
|
|
219
|
+
"minimum": 0,
|
|
220
|
+
"maximum": 9007199254740991
|
|
221
|
+
},
|
|
222
|
+
"kind": {
|
|
223
|
+
"const": "state"
|
|
224
|
+
},
|
|
225
|
+
"body": {
|
|
226
|
+
"type": "object",
|
|
227
|
+
"properties": {
|
|
228
|
+
"selectedId": {
|
|
229
|
+
"anyOf": [
|
|
230
|
+
{
|
|
231
|
+
"type": "string",
|
|
232
|
+
"pattern": "^[A-Za-z0-9_-]{1,64}$"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"type": "null"
|
|
236
|
+
}
|
|
237
|
+
]
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
"required": [
|
|
241
|
+
"selectedId"
|
|
242
|
+
],
|
|
243
|
+
"additionalProperties": false
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
"required": [
|
|
247
|
+
"bridge_version",
|
|
248
|
+
"instance_id",
|
|
249
|
+
"session_id",
|
|
250
|
+
"execution_id",
|
|
251
|
+
"state_revision",
|
|
252
|
+
"kind",
|
|
253
|
+
"body"
|
|
254
|
+
],
|
|
255
|
+
"additionalProperties": false
|
|
256
|
+
},
|
|
257
|
+
"GraphInputMessage": {
|
|
258
|
+
"type": "object",
|
|
259
|
+
"properties": {
|
|
260
|
+
"bridge_version": {
|
|
261
|
+
"const": 1
|
|
262
|
+
},
|
|
263
|
+
"instance_id": {
|
|
264
|
+
"type": "string",
|
|
265
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
266
|
+
},
|
|
267
|
+
"session_id": {
|
|
268
|
+
"type": "string",
|
|
269
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
270
|
+
},
|
|
271
|
+
"execution_id": {
|
|
272
|
+
"type": "string",
|
|
273
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
274
|
+
},
|
|
275
|
+
"state_revision": {
|
|
276
|
+
"type": "integer",
|
|
277
|
+
"minimum": 0,
|
|
278
|
+
"maximum": 9007199254740991
|
|
279
|
+
},
|
|
280
|
+
"kind": {
|
|
281
|
+
"const": "input"
|
|
282
|
+
},
|
|
283
|
+
"body": {
|
|
284
|
+
"type": "object",
|
|
285
|
+
"properties": {
|
|
286
|
+
"id": {
|
|
287
|
+
"type": "string",
|
|
288
|
+
"pattern": "^[A-Za-z0-9_-]{1,64}$"
|
|
289
|
+
}
|
|
290
|
+
},
|
|
291
|
+
"required": [
|
|
292
|
+
"id"
|
|
293
|
+
],
|
|
294
|
+
"additionalProperties": false
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
"required": [
|
|
298
|
+
"bridge_version",
|
|
299
|
+
"instance_id",
|
|
300
|
+
"session_id",
|
|
301
|
+
"execution_id",
|
|
302
|
+
"state_revision",
|
|
303
|
+
"kind",
|
|
304
|
+
"body"
|
|
305
|
+
],
|
|
306
|
+
"additionalProperties": false
|
|
307
|
+
},
|
|
308
|
+
"GraphSceneMessage": {
|
|
309
|
+
"type": "object",
|
|
310
|
+
"properties": {
|
|
311
|
+
"bridge_version": {
|
|
312
|
+
"const": 1
|
|
313
|
+
},
|
|
314
|
+
"instance_id": {
|
|
315
|
+
"type": "string",
|
|
316
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
317
|
+
},
|
|
318
|
+
"session_id": {
|
|
319
|
+
"type": "string",
|
|
320
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
321
|
+
},
|
|
322
|
+
"execution_id": {
|
|
323
|
+
"type": "string",
|
|
324
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
325
|
+
},
|
|
326
|
+
"state_revision": {
|
|
327
|
+
"type": "integer",
|
|
328
|
+
"minimum": 0,
|
|
329
|
+
"maximum": 9007199254740991
|
|
330
|
+
},
|
|
331
|
+
"kind": {
|
|
332
|
+
"const": "scene"
|
|
333
|
+
},
|
|
334
|
+
"body": {
|
|
335
|
+
"type": "object",
|
|
336
|
+
"properties": {
|
|
337
|
+
"positions": {
|
|
338
|
+
"type": "array",
|
|
339
|
+
"minItems": 1,
|
|
340
|
+
"maxItems": 24,
|
|
341
|
+
"items": {
|
|
342
|
+
"$ref": "#/$defs/GraphPoint"
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
"required": [
|
|
347
|
+
"positions"
|
|
348
|
+
],
|
|
349
|
+
"additionalProperties": false
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
"required": [
|
|
353
|
+
"bridge_version",
|
|
354
|
+
"instance_id",
|
|
355
|
+
"session_id",
|
|
356
|
+
"execution_id",
|
|
357
|
+
"state_revision",
|
|
358
|
+
"kind",
|
|
359
|
+
"body"
|
|
360
|
+
],
|
|
361
|
+
"additionalProperties": false
|
|
362
|
+
},
|
|
363
|
+
"GraphSelectMessage": {
|
|
364
|
+
"type": "object",
|
|
365
|
+
"properties": {
|
|
366
|
+
"bridge_version": {
|
|
367
|
+
"const": 1
|
|
368
|
+
},
|
|
369
|
+
"instance_id": {
|
|
370
|
+
"type": "string",
|
|
371
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
372
|
+
},
|
|
373
|
+
"session_id": {
|
|
374
|
+
"type": "string",
|
|
375
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
376
|
+
},
|
|
377
|
+
"execution_id": {
|
|
378
|
+
"type": "string",
|
|
379
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
380
|
+
},
|
|
381
|
+
"state_revision": {
|
|
382
|
+
"type": "integer",
|
|
383
|
+
"minimum": 0,
|
|
384
|
+
"maximum": 9007199254740991
|
|
385
|
+
},
|
|
386
|
+
"kind": {
|
|
387
|
+
"const": "select"
|
|
388
|
+
},
|
|
389
|
+
"body": {
|
|
390
|
+
"type": "object",
|
|
391
|
+
"properties": {
|
|
392
|
+
"id": {
|
|
393
|
+
"type": "string",
|
|
394
|
+
"pattern": "^[A-Za-z0-9_-]{1,64}$"
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
"required": [
|
|
398
|
+
"id"
|
|
399
|
+
],
|
|
400
|
+
"additionalProperties": false
|
|
401
|
+
}
|
|
402
|
+
},
|
|
403
|
+
"required": [
|
|
404
|
+
"bridge_version",
|
|
405
|
+
"instance_id",
|
|
406
|
+
"session_id",
|
|
407
|
+
"execution_id",
|
|
408
|
+
"state_revision",
|
|
409
|
+
"kind",
|
|
410
|
+
"body"
|
|
411
|
+
],
|
|
412
|
+
"additionalProperties": false
|
|
413
|
+
},
|
|
414
|
+
"GraphReadyMessage": {
|
|
415
|
+
"type": "object",
|
|
416
|
+
"properties": {
|
|
417
|
+
"bridge_version": {
|
|
418
|
+
"const": 1
|
|
419
|
+
},
|
|
420
|
+
"instance_id": {
|
|
421
|
+
"type": "string",
|
|
422
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
423
|
+
},
|
|
424
|
+
"session_id": {
|
|
425
|
+
"type": "string",
|
|
426
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
427
|
+
},
|
|
428
|
+
"execution_id": {
|
|
429
|
+
"type": "string",
|
|
430
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
431
|
+
},
|
|
432
|
+
"state_revision": {
|
|
433
|
+
"type": "integer",
|
|
434
|
+
"minimum": 0,
|
|
435
|
+
"maximum": 9007199254740991
|
|
436
|
+
},
|
|
437
|
+
"kind": {
|
|
438
|
+
"const": "ready"
|
|
439
|
+
}
|
|
440
|
+
},
|
|
441
|
+
"required": [
|
|
442
|
+
"bridge_version",
|
|
443
|
+
"instance_id",
|
|
444
|
+
"session_id",
|
|
445
|
+
"execution_id",
|
|
446
|
+
"state_revision",
|
|
447
|
+
"kind"
|
|
448
|
+
],
|
|
449
|
+
"additionalProperties": false
|
|
450
|
+
},
|
|
451
|
+
"GraphFailedMessage": {
|
|
452
|
+
"type": "object",
|
|
453
|
+
"properties": {
|
|
454
|
+
"bridge_version": {
|
|
455
|
+
"const": 1
|
|
456
|
+
},
|
|
457
|
+
"instance_id": {
|
|
458
|
+
"type": "string",
|
|
459
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
460
|
+
},
|
|
461
|
+
"session_id": {
|
|
462
|
+
"type": "string",
|
|
463
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
464
|
+
},
|
|
465
|
+
"execution_id": {
|
|
466
|
+
"type": "string",
|
|
467
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
468
|
+
},
|
|
469
|
+
"state_revision": {
|
|
470
|
+
"type": "integer",
|
|
471
|
+
"minimum": 0,
|
|
472
|
+
"maximum": 9007199254740991
|
|
473
|
+
},
|
|
474
|
+
"kind": {
|
|
475
|
+
"const": "failed"
|
|
476
|
+
},
|
|
477
|
+
"body": {
|
|
478
|
+
"type": "object",
|
|
479
|
+
"properties": {
|
|
480
|
+
"code": {
|
|
481
|
+
"enum": [
|
|
482
|
+
"engine_init",
|
|
483
|
+
"execution",
|
|
484
|
+
"budget",
|
|
485
|
+
"invalid_scene",
|
|
486
|
+
"protocol",
|
|
487
|
+
"worker_timeout",
|
|
488
|
+
"first_frame_timeout"
|
|
489
|
+
]
|
|
490
|
+
}
|
|
491
|
+
},
|
|
492
|
+
"required": [
|
|
493
|
+
"code"
|
|
494
|
+
],
|
|
495
|
+
"additionalProperties": false
|
|
496
|
+
}
|
|
497
|
+
},
|
|
498
|
+
"required": [
|
|
499
|
+
"bridge_version",
|
|
500
|
+
"instance_id",
|
|
501
|
+
"session_id",
|
|
502
|
+
"execution_id",
|
|
503
|
+
"state_revision",
|
|
504
|
+
"kind",
|
|
505
|
+
"body"
|
|
506
|
+
],
|
|
507
|
+
"additionalProperties": false
|
|
508
|
+
},
|
|
509
|
+
"GraphSuspendMessage": {
|
|
510
|
+
"type": "object",
|
|
511
|
+
"properties": {
|
|
512
|
+
"bridge_version": {
|
|
513
|
+
"const": 1
|
|
514
|
+
},
|
|
515
|
+
"instance_id": {
|
|
516
|
+
"type": "string",
|
|
517
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
518
|
+
},
|
|
519
|
+
"session_id": {
|
|
520
|
+
"type": "string",
|
|
521
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
522
|
+
},
|
|
523
|
+
"execution_id": {
|
|
524
|
+
"type": "string",
|
|
525
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
526
|
+
},
|
|
527
|
+
"state_revision": {
|
|
528
|
+
"type": "integer",
|
|
529
|
+
"minimum": 0,
|
|
530
|
+
"maximum": 9007199254740991
|
|
531
|
+
},
|
|
532
|
+
"kind": {
|
|
533
|
+
"const": "suspend"
|
|
534
|
+
}
|
|
535
|
+
},
|
|
536
|
+
"required": [
|
|
537
|
+
"bridge_version",
|
|
538
|
+
"instance_id",
|
|
539
|
+
"session_id",
|
|
540
|
+
"execution_id",
|
|
541
|
+
"state_revision",
|
|
542
|
+
"kind"
|
|
543
|
+
],
|
|
544
|
+
"additionalProperties": false
|
|
545
|
+
},
|
|
546
|
+
"GraphResumeMessage": {
|
|
547
|
+
"type": "object",
|
|
548
|
+
"properties": {
|
|
549
|
+
"bridge_version": {
|
|
550
|
+
"const": 1
|
|
551
|
+
},
|
|
552
|
+
"instance_id": {
|
|
553
|
+
"type": "string",
|
|
554
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
555
|
+
},
|
|
556
|
+
"session_id": {
|
|
557
|
+
"type": "string",
|
|
558
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
559
|
+
},
|
|
560
|
+
"execution_id": {
|
|
561
|
+
"type": "string",
|
|
562
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
563
|
+
},
|
|
564
|
+
"state_revision": {
|
|
565
|
+
"type": "integer",
|
|
566
|
+
"minimum": 0,
|
|
567
|
+
"maximum": 9007199254740991
|
|
568
|
+
},
|
|
569
|
+
"kind": {
|
|
570
|
+
"const": "resume"
|
|
571
|
+
},
|
|
572
|
+
"body": {
|
|
573
|
+
"type": "object",
|
|
574
|
+
"properties": {
|
|
575
|
+
"selectedId": {
|
|
576
|
+
"anyOf": [
|
|
577
|
+
{
|
|
578
|
+
"type": "string",
|
|
579
|
+
"pattern": "^[A-Za-z0-9_-]{1,64}$"
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"type": "null"
|
|
583
|
+
}
|
|
584
|
+
]
|
|
585
|
+
}
|
|
586
|
+
},
|
|
587
|
+
"required": [
|
|
588
|
+
"selectedId"
|
|
589
|
+
],
|
|
590
|
+
"additionalProperties": false
|
|
591
|
+
}
|
|
592
|
+
},
|
|
593
|
+
"required": [
|
|
594
|
+
"bridge_version",
|
|
595
|
+
"instance_id",
|
|
596
|
+
"session_id",
|
|
597
|
+
"execution_id",
|
|
598
|
+
"state_revision",
|
|
599
|
+
"kind",
|
|
600
|
+
"body"
|
|
601
|
+
],
|
|
602
|
+
"additionalProperties": false
|
|
603
|
+
},
|
|
604
|
+
"GraphSettledMessage": {
|
|
605
|
+
"type": "object",
|
|
606
|
+
"properties": {
|
|
607
|
+
"bridge_version": {
|
|
608
|
+
"const": 1
|
|
609
|
+
},
|
|
610
|
+
"instance_id": {
|
|
611
|
+
"type": "string",
|
|
612
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
613
|
+
},
|
|
614
|
+
"session_id": {
|
|
615
|
+
"type": "string",
|
|
616
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
617
|
+
},
|
|
618
|
+
"execution_id": {
|
|
619
|
+
"type": "string",
|
|
620
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
621
|
+
},
|
|
622
|
+
"state_revision": {
|
|
623
|
+
"type": "integer",
|
|
624
|
+
"minimum": 0,
|
|
625
|
+
"maximum": 9007199254740991
|
|
626
|
+
},
|
|
627
|
+
"kind": {
|
|
628
|
+
"const": "settled"
|
|
629
|
+
}
|
|
630
|
+
},
|
|
631
|
+
"required": [
|
|
632
|
+
"bridge_version",
|
|
633
|
+
"instance_id",
|
|
634
|
+
"session_id",
|
|
635
|
+
"execution_id",
|
|
636
|
+
"state_revision",
|
|
637
|
+
"kind"
|
|
638
|
+
],
|
|
639
|
+
"additionalProperties": false
|
|
640
|
+
},
|
|
641
|
+
"GraphDisposeMessage": {
|
|
642
|
+
"type": "object",
|
|
643
|
+
"properties": {
|
|
644
|
+
"bridge_version": {
|
|
645
|
+
"const": 1
|
|
646
|
+
},
|
|
647
|
+
"instance_id": {
|
|
648
|
+
"type": "string",
|
|
649
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
650
|
+
},
|
|
651
|
+
"session_id": {
|
|
652
|
+
"type": "string",
|
|
653
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
654
|
+
},
|
|
655
|
+
"execution_id": {
|
|
656
|
+
"type": "string",
|
|
657
|
+
"pattern": "^[a-f0-9-]{36}$"
|
|
658
|
+
},
|
|
659
|
+
"state_revision": {
|
|
660
|
+
"type": "integer",
|
|
661
|
+
"minimum": 0,
|
|
662
|
+
"maximum": 9007199254740991
|
|
663
|
+
},
|
|
664
|
+
"kind": {
|
|
665
|
+
"const": "dispose"
|
|
666
|
+
}
|
|
667
|
+
},
|
|
668
|
+
"required": [
|
|
669
|
+
"bridge_version",
|
|
670
|
+
"instance_id",
|
|
671
|
+
"session_id",
|
|
672
|
+
"execution_id",
|
|
673
|
+
"state_revision",
|
|
674
|
+
"kind"
|
|
675
|
+
],
|
|
676
|
+
"additionalProperties": false
|
|
677
|
+
}
|
|
678
|
+
},
|
|
679
|
+
"anyOf": [
|
|
680
|
+
{
|
|
681
|
+
"$ref": "#/$defs/GraphConnectedMessage"
|
|
682
|
+
},
|
|
683
|
+
{
|
|
684
|
+
"$ref": "#/$defs/GraphInitializeMessage"
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
"$ref": "#/$defs/GraphStateMessage"
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
"$ref": "#/$defs/GraphInputMessage"
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
"$ref": "#/$defs/GraphSceneMessage"
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
"$ref": "#/$defs/GraphSelectMessage"
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
"$ref": "#/$defs/GraphReadyMessage"
|
|
700
|
+
},
|
|
701
|
+
{
|
|
702
|
+
"$ref": "#/$defs/GraphFailedMessage"
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
"$ref": "#/$defs/GraphSuspendMessage"
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
"$ref": "#/$defs/GraphResumeMessage"
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
"$ref": "#/$defs/GraphSettledMessage"
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
"$ref": "#/$defs/GraphDisposeMessage"
|
|
715
|
+
}
|
|
716
|
+
]
|
|
717
|
+
}
|