xuehun2/dsh-files-plus ↗★ 0

dsh-files-plus

Workspace files context menu for DeepSeek Harness with copy, cut and paste plus keyboard shortcuts.

套件
dsh-files-plus
相容性
待驗證
版本
0.1.2
授權
MIT
最近更新
2026年11月7日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:xuehun2/dsh-files-plus

配置

粘贴冲突策略

Client 顶部常量:

// client.js
const PASTE_CONFLICT = "rename"; // "rename" | "overwrite" | "error"
  • rename(默认):同名时生成 名称 - 副本,保留双方。
  • overwrite:删除目标同名条目后粘贴,有数据丢失风险。
  • error:直接提示冲突,不执行。

Host 路由本身接受 conflict 参数,因此三种模式都已实现;修改该常量即可切换 UI 行为。

菜单顺序 / 文案

菜单项顺序写在 client.js 的 FilesPlusOverlay 中;中英文文案在文件顶部的 zh / en 字典里。两者都不依赖构建步骤。