@ateam-ai/mcp 0.4.15 → 0.4.16
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 +1 -1
- package/src/tools.js +8 -5
package/package.json
CHANGED
package/src/tools.js
CHANGED
|
@@ -771,11 +771,14 @@ export const tools = [
|
|
|
771
771
|
"Eliminates ~50% of identical plugin boilerplate (imports, theme/bridge hooks, " +
|
|
772
772
|
"postMessage protocol, default export shape). You then fill in the component body. " +
|
|
773
773
|
"Use kind='iframe' for web-only, 'rn' for mobile-only, 'adaptive' for both. " +
|
|
774
|
-
"
|
|
775
|
-
"
|
|
776
|
-
"
|
|
777
|
-
"
|
|
778
|
-
"
|
|
774
|
+
"Also writes ui-dist/<plugin>/manifest.json with the required render block.\n\n" +
|
|
775
|
+
"⚠️ RENDERING IS NOT AUTOMATIC. At deploy, Phase 5 discovers plugins by calling each connector's " +
|
|
776
|
+
"ui.listPlugins + ui.getPlugin — a plugin only appears (and renders) if the connector ADVERTISES it there " +
|
|
777
|
+
"with a render.{mode, iframeUrl?, reactNative?} block. Dropping the scaffold files alone does NOT register it. " +
|
|
778
|
+
"If the connector generates its plugin list from ui-dist/<plugin>/manifest.json, the emitted manifest is picked up automatically; " +
|
|
779
|
+
"if the connector has a HARDCODED list (e.g. personal-assistant-ui-mcp: UI_PLUGINS[] + PLUGIN_MANIFESTS{} in server.js), you MUST add this plugin there (copy the render block from the manifest.json). " +
|
|
780
|
+
"Verify after deploy with ateam_get_solution(solution_id, 'connectors_health') or ateam_get_widget_catalog. Then declare it at solution ui_plugins[] so a skill can open it via sys.focusUiPlugin (see ateam_get_spec topic:'widgets').\n\n" +
|
|
781
|
+
"The scaffold MERGES into the existing connector (server.js + other files preserved) — works on GitHub-backed AND repo-less tenants; merge base is the GitHub repo when connected, else the deployed connector source.",
|
|
779
782
|
inputSchema: {
|
|
780
783
|
type: "object",
|
|
781
784
|
properties: {
|