deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
中文 | English
IDE 式工作区切换侧边栏插件(Web / 浏览器 GUI 客户端 bundle)
IDE-style workspace switcher sidebar for DSH (DeepSeek Harness).
将 DSH 默认侧边栏替换为 IDE 式工作区切换器:左上角悬浮下拉一键切换工作区,下方会话列表随工作区过滤,用状态灯直观标记完成 / 待确认,并提供工作区 / 会话搜索、创建工作区、重命名、删除、归档等能力。
dsh-plugin生态:本插件已遵循 DeepSeek Harness 官方贡献规范,以实现分发包的形式发布,给仓库打上dsh-plugintopic 以便发现。
cd "$DSH_HOME/profiles/web"
dsh plugin --profile web add dsh-ide-sidebar
然后把这个依赖追加到你 profile package.json 的 dsh.profile.bundles 末尾:
"dsh": {
"profile": {
"bundles": [ "dsh-base", /* ... */, "dsh-ide-sidebar" ]
}
}
重启 dsh web。详细安装 / 卸载见下文「安装 / 卸载」。
npm i dsh-ide-sidebar(来自 registry.npmjs.org)也可直接安装。
| 版本 | 说明 |
|---|---|
| v0.1.0 | 首次发布:IDE 式工作区切换器核心功能(下拉切换 / 过滤 / 状态灯 / 搜索 / 管理) |
| v0.1.1 | README banner 改用绝对 raw URL;新增 .gitignore(防止 .npmrc 泄露);清理旧 banner |
解决什么问题? DSH Web GUI 原生侧边栏以全局会话列表为主,缺少多工作区的高效导航。对日常同时维护多个工作区(项目)的用户,频繁来回切换会话成本高。本插件把侧边栏升级为类 IDE 的工作区视角:
适合谁? 需要多工作区并行、频繁切换的 DSH Web 重度用户 / Agent 开发者。
idebar-switcher)web(DSH 浏览器)dsh >= 0.1.0-rc(对齐 @deepseek-ai/dsh-client-runtime 与 dsh-client-ui-sidebar 的当前 RC 接口)@deepseek-ai/dsh-client-runtime、@deepseek-ai/dsh-client-ui-sidebar(由运行时的注入 seam 提供;react >= 17 作为 peerDependency)cordis.patch.yml + lib/),不修改官方包源码web profile 实测加载成功dsh plugin,推荐)cd "$DSH_HOME/profiles"
dsh plugin --profile web add dsh-ide-sidebar
然后把 dsh-ide-sidebar 追加到 profile package.json 的 dsh.profile.bundles 末尾,重启 dsh (web)。
$DSH_HOME/profiles/node_modules/dsh-ide-sidebar 建立符号链接(hoisted 布局);package.json:dependencies 加 "dsh-ide-sidebar": "*"dsh.profile.bundles 数组追加 "dsh-ide-sidebar"dsh。⚠️ 所有写入的配置文件务必 UTF-8 无 BOM。
package.json 的 bundles 移除 dsh-ide-sidebar 行;dependencies 中的对应依赖;$DSH_HOME/profiles/node_modules/dsh-ide-sidebar 链接;dsh。dsh;本插件 无配置项,全部行为内建。注入的 DSH service(@deepseek-ai/dsh-client-runtime、@deepseek-ai/dsh-client-ui-sidebar)由运行环境自动提供,不读环境变量、无用户数据。
若后续需要,会在此新增
dsh-ide-sidebar配置命名空间。
apply()(Host half)为空实现,不访问宿主进程、不读写文件系统、不触碰本地凭据;Session / Workspace 列表(由 dsh-client-runtime 注入)以渲染 UI;--dsw-*),无外部请求。| 症状 | 可能原因 | 处理 |
|---|---|---|
| 侧边栏未变化 | 未加入 bundles 或 dsh 未重启 |
确认 dsh.profile.bundles 含 dsh-ide-sidebar 并重启 |
| 疑似依赖未注入 | profile 缺 dsh-client-runtime / dsh-client-ui-sidebar |
这些是 run 自带 bundle,确认 profile 以 dsh-base 起步 |
| 图标 / 样式错乱 | 主题 tokens 与当前 DSH 主题不匹配 | 反馈 Issue 并提供 DSH 版本与主题名 |
| BOM 出错导致加载失败 | 配置文件被写入了 BOM | 用无 BOM 编码重写 package.json,重启 |
遇其它问题,请到仓库 Issues 反馈,附 DSH 版本、web 控制台报错与截图。
git clone https://github.com/yuhangkang/dsh-ide-sidebar.git && cd dsh-ide-sidebar
# 本插件为普通 JS bundle,无需 TypeScript 编译
# 本地验证:参照「Install(方式二)」手动挂载到 profile 后重启 dsh
lib/index.mjs(Host,空实现)lib/client.js(React,通过 window.__ModuleLoader__ 加载)lib/index.d.mtscordis.patch.yml → insert ide-sidebar欢迎 Issue 与 PR。
仓库:https://github.com/yuhangkang/dsh-ide-sidebar
Topics:dsh-plugin、deepseek-harness、dsh —— 可在 github.com/topics/dsh-plugin 被发现。
**
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。