Files
Juan DenisandClaude Opus 4.8 eee21d8a14 refactor(plugins): add WordPress bridge + flagship/multi-blueprint plumbing
Pre-reqs for extracting WordPress into a bundled default-installed extension
(#38). No behavior change yet — WordPress still ships as core; this only inverts
the couplings so the physical move is mechanical:

- app/services/wordpress_bridge.py: importlib bridge to the (future) dashed
  package app.plugins.serverkit-wordpress, with a two-speed fallback to the
  legacy core location so callers work before AND after the move.
- plugin_service: _ensure_builtin_backend_importable() registers a dashed builtin
  backend in-place via spec_from_file_location (no copy) — solves dev/test/prod
  loadability of a default-installed dashed package; extra_blueprints manifest
  support (WP needs 3 blueprints / 4 mounts incl. the /pipelines alias);
  FLAGSHIP_SLUGS + seed_flagship_extensions() + flagship-aware install/uninstall
  (D4: default-installed, uninstallable, never deletes tracked files).
- create_app: seed flagships before load_all_plugins (inert until the folder exists).
- Re-point the 6 lazy WP-service callers (preview/webhook/env-pipeline/apps/
  builtin_handlers/backup_policy) through the bridge; drop the eager
  WordPressService import from app/services/__init__.py. Models stay core.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-01 23:45:22 -04:00

21 lines
721 B
Python

# Services
from app.services.system_service import SystemService
from app.services.nginx_service import NginxService
from app.services.ssl_service import SSLService
from app.services.process_service import ProcessService
from app.services.log_service import LogService
from app.services.php_service import PHPService
# NOTE: WordPressService is no longer eagerly imported here. WordPress moved into
# the bundled ``serverkit-wordpress`` extension (D4); core code that still needs
# it reaches it lazily via ``app.services.wordpress_bridge`` so core boot never
# pulls the WordPress stack.
__all__ = [
'SystemService',
'NginxService',
'SSLService',
'ProcessService',
'LogService',
'PHPService',
]