DeepSHPlugins
dsh-spotlight 项目预览
GITHUB / COMMUNITY PROJECT

dsh-spotlight

UI 增强TypeScriptMIT

键盘优先的命令面板:斜杠命令、最近会话、界面操作、插件设置,一个面板全都有

22 Stars0xsline 更新时间 2026-08-24
访问 GitHub 仓库
dsh-spotlight 项目预览

项目介绍

Mac 用户狂喜:dsh 也有 Spotlight 了
中文

键盘优先的命令面板:斜杠命令、最近会话、界面操作、插件设置,一个面板全都有

English

A keyboard-first command palette: slash commands, recent sessions, UI actions, plugin settings — one panel for all of it

项目信息与收录信号

快照 2026-09-11
作者 / 组织
0xsline
仓库
0xsline/dsh-spotlight
GitHub Stars
22
Forks
4
开发语言
TypeScript
许可证
MIT
最近推送
2026-08-24
Manifest
数据中检测到声明

公开仓库不自动等于可商用;许可证与当前兼容性以原项目文档为准。Manifest 和数据评分不构成安装安全认证。

数据评分

83/ 100
维护活跃
88
文档与实用信息
100
生态关注度
49
安装便捷信号
100
项目声明信号
100

近 18 天仍在更新;README 含完整安装与使用说明;标准命令一键安装。

评分来自已有数据快照的五维模型,仅作浏览参考,不是实际使用评测或安全检测结论。

安装与使用

所有项目资料与许可均以对应 GitHub 仓库为准。

dsh plugin add github:0xsline/dsh-spotlight

复制命令不会自动执行。请先阅读仓库文档,确认环境要求与许可证。

项目截图

仓库 README

GitHub 原文

已保存的仓库文档快照;文档抓取时间未记录,可能与上方目录介绍处于不同版本。安装前请核对当前仓库说明。

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.

  1. Type to filter commands and actions.
  2. Use Arrow Up/Down and Enter, or click a result.
  3. Click Shortcut in the footer to record a different key combination.
  4. 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

MIT

使用前核对

安装步骤、兼容版本与授权范围以原项目当前文档为准。Stars 和评分是快照中的导航信号。

安装与排错 · 项目问题反馈

同类项目