rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:dyh203930-netizen/dsh-sidebar-colors
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
给 DeepSeek Harness 的侧边栏加一点颜色:
每个会话、每个工作区各自独立;颜色保存在浏览器本地,刷新和重启后仍然生效。
这是一个纯前端插件(Harness Client 半),Host 侧只有一个空壳,不联网、不写文件、不采集任何数据。
前提:已安装 DeepSeek Harness(开发版 Web GUI 测试于 0.2.1-rc.3)。
在 Harness 的 Plugins 页面点 Add,填入:
github:dyh203930-netizen/dsh-sidebar-colors
git clone https://github.com/dyh203930-netizen/dsh-sidebar-colors.git
然后在 Harness 里让智能体执行 plugin_manager install_bundle,目标填本仓库的绝对路径。
安装完成后 刷新页面(Ctrl+Shift+R),颜色功能才会加载。
“未分组”那一行不是真实工作区,右键保持浏览器默认行为。
sidebar.workspaces.session.menu.item,浮层用 shell.overlay;data-row-key="session:<id>" / "workspace:<key>" 精确命中,
不替换、不改写官方组件;localStorage 的 dsh.sidebar-colors.v1,格式:{ "sessions": { "<session-id>": "#3e63dd" }, "workspaces": { "<workspace-id>": "#30a46c" } }
| 想改什么 | 改哪里 |
|---|---|
| 预设色板 | client.js 顶部的 PRESETS 数组 |
| 工作区背景深浅 | buildCss() 里 color-mix(... 34%, transparent) 的百分比 |
| 存储键 / 清空所有颜色 | client.js 顶部的 STORAGE_KEY |
改完客户端代码后刷新页面即可(Host 侧没有代码,不需要重启 Harness)。
data-row-key 属性(Harness 内部约定)。将来 Harness 升级若改名,颜色会失效,需要同步修改 buildCss() 里的选择器;Colors for the DeepSeek Harness sidebar.
Each session and workspace keeps its own color. Colors persist in localStorage; no Host service, no network, no data collection.
Install — in the Harness Plugins page, click Add and enter
github:dyh203930-netizen/dsh-sidebar-colors, then reload the page. Or clone the repo and install the
bundle from its absolute path with plugin_manager install_bundle.
How it works — the plugin only registers into shipped slots (sidebar.workspaces.session.menu.item
and shell.overlay) and injects CSS that targets the rows' own data-row-key attributes. It does not
replace or patch any harness component.
Limitations — relies on the data-row-key attributes and localStorage; a future harness release
that renames the attributes will need a matching selector update.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。