Skip to content

feat(web-remote): 浏览并预览当前终端目录文件 - #125

Merged
chenbstack merged 2 commits into
chenbstack:mainfrom
defia:feat/web-remote-file-preview
Oct 8, 2026
Merged

chenbstack merged 2 commits into
chenbstack:mainfrom
defia:feat/web-remote-file-preview

Conversation

@defia

@defia defia commented Sep 28, 2026 •

Copy link
Copy Markdown
Collaborator

变更

  • 在网页远程终端右上角加入文件入口,打开当前所选本地终端的实时工作目录。
  • 提供只读目录浏览和 UTF-8 文本预览;图片经 ImageIO 缩略图处理后预览,支持双指缩放、拖动与重置;HTML 在受限 iframe 中预览并可切换源码。
  • 文件访问按工作区和终端校验,拒绝远程 SSH 终端、符号链接及越界路径,并限制预览大小。

验证

Add read-only browsing for the selected local pane's current directory, with UTF-8, image, and sandboxed HTML previews. Support touch pinch zoom for images and expose the browser from the terminal corner.
@chenbstack
chenbstack merged commit a6980e0 into chenbstack:main Oct 8, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants