Spaces:
Running
Running
Commit History
-
Ship pre-fixed opencode index.html instead of sed-rewriting it at boot
- config/opencode-router/index.html is now the source of truth; entrypoint and 20-opencode-router.sh just copy it (no more 6-line sed chain per boot). - Router proxy key is injected into the HTML from opencode-router.json at start, so no secret lives in the committed HTML. - Run hermes-web-ui with NODE_ENV=production so its SQLite lands in HERMES_WEB_UI_HOME (local disk, apps_sync-backed) instead of $CWD/packages/server/data (the /data/workspace bucket). - entrypoint migrates any existing workspace/packages/hermes-web-ui.db to /home/appuser/.hermes-web-ui and drops the bucket-side tree. - entrypoint migrates legacy /data/config dsh+opencode into /data/apps/ (removed only when byte-identical) and drops the legacy /data/code-server tree. - code-server: seed ~/.config/code-server/config.yaml at runtime, purge workspaceStorage after apps_sync restore so /code/ always opens blank, point CachedData/ProfilesData/logs at /tmp.6cba4f0