github nesquena/hermes-webui v0.50.18
v0.50.18 — Fix invalid default workspace path recovery

latest releases: v0.50.31, v0.50.30, v0.50.29...
8 hours ago

What's new in v0.50.18

Fix: WebUI recovers from invalid default workspace paths (PR #366)

When the configured default workspace directory no longer exists (deleted, permissions changed, or an invalid path in settings), the WebUI now falls back gracefully instead of breaking.

Priority order for workspace resolution:

  1. Explicitly passed path (from settings or env var) — validated and used if accessible
  2. HERMES_WEBUI_DEFAULT_WORKSPACE env var
  3. ~/workspace if it already exists
  4. ~/work if it already exists
  5. ~/workspace — created if needed
  6. STATE_DIR/workspace — last resort

save_settings() now validates and corrects the workspace — if a client posts an inaccessible path, it's replaced with the nearest valid fallback before persisting.

Startup self-heals stale settings — if the settings file contains a workspace path that no longer exists, it's rewritten to the resolved fallback on next startup.


922 tests | Full changelog

Don't miss a new hermes-webui release

NewReleases is sending notifications on new releases.