rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:yuyu121704/dsh-sidebar-flex
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
A draggable, remembered splitter that gives the DeepSeek Harness sidebar's workspace / session list the vertical space it needs.
In the DSH web GUI two things live inside the same sidebar column:
The shell offers no way to trade one against the other, so long session lists are clipped and the session you want simply cannot be clicked. This plugin adds that trade-off as a drag handle.
A 10 px splitter sits directly under the global panel list:
| Gesture | Result |
|---|---|
| Drag the splitter up / down | Shrinks / grows the panel list; the freed height goes to the workspace + session region, which is what you actually want to read |
| Double-click or right-click the splitter | Restores the panel list to its natural height |
| ↑ / ↓ while the splitter is focused | Nudges the height by 24 px |
| Reload, restart, next launch | Height is restored from localStorage["dsh-sidebar-flex:nav-height"] |
The panel list has a 54 px floor (one row). At any height below its natural height it becomes scrollable, so nothing is lost — only re-budgeted.
The sidebar width is intentionally untouched: the shell keeps its own
264–420 px clamp and its own edge handle. Earlier experiments with taking the
width over still live in lib/client.js behind ENABLE_WIDTH (default
false) and are off.
Profiles live under <DSH data dir>/profiles/<profile>
(e.g. C:\Users\<you>\.dsh\profiles\desktop). A client bundle has to be a
package inside the profile's node_modules, listed in the profile manifest.
Put this package into the profile's node_modules — copy the directory or
make a junction / symlink to a checkout:
# Windows, from a checkout of this repo
New-Item -ItemType Junction `
-Path "$env:USERPROFILE\.dsh\profiles\desktop\node_modules\dsh-sidebar-flex" `
-Target (Resolve-Path .)
Append the package name to dsh.profile.bundles in the profile's
package.json:
{
"dsh": {
"profile": {
"bundles": ["...", "dsh-sidebar-flex"]
}
}
}
Save the file. @deepseek-ai/dsh-hmr watches the profile manifest,
recomposes the profile and pushes the new client graph over SSE — the
splitter appears without restarting the app. If it does not, reload the
window once.
Deliberately not registered in
dependencies: the plugin manager'sreconcile()drops bundles that used to be dependencies but no longer are, so an unmanaged bundle is the more stable arrangement.
The client half only. It polls for the sidebar column, finds the global panel
list inside it, and writes an inline height plus a "shrunk" class that makes
the list scrollable. A MutationObserver re-applies the height when React
re-renders the column (React rewrites inline styles on every render), and the
handle is re-parented if the shell replaces the list node. No client service,
no React state, nothing that could break at boot.
Selectors are matched by [class*='panelList'] / [class*='sidebarCol']
because DSH hashes its CSS-module class names.
lib/index.js) is inert on purpose: the layout is rendered by
the browser, so there is no host service and no restart cost.ENABLE_WIDTH = true): rewrites the first grid track to
200px … viewport − 420px and hides the shell's own edge handle. When it is
switched back off, teardown clamps the track to the native 264–420 px range so
the shell can take over again."dsh-sidebar-flex" from dsh.profile.bundles.node_modules/dsh-sidebar-flex entry (junction or copy).localStorage["dsh-sidebar-flex:nav-height"].peerDependencies: @deepseek-ai/dsh >=0.2.0-rc.2 <0.3.0-0.
Built and verified against the 0.2.2 client bundles of
@deepseek-ai/dsh-client-ui-layout, -ui-sidebar and -ui-workspace
(selectors: [class*='sidebarCol'], [class*='panelList']).
MIT © 2026 yuyu121704
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。