Files
opencode-manager/backend/test/routes
Chris Scott cd7d139a31 fix(files): resolve workspace paths and add sandboxed HTML preview
Accept workspace-absolute paths in the file service and return repo-relative paths for file reads and directory listings. Serve raw content under a CSP sandbox and preview HTML files in a sandboxed iframe with a raw toggle.

Resolve file-click paths from the session directory and repo local path, detect absolute and html/htm file references while ignoring URLs, accept the legacy filePath input key and filediff metadata, fix the file browser navigating into an initially selected directory, and use focus-visible rings across shared UI primitives.
2026-09-28 22:15:43 -04:00
..