Spaces:
Running
Running
Commit History
-
feat(editor): fold the live-site editor into the Studio as a mounted app
The editor ships as a package mounted at /api/editor rather than merged in: one implementation runs standalone on a single-site box and here as a Studio tab, and the prefix settles the /healthz and /api/media collisions for free. core/dbmesh.py now reads and writes the editor's sites.json on the mounted volume. That registry was in-memory only, so a Space restart silently dropped every mesh; it now survives a redeploy, and a database registered in either face is both editable and migratable. healthz no longer 500s on a Space with nothing registered yet — liveness must not depend on configuration. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011mudH38FU1L34mEeNJNgbBc05106c