30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

v0.2.10 — hide Embeds tab from per-server-edit page

Hides the Embeds tab from the per-server-edit page. Admin-UI-only change — the frontend shortcode and block continue to work.

Change

  • admin/Partials/ServerTabs/Registry.php — dropped EmbedsTab::instance() from all_tabs(). Built-in tab count: 12 → 11.
  • includes/Main.php — commented out EmbedsTab::register() so the tab's REST controller (/acrossai-mcp-manager/v1/servers/{server_id}/embeds) and React bundle (build/js/embeds.js + .css, ~389 KiB) no longer register / enqueue.
  • tests/phpunit/Admin/ServerTabs/RegistryTest.php — expected counts adjusted (12 → 11 for canonical + database-source servers; 10 → 9 for plugin-source servers); ordering array + docblock counts refreshed; new assertNotContains('embeds', $slugs) invariant guard.

What still works (not affected)

  • shortcode + block — frontend rendering pipeline lives in public/Renderers/EmbedBlock/ and includes/Embeds/, independent of the admin tab.
  • AbstractEmbedTransport + concrete transports (npm client / AI connector / MCP client) — still registered and available to the shortcode/block.
  • EmbedsTab class file itself — retained under admin/Partials/ServerTabs/, so re-enabling is a two-line change.

URL behavior

Direct navigation to ?tab=embeds no longer 404s — falls through to Registry::render()'s first-surviving-tab fallback (Overview). Same graceful-fallback path any unknown slug takes.

Re-enabling

Two-line change:

  1. Re-add EmbedsTab::instance() to Registry::all_tabs()
  2. Uncomment EmbedsTab::register() in Main::define_public_hooks()

Update the test expectations back (11 → 12, 9 → 10) or delete the invariant guard.


Internal: ACROSSAI_MCP_MANAGER_VERSION constant + Stable tag bumped to 0.2.10 matching the plugin header.

Full changelog: v0.2.9…v0.2.10


Keep reading