ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.
Python astracloudflarecontrol-panelcyberpaneldnsfablehosting-control-panelhosting-panelkimi-k3server-managementserverkitubuntu-web-panelwebserver
feat(extensions): convert Cloud Provisioning, Remote Access and Status Pages to builtins (#45-#47)
Juan Denis36b6a92900ec
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 2ec76f82..ab9057cf 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -25,11 +25,15 @@ awaiting a stable release:a real tab to a core-owned tab group (Files, Servers, Observability): the tabjoins the shared top-bar strip, its routes render inside the group's layout sothe chrome stays, and the group's sidebar item stays lit on the extension's- routes. First consumer: **the FTP Server page is now the `serverkit-ftp`- extension** — it appears as the familiar tab in the Files group when installed,- and tab + page + palette entry disappear together when uninstalled. Existing- panels auto-install it once on upgrade so nothing disappears; fresh installs- find it in the Marketplace.+ routes. Four pages moved out of core onto it: **FTP Server → `serverkit-ftp`**+ (Files group), **Cloud Provisioning → `serverkit-cloud-provision`** and+ **Remote Access → `serverkit-remote-access`** (Servers group, keeping their+ original tab positions; the per-server Remote Access tab on the server detail+ page stays core), and **Status Pages → `serverkit-status`** (Observability+ group; the public `/status/<slug>` page stays core). Each tab + page + palette+ entry disappears together when its extension is uninstalled. Existing panels+ auto-install all four once on upgrade so nothing disappears; fresh installs+ find them in the Marketplace.- **Extensions platform (Phase 5 — Cloudflare zone-ops is now a bundled extension)** —the Cloudflare per-zone control panel (zone settings, cache purge, WAF, Workers,Tunnels, and R2/KV/D1 storage, reached from the "Open in Cloudflare" button on adiff --git a/backend/app/services/extension_migration.py b/backend/app/services/extension_migration.pyindex cd4a261f..afbc6b18 100644--- a/backend/app/services/extension_migration.py+++ b/backend/app/services/extension_migration.py@@ -30,6 +30,9 @@ CONVERTED_BUILTIN_SLUGS = ['serverkit-gpu','serverkit-workflows','serverkit-ftp',+ 'serverkit-cloud-provision',+ 'serverkit-remote-access',+ 'serverkit-status',]diff --git a/builtin-extensions/serverkit-cloud-provision/frontend/index.jsx b/builtin-extensions/serverkit-cloud-provision/frontend/index.jsxnew file mode 100644index 00000000..15e7169f--- /dev/null+++ b/builtin-extensions/serverkit-cloud-provision/frontend/index.jsx@@ -0,0 +1,13 @@+// Cloud Provisioning, contributed through the extension system. The page+// component and its /api/v1/cloud-provisioning backend stay in core for now+// (two-speed extraction, D2); this extension owns the Cloud Servers tab in the+// core Servers group via a tab-group contribution (#43) plus the route/palette+// entries in its manifest.+//+// After sync this file lives at frontend/src/plugins/serverkit-cloud-provision/+// so the relative import resolves against the host's pages directory.+import CloudProvision from '../../pages/CloudProvision';++export function CloudProvisionPage() {+ return <CloudProvision />;+}diff --git a/builtin-extensions/serverkit-cloud-provision/plugin.json b/builtin-extensions/serverkit-cloud-provision/plugin.jsonnew file mode 100644index 00000000..db9ccd3d--- /dev/null+++ b/builtin-extensions/serverkit-cloud-provision/plugin.json@@ -0,0 +1,37 @@+{+ "name": "serverkit-cloud-provision",+ "display_name": "Cloud Provisioning",+ "version": "1.0.0",+ "description": "Provision new servers from connected cloud providers — the Cloud Servers tab in the Servers group.",+ "author": "ServerKit",+ "license": "MIT",+ "category": "deployment",+ "homepage": "https://github.com/jhd3197/ServerKit",+ "permissions": ["network"],+ "icon": "<path d=\"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z\"/>",+ "contributions": {+ "tabs": [+ {+ "group": "servers",+ "to": "/cloud",+ "label": "Cloud Servers",+ "order": 4,+ "icon": "<path d=\"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z\"/>"+ }+ ],+ "routes": [+ { "path": "cloud", "component": "CloudProvisionPage", "group": "servers" }+ ],+ "page_titles": {+ "/cloud": "Cloud Provisioning"+ },+ "command_palette": [+ {+ "label": "Cloud Provision",+ "path": "/cloud",+ "category": "Pages",+ "keywords": "vps deploy provision digitalocean hetzner"+ }+ ]+ }+}diff --git a/builtin-extensions/serverkit-remote-access/frontend/index.jsx b/builtin-extensions/serverkit-remote-access/frontend/index.jsxnew file mode 100644index 00000000..77691b57--- /dev/null+++ b/builtin-extensions/serverkit-remote-access/frontend/index.jsx@@ -0,0 +1,15 @@+// Remote Access (fleet-wide WireGuard tunnels), contributed through the+// extension system. The page component and its /api/v1/tunnels backend stay in+// core for now (two-speed extraction, D2) — the page is ALSO embedded by the+// core server detail screen (<RemoteAccess serverId={…}/>), which keeps working+// regardless of this extension's install state. This extension owns the+// fleet-wide tab in the core Servers group via a tab-group contribution (#43)+// plus the route/palette entries in its manifest.+//+// After sync this file lives at frontend/src/plugins/serverkit-remote-access/+// so the relative import resolves against the host's pages directory.+import RemoteAccess from '../../pages/RemoteAccess';++export function RemoteAccessPage() {+ return <RemoteAccess />;+}diff --git a/builtin-extensions/serverkit-remote-access/plugin.json b/builtin-extensions/serverkit-remote-access/plugin.jsonnew file mode 100644index 00000000..8d2e355b--- /dev/null+++ b/builtin-extensions/serverkit-remote-access/plugin.json@@ -0,0 +1,37 @@+{+ "name": "serverkit-remote-access",+ "display_name": "Remote Access",+ "version": "1.0.0",+ "description": "WireGuard remote-access tunnels between paired agents — expose NAT'd home services through an edge server. Fleet-wide view as a tab in the Servers group; per-server management stays on the server detail page.",+ "author": "ServerKit",+ "license": "MIT",+ "category": "integration",+ "homepage": "https://github.com/jhd3197/ServerKit",+ "permissions": ["network"],+ "icon": "<rect x=\"16\" y=\"16\" width=\"6\" height=\"6\" rx=\"1\"/><rect x=\"2\" y=\"16\" width=\"6\" height=\"6\" rx=\"1\"/><rect x=\"9\" y=\"2\" width=\"6\" height=\"6\" rx=\"1\"/><path d=\"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3\"/><path d=\"M12 12V8\"/>",+ "contributions": {+ "tabs": [+ {+ "group": "servers",+ "to": "/remote-access",+ "label": "Remote Access",+ "order": 5,+ "icon": "<rect x=\"16\" y=\"16\" width=\"6\" height=\"6\" rx=\"1\"/><rect x=\"2\" y=\"16\" width=\"6\" height=\"6\" rx=\"1\"/><rect x=\"9\" y=\"2\" width=\"6\" height=\"6\" rx=\"1\"/><path d=\"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3\"/><path d=\"M12 12V8\"/>"+ }+ ],+ "routes": [+ { "path": "remote-access", "component": "RemoteAccessPage", "group": "servers" }+ ],+ "page_titles": {+ "/remote-access": "Remote Access"+ },+ "command_palette": [+ {+ "label": "Remote Access",+ "path": "/remote-access",+ "category": "Pages",+ "keywords": "wireguard tunnel vpn expose nat pairing"+ }+ ]+ }+}diff --git a/builtin-extensions/serverkit-status/frontend/index.jsx b/builtin-extensions/serverkit-status/frontend/index.jsxnew file mode 100644index 00000000..a108d6f2--- /dev/null+++ b/builtin-extensions/serverkit-status/frontend/index.jsx@@ -0,0 +1,15 @@+// Status Pages management, contributed through the extension system. The page+// component and its /api/v1/status-pages + /api/v1/uptime backends stay in core+// for now (two-speed extraction, D2), and the PUBLIC /status/:slug page stays a+// core route (unauthenticated — the contribution system only places routes+// behind auth). This extension owns the admin tab in the core Observability+// group via a tab-group contribution (#43) plus the route/palette entries in+// its manifest.+//+// After sync this file lives at frontend/src/plugins/serverkit-status/ so the+// relative import resolves against the host's pages directory.+import StatusPages from '../../pages/StatusPages';++export function StatusPagesPage() {+ return <StatusPages />;+}diff --git a/builtin-extensions/serverkit-status/plugin.json b/builtin-extensions/serverkit-status/plugin.jsonnew file mode 100644index 00000000..db91e570--- /dev/null+++ b/builtin-extensions/serverkit-status/plugin.json@@ -0,0 +1,36 @@+{+ "name": "serverkit-status",+ "display_name": "Status Pages",+ "version": "1.0.0",+ "description": "Public status pages backed by uptime monitors — the management UI as a tab in the Observability group. The public /status/<slug> page itself stays core.",+ "author": "ServerKit",+ "license": "MIT",+ "category": "monitoring",+ "homepage": "https://github.com/jhd3197/ServerKit",+ "permissions": [],+ "icon": "<circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20\"/><path d=\"M2 12h20\"/>",+ "contributions": {+ "tabs": [+ {+ "group": "monitoring",+ "to": "/status-pages",+ "label": "Status Pages",+ "icon": "<circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20\"/><path d=\"M2 12h20\"/>"+ }+ ],+ "routes": [+ { "path": "status-pages", "component": "StatusPagesPage", "group": "monitoring" }+ ],+ "page_titles": {+ "/status-pages": "Status Pages"+ },+ "command_palette": [+ {+ "label": "Status Pages",+ "path": "/status-pages",+ "category": "Pages",+ "keywords": "uptime incidents public status"+ }+ ]+ }+}diff --git a/frontend/src/App.jsx b/frontend/src/App.jsxindex dd13deb0..7ac46908 100644--- a/frontend/src/App.jsx+++ b/frontend/src/App.jsx@@ -48,16 +48,13 @@ import SSOCallback from './pages/SSOCallback';import SourceConnectionCallback from './pages/SourceConnectionCallback';import DatabaseMigration from './pages/DatabaseMigration';import ServerTemplates from './pages/ServerTemplates';-import RemoteAccess from './pages/RemoteAccess';import Workspaces from './pages/Workspaces';import WorkspaceDetail from './pages/WorkspaceDetail';import Projects from './pages/Projects';import ProjectDetail from './pages/ProjectDetail';import SharedVariables from './pages/SharedVariables';import FleetProxy from './pages/FleetProxy';-import StatusPages from './pages/StatusPages';import PublicStatusPage from './pages/PublicStatusPage';-import CloudProvision from './pages/CloudProvision';import Marketplace from './pages/Marketplace';import Vaults from './pages/Vaults';import Webhooks from './pages/Webhooks';@@ -120,8 +117,6 @@ const PAGE_TITLES = {'/workspaces/:id/settings/general': 'Workspace Settings','/workspaces/:id/settings/navigation': 'Workspace Navigation Permissions','/dns': 'DNS Zones',- '/status-pages': 'Status Pages',- '/cloud': 'Cloud Provisioning','/marketplace': 'Marketplace','/vaults': 'Vaults','/webhooks': 'Webhooks',@@ -341,13 +336,15 @@ function AppRoutes() {<Route path="databases/:tab" element={<Databases />} /><Route path="docker" element={<Docker />} /><Route path="docker/:tab" element={<Docker />} />+ {/* /cloud and /remote-access are now the serverkit-cloud-provision+ and serverkit-remote-access builtin extensions: they join this+ group via tabs contributions + group-nested routes+ (groupRoutes.servers). */}<Route element={<TabGroupLayout tabs={SERVER_TABS} groupId="servers" />}><Route path="servers" element={<Servers />} /><Route path="fleet" element={<AgentFleet />} /><Route path="fleet-monitor" element={<FleetMonitor />} /><Route path="fleet-proxy" element={<FleetProxy />} />- <Route path="cloud" element={<CloudProvision />} />- <Route path="remote-access" element={<RemoteAccess />} /><Route path="server-templates" element={<ServerTemplates />} />{groupRoutes.servers}</Route>@@ -390,11 +387,13 @@ function AppRoutes() {</Route>{/* Observability tab group (§4): Monitoring / Events / StatusPages share one PageTopbar. /observability lands on Monitoring. */}+ {/* /status-pages is now the serverkit-status builtin extension+ (tabs contribution + group-nested route, groupRoutes.monitoring);+ the public /status/:slug route stays core above. */}<Route element={<TabGroupLayout tabs={MONITOR_TABS} groupId="monitoring" />}><Route path="monitoring" element={<Monitoring />} /><Route path="monitoring/:tab" element={<Monitoring />} /><Route path="telemetry" element={<Telemetry />} />- <Route path="status-pages" element={<StatusPages />} />{groupRoutes.monitoring}</Route><Route path="observability" element={<Navigate to="/monitoring" replace />} />diff --git a/frontend/src/components/CommandPalette.jsx b/frontend/src/components/CommandPalette.jsxindex 2196241e..c0e51bb6 100644--- a/frontend/src/components/CommandPalette.jsx+++ b/frontend/src/components/CommandPalette.jsx@@ -29,8 +29,9 @@ const STATIC_PAGES = [{ label: 'Terminal', path: '/terminal', category: 'Pages', keywords: 'shell ssh console' },{ label: 'Servers', path: '/servers', category: 'Pages', keywords: 'fleet agents' },{ label: 'Fleet Monitor', path: '/fleet-monitor', category: 'Pages', keywords: 'agents status' },- { label: 'Status Pages', path: '/status-pages', category: 'Pages', keywords: 'uptime incidents' },- { label: 'Cloud Provision', path: '/cloud', category: 'Pages', keywords: 'vps deploy' },+ // Status Pages / Cloud Provision / Remote Access palette entries are+ // contributed by the serverkit-status / serverkit-cloud-provision /+ // serverkit-remote-access extensions.{ label: 'Marketplace', path: '/marketplace', category: 'Pages', keywords: 'extensions plugins' },{ label: 'Downloads', path: '/downloads', category: 'Pages', keywords: 'agent installer' },{ label: 'Projects', path: '/projects', category: 'Pages', keywords: 'organization group' },diff --git a/frontend/src/components/monitoring/monitorTabs.jsx b/frontend/src/components/monitoring/monitorTabs.jsxindex 349f376b..71cc04d6 100644--- a/frontend/src/components/monitoring/monitorTabs.jsx+++ b/frontend/src/components/monitoring/monitorTabs.jsx@@ -1,12 +1,13 @@-import { Activity, Globe, ScrollText } from 'lucide-react';+import { Activity, ScrollText } from 'lucide-react';// Shared sub-nav for the Observability page group — Monitoring (live metrics +-// alerts), Events (the unified SystemEvent stream, formerly "Telemetry"), and-// public Status Pages (§4 unification). Rendered in each page's-// <PageTopbar tabs={MONITOR_TABS}>. Fleet Monitor stays under the Servers group-// (it is server-scoped); GPU is its own hardware page.+// alerts) and Events (the unified SystemEvent stream, formerly "Telemetry").+// Rendered in each page's <PageTopbar tabs={MONITOR_TABS}>. Fleet Monitor stays+// under the Servers group (it is server-scoped); GPU is its own hardware page.+// The Status Pages tab is contributed by the serverkit-status builtin extension+// (tab-group contribution, #43) and merged in by TabGroupLayout+// groupId="monitoring".export const MONITOR_TABS = [{ to: '/monitoring', label: 'Monitoring', end: true, icon: <Activity size={15} /> },{ to: '/telemetry', label: 'Events', icon: <ScrollText size={15} /> },- { to: '/status-pages', label: 'Status Pages', icon: <Globe size={15} /> },];diff --git a/frontend/src/components/servers/serverTabs.jsx b/frontend/src/components/servers/serverTabs.jsxindex 005fcb71..0b829f35 100644--- a/frontend/src/components/servers/serverTabs.jsx+++ b/frontend/src/components/servers/serverTabs.jsx@@ -1,17 +1,18 @@-import { Server, Users, Activity, Cloud, FileCog, Network } from 'lucide-react';+import { Server, Users, Activity, FileCog, Network } from 'lucide-react';// Shared sub-nav for the Servers page group (Servers / Agent Fleet / Fleet-// Monitor / Cloud Servers / Remote Access / Config Templates). Rendered in each-// page's <PageTopbar tabs={SERVER_TABS}> — the demo's top-bar layout replaces-// the old sidebar sub-menu (see docs/REDESIGN_MAP.md §6 decision 3). Remote-// Access lives here as a fleet-wide overview; per-server tunnel management is-// also available on each server's detail page under the "Remote Access" tab.+// Monitor / Fleet Proxy / Config Templates). Rendered in each page's+// <PageTopbar tabs={SERVER_TABS}> — the demo's top-bar layout replaces the+// old sidebar sub-menu (see docs/REDESIGN_MAP.md §6 decision 3).+// The Cloud Servers and Remote Access tabs are contributed by the+// serverkit-cloud-provision and serverkit-remote-access builtin extensions+// (tab-group contribution, #43) and merged in by TabGroupLayout+// groupId="servers". Per-server tunnel management is also available on each+// server's detail page under its "Remote Access" tab (core, unaffected).export const SERVER_TABS = [{ to: '/servers', label: 'Servers', end: true, icon: <Server size={15} /> },{ to: '/fleet', label: 'Agent Fleet', icon: <Users size={15} /> },{ to: '/fleet-monitor', label: 'Fleet Monitor', icon: <Activity size={15} /> },{ to: '/fleet-proxy', label: 'Fleet Proxy', icon: <Network size={15} /> },- { to: '/cloud', label: 'Cloud Servers', icon: <Cloud size={15} /> },- { to: '/remote-access', label: 'Remote Access', icon: <Network size={15} /> },{ to: '/server-templates', label: 'Config Templates', icon: <FileCog size={15} /> },];diff --git a/frontend/src/plugins/serverkit-cloud-provision/index.jsx b/frontend/src/plugins/serverkit-cloud-provision/index.jsxnew file mode 100644index 00000000..15e7169f--- /dev/null+++ b/frontend/src/plugins/serverkit-cloud-provision/index.jsx@@ -0,0 +1,13 @@+// Cloud Provisioning, contributed through the extension system. The page+// component and its /api/v1/cloud-provisioning backend stay in core for now+// (two-speed extraction, D2); this extension owns the Cloud Servers tab in the+// core Servers group via a tab-group contribution (#43) plus the route/palette+// entries in its manifest.+//+// After sync this file lives at frontend/src/plugins/serverkit-cloud-provision/+// so the relative import resolves against the host's pages directory.+import CloudProvision from '../../pages/CloudProvision';++export function CloudProvisionPage() {+ return <CloudProvision />;+}diff --git a/frontend/src/plugins/serverkit-cloud-provision/plugin.json b/frontend/src/plugins/serverkit-cloud-provision/plugin.jsonnew file mode 100644index 00000000..503d19d0--- /dev/null+++ b/frontend/src/plugins/serverkit-cloud-provision/plugin.json@@ -0,0 +1,43 @@+{+ "name": "serverkit-cloud-provision",+ "display_name": "Cloud Provisioning",+ "version": "1.0.0",+ "description": "Provision new servers from connected cloud providers — the Cloud Servers tab in the Servers group.",+ "author": "ServerKit",+ "license": "MIT",+ "category": "deployment",+ "homepage": "https://github.com/jhd3197/ServerKit",+ "permissions": [+ "network"+ ],+ "icon": "<path d=\"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z\"/>",+ "contributions": {+ "tabs": [+ {+ "group": "servers",+ "to": "/cloud",+ "label": "Cloud Servers",+ "order": 4,+ "icon": "<path d=\"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z\"/>"+ }+ ],+ "routes": [+ {+ "path": "cloud",+ "component": "CloudProvisionPage",+ "group": "servers"+ }+ ],+ "page_titles": {+ "/cloud": "Cloud Provisioning"+ },+ "command_palette": [+ {+ "label": "Cloud Provision",+ "path": "/cloud",+ "category": "Pages",+ "keywords": "vps deploy provision digitalocean hetzner"+ }+ ]+ }+}diff --git a/frontend/src/plugins/serverkit-remote-access/index.jsx b/frontend/src/plugins/serverkit-remote-access/index.jsxnew file mode 100644index 00000000..77691b57--- /dev/null+++ b/frontend/src/plugins/serverkit-remote-access/index.jsx@@ -0,0 +1,15 @@+// Remote Access (fleet-wide WireGuard tunnels), contributed through the+// extension system. The page component and its /api/v1/tunnels backend stay in+// core for now (two-speed extraction, D2) — the page is ALSO embedded by the+// core server detail screen (<RemoteAccess serverId={…}/>), which keeps working+// regardless of this extension's install state. This extension owns the+// fleet-wide tab in the core Servers group via a tab-group contribution (#43)+// plus the route/palette entries in its manifest.+//+// After sync this file lives at frontend/src/plugins/serverkit-remote-access/+// so the relative import resolves against the host's pages directory.+import RemoteAccess from '../../pages/RemoteAccess';++export function RemoteAccessPage() {+ return <RemoteAccess />;+}diff --git a/frontend/src/plugins/serverkit-remote-access/plugin.json b/frontend/src/plugins/serverkit-remote-access/plugin.jsonnew file mode 100644index 00000000..48c46e79--- /dev/null+++ b/frontend/src/plugins/serverkit-remote-access/plugin.json@@ -0,0 +1,43 @@+{+ "name": "serverkit-remote-access",+ "display_name": "Remote Access",+ "version": "1.0.0",+ "description": "WireGuard remote-access tunnels between paired agents — expose NAT'd home services through an edge server. Fleet-wide view as a tab in the Servers group; per-server management stays on the server detail page.",+ "author": "ServerKit",+ "license": "MIT",+ "category": "integration",+ "homepage": "https://github.com/jhd3197/ServerKit",+ "permissions": [+ "network"+ ],+ "icon": "<rect x=\"16\" y=\"16\" width=\"6\" height=\"6\" rx=\"1\"/><rect x=\"2\" y=\"16\" width=\"6\" height=\"6\" rx=\"1\"/><rect x=\"9\" y=\"2\" width=\"6\" height=\"6\" rx=\"1\"/><path d=\"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3\"/><path d=\"M12 12V8\"/>",+ "contributions": {+ "tabs": [+ {+ "group": "servers",+ "to": "/remote-access",+ "label": "Remote Access",+ "order": 5,+ "icon": "<rect x=\"16\" y=\"16\" width=\"6\" height=\"6\" rx=\"1\"/><rect x=\"2\" y=\"16\" width=\"6\" height=\"6\" rx=\"1\"/><rect x=\"9\" y=\"2\" width=\"6\" height=\"6\" rx=\"1\"/><path d=\"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3\"/><path d=\"M12 12V8\"/>"+ }+ ],+ "routes": [+ {+ "path": "remote-access",+ "component": "RemoteAccessPage",+ "group": "servers"+ }+ ],+ "page_titles": {+ "/remote-access": "Remote Access"+ },+ "command_palette": [+ {+ "label": "Remote Access",+ "path": "/remote-access",+ "category": "Pages",+ "keywords": "wireguard tunnel vpn expose nat pairing"+ }+ ]+ }+}diff --git a/frontend/src/plugins/serverkit-status/index.jsx b/frontend/src/plugins/serverkit-status/index.jsxnew file mode 100644index 00000000..a108d6f2--- /dev/null+++ b/frontend/src/plugins/serverkit-status/index.jsx@@ -0,0 +1,15 @@+// Status Pages management, contributed through the extension system. The page+// component and its /api/v1/status-pages + /api/v1/uptime backends stay in core+// for now (two-speed extraction, D2), and the PUBLIC /status/:slug page stays a+// core route (unauthenticated — the contribution system only places routes+// behind auth). This extension owns the admin tab in the core Observability+// group via a tab-group contribution (#43) plus the route/palette entries in+// its manifest.+//+// After sync this file lives at frontend/src/plugins/serverkit-status/ so the+// relative import resolves against the host's pages directory.+import StatusPages from '../../pages/StatusPages';++export function StatusPagesPage() {+ return <StatusPages />;+}diff --git a/frontend/src/plugins/serverkit-status/plugin.json b/frontend/src/plugins/serverkit-status/plugin.jsonnew file mode 100644index 00000000..699cf18d--- /dev/null+++ b/frontend/src/plugins/serverkit-status/plugin.json@@ -0,0 +1,40 @@+{+ "name": "serverkit-status",+ "display_name": "Status Pages",+ "version": "1.0.0",+ "description": "Public status pages backed by uptime monitors — the management UI as a tab in the Observability group. The public /status/<slug> page itself stays core.",+ "author": "ServerKit",+ "license": "MIT",+ "category": "monitoring",+ "homepage": "https://github.com/jhd3197/ServerKit",+ "permissions": [],+ "icon": "<circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20\"/><path d=\"M2 12h20\"/>",+ "contributions": {+ "tabs": [+ {+ "group": "monitoring",+ "to": "/status-pages",+ "label": "Status Pages",+ "icon": "<circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20\"/><path d=\"M2 12h20\"/>"+ }+ ],+ "routes": [+ {+ "path": "status-pages",+ "component": "StatusPagesPage",+ "group": "monitoring"+ }+ ],+ "page_titles": {+ "/status-pages": "Status Pages"+ },+ "command_palette": [+ {+ "label": "Status Pages",+ "path": "/status-pages",+ "category": "Pages",+ "keywords": "uptime incidents public status"+ }+ ]+ }+}