dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
Workspace color labels for DeepSeek Harness: six colors, browser-local persistence, Chinese/English UI.
给 DeepSeek Harness 工作区设置颜色标识,适配 v0.1.7-alpha.1。侧栏底部的调色板按钮打开设置;每个工作区可选择红、橙、绿、蓝、紫、粉色或恢复默认。颜色显示为工作区行左侧色条与文件夹图标颜色,支持深色/浅色主题。插件不更改会话状态、置顶、排序、文件或模型请求。
将发行包下载至运行 DSH 的主机。Web 版执行以下命令,把路径替换为实际绝对路径:
dsh plugin --profile web add /absolute/path/dsh-workspace-colors-0.1.0.tgz
如果使用 npx 启动 DSH:
npx @deepseek-ai/dsh@0.1.7-alpha.1 plugin --profile web add /absolute/path/dsh-workspace-colors-0.1.0.tgz
刷新 DSH 页面后,点击侧栏底部的“工作区颜色”按钮。如果禁用了 HMR,先重新启动 DSH。自定义 profile 用其名称替换 web。Electron 的保留 desktop profile 由桌面应用管理,请在应用的插件安装界面填写包的绝对路径,不要用 CLI 修改它。
workspaceId 保存在当前浏览器来源的 localStorage,键为 dsh.workspace-colors.v1;刷新与重命名后保留。sidebar.footer.action 插槽注册设置入口。v0.1.7-alpha.1 没有工作区行颜色扩展点,因此着色使用该版本的 data-row-key="workspace:<id>" 和首个图标容器。后续 DSH 改动这段 DOM 后,需要重新验证兼容性。dsh plugin --profile web remove dsh-workspace-colors
重新加载页面即可恢复原始外观。
源码包包含 TypeScript 源码与预构建产物。安装开发依赖后执行:
npm install
npm run typecheck
npm test
npm run build
npm pack
lib/client.js 使用 DSH 的 ModuleLoader factory 格式,React、store 和 UI primitives 使用宿主提供的模块身份。安装发行包不需要构建脚本。
An additive workspace color plugin for DeepSeek Harness v0.1.7-alpha.1. Open Workspace colors beside Settings to choose one of six colors or Default. Preferences are browser-origin-local and keyed by workspace identity. The plugin adds a sidebar stripe and colors the folder icon; it does not change session pinning, status, ordering, or model inputs. The footer control uses the public slot API, while row styling depends on the tested release's DOM. Revalidate the selectors before upgrading DSH. Built tarballs need no installation scripts.