dsh-web-search-ddg
aooyoo
Zero-token DuckDuckGo search provider for the DeepSeek Harness (DSH) web seam — local headless browser, no API key, no m…
PROJECT TOPICS
PROJECT README
简体中文 | 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.
⌘K on macOS, Ctrl+K on other platforms./spotlight command to the native slash menu
instead of maintaining a second command registry.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"
Then start DSH Web and press ⌘K or Ctrl+K:
dsh --profile web
/spotlight in the DSH
Web composer and pick the entry from the slash menu.Shortcut preferences are local to the current browser origin and profile.
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.
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
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。