All plugins

DSH / BUNDLE / CLIENT-UI

@ruaibeite/dsh-files-to-chat

v0.2.4ruaibeite / dsh-files-to-chat4bb01c2b0f

InstallableBundlesUI & client pluginsCommunity · Topic auto-analysisWeb UI

Overview

@ruaibeite/dsh-files-to-chat

Right-click a file or folder in the DSH right Sidebar file tree to add it to the conversation as an @ reference, with multi-select batch insertion.

README / EN

Package documentation

Registry summary

Right-click a file or folder in the DSH right Sidebar file tree to add it to the conversation as an @ reference, with multi-select batch insertion.

dsh.pub verifies the pinned bundle contract, runtime facts, and distribution semantics. The complete README remains in the source repository.

Read the full README on GitHub

LIMITATIONS

Known limitations

- 只增强官方文件树的**行**(文件与文件夹)。`other` 类型(socket、设备文件等)不可读, 菜单不出现,右键仍是系统菜单。 - 多选状态是本插件自己的,存在组件内存里:切换标签、刷新树、换会话都会清空(这是刻意的 ——它不是文件树的状态,别的入口改不动它)。 - 文件夹引用只插 `@dir/`,不会展开成目录下的文件清单。 - 「打开 / 在文件管理器中显示」只在宿主**明确报告不支持**时才隐藏;能不能真打开还取决于 宿主能否把该路径映射到本机同一进程路径——映射不了(例如远端路径)时宿主会拒绝,插件把 宿主的错误码一并显示出来,不会假装成功。 - 依赖官方的行 DOM 契约(`data-files-entry` / `data-files-path` / `data-files-root`)。 DSH 改这些属性名时,右键菜单会安静地不再出现(不会误伤别处)。