rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:ZTHHero/dsh-settings-plus
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
给 DeepSeek Harness 补上一些原生设置里没有的能力:发送快捷键、默认工作区切换、永久删除会话、窗口位置/大小记忆,以及隐藏模型设置里的 DeepSeek 提供方卡片。
插件以 profile bundle 安装。安装后,设置左侧会新增一个独立的 设置增强 分区,页面标题旁显示当前版本。
Settings Enhanced for DeepSeek Harness — send shortcut, deferred default-workspace switch, permanent session deletion, window position/size memory on Windows, and a DeepSeek provider-card switch.
版本变更见 CHANGELOG.md。
在 设置 → 设置增强 中选择发送消息的按键:
Enter 发送,Shift+Enter 换行(默认);Ctrl/Cmd+Enter 发送,Enter 换行。选择控件复刻 DSH 原生的选择按钮、右侧 chevron、菜单内选中打勾,不使用浏览器原生 <select>。
选择一个目录作为默认工作区:
DSH 没有“修改工作区路径”的接口,因此这个功能需要在退出时改写工作区注册表、迁移会话日志与投影缓存。
会话行的「…」菜单里新增 移动到工作区,子菜单会列出当前会话所在工作区之外的其它工作区:
cwd、projection cache 和 workspace 记录。会话行的「…」菜单里新增「删除会话」:
在 Windows 桌面端记住主窗口的位置、大小和最大化状态,默认开启:
普通 dsh web 浏览器、macOS 和 Linux 会自动跳过这个功能。
在 设置 → 模型 中隐藏显示名为 DeepSeek 的提供方卡片,保留 DeepSeek账号:
所有插件设置集中在 设置 → 设置增强,页面顶部标明「以下设置由 dsh-settings-plus 插件提供」,并显示当前插件版本。
package.json 声明 dsh.bundle.patch,包内 cordis.patch.yml 插入 dsh-settings-plus 行;profile 通过 dsh.profile.bundles 选中它。客户端通过 dsh.client 提供 Web UI。lib/index.js、switch.js、profile-state.js、window-state.js):lib/client.js):settings.section 设置分区;configForms 读写插件设置;<profile>/.dsh-settings-plus/state.json。里面包含默认工作区切换记账、rememberWindow、hideDeepSeekModel 和上次窗口 window。Host 与 PowerShell watcher 通过 state.json.lock 目录串行化写入。{sessionId, targetPath} 加入 config 的 moveRequests;Host 退出钩子调用 moveSessionToWorkspace 迁移存储并更新 workspace 记录,成功的请求从队列清除,失败的请求保留到下次退出重试。app.quit(),而单实例锁要到 Electron 主进程退出才释放,退出钩子里的 spawnSync 会让这段时间变成 1.5 秒以上,期间双击图标启动的新实例会静默退出。placement 由 watcher 负责落盘,window.log 里能看到 saved / final save、exit hook ...ms 记录。rowName 的 li;账号卡片额外带 accountStatus。插件先用样式把 provider 卡片设为不可见,MutationObserver 同步扫描后只显示非目标卡片,从而保留 DeepSeek账号 并消除闪烁。在 DSH 的 Add plugin 向导中填写:
https://github.com/ZTHHero/dsh-settings-plus
点击 Install,安装完成后重启 DSH 或刷新页面:设置左侧会出现 设置增强。插件按 profile 安装,切换 profile 后需要在该 profile 里重新安装。
Enter 发送;DeepSeek 卡片隐藏,DeepSeek账号 始终保留。<profile>/.dsh-settings-plus/state.json;删除它可以清除窗口记忆和默认工作区记账。卸载后:
<profile>/.dsh-settings-plus/ 目录。CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。