mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-11-08 21:14:47 +09:00
Completes the deferred half of #30. InstalledPlugin gains config_json (migration 045); admin-gated GET/PUT /api/v1/plugins/<id>/config persists values; plugins read them via the new plugins_sdk.config(slug) accessor. The Marketplace Installed tab shows a Configure button for plugins declaring a config_schema and renders a real form (string/number/integer/boolean/enum/secret fields, defaults, hints). Values may hold secrets so they are excluded from to_dict() and only served by the admin endpoint. Documented in docs/EXTENSIONS.md. 2 new tests (config round-trip + SDK accessor + secret non-leak; non-object rejection); pipeline suite 18 green; lint 0 errors; build clean. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>