0xsline/dsh-spotlight 预览 preview

0xsline/dsh-spotlight

Plugin插件 Native原生 ⭐ 21 MIT UI & Themes界面与主题

DeepSeek Harness Web 的键盘优先命令面板

Project Overview项目介绍

DSH Spotlight is a native keyboard-first command palette plugin built exclusively for DeepSeek Harness Web. It registers a /spotlight command in DSH’s native slash menu and leverages DSH’s existing services to pull all available actions. It lets users access native slash commands, recent sessions, UI actions, and installed plugin settings all through a single keyboard-triggered palette, so you never need to switch to mouse navigation to find common features. To install it from npm, run the command dsh plugin --profile web add "@0xsline/dsh-spotlight" in your terminal, or install from Git with dsh plugin --profile web add "github:0xsline/dsh-spotlight#main". The default shortcut is ⌘K on macOS and Ctrl+K on all other platforms.

This plugin is designed for users who prefer keyboard-centric workflows when working with DSH Web on a daily basis. To use it after installation, simply open the palette with the default shortcut, or type /spotlight in the DSH Web composer and select the command from the slash menu. Next, type your query to filter available commands and actions, then use the up and down arrow keys to navigate results and press Enter to execute your selection. You can also customize the shortcut to any key combination you prefer, or reset it back to the platform default at any time.

If you install from Git source, the package will automatically run a prepare script that uses local TypeScript and tsdown to build the lib directory, no network access is required. For development, you will need Node.js version ^22.19.0 or >=24.0.0 and pnpm version 11.7.0 to work on the codebase. The plugin is released under the permissive MIT open source license, does not store any persistent server-side state, and cleans up all its resources when unloaded. Because it relies on DSH Web’s current DOM structure, future changes to DSH’s UI may require updates to the selectors in the source code.

这是一个专为 DeepSeek Harness(DSH)Web 版打造的原生键盘优先命令面板插件。用户只需按下全局快捷键(macOS 为 ⌘K,其他平台为 Ctrl+K),就能在不脱离键盘的情况下快速查找原生斜杠命令、最近会话、可见 UI 操作和已安装插件设置,无需在界面上反复点击寻找功能。它支持快速模糊搜索,可自定义快捷键,配置存储在当前浏览器中,卸载时会自动清理相关事件监听、样式和 DOM 节点。

该插件面向日常使用 DSH Web 进行开发操作、偏好键盘交互的用户。典型使用流程为:按下全局快捷键或输入 /spotlight 唤起面板,输入关键词过滤需要的命令或操作,通过方向键选择后回车执行即可。你也可以在面板底部点击修改快捷键,或是重置为系统默认的快捷键配置,所有快捷键偏好都存储在当前浏览器源和对应配置文件中。

安装可通过 npm 或 Git 源码完成,执行 dsh plugin --profile web add 命令即可,Git 安装会自动运行 prepare 脚本构建产物。开发需要 Node.js 版本不低于 22.19.0 以及 pnpm 11.7.0,可本地克隆测试后打包发布。插件本身不存储服务端状态,遵循 MIT 开源协议开放使用,由于依赖当前 DSH Web 的 DOM 结构,界面更新后可能需要调整源码中的选择器。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 note1 项提示
  • 21 stars - an early-stage project星标 21,属于早期项目
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add "github:0xsline/dsh-spotlight#main"

把 0xsline/dsh-spotlight 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

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: ⌘K on macOS, Ctrl+K on 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 /spotlight command 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 generated lib/ files are not committed. It deletes and recreates only this package's lib/ 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

  1. Open Spotlight with the global shortcut, or type /spotlight in the DSH Web composer and pick the entry from the slash menu.
  2. Type to filter commands and actions.
  3. Use Arrow Up/Down and Enter, or click a result.
  4. Click Shortcut in the footer to record a different key combination.
  5. 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.

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev DeepSeekHarness-MCP-Manager 下一个 Next dsh-mcp-manager →