mirror of
https://github.com/nesquena/hermes-webui.git
synced 2026-05-25 03:00:23 +00:00
7999d1c75a
Right-click any workspace file, folder, or root now shows 'Open in VS Code' alongside the existing Reveal in File Manager action. - POST /api/file/open-vscode: resolves path via safe_resolve, finds VS Code via shutil.which() with fallbacks for macOS (/usr/local/bin/code, app bundle CLI), Linux (/usr/bin/code, /snap/bin/code), and Windows (%LOCALAPPDATA% and %PROGRAMFILES% user/system installs). Returns a descriptive error if not found rather than a bare OS error. - Optional vscode block in config.yaml: command (default: code), host_path_prefix + container_path_prefix for Docker path mapping. - i18n: open_in_vscode and open_in_vscode_failed translated in all 10 locales (it, ja, ru, es, de, zh-CN, zh-TW, pt, ko). - 26 tests in tests/test_2735_open_in_vscode.py covering source wiring, command resolution, i18n completeness, and live endpoint error paths.