插件目录 / UI & Skins / dsh-spotlight
dsh-spotlight
已验证 · 实测可装 0xsline
功能简介
DeepSeek Harness Web 的键盘优先命令面板。
可用 — 实测通过,社区增长中
DeepSeek Harness Web 的键盘优先命令面板。 实测能干净安装、正常启动。社区在增长,是个稳妥选择。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
DSH Spotlight
简体中文 | English
A keyboard-first command palette for DeepSeek Harness Web. Open one palette to
find native slash commands, recent sessions, visible UI actions, and installed
plugin settings—without leaving the keyboard.
Features
- One shortcut:
⌘Kon macOS,Ctrl+Kon other platforms. - Customizable: click the shortcut control in the footer, then press a new
key combination. The setting is stored in the current browser. - Native actions: discovers and triggers the actions already provided by
DSH Web, and contributes one/spotlightcommand to the native slash menu
instead of maintaining a second command registry. - Fast search: deterministic fuzzy matching across slash commands, recent
sessions, UI actions, and plugin settings. - Keyboard navigation: Arrow Up/Down to select, Enter to run, Escape to
close. - Clean lifecycle: removes its event listeners, styles, and DOM nodes when
unloaded.
Install
Install the bundle into your DSH Web profile. From npm:
dsh plugin --profile web add "@0xsline/dsh-spotlight"
Or from the Git source:
dsh plugin --profile web add "github:0xsline/dsh-spotlight#main"
The Git install runs the package's prepare lifecycle because generatedlib/ files are not committed. It deletes and recreates only this package'slib/ directory with the repository-local TypeScript and tsdown executables;
it does not access the network or write outside the checkout. If lifecycle
scripts are disabled, install the npm release instead: it already contains the
built lib/ files and does not run prepare during installation.
Then start DSH Web and press ⌘K or Ctrl+K:
dsh --profile web
Usage
- Open Spotlight with the global shortcut, or type
/spotlightin the DSH
Web composer and pick the entry from the slash menu. - Type to filter commands and actions.
- Use Arrow Up/Down and Enter, or click a result.
- Click Shortcut in the footer to record a different key combination.
- Click Reset to restore the platform default.
Shortcut preferences are local to the current browser origin and profile.
How it works
DSH Spotlight is a standalone Cordis bundle with a small Web client. The
client mounts once the host's sessions, command-plane, plugin-inventory, and
command-UI services exist — all standard in every stock DSH Web deployment —
then reads recent sessions, slash commands, and the plugin inventory directly
from those services. It also discovers actionable elements in the current page
and delegates execution back to those native elements. A catalog RPC failure
degrades only its own category. The plugin adds no server data channel and
stores no durable server-side state.
src/index.ts Loader metadata
src/client/index.ts Web client activation and disposal
src/spotlight/ Host + DOM discovery, search, keyboard handling, and UI
cordis.patch.yml DSH Web profile composition
Because part of the discovery follows the current DSH Web DOM, host UI
changes may require updating the selectors in src/spotlight/discovery.ts.
Development
Requirements: Node.js ^22.19.0 || >=24.0.0 and pnpm 11.7.0.
git clone https://github.com/0xsline/dsh-spotlight.git
cd dsh-spotlight
pnpm install
pnpm run verify:self-contained
pnpm run typecheck
pnpm test
pnpm run build
Test a local checkout in DSH Web:
pnpm run prepare
dsh plugin --profile web add "link:$(pwd)"
dsh --profile web
Inspect the package contents before publishing:
pnpm pack --dry-run --json
License
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-spotlight」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:0xsline/dsh-spotlight Headless(CLI)profile:
dsh plugin --profile headless add github:0xsline/dsh-spotlight 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。
使用场景
改变 dsh 的外观或交互方式——一套主题、皮肤或新面板,重塑工作区。
适合谁
在 web UI 里一待几小时、想让它按自己的习惯好看又好用的人。
二次开发建议
皮肤、面板和主题 token 是扩展点——写新皮肤、加面板,或与上游配色同步 token。