rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Pourii83/dsh-workspace-colors
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English | فارسی
A persistent DeepSeek Harness plugin that gives every workspace in the sidebar its own color, so projects are recognizable at a glance.
The sidebar groups sessions under workspace names, so with several projects open the list reads as one uniform block. This plugin adds one reversible layer on top of the host: a settings page, a stored color per workspace, and a tiny package-owned stylesheet that tints those header rows — no fork, no edits to DSH itself.
#rrggbb field; no operating-system
color dialog opens.--dsw-alias-*).localStorage and needs no Host state.Clone this repository, then install the checkout as a bundle:
git clone https://github.com/Pourii83/dsh-workspace-colors.git
plugin_manager install_bundle (target: <path>/dsh-workspace-colors)
or, in the Harness UI, Settings → Plugins → install the directory as a bundle. After installation the settings page appears under Settings → Workspace colors.
client.js): reads the workspace list from the sidebar slot's useWorkspaces
snapshot hook (falling back to the rendered workspace rows), renders the settings page into the
settings.section slot and its navigation icon into settings.section.icon, and keeps one
package-owned stylesheet whose rules tint [data-row-key="workspace:<workspaceId>"] rows.index.js): empty. The feature is browser-local, like the sidebar's own
per-browser view order, so it needs no host state.workspaceId → #rrggbb map lives in this browser's localStorage under
dsh.workspace-colors.v1. It survives page reloads and Harness restarts that reuse the same Web
GUI origin; a different origin starts with no colors.--dsw-alias-*), so the page and rows follow light and dark
themes.A color change never does per-event global work:
<input type=color>: no
operating-system color dialog opens, and no continuous native input stream has to be absorbed;localStorage;requestAnimationFrame); memoized rows mean only the changed row re-renders;<style> element's whole text — replacing it invalidates
styles for the entire document on every change, which is what made palette changes expensive;Row tinting depends on the sidebar's stable row attribute data-row-key="workspace:<id>" and the
row's folder/title class suffixes that dsh-client-ui-workspace renders. If a future DSH
release renames them, the page and stored colors keep working but rows stop being tinted — nothing
breaks. Uninstall (plugin_manager remove_bundle) removes the stylesheet, the page, and the icon.
package.json — bundle manifest (dsh.bundle.patch, dsh.client).cordis.patch.yml — inserts the workspace-colors Loader row.index.js — empty Host half.client.js — settings page, palette picker, color store, row stylesheet.locale/{en,fa}.json — Plugin Manager title and description.icon.svg — palette icon.CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。