@morit/cli 1.5.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.
@@ -1,6 +1,9 @@
1
1
  {
2
- "sdk_version": "1.7.13",
3
- "manifest_schema_versions": [1, 2],
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": {"target": "capabilities", "kind": null},
38
- "tools": {"target": "capabilities", "kind": "tool"},
39
- "skills": {"target": "capabilities", "kind": "skill"},
40
- "search": {"target": "capabilities", "kind": "provider"},
41
- "notifications": {"target": "capabilities", "kind": "notification"},
42
- "background": {"target": "capabilities", "kind": "background"},
43
- "ui": {"target": "ui_extensions", "kind": null},
44
- "credentials": {"target": "credentials", "kind": null},
45
- "slash_commands": {"target": "slash_commands", "kind": null}
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": ["collection_path", "id_path", "url_path", "title_paths", "content_paths", "max_items", "summary_prefix", "followup", "followups", "summary_path", "data_path"],
49
- "capability": ["id", "kind", "title", "description", "permissions", "timeout_seconds", "runtime", "input_schema", "output_schema"],
50
- "ui_extension": ["id", "point", "title", "order", "permissions", "config"],
51
- "credential": ["id", "label", "description", "kind", "required", "oauth_provider", "allow_multiple"],
52
- "slash_command": ["id", "command", "title", "description", "capability", "argument_template"],
53
- "connector": ["id", "kind", "label", "description", "credential_id", "cloud_connection_id", "cloud_secret_id", "endpoint", "timeout_seconds", "retry", "rate_limit"],
54
- "developer": ["name", "url"],
55
- "required_secret": ["id", "label", "description", "required"],
56
- "dependency": ["id", "plugin_id", "required", "min_version", "max_version", "package_path", "exposed_capabilities"],
57
- "storage": ["version", "namespaces", "migrations"],
58
- "storage_namespace": ["id", "max_bytes", "ai_access"],
59
- "storage_migration": ["from", "to", "namespace", "rename", "delete"]
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": ["adapter", "entrypoint", "parameters"],
62
- "capability_kinds": ["tool", "skill", "provider", "background", "notification"],
63
- "connector_kinds": ["https", "oauth", "api_key", "mcp"],
64
- "credential_kinds": ["api_token", "oauth_access_token"],
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": ["none", "read", "read_write"],
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": ["type", "title"],
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": ["check", "capability", "snooze", "open_plugin", "reply"],
251
+ "types": [
252
+ "check",
253
+ "capability",
254
+ "snooze",
255
+ "open_plugin",
256
+ "reply"
257
+ ],
109
258
  "max_per_notification": 4,
110
- "capability_types": ["check", "capability", "reply"],
111
- "snooze_minutes": {"minimum": 1, "maximum": 1440},
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
- "skill": "morit_a2ui",
121
- "tool": "render_a2ui",
122
- "model_selection_fields": ["candidate_id", "component", "values", "chart_type"],
123
- "host_injects_tool_data": false,
124
- "tool_values_must_equal_candidate": false,
125
- "tool_values_must_be_candidate_grounded": true,
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": ["weather", "world_clock", "chart", "image_gallery", "exchange_rate", "article_list", "article_card", "file_result", "image_preview", "video_preview"],
128
- "validation_gates": ["completed_or_partial", "non_empty", "component_data", "answer_relevance", "not_duplicate", "plugin_schema", "plugin_permission", "plugin_version"],
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": ["version", "description", "schema"],
131
- "plugin_schema_types": ["object", "array", "string", "number", "integer", "boolean", "null"],
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": ["partial", "completed"],
136
- "image_artifact_mime_types": ["image/png", "image/jpeg", "image/gif", "image/webp"],
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": ["screen", "surface", "menu", "action", "card", "settings", "workspace", "response"],
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,6 +407,256 @@
198
407
  "empty"
199
408
  ],
200
409
  "ui_runtime": {
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
+ ],
442
+ "component_props": {
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
+ ],
471
+ "stack": [],
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
+ ],
485
+ "padding": [],
486
+ "center": [],
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
+ ],
540
+ "divider": [],
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
+ ]
659
+ },
201
660
  "schema_version": 2,
202
661
  "config_fields": [
203
662
  "ui_schema",
@@ -210,9 +669,17 @@
210
669
  "initial_state",
211
670
  "data_sources",
212
671
  "a2ui",
213
- "view"
672
+ "view",
673
+ "bottom_bar"
674
+ ],
675
+ "node_fields": [
676
+ "id",
677
+ "type",
678
+ "props",
679
+ "children",
680
+ "action",
681
+ "visible_when"
214
682
  ],
215
- "node_fields": ["id", "type", "props", "children", "action", "visible_when"],
216
683
  "prop_fields": [
217
684
  "text",
218
685
  "title",
@@ -282,38 +749,174 @@
282
749
  "left",
283
750
  "top",
284
751
  "right",
285
- "bottom"
286
- ,"required"
287
- ,"min_length"
288
- ,"max_length"
289
- ,"minimum"
290
- ,"maximum"
291
- ,"error_text"
292
- ,"suggestions"
293
- ,"suggestions_source"
294
- ,"searchable"
295
- ,"options_source"
296
- ,"submit_label",
297
- "gradient_colors", "item_key", "font_size", "font_weight", "line_height", "selected_background_color", "selected_foreground_color", "disabled_background_color", "pressed_color"
298
- ],
299
- "app_bar_fields": ["title", "subtitle", "center_title", "pinned", "leading", "actions"],
300
- "navigation_fields": ["type", "items", "selected_state_key", "persist", "label_behavior", "rail_breakpoint"],
301
- "menu_item_fields": ["id", "label", "icon", "selected_icon", "value", "show_as", "action"],
302
- "theme_fields": ["color_scheme", "typography", "surface", "border", "icon", "states", "radius", "spacing", "density", "light", "dark"],
303
- "theme_variant_fields": ["color_scheme", "typography", "surface", "border", "icon", "states", "radius", "spacing", "density"],
304
- "theme_typography_fields": ["scale", "body_weight", "title_weight"],
305
- "theme_surface_fields": ["color", "container_color", "elevation"],
306
- "theme_border_fields": ["color", "width", "radius"],
307
- "theme_icon_fields": ["color", "size"],
308
- "theme_state_fields": ["disabled_opacity", "selected_color", "focus_color"],
309
- "action_fields": ["type", "capability", "query", "arguments", "store", "target", "source", "values", "persist", "transition", "replace", "mode", "actions", "continue_on_error", "validate", "parameters", "result_state", "result"],
310
- "actions": ["invoke", "navigate", "set_state", "refresh", "back", "flow"],
311
- "condition_fields": ["path", "equals", "not_equals", "exists", "all", "any", "not"],
312
- "condition_context_roots": ["platform", "screen", "permissions", "connections", "connected", "loading", "errors", "route"],
313
- "action_flow_modes": ["sequential", "parallel"],
314
- "navigation_transitions": ["platform", "fade", "slide", "none"],
315
- "chart_types": ["bar", "line", "donut", "scatter"],
316
- "navigation_types": ["tabs", "bar", "rail", "drawer", "adaptive"],
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",
773
+ "page_size",
774
+ "page_state_key",
775
+ "item_height"
776
+ ],
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
+ ],
317
920
  "icon_tokens": [
318
921
  "add",
319
922
  "analytics",
@@ -359,7 +962,11 @@
359
962
  "sparkle",
360
963
  "upload"
361
964
  ],
362
- "color_formats": ["material_semantic_token", "#RRGGBB", "#AARRGGBB"],
965
+ "color_formats": [
966
+ "material_semantic_token",
967
+ "#RRGGBB",
968
+ "#AARRGGBB"
969
+ ],
363
970
  "material_color_tokens": [
364
971
  "primary",
365
972
  "on_primary",
@@ -419,8 +1026,15 @@
419
1026
  "shadow",
420
1027
  "scrim"
421
1028
  ],
422
- "image_sources": ["package_asset", "capability_result_binding"],
423
- "platforms": ["android", "ios", "desktop"],
1029
+ "image_sources": [
1030
+ "package_asset",
1031
+ "capability_result_binding"
1032
+ ],
1033
+ "platforms": [
1034
+ "android",
1035
+ "ios",
1036
+ "desktop"
1037
+ ],
424
1038
  "limits": {
425
1039
  "nodes": 160,
426
1040
  "depth": 12,
@@ -459,5 +1073,146 @@
459
1073
  "requested artifacts exist and are non-empty",
460
1074
  "artifact format can be reopened",
461
1075
  "package signature and Host manifest verification succeed"
462
- ]
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
+ }
463
1218
  }