@enfyra/mcp-server 0.0.34 → 0.0.35
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/package.json
CHANGED
package/src/lib/mcp-examples.js
CHANGED
|
@@ -579,7 +579,7 @@ create_menu({
|
|
|
579
579
|
// Child page extensions should be focused:
|
|
580
580
|
// /dashboard compact summary/routing hub: KPIs, current signal, attention queue, navigation cards
|
|
581
581
|
// /cloud/projects project status and drill-downs
|
|
582
|
-
// /cloud/provisioning provisioning
|
|
582
|
+
// /cloud/provisioning project/run grouped provisioning status, current step, meaning, next action
|
|
583
583
|
// /cloud/billing orders/subscriptions/refunds
|
|
584
584
|
// /cloud/infrastructure hosts/capacity/plans/system credential readiness
|
|
585
585
|
// /cloud/readiness legal/Paddle/landing launch checklist
|
|
@@ -589,6 +589,7 @@ create_menu({
|
|
|
589
589
|
'Design the menu/page split before generating dashboard code.',
|
|
590
590
|
'Keep /dashboard as a summary and distribution page, not a detailed operations table.',
|
|
591
591
|
'Use focused pages for operational domains.',
|
|
592
|
+
'Provisioning pages should not show raw history rows as the primary UI; group by project/run and translate step keys into operator-facing labels.',
|
|
592
593
|
'UTabs is available in eApp extension runtime for page-level sections.',
|
|
593
594
|
'Admin links for editing or inspecting records should point to /data/<table> routes.',
|
|
594
595
|
],
|
|
@@ -272,6 +272,7 @@ export function buildMcpServerInstructions(apiBaseUrl) {
|
|
|
272
272
|
'- **Code format:** Vue SFC only. Structure: `<template>...</template>` + `<script setup>...</script>`. Server auto-compiles; if compile fails, fix and retry.',
|
|
273
273
|
'- **NO import statements.** All APIs are injected globally (see full list below).',
|
|
274
274
|
'- **Design first for dashboards:** before creating/updating a dashboard extension, define the menu/page split, time range controls, tabs, and drill-down links. Keep `/dashboard` as a compact summary and routing hub only: KPIs, current signal, attention queue, and navigation cards. Put detailed lists/tables/timelines into focused pages such as projects, provisioning, billing, infrastructure, and readiness.',
|
|
275
|
+
'- **Operational page modeling:** model admin operational pages around the operator mental entity, not raw database/event rows. For provisioning, group history by project/run, translate internal step keys into readable labels, show current step, operator meaning, and next action, and keep raw history as a secondary `/data` shortcut.',
|
|
275
276
|
'- **Page layout default:** page extensions should render full-bleed inside the app shell by default. The extension root is already inside the eApp page `<main>`, so do not add root-level page padding such as `p-4 sm:p-6 xl:p-8`; use spacing between internal sections only. Do not wrap the entire page in a centered card/container unless explicitly requested. Use responsive grids/stacks from the first version so the page works on desktop, tablet, and mobile.',
|
|
276
277
|
'- **Admin record links:** when an admin extension links to backend records for management or inspection, point to eApp data routes such as `/data/landing_terms`, `/data/cloud_projects`, or `/data/cloud_payment_orders`. Do not use public landing-page paths from record fields such as `/cloud-terms` unless the explicit intent is previewing the public website.',
|
|
277
278
|
'- **Do not downgrade extension code to ES5 to appease tooling.** eApp extension runtime should support normal browser/runtime APIs such as `Array.includes`, `Set`, `Promise.all`, `String.replace`, `Intl.DateTimeFormat`, and `Intl.NumberFormat`. If diagnostics reject these, fix eApp extension checker/runtime contract instead of rewriting generated extension code around the limitation.',
|