
Security News
GPT-6 Astra Attempts Supply Chain Attacks Against Open Source Maintainers in Testing
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.
File explorer for the DSH dock: browse the active conversation's working directory and open files in the registered file viewers.
面向 DSH 工作区的文件浏览插件。 dock-files 提供 VSCode 风格的文件树、拖放导入、剪贴板粘贴、传输任务管理和右键菜单。
dock 系列的文件浏览插件:在侧边栏挂载文件面板,浏览当前会话工作目录(通过自己的 /wb-files 主机路由),点击文件交给已注册的文件查看器打开(如 dock-editor)。
| 主界面 | 右键菜单 |
|---|---|
![]() | ![]() |
ctx.files.open 分发给匹配的文件查看器(浮窗打开)。xdg-open / open / Invoke-Item);宿主没有桌面关联(容器 / headless / 失效的 IDE IPC socket)时不再弹出 path open failed 错误。文件夹、不存在的路径以及没有查看器注册的类型仍走系统默认应用。image.png,按 mime 类型自动命名去重;菜单项会探测剪贴板,仅在其中有图片时自动显示)、删除(确认后递归删除,不会覆盖同名文件)、复制路径、刷新;普通文件可通过右键菜单触发浏览器下载,软链接跳过下载;空白区域右键可对根目录执行新建 / 粘贴 / 粘贴图片 / 刷新。locale/change 事件即时切换);新建文件 / 文件夹的默认名也随语言(New File.txt / 新建文件.txt)。ctx.files(open / registerFileViewer / registerFileIcon),其他插件可注册自己的查看器(exts 扩展名匹配或 default 兜底)及按扩展名的图标(registerFileIcon,一个插件可注册多组);注册时可附带 icon(主题色 + 可选自定义 SVG 图形),文件浏览器按扩展名渲染各插件注册的图标,未注册类型回退内置调色板。| 依赖 | 类型 | 说明 |
|---|---|---|
| dock >= 0.1.0 | peer(必需) | 工作台外壳:dock-files 的侧边栏面板、浮窗、ctx.workbench 都由它提供 |
| DSH Web 环境 | 运行时 | 必需,客户端平台为 Web |
cordis ^4.0.0-rc.7 | peer | 插件框架(DSH 自带) |
react ^18.2.0 | peer(可选) | 客户端渲染需要;未提供时面板 UI 不激活 |
可选查看器(不装也能浏览,装了才能打开对应文件):dock-editor(文本)、dock-images(图片)、dock-markdown(Markdown)。
需要 dock 基础插件:
推荐从 npm registry 安装:
dsh plugin --profile web add dock-base
dsh plugin --profile web add dock-files
或通过 GitHub 安装(备选):
dsh plugin --profile web add github:AKS1st/dock
dsh plugin --profile web add github:AKS1st/dock-files
配合查看器插件使用(可组合、按需):dock-editor(文本)、dock-images(图片)、dock-markdown(Markdown)。
主机路由只接受来自受信任来源(回环地址 / 配置的 trustedHosts + 同源检查)的 POST 请求,且任何目录访问都会先做 realpath 规范化再与会话工作区做前缀比较——.. 逃逸、指向工作区外的符号链接、无关绝对路径都会被拒绝(403)。
MIT
FAQs
File explorer for the DSH dock: browse the active conversation's working directory and open files in the registered file viewers.
The npm package dock-files receives a total of 106 weekly downloads. As such, dock-files popularity was classified as not popular.
We found that dock-files demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
GPT-6 Astra hits 100% on ExploitBench and finds zero-days autonomously, while independent tests reveal scope violations and monitoring gaps.

Product
Socket can now send alerts and supply chain attack notifications to Microsoft Teams, with filters that route the right updates to each channel.

Security News
pnpm 12 rewrites the package manager in Rust, cutting install times by up to 90% while preserving pnpm 11 workflows and lockfiles.