@morit/cli 1.6.0 → 1.9.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/README.md +3 -2
- package/assets/plugin_contract.json +827 -116
- package/package.json +3 -2
- package/src/cli.js +19 -1
- package/src/morit-script.js +174 -0
- package/src/preview-v3.js +83 -0
- package/src/script-contract.js +62 -0
- package/src/script-data.js +41 -0
- package/src/script-project.js +60 -0
- package/src/script-runtime.js +252 -0
- package/src/script-schema.js +32 -0
- package/src/script-spec.js +113 -0
- package/src/ui-v3.js +159 -0
- package/src/workspace.js +205 -16
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"sdk_version": "1.
|
|
3
|
-
"manifest_schema_versions": [
|
|
2
|
+
"sdk_version": "1.9.0",
|
|
3
|
+
"manifest_schema_versions": [
|
|
4
|
+
1,
|
|
5
|
+
2
|
|
6
|
+
],
|
|
4
7
|
"recommended_schema_version": 2,
|
|
5
8
|
"package_content_type": "application/vnd.morit.plugin+zip",
|
|
6
9
|
"max_package_bytes": 2097152,
|
|
@@ -34,34 +37,167 @@
|
|
|
34
37
|
"storage"
|
|
35
38
|
],
|
|
36
39
|
"fragment_directories": {
|
|
37
|
-
"capabilities": {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"
|
|
40
|
+
"capabilities": {
|
|
41
|
+
"target": "capabilities",
|
|
42
|
+
"kind": null
|
|
43
|
+
},
|
|
44
|
+
"tools": {
|
|
45
|
+
"target": "capabilities",
|
|
46
|
+
"kind": "tool"
|
|
47
|
+
},
|
|
48
|
+
"skills": {
|
|
49
|
+
"target": "capabilities",
|
|
50
|
+
"kind": "skill"
|
|
51
|
+
},
|
|
52
|
+
"search": {
|
|
53
|
+
"target": "capabilities",
|
|
54
|
+
"kind": "provider"
|
|
55
|
+
},
|
|
56
|
+
"notifications": {
|
|
57
|
+
"target": "capabilities",
|
|
58
|
+
"kind": "notification"
|
|
59
|
+
},
|
|
60
|
+
"background": {
|
|
61
|
+
"target": "capabilities",
|
|
62
|
+
"kind": "background"
|
|
63
|
+
},
|
|
64
|
+
"ui": {
|
|
65
|
+
"target": "ui_extensions",
|
|
66
|
+
"kind": null
|
|
67
|
+
},
|
|
68
|
+
"credentials": {
|
|
69
|
+
"target": "credentials",
|
|
70
|
+
"kind": null
|
|
71
|
+
},
|
|
72
|
+
"slash_commands": {
|
|
73
|
+
"target": "slash_commands",
|
|
74
|
+
"kind": null
|
|
75
|
+
}
|
|
46
76
|
},
|
|
47
77
|
"object_fields": {
|
|
48
|
-
"http_json_response": [
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
78
|
+
"http_json_response": [
|
|
79
|
+
"collection_path",
|
|
80
|
+
"id_path",
|
|
81
|
+
"url_path",
|
|
82
|
+
"title_paths",
|
|
83
|
+
"content_paths",
|
|
84
|
+
"max_items",
|
|
85
|
+
"summary_prefix",
|
|
86
|
+
"followup",
|
|
87
|
+
"followups",
|
|
88
|
+
"summary_path",
|
|
89
|
+
"data_path",
|
|
90
|
+
"result_mode",
|
|
91
|
+
"transform"
|
|
92
|
+
],
|
|
93
|
+
"capability": [
|
|
94
|
+
"id",
|
|
95
|
+
"kind",
|
|
96
|
+
"title",
|
|
97
|
+
"description",
|
|
98
|
+
"permissions",
|
|
99
|
+
"timeout_seconds",
|
|
100
|
+
"runtime",
|
|
101
|
+
"input_schema",
|
|
102
|
+
"output_schema"
|
|
103
|
+
],
|
|
104
|
+
"ui_extension": [
|
|
105
|
+
"id",
|
|
106
|
+
"point",
|
|
107
|
+
"title",
|
|
108
|
+
"order",
|
|
109
|
+
"permissions",
|
|
110
|
+
"config"
|
|
111
|
+
],
|
|
112
|
+
"credential": [
|
|
113
|
+
"id",
|
|
114
|
+
"label",
|
|
115
|
+
"description",
|
|
116
|
+
"kind",
|
|
117
|
+
"required",
|
|
118
|
+
"oauth_provider",
|
|
119
|
+
"allow_multiple"
|
|
120
|
+
],
|
|
121
|
+
"slash_command": [
|
|
122
|
+
"id",
|
|
123
|
+
"command",
|
|
124
|
+
"title",
|
|
125
|
+
"description",
|
|
126
|
+
"capability",
|
|
127
|
+
"argument_template"
|
|
128
|
+
],
|
|
129
|
+
"connector": [
|
|
130
|
+
"id",
|
|
131
|
+
"kind",
|
|
132
|
+
"label",
|
|
133
|
+
"description",
|
|
134
|
+
"credential_id",
|
|
135
|
+
"cloud_connection_id",
|
|
136
|
+
"cloud_secret_id",
|
|
137
|
+
"endpoint",
|
|
138
|
+
"timeout_seconds",
|
|
139
|
+
"retry",
|
|
140
|
+
"rate_limit"
|
|
141
|
+
],
|
|
142
|
+
"developer": [
|
|
143
|
+
"name",
|
|
144
|
+
"url"
|
|
145
|
+
],
|
|
146
|
+
"required_secret": [
|
|
147
|
+
"id",
|
|
148
|
+
"label",
|
|
149
|
+
"description",
|
|
150
|
+
"required"
|
|
151
|
+
],
|
|
152
|
+
"dependency": [
|
|
153
|
+
"id",
|
|
154
|
+
"plugin_id",
|
|
155
|
+
"required",
|
|
156
|
+
"min_version",
|
|
157
|
+
"max_version",
|
|
158
|
+
"package_path",
|
|
159
|
+
"exposed_capabilities"
|
|
160
|
+
],
|
|
161
|
+
"storage": [
|
|
162
|
+
"version",
|
|
163
|
+
"namespaces",
|
|
164
|
+
"migrations"
|
|
165
|
+
],
|
|
166
|
+
"storage_namespace": [
|
|
167
|
+
"id",
|
|
168
|
+
"max_bytes",
|
|
169
|
+
"ai_access"
|
|
170
|
+
],
|
|
171
|
+
"storage_migration": [
|
|
172
|
+
"from",
|
|
173
|
+
"to",
|
|
174
|
+
"namespace",
|
|
175
|
+
"rename",
|
|
176
|
+
"delete"
|
|
177
|
+
]
|
|
60
178
|
},
|
|
61
|
-
"capability_runtime_shorthand": [
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
179
|
+
"capability_runtime_shorthand": [
|
|
180
|
+
"adapter",
|
|
181
|
+
"entrypoint",
|
|
182
|
+
"parameters"
|
|
183
|
+
],
|
|
184
|
+
"capability_kinds": [
|
|
185
|
+
"tool",
|
|
186
|
+
"skill",
|
|
187
|
+
"provider",
|
|
188
|
+
"background",
|
|
189
|
+
"notification"
|
|
190
|
+
],
|
|
191
|
+
"connector_kinds": [
|
|
192
|
+
"https",
|
|
193
|
+
"oauth",
|
|
194
|
+
"api_key",
|
|
195
|
+
"mcp"
|
|
196
|
+
],
|
|
197
|
+
"credential_kinds": [
|
|
198
|
+
"api_token",
|
|
199
|
+
"oauth_access_token"
|
|
200
|
+
],
|
|
65
201
|
"permissions": [
|
|
66
202
|
"network",
|
|
67
203
|
"user_data_read",
|
|
@@ -83,7 +219,11 @@
|
|
|
83
219
|
"morit.storage.update",
|
|
84
220
|
"morit.storage.delete"
|
|
85
221
|
],
|
|
86
|
-
"storage_ai_access": [
|
|
222
|
+
"storage_ai_access": [
|
|
223
|
+
"none",
|
|
224
|
+
"read",
|
|
225
|
+
"read_write"
|
|
226
|
+
],
|
|
87
227
|
"saved_entity": {
|
|
88
228
|
"namespace": "saved_entities",
|
|
89
229
|
"tools": [
|
|
@@ -93,7 +233,10 @@
|
|
|
93
233
|
"morit.storage.update",
|
|
94
234
|
"morit.storage.delete"
|
|
95
235
|
],
|
|
96
|
-
"required_value_fields": [
|
|
236
|
+
"required_value_fields": [
|
|
237
|
+
"type",
|
|
238
|
+
"title"
|
|
239
|
+
],
|
|
97
240
|
"optional_value_fields": [
|
|
98
241
|
"subtitle",
|
|
99
242
|
"description",
|
|
@@ -105,10 +248,23 @@
|
|
|
105
248
|
]
|
|
106
249
|
},
|
|
107
250
|
"notification_actions": {
|
|
108
|
-
"types": [
|
|
251
|
+
"types": [
|
|
252
|
+
"check",
|
|
253
|
+
"capability",
|
|
254
|
+
"snooze",
|
|
255
|
+
"open_plugin",
|
|
256
|
+
"reply"
|
|
257
|
+
],
|
|
109
258
|
"max_per_notification": 4,
|
|
110
|
-
"capability_types": [
|
|
111
|
-
|
|
259
|
+
"capability_types": [
|
|
260
|
+
"check",
|
|
261
|
+
"capability",
|
|
262
|
+
"reply"
|
|
263
|
+
],
|
|
264
|
+
"snooze_minutes": {
|
|
265
|
+
"minimum": 1,
|
|
266
|
+
"maximum": 1440
|
|
267
|
+
},
|
|
112
268
|
"dedupe": "event_token_and_action_id",
|
|
113
269
|
"permission_revalidation": true
|
|
114
270
|
},
|
|
@@ -117,23 +273,68 @@
|
|
|
117
273
|
"catalog_id": "https://moring.co/a2ui/catalogs/morit-ai/v1",
|
|
118
274
|
"selection": "ai_explicit_host_validated",
|
|
119
275
|
"selection_limit": 4,
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"
|
|
276
|
+
"skill": "morit_a2ui",
|
|
277
|
+
"tool": "render_a2ui",
|
|
278
|
+
"model_selection_fields": [
|
|
279
|
+
"candidate_id",
|
|
280
|
+
"component",
|
|
281
|
+
"values",
|
|
282
|
+
"chart_type"
|
|
283
|
+
],
|
|
284
|
+
"host_injects_tool_data": false,
|
|
285
|
+
"tool_values_must_equal_candidate": false,
|
|
286
|
+
"tool_values_must_be_candidate_grounded": true,
|
|
126
287
|
"fallback": "text_only",
|
|
127
|
-
"built_in_components": [
|
|
128
|
-
|
|
288
|
+
"built_in_components": [
|
|
289
|
+
"weather",
|
|
290
|
+
"world_clock",
|
|
291
|
+
"chart",
|
|
292
|
+
"image_gallery",
|
|
293
|
+
"exchange_rate",
|
|
294
|
+
"article_list",
|
|
295
|
+
"article_card",
|
|
296
|
+
"file_result",
|
|
297
|
+
"image_preview",
|
|
298
|
+
"video_preview"
|
|
299
|
+
],
|
|
300
|
+
"validation_gates": [
|
|
301
|
+
"completed_or_partial",
|
|
302
|
+
"non_empty",
|
|
303
|
+
"component_data",
|
|
304
|
+
"answer_relevance",
|
|
305
|
+
"not_duplicate",
|
|
306
|
+
"plugin_schema",
|
|
307
|
+
"plugin_permission",
|
|
308
|
+
"plugin_version"
|
|
309
|
+
],
|
|
129
310
|
"plugin_component_prefix": "plugin.",
|
|
130
|
-
"plugin_metadata_fields": [
|
|
131
|
-
|
|
311
|
+
"plugin_metadata_fields": [
|
|
312
|
+
"version",
|
|
313
|
+
"description",
|
|
314
|
+
"schema"
|
|
315
|
+
],
|
|
316
|
+
"plugin_schema_types": [
|
|
317
|
+
"object",
|
|
318
|
+
"array",
|
|
319
|
+
"string",
|
|
320
|
+
"number",
|
|
321
|
+
"integer",
|
|
322
|
+
"boolean",
|
|
323
|
+
"null"
|
|
324
|
+
],
|
|
132
325
|
"plugin_schema_max_bytes": 16384,
|
|
133
326
|
"plugin_schema_max_depth": 6,
|
|
134
327
|
"state_field": "data.__morit_response.state",
|
|
135
|
-
"emitted_states": [
|
|
136
|
-
|
|
328
|
+
"emitted_states": [
|
|
329
|
+
"partial",
|
|
330
|
+
"completed"
|
|
331
|
+
],
|
|
332
|
+
"image_artifact_mime_types": [
|
|
333
|
+
"image/png",
|
|
334
|
+
"image/jpeg",
|
|
335
|
+
"image/gif",
|
|
336
|
+
"image/webp"
|
|
337
|
+
],
|
|
137
338
|
"max_inline_image_bytes": 25165824,
|
|
138
339
|
"max_inline_image_dimension": 4096,
|
|
139
340
|
"max_inline_image_pixels": 16777216
|
|
@@ -155,10 +356,18 @@
|
|
|
155
356
|
"http_json",
|
|
156
357
|
"mcp_http",
|
|
157
358
|
"child_plugin",
|
|
158
|
-
"neis_school",
|
|
159
359
|
"sandbox_python"
|
|
160
360
|
],
|
|
161
|
-
"ui_points": [
|
|
361
|
+
"ui_points": [
|
|
362
|
+
"screen",
|
|
363
|
+
"surface",
|
|
364
|
+
"menu",
|
|
365
|
+
"action",
|
|
366
|
+
"card",
|
|
367
|
+
"settings",
|
|
368
|
+
"workspace",
|
|
369
|
+
"response"
|
|
370
|
+
],
|
|
162
371
|
"ui_nodes": [
|
|
163
372
|
"column",
|
|
164
373
|
"row",
|
|
@@ -198,45 +407,255 @@
|
|
|
198
407
|
"empty"
|
|
199
408
|
],
|
|
200
409
|
"ui_runtime": {
|
|
201
|
-
"common_props": [
|
|
202
|
-
|
|
410
|
+
"common_props": [
|
|
411
|
+
"alignment",
|
|
412
|
+
"aspect_ratio",
|
|
413
|
+
"background_color",
|
|
414
|
+
"border_color",
|
|
415
|
+
"border_radius",
|
|
416
|
+
"border_width",
|
|
417
|
+
"clip",
|
|
418
|
+
"disabled_background_color",
|
|
419
|
+
"elevation",
|
|
420
|
+
"enabled",
|
|
421
|
+
"exclude_semantics",
|
|
422
|
+
"foreground_color",
|
|
423
|
+
"gradient_colors",
|
|
424
|
+
"height",
|
|
425
|
+
"margin",
|
|
426
|
+
"max_height",
|
|
427
|
+
"max_width",
|
|
428
|
+
"min_height",
|
|
429
|
+
"min_width",
|
|
430
|
+
"opacity",
|
|
431
|
+
"padding",
|
|
432
|
+
"selected",
|
|
433
|
+
"selected_background_color",
|
|
434
|
+
"selected_foreground_color",
|
|
435
|
+
"semantic_label",
|
|
436
|
+
"tooltip",
|
|
437
|
+
"width"
|
|
438
|
+
],
|
|
439
|
+
"common_props_excluded_components": [
|
|
440
|
+
"positioned"
|
|
441
|
+
],
|
|
203
442
|
"component_props": {
|
|
204
|
-
"column": [
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
443
|
+
"column": [
|
|
444
|
+
"cross_axis_alignment",
|
|
445
|
+
"main_axis_alignment",
|
|
446
|
+
"main_axis_size",
|
|
447
|
+
"spacing"
|
|
448
|
+
],
|
|
449
|
+
"row": [
|
|
450
|
+
"cross_axis_alignment",
|
|
451
|
+
"main_axis_alignment",
|
|
452
|
+
"main_axis_size",
|
|
453
|
+
"spacing",
|
|
454
|
+
"stack_at"
|
|
455
|
+
],
|
|
456
|
+
"wrap": [
|
|
457
|
+
"spacing"
|
|
458
|
+
],
|
|
459
|
+
"grid": [
|
|
460
|
+
"columns",
|
|
461
|
+
"empty_text",
|
|
462
|
+
"item_height",
|
|
463
|
+
"item_key",
|
|
464
|
+
"limit",
|
|
465
|
+
"min_item_width",
|
|
466
|
+
"page_size",
|
|
467
|
+
"page_state_key",
|
|
468
|
+
"source",
|
|
469
|
+
"spacing"
|
|
470
|
+
],
|
|
208
471
|
"stack": [],
|
|
209
|
-
"positioned": [
|
|
210
|
-
|
|
472
|
+
"positioned": [
|
|
473
|
+
"bottom",
|
|
474
|
+
"height",
|
|
475
|
+
"left",
|
|
476
|
+
"padding",
|
|
477
|
+
"right",
|
|
478
|
+
"tooltip",
|
|
479
|
+
"top",
|
|
480
|
+
"width"
|
|
481
|
+
],
|
|
482
|
+
"scroll": [
|
|
483
|
+
"scroll_direction"
|
|
484
|
+
],
|
|
211
485
|
"padding": [],
|
|
212
486
|
"center": [],
|
|
213
|
-
"expanded": [
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
"
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
"
|
|
487
|
+
"expanded": [
|
|
488
|
+
"flex"
|
|
489
|
+
],
|
|
490
|
+
"surface": [
|
|
491
|
+
"color",
|
|
492
|
+
"pressed_color",
|
|
493
|
+
"spacing"
|
|
494
|
+
],
|
|
495
|
+
"card": [
|
|
496
|
+
"color",
|
|
497
|
+
"icon",
|
|
498
|
+
"pressed_color",
|
|
499
|
+
"spacing",
|
|
500
|
+
"subtitle",
|
|
501
|
+
"title",
|
|
502
|
+
"tone"
|
|
503
|
+
],
|
|
504
|
+
"section": [
|
|
505
|
+
"icon",
|
|
506
|
+
"spacing",
|
|
507
|
+
"subtitle",
|
|
508
|
+
"title"
|
|
509
|
+
],
|
|
510
|
+
"text": [
|
|
511
|
+
"align",
|
|
512
|
+
"color",
|
|
513
|
+
"font_size",
|
|
514
|
+
"font_weight",
|
|
515
|
+
"line_height",
|
|
516
|
+
"max_lines",
|
|
517
|
+
"style",
|
|
518
|
+
"text"
|
|
519
|
+
],
|
|
520
|
+
"icon": [
|
|
521
|
+
"color",
|
|
522
|
+
"icon",
|
|
523
|
+
"size",
|
|
524
|
+
"tone"
|
|
525
|
+
],
|
|
526
|
+
"image": [
|
|
527
|
+
"asset",
|
|
528
|
+
"fit",
|
|
529
|
+
"url"
|
|
530
|
+
],
|
|
531
|
+
"avatar": [
|
|
532
|
+
"asset",
|
|
533
|
+
"fit",
|
|
534
|
+
"size",
|
|
535
|
+
"url"
|
|
536
|
+
],
|
|
537
|
+
"badge": [
|
|
538
|
+
"label"
|
|
539
|
+
],
|
|
222
540
|
"divider": [],
|
|
223
|
-
"spacer": [
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
"
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
"
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
"
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
541
|
+
"spacer": [
|
|
542
|
+
"size"
|
|
543
|
+
],
|
|
544
|
+
"button": [
|
|
545
|
+
"full_width",
|
|
546
|
+
"icon",
|
|
547
|
+
"label",
|
|
548
|
+
"style"
|
|
549
|
+
],
|
|
550
|
+
"chip": [
|
|
551
|
+
"icon",
|
|
552
|
+
"label"
|
|
553
|
+
],
|
|
554
|
+
"metric": [
|
|
555
|
+
"icon",
|
|
556
|
+
"label",
|
|
557
|
+
"supporting",
|
|
558
|
+
"tone",
|
|
559
|
+
"value"
|
|
560
|
+
],
|
|
561
|
+
"progress": [
|
|
562
|
+
"label",
|
|
563
|
+
"value"
|
|
564
|
+
],
|
|
565
|
+
"list": [
|
|
566
|
+
"dense",
|
|
567
|
+
"empty_text",
|
|
568
|
+
"item_key",
|
|
569
|
+
"limit",
|
|
570
|
+
"min_item_width",
|
|
571
|
+
"page_size",
|
|
572
|
+
"page_state_key",
|
|
573
|
+
"scroll_direction",
|
|
574
|
+
"source",
|
|
575
|
+
"spacing"
|
|
576
|
+
],
|
|
577
|
+
"timeline": [
|
|
578
|
+
"dense",
|
|
579
|
+
"empty_text",
|
|
580
|
+
"item_key",
|
|
581
|
+
"limit",
|
|
582
|
+
"source"
|
|
583
|
+
],
|
|
584
|
+
"calendar": [
|
|
585
|
+
"date_key",
|
|
586
|
+
"persist",
|
|
587
|
+
"source",
|
|
588
|
+
"state_key",
|
|
589
|
+
"title",
|
|
590
|
+
"title_key"
|
|
591
|
+
],
|
|
592
|
+
"chart": [
|
|
593
|
+
"chart_type",
|
|
594
|
+
"show_legend",
|
|
595
|
+
"source",
|
|
596
|
+
"title",
|
|
597
|
+
"x_key",
|
|
598
|
+
"y_key"
|
|
599
|
+
],
|
|
600
|
+
"table": [
|
|
601
|
+
"columns",
|
|
602
|
+
"source",
|
|
603
|
+
"title"
|
|
604
|
+
],
|
|
605
|
+
"form": [
|
|
606
|
+
"spacing",
|
|
607
|
+
"submit_label"
|
|
608
|
+
],
|
|
609
|
+
"dialog": [
|
|
610
|
+
"icon",
|
|
611
|
+
"label",
|
|
612
|
+
"title"
|
|
613
|
+
],
|
|
614
|
+
"sheet": [
|
|
615
|
+
"icon",
|
|
616
|
+
"label",
|
|
617
|
+
"title"
|
|
618
|
+
],
|
|
619
|
+
"field": [
|
|
620
|
+
"error_text",
|
|
621
|
+
"input_type",
|
|
622
|
+
"label",
|
|
623
|
+
"max_length",
|
|
624
|
+
"max_lines",
|
|
625
|
+
"maximum",
|
|
626
|
+
"min_length",
|
|
627
|
+
"minimum",
|
|
628
|
+
"persist",
|
|
629
|
+
"placeholder",
|
|
630
|
+
"required",
|
|
631
|
+
"state_key",
|
|
632
|
+
"suggestions",
|
|
633
|
+
"suggestions_source"
|
|
634
|
+
],
|
|
635
|
+
"select": [
|
|
636
|
+
"error_text",
|
|
637
|
+
"label",
|
|
638
|
+
"options",
|
|
639
|
+
"options_source",
|
|
640
|
+
"persist",
|
|
641
|
+
"required",
|
|
642
|
+
"searchable",
|
|
643
|
+
"state_key"
|
|
644
|
+
],
|
|
645
|
+
"switch": [
|
|
646
|
+
"error_text",
|
|
647
|
+
"label",
|
|
648
|
+
"persist",
|
|
649
|
+
"required",
|
|
650
|
+
"state_key",
|
|
651
|
+
"supporting"
|
|
652
|
+
],
|
|
653
|
+
"empty": [
|
|
654
|
+
"icon",
|
|
655
|
+
"supporting",
|
|
656
|
+
"text",
|
|
657
|
+
"title"
|
|
658
|
+
]
|
|
240
659
|
},
|
|
241
660
|
"schema_version": 2,
|
|
242
661
|
"config_fields": [
|
|
@@ -253,7 +672,14 @@
|
|
|
253
672
|
"view",
|
|
254
673
|
"bottom_bar"
|
|
255
674
|
],
|
|
256
|
-
"node_fields": [
|
|
675
|
+
"node_fields": [
|
|
676
|
+
"id",
|
|
677
|
+
"type",
|
|
678
|
+
"props",
|
|
679
|
+
"children",
|
|
680
|
+
"action",
|
|
681
|
+
"visible_when"
|
|
682
|
+
],
|
|
257
683
|
"prop_fields": [
|
|
258
684
|
"text",
|
|
259
685
|
"title",
|
|
@@ -323,41 +749,174 @@
|
|
|
323
749
|
"left",
|
|
324
750
|
"top",
|
|
325
751
|
"right",
|
|
326
|
-
"bottom"
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
"gradient_colors",
|
|
752
|
+
"bottom",
|
|
753
|
+
"required",
|
|
754
|
+
"min_length",
|
|
755
|
+
"max_length",
|
|
756
|
+
"minimum",
|
|
757
|
+
"maximum",
|
|
758
|
+
"error_text",
|
|
759
|
+
"suggestions",
|
|
760
|
+
"suggestions_source",
|
|
761
|
+
"searchable",
|
|
762
|
+
"options_source",
|
|
763
|
+
"submit_label",
|
|
764
|
+
"gradient_colors",
|
|
765
|
+
"item_key",
|
|
766
|
+
"font_size",
|
|
767
|
+
"font_weight",
|
|
768
|
+
"line_height",
|
|
769
|
+
"selected_background_color",
|
|
770
|
+
"selected_foreground_color",
|
|
771
|
+
"disabled_background_color",
|
|
772
|
+
"pressed_color",
|
|
339
773
|
"page_size",
|
|
340
774
|
"page_state_key",
|
|
341
775
|
"item_height"
|
|
342
776
|
],
|
|
343
|
-
"app_bar_fields": [
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
"
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
"
|
|
360
|
-
|
|
777
|
+
"app_bar_fields": [
|
|
778
|
+
"title",
|
|
779
|
+
"subtitle",
|
|
780
|
+
"center_title",
|
|
781
|
+
"pinned",
|
|
782
|
+
"leading",
|
|
783
|
+
"actions"
|
|
784
|
+
],
|
|
785
|
+
"navigation_fields": [
|
|
786
|
+
"type",
|
|
787
|
+
"items",
|
|
788
|
+
"selected_state_key",
|
|
789
|
+
"persist",
|
|
790
|
+
"label_behavior",
|
|
791
|
+
"rail_breakpoint"
|
|
792
|
+
],
|
|
793
|
+
"menu_item_fields": [
|
|
794
|
+
"id",
|
|
795
|
+
"label",
|
|
796
|
+
"icon",
|
|
797
|
+
"selected_icon",
|
|
798
|
+
"value",
|
|
799
|
+
"show_as",
|
|
800
|
+
"action"
|
|
801
|
+
],
|
|
802
|
+
"theme_fields": [
|
|
803
|
+
"color_scheme",
|
|
804
|
+
"typography",
|
|
805
|
+
"surface",
|
|
806
|
+
"border",
|
|
807
|
+
"icon",
|
|
808
|
+
"states",
|
|
809
|
+
"radius",
|
|
810
|
+
"spacing",
|
|
811
|
+
"density",
|
|
812
|
+
"light",
|
|
813
|
+
"dark"
|
|
814
|
+
],
|
|
815
|
+
"theme_variant_fields": [
|
|
816
|
+
"color_scheme",
|
|
817
|
+
"typography",
|
|
818
|
+
"surface",
|
|
819
|
+
"border",
|
|
820
|
+
"icon",
|
|
821
|
+
"states",
|
|
822
|
+
"radius",
|
|
823
|
+
"spacing",
|
|
824
|
+
"density"
|
|
825
|
+
],
|
|
826
|
+
"theme_typography_fields": [
|
|
827
|
+
"scale",
|
|
828
|
+
"body_weight",
|
|
829
|
+
"title_weight"
|
|
830
|
+
],
|
|
831
|
+
"theme_surface_fields": [
|
|
832
|
+
"color",
|
|
833
|
+
"container_color",
|
|
834
|
+
"elevation"
|
|
835
|
+
],
|
|
836
|
+
"theme_border_fields": [
|
|
837
|
+
"color",
|
|
838
|
+
"width",
|
|
839
|
+
"radius"
|
|
840
|
+
],
|
|
841
|
+
"theme_icon_fields": [
|
|
842
|
+
"color",
|
|
843
|
+
"size"
|
|
844
|
+
],
|
|
845
|
+
"theme_state_fields": [
|
|
846
|
+
"disabled_opacity",
|
|
847
|
+
"selected_color",
|
|
848
|
+
"focus_color"
|
|
849
|
+
],
|
|
850
|
+
"action_fields": [
|
|
851
|
+
"type",
|
|
852
|
+
"capability",
|
|
853
|
+
"query",
|
|
854
|
+
"arguments",
|
|
855
|
+
"store",
|
|
856
|
+
"target",
|
|
857
|
+
"source",
|
|
858
|
+
"values",
|
|
859
|
+
"persist",
|
|
860
|
+
"transition",
|
|
861
|
+
"replace",
|
|
862
|
+
"mode",
|
|
863
|
+
"actions",
|
|
864
|
+
"continue_on_error",
|
|
865
|
+
"validate",
|
|
866
|
+
"parameters",
|
|
867
|
+
"result_state",
|
|
868
|
+
"result"
|
|
869
|
+
],
|
|
870
|
+
"actions": [
|
|
871
|
+
"invoke",
|
|
872
|
+
"navigate",
|
|
873
|
+
"set_state",
|
|
874
|
+
"refresh",
|
|
875
|
+
"back",
|
|
876
|
+
"flow"
|
|
877
|
+
],
|
|
878
|
+
"condition_fields": [
|
|
879
|
+
"path",
|
|
880
|
+
"equals",
|
|
881
|
+
"not_equals",
|
|
882
|
+
"exists",
|
|
883
|
+
"all",
|
|
884
|
+
"any",
|
|
885
|
+
"not"
|
|
886
|
+
],
|
|
887
|
+
"condition_context_roots": [
|
|
888
|
+
"platform",
|
|
889
|
+
"screen",
|
|
890
|
+
"permissions",
|
|
891
|
+
"connections",
|
|
892
|
+
"connected",
|
|
893
|
+
"loading",
|
|
894
|
+
"errors",
|
|
895
|
+
"route"
|
|
896
|
+
],
|
|
897
|
+
"action_flow_modes": [
|
|
898
|
+
"sequential",
|
|
899
|
+
"parallel"
|
|
900
|
+
],
|
|
901
|
+
"navigation_transitions": [
|
|
902
|
+
"platform",
|
|
903
|
+
"fade",
|
|
904
|
+
"slide",
|
|
905
|
+
"none"
|
|
906
|
+
],
|
|
907
|
+
"chart_types": [
|
|
908
|
+
"bar",
|
|
909
|
+
"line",
|
|
910
|
+
"donut",
|
|
911
|
+
"scatter"
|
|
912
|
+
],
|
|
913
|
+
"navigation_types": [
|
|
914
|
+
"tabs",
|
|
915
|
+
"bar",
|
|
916
|
+
"rail",
|
|
917
|
+
"drawer",
|
|
918
|
+
"adaptive"
|
|
919
|
+
],
|
|
361
920
|
"icon_tokens": [
|
|
362
921
|
"add",
|
|
363
922
|
"analytics",
|
|
@@ -403,7 +962,11 @@
|
|
|
403
962
|
"sparkle",
|
|
404
963
|
"upload"
|
|
405
964
|
],
|
|
406
|
-
"color_formats": [
|
|
965
|
+
"color_formats": [
|
|
966
|
+
"material_semantic_token",
|
|
967
|
+
"#RRGGBB",
|
|
968
|
+
"#AARRGGBB"
|
|
969
|
+
],
|
|
407
970
|
"material_color_tokens": [
|
|
408
971
|
"primary",
|
|
409
972
|
"on_primary",
|
|
@@ -463,8 +1026,15 @@
|
|
|
463
1026
|
"shadow",
|
|
464
1027
|
"scrim"
|
|
465
1028
|
],
|
|
466
|
-
"image_sources": [
|
|
467
|
-
|
|
1029
|
+
"image_sources": [
|
|
1030
|
+
"package_asset",
|
|
1031
|
+
"capability_result_binding"
|
|
1032
|
+
],
|
|
1033
|
+
"platforms": [
|
|
1034
|
+
"android",
|
|
1035
|
+
"ios",
|
|
1036
|
+
"desktop"
|
|
1037
|
+
],
|
|
468
1038
|
"limits": {
|
|
469
1039
|
"nodes": 160,
|
|
470
1040
|
"depth": 12,
|
|
@@ -503,5 +1073,146 @@
|
|
|
503
1073
|
"requested artifacts exist and are non-empty",
|
|
504
1074
|
"artifact format can be reopened",
|
|
505
1075
|
"package signature and Host manifest verification succeed"
|
|
506
|
-
]
|
|
1076
|
+
],
|
|
1077
|
+
"ui_runtime_versions": [
|
|
1078
|
+
2,
|
|
1079
|
+
3
|
|
1080
|
+
],
|
|
1081
|
+
"ui_runtime_v3": {
|
|
1082
|
+
"schema_version": 3,
|
|
1083
|
+
"script_version": 1,
|
|
1084
|
+
"config_fields": [
|
|
1085
|
+
"ui_schema",
|
|
1086
|
+
"icon",
|
|
1087
|
+
"description",
|
|
1088
|
+
"placement",
|
|
1089
|
+
"app_bar",
|
|
1090
|
+
"navigation",
|
|
1091
|
+
"theme",
|
|
1092
|
+
"initial_state",
|
|
1093
|
+
"computed_state",
|
|
1094
|
+
"logic_modules",
|
|
1095
|
+
"components",
|
|
1096
|
+
"data_sources",
|
|
1097
|
+
"view",
|
|
1098
|
+
"bottom_bar",
|
|
1099
|
+
"a2ui",
|
|
1100
|
+
"compiled"
|
|
1101
|
+
],
|
|
1102
|
+
"node_fields": [
|
|
1103
|
+
"id",
|
|
1104
|
+
"type",
|
|
1105
|
+
"props",
|
|
1106
|
+
"children",
|
|
1107
|
+
"action",
|
|
1108
|
+
"visible_when",
|
|
1109
|
+
"slots"
|
|
1110
|
+
],
|
|
1111
|
+
"nodes": [
|
|
1112
|
+
"component",
|
|
1113
|
+
"repeat",
|
|
1114
|
+
"if",
|
|
1115
|
+
"data_state",
|
|
1116
|
+
"date_field",
|
|
1117
|
+
"time_field",
|
|
1118
|
+
"skeleton",
|
|
1119
|
+
"animated",
|
|
1120
|
+
"flex",
|
|
1121
|
+
"slot"
|
|
1122
|
+
],
|
|
1123
|
+
"node_props": {
|
|
1124
|
+
"component": ["component", "key", "props", "events"],
|
|
1125
|
+
"repeat": ["items", "as", "index_as", "key", "layout", "columns", "gap"],
|
|
1126
|
+
"if": ["condition"],
|
|
1127
|
+
"data_state": ["source", "empty_when"],
|
|
1128
|
+
"date_field": ["state_key", "label", "enabled", "required", "helper_text", "error_text", "minimum", "maximum", "initial_entry_mode", "semantic_label"],
|
|
1129
|
+
"time_field": ["state_key", "label", "enabled", "required", "helper_text", "error_text", "minimum", "maximum", "initial_entry_mode", "semantic_label"],
|
|
1130
|
+
"skeleton": ["width", "height", "radius", "variant", "animated", "semantic_label"],
|
|
1131
|
+
"animated": ["duration_ms", "transition", "curve", "key"],
|
|
1132
|
+
"flex": ["direction", "wrap", "gap", "main_axis_alignment", "cross_axis_alignment"],
|
|
1133
|
+
"row": ["wrap", "gap"],
|
|
1134
|
+
"grid": ["gap"],
|
|
1135
|
+
"slot": ["name"]
|
|
1136
|
+
},
|
|
1137
|
+
"common_props": [
|
|
1138
|
+
"enabled", "semantic_label", "tooltip", "padding", "margin",
|
|
1139
|
+
"width", "height", "min_width", "max_width", "min_height", "max_height",
|
|
1140
|
+
"background_color", "foreground_color", "border_color", "border_width",
|
|
1141
|
+
"border_radius", "elevation", "opacity"
|
|
1142
|
+
],
|
|
1143
|
+
"responsive_props": [
|
|
1144
|
+
"columns",
|
|
1145
|
+
"gap",
|
|
1146
|
+
"wrap",
|
|
1147
|
+
"grow",
|
|
1148
|
+
"basis",
|
|
1149
|
+
"padding",
|
|
1150
|
+
"margin",
|
|
1151
|
+
"alignment",
|
|
1152
|
+
"width",
|
|
1153
|
+
"min_width",
|
|
1154
|
+
"max_width",
|
|
1155
|
+
"height",
|
|
1156
|
+
"min_height",
|
|
1157
|
+
"max_height"
|
|
1158
|
+
],
|
|
1159
|
+
"component_fields": ["props_schema", "default_props", "slots", "events", "initial_state", "computed_state", "view"],
|
|
1160
|
+
"component_slot_fields": ["required"],
|
|
1161
|
+
"component_event_fields": ["payload_schema"],
|
|
1162
|
+
"component_actions": ["emit"],
|
|
1163
|
+
"data_source_fields": [
|
|
1164
|
+
"id",
|
|
1165
|
+
"capability",
|
|
1166
|
+
"trigger",
|
|
1167
|
+
"query",
|
|
1168
|
+
"arguments",
|
|
1169
|
+
"refresh_seconds",
|
|
1170
|
+
"depends_on",
|
|
1171
|
+
"when",
|
|
1172
|
+
"result_mode",
|
|
1173
|
+
"transform",
|
|
1174
|
+
"refresh",
|
|
1175
|
+
"cache",
|
|
1176
|
+
"retry"
|
|
1177
|
+
],
|
|
1178
|
+
"data_source_triggers": ["load", "manual"],
|
|
1179
|
+
"result_modes": ["raw", "envelope"],
|
|
1180
|
+
"refresh_events": ["load", "dependency_change", "resume", "manual"],
|
|
1181
|
+
"cache_policies": ["none", "memory", "stale_while_revalidate"],
|
|
1182
|
+
"runtime_variables": ["now", "today", "timezone", "locale", "screen"],
|
|
1183
|
+
"runtime_screen_fields": ["width", "height", "orientation", "size_class", "text_scale", "platform"],
|
|
1184
|
+
"animation_transitions": ["fade", "scale", "slide", "size"],
|
|
1185
|
+
"animation_curves": ["standard", "linear", "ease_in", "ease_out", "ease_in_out", "decelerate"],
|
|
1186
|
+
"skeleton_variants": ["line", "circle", "card"],
|
|
1187
|
+
"picker_entry_modes": ["calendar", "dial", "input"],
|
|
1188
|
+
"retry_events": ["timeout", "network", "server"],
|
|
1189
|
+
"picker_specs": {
|
|
1190
|
+
"date_field": {
|
|
1191
|
+
"value_format": "YYYY-MM-DD",
|
|
1192
|
+
"value_pattern": "^\\d{4}-\\d{2}-\\d{2}$",
|
|
1193
|
+
"entry_modes": ["calendar", "input"]
|
|
1194
|
+
},
|
|
1195
|
+
"time_field": {
|
|
1196
|
+
"value_format": "HH:mm",
|
|
1197
|
+
"value_pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
|
|
1198
|
+
"entry_modes": ["dial", "input"]
|
|
1199
|
+
}
|
|
1200
|
+
},
|
|
1201
|
+
"picker_values": {
|
|
1202
|
+
"date_field": "YYYY-MM-DD",
|
|
1203
|
+
"time_field": "HH:mm"
|
|
1204
|
+
},
|
|
1205
|
+
"responsive_breakpoints": {
|
|
1206
|
+
"compact": 0,
|
|
1207
|
+
"medium": 600,
|
|
1208
|
+
"expanded": 840
|
|
1209
|
+
},
|
|
1210
|
+
"inline_bytes": 256,
|
|
1211
|
+
"inline_nodes": 64,
|
|
1212
|
+
"max_rendered_items": 200,
|
|
1213
|
+
"max_component_instances": 512,
|
|
1214
|
+
"max_transform_steps": 8,
|
|
1215
|
+
"max_timeline_events": 200,
|
|
1216
|
+
"max_data_concurrency": 4
|
|
1217
|
+
}
|
|
507
1218
|
}
|