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
docs(plugins): point the SDK docstring at the contribution surfaces
Juan Denis0ae70f876179
diff --git a/backend/app/plugins_sdk/__init__.py b/backend/app/plugins_sdk/__init__.pyindex fe066c29..a8e5c91a 100644--- a/backend/app/plugins_sdk/__init__.py+++ b/backend/app/plugins_sdk/__init__.py@@ -22,6 +22,12 @@ Typical plugin module:# ... do work, use db.session, etc ...return jsonify({'ok': True})+Beyond the plumbing re-exported here, the SDK has surfaces a plugin+*contributes to* — ``store`` (state without a migration), ``deploys``,+``backups``, ``doctor``, ``search`` and ``agents``. In each case the plugin+brings the behaviour and the panel brings the UI, the persistence and the error+handling; see each ``*_sdk.py`` module's docstring, and docs/EXTENSIONS.md.+The lifecycle hook contract (called by plugin_service when installing /uninstalling): a single positional arg — the InstalledPlugin row.@@ -165,8 +171,8 @@ def __getattr__(name):These SDKs import services (and therefore models), while this module isimported early in app setup — binding them eagerly would make plugins_sdk- import-order sensitive for everyone, including the plugins that never touch- deployments or search.+ import-order sensitive for everyone, including the plugins that never+ contribute to any of these surfaces.Each implementation lives in ``<name>_sdk.py``, not ``<name>.py``: asubmodule of the bare name would be bound as a package attribute on import