Files
ServerKit/builtin-extensions/serverkit-ftp/plugin.json
T
Juan DenisandClaude Fable 5 50166b8f78 feat(extensions): tab-group contributions (#43) + FTP as serverkit-ftp (#44)
Extensions can now contribute a real tab to a core-owned tab group:
a new `tabs` contribution kind ({group, to, label, icon?, end?, order?},
group id == sidebar item id) is merged into the strip by TabGroupLayout
(new groupId prop; core wins `to` collisions), and route contributions
gained a `group` field so ExtensionRoutes collects them per group and
App.jsx mounts them INSIDE that group''s TabGroupLayout — the shared
PageTopbar chrome stays and the Sidebar keeps the group item lit via
contributed matchPrefixes. Wired for files/servers/monitoring.

First consumer: the FTP Server page moves to the serverkit-ftp builtin
extension (tab in the Files group; backend /api/v1/ftp stays core per
D2). Added to CONVERTED_BUILTIN_SLUGS so upgraded panels auto-install
it once; fresh installs find it in the Marketplace.

Proven by the extended contributions-envelope test (26 plugin/platform
tests green; full backend suite 1215 passed), lint 0 errors, build clean.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-02 01:39:37 -04:00

38 lines
1.4 KiB
JSON

{
"name": "serverkit-ftp",
"display_name": "FTP Server",
"version": "1.0.0",
"description": "FTP server management (vsftpd/proftpd) — install, users, config and logs — as a tab in the Files group.",
"author": "ServerKit",
"license": "MIT",
"category": "utility",
"homepage": "https://github.com/jhd3197/ServerKit",
"permissions": ["shell", "filesystem"],
"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": "files",
"to": "/ftp",
"label": "FTP Server",
"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": "ftp", "component": "FtpServerPage", "group": "files" },
{ "path": "ftp/:tab", "component": "FtpServerPage", "group": "files" }
],
"page_titles": {
"/ftp": "FTP Server"
},
"command_palette": [
{
"label": "FTP Server",
"path": "/ftp",
"category": "Pages",
"keywords": "sftp upload vsftpd proftpd transfer"
}
]
}
}