mirror of
https://github.com/open-webui/open-terminal.git
synced 2026-12-05 02:57:57 -05:00
All LLM-exposed file endpoints (list_files, read_file, write_file, display_file, replace_file_content, grep_search, glob_search) now read the X-Session-Id header and resolve relative paths against the session's working directory instead of always using fs.home. - Added optional cwd parameter to UserFS.resolve_path() - Relative paths join against cwd if provided, else fs.home - Absolute paths are unaffected - execute endpoint also resolves relative cwd param against session cwd