rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
SkylerFee/dsh-sidebar-rail
DeepSeek Harness 侧栏收起后的图标轨:项目切换、最近会话分页、定时任务标记、插件与账号入口。悬停窗口左缘滑出,支持 macOS 与 Windows Desktop。· An icon rail for a collapsed DeepSeek Harness sidebar: workspaces, paged recent sessions, scheduled-task marks, plugins and account. Hover the left edge to reveal it. macOS and Windows Desktop.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:SkylerFee/dsh-sidebar-rail
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Reach workspaces, recent sessions, scheduled tasks, plugins and your account while the DeepSeek Harness sidebar is collapsed. Runs on macOS and Windows Desktop.
The rail starts hidden. Focus the DSH window and collapse the host sidebar, then move the pointer into the 12px strip along the window's left edge to reveal a 56px icon rail. Hover an icon to browse its flyout and choose an entry to navigate. Expanding the sidebar keeps the host's search, workspace tree, account menu and settings.
Captured on macOS Desktop 0.2.2-rc.1 on 2026-11-11, using Catppuccin Latte (light) and Frappé (dark). Each preview combines real workspace and plugin captures; business names are blurred and unrelated conversation content is masked. See the usage guide for full feature screenshots, pagination, tasks and account details.
| Light preview · Latte | Dark preview · Frappé |
|---|---|
![]() |
![]() |
Screenshots · Install and manage · Usage · Preferences and local data · Troubleshooting · Development and contributions · Documentation
| Environment / state | Behaviour |
|---|---|
| macOS Desktop, sidebar collapsed, viewport width ≥ 768px | Hidden rail, revealed by the edge strip or keyboard focus |
| macOS Desktop, sidebar collapsed, viewport width < 768px | No rail; the host button still expands the sidebar |
| macOS Desktop, sidebar expanded | No rail; the host sidebar remains available |
| Windows Desktop, sidebar collapsed, viewport width ≥ 768px | Rail is drawn through the same code path as macOS; verified on Windows 11 |
| Linux Desktop | No rail: the host keeps its own 56px collapsed rail there, so the plugin stands down by column width |
| Web (any OS) | No rail: the host draws its own collapsed rail |
Recorded Desktop checks used macOS 27.2 and Windows 11, both on Desktop 0.2.2-rc.1. See peerDependencies in package.json for other compatible host versions. Version 1.0.0 is a full rewrite that ships the TypeScript source, the host-native flyout model, paged session lists and the scheduled-task mark together, and adds Windows Desktop support. Version 1.1.0 matches the host in the project lists: subagent sessions are hidden, session rows carry the host status mark, and each project row shows the most attention-worthy state of its sessions. The published package ships prebuilt lib/ entries, so installing it needs no compiler. Source development and checks require Node.js ≥ 22.19.0 plus npm ci and a build step (see Development).
Requires the DSH Desktop or Web client and a profile. Installation only affects that profile; it never modifies DSH itself.
Open the Plugins page from the DSH sidebar, choose Add plugin in the top right, enter the package name in the field and press Install:
@skylerfee/dsh-sidebar-rail
That field accepts an npm package name, a Git repository address or a local directory; this plugin needs only the npm name. Restart or reload DSH when prompted, then confirm Sidebar rail is enabled.
The npm package ships the prebuilt lib/index.js and lib/client.js, so installing or upgrading needs no compiler, no node_modules in the consuming profile beyond the package itself, and no local build step. Installing straight from a Git checkout instead depends on the target package manager running this repository's build script; when it does not, build locally or install the published tarball.
dsh plugin --profile desktop add @skylerfee/dsh-sidebar-rail
dsh plugin forwards its arguments to pnpm inside the profile directory. Replace desktop with the profile you actually use; a first run initializes it. You can also run pnpm add directly in the profile directory. Restart DSH afterwards.
A profile with plugin management enabled can install it for you (this is a tool request, not a terminal command):
{
"action": "install_bundle",
"target": "@skylerfee/dsh-sidebar-rail"
}
For local development, replace target with this repository's absolute path — that installs a link: dependency, so the profile loads whatever lib/ currently contains. Run npm ci once and npm run build (or keep npm run dev watching) after changing src/, then restart.
Enabling is a profile configuration switch and belongs to the Plugins page; the command line only installs and removes packages.
| Operation | How |
|---|---|
| Disable | Turn off the Sidebar rail switch on the Plugins page (the dependency stays installed, so re-enabling is instant) |
| Enable again | Turn the same switch on |
| Uninstall | Choose Uninstall on the detail page, or run dsh plugin --profile desktop remove @skylerfee/dsh-sidebar-rail |
The assistant can also call plugin_manager with set_bundle (enable/disable) or remove_bundle (uninstall). Local preferences in localStorage (pinned projects, expanded projects) survive disabling or uninstalling.
See the usage guide for detailed operations, state descriptions and paired light / dark feature screenshots.
| Entry | Available actions |
|---|---|
| Workspaces | Three sections — pinned projects, projects, recent sessions. A project row expands to its own session list (host order, paged, archived rows still listed) and can start a new session; Add project registers a directory without navigating |
| Recent sessions | Listed at the foot of the workspace flyout, newest first, excluding archived and subagent sessions; of blank sessions only the current one is listed. Open an existing session and see its relative time and host-provided status mark. A trailing clock glyph marks a session that has an active scheduled task (shown only while that row has no status mark of its own) |
| Scheduled tasks | Three sections — running, paused, ended; only running opens by default. Choose a row or Open panel to enter the task panel |
| My plugins | Two sections — enabled, and installed but switched off; host bundles are excluded and no switch is offered. Choose a row to enter the plugin manager |
| More | Open other host panels or expand the native sidebar |
| Account and settings | See the host avatar and available balances, bonuses, View usage and Top up links; signed-out accounts get a hint; the flyout also names the path to the host Settings panel (expand the sidebar, then Settings at its foot); sign-in, sign-out and payment remain in the host or destination page |
Keyboard: Tab to an icon reveals the rail. On a top-row function icon, press ↓ or → to enter its flyout, then Tab through the list. Escape inside the flyout returns focus to its trigger, but currently reopens the flyout as a known issue. Enter activates the focused button like a click; activating an icon navigates directly rather than entering its flyout list.
Session lists initially show 10 non-blank sessions; Show more appends 10 more each time. Both the recent list and each expanded project list raise their watermark for running, waiting, unread-completion and current rows, and count independently. Automatic growth stops at 50, so later rows still require Show more. The current blank session stays visible without consuming a regular place.
Workspace, task and plugin flyouts scroll as one list: sections are groupings with a title row, so a long list scrolls as a whole and the titles scroll with it. Show more is an ordinary row at the end of the list; it does not sit in a fixed footer. Paging is not persisted: closing and reopening a flyout starts again at 10 rows. A flyout is placed beside the icon that opened it and grows with its content up to the space below that anchor, then scrolls as one list; it does not stretch to the window bottom.
Preferences belong to this client and use localStorage['dsh.sidebar-rail.v1']:
| Field | Purpose |
|---|---|
pinnedWorkspaceIds |
Pinned workspace IDs, most recently pinned first |
expandedProjectIds |
Project rows whose session list is expanded; kept across flyout opens |
The host owns the collapse state; the plugin only reads it. Account and balance data come from host services and are not written to these preferences. Clearing client storage loses local settings. A store written by an older version may still contain a recentCount field; nothing reads it any more and it is left untouched.
| Symptom | Check or recovery |
|---|---|
| No rail after installation | Confirm macOS Desktop, the enabled plugin, a collapsed sidebar and viewport width ≥ 768px; the rail starts hidden and needs the left-edge strip |
| A recent session is missing | Choose Show more at the end of the list; archived and subagent sessions are excluded, and blank sessions are listed only while they are the current session |
| Task or plugin loading fails | Requests fail after 5s and show a retry state. The task list is shared by the workspace and task flyouts; switching between them while a request is still in flight now restarts the request instead of leaving it stuck |
| No avatar or balance | A missing avatar uses a fallback glyph; unavailable balances get a hint. Account data are read on component mount and are not guaranteed to refresh live; use the host account page for full details |
| Add project opens an English dialog | Known defect, out of this plugin's reach. The native chooser is the host's NSOpenPanel, and the host sets its message text to the hard-coded string Select Workspace Directory (directory-picker-native), which AppKit never localizes — so the title stays English while its buttons follow the system language. The plugin cannot override it: a Client-only module has no Node access to spawn its own chooser. Picking a directory still registers the project normally |
| A revealed rail covers the page's left edge | It is a temporary overlay that reserves no host grid space; the hidden default preserves the conversation tab entry, and moving the pointer away lets the rail retract |
| Sidebar rail unavailable or a boot import error | Keep the visible error and host diagnostics, disable the plugin through the native sidebar, and report the host version, plugin version and reproduction steps in this repository; omit credentials and conversation content |
The plugin keeps the expanded host sidebar and its column width, reserves space for macOS window controls and respects reduced-motion preferences.
npm ci # Install the dev toolchain from package-lock.json
npm run typecheck # tsc --noEmit — strict type checking of src/ and tests
npm run build # esbuild → lib/index.js and lib/client.js
npm run dev # Same build in --watch mode
npm run test:unit # tsx runs test/*.test.ts against src/ directly
npm run test:artifact # Node runs test/*.test.mjs against the built lib/
npm test # Unit tests → build → artifact tests
npm run check:source # Source rules and dictionary checks
npm run check:artifact # Entry, file list, external module and registration checks
npm run check # typecheck → check:source → test:unit → build → check:artifact → test:artifact
npm run hooks:install # Optional: enable this repository's commit hooks
Scripts are defined in package.json, which is authoritative; the list above mirrors it. Source lives in src/ as TypeScript / TSX split by responsibility, and esbuild only transpiles and bundles — it does not type-check. lib/ is a generated directory: it is not committed to Git and must be rebuilt after any src/ change, so a local checkout is no longer "edit and it runs". Runtime dependencies remain zero: the client only requires the host-provided react / react-dom. The registration test requires the factory ID to match the full scoped package name. These checks do not replace real Desktop validation.
Use Conventional Commits for PR titles, with the summary, description and verification results in Simplified Chinese. Keep code identifiers and original diagnostics in English. Follow the PR template for the problem, changes, validation and unverified items; update both README languages when behaviour changes. UI, loading or registration changes require real environment and operation results in the pull request. See AGENTS.md and CODING_STANDARDS.md for the full rules.
Follow ADR-0003 and the release security rules: merge version changes into main through a PR and CI, then create a v<version> Release. A job without OIDC builds, checks and inspects the tarball. After approval in npm-publish, a separate job publishes that exact artifact with npm OIDC, without installing project dependencies or running package scripts. The npm Trusted Publisher must bind both publish.yml and the npm-publish environment. Stable releases cannot move latest backwards, and the GitHub prerelease flag must match the package version.
| Document | Content |
|---|---|
| Usage guide (中文) | All entries, pagination, state marks and keyboard operations and paired light / dark feature screenshots |
| Product requirements | Use cases, interactions and acceptance criteria |
| Design | Additive registration, layout, data sources, cleanup and local storage |
| Glossary | Shared terms for the rail, sidebar, flyout and current session |
| Architecture decisions | Narrow-window eligibility, TypeScript source plus build toolchain (ADR-0006), flyout scroll and height (ADR-0009) and release workflow |
MIT © 2026 SkylerFee. See LICENSE.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。