@morit/cli 1.0.0 → 1.1.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 +53 -18
- package/assets/docs/README.md +105 -0
- package/assets/docs/ai-response-and-timeline.md +125 -0
- package/assets/docs/ai-skill-and-docx-workflow.md +83 -0
- package/assets/docs/app-builder.md +56 -0
- package/assets/docs/authentication.md +140 -0
- package/assets/docs/components.md +159 -0
- package/assets/docs/design-tokens-responsive.md +148 -0
- package/assets/docs/docs-index.json +93 -0
- package/assets/docs/examples-notion.md +83 -0
- package/assets/docs/examples-school-life.md +74 -0
- package/assets/docs/getting-started.md +132 -0
- package/assets/docs/information-hierarchy.md +81 -0
- package/assets/docs/instances-and-connectors.md +93 -0
- package/assets/docs/lifecycle-and-api.md +158 -0
- package/assets/docs/local-cli.md +124 -0
- package/assets/docs/manifest.md +208 -0
- package/assets/docs/packaging-and-testing.md +115 -0
- package/assets/docs/permissions-and-data.md +131 -0
- package/assets/docs/platform-compatibility.md +62 -0
- package/assets/docs/project-structure.md +90 -0
- package/assets/docs/remote-mcp.md +152 -0
- package/assets/docs/school-life-privacy.md +49 -0
- package/assets/docs/screens-layout-navigation.md +95 -0
- package/assets/docs/sdk-and-mcp.md +182 -0
- package/assets/docs/tool-and-skill.md +163 -0
- package/assets/docs/troubleshooting.md +117 -0
- package/assets/docs/ui-extensions.md +70 -0
- package/assets/docs/ui-runtime-v2.md +273 -0
- package/assets/docs/verification.md +128 -0
- package/assets/plugin_contract.json +222 -1
- package/package.json +1 -1
- package/src/workspace.js +297 -86
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"sdk_version": "1.7.
|
|
2
|
+
"sdk_version": "1.7.6",
|
|
3
3
|
"manifest_schema_versions": [1, 2],
|
|
4
4
|
"recommended_schema_version": 2,
|
|
5
5
|
"package_content_type": "application/vnd.morit.plugin+zip",
|
|
@@ -88,10 +88,20 @@
|
|
|
88
88
|
"row",
|
|
89
89
|
"wrap",
|
|
90
90
|
"grid",
|
|
91
|
+
"stack",
|
|
92
|
+
"positioned",
|
|
93
|
+
"scroll",
|
|
94
|
+
"padding",
|
|
95
|
+
"center",
|
|
96
|
+
"expanded",
|
|
97
|
+
"surface",
|
|
91
98
|
"card",
|
|
92
99
|
"section",
|
|
93
100
|
"text",
|
|
94
101
|
"icon",
|
|
102
|
+
"image",
|
|
103
|
+
"avatar",
|
|
104
|
+
"badge",
|
|
95
105
|
"divider",
|
|
96
106
|
"spacer",
|
|
97
107
|
"metric",
|
|
@@ -110,6 +120,217 @@
|
|
|
110
120
|
"switch",
|
|
111
121
|
"empty"
|
|
112
122
|
],
|
|
123
|
+
"ui_runtime": {
|
|
124
|
+
"schema_version": 2,
|
|
125
|
+
"config_fields": [
|
|
126
|
+
"ui_schema",
|
|
127
|
+
"icon",
|
|
128
|
+
"description",
|
|
129
|
+
"placement",
|
|
130
|
+
"app_bar",
|
|
131
|
+
"navigation",
|
|
132
|
+
"theme",
|
|
133
|
+
"initial_state",
|
|
134
|
+
"data_sources",
|
|
135
|
+
"view"
|
|
136
|
+
],
|
|
137
|
+
"node_fields": ["id", "type", "props", "children", "action", "visible_when"],
|
|
138
|
+
"prop_fields": [
|
|
139
|
+
"text",
|
|
140
|
+
"title",
|
|
141
|
+
"subtitle",
|
|
142
|
+
"label",
|
|
143
|
+
"supporting",
|
|
144
|
+
"icon",
|
|
145
|
+
"style",
|
|
146
|
+
"tone",
|
|
147
|
+
"align",
|
|
148
|
+
"max_lines",
|
|
149
|
+
"spacing",
|
|
150
|
+
"padding",
|
|
151
|
+
"columns",
|
|
152
|
+
"stack_at",
|
|
153
|
+
"min_item_width",
|
|
154
|
+
"size",
|
|
155
|
+
"value",
|
|
156
|
+
"source",
|
|
157
|
+
"empty_text",
|
|
158
|
+
"limit",
|
|
159
|
+
"state_key",
|
|
160
|
+
"placeholder",
|
|
161
|
+
"input_type",
|
|
162
|
+
"options",
|
|
163
|
+
"persist",
|
|
164
|
+
"selected",
|
|
165
|
+
"dense",
|
|
166
|
+
"chart_type",
|
|
167
|
+
"x_key",
|
|
168
|
+
"y_key",
|
|
169
|
+
"date_key",
|
|
170
|
+
"title_key",
|
|
171
|
+
"show_legend",
|
|
172
|
+
"full_width",
|
|
173
|
+
"width",
|
|
174
|
+
"height",
|
|
175
|
+
"min_width",
|
|
176
|
+
"max_width",
|
|
177
|
+
"min_height",
|
|
178
|
+
"max_height",
|
|
179
|
+
"margin",
|
|
180
|
+
"alignment",
|
|
181
|
+
"main_axis_alignment",
|
|
182
|
+
"cross_axis_alignment",
|
|
183
|
+
"main_axis_size",
|
|
184
|
+
"color",
|
|
185
|
+
"background_color",
|
|
186
|
+
"foreground_color",
|
|
187
|
+
"border_color",
|
|
188
|
+
"border_width",
|
|
189
|
+
"border_radius",
|
|
190
|
+
"elevation",
|
|
191
|
+
"opacity",
|
|
192
|
+
"aspect_ratio",
|
|
193
|
+
"fit",
|
|
194
|
+
"asset",
|
|
195
|
+
"url",
|
|
196
|
+
"tooltip",
|
|
197
|
+
"semantic_label",
|
|
198
|
+
"exclude_semantics",
|
|
199
|
+
"scroll_direction",
|
|
200
|
+
"clip",
|
|
201
|
+
"shrink_wrap",
|
|
202
|
+
"enabled",
|
|
203
|
+
"flex",
|
|
204
|
+
"left",
|
|
205
|
+
"top",
|
|
206
|
+
"right",
|
|
207
|
+
"bottom"
|
|
208
|
+
],
|
|
209
|
+
"app_bar_fields": ["title", "subtitle", "center_title", "pinned", "leading", "actions"],
|
|
210
|
+
"navigation_fields": ["type", "items", "selected_state_key", "persist", "label_behavior", "rail_breakpoint"],
|
|
211
|
+
"menu_item_fields": ["id", "label", "icon", "selected_icon", "value", "show_as", "action"],
|
|
212
|
+
"theme_fields": ["color_scheme", "radius", "spacing", "density"],
|
|
213
|
+
"action_fields": ["type", "capability", "query", "arguments", "store", "target", "source", "values", "persist", "transition", "replace"],
|
|
214
|
+
"actions": ["invoke", "navigate", "set_state", "refresh", "back"],
|
|
215
|
+
"navigation_transitions": ["platform", "fade", "slide", "none"],
|
|
216
|
+
"navigation_types": ["tabs", "bar", "rail", "drawer", "adaptive"],
|
|
217
|
+
"icon_tokens": [
|
|
218
|
+
"add",
|
|
219
|
+
"analytics",
|
|
220
|
+
"arrow",
|
|
221
|
+
"arrow_back",
|
|
222
|
+
"arrow_forward",
|
|
223
|
+
"bell",
|
|
224
|
+
"calendar",
|
|
225
|
+
"check",
|
|
226
|
+
"clock",
|
|
227
|
+
"close",
|
|
228
|
+
"delete",
|
|
229
|
+
"description",
|
|
230
|
+
"download",
|
|
231
|
+
"edit",
|
|
232
|
+
"education",
|
|
233
|
+
"error",
|
|
234
|
+
"event",
|
|
235
|
+
"extension",
|
|
236
|
+
"favorite",
|
|
237
|
+
"file",
|
|
238
|
+
"folder",
|
|
239
|
+
"help",
|
|
240
|
+
"home",
|
|
241
|
+
"home_filled",
|
|
242
|
+
"inbox",
|
|
243
|
+
"info",
|
|
244
|
+
"link",
|
|
245
|
+
"list",
|
|
246
|
+
"meal",
|
|
247
|
+
"menu",
|
|
248
|
+
"more",
|
|
249
|
+
"notification",
|
|
250
|
+
"notifications",
|
|
251
|
+
"person",
|
|
252
|
+
"refresh",
|
|
253
|
+
"schedule",
|
|
254
|
+
"school",
|
|
255
|
+
"school.settings",
|
|
256
|
+
"search",
|
|
257
|
+
"settings",
|
|
258
|
+
"share",
|
|
259
|
+
"sparkle",
|
|
260
|
+
"upload"
|
|
261
|
+
],
|
|
262
|
+
"color_formats": ["material_semantic_token", "#RRGGBB", "#AARRGGBB"],
|
|
263
|
+
"material_color_tokens": [
|
|
264
|
+
"primary",
|
|
265
|
+
"on_primary",
|
|
266
|
+
"primary_container",
|
|
267
|
+
"on_primary_container",
|
|
268
|
+
"secondary",
|
|
269
|
+
"on_secondary",
|
|
270
|
+
"secondary_container",
|
|
271
|
+
"on_secondary_container",
|
|
272
|
+
"tertiary",
|
|
273
|
+
"on_tertiary",
|
|
274
|
+
"tertiary_container",
|
|
275
|
+
"on_tertiary_container",
|
|
276
|
+
"error",
|
|
277
|
+
"on_error",
|
|
278
|
+
"error_container",
|
|
279
|
+
"on_error_container",
|
|
280
|
+
"surface",
|
|
281
|
+
"on_surface",
|
|
282
|
+
"surface_variant",
|
|
283
|
+
"on_surface_variant",
|
|
284
|
+
"outline",
|
|
285
|
+
"outline_variant",
|
|
286
|
+
"inverse_surface",
|
|
287
|
+
"inverse_on_surface",
|
|
288
|
+
"inverse_primary",
|
|
289
|
+
"shadow",
|
|
290
|
+
"scrim",
|
|
291
|
+
"transparent"
|
|
292
|
+
],
|
|
293
|
+
"theme_color_roles": [
|
|
294
|
+
"primary",
|
|
295
|
+
"on_primary",
|
|
296
|
+
"primary_container",
|
|
297
|
+
"on_primary_container",
|
|
298
|
+
"secondary",
|
|
299
|
+
"on_secondary",
|
|
300
|
+
"secondary_container",
|
|
301
|
+
"on_secondary_container",
|
|
302
|
+
"tertiary",
|
|
303
|
+
"on_tertiary",
|
|
304
|
+
"tertiary_container",
|
|
305
|
+
"on_tertiary_container",
|
|
306
|
+
"error",
|
|
307
|
+
"on_error",
|
|
308
|
+
"error_container",
|
|
309
|
+
"on_error_container",
|
|
310
|
+
"surface",
|
|
311
|
+
"on_surface",
|
|
312
|
+
"surface_variant",
|
|
313
|
+
"on_surface_variant",
|
|
314
|
+
"outline",
|
|
315
|
+
"outline_variant",
|
|
316
|
+
"inverse_surface",
|
|
317
|
+
"inverse_on_surface",
|
|
318
|
+
"inverse_primary",
|
|
319
|
+
"shadow",
|
|
320
|
+
"scrim"
|
|
321
|
+
],
|
|
322
|
+
"image_sources": ["package_asset", "capability_result_binding"],
|
|
323
|
+
"platforms": ["android", "ios", "desktop"],
|
|
324
|
+
"limits": {
|
|
325
|
+
"nodes": 160,
|
|
326
|
+
"depth": 12,
|
|
327
|
+
"children_per_node": 32,
|
|
328
|
+
"data_sources": 8,
|
|
329
|
+
"state_keys": 32,
|
|
330
|
+
"navigation_items": 8,
|
|
331
|
+
"app_bar_actions": 6
|
|
332
|
+
}
|
|
333
|
+
},
|
|
113
334
|
"signature": {
|
|
114
335
|
"algorithm": "ed25519",
|
|
115
336
|
"embedded_public_key": true,
|