mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-11-09 13:35:12 +09:00
Plan 47 Phase 2. The tunnels blueprint + broker/publish/netutil services move into builtin-extensions/serverkit-remote-access/backend/ (entry_point tunnels: tunnels_bp, url_prefix unchanged). Core no longer registers /api/v1/tunnels or imports the services; the Tunnel/ExposedService models stay core (G2). New reusable core->extension seam get_installed_extension_attr(slug, module, attr): the agent gateway reaches TunnelBrokerService.schedule_reconcile through it, so tunnel self-heal still fires when the extension is installed and no-ops cleanly otherwise. Backend re-acquisition on upgrade is covered by the Phase-2 migration. Tests: test_tunnel_netutil.py + test_tunnel_reconcile.py re-homed into test_remote_access_extraction.py (17), which installs the extension and runs the helpers/reconcile against its modules. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>