@mapomodule/mcp 1.0.0-beta.2 → 1.0.0-beta.3

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/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mapomodule/mcp",
3
3
  "configKey": "mapoMcp",
4
- "version": "1.0.0-beta.2",
4
+ "version": "1.0.0-beta.3",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "unknown"
@@ -102,6 +102,23 @@ export const RECIPES = [
102
102
  seeAlso: ["uikit/form/index.md"],
103
103
  summary: "Every built-in field type, the component behind it and its attrs."
104
104
  },
105
+ {
106
+ id: "block-editor",
107
+ task: "Build a block editor with a block picker (repeater with templates)",
108
+ keywords: [
109
+ "block editor",
110
+ "block picker",
111
+ "repeater templates",
112
+ "page builder",
113
+ "RepeaterTemplate",
114
+ "picker",
115
+ "content blocks"
116
+ ],
117
+ doc: "howto/form-advanced.md",
118
+ heading: "Describe blocks and choose them in a picker",
119
+ seeAlso: ["uikit/form/api.md", "uikit/form/add-fields.md"],
120
+ summary: "attrs.templates with label, icon, image and category, and attrs.picker (select or modal)."
121
+ },
105
122
  {
106
123
  id: "custom-field",
107
124
  task: "Create and register a custom field type",
@@ -358,11 +375,13 @@ export const RECIPES = [
358
375
  "icon",
359
376
  "label",
360
377
  "sidebarFooter",
378
+ "sidebarOrder",
379
+ "reorder menu",
361
380
  "route meta"
362
381
  ],
363
382
  doc: "uikit/sidebar.md",
364
383
  seeAlso: ["howto/first-admin-page.md"],
365
- summary: "Route metadata (label, icon, parent, sidebarFooter) builds the sidebar tree, with no menu config."
384
+ summary: "Route metadata builds the sidebar tree without menu config; use sidebarOrder to sort sibling entries."
366
385
  },
367
386
  {
368
387
  id: "login-page",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mapomodule/mcp",
3
- "version": "1.0.0-beta.2",
3
+ "version": "1.0.0-beta.3",
4
4
  "description": "Mapo MCP server: grounded docs, component and field APIs, live app introspection and scaffolding for AI assistants",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -27,7 +27,9 @@ describe("matchRecipes", () => {
27
27
  ["generate the fields from a json schema", "schema-to-form"],
28
28
  ["put a hint below one form field with a slot", "form-slots"],
29
29
  ["edit a repeater item fullscreen", "focus-mode"],
30
+ ["let editors choose a content block from a block picker", "block-editor"],
30
31
  ["add my page to the sidebar with an icon", "sidebar-navigation"],
32
+ ["how to reorder sidebar/menu entries", "sidebar-navigation"],
31
33
  ["change the branding of the login page", "login-page"],
32
34
  ["TS2307 cannot find module mapomodule/types", "imports"],
33
35
  ["connect claude code or copilot through mcp", "ai-assistant"],
@@ -132,6 +132,24 @@ export const RECIPES: Recipe[] = [
132
132
  summary:
133
133
  "Every built-in field type, the component behind it and its attrs.",
134
134
  },
135
+ {
136
+ id: "block-editor",
137
+ task: "Build a block editor with a block picker (repeater with templates)",
138
+ keywords: [
139
+ "block editor",
140
+ "block picker",
141
+ "repeater templates",
142
+ "page builder",
143
+ "RepeaterTemplate",
144
+ "picker",
145
+ "content blocks",
146
+ ],
147
+ doc: "howto/form-advanced.md",
148
+ heading: "Describe blocks and choose them in a picker",
149
+ seeAlso: ["uikit/form/api.md", "uikit/form/add-fields.md"],
150
+ summary:
151
+ "attrs.templates with label, icon, image and category, and attrs.picker (select or modal).",
152
+ },
135
153
  {
136
154
  id: "custom-field",
137
155
  task: "Create and register a custom field type",
@@ -403,12 +421,14 @@ export const RECIPES: Recipe[] = [
403
421
  "icon",
404
422
  "label",
405
423
  "sidebarFooter",
424
+ "sidebarOrder",
425
+ "reorder menu",
406
426
  "route meta",
407
427
  ],
408
428
  doc: "uikit/sidebar.md",
409
429
  seeAlso: ["howto/first-admin-page.md"],
410
430
  summary:
411
- "Route metadata (label, icon, parent, sidebarFooter) builds the sidebar tree, with no menu config.",
431
+ "Route metadata builds the sidebar tree without menu config; use sidebarOrder to sort sibling entries.",
412
432
  },
413
433
  {
414
434
  id: "login-page",