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 -
Remove root /api and /assets hijacking in Caddyfile and use pure relative paths for opencode-router
35eeda3 -
Restore original opencode-router defaults from Hermes and protect /data configs from being overwritten
519b3e9 -
Inject base href=/opencode/ into router index.html for assets and API resolution
9cd7a6f -
Fix opencode subpath client-side API resolving and Caddy routing fallback
b283eff -
Align opencode-router Caddyfile and directory layout with Hermes: handle_path /opencode/*, public UI and assets
3af5b14 -
Auto-clean stale services from /data, ensure opencode-router executable, and robust supergateway pathing
81b14ce -
Clean repo architecture: Dockerfile, entrypoint, config/, services/, security/ (pure env secrets)
05667d9