mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-11-09 21:43:05 +09:00
Plan 47 Phase 2. The cloud-provider blueprint + service move out of core into builtin-extensions/serverkit-cloud-provision/backend/ (entry_point, url_prefix unchanged). Core no longer registers /api/v1/cloud or imports the service; the CloudProvider/CloudServer models stay core (G2). The one-time legacy cloud-secret encryption is dropped from core boot (already run on any panel reaching this version; the extension encrypts on write). Also adds run_backend_acquisition() — a one-shot migration that re-acquires the now-extracted backend on upgraded panels that installed a converted builtin frontend-only (whose API used to come from core). Without it, ftp/cloud/etc would lose their API on upgrade. Wired into create_app after run_auto_install. Tests: test_cloud_provision_extraction.py (7, incl. relocated secret-at-rest + backend-acquisition migration); secret-encryption cloud block moved out of core. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>